@seamapi/types 1.241.0 → 1.242.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.
Files changed (46) hide show
  1. package/dist/connect.cjs +281 -137
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +370 -182
  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 +169 -140
  11. package/lib/seam/connect/models/acs/acs-user.js +32 -30
  12. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  13. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -5
  14. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -5
  15. package/lib/seam/connect/models/devices/device.d.ts +6 -6
  16. package/lib/seam/connect/models/devices/phone.d.ts +5 -5
  17. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -5
  18. package/lib/seam/connect/models/thermostats/climate-preset.d.ts +3 -3
  19. package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
  20. package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
  21. package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
  22. package/lib/seam/connect/models/thermostats/index.js +1 -1
  23. package/lib/seam/connect/models/thermostats/index.js.map +1 -1
  24. package/lib/seam/connect/models/thermostats/{climate-setting-schedule.js → thermostat-schedule.js} +1 -1
  25. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -0
  26. package/lib/seam/connect/openapi.d.ts +45 -18
  27. package/lib/seam/connect/openapi.js +219 -90
  28. package/lib/seam/connect/openapi.js.map +1 -1
  29. package/lib/seam/connect/route-types.d.ts +176 -78
  30. package/lib/seam/devicedb/models/device-model.d.ts +59 -24
  31. package/lib/seam/devicedb/models/device-model.js +9 -6
  32. package/lib/seam/devicedb/models/device-model.js.map +1 -1
  33. package/lib/seam/devicedb/route-specs.d.ts +56 -38
  34. package/lib/seam/devicedb/route-types.d.ts +8 -8
  35. package/package.json +1 -1
  36. package/src/lib/seam/connect/models/acs/acs-system.ts +32 -24
  37. package/src/lib/seam/connect/models/acs/acs-user.ts +41 -35
  38. package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
  39. package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
  40. package/src/lib/seam/connect/openapi.ts +249 -90
  41. package/src/lib/seam/connect/route-types.ts +187 -78
  42. package/src/lib/seam/devicedb/models/device-model.ts +24 -19
  43. package/src/lib/seam/devicedb/route-types.ts +8 -8
  44. package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +0 -1
  45. /package/lib/seam/connect/models/thermostats/{climate-setting-schedule.d.ts → thermostat-schedule.d.ts} +0 -0
  46. /package/src/lib/seam/connect/models/thermostats/{climate-setting-schedule.ts → thermostat-schedule.ts} +0 -0
@@ -2605,7 +2605,9 @@ export interface Routes {
2605
2605
  warning_code: 'being_deleted'
2606
2606
  }
2607
2607
  | {
2608
+ /** Date and time at which Seam created the error. */
2608
2609
  created_at: string
2610
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2609
2611
  message: string
2610
2612
  warning_code: 'failed_to_update_on_acs_system'
2611
2613
  }
@@ -2614,33 +2616,42 @@ export interface Routes {
2614
2616
  message: string
2615
2617
  warning_code: 'salto_ks_user_not_subscribed'
2616
2618
  }
2619
+ >
2620
+ errors: Array<
2617
2621
  | {
2622
+ /** Date and time at which Seam created the error. */
2618
2623
  created_at: string
2624
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2619
2625
  message: string
2620
- warning_code: 'salto_site_user_suspended'
2626
+ error_code: 'deleted_externally'
2621
2627
  }
2622
- >
2623
- errors: Array<
2624
2628
  | {
2625
2629
  /** Date and time at which Seam created the error. */
2626
2630
  created_at: string
2627
2631
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2628
2632
  message: string
2629
- error_code: 'user_deleted_externally'
2633
+ error_code: 'salto_ks_subscription_limit_exceeded'
2630
2634
  }
2631
2635
  | {
2632
2636
  /** Date and time at which Seam created the error. */
2633
2637
  created_at: string
2634
2638
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2635
2639
  message: string
2636
- error_code: 'salto_ks_subscription_limit_exceeded'
2640
+ warning_code: 'failed_to_create_on_acs_system'
2637
2641
  }
2638
2642
  | {
2639
2643
  /** Date and time at which Seam created the error. */
2640
2644
  created_at: string
2641
2645
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2642
2646
  message: string
2643
- error_code: 'salto_site_user_limit_reached'
2647
+ warning_code: 'failed_to_update_on_acs_system'
2648
+ }
2649
+ | {
2650
+ /** Date and time at which Seam created the error. */
2651
+ created_at: string
2652
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
2653
+ message: string
2654
+ warning_code: 'failed_to_delete_on_acs_system'
2644
2655
  }
