@seamapi/types 1.196.1 → 1.197.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 (55) hide show
  1. package/dist/connect.cjs +1718 -1501
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1859 -1101
  4. package/dist/devicedb.d.cts +40 -40
  5. package/lib/seam/connect/model-types.d.ts +1 -1
  6. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +113 -12
  7. package/lib/seam/connect/models/access-codes/managed-access-code.js +17 -2
  8. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +87 -12
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  11. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +4 -4
  12. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +10 -10
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +29 -29
  15. package/lib/seam/connect/models/acs/acs-user.d.ts +6 -6
  16. package/lib/seam/connect/models/acs/metadata/latch.d.ts +4 -4
  17. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
  18. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +69 -8
  19. package/lib/seam/connect/models/connected-accounts/connected-account.js +15 -2
  20. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  21. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +15 -15
  22. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +30 -30
  23. package/lib/seam/connect/models/devices/device-metadata.d.ts +8 -8
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
  25. package/lib/seam/connect/models/devices/device.d.ts +116 -65
  26. package/lib/seam/connect/models/devices/device.js +16 -8
  27. package/lib/seam/connect/models/devices/device.js.map +1 -1
  28. package/lib/seam/connect/models/devices/phone.d.ts +44 -19
  29. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +53 -28
  30. package/lib/seam/connect/models/events/access-codes.d.ts +306 -306
  31. package/lib/seam/connect/models/events/acs/common.d.ts +4 -4
  32. package/lib/seam/connect/models/events/acs/credentials.d.ts +12 -12
  33. package/lib/seam/connect/models/events/acs/index.d.ts +18 -18
  34. package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
  35. package/lib/seam/connect/models/events/acs/users.d.ts +12 -12
  36. package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -42
  37. package/lib/seam/connect/models/events/devices.d.ts +316 -316
  38. package/lib/seam/connect/models/events/phones.d.ts +6 -6
  39. package/lib/seam/connect/models/events/seam-event.d.ts +353 -353
  40. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +3 -3
  41. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  42. package/lib/seam/connect/openapi.d.ts +263 -26
  43. package/lib/seam/connect/openapi.js +209 -23
  44. package/lib/seam/connect/openapi.js.map +1 -1
  45. package/lib/seam/connect/route-types.d.ts +247 -36
  46. package/lib/seam/devicedb/models/device-model.d.ts +8 -8
  47. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  48. package/lib/seam/devicedb/route-specs.d.ts +30 -30
  49. package/package.json +1 -1
  50. package/src/lib/seam/connect/model-types.ts +6 -0
  51. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +26 -2
  52. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +23 -2
  53. package/src/lib/seam/connect/models/devices/device.ts +24 -12
  54. package/src/lib/seam/connect/openapi.ts +209 -23
  55. package/src/lib/seam/connect/route-types.ts +377 -92
