@seamapi/types 1.358.0 → 1.360.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 (38) hide show
  1. package/dist/connect.cjs +532 -11
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2726 -1075
  4. package/lib/seam/connect/model-types.d.ts +1 -1
  5. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +100 -0
  6. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +100 -0
  7. package/lib/seam/connect/models/acs/acs-access-group.d.ts +14 -14
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +74 -74
  9. package/lib/seam/connect/models/acs/acs-encoder.d.ts +8 -8
  10. package/lib/seam/connect/models/acs/acs-system.d.ts +72 -72
  11. package/lib/seam/connect/models/acs/acs-user.d.ts +104 -104
  12. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +168 -168
  13. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +72 -72
  14. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +96 -96
  15. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  16. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +634 -21
  17. package/lib/seam/connect/models/connected-accounts/connected-account.js +56 -0
  18. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  19. package/lib/seam/connect/models/devices/device-metadata.d.ts +24 -24
  20. package/lib/seam/connect/models/devices/device.d.ts +146 -46
  21. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +127 -27
  22. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  23. package/lib/seam/connect/models/events/connect-webviews.d.ts +4 -4
  24. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  25. package/lib/seam/connect/models/events/devices.d.ts +188 -128
  26. package/lib/seam/connect/models/events/devices.js +10 -0
  27. package/lib/seam/connect/models/events/devices.js.map +1 -1
  28. package/lib/seam/connect/models/events/seam-event.d.ts +144 -115
  29. package/lib/seam/connect/openapi.d.ts +482 -4
  30. package/lib/seam/connect/openapi.js +469 -2
  31. package/lib/seam/connect/openapi.js.map +1 -1
  32. package/lib/seam/connect/route-types.d.ts +601 -2
  33. package/package.json +2 -2
  34. package/src/lib/seam/connect/model-types.ts +0 -2
  35. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
  36. package/src/lib/seam/connect/models/events/devices.ts +13 -0
  37. package/src/lib/seam/connect/openapi.ts +502 -2
  38. package/src/lib/seam/connect/route-types.ts +633 -0
@@ -1257,17 +1257,37 @@ export interface Routes {
1257
1257
  error_code: 'subscription_required'
1258
1258
  }
1259
1259
  | {
1260
+ /** Date and time at which Seam created the error. */
1261
+ created_at: string
1260
1262
  message: string
1261
1263
  is_connected_account_error: true
1262
1264
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1263
1265
  error_code: 'account_disconnected'
1264
1266
  }
1265
1267
  | {
1268
+ /** Date and time at which Seam created the error. */
1269
+ created_at: string
1266
1270
  message: string
1267
1271
  is_connected_account_error: true
1268
1272
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1269
1273
  error_code: 'invalid_credentials'
1270
1274
  }
1275
+ | {
1276
+ /** Date and time at which Seam created the error. */
1277
+ created_at: string
1278
+ message: string
1279
+ is_connected_account_error: true
1280
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1281
+ error_code: 'salto_ks_subscription_limit_exceeded'
1282
+ salto_ks_metadata: {
1283
+ sites: Array<{
1284
+ site_id: string
1285
+ site_name: string
1286
+ subscribed_site_user_count: number
1287
+ site_user_subscription_limit: number
1288
+ }>
1289
+ }
1290
+ }
1271
1291
  >
1272
1292
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
1273
1293
  warnings: Array<
@@ -1590,17 +1610,37 @@ export interface Routes {
1590
1610
  error_code: 'subscription_required'
1591
1611
  }
1592
1612
  | {
1613
+ /** Date and time at which Seam created the error. */
1614
+ created_at: string
1593
1615
  message: string
1594
1616
  is_connected_account_error: true
1595
1617
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1596
1618
  error_code: 'account_disconnected'
1597
1619
  }
1598
1620
  | {
1621
+ /** Date and time at which Seam created the error. */
1622
+ created_at: string
1599
1623
  message: string
1600
1624
  is_connected_account_error: true
1601
1625
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1602
1626
  error_code: 'invalid_credentials'
1603
1627
  }
1628
+ | {
1629
+ /** Date and time at which Seam created the error. */
1630
+ created_at: string
1631
+ message: string
1632
+ is_connected_account_error: true
1633
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1634
+ error_code: 'salto_ks_subscription_limit_exceeded'
1635
+ salto_ks_metadata: {
1636
+ sites: Array<{
1637
+ site_id: string
1638
+ site_name: string
1639
+ subscribed_site_user_count: number
1640
+ site_user_subscription_limit: number
1641
+ }>
1642
+ }
1643
+ }
1604
1644
  >
1605
1645
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
1606
1646
  warnings: Array<
@@ -2964,17 +3004,37 @@ export interface Routes {
2964
3004
  error_code: 'subscription_required'
2965
3005
  }
2966
3006
  | {
3007
+ /** Date and time at which Seam created the error. */
3008
+ created_at: string
2967
3009
  message: string
2968
3010
  is_connected_account_error: true
2969
3011
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2970
3012
  error_code: 'account_disconnected'
2971
3013
  }
2972
3014
  | {
3015
+ /** Date and time at which Seam created the error. */
3016
+ created_at: string
2973
3017
  message: string
2974
3018
  is_connected_account_error: true
2975
3019
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2976
3020
  error_code: 'invalid_credentials'
2977
3021
  }
