@seamapi/types 1.716.0 → 1.718.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 +17 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +52 -52
- package/dist/index.cjs +17 -3
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +14 -14
- 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 +4 -3
- 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 +7 -7
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/openapi.js +11 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +23 -23
- 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 +3 -0
- package/src/lib/seam/connect/openapi.ts +11 -0
- package/src/lib/seam/connect/route-types.ts +23 -0
|
@@ -1823,11 +1823,11 @@ export declare const batch: z.ZodObject<{
|
|
|
1823
1823
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1824
1824
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1825
1825
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
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"]>;
|
|
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"]>;
|
|
1827
1827
|
}, "strip", z.ZodTypeAny, {
|
|
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";
|
|
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";
|
|
1829
1829
|
}, {
|
|
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";
|
|
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";
|
|
1831
1831
|
}>, z.ZodObject<{
|
|
1832
1832
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
1833
1833
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1858,7 +1858,7 @@ export declare const batch: z.ZodObject<{
|
|
|
1858
1858
|
}, "strip", z.ZodTypeAny, {
|
|
1859
1859
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1860
1860
|
code_constraints?: ({
|
|
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";
|
|
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";
|
|
1862
1862
|
} | {
|
|
1863
1863
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1864
1864
|
min_length?: number | undefined;
|
|
@@ -1876,7 +1876,7 @@ export declare const batch: z.ZodObject<{
|
|
|
1876
1876
|
}, {
|
|
1877
1877
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1878
1878
|
code_constraints?: ({
|
|
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";
|
|
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";
|
|
1880
1880
|
} | {
|
|
1881
1881
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1882
1882
|
min_length?: number | undefined;
|
|
@@ -3699,7 +3699,7 @@ export declare const batch: z.ZodObject<{
|
|
|
3699
3699
|
} & {
|
|
3700
3700
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3701
3701
|
code_constraints?: ({
|
|
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";
|
|
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";
|
|
3703
3703
|
} | {
|
|
3704
3704
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3705
3705
|
min_length?: number | undefined;
|
|
@@ -4397,7 +4397,7 @@ export declare const batch: z.ZodObject<{
|
|
|
4397
4397
|
} & {
|
|
4398
4398
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
4399
4399
|
code_constraints?: ({
|
|
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";
|
|
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";
|
|
4401
4401
|
} | {
|
|
4402
4402
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
4403
4403
|
min_length?: number | undefined;
|
|
@@ -13200,11 +13200,11 @@ export declare const batch: z.ZodObject<{
|
|
|
13200
13200
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
13201
13201
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
13202
13202
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
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"]>;
|
|
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"]>;
|
|
13204
13204
|
}, "strip", z.ZodTypeAny, {
|
|
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";
|
|
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";
|
|
13206
13206
|
}, {
|
|
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";
|
|
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";
|
|
13208
13208
|
}>, z.ZodObject<{
|
|
13209
13209
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
13210
13210
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -13235,7 +13235,7 @@ export declare const batch: z.ZodObject<{
|
|
|
13235
13235
|
}, "strip", z.ZodTypeAny, {
|
|
13236
13236
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
13237
13237
|
code_constraints?: ({
|
|
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";
|
|
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";
|
|
13239
13239
|
} | {
|
|
13240
13240
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
13241
13241
|
min_length?: number | undefined;
|
|
@@ -13253,7 +13253,7 @@ export declare const batch: z.ZodObject<{
|
|
|
13253
13253
|
}, {
|
|
13254
13254
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
13255
13255
|
code_constraints?: ({
|
|
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";
|
|
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";
|
|
13257
13257
|
} | {
|
|
13258
13258
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
13259
13259
|
min_length?: number | undefined;
|
|
@@ -22495,7 +22495,7 @@ export declare const batch: z.ZodObject<{
|
|
|
22495
22495
|
} & {
|
|
22496
22496
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
22497
22497
|
code_constraints?: ({
|
|
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";
|
|
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";
|
|
22499
22499
|
} | {
|
|
22500
22500
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
22501
22501
|
min_length?: number | undefined;
|
|
@@ -26622,7 +26622,7 @@ export declare const batch: z.ZodObject<{
|
|
|
26622
26622
|
} & {
|
|
26623
26623
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
26624
26624
|
code_constraints?: ({
|
|
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";
|
|
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";
|
|
26626
26626
|
} | {
|
|
26627
26627
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
26628
26628
|
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", "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,CAA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C;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;
|
|
@@ -62,6 +62,7 @@ export type ProviderCategory = keyof typeof PROVIDER_CATEGORY_MAP;
|
|
|
62
62
|
export declare const PROVIDER_CATEGORY_MAP: {
|
|
63
63
|
readonly stable: readonly ["august", "brivo", "schlage", "smartthings", "yale", "nuki", "salto_ks", "salto_space", "minut", "my_2n", "kwikset", "ttlock", "noiseaware", "igloohome", "ecobee", "lockly", "wyze", "nest", "tedee", "honeywell_resideo", "visionline", "assa_abloy_credential_service", "dormakaba_ambiance", "latch", "akiles", "sensi", "assa_abloy_vostio", "avigilon_alta", "keynest", "hotek"];
|
|
64
64
|
readonly consumer_smartlocks: readonly ["akiles", "august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee"];
|
|
65
|
+
readonly beta: readonly ["korelock"];
|
|
65
66
|
readonly thermostats: readonly ["ecobee", "nest", "sensi", "honeywell_resideo"];
|
|
66
67
|
readonly noise_sensors: readonly ["minut", "noiseaware"];
|
|
67
68
|
readonly access_control_systems: readonly ["visionline", "assa_abloy_credential_service", "latch", "salto_ks", "assa_abloy_vostio", "salto_space", "dormakaba_ambiance", "dormakaba_community", "legic_connect", "hotek"];
|
|
@@ -73,7 +74,7 @@ export declare const device_provider: z.ZodObject<{
|
|
|
73
74
|
device_provider_name: z.ZodEnum<[DeviceProviderName, ...DeviceProviderName[]]>;
|
|
74
75
|
display_name: z.ZodString;
|
|
75
76
|
image_url: z.ZodString;
|
|
76
|
-
provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
|
|
77
|
+
provider_categories: z.ZodArray<z.ZodEnum<["stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta", ...("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[]]>, "many">;
|
|
77
78
|
} & {
|
|
78
79
|
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
79
80
|
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -98,7 +99,7 @@ export declare const device_provider: z.ZodObject<{
|
|
|
98
99
|
display_name: string;
|
|
99
100
|
image_url: string;
|
|
100
101
|
device_provider_name: DeviceProviderName;
|
|
101
|
-
provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
102
|
+
provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
102
103
|
can_remotely_unlock?: boolean | undefined;
|
|
103
104
|
can_remotely_lock?: boolean | undefined;
|
|
104
105
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -122,7 +123,7 @@ export declare const device_provider: z.ZodObject<{
|
|
|
122
123
|
display_name: string;
|
|
123
124
|
image_url: string;
|
|
124
125
|
device_provider_name: DeviceProviderName;
|
|
125
|
-
provider_categories: ("stable" | "consumer_smartlocks" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
126
|
+
provider_categories: ("stable" | "consumer_smartlocks" | "beta" | "thermostats" | "noise_sensors" | "access_control_systems" | "internal_beta")[];
|
|
126
127
|
can_remotely_unlock?: boolean | undefined;
|
|
127
128
|
can_remotely_lock?: boolean | undefined;
|
|
128
129
|
can_program_offline_access_codes?: boolean | undefined;
|
|
@@ -101,6 +101,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
101
101
|
'lockly',
|
|
102
102
|
'tedee',
|
|
103
103
|
],
|
|
104
|
+
beta: ['korelock'],
|
|
104
105
|
thermostats: ['ecobee', 'nest', 'sensi', 'honeywell_resideo'],
|
|
105
106
|
noise_sensors: ['minut', 'noiseaware'],
|
|
106
107
|
access_control_systems: [
|
|
@@ -134,6 +135,7 @@ export const device_provider = z
|
|
|
134
135
|
export const PROVIDER_CATEGORY_CAPABILITY_MAP = {
|
|
135
136
|
stable: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
|
|
136
137
|
consumer_smartlocks: ['lock'],
|
|
138
|
+
beta: ['lock', 'thermostat', 'noise_sensor', 'access_control'],
|
|
137
139
|
thermostats: ['thermostat'],
|
|
138
140
|
noise_sensors: ['noise_sensor'],
|
|
139
141
|
access_control_systems: ['access_control'],
|
|
@@ -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;AAGvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,KAAK,EAAE,OAAO;IACd,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;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,QAAQ,EAAE,UAAU;IACpB,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,KAAK,EAAE,OAAO;IACd,i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ACpB,qBAAqB;QACrB,eAAe;QACf,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;KAC7B,MAAM,CAAC;IACN,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;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC;;;;GAI/C,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,gCAAgC,GAGzC;IACF,MAAM,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAChE,mBAAmB,EAAE,CAAC,MAAM,CAAC;IAC7B,WAAW,EAAE,CAAC,YAAY,CAAC;IAC3B,aAAa,EAAE,CAAC,cAAc,CAAC;IAC/B,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;IAC1C,aAAa,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;CACxE,CAAA"}
|
|
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;AAGvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,a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0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,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;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC;;;;GAI/C,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,gCAAgC,GAGzC;IACF,MAAM,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAChE,mBAAmB,EAAE,CAAC,MAAM,CAAC;IAC7B,IAAI,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;IAC9D,WAAW,EAAE,CAAC,YAAY,CAAC;IAC3B,aAAa,EAAE,CAAC,cAAc,CAAC;IAC/B,sBAAsB,EAAE,CAAC,gBAAgB,CAAC;IAC1C,aAAa,EAAE,CAAC,MAAM,EAAE,YAAY,EAAE,cAAc,EAAE,gBAAgB,CAAC;CACxE,CAAA"}
|
|
@@ -3624,11 +3624,11 @@ export declare const device: z.ZodObject<{
|
|
|
3624
3624
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
3625
3625
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
3626
3626
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
3627
|
-
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"]>;
|
|
3627
|
+
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"]>;
|
|
3628
3628
|
}, "strip", z.ZodTypeAny, {
|
|
3629
|
-
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";
|
|
3629
|
+
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";
|
|
3630
3630
|
}, {
|
|
3631
|
-
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";
|
|
3631
|
+
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";
|
|
3632
3632
|
}>, z.ZodObject<{
|
|
3633
3633
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
3634
3634
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -3659,7 +3659,7 @@ export declare const device: z.ZodObject<{
|
|
|
3659
3659
|
}, "strip", z.ZodTypeAny, {
|
|
3660
3660
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3661
3661
|
code_constraints?: ({
|
|
3662
|
-
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";
|
|
3662
|
+
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";
|
|
3663
3663
|
} | {
|
|
3664
3664
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3665
3665
|
min_length?: number | undefined;
|
|
@@ -3677,7 +3677,7 @@ export declare const device: z.ZodObject<{
|
|
|
3677
3677
|
}, {
|
|
3678
3678
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3679
3679
|
code_constraints?: ({
|
|
3680
|
-
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";
|
|
3680
|
+
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";
|
|
3681
3681
|
} | {
|
|
3682
3682
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
3683
3683
|
min_length?: number | undefined;
|
|
@@ -5500,7 +5500,7 @@ export declare const device: z.ZodObject<{
|
|
|
5500
5500
|
} & {
|
|
5501
5501
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
5502
5502
|
code_constraints?: ({
|
|
5503
|
-
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";
|
|
5503
|
+
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";
|
|
5504
5504
|
} | {
|
|
5505
5505
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
5506
5506
|
min_length?: number | undefined;
|
|
@@ -6198,7 +6198,7 @@ export declare const device: z.ZodObject<{
|
|
|
6198
6198
|
} & {
|
|
6199
6199
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
6200
6200
|
code_constraints?: ({
|
|
6201
|
-
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";
|
|
6201
|
+
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";
|
|
6202
6202
|
} | {
|
|
6203
6203
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
6204
6204
|
min_length?: number | undefined;
|
|
@@ -1617,11 +1617,11 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1617
1617
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1618
1618
|
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1619
1619
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1620
|
-
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"]>;
|
|
1620
|
+
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"]>;
|
|
1621
1621
|
}, "strip", z.ZodTypeAny, {
|
|
1622
|
-
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";
|
|
1622
|
+
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";
|
|
1623
1623
|
}, {
|
|
1624
|
-
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";
|
|
1624
|
+
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";
|
|
1625
1625
|
}>, z.ZodObject<{
|
|
1626
1626
|
constraint_type: z.ZodEnum<["name_length", "name_must_be_unique"]>;
|
|
1627
1627
|
min_length: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1652,7 +1652,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1652
1652
|
}, "strip", z.ZodTypeAny, {
|
|
1653
1653
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1654
1654
|
code_constraints?: ({
|
|
1655
|
-
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";
|
|
1655
|
+
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";
|
|
1656
1656
|
} | {
|
|
1657
1657
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1658
1658
|
min_length?: number | undefined;
|
|
@@ -1670,7 +1670,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
|
|
|
1670
1670
|
}, {
|
|
1671
1671
|
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1672
1672
|
code_constraints?: ({
|
|
1673
|
-
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";
|
|
1673
|
+
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";
|
|
1674
1674
|
} | {
|
|
1675
1675
|
constraint_type: "name_length" | "name_must_be_unique";
|
|
1676
1676
|
min_length?: number | undefined;
|
|
@@ -10689,6 +10689,7 @@ export default {
|
|
|
10689
10689
|
'cannot_contain_089',
|
|
10690
10690
|
'cannot_contain_0789',
|
|
10691
10691
|
'unique_first_four_digits',
|
|
10692
|
+
'no_all_same_digits',
|
|
10692
10693
|
],
|
|
10693
10694
|
type: 'string',
|
|
10694
10695
|
},
|
|
@@ -12118,6 +12119,7 @@ export default {
|
|
|
12118
12119
|
enum: [
|
|
12119
12120
|
'stable',
|
|
12120
12121
|
'consumer_smartlocks',
|
|
12122
|
+
'beta',
|
|
12121
12123
|
'thermostats',
|
|
12122
12124
|
'noise_sensors',
|
|
12123
12125
|
'access_control_systems',
|
|
@@ -37314,6 +37316,7 @@ export default {
|
|
|
37314
37316
|
enum: [
|
|
37315
37317
|
'stable',
|
|
37316
37318
|
'consumer_smartlocks',
|
|
37319
|
+
'beta',
|
|
37317
37320
|
'thermostats',
|
|
37318
37321
|
'noise_sensors',
|
|
37319
37322
|
'access_control_systems',
|
|
@@ -40988,6 +40991,7 @@ export default {
|
|
|
40988
40991
|
'controlbyweb',
|
|
40989
40992
|
'dormakaba_oracode',
|
|
40990
40993
|
'tedee',
|
|
40994
|
+
'korelock',
|
|
40991
40995
|
'akiles',
|
|
40992
40996
|
'ecobee',
|
|
40993
40997
|
'honeywell_resideo',
|
|
@@ -41468,6 +41472,7 @@ export default {
|
|
|
41468
41472
|
'controlbyweb',
|
|
41469
41473
|
'dormakaba_oracode',
|
|
41470
41474
|
'tedee',
|
|
41475
|
+
'korelock',
|
|
41471
41476
|
'akiles',
|
|
41472
41477
|
'ecobee',
|
|
41473
41478
|
'honeywell_resideo',
|
|
@@ -41568,6 +41573,7 @@ export default {
|
|
|
41568
41573
|
enum: [
|
|
41569
41574
|
'stable',
|
|
41570
41575
|
'consumer_smartlocks',
|
|
41576
|
+
'beta',
|
|
41571
41577
|
'thermostats',
|
|
41572
41578
|
'noise_sensors',
|
|
41573
41579
|
'access_control_systems',
|
|
@@ -41625,6 +41631,7 @@ export default {
|
|
|
41625
41631
|
enum: [
|
|
41626
41632
|
'stable',
|
|
41627
41633
|
'consumer_smartlocks',
|
|
41634
|
+
'beta',
|
|
41628
41635
|
'thermostats',
|
|
41629
41636
|
'noise_sensors',
|
|
41630
41637
|
'access_control_systems',
|
|
@@ -42813,6 +42820,7 @@ export default {
|
|
|
42813
42820
|
'controlbyweb',
|
|
42814
42821
|
'dormakaba_oracode',
|
|
42815
42822
|
'tedee',
|
|
42823
|
+
'korelock',
|
|
42816
42824
|
'akiles',
|
|
42817
42825
|
'ecobee',
|
|
42818
42826
|
'honeywell_resideo',
|
|
@@ -43292,6 +43300,7 @@ export default {
|
|
|
43292
43300
|
'controlbyweb',
|
|
43293
43301
|
'dormakaba_oracode',
|
|
43294
43302
|
'tedee',
|
|
43303
|
+
'korelock',
|
|
43295
43304
|
'akiles',
|
|
43296
43305
|
'ecobee',
|
|
43297
43306
|
'honeywell_resideo',
|
|
@@ -45283,6 +45292,7 @@ export default {
|
|
|
45283
45292
|
'four_suites',
|
|
45284
45293
|
'dormakaba_oracode',
|
|
45285
45294
|
'tedee',
|
|
45295
|
+
'korelock',
|
|
45286
45296
|
'akiles',
|
|
45287
45297
|
'korelock',
|
|
45288
45298
|
'kwikset2',
|
|
@@ -45690,6 +45700,7 @@ export default {
|
|
|
45690
45700
|
'four_suites',
|
|
45691
45701
|
'dormakaba_oracode',
|
|
45692
45702
|
'tedee',
|
|
45703
|
+
'korelock',
|
|
45693
45704
|
'akiles',
|
|
45694
45705
|
'korelock',
|
|
45695
45706
|
'kwikset2',
|