@seamapi/types 1.201.0 → 1.203.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +25 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +66 -19
- package/lib/seam/connect/models/devices/capability-properties/access-code.d.ts +11 -11
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +2 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +9 -9
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +18 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
- package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +17 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +24 -10
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +2 -1
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +17 -0
- package/src/lib/seam/connect/route-types.ts +24 -0
package/dist/connect.d.cts
CHANGED
|
@@ -3244,11 +3244,11 @@ declare const device: z.ZodObject<{
|
|
|
3244
3244
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
3245
3245
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
3246
3246
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3247
|
-
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089"]>;
|
|
3247
|
+
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
|
|
3248
3248
|
}, "strip", z.ZodTypeAny, {
|
|
3249
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
3249
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
3250
3250
|
}, {
|
|
3251
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
3251
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
3252
3252
|
}>, z.ZodObject<{
|
|
3253
3253
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
3254
3254
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3278,7 +3278,7 @@ declare const device: z.ZodObject<{
|
|
|
3278
3278
|
}, "strip", z.ZodTypeAny, {
|
|
3279
3279
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3280
3280
|
code_constraints?: ({
|
|
3281
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
3281
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
3282
3282
|
} | {
|
|
3283
3283
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3284
3284
|
min_length?: number | undefined;
|
|
@@ -3296,7 +3296,7 @@ declare const device: z.ZodObject<{
|
|
|
3296
3296
|
}, {
|
|
3297
3297
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3298
3298
|
code_constraints?: ({
|
|
3299
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
3299
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
3300
3300
|
} | {
|
|
3301
3301
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3302
3302
|
min_length?: number | undefined;
|
|
@@ -4331,7 +4331,7 @@ declare const device: z.ZodObject<{
|
|
|
4331
4331
|
} & ({
|
|
4332
4332
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
4333
4333
|
code_constraints?: ({
|
|
4334
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
4334
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
4335
4335
|
} | {
|
|
4336
4336
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
4337
4337
|
min_length?: number | undefined;
|
|
@@ -4761,7 +4761,7 @@ declare const device: z.ZodObject<{
|
|
|
4761
4761
|
} & ({
|
|
4762
4762
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
4763
4763
|
code_constraints?: ({
|
|
4764
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
4764
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
4765
4765
|
} | {
|
|
4766
4766
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
4767
4767
|
min_length?: number | undefined;
|
|
@@ -5227,7 +5227,7 @@ declare const device: z.ZodObject<{
|
|
|
5227
5227
|
} & ({
|
|
5228
5228
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
5229
5229
|
code_constraints?: ({
|
|
5230
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
5230
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
5231
5231
|
} | {
|
|
5232
5232
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
5233
5233
|
min_length?: number | undefined;
|
|
@@ -5657,7 +5657,7 @@ declare const device: z.ZodObject<{
|
|
|
5657
5657
|
} & ({
|
|
5658
5658
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
5659
5659
|
code_constraints?: ({
|
|
5660
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
5660
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
5661
5661
|
} | {
|
|
5662
5662
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
5663
5663
|
min_length?: number | undefined;
|
|
@@ -6100,6 +6100,16 @@ declare const unmanaged_device: z.ZodObject<{
|
|
|
6100
6100
|
online_access_codes_enabled?: boolean | undefined;
|
|
6101
6101
|
offline_access_codes_enabled?: boolean | undefined;
|
|
6102
6102
|
}>;
|
|
6103
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
6104
|
+
location_name: z.ZodOptional<z.ZodString>;
|
|
6105
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
6106
|
+
}, "strip", z.ZodTypeAny, {
|
|
6107
|
+
location_name?: string | undefined;
|
|
6108
|
+
timezone?: string | undefined;
|
|
6109
|
+
}, {
|
|
6110
|
+
location_name?: string | undefined;
|
|
6111
|
+
timezone?: string | undefined;
|
|
6112
|
+
}>>;
|
|
6103
6113
|
workspace_id: z.ZodString;
|
|
6104
6114
|
is_managed: z.ZodLiteral<false>;
|
|
6105
6115
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -6157,6 +6167,10 @@ declare const unmanaged_device: z.ZodObject<{
|
|
|
6157
6167
|
online_access_codes_enabled?: boolean | undefined;
|
|
6158
6168
|
offline_access_codes_enabled?: boolean | undefined;
|
|
6159
6169
|
};
|
|
6170
|
+
location: {
|
|
6171
|
+
location_name?: string | undefined;
|
|
6172
|
+
timezone?: string | undefined;
|
|
6173
|
+
} | null;
|
|
6160
6174
|
workspace_id: string;
|
|
6161
6175
|
is_managed: false;
|
|
6162
6176
|
can_remotely_unlock?: boolean | undefined;
|
|
@@ -6214,6 +6228,10 @@ declare const unmanaged_device: z.ZodObject<{
|
|
|
6214
6228
|
online_access_codes_enabled?: boolean | undefined;
|
|
6215
6229
|
offline_access_codes_enabled?: boolean | undefined;
|
|
6216
6230
|
};
|
|
6231
|
+
location: {
|
|
6232
|
+
location_name?: string | undefined;
|
|
6233
|
+
timezone?: string | undefined;
|
|
6234
|
+
} | null;
|
|
6217
6235
|
workspace_id: string;
|
|
6218
6236
|
is_managed: false;
|
|
6219
6237
|
can_remotely_unlock?: boolean | undefined;
|
|
@@ -11306,6 +11324,21 @@ declare const _default: {
|
|
|
11306
11324
|
enum: boolean[];
|
|
11307
11325
|
type: string;
|
|
11308
11326
|
};
|
|
11327
|
+
location: {
|
|
11328
|
+
description: string;
|
|
11329
|
+
nullable: boolean;
|
|
11330
|
+
properties: {
|
|
11331
|
+
location_name: {
|
|
11332
|
+
description: string;
|
|
11333
|
+
type: string;
|
|
11334
|
+
};
|
|
11335
|
+
timezone: {
|
|
11336
|
+
description: string;
|
|
11337
|
+
type: string;
|
|
11338
|
+
};
|
|
11339
|
+
};
|
|
11340
|
+
type: string;
|
|
11341
|
+
};
|
|
11309
11342
|
properties: {
|
|
11310
11343
|
properties: {
|
|
11311
11344
|
accessory_keypad: {
|
|
@@ -29062,7 +29095,7 @@ interface Routes {
|
|
|
29062
29095
|
}) & ({
|
|
29063
29096
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
29064
29097
|
code_constraints?: (Array<{
|
|
29065
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
29098
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
29066
29099
|
} | {
|
|
29067
29100
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
29068
29101
|
min_length?: number | undefined;
|
|
@@ -29602,7 +29635,7 @@ interface Routes {
|
|
|
29602
29635
|
}) & ({
|
|
29603
29636
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
29604
29637
|
code_constraints?: (Array<{
|
|
29605
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
29638
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
29606
29639
|
} | {
|
|
29607
29640
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
29608
29641
|
min_length?: number | undefined;
|
|
@@ -29908,6 +29941,13 @@ interface Routes {
|
|
|
29908
29941
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat') | ('ios_phone' | 'android_phone');
|
|
29909
29942
|
/** Unique identifier for the account associated with the device. */
|
|
29910
29943
|
connected_account_id: string;
|
|
29944
|
+
/** Location information for the device. */
|
|
29945
|
+
location: {
|
|
29946
|
+
/** Name of the device location. */
|
|
29947
|
+
location_name?: string | undefined;
|
|
29948
|
+
/** Time zone of the device location. */
|
|
29949
|
+
timezone?: string | undefined;
|
|
29950
|
+
} | null;
|
|
29911
29951
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
29912
29952
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
29913
29953
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -30020,6 +30060,13 @@ interface Routes {
|
|
|
30020
30060
|
device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door' | 'tedee_lock') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat' | 'honeywell_resideo_thermostat') | ('ios_phone' | 'android_phone');
|
|
30021
30061
|
/** Unique identifier for the account associated with the device. */
|
|
30022
30062
|
connected_account_id: string;
|
|
30063
|
+
/** Location information for the device. */
|
|
30064
|
+
location: {
|
|
30065
|
+
/** Name of the device location. */
|
|
30066
|
+
location_name?: string | undefined;
|
|
30067
|
+
/** Time zone of the device location. */
|
|
30068
|
+
timezone?: string | undefined;
|
|
30069
|
+
} | null;
|
|
30023
30070
|
/** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
|
|
30024
30071
|
capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery' | 'phone'>;
|
|
30025
30072
|
/** Unique identifier for the Seam workspace associated with the device. */
|
|
@@ -30486,7 +30533,7 @@ interface Routes {
|
|
|
30486
30533
|
}) & ({
|
|
30487
30534
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
30488
30535
|
code_constraints?: (Array<{
|
|
30489
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
30536
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
30490
30537
|
} | {
|
|
30491
30538
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
30492
30539
|
min_length?: number | undefined;
|
|
@@ -31001,7 +31048,7 @@ interface Routes {
|
|
|
31001
31048
|
}) & ({
|
|
31002
31049
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
31003
31050
|
code_constraints?: (Array<{
|
|
31004
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
31051
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
31005
31052
|
} | {
|
|
31006
31053
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
31007
31054
|
min_length?: number | undefined;
|
|
@@ -31541,7 +31588,7 @@ interface Routes {
|
|
|
31541
31588
|
}) & ({
|
|
31542
31589
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
31543
31590
|
code_constraints?: (Array<{
|
|
31544
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
31591
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
31545
31592
|
} | {
|
|
31546
31593
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
31547
31594
|
min_length?: number | undefined;
|
|
@@ -32056,7 +32103,7 @@ interface Routes {
|
|
|
32056
32103
|
}) & ({
|
|
32057
32104
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
32058
32105
|
code_constraints?: (Array<{
|
|
32059
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
32106
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
32060
32107
|
} | {
|
|
32061
32108
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
32062
32109
|
min_length?: number | undefined;
|
|
@@ -35262,7 +35309,7 @@ interface Routes {
|
|
|
35262
35309
|
}) & ({
|
|
35263
35310
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
35264
35311
|
code_constraints?: (Array<{
|
|
35265
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
35312
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
35266
35313
|
} | {
|
|
35267
35314
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
35268
35315
|
min_length?: number | undefined;
|
|
@@ -36556,7 +36603,7 @@ interface Routes {
|
|
|
36556
36603
|
}) & ({
|
|
36557
36604
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
36558
36605
|
code_constraints?: (Array<{
|
|
36559
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
36606
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
36560
36607
|
} | {
|
|
36561
36608
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
36562
36609
|
min_length?: number | undefined;
|
|
@@ -38033,7 +38080,7 @@ interface Routes {
|
|
|
38033
38080
|
}) & ({
|
|
38034
38081
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
38035
38082
|
code_constraints?: (Array<{
|
|
38036
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
38083
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
38037
38084
|
} | {
|
|
38038
38085
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
38039
38086
|
min_length?: number | undefined;
|
|
@@ -38550,7 +38597,7 @@ interface Routes {
|
|
|
38550
38597
|
}) & ({
|
|
38551
38598
|
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
38552
38599
|
code_constraints?: (Array<{
|
|
38553
|
-
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089';
|
|
38600
|
+
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future' | 'no_ascending_or_descending_sequence' | 'at_least_three_unique_digits' | 'cannot_contain_089' | 'cannot_contain_0789';
|
|
38554
38601
|
} | {
|
|
38555
38602
|
constraint_type: 'name_length' | 'name_must_be_unique';
|
|
38556
38603
|
min_length?: number | undefined;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const access_code_code_constraint: z.ZodObject<{
|
|
3
|
-
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089"]>;
|
|
3
|
+
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
|
|
4
4
|
}, "strip", z.ZodTypeAny, {
|
|
5
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
5
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
6
6
|
}, {
|
|
7
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
7
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
8
8
|
}>;
|
|
9
9
|
export declare const access_code_name_constraint: z.ZodObject<{
|
|
10
10
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
@@ -20,11 +20,11 @@ export declare const access_code_name_constraint: z.ZodObject<{
|
|
|
20
20
|
max_length?: number | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const access_code_constraint: z.ZodUnion<[z.ZodObject<{
|
|
23
|
-
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089"]>;
|
|
23
|
+
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
25
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
26
26
|
}, {
|
|
27
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
27
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
28
28
|
}>, z.ZodObject<{
|
|
29
29
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
30
30
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -42,11 +42,11 @@ export type AccessCodeConstraint = z.infer<typeof access_code_constraint>;
|
|
|
42
42
|
export declare const access_code_capability_properties: z.ZodObject<{
|
|
43
43
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
44
44
|
code_constraints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
45
|
-
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089"]>;
|
|
45
|
+
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
|
|
46
46
|
}, "strip", z.ZodTypeAny, {
|
|
47
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
47
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
48
48
|
}, {
|
|
49
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
49
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
50
50
|
}>, z.ZodObject<{
|
|
51
51
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
52
52
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -67,7 +67,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
|
|
|
67
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
68
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
69
69
|
code_constraints?: ({
|
|
70
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
70
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
71
71
|
} | {
|
|
72
72
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
73
73
|
min_length?: number | undefined;
|
|
@@ -80,7 +80,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
|
|
|
80
80
|
}, {
|
|
81
81
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
82
82
|
code_constraints?: ({
|
|
83
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
83
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
84
84
|
} | {
|
|
85
85
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
86
86
|
min_length?: number | undefined;
|
|
@@ -9,7 +9,8 @@ export const access_code_code_constraint = z.object({
|
|
|
9
9
|
'start_date_in_future', // Kwikset
|
|
10
10
|
'no_ascending_or_descending_sequence', // Tedee
|
|
11
11
|
'at_least_three_unique_digits', // Tedee
|
|
12
|
-
'cannot_contain_089', // TTLock
|
|
12
|
+
'cannot_contain_089', // TTLock
|
|
13
|
+
'cannot_contain_0789', // TTLock (for some cylinder devices only)
|
|
13
14
|
]),
|
|
14
15
|
});
|
|
15
16
|
export const access_code_name_constraint = z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,QAAQ;QAC/C,8BAA8B,EAAE,QAAQ;QACxC,oBAAoB,EAAE,0CAA0C;
|
|
1
|
+
{"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,QAAQ;QAC/C,8BAA8B,EAAE,QAAQ;QACxC,oBAAoB,EAAE,SAAS;QAC/B,qBAAqB,EAAE,0CAA0C;KAClE,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC,EAAE,gBAAgB;IACjF,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5C,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;IACb,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAC5D,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
|
|
@@ -6,11 +6,11 @@ export { access_code_capability_properties, access_code_code_constraint, lock_ca
|
|
|
6
6
|
export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
7
7
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
8
8
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
9
|
-
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089"]>;
|
|
9
|
+
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
|
|
10
10
|
}, "strip", z.ZodTypeAny, {
|
|
11
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
11
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
12
12
|
}, {
|
|
13
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
13
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
14
14
|
}>, z.ZodObject<{
|
|
15
15
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
16
16
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -40,7 +40,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
40
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
41
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
42
42
|
code_constraints?: ({
|
|
43
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
43
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
44
44
|
} | {
|
|
45
45
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
46
46
|
min_length?: number | undefined;
|
|
@@ -58,7 +58,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
58
58
|
}, {
|
|
59
59
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
60
60
|
code_constraints?: ({
|
|
61
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
61
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
62
62
|
} | {
|
|
63
63
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
64
64
|
min_length?: number | undefined;
|
|
@@ -46,7 +46,7 @@ export declare const ALL_DEVICE_PROVIDERS: [
|
|
|
46
46
|
export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP;
|
|
47
47
|
export declare const PROVIDER_CATEGORY_MAP: {
|
|
48
48
|
readonly stable: readonly ["august", "avigilon_alta", "brivo", "schlage", "smartthings", "yale", "nuki", "salto", "controlbyweb", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "four_suites", "lockly", "wyze", "nest", "tedee", "seam_bridge", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "latch"];
|
|
49
|
-
readonly consumer_smartlocks: readonly ["august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze"];
|
|
49
|
+
readonly consumer_smartlocks: readonly ["august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee"];
|
|
50
50
|
readonly thermostats: readonly ["ecobee", "nest"];
|
|
51
51
|
readonly noise_sensors: readonly ["minut", "noiseaware"];
|
|
52
52
|
readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch"];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;IACtC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,6BAA6B,EAAE,+BAA+B;IAC9D,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,iBAAiB,EAAE,mBAAmB;IACtC,KAAK,EAAE,OAAO;CACN,CAAA;AAKV,MAAM,CAAC,MAAM,oBAAoB,GAG7B,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAQ,CAAA;AAI1C,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM,EAAE;QACN,QAAQ;QACR,eAAe;QACf,OAAO;QACP,SAAS;QACT,aAAa;QACb,MAAM;QACN,MAAM;QACN,OAAO;QACP,cAAc;QACd,OAAO;QACP,OAAO;QACP,SAAS;QACT,QAAQ;QACR,YAAY;QACZ,WAAW;QACX,QAAQ;QACR,aAAa;QACb,QAAQ;QACR,MAAM;QACN,MAAM;QACN,OAAO;QACP,aAAa;QACb,mBAAmB;QACnB,YAAY;QACZ,+BAA+B;QAC/B,OAAO;KACR;IAED,mBAAmB,EAAE;QACnB,QAAQ;QACR,SAAS;QACT,MAAM;QACN,aAAa;QACb,MAAM;QACN,QAAQ;QACR,SAAS;QACT,WAAW;QACX,MAAM;
|
|
1
|
+
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;IACtC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,6BAA6B,EAAE,+BAA+B;IAC9D,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,iBAAiB,EAAE,mBAAmB;IACtC,KAAK,EAAE,OAAO;CACN,CAAA;AAKV,MAAM,CAAC,MAAM,oBAAoB,GAG7B,MAAM,CAAC,MAAM,CAAC,gBAAgB,CAAQ,CAAA;AAI1C,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,MAAM,EAAE;QACN,QAAQ;QACR,eAAe;QACf,OAAO;QACP,SAAS;QACT,aAAa;QACb,MAAM;QACN,MAAM;QACN,OAAO;QACP,cAAc;QACd,OAAO;QACP,OAAO;QACP,SAAS;QACT,QAAQ;QACR,YAAY;QACZ,WAAW;QACX,QAAQ;QACR,aAAa;QACb,QAAQ;QACR,MAAM;QACN,MAAM;QACN,OAAO;QACP,aAAa;QACb,mBAAmB;QACnB,YAAY;QACZ,+BAA+B;QAC/B,OAAO;KACR;IAED,mBAAmB,EAAE;QACnB,QAAQ;QACR,SAAS;QACT,MAAM;QACN,aAAa;QACb,MAAM;QACN,QAAQ;QACR,SAAS;QACT,WAAW;QACX,MAAM;QACN,QAAQ;QACR,OAAO;KACR;IAED,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;IACtC,sBAAsB,EAAE;QACtB,KAAK;QACL,YAAY;QACZ,+BAA+B;QAC/B,OAAO;KACR;IAED,aAAa,EAAE,oBAAoB;CAC6B,CAAA;AAElE,MAAM,CAAC,MAAM,mBAAmB,GAC9B,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAQ,CAAA;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC,CAAA"}
|
|
@@ -1443,11 +1443,11 @@ export declare const device: z.ZodObject<{
|
|
|
1443
1443
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1444
1444
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1445
1445
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1446
|
-
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089"]>;
|
|
1446
|
+
constraint_type: z.ZodEnum<["no_zeros", "cannot_start_with_12", "no_triple_consecutive_ints", "cannot_specify_pin_code", "pin_code_matches_existing_set", "start_date_in_future", "no_ascending_or_descending_sequence", "at_least_three_unique_digits", "cannot_contain_089", "cannot_contain_0789"]>;
|
|
1447
1447
|
}, "strip", z.ZodTypeAny, {
|
|
1448
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
1448
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
1449
1449
|
}, {
|
|
1450
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
1450
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
1451
1451
|
}>, z.ZodObject<{
|
|
1452
1452
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
1453
1453
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1477,7 +1477,7 @@ export declare const device: z.ZodObject<{
|
|
|
1477
1477
|
}, "strip", z.ZodTypeAny, {
|
|
1478
1478
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1479
1479
|
code_constraints?: ({
|
|
1480
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
1480
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
1481
1481
|
} | {
|
|
1482
1482
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1483
1483
|
min_length?: number | undefined;
|
|
@@ -1495,7 +1495,7 @@ export declare const device: z.ZodObject<{
|
|
|
1495
1495
|
}, {
|
|
1496
1496
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1497
1497
|
code_constraints?: ({
|
|
1498
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
1498
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
1499
1499
|
} | {
|
|
1500
1500
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1501
1501
|
min_length?: number | undefined;
|
|
@@ -2524,7 +2524,7 @@ export declare const device: z.ZodObject<{
|
|
|
2524
2524
|
} & ({
|
|
2525
2525
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2526
2526
|
code_constraints?: ({
|
|
2527
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
2527
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
2528
2528
|
} | {
|
|
2529
2529
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
2530
2530
|
min_length?: number | undefined;
|
|
@@ -2954,7 +2954,7 @@ export declare const device: z.ZodObject<{
|
|
|
2954
2954
|
} & ({
|
|
2955
2955
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2956
2956
|
code_constraints?: ({
|
|
2957
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
2957
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
2958
2958
|
} | {
|
|
2959
2959
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
2960
2960
|
min_length?: number | undefined;
|
|
@@ -3420,7 +3420,7 @@ export declare const device: z.ZodObject<{
|
|
|
3420
3420
|
} & ({
|
|
3421
3421
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3422
3422
|
code_constraints?: ({
|
|
3423
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
3423
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
3424
3424
|
} | {
|
|
3425
3425
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3426
3426
|
min_length?: number | undefined;
|
|
@@ -3850,7 +3850,7 @@ export declare const device: z.ZodObject<{
|
|
|
3850
3850
|
} & ({
|
|
3851
3851
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3852
3852
|
code_constraints?: ({
|
|
3853
|
-
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089";
|
|
3853
|
+
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future" | "no_ascending_or_descending_sequence" | "at_least_three_unique_digits" | "cannot_contain_089" | "cannot_contain_0789";
|
|
3854
3854
|
} | {
|
|
3855
3855
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3856
3856
|
min_length?: number | undefined;
|
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const unmanaged_device: z.ZodObject<{
|
|
3
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
4
|
+
location_name: z.ZodOptional<z.ZodString>;
|
|
5
|
+
timezone: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
location_name?: string | undefined;
|
|
8
|
+
timezone?: string | undefined;
|
|
9
|
+
}, {
|
|
10
|
+
location_name?: string | undefined;
|
|
11
|
+
timezone?: string | undefined;
|
|
12
|
+
}>>;
|
|
3
13
|
connected_account_id: z.ZodString;
|
|
4
14
|
created_at: z.ZodString;
|
|
5
15
|
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
@@ -184,6 +194,10 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
184
194
|
can_simulate_connection: z.ZodOptional<z.ZodBoolean>;
|
|
185
195
|
can_simulate_disconnection: z.ZodOptional<z.ZodBoolean>;
|
|
186
196
|
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
location: {
|
|
198
|
+
location_name?: string | undefined;
|
|
199
|
+
timezone?: string | undefined;
|
|
200
|
+
} | null;
|
|
187
201
|
connected_account_id: string;
|
|
188
202
|
created_at: string;
|
|
189
203
|
errors: ({
|
|
@@ -241,6 +255,10 @@ export declare const unmanaged_device: z.ZodObject<{
|
|
|
241
255
|
can_simulate_connection?: boolean | undefined;
|
|
242
256
|
can_simulate_disconnection?: boolean | undefined;
|
|
243
257
|
}, {
|
|
258
|
+
location: {
|
|
259
|
+
location_name?: string | undefined;
|
|
260
|
+
timezone?: string | undefined;
|
|
261
|
+
} | null;
|
|
244
262
|
connected_account_id: string;
|
|
245
263
|
created_at: string;
|
|
246
264
|
errors: ({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM;KACnC,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC;QACxC,gBAAgB,EAAE,IAAI;QACtB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,IAAI;QACb,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,IAAI;QAClC,KAAK,EAAE,IAAI;KACZ,CAAC;CACH,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"unmanaged-device.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/unmanaged-device.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,wBAAwB,EACxB,MAAM,EACN,uBAAuB,GACxB,MAAM,aAAa,CAAA;AAEpB,MAAM,CAAC,MAAM,gBAAgB,GAAG,MAAM;KACnC,IAAI,CAAC;IACJ,SAAS,EAAE,IAAI;IACf,WAAW,EAAE,IAAI;IACjB,oBAAoB,EAAE,IAAI;IAC1B,QAAQ,EAAE,IAAI;IACd,sBAAsB,EAAE,IAAI;IAC5B,YAAY,EAAE,IAAI;IAClB,MAAM,EAAE,IAAI;IACZ,QAAQ,EAAE,IAAI;IACd,UAAU,EAAE,IAAI;CACjB,CAAC;KACD,MAAM,CAAC;IACN,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;IAC5B,UAAU,EAAE,wBAAwB,CAAC,IAAI,CAAC;QACxC,gBAAgB,EAAE,IAAI;QACtB,IAAI,EAAE,IAAI;QACV,MAAM,EAAE,IAAI;QACZ,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,cAAc,EAAE,IAAI;QACpB,aAAa,EAAE,IAAI;QACnB,OAAO,EAAE,IAAI;QACb,2BAA2B,EAAE,IAAI;QACjC,4BAA4B,EAAE,IAAI;QAClC,KAAK,EAAE,IAAI;KACZ,CAAC;CACH,CAAC;KACD,KAAK,CAAC,uBAAuB,CAAC,CAAA"}
|
|
@@ -3477,6 +3477,21 @@ declare const _default: {
|
|
|
3477
3477
|
enum: boolean[];
|
|
3478
3478
|
type: string;
|
|
3479
3479
|
};
|
|
3480
|
+
location: {
|
|
3481
|
+
description: string;
|
|
3482
|
+
nullable: boolean;
|
|
3483
|
+
properties: {
|
|
3484
|
+
location_name: {
|
|
3485
|
+
description: string;
|
|
3486
|
+
type: string;
|
|
3487
|
+
};
|
|
3488
|
+
timezone: {
|
|
3489
|
+
description: string;
|
|
3490
|
+
type: string;
|
|
3491
|
+
};
|
|
3492
|
+
};
|
|
3493
|
+
type: string;
|
|
3494
|
+
};
|
|
3480
3495
|
properties: {
|
|
3481
3496
|
properties: {
|
|
3482
3497
|
accessory_keypad: {
|