3022
+ | {
3023
+ /** Date and time at which Seam created the error. */
3024
+ created_at: string
3025
+ message: string
3026
+ is_connected_account_error: true
3027
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3028
+ error_code: 'salto_ks_subscription_limit_exceeded'
3029
+ salto_ks_metadata: {
3030
+ sites: Array<{
3031
+ site_id: string
3032
+ site_name: string
3033
+ subscribed_site_user_count: number
3034
+ site_user_subscription_limit: number
3035
+ }>
3036
+ }
3037
+ }
2978
3038
  >
2979
3039
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
2980
3040
  warnings: Array<
@@ -3284,17 +3344,37 @@ export interface Routes {
3284
3344
  error_code: 'subscription_required'
3285
3345
  }
3286
3346
  | {
3347
+ /** Date and time at which Seam created the error. */
3348
+ created_at: string
3287
3349
  message: string
3288
3350
  is_connected_account_error: true
3289
3351
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3290
3352
  error_code: 'account_disconnected'
3291
3353
  }
3292
3354
  | {
3355
+ /** Date and time at which Seam created the error. */
3356
+ created_at: string
3293
3357
  message: string
3294
3358
  is_connected_account_error: true
3295
3359
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3296
3360
  error_code: 'invalid_credentials'
3297
3361
  }
3362
+ | {
3363
+ /** Date and time at which Seam created the error. */
3364
+ created_at: string
3365
+ message: string
3366
+ is_connected_account_error: true
3367
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3368
+ error_code: 'salto_ks_subscription_limit_exceeded'
3369
+ salto_ks_metadata: {
3370
+ sites: Array<{
3371
+ site_id: string
3372
+ site_name: string
3373
+ subscribed_site_user_count: number
3374
+ site_user_subscription_limit: number
3375
+ }>
3376
+ }
3377
+ }
3298
3378
  >
3299
3379
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
3300
3380
  warnings: Array<
@@ -3603,17 +3683,37 @@ export interface Routes {
3603
3683
  error_code: 'subscription_required'
3604
3684
  }
3605
3685
  | {
3686
+ /** Date and time at which Seam created the error. */
3687
+ created_at: string
3606
3688
  message: string
3607
3689
  is_connected_account_error: true
3608
3690
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3609
3691
  error_code: 'account_disconnected'
3610
3692
  }
3611
3693
  | {
3694
+ /** Date and time at which Seam created the error. */
3695
+ created_at: string
3612
3696
  message: string
3613
3697
  is_connected_account_error: true
3614
3698
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3615
3699
  error_code: 'invalid_credentials'
3616
3700
  }
3701
+ | {
3702
+ /** Date and time at which Seam created the error. */
3703
+ created_at: string
3704
+ message: string
3705
+ is_connected_account_error: true
3706
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3707
+ error_code: 'salto_ks_subscription_limit_exceeded'
3708
+ salto_ks_metadata: {
3709
+ sites: Array<{
3710
+ site_id: string
3711
+ site_name: string
3712
+ subscribed_site_user_count: number
3713
+ site_user_subscription_limit: number
3714
+ }>
3715
+ }
3716
+ }
3617
3717
  >
3618
3718
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
3619
3719
  warnings: Array<
@@ -3910,17 +4010,37 @@ export interface Routes {
3910
4010
  error_code: 'subscription_required'
3911
4011
  }
3912
4012
  | {
4013
+ /** Date and time at which Seam created the error. */
4014
+ created_at: string
3913
4015
  message: string
3914
4016
  is_connected_account_error: true
3915
4017
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3916
4018
  error_code: 'account_disconnected'
3917
4019
  }
3918
4020
  | {
4021
+ /** Date and time at which Seam created the error. */
4022
+ created_at: string
3919
4023
  message: string
3920
4024
  is_connected_account_error: true
3921
4025
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3922
4026
  error_code: 'invalid_credentials'
3923
4027
  }
4028
+ | {
4029
+ /** Date and time at which Seam created the error. */
4030
+ created_at: string
4031
+ message: string
4032
+ is_connected_account_error: true
4033
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4034
+ error_code: 'salto_ks_subscription_limit_exceeded'
4035
+ salto_ks_metadata: {
4036
+ sites: Array<{
4037
+ site_id: string
4038
+ site_name: string
4039
+ subscribed_site_user_count: number
4040
+ site_user_subscription_limit: number
4041
+ }>
4042
+ }
4043
+ }
3924
4044
  >
3925
4045
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
3926
4046
  warnings: Array<
@@ -4225,17 +4345,37 @@ export interface Routes {
4225
4345
  error_code: 'subscription_required'
4226
4346
  }
4227
4347
  | {
4348
+ /** Date and time at which Seam created the error. */
4349
+ created_at: string
4228
4350
  message: string
4229
4351
  is_connected_account_error: true
4230
4352
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4231
4353
  error_code: 'account_disconnected'
4232
4354
  }
4233
4355
  | {
4356
+ /** Date and time at which Seam created the error. */
4357
+ created_at: string
4234
4358
  message: string
4235
4359
  is_connected_account_error: true
4236
4360
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4237
4361
  error_code: 'invalid_credentials'
4238
4362
  }
4363
+ | {
4364
+ /** Date and time at which Seam created the error. */
4365
+ created_at: string
4366
+ message: string
4367
+ is_connected_account_error: true
4368
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4369
+ error_code: 'salto_ks_subscription_limit_exceeded'
4370
+ salto_ks_metadata: {
4371
+ sites: Array<{
4372
+ site_id: string
4373
+ site_name: string
4374
+ subscribed_site_user_count: number
4375
+ site_user_subscription_limit: number
4376
+ }>
4377
+ }
4378
+ }
4239
4379
  >
