@seamapi/types 1.138.1 → 1.140.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.
@@ -8,6 +8,13 @@ export declare const unmanaged_device: z.ZodObject<{
8
8
  properties: z.ZodObject<Pick<{
9
9
  online: z.ZodBoolean;
10
10
  name: z.ZodString;
11
+ accessory_keypad: z.ZodOptional<z.ZodObject<{
12
+ is_connected: z.ZodBoolean;
13
+ }, "strip", z.ZodTypeAny, {
14
+ is_connected: boolean;
15
+ }, {
16
+ is_connected: boolean;
17
+ }>>;
11
18
  appearance: z.ZodObject<{
12
19
  name: z.ZodString;
13
20
  }, "strip", z.ZodTypeAny, {
@@ -16,20 +23,26 @@ export declare const unmanaged_device: z.ZodObject<{
16
23
  name: string;
17
24
  }>;
18
25
  model: z.ZodObject<{
26
+ can_connect_accessory_keypad: z.ZodOptional<z.ZodBoolean>;
19
27
  display_name: z.ZodString;
20
28
  manufacturer_display_name: z.ZodString;
29
+ has_built_in_keypad: z.ZodOptional<z.ZodBoolean>;
21
30
  offline_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
22
31
  online_access_codes_supported: z.ZodOptional<z.ZodBoolean>;
23
32
  accessory_keypad_supported: z.ZodOptional<z.ZodBoolean>;
24
33
  }, "strip", z.ZodTypeAny, {
25
34
  display_name: string;
26
35
  manufacturer_display_name: string;
36
+ can_connect_accessory_keypad?: boolean | undefined;
37
+ has_built_in_keypad?: boolean | undefined;
27
38
  offline_access_codes_supported?: boolean | undefined;
28
39
  online_access_codes_supported?: boolean | undefined;
29
40
  accessory_keypad_supported?: boolean | undefined;
30
41
  }, {
31
42
  display_name: string;
32
43
  manufacturer_display_name: string;
44
+ can_connect_accessory_keypad?: boolean | undefined;
45
+ has_built_in_keypad?: boolean | undefined;
33
46
  offline_access_codes_supported?: boolean | undefined;
34
47
  online_access_codes_supported?: boolean | undefined;
35
48
  accessory_keypad_supported?: boolean | undefined;
@@ -60,6 +73,8 @@ export declare const unmanaged_device: z.ZodObject<{
60
73
  model: {
61
74
  display_name: string;
62
75
  manufacturer_display_name: string;
76
+ can_connect_accessory_keypad?: boolean | undefined;
77
+ has_built_in_keypad?: boolean | undefined;
63
78
  offline_access_codes_supported?: boolean | undefined;
64
79
  online_access_codes_supported?: boolean | undefined;
65
80
  accessory_keypad_supported?: boolean | undefined;
@@ -80,6 +95,8 @@ export declare const unmanaged_device: z.ZodObject<{
80
95
  model: {
81
96
  display_name: string;
82
97
  manufacturer_display_name: string;
98
+ can_connect_accessory_keypad?: boolean | undefined;
99
+ has_built_in_keypad?: boolean | undefined;
83
100
  offline_access_codes_supported?: boolean | undefined;
84
101
  online_access_codes_supported?: boolean | undefined;
85
102
  accessory_keypad_supported?: boolean | undefined;
@@ -133,6 +150,8 @@ export declare const unmanaged_device: z.ZodObject<{
133
150
  model: {
134
151
  display_name: string;
135
152
  manufacturer_display_name: string;
153
+ can_connect_accessory_keypad?: boolean | undefined;
154
+ has_built_in_keypad?: boolean | undefined;
136
155
  offline_access_codes_supported?: boolean | undefined;
137
156
  online_access_codes_supported?: boolean | undefined;
138
157
  accessory_keypad_supported?: boolean | undefined;
@@ -174,6 +193,8 @@ export declare const unmanaged_device: z.ZodObject<{
174
193
  model: {
175
194
  display_name: string;
176
195
  manufacturer_display_name: string;
196
+ can_connect_accessory_keypad?: boolean | undefined;
197
+ has_built_in_keypad?: boolean | undefined;
177
198
  offline_access_codes_supported?: boolean | undefined;
178
199
  online_access_codes_supported?: boolean | undefined;
179
200
  accessory_keypad_supported?: boolean | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.138.1",
3
+ "version": "1.140.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -669,6 +669,19 @@ export default {
669
669
  allOf: [
670
670
  {
671
671
  properties: {
672
+ accessory_keypad: {
673
+ description:
674
+ 'Represents the accessory keypad state.',
675
+ properties: {
676
+ is_connected: {
677
+ description:
678
+ 'Indicates if the accessory_keypad is connected to the device.',
679
+ type: 'boolean',
680
+ },
681
+ },
682
+ required: ['is_connected'],
683
+ type: 'object',
684
+ },
672
685
  appearance: {
673
686
  properties: {
674
687
  name: {
@@ -725,11 +738,21 @@ export default {
725
738
  'Indicates whether the device supports an accessory keypad.',
726
739
  type: 'boolean',
727
740
  },
741
+ can_connect_accessory_keypad: {
742
+ description:
743
+ 'Indicates whether the device can connect a accessory keypad.',
744
+ type: 'boolean',
745
+ },
728
746
  display_name: {
729
747
  description:
730
748
  'Display name of the device model.',
731
749
  type: 'string',
732
750
  },
751
+ has_built_in_keypad: {
752
+ description:
753
+ 'Indicates whether the device has a built in accessory keypad.',
754
+ type: 'boolean',
755
+ },
733
756
  manufacturer_display_name: {
734
757
  description:
735
758
  'Display name that corresponds to the manufacturer-specific terminology for the device.',
@@ -2244,10 +2267,20 @@ export default {
2244
2267
  'Indicates whether the device supports an accessory keypad.',
2245
2268
  type: 'boolean',
2246
2269
  },
2270
+ can_connect_accessory_keypad: {
2271
+ description:
2272
+ 'Indicates whether the device can connect a accessory keypad.',
2273
+ type: 'boolean',
2274
+ },
2247
2275
  display_name: {
2248
2276
  description: 'Display name of the device model.',
2249
2277
  type: 'string',
2250
2278
  },
2279
+ has_built_in_keypad: {
2280
+ description:
2281
+ 'Indicates whether the device has a built in accessory keypad.',
2282
+ type: 'boolean',
2283
+ },
2251
2284
  manufacturer_display_name: {
2252
2285
  description:
2253
2286
  'Display name that corresponds to the manufacturer-specific terminology for the device.',
@@ -5280,6 +5313,22 @@ export default {
5280
5313
  acs_system_id: { format: 'uuid', type: 'string' },
5281
5314
  created_at: { format: 'date-time', type: 'string' },
5282
5315
  display_name: { type: 'string' },
5316
+ latch_metadata: {
5317
+ nullable: true,
5318
+ properties: {
5319
+ accessibility_type: { type: 'string' },
5320
+ is_connected: { type: 'boolean' },
5321
+ name: { type: 'string' },
5322
+ type: { type: 'string' },
5323
+ },
5324
+ required: [
5325
+ 'accessibility_type',
5326
+ 'name',
5327
+ 'type',
5328
+ 'is_connected',
5329
+ ],
5330
+ type: 'object',
5331
+ },
5283
5332
  visionline_metadata: {
5284
5333
  nullable: true,
5285
5334
  properties: {
@@ -5323,6 +5372,7 @@ export default {
5323
5372
  'display_name',
5324
5373
  'acs_system_id',
5325
5374
  'created_at',
5375
+ 'latch_metadata',
5326
5376
  'visionline_metadata',
5327
5377
  ],
5328
5378
  type: 'object',
@@ -5425,6 +5475,22 @@ export default {
5425
5475
  acs_system_id: { format: 'uuid', type: 'string' },
5426
5476
  created_at: { format: 'date-time', type: 'string' },
5427
5477
  display_name: { type: 'string' },
5478
+ latch_metadata: {
5479
+ nullable: true,
5480
+ properties: {
5481
+ accessibility_type: { type: 'string' },
5482
+ is_connected: { type: 'boolean' },
5483
+ name: { type: 'string' },
5484
+ type: { type: 'string' },
5485
+ },
5486
+ required: [
5487
+ 'accessibility_type',
5488
+ 'name',
5489
+ 'type',
5490
+ 'is_connected',
5491
+ ],
5492
+ type: 'object',
5493
+ },
5428
5494
  visionline_metadata: {
5429
5495
  nullable: true,
5430
5496
  properties: {
@@ -5468,6 +5534,7 @@ export default {
5468
5534
  'display_name',
5469
5535
  'acs_system_id',
5470
5536
  'created_at',
5537
+ 'latch_metadata',
5471
5538
  'visionline_metadata',
5472
5539
  ],
5473
5540
  type: 'object',
@@ -6055,6 +6122,22 @@ export default {
6055
6122
  acs_system_id: { format: 'uuid', type: 'string' },
6056
6123
  created_at: { format: 'date-time', type: 'string' },
6057
6124
  display_name: { type: 'string' },
6125
+ latch_metadata: {
6126
+ nullable: true,
6127
+ properties: {
6128
+ accessibility_type: { type: 'string' },
6129
+ is_connected: { type: 'boolean' },
6130
+ name: { type: 'string' },
6131
+ type: { type: 'string' },
6132
+ },
6133
+ required: [
6134
+ 'accessibility_type',
6135
+ 'name',
6136
+ 'type',
6137
+ 'is_connected',
6138
+ ],
6139
+ type: 'object',
6140
+ },
6058
6141
  visionline_metadata: {
6059
6142
  nullable: true,
6060
6143
  properties: {
@@ -6098,6 +6181,7 @@ export default {
6098
6181
  'display_name',
6099
6182
  'acs_system_id',
6100
6183
  'created_at',
6184
+ 'latch_metadata',
6101
6185
  'visionline_metadata',
6102
6186
  ],
6103
6187
  type: 'object',
@@ -9242,9 +9326,10 @@ export default {
9242
9326
  401: { description: 'Unauthorized' },
9243
9327
  },
9244
9328
  security: [
9245
- { access_token: [], seam_workspace: [] },
9246
- { seam_client_session_token: [] },
9247
- { client_session_token: [] },
9329
+ { client_session: [] },
9330
+ { pat_with_workspace: [] },
9331
+ { console_session: [] },
9332
+ { api_key: [] },
9248
9333
  ],
9249
9334
  summary: '/locks/lock_door',
9250
9335
  tags: ['/locks'],
@@ -10518,9 +10603,10 @@ export default {
10518
10603
  401: { description: 'Unauthorized' },
10519
10604
  },
10520
10605
  security: [
10521
- { api_key: [] },
10522
10606
  { client_session: [] },
10523
10607
  { pat_with_workspace: [] },
10608
+ { console_session: [] },
10609
+ { api_key: [] },
10524
10610
  ],
10525
10611
  summary: '/thermostats/cool',
10526
10612
  tags: ['/thermostats'],
@@ -10565,9 +10651,10 @@ export default {
10565
10651
  401: { description: 'Unauthorized' },
10566
10652
  },
10567
10653
  security: [
10568
- { api_key: [] },
10569
10654
  { client_session: [] },
10570
10655
  { pat_with_workspace: [] },
10656
+ { console_session: [] },
10657
+ { api_key: [] },
10571
10658
  ],
10572
10659
  summary: '/thermostats/get',
10573
10660
  tags: ['/thermostats'],
@@ -10617,9 +10704,10 @@ export default {
10617
10704
  401: { description: 'Unauthorized' },
10618
10705
  },
10619
10706
  security: [
10620
- { api_key: [] },
10621
10707
  { client_session: [] },
10622
10708
  { pat_with_workspace: [] },
10709
+ { console_session: [] },
10710
+ { api_key: [] },
10623
10711
  ],
10624
10712
  summary: '/thermostats/heat',
10625
10713
  tags: ['/thermostats'],
@@ -10671,9 +10759,10 @@ export default {
10671
10759
  401: { description: 'Unauthorized' },
10672
10760
  },
10673
10761
  security: [
10674
- { api_key: [] },
10675
10762
  { client_session: [] },
10676
10763
  { pat_with_workspace: [] },
10764
+ { console_session: [] },
10765
+ { api_key: [] },
10677
10766
  ],
10678
10767
  summary: '/thermostats/heat_cool',
10679
10768
  tags: ['/thermostats'],
@@ -10944,9 +11033,10 @@ export default {
10944
11033
  401: { description: 'Unauthorized' },
10945
11034
  },
10946
11035
  security: [
10947
- { api_key: [] },
10948
11036
  { client_session: [] },
10949
11037
  { pat_with_workspace: [] },
11038
+ { console_session: [] },
11039
+ { api_key: [] },
10950
11040
  ],
10951
11041
  summary: '/thermostats/off',
10952
11042
  tags: ['/thermostats'],
@@ -10996,9 +11086,10 @@ export default {
10996
11086
  401: { description: 'Unauthorized' },
10997
11087
  },
10998
11088
  security: [
10999
- { api_key: [] },
11000
11089
  { client_session: [] },
11001
11090
  { pat_with_workspace: [] },
11091
+ { console_session: [] },
11092
+ { api_key: [] },
11002
11093
  ],
11003
11094
  summary: '/thermostats/set_fan_mode',
11004
11095
  tags: ['/thermostats'],
@@ -1181,6 +1181,12 @@ export interface Routes {
1181
1181
  display_name: string
1182
1182
  acs_system_id: string
1183
1183
  created_at: string
1184
+ latch_metadata: {
1185
+ accessibility_type: string
1186
+ name: string
1187
+ type: string
1188
+ is_connected: boolean
1189
+ } | null
1184
1190
  visionline_metadata: {
1185
1191
  door_name: string
1186
1192
  door_category:
@@ -1227,6 +1233,12 @@ export interface Routes {
1227
1233
  display_name: string
1228
1234
  acs_system_id: string
1229
1235
  created_at: string
1236
+ latch_metadata: {
1237
+ accessibility_type: string
1238
+ name: string
1239
+ type: string
1240
+ is_connected: boolean
1241
+ } | null
1230
1242
  visionline_metadata: {
1231
1243
  door_name: string
1232
1244
  door_category:
@@ -1567,6 +1579,12 @@ export interface Routes {
1567
1579
  display_name: string
1568
1580
  acs_system_id: string
1569
1581
  created_at: string
1582
+ latch_metadata: {
1583
+ accessibility_type: string
1584
+ name: string
1585
+ type: string
1586
+ is_connected: boolean
1587
+ } | null
1570
1588
  visionline_metadata: {
1571
1589
  door_name: string
1572
1590
  door_category:
@@ -2250,15 +2268,26 @@ export interface Routes {
2250
2268
  online: boolean
2251
2269
  /** Name of the device. Deprecated - use device.display_name instead */
2252
2270
  name: string
2271
+ /** Represents the accessory keypad state. */
2272
+ accessory_keypad?:
2273
+ | {
2274
+ /** Indicates if the accessory_keypad is connected to the device. */
2275
+ is_connected: boolean
2276
+ }
2277
+ | undefined
2253
2278
  appearance: {
2254
2279
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
2255
2280
  name: string
2256
2281
  }
2257
2282
  model: {
2283
+ /** Indicates whether the device can connect a accessory keypad. */
2284
+ can_connect_accessory_keypad?: boolean | undefined
2258
2285
  /** Display name of the device model. */
2259
2286
  display_name: string
2260
2287
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
2261
2288
  manufacturer_display_name: string
2289
+ /** Indicates whether the device has a built in accessory keypad. */
2290
+ has_built_in_keypad?: boolean | undefined
2262
2291
  /** Indicates whether the device supports offline access codes. */
2263
2292
  offline_access_codes_supported?: boolean | undefined
2264
2293
  /** Indicates whether the device supports online access codes. */
@@ -3077,15 +3106,26 @@ export interface Routes {
3077
3106
  online: boolean
3078
3107
  /** Name of the device. Deprecated - use device.display_name instead */
3079
3108
  name: string
3109
+ /** Represents the accessory keypad state. */
3110
+ accessory_keypad?:
3111
+ | {
3112
+ /** Indicates if the accessory_keypad is connected to the device. */
3113
+ is_connected: boolean
3114
+ }
3115
+ | undefined
3080
3116
  appearance: {
3081
3117
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
3082
3118
  name: string
3083
3119
  }
3084
3120
  model: {
3121
+ /** Indicates whether the device can connect a accessory keypad. */
3122
+ can_connect_accessory_keypad?: boolean | undefined
3085
3123
  /** Display name of the device model. */
3086
3124
  display_name: string
3087
3125
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
3088
3126
  manufacturer_display_name: string
3127
+ /** Indicates whether the device has a built in accessory keypad. */
3128
+ has_built_in_keypad?: boolean | undefined
3089
3129
  /** Indicates whether the device supports offline access codes. */
3090
3130
  offline_access_codes_supported?: boolean | undefined
3091
3131
  /** Indicates whether the device supports online access codes. */
@@ -3893,10 +3933,14 @@ export interface Routes {
3893
3933
  /** Indicates whether it is currently possible to use offline access codes for the device. */
3894
3934
  offline_access_codes_enabled?: boolean | undefined
3895
3935
  model: {
3936
+ /** Indicates whether the device can connect a accessory keypad. */
3937
+ can_connect_accessory_keypad?: boolean | undefined
3896
3938
  /** Display name of the device model. */
3897
3939
  display_name: string
3898
3940
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
3899
3941
  manufacturer_display_name: string
3942
+ /** Indicates whether the device has a built in accessory keypad. */
3943
+ has_built_in_keypad?: boolean | undefined
3900
3944
  /** Indicates whether the device supports offline access codes. */
3901
3945
  offline_access_codes_supported?: boolean | undefined
3902
3946
  /** Indicates whether the device supports online access codes. */
@@ -4136,10 +4180,14 @@ export interface Routes {
4136
4180
  /** Indicates whether it is currently possible to use offline access codes for the device. */
4137
4181
  offline_access_codes_enabled?: boolean | undefined
4138
4182
  model: {
4183
+ /** Indicates whether the device can connect a accessory keypad. */
4184
+ can_connect_accessory_keypad?: boolean | undefined
4139
4185
  /** Display name of the device model. */
4140
4186
  display_name: string
4141
4187
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
4142
4188
  manufacturer_display_name: string
4189
+ /** Indicates whether the device has a built in accessory keypad. */
4190
+ has_built_in_keypad?: boolean | undefined
4143
4191
  /** Indicates whether the device supports offline access codes. */
4144
4192
  offline_access_codes_supported?: boolean | undefined
4145
4193
  /** Indicates whether the device supports online access codes. */
@@ -4491,15 +4539,26 @@ export interface Routes {
4491
4539
  online: boolean
4492
4540
  /** Name of the device. Deprecated - use device.display_name instead */
4493
4541
  name: string
4542
+ /** Represents the accessory keypad state. */
4543
+ accessory_keypad?:
4544
+ | {
4545
+ /** Indicates if the accessory_keypad is connected to the device. */
4546
+ is_connected: boolean
4547
+ }
4548
+ | undefined
4494
4549
  appearance: {
4495
4550
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
4496
4551
  name: string
4497
4552
  }
4498
4553
  model: {
4554
+ /** Indicates whether the device can connect a accessory keypad. */
4555
+ can_connect_accessory_keypad?: boolean | undefined
4499
4556
  /** Display name of the device model. */
4500
4557
  display_name: string
4501
4558
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
4502
4559
  manufacturer_display_name: string
4560
+ /** Indicates whether the device has a built in accessory keypad. */
4561
+ has_built_in_keypad?: boolean | undefined
4503
4562
  /** Indicates whether the device supports offline access codes. */
4504
4563
  offline_access_codes_supported?: boolean | undefined
4505
4564
  /** Indicates whether the device supports online access codes. */
@@ -5182,15 +5241,26 @@ export interface Routes {
5182
5241
  online: boolean
5183
5242
  /** Name of the device. Deprecated - use device.display_name instead */
5184
5243
  name: string
5244
+ /** Represents the accessory keypad state. */
5245
+ accessory_keypad?:
5246
+ | {
5247
+ /** Indicates if the accessory_keypad is connected to the device. */
5248
+ is_connected: boolean
5249
+ }
5250
+ | undefined
5185
5251
  appearance: {
5186
5252
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
5187
5253
  name: string
5188
5254
  }
5189
5255
  model: {
5256
+ /** Indicates whether the device can connect a accessory keypad. */
5257
+ can_connect_accessory_keypad?: boolean | undefined
5190
5258
  /** Display name of the device model. */
5191
5259
  display_name: string
5192
5260
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
5193
5261
  manufacturer_display_name: string
5262
+ /** Indicates whether the device has a built in accessory keypad. */
5263
+ has_built_in_keypad?: boolean | undefined
5194
5264
  /** Indicates whether the device supports offline access codes. */
5195
5265
  offline_access_codes_supported?: boolean | undefined
5196
5266
  /** Indicates whether the device supports online access codes. */
@@ -6009,15 +6079,26 @@ export interface Routes {
6009
6079
  online: boolean
6010
6080
  /** Name of the device. Deprecated - use device.display_name instead */
6011
6081
  name: string
6082
+ /** Represents the accessory keypad state. */
6083
+ accessory_keypad?:
6084
+ | {
6085
+ /** Indicates if the accessory_keypad is connected to the device. */
6086
+ is_connected: boolean
6087
+ }
6088
+ | undefined
6012
6089
  appearance: {
6013
6090
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
6014
6091
  name: string
6015
6092
  }
6016
6093
  model: {
6094
+ /** Indicates whether the device can connect a accessory keypad. */
6095
+ can_connect_accessory_keypad?: boolean | undefined
6017
6096
  /** Display name of the device model. */
6018
6097
  display_name: string
6019
6098
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
6020
6099
  manufacturer_display_name: string
6100
+ /** Indicates whether the device has a built in accessory keypad. */
6101
+ has_built_in_keypad?: boolean | undefined
6021
6102
  /** Indicates whether the device supports offline access codes. */
6022
6103
  offline_access_codes_supported?: boolean | undefined
6023
6104
  /** Indicates whether the device supports online access codes. */
@@ -6700,15 +6781,26 @@ export interface Routes {
6700
6781
  online: boolean
6701
6782
  /** Name of the device. Deprecated - use device.display_name instead */
6702
6783
  name: string
6784
+ /** Represents the accessory keypad state. */
6785
+ accessory_keypad?:
6786
+ | {
6787
+ /** Indicates if the accessory_keypad is connected to the device. */
6788
+ is_connected: boolean
6789
+ }
6790
+ | undefined
6703
6791
  appearance: {
6704
6792
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
6705
6793
  name: string
6706
6794
  }
6707
6795
  model: {
6796
+ /** Indicates whether the device can connect a accessory keypad. */
6797
+ can_connect_accessory_keypad?: boolean | undefined
6708
6798
  /** Display name of the device model. */
6709
6799
  display_name: string
6710
6800
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
6711
6801
  manufacturer_display_name: string
6802
+ /** Indicates whether the device has a built in accessory keypad. */
6803
+ has_built_in_keypad?: boolean | undefined
6712
6804
  /** Indicates whether the device supports offline access codes. */
6713
6805
  offline_access_codes_supported?: boolean | undefined
6714
6806
  /** Indicates whether the device supports online access codes. */
@@ -8066,15 +8158,26 @@ export interface Routes {
8066
8158
  online: boolean
8067
8159
  /** Name of the device. Deprecated - use device.display_name instead */
8068
8160
  name: string
8161
+ /** Represents the accessory keypad state. */
8162
+ accessory_keypad?:
8163
+ | {
8164
+ /** Indicates if the accessory_keypad is connected to the device. */
8165
+ is_connected: boolean
8166
+ }
8167
+ | undefined
8069
8168
  appearance: {
8070
8169
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
8071
8170
  name: string
8072
8171
  }
8073
8172
  model: {
8173
+ /** Indicates whether the device can connect a accessory keypad. */
8174
+ can_connect_accessory_keypad?: boolean | undefined
8074
8175
  /** Display name of the device model. */
8075
8176
  display_name: string
8076
8177
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
8077
8178
  manufacturer_display_name: string
8179
+ /** Indicates whether the device has a built in accessory keypad. */
8180
+ has_built_in_keypad?: boolean | undefined
8078
8181
  /** Indicates whether the device supports offline access codes. */
8079
8182
  offline_access_codes_supported?: boolean | undefined
8080
8183
  /** Indicates whether the device supports online access codes. */
@@ -8975,15 +9078,26 @@ export interface Routes {
8975
9078
  online: boolean
8976
9079
  /** Name of the device. Deprecated - use device.display_name instead */
8977
9080
  name: string
9081
+ /** Represents the accessory keypad state. */
9082
+ accessory_keypad?:
9083
+ | {
9084
+ /** Indicates if the accessory_keypad is connected to the device. */
9085
+ is_connected: boolean
9086
+ }
9087
+ | undefined
8978
9088
  appearance: {
8979
9089
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
8980
9090
  name: string
8981
9091
  }
8982
9092
  model: {
9093
+ /** Indicates whether the device can connect a accessory keypad. */
9094
+ can_connect_accessory_keypad?: boolean | undefined
8983
9095
  /** Display name of the device model. */
8984
9096
  display_name: string
8985
9097
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
8986
9098
  manufacturer_display_name: string
9099
+ /** Indicates whether the device has a built in accessory keypad. */
9100
+ has_built_in_keypad?: boolean | undefined
8987
9101
  /** Indicates whether the device supports offline access codes. */
8988
9102
  offline_access_codes_supported?: boolean | undefined
8989
9103
  /** Indicates whether the device supports online access codes. */
@@ -9958,15 +10072,26 @@ export interface Routes {
9958
10072
  online: boolean
9959
10073
  /** Name of the device. Deprecated - use device.display_name instead */
9960
10074
  name: string
10075
+ /** Represents the accessory keypad state. */
10076
+ accessory_keypad?:
10077
+ | {
10078
+ /** Indicates if the accessory_keypad is connected to the device. */
10079
+ is_connected: boolean
10080
+ }
10081
+ | undefined
9961
10082
  appearance: {
9962
10083
  /** Name of the device as seen from the provider API and application, not settable through Seam. */
9963
10084
  name: string
9964
10085
  }
9965
10086
  model: {
10087
+ /** Indicates whether the device can connect a accessory keypad. */
10088
+ can_connect_accessory_keypad?: boolean | undefined
9966
10089
  /** Display name of the device model. */
9967
10090
  display_name: string
9968
10091
  /** Display name that corresponds to the manufacturer-specific terminology for the device. */
9969
10092
  manufacturer_display_name: string
10093
+ /** Indicates whether the device has a built in accessory keypad. */
10094
+ has_built_in_keypad?: boolean | undefined
9970
10095
  /** Indicates whether the device supports offline access codes. */
9971
10096
  offline_access_codes_supported?: boolean | undefined
9972
10097
  /** Indicates whether the device supports online access codes. */
@@ -1,10 +1,18 @@
1
1
  import { z } from 'zod'
2
2
 
3
+ export const acs_entrance_latch_metadata = z.object({
4
+ accessibility_type: z.string(),
5
+ name: z.string(),
6
+ type: z.string(),
7
+ is_connected: z.boolean(),
8
+ })
9
+
3
10
  export const acs_entrance = z.object({
4
11
  acs_entrance_id: z.string().uuid(),
5
12
  display_name: z.string(),
6
13
  acs_system_id: z.string().uuid(),
7
14
  created_at: z.string().datetime(),
15
+ latch_metadata: acs_entrance_latch_metadata.nullable(),
8
16
  visionline_metadata: z
9
17
  .object({
10
18
  door_name: z.string(),
@@ -30,5 +38,8 @@ export const acs_entrance = z.object({
30
38
  })
31
39
  .nullable(),
32
40
  })
41
+ export type AcsEntranceLatchMetadata = z.infer<
42
+ typeof acs_entrance_latch_metadata
43
+ >
33
44
 
34
45
  export type AcsEntrance = z.infer<typeof acs_entrance>