@seamapi/types 1.716.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 +12 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +46 -46
- package/dist/index.cjs +12 -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.d.ts +7 -7
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
- package/lib/seam/connect/openapi.js +7 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -20
- package/package.json +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +2 -1
- package/src/lib/seam/connect/openapi.ts +7 -0
- package/src/lib/seam/connect/route-types.ts +20 -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,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;
|
|
@@ -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
|
},
|
|
@@ -40988,6 +40989,7 @@ export default {
|
|
|
40988
40989
|
'controlbyweb',
|
|
40989
40990
|
'dormakaba_oracode',
|
|
40990
40991
|
'tedee',
|
|
40992
|
+
'korelock',
|
|
40991
40993
|
'akiles',
|
|
40992
40994
|
'ecobee',
|
|
40993
40995
|
'honeywell_resideo',
|
|
@@ -41468,6 +41470,7 @@ export default {
|
|
|
41468
41470
|
'controlbyweb',
|
|
41469
41471
|
'dormakaba_oracode',
|
|
41470
41472
|
'tedee',
|
|
41473
|
+
'korelock',
|
|
41471
41474
|
'akiles',
|
|
41472
41475
|
'ecobee',
|
|
41473
41476
|
'honeywell_resideo',
|
|
@@ -42813,6 +42816,7 @@ export default {
|
|
|
42813
42816
|
'controlbyweb',
|
|
42814
42817
|
'dormakaba_oracode',
|
|
42815
42818
|
'tedee',
|
|
42819
|
+
'korelock',
|
|
42816
42820
|
'akiles',
|
|
42817
42821
|
'ecobee',
|
|
42818
42822
|
'honeywell_resideo',
|
|
@@ -43292,6 +43296,7 @@ export default {
|
|
|
43292
43296
|
'controlbyweb',
|
|
43293
43297
|
'dormakaba_oracode',
|
|
43294
43298
|
'tedee',
|
|
43299
|
+
'korelock',
|
|
43295
43300
|
'akiles',
|
|
43296
43301
|
'ecobee',
|
|
43297
43302
|
'honeywell_resideo',
|
|
@@ -45283,6 +45288,7 @@ export default {
|
|
|
45283
45288
|
'four_suites',
|
|
45284
45289
|
'dormakaba_oracode',
|
|
45285
45290
|
'tedee',
|
|
45291
|
+
'korelock',
|
|
45286
45292
|
'akiles',
|
|
45287
45293
|
'korelock',
|
|
45288
45294
|
'kwikset2',
|
|
@@ -45690,6 +45696,7 @@ export default {
|
|
|
45690
45696
|
'four_suites',
|
|
45691
45697
|
'dormakaba_oracode',
|
|
45692
45698
|
'tedee',
|
|
45699
|
+
'korelock',
|
|
45693
45700
|
'akiles',
|
|
45694
45701
|
'korelock',
|
|
45695
45702
|
'kwikset2',
|