@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
@@ -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;
@@ -4135,8 +4255,15 @@ export interface Routes {
4135
4255
  } | undefined;
4136
4256
  account_type?: string | undefined;
4137
4257
  account_type_display_name: string;
4138
- errors?: any;
4139
- warnings?: any;
4258
+ errors: Array<{
4259
+ message: string;
4260
+ is_connected_account_error: true;
4261
+ error_code: string;
4262
+ }>;
4263
+ warnings: Array<{
4264
+ message: string;
4265
+ warning_code: string;
4266
+ }>;
4140
4267
  custom_metadata: Record<string, string | boolean>;
4141
4268
  automatically_manage_new_devices: boolean;
4142
4269
  };
@@ -4165,8 +4292,15 @@ export interface Routes {
4165
4292
  } | undefined;
4166
4293
  account_type?: string | undefined;
4167
4294
  account_type_display_name: string;
4168
- errors?: any;
4169
- warnings?: any;
4295
+ errors: Array<{
4296
+ message: string;
4297
+ is_connected_account_error: true;
4298
+ error_code: string;
4299
+ }>;
4300
+ warnings: Array<{
4301
+ message: string;
4302
+ warning_code: string;
4303
+ }>;
4170
4304
  custom_metadata: Record<string, string | boolean>;
4171
4305
  automatically_manage_new_devices: boolean;
4172
4306
  }>;
@@ -4196,8 +4330,15 @@ export interface Routes {
4196
4330
  } | undefined;
4197
4331
  account_type?: string | undefined;
4198
4332
  account_type_display_name: string;
4199
- errors?: any;
4200
- warnings?: any;
4333
+ errors: Array<{
4334
+ message: string;
4335
+ is_connected_account_error: true;
4336
+ error_code: string;
4337
+ }>;
4338
+ warnings: Array<{
4339
+ message: string;
4340
+ warning_code: string;
4341
+ }>;
4201
4342
  custom_metadata: Record<string, string | boolean>;
4202
4343
  automatically_manage_new_devices: boolean;
4203
4344
  };