4240
4380
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
4241
4381
  warnings: Array<
@@ -5575,17 +5715,37 @@ export interface Routes {
5575
5715
  error_code: 'subscription_required'
5576
5716
  }
5577
5717
  | {
5718
+ /** Date and time at which Seam created the error. */
5719
+ created_at: string
5578
5720
  message: string
5579
5721
  is_connected_account_error: true
5580
5722
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5581
5723
  error_code: 'account_disconnected'
5582
5724
  }
5583
5725
  | {
5726
+ /** Date and time at which Seam created the error. */
5727
+ created_at: string
5584
5728
  message: string
5585
5729
  is_connected_account_error: true
5586
5730
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5587
5731
  error_code: 'invalid_credentials'
5588
5732
  }
5733
+ | {
5734
+ /** Date and time at which Seam created the error. */
5735
+ created_at: string
5736
+ message: string
5737
+ is_connected_account_error: true
5738
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5739
+ error_code: 'salto_ks_subscription_limit_exceeded'
5740
+ salto_ks_metadata: {
5741
+ sites: Array<{
5742
+ site_id: string
5743
+ site_name: string
5744
+ subscribed_site_user_count: number
5745
+ site_user_subscription_limit: number
5746
+ }>
5747
+ }
5748
+ }
5589
5749
  >
5590
5750
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
5591
5751
  warnings: Array<
@@ -5872,17 +6032,37 @@ export interface Routes {
5872
6032
  error_code: 'subscription_required'
5873
6033
  }
5874
6034
  | {
6035
+ /** Date and time at which Seam created the error. */
6036
+ created_at: string
5875
6037
  message: string
5876
6038
  is_connected_account_error: true
5877
6039
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5878
6040
  error_code: 'account_disconnected'
5879
6041
  }
5880
6042
  | {
6043
+ /** Date and time at which Seam created the error. */
6044
+ created_at: string
5881
6045
  message: string
5882
6046
  is_connected_account_error: true
5883
6047
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5884
6048
  error_code: 'invalid_credentials'
5885
6049
  }
6050
+ | {
6051
+ /** Date and time at which Seam created the error. */
6052
+ created_at: string
6053
+ message: string
6054
+ is_connected_account_error: true
6055
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
6056
+ error_code: 'salto_ks_subscription_limit_exceeded'
6057
+ salto_ks_metadata: {
6058
+ sites: Array<{
6059
+ site_id: string
6060
+ site_name: string
6061
+ subscribed_site_user_count: number
6062
+ site_user_subscription_limit: number
6063
+ }>
6064
+ }
6065
+ }
5886
6066
  >
5887
6067
  /** Collection of warnings associated with the access code, structured in a dictionary format. A unique "warning_code" keys each warning. Each warning entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the warning. "created_at" is a date that indicates when the warning was generated. This structure enables detailed tracking and timely response to potential issues that are not critical but that may require attention. */
5888
6068
  warnings: Array<