@@ -450,9 +450,28 @@ export interface Routes {
450
450
  /** Date and time at which the access code was created. */
451
451
  created_at: string
452
452
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
453
- errors?: any
453
+ errors: Array<
454
+ | {
455
+ message: string
456
+ is_access_code_error: true
457
+ error_code: string
458
+ }
459
+ | {
460
+ message: string
461
+ is_device_error: true
462
+ error_code: string
463
+ }
464
+ | {
465
+ message: string
466
+ is_connected_account_error: true
467
+ error_code: string
468
+ }
469
+ >
454
470
  /** 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. */
455
- warnings?: any
471
+ warnings: Array<{
472
+ message: string
473
+ warning_code: string
474
+ }>
456
475
  /** Indicates whether Seam manages the access code. */
457
476
  is_managed: true
458
477
  /** Date and time at which the time-bound access code becomes active. */
@@ -523,9 +542,28 @@ export interface Routes {
523
542
  /** Date and time at which the access code was created. */
524
543
  created_at: string
525
544
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
526
- errors?: any
545
+ errors: Array<
546
+ | {
547
+ message: string
548
+ is_access_code_error: true
549
+ error_code: string
550
+ }
551
+ | {
552
+ message: string
553
+ is_device_error: true
554
+ error_code: string
555
+ }
556
+ | {
557
+ message: string
558
+ is_connected_account_error: true
559
+ error_code: string
560
+ }
561
+ >
527
562
  /** 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. */
528
- warnings?: any
563
+ warnings: Array<{
564
+ message: string
565
+ warning_code: string
566
+ }>
529
567
  /** Indicates whether Seam manages the access code. */
530
568
  is_managed: true
531
569
  /** Date and time at which the time-bound access code becomes active. */
@@ -1019,9 +1057,28 @@ export interface Routes {
1019
1057
  /** Date and time at which the access code was created. */
1020
1058
  created_at: string
1021
1059
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
1022
- errors?: any
1060
+ errors: Array<
1061
+ | {
1062
+ message: string
1063
+ is_access_code_error: true
1064
+ error_code: string
1065
+ }
1066
+ | {
1067
+ message: string
1068
+ is_device_error: true
1069
+ error_code: string
1070
+ }
1071
+ | {
1072
+ message: string
1073
+ is_connected_account_error: true
1074
+ error_code: string
1075
+ }
1076
+ >
1023
1077
  /** 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. */
1024
- warnings?: any
1078
+ warnings: Array<{
1079
+ message: string
1080
+ warning_code: string
1081
+ }>
1025
1082
  /** Indicates whether Seam manages the access code. */
1026
1083
  is_managed: true
1027
1084
  /** Date and time at which the time-bound access code becomes active. */
@@ -1079,9 +1136,28 @@ export interface Routes {
1079
1136
  /** Date and time at which the access code was created. */
1080
1137
  created_at: string
1081
1138
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
1082
- errors?: any
1139
+ errors: Array<
1140
+ | {
1141
+ message: string
1142
+ is_access_code_error: true
1143
+ error_code: string
1144
+ }
1145
+ | {
1146
+ message: string
1147
+ is_device_error: true
1148
+ error_code: string
1149
+ }
1150
+ | {
1151
+ message: string
1152
+ is_connected_account_error: true
1153
+ error_code: string
1154
+ }
1155
+ >
1083
1156
  /** 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. */
1084
- warnings?: any
1157
+ warnings: Array<{
1158
+ message: string
1159
+ warning_code: string
1160
+ }>
1085
1161
  /** Indicates whether Seam manages the access code. */
1086
1162
  is_managed: true
1087
1163
  /** Date and time at which the time-bound access code becomes active. */
@@ -1137,9 +1213,28 @@ export interface Routes {
1137
1213
  /** Date and time at which the access code was created. */
1138
1214
  created_at: string
1139
1215
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
1140
- errors?: any
1216
+ errors: Array<
1217
+ | {
1218
+ message: string
1219
+ is_access_code_error: true
1220
+ error_code: string
1221
+ }
1222
+ | {
1223
+ message: string
1224
+ is_device_error: true
1225
+ error_code: string
1226
+ }
1227
+ | {
1228
+ message: string
1229
+ is_connected_account_error: true
1230
+ error_code: string
1231
+ }
1232
+ >
1141
1233
  /** 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. */
1142
- warnings?: any
1234
+ warnings: Array<{
1235
+ message: string
1236
+ warning_code: string
1237
+ }>
1143
1238
  /** Indicates whether Seam manages the access code. */
1144
1239
  is_managed: true
1145
1240
  /** Date and time at which the time-bound access code becomes active. */
@@ -1191,9 +1286,28 @@ export interface Routes {
1191
1286
  /** Date and time at which the access code was created. */
1192
1287
  created_at: string
1193
1288
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
1194
- errors?: any
1289
+ errors: Array<
1290
+ | {
1291
+ message: string
1292
+ is_access_code_error: true
1293
+ error_code: string
1294
+ }
1295
+ | {
1296
+ message: string
1297
+ is_device_error: true
1298
+ error_code: string
1299
+ }
1300
+ | {
1301
+ message: string
1302
+ is_connected_account_error: true
1303
+ error_code: string
1304
+ }
1305
+ >
1195
1306
  /** 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. */
1196
- warnings?: any
1307
+ warnings: Array<{
1308
+ message: string
1309
+ warning_code: string
1310
+ }>
1197
1311
  is_managed: false
1198
1312
  /** Date and time at which the time-bound access code becomes active. */
1199
1313
  starts_at?: (string | null) | undefined
@@ -1663,9 +1777,28 @@ export interface Routes {
1663
1777
  /** Date and time at which the access code was created. */
1664
1778
  created_at: string
1665
1779
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
1666
- errors?: any
1780
+ errors: Array<
1781
+ | {
1782
+ message: string
1783
+ is_access_code_error: true
1784
+ error_code: string
1785
+ }
1786
+ | {
1787
+ message: string
1788
+ is_device_error: true
1789
+ error_code: string
1790
+ }
1791
+ | {
1792
+ message: string
1793
+ is_connected_account_error: true
1794
+ error_code: string
1795
+ }
1796
+ >
1667
1797
  /** 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. */
1668
- warnings?: any
1798
+ warnings: Array<{
1799
+ message: string
1800
+ warning_code: string
1801
+ }>
1669
1802
  is_managed: false
1670
1803
  /** Date and time at which the time-bound access code becomes active. */
1671
1804
  starts_at?: (string | null) | undefined
@@ -1700,9 +1833,28 @@ export interface Routes {
1700
1833
  /** Date and time at which the access code was created. */
1701
1834
  created_at: string
1702
1835
  /** Collection of errors associated with the access code, structured in a dictionary format. A unique "error_code" keys each error. Each error entry is an object containing two fields: "message" and "created_at." "message" is a string that describes the error. "created_at" is a date that indicates when the error was generated. This structure enables detailed tracking and timely response to critical issues. */
1703
- errors?: any
1836
+ errors: Array<
1837
+ | {
1838
+ message: string
1839
+ is_access_code_error: true
1840
+ error_code: string
1841
+ }
1842
+ | {
1843
+ message: string
1844
+ is_device_error: true
1845
+ error_code: string
1846
+ }
1847
+ | {
1848
+ message: string
1849
+ is_connected_account_error: true
1850
+ error_code: string
1851
+ }
1852
+ >
1704
1853
  /** 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. */
1705
- warnings?: any
1854
+ warnings: Array<{
1855
+ message: string
1856
+ warning_code: string
1857
+ }>
1706
1858
  is_managed: false
1707
1859
  /** Date and time at which the time-bound access code becomes active. */
1708
1860
  starts_at?: (string | null) | undefined
@@ -4713,8 +4865,15 @@ export interface Routes {
4713
4865
  | undefined
4714
4866
  account_type?: string | undefined
4715
4867
  account_type_display_name: string
4716
- errors?: any
4717
- warnings?: any
4868
+ errors: Array<{
4869
+ message: string
4870
+ is_connected_account_error: true
4871
+ error_code: string
4872
+ }>
4873
+ warnings: Array<{
4874
+ message: string
4875
+ warning_code: string
4876
+ }>
4718
4877
  custom_metadata: Record<string, string | boolean>
4719
4878
  automatically_manage_new_devices: boolean
4720
4879
  }
@@ -4745,8 +4904,15 @@ export interface Routes {
4745
4904
  | undefined
4746
4905
  account_type?: string | undefined
4747
4906
  account_type_display_name: string
4748
- errors?: any
4749
- warnings?: any
4907
+ errors: Array<{
4908
+ message: string
4909
+ is_connected_account_error: true
4910
+ error_code: string
4911
+ }>
4912
+ warnings: Array<{
4913
+ message: string
4914
+ warning_code: string
4915
+ }>
4750
4916
  custom_metadata: Record<string, string | boolean>
4751
4917
  automatically_manage_new_devices: boolean
4752
4918
  }>
@@ -4778,8 +4944,15 @@ export interface Routes {
4778
4944
  | undefined
4779
4945
  account_type?: string | undefined
4780
4946
  account_type_display_name: string
4781
- errors?: any
4782
- warnings?: any
4947
+ errors: Array<{
4948
+ message: string
4949
+ is_connected_account_error: true
4950
+ error_code: string
4951
+ }>
4952
+ warnings: Array<{
4953
+ message: string
4954
+ warning_code: string
4955
+ }>
4783
4956
  custom_metadata: Record<string, string | boolean>
4784
4957
  automatically_manage_new_devices: boolean
4785
4958
  }
@@ -5515,14 +5688,22 @@ export interface Routes {
5515
5688
  /** Unique identifier for the Seam workspace associated with the device. */
5516
5689
  workspace_id: string
5517
5690
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
5518
- errors: Array<{
5519
- error_code: string
5520
- message: string
5521
- }>
5691
+ errors: Array<
5692
+ | {
5693
+ message: string
5694
+ is_device_error: true
5695
+ error_code: string
5696
+ }
5697
+ | {
5698
+ message: string
5699
+ is_connected_account_error: true
5700
+ error_code: string
5701
+ }
5702
+ >
5522
5703
  /** 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. */
5523
5704
  warnings: Array<{
5524
- warning_code: string
5525
5705
  message: string
5706
+ warning_code: string
5526
5707
  }>
5527
5708
  /** Date and time at which the device object was created. */
5528
5709
  created_at: string
@@ -6403,14 +6584,22 @@ export interface Routes {
6403
6584
  /** Unique identifier for the Seam workspace associated with the device. */
6404
6585
  workspace_id: string
6405
6586
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
6406
- errors: Array<{
6407
- error_code: string
6408
- message: string
6409
- }>
6587
+ errors: Array<
6588
+ | {
6589
+ message: string
6590
+ is_device_error: true
6591
+ error_code: string
6592
+ }
6593
+ | {
6594
+ message: string
6595
+ is_connected_account_error: true
6596
+ error_code: string
6597
+ }
6598
+ >
6410
6599
  /** 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. */
6411
6600
  warnings: Array<{
6412
- warning_code: string
6413
6601
  message: string
6602
+ warning_code: string
6414
6603
  }>
6415
6604
  /** Date and time at which the device object was created. */
6416
6605
  created_at: string
@@ -6594,14 +6783,22 @@ export interface Routes {
6594
6783
  /** Unique identifier for the Seam workspace associated with the device. */
6595
6784
  workspace_id: string
6596
6785
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
6597
- errors: Array<{
6598
- error_code: string
6599
- message: string
6600
- }>
6786
+ errors: Array<
6787
+ | {
6788
+ message: string
6789
+ is_device_error: true
6790
+ error_code: string
6791
+ }
6792
+ | {
6793
+ message: string
6794
+ is_connected_account_error: true
6795
+ error_code: string
6796
+ }
6797
+ >
6601
6798
  /** 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. */
6602
6799
  warnings: Array<{
6603
- warning_code: string
6604
6800
  message: string
6801
+ warning_code: string
6605
6802
  }>
6606
6803
  /** Date and time at which the device object was created. */
6607
6804
  created_at: string
@@ -6882,14 +7079,22 @@ export interface Routes {
6882
7079
  /** Unique identifier for the Seam workspace associated with the device. */
6883
7080
  workspace_id: string
6884
7081
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
6885
- errors: Array<{
6886
- error_code: string
6887
- message: string
6888
- }>
7082
+ errors: Array<
7083
+ | {
7084
+ message: string
7085
+ is_device_error: true
7086
+ error_code: string
7087
+ }
7088
+ | {
7089
+ message: string
7090
+ is_connected_account_error: true
7091
+ error_code: string
7092
+ }
7093
+ >
6889
7094
  /** 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. */
6890
7095
  warnings: Array<{
6891
- warning_code: string
6892
7096
  message: string
7097
+ warning_code: string
6893
7098
  }>
6894
7099
  /** Date and time at which the device object was created. */
6895
7100
  created_at: string
@@ -7900,14 +8105,22 @@ export interface Routes {
7900
8105
  /** Unique identifier for the Seam workspace associated with the device. */
7901
8106
  workspace_id: string
7902
8107
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
7903
- errors: Array<{
7904
- error_code: string
7905
- message: string
7906
- }>
8108
+ errors: Array<
8109
+ | {
8110
+ message: string
8111
+ is_device_error: true
8112
+ error_code: string
8113
+ }
8114
+ | {
8115
+ message: string
8116
+ is_connected_account_error: true
8117
+ error_code: string
8118
+ }
8119
+ >
7907
8120
  /** 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. */
7908
8121
  warnings: Array<{
7909
- warning_code: string
7910
8122
  message: string
8123
+ warning_code: string
7911
8124
  }>
7912
8125
  /** Date and time at which the device object was created. */
7913
8126
  created_at: string
@@ -8630,14 +8843,22 @@ export interface Routes {
8630
8843
  /** Unique identifier for the Seam workspace associated with the device. */
8631
8844
  workspace_id: string
8632
8845
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
8633
- errors: Array<{
8634
- error_code: string
8635
- message: string
8636
- }>
8846
+ errors: Array<
8847
+ | {
8848
+ message: string
8849
+ is_device_error: true
8850
+ error_code: string
8851
+ }
8852
+ | {
8853
+ message: string
8854
+ is_connected_account_error: true
8855
+ error_code: string
8856
+ }
8857
+ >
8637
8858
  /** 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. */
8638
8859
  warnings: Array<{
8639
- warning_code: string
8640
8860
  message: string
8861
+ warning_code: string
8641
8862
  }>
8642
8863
  /** Date and time at which the device object was created. */
8643
8864
  created_at: string
@@ -9518,14 +9739,22 @@ export interface Routes {
9518
9739
  /** Unique identifier for the Seam workspace associated with the device. */
9519
9740
  workspace_id: string
9520
9741
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
9521
- errors: Array<{
9522
- error_code: string
9523
- message: string
9524
- }>
9742
+ errors: Array<
9743
+ | {
9744
+ message: string
9745
+ is_device_error: true
9746
+ error_code: string
9747
+ }
9748
+ | {
9749
+ message: string
9750
+ is_connected_account_error: true
9751
+ error_code: string
9752
+ }
9753
+ >
9525
9754
  /** 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. */
9526
9755
  warnings: Array<{
9527
- warning_code: string
9528
9756
  message: string
9757
+ warning_code: string
9529
9758
  }>
9530
9759
  /** Date and time at which the device object was created. */
9531
9760
  created_at: string
@@ -10248,14 +10477,22 @@ export interface Routes {
10248
10477
  /** Unique identifier for the Seam workspace associated with the device. */
10249
10478
  workspace_id: string
10250
10479
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
10251
- errors: Array<{
10252
- error_code: string
10253
- message: string
10254
- }>
10480
+ errors: Array<
10481
+ | {
10482
+ message: string
10483
+ is_device_error: true
10484
+ error_code: string
10485
+ }
10486
+ | {
10487
+ message: string
10488
+ is_connected_account_error: true
10489
+ error_code: string
10490
+ }
10491
+ >
10255
10492
  /** 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. */
10256
10493
  warnings: Array<{
10257
- warning_code: string
10258
10494
  message: string
10495
+ warning_code: string
10259
10496
  }>
10260
10497
  /** Date and time at which the device object was created. */
10261
10498
  created_at: string
@@ -12535,14 +12772,22 @@ export interface Routes {
12535
12772
  /** Unique identifier for the Seam workspace associated with the device. */
12536
12773
  workspace_id: string
12537
12774
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
12538
- errors: Array<{
12539
- error_code: string
12540
- message: string
12541
- }>
12775
+ errors: Array<
12776
+ | {
12777
+ message: string
12778
+ is_device_error: true
12779
+ error_code: string
12780
+ }
12781
+ | {
12782
+ message: string
12783
+ is_connected_account_error: true
12784
+ error_code: string
12785
+ }
12786
+ >
12542
12787
  /** 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. */
12543
12788
  warnings: Array<{
12544
- warning_code: string
12545
12789
  message: string
12790
+ warning_code: string
12546
12791
  }>
12547
12792
  /** Date and time at which the device object was created. */
12548
12793
  created_at: string
@@ -12622,14 +12867,22 @@ export interface Routes {
12622
12867
  /** Unique identifier for the Seam workspace associated with the device. */
12623
12868
  workspace_id: string
12624
12869
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
12625
- errors: Array<{
12626
- error_code: string
12627
- message: string
12628
- }>
12870
+ errors: Array<
12871
+ | {
12872
+ message: string
12873
+ is_device_error: true
12874
+ error_code: string
12875
+ }
12876
+ | {
12877
+ message: string
12878
+ is_connected_account_error: true
12879
+ error_code: string
12880
+ }
12881
+ >
12629
12882
  /** 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. */
12630
12883
  warnings: Array<{
12631
- warning_code: string
12632
12884
  message: string
12885
+ warning_code: string
12633
12886
  }>
12634
12887
  /** Date and time at which the device object was created. */
12635
12888
  created_at: string
@@ -13947,14 +14200,22 @@ export interface Routes {
13947
14200
  /** Unique identifier for the Seam workspace associated with the device. */
13948
14201
  workspace_id: string
13949
14202
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
13950
- errors: Array<{
13951
- error_code: string
13952
- message: string
13953
- }>
14203
+ errors: Array<
14204
+ | {
14205
+ message: string
14206
+ is_device_error: true
14207
+ error_code: string
14208
+ }
14209
+ | {
14210
+ message: string
14211
+ is_connected_account_error: true
14212
+ error_code: string
14213
+ }
14214
+ >
13954
14215
  /** 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. */
13955
14216
  warnings: Array<{
13956
- warning_code: string
13957
14217
  message: string
14218
+ warning_code: string
13958
14219
  }>
13959
14220
  /** Date and time at which the device object was created. */
13960
14221
  created_at: string
@@ -15679,14 +15940,22 @@ export interface Routes {
15679
15940
  /** Unique identifier for the Seam workspace associated with the device. */
15680
15941
  workspace_id: string
15681
15942
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
15682
- errors: Array<{
15683
- error_code: string
15684
- message: string
15685
- }>
15943
+ errors: Array<
15944
+ | {
15945
+ message: string
15946
+ is_device_error: true
15947
+ error_code: string
15948
+ }
15949
+ | {
15950
+ message: string
15951
+ is_connected_account_error: true
15952
+ error_code: string
15953
+ }
15954
+ >
15686
15955
  /** 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. */
15687
15956
  warnings: Array<{
15688
- warning_code: string
15689
15957
  message: string
15958
+ warning_code: string
15690
15959
  }>
15691
15960
  /** Date and time at which the device object was created. */
15692
15961
  created_at: string
@@ -17463,14 +17732,22 @@ export interface Routes {
17463
17732
  /** Unique identifier for the Seam workspace associated with the device. */
17464
17733
  workspace_id: string
17465
17734
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
17466
- errors: Array<{
17467
- error_code: string
17468
- message: string
17469
- }>
17735
+ errors: Array<
17736
+ | {
17737
+ message: string
17738
+ is_device_error: true
17739
+ error_code: string
17740
+ }
17741
+ | {
17742
+ message: string
17743
+ is_connected_account_error: true
17744
+ error_code: string
17745
+ }
17746
+ >
17470
17747
  /** 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. */
17471
17748
  warnings: Array<{
17472
- warning_code: string
17473
17749
  message: string
17750
+ warning_code: string
17474
17751
  }>
17475
17752
  /** Date and time at which the device object was created. */
17476
17753
  created_at: string
@@ -18195,14 +18472,22 @@ export interface Routes {
18195
18472
  /** Unique identifier for the Seam workspace associated with the device. */
18196
18473
  workspace_id: string
18197
18474
  /** Array of errors associated with the device. Each error object within the array contains two fields: "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it. */
18198
- errors: Array<{
18199
- error_code: string
18200
- message: string
18201
- }>
18475
+ errors: Array<
18476
+ | {
18477
+ message: string
18478
+ is_device_error: true
18479
+ error_code: string
18480
+ }
18481
+ | {
18482
+ message: string
18483
+ is_connected_account_error: true
18484
+ error_code: string
18485
+ }
18486
+ >
18202
18487
  /** 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. */
18203
18488
  warnings: Array<{
18204
- warning_code: string
18205
18489
  message: string
18490
+ warning_code: string
18206
18491
  }>
18207
18492
  /** Date and time at which the device object was created. */
18208
18493
  created_at: string