@seamapi/types 1.51.0 → 1.52.1

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.
@@ -681,6 +681,7 @@ declare const _default: {
681
681
  device: {
682
682
  properties: {
683
683
  capabilities_supported: {
684
+ description: string;
684
685
  items: {
685
686
  enum: string[];
686
687
  type: string;
@@ -688,24 +689,29 @@ declare const _default: {
688
689
  type: string;
689
690
  };
690
691
  connected_account_id: {
692
+ description: string;
691
693
  format: string;
692
694
  type: string;
693
695
  };
694
696
  created_at: {
697
+ description: string;
695
698
  format: string;
696
699
  type: string;
697
700
  };
698
701
  device_id: {
702
+ description: string;
699
703
  format: string;
700
704
  type: string;
701
705
  };
702
706
  device_type: {
707
+ description: string;
703
708
  oneOf: {
704
709
  enum: string[];
705
710
  type: string;
706
711
  }[];
707
712
  };
708
713
  errors: {
714
+ description: string;
709
715
  items: {
710
716
  properties: {
711
717
  error_code: {
@@ -721,16 +727,20 @@ declare const _default: {
721
727
  type: string;
722
728
  };
723
729
  is_managed: {
730
+ description: string;
724
731
  enum: boolean[];
725
732
  type: string;
726
733
  };
727
734
  location: {
735
+ description: string;
728
736
  nullable: boolean;
729
737
  properties: {
730
738
  location_name: {
739
+ description: string;
731
740
  type: string;
732
741
  };
733
742
  timezone: {
743
+ description: string;
734
744
  type: string;
735
745
  };
736
746
  };
@@ -741,6 +751,7 @@ declare const _default: {
741
751
  allOf: ({
742
752
  properties: {
743
753
  battery: {
754
+ description: string;
744
755
  properties: {
745
756
  level: {
746
757
  maximum: number;
@@ -756,38 +767,48 @@ declare const _default: {
756
767
  type: string;
757
768
  };
758
769
  battery_level: {
770
+ description: string;
759
771
  maximum: number;
760
772
  minimum: number;
761
773
  type: string;
762
774
  };
763
775
  has_direct_power: {
776
+ description: string;
764
777
  type: string;
765
778
  };
766
779
  image_alt_text: {
780
+ description: string;
767
781
  type: string;
768
782
  };
769
783
  image_url: {
784
+ description: string;
770
785
  format: string;
771
786
  type: string;
772
787
  };
773
788
  manufacturer: {
789
+ description: string;
774
790
  type: string;
775
791
  };
776
792
  model: {
777
793
  properties: {
778
794
  accessory_keypad_supported: {
795
+ description: string;
779
796
  type: string;
780
797
  };
781
798
  display_name: {
799
+ description: string;
782
800
  type: string;
783
801
  };
784
802
  manufacturer_display_name: {
803
+ description: string;
785
804
  type: string;
786
805
  };
787
806
  offline_access_codes_supported: {
807
+ description: string;
788
808
  type: string;
789
809
  };
790
810
  online_access_codes_supported: {
811
+ description: string;
791
812
  type: string;
792
813
  };
793
814
  };
@@ -795,6 +816,7 @@ declare const _default: {
795
816
  type: string;
796
817
  };
797
818
  name: {
819
+ description: string;
798
820
  type: string;
799
821
  };
800
822
  offline_access_codes_enabled: {
@@ -802,6 +824,7 @@ declare const _default: {
802
824
  type: string;
803
825
  };
804
826
  online: {
827
+ description: string;
805
828
  type: string;
806
829
  };
807
830
  online_access_codes_enabled: {
@@ -809,6 +832,7 @@ declare const _default: {
809
832
  type: string;
810
833
  };
811
834
  serial_number: {
835
+ description: string;
812
836
  type: string;
813
837
  };
814
838
  supports_accessory_keypad: {
@@ -1990,8 +2014,10 @@ declare const _default: {
1990
2014
  type?: never;
1991
2015
  })[];
1992
2016
  })[];
2017
+ description: string;
1993
2018
  };
1994
2019
  warnings: {
2020
+ description: string;
1995
2021
  items: {
1996
2022
  properties: {
1997
2023
  message: {
@@ -2007,6 +2033,7 @@ declare const _default: {
2007
2033
  type: string;
2008
2034
  };
2009
2035
  workspace_id: {
2036
+ description: string;
2010
2037
  format: string;
2011
2038
  type: string;
2012
2039
  };
@@ -2177,6 +2204,7 @@ declare const _default: {
2177
2204
  unmanaged_device: {
2178
2205
  properties: {
2179
2206
  capabilities_supported: {
2207
+ description: string;
2180
2208
  items: {
2181
2209
  enum: string[];
2182
2210
  type: string;
@@ -2184,24 +2212,29 @@ declare const _default: {
2184
2212
  type: string;
2185
2213
  };
2186
2214
  connected_account_id: {
2215
+ description: string;
2187
2216
  format: string;
2188
2217
  type: string;
2189
2218
  };
2190
2219
  created_at: {
2220
+ description: string;
2191
2221
  format: string;
2192
2222
  type: string;
2193
2223
  };
2194
2224
  device_id: {
2225
+ description: string;
2195
2226
  format: string;
2196
2227
  type: string;
2197
2228
  };
2198
2229
  device_type: {
2230
+ description: string;
2199
2231
  oneOf: {
2200
2232
  enum: string[];
2201
2233
  type: string;
2202
2234
  }[];
2203
2235
  };
2204
2236
  errors: {
2237
+ description: string;
2205
2238
  items: {
2206
2239
  properties: {
2207
2240
  error_code: {
@@ -2254,6 +2287,7 @@ declare const _default: {
2254
2287
  type: string;
2255
2288
  };
2256
2289
  warnings: {
2290
+ description: string;
2257
2291
  items: {
2258
2292
  properties: {
2259
2293
  message: {
@@ -2269,6 +2303,7 @@ declare const _default: {
2269
2303
  type: string;
2270
2304
  };
2271
2305
  workspace_id: {
2306
+ description: string;
2272
2307
  format: string;
2273
2308
  type: string;
2274
2309
  };
@@ -2339,6 +2374,16 @@ declare const _default: {
2339
2374
  name: string;
2340
2375
  type: string;
2341
2376
  };
2377
+ console_session: {
2378
+ bearerFormat: string;
2379
+ scheme: string;
2380
+ type: string;
2381
+ };
2382
+ pat_with_workspace: {
2383
+ bearerFormat: string;
2384
+ scheme: string;
2385
+ type: string;
2386
+ };
2342
2387
  seam_client_session_token: {
2343
2388
  in: string;
2344
2389
  name: string;
@@ -5341,6 +5386,125 @@ declare const _default: {
5341
5386
  description: string;
5342
5387
  };
5343
5388
  };
5389
+ security: ({
5390
+ api_key: never[];
5391
+ client_session?: never;
5392
+ pat_with_workspace?: never;
5393
+ console_session?: never;
5394
+ } | {
5395
+ client_session: never[];
5396
+ api_key?: never;
5397
+ pat_with_workspace?: never;
5398
+ console_session?: never;
5399
+ } | {
5400
+ pat_with_workspace: never[];
5401
+ api_key?: never;
5402
+ client_session?: never;
5403
+ console_session?: never;
5404
+ } | {
5405
+ console_session: never[];
5406
+ api_key?: never;
5407
+ client_session?: never;
5408
+ pat_with_workspace?: never;
5409
+ })[];
5410
+ summary: string;
5411
+ tags: never[];
5412
+ 'x-fern-sdk-group-name': string[];
5413
+ 'x-fern-sdk-method-name': string;
5414
+ };
5415
+ };
5416
+ '/acs/credentials/unassign': {
5417
+ patch: {
5418
+ operationId: string;
5419
+ requestBody: {
5420
+ content: {
5421
+ 'application/json': {
5422
+ schema: {
5423
+ properties: {
5424
+ acs_credential_id: {
5425
+ format: string;
5426
+ type: string;
5427
+ };
5428
+ acs_user_id: {
5429
+ format: string;
5430
+ type: string;
5431
+ };
5432
+ };
5433
+ required: string[];
5434
+ type: string;
5435
+ };
5436
+ };
5437
+ };
5438
+ };
5439
+ responses: {
5440
+ 200: {
5441
+ content: {
5442
+ 'application/json': {
5443
+ schema: {
5444
+ properties: {
5445
+ acs_credential: {
5446
+ properties: {
5447
+ acs_credential_id: {
5448
+ format: string;
5449
+ type: string;
5450
+ };
5451
+ acs_credential_pool_id: {
5452
+ format: string;
5453
+ type: string;
5454
+ };
5455
+ acs_system_id: {
5456
+ format: string;
5457
+ type: string;
5458
+ };
5459
+ acs_user_id: {
5460
+ format: string;
5461
+ type: string;
5462
+ };
5463
+ code: {
5464
+ nullable: boolean;
5465
+ type: string;
5466
+ };
5467
+ created_at: {
5468
+ format: string;
5469
+ type: string;
5470
+ };
5471
+ display_name: {
5472
+ minLength: number;
5473
+ type: string;
5474
+ };
5475
+ external_type: {
5476
+ enum: string[];
5477
+ type: string;
5478
+ };
5479
+ external_type_display_name: {
5480
+ type: string;
5481
+ };
5482
+ workspace_id: {
5483
+ format: string;
5484
+ type: string;
5485
+ };
5486
+ };
5487
+ required: string[];
5488
+ type: string;
5489
+ };
5490
+ ok: {
5491
+ type: string;
5492
+ };
5493
+ };
5494
+ required: string[];
5495
+ type: string;
5496
+ };
5497
+ };
5498
+ };
5499
+ description: string;
5500
+ };
5501
+ 400: {
5502
+ description: string;
5503
+ };
5504
+ 401: {
5505
+ description: string;
5506
+ };
5507
+ };
5344
5508
  security: ({
5345
5509
  access_token: never[];
5346
5510
  seam_workspace: never[];
@@ -5359,12 +5523,9 @@ declare const _default: {
5359
5523
  })[];
5360
5524
  summary: string;
5361
5525
  tags: never[];
5362
- 'x-fern-sdk-group-name': string[];
5363
- 'x-fern-sdk-method-name': string;
5526
+ 'x-fern-ignore': boolean;
5364
5527
  };
5365
- };
5366
- '/acs/credentials/unassign': {
5367
- patch: {
5528
+ post: {
5368
5529
  operationId: string;
5369
5530
  requestBody: {
5370
5531
  content: {
@@ -5473,8 +5634,11 @@ declare const _default: {
5473
5634
  })[];
5474
5635
  summary: string;
5475
5636
  tags: never[];
5476
- 'x-fern-ignore': boolean;
5637
+ 'x-fern-sdk-group-name': string[];
5638
+ 'x-fern-sdk-method-name': string;
5477
5639
  };
5640
+ };
5641
+ '/acs/credentials/update': {
5478
5642
  post: {
5479
5643
  operationId: string;
5480
5644
  requestBody: {
@@ -5482,16 +5646,15 @@ declare const _default: {
5482
5646
  'application/json': {
5483
5647
  schema: {
5484
5648
  properties: {
5485
- acs_credential_id: {
5486
- format: string;
5649
+ code: {
5650
+ pattern: string;
5487
5651
  type: string;
5488
5652
  };
5489
- acs_user_id: {
5490
- format: string;
5653
+ name: {
5654
+ maxLength: number;
5491
5655
  type: string;
5492
5656
  };
5493
5657
  };
5494
- required: string[];
5495
5658
  type: string;
5496
5659
  };
5497
5660
  };
@@ -7063,20 +7226,25 @@ declare const _default: {
7063
7226
  };
7064
7227
  };
7065
7228
  security: ({
7066
- access_token: never[];
7067
- seam_workspace: never[];
7068
- seam_client_session_token?: never;
7069
- client_session_token?: never;
7229
+ client_session: never[];
7230
+ pat_with_workspace?: never;
7231
+ console_session?: never;
7232
+ api_key?: never;
7070
7233
  } | {
7071
- seam_client_session_token: never[];
7072
- access_token?: never;
7073
- seam_workspace?: never;
7074
- client_session_token?: never;
7234
+ pat_with_workspace: never[];
7235
+ client_session?: never;
7236
+ console_session?: never;
7237
+ api_key?: never;
7075
7238
  } | {
7076
- client_session_token: never[];
7077
- access_token?: never;
7078
- seam_workspace?: never;
7079
- seam_client_session_token?: never;
7239
+ console_session: never[];
7240
+ client_session?: never;
7241
+ pat_with_workspace?: never;
7242
+ api_key?: never;
7243
+ } | {
7244
+ api_key: never[];
7245
+ client_session?: never;
7246
+ pat_with_workspace?: never;
7247
+ console_session?: never;
7080
7248
  })[];
7081
7249
  summary: string;
7082
7250
  tags: string[];
@@ -11975,6 +12143,14 @@ declare const _default: {
11975
12143
  nullable: boolean;
11976
12144
  type: string;
11977
12145
  };
12146
+ first_name: {
12147
+ nullable: boolean;
12148
+ type: string;
12149
+ };
12150
+ last_name: {
12151
+ nullable: boolean;
12152
+ type: string;
12153
+ };
11978
12154
  user_identity_key: {
11979
12155
  nullable: boolean;
11980
12156
  type: string;
@@ -12005,6 +12181,14 @@ declare const _default: {
12005
12181
  nullable: boolean;
12006
12182
  type: string;
12007
12183
  };
12184
+ first_name: {
12185
+ nullable: boolean;
12186
+ type: string;
12187
+ };
12188
+ last_name: {
12189
+ nullable: boolean;
12190
+ type: string;
12191
+ };
12008
12192
  user_identity_id: {
12009
12193
  format: string;
12010
12194
  type: string;
@@ -12109,6 +12293,14 @@ declare const _default: {
12109
12293
  nullable: boolean;
12110
12294
  type: string;
12111
12295
  };
12296
+ first_name: {
12297
+ nullable: boolean;
12298
+ type: string;
12299
+ };
12300
+ last_name: {
12301
+ nullable: boolean;
12302
+ type: string;
12303
+ };
12112
12304
  user_identity_id: {
12113
12305
  format: string;
12114
12306
  type: string;
@@ -14078,6 +14270,31 @@ interface Routes {
14078
14270
  };
14079
14271
  };
14080
14272
  };
14273
+ '/acs/credentials/update': {
14274
+ route: '/acs/credentials/update';
14275
+ method: 'POST';
14276
+ queryParams: {};
14277
+ jsonBody: {};
14278
+ commonParams: {
14279
+ code?: string | undefined;
14280
+ name?: string | undefined;
14281
+ };
14282
+ formData: {};
14283
+ jsonResponse: {
14284
+ acs_credential: {
14285
+ acs_credential_id: string;
14286
+ acs_user_id?: string | undefined;
14287
+ acs_credential_pool_id?: string | undefined;
14288
+ acs_system_id: string;
14289
+ display_name: string;
14290
+ code: string | null;
14291
+ external_type: 'pti_card' | 'brivo_credential' | 'hid_credential';
14292
+ external_type_display_name: string;
14293
+ created_at: string;
14294
+ workspace_id: string;
14295
+ };
14296
+ };
14297
+ };
14081
14298
  '/acs/entrances/get': {
14082
14299
  route: '/acs/entrances/get';
14083
14300
  method: 'GET' | 'POST';
@@ -14542,7 +14759,7 @@ interface Routes {
14542
14759
  device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
14543
14760
  custom_redirect_url?: string | undefined;
14544
14761
  custom_redirect_failure_url?: string | undefined;
14545
- accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'yale_access' | 'hid_cm'> | undefined;
14762
+ accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'yale_access' | 'hid_cm'> | undefined;
14546
14763
  provider_category?: ('stable' | 'consumer_smartlocks' | 'internal_beta') | undefined;
14547
14764
  custom_metadata?: Record<string, string | number | null | boolean> | undefined;
14548
14765
  automatically_manage_new_devices?: boolean | undefined;
@@ -14754,36 +14971,54 @@ interface Routes {
14754
14971
  formData: {};
14755
14972
  jsonResponse: {
14756
14973
  device: {
14974
+ /** Unique identifier for the device. */
14757
14975
  device_id: string;
14976
+ /** Type of the device. */
14758
14977
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
14978
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
14759
14979
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
14980
+ /** Properties of the device. */
14760
14981
  properties: ({
14982
+ /** Indicates whether the device is online. */
14761
14983
  online: boolean;
14984
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
14762
14985
  name: string;
14763
14986
  model: {
14987
+ /** Display name of the device model. */
14764
14988
  display_name: string;
14989
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
14765
14990
  manufacturer_display_name: string;
14991
+ /** Indicates whether the device supports offline access codes. */
14766
14992
  offline_access_codes_supported?: boolean | undefined;
14993
+ /** Indicates whether the device supports online access codes. */
14767
14994
  online_access_codes_supported?: boolean | undefined;
14995
+ /** Indicates whether the device supports an accessory keypad. */
14768
14996
  accessory_keypad_supported?: boolean | undefined;
14769
14997
  };
14998
+ /** Indicates whether the device has direct power. */
14770
14999
  has_direct_power?: boolean | undefined;
15000
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
14771
15001
  battery_level?: number | undefined;
15002
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
14772
15003
  battery?: {
14773
15004
  level: number;
14774
15005
  status: 'critical' | 'low' | 'good' | 'full';
14775
15006
  } | undefined;
15007
+ /** Manufacturer of the device. */
14776
15008
  manufacturer?: string | undefined;
15009
+ /** Image URL for the device. */
14777
15010
  image_url?: string | undefined;
15011
+ /** Alt text for the device image. */
14778
15012
  image_alt_text?: string | undefined;
15013
+ /** Serial number of the device. */
14779
15014
  serial_number?: string | undefined;
14780
- /** Currently possible to use online access codes */
15015
+ /** Indicates whether it is currently possible to use online access codes for the device. */
14781
15016
  online_access_codes_enabled?: boolean | undefined;
14782
- /** Currently possible to use offline access codes */
15017
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
14783
15018
  offline_access_codes_enabled?: boolean | undefined;
14784
- /** Deprecated: use model.offline_access_codes_enabled. */
15019
+ /** Deprecated: Use model.offline_access_codes_enabled. */
14785
15020
  supports_accessory_keypad?: boolean | undefined;
14786
- /** Deprecated: use model.accessory_keypad_supported. */
15021
+ /** Deprecated: Use model.accessory_keypad_supported. */
14787
15022
  supports_offline_access_codes?: boolean | undefined;
14788
15023
  } & {
14789
15024
  august_metadata?: {
@@ -15133,21 +15368,30 @@ interface Routes {
15133
15368
  max_cooling_set_point_celsius?: number | undefined;
15134
15369
  max_cooling_set_point_fahrenheit?: number | undefined;
15135
15370
  }));
15371
+ /** Location information for the device. */
15136
15372
  location: {
15373
+ /** Name of the device location. */
15137
15374
  location_name?: string | undefined;
15375
+ /** Time zone of the device location. */
15138
15376
  timezone?: string | undefined;
15139
15377
  } | null;
15378
+ /** Unique identifier for the account associated with the device. */
15140
15379
  connected_account_id: string;
15380
+ /** Unique identifier for the Seam workspace associated with the device. */
15141
15381
  workspace_id: string;
15382
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
15142
15383
  errors: Array<{
15143
15384
  error_code: string;
15144
15385
  message: string;
15145
15386
  }>;
15387
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
15146
15388
  warnings: Array<{
15147
15389
  warning_code: string;
15148
15390
  message: string;
15149
15391
  }>;
15392
+ /** Date and time at which the device object was created. */
15150
15393
  created_at: string;
15394
+ /** Indicates whether Seam manages the device. */
15151
15395
  is_managed: true;
15152
15396
  };
15153
15397
  };
@@ -15173,36 +15417,54 @@ interface Routes {
15173
15417
  formData: {};
15174
15418
  jsonResponse: {
15175
15419
  devices: Array<{
15420
+ /** Unique identifier for the device. */
15176
15421
  device_id: string;
15422
+ /** Type of the device. */
15177
15423
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
15424
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
15178
15425
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
15426
+ /** Properties of the device. */
15179
15427
  properties: ({
15428
+ /** Indicates whether the device is online. */
15180
15429
  online: boolean;
15430
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
15181
15431
  name: string;
15182
15432
  model: {
15433
+ /** Display name of the device model. */
15183
15434
  display_name: string;
15435
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
15184
15436
  manufacturer_display_name: string;
15437
+ /** Indicates whether the device supports offline access codes. */
15185
15438
  offline_access_codes_supported?: boolean | undefined;
15439
+ /** Indicates whether the device supports online access codes. */
15186
15440
  online_access_codes_supported?: boolean | undefined;
15441
+ /** Indicates whether the device supports an accessory keypad. */
15187
15442
  accessory_keypad_supported?: boolean | undefined;
15188
15443
  };
15444
+ /** Indicates whether the device has direct power. */
15189
15445
  has_direct_power?: boolean | undefined;
15446
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
15190
15447
  battery_level?: number | undefined;
15448
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
15191
15449
  battery?: {
15192
15450
  level: number;
15193
15451
  status: 'critical' | 'low' | 'good' | 'full';
15194
15452
  } | undefined;
15453
+ /** Manufacturer of the device. */
15195
15454
  manufacturer?: string | undefined;
15455
+ /** Image URL for the device. */
15196
15456
  image_url?: string | undefined;
15457
+ /** Alt text for the device image. */
15197
15458
  image_alt_text?: string | undefined;
15459
+ /** Serial number of the device. */
15198
15460
  serial_number?: string | undefined;
15199
- /** Currently possible to use online access codes */
15461
+ /** Indicates whether it is currently possible to use online access codes for the device. */
15200
15462
  online_access_codes_enabled?: boolean | undefined;
15201
- /** Currently possible to use offline access codes */
15463
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
15202
15464
  offline_access_codes_enabled?: boolean | undefined;
15203
- /** Deprecated: use model.offline_access_codes_enabled. */
15465
+ /** Deprecated: Use model.offline_access_codes_enabled. */
15204
15466
  supports_accessory_keypad?: boolean | undefined;
15205
- /** Deprecated: use model.accessory_keypad_supported. */
15467
+ /** Deprecated: Use model.accessory_keypad_supported. */
15206
15468
  supports_offline_access_codes?: boolean | undefined;
15207
15469
  } & {
15208
15470
  august_metadata?: {
@@ -15552,21 +15814,30 @@ interface Routes {
15552
15814
  max_cooling_set_point_celsius?: number | undefined;
15553
15815
  max_cooling_set_point_fahrenheit?: number | undefined;
15554
15816
  }));
15817
+ /** Location information for the device. */
15555
15818
  location: {
15819
+ /** Name of the device location. */
15556
15820
  location_name?: string | undefined;
15821
+ /** Time zone of the device location. */
15557
15822
  timezone?: string | undefined;
15558
15823
  } | null;
15824
+ /** Unique identifier for the account associated with the device. */
15559
15825
  connected_account_id: string;
15826
+ /** Unique identifier for the Seam workspace associated with the device. */
15560
15827
  workspace_id: string;
15828
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
15561
15829
  errors: Array<{
15562
15830
  error_code: string;
15563
15831
  message: string;
15564
15832
  }>;
15833
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
15565
15834
  warnings: Array<{
15566
15835
  warning_code: string;
15567
15836
  message: string;
15568
15837
  }>;
15838
+ /** Date and time at which the device object was created. */
15569
15839
  created_at: string;
15840
+ /** Indicates whether Seam manages the device. */
15570
15841
  is_managed: true;
15571
15842
  }>;
15572
15843
  };
@@ -15601,19 +15872,27 @@ interface Routes {
15601
15872
  formData: {};
15602
15873
  jsonResponse: {
15603
15874
  device: {
15875
+ /** Unique identifier for the device. */
15604
15876
  device_id: string;
15877
+ /** Type of the device. */
15605
15878
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
15879
+ /** Unique identifier for the account associated with the device. */
15606
15880
  connected_account_id: string;
15881
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
15607
15882
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
15883
+ /** Unique identifier for the Seam workspace associated with the device. */
15608
15884
  workspace_id: string;
15885
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
15609
15886
  errors: Array<{
15610
15887
  error_code: string;
15611
15888
  message: string;
15612
15889
  }>;
15890
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
15613
15891
  warnings: Array<{
15614
15892
  warning_code: string;
15615
15893
  message: string;
15616
15894
  }>;
15895
+ /** Date and time at which the device object was created. */
15617
15896
  created_at: string;
15618
15897
  is_managed: false;
15619
15898
  properties: {
@@ -15651,19 +15930,27 @@ interface Routes {
15651
15930
  formData: {};
15652
15931
  jsonResponse: {
15653
15932
  devices: Array<{
15933
+ /** Unique identifier for the device. */
15654
15934
  device_id: string;
15935
+ /** Type of the device. */
15655
15936
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
15937
+ /** Unique identifier for the account associated with the device. */
15656
15938
  connected_account_id: string;
15939
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
15657
15940
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
15941
+ /** Unique identifier for the Seam workspace associated with the device. */
15658
15942
  workspace_id: string;
15943
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
15659
15944
  errors: Array<{
15660
15945
  error_code: string;
15661
15946
  message: string;
15662
15947
  }>;
15948
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
15663
15949
  warnings: Array<{
15664
15950
  warning_code: string;
15665
15951
  message: string;
15666
15952
  }>;
15953
+ /** Date and time at which the device object was created. */
15667
15954
  created_at: string;
15668
15955
  is_managed: false;
15669
15956
  properties: {
@@ -15847,36 +16134,54 @@ interface Routes {
15847
16134
  formData: {};
15848
16135
  jsonResponse: {
15849
16136
  lock: {
16137
+ /** Unique identifier for the device. */
15850
16138
  device_id: string;
16139
+ /** Type of the device. */
15851
16140
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
16141
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
15852
16142
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
16143
+ /** Properties of the device. */
15853
16144
  properties: ({
16145
+ /** Indicates whether the device is online. */
15854
16146
  online: boolean;
16147
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
15855
16148
  name: string;
15856
16149
  model: {
16150
+ /** Display name of the device model. */
15857
16151
  display_name: string;
16152
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
15858
16153
  manufacturer_display_name: string;
16154
+ /** Indicates whether the device supports offline access codes. */
15859
16155
  offline_access_codes_supported?: boolean | undefined;
16156
+ /** Indicates whether the device supports online access codes. */
15860
16157
  online_access_codes_supported?: boolean | undefined;
16158
+ /** Indicates whether the device supports an accessory keypad. */
15861
16159
  accessory_keypad_supported?: boolean | undefined;
15862
16160
  };
16161
+ /** Indicates whether the device has direct power. */
15863
16162
  has_direct_power?: boolean | undefined;
16163
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
15864
16164
  battery_level?: number | undefined;
16165
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
15865
16166
  battery?: {
15866
16167
  level: number;
15867
16168
  status: 'critical' | 'low' | 'good' | 'full';
15868
16169
  } | undefined;
16170
+ /** Manufacturer of the device. */
15869
16171
  manufacturer?: string | undefined;
16172
+ /** Image URL for the device. */
15870
16173
  image_url?: string | undefined;
16174
+ /** Alt text for the device image. */
15871
16175
  image_alt_text?: string | undefined;
16176
+ /** Serial number of the device. */
15872
16177
  serial_number?: string | undefined;
15873
- /** Currently possible to use online access codes */
16178
+ /** Indicates whether it is currently possible to use online access codes for the device. */
15874
16179
  online_access_codes_enabled?: boolean | undefined;
15875
- /** Currently possible to use offline access codes */
16180
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
15876
16181
  offline_access_codes_enabled?: boolean | undefined;
15877
- /** Deprecated: use model.offline_access_codes_enabled. */
16182
+ /** Deprecated: Use model.offline_access_codes_enabled. */
15878
16183
  supports_accessory_keypad?: boolean | undefined;
15879
- /** Deprecated: use model.accessory_keypad_supported. */
16184
+ /** Deprecated: Use model.accessory_keypad_supported. */
15880
16185
  supports_offline_access_codes?: boolean | undefined;
15881
16186
  } & {
15882
16187
  august_metadata?: {
@@ -16226,54 +16531,81 @@ interface Routes {
16226
16531
  max_cooling_set_point_celsius?: number | undefined;
16227
16532
  max_cooling_set_point_fahrenheit?: number | undefined;
16228
16533
  }));
16534
+ /** Location information for the device. */
16229
16535
  location: {
16536
+ /** Name of the device location. */
16230
16537
  location_name?: string | undefined;
16538
+ /** Time zone of the device location. */
16231
16539
  timezone?: string | undefined;
16232
16540
  } | null;
16541
+ /** Unique identifier for the account associated with the device. */
16233
16542
  connected_account_id: string;
16543
+ /** Unique identifier for the Seam workspace associated with the device. */
16234
16544
  workspace_id: string;
16545
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
16235
16546
  errors: Array<{
16236
16547
  error_code: string;
16237
16548
  message: string;
16238
16549
  }>;
16550
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
16239
16551
  warnings: Array<{
16240
16552
  warning_code: string;
16241
16553
  message: string;
16242
16554
  }>;
16555
+ /** Date and time at which the device object was created. */
16243
16556
  created_at: string;
16557
+ /** Indicates whether Seam manages the device. */
16244
16558
  is_managed: true;
16245
16559
  };
16246
16560
  device: {
16561
+ /** Unique identifier for the device. */
16247
16562
  device_id: string;
16563
+ /** Type of the device. */
16248
16564
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
16565
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
16249
16566
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
16567
+ /** Properties of the device. */
16250
16568
  properties: ({
16569
+ /** Indicates whether the device is online. */
16251
16570
  online: boolean;
16571
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
16252
16572
  name: string;
16253
16573
  model: {
16574
+ /** Display name of the device model. */
16254
16575
  display_name: string;
16576
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
16255
16577
  manufacturer_display_name: string;
16578
+ /** Indicates whether the device supports offline access codes. */
16256
16579
  offline_access_codes_supported?: boolean | undefined;
16580
+ /** Indicates whether the device supports online access codes. */
16257
16581
  online_access_codes_supported?: boolean | undefined;
16582
+ /** Indicates whether the device supports an accessory keypad. */
16258
16583
  accessory_keypad_supported?: boolean | undefined;
16259
16584
  };
16585
+ /** Indicates whether the device has direct power. */
16260
16586
  has_direct_power?: boolean | undefined;
16587
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
16261
16588
  battery_level?: number | undefined;
16589
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
16262
16590
  battery?: {
16263
16591
  level: number;
16264
16592
  status: 'critical' | 'low' | 'good' | 'full';
16265
16593
  } | undefined;
16594
+ /** Manufacturer of the device. */
16266
16595
  manufacturer?: string | undefined;
16596
+ /** Image URL for the device. */
16267
16597
  image_url?: string | undefined;
16598
+ /** Alt text for the device image. */
16268
16599
  image_alt_text?: string | undefined;
16600
+ /** Serial number of the device. */
16269
16601
  serial_number?: string | undefined;
16270
- /** Currently possible to use online access codes */
16602
+ /** Indicates whether it is currently possible to use online access codes for the device. */
16271
16603
  online_access_codes_enabled?: boolean | undefined;
16272
- /** Currently possible to use offline access codes */
16604
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
16273
16605
  offline_access_codes_enabled?: boolean | undefined;
16274
- /** Deprecated: use model.offline_access_codes_enabled. */
16606
+ /** Deprecated: Use model.offline_access_codes_enabled. */
16275
16607
  supports_accessory_keypad?: boolean | undefined;
16276
- /** Deprecated: use model.accessory_keypad_supported. */
16608
+ /** Deprecated: Use model.accessory_keypad_supported. */
16277
16609
  supports_offline_access_codes?: boolean | undefined;
16278
16610
  } & {
16279
16611
  august_metadata?: {
@@ -16623,21 +16955,30 @@ interface Routes {
16623
16955
  max_cooling_set_point_celsius?: number | undefined;
16624
16956
  max_cooling_set_point_fahrenheit?: number | undefined;
16625
16957
  }));
16958
+ /** Location information for the device. */
16626
16959
  location: {
16960
+ /** Name of the device location. */
16627
16961
  location_name?: string | undefined;
16962
+ /** Time zone of the device location. */
16628
16963
  timezone?: string | undefined;
16629
16964
  } | null;
16965
+ /** Unique identifier for the account associated with the device. */
16630
16966
  connected_account_id: string;
16967
+ /** Unique identifier for the Seam workspace associated with the device. */
16631
16968
  workspace_id: string;
16969
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
16632
16970
  errors: Array<{
16633
16971
  error_code: string;
16634
16972
  message: string;
16635
16973
  }>;
16974
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
16636
16975
  warnings: Array<{
16637
16976
  warning_code: string;
16638
16977
  message: string;
16639
16978
  }>;
16979
+ /** Date and time at which the device object was created. */
16640
16980
  created_at: string;
16981
+ /** Indicates whether Seam manages the device. */
16641
16982
  is_managed: true;
16642
16983
  };
16643
16984
  };
@@ -16663,36 +17004,54 @@ interface Routes {
16663
17004
  formData: {};
16664
17005
  jsonResponse: {
16665
17006
  locks: Array<{
17007
+ /** Unique identifier for the device. */
16666
17008
  device_id: string;
17009
+ /** Type of the device. */
16667
17010
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
17011
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
16668
17012
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
17013
+ /** Properties of the device. */
16669
17014
  properties: ({
17015
+ /** Indicates whether the device is online. */
16670
17016
  online: boolean;
17017
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
16671
17018
  name: string;
16672
17019
  model: {
17020
+ /** Display name of the device model. */
16673
17021
  display_name: string;
17022
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
16674
17023
  manufacturer_display_name: string;
17024
+ /** Indicates whether the device supports offline access codes. */
16675
17025
  offline_access_codes_supported?: boolean | undefined;
17026
+ /** Indicates whether the device supports online access codes. */
16676
17027
  online_access_codes_supported?: boolean | undefined;
17028
+ /** Indicates whether the device supports an accessory keypad. */
16677
17029
  accessory_keypad_supported?: boolean | undefined;
16678
17030
  };
17031
+ /** Indicates whether the device has direct power. */
16679
17032
  has_direct_power?: boolean | undefined;
17033
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
16680
17034
  battery_level?: number | undefined;
17035
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
16681
17036
  battery?: {
16682
17037
  level: number;
16683
17038
  status: 'critical' | 'low' | 'good' | 'full';
16684
17039
  } | undefined;
17040
+ /** Manufacturer of the device. */
16685
17041
  manufacturer?: string | undefined;
17042
+ /** Image URL for the device. */
16686
17043
  image_url?: string | undefined;
17044
+ /** Alt text for the device image. */
16687
17045
  image_alt_text?: string | undefined;
17046
+ /** Serial number of the device. */
16688
17047
  serial_number?: string | undefined;
16689
- /** Currently possible to use online access codes */
17048
+ /** Indicates whether it is currently possible to use online access codes for the device. */
16690
17049
  online_access_codes_enabled?: boolean | undefined;
16691
- /** Currently possible to use offline access codes */
17050
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
16692
17051
  offline_access_codes_enabled?: boolean | undefined;
16693
- /** Deprecated: use model.offline_access_codes_enabled. */
17052
+ /** Deprecated: Use model.offline_access_codes_enabled. */
16694
17053
  supports_accessory_keypad?: boolean | undefined;
16695
- /** Deprecated: use model.accessory_keypad_supported. */
17054
+ /** Deprecated: Use model.accessory_keypad_supported. */
16696
17055
  supports_offline_access_codes?: boolean | undefined;
16697
17056
  } & {
16698
17057
  august_metadata?: {
@@ -17042,54 +17401,81 @@ interface Routes {
17042
17401
  max_cooling_set_point_celsius?: number | undefined;
17043
17402
  max_cooling_set_point_fahrenheit?: number | undefined;
17044
17403
  }));
17404
+ /** Location information for the device. */
17045
17405
  location: {
17406
+ /** Name of the device location. */
17046
17407
  location_name?: string | undefined;
17408
+ /** Time zone of the device location. */
17047
17409
  timezone?: string | undefined;
17048
17410
  } | null;
17411
+ /** Unique identifier for the account associated with the device. */
17049
17412
  connected_account_id: string;
17413
+ /** Unique identifier for the Seam workspace associated with the device. */
17050
17414
  workspace_id: string;
17415
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
17051
17416
  errors: Array<{
17052
17417
  error_code: string;
17053
17418
  message: string;
17054
17419
  }>;
17420
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
17055
17421
  warnings: Array<{
17056
17422
  warning_code: string;
17057
17423
  message: string;
17058
17424
  }>;
17425
+ /** Date and time at which the device object was created. */
17059
17426
  created_at: string;
17427
+ /** Indicates whether Seam manages the device. */
17060
17428
  is_managed: true;
17061
17429
  }>;
17062
17430
  devices: Array<{
17431
+ /** Unique identifier for the device. */
17063
17432
  device_id: string;
17433
+ /** Type of the device. */
17064
17434
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
17435
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
17065
17436
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
17437
+ /** Properties of the device. */
17066
17438
  properties: ({
17439
+ /** Indicates whether the device is online. */
17067
17440
  online: boolean;
17441
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
17068
17442
  name: string;
17069
17443
  model: {
17444
+ /** Display name of the device model. */
17070
17445
  display_name: string;
17446
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
17071
17447
  manufacturer_display_name: string;
17448
+ /** Indicates whether the device supports offline access codes. */
17072
17449
  offline_access_codes_supported?: boolean | undefined;
17450
+ /** Indicates whether the device supports online access codes. */
17073
17451
  online_access_codes_supported?: boolean | undefined;
17452
+ /** Indicates whether the device supports an accessory keypad. */
17074
17453
  accessory_keypad_supported?: boolean | undefined;
17075
17454
  };
17455
+ /** Indicates whether the device has direct power. */
17076
17456
  has_direct_power?: boolean | undefined;
17457
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
17077
17458
  battery_level?: number | undefined;
17459
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
17078
17460
  battery?: {
17079
17461
  level: number;
17080
17462
  status: 'critical' | 'low' | 'good' | 'full';
17081
17463
  } | undefined;
17464
+ /** Manufacturer of the device. */
17082
17465
  manufacturer?: string | undefined;
17466
+ /** Image URL for the device. */
17083
17467
  image_url?: string | undefined;
17468
+ /** Alt text for the device image. */
17084
17469
  image_alt_text?: string | undefined;
17470
+ /** Serial number of the device. */
17085
17471
  serial_number?: string | undefined;
17086
- /** Currently possible to use online access codes */
17472
+ /** Indicates whether it is currently possible to use online access codes for the device. */
17087
17473
  online_access_codes_enabled?: boolean | undefined;
17088
- /** Currently possible to use offline access codes */
17474
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
17089
17475
  offline_access_codes_enabled?: boolean | undefined;
17090
- /** Deprecated: use model.offline_access_codes_enabled. */
17476
+ /** Deprecated: Use model.offline_access_codes_enabled. */
17091
17477
  supports_accessory_keypad?: boolean | undefined;
17092
- /** Deprecated: use model.accessory_keypad_supported. */
17478
+ /** Deprecated: Use model.accessory_keypad_supported. */
17093
17479
  supports_offline_access_codes?: boolean | undefined;
17094
17480
  } & {
17095
17481
  august_metadata?: {
@@ -17439,21 +17825,30 @@ interface Routes {
17439
17825
  max_cooling_set_point_celsius?: number | undefined;
17440
17826
  max_cooling_set_point_fahrenheit?: number | undefined;
17441
17827
  }));
17828
+ /** Location information for the device. */
17442
17829
  location: {
17830
+ /** Name of the device location. */
17443
17831
  location_name?: string | undefined;
17832
+ /** Time zone of the device location. */
17444
17833
  timezone?: string | undefined;
17445
17834
  } | null;
17835
+ /** Unique identifier for the account associated with the device. */
17446
17836
  connected_account_id: string;
17837
+ /** Unique identifier for the Seam workspace associated with the device. */
17447
17838
  workspace_id: string;
17839
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
17448
17840
  errors: Array<{
17449
17841
  error_code: string;
17450
17842
  message: string;
17451
17843
  }>;
17844
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
17452
17845
  warnings: Array<{
17453
17846
  warning_code: string;
17454
17847
  message: string;
17455
17848
  }>;
17849
+ /** Date and time at which the device object was created. */
17456
17850
  created_at: string;
17851
+ /** Indicates whether Seam manages the device. */
17457
17852
  is_managed: true;
17458
17853
  }>;
17459
17854
  };
@@ -17877,36 +18272,54 @@ interface Routes {
17877
18272
  formData: {};
17878
18273
  jsonResponse: {
17879
18274
  thermostat: {
18275
+ /** Unique identifier for the device. */
17880
18276
  device_id: string;
18277
+ /** Type of the device. */
17881
18278
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
18279
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
17882
18280
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
18281
+ /** Properties of the device. */
17883
18282
  properties: ({
18283
+ /** Indicates whether the device is online. */
17884
18284
  online: boolean;
18285
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
17885
18286
  name: string;
17886
18287
  model: {
18288
+ /** Display name of the device model. */
17887
18289
  display_name: string;
18290
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
17888
18291
  manufacturer_display_name: string;
18292
+ /** Indicates whether the device supports offline access codes. */
17889
18293
  offline_access_codes_supported?: boolean | undefined;
18294
+ /** Indicates whether the device supports online access codes. */
17890
18295
  online_access_codes_supported?: boolean | undefined;
18296
+ /** Indicates whether the device supports an accessory keypad. */
17891
18297
  accessory_keypad_supported?: boolean | undefined;
17892
18298
  };
18299
+ /** Indicates whether the device has direct power. */
17893
18300
  has_direct_power?: boolean | undefined;
18301
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
17894
18302
  battery_level?: number | undefined;
18303
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
17895
18304
  battery?: {
17896
18305
  level: number;
17897
18306
  status: 'critical' | 'low' | 'good' | 'full';
17898
18307
  } | undefined;
18308
+ /** Manufacturer of the device. */
17899
18309
  manufacturer?: string | undefined;
18310
+ /** Image URL for the device. */
17900
18311
  image_url?: string | undefined;
18312
+ /** Alt text for the device image. */
17901
18313
  image_alt_text?: string | undefined;
18314
+ /** Serial number of the device. */
17902
18315
  serial_number?: string | undefined;
17903
- /** Currently possible to use online access codes */
18316
+ /** Indicates whether it is currently possible to use online access codes for the device. */
17904
18317
  online_access_codes_enabled?: boolean | undefined;
17905
- /** Currently possible to use offline access codes */
18318
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
17906
18319
  offline_access_codes_enabled?: boolean | undefined;
17907
- /** Deprecated: use model.offline_access_codes_enabled. */
18320
+ /** Deprecated: Use model.offline_access_codes_enabled. */
17908
18321
  supports_accessory_keypad?: boolean | undefined;
17909
- /** Deprecated: use model.accessory_keypad_supported. */
18322
+ /** Deprecated: Use model.accessory_keypad_supported. */
17910
18323
  supports_offline_access_codes?: boolean | undefined;
17911
18324
  } & {
17912
18325
  august_metadata?: {
@@ -18256,21 +18669,30 @@ interface Routes {
18256
18669
  max_cooling_set_point_celsius?: number | undefined;
18257
18670
  max_cooling_set_point_fahrenheit?: number | undefined;
18258
18671
  }));
18672
+ /** Location information for the device. */
18259
18673
  location: {
18674
+ /** Name of the device location. */
18260
18675
  location_name?: string | undefined;
18676
+ /** Time zone of the device location. */
18261
18677
  timezone?: string | undefined;
18262
18678
  } | null;
18679
+ /** Unique identifier for the account associated with the device. */
18263
18680
  connected_account_id: string;
18681
+ /** Unique identifier for the Seam workspace associated with the device. */
18264
18682
  workspace_id: string;
18683
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
18265
18684
  errors: Array<{
18266
18685
  error_code: string;
18267
18686
  message: string;
18268
18687
  }>;
18688
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
18269
18689
  warnings: Array<{
18270
18690
  warning_code: string;
18271
18691
  message: string;
18272
18692
  }>;
18693
+ /** Date and time at which the device object was created. */
18273
18694
  created_at: string;
18695
+ /** Indicates whether Seam manages the device. */
18274
18696
  is_managed: true;
18275
18697
  };
18276
18698
  };
@@ -18326,36 +18748,54 @@ interface Routes {
18326
18748
  formData: {};
18327
18749
  jsonResponse: {
18328
18750
  thermostats: Array<{
18751
+ /** Unique identifier for the device. */
18329
18752
  device_id: string;
18753
+ /** Type of the device. */
18330
18754
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
18755
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
18331
18756
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
18757
+ /** Properties of the device. */
18332
18758
  properties: ({
18759
+ /** Indicates whether the device is online. */
18333
18760
  online: boolean;
18761
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
18334
18762
  name: string;
18335
18763
  model: {
18764
+ /** Display name of the device model. */
18336
18765
  display_name: string;
18766
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
18337
18767
  manufacturer_display_name: string;
18768
+ /** Indicates whether the device supports offline access codes. */
18338
18769
  offline_access_codes_supported?: boolean | undefined;
18770
+ /** Indicates whether the device supports online access codes. */
18339
18771
  online_access_codes_supported?: boolean | undefined;
18772
+ /** Indicates whether the device supports an accessory keypad. */
18340
18773
  accessory_keypad_supported?: boolean | undefined;
18341
18774
  };
18775
+ /** Indicates whether the device has direct power. */
18342
18776
  has_direct_power?: boolean | undefined;
18777
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
18343
18778
  battery_level?: number | undefined;
18779
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
18344
18780
  battery?: {
18345
18781
  level: number;
18346
18782
  status: 'critical' | 'low' | 'good' | 'full';
18347
18783
  } | undefined;
18784
+ /** Manufacturer of the device. */
18348
18785
  manufacturer?: string | undefined;
18786
+ /** Image URL for the device. */
18349
18787
  image_url?: string | undefined;
18788
+ /** Alt text for the device image. */
18350
18789
  image_alt_text?: string | undefined;
18790
+ /** Serial number of the device. */
18351
18791
  serial_number?: string | undefined;
18352
- /** Currently possible to use online access codes */
18792
+ /** Indicates whether it is currently possible to use online access codes for the device. */
18353
18793
  online_access_codes_enabled?: boolean | undefined;
18354
- /** Currently possible to use offline access codes */
18794
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
18355
18795
  offline_access_codes_enabled?: boolean | undefined;
18356
- /** Deprecated: use model.offline_access_codes_enabled. */
18796
+ /** Deprecated: Use model.offline_access_codes_enabled. */
18357
18797
  supports_accessory_keypad?: boolean | undefined;
18358
- /** Deprecated: use model.accessory_keypad_supported. */
18798
+ /** Deprecated: Use model.accessory_keypad_supported. */
18359
18799
  supports_offline_access_codes?: boolean | undefined;
18360
18800
  } & {
18361
18801
  august_metadata?: {
@@ -18705,21 +19145,30 @@ interface Routes {
18705
19145
  max_cooling_set_point_celsius?: number | undefined;
18706
19146
  max_cooling_set_point_fahrenheit?: number | undefined;
18707
19147
  }));
19148
+ /** Location information for the device. */
18708
19149
  location: {
19150
+ /** Name of the device location. */
18709
19151
  location_name?: string | undefined;
19152
+ /** Time zone of the device location. */
18710
19153
  timezone?: string | undefined;
18711
19154
  } | null;
19155
+ /** Unique identifier for the account associated with the device. */
18712
19156
  connected_account_id: string;
19157
+ /** Unique identifier for the Seam workspace associated with the device. */
18713
19158
  workspace_id: string;
19159
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
18714
19160
  errors: Array<{
18715
19161
  error_code: string;
18716
19162
  message: string;
18717
19163
  }>;
19164
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
18718
19165
  warnings: Array<{
18719
19166
  warning_code: string;
18720
19167
  message: string;
18721
19168
  }>;
19169
+ /** Date and time at which the device object was created. */
18722
19170
  created_at: string;
19171
+ /** Indicates whether Seam manages the device. */
18723
19172
  is_managed: true;
18724
19173
  }>;
18725
19174
  };
@@ -18791,6 +19240,8 @@ interface Routes {
18791
19240
  commonParams: {
18792
19241
  user_identity_key?: (string | null) | undefined;
18793
19242
  email_address?: (string | null) | undefined;
19243
+ first_name?: (string | null) | undefined;
19244
+ last_name?: (string | null) | undefined;
18794
19245
  };
18795
19246
  formData: {};
18796
19247
  jsonResponse: {
@@ -18798,6 +19249,8 @@ interface Routes {
18798
19249
  user_identity_id: string;
18799
19250
  user_identity_key?: (string | null) | undefined;
18800
19251
  email_address?: (string | null) | undefined;
19252
+ first_name?: (string | null) | undefined;
19253
+ last_name?: (string | null) | undefined;
18801
19254
  created_at: string;
18802
19255
  workspace_id: string;
18803
19256
  };
@@ -18819,6 +19272,8 @@ interface Routes {
18819
19272
  user_identity_id: string;
18820
19273
  user_identity_key?: (string | null) | undefined;
18821
19274
  email_address?: (string | null) | undefined;
19275
+ first_name?: (string | null) | undefined;
19276
+ last_name?: (string | null) | undefined;
18822
19277
  created_at: string;
18823
19278
  workspace_id: string;
18824
19279
  };
@@ -18847,36 +19302,54 @@ interface Routes {
18847
19302
  formData: {};
18848
19303
  jsonResponse: {
18849
19304
  accessible_devices: Array<{
19305
+ /** Unique identifier for the device. */
18850
19306
  device_id: string;
19307
+ /** Type of the device. */
18851
19308
  device_type: ('akuvox_lock' | 'august_lock' | 'brivo_access_point' | 'butterflymx_panel' | 'avigilon_alta_entry' | 'doorking_lock' | 'genie_door' | 'igloo_lock' | 'linear_lock' | 'lockly_lock' | 'kwikset_lock' | 'nuki_lock' | 'salto_lock' | 'schlage_lock' | 'seam_relay' | 'smartthings_lock' | 'wyze_lock' | 'yale_lock' | 'two_n_intercom' | 'controlbyweb_device' | 'ttlock_lock' | 'igloohome_lock' | 'hubitat_lock' | 'four_suites_door' | 'dormakaba_oracode_door') | ('noiseaware_activity_zone' | 'minut_sensor') | ('ecobee_thermostat' | 'nest_thermostat');
19309
+ /** Collection of capabilities that the device supports when connected to Seam. Values are "access_code," which indicates that the device can manage and utilize digital PIN codes for secure access; "lock," which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; "noise_detection," which indicates that the device supports monitoring and responding to ambient noise levels; "thermostat," which indicates that the device can regulate and adjust indoor temperatures; and "battery," which indicates that the device can manage battery life and health. */
18852
19310
  capabilities_supported: Array<'access_code' | 'lock' | 'noise_detection' | 'thermostat' | 'battery'>;
19311
+ /** Properties of the device. */
18853
19312
  properties: ({
19313
+ /** Indicates whether the device is online. */
18854
19314
  online: boolean;
19315
+ /** Name of the device. Enables administrators and users to identify the device easily, especially when there are numerous devices. */
18855
19316
  name: string;
18856
19317
  model: {
19318
+ /** Display name of the device model. */
18857
19319
  display_name: string;
19320
+ /** Display name that corresponds to the manufacturer-specific terminology for the device. */
18858
19321
  manufacturer_display_name: string;
19322
+ /** Indicates whether the device supports offline access codes. */
18859
19323
  offline_access_codes_supported?: boolean | undefined;
19324
+ /** Indicates whether the device supports online access codes. */
18860
19325
  online_access_codes_supported?: boolean | undefined;
19326
+ /** Indicates whether the device supports an accessory keypad. */
18861
19327
  accessory_keypad_supported?: boolean | undefined;
18862
19328
  };
19329
+ /** Indicates whether the device has direct power. */
18863
19330
  has_direct_power?: boolean | undefined;
19331
+ /** Indicates the battery level of the device as a decimal value between 0 and 1, inclusive. */
18864
19332
  battery_level?: number | undefined;
19333
+ /** Represents the current status of the battery charge level. Values are "critical," which indicates an extremely low level, suggesting imminent shutdown or an urgent need for charging; "low," which signifies that the battery is under the preferred threshold and should be charged soon; "good," which denotes a satisfactory charge level, adequate for normal use without the immediate need for recharging; and "full," which represents a battery that is fully charged, providing the maximum duration of usage. */
18865
19334
  battery?: {
18866
19335
  level: number;
18867
19336
  status: 'critical' | 'low' | 'good' | 'full';
18868
19337
  } | undefined;
19338
+ /** Manufacturer of the device. */
18869
19339
  manufacturer?: string | undefined;
19340
+ /** Image URL for the device. */
18870
19341
  image_url?: string | undefined;
19342
+ /** Alt text for the device image. */
18871
19343
  image_alt_text?: string | undefined;
19344
+ /** Serial number of the device. */
18872
19345
  serial_number?: string | undefined;
18873
- /** Currently possible to use online access codes */
19346
+ /** Indicates whether it is currently possible to use online access codes for the device. */
18874
19347
  online_access_codes_enabled?: boolean | undefined;
18875
- /** Currently possible to use offline access codes */
19348
+ /** Indicates whether it is currently possible to use offline access codes for the device. */
18876
19349
  offline_access_codes_enabled?: boolean | undefined;
18877
- /** Deprecated: use model.offline_access_codes_enabled. */
19350
+ /** Deprecated: Use model.offline_access_codes_enabled. */
18878
19351
  supports_accessory_keypad?: boolean | undefined;
18879
- /** Deprecated: use model.accessory_keypad_supported. */
19352
+ /** Deprecated: Use model.accessory_keypad_supported. */
18880
19353
  supports_offline_access_codes?: boolean | undefined;
18881
19354
  } & {
18882
19355
  august_metadata?: {
@@ -19226,21 +19699,30 @@ interface Routes {
19226
19699
  max_cooling_set_point_celsius?: number | undefined;
19227
19700
  max_cooling_set_point_fahrenheit?: number | undefined;
19228
19701
  }));
19702
+ /** Location information for the device. */
19229
19703
  location: {
19704
+ /** Name of the device location. */
19230
19705
  location_name?: string | undefined;
19706
+ /** Time zone of the device location. */
19231
19707
  timezone?: string | undefined;
19232
19708
  } | null;
19709
+ /** Unique identifier for the account associated with the device. */
19233
19710
  connected_account_id: string;
19711
+ /** Unique identifier for the Seam workspace associated with the device. */
19234
19712
  workspace_id: string;
19713
+ /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
19235
19714
  errors: Array<{
19236
19715
  error_code: string;
19237
19716
  message: string;
19238
19717
  }>;
19718
+ /** Array of warnings associated with the device. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it. */
19239
19719
  warnings: Array<{
19240
19720
  warning_code: string;
19241
19721
  message: string;
19242
19722
  }>;
19723
+ /** Date and time at which the device object was created. */
19243
19724
  created_at: string;
19725
+ /** Indicates whether Seam manages the device. */
19244
19726
  is_managed: true;
19245
19727
  }>;
19246
19728
  };