@seamapi/types 1.242.0 → 1.243.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.
Files changed (47) hide show
  1. package/dist/connect.cjs +134 -45
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +484 -62
  4. package/dist/devicedb.cjs +9 -6
  5. package/dist/devicedb.cjs.map +1 -1
  6. package/dist/devicedb.d.cts +123 -70
  7. package/lib/seam/connect/models/acs/acs-system.d.ts +86 -42
  8. package/lib/seam/connect/models/acs/acs-system.js +23 -20
  9. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  10. package/lib/seam/connect/models/acs/acs-user.d.ts +8 -8
  11. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
  12. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
  13. package/lib/seam/connect/models/devices/device-metadata.d.ts +78 -0
  14. package/lib/seam/connect/models/devices/device-metadata.js +14 -0
  15. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  16. package/lib/seam/connect/models/devices/device.d.ts +108 -6
  17. package/lib/seam/connect/models/devices/phone.d.ts +83 -5
  18. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +83 -5
  19. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
  20. package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
  21. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  22. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  23. package/lib/seam/connect/models/thermostats/index.js +1 -1
  24. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  25. package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
  26. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
  27. package/lib/seam/connect/openapi.d.ts +49 -0
  28. package/lib/seam/connect/openapi.js +87 -22
  29. package/lib/seam/connect/openapi.js.map +1 -1
  30. package/lib/seam/connect/route-types.d.ts +208 -36
  31. package/lib/seam/devicedb/models/device-model.d.ts +59 -24
  32. package/lib/seam/devicedb/models/device-model.js +9 -6
  33. package/lib/seam/devicedb/models/device-model.js.map +1 -1
  34. package/lib/seam/devicedb/route-specs.d.ts +56 -38
  35. package/lib/seam/devicedb/route-types.d.ts +8 -8
  36. package/package.json +1 -1
  37. package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
  38. package/src/lib/seam/connect/models/devices/device-metadata.ts +16 -0
  39. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
  40. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  41. package/src/lib/seam/connect/openapi.ts +90 -22
  42. package/src/lib/seam/connect/route-types.ts +236 -36
  43. package/src/lib/seam/devicedb/models/device-model.ts +24 -19
  44. package/src/lib/seam/devicedb/route-types.ts +8 -8
  45. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
  46. /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
  47. /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
@@ -3184,14 +3184,21 @@ export interface Routes {
3184
3184
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3185
3185
  message: string;
3186
3186
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3187
- error_code: 'salto_site_user_limit_reached';
3187
+ error_code: 'salto_ks_subscription_limit_exceeded';
3188
3188
  } | {
3189
3189
  /** Date and time at which Seam created the error. */
3190
3190
  created_at: string;
3191
3191
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3192
3192
  message: string;
3193
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3194
- error_code: 'salto_seam_integration_blocked';
3193
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
3194
+ error_code: 'acs_system_disconnected';
3195
+ } | {
3196
+ /** Date and time at which Seam created the error. */
3197
+ created_at: string;
3198
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3199
+ message: string;
3200
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
3201
+ error_code: 'account_disconnected';
3195
3202
  }>;
3196
3203
  /** Warnings associated with the `acs_system`. */
