@seamapi/types 1.358.0 → 1.359.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 (35) hide show
  1. package/dist/connect.cjs +467 -10
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +2286 -812
  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 +128 -128
  26. package/lib/seam/connect/models/events/seam-event.d.ts +114 -114
  27. package/lib/seam/connect/openapi.d.ts +366 -4
  28. package/lib/seam/connect/openapi.js +415 -2
  29. package/lib/seam/connect/openapi.js.map +1 -1
  30. package/lib/seam/connect/route-types.d.ts +567 -0
  31. package/package.json +1 -1
  32. package/src/lib/seam/connect/model-types.ts +0 -2
  33. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +77 -2
  34. package/src/lib/seam/connect/openapi.ts +445 -2
  35. package/src/lib/seam/connect/route-types.ts +597 -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<
@@ -22154,17 +22531,37 @@ export interface Routes {
22154
22531
  error_code: 'subscription_required'
22155
22532
  }
22156
22533
  | {
22534
+ /** Date and time at which Seam created the error. */
22535
+ created_at: string
22157
22536
  message: string
22158
22537
  is_connected_account_error: true
22159
22538
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22160
22539
  error_code: 'account_disconnected'
22161
22540
  }
22162
22541
  | {
22542
+ /** Date and time at which Seam created the error. */
22543
+ created_at: string
22163
22544
  message: string
22164
22545
  is_connected_account_error: true
22165
22546
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22166
22547
  error_code: 'invalid_credentials'
22167
22548
  }
22549
+ | {
22550
+ /** Date and time at which Seam created the error. */
22551
+ created_at: string
22552
+ message: string
22553
+ is_connected_account_error: true
22554
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22555
+ error_code: 'salto_ks_subscription_limit_exceeded'
22556
+ salto_ks_metadata: {
22557
+ sites: Array<{
22558
+ site_id: string
22559
+ site_name: string
22560
+ subscribed_site_user_count: number
22561
+ site_user_subscription_limit: number
22562
+ }>
22563
+ }
22564
+ }
22168
22565
  >
22169
22566
  /** 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
22567
  warnings: Array<
@@ -23027,17 +23424,37 @@ export interface Routes {
23027
23424
  error_code: 'subscription_required'
23028
23425
  }
23029
23426
  | {
23427
+ /** Date and time at which Seam created the error. */
23428
+ created_at: string
23030
23429
  message: string
23031
23430
  is_connected_account_error: true
23032
23431
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23033
23432
  error_code: 'account_disconnected'
23034
23433
  }
23035
23434
  | {
23435
+ /** Date and time at which Seam created the error. */
23436
+ created_at: string
23036
23437
  message: string
23037
23438
  is_connected_account_error: true
23038
23439
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23039
23440
  error_code: 'invalid_credentials'
23040
23441
  }
23442
+ | {
23443
+ /** Date and time at which Seam created the error. */
23444
+ created_at: string
23445
+ message: string
23446
+ is_connected_account_error: true
23447
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23448
+ error_code: 'salto_ks_subscription_limit_exceeded'
23449
+ salto_ks_metadata: {
23450
+ sites: Array<{
23451
+ site_id: string
23452
+ site_name: string
23453
+ subscribed_site_user_count: number
23454
+ site_user_subscription_limit: number
23455
+ }>
23456
+ }
23457
+ }
23041
23458
  >
23042
23459
  /** 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
23460
  warnings: Array<
@@ -24083,17 +24500,37 @@ export interface Routes {
24083
24500
  error_code: 'subscription_required'
24084
24501
  }
24085
24502
  | {
24503
+ /** Date and time at which Seam created the error. */
24504
+ created_at: string
24086
24505
  message: string
24087
24506
  is_connected_account_error: true
24088
24507
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24089
24508
  error_code: 'account_disconnected'
24090
24509
  }
24091
24510
  | {
24511
+ /** Date and time at which Seam created the error. */
24512
+ created_at: string
24092
24513
  message: string
24093
24514
  is_connected_account_error: true
24094
24515
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24095
24516
  error_code: 'invalid_credentials'
24096
24517
  }
24518
+ | {
24519
+ /** Date and time at which Seam created the error. */
24520
+ created_at: string
24521
+ message: string
24522
+ is_connected_account_error: true
24523
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24524
+ error_code: 'salto_ks_subscription_limit_exceeded'
24525
+ salto_ks_metadata: {
24526
+ sites: Array<{
24527
+ site_id: string
24528
+ site_name: string
24529
+ subscribed_site_user_count: number
24530
+ site_user_subscription_limit: number
24531
+ }>
24532
+ }
24533
+ }
24097
24534
  >
24098
24535
  /** 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
24536
  warnings: Array<
@@ -24955,17 +25392,37 @@ export interface Routes {
24955
25392
  error_code: 'subscription_required'
24956
25393
  }
24957
25394
  | {
25395
+ /** Date and time at which Seam created the error. */
25396
+ created_at: string
24958
25397
  message: string
24959
25398
  is_connected_account_error: true