2645
2656
  >
2646
2657
  full_name?: string | undefined
@@ -3623,15 +3634,23 @@ export interface Routes {
3623
3634
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3624
3635
  message: string
3625
3636
  /** 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. */
3626
- error_code: 'salto_site_user_limit_reached'
3637
+ error_code: 'salto_ks_subscription_limit_exceeded'
3638
+ }
3639
+ | {
3640
+ /** Date and time at which Seam created the error. */
3641
+ created_at: string
3642
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3643
+ message: string
3644
+ /** 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. */
3645
+ error_code: 'acs_system_disconnected'
3627
3646
  }
3628
3647
  | {
3629
3648
  /** Date and time at which Seam created the error. */
3630
3649
  created_at: string
3631
3650
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3632
3651
  message: string
3633
- /** 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 */
3634
- error_code: 'salto_seam_integration_blocked'
3652
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
3653
+ error_code: 'account_disconnected'
3635
3654
  }
3636
3655
  >
3637
3656
  /** Warnings associated with the `acs_system`. */
@@ -3640,8 +3659,8 @@ export interface Routes {
3640
3659
  created_at: string
3641
3660
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3642
3661
  message: string
3643
- /** 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. */
3644
- warning_code: 'salto_site_user_limit_almost_reached'
3662
+ /** 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. */
3663
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
3645
3664
  }>
3646
3665
  /** 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`. */
3647
3666
  can_automate_enrollment?: boolean | undefined
@@ -3743,15 +3762,23 @@ export interface Routes {
3743
3762
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3744
3763
  message: string
3745
3764
  /** 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. */
3746
- error_code: 'salto_site_user_limit_reached'
3765
+ error_code: 'salto_ks_subscription_limit_exceeded'
3747
3766
  }
3748
3767
  | {
3749
3768
  /** Date and time at which Seam created the error. */
3750
3769
  created_at: string
3751
3770
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3752
3771
  message: string
3753
- /** 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 */
3754
- error_code: 'salto_seam_integration_blocked'
3772
+ /** 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. */
3773
+ error_code: 'acs_system_disconnected'
3774
+ }
3775
+ | {
3776
+ /** Date and time at which Seam created the error. */
3777
+ created_at: string
3778
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3779
+ message: string
3780
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
3781
+ error_code: 'account_disconnected'
3755
3782
  }
3756
3783
  >
3757
3784
  /** Warnings associated with the `acs_system`. */
@@ -3760,8 +3787,8 @@ export interface Routes {
3760
3787
  created_at: string
3761
3788
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3762
3789
  message: string
3763
- /** 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. */
3764
- warning_code: 'salto_site_user_limit_almost_reached'
3790
+ /** 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. */
3791
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
3765
3792
  }>
3766
3793
  /** 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`. */
3767
3794
  can_automate_enrollment?: boolean | undefined
@@ -3863,15 +3890,23 @@ export interface Routes {
3863
3890
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3864
3891
  message: string
3865
3892
  /** 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. */
3866
- error_code: 'salto_site_user_limit_reached'
3893
+ error_code: 'salto_ks_subscription_limit_exceeded'
3894
+ }
3895
+ | {
3896
+ /** Date and time at which Seam created the error. */
3897
+ created_at: string
3898
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3899
+ message: string
3900
+ /** 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. */
3901
+ error_code: 'acs_system_disconnected'
3867
3902
  }
3868
3903
  | {
3869
3904
  /** Date and time at which Seam created the error. */
3870
3905
  created_at: string
3871
3906
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3872
3907
  message: string
3873
- /** 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 */
3874
- error_code: 'salto_seam_integration_blocked'
3908
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
3909
+ error_code: 'account_disconnected'
3875
3910
  }
3876
3911
  >
3877
3912
  /** Warnings associated with the `acs_system`. */
@@ -3880,8 +3915,8 @@ export interface Routes {
3880
3915
  created_at: string
3881
3916
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
3882
3917
  message: string
3883
- /** 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. */
3884
- warning_code: 'salto_site_user_limit_almost_reached'
3918
+ /** 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. */
3919
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
3885
3920
  }>