3197
3204
  warnings: Array<{
@@ -3199,8 +3206,8 @@ export interface Routes {
3199
3206
  created_at: string;
3200
3207
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3201
3208
  message: string;
3202
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
3203
- warning_code: 'salto_site_user_limit_almost_reached';
3209
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
3210
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
3204
3211
  }>;
3205
3212
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
3206
3213
  can_automate_enrollment?: boolean | undefined;
@@ -3275,14 +3282,21 @@ export interface Routes {
3275
3282
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3276
3283
  message: string;
3277
3284
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3278
- error_code: 'salto_site_user_limit_reached';
3285
+ error_code: 'salto_ks_subscription_limit_exceeded';
3279
3286
  } | {
3280
3287
  /** Date and time at which Seam created the error. */
3281
3288
  created_at: string;
3282
3289
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3283
3290
  message: string;
3284
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3285
- error_code: 'salto_seam_integration_blocked';
3291
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
3292
+ error_code: 'acs_system_disconnected';
3293
+ } | {
3294
+ /** Date and time at which Seam created the error. */
3295
+ created_at: string;
3296
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3297
+ message: string;
3298
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
3299
+ error_code: 'account_disconnected';
3286
3300
  }>;
3287
3301
  /** Warnings associated with the `acs_system`. */
3288
3302
  warnings: Array<{
@@ -3290,8 +3304,8 @@ export interface Routes {
3290
3304
  created_at: string;
3291
3305
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3292
3306
  message: string;
3293
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
3294
- warning_code: 'salto_site_user_limit_almost_reached';
3307
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
3308
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
3295
3309
  }>;
3296
3310
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
3297
3311
  can_automate_enrollment?: boolean | undefined;
@@ -3366,14 +3380,21 @@ export interface Routes {
3366
3380
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3367
3381
  message: string;
3368
3382
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
3369
- error_code: 'salto_site_user_limit_reached';
3383
+ error_code: 'salto_ks_subscription_limit_exceeded';
3370
3384
  } | {
3371
3385
  /** Date and time at which Seam created the error. */
3372
3386
  created_at: string;
3373
3387
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3374
3388
  message: string;
3375
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
3376
- error_code: 'salto_seam_integration_blocked';
3389
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
3390
+ error_code: 'acs_system_disconnected';
3391
+ } | {
3392
+ /** Date and time at which Seam created the error. */
3393
+ created_at: string;
3394
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3395
+ message: string;
3396
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
3397
+ error_code: 'account_disconnected';
3377
3398
  }>;
3378
3399
  /** Warnings associated with the `acs_system`. */
3379
3400
  warnings: Array<{
@@ -3381,8 +3402,8 @@ export interface Routes {
3381
3402
  created_at: string;
3382
3403
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3383
3404
  message: string;
3384
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
3385
- warning_code: 'salto_site_user_limit_almost_reached';
3405
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
3406
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
3386
3407
  }>;
3387
3408
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
3388
3409
  can_automate_enrollment?: boolean | undefined;
@@ -5408,6 +5429,18 @@ export interface Routes {
5408
5429
  lock_id: number;
5409
5430
  lock_alias: string;
5410
5431
  feature_value: string;
5432
+ features: {
5433
+ passcode: boolean;
5434
+ passcode_management: boolean;
5435
+ unlock_via_gateway: boolean;
5436
+ lock_command: boolean;
5437
+ incomplete_keyboard_passcode: boolean;
5438
+ };
5439
+ has_gateway?: boolean | undefined;
5440
+ wireless_keypads?: Array<{
5441
+ wireless_keypad_id: number;
5442
+ wireless_keypad_name: string;
5443
+ }> | undefined;
5411
5444
  } | undefined;
5412
5445
  seam_bridge_metadata?: {
5413
5446
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -5544,7 +5577,7 @@ export interface Routes {
5544
5577
  climate_preset_key: string;
5545
5578
  can_edit: boolean;
5546
5579
  can_delete: boolean;
5547
- name: string | null;
5580
+ name?: string | null;
5548
5581
  display_name: string;
5549
5582
  fan_mode_setting?: ('auto' | 'on') | undefined;
5550
5583
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -5852,6 +5885,18 @@ export interface Routes {
5852
5885
  lock_id: number;
5853
5886
  lock_alias: string;
5854
5887
  feature_value: string;
5888
+ features: {
5889
+ passcode: boolean;
5890
+ passcode_management: boolean;
5891
+ unlock_via_gateway: boolean;
5892
+ lock_command: boolean;
5893
+ incomplete_keyboard_passcode: boolean;
5894
+ };
5895
+ has_gateway?: boolean | undefined;
5896
+ wireless_keypads?: Array<{
5897
+ wireless_keypad_id: number;
5898
+ wireless_keypad_name: string;
5899
+ }> | undefined;
5855
5900
  } | undefined;
5856
5901
  seam_bridge_metadata?: {
5857
5902
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -5988,7 +6033,7 @@ export interface Routes {
5988
6033
  climate_preset_key: string;
5989
6034
  can_edit: boolean;
5990
6035
  can_delete: boolean;
5991
- name: string | null;
6036
+ name?: string | null;
5992
6037
  display_name: string;
5993
6038
  fan_mode_setting?: ('auto' | 'on') | undefined;
5994
6039
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -6676,6 +6721,18 @@ export interface Routes {
6676
6721
  lock_id: number;
6677
6722
  lock_alias: string;
6678
6723
  feature_value: string;
6724
+ features: {
6725
+ passcode: boolean;
6726
+ passcode_management: boolean;
6727
+ unlock_via_gateway: boolean;
6728
+ lock_command: boolean;
6729
+ incomplete_keyboard_passcode: boolean;
6730
+ };
6731
+ has_gateway?: boolean | undefined;
6732
+ wireless_keypads?: Array<{
6733
+ wireless_keypad_id: number;
6734
+ wireless_keypad_name: string;
6735
+ }> | undefined;
6679
6736
  } | undefined;
6680
6737
  seam_bridge_metadata?: {
6681
6738
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -6812,7 +6869,7 @@ export interface Routes {
6812
6869
  climate_preset_key: string;
6813
6870
  can_edit: boolean;
6814
6871
  can_delete: boolean;
6815
- name: string | null;
6872
+ name?: string | null;
6816
6873
  display_name: string;
6817
6874
  fan_mode_setting?: ('auto' | 'on') | undefined;
6818
6875
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -7095,6 +7152,18 @@ export interface Routes {
7095
7152
  lock_id: number;
7096
7153
  lock_alias: string;
7097
7154
  feature_value: string;
7155
+ features: {
7156
+ passcode: boolean;
7157
+ passcode_management: boolean;
7158
+ unlock_via_gateway: boolean;
7159
+ lock_command: boolean;
7160
+ incomplete_keyboard_passcode: boolean;
7161
+ };
7162
+ has_gateway?: boolean | undefined;
7163
+ wireless_keypads?: Array<{
7164
+ wireless_keypad_id: number;
7165
+ wireless_keypad_name: string;
7166
+ }> | undefined;
7098
7167
  } | undefined;
7099
7168
  seam_bridge_metadata?: {
7100
7169
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -7231,7 +7300,7 @@ export interface Routes {
7231
7300
  climate_preset_key: string;
7232
7301
  can_edit: boolean;
7233
7302
  can_delete: boolean;
7234
- name: string | null;
7303
+ name?: string | null;
7235
7304
  display_name: string;
7236
7305
  fan_mode_setting?: ('auto' | 'on') | undefined;
7237
7306
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -7539,6 +7608,18 @@ export interface Routes {
7539
7608
  lock_id: number;
7540
7609
  lock_alias: string;
7541
7610
  feature_value: string;
7611
+ features: {
7612
+ passcode: boolean;
7613
+ passcode_management: boolean;
7614
+ unlock_via_gateway: boolean;
7615
+ lock_command: boolean;
7616
+ incomplete_keyboard_passcode: boolean;
7617
+ };
7618
+ has_gateway?: boolean | undefined;
7619
+ wireless_keypads?: Array<{
7620
+ wireless_keypad_id: number;
7621
+ wireless_keypad_name: string;
7622
+ }> | undefined;
7542
7623
  } | undefined;
7543
7624
  seam_bridge_metadata?: {
7544
7625
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -7675,7 +7756,7 @@ export interface Routes {
7675
7756
  climate_preset_key: string;
7676
7757
  can_edit: boolean;
7677
7758
  can_delete: boolean;
7678
- name: string | null;
7759
+ name?: string | null;
7679
7760
  display_name: string;
7680
7761
  fan_mode_setting?: ('auto' | 'on') | undefined;
7681
7762
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -7958,6 +8039,18 @@ export interface Routes {
7958
8039
  lock_id: number;
7959
8040
  lock_alias: string;
7960
8041
  feature_value: string;
8042
+ features: {
8043
+ passcode: boolean;
8044
+ passcode_management: boolean;
8045
+ unlock_via_gateway: boolean;
8046
+ lock_command: boolean;
8047
+ incomplete_keyboard_passcode: boolean;
8048
+ };
8049
+ has_gateway?: boolean | undefined;
8050
+ wireless_keypads?: Array<{
8051
+ wireless_keypad_id: number;
8052
+ wireless_keypad_name: string;
8053
+ }> | undefined;
7961
8054
  } | undefined;
7962
8055
  seam_bridge_metadata?: {
7963
8056
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -8094,7 +8187,7 @@ export interface Routes {
8094
8187
  climate_preset_key: string;
8095
8188
  can_edit: boolean;
8096
8189
  can_delete: boolean;
8097
- name: string | null;
8190
+ name?: string | null;
8098
8191
  display_name: string;
8099
8192
  fan_mode_setting?: ('auto' | 'on') | undefined;
8100
8193
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -9232,6 +9325,18 @@ export interface Routes {
9232
9325
  lock_id: number;
9233
9326
  lock_alias: string;
9234
9327
  feature_value: string;
9328
+ features: {
9329
+ passcode: boolean;
9330
+ passcode_management: boolean;
9331
+ unlock_via_gateway: boolean;
9332
+ lock_command: boolean;
9333
+ incomplete_keyboard_passcode: boolean;
9334
+ };
9335
+ has_gateway?: boolean | undefined;
9336
+ wireless_keypads?: Array<{
9337
+ wireless_keypad_id: number;
9338
+ wireless_keypad_name: string;
9339
+ }> | undefined;
9235
9340
  } | undefined;
9236
9341
  seam_bridge_metadata?: {
9237
9342
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -9368,7 +9473,7 @@ export interface Routes {
9368
9473
  climate_preset_key: string;
9369
9474
  can_edit: boolean;
9370
9475
  can_delete: boolean;
9371
- name: string | null;
9476
+ name?: string | null;
9372
9477
  display_name: string;
9373
9478
  fan_mode_setting?: ('auto' | 'on') | undefined;
9374
9479
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -9651,6 +9756,18 @@ export interface Routes {
9651
9756
  lock_id: number;
9652
9757
  lock_alias: string;
9653
9758
  feature_value: string;
9759
+ features: {
9760
+ passcode: boolean;
9761
+ passcode_management: boolean;
9762
+ unlock_via_gateway: boolean;
9763
+ lock_command: boolean;
9764
+ incomplete_keyboard_passcode: boolean;
9765
+ };
9766
+ has_gateway?: boolean | undefined;
9767
+ wireless_keypads?: Array<{
9768
+ wireless_keypad_id: number;
9769
+ wireless_keypad_name: string;
9770
+ }> | undefined;
9654
9771
  } | undefined;
9655
9772
  seam_bridge_metadata?: {
9656
9773
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -9787,7 +9904,7 @@ export interface Routes {
9787
9904
  climate_preset_key: string;
9788
9905
  can_edit: boolean;
9789
9906
  can_delete: boolean;
9790
- name: string | null;
9907
+ name?: string | null;
9791
9908
  display_name: string;
9792
9909
  fan_mode_setting?: ('auto' | 'on') | undefined;
9793
9910
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -12111,7 +12228,7 @@ export interface Routes {
12111
12228
  jsonBody: {
12112
12229
  device_id: string;
12113
12230
  climate_preset_key: string;
12114
- name: string | null;
12231
+ name?: string | null;
12115
12232
  fan_mode_setting?: ('auto' | 'on') | undefined;
12116
12233
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
12117
12234
  cooling_set_point_celsius?: number | undefined;
@@ -12127,7 +12244,7 @@ export interface Routes {
12127
12244
  climate_preset_key: string;
12128
12245
  can_edit: boolean;
12129
12246
  can_delete: boolean;
12130
- name: string | null;
12247
+ name?: string | null;
12131
12248
  display_name: string;
12132
12249
  fan_mode_setting?: ('auto' | 'on') | undefined;
12133
12250
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -12368,6 +12485,18 @@ export interface Routes {
12368
12485
  lock_id: number;
12369
12486
  lock_alias: string;
12370
12487
  feature_value: string;
12488
+ features: {
12489
+ passcode: boolean;
12490
+ passcode_management: boolean;
12491
+ unlock_via_gateway: boolean;
12492
+ lock_command: boolean;
12493
+ incomplete_keyboard_passcode: boolean;
12494
+ };
12495
+ has_gateway?: boolean | undefined;
12496
+ wireless_keypads?: Array<{
12497
+ wireless_keypad_id: number;
12498
+ wireless_keypad_name: string;
12499
+ }> | undefined;
12371
12500
  } | undefined;
12372
12501
  seam_bridge_metadata?: {
12373
12502
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -12504,7 +12633,7 @@ export interface Routes {
12504
12633
  climate_preset_key: string;
12505
12634
  can_edit: boolean;
12506
12635
  can_delete: boolean;
12507
- name: string | null;
12636
+ name?: string | null;
12508
12637
  display_name: string;
12509
12638
  fan_mode_setting?: ('auto' | 'on') | undefined;
12510
12639
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -13614,6 +13743,18 @@ export interface Routes {
13614
13743
  lock_id: number;
13615
13744
  lock_alias: string;
13616
13745
  feature_value: string;
13746
+ features: {
13747
+ passcode: boolean;
13748
+ passcode_management: boolean;
13749
+ unlock_via_gateway: boolean;
13750
+ lock_command: boolean;
13751
+ incomplete_keyboard_passcode: boolean;
13752
+ };
13753
+ has_gateway?: boolean | undefined;
13754
+ wireless_keypads?: Array<{
13755
+ wireless_keypad_id: number;
13756
+ wireless_keypad_name: string;
13757
+ }> | undefined;
13617
13758
  } | undefined;
13618
13759
  seam_bridge_metadata?: {
13619
13760
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -13750,7 +13891,7 @@ export interface Routes {
13750
13891
  climate_preset_key: string;
13751
13892
  can_edit: boolean;
13752
13893
  can_delete: boolean;
13753
- name: string | null;
13894
+ name?: string | null;
13754
13895
  display_name: string;
13755
13896
  fan_mode_setting?: ('auto' | 'on') | undefined;
13756
13897
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -14766,7 +14907,7 @@ export interface Routes {
14766
14907
  jsonBody: {
14767
14908
  device_id: string;
14768
14909
  climate_preset_key: string;
14769
- name: string | null;
14910
+ name?: string | null;
14770
14911
  fan_mode_setting?: ('auto' | 'on') | undefined;
14771
14912
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
14772
14913
  cooling_set_point_celsius?: number | undefined;
@@ -14782,7 +14923,7 @@ export interface Routes {
14782
14923
  climate_preset_key: string;
14783
14924
  can_edit: boolean;
14784
14925
  can_delete: boolean;
14785
- name: string | null;
14926
+ name?: string | null;
14786
14927
  display_name: string;
14787
14928
  fan_mode_setting?: ('auto' | 'on') | undefined;
14788
14929
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -15189,6 +15330,18 @@ export interface Routes {
15189
15330
  lock_id: number;
15190
15331
  lock_alias: string;
15191
15332
  feature_value: string;
15333
+ features: {
15334
+ passcode: boolean;
15335
+ passcode_management: boolean;
15336
+ unlock_via_gateway: boolean;
15337
+ lock_command: boolean;
15338
+ incomplete_keyboard_passcode: boolean;
15339
+ };
15340
+ has_gateway?: boolean | undefined;
15341
+ wireless_keypads?: Array<{
15342
+ wireless_keypad_id: number;
15343
+ wireless_keypad_name: string;
15344
+ }> | undefined;
15192
15345
  } | undefined;
15193
15346
  seam_bridge_metadata?: {
15194
15347
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -15325,7 +15478,7 @@ export interface Routes {
15325
15478
  climate_preset_key: string;
15326
15479
  can_edit: boolean;
15327
15480
  can_delete: boolean;
15328
- name: string | null;
15481
+ name?: string | null;
15329
15482
  display_name: string;
15330
15483
  fan_mode_setting?: ('auto' | 'on') | undefined;
15331
15484
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -15610,6 +15763,18 @@ export interface Routes {
15610
15763
  lock_id: number;
15611
15764
  lock_alias: string;
15612
15765
  feature_value: string;
15766
+ features: {
15767
+ passcode: boolean;
15768
+ passcode_management: boolean;
15769
+ unlock_via_gateway: boolean;
15770
+ lock_command: boolean;
15771
+ incomplete_keyboard_passcode: boolean;
15772
+ };
15773
+ has_gateway?: boolean | undefined;
15774
+ wireless_keypads?: Array<{
15775
+ wireless_keypad_id: number;
15776
+ wireless_keypad_name: string;
15777
+ }> | undefined;
15613
15778
  } | undefined;
15614
15779
  seam_bridge_metadata?: {
15615
15780
  unlock_method?: ('bridge' | 'doorking') | undefined;
@@ -15746,7 +15911,7 @@ export interface Routes {
15746
15911
  climate_preset_key: string;
15747
15912
  can_edit: boolean;
15748
15913
  can_delete: boolean;
15749
- name: string | null;
15914
+ name?: string | null;
15750
15915
  display_name: string;
15751
15916
  fan_mode_setting?: ('auto' | 'on') | undefined;
15752
15917
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined;
@@ -15886,14 +16051,21 @@ export interface Routes {
15886
16051
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
15887
16052
  message: string;
15888
16053
  /** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
15889
- error_code: 'salto_site_user_limit_reached';
16054
+ error_code: 'salto_ks_subscription_limit_exceeded';
16055
+ } | {
16056
+ /** Date and time at which Seam created the error. */
16057
+ created_at: string;
16058
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
16059
+ message: string;
16060
+ /** Indicates that the access system has been disconnected. Please refer to [this guide](https://docs.seam.co/latest/capability-guides/access-systems/troubleshooting-your-access-control-system guide) to resolve the issue. */
16061
+ error_code: 'acs_system_disconnected';
15890
16062
  } | {
15891
16063
  /** Date and time at which Seam created the error. */
15892
16064
  created_at: string;
15893
16065
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
15894
16066
  message: string;
15895
- /** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
15896
- error_code: 'salto_seam_integration_blocked';
16067
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
16068
+ error_code: 'account_disconnected';
15897
16069
  }>;
15898
16070
  /** Warnings associated with the `acs_system`. */
15899
16071
  warnings: Array<{
@@ -15901,8 +16073,8 @@ export interface Routes {
15901
16073
  created_at: string;
15902
16074
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
15903
16075
  message: string;
15904
- /** You have reached more than 80% of the maximum number of users allowed for your site; Please contact Salto support to increase your user limit. */
15905
- warning_code: 'salto_site_user_limit_almost_reached';
16076
+ /** Indicates that the Salto KS site has exceeded 80% of the maximum number of allowed users. Please increase your subscription limit, or delete some users from your site to rectify this. */
16077
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
15906
16078
  }>;
15907
16079
  /** Indicates whether it is possible to [launch enrollment automations](https://docs.seam.co/latest/capability-guides/mobile-access-in-development/issuing-mobile-credentials-from-an-access-control-system#prepare-the-phones-for-a-user-identity-to-start-receiving-mobile-credentials-using-an-enrollment-aut) for the `acs_system`. */
15908
16080
  can_automate_enrollment?: boolean | undefined;