24960
25399
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24961
25400
  error_code: 'account_disconnected'
24962
25401
  }
24963
25402
  | {
25403
+ /** Date and time at which Seam created the error. */
25404
+ created_at: string
24964
25405
  message: string
24965
25406
  is_connected_account_error: true
24966
25407
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
24967
25408
  error_code: 'invalid_credentials'
24968
25409
  }
25410
+ | {
25411
+ /** Date and time at which Seam created the error. */
25412
+ created_at: string
25413
+ message: string
25414
+ is_connected_account_error: true
25415
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
25416
+ error_code: 'salto_ks_subscription_limit_exceeded'
25417
+ salto_ks_metadata: {
25418
+ sites: Array<{
25419
+ site_id: string
25420
+ site_name: string
25421
+ subscribed_site_user_count: number
25422
+ site_user_subscription_limit: number
25423
+ }>
25424
+ }
25425
+ }
24969
25426
  >
24970
25427
  /** 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
25428
  warnings: Array<
@@ -28118,17 +28575,37 @@ export interface Routes {
28118
28575
  error_code: 'subscription_required'
28119
28576
  }
28120
28577
  | {
28578
+ /** Date and time at which Seam created the error. */
28579
+ created_at: string
28121
28580
  message: string
28122
28581
  is_connected_account_error: true
28123
28582
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28124
28583
  error_code: 'account_disconnected'
28125
28584
  }
28126
28585
  | {
28586
+ /** Date and time at which Seam created the error. */
28587
+ created_at: string
28127
28588
  message: string
28128
28589
  is_connected_account_error: true
28129
28590
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28130
28591
  error_code: 'invalid_credentials'
28131
28592
  }
28593
+ | {
28594
+ /** Date and time at which Seam created the error. */
28595
+ created_at: string
28596
+ message: string
28597
+ is_connected_account_error: true
28598
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28599
+ error_code: 'salto_ks_subscription_limit_exceeded'
28600
+ salto_ks_metadata: {
28601
+ sites: Array<{
28602
+ site_id: string
28603
+ site_name: string
28604
+ subscribed_site_user_count: number
28605
+ site_user_subscription_limit: number
28606
+ }>
28607
+ }
28608
+ }
28132
28609
  >
28133
28610
  /** 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
28611
  warnings: Array<
@@ -28990,17 +29467,37 @@ export interface Routes {
28990
29467
  error_code: 'subscription_required'
28991
29468
  }
28992
29469
  | {
29470
+ /** Date and time at which Seam created the error. */
29471
+ created_at: string
28993
29472
  message: string
28994
29473
  is_connected_account_error: true
28995
29474
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28996
29475
  error_code: 'account_disconnected'
28997
29476
  }
28998
29477
  | {
29478
+ /** Date and time at which Seam created the error. */
29479
+ created_at: string
28999
29480
  message: string
29000
29481
  is_connected_account_error: true
29001
29482
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29002
29483
  error_code: 'invalid_credentials'
29003
29484
  }
29485
+ | {
29486
+ /** Date and time at which Seam created the error. */
29487
+ created_at: string
29488
+ message: string
29489
+ is_connected_account_error: true
29490
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29491
+ error_code: 'salto_ks_subscription_limit_exceeded'
29492
+ salto_ks_metadata: {
29493
+ sites: Array<{
29494
+ site_id: string
29495
+ site_name: string
29496
+ subscribed_site_user_count: number
29497
+ site_user_subscription_limit: number
29498
+ }>
29499
+ }
29500
+ }
29004
29501
  >
29005
29502
  /** 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
29503
  warnings: Array<
@@ -35494,17 +35991,37 @@ export interface Routes {
35494
35991
  error_code: 'subscription_required'
35495
35992
  }
35496
35993
  | {
35994
+ /** Date and time at which Seam created the error. */
35995
+ created_at: string
35497
35996
  message: string
35498
35997
  is_connected_account_error: true
35499
35998
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35500
35999
  error_code: 'account_disconnected'
35501
36000
  }
35502
36001
  | {
36002
+ /** Date and time at which Seam created the error. */
36003
+ created_at: string
35503
36004
  message: string
35504
36005
  is_connected_account_error: true
35505
36006
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35506
36007
  error_code: 'invalid_credentials'
35507
36008
  }
36009
+ | {
36010
+ /** Date and time at which Seam created the error. */
36011
+ created_at: string
36012
+ message: string
36013
+ is_connected_account_error: true
36014
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36015
+ error_code: 'salto_ks_subscription_limit_exceeded'
36016
+ salto_ks_metadata: {
36017
+ sites: Array<{
36018
+ site_id: string
36019
+ site_name: string
36020
+ subscribed_site_user_count: number
36021
+ site_user_subscription_limit: number
36022
+ }>
36023
+ }
36024
+ }
35508
36025
  >
35509
36026
  /** 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
36027
  warnings: Array<
@@ -38638,17 +39155,37 @@ export interface Routes {
38638
39155
  error_code: 'subscription_required'
38639
39156
  }
38640
39157
  | {
39158
+ /** Date and time at which Seam created the error. */
39159
+ created_at: string
38641
39160
  message: string
