@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
@@ -405,9 +405,24 @@ export interface Routes {
405
405
  /** Date and time at which the access code was created. */
406
406
  created_at: string;
407
407
  /** 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. */
408
- errors?: any;
408
+ errors: Array<{
409
+ message: string;
410
+ is_access_code_error: true;
411
+ error_code: string;
412
+ } | {
413
+ message: string;
414
+ is_device_error: true;
415
+ error_code: string;
416
+ } | {
417
+ message: string;
418
+ is_connected_account_error: true;
419
+ error_code: string;
420
+ }>;
409
421
  /** 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. */
410
- warnings?: any;
422
+ warnings: Array<{
423
+ message: string;
424
+ warning_code: string;
425
+ }>;
411
426
  /** Indicates whether Seam manages the access code. */
412
427
  is_managed: true;
413
428
  /** Date and time at which the time-bound access code becomes active. */
@@ -478,9 +493,24 @@ export interface Routes {
478
493
  /** Date and time at which the access code was created. */
479
494
  created_at: string;
480
495
  /** 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. */
481
- errors?: any;
496
+ errors: Array<{
497
+ message: string;
498
+ is_access_code_error: true;
499
+ error_code: string;
500
+ } | {
501
+ message: string;
502
+ is_device_error: true;
503
+ error_code: string;
504
+ } | {
505
+ message: string;
506
+ is_connected_account_error: true;
507
+ error_code: string;
508
+ }>;
482
509
  /** 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. */
483
- warnings?: any;
510
+ warnings: Array<{
511
+ message: string;
512
+ warning_code: string;
513
+ }>;
484
514
  /** Indicates whether Seam manages the access code. */
485
515
  is_managed: true;
486
516
  /** Date and time at which the time-bound access code becomes active. */
@@ -929,9 +959,24 @@ export interface Routes {
929
959
  /** Date and time at which the access code was created. */
930
960
  created_at: string;
931
961
  /** 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. */
932
- errors?: any;
962
+ errors: Array<{
963
+ message: string;
964
+ is_access_code_error: true;
965
+ error_code: string;
966
+ } | {
967
+ message: string;
968
+ is_device_error: true;
969
+ error_code: string;
970
+ } | {
971
+ message: string;
972
+ is_connected_account_error: true;
973
+ error_code: string;
974
+ }>;
933
975
  /** 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. */
934
- warnings?: any;
976
+ warnings: Array<{
977
+ message: string;
978
+ warning_code: string;
979
+ }>;
935
980
  /** Indicates whether Seam manages the access code. */
936
981
  is_managed: true;
937
982
  /** Date and time at which the time-bound access code becomes active. */
@@ -989,9 +1034,24 @@ export interface Routes {
989
1034
  /** Date and time at which the access code was created. */
990
1035
  created_at: string;
991
1036
  /** 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. */
992
- errors?: any;
1037
+ errors: Array<{
1038
+ message: string;
1039
+ is_access_code_error: true;
1040
+ error_code: string;
1041
+ } | {
1042
+ message: string;
1043
+ is_device_error: true;
1044
+ error_code: string;
1045
+ } | {
1046
+ message: string;
1047
+ is_connected_account_error: true;
1048
+ error_code: string;
1049
+ }>;
993
1050
  /** 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. */
994
- warnings?: any;
1051
+ warnings: Array<{
1052
+ message: string;
1053
+ warning_code: string;
1054
+ }>;
995
1055
  /** Indicates whether Seam manages the access code. */
996
1056
  is_managed: true;
997
1057
  /** Date and time at which the time-bound access code becomes active. */
@@ -1047,9 +1107,24 @@ export interface Routes {
1047
1107
  /** Date and time at which the access code was created. */
1048
1108
  created_at: string;
1049
1109
  /** 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. */
1050
- errors?: any;
1110
+ errors: Array<{
1111
+ message: string;
1112
+ is_access_code_error: true;
1113
+ error_code: string;
1114
+ } | {
1115
+ message: string;
1116
+ is_device_error: true;
1117
+ error_code: string;
1118
+ } | {
1119
+ message: string;
1120
+ is_connected_account_error: true;
1121
+ error_code: string;
1122
+ }>;
1051
1123
  /** 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. */
1052
- warnings?: any;
1124
+ warnings: Array<{
1125
+ message: string;
1126
+ warning_code: string;
1127
+ }>;
1053
1128
  /** Indicates whether Seam manages the access code. */
1054
1129
  is_managed: true;
1055
1130
  /** Date and time at which the time-bound access code becomes active. */
@@ -1101,9 +1176,24 @@ export interface Routes {
1101
1176
  /** Date and time at which the access code was created. */
1102
1177
  created_at: string;
1103
1178
  /** 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. */
1104
- errors?: any;
1179
+ errors: Array<{
1180
+ message: string;
1181
+ is_access_code_error: true;
1182
+ error_code: string;
1183
+ } | {
1184
+ message: string;
1185
+ is_device_error: true;
1186
+ error_code: string;
1187
+ } | {
1188
+ message: string;
1189
+ is_connected_account_error: true;
1190
+ error_code: string;
1191
+ }>;
1105
1192
  /** 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. */
1106
- warnings?: any;
1193
+ warnings: Array<{
1194
+ message: string;
1195
+ warning_code: string;
1196
+ }>;
1107
1197
  is_managed: false;
1108
1198
  /** Date and time at which the time-bound access code becomes active. */
1109
1199
  starts_at?: (string | null) | undefined;
@@ -1528,9 +1618,24 @@ export interface Routes {
1528
1618
  /** Date and time at which the access code was created. */
1529
1619
  created_at: string;
1530
1620
  /** 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. */
1531
- errors?: any;
1621
+ errors: Array<{
1622
+ message: string;
1623
+ is_access_code_error: true;
1624
+ error_code: string;
1625
+ } | {
1626
+ message: string;
1627
+ is_device_error: true;
1628
+ error_code: string;
1629
+ } | {
1630
+ message: string;
1631
+ is_connected_account_error: true;
1632
+ error_code: string;
1633
+ }>;
1532
1634
  /** 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. */
1533
- warnings?: any;
1635
+ warnings: Array<{
1636
+ message: string;
1637
+ warning_code: string;
1638
+ }>;
1534
1639
  is_managed: false;
1535
1640
  /** Date and time at which the time-bound access code becomes active. */
1536
1641
  starts_at?: (string | null) | undefined;
@@ -1565,9 +1670,24 @@ export interface Routes {
1565
1670
  /** Date and time at which the access code was created. */
1566
1671
  created_at: string;
1567
1672
  /** 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. */
1568
- errors?: any;
1673
+ errors: Array<{
1674
+ message: string;
1675
+ is_access_code_error: true;
1676
+ error_code: string;
1677
+ } | {
1678
+ message: string;
1679
+ is_device_error: true;
1680
+ error_code: string;
1681
+ } | {
1682
+ message: string;
1683
+ is_connected_account_error: true;
1684
+ error_code: string;
1685
+ }>;
1569
1686
  /** 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. */
1570
- warnings?: any;
1687
+ warnings: Array<{
1688
+ message: string;
1689
+ warning_code: string;
1690
+ }>;
1571
1691
  is_managed: false;
1572
1692
  /** Date and time at which the time-bound access code becomes active. */
1573
1693
  starts_at?: (string | null) | undefined;
@@ -2323,6 +2443,8 @@ export interface Routes {
2323
2443
  } | {
2324
2444
  user_identity_id: string;
2325
2445
  }) & {
2446
+ limit?: number;
2447
+ created_before?: Date | undefined;
2326
2448
  is_multi_phone_sync_credential?: boolean | undefined;
2327
2449
  };
2328
2450
  formData: {};
@@ -4135,8 +4257,15 @@ export interface Routes {
4135
4257
  } | undefined;
4136
4258
  account_type?: string | undefined;
4137
4259
  account_type_display_name: string;
4138
- errors?: any;
4139
- warnings?: any;
4260
+ errors: Array<{
4261
+ message: string;
4262
+ is_connected_account_error: true;
4263
+ error_code: string;
4264
+ }>;
4265
+ warnings: Array<{
4266
+ message: string;
4267
+ warning_code: string;
4268
+ }>;
4140
4269
  custom_metadata: Record<string, string | boolean>;
4141
4270
  automatically_manage_new_devices: boolean;
4142
4271
  };
@@ -4165,8 +4294,15 @@ export interface Routes {
4165
4294
  } | undefined;
4166
4295
  account_type?: string | undefined;
4167
4296
  account_type_display_name: string;
4168
- errors?: any;
4169
- warnings?: any;
4297
+ errors: Array<{
4298
+ message: string;
4299
+ is_connected_account_error: true;
4300
+ error_code: string;
4301
+ }>;
4302
+ warnings: Array<{
4303
+ message: string;
4304
+ warning_code: string;
4305
+ }>;
4170
4306
  custom_metadata: Record<string, string | boolean>;
4171
4307
  automatically_manage_new_devices: boolean;
4172
4308
  }>;
@@ -4196,8 +4332,15 @@ export interface Routes {
4196
4332
  } | undefined;
4197
4333
  account_type?: string | undefined;
4198
4334
  account_type_display_name: string;
4199
- errors?: any;
4200
- warnings?: any;
4335
+ errors: Array<{
4336
+ message: string;
4337
+ is_connected_account_error: true;
4338
+ error_code: string;
4339
+ }>;
4340
+ warnings: Array<{
4341
+ message: string;
4342
+ warning_code: string;
4343
+ }>;
4201
4344
  custom_metadata: Record<string, string | boolean>;
4202
4345
  automatically_manage_new_devices: boolean;
4203
4346
  };
@@ -4714,13 +4857,18 @@ export interface Routes {
4714
4857
  workspace_id: string;
4715
4858
  /** 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. */
4716
4859
  errors: Array<{
4860
+ message: string;
4861
+ is_device_error: true;
4717
4862
  error_code: string;
4863
+ } | {
4718
4864
  message: string;
4865
+ is_connected_account_error: true;
4866
+ error_code: string;
4719
4867
  }>;
4720
4868
  /** 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. */
4721
4869
  warnings: Array<{
4722
- warning_code: string;
4723
4870
  message: string;
4871
+ warning_code: string;
4724
4872
  }>;
4725
4873
  /** Date and time at which the device object was created. */
4726
4874
  created_at: string;
@@ -5249,13 +5397,18 @@ export interface Routes {
5249
5397
  workspace_id: string;
5250
5398
  /** 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. */
5251
5399
  errors: Array<{
5400
+ message: string;
5401
+ is_device_error: true;
5252
5402
  error_code: string;
5403
+ } | {
5253
5404
  message: string;
5405
+ is_connected_account_error: true;
5406
+ error_code: string;
5254
5407
  }>;
5255
5408
  /** 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. */
5256
5409
  warnings: Array<{
5257
- warning_code: string;
5258
5410
  message: string;
5411
+ warning_code: string;
5259
5412
  }>;
5260
5413
  /** Date and time at which the device object was created. */
5261
5414
  created_at: string;
@@ -5347,13 +5500,18 @@ export interface Routes {
5347
5500
  workspace_id: string;
5348
5501
  /** 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. */
5349
5502
  errors: Array<{
5503
+ message: string;
5504
+ is_device_error: true;
5350
5505
  error_code: string;
5506
+ } | {
5351
5507
  message: string;
5508
+ is_connected_account_error: true;
5509
+ error_code: string;
5352
5510
  }>;
5353
5511
  /** 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. */
5354
5512
  warnings: Array<{
5355
- warning_code: string;
5356
5513
  message: string;
5514
+ warning_code: string;
5357
5515
  }>;
5358
5516
  /** Date and time at which the device object was created. */
5359
5517
  created_at: string;
@@ -5454,13 +5612,18 @@ export interface Routes {
5454
5612
  workspace_id: string;
5455
5613
  /** 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. */
5456
5614
  errors: Array<{
5615
+ message: string;
5616
+ is_device_error: true;
5457
5617
  error_code: string;
5618
+ } | {
5458
5619
  message: string;
5620
+ is_connected_account_error: true;
5621
+ error_code: string;
5459
5622
  }>;
5460
5623
  /** 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. */
5461
5624
  warnings: Array<{
5462
- warning_code: string;
5463
5625
  message: string;
5626
+ warning_code: string;
5464
5627
  }>;
5465
5628
  /** Date and time at which the device object was created. */
5466
5629
  created_at: string;
@@ -6118,13 +6281,18 @@ export interface Routes {
6118
6281
  workspace_id: string;
6119
6282
  /** 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. */
6120
6283
  errors: Array<{
6284
+ message: string;
6285
+ is_device_error: true;
6121
6286
  error_code: string;
6287
+ } | {
6122
6288
  message: string;
6289
+ is_connected_account_error: true;
6290
+ error_code: string;
6123
6291
  }>;
6124
6292
  /** 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. */
6125
6293
  warnings: Array<{
6126
- warning_code: string;
6127
6294
  message: string;
6295
+ warning_code: string;
6128
6296
  }>;
6129
6297
  /** Date and time at which the device object was created. */
6130
6298
  created_at: string;
@@ -6628,13 +6796,18 @@ export interface Routes {
6628
6796
  workspace_id: string;
6629
6797
  /** 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. */
6630
6798
  errors: Array<{
6799
+ message: string;
6800
+ is_device_error: true;
6631
6801
  error_code: string;
6802
+ } | {
6632
6803
  message: string;
6804
+ is_connected_account_error: true;
6805
+ error_code: string;
6633
6806
  }>;
6634
6807
  /** 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. */
6635
6808
  warnings: Array<{
6636
- warning_code: string;
6637
6809
  message: string;
6810
+ warning_code: string;
6638
6811
  }>;
6639
6812
  /** Date and time at which the device object was created. */
6640
6813
  created_at: string;
@@ -7163,13 +7336,18 @@ export interface Routes {
7163
7336
  workspace_id: string;
7164
7337
  /** 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. */
7165
7338
  errors: Array<{
7339
+ message: string;
7340
+ is_device_error: true;
7166
7341
  error_code: string;
7342
+ } | {
7167
7343
  message: string;
7344
+ is_connected_account_error: true;
7345
+ error_code: string;
7168
7346
  }>;
7169
7347
  /** 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. */
7170
7348
  warnings: Array<{
7171
- warning_code: string;
7172
7349
  message: string;
7350
+ warning_code: string;
7173
7351
  }>;
7174
7352
  /** Date and time at which the device object was created. */
7175
7353
  created_at: string;
@@ -7673,13 +7851,18 @@ export interface Routes {
7673
7851
  workspace_id: string;
7674
7852
  /** 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. */
7675
7853
  errors: Array<{
7854
+ message: string;
7855
+ is_device_error: true;
7676
7856
  error_code: string;
7857
+ } | {
7677
7858
  message: string;
7859
+ is_connected_account_error: true;
7860
+ error_code: string;
7678
7861
  }>;
7679
7862
  /** 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. */
7680
7863
  warnings: Array<{
7681
- warning_code: string;
7682
7864
  message: string;
7865
+ warning_code: string;
7683
7866
  }>;
7684
7867
  /** Date and time at which the device object was created. */
7685
7868
  created_at: string;
@@ -9726,13 +9909,18 @@ export interface Routes {
9726
9909
  workspace_id: string;
9727
9910
  /** 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. */
9728
9911
  errors: Array<{
9912
+ message: string;
9913
+ is_device_error: true;
9729
9914
  error_code: string;
9915
+ } | {
9730
9916
  message: string;
9917
+ is_connected_account_error: true;
9918
+ error_code: string;
9731
9919
  }>;
9732
9920
  /** 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. */
9733
9921
  warnings: Array<{
9734
- warning_code: string;
9735
9922
  message: string;
9923
+ warning_code: string;
9736
9924
  }>;
9737
9925
  /** Date and time at which the device object was created. */
9738
9926
  created_at: string;
@@ -9804,13 +9992,18 @@ export interface Routes {
9804
9992
  workspace_id: string;
9805
9993
  /** 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. */
9806
9994
  errors: Array<{
9995
+ message: string;
9996
+ is_device_error: true;
9807
9997
  error_code: string;
9998
+ } | {
9808
9999
  message: string;
10000
+ is_connected_account_error: true;
10001
+ error_code: string;
9809
10002
  }>;
9810
10003
  /** 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. */
9811
10004
  warnings: Array<{
9812
- warning_code: string;
9813
10005
  message: string;
10006
+ warning_code: string;
9814
10007
  }>;
9815
10008
  /** Date and time at which the device object was created. */
9816
10009
  created_at: string;
@@ -10864,13 +11057,18 @@ export interface Routes {
10864
11057
  workspace_id: string;
10865
11058
  /** 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. */
10866
11059
  errors: Array<{
11060
+ message: string;
11061
+ is_device_error: true;
10867
11062
  error_code: string;
11063
+ } | {
10868
11064
  message: string;
11065
+ is_connected_account_error: true;
11066
+ error_code: string;
10869
11067
  }>;
10870
11068
  /** 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. */
10871
11069
  warnings: Array<{
10872
- warning_code: string;
10873
11070
  message: string;
11071
+ warning_code: string;
10874
11072
  }>;
10875
11073
  /** Date and time at which the device object was created. */
10876
11074
  created_at: string;
@@ -12153,13 +12351,18 @@ export interface Routes {
12153
12351
  workspace_id: string;
12154
12352
  /** 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. */
12155
12353
  errors: Array<{
12354
+ message: string;
12355
+ is_device_error: true;
12156
12356
  error_code: string;
12357
+ } | {
12157
12358
  message: string;
12359
+ is_connected_account_error: true;
12360
+ error_code: string;
12158
12361
  }>;
12159
12362
  /** 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. */
12160
12363
  warnings: Array<{
12161
- warning_code: string;
12162
12364
  message: string;
12365
+ warning_code: string;
12163
12366
  }>;
12164
12367
  /** Date and time at which the device object was created. */
12165
12368
  created_at: string;
@@ -13625,13 +13828,18 @@ export interface Routes {
13625
13828
  workspace_id: string;
13626
13829
  /** 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. */
13627
13830
  errors: Array<{
13831
+ message: string;
13832
+ is_device_error: true;
13628
13833
  error_code: string;
13834
+ } | {
13629
13835
  message: string;
13836
+ is_connected_account_error: true;
13837
+ error_code: string;
13630
13838
  }>;
13631
13839
  /** 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. */
13632
13840
  warnings: Array<{
13633
- warning_code: string;
13634
13841
  message: string;
13842
+ warning_code: string;
13635
13843
  }>;
13636
13844
  /** Date and time at which the device object was created. */
13637
13845
  created_at: string;
@@ -14137,13 +14345,18 @@ export interface Routes {
14137
14345
  workspace_id: string;
14138
14346
  /** 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. */
14139
14347
  errors: Array<{
14348
+ message: string;
14349
+ is_device_error: true;
14140
14350
  error_code: string;
14351
+ } | {
14141
14352
  message: string;
14353
+ is_connected_account_error: true;
14354
+ error_code: string;
14142
14355
  }>;
14143
14356
  /** 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. */
14144
14357
  warnings: Array<{
14145
- warning_code: string;
14146
14358
  message: string;
14359
+ warning_code: string;
14147
14360
  }>;
14148
14361
  /** Date and time at which the device object was created. */
14149
14362
  created_at: string;
@@ -352,8 +352,8 @@ export declare const base_device_model_v1: z.ZodObject<{
352
352
  seam_api_guide: z.ZodOptional<z.ZodString>;
353
353
  description: z.ZodOptional<z.ZodString>;
354
354
  }, "device_model_count">, "strip", z.ZodTypeAny, {
355
- display_name: string;
356
355
  manufacturer_id: string;
356
+ display_name: string;
357
357
  integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
358
358
  integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
359
359
  is_connect_webview_supported: boolean;
@@ -379,8 +379,8 @@ export declare const base_device_model_v1: z.ZodObject<{
379
379
  us_customer_support_contact_url?: string | undefined;
380
380
  seam_api_guide?: string | undefined;
381
381
  }, {
382
- display_name: string;
383
382
  manufacturer_id: string;
383
+ display_name: string;
384
384
  integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
385
385
  integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
386
386
  is_connect_webview_supported: boolean;
@@ -509,8 +509,8 @@ export declare const base_device_model_v1: z.ZodObject<{
509
509
  display_name: string;
510
510
  device_model_id: string;
511
511
  manufacturer: {
512
- display_name: string;
513
512
  manufacturer_id: string;
513
+ display_name: string;
514
514
  integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
515
515
  integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
516
516
  is_connect_webview_supported: boolean;
@@ -569,8 +569,8 @@ export declare const base_device_model_v1: z.ZodObject<{
569
569
  display_name: string;
570
570
  device_model_id: string;
571
571
  manufacturer: {
572
- display_name: string;
573
572
  manufacturer_id: string;
573
+ display_name: string;
574
574
  integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
575
575
  integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
576
576
  is_connect_webview_supported: boolean;
@@ -671,8 +671,8 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
671
671
  seam_api_guide: z.ZodOptional<z.ZodString>;
672
672
  description: z.ZodOptional<z.ZodString>;
673
673
  }, "device_model_count">, "strip", z.ZodTypeAny, {
674
- display_name: string;
675
674
  manufacturer_id: string;
675
+ display_name: string;
676
676
  integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
677
677
  integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
678
678
  is_connect_webview_supported: boolean;
@@ -698,8 +698,8 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
698
698
  us_customer_support_contact_url?: string | undefined;
699
699
  seam_api_guide?: string | undefined;
700
700
  }, {
701
- display_name: string;
702
701
  manufacturer_id: string;
702
+ display_name: string;
703
703
  integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
704
704
  integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
705
705
  is_connect_webview_supported: boolean;
@@ -828,8 +828,8 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
828
828
  display_name: string;
829
829
  device_model_id: string;
830
830
  manufacturer: {
831
- display_name: string;
832
831
  manufacturer_id: string;
832
+ display_name: string;
833
833
  integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
834
834
  integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
835
835
  is_connect_webview_supported: boolean;
@@ -888,8 +888,8 @@ export declare const device_model_v1: z.ZodIntersection<z.ZodObject<{
888
888
  display_name: string;
889
889
  device_model_id: string;
890
890
  manufacturer: {
891
- display_name: string;
892
891
  manufacturer_id: string;
892
+ display_name: string;
893
893
  integration: "beta" | "stable" | "planned" | "unsupported" | "inquire";
894
894
  integration_support_level: "beta" | "stable" | "planned" | "unsupported" | "inquire";
895
895
  is_connect_webview_supported: boolean;