@seamapi/types 1.715.0 → 1.717.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 +103 -31
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +578 -91
- package/dist/index.cjs +103 -31
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +132 -24
- 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-metadata.d.ts +38 -0
- package/lib/seam/connect/models/devices/device-metadata.js +17 -0
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-type.js +1 -0
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +64 -10
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +46 -8
- package/lib/seam/connect/openapi.d.ts +31 -0
- package/lib/seam/connect/openapi.js +70 -10
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +304 -49
- 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-metadata.ts +18 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +72 -10
- package/src/lib/seam/connect/route-types.ts +345 -5
|
@@ -207,7 +207,7 @@ export declare const batch: z.ZodObject<{
|
|
|
207
207
|
}>, "many">>;
|
|
208
208
|
devices: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
209
209
|
device_id: z.ZodString;
|
|
210
|
-
device_type: z.ZodUnion<[z.ZodEnum<["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" | "akiles_lock" | "ultraloq_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
210
|
+
device_type: z.ZodUnion<[z.ZodEnum<["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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
211
211
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
212
212
|
nickname: z.ZodOptional<z.ZodString>;
|
|
213
213
|
display_name: z.ZodString;
|
|
@@ -1254,6 +1254,28 @@ export declare const batch: z.ZodObject<{
|
|
|
1254
1254
|
device_type: string;
|
|
1255
1255
|
time_zone: string | null;
|
|
1256
1256
|
}>>;
|
|
1257
|
+
korelock_metadata: z.ZodOptional<z.ZodObject<{
|
|
1258
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
1259
|
+
device_name: z.ZodOptional<z.ZodString>;
|
|
1260
|
+
model_code: z.ZodOptional<z.ZodString>;
|
|
1261
|
+
serial_number: z.ZodOptional<z.ZodString>;
|
|
1262
|
+
firmware_version: z.ZodOptional<z.ZodString>;
|
|
1263
|
+
wifi_signal_strength: z.ZodOptional<z.ZodNumber>;
|
|
1264
|
+
}, "strip", z.ZodTypeAny, {
|
|
1265
|
+
device_id?: string | undefined;
|
|
1266
|
+
device_name?: string | undefined;
|
|
1267
|
+
serial_number?: string | undefined;
|
|
1268
|
+
model_code?: string | undefined;
|
|
1269
|
+
firmware_version?: string | undefined;
|
|
1270
|
+
wifi_signal_strength?: number | undefined;
|
|
1271
|
+
}, {
|
|
1272
|
+
device_id?: string | undefined;
|
|
1273
|
+
device_name?: string | undefined;
|
|
1274
|
+
serial_number?: string | undefined;
|
|
1275
|
+
model_code?: string | undefined;
|
|
1276
|
+
firmware_version?: string | undefined;
|
|
1277
|
+
wifi_signal_strength?: number | undefined;
|
|
1278
|
+
}>>;
|
|
1257
1279
|
}, "strip", z.ZodTypeAny, {
|
|
1258
1280
|
ecobee_metadata?: {
|
|
1259
1281
|
device_name: string;
|
|
@@ -1518,6 +1540,14 @@ export declare const batch: z.ZodObject<{
|
|
|
1518
1540
|
device_type: string;
|
|
1519
1541
|
time_zone: string | null;
|
|
1520
1542
|
} | undefined;
|
|
1543
|
+
korelock_metadata?: {
|
|
1544
|
+
device_id?: string | undefined;
|
|
1545
|
+
device_name?: string | undefined;
|
|
1546
|
+
serial_number?: string | undefined;
|
|
1547
|
+
model_code?: string | undefined;
|
|
1548
|
+
firmware_version?: string | undefined;
|
|
1549
|
+
wifi_signal_strength?: number | undefined;
|
|
1550
|
+
} | undefined;
|
|
1521
1551
|
}, {
|
|
1522
1552
|
ecobee_metadata?: {
|
|
1523
1553
|
device_name: string;
|
|
@@ -1782,14 +1812,22 @@ export declare const batch: z.ZodObject<{
|
|
|
1782
1812
|
device_type: string;
|
|
1783
1813
|
time_zone: string | null;
|
|
1784
1814
|
} | undefined;
|
|
1815
|
+
korelock_metadata?: {
|
|
1816
|
+
device_id?: string | undefined;
|
|
1817
|
+
device_name?: string | undefined;
|
|
1818
|
+
serial_number?: string | undefined;
|
|
1819
|
+
model_code?: string | undefined;
|
|
1820
|
+
firmware_version?: string | undefined;
|
|
1821
|
+
wifi_signal_strength?: number | undefined;
|
|
1822
|
+
} | undefined;
|
|
1785
1823
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1786
1824
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1787
1825
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1788
|
-
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", "unique_first_four_digits"]>;
|
|
1826
|
+
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", "unique_first_four_digits", "no_all_same_digits"]>;
|
|
1789
1827
|
}, "strip", z.ZodTypeAny, {
|
|
1790
|
-
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" | "unique_first_four_digits";
|
|
1828
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
1791
1829
|
}, {
|
|
1792
|
-
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" | "unique_first_four_digits";
|
|
1830
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
1793
1831
|
}>, z.ZodObject<{
|
|
1794
1832
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
1795
1833
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1820,7 +1858,7 @@ export declare const batch: z.ZodObject<{
|
|
|
1820
1858
|
}, "strip", z.ZodTypeAny, {
|
|
1821
1859
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1822
1860
|
code_constraints?: ({
|
|
1823
|
-
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" | "unique_first_four_digits";
|
|
1861
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
1824
1862
|
} | {
|
|
1825
1863
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1826
1864
|
min_length?: number | undefined;
|
|
@@ -1838,7 +1876,7 @@ export declare const batch: z.ZodObject<{
|
|
|
1838
1876
|
}, {
|
|
1839
1877
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1840
1878
|
code_constraints?: ({
|
|
1841
|
-
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" | "unique_first_four_digits";
|
|
1879
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
1842
1880
|
} | {
|
|
1843
1881
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1844
1882
|
min_length?: number | undefined;
|
|
@@ -3335,7 +3373,7 @@ export declare const batch: z.ZodObject<{
|
|
|
3335
3373
|
warning_code: "accessory_keypad_setup_required";
|
|
3336
3374
|
})[];
|
|
3337
3375
|
custom_metadata: Record<string, string | boolean>;
|
|
3338
|
-
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" | "akiles_lock" | "ultraloq_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
3376
|
+
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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
3339
3377
|
space_ids: string[];
|
|
3340
3378
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
3341
3379
|
properties: {
|
|
@@ -3650,10 +3688,18 @@ export declare const batch: z.ZodObject<{
|
|
|
3650
3688
|
device_type: string;
|
|
3651
3689
|
time_zone: string | null;
|
|
3652
3690
|
} | undefined;
|
|
3691
|
+
korelock_metadata?: {
|
|
3692
|
+
device_id?: string | undefined;
|
|
3693
|
+
device_name?: string | undefined;
|
|
3694
|
+
serial_number?: string | undefined;
|
|
3695
|
+
model_code?: string | undefined;
|
|
3696
|
+
firmware_version?: string | undefined;
|
|
3697
|
+
wifi_signal_strength?: number | undefined;
|
|
3698
|
+
} | undefined;
|
|
3653
3699
|
} & {
|
|
3654
3700
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3655
3701
|
code_constraints?: ({
|
|
3656
|
-
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" | "unique_first_four_digits";
|
|
3702
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
3657
3703
|
} | {
|
|
3658
3704
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3659
3705
|
min_length?: number | undefined;
|
|
@@ -4025,7 +4071,7 @@ export declare const batch: z.ZodObject<{
|
|
|
4025
4071
|
warning_code: "accessory_keypad_setup_required";
|
|
4026
4072
|
})[];
|
|
4027
4073
|
custom_metadata: Record<string, string | boolean>;
|
|
4028
|
-
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" | "akiles_lock" | "ultraloq_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
4074
|
+
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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
4029
4075
|
space_ids: string[];
|
|
4030
4076
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
4031
4077
|
properties: {
|
|
@@ -4340,10 +4386,18 @@ export declare const batch: z.ZodObject<{
|
|
|
4340
4386
|
device_type: string;
|
|
4341
4387
|
time_zone: string | null;
|
|
4342
4388
|
} | undefined;
|
|
4389
|
+
korelock_metadata?: {
|
|
4390
|
+
device_id?: string | undefined;
|
|
4391
|
+
device_name?: string | undefined;
|
|
4392
|
+
serial_number?: string | undefined;
|
|
4393
|
+
model_code?: string | undefined;
|
|
4394
|
+
firmware_version?: string | undefined;
|
|
4395
|
+
wifi_signal_strength?: number | undefined;
|
|
4396
|
+
} | undefined;
|
|
4343
4397
|
} & {
|
|
4344
4398
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
4345
4399
|
code_constraints?: ({
|
|
4346
|
-
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" | "unique_first_four_digits";
|
|
4400
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
4347
4401
|
} | {
|
|
4348
4402
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
4349
4403
|
min_length?: number | undefined;
|
|
@@ -11530,7 +11584,7 @@ export declare const batch: z.ZodObject<{
|
|
|
11530
11584
|
}>, "many">>;
|
|
11531
11585
|
unmanaged_devices: z.ZodOptional<z.ZodArray<z.ZodObject<Pick<{
|
|
11532
11586
|
device_id: z.ZodString;
|
|
11533
|
-
device_type: z.ZodUnion<[z.ZodEnum<["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" | "akiles_lock" | "ultraloq_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
11587
|
+
device_type: z.ZodUnion<[z.ZodEnum<["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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>]>;
|
|
11534
11588
|
space_ids: z.ZodArray<z.ZodString, "many">;
|
|
11535
11589
|
nickname: z.ZodOptional<z.ZodString>;
|
|
11536
11590
|
display_name: z.ZodString;
|
|
@@ -12577,6 +12631,28 @@ export declare const batch: z.ZodObject<{
|
|
|
12577
12631
|
device_type: string;
|
|
12578
12632
|
time_zone: string | null;
|
|
12579
12633
|
}>>;
|
|
12634
|
+
korelock_metadata: z.ZodOptional<z.ZodObject<{
|
|
12635
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
12636
|
+
device_name: z.ZodOptional<z.ZodString>;
|
|
12637
|
+
model_code: z.ZodOptional<z.ZodString>;
|
|
12638
|
+
serial_number: z.ZodOptional<z.ZodString>;
|
|
12639
|
+
firmware_version: z.ZodOptional<z.ZodString>;
|
|
12640
|
+
wifi_signal_strength: z.ZodOptional<z.ZodNumber>;
|
|
12641
|
+
}, "strip", z.ZodTypeAny, {
|
|
12642
|
+
device_id?: string | undefined;
|
|
12643
|
+
device_name?: string | undefined;
|
|
12644
|
+
serial_number?: string | undefined;
|
|
12645
|
+
model_code?: string | undefined;
|
|
12646
|
+
firmware_version?: string | undefined;
|
|
12647
|
+
wifi_signal_strength?: number | undefined;
|
|
12648
|
+
}, {
|
|
12649
|
+
device_id?: string | undefined;
|
|
12650
|
+
device_name?: string | undefined;
|
|
12651
|
+
serial_number?: string | undefined;
|
|
12652
|
+
model_code?: string | undefined;
|
|
12653
|
+
firmware_version?: string | undefined;
|
|
12654
|
+
wifi_signal_strength?: number | undefined;
|
|
12655
|
+
}>>;
|
|
12580
12656
|
}, "strip", z.ZodTypeAny, {
|
|
12581
12657
|
ecobee_metadata?: {
|
|
12582
12658
|
device_name: string;
|
|
@@ -12841,6 +12917,14 @@ export declare const batch: z.ZodObject<{
|
|
|
12841
12917
|
device_type: string;
|
|
12842
12918
|
time_zone: string | null;
|
|
12843
12919
|
} | undefined;
|
|
12920
|
+
korelock_metadata?: {
|
|
12921
|
+
device_id?: string | undefined;
|
|
12922
|
+
device_name?: string | undefined;
|
|
12923
|
+
serial_number?: string | undefined;
|
|
12924
|
+
model_code?: string | undefined;
|
|
12925
|
+
firmware_version?: string | undefined;
|
|
12926
|
+
wifi_signal_strength?: number | undefined;
|
|
12927
|
+
} | undefined;
|
|
12844
12928
|
}, {
|
|
12845
12929
|
ecobee_metadata?: {
|
|
12846
12930
|
device_name: string;
|
|
@@ -13105,14 +13189,22 @@ export declare const batch: z.ZodObject<{
|
|
|
13105
13189
|
device_type: string;
|
|
13106
13190
|
time_zone: string | null;
|
|
13107
13191
|
} | undefined;
|
|
13192
|
+
korelock_metadata?: {
|
|
13193
|
+
device_id?: string | undefined;
|
|
13194
|
+
device_name?: string | undefined;
|
|
13195
|
+
serial_number?: string | undefined;
|
|
13196
|
+
model_code?: string | undefined;
|
|
13197
|
+
firmware_version?: string | undefined;
|
|
13198
|
+
wifi_signal_strength?: number | undefined;
|
|
13199
|
+
} | undefined;
|
|
13108
13200
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
13109
13201
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
13110
13202
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
13111
|
-
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", "unique_first_four_digits"]>;
|
|
13203
|
+
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", "unique_first_four_digits", "no_all_same_digits"]>;
|
|
13112
13204
|
}, "strip", z.ZodTypeAny, {
|
|
13113
|
-
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" | "unique_first_four_digits";
|
|
13205
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
13114
13206
|
}, {
|
|
13115
|
-
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" | "unique_first_four_digits";
|
|
13207
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
13116
13208
|
}>, z.ZodObject<{
|
|
13117
13209
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
13118
13210
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13143,7 +13235,7 @@ export declare const batch: z.ZodObject<{
|
|
|
13143
13235
|
}, "strip", z.ZodTypeAny, {
|
|
13144
13236
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
13145
13237
|
code_constraints?: ({
|
|
13146
|
-
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" | "unique_first_four_digits";
|
|
13238
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
13147
13239
|
} | {
|
|
13148
13240
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
13149
13241
|
min_length?: number | undefined;
|
|
@@ -13161,7 +13253,7 @@ export declare const batch: z.ZodObject<{
|
|
|
13161
13253
|
}, {
|
|
13162
13254
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
13163
13255
|
code_constraints?: ({
|
|
13164
|
-
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" | "unique_first_four_digits";
|
|
13256
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
13165
13257
|
} | {
|
|
13166
13258
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
13167
13259
|
min_length?: number | undefined;
|
|
@@ -14813,7 +14905,7 @@ export declare const batch: z.ZodObject<{
|
|
|
14813
14905
|
warning_code: "accessory_keypad_setup_required";
|
|
14814
14906
|
})[];
|
|
14815
14907
|
custom_metadata: Record<string, string | boolean>;
|
|
14816
|
-
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" | "akiles_lock" | "ultraloq_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
14908
|
+
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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
14817
14909
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
14818
14910
|
properties: {
|
|
14819
14911
|
name: string;
|
|
@@ -15054,7 +15146,7 @@ export declare const batch: z.ZodObject<{
|
|
|
15054
15146
|
warning_code: "accessory_keypad_setup_required";
|
|
15055
15147
|
})[];
|
|
15056
15148
|
custom_metadata: Record<string, string | boolean>;
|
|
15057
|
-
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" | "akiles_lock" | "ultraloq_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
15149
|
+
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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
15058
15150
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
15059
15151
|
properties: {
|
|
15060
15152
|
name: string;
|
|
@@ -22077,7 +22169,7 @@ export declare const batch: z.ZodObject<{
|
|
|
22077
22169
|
warning_code: "accessory_keypad_setup_required";
|
|
22078
22170
|
})[];
|
|
22079
22171
|
custom_metadata: Record<string, string | boolean>;
|
|
22080
|
-
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" | "akiles_lock" | "ultraloq_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
22172
|
+
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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
22081
22173
|
space_ids: string[];
|
|
22082
22174
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
22083
22175
|
properties: {
|
|
@@ -22392,10 +22484,18 @@ export declare const batch: z.ZodObject<{
|
|
|
22392
22484
|
device_type: string;
|
|
22393
22485
|
time_zone: string | null;
|
|
22394
22486
|
} | undefined;
|
|
22487
|
+
korelock_metadata?: {
|
|
22488
|
+
device_id?: string | undefined;
|
|
22489
|
+
device_name?: string | undefined;
|
|
22490
|
+
serial_number?: string | undefined;
|
|
22491
|
+
model_code?: string | undefined;
|
|
22492
|
+
firmware_version?: string | undefined;
|
|
22493
|
+
wifi_signal_strength?: number | undefined;
|
|
22494
|
+
} | undefined;
|
|
22395
22495
|
} & {
|
|
22396
22496
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
22397
22497
|
code_constraints?: ({
|
|
22398
|
-
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" | "unique_first_four_digits";
|
|
22498
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
22399
22499
|
} | {
|
|
22400
22500
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
22401
22501
|
min_length?: number | undefined;
|
|
@@ -24180,7 +24280,7 @@ export declare const batch: z.ZodObject<{
|
|
|
24180
24280
|
warning_code: "accessory_keypad_setup_required";
|
|
24181
24281
|
})[];
|
|
24182
24282
|
custom_metadata: Record<string, string | boolean>;
|
|
24183
|
-
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" | "akiles_lock" | "ultraloq_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
24283
|
+
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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
24184
24284
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
24185
24285
|
properties: {
|
|
24186
24286
|
name: string;
|
|
@@ -26196,7 +26296,7 @@ export declare const batch: z.ZodObject<{
|
|
|
26196
26296
|
warning_code: "accessory_keypad_setup_required";
|
|
26197
26297
|
})[];
|
|
26198
26298
|
custom_metadata: Record<string, string | boolean>;
|
|
26199
|
-
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" | "akiles_lock" | "ultraloq_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
26299
|
+
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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
26200
26300
|
space_ids: string[];
|
|
26201
26301
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
26202
26302
|
properties: {
|
|
@@ -26511,10 +26611,18 @@ export declare const batch: z.ZodObject<{
|
|
|
26511
26611
|
device_type: string;
|
|
26512
26612
|
time_zone: string | null;
|
|
26513
26613
|
} | undefined;
|
|
26614
|
+
korelock_metadata?: {
|
|
26615
|
+
device_id?: string | undefined;
|
|
26616
|
+
device_name?: string | undefined;
|
|
26617
|
+
serial_number?: string | undefined;
|
|
26618
|
+
model_code?: string | undefined;
|
|
26619
|
+
firmware_version?: string | undefined;
|
|
26620
|
+
wifi_signal_strength?: number | undefined;
|
|
26621
|
+
} | undefined;
|
|
26514
26622
|
} & {
|
|
26515
26623
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
26516
26624
|
code_constraints?: ({
|
|
26517
|
-
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" | "unique_first_four_digits";
|
|
26625
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
26518
26626
|
} | {
|
|
26519
26627
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
26520
26628
|
min_length?: number | undefined;
|
|
@@ -28299,7 +28407,7 @@ export declare const batch: z.ZodObject<{
|
|
|
28299
28407
|
warning_code: "accessory_keypad_setup_required";
|
|
28300
28408
|
})[];
|
|
28301
28409
|
custom_metadata: Record<string, string | boolean>;
|
|
28302
|
-
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" | "akiles_lock" | "ultraloq_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
28410
|
+
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" | "akiles_lock" | "ultraloq_lock" | "korelock_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone");
|
|
28303
28411
|
capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone")[];
|
|
28304
28412
|
properties: {
|
|
28305
28413
|
name: string;
|
|
@@ -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", "cannot_contain_0789", "unique_first_four_digits"]>;
|
|
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", "unique_first_four_digits", "no_all_same_digits"]>;
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
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", "cannot_contain_0789", "unique_first_four_digits"]>;
|
|
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", "unique_first_four_digits", "no_all_same_digits"]>;
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
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", "cannot_contain_0789", "unique_first_four_digits"]>;
|
|
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", "unique_first_four_digits", "no_all_same_digits"]>;
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
84
84
|
} | {
|
|
85
85
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
86
86
|
min_length?: number | undefined;
|
|
@@ -9,11 +9,12 @@ export const access_code_code_constraint = z
|
|
|
9
9
|
'cannot_specify_pin_code', // Dormakaba?
|
|
10
10
|
'pin_code_matches_existing_set', // Salto
|
|
11
11
|
'start_date_in_future', // Kwikset
|
|
12
|
-
'no_ascending_or_descending_sequence', // Tedee
|
|
12
|
+
'no_ascending_or_descending_sequence', // Tedee, Korelock
|
|
13
13
|
'at_least_three_unique_digits', // Tedee
|
|
14
14
|
'cannot_contain_089', // TTLock
|
|
15
15
|
'cannot_contain_0789', // TTLock (for some cylinder devices only)
|
|
16
16
|
'unique_first_four_digits', // Schlage
|
|
17
|
+
'no_all_same_digits', // Korelock
|
|
17
18
|
])
|
|
18
19
|
.describe(`Code constraint type for access codes.`),
|
|
19
20
|
})
|
|
@@ -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;KACzC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC;SACf,IAAI,CAAC;QACJ,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,aAAa;QACxC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,
|
|
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;KACzC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC;SACf,IAAI,CAAC;QACJ,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,aAAa;QACxC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;QAClC,qCAAqC,EAAE,kBAAkB;QACzD,8BAA8B,EAAE,QAAQ;QACxC,oBAAoB,EAAE,SAAS;QAC/B,qBAAqB,EAAE,0CAA0C;QACjE,0BAA0B,EAAE,UAAU;QACtC,oBAAoB,EAAE,WAAW;KAClC,CAAC;SACD,QAAQ,CAAC,wCAAwC,CAAC;CACtD,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,aAAa,EAAE,qBAAqB,CAAC,CAAC,EAAE,gBAAgB;IACjF,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;IAC/D,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,kDAAkD,CAAC;CAChE,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC;KACpC,KAAK,CAAC,CAAC,2BAA2B,EAAE,2BAA2B,CAAC,CAAC;KACjE,QAAQ,CAAC,yBAAyB,CAAC,CAAA;AAItC,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;WAId,CAAC;IACV,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;oRAI4M,CAAC;IACnR,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;mDAIf,CAAC;IAClD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;0EAIa,CAAC;IACzE,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;yKAIqG,CAAC;IACxK,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;qEAIU,CAAC;CACrE,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", "cannot_contain_0789", "unique_first_four_digits"]>;
|
|
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", "unique_first_four_digits", "no_all_same_digits"]>;
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
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" | "cannot_contain_0789" | "unique_first_four_digits";
|
|
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
14
14
|
}>, z.ZodObject<{
|
|
15
15
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
16
16
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -41,7 +41,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
41
41
|
}, "strip", z.ZodTypeAny, {
|
|
42
42
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
43
43
|
code_constraints?: ({
|
|
44
|
-
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" | "unique_first_four_digits";
|
|
44
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
45
45
|
} | {
|
|
46
46
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
47
47
|
min_length?: number | undefined;
|
|
@@ -59,7 +59,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
59
59
|
}, {
|
|
60
60
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
61
61
|
code_constraints?: ({
|
|
62
|
-
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" | "unique_first_four_digits";
|
|
62
|
+
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" | "unique_first_four_digits" | "no_all_same_digits";
|
|
63
63
|
} | {
|
|
64
64
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
65
65
|
min_length?: number | undefined;
|
|
@@ -872,6 +872,28 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
872
872
|
device_type: string;
|
|
873
873
|
time_zone: string | null;
|
|
874
874
|
}>>;
|
|
875
|
+
korelock_metadata: z.ZodOptional<z.ZodObject<{
|
|
876
|
+
device_id: z.ZodOptional<z.ZodString>;
|
|
877
|
+
device_name: z.ZodOptional<z.ZodString>;
|
|
878
|
+
model_code: z.ZodOptional<z.ZodString>;
|
|
879
|
+
serial_number: z.ZodOptional<z.ZodString>;
|
|
880
|
+
firmware_version: z.ZodOptional<z.ZodString>;
|
|
881
|
+
wifi_signal_strength: z.ZodOptional<z.ZodNumber>;
|
|
882
|
+
}, "strip", z.ZodTypeAny, {
|
|
883
|
+
device_id?: string | undefined;
|
|
884
|
+
device_name?: string | undefined;
|
|
885
|
+
serial_number?: string | undefined;
|
|
886
|
+
model_code?: string | undefined;
|
|
887
|
+
firmware_version?: string | undefined;
|
|
888
|
+
wifi_signal_strength?: number | undefined;
|
|
889
|
+
}, {
|
|
890
|
+
device_id?: string | undefined;
|
|
891
|
+
device_name?: string | undefined;
|
|
892
|
+
serial_number?: string | undefined;
|
|
893
|
+
model_code?: string | undefined;
|
|
894
|
+
firmware_version?: string | undefined;
|
|
895
|
+
wifi_signal_strength?: number | undefined;
|
|
896
|
+
}>>;
|
|
875
897
|
}, "strip", z.ZodTypeAny, {
|
|
876
898
|
ecobee_metadata?: {
|
|
877
899
|
device_name: string;
|
|
@@ -1136,6 +1158,14 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
1136
1158
|
device_type: string;
|
|
1137
1159
|
time_zone: string | null;
|
|
1138
1160
|
} | undefined;
|
|
1161
|
+
korelock_metadata?: {
|
|
1162
|
+
device_id?: string | undefined;
|
|
1163
|
+
device_name?: string | undefined;
|
|
1164
|
+
serial_number?: string | undefined;
|
|
1165
|
+
model_code?: string | undefined;
|
|
1166
|
+
firmware_version?: string | undefined;
|
|
1167
|
+
wifi_signal_strength?: number | undefined;
|
|
1168
|
+
} | undefined;
|
|
1139
1169
|
}, {
|
|
1140
1170
|
ecobee_metadata?: {
|
|
1141
1171
|
device_name: string;
|
|
@@ -1400,5 +1430,13 @@ export declare const device_metadata: z.ZodObject<{
|
|
|
1400
1430
|
device_type: string;
|
|
1401
1431
|
time_zone: string | null;
|
|
1402
1432
|
} | undefined;
|
|
1433
|
+
korelock_metadata?: {
|
|
1434
|
+
device_id?: string | undefined;
|
|
1435
|
+
device_name?: string | undefined;
|
|
1436
|
+
serial_number?: string | undefined;
|
|
1437
|
+
model_code?: string | undefined;
|
|
1438
|
+
firmware_version?: string | undefined;
|
|
1439
|
+
wifi_signal_strength?: number | undefined;
|
|
1440
|
+
} | undefined;
|
|
1403
1441
|
}>;
|
|
1404
1442
|
export type DeviceMetadata = z.infer<typeof device_metadata>;
|
|
@@ -610,6 +610,23 @@ export const device_metadata = z
|
|
|
610
610
|
.describe(`IANA timezone for the Ultraloq device.`),
|
|
611
611
|
})
|
|
612
612
|
.describe(`Metadata for an Ultraloq device.`),
|
|
613
|
+
korelock_metadata: z
|
|
614
|
+
.object({
|
|
615
|
+
device_id: z.string().describe(`Device ID for a Korelock device.`),
|
|
616
|
+
device_name: z.string().describe(`Device name for a Korelock device.`),
|
|
617
|
+
model_code: z.string().describe(`Model code for a Korelock device.`),
|
|
618
|
+
serial_number: z
|
|
619
|
+
.string()
|
|
620
|
+
.describe(`Serial number for a Korelock device.`),
|
|
621
|
+
firmware_version: z
|
|
622
|
+
.string()
|
|
623
|
+
.describe(`Firmware version for a Korelock device.`),
|
|
624
|
+
wifi_signal_strength: z
|
|
625
|
+
.number()
|
|
626
|
+
.describe(`WiFi signal strength (0-1) for a Korelock device.`),
|
|
627
|
+
})
|
|
628
|
+
.partial()
|
|
629
|
+
.describe(`Metadata for a Korelock device.`),
|
|
613
630
|
})
|
|
614
631
|
.partial().describe(`
|
|
615
632
|
---
|