38642
39161
  is_connected_account_error: true
38643
39162
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38644
39163
  error_code: 'account_disconnected'
38645
39164
  }
38646
39165
  | {
39166
+ /** Date and time at which Seam created the error. */
39167
+ created_at: string
38647
39168
  message: string
38648
39169
  is_connected_account_error: true
38649
39170
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
38650
39171
  error_code: 'invalid_credentials'
38651
39172
  }
39173
+ | {
39174
+ /** Date and time at which Seam created the error. */
39175
+ created_at: string
39176
+ message: string
39177
+ is_connected_account_error: true
39178
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39179
+ error_code: 'salto_ks_subscription_limit_exceeded'
39180
+ salto_ks_metadata: {
39181
+ sites: Array<{
39182
+ site_id: string
39183
+ site_name: string
39184
+ subscribed_site_user_count: number
39185
+ site_user_subscription_limit: number
39186
+ }>
39187
+ }
39188
+ }
38652
39189
  >
38653
39190
  /** 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
39191
  warnings: Array<
@@ -39510,17 +40047,37 @@ export interface Routes {
39510
40047
  error_code: 'subscription_required'
39511
40048
  }
39512
40049
  | {
40050
+ /** Date and time at which Seam created the error. */
40051
+ created_at: string
39513
40052
  message: string
39514
40053
  is_connected_account_error: true
39515
40054
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39516
40055
  error_code: 'account_disconnected'
39517
40056
  }
39518
40057
  | {
40058
+ /** Date and time at which Seam created the error. */
40059
+ created_at: string
39519
40060
  message: string
39520
40061
  is_connected_account_error: true
39521
40062
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
39522
40063
  error_code: 'invalid_credentials'
39523
40064
  }
40065
+ | {
40066
+ /** Date and time at which Seam created the error. */
40067
+ created_at: string
40068
+ message: string
40069
+ is_connected_account_error: true
40070
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
40071
+ error_code: 'salto_ks_subscription_limit_exceeded'
40072
+ salto_ks_metadata: {
40073
+ sites: Array<{
40074
+ site_id: string
40075
+ site_name: string
40076
+ subscribed_site_user_count: number
40077
+ site_user_subscription_limit: number
40078
+ }>
40079
+ }
40080
+ }
39524
40081
  >
39525
40082
  /** 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
40083
  warnings: Array<
@@ -44070,17 +44627,37 @@ export interface Routes {
44070
44627
  error_code: 'subscription_required'
44071
44628
  }
44072
44629
  | {
44630
+ /** Date and time at which Seam created the error. */
44631
+ created_at: string
44073
44632
  message: string
44074
44633
  is_connected_account_error: true
44075
44634
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44076
44635
  error_code: 'account_disconnected'
44077
44636
  }
44078
44637
  | {
44638
+ /** Date and time at which Seam created the error. */
44639
+ created_at: string
44079
44640
  message: string
44080
44641
  is_connected_account_error: true
44081
44642
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44082
44643
  error_code: 'invalid_credentials'
44083
44644
  }
44645
+ | {
44646
+ /** Date and time at which Seam created the error. */
44647
+ created_at: string
44648
+ message: string
44649
+ is_connected_account_error: true
44650
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44651
+ error_code: 'salto_ks_subscription_limit_exceeded'
44652
+ salto_ks_metadata: {
44653
+ sites: Array<{
44654
+ site_id: string
44655
+ site_name: string
44656
+ subscribed_site_user_count: number
44657
+ site_user_subscription_limit: number
44658
+ }>
44659
+ }
44660
+ }
44084
44661
  >
44085
44662
  /** 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
44663
  warnings: Array<
@@ -44944,17 +45521,37 @@ export interface Routes {
44944
45521
  error_code: 'subscription_required'
44945
45522
  }
44946
45523
  | {
45524
+ /** Date and time at which Seam created the error. */
45525
+ created_at: string
44947
45526
  message: string
44948
45527
  is_connected_account_error: true
44949
45528
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44950
45529
  error_code: 'account_disconnected'
44951
45530
  }
44952
45531
  | {
45532
+ /** Date and time at which Seam created the error. */
45533
+ created_at: string
44953
45534
  message: string
44954
45535
  is_connected_account_error: true
44955
45536
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44956
45537
  error_code: 'invalid_credentials'
44957
45538
  }
45539
+ | {
45540
+ /** Date and time at which Seam created the error. */
45541
+ created_at: string
45542
+ message: string
45543
+ is_connected_account_error: true
45544
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45545
+ error_code: 'salto_ks_subscription_limit_exceeded'
45546
+ salto_ks_metadata: {
45547
+ sites: Array<{
45548
+ site_id: string
45549
+ site_name: string
45550
+ subscribed_site_user_count: number
45551
+ site_user_subscription_limit: number
45552
+ }>
45553
+ }
45554
+ }
44958
45555
  >
44959
45556
  /** 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
45557
  warnings: Array<