@seamapi/types 1.138.1 → 1.139.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.
@@ -2250,15 +2250,26 @@ export interface Routes {
2250
2250
  online: boolean
2251
2251
  /** Name of the device. Deprecated - use device.display_name instead */
2252
2252
  name: string
2253
+ /** Represents the accessory keypad state. */
2254
+ accessory_keypad?:
2255
+ | {
2256
+ /** Indicates if the accessory_keypad is connected to the device. */
2257
+ is_connected: boolean
2258
+ }
2259
+ | undefined
2253
2260
  appearance: {
2254
2261
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
2255
2262
  name: string
2256
2263
  }
2257
2264
  model: {
2265
+ /** Indicates whether the device can connect a accessory keypad. */
2266
+ can_connect_accessory_keypad?: boolean | undefined
2258
2267
  /** Display name of the device model. */
2259
2268
  display_name: string
2260
2269
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
2261
2270
  manufacturer_display_name: string
2271
+ /** Indicates whether the device has a built in accessory keypad. */
2272
+ has_built_in_keypad?: boolean | undefined
2262
2273
  /** Indicates whether the device supports offline access codes. */
2263
2274
  offline_access_codes_supported?: boolean | undefined
2264
2275
  /** Indicates whether the device supports online access codes. */
@@ -3077,15 +3088,26 @@ export interface Routes {
3077
3088
  online: boolean
3078
3089
  /** Name of the device. Deprecated - use device.display_name instead */
3079
3090
  name: string
3091
+ /** Represents the accessory keypad state. */
3092
+ accessory_keypad?:
3093
+ | {
3094
+ /** Indicates if the accessory_keypad is connected to the device. */
3095
+ is_connected: boolean
3096
+ }
3097
+ | undefined
3080
3098
  appearance: {
3081
3099
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
3082
3100
  name: string
3083
3101
  }
3084
3102
  model: {
3103
+ /** Indicates whether the device can connect a accessory keypad. */
3104
+ can_connect_accessory_keypad?: boolean | undefined
3085
3105
  /** Display name of the device model. */
3086
3106
  display_name: string
3087
3107
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
3088
3108
  manufacturer_display_name: string
3109
+ /** Indicates whether the device has a built in accessory keypad. */
3110
+ has_built_in_keypad?: boolean | undefined
3089
3111
  /** Indicates whether the device supports offline access codes. */
3090
3112
  offline_access_codes_supported?: boolean | undefined
3091
3113
  /** Indicates whether the device supports online access codes. */
@@ -3893,10 +3915,14 @@ export interface Routes {
3893
3915
  /** Indicates whether it is currently possible to use offline access codes for the device. */
3894
3916
  offline_access_codes_enabled?: boolean | undefined
3895
3917
  model: {
3918
+ /** Indicates whether the device can connect a accessory keypad. */
3919
+ can_connect_accessory_keypad?: boolean | undefined
3896
3920
  /** Display name of the device model. */
3897
3921
  display_name: string
3898
3922
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
3899
3923
  manufacturer_display_name: string
3924
+ /** Indicates whether the device has a built in accessory keypad. */
3925
+ has_built_in_keypad?: boolean | undefined
3900
3926
  /** Indicates whether the device supports offline access codes. */
3901
3927
  offline_access_codes_supported?: boolean | undefined
3902
3928
  /** Indicates whether the device supports online access codes. */
@@ -4136,10 +4162,14 @@ export interface Routes {
4136
4162
  /** Indicates whether it is currently possible to use offline access codes for the device. */
4137
4163
  offline_access_codes_enabled?: boolean | undefined
4138
4164
  model: {
4165
+ /** Indicates whether the device can connect a accessory keypad. */
4166
+ can_connect_accessory_keypad?: boolean | undefined
4139
4167
  /** Display name of the device model. */
4140
4168
  display_name: string
4141
4169
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
4142
4170
  manufacturer_display_name: string
4171
+ /** Indicates whether the device has a built in accessory keypad. */
4172
+ has_built_in_keypad?: boolean | undefined
4143
4173
  /** Indicates whether the device supports offline access codes. */
4144
4174
  offline_access_codes_supported?: boolean | undefined
4145
4175
  /** Indicates whether the device supports online access codes. */
@@ -4491,15 +4521,26 @@ export interface Routes {
4491
4521
  online: boolean
4492
4522
  /** Name of the device. Deprecated - use device.display_name instead */
4493
4523
  name: string
4524
+ /** Represents the accessory keypad state. */
4525
+ accessory_keypad?:
4526
+ | {
4527
+ /** Indicates if the accessory_keypad is connected to the device. */
4528
+ is_connected: boolean
4529
+ }
4530
+ | undefined
4494
4531
  appearance: {
4495
4532
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
4496
4533
  name: string
4497
4534
  }
4498
4535
  model: {
4536
+ /** Indicates whether the device can connect a accessory keypad. */
4537
+ can_connect_accessory_keypad?: boolean | undefined
4499
4538
  /** Display name of the device model. */
4500
4539
  display_name: string
4501
4540
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
4502
4541
  manufacturer_display_name: string
4542
+ /** Indicates whether the device has a built in accessory keypad. */
4543
+ has_built_in_keypad?: boolean | undefined
4503
4544
  /** Indicates whether the device supports offline access codes. */
4504
4545
  offline_access_codes_supported?: boolean | undefined
4505
4546
  /** Indicates whether the device supports online access codes. */
@@ -5182,15 +5223,26 @@ export interface Routes {
5182
5223
  online: boolean
5183
5224
  /** Name of the device. Deprecated - use device.display_name instead */
5184
5225
  name: string
5226
+ /** Represents the accessory keypad state. */
5227
+ accessory_keypad?:
5228
+ | {
5229
+ /** Indicates if the accessory_keypad is connected to the device. */
5230
+ is_connected: boolean
5231
+ }
5232
+ | undefined
5185
5233
  appearance: {
5186
5234
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
5187
5235
  name: string
5188
5236
  }
5189
5237
  model: {
5238
+ /** Indicates whether the device can connect a accessory keypad. */
5239
+ can_connect_accessory_keypad?: boolean | undefined
5190
5240
  /** Display name of the device model. */
5191
5241
  display_name: string
5192
5242
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
5193
5243
  manufacturer_display_name: string
5244
+ /** Indicates whether the device has a built in accessory keypad. */
5245
+ has_built_in_keypad?: boolean | undefined
5194
5246
  /** Indicates whether the device supports offline access codes. */
5195
5247
  offline_access_codes_supported?: boolean | undefined
5196
5248
  /** Indicates whether the device supports online access codes. */
@@ -6009,15 +6061,26 @@ export interface Routes {
6009
6061
  online: boolean
6010
6062
  /** Name of the device. Deprecated - use device.display_name instead */
6011
6063
  name: string
6064
+ /** Represents the accessory keypad state. */
6065
+ accessory_keypad?:
6066
+ | {
6067
+ /** Indicates if the accessory_keypad is connected to the device. */
6068
+ is_connected: boolean
6069
+ }
6070
+ | undefined
6012
6071
  appearance: {
6013
6072
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
6014
6073
  name: string
6015
6074
  }
6016
6075
  model: {
6076
+ /** Indicates whether the device can connect a accessory keypad. */
6077
+ can_connect_accessory_keypad?: boolean | undefined
6017
6078
  /** Display name of the device model. */
6018
6079
  display_name: string
6019
6080
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
6020
6081
  manufacturer_display_name: string
6082
+ /** Indicates whether the device has a built in accessory keypad. */
6083
+ has_built_in_keypad?: boolean | undefined
6021
6084
  /** Indicates whether the device supports offline access codes. */
6022
6085
  offline_access_codes_supported?: boolean | undefined
6023
6086
  /** Indicates whether the device supports online access codes. */
@@ -6700,15 +6763,26 @@ export interface Routes {
6700
6763
  online: boolean
6701
6764
  /** Name of the device. Deprecated - use device.display_name instead */
6702
6765
  name: string
6766
+ /** Represents the accessory keypad state. */
6767
+ accessory_keypad?:
6768
+ | {
6769
+ /** Indicates if the accessory_keypad is connected to the device. */
6770
+ is_connected: boolean
6771
+ }
6772
+ | undefined
6703
6773
  appearance: {
6704
6774
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
6705
6775
  name: string
6706
6776
  }
6707
6777
  model: {
6778
+ /** Indicates whether the device can connect a accessory keypad. */
6779
+ can_connect_accessory_keypad?: boolean | undefined
6708
6780
  /** Display name of the device model. */
6709
6781
  display_name: string
6710
6782
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
6711
6783
  manufacturer_display_name: string
6784
+ /** Indicates whether the device has a built in accessory keypad. */
6785
+ has_built_in_keypad?: boolean | undefined
6712
6786
  /** Indicates whether the device supports offline access codes. */
6713
6787
  offline_access_codes_supported?: boolean | undefined
6714
6788
  /** Indicates whether the device supports online access codes. */
@@ -8066,15 +8140,26 @@ export interface Routes {
8066
8140
  online: boolean
8067
8141
  /** Name of the device. Deprecated - use device.display_name instead */
8068
8142
  name: string
8143
+ /** Represents the accessory keypad state. */
8144
+ accessory_keypad?:
8145
+ | {
8146
+ /** Indicates if the accessory_keypad is connected to the device. */
8147
+ is_connected: boolean
8148
+ }
8149
+ | undefined
8069
8150
  appearance: {
8070
8151
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
8071
8152
  name: string
8072
8153
  }
8073
8154
  model: {
8155
+ /** Indicates whether the device can connect a accessory keypad. */
8156
+ can_connect_accessory_keypad?: boolean | undefined
8074
8157
  /** Display name of the device model. */
8075
8158
  display_name: string
8076
8159
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
8077
8160
  manufacturer_display_name: string
8161
+ /** Indicates whether the device has a built in accessory keypad. */
8162
+ has_built_in_keypad?: boolean | undefined
8078
8163
  /** Indicates whether the device supports offline access codes. */
8079
8164
  offline_access_codes_supported?: boolean | undefined
8080
8165
  /** Indicates whether the device supports online access codes. */
@@ -8975,15 +9060,26 @@ export interface Routes {
8975
9060
  online: boolean
8976
9061
  /** Name of the device. Deprecated - use device.display_name instead */
8977
9062
  name: string
9063
+ /** Represents the accessory keypad state. */
9064
+ accessory_keypad?:
9065
+ | {
9066
+ /** Indicates if the accessory_keypad is connected to the device. */
9067
+ is_connected: boolean
9068
+ }
9069
+ | undefined
8978
9070
  appearance: {
8979
9071
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
8980
9072
  name: string
8981
9073
  }
8982
9074
  model: {
9075
+ /** Indicates whether the device can connect a accessory keypad. */
9076
+ can_connect_accessory_keypad?: boolean | undefined
8983
9077
  /** Display name of the device model. */
8984
9078
  display_name: string
8985
9079
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
8986
9080
  manufacturer_display_name: string
9081
+ /** Indicates whether the device has a built in accessory keypad. */
9082
+ has_built_in_keypad?: boolean | undefined
8987
9083
  /** Indicates whether the device supports offline access codes. */
8988
9084
  offline_access_codes_supported?: boolean | undefined
8989
9085
  /** Indicates whether the device supports online access codes. */
@@ -9958,15 +10054,26 @@ export interface Routes {
9958
10054
  online: boolean
9959
10055
  /** Name of the device. Deprecated - use device.display_name instead */
9960
10056
  name: string
10057
+ /** Represents the accessory keypad state. */
10058
+ accessory_keypad?:
10059
+ | {
10060
+ /** Indicates if the accessory_keypad is connected to the device. */
10061
+ is_connected: boolean
10062
+ }
10063
+ | undefined
9961
10064
  appearance: {
9962
10065
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
9963
10066
  name: string
9964
10067
  }
9965
10068
  model: {
10069
+ /** Indicates whether the device can connect a accessory keypad. */
10070
+ can_connect_accessory_keypad?: boolean | undefined
9966
10071
  /** Display name of the device model. */
9967
10072
  display_name: string
9968
10073
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
9969
10074
  manufacturer_display_name: string
10075
+ /** Indicates whether the device has a built in accessory keypad. */
10076
+ has_built_in_keypad?: boolean | undefined
9970
10077
  /** Indicates whether the device supports offline access codes. */
9971
10078
  offline_access_codes_supported?: boolean | undefined
9972
10079
  /** Indicates whether the device supports online access codes. */
@@ -21,6 +21,16 @@ export const common_device_properties = z.object({
21
21
  .describe(
22
22
  'Name of the device. Deprecated - use device.display_name instead',
23
23
  ),
24
+ accessory_keypad: z
25
+ .object({
26
+ is_connected: z
27
+ .boolean()
28
+ .describe(
29
+ 'Indicates if the accessory_keypad is connected to the device.',
30
+ ),
31
+ })
32
+ .optional()
33
+ .describe('Represents the accessory keypad state.'),
24
34
  appearance: z.object({
25
35
  name: z
26
36
  .string()
@@ -29,13 +39,22 @@ export const common_device_properties = z.object({
29
39
  ),
30
40
  }),
31
41
  model: z.object({
42
+ can_connect_accessory_keypad: z
43
+ .boolean()
44
+ .optional()
45
+ .describe('Indicates whether the device can connect a accessory keypad.'),
32
46
  display_name: z.string().describe('Display name of the device model.'),
33
47
  manufacturer_display_name: z
34
48
  .string()
35
49
  .describe(
36
50
  'Display name that corresponds to the manufacturer-specific terminology for the device.',
37
51
  ),
38
-
52
+ has_built_in_keypad: z
53
+ .boolean()
54
+ .optional()
55
+ .describe(
56
+ 'Indicates whether the device has a built in accessory keypad.',
57
+ ),
39
58
  offline_access_codes_supported: z
40
59
  .boolean()
41
60
  .optional()