@@ -15576,29 +15756,68 @@ export interface Routes {
15576
15756
  account_type_display_name: string
15577
15757
  errors: Array<
15578
15758
  | {
15759
+ /** Date and time at which Seam created the error. */
15760
+ created_at: string
15579
15761
  message: string
15580
15762
  is_connected_account_error: true
15581
15763
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15582
15764
  error_code: 'account_disconnected'
15583
15765
  }
15584
15766
  | {
15767
+ /** Date and time at which Seam created the error. */
15768
+ created_at: string
15585
15769
  message: string
15586
15770
  is_connected_account_error: true
15587
15771
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15588
15772
  error_code: 'invalid_credentials'
15589
15773
  }
15774
+ | {
15775
+ /** Date and time at which Seam created the error. */
15776
+ created_at: string
15777
+ message: string
15778
+ is_connected_account_error: true
15779
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15780
+ error_code: 'salto_ks_subscription_limit_exceeded'
15781
+ salto_ks_metadata: {
15782
+ sites: Array<{
15783
+ site_id: string
15784
+ site_name: string
15785
+ subscribed_site_user_count: number
15786
+ site_user_subscription_limit: number
15787
+ }>
15788
+ }
15789
+ }
15590
15790
  >
15591
15791
  warnings: Array<
15592
15792
  | {
15793
+ /** Date and time at which Seam created the warning. */
15794
+ created_at: string
15593
15795
  message: string
15594
15796
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15595
15797
  warning_code: 'scheduled_maintenance_window'
15596
15798
  }
15597
15799
  | {
15800
+ /** Date and time at which Seam created the warning. */
15801
+ created_at: string
15598
15802
  message: string
15599
15803
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15600
15804
  warning_code: 'unknown_issue_with_connected_account'
15601
15805
  }
15806
+ | {
15807
+ /** Date and time at which Seam created the warning. */
15808
+ created_at: string
15809
+ message: string
15810
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15811
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
15812
+ salto_ks_metadata: {
15813
+ sites: Array<{
15814
+ site_id: string
15815
+ site_name: string
15816
+ site_user_subscription_limit: number
15817
+ subscribed_site_user_count: number
15818
+ }>
15819
+ }
15820
+ }
15602
15821
  >
15603
15822
  custom_metadata: Record<string, string | boolean>
15604
15823
  automatically_manage_new_devices: boolean
@@ -15634,29 +15853,68 @@ export interface Routes {
15634
15853
  account_type_display_name: string
15635
15854
  errors: Array<
15636
15855
  | {
15856
+ /** Date and time at which Seam created the error. */
15857
+ created_at: string
15637
15858
  message: string
15638
15859
  is_connected_account_error: true
15639
15860
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15640
15861
  error_code: 'account_disconnected'
15641
15862
  }
15642
15863
  | {
15864
+ /** Date and time at which Seam created the error. */
15865
+ created_at: string
15643
15866
  message: string
15644
15867
  is_connected_account_error: true
15645
15868
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15646
15869
  error_code: 'invalid_credentials'
15647
15870
  }
15871
+ | {
15872
+ /** Date and time at which Seam created the error. */
15873
+ created_at: string
15874
+ message: string
15875
+ is_connected_account_error: true
15876
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15877
+ error_code: 'salto_ks_subscription_limit_exceeded'
15878
+ salto_ks_metadata: {
15879
+ sites: Array<{
15880
+ site_id: string
15881
+ site_name: string
15882
+ subscribed_site_user_count: number
15883
+ site_user_subscription_limit: number
15884
+ }>
15885
+ }
15886
+ }
15648
15887
  >
15649
15888
  warnings: Array<
15650
15889
  | {
15890
+ /** Date and time at which Seam created the warning. */
15891
+ created_at: string
15651
15892
  message: string
15652
15893
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15653
15894
  warning_code: 'scheduled_maintenance_window'
15654
15895
  }
15655
15896
  | {
15897
+ /** Date and time at which Seam created the warning. */
15898
+ created_at: string
15656
15899
  message: string
15657
15900
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15658
15901
  warning_code: 'unknown_issue_with_connected_account'
15659
15902
  }
15903
+ | {
15904
+ /** Date and time at which Seam created the warning. */
15905
+ created_at: string
15906
+ message: string
15907
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15908
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
15909
+ salto_ks_metadata: {
15910
+ sites: Array<{
15911
+ site_id: string
15912
+ site_name: string
15913
+ site_user_subscription_limit: number
15914
+ subscribed_site_user_count: number
15915
+ }>
15916
+ }
15917
+ }
15660
15918
  >
15661
15919
  custom_metadata: Record<string, string | boolean>
15662
15920
  automatically_manage_new_devices: boolean
@@ -15692,29 +15950,68 @@ export interface Routes {
15692
15950
  account_type_display_name: string
15693
15951
  errors: Array<
15694
15952
  | {
15953
+ /** Date and time at which Seam created the error. */
15954
+ created_at: string
15695
15955
  message: string
15696
15956
  is_connected_account_error: true
15697
15957
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15698
15958
  error_code: 'account_disconnected'
15699
15959
  }
15700
15960
  | {
15961
+ /** Date and time at which Seam created the error. */
15962
+ created_at: string
15701
15963
  message: string
15702
15964
  is_connected_account_error: true
15703
15965
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15704
15966
  error_code: 'invalid_credentials'
15705
15967
  }
15968
+ | {
15969
+ /** Date and time at which Seam created the error. */
15970
+ created_at: string
15971
+ message: string
15972
+ is_connected_account_error: true
15973
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15974
+ error_code: 'salto_ks_subscription_limit_exceeded'
15975
+ salto_ks_metadata: {
15976
+ sites: Array<{
15977
+ site_id: string
15978
+ site_name: string
15979
+ subscribed_site_user_count: number
15980
+ site_user_subscription_limit: number
15981
+ }>
15982
+ }
15983
+ }
15706
15984
  >
15707
15985
  warnings: Array<
15708
15986
  | {
15987
+ /** Date and time at which Seam created the warning. */
15988
+ created_at: string
15709
15989
  message: string
15710
15990
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15711
15991
  warning_code: 'scheduled_maintenance_window'
15712
15992
  }
15713
15993
  | {
15994
+ /** Date and time at which Seam created the warning. */
15995
+ created_at: string
15714
15996
  message: string
15715
15997
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
15716
15998
  warning_code: 'unknown_issue_with_connected_account'
15717
15999
  }
16000
+ | {
16001
+ /** Date and time at which Seam created the warning. */
16002
+ created_at: string
16003
+ message: string
16004
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
16005
+ warning_code: 'salto_ks_subscription_limit_almost_reached'
16006
+ salto_ks_metadata: {
16007
+ sites: Array<{
16008
+ site_id: string
16009
+ site_name: string
16010
+ site_user_subscription_limit: number
16011
+ subscribed_site_user_count: number
16012
+ }>
16013
+ }
16014
+ }
15718
16015
  >
15719
16016
  custom_metadata: Record<string, string | boolean>
15720
16017
  automatically_manage_new_devices: boolean
@@ -16504,17 +16801,37 @@ export interface Routes {
16504
16801
  error_code: 'subscription_required'
16505
16802
  }
16506
16803
  | {
16804
+ /** Date and time at which Seam created the error. */
16805
+ created_at: string
16507
16806
  message: string
16508
16807
  is_connected_account_error: true
16509
16808
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16510
16809
  error_code: 'account_disconnected'
16511
16810
  }
16512
16811
  | {
16812
+ /** Date and time at which Seam created the error. */
16813
+ created_at: string
16513
16814
  message: string
16514
16815
  is_connected_account_error: true
16515
16816
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16516
16817
  error_code: 'invalid_credentials'
16517
16818
  }
16819
+ | {
16820
+ /** Date and time at which Seam created the error. */
16821
+ created_at: string
16822
+ message: string
16823
+ is_connected_account_error: true
16824
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
16825
+ error_code: 'salto_ks_subscription_limit_exceeded'
16826
+ salto_ks_metadata: {
16827
+ sites: Array<{
16828
+ site_id: string
16829
+ site_name: string
16830
+ subscribed_site_user_count: number
16831
+ site_user_subscription_limit: number
16832
+ }>
16833
+ }
16834
+ }
16518
16835
  >
16519
16836
  /** 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. */
16520
16837
  warnings: Array<
@@ -17560,17 +17877,37 @@ export interface Routes {
17560
17877
  error_code: 'subscription_required'
17561
17878
  }
17562
17879
  | {
17880
+ /** Date and time at which Seam created the error. */
17881
+ created_at: string
17563
17882
  message: string
17564
17883
  is_connected_account_error: true
17565
17884
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17566
17885
  error_code: 'account_disconnected'
17567
17886
  }
17568
17887
  | {
17888
+ /** Date and time at which Seam created the error. */
17889
+ created_at: string
17569
17890
  message: string
17570
17891
  is_connected_account_error: true
17571
17892
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17572
17893
  error_code: 'invalid_credentials'
17573
17894
  }
17895
+ | {
17896
+ /** Date and time at which Seam created the error. */
17897
+ created_at: string
17898
+ message: string
17899
+ is_connected_account_error: true
17900
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17901
+ error_code: 'salto_ks_subscription_limit_exceeded'
17902
+ salto_ks_metadata: {
17903
+ sites: Array<{
17904
+ site_id: string
17905
+ site_name: string
17906
+ subscribed_site_user_count: number
17907
+ site_user_subscription_limit: number
17908
+ }>
17909
+ }
17910
+ }
17574
17911
  >
17575
17912
  /** 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. */
17576
17913
  warnings: Array<
@@ -17944,17 +18281,37 @@ export interface Routes {
17944
18281
  error_code: 'subscription_required'
17945
18282
  }
17946
18283
  | {
18284
+ /** Date and time at which Seam created the error. */
18285
+ created_at: string
17947
18286
  message: string
17948
18287
  is_connected_account_error: true
17949
18288
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17950
18289
  error_code: 'account_disconnected'
17951
18290
  }
17952
18291
  | {
18292
+ /** Date and time at which Seam created the error. */
18293
+ created_at: string
17953
18294
  message: string
17954
18295
  is_connected_account_error: true
17955
18296
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
17956
18297
  error_code: 'invalid_credentials'
17957
18298
  }
18299
+ | {
18300
+ /** Date and time at which Seam created the error. */
18301
+ created_at: string
18302
+ message: string
18303
+ is_connected_account_error: true
18304
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18305
+ error_code: 'salto_ks_subscription_limit_exceeded'
18306
+ salto_ks_metadata: {
18307
+ sites: Array<{
18308
+ site_id: string
18309
+ site_name: string
18310
+ subscribed_site_user_count: number
18311
+ site_user_subscription_limit: number
18312
+ }>
18313
+ }
18314
+ }
17958
18315
  >
17959
18316
  /** 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. */
17960
18317
  warnings: Array<
@@ -18431,17 +18788,37 @@ export interface Routes {
18431
18788
  error_code: 'subscription_required'
18432
18789
  }
18433
18790
  | {
18791
+ /** Date and time at which Seam created the error. */
18792
+ created_at: string
18434
18793
  message: string
18435
18794
  is_connected_account_error: true
18436
18795
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18437
18796
  error_code: 'account_disconnected'
18438
18797
  }
18439
18798
  | {
18799
+ /** Date and time at which Seam created the error. */
18800
+ created_at: string
18440
18801
  message: string
18441
18802
  is_connected_account_error: true
18442
18803
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18443
18804
  error_code: 'invalid_credentials'
18444
18805
  }
18806
+ | {
18807
+ /** Date and time at which Seam created the error. */
18808
+ created_at: string
18809
+ message: string
18810
+ is_connected_account_error: true
18811
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18812
+ error_code: 'salto_ks_subscription_limit_exceeded'
18813
+ salto_ks_metadata: {
18814
+ sites: Array<{
18815
+ site_id: string
18816
+ site_name: string
18817
+ subscribed_site_user_count: number
18818
+ site_user_subscription_limit: number
18819
+ }>
18820
+ }
18821
+ }
18445
18822
  >
18446
18823
  /** 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. */
18447
18824
  warnings: Array<
@@ -19898,6 +20275,23 @@ export interface Routes {
19898
20275
  /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
19899
20276
  temperature_fahrenheit: number
19900
20277
  }
20278
+ | {
20279
+ /** ID of the event. */
20280
+ event_id: string
20281
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
20282
+ workspace_id: string
20283
+ /** Date and time at which the event was created. */
20284
+ created_at: string
20285
+ /** Date and time at which the event occurred. */
20286
+ occurred_at: string
20287
+ /** ID of the device. */
20288
+ device_id: string
20289
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
20290
+ connected_account_id: string
20291
+ event_type: 'device.name_changed'
20292
+ /** The new name of the device. */
20293
+ new_name: string
20294
+ }
19901
20295
  | {
19902
20296
  /** ID of the event. */
19903
20297
  event_id: string
@@ -20019,6 +20413,7 @@ export interface Routes {
20019
20413
  | 'thermostat.temperature_threshold_no_longer_exceeded'
20020
20414
  | 'thermostat.temperature_reached_set_point'
20021
20415
  | 'thermostat.temperature_changed'
20416
+ | 'device.name_changed'
20022
20417
  | 'enrollment_automation.deleted'
20023
20418
  | 'phone.deactivated'
20024
20419
  )
@@ -20098,6 +20493,7 @@ export interface Routes {
20098
20493
  | 'thermostat.temperature_threshold_no_longer_exceeded'
20099
20494
  | 'thermostat.temperature_reached_set_point'
20100
20495
  | 'thermostat.temperature_changed'
20496
+ | 'device.name_changed'
20101
20497
  | 'enrollment_automation.deleted'
20102
20498
  | 'phone.deactivated'
20103
20499
  >
@@ -21353,6 +21749,23 @@ export interface Routes {
21353
21749
  /** Temperature, in °F, reported by the [thermostat](https://docs.seam.co/latest/capability-guides/thermostats). */
21354
21750
  temperature_fahrenheit: number
21355
21751
  }
21752
+ | {
21753
+ /** ID of the event. */
21754
+ event_id: string
21755
+ /** ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces). */
21756
+ workspace_id: string
21757
+ /** Date and time at which the event was created. */
21758
+ created_at: string
21759
+ /** Date and time at which the event occurred. */
21760
+ occurred_at: string
21761
+ /** ID of the device. */
21762
+ device_id: string
21763
+ /** ID of the [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts). */
21764
+ connected_account_id: string
21765
+ event_type: 'device.name_changed'
21766
+ /** The new name of the device. */
21767
+ new_name: string
21768
+ }
21356
21769
  | {
21357
21770
  /** ID of the event. */
21358
21771
  event_id: string
@@ -22154,17 +22567,37 @@ export interface Routes {
22154
22567
  error_code: 'subscription_required'
22155
22568
  }
22156
22569
  | {
22570
+ /** Date and time at which Seam created the error. */
22571
+ created_at: string
22157
22572
  message: string
22158
22573
  is_connected_account_error: true
22159
22574
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22160
22575
  error_code: 'account_disconnected'
22161
22576
  }
22162
22577
  | {
22578
+ /** Date and time at which Seam created the error. */
22579
+ created_at: string
22163
22580
  message: string
22164
22581
  is_connected_account_error: true
22165
22582
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22166
22583
  error_code: 'invalid_credentials'
22167
22584
  }
22585
+ | {
22586
+ /** Date and time at which Seam created the error. */
22587
+ created_at: string
22588
+ message: string
22589
+ is_connected_account_error: true
22590
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22591
+ error_code: 'salto_ks_subscription_limit_exceeded'
22592
+ salto_ks_metadata: {
22593
+ sites: Array<{
22594
+ site_id: string
22595
+ site_name: string
22596
+ subscribed_site_user_count: number
22597
+ site_user_subscription_limit: number
22598
+ }>
22599
+ }
22600
+ }
22168
22601
  >
22169
22602
  /** 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. */
22170
22603
  warnings: Array<
@@ -23027,17 +23460,37 @@ export interface Routes {
23027
23460
  error_code: 'subscription_required'
23028
23461
  }
23029
23462
  | {
23463
+ /** Date and time at which Seam created the error. */
23464
+ created_at: string
23030
23465
  message: string
23031
23466
  is_connected_account_error: true
23032
23467
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23033
23468
  error_code: 'account_disconnected'
23034
23469
  }
23035
23470
  | {
23471
+ /** Date and time at which Seam created the error. */
23472
+ created_at: string
23036
23473
  message: string
23037
23474
  is_connected_account_error: true
23038
23475
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23039
23476
  error_code: 'invalid_credentials'
23040
23477
  }
23478
+ | {
23479
+ /** Date and time at which Seam created the error. */
23480
+ created_at: string
23481
+ message: string
23482
+ is_connected_account_error: true
23483
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23484
+ error_code: 'salto_ks_subscription_limit_exceeded'
23485
+ salto_ks_metadata: {
23486
+ sites: Array<{
23487
+ site_id: string
23488
+ site_name: string
23489
+ subscribed_site_user_count: number
23490
+ site_user_subscription_limit: number
23491
+ }>
23492
+ }
23493
+ }
23041
23494
  >
23042
23495
  /** 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. */
23043
23496
  warnings: Array<
@@ -24083,17 +24536,37 @@ export interface Routes {
24083
24536
  error_code: 'subscription_required'
24084
24537
  }
24085
24538
  | {
24539
+ /** Date and time at which Seam created the error. */
24540
+ created_at: string
24086
24541
  message: string
24087
24542
  is_connected_account_error: true
24088
24543
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24089
24544
  error_code: 'account_disconnected'
24090
24545
  }
24091
24546
  | {
24547
+ /** Date and time at which Seam created the error. */
24548
+ created_at: string
24092
24549
  message: string
24093
24550
  is_connected_account_error: true
24094
24551
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24095
24552
  error_code: 'invalid_credentials'
24096
24553
  }
24554
+ | {
24555
+ /** Date and time at which Seam created the error. */
24556
+ created_at: string
24557
+ message: string
24558
+ is_connected_account_error: true
24559
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24560
+ error_code: 'salto_ks_subscription_limit_exceeded'
24561
+ salto_ks_metadata: {
24562
+ sites: Array<{
24563
+ site_id: string
24564
+ site_name: string
24565
+ subscribed_site_user_count: number
24566
+ site_user_subscription_limit: number
24567
+ }>
24568
+ }
24569
+ }
24097
24570
  >
24098
24571
  /** 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. */
24099
24572
  warnings: Array<
@@ -24955,17 +25428,37 @@ export interface Routes {
24955
25428
  error_code: 'subscription_required'
24956
25429
  }
24957
25430
  | {
25431
+ /** Date and time at which Seam created the error. */
25432
+ created_at: string
24958
25433
  message: string
24959
25434
  is_connected_account_error: true
24960
25435
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24961
25436
  error_code: 'account_disconnected'
24962
25437
  }
24963
25438
  | {
25439
+ /** Date and time at which Seam created the error. */
25440
+ created_at: string
24964
25441
  message: string
24965
25442
  is_connected_account_error: true
24966
25443
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24967
25444
  error_code: 'invalid_credentials'
24968
25445
  }
25446
+ | {
25447
+ /** Date and time at which Seam created the error. */
25448
+ created_at: string
25449
+ message: string
25450
+ is_connected_account_error: true
25451
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25452
+ error_code: 'salto_ks_subscription_limit_exceeded'
25453
+ salto_ks_metadata: {
25454
+ sites: Array<{
25455
+ site_id: string
25456
+ site_name: string
25457
+ subscribed_site_user_count: number
25458
+ site_user_subscription_limit: number
25459
+ }>
25460
+ }
25461
+ }
24969
25462
  >
24970
25463
  /** 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. */
24971
25464
  warnings: Array<
@@ -28118,17 +28611,37 @@ export interface Routes {
28118
28611
  error_code: 'subscription_required'
28119
28612
  }
28120
28613
  | {
28614
+ /** Date and time at which Seam created the error. */
28615
+ created_at: string
28121
28616
  message: string
28122
28617
  is_connected_account_error: true
28123
28618
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28124
28619
  error_code: 'account_disconnected'
28125
28620
  }
28126
28621
  | {
28622
+ /** Date and time at which Seam created the error. */
28623
+ created_at: string
28127
28624
  message: string
28128
28625
  is_connected_account_error: true
28129
28626
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28130
28627
  error_code: 'invalid_credentials'
28131
28628
  }
28629
+ | {
28630
+ /** Date and time at which Seam created the error. */
28631
+ created_at: string
28632
+ message: string
28633
+ is_connected_account_error: true
28634
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28635
+ error_code: 'salto_ks_subscription_limit_exceeded'
28636
+ salto_ks_metadata: {
28637
+ sites: Array<{
28638
+ site_id: string
28639
+ site_name: string
28640
+ subscribed_site_user_count: number
28641
+ site_user_subscription_limit: number
28642
+ }>
28643
+ }
28644
+ }
28132
28645
  >
28133
28646
  /** 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. */
28134
28647
  warnings: Array<
@@ -28990,17 +29503,37 @@ export interface Routes {
28990
29503
  error_code: 'subscription_required'
28991
29504
  }
28992
29505
  | {
29506
+ /** Date and time at which Seam created the error. */
29507
+ created_at: string
28993
29508
  message: string
28994
29509
  is_connected_account_error: true
28995
29510
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28996
29511
  error_code: 'account_disconnected'
28997
29512
  }
28998
29513
  | {
29514
+ /** Date and time at which Seam created the error. */
29515
+ created_at: string
28999
29516
  message: string
29000
29517
  is_connected_account_error: true
29001
29518
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29002
29519
  error_code: 'invalid_credentials'
29003
29520
  }
29521
+ | {
29522
+ /** Date and time at which Seam created the error. */
29523
+ created_at: string
29524
+ message: string
29525
+ is_connected_account_error: true
29526
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29527
+ error_code: 'salto_ks_subscription_limit_exceeded'
29528
+ salto_ks_metadata: {
29529
+ sites: Array<{
29530
+ site_id: string
29531
+ site_name: string
29532
+ subscribed_site_user_count: number
29533
+ site_user_subscription_limit: number
29534
+ }>
29535
+ }
29536
+ }
29004
29537
  >
29005
29538
  /** 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. */
29006
29539
  warnings: Array<
@@ -35494,17 +36027,37 @@ export interface Routes {
35494
36027
  error_code: 'subscription_required'
35495
36028
  }
35496
36029
  | {
36030
+ /** Date and time at which Seam created the error. */
36031
+ created_at: string
35497
36032
  message: string
35498
36033
  is_connected_account_error: true
35499
36034
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35500
36035
  error_code: 'account_disconnected'
35501
36036
  }
35502
36037
  | {
36038
+ /** Date and time at which Seam created the error. */
36039
+ created_at: string
35503
36040
  message: string
35504
36041
  is_connected_account_error: true
35505
36042
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35506
36043
  error_code: 'invalid_credentials'
35507
36044
  }
36045
+ | {
36046
+ /** Date and time at which Seam created the error. */
36047
+ created_at: string
36048
+ message: string
36049
+ is_connected_account_error: true
36050
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36051
+ error_code: 'salto_ks_subscription_limit_exceeded'
36052
+ salto_ks_metadata: {
36053
+ sites: Array<{
36054
+ site_id: string
36055
+ site_name: string
36056
+ subscribed_site_user_count: number
36057
+ site_user_subscription_limit: number
36058
+ }>
36059
+ }
36060
+ }
35508
36061
  >
35509
36062
  /** 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. */
35510
36063
  warnings: Array<
@@ -38638,17 +39191,37 @@ export interface Routes {
38638
39191
  error_code: 'subscription_required'
38639
39192
  }
38640
39193
  | {
39194
+ /** Date and time at which Seam created the error. */
39195
+ created_at: string
38641
39196
  message: string
38642
39197
  is_connected_account_error: true
38643
39198
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38644
39199
  error_code: 'account_disconnected'
38645
39200
  }
38646
39201
  | {
39202
+ /** Date and time at which Seam created the error. */
39203
+ created_at: string
38647
39204
  message: string
38648
39205
  is_connected_account_error: true
38649
39206
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38650
39207
  error_code: 'invalid_credentials'
38651
39208
  }
39209
+ | {
39210
+ /** Date and time at which Seam created the error. */
39211
+ created_at: string
39212
+ message: string
39213
+ is_connected_account_error: true
39214
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39215
+ error_code: 'salto_ks_subscription_limit_exceeded'
39216
+ salto_ks_metadata: {
39217
+ sites: Array<{
39218
+ site_id: string
39219
+ site_name: string
39220
+ subscribed_site_user_count: number
39221
+ site_user_subscription_limit: number
39222
+ }>
39223
+ }
39224
+ }
38652
39225
  >
38653
39226
  /** 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. */
38654
39227
  warnings: Array<
@@ -39510,17 +40083,37 @@ export interface Routes {
39510
40083
  error_code: 'subscription_required'
39511
40084
  }
39512
40085
  | {
40086
+ /** Date and time at which Seam created the error. */
40087
+ created_at: string
39513
40088
  message: string
39514
40089
  is_connected_account_error: true
39515
40090
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39516
40091
  error_code: 'account_disconnected'
39517
40092
  }
39518
40093
  | {
40094
+ /** Date and time at which Seam created the error. */
40095
+ created_at: string
39519
40096
  message: string
39520
40097
  is_connected_account_error: true
39521
40098
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39522
40099
  error_code: 'invalid_credentials'
39523
40100
  }
40101
+ | {
40102
+ /** Date and time at which Seam created the error. */
40103
+ created_at: string
40104
+ message: string
40105
+ is_connected_account_error: true
40106
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40107
+ error_code: 'salto_ks_subscription_limit_exceeded'
40108
+ salto_ks_metadata: {
40109
+ sites: Array<{
40110
+ site_id: string
40111
+ site_name: string
40112
+ subscribed_site_user_count: number
40113
+ site_user_subscription_limit: number
40114
+ }>
40115
+ }
40116
+ }
39524
40117
  >
39525
40118
  /** 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. */
39526
40119
  warnings: Array<
@@ -44070,17 +44663,37 @@ export interface Routes {
44070
44663
  error_code: 'subscription_required'
44071
44664
  }
44072
44665
  | {
44666
+ /** Date and time at which Seam created the error. */
44667
+ created_at: string
44073
44668
  message: string
44074
44669
  is_connected_account_error: true
44075
44670
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44076
44671
  error_code: 'account_disconnected'
44077
44672
  }
44078
44673
  | {
44674
+ /** Date and time at which Seam created the error. */
44675
+ created_at: string
44079
44676
  message: string
44080
44677
  is_connected_account_error: true
44081
44678
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44082
44679
  error_code: 'invalid_credentials'
44083
44680
  }
44681
+ | {
44682
+ /** Date and time at which Seam created the error. */
44683
+ created_at: string
44684
+ message: string
44685
+ is_connected_account_error: true
44686
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44687
+ error_code: 'salto_ks_subscription_limit_exceeded'
44688
+ salto_ks_metadata: {
44689
+ sites: Array<{
44690
+ site_id: string
44691
+ site_name: string
44692
+ subscribed_site_user_count: number
44693
+ site_user_subscription_limit: number
44694
+ }>
44695
+ }
44696
+ }
44084
44697
  >
44085
44698
  /** 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. */
44086
44699
  warnings: Array<
@@ -44944,17 +45557,37 @@ export interface Routes {
44944
45557
  error_code: 'subscription_required'
44945
45558
  }
44946
45559
  | {
45560
+ /** Date and time at which Seam created the error. */
45561
+ created_at: string
44947
45562
  message: string
44948
45563
  is_connected_account_error: true
44949
45564
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44950
45565
  error_code: 'account_disconnected'
44951
45566
  }
44952
45567
  | {
45568
+ /** Date and time at which Seam created the error. */
45569
+ created_at: string
44953
45570
  message: string
44954
45571
  is_connected_account_error: true
44955
45572
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44956
45573
  error_code: 'invalid_credentials'
44957
45574
  }
45575
+ | {
45576
+ /** Date and time at which Seam created the error. */
45577
+ created_at: string
45578
+ message: string
45579
+ is_connected_account_error: true
45580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45581
+ error_code: 'salto_ks_subscription_limit_exceeded'
45582
+ salto_ks_metadata: {
45583
+ sites: Array<{
45584
+ site_id: string
45585
+ site_name: string
45586
+ subscribed_site_user_count: number
45587
+ site_user_subscription_limit: number
45588
+ }>
45589
+ }
45590
+ }
44958
45591
  >
44959
45592
  /** 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. */
44960
45593
  warnings: Array<