@seamapi/types 1.196.1 → 1.198.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 +1721 -1502
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1870 -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 +272 -26
  43. package/lib/seam/connect/openapi.js +211 -23
  44. package/lib/seam/connect/openapi.js.map +1 -1
  45. package/lib/seam/connect/route-types.d.ts +249 -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 +211 -23
  55. package/src/lib/seam/connect/route-types.ts +379 -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
@@ -2565,6 +2717,8 @@ export interface Routes {
2565
2717
  user_identity_id: string
2566
2718
  }
2567
2719
  ) & {
2720
+ limit?: number
2721
+ created_before?: Date | undefined
2568
2722
  is_multi_phone_sync_credential?: boolean | undefined
2569
2723
  }
2570
2724
  formData: {}
@@ -4713,8 +4867,15 @@ export interface Routes {
4713
4867
  | undefined
4714
4868
  account_type?: string | undefined
4715
4869
  account_type_display_name: string
4716
- errors?: any
4717
- warnings?: any
4870
+ errors: Array<{
4871
+ message: string
4872
+ is_connected_account_error: true
4873
+ error_code: string
4874
+ }>
4875
+ warnings: Array<{
4876
+ message: string
4877
+ warning_code: string
4878
+ }>
4718
4879
  custom_metadata: Record<string, string | boolean>
4719
4880
  automatically_manage_new_devices: boolean
4720
4881
  }
@@ -4745,8 +4906,15 @@ export interface Routes {
4745
4906
  | undefined
4746
4907
  account_type?: string | undefined
4747
4908
  account_type_display_name: string
4748
- errors?: any
4749
- warnings?: any
4909
+ errors: Array<{
4910
+ message: string
4911
+ is_connected_account_error: true
4912
+ error_code: string
4913
+ }>
4914
+ warnings: Array<{
4915
+ message: string
4916
+ warning_code: string
4917
+ }>
4750
4918
  custom_metadata: Record<string, string | boolean>
4751
4919
  automatically_manage_new_devices: boolean
4752
4920
  }>
@@ -4778,8 +4946,15 @@ export interface Routes {
4778
4946
  | undefined
4779
4947
  account_type?: string | undefined
4780
4948
  account_type_display_name: string
4781
- errors?: any
4782
- warnings?: any
4949
+ errors: Array<{
4950
+ message: string
4951
+ is_connected_account_error: true
4952
+ error_code: string
4953
+ }>
4954
+ warnings: Array<{
4955
+ message: string
4956
+ warning_code: string
4957
+ }>
4783
4958
  custom_metadata: Record<string, string | boolean>
4784
4959
  automatically_manage_new_devices: boolean
4785
4960
  }
