@seamapi/types 1.88.0 → 1.90.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.
@@ -804,6 +804,7 @@ export interface Routes {
804
804
  workspace_id: string;
805
805
  starts_at?: string | undefined;
806
806
  ends_at?: string | undefined;
807
+ is_multi_phone_sync_credential?: boolean | undefined;
807
808
  };
808
809
  };
809
810
  };
@@ -840,6 +841,7 @@ export interface Routes {
840
841
  workspace_id: string;
841
842
  starts_at?: string | undefined;
842
843
  ends_at?: string | undefined;
844
+ is_multi_phone_sync_credential?: boolean | undefined;
843
845
  };
844
846
  };
845
847
  };
@@ -878,6 +880,7 @@ export interface Routes {
878
880
  workspace_id: string;
879
881
  starts_at?: string | undefined;
880
882
  ends_at?: string | undefined;
883
+ is_multi_phone_sync_credential?: boolean | undefined;
881
884
  };
882
885
  };
883
886
  };
@@ -912,6 +915,7 @@ export interface Routes {
912
915
  workspace_id: string;
913
916
  starts_at?: string | undefined;
914
917
  ends_at?: string | undefined;
918
+ is_multi_phone_sync_credential?: boolean | undefined;
915
919
  }>;
916
920
  };
917
921
  };
@@ -940,6 +944,7 @@ export interface Routes {
940
944
  workspace_id: string;
941
945
  starts_at?: string | undefined;
942
946
  ends_at?: string | undefined;
947
+ is_multi_phone_sync_credential?: boolean | undefined;
943
948
  };
944
949
  };
945
950
  };
@@ -968,6 +973,7 @@ export interface Routes {
968
973
  workspace_id: string;
969
974
  starts_at?: string | undefined;
970
975
  ends_at?: string | undefined;
976
+ is_multi_phone_sync_credential?: boolean | undefined;
971
977
  };
972
978
  };
973
979
  };
@@ -1974,6 +1980,7 @@ export interface Routes {
1974
1980
  device_info_model: string;
1975
1981
  } | undefined;
