@seamapi/types 1.88.0 → 1.89.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 +2 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +23 -0
- package/lib/seam/connect/openapi.d.ts +12 -0
- package/lib/seam/connect/openapi.js +2 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +11 -0
- package/lib/seam/connect/unstable/models/capability-properties/access-code.d.ts +3 -0
- package/lib/seam/connect/unstable/models/capability-properties/access-code.js +3 -0
- package/lib/seam/connect/unstable/models/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/unstable/models/capability-properties/index.d.ts +3 -0
- package/lib/seam/connect/unstable/models/devices/managed-device.d.ts +7 -0
- package/lib/seam/connect/unstable/models/devices/phone.d.ts +7 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/openapi.ts +4 -0
- package/src/lib/seam/connect/route-types.ts +33 -0
- package/src/lib/seam/connect/unstable/models/capability-properties/access-code.ts +3 -0
|
@@ -1974,6 +1974,7 @@ export interface Routes {
|
|
|
1974
1974
|
device_info_model: string;
|
|
1975
1975
|
} | undefined;
|
|
1976
1976
|
}) & ({
|
|
1977
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
1977
1978
|
code_constraints?: (Array<{
|
|
1978
1979
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
1979
1980
|
} | {
|
|
@@ -2449,6 +2450,7 @@ export interface Routes {
|
|
|
2449
2450
|
device_info_model: string;
|
|
2450
2451
|
} | undefined;
|
|
2451
2452
|
}) & ({
|
|
2453
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
2452
2454
|
code_constraints?: (Array<{
|
|
2453
2455
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
2454
2456
|
} | {
|
|
@@ -3243,6 +3245,7 @@ export interface Routes {
|
|
|
3243
3245
|
device_info_model: string;
|
|
3244
3246
|
} | undefined;
|
|
3245
3247
|
}) & ({
|
|
3248
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
3246
3249
|
code_constraints?: (Array<{
|
|
3247
3250
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
3248
3251
|
} | {
|
|
@@ -3695,6 +3698,7 @@ export interface Routes {
|
|
|
3695
3698
|
device_info_model: string;
|
|
3696
3699
|
} | undefined;
|
|
3697
3700
|
}) & ({
|
|
3701
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
3698
3702
|
code_constraints?: (Array<{
|
|
3699
3703
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
3700
3704
|
} | {
|
|
@@ -4170,6 +4174,7 @@ export interface Routes {
|
|
|
4170
4174
|
device_info_model: string;
|
|
4171
4175
|
} | undefined;
|
|
4172
4176
|
}) & ({
|
|
4177
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
4173
4178
|
code_constraints?: (Array<{
|
|
4174
4179
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
4175
4180
|
} | {
|
|
@@ -4622,6 +4627,7 @@ export interface Routes {
|
|
|
4622
4627
|
device_info_model: string;
|
|
4623
4628
|
} | undefined;
|
|
4624
4629
|
}) & ({
|
|
4630
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
4625
4631
|
code_constraints?: (Array<{
|
|
4626
4632
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
4627
4633
|
} | {
|
|
@@ -5369,6 +5375,7 @@ export interface Routes {
|
|
|
5369
5375
|
device_info_model: string;
|
|
5370
5376
|
} | undefined;
|
|
5371
5377
|
}) & ({
|
|
5378
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
5372
5379
|
code_constraints?: (Array<{
|
|
5373
5380
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
5374
5381
|
} | {
|
|
@@ -5853,6 +5860,7 @@ export interface Routes {
|
|
|
5853
5860
|
device_info_model: string;
|
|
5854
5861
|
} | undefined;
|
|
5855
5862
|
}) & ({
|
|
5863
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
5856
5864
|
code_constraints?: (Array<{
|
|
5857
5865
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
5858
5866
|
} | {
|
|
@@ -6498,6 +6506,7 @@ export interface Routes {
|
|
|
6498
6506
|
device_info_model: string;
|
|
6499
6507
|
} | undefined;
|
|
6500
6508
|
}) & ({
|
|
6509
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
6501
6510
|
code_constraints?: (Array<{
|
|
6502
6511
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
6503
6512
|
} | {
|
|
@@ -7003,6 +7012,7 @@ export interface Routes {
|
|
|
7003
7012
|
device_info_model: string;
|
|
7004
7013
|
} | undefined;
|
|
7005
7014
|
}) & ({
|
|
7015
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
7006
7016
|
code_constraints?: (Array<{
|
|
7007
7017
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
7008
7018
|
} | {
|
|
@@ -7669,6 +7679,7 @@ export interface Routes {
|
|
|
7669
7679
|
device_info_model: string;
|
|
7670
7680
|
} | undefined;
|
|
7671
7681
|
}) & ({
|
|
7682
|
+
_experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
|
|
7672
7683
|
code_constraints?: (Array<{
|
|
7673
7684
|
constraint_type: 'no_zeros' | 'cannot_start_with_12' | 'no_triple_consecutive_ints' | 'cannot_specify_pin_code' | 'pin_code_matches_existing_set' | 'start_date_in_future';
|
|
7674
7685
|
} | {
|
|
@@ -40,6 +40,7 @@ export declare const access_code_constraint: z.ZodUnion<[z.ZodObject<{
|
|
|
40
40
|
}>]>;
|
|
41
41
|
export type AccessCodeConstraint = z.infer<typeof access_code_constraint>;
|
|
42
42
|
export declare const access_code_capability_properties: z.ZodObject<{
|
|
43
|
+
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>;
|
|
43
44
|
code_constraints: z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
44
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"]>;
|
|
45
46
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -64,6 +65,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
|
|
|
64
65
|
supports_backup_access_code_pool: z.ZodOptional<z.ZodBoolean>;
|
|
65
66
|
has_native_entry_events: z.ZodOptional<z.ZodBoolean>;
|
|
66
67
|
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
67
69
|
code_constraints?: ({
|
|
68
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";
|
|
69
71
|
} | {
|
|
@@ -76,6 +78,7 @@ export declare const access_code_capability_properties: z.ZodObject<{
|
|
|
76
78
|
supports_backup_access_code_pool?: boolean | undefined;
|
|
77
79
|
has_native_entry_events?: boolean | undefined;
|
|
78
80
|
}, {
|
|
81
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
79
82
|
code_constraints?: ({
|
|
80
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";
|
|
81
84
|
} | {
|
|
@@ -19,6 +19,9 @@ export const access_code_constraint = z.union([
|
|
|
19
19
|
access_code_name_constraint,
|
|
20
20
|
]);
|
|
21
21
|
export const access_code_capability_properties = z.object({
|
|
22
|
+
_experimental_supported_code_from_access_codes_lengths: z
|
|
23
|
+
.array(z.number())
|
|
24
|
+
.optional(),
|
|
22
25
|
code_constraints: z.array(access_code_constraint).optional(),
|
|
23
26
|
supported_code_lengths: z.array(z.number()).optional(),
|
|
24
27
|
max_active_codes_supported: z.number().optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;KACnC,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,gBAAgB;IAC3D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5C,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAC5D,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/unstable/models/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,IAAI,CAAC;QACtB,UAAU,EAAE,OAAO;QACnB,sBAAsB,EAAE,OAAO;QAC/B,4BAA4B,EAAE,QAAQ;QACtC,yBAAyB,EAAE,SAAS;QACpC,+BAA+B,EAAE,QAAQ;QACzC,sBAAsB,EAAE,UAAU;KACnC,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,eAAe,EAAE,CAAC,CAAC,OAAO,CAAC,aAAa,CAAC,EAAE,gBAAgB;IAC3D,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAClC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC;IAC5C,2BAA2B;IAC3B,2BAA2B;CAC5B,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,iCAAiC,GAAG,CAAC,CAAC,MAAM,CAAC;IACxD,sDAAsD,EAAE,CAAC;SACtD,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,EAAE;IACb,gBAAgB,EAAE,CAAC,CAAC,KAAK,CAAC,sBAAsB,CAAC,CAAC,QAAQ,EAAE;IAC5D,sBAAsB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;IACtD,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjD,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxD,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAChD,CAAC,CAAA"}
|
|
@@ -4,6 +4,7 @@ import { lock_capability_properties } from './lock.js';
|
|
|
4
4
|
import { climate_setting, climate_setting_schedule, fan_mode_setting, hvac_mode_setting, thermostat_capability_properties } from './thermostat.js';
|
|
5
5
|
export { access_code_capability_properties, access_code_code_constraint, climate_setting, climate_setting_schedule, fan_mode_setting, hvac_mode_setting, lock_capability_properties, thermostat_capability_properties, };
|
|
6
6
|
export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
7
|
+
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
7
8
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
8
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"]>;
|
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -37,6 +38,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
37
38
|
}>>>;
|
|
38
39
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
39
40
|
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
40
42
|
code_constraints?: ({
|
|
41
43
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
42
44
|
} | {
|
|
@@ -54,6 +56,7 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<{
|
|
|
54
56
|
} | undefined;
|
|
55
57
|
door_open?: boolean | undefined;
|
|
56
58
|
}, {
|
|
59
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
57
60
|
code_constraints?: ({
|
|
58
61
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
59
62
|
} | {
|
|
@@ -1078,6 +1078,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1078
1078
|
device_info_model: string;
|
|
1079
1079
|
} | undefined;
|
|
1080
1080
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
1081
|
+
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
1081
1082
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1082
1083
|
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"]>;
|
|
1083
1084
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1111,6 +1112,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1111
1112
|
}>>>;
|
|
1112
1113
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1113
1114
|
}, "strip", z.ZodTypeAny, {
|
|
1115
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1114
1116
|
code_constraints?: ({
|
|
1115
1117
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
1116
1118
|
} | {
|
|
@@ -1128,6 +1130,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
1128
1130
|
} | undefined;
|
|
1129
1131
|
door_open?: boolean | undefined;
|
|
1130
1132
|
}, {
|
|
1133
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1131
1134
|
code_constraints?: ({
|
|
1132
1135
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
1133
1136
|
} | {
|
|
@@ -2167,6 +2170,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2167
2170
|
device_info_model: string;
|
|
2168
2171
|
} | undefined;
|
|
2169
2172
|
} & ({
|
|
2173
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2170
2174
|
code_constraints?: ({
|
|
2171
2175
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
2172
2176
|
} | {
|
|
@@ -2562,6 +2566,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2562
2566
|
device_info_model: string;
|
|
2563
2567
|
} | undefined;
|
|
2564
2568
|
} & ({
|
|
2569
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2565
2570
|
code_constraints?: ({
|
|
2566
2571
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
2567
2572
|
} | {
|
|
@@ -2979,6 +2984,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
2979
2984
|
device_info_model: string;
|
|
2980
2985
|
} | undefined;
|
|
2981
2986
|
} & ({
|
|
2987
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2982
2988
|
code_constraints?: ({
|
|
2983
2989
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
2984
2990
|
} | {
|
|
@@ -3374,6 +3380,7 @@ export declare const managed_device: z.ZodObject<{
|
|
|
3374
3380
|
device_info_model: string;
|
|
3375
3381
|
} | undefined;
|
|
3376
3382
|
} & ({
|
|
3383
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3377
3384
|
code_constraints?: ({
|
|
3378
3385
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
3379
3386
|
} | {
|
|
@@ -996,6 +996,7 @@ export declare const phone: z.ZodObject<{
|
|
|
996
996
|
device_info_model: string;
|
|
997
997
|
} | undefined;
|
|
998
998
|
}>>, z.ZodIntersection<z.ZodObject<{
|
|
999
|
+
_experimental_supported_code_from_access_codes_lengths: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodNumber, "many">>>;
|
|
999
1000
|
code_constraints: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodUnion<[z.ZodObject<{
|
|
1000
1001
|
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"]>;
|
|
1001
1002
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1029,6 +1030,7 @@ export declare const phone: z.ZodObject<{
|
|
|
1029
1030
|
}>>>;
|
|
1030
1031
|
door_open: z.ZodOptional<z.ZodOptional<z.ZodBoolean>>;
|
|
1031
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1032
1034
|
code_constraints?: ({
|
|
1033
1035
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
1034
1036
|
} | {
|
|
@@ -1046,6 +1048,7 @@ export declare const phone: z.ZodObject<{
|
|
|
1046
1048
|
} | undefined;
|
|
1047
1049
|
door_open?: boolean | undefined;
|
|
1048
1050
|
}, {
|
|
1051
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
1049
1052
|
code_constraints?: ({
|
|
1050
1053
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
1051
1054
|
} | {
|
|
@@ -2096,6 +2099,7 @@ export declare const phone: z.ZodObject<{
|
|
|
2096
2099
|
device_info_model: string;
|
|
2097
2100
|
} | undefined;
|
|
2098
2101
|
} & ({
|
|
2102
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2099
2103
|
code_constraints?: ({
|
|
2100
2104
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
2101
2105
|
} | {
|
|
@@ -2491,6 +2495,7 @@ export declare const phone: z.ZodObject<{
|
|
|
2491
2495
|
device_info_model: string;
|
|
2492
2496
|
} | undefined;
|
|
2493
2497
|
} & ({
|
|
2498
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2494
2499
|
code_constraints?: ({
|
|
2495
2500
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
2496
2501
|
} | {
|
|
@@ -2914,6 +2919,7 @@ export declare const phone: z.ZodObject<{
|
|
|
2914
2919
|
device_info_model: string;
|
|
2915
2920
|
} | undefined;
|
|
2916
2921
|
} & ({
|
|
2922
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
2917
2923
|
code_constraints?: ({
|
|
2918
2924
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
2919
2925
|
} | {
|
|
@@ -3309,6 +3315,7 @@ export declare const phone: z.ZodObject<{
|
|
|
3309
3315
|
device_info_model: string;
|
|
3310
3316
|
} | undefined;
|
|
3311
3317
|
} & ({
|
|
3318
|
+
_experimental_supported_code_from_access_codes_lengths?: number[] | undefined;
|
|
3312
3319
|
code_constraints?: ({
|
|
3313
3320
|
constraint_type: "no_zeros" | "cannot_start_with_12" | "no_triple_consecutive_ints" | "cannot_specify_pin_code" | "pin_code_matches_existing_set" | "start_date_in_future";
|
|
3314
3321
|
} | {
|
package/package.json
CHANGED
|
@@ -1152,6 +1152,8 @@ export default {
|
|
|
1152
1152
|
allOf: [
|
|
1153
1153
|
{
|
|
1154
1154
|
properties: {
|
|
1155
|
+
_experimental_supported_code_from_access_codes_lengths:
|
|
1156
|
+
{ items: { type: 'number' }, type: 'array' },
|
|
1155
1157
|
code_constraints: {
|
|
1156
1158
|
items: {
|
|
1157
1159
|
oneOf: [
|
|
@@ -2456,6 +2458,8 @@ export default {
|
|
|
2456
2458
|
allOf: [
|
|
2457
2459
|
{
|
|
2458
2460
|
properties: {
|
|
2461
|
+
_experimental_supported_code_from_access_codes_lengths:
|
|
2462
|
+
{ items: { type: 'number' }, type: 'array' },
|
|
2459
2463
|
code_constraints: {
|
|
2460
2464
|
items: {
|
|
2461
2465
|
oneOf: [
|
|
@@ -2270,6 +2270,9 @@ export interface Routes {
|
|
|
2270
2270
|
| undefined
|
|
2271
2271
|
}) &
|
|
2272
2272
|
({
|
|
2273
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
2274
|
+
| (number[] | undefined)
|
|
2275
|
+
| undefined
|
|
2273
2276
|
code_constraints?:
|
|
2274
2277
|
| (
|
|
2275
2278
|
| Array<
|
|
@@ -3048,6 +3051,9 @@ export interface Routes {
|
|
|
3048
3051
|
| undefined
|
|
3049
3052
|
}) &
|
|
3050
3053
|
({
|
|
3054
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
3055
|
+
| (number[] | undefined)
|
|
3056
|
+
| undefined
|
|
3051
3057
|
code_constraints?:
|
|
3052
3058
|
| (
|
|
3053
3059
|
| Array<
|
|
@@ -4323,6 +4329,9 @@ export interface Routes {
|
|
|
4323
4329
|
| undefined
|
|
4324
4330
|
}) &
|
|
4325
4331
|
({
|
|
4332
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
4333
|
+
| (number[] | undefined)
|
|
4334
|
+
| undefined
|
|
4326
4335
|
code_constraints?:
|
|
4327
4336
|
| (
|
|
4328
4337
|
| Array<
|
|
@@ -4977,6 +4986,9 @@ export interface Routes {
|
|
|
4977
4986
|
| undefined
|
|
4978
4987
|
}) &
|
|
4979
4988
|
({
|
|
4989
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
4990
|
+
| (number[] | undefined)
|
|
4991
|
+
| undefined
|
|
4980
4992
|
code_constraints?:
|
|
4981
4993
|
| (
|
|
4982
4994
|
| Array<
|
|
@@ -5755,6 +5767,9 @@ export interface Routes {
|
|
|
5755
5767
|
| undefined
|
|
5756
5768
|
}) &
|
|
5757
5769
|
({
|
|
5770
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
5771
|
+
| (number[] | undefined)
|
|
5772
|
+
| undefined
|
|
5758
5773
|
code_constraints?:
|
|
5759
5774
|
| (
|
|
5760
5775
|
| Array<
|
|
@@ -6409,6 +6424,9 @@ export interface Routes {
|
|
|
6409
6424
|
| undefined
|
|
6410
6425
|
}) &
|
|
6411
6426
|
({
|
|
6427
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
6428
|
+
| (number[] | undefined)
|
|
6429
|
+
| undefined
|
|
6412
6430
|
code_constraints?:
|
|
6413
6431
|
| (
|
|
6414
6432
|
| Array<
|
|
@@ -7343,6 +7361,9 @@ export interface Routes {
|
|
|
7343
7361
|
| undefined
|
|
7344
7362
|
}) &
|
|
7345
7363
|
({
|
|
7364
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
7365
|
+
| (number[] | undefined)
|
|
7366
|
+
| undefined
|
|
7346
7367
|
code_constraints?:
|
|
7347
7368
|
| (
|
|
7348
7369
|
| Array<
|
|
@@ -8001,6 +8022,9 @@ export interface Routes {
|
|
|
8001
8022
|
| undefined
|
|
8002
8023
|
}) &
|
|
8003
8024
|
({
|
|
8025
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
8026
|
+
| (number[] | undefined)
|
|
8027
|
+
| undefined
|
|
8004
8028
|
code_constraints?:
|
|
8005
8029
|
| (
|
|
8006
8030
|
| Array<
|
|
@@ -8850,6 +8874,9 @@ export interface Routes {
|
|
|
8850
8874
|
| undefined
|
|
8851
8875
|
}) &
|
|
8852
8876
|
({
|
|
8877
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
8878
|
+
| (number[] | undefined)
|
|
8879
|
+
| undefined
|
|
8853
8880
|
code_constraints?:
|
|
8854
8881
|
| (
|
|
8855
8882
|
| Array<
|
|
@@ -9658,6 +9685,9 @@ export interface Routes {
|
|
|
9658
9685
|
| undefined
|
|
9659
9686
|
}) &
|
|
9660
9687
|
({
|
|
9688
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
9689
|
+
| (number[] | undefined)
|
|
9690
|
+
| undefined
|
|
9661
9691
|
code_constraints?:
|
|
9662
9692
|
| (
|
|
9663
9693
|
| Array<
|
|
@@ -10528,6 +10558,9 @@ export interface Routes {
|
|
|
10528
10558
|
| undefined
|
|
10529
10559
|
}) &
|
|
10530
10560
|
({
|
|
10561
|
+
_experimental_supported_code_from_access_codes_lengths?:
|
|
10562
|
+
| (number[] | undefined)
|
|
10563
|
+
| undefined
|
|
10531
10564
|
code_constraints?:
|
|
10532
10565
|
| (
|
|
10533
10566
|
| Array<
|
|
@@ -25,6 +25,9 @@ export const access_code_constraint = z.union([
|
|
|
25
25
|
export type AccessCodeConstraint = z.infer<typeof access_code_constraint>
|
|
26
26
|
|
|
27
27
|
export const access_code_capability_properties = z.object({
|
|
28
|
+
_experimental_supported_code_from_access_codes_lengths: z
|
|
29
|
+
.array(z.number())
|
|
30
|
+
.optional(),
|
|
28
31
|
code_constraints: z.array(access_code_constraint).optional(),
|
|
29
32
|
supported_code_lengths: z.array(z.number()).optional(),
|
|
30
33
|
max_active_codes_supported: z.number().optional(),
|