@@ -5515,14 +5690,22 @@ export interface Routes {
5515
5690
  /** Unique identifier for the Seam workspace associated with the device. */
5516
5691
  workspace_id: string
5517
5692
  /** 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
- }>
5693
+ errors: Array<
5694
+ | {
5695
+ message: string
5696
+ is_device_error: true
5697
+ error_code: string
5698
+ }
5699
+ | {
5700
+ message: string
5701
+ is_connected_account_error: true
5702
+ error_code: string
5703
+ }
5704
+ >
5522
5705
  /** 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
5706
  warnings: Array<{
5524
- warning_code: string
5525
5707
  message: string
5708
+ warning_code: string
5526
5709
  }>
5527
5710
  /** Date and time at which the device object was created. */
5528
5711
  created_at: string
@@ -6403,14 +6586,22 @@ export interface Routes {
6403
6586
  /** Unique identifier for the Seam workspace associated with the device. */
6404
6587
  workspace_id: string
6405
6588
  /** 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
- }>
6589
+ errors: Array<
6590
+ | {
6591
+ message: string
6592
+ is_device_error: true
6593
+ error_code: string
6594
+ }
6595
+ | {
6596
+ message: string
6597
+ is_connected_account_error: true
6598
+ error_code: string
6599
+ }
6600
+ >
6410
6601
  /** 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
6602
  warnings: Array<{
6412
- warning_code: string
6413
6603
  message: string
6604
+ warning_code: string
6414
6605
  }>
6415
6606
  /** Date and time at which the device object was created. */
6416
6607
  created_at: string
@@ -6594,14 +6785,22 @@ export interface Routes {
6594
6785
  /** Unique identifier for the Seam workspace associated with the device. */
6595
6786
  workspace_id: string
6596
6787
  /** 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
- }>
6788
+ errors: Array<
6789
+ | {
6790
+ message: string
6791
+ is_device_error: true
6792
+ error_code: string
6793
+ }
6794
+ | {
6795
+ message: string
6796
+ is_connected_account_error: true
6797
+ error_code: string
6798
+ }
6799
+ >
6601
6800
  /** 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
6801
  warnings: Array<{
6603
- warning_code: string
6604
6802
  message: string
6803
+ warning_code: string
6605
6804
  }>
6606
6805
  /** Date and time at which the device object was created. */
6607
6806
  created_at: string
@@ -6882,14 +7081,22 @@ export interface Routes {
6882
7081
  /** Unique identifier for the Seam workspace associated with the device. */
6883
7082
  workspace_id: string
6884
7083
  /** 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
- }>
7084
+ errors: Array<
7085
+ | {
7086
+ message: string
7087
+ is_device_error: true
7088
+ error_code: string
7089
+ }
7090
+ | {
7091
+ message: string
7092
+ is_connected_account_error: true
7093
+ error_code: string
7094
+ }
7095
+ >
6889
7096
  /** 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
7097
  warnings: Array<{
6891
- warning_code: string
6892
7098
  message: string
7099
+ warning_code: string
6893
7100
  }>
6894
7101
  /** Date and time at which the device object was created. */
6895
7102
  created_at: string
@@ -7900,14 +8107,22 @@ export interface Routes {
7900
8107
  /** Unique identifier for the Seam workspace associated with the device. */
7901
8108
  workspace_id: string
7902
8109
  /** 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
- }>
8110
+ errors: Array<
8111
+ | {
8112
+ message: string
8113
+ is_device_error: true
8114
+ error_code: string
8115
+ }
8116
+ | {
8117
+ message: string
8118
+ is_connected_account_error: true
8119
+ error_code: string
8120
+ }
8121
+ >
7907
8122
  /** 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
8123
  warnings: Array<{
7909
- warning_code: string
7910
8124
  message: string
8125
+ warning_code: string
7911
8126
  }>
7912
8127
  /** Date and time at which the device object was created. */
7913
8128
  created_at: string
@@ -8630,14 +8845,22 @@ export interface Routes {
8630
8845
  /** Unique identifier for the Seam workspace associated with the device. */
8631
8846
  workspace_id: string
8632
8847
  /** 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
- }>
8848
+ errors: Array<
8849
+ | {
8850
+ message: string
8851
+ is_device_error: true
8852
+ error_code: string
8853
+ }
8854
+ | {
8855
+ message: string
8856
+ is_connected_account_error: true
8857
+ error_code: string
8858
+ }
8859
+ >
8637
8860
  /** 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
8861
  warnings: Array<{
8639
- warning_code: string
8640
8862
  message: string
8863
+ warning_code: string
8641
8864
  }>
8642
8865
  /** Date and time at which the device object was created. */
8643
8866
  created_at: string
@@ -9518,14 +9741,22 @@ export interface Routes {
9518
9741
  /** Unique identifier for the Seam workspace associated with the device. */
9519
9742
  workspace_id: string
9520
9743
  /** 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
- }>
9744
+ errors: Array<
9745
+ | {
9746
+ message: string
9747
+ is_device_error: true
9748
+ error_code: string
9749
+ }
9750
+ | {
9751
+ message: string
9752
+ is_connected_account_error: true
9753
+ error_code: string
9754
+ }
9755
+ >
9525
9756
  /** 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
9757
  warnings: Array<{
9527
- warning_code: string
9528
9758
  message: string
9759
+ warning_code: string
9529
9760
  }>
9530
9761
  /** Date and time at which the device object was created. */
9531
9762
  created_at: string
@@ -10248,14 +10479,22 @@ export interface Routes {
10248
10479
  /** Unique identifier for the Seam workspace associated with the device. */
10249
10480
  workspace_id: string
10250
10481
  /** 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
- }>
10482
+ errors: Array<
10483
+ | {
10484
+ message: string
10485
+ is_device_error: true
10486
+ error_code: string
10487
+ }
10488
+ | {
10489
+ message: string
10490
+ is_connected_account_error: true
10491
+ error_code: string
10492
+ }
10493
+ >
10255
10494
  /** 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
10495
  warnings: Array<{
10257
- warning_code: string
10258
10496
  message: string
10497
+ warning_code: string
10259
10498
  }>
10260
10499
  /** Date and time at which the device object was created. */
10261
10500
  created_at: string
@@ -12535,14 +12774,22 @@ export interface Routes {
12535
12774
  /** Unique identifier for the Seam workspace associated with the device. */
12536
12775
  workspace_id: string
12537
12776
  /** 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
- }>
12777
+ errors: Array<
12778
+ | {
12779
+ message: string
12780
+ is_device_error: true
12781
+ error_code: string
12782
+ }
12783
+ | {
12784
+ message: string
12785
+ is_connected_account_error: true
12786
+ error_code: string
12787
+ }
12788
+ >
12542
12789
  /** 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
12790
  warnings: Array<{
12544
- warning_code: string
12545
12791
  message: string
12792
+ warning_code: string
12546
12793
  }>
12547
12794
  /** Date and time at which the device object was created. */
12548
12795
  created_at: string
@@ -12622,14 +12869,22 @@ export interface Routes {
12622
12869
  /** Unique identifier for the Seam workspace associated with the device. */
12623
12870
  workspace_id: string
12624
12871
  /** 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
- }>
12872
+ errors: Array<
12873
+ | {
12874
+ message: string
12875
+ is_device_error: true
12876
+ error_code: string
12877
+ }
12878
+ | {
12879
+ message: string
12880
+ is_connected_account_error: true
12881
+ error_code: string
12882
+ }
12883
+ >
12629
12884
  /** 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
12885
  warnings: Array<{
12631
- warning_code: string
12632
12886
  message: string
12887
+ warning_code: string
12633
12888
  }>
12634
12889
  /** Date and time at which the device object was created. */
12635
12890
  created_at: string
@@ -13947,14 +14202,22 @@ export interface Routes {
13947
14202
  /** Unique identifier for the Seam workspace associated with the device. */
13948
14203
  workspace_id: string
13949
14204
  /** 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
- }>
14205
+ errors: Array<
14206
+ | {
14207
+ message: string
14208
+ is_device_error: true
14209
+ error_code: string
14210
+ }
14211
+ | {
14212
+ message: string
14213
+ is_connected_account_error: true
14214
+ error_code: string
14215
+ }
14216
+ >
13954
14217
  /** 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
14218
  warnings: Array<{
13956
- warning_code: string
13957
14219
  message: string
14220
+ warning_code: string
13958
14221
  }>
13959
14222
  /** Date and time at which the device object was created. */
13960
14223
  created_at: string
@@ -15679,14 +15942,22 @@ export interface Routes {
15679
15942
  /** Unique identifier for the Seam workspace associated with the device. */
15680
15943
  workspace_id: string
15681
15944
  /** 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
- }>
15945
+ errors: Array<
15946
+ | {
15947
+ message: string
15948
+ is_device_error: true
15949
+ error_code: string
15950
+ }
15951
+ | {
15952
+ message: string
15953
+ is_connected_account_error: true
15954
+ error_code: string
15955
+ }
15956
+ >
15686
15957
  /** 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
15958
  warnings: Array<{
15688
- warning_code: string
15689
15959
  message: string
15960
+ warning_code: string
15690
15961
  }>
15691
15962
  /** Date and time at which the device object was created. */
15692
15963
  created_at: string
@@ -17463,14 +17734,22 @@ export interface Routes {
17463
17734
  /** Unique identifier for the Seam workspace associated with the device. */
17464
17735
  workspace_id: string
17465
17736
  /** 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
- }>
17737
+ errors: Array<
17738
+ | {
17739
+ message: string
17740
+ is_device_error: true
17741
+ error_code: string
17742
+ }
17743
+ | {
17744
+ message: string
17745
+ is_connected_account_error: true
17746
+ error_code: string
17747
+ }
17748
+ >
17470
17749
  /** 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
17750
  warnings: Array<{
17472
- warning_code: string
17473
17751
  message: string
17752
+ warning_code: string
17474
17753
  }>
17475
17754
  /** Date and time at which the device object was created. */
17476
17755
  created_at: string
@@ -18195,14 +18474,22 @@ export interface Routes {
18195
18474
  /** Unique identifier for the Seam workspace associated with the device. */
18196
18475
  workspace_id: string
18197
18476
  /** 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
- }>
18477
+ errors: Array<
18478
+ | {
18479
+ message: string
18480
+ is_device_error: true
18481
+ error_code: string
18482
+ }
18483
+ | {
18484
+ message: string
18485
+ is_connected_account_error: true
18486
+ error_code: string
18487
+ }
18488
+ >
18202
18489
  /** 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
18490
  warnings: Array<{
18204
- warning_code: string
18205
18491
  message: string
18492
+ warning_code: string
18206
18493
  }>
18207
18494
  /** Date and time at which the device object was created. */
18208
18495
  created_at: string