3886
3921
  /** 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`. */
3887
3922
  can_automate_enrollment?: boolean | undefined
@@ -3967,7 +4002,9 @@ export interface Routes {
3967
4002
  warning_code: 'being_deleted'
3968
4003
  }
3969
4004
  | {
4005
+ /** Date and time at which Seam created the error. */
3970
4006
  created_at: string
4007
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3971
4008
  message: string
3972
4009
  warning_code: 'failed_to_update_on_acs_system'
3973
4010
  }
@@ -3976,33 +4013,42 @@ export interface Routes {
3976
4013
  message: string
3977
4014
  warning_code: 'salto_ks_user_not_subscribed'
3978
4015
  }
4016
+ >
4017
+ errors: Array<
3979
4018
  | {
4019
+ /** Date and time at which Seam created the error. */
3980
4020
  created_at: string
4021
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3981
4022
  message: string
3982
- warning_code: 'salto_site_user_suspended'
4023
+ error_code: 'deleted_externally'
3983
4024
  }
3984
- >
3985
- errors: Array<
3986
4025
  | {
3987
4026
  /** Date and time at which Seam created the error. */
3988
4027
  created_at: string
3989
4028
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3990
4029
  message: string
3991
- error_code: 'user_deleted_externally'
4030
+ error_code: 'salto_ks_subscription_limit_exceeded'
3992
4031
  }
3993
4032
  | {
3994
4033
  /** Date and time at which Seam created the error. */
3995
4034
  created_at: string
3996
4035
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
3997
4036
  message: string
3998
- error_code: 'salto_ks_subscription_limit_exceeded'
4037
+ warning_code: 'failed_to_create_on_acs_system'
3999
4038
  }
4000
4039
  | {
4001
4040
  /** Date and time at which Seam created the error. */
4002
4041
  created_at: string
4003
4042
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4004
4043
  message: string
4005
- error_code: 'salto_site_user_limit_reached'
4044
+ warning_code: 'failed_to_update_on_acs_system'
4045
+ }
4046
+ | {
4047
+ /** Date and time at which Seam created the error. */
4048
+ created_at: string
4049
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4050
+ message: string
4051
+ warning_code: 'failed_to_delete_on_acs_system'
4006
4052
  }
4007
4053
  >
4008
4054
  full_name?: string | undefined
@@ -4073,7 +4119,9 @@ export interface Routes {
4073
4119
  warning_code: 'being_deleted'
4074
4120
  }
4075
4121
  | {
4122
+ /** Date and time at which Seam created the error. */
4076
4123
  created_at: string
4124
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4077
4125
  message: string
4078
4126
  warning_code: 'failed_to_update_on_acs_system'
4079
4127
  }
@@ -4082,33 +4130,42 @@ export interface Routes {
4082
4130
  message: string
4083
4131
  warning_code: 'salto_ks_user_not_subscribed'
4084
4132
  }
4133
+ >
4134
+ errors: Array<
4085
4135
  | {
4136
+ /** Date and time at which Seam created the error. */
4086
4137
  created_at: string
4138
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4087
4139
  message: string
4088
- warning_code: 'salto_site_user_suspended'
4140
+ error_code: 'deleted_externally'
4089
4141
  }
4090
- >
4091
- errors: Array<
4092
4142
  | {
4093
4143
  /** Date and time at which Seam created the error. */
4094
4144
  created_at: string
4095
4145
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4096
4146
  message: string
4097
- error_code: 'user_deleted_externally'
4147
+ error_code: 'salto_ks_subscription_limit_exceeded'
4098
4148
  }
4099
4149
  | {
4100
4150
  /** Date and time at which Seam created the error. */
4101
4151
  created_at: string
4102
4152
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4103
4153
  message: string
4104
- error_code: 'salto_ks_subscription_limit_exceeded'
4154
+ warning_code: 'failed_to_create_on_acs_system'
4155
+ }
4156
+ | {
4157
+ /** Date and time at which Seam created the error. */
4158
+ created_at: string
4159
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4160
+ message: string
4161
+ warning_code: 'failed_to_update_on_acs_system'
4105
4162
  }
