@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
@@ -1057,15 +1057,34 @@ export interface Routes {
1057
1057
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1058
1058
  error_code: 'subscription_required';
1059
1059
  } | {
1060
+ /** Date and time at which Seam created the error. */
1061
+ created_at: string;
1060
1062
  message: string;
1061
1063
  is_connected_account_error: true;
1062
1064
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1063
1065
  error_code: 'account_disconnected';
1064
1066
  } | {
1067
+ /** Date and time at which Seam created the error. */
1068
+ created_at: string;
1065
1069
  message: string;
1066
1070
  is_connected_account_error: true;
1067
1071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1068
1072
  error_code: 'invalid_credentials';
1073
+ } | {
1074
+ /** Date and time at which Seam created the error. */
1075
+ created_at: string;
1076
+ message: string;
1077
+ is_connected_account_error: true;
1078
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1079
+ error_code: 'salto_ks_subscription_limit_exceeded';
1080
+ salto_ks_metadata: {
1081
+ sites: Array<{
1082
+ site_id: string;
1083
+ site_name: string;
1084
+ subscribed_site_user_count: number;
1085
+ site_user_subscription_limit: number;
1086
+ }>;
1087
+ };
1069
1088
  }>;
1070
1089
  /** 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. */
1071
1090
  warnings: Array<{
@@ -1343,15 +1362,34 @@ export interface Routes {
1343
1362
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1344
1363
  error_code: 'subscription_required';
1345
1364
  } | {
1365
+ /** Date and time at which Seam created the error. */
1366
+ created_at: string;
1346
1367
  message: string;
1347
1368
  is_connected_account_error: true;
1348
1369
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1349
1370
  error_code: 'account_disconnected';
1350
1371
  } | {
1372
+ /** Date and time at which Seam created the error. */
1373
+ created_at: string;
1351
1374
  message: string;
1352
1375
  is_connected_account_error: true;
1353
1376
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1354
1377
  error_code: 'invalid_credentials';
1378
+ } | {
1379
+ /** Date and time at which Seam created the error. */
1380
+ created_at: string;
1381
+ message: string;
1382
+ is_connected_account_error: true;
1383
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
1384
+ error_code: 'salto_ks_subscription_limit_exceeded';
1385
+ salto_ks_metadata: {
1386
+ sites: Array<{
1387
+ site_id: string;
1388
+ site_name: string;
1389
+ subscribed_site_user_count: number;
1390
+ site_user_subscription_limit: number;
1391
+ }>;
1392
+ };
1355
1393
  }>;
1356
1394
  /** 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. */
1357
1395
  warnings: Array<{
@@ -2502,15 +2540,34 @@ export interface Routes {
2502
2540
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2503
2541
  error_code: 'subscription_required';
2504
2542
  } | {
2543
+ /** Date and time at which Seam created the error. */
2544
+ created_at: string;
2505
2545
  message: string;
2506
2546
  is_connected_account_error: true;
2507
2547
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2508
2548
  error_code: 'account_disconnected';
2509
2549
  } | {
2550
+ /** Date and time at which Seam created the error. */
2551
+ created_at: string;
2510
2552
  message: string;
2511
2553
  is_connected_account_error: true;
2512
2554
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2513
2555
  error_code: 'invalid_credentials';
2556
+ } | {
2557
+ /** Date and time at which Seam created the error. */
2558
+ created_at: string;
2559
+ message: string;
2560
+ is_connected_account_error: true;
2561
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2562
+ error_code: 'salto_ks_subscription_limit_exceeded';
2563
+ salto_ks_metadata: {
2564
+ sites: Array<{
2565
+ site_id: string;
2566
+ site_name: string;
2567
+ subscribed_site_user_count: number;
2568
+ site_user_subscription_limit: number;
2569
+ }>;
2570
+ };
2514
2571
  }>;
2515
2572
  /** 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. */
2516
2573
  warnings: Array<{
@@ -2775,15 +2832,34 @@ export interface Routes {
2775
2832
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2776
2833
  error_code: 'subscription_required';
2777
2834
  } | {
2835
+ /** Date and time at which Seam created the error. */
2836
+ created_at: string;
2778
2837
  message: string;
2779
2838
  is_connected_account_error: true;
2780
2839
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2781
2840
  error_code: 'account_disconnected';
2782
2841
  } | {
2842
+ /** Date and time at which Seam created the error. */
2843
+ created_at: string;
2783
2844
  message: string;
2784
2845
  is_connected_account_error: true;
2785
2846
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2786
2847
  error_code: 'invalid_credentials';
2848
+ } | {
2849
+ /** Date and time at which Seam created the error. */
2850
+ created_at: string;
2851
+ message: string;
2852
+ is_connected_account_error: true;
2853
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
2854
+ error_code: 'salto_ks_subscription_limit_exceeded';
2855
+ salto_ks_metadata: {
2856
+ sites: Array<{
2857
+ site_id: string;
2858
+ site_name: string;
2859
+ subscribed_site_user_count: number;
2860
+ site_user_subscription_limit: number;
2861
+ }>;
2862
+ };
2787
2863
  }>;
2788
2864
  /** 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. */
2789
2865
  warnings: Array<{
@@ -3047,15 +3123,34 @@ export interface Routes {
3047
3123
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3048
3124
  error_code: 'subscription_required';
3049
3125
  } | {
3126
+ /** Date and time at which Seam created the error. */
3127
+ created_at: string;
3050
3128
  message: string;
3051
3129
  is_connected_account_error: true;
3052
3130
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3053
3131
  error_code: 'account_disconnected';
3054
3132
  } | {
3133
+ /** Date and time at which Seam created the error. */
3134
+ created_at: string;
3055
3135
  message: string;
3056
3136
  is_connected_account_error: true;
3057
3137
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3058
3138
  error_code: 'invalid_credentials';
3139
+ } | {
3140
+ /** Date and time at which Seam created the error. */
3141
+ created_at: string;
3142
+ message: string;
3143
+ is_connected_account_error: true;
3144
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3145
+ error_code: 'salto_ks_subscription_limit_exceeded';
3146
+ salto_ks_metadata: {
3147
+ sites: Array<{
3148
+ site_id: string;
3149
+ site_name: string;
3150
+ subscribed_site_user_count: number;
3151
+ site_user_subscription_limit: number;
3152
+ }>;
3153
+ };
3059
3154
  }>;
3060
3155
  /** 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. */
3061
3156
  warnings: Array<{
@@ -3307,15 +3402,34 @@ export interface Routes {
3307
3402
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3308
3403
  error_code: 'subscription_required';
3309
3404
  } | {
3405
+ /** Date and time at which Seam created the error. */
3406
+ created_at: string;
3310
3407
  message: string;
3311
3408
  is_connected_account_error: true;
3312
3409
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3313
3410
  error_code: 'account_disconnected';
3314
3411
  } | {
3412
+ /** Date and time at which Seam created the error. */
3413
+ created_at: string;
3315
3414
  message: string;
3316
3415
  is_connected_account_error: true;
3317
3416
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3318
3417
  error_code: 'invalid_credentials';
3418
+ } | {
3419
+ /** Date and time at which Seam created the error. */
3420
+ created_at: string;
3421
+ message: string;
3422
+ is_connected_account_error: true;
3423
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3424
+ error_code: 'salto_ks_subscription_limit_exceeded';
3425
+ salto_ks_metadata: {
3426
+ sites: Array<{
3427
+ site_id: string;
3428
+ site_name: string;
3429
+ subscribed_site_user_count: number;
3430
+ site_user_subscription_limit: number;
3431
+ }>;
3432
+ };
3319
3433
  }>;
3320
3434
  /** 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. */
3321
3435
  warnings: Array<{
@@ -3575,15 +3689,34 @@ export interface Routes {
3575
3689
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3576
3690
  error_code: 'subscription_required';
3577
3691
  } | {
3692
+ /** Date and time at which Seam created the error. */
3693
+ created_at: string;
3578
3694
  message: string;
3579
3695
  is_connected_account_error: true;
3580
3696
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3581
3697
  error_code: 'account_disconnected';
3582
3698
  } | {
3699
+ /** Date and time at which Seam created the error. */
3700
+ created_at: string;
3583
3701
  message: string;
3584
3702
  is_connected_account_error: true;
3585
3703
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3586
3704
  error_code: 'invalid_credentials';
3705
+ } | {
3706
+ /** Date and time at which Seam created the error. */
3707
+ created_at: string;
3708
+ message: string;
3709
+ is_connected_account_error: true;
3710
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
3711
+ error_code: 'salto_ks_subscription_limit_exceeded';
3712
+ salto_ks_metadata: {
3713
+ sites: Array<{
3714
+ site_id: string;
3715
+ site_name: string;
3716
+ subscribed_site_user_count: number;
3717
+ site_user_subscription_limit: number;
3718
+ }>;
3719
+ };
3587
3720
  }>;
3588
3721
  /** 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. */
3589
3722
  warnings: Array<{
@@ -4710,15 +4843,34 @@ export interface Routes {
4710
4843
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4711
4844
  error_code: 'subscription_required';
4712
4845
  } | {
4846
+ /** Date and time at which Seam created the error. */
4847
+ created_at: string;
4713
4848
  message: string;
4714
4849
  is_connected_account_error: true;
4715
4850
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4716
4851
  error_code: 'account_disconnected';
4717
4852
  } | {
4853
+ /** Date and time at which Seam created the error. */
4854
+ created_at: string;
4718
4855
  message: string;
4719
4856
  is_connected_account_error: true;
4720
4857
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4721
4858
  error_code: 'invalid_credentials';
4859
+ } | {
4860
+ /** Date and time at which Seam created the error. */
4861
+ created_at: string;
4862
+ message: string;
4863
+ is_connected_account_error: true;
4864
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4865
+ error_code: 'salto_ks_subscription_limit_exceeded';
4866
+ salto_ks_metadata: {
4867
+ sites: Array<{
4868
+ site_id: string;
4869
+ site_name: string;
4870
+ subscribed_site_user_count: number;
4871
+ site_user_subscription_limit: number;
4872
+ }>;
4873
+ };
4722
4874
  }>;
4723
4875
  /** 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. */
4724
4876
  warnings: Array<{
@@ -4960,15 +5112,34 @@ export interface Routes {
4960
5112
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4961
5113
  error_code: 'subscription_required';
4962
5114
  } | {
5115
+ /** Date and time at which Seam created the error. */
5116
+ created_at: string;
4963
5117
  message: string;
4964
5118
  is_connected_account_error: true;
4965
5119
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4966
5120
  error_code: 'account_disconnected';
4967
5121
  } | {
5122
+ /** Date and time at which Seam created the error. */
5123
+ created_at: string;
4968
5124
  message: string;
4969
5125
  is_connected_account_error: true;
4970
5126
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
4971
5127
  error_code: 'invalid_credentials';
5128
+ } | {
5129
+ /** Date and time at which Seam created the error. */
5130
+ created_at: string;
5131
+ message: string;
5132
+ is_connected_account_error: true;
5133
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
5134
+ error_code: 'salto_ks_subscription_limit_exceeded';
5135
+ salto_ks_metadata: {
5136
+ sites: Array<{
5137
+ site_id: string;
5138
+ site_name: string;
5139
+ subscribed_site_user_count: number;
5140
+ site_user_subscription_limit: number;
5141
+ }>;
5142
+ };
4972
5143
  }>;
4973
5144
  /** 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. */
4974
5145
  warnings: Array<{
@@ -13009,24 +13180,61 @@ export interface Routes {
13009
13180
  account_type?: string | undefined;
13010
13181
  account_type_display_name: string;
13011
13182
  errors: Array<{
13183
+ /** Date and time at which Seam created the error. */
13184
+ created_at: string;
13012
13185
  message: string;
13013
13186
  is_connected_account_error: true;
13014
13187
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13015
13188
  error_code: 'account_disconnected';
13016
13189
  } | {
13190
+ /** Date and time at which Seam created the error. */
13191
+ created_at: string;
13017
13192
  message: string;
13018
13193
  is_connected_account_error: true;
13019
13194
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13020
13195
  error_code: 'invalid_credentials';
13196
+ } | {
13197
+ /** Date and time at which Seam created the error. */
13198
+ created_at: string;
13199
+ message: string;
13200
+ is_connected_account_error: true;
13201
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13202
+ error_code: 'salto_ks_subscription_limit_exceeded';
13203
+ salto_ks_metadata: {
13204
+ sites: Array<{
13205
+ site_id: string;
13206
+ site_name: string;
13207
+ subscribed_site_user_count: number;
13208
+ site_user_subscription_limit: number;
13209
+ }>;
13210
+ };
13021
13211
  }>;
13022
13212
  warnings: Array<{
13213
+ /** Date and time at which Seam created the warning. */
13214
+ created_at: string;
13023
13215
  message: string;
13024
13216
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13025
13217
  warning_code: 'scheduled_maintenance_window';
13026
13218
  } | {
13219
+ /** Date and time at which Seam created the warning. */
13220
+ created_at: string;
13027
13221
  message: string;
13028
13222
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13029
13223
  warning_code: 'unknown_issue_with_connected_account';
13224
+ } | {
13225
+ /** Date and time at which Seam created the warning. */
13226
+ created_at: string;
13227
+ message: string;
13228
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13229
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
13230
+ salto_ks_metadata: {
13231
+ sites: Array<{
13232
+ site_id: string;
13233
+ site_name: string;
13234
+ site_user_subscription_limit: number;
13235
+ subscribed_site_user_count: number;
13236
+ }>;
13237
+ };
13030
13238
  }>;
13031
13239
  custom_metadata: Record<string, string | boolean>;
13032
13240
  automatically_manage_new_devices: boolean;
@@ -13059,24 +13267,61 @@ export interface Routes {
13059
13267
  account_type?: string | undefined;
13060
13268
  account_type_display_name: string;
13061
13269
  errors: Array<{
13270
+ /** Date and time at which Seam created the error. */
13271
+ created_at: string;
13062
13272
  message: string;
13063
13273
  is_connected_account_error: true;
13064
13274
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13065
13275
  error_code: 'account_disconnected';
13066
13276
  } | {
13277
+ /** Date and time at which Seam created the error. */
13278
+ created_at: string;
13067
13279
  message: string;
13068
13280
  is_connected_account_error: true;
13069
13281
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13070
13282
  error_code: 'invalid_credentials';
13283
+ } | {
13284
+ /** Date and time at which Seam created the error. */
13285
+ created_at: string;
13286
+ message: string;
13287
+ is_connected_account_error: true;
13288
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13289
+ error_code: 'salto_ks_subscription_limit_exceeded';
13290
+ salto_ks_metadata: {
13291
+ sites: Array<{
13292
+ site_id: string;
13293
+ site_name: string;
13294
+ subscribed_site_user_count: number;
13295
+ site_user_subscription_limit: number;
13296
+ }>;
13297
+ };
13071
13298
  }>;
13072
13299
  warnings: Array<{
13300
+ /** Date and time at which Seam created the warning. */
13301
+ created_at: string;
13073
13302
  message: string;
13074
13303
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13075
13304
  warning_code: 'scheduled_maintenance_window';
13076
13305
  } | {
13306
+ /** Date and time at which Seam created the warning. */
13307
+ created_at: string;
13077
13308
  message: string;
13078
13309
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13079
13310
  warning_code: 'unknown_issue_with_connected_account';
13311
+ } | {
13312
+ /** Date and time at which Seam created the warning. */
13313
+ created_at: string;
13314
+ message: string;
13315
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13316
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
13317
+ salto_ks_metadata: {
13318
+ sites: Array<{
13319
+ site_id: string;
13320
+ site_name: string;
13321
+ site_user_subscription_limit: number;
13322
+ subscribed_site_user_count: number;
13323
+ }>;
13324
+ };
13080
13325
  }>;
13081
13326
  custom_metadata: Record<string, string | boolean>;
13082
13327
  automatically_manage_new_devices: boolean;
@@ -13109,24 +13354,61 @@ export interface Routes {
13109
13354
  account_type?: string | undefined;
13110
13355
  account_type_display_name: string;
13111
13356
  errors: Array<{
13357
+ /** Date and time at which Seam created the error. */
13358
+ created_at: string;
13112
13359
  message: string;
13113
13360
  is_connected_account_error: true;
13114
13361
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13115
13362
  error_code: 'account_disconnected';
13116
13363
  } | {
13364
+ /** Date and time at which Seam created the error. */
13365
+ created_at: string;
13117
13366
  message: string;
13118
13367
  is_connected_account_error: true;
13119
13368
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13120
13369
  error_code: 'invalid_credentials';
13370
+ } | {
13371
+ /** Date and time at which Seam created the error. */
13372
+ created_at: string;
13373
+ message: string;
13374
+ is_connected_account_error: true;
13375
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13376
+ error_code: 'salto_ks_subscription_limit_exceeded';
13377
+ salto_ks_metadata: {
13378
+ sites: Array<{
13379
+ site_id: string;
13380
+ site_name: string;
13381
+ subscribed_site_user_count: number;
13382
+ site_user_subscription_limit: number;
13383
+ }>;
13384
+ };
13121
13385
  }>;
13122
13386
  warnings: Array<{
13387
+ /** Date and time at which Seam created the warning. */
13388
+ created_at: string;
13123
13389
  message: string;
13124
13390
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13125
13391
  warning_code: 'scheduled_maintenance_window';
13126
13392
  } | {
13393
+ /** Date and time at which Seam created the warning. */
13394
+ created_at: string;
13127
13395
  message: string;
13128
13396
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13129
13397
  warning_code: 'unknown_issue_with_connected_account';
13398
+ } | {
13399
+ /** Date and time at which Seam created the warning. */
13400
+ created_at: string;
13401
+ message: string;
13402
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
13403
+ warning_code: 'salto_ks_subscription_limit_almost_reached';
13404
+ salto_ks_metadata: {
13405
+ sites: Array<{
13406
+ site_id: string;
13407
+ site_name: string;
13408
+ site_user_subscription_limit: number;
13409
+ subscribed_site_user_count: number;
13410
+ }>;
13411
+ };
13130
13412
  }>;
13131
13413
  custom_metadata: Record<string, string | boolean>;
13132
13414
  automatically_manage_new_devices: boolean;
@@ -13716,15 +13998,34 @@ export interface Routes {
13716
13998
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13717
13999
  error_code: 'subscription_required';
13718
14000
  } | {
14001
+ /** Date and time at which Seam created the error. */
14002
+ created_at: string;
13719
14003
  message: string;
13720
14004
  is_connected_account_error: true;
13721
14005
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13722
14006
  error_code: 'account_disconnected';
13723
14007
  } | {
14008
+ /** Date and time at which Seam created the error. */
14009
+ created_at: string;
13724
14010
  message: string;
13725
14011
  is_connected_account_error: true;
13726
14012
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
13727
14013
  error_code: 'invalid_credentials';
14014
+ } | {
14015
+ /** Date and time at which Seam created the error. */
14016
+ created_at: string;
14017
+ message: string;
14018
+ is_connected_account_error: true;
14019
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14020
+ error_code: 'salto_ks_subscription_limit_exceeded';
14021
+ salto_ks_metadata: {
14022
+ sites: Array<{
14023
+ site_id: string;
14024
+ site_name: string;
14025
+ subscribed_site_user_count: number;
14026
+ site_user_subscription_limit: number;
14027
+ }>;
14028
+ };
13728
14029
  }>;
13729
14030
  /** 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. */
13730
14031
  warnings: Array<{
@@ -14406,15 +14707,34 @@ export interface Routes {
14406
14707
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14407
14708
  error_code: 'subscription_required';
14408
14709
  } | {
14710
+ /** Date and time at which Seam created the error. */
14711
+ created_at: string;
14409
14712
  message: string;
14410
14713
  is_connected_account_error: true;
14411
14714
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14412
14715
  error_code: 'account_disconnected';
14413
14716
  } | {
14717
+ /** Date and time at which Seam created the error. */
14718
+ created_at: string;
14414
14719
  message: string;
14415
14720
  is_connected_account_error: true;
14416
14721
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14417
14722
  error_code: 'invalid_credentials';
14723
+ } | {
14724
+ /** Date and time at which Seam created the error. */
14725
+ created_at: string;
14726
+ message: string;
14727
+ is_connected_account_error: true;
14728
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14729
+ error_code: 'salto_ks_subscription_limit_exceeded';
14730
+ salto_ks_metadata: {
14731
+ sites: Array<{
14732
+ site_id: string;
14733
+ site_name: string;
14734
+ subscribed_site_user_count: number;
14735
+ site_user_subscription_limit: number;
14736
+ }>;
14737
+ };
14418
14738
  }>;
14419
14739
  /** 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. */
14420
14740
  warnings: Array<{
@@ -14655,15 +14975,34 @@ export interface Routes {
14655
14975
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14656
14976
  error_code: 'subscription_required';
14657
14977
  } | {
14978
+ /** Date and time at which Seam created the error. */
14979
+ created_at: string;
14658
14980
  message: string;
14659
14981
  is_connected_account_error: true;
14660
14982
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14661
14983
  error_code: 'account_disconnected';
14662
14984
  } | {
14985
+ /** Date and time at which Seam created the error. */
14986
+ created_at: string;
14663
14987
  message: string;
14664
14988
  is_connected_account_error: true;
14665
14989
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14666
14990
  error_code: 'invalid_credentials';
14991
+ } | {
14992
+ /** Date and time at which Seam created the error. */
14993
+ created_at: string;
14994
+ message: string;
14995
+ is_connected_account_error: true;
14996
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14997
+ error_code: 'salto_ks_subscription_limit_exceeded';
14998
+ salto_ks_metadata: {
14999
+ sites: Array<{
15000
+ site_id: string;
15001
+ site_name: string;
15002
+ subscribed_site_user_count: number;
15003
+ site_user_subscription_limit: number;
15004
+ }>;
15005
+ };
14667
15006
  }>;
14668
15007
  /** 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. */
14669
15008
  warnings: Array<{
@@ -14913,15 +15252,34 @@ export interface Routes {
14913
15252
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14914
15253
  error_code: 'subscription_required';
14915
15254
  } | {
15255
+ /** Date and time at which Seam created the error. */
15256
+ created_at: string;
14916
15257
  message: string;
14917
15258
  is_connected_account_error: true;
14918
15259
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14919
15260
  error_code: 'account_disconnected';
14920
15261
  } | {
15262
+ /** Date and time at which Seam created the error. */
15263
+ created_at: string;
14921
15264
  message: string;
14922
15265
  is_connected_account_error: true;
14923
15266
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
14924
15267
  error_code: 'invalid_credentials';
15268
+ } | {
15269
+ /** Date and time at which Seam created the error. */
15270
+ created_at: string;
15271
+ message: string;
15272
+ is_connected_account_error: true;
15273
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
15274
+ error_code: 'salto_ks_subscription_limit_exceeded';
15275
+ salto_ks_metadata: {
15276
+ sites: Array<{
15277
+ site_id: string;
15278
+ site_name: string;
15279
+ subscribed_site_user_count: number;
15280
+ site_user_subscription_limit: number;
15281
+ }>;
15282
+ };
14925
15283
  }>;
14926
15284
  /** 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. */
14927
15285
  warnings: Array<{
@@ -18069,15 +18427,34 @@ export interface Routes {
18069
18427
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18070
18428
  error_code: 'subscription_required';
18071
18429
  } | {
18430
+ /** Date and time at which Seam created the error. */
18431
+ created_at: string;
18072
18432
  message: string;
18073
18433
  is_connected_account_error: true;
18074
18434
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18075
18435
  error_code: 'account_disconnected';
18076
18436
  } | {
18437
+ /** Date and time at which Seam created the error. */
18438
+ created_at: string;
18077
18439
  message: string;
18078
18440
  is_connected_account_error: true;
18079
18441
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18080
18442
  error_code: 'invalid_credentials';
18443
+ } | {
18444
+ /** Date and time at which Seam created the error. */
18445
+ created_at: string;
18446
+ message: string;
18447
+ is_connected_account_error: true;
18448
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18449
+ error_code: 'salto_ks_subscription_limit_exceeded';
18450
+ salto_ks_metadata: {
18451
+ sites: Array<{
18452
+ site_id: string;
18453
+ site_name: string;
18454
+ subscribed_site_user_count: number;
18455
+ site_user_subscription_limit: number;
18456
+ }>;
18457
+ };
18081
18458
  }>;
18082
18459
  /** 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. */
18083
18460
  warnings: Array<{
@@ -18723,15 +19100,34 @@ export interface Routes {
18723
19100
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18724
19101
  error_code: 'subscription_required';
18725
19102
  } | {
19103
+ /** Date and time at which Seam created the error. */
19104
+ created_at: string;
18726
19105
  message: string;
18727
19106
  is_connected_account_error: true;
18728
19107
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18729
19108
  error_code: 'account_disconnected';
18730
19109
  } | {
19110
+ /** Date and time at which Seam created the error. */
19111
+ created_at: string;
18731
19112
  message: string;
18732
19113
  is_connected_account_error: true;
18733
19114
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
18734
19115
  error_code: 'invalid_credentials';
19116
+ } | {
19117
+ /** Date and time at which Seam created the error. */
19118
+ created_at: string;
19119
+ message: string;
19120
+ is_connected_account_error: true;
19121
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19122
+ error_code: 'salto_ks_subscription_limit_exceeded';
19123
+ salto_ks_metadata: {
19124
+ sites: Array<{
19125
+ site_id: string;
19126
+ site_name: string;
19127
+ subscribed_site_user_count: number;
19128
+ site_user_subscription_limit: number;
19129
+ }>;
19130
+ };
18735
19131
  }>;
18736
19132
  /** 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. */
18737
19133
  warnings: Array<{
@@ -19413,15 +19809,34 @@ export interface Routes {
19413
19809
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19414
19810
  error_code: 'subscription_required';
19415
19811
  } | {
19812
+ /** Date and time at which Seam created the error. */
19813
+ created_at: string;
19416
19814
  message: string;
19417
19815
  is_connected_account_error: true;
19418
19816
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19419
19817
  error_code: 'account_disconnected';
19420
19818
  } | {
19819
+ /** Date and time at which Seam created the error. */
19820
+ created_at: string;
19421
19821
  message: string;
19422
19822
  is_connected_account_error: true;
19423
19823
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19424
19824
  error_code: 'invalid_credentials';
19825
+ } | {
19826
+ /** Date and time at which Seam created the error. */
19827
+ created_at: string;
19828
+ message: string;
19829
+ is_connected_account_error: true;
19830
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
19831
+ error_code: 'salto_ks_subscription_limit_exceeded';
19832
+ salto_ks_metadata: {
19833
+ sites: Array<{
19834
+ site_id: string;
19835
+ site_name: string;
19836
+ subscribed_site_user_count: number;
19837
+ site_user_subscription_limit: number;
19838
+ }>;
19839
+ };
19425
19840
  }>;
19426
19841
  /** 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. */
19427
19842
  warnings: Array<{
@@ -20066,15 +20481,34 @@ export interface Routes {
20066
20481
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20067
20482
  error_code: 'subscription_required';
20068
20483
  } | {
20484
+ /** Date and time at which Seam created the error. */
20485
+ created_at: string;
20069
20486
  message: string;
20070
20487
  is_connected_account_error: true;
20071
20488
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20072
20489
  error_code: 'account_disconnected';
20073
20490
  } | {
20491
+ /** Date and time at which Seam created the error. */
20492
+ created_at: string;
20074
20493
  message: string;
20075
20494
  is_connected_account_error: true;
20076
20495
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20077
20496
  error_code: 'invalid_credentials';
20497
+ } | {
20498
+ /** Date and time at which Seam created the error. */
20499
+ created_at: string;
20500
+ message: string;
20501
+ is_connected_account_error: true;
20502
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
20503
+ error_code: 'salto_ks_subscription_limit_exceeded';
20504
+ salto_ks_metadata: {
20505
+ sites: Array<{
20506
+ site_id: string;
20507
+ site_name: string;
20508
+ subscribed_site_user_count: number;
20509
+ site_user_subscription_limit: number;
20510
+ }>;
20511
+ };
20078
20512
  }>;
20079
20513
  /** 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. */
20080
20514
  warnings: Array<{
@@ -22527,15 +22961,34 @@ export interface Routes {
22527
22961
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22528
22962
  error_code: 'subscription_required';
22529
22963
  } | {
22964
+ /** Date and time at which Seam created the error. */
22965
+ created_at: string;
22530
22966
  message: string;
22531
22967
  is_connected_account_error: true;
22532
22968
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22533
22969
  error_code: 'account_disconnected';
22534
22970
  } | {
22971
+ /** Date and time at which Seam created the error. */
22972
+ created_at: string;
22535
22973
  message: string;
22536
22974
  is_connected_account_error: true;
22537
22975
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22538
22976
  error_code: 'invalid_credentials';
22977
+ } | {
22978
+ /** Date and time at which Seam created the error. */
22979
+ created_at: string;
22980
+ message: string;
22981
+ is_connected_account_error: true;
22982
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
22983
+ error_code: 'salto_ks_subscription_limit_exceeded';
22984
+ salto_ks_metadata: {
22985
+ sites: Array<{
22986
+ site_id: string;
22987
+ site_name: string;
22988
+ subscribed_site_user_count: number;
22989
+ site_user_subscription_limit: number;
22990
+ }>;
22991
+ };
22539
22992
  }>;
22540
22993
  /** 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. */
22541
22994
  warnings: Array<{
@@ -23180,15 +23633,34 @@ export interface Routes {
23180
23633
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23181
23634
  error_code: 'subscription_required';
23182
23635
  } | {
23636
+ /** Date and time at which Seam created the error. */
23637
+ created_at: string;
23183
23638
  message: string;
23184
23639
  is_connected_account_error: true;
23185
23640
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23186
23641
  error_code: 'account_disconnected';
23187
23642
  } | {
23643
+ /** Date and time at which Seam created the error. */
23644
+ created_at: string;
23188
23645
  message: string;
23189
23646
  is_connected_account_error: true;
23190
23647
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23191
23648
  error_code: 'invalid_credentials';
23649
+ } | {
23650
+ /** Date and time at which Seam created the error. */
23651
+ created_at: string;
23652
+ message: string;
23653
+ is_connected_account_error: true;
23654
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
23655
+ error_code: 'salto_ks_subscription_limit_exceeded';
23656
+ salto_ks_metadata: {
23657
+ sites: Array<{
23658
+ site_id: string;
23659
+ site_name: string;
23660
+ subscribed_site_user_count: number;
23661
+ site_user_subscription_limit: number;
23662
+ }>;
23663
+ };
23192
23664
  }>;
23193
23665
  /** 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. */
23194
23666
  warnings: Array<{
@@ -28613,15 +29085,34 @@ export interface Routes {
28613
29085
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28614
29086
  error_code: 'subscription_required';
28615
29087
  } | {
29088
+ /** Date and time at which Seam created the error. */
29089
+ created_at: string;
28616
29090
  message: string;
28617
29091
  is_connected_account_error: true;
28618
29092
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28619
29093
  error_code: 'account_disconnected';
28620
29094
  } | {
29095
+ /** Date and time at which Seam created the error. */
29096
+ created_at: string;
28621
29097
  message: string;
28622
29098
  is_connected_account_error: true;
28623
29099
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
28624
29100
  error_code: 'invalid_credentials';
29101
+ } | {
29102
+ /** Date and time at which Seam created the error. */
29103
+ created_at: string;
29104
+ message: string;
29105
+ is_connected_account_error: true;
29106
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
29107
+ error_code: 'salto_ks_subscription_limit_exceeded';
29108
+ salto_ks_metadata: {
29109
+ sites: Array<{
29110
+ site_id: string;
29111
+ site_name: string;
29112
+ subscribed_site_user_count: number;
29113
+ site_user_subscription_limit: number;
29114
+ }>;
29115
+ };
28625
29116
  }>;
28626
29117
  /** 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. */
28627
29118
  warnings: Array<{
@@ -31055,15 +31546,34 @@ export interface Routes {
31055
31546
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31056
31547
  error_code: 'subscription_required';
31057
31548
  } | {
31549
+ /** Date and time at which Seam created the error. */
31550
+ created_at: string;
31058
31551
  message: string;
31059
31552
  is_connected_account_error: true;
31060
31553
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31061
31554
  error_code: 'account_disconnected';
31062
31555
  } | {
31556
+ /** Date and time at which Seam created the error. */
31557
+ created_at: string;
31063
31558
  message: string;
31064
31559
  is_connected_account_error: true;
31065
31560
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31066
31561
  error_code: 'invalid_credentials';
31562
+ } | {
31563
+ /** Date and time at which Seam created the error. */
31564
+ created_at: string;
31565
+ message: string;
31566
+ is_connected_account_error: true;
31567
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31568
+ error_code: 'salto_ks_subscription_limit_exceeded';
31569
+ salto_ks_metadata: {
31570
+ sites: Array<{
31571
+ site_id: string;
31572
+ site_name: string;
31573
+ subscribed_site_user_count: number;
31574
+ site_user_subscription_limit: number;
31575
+ }>;
31576
+ };
31067
31577
  }>;
31068
31578
  /** 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. */
31069
31579
  warnings: Array<{
@@ -31708,15 +32218,34 @@ export interface Routes {
31708
32218
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31709
32219
  error_code: 'subscription_required';
31710
32220
  } | {
32221
+ /** Date and time at which Seam created the error. */
32222
+ created_at: string;
31711
32223
  message: string;
31712
32224
  is_connected_account_error: true;
31713
32225
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31714
32226
  error_code: 'account_disconnected';
31715
32227
  } | {
32228
+ /** Date and time at which Seam created the error. */
32229
+ created_at: string;
31716
32230
  message: string;
31717
32231
  is_connected_account_error: true;
31718
32232
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
31719
32233
  error_code: 'invalid_credentials';
32234
+ } | {
32235
+ /** Date and time at which Seam created the error. */
32236
+ created_at: string;
32237
+ message: string;
32238
+ is_connected_account_error: true;
32239
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
32240
+ error_code: 'salto_ks_subscription_limit_exceeded';
32241
+ salto_ks_metadata: {
32242
+ sites: Array<{
32243
+ site_id: string;
32244
+ site_name: string;
32245
+ subscribed_site_user_count: number;
32246
+ site_user_subscription_limit: number;
32247
+ }>;
32248
+ };
31720
32249
  }>;
31721
32250
  /** 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. */
31722
32251
  warnings: Array<{
@@ -35535,15 +36064,34 @@ export interface Routes {
35535
36064
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35536
36065
  error_code: 'subscription_required';
35537
36066
  } | {
36067
+ /** Date and time at which Seam created the error. */
36068
+ created_at: string;
35538
36069
  message: string;
35539
36070
  is_connected_account_error: true;
35540
36071
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35541
36072
  error_code: 'account_disconnected';
35542
36073
  } | {
36074
+ /** Date and time at which Seam created the error. */
36075
+ created_at: string;
35543
36076
  message: string;
35544
36077
  is_connected_account_error: true;
35545
36078
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
35546
36079
  error_code: 'invalid_credentials';
36080
+ } | {
36081
+ /** Date and time at which Seam created the error. */
36082
+ created_at: string;
36083
+ message: string;
36084
+ is_connected_account_error: true;
36085
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36086
+ error_code: 'salto_ks_subscription_limit_exceeded';
36087
+ salto_ks_metadata: {
36088
+ sites: Array<{
36089
+ site_id: string;
36090
+ site_name: string;
36091
+ subscribed_site_user_count: number;
36092
+ site_user_subscription_limit: number;
36093
+ }>;
36094
+ };
35547
36095
  }>;
35548
36096
  /** 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. */
35549
36097
  warnings: Array<{
@@ -36190,15 +36738,34 @@ export interface Routes {
36190
36738
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36191
36739
  error_code: 'subscription_required';
36192
36740
  } | {
36741
+ /** Date and time at which Seam created the error. */
36742
+ created_at: string;
36193
36743
  message: string;
36194
36744
  is_connected_account_error: true;
36195
36745
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36196
36746
  error_code: 'account_disconnected';
36197
36747
  } | {
36748
+ /** Date and time at which Seam created the error. */
36749
+ created_at: string;
36198
36750
  message: string;
36199
36751
  is_connected_account_error: true;
36200
36752
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36201
36753
  error_code: 'invalid_credentials';
36754
+ } | {
36755
+ /** Date and time at which Seam created the error. */
36756
+ created_at: string;
36757
+ message: string;
36758
+ is_connected_account_error: true;
36759
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
36760
+ error_code: 'salto_ks_subscription_limit_exceeded';
36761
+ salto_ks_metadata: {
36762
+ sites: Array<{
36763
+ site_id: string;
36764
+ site_name: string;
36765
+ subscribed_site_user_count: number;
36766
+ site_user_subscription_limit: number;
36767
+ }>;
36768
+ };
36202
36769
  }>;
36203
36770
  /** 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. */
36204
36771
  warnings: Array<{