@seamapi/types 1.87.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.
@@ -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
  } | {
@@ -2225,6 +2226,7 @@ export interface Routes {
2225
2226
  limit?: number;
2226
2227
  created_before?: Date | undefined;
2227
2228
  user_identifier_key?: string | undefined;
2229
+ custom_metadata_has?: Record<string, string | boolean | null> | undefined;
2228
2230
  };
2229
2231
  formData: {};
2230
2232
  jsonResponse: {
@@ -2448,6 +2450,7 @@ export interface Routes {
2448
2450
  device_info_model: string;
2449
2451
  } | undefined;
2450
2452
  }) & ({
2453
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
2451
2454
  code_constraints?: (Array<{
2452
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';
2453
2456
  } | {
@@ -2790,6 +2793,7 @@ export interface Routes {
2790
2793
  limit?: number;
2791
2794
  created_before?: Date | undefined;
2792
2795
  user_identifier_key?: string | undefined;
2796
+ custom_metadata_has?: Record<string, string | boolean | null> | undefined;
2793
2797
  };
2794
2798
  formData: {};
2795
2799
  jsonResponse: {
@@ -3241,6 +3245,7 @@ export interface Routes {
3241
3245
  device_info_model: string;
3242
3246
  } | undefined;
3243
3247
  }) & ({
3248
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
3244
3249
  code_constraints?: (Array<{
3245
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';
3246
3251
  } | {
@@ -3693,6 +3698,7 @@ export interface Routes {
3693
3698
  device_info_model: string;
3694
3699
  } | undefined;
3695
3700
  }) & ({
3701
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
3696
3702
  code_constraints?: (Array<{
3697
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';
3698
3704
  } | {
@@ -3944,6 +3950,7 @@ export interface Routes {
3944
3950
  limit?: number;
3945
3951
  created_before?: Date | undefined;
3946
3952
  user_identifier_key?: string | undefined;
3953
+ custom_metadata_has?: Record<string, string | boolean | null> | undefined;
3947
3954
  };
3948
3955
  formData: {};
3949
3956
  jsonResponse: {
@@ -4167,6 +4174,7 @@ export interface Routes {
4167
4174
  device_info_model: string;
4168
4175
  } | undefined;
4169
4176
  }) & ({
4177
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4170
4178
  code_constraints?: (Array<{
4171
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';
4172
4180
  } | {
@@ -4619,6 +4627,7 @@ export interface Routes {
4619
4627
  device_info_model: string;
4620
4628
  } | undefined;
4621
4629
  }) & ({
4630
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4622
4631
  code_constraints?: (Array<{
4623
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';
4624
4633
  } | {
@@ -5366,6 +5375,7 @@ export interface Routes {
5366
5375
  device_info_model: string;
5367
5376
  } | undefined;
5368
5377
  }) & ({
5378
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
5369
5379
  code_constraints?: (Array<{
5370
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';
5371
5381
  } | {
@@ -5850,6 +5860,7 @@ export interface Routes {
5850
5860
  device_info_model: string;
5851
5861
  } | undefined;
5852
5862
  }) & ({
5863
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
5853
5864
  code_constraints?: (Array<{
5854
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';
5855
5866
  } | {
@@ -6495,6 +6506,7 @@ export interface Routes {
6495
6506
  device_info_model: string;
6496
6507
  } | undefined;
6497
6508
  }) & ({
6509
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
6498
6510
  code_constraints?: (Array<{
6499
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';
6500
6512
  } | {
@@ -6776,6 +6788,7 @@ export interface Routes {
6776
6788
  limit?: number;
6777
6789
  created_before?: Date | undefined;
6778
6790
  user_identifier_key?: string | undefined;
6791
+ custom_metadata_has?: Record<string, string | boolean | null> | undefined;
6779
6792
  };
6780
6793
  formData: {};
6781
6794
  jsonResponse: {
@@ -6999,6 +7012,7 @@ export interface Routes {
6999
7012
  device_info_model: string;
7000
7013
  } | undefined;
7001
7014
  }) & ({
7015
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7002
7016
  code_constraints?: (Array<{
7003
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';
7004
7018
  } | {
@@ -7665,6 +7679,7 @@ export interface Routes {
7665
7679
  device_info_model: string;
7666
7680
  } | undefined;
7667
7681
  }) & ({
7682
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7668
7683
  code_constraints?: (Array<{
7669
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';
7670
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.87.0",
3
+ "version": "1.89.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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: [
@@ -7977,6 +7981,17 @@ export default {
7977
7981
  nullable: true,
7978
7982
  type: 'string',
7979
7983
  },
7984
+ custom_metadata_has: {
7985
+ additionalProperties: {
7986
+ nullable: true,
7987
+ oneOf: [
7988
+ { maxLength: 500, type: 'string' },
7989
+ { type: 'boolean' },
7990
+ { format: 'null', nullable: true, type: 'string' },
7991
+ ],
7992
+ },
7993
+ type: 'object',
7994
+ },
7980
7995
  device_ids: {
7981
7996
  items: { format: 'uuid', type: 'string' },
7982
7997
  type: 'array',
@@ -8275,6 +8290,17 @@ export default {
8275
8290
  nullable: true,
8276
8291
  type: 'string',
8277
8292
  },
8293
+ custom_metadata_has: {
8294
+ additionalProperties: {
8295
+ nullable: true,
8296
+ oneOf: [
8297
+ { maxLength: 500, type: 'string' },
8298
+ { type: 'boolean' },
8299
+ { format: 'null', nullable: true, type: 'string' },
8300
+ ],
8301
+ },
8302
+ type: 'object',
8303
+ },
8278
8304
  device_ids: {
8279
8305
  items: { format: 'uuid', type: 'string' },
8280
8306
  type: 'array',
@@ -9109,6 +9135,17 @@ export default {
9109
9135
  nullable: true,
9110
9136
  type: 'string',
9111
9137
  },
9138
+ custom_metadata_has: {
9139
+ additionalProperties: {
9140
+ nullable: true,
9141
+ oneOf: [
9142
+ { maxLength: 500, type: 'string' },
9143
+ { type: 'boolean' },
9144
+ { format: 'null', nullable: true, type: 'string' },
9145
+ ],
9146
+ },
9147
+ type: 'object',
9148
+ },
9112
9149
  device_ids: {
9113
9150
  items: { format: 'uuid', type: 'string' },
9114
9151
  type: 'array',
@@ -10729,6 +10766,17 @@ export default {
10729
10766
  nullable: true,
10730
10767
  type: 'string',
10731
10768
  },
10769
+ custom_metadata_has: {
10770
+ additionalProperties: {
10771
+ nullable: true,
10772
+ oneOf: [
10773
+ { maxLength: 500, type: 'string' },
10774
+ { type: 'boolean' },
10775
+ { format: 'null', nullable: true, type: 'string' },
10776
+ ],
10777
+ },
10778
+ type: 'object',
10779
+ },
10732
10780
  device_ids: {
10733
10781
  items: { format: 'uuid', type: 'string' },
10734
10782
  type: 'array',
@@ -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<
@@ -2734,6 +2737,7 @@ export interface Routes {
2734
2737
  limit?: number
2735
2738
  created_before?: Date | undefined
2736
2739
  user_identifier_key?: string | undefined
2740
+ custom_metadata_has?: Record<string, string | boolean | null> | undefined
2737
2741
  }
2738
2742
  formData: {}
2739
2743
  jsonResponse: {
@@ -3047,6 +3051,9 @@ export interface Routes {
3047
3051
  | undefined
3048
3052
  }) &
3049
3053
  ({
3054
+ _experimental_supported_code_from_access_codes_lengths?:
3055
+ | (number[] | undefined)
3056
+ | undefined
3050
3057
  code_constraints?:
3051
3058
  | (
3052
3059
  | Array<
@@ -3641,6 +3648,7 @@ export interface Routes {
3641
3648
  limit?: number
3642
3649
  created_before?: Date | undefined
3643
3650
  user_identifier_key?: string | undefined
3651
+ custom_metadata_has?: Record<string, string | boolean | null> | undefined
3644
3652
  }
3645
3653
  formData: {}
3646
3654
  jsonResponse: {
@@ -4321,6 +4329,9 @@ export interface Routes {
4321
4329
  | undefined
4322
4330
  }) &
4323
4331
  ({
4332
+ _experimental_supported_code_from_access_codes_lengths?:
4333
+ | (number[] | undefined)
4334
+ | undefined
4324
4335
  code_constraints?:
4325
4336
  | (
4326
4337
  | Array<
@@ -4975,6 +4986,9 @@ export interface Routes {
4975
4986
  | undefined
4976
4987
  }) &
4977
4988
  ({
4989
+ _experimental_supported_code_from_access_codes_lengths?:
4990
+ | (number[] | undefined)
4991
+ | undefined
4978
4992
  code_constraints?:
4979
4993
  | (
4980
4994
  | Array<
@@ -5439,6 +5453,7 @@ export interface Routes {
5439
5453
  limit?: number
5440
5454
  created_before?: Date | undefined
5441
5455
  user_identifier_key?: string | undefined
5456
+ custom_metadata_has?: Record<string, string | boolean | null> | undefined
5442
5457
  }
5443
5458
  formData: {}
5444
5459
  jsonResponse: {
@@ -5752,6 +5767,9 @@ export interface Routes {
5752
5767
  | undefined
5753
5768
  }) &
5754
5769
  ({
5770
+ _experimental_supported_code_from_access_codes_lengths?:
5771
+ | (number[] | undefined)
5772
+ | undefined
5755
5773
  code_constraints?:
5756
5774
  | (
5757
5775
  | Array<
@@ -6406,6 +6424,9 @@ export interface Routes {
6406
6424
  | undefined
6407
6425
  }) &
6408
6426
  ({
6427
+ _experimental_supported_code_from_access_codes_lengths?:
6428
+ | (number[] | undefined)
6429
+ | undefined
6409
6430
  code_constraints?:
6410
6431
  | (
6411
6432
  | Array<
@@ -7340,6 +7361,9 @@ export interface Routes {
7340
7361
  | undefined
7341
7362
  }) &
7342
7363
  ({
7364
+ _experimental_supported_code_from_access_codes_lengths?:
7365
+ | (number[] | undefined)
7366
+ | undefined
7343
7367
  code_constraints?:
7344
7368
  | (
7345
7369
  | Array<
@@ -7998,6 +8022,9 @@ export interface Routes {
7998
8022
  | undefined
7999
8023
  }) &
8000
8024
  ({
8025
+ _experimental_supported_code_from_access_codes_lengths?:
8026
+ | (number[] | undefined)
8027
+ | undefined
8001
8028
  code_constraints?:
8002
8029
  | (
8003
8030
  | Array<
@@ -8847,6 +8874,9 @@ export interface Routes {
8847
8874
  | undefined
8848
8875
  }) &
8849
8876
  ({
8877
+ _experimental_supported_code_from_access_codes_lengths?:
8878
+ | (number[] | undefined)
8879
+ | undefined
8850
8880
  code_constraints?:
8851
8881
  | (
8852
8882
  | Array<
@@ -9341,6 +9371,7 @@ export interface Routes {
9341
9371
  limit?: number
9342
9372
  created_before?: Date | undefined
9343
9373
  user_identifier_key?: string | undefined
9374
+ custom_metadata_has?: Record<string, string | boolean | null> | undefined
9344
9375
  }
9345
9376
  formData: {}
9346
9377
  jsonResponse: {
@@ -9654,6 +9685,9 @@ export interface Routes {
9654
9685
  | undefined
9655
9686
  }) &
9656
9687
  ({
9688
+ _experimental_supported_code_from_access_codes_lengths?:
9689
+ | (number[] | undefined)
9690
+ | undefined
9657
9691
  code_constraints?:
9658
9692
  | (
9659
9693
  | Array<
@@ -10524,6 +10558,9 @@ export interface Routes {
10524
10558
  | undefined
10525
10559
  }) &
10526
10560
  ({
10561
+ _experimental_supported_code_from_access_codes_lengths?:
10562
+ | (number[] | undefined)
10563
+ | undefined
10527
10564
  code_constraints?:
10528
10565
  | (
10529
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(),