4106
4163
  | {
4107
4164
  /** Date and time at which Seam created the error. */
4108
4165
  created_at: string
4109
4166
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4110
4167
  message: string
4111
- error_code: 'salto_site_user_limit_reached'
4168
+ warning_code: 'failed_to_delete_on_acs_system'
4112
4169
  }
4113
4170
  >
4114
4171
  full_name?: string | undefined
@@ -4173,7 +4230,9 @@ export interface Routes {
4173
4230
  warning_code: 'being_deleted'
4174
4231
  }
4175
4232
  | {
4233
+ /** Date and time at which Seam created the error. */
4176
4234
  created_at: string
4235
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4177
4236
  message: string
4178
4237
  warning_code: 'failed_to_update_on_acs_system'
4179
4238
  }
@@ -4182,33 +4241,42 @@ export interface Routes {
4182
4241
  message: string
4183
4242
  warning_code: 'salto_ks_user_not_subscribed'
4184
4243
  }
4244
+ >
4245
+ errors: Array<
4185
4246
  | {
4247
+ /** Date and time at which Seam created the error. */
4186
4248
  created_at: string
4249
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4187
4250
  message: string
4188
- warning_code: 'salto_site_user_suspended'
4251
+ error_code: 'deleted_externally'
4189
4252
  }
4190
- >
4191
- errors: Array<
4192
4253
  | {
4193
4254
  /** Date and time at which Seam created the error. */
4194
4255
  created_at: string
4195
4256
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4196
4257
  message: string
4197
- error_code: 'user_deleted_externally'
4258
+ error_code: 'salto_ks_subscription_limit_exceeded'
4198
4259
  }
4199
4260
  | {
4200
4261
  /** Date and time at which Seam created the error. */
4201
4262
  created_at: string
4202
4263
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4203
4264
  message: string
4204
- error_code: 'salto_ks_subscription_limit_exceeded'
4265
+ warning_code: 'failed_to_create_on_acs_system'
4205
4266
  }
4206
4267
  | {
4207
4268
  /** Date and time at which Seam created the error. */
4208
4269
  created_at: string
4209
4270
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4210
4271
  message: string
4211
- error_code: 'salto_site_user_limit_reached'
4272
+ warning_code: 'failed_to_update_on_acs_system'
4273
+ }
4274
+ | {
4275
+ /** Date and time at which Seam created the error. */
4276
+ created_at: string
4277
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4278
+ message: string
4279
+ warning_code: 'failed_to_delete_on_acs_system'
4212
4280
  }
4213
4281
  >
4214
4282
  full_name?: string | undefined
@@ -4349,7 +4417,9 @@ export interface Routes {
4349
4417
  warning_code: 'being_deleted'
4350
4418
  }
4351
4419
  | {
4420
+ /** Date and time at which Seam created the error. */
4352
4421
  created_at: string
4422
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4353
4423
  message: string
4354
4424
  warning_code: 'failed_to_update_on_acs_system'
4355
4425
  }
@@ -4358,33 +4428,42 @@ export interface Routes {
4358
4428
  message: string
4359
4429
  warning_code: 'salto_ks_user_not_subscribed'
4360
4430
  }
4431
+ >
4432
+ errors: Array<
4361
4433
  | {
4434
+ /** Date and time at which Seam created the error. */
4362
4435
  created_at: string
4436
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4363
4437
  message: string
4364
- warning_code: 'salto_site_user_suspended'
4438
+ error_code: 'deleted_externally'
4365
4439
  }
4366
- >
4367
- errors: Array<
4368
4440
  | {
4369
4441
  /** Date and time at which Seam created the error. */
4370
4442
  created_at: string
4371
4443
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4372
4444
  message: string
4373
- error_code: 'user_deleted_externally'
4445
+ error_code: 'salto_ks_subscription_limit_exceeded'
4374
4446
  }
4375
4447
  | {
4376
4448
  /** Date and time at which Seam created the error. */
4377
4449
  created_at: string
4378
4450
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4379
4451
  message: string
4380
- error_code: 'salto_ks_subscription_limit_exceeded'
4452
+ warning_code: 'failed_to_create_on_acs_system'
4453
+ }
4454
+ | {
4455
+ /** Date and time at which Seam created the error. */
4456
+ created_at: string
4457
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4458
+ message: string
4459
+ warning_code: 'failed_to_update_on_acs_system'
4381
4460
  }