@@ -4714,13 +4855,18 @@ export interface Routes {
4714
4855
  workspace_id: string;
4715
4856
  /** 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
4857
  errors: Array<{
4858
+ message: string;
4859
+ is_device_error: true;
4717
4860
  error_code: string;
4861
+ } | {
4718
4862
  message: string;
4863
+ is_connected_account_error: true;
4864
+ error_code: string;
4719
4865
  }>;
4720
4866
  /** 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
4867
  warnings: Array<{
4722
- warning_code: string;
4723
4868
  message: string;
4869
+ warning_code: string;
4724
4870
  }>;
4725
4871
  /** Date and time at which the device object was created. */
4726
4872
  created_at: string;
@@ -5249,13 +5395,18 @@ export interface Routes {
5249
5395
  workspace_id: string;
5250
5396
  /** 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
5397
  errors: Array<{
5398
+ message: string;
5399
+ is_device_error: true;
5252
5400
  error_code: string;
5401
+ } | {
5253
5402
  message: string;
5403
+ is_connected_account_error: true;
5404
+ error_code: string;
5254
5405
  }>;
5255
5406
  /** 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
5407
  warnings: Array<{
5257
- warning_code: string;
5258
5408
  message: string;
5409
+ warning_code: string;
5259
5410
  }>;
5260
5411
  /** Date and time at which the device object was created. */
5261
5412
  created_at: string;
@@ -5347,13 +5498,18 @@ export interface Routes {
5347
5498
  workspace_id: string;
5348
5499
  /** 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
5500
  errors: Array<{
5501
+ message: string;
5502
+ is_device_error: true;
5350
5503
  error_code: string;
5504
+ } | {
5351
5505
  message: string;
5506
+ is_connected_account_error: true;
5507
+ error_code: string;
5352
5508
  }>;
5353
5509
  /** 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
5510
  warnings: Array<{
5355
- warning_code: string;
5356
5511
  message: string;
5512
+ warning_code: string;
5357
5513
  }>;
5358
5514
  /** Date and time at which the device object was created. */
5359
5515
  created_at: string;
@@ -5454,13 +5610,18 @@ export interface Routes {
5454
5610
  workspace_id: string;
5455
5611
  /** 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
5612
  errors: Array<{
5613
+ message: string;
5614
+ is_device_error: true;
5457
5615
  error_code: string;
5616
+ } | {
5458
5617
  message: string;
5618
+ is_connected_account_error: true;
5619
+ error_code: string;
5459
5620
  }>;
5460
5621
  /** 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
5622
  warnings: Array<{
5462
- warning_code: string;
5463
5623
  message: string;
5624
+ warning_code: string;
5464
5625
  }>;
5465
5626
  /** Date and time at which the device object was created. */
5466
5627
  created_at: string;
@@ -6118,13 +6279,18 @@ export interface Routes {
6118
6279
  workspace_id: string;
6119
6280
  /** 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
6281
  errors: Array<{
6282
+ message: string;
6283
+ is_device_error: true;
6121
6284
  error_code: string;
6285
+ } | {
6122
6286
  message: string;
6287
+ is_connected_account_error: true;
6288
+ error_code: string;
6123
6289
  }>;
6124
6290
  /** 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
6291
  warnings: Array<{
6126
- warning_code: string;
6127
6292
  message: string;
6293
+ warning_code: string;
6128
6294
  }>;
6129
6295
  /** Date and time at which the device object was created. */
6130
6296
  created_at: string;
@@ -6628,13 +6794,18 @@ export interface Routes {
6628
6794
  workspace_id: string;
6629
6795
  /** 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
6796
  errors: Array<{
6797
+ message: string;
6798
+ is_device_error: true;
6631
6799
  error_code: string;
6800
+ } | {
6632
6801
  message: string;
6802
+ is_connected_account_error: true;
6803
+ error_code: string;
6633
6804
  }>;
6634
6805
  /** 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
6806
  warnings: Array<{
6636
- warning_code: string;
6637
6807
  message: string;
6808
+ warning_code: string;
6638
6809
  }>;
6639
6810
  /** Date and time at which the device object was created. */
6640
6811
  created_at: string;
@@ -7163,13 +7334,18 @@ export interface Routes {
7163
7334
  workspace_id: string;
7164
7335
  /** 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
7336
  errors: Array<{
7337
+ message: string;
7338
+ is_device_error: true;
7166
7339
  error_code: string;
7340
+ } | {
7167
7341
  message: string;
7342
+ is_connected_account_error: true;
7343
+ error_code: string;
7168
7344
  }>;
7169
7345
  /** 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
7346
  warnings: Array<{
7171
- warning_code: string;
7172
7347
  message: string;
7348
+ warning_code: string;
7173
7349
  }>;
7174
7350
  /** Date and time at which the device object was created. */
7175
7351
  created_at: string;
@@ -7673,13 +7849,18 @@ export interface Routes {
7673
7849
  workspace_id: string;
7674
7850
  /** 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
7851
  errors: Array<{
7852
+ message: string;
7853
+ is_device_error: true;
7676
7854
  error_code: string;
7855
+ } | {
7677
7856
  message: string;
7857
+ is_connected_account_error: true;
7858
+ error_code: string;
7678
7859
  }>;
7679
7860
  /** 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
7861
  warnings: Array<{
7681
- warning_code: string;
7682
7862
  message: string;
7863
+ warning_code: string;
7683
7864
  }>;
7684
7865
  /** Date and time at which the device object was created. */
7685
7866
  created_at: string;
@@ -9726,13 +9907,18 @@ export interface Routes {
9726
9907
  workspace_id: string;
9727
9908
  /** 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
9909
  errors: Array<{
9910
+ message: string;
9911
+ is_device_error: true;
9729
9912
  error_code: string;
9913
+ } | {
9730
9914
  message: string;
9915
+ is_connected_account_error: true;
9916
+ error_code: string;
9731
9917
  }>;
9732
9918
  /** 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
9919
  warnings: Array<{
9734
- warning_code: string;
9735
9920
  message: string;
9921
+ warning_code: string;
9736
9922
  }>;
9737
9923
  /** Date and time at which the device object was created. */
9738
9924
  created_at: string;
@@ -9804,13 +9990,18 @@ export interface Routes {
9804
9990
  workspace_id: string;
9805
9991
  /** 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
9992
  errors: Array<{
9993
+ message: string;
9994
+ is_device_error: true;
9807
9995
  error_code: string;
9996
+ } | {
9808
9997
  message: string;
9998
+ is_connected_account_error: true;
9999
+ error_code: string;
9809
10000
  }>;
9810
10001
  /** 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
10002
  warnings: Array<{
9812
- warning_code: string;
9813
10003
  message: string;
10004
+ warning_code: string;
9814
10005
  }>;
9815
10006
  /** Date and time at which the device object was created. */
9816
10007
  created_at: string;
@@ -10864,13 +11055,18 @@ export interface Routes {
10864
11055
  workspace_id: string;
10865
11056
  /** 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
11057
  errors: Array<{
11058
+ message: string;
11059
+ is_device_error: true;
10867
11060
  error_code: string;
11061
+ } | {
10868
11062
  message: string;
11063
+ is_connected_account_error: true;
11064
+ error_code: string;
10869
11065
  }>;
10870
11066
  /** 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
11067
  warnings: Array<{
10872
- warning_code: string;
10873
11068
  message: string;
11069
+ warning_code: string;
10874
11070
  }>;
10875
11071
  /** Date and time at which the device object was created. */
10876
11072
  created_at: string;
@@ -12153,13 +12349,18 @@ export interface Routes {
12153
12349
  workspace_id: string;
12154
12350
  /** 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
12351
  errors: Array<{
12352
+ message: string;
12353
+ is_device_error: true;
12156
12354
  error_code: string;
12355
+ } | {
12157
12356
  message: string;
12357
+ is_connected_account_error: true;
12358
+ error_code: string;
12158
12359
  }>;
12159
12360
  /** 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
12361
  warnings: Array<{
12161
- warning_code: string;
12162
12362
  message: string;
12363
+ warning_code: string;
12163
12364
  }>;
12164
12365
  /** Date and time at which the device object was created. */
12165
12366
  created_at: string;
@@ -13625,13 +13826,18 @@ export interface Routes {
13625
13826
  workspace_id: string;
13626
13827
  /** 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
13828
  errors: Array<{
13829
+ message: string;
13830
+ is_device_error: true;
13628
13831
  error_code: string;
13832
+ } | {
13629
13833
  message: string;
13834
+ is_connected_account_error: true;
13835
+ error_code: string;
13630
13836
  }>;
13631
13837
  /** 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
13838
  warnings: Array<{
13633
- warning_code: string;
13634
13839
  message: string;
13840
+ warning_code: string;
13635
13841
  }>;
13636
13842
  /** Date and time at which the device object was created. */
13637
13843
  created_at: string;
@@ -14137,13 +14343,18 @@ export interface Routes {
14137
14343
  workspace_id: string;
14138
14344
  /** 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
14345
  errors: Array<{
14346
+ message: string;
14347
+ is_device_error: true;
14140
14348
  error_code: string;
14349
+ } | {
14141
14350
  message: string;
14351
+ is_connected_account_error: true;
14352
+ error_code: string;
14142
14353
  }>;
14143
14354
  /** 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
14355
  warnings: Array<{
14145
- warning_code: string;
14146
14356
  message: string;
14357
+ warning_code: string;
14147
14358
  }>;
14148
14359
  /** Date and time at which the device object was created. */
14149
14360
  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;