1976
1982
  }) & ({
1983
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
1977
1984
  code_constraints?: (Array<{
1978
1985
  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
1986
  } | {
@@ -2449,6 +2456,7 @@ export interface Routes {
2449
2456
  device_info_model: string;
2450
2457
  } | undefined;
2451
2458
  }) & ({
2459
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
2452
2460
  code_constraints?: (Array<{
2453
2461
  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
2462
  } | {
@@ -3243,6 +3251,7 @@ export interface Routes {
3243
3251
  device_info_model: string;
3244
3252
  } | undefined;
3245
3253
  }) & ({
3254
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
3246
3255
  code_constraints?: (Array<{
3247
3256
  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
3257
  } | {
@@ -3695,6 +3704,7 @@ export interface Routes {
3695
3704
  device_info_model: string;
3696
3705
  } | undefined;
3697
3706
  }) & ({
3707
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
3698
3708
  code_constraints?: (Array<{
3699
3709
  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
3710
  } | {
@@ -4170,6 +4180,7 @@ export interface Routes {
4170
4180
  device_info_model: string;
4171
4181
  } | undefined;
4172
4182
  }) & ({
4183
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4173
4184
  code_constraints?: (Array<{
4174
4185
  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
4186
  } | {
@@ -4622,6 +4633,7 @@ export interface Routes {
4622
4633
  device_info_model: string;
4623
4634
  } | undefined;
4624
4635
  }) & ({
4636
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
4625
4637
  code_constraints?: (Array<{
4626
4638
  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
4639
  } | {
@@ -5369,6 +5381,7 @@ export interface Routes {
5369
5381
  device_info_model: string;
5370
5382
  } | undefined;
5371
5383
  }) & ({
5384
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
5372
5385
  code_constraints?: (Array<{
5373
5386
  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
5387
  } | {
@@ -5853,6 +5866,7 @@ export interface Routes {
5853
5866
  device_info_model: string;
5854
5867
  } | undefined;
5855
5868
  }) & ({
5869
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
5856
5870
  code_constraints?: (Array<{
5857
5871
  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
5872
  } | {
@@ -6498,6 +6512,7 @@ export interface Routes {
6498
6512
  device_info_model: string;
6499
6513
  } | undefined;
6500
6514
  }) & ({
6515
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
6501
6516
  code_constraints?: (Array<{
6502
6517
  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
6518
  } | {
@@ -7003,6 +7018,7 @@ export interface Routes {
7003
7018
  device_info_model: string;
7004
7019
  } | undefined;
7005
7020
  }) & ({
7021
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7006
7022
  code_constraints?: (Array<{
7007
7023
  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
7024
  } | {
@@ -7669,6 +7685,7 @@ export interface Routes {
7669
7685
  device_info_model: string;
7670
7686
  } | undefined;
7671
7687
  }) & ({
7688
+ _experimental_supported_code_from_access_codes_lengths?: (number[] | undefined) | undefined;
7672
7689
  code_constraints?: (Array<{
7673
7690
  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
7691
  } | {
@@ -16,6 +16,7 @@ export declare const acs_credential: z.ZodObject<{
16
16
  workspace_id: z.ZodString;
17
17
  starts_at: z.ZodOptional<z.ZodString>;
18
18
  ends_at: z.ZodOptional<z.ZodString>;
19
+ is_multi_phone_sync_credential: z.ZodOptional<z.ZodBoolean>;
19
20
  }, "strip", z.ZodTypeAny, {
20
21
  workspace_id: string;
21
22
  created_at: string;
@@ -30,6 +31,7 @@ export declare const acs_credential: z.ZodObject<{
30
31
  external_type_display_name?: string | undefined;
31
32
  starts_at?: string | undefined;
32
33
  ends_at?: string | undefined;
34
+ is_multi_phone_sync_credential?: boolean | undefined;
33
35
  }, {
34
36
  workspace_id: string;
35
37
  created_at: string;
@@ -44,5 +46,6 @@ export declare const acs_credential: z.ZodObject<{
44
46
  external_type_display_name?: string | undefined;
45
47
  starts_at?: string | undefined;
46
48
  ends_at?: string | undefined;
49
+ is_multi_phone_sync_credential?: boolean | undefined;
47
50
  }>;
48
51
  export type AcsCredential = z.output<typeof acs_credential>;
@@ -25,5 +25,6 @@ export const acs_credential = z.object({
25
25
  workspace_id: z.string().uuid(),
26
26
  starts_at: z.string().optional(),
27
27
  ends_at: z.string().optional(),
28
+ is_multi_phone_sync_credential: z.boolean().optional(),
28
29
  });
29
30
  //# sourceMappingURL=credential.js.map
@@ -1 +1 @@
1
- {"version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AM,EAAE,CAAC,QAAQ,EAAE;IAChC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC9B,8BAA8B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CACvD,CAAC,CAAA"}
@@ -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.88.0",
3
+ "version": "1.90.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: [
@@ -5067,6 +5071,7 @@ export default {
5067
5071
  type: 'string',
5068
5072
  },
5069
5073
  external_type_display_name: { type: 'string' },
5074
+ is_multi_phone_sync_credential: { type: 'boolean' },
5070
5075
  starts_at: { type: 'string' },
5071
5076
  workspace_id: { format: 'uuid', type: 'string' },
5072
5077
  },
@@ -5150,6 +5155,7 @@ export default {
5150
5155
  type: 'string',
5151
5156
  },
5152
5157
  external_type_display_name: { type: 'string' },
5158
+ is_multi_phone_sync_credential: { type: 'boolean' },
5153
5159
  starts_at: { type: 'string' },
5154
5160
  workspace_id: { format: 'uuid', type: 'string' },
5155
5161
  },
@@ -5258,6 +5264,7 @@ export default {
5258
5264
  type: 'string',
5259
5265
  },
5260
5266
  external_type_display_name: { type: 'string' },
5267
+ is_multi_phone_sync_credential: { type: 'boolean' },
5261
5268
  starts_at: { type: 'string' },
5262
5269
  workspace_id: { format: 'uuid', type: 'string' },
5263
5270
  },
@@ -5386,6 +5393,7 @@ export default {
5386
5393
  type: 'string',
5387
5394
  },
5388
5395
  external_type_display_name: { type: 'string' },
5396
+ is_multi_phone_sync_credential: { type: 'boolean' },
5389
5397
  starts_at: { type: 'string' },
5390
5398
  workspace_id: { format: 'uuid', type: 'string' },
5391
5399
  },
@@ -5498,6 +5506,7 @@ export default {
5498
5506
  type: 'string',
5499
5507
  },
5500
5508
  external_type_display_name: { type: 'string' },
5509
+ is_multi_phone_sync_credential: { type: 'boolean' },
5501
5510
  starts_at: { type: 'string' },
5502
5511
  workspace_id: { format: 'uuid', type: 'string' },
5503
5512
  },
@@ -5587,6 +5596,7 @@ export default {
5587
5596
  type: 'string',
5588
5597
  },
5589
5598
  external_type_display_name: { type: 'string' },
5599
+ is_multi_phone_sync_credential: { type: 'boolean' },
5590
5600
  starts_at: { type: 'string' },
5591
5601
  workspace_id: { format: 'uuid', type: 'string' },
5592
5602
  },
@@ -5670,6 +5680,7 @@ export default {
5670
5680
  type: 'string',
5671
5681
  },
5672
5682
  external_type_display_name: { type: 'string' },
5683
+ is_multi_phone_sync_credential: { type: 'boolean' },
5673
5684
  starts_at: { type: 'string' },
5674
5685
  workspace_id: { format: 'uuid', type: 'string' },
5675
5686
  },
@@ -5756,6 +5767,7 @@ export default {
5756
5767
  type: 'string',
5757
5768
  },
5758
5769
  external_type_display_name: { type: 'string' },
5770
+ is_multi_phone_sync_credential: { type: 'boolean' },
5759
5771
  starts_at: { type: 'string' },
5760
5772
  workspace_id: { format: 'uuid', type: 'string' },
5761
5773
  },
@@ -5839,6 +5851,7 @@ export default {
5839
5851
  type: 'string',
5840
5852
  },
5841
5853
  external_type_display_name: { type: 'string' },
5854
+ is_multi_phone_sync_credential: { type: 'boolean' },
5842
5855
  starts_at: { type: 'string' },
5843
5856
  workspace_id: { format: 'uuid', type: 'string' },
5844
5857
  },
@@ -848,6 +848,7 @@ export interface Routes {
848
848
  workspace_id: string
849
849
  starts_at?: string | undefined
850
850
  ends_at?: string | undefined
851
+ is_multi_phone_sync_credential?: boolean | undefined
851
852
  }
852
853
  }
853
854
  }
@@ -898,6 +899,7 @@ export interface Routes {
898
899
  workspace_id: string
899
900
  starts_at?: string | undefined
900
901
  ends_at?: string | undefined
902
+ is_multi_phone_sync_credential?: boolean | undefined
901
903
  }
902
904
  }
903
905
  }
@@ -943,6 +945,7 @@ export interface Routes {
943
945
  workspace_id: string
944
946
  starts_at?: string | undefined
945
947
  ends_at?: string | undefined
948
+ is_multi_phone_sync_credential?: boolean | undefined
946
949
  }
947
950
  }
948
951
  }
@@ -988,6 +991,7 @@ export interface Routes {
988
991
  workspace_id: string
989
992
  starts_at?: string | undefined
990
993
  ends_at?: string | undefined
994
+ is_multi_phone_sync_credential?: boolean | undefined
991
995
  }>
992
996
  }
993
997
  }
@@ -1023,6 +1027,7 @@ export interface Routes {
1023
1027
  workspace_id: string
1024
1028
  starts_at?: string | undefined
1025
1029
  ends_at?: string | undefined
1030
+ is_multi_phone_sync_credential?: boolean | undefined
1026
1031
  }
1027
1032
  }
1028
1033
  }
@@ -1058,6 +1063,7 @@ export interface Routes {
1058
1063
  workspace_id: string
1059
1064
  starts_at?: string | undefined
1060
1065
  ends_at?: string | undefined
1066
+ is_multi_phone_sync_credential?: boolean | undefined
1061
1067
  }
1062
1068
  }
1063
1069
  }
@@ -2270,6 +2276,9 @@ export interface Routes {
2270
2276
  | undefined
2271
2277
  }) &
2272
2278
  ({
2279
+ _experimental_supported_code_from_access_codes_lengths?:
2280
+ | (number[] | undefined)
2281
+ | undefined
2273
2282
  code_constraints?:
2274
2283
  | (
2275
2284
  | Array<
@@ -3048,6 +3057,9 @@ export interface Routes {
3048
3057
  | undefined
3049
3058
  }) &
3050
3059
  ({
3060
+ _experimental_supported_code_from_access_codes_lengths?:
3061
+ | (number[] | undefined)
3062
+ | undefined
3051
3063
  code_constraints?:
3052
3064
  | (
3053
3065
  | Array<
@@ -4323,6 +4335,9 @@ export interface Routes {
4323
4335
  | undefined
4324
4336
  }) &
4325
4337
  ({
4338
+ _experimental_supported_code_from_access_codes_lengths?:
4339
+ | (number[] | undefined)
4340
+ | undefined
4326
4341
  code_constraints?:
4327
4342
  | (
4328
4343
  | Array<
@@ -4977,6 +4992,9 @@ export interface Routes {
4977
4992
  | undefined
4978
4993
  }) &
4979
4994
  ({
4995
+ _experimental_supported_code_from_access_codes_lengths?:
4996
+ | (number[] | undefined)
4997
+ | undefined
4980
4998
  code_constraints?:
4981
4999
  | (
4982
5000
  | Array<
@@ -5755,6 +5773,9 @@ export interface Routes {
5755
5773
  | undefined
5756
5774
  }) &
5757
5775
  ({
5776
+ _experimental_supported_code_from_access_codes_lengths?:
5777
+ | (number[] | undefined)
5778
+ | undefined
5758
5779
  code_constraints?:
5759
5780
  | (
5760
5781
  | Array<
@@ -6409,6 +6430,9 @@ export interface Routes {
6409
6430
  | undefined
6410
6431
  }) &
6411
6432
  ({
6433
+ _experimental_supported_code_from_access_codes_lengths?:
6434
+ | (number[] | undefined)
6435
+ | undefined
6412
6436
  code_constraints?:
6413
6437
  | (
6414
6438
  | Array<
@@ -7343,6 +7367,9 @@ export interface Routes {
7343
7367
  | undefined
7344
7368
  }) &
7345
7369
  ({
7370
+ _experimental_supported_code_from_access_codes_lengths?:
7371
+ | (number[] | undefined)
7372
+ | undefined
7346
7373
  code_constraints?:
7347
7374
  | (
7348
7375
  | Array<
@@ -8001,6 +8028,9 @@ export interface Routes {
8001
8028
  | undefined
8002
8029
  }) &
8003
8030
  ({
8031
+ _experimental_supported_code_from_access_codes_lengths?:
8032
+ | (number[] | undefined)
8033
+ | undefined
8004
8034
  code_constraints?:
8005
8035
  | (
8006
8036
  | Array<
@@ -8850,6 +8880,9 @@ export interface Routes {
8850
8880
  | undefined
8851
8881
  }) &
8852
8882
  ({
8883
+ _experimental_supported_code_from_access_codes_lengths?:
8884
+ | (number[] | undefined)
8885
+ | undefined
8853
8886
  code_constraints?:
8854
8887
  | (
8855
8888
  | Array<
@@ -9658,6 +9691,9 @@ export interface Routes {
9658
9691
  | undefined
9659
9692
  }) &
9660
9693
  ({
9694
+ _experimental_supported_code_from_access_codes_lengths?:
9695
+ | (number[] | undefined)
9696
+ | undefined
9661
9697
  code_constraints?:
9662
9698
  | (
9663
9699
  | Array<
@@ -10528,6 +10564,9 @@ export interface Routes {
10528
10564
  | undefined
10529
10565
  }) &
10530
10566
  ({
10567
+ _experimental_supported_code_from_access_codes_lengths?:
10568
+ | (number[] | undefined)
10569
+ | undefined
10531
10570
  code_constraints?:
10532
10571
  | (
10533
10572
  | Array<
@@ -32,6 +32,7 @@ export const acs_credential = z.object({
32
32
  workspace_id: z.string().uuid(),
33
33
  starts_at: z.string().optional(),
34
34
  ends_at: z.string().optional(),
35
+ is_multi_phone_sync_credential: z.boolean().optional(),
35
36
  })
36
37
 
37
38
  export type AcsCredential = z.output<typeof acs_credential>
@@ -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(),