4382
4461
  | {
4383
4462
  /** Date and time at which Seam created the error. */
4384
4463
  created_at: string
4385
4464
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4386
4465
  message: string
4387
- error_code: 'salto_site_user_limit_reached'
4466
+ warning_code: 'failed_to_delete_on_acs_system'
4388
4467
  }
4389
4468
  >
4390
4469
  full_name?: string | undefined
@@ -4448,7 +4527,9 @@ export interface Routes {
4448
4527
  warning_code: 'being_deleted'
4449
4528
  }
4450
4529
  | {
4530
+ /** Date and time at which Seam created the error. */
4451
4531
  created_at: string
4532
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4452
4533
  message: string
4453
4534
  warning_code: 'failed_to_update_on_acs_system'
4454
4535
  }
@@ -4457,33 +4538,42 @@ export interface Routes {
4457
4538
  message: string
4458
4539
  warning_code: 'salto_ks_user_not_subscribed'
4459
4540
  }
4541
+ >
4542
+ errors: Array<
4543
+ | {
4544
+ /** Date and time at which Seam created the error. */
4545
+ created_at: string
4546
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4547
+ message: string
4548
+ error_code: 'deleted_externally'
4549
+ }
4460
4550
  | {
4551
+ /** Date and time at which Seam created the error. */
4461
4552
  created_at: string
4553
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4462
4554
  message: string
4463
- warning_code: 'salto_site_user_suspended'
4555
+ error_code: 'salto_ks_subscription_limit_exceeded'
4464
4556
  }
4465
- >
4466
- errors: Array<
4467
4557
  | {
4468
4558
  /** Date and time at which Seam created the error. */
4469
4559
  created_at: string
4470
4560
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4471
4561
  message: string
4472
- error_code: 'user_deleted_externally'
4562
+ warning_code: 'failed_to_create_on_acs_system'
4473
4563
  }
4474
4564
  | {
4475
4565
  /** Date and time at which Seam created the error. */
4476
4566
  created_at: string
4477
4567
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4478
4568
  message: string
4479
- error_code: 'salto_ks_subscription_limit_exceeded'
4569
+ warning_code: 'failed_to_update_on_acs_system'
4480
4570
  }
4481
4571
  | {
4482
4572
  /** Date and time at which Seam created the error. */
4483
4573
  created_at: string
4484
4574
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
4485
4575
  message: string
4486
- error_code: 'salto_site_user_limit_reached'
4576
+ warning_code: 'failed_to_delete_on_acs_system'
4487
4577
  }
4488
4578
  >
4489
4579
  full_name?: string | undefined
@@ -6413,7 +6503,7 @@ export interface Routes {
6413
6503
  climate_preset_key: string
6414
6504
  can_edit: boolean
6415
6505
  can_delete: boolean
6416
- name: string | null
6506
+ name?: string | null
6417
6507
  display_name: string
6418
6508
  fan_mode_setting?: ('auto' | 'on') | undefined
6419
6509
  hvac_mode_setting?:
@@ -7158,7 +7248,7 @@ export interface Routes {
7158
7248
  climate_preset_key: string
7159
7249
  can_edit: boolean
7160
7250
  can_delete: boolean
7161
- name: string | null
7251
+ name?: string | null
7162
7252
  display_name: string
7163
7253
  fan_mode_setting?: ('auto' | 'on') | undefined
7164
7254
  hvac_mode_setting?:
@@ -8569,7 +8659,7 @@ export interface Routes {
8569
8659
  climate_preset_key: string
8570
8660
  can_edit: boolean
8571
8661
  can_delete: boolean
8572
- name: string | null
8662
+ name?: string | null
8573
8663
  display_name: string
8574
8664
  fan_mode_setting?: ('auto' | 'on') | undefined
8575
8665
  hvac_mode_setting?:
@@ -9148,7 +9238,7 @@ export interface Routes {
9148
9238
  climate_preset_key: string
9149
9239
  can_edit: boolean
9150
9240
  can_delete: boolean
9151
- name: string | null
9241
+ name?: string | null
9152
9242
  display_name: string
9153
9243
  fan_mode_setting?: ('auto' | 'on') | undefined
9154
9244
  hvac_mode_setting?:
@@ -9893,7 +9983,7 @@ export interface Routes {
9893
9983
  climate_preset_key: string
9894
9984
  can_edit: boolean
9895
9985
  can_delete: boolean
9896
- name: string | null
9986
+ name?: string | null
9897
9987
  display_name: string
9898
9988
  fan_mode_setting?: ('auto' | 'on') | undefined
9899
9989
  hvac_mode_setting?:
@@ -10472,7 +10562,7 @@ export interface Routes {
10472
10562
  climate_preset_key: string
10473
10563
  can_edit: boolean
10474
10564
  can_delete: boolean
10475
- name: string | null
10565
+ name?: string | null
10476
10566
  display_name: string
10477
10567
  fan_mode_setting?: ('auto' | 'on') | undefined
10478
10568
  hvac_mode_setting?:
@@ -12143,7 +12233,7 @@ export interface Routes {
12143
12233
  climate_preset_key: string
12144
12234
  can_edit: boolean
12145
12235
  can_delete: boolean
12146
- name: string | null
12236
+ name?: string | null
12147
12237
  display_name: string
12148
12238
  fan_mode_setting?: ('auto' | 'on') | undefined
12149
12239
  hvac_mode_setting?:
@@ -12722,7 +12812,7 @@ export interface Routes {
12722
12812
  climate_preset_key: string
12723
12813
  can_edit: boolean
12724
12814
  can_delete: boolean
12725
- name: string | null
12815
+ name?: string | null
12726
12816
  display_name: string
12727
12817
  fan_mode_setting?: ('auto' | 'on') | undefined
12728
12818
  hvac_mode_setting?:
@@ -15318,7 +15408,7 @@ export interface Routes {
15318
15408
  jsonBody: {
15319
15409
  device_id: string
15320
15410
  climate_preset_key: string
15321
- name: string | null
15411
+ name?: string | null
15322
15412
  fan_mode_setting?: ('auto' | 'on') | undefined
15323
15413
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined
15324
15414
  cooling_set_point_celsius?: number | undefined
@@ -15334,7 +15424,7 @@ export interface Routes {
15334
15424
  climate_preset_key: string
15335
15425
  can_edit: boolean
15336
15426
  can_delete: boolean
15337
- name: string | null
15427
+ name?: string | null
15338
15428
  display_name: string
15339
15429
  fan_mode_setting?: ('auto' | 'on') | undefined
15340
15430
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined
@@ -15863,7 +15953,7 @@ export interface Routes {
15863
15953
  climate_preset_key: string
15864
15954
  can_edit: boolean
15865
15955
  can_delete: boolean
15866
- name: string | null
15956
+ name?: string | null
15867
15957
  display_name: string
15868
15958
  fan_mode_setting?: ('auto' | 'on') | undefined
15869
15959
  hvac_mode_setting?:
@@ -17506,7 +17596,7 @@ export interface Routes {
17506
17596
  climate_preset_key: string
17507
17597
  can_edit: boolean
17508
17598
  can_delete: boolean
17509
- name: string | null
17599
+ name?: string | null
17510
17600
  display_name: string
17511
17601
  fan_mode_setting?: ('auto' | 'on') | undefined
17512
17602
  hvac_mode_setting?:
@@ -18626,7 +18716,7 @@ export interface Routes {
18626
18716
  jsonBody: {
18627
18717
  device_id: string
18628
18718
  climate_preset_key: string
18629
- name: string | null
18719
+ name?: string | null
18630
18720
  fan_mode_setting?: ('auto' | 'on') | undefined
18631
18721
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined
18632
18722
  cooling_set_point_celsius?: number | undefined
@@ -18642,7 +18732,7 @@ export interface Routes {
18642
18732
  climate_preset_key: string
18643
18733
  can_edit: boolean
18644
18734
  can_delete: boolean
18645
- name: string | null
18735
+ name?: string | null
18646
18736
  display_name: string
18647
18737
  fan_mode_setting?: ('auto' | 'on') | undefined
18648
18738
  hvac_mode_setting?: ('off' | 'heat' | 'cool' | 'heat_cool') | undefined
@@ -19339,7 +19429,7 @@ export interface Routes {
19339
19429
  climate_preset_key: string
19340
19430
  can_edit: boolean
19341
19431
  can_delete: boolean
19342
- name: string | null
19432
+ name?: string | null
19343
19433
  display_name: string
19344
19434
  fan_mode_setting?: ('auto' | 'on') | undefined
19345
19435
  hvac_mode_setting?:
@@ -19920,7 +20010,7 @@ export interface Routes {
19920
20010
  climate_preset_key: string
19921
20011
  can_edit: boolean
19922
20012
  can_delete: boolean
19923
- name: string | null
20013
+ name?: string | null
19924
20014
  display_name: string
19925
20015
  fan_mode_setting?: ('auto' | 'on') | undefined
19926
20016
  hvac_mode_setting?:
@@ -20095,15 +20185,23 @@ export interface Routes {
20095
20185
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20096
20186
  message: string
20097
20187
  /** 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. */
20098
- error_code: 'salto_site_user_limit_reached'
20188
+ error_code: 'salto_ks_subscription_limit_exceeded'
20099
20189
  }
20100
20190
  | {
20101
20191
  /** Date and time at which Seam created the error. */
20102
20192
  created_at: string
20103
20193
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20104
20194
  message: string
20105
- /** 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 */
20106
- error_code: 'salto_seam_integration_blocked'
20195
+ /** 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. */
20196
+ error_code: 'acs_system_disconnected'
20197
+ }
20198
+ | {
20199
+ /** Date and time at which Seam created the error. */
20200
+ created_at: string
20201
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20202
+ message: string
20203
+ /** Indicates that the login credentials are invalid. Please reconnect the account using the Connect Webview to restore access. */
20204
+ error_code: 'account_disconnected'
20107
20205
  }
20108
20206
  >
20109
20207
  /** Warnings associated with the `acs_system`. */
@@ -20112,8 +20210,8 @@ export interface Routes {
20112
20210
  created_at: string
20113
20211
  /** Detailed description of the warning. Provides insights into the issue and potentially how to rectify it. */
20114
20212
  message: string
20115
- /** 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. */
20116
- warning_code: 'salto_site_user_limit_almost_reached'
20213
+ /** 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. */
20214
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
20117
20215
  }>
20118
20216
  /** 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`. */
20119
20217
  can_automate_enrollment?: boolean | undefined
@@ -20173,7 +20271,9 @@ export interface Routes {
20173
20271
  warning_code: 'being_deleted'
20174
20272
  }
20175
20273
  | {
20274
+ /** Date and time at which Seam created the error. */
20176
20275
  created_at: string
20276
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20177
20277
  message: string
20178
20278
  warning_code: 'failed_to_update_on_acs_system'
20179
20279
  }
@@ -20182,33 +20282,42 @@ export interface Routes {
20182
20282
  message: string
20183
20283
  warning_code: 'salto_ks_user_not_subscribed'
20184
20284
  }
20285
+ >
20286
+ errors: Array<
20185
20287
  | {
20288
+ /** Date and time at which Seam created the error. */
20186
20289
  created_at: string
20290
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20187
20291
  message: string
20188
- warning_code: 'salto_site_user_suspended'
20292
+ error_code: 'deleted_externally'
20189
20293
  }
20190
- >
20191
- errors: Array<
20192
20294
  | {
20193
20295
  /** Date and time at which Seam created the error. */
20194
20296
  created_at: string
20195
20297
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20196
20298
  message: string
20197
- error_code: 'user_deleted_externally'
20299
+ error_code: 'salto_ks_subscription_limit_exceeded'
20198
20300
  }
20199
20301
  | {
20200
20302
  /** Date and time at which Seam created the error. */
20201
20303
  created_at: string
20202
20304
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20203
20305
  message: string
20204
- error_code: 'salto_ks_subscription_limit_exceeded'
20306
+ warning_code: 'failed_to_create_on_acs_system'
20307
+ }
20308
+ | {
20309
+ /** Date and time at which Seam created the error. */
20310
+ created_at: string
20311
+ /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20312
+ message: string
20313
+ warning_code: 'failed_to_update_on_acs_system'
20205
20314
  }
20206
20315
  | {
20207
20316
  /** Date and time at which Seam created the error. */
20208
20317
  created_at: string
20209
20318
  /** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
20210
20319
  message: string
20211
- error_code: 'salto_site_user_limit_reached'
20320
+ warning_code: 'failed_to_delete_on_acs_system'
20212
20321
  }
20213
20322
  >
20214
20323
  full_name?: string | undefined