@seamapi/types 1.344.1 → 1.344.3

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 (40) hide show
  1. package/dist/connect.cjs +1781 -1992
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +532 -633
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +33 -28
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +15 -3
  6. package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
  7. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +21 -26
  8. package/lib/seam/connect/models/acs/acs-credential.d.ts +2 -2
  9. package/lib/seam/connect/models/acs/acs-credential.js +1 -1
  10. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-system.js +2 -2
  13. package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
  14. package/lib/seam/connect/models/acs/acs-user.d.ts +5 -5
  15. package/lib/seam/connect/models/acs/acs-user.js +2 -2
  16. package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +4 -4
  18. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +2 -2
  19. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +2 -2
  20. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +4 -4
  21. package/lib/seam/connect/models/connected-accounts/connected-account.js +6 -3
  22. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  23. package/lib/seam/connect/models/devices/device.d.ts +6 -40
  24. package/lib/seam/connect/models/devices/device.js +6 -11
  25. package/lib/seam/connect/models/devices/device.js.map +1 -1
  26. package/lib/seam/connect/models/devices/phone.d.ts +4 -25
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +4 -25
  28. package/lib/seam/connect/openapi.d.ts +271 -223
  29. package/lib/seam/connect/openapi.js +1495 -1720
  30. package/lib/seam/connect/openapi.js.map +1 -1
  31. package/lib/seam/connect/route-types.d.ts +181 -275
  32. package/package.json +1 -1
  33. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +18 -3
  34. package/src/lib/seam/connect/models/acs/acs-credential.ts +1 -1
  35. package/src/lib/seam/connect/models/acs/acs-system.ts +2 -2
  36. package/src/lib/seam/connect/models/acs/acs-user.ts +2 -2
  37. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +6 -3
  38. package/src/lib/seam/connect/models/devices/device.ts +8 -12
  39. package/src/lib/seam/connect/openapi.ts +1599 -1832
  40. package/src/lib/seam/connect/route-types.ts +3261 -3494
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
 
3
- declare const access_code_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3
+ declare const access_code_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
4
4
  message: z.ZodString;
5
5
  is_access_code_error: z.ZodLiteral<true>;
6
6
  }, {
@@ -249,7 +249,7 @@ declare const access_code_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShap
249
249
  is_access_code_error: true;
250
250
  }>]>;
251
251
  type AccessCodeError = z.infer<typeof access_code_error>;
252
- declare const access_code_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
252
+ declare const access_code_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
253
253
  message: z.ZodString;
254
254
  }, {
255
255
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
@@ -281,6 +281,16 @@ declare const access_code_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendSh
281
281
  warning_code: "schlage_creation_outage";
282
282
  }>, z.ZodObject<z.objectUtil.extendShape<{
283
283
  message: z.ZodString;
284
+ }, {
285
+ warning_code: z.ZodLiteral<"salto_office_mode">;
286
+ }>, "strip", z.ZodTypeAny, {
287
+ message: string;
288
+ warning_code: "salto_office_mode";
289
+ }, {
290
+ message: string;
291
+ warning_code: "salto_office_mode";
292
+ }>, z.ZodObject<z.objectUtil.extendShape<{
293
+ message: z.ZodString;
284
294
  }, {
285
295
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
286
296
  }>, "strip", z.ZodTypeAny, {
@@ -361,7 +371,7 @@ declare const access_code: z.ZodObject<{
361
371
  name: z.ZodNullable<z.ZodString>;
362
372
  code: z.ZodNullable<z.ZodString>;
363
373
  created_at: z.ZodString;
364
- errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
374
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
365
375
  message: z.ZodString;
366
376
  is_access_code_error: z.ZodLiteral<true>;
367
377
  }, {
@@ -608,7 +618,7 @@ declare const access_code: z.ZodObject<{
608
618
  message: string;
609
619
  error_code: "hubitat_no_free_positions_available";
610
620
  is_access_code_error: true;
611
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
621
+ }>, z.ZodObject<z.objectUtil.extendShape<{
612
622
  message: z.ZodString;
613
623
  is_device_error: z.ZodLiteral<true>;
614
624
  }, {
@@ -637,19 +647,6 @@ declare const access_code: z.ZodObject<{
637
647
  }>, z.ZodObject<z.objectUtil.extendShape<{
638
648
  message: z.ZodString;
639
649
  is_device_error: z.ZodLiteral<true>;
640
- }, {
641
- error_code: z.ZodLiteral<"account_disconnected">;
642
- }>, "strip", z.ZodTypeAny, {
643
- message: string;
644
- error_code: "account_disconnected";
645
- is_device_error: true;
646
- }, {
647
- message: string;
648
- error_code: "account_disconnected";
649
- is_device_error: true;
650
- }>, z.ZodObject<z.objectUtil.extendShape<{
651
- message: z.ZodString;
652
- is_device_error: z.ZodLiteral<true>;
653
650
  }, {
654
651
  error_code: z.ZodLiteral<"hub_disconnected">;
655
652
  }>, "strip", z.ZodTypeAny, {
@@ -777,7 +774,7 @@ declare const access_code: z.ZodObject<{
777
774
  message: string;
778
775
  error_code: "subscription_required";
779
776
  is_device_error: true;
780
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
777
+ }>, z.ZodObject<z.objectUtil.extendShape<{
781
778
  message: z.ZodString;
782
779
  is_connected_account_error: z.ZodLiteral<true>;
783
780
  }, {
@@ -803,8 +800,8 @@ declare const access_code: z.ZodObject<{
803
800
  message: string;
804
801
  is_connected_account_error: true;
805
802
  error_code: "invalid_credentials";
806
- }>]>]>, "many">;
807
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
803
+ }>]>, "many">;
804
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
808
805
  message: z.ZodString;
809
806
  }, {
810
807
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
@@ -836,6 +833,16 @@ declare const access_code: z.ZodObject<{
836
833
  warning_code: "schlage_creation_outage";
837
834
  }>, z.ZodObject<z.objectUtil.extendShape<{
838
835
  message: z.ZodString;
836
+ }, {
837
+ warning_code: z.ZodLiteral<"salto_office_mode">;
838
+ }>, "strip", z.ZodTypeAny, {
839
+ message: string;
840
+ warning_code: "salto_office_mode";
841
+ }, {
842
+ message: string;
843
+ warning_code: "salto_office_mode";
844
+ }>, z.ZodObject<z.objectUtil.extendShape<{
845
+ message: z.ZodString;
839
846
  }, {
840
847
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
841
848
  }>, "strip", z.ZodTypeAny, {
@@ -936,10 +943,6 @@ declare const access_code: z.ZodObject<{
936
943
  message: string;
937
944
  error_code: "device_removed";
938
945
  is_device_error: true;
939
- } | {
940
- message: string;
941
- error_code: "account_disconnected";
942
- is_device_error: true;
943
946
  } | {
944
947
  message: string;
945
948
  error_code: "hub_disconnected";
@@ -1072,6 +1075,9 @@ declare const access_code: z.ZodObject<{
1072
1075
  } | {
1073
1076
  message: string;
1074
1077
  warning_code: "schlage_creation_outage";
1078
+ } | {
1079
+ message: string;
1080
+ warning_code: "salto_office_mode";
1075
1081
  } | {
1076
1082
  message: string;
1077
1083
  warning_code: "delay_in_setting_on_device";
@@ -1124,10 +1130,6 @@ declare const access_code: z.ZodObject<{
1124
1130
  message: string;
1125
1131
  error_code: "device_removed";
1126
1132
  is_device_error: true;
1127
- } | {
1128
- message: string;
1129
- error_code: "account_disconnected";
1130
- is_device_error: true;
1131
1133
  } | {
1132
1134
  message: string;
1133
1135
  error_code: "hub_disconnected";
@@ -1260,6 +1262,9 @@ declare const access_code: z.ZodObject<{
1260
1262
  } | {
1261
1263
  message: string;
1262
1264
  warning_code: "schlage_creation_outage";
1265
+ } | {
1266
+ message: string;
1267
+ warning_code: "salto_office_mode";
1263
1268
  } | {
1264
1269
  message: string;
1265
1270
  warning_code: "delay_in_setting_on_device";
@@ -1304,7 +1309,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1304
1309
  name: z.ZodNullable<z.ZodString>;
1305
1310
  code: z.ZodNullable<z.ZodString>;
1306
1311
  created_at: z.ZodString;
1307
- errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1312
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
1308
1313
  message: z.ZodString;
1309
1314
  is_access_code_error: z.ZodLiteral<true>;
1310
1315
  }, {
@@ -1551,7 +1556,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1551
1556
  message: string;
1552
1557
  error_code: "hubitat_no_free_positions_available";
1553
1558
  is_access_code_error: true;
1554
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1559
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1555
1560
  message: z.ZodString;
1556
1561
  is_device_error: z.ZodLiteral<true>;
1557
1562
  }, {
@@ -1580,19 +1585,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1580
1585
  }>, z.ZodObject<z.objectUtil.extendShape<{
1581
1586
  message: z.ZodString;
1582
1587
  is_device_error: z.ZodLiteral<true>;
1583
- }, {
1584
- error_code: z.ZodLiteral<"account_disconnected">;
1585
- }>, "strip", z.ZodTypeAny, {
1586
- message: string;
1587
- error_code: "account_disconnected";
1588
- is_device_error: true;
1589
- }, {
1590
- message: string;
1591
- error_code: "account_disconnected";
1592
- is_device_error: true;
1593
- }>, z.ZodObject<z.objectUtil.extendShape<{
1594
- message: z.ZodString;
1595
- is_device_error: z.ZodLiteral<true>;
1596
1588
  }, {
1597
1589
  error_code: z.ZodLiteral<"hub_disconnected">;
1598
1590
  }>, "strip", z.ZodTypeAny, {
@@ -1720,7 +1712,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1720
1712
  message: string;
1721
1713
  error_code: "subscription_required";
1722
1714
  is_device_error: true;
1723
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1715
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1724
1716
  message: z.ZodString;
1725
1717
  is_connected_account_error: z.ZodLiteral<true>;
1726
1718
  }, {
@@ -1746,8 +1738,8 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1746
1738
  message: string;
1747
1739
  is_connected_account_error: true;
1748
1740
  error_code: "invalid_credentials";
1749
- }>]>]>, "many">;
1750
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1741
+ }>]>, "many">;
1742
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
1751
1743
  message: z.ZodString;
1752
1744
  }, {
1753
1745
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
@@ -1779,6 +1771,16 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1779
1771
  warning_code: "schlage_creation_outage";
1780
1772
  }>, z.ZodObject<z.objectUtil.extendShape<{
1781
1773
  message: z.ZodString;
1774
+ }, {
1775
+ warning_code: z.ZodLiteral<"salto_office_mode">;
1776
+ }>, "strip", z.ZodTypeAny, {
1777
+ message: string;
1778
+ warning_code: "salto_office_mode";
1779
+ }, {
1780
+ message: string;
1781
+ warning_code: "salto_office_mode";
1782
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1783
+ message: z.ZodString;
1782
1784
  }, {
1783
1785
  warning_code: z.ZodLiteral<"code_modified_external_to_seam">;
1784
1786
  }>, "strip", z.ZodTypeAny, {
@@ -1882,10 +1884,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1882
1884
  message: string;
1883
1885
  error_code: "device_removed";
1884
1886
  is_device_error: true;
1885
- } | {
1886
- message: string;
1887
- error_code: "account_disconnected";
1888
- is_device_error: true;
1889
1887
  } | {
1890
1888
  message: string;
1891
1889
  error_code: "hub_disconnected";
@@ -2018,6 +2016,9 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2018
2016
  } | {
2019
2017
  message: string;
2020
2018
  warning_code: "schlage_creation_outage";
2019
+ } | {
2020
+ message: string;
2021
+ warning_code: "salto_office_mode";
2021
2022
  } | {
2022
2023
  message: string;
2023
2024
  warning_code: "delay_in_setting_on_device";
@@ -2061,10 +2062,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2061
2062
  message: string;
2062
2063
  error_code: "device_removed";
2063
2064
  is_device_error: true;
2064
- } | {
2065
- message: string;
2066
- error_code: "account_disconnected";
2067
- is_device_error: true;
2068
2065
  } | {
2069
2066
  message: string;
2070
2067
  error_code: "hub_disconnected";
@@ -2197,6 +2194,9 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2197
2194
  } | {
2198
2195
  message: string;
2199
2196
  warning_code: "schlage_creation_outage";
2197
+ } | {
2198
+ message: string;
2199
+ warning_code: "salto_office_mode";
2200
2200
  } | {
2201
2201
  message: string;
2202
2202
  warning_code: "delay_in_setting_on_device";
@@ -2377,7 +2377,7 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
2377
2377
  message: string;
2378
2378
  error_code: string;
2379
2379
  }>, "many">;
2380
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2380
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
2381
2381
  created_at: z.ZodString;
2382
2382
  message: z.ZodString;
2383
2383
  }, {
@@ -2676,7 +2676,7 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
2676
2676
  message: string;
2677
2677
  error_code: string;
2678
2678
  }>, "many">;
2679
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2679
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
2680
2680
  created_at: z.ZodString;
2681
2681
  message: z.ZodString;
2682
2682
  }, {
@@ -3253,7 +3253,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
3253
3253
  connected_account_id: z.ZodString;
3254
3254
  image_url: z.ZodString;
3255
3255
  image_alt_text: z.ZodString;
3256
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3256
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
3257
3257
  created_at: z.ZodString;
3258
3258
  message: z.ZodString;
3259
3259
  }, {
@@ -3332,7 +3332,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
3332
3332
  error_code: "salto_ks_certification_expired";
3333
3333
  created_at: string;
3334
3334
  }>]>, "many">;
3335
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3335
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
3336
3336
  created_at: z.ZodString;
3337
3337
  message: z.ZodString;
3338
3338
  }, {
@@ -3520,7 +3520,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
3520
3520
  user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3521
3521
  latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3522
3522
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3523
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3523
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
3524
3524
  created_at: z.ZodString;
3525
3525
  message: z.ZodString;
3526
3526
  }, {
@@ -3560,7 +3560,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
3560
3560
  warning_code: "unknown_issue_with_acs_user";
3561
3561
  created_at: string;
3562
3562
  }>]>, "many">;
3563
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3563
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
3564
3564
  created_at: z.ZodString;
3565
3565
  message: z.ZodString;
3566
3566
  }, {
@@ -3778,7 +3778,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
3778
3778
  user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3779
3779
  latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3780
3780
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3781
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3781
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
3782
3782
  created_at: z.ZodString;
3783
3783
  message: z.ZodString;
3784
3784
  }, {
@@ -3818,7 +3818,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
3818
3818
  warning_code: "unknown_issue_with_acs_user";
3819
3819
  created_at: string;
3820
3820
  }>]>, "many">;
3821
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3821
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
3822
3822
  created_at: z.ZodString;
3823
3823
  message: z.ZodString;
3824
3824
  }, {
@@ -4314,7 +4314,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
4314
4314
  message: string;
4315
4315
  error_code: string;
4316
4316
  }>, "many">;
4317
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
4317
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
4318
4318
  created_at: z.ZodString;
4319
4319
  message: z.ZodString;
4320
4320
  }, {
@@ -4612,7 +4612,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
4612
4612
  message: string;
4613
4613
  error_code: string;
4614
4614
  }>, "many">;
4615
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
4615
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
4616
4616
  created_at: z.ZodString;
4617
4617
  message: z.ZodString;
4618
4618
  }, {
@@ -5689,7 +5689,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
5689
5689
  message: string;
5690
5690
  error_code: string;
5691
5691
  }>, "many">;
5692
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5692
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
5693
5693
  created_at: z.ZodString;
5694
5694
  message: z.ZodString;
5695
5695
  }, {
@@ -5987,7 +5987,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
5987
5987
  message: string;
5988
5988
  error_code: string;
5989
5989
  }>, "many">;
5990
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5990
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
5991
5991
  created_at: z.ZodString;
5992
5992
  message: z.ZodString;
5993
5993
  }, {
@@ -7690,7 +7690,7 @@ declare const connect_webview: z.ZodObject<{
7690
7690
  }>;
7691
7691
  type ConnectWebview = z.infer<typeof connect_webview>;
7692
7692
 
7693
- declare const connected_account_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7693
+ declare const connected_account_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
7694
7694
  message: z.ZodString;
7695
7695
  is_connected_account_error: z.ZodLiteral<true>;
7696
7696
  }, {
@@ -7718,7 +7718,7 @@ declare const connected_account_error: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
7718
7718
  error_code: "invalid_credentials";
7719
7719
  }>]>;
7720
7720
  type ConnectedAccountError = z.infer<typeof connected_account_error>;
7721
- declare const connected_account_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7721
+ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
7722
7722
  message: z.ZodString;
7723
7723
  }, {
7724
7724
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
@@ -7764,7 +7764,7 @@ declare const connected_account: z.ZodObject<{
7764
7764
  }>>;
7765
7765
  account_type: z.ZodOptional<z.ZodString>;
7766
7766
  account_type_display_name: z.ZodString;
7767
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7767
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
7768
7768
  message: z.ZodString;
7769
7769
  is_connected_account_error: z.ZodLiteral<true>;
7770
7770
  }, {
@@ -7791,7 +7791,7 @@ declare const connected_account: z.ZodObject<{
7791
7791
  is_connected_account_error: true;
7792
7792
  error_code: "invalid_credentials";
7793
7793
  }>]>, "many">;
7794
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7794
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
7795
7795
  message: z.ZodString;
7796
7796
  }, {
7797
7797
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
@@ -7880,7 +7880,7 @@ type ConnectedAccount = z.infer<typeof connected_account>;
7880
7880
  declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
7881
7881
  type CustomMetadata = z.output<typeof custom_metadata>;
7882
7882
 
7883
- declare const device_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7883
+ declare const device_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
7884
7884
  message: z.ZodString;
7885
7885
  is_device_error: z.ZodLiteral<true>;
7886
7886
  }, {
@@ -7909,19 +7909,6 @@ declare const device_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7909
7909
  }>, z.ZodObject<z.objectUtil.extendShape<{
7910
7910
  message: z.ZodString;
7911
7911
  is_device_error: z.ZodLiteral<true>;
7912
- }, {
7913
- error_code: z.ZodLiteral<"account_disconnected">;
7914
- }>, "strip", z.ZodTypeAny, {
7915
- message: string;
7916
- error_code: "account_disconnected";
7917
- is_device_error: true;
7918
- }, {
7919
- message: string;
7920
- error_code: "account_disconnected";
7921
- is_device_error: true;
7922
- }>, z.ZodObject<z.objectUtil.extendShape<{
7923
- message: z.ZodString;
7924
- is_device_error: z.ZodLiteral<true>;
7925
7912
  }, {
7926
7913
  error_code: z.ZodLiteral<"hub_disconnected">;
7927
7914
  }>, "strip", z.ZodTypeAny, {
@@ -8051,7 +8038,7 @@ declare const device_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
8051
8038
  is_device_error: true;
8052
8039
  }>]>;
8053
8040
  type DeviceError = z.infer<typeof device_error>;
8054
- declare const device_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
8041
+ declare const device_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
8055
8042
  message: z.ZodString;
8056
8043
  }, {
8057
8044
  warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
@@ -10069,7 +10056,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10069
10056
  }>>;
10070
10057
  connected_account_id: z.ZodString;
10071
10058
  workspace_id: z.ZodString;
10072
- errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
10059
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
10073
10060
  message: z.ZodString;
10074
10061
  is_device_error: z.ZodLiteral<true>;
10075
10062
  }, {
@@ -10098,19 +10085,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10098
10085
  }>, z.ZodObject<z.objectUtil.extendShape<{
10099
10086
  message: z.ZodString;
10100
10087
  is_device_error: z.ZodLiteral<true>;
10101
- }, {
10102
- error_code: z.ZodLiteral<"account_disconnected">;
10103
- }>, "strip", z.ZodTypeAny, {
10104
- message: string;
10105
- error_code: "account_disconnected";
10106
- is_device_error: true;
10107
- }, {
10108
- message: string;
10109
- error_code: "account_disconnected";
10110
- is_device_error: true;
10111
- }>, z.ZodObject<z.objectUtil.extendShape<{
10112
- message: z.ZodString;
10113
- is_device_error: z.ZodLiteral<true>;
10114
10088
  }, {
10115
10089
  error_code: z.ZodLiteral<"hub_disconnected">;
10116
10090
  }>, "strip", z.ZodTypeAny, {
@@ -10238,7 +10212,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10238
10212
  message: string;
10239
10213
  error_code: "subscription_required";
10240
10214
  is_device_error: true;
10241
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
10215
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10242
10216
  message: z.ZodString;
10243
10217
  is_connected_account_error: z.ZodLiteral<true>;
10244
10218
  }, {
@@ -10264,8 +10238,8 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10264
10238
  message: string;
10265
10239
  is_connected_account_error: true;
10266
10240
  error_code: "invalid_credentials";
10267
- }>]>]>, "many">;
10268
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
10241
+ }>]>, "many">;
10242
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
10269
10243
  message: z.ZodString;
10270
10244
  }, {
10271
10245
  warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
@@ -10461,10 +10435,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10461
10435
  message: string;
10462
10436
  error_code: "device_removed";
10463
10437
  is_device_error: true;
10464
- } | {
10465
- message: string;
10466
- error_code: "account_disconnected";
10467
- is_device_error: true;
10468
10438
  } | {
10469
10439
  message: string;
10470
10440
  error_code: "hub_disconnected";
@@ -10976,10 +10946,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10976
10946
  message: string;
10977
10947
  error_code: "device_removed";
10978
10948
  is_device_error: true;
10979
- } | {
10980
- message: string;
10981
- error_code: "account_disconnected";
10982
- is_device_error: true;
10983
10949
  } | {
10984
10950
  message: string;
10985
10951
  error_code: "hub_disconnected";
@@ -13432,7 +13398,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13432
13398
  }>>;
13433
13399
  connected_account_id: z.ZodString;
13434
13400
  workspace_id: z.ZodString;
13435
- errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
13401
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
13436
13402
  message: z.ZodString;
13437
13403
  is_device_error: z.ZodLiteral<true>;
13438
13404
  }, {
@@ -13461,19 +13427,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13461
13427
  }>, z.ZodObject<z.objectUtil.extendShape<{
13462
13428
  message: z.ZodString;
13463
13429
  is_device_error: z.ZodLiteral<true>;
13464
- }, {
13465
- error_code: z.ZodLiteral<"account_disconnected">;
13466
- }>, "strip", z.ZodTypeAny, {
13467
- message: string;
13468
- error_code: "account_disconnected";
13469
- is_device_error: true;
13470
- }, {
13471
- message: string;
13472
- error_code: "account_disconnected";
13473
- is_device_error: true;
13474
- }>, z.ZodObject<z.objectUtil.extendShape<{
13475
- message: z.ZodString;
13476
- is_device_error: z.ZodLiteral<true>;
13477
13430
  }, {
13478
13431
  error_code: z.ZodLiteral<"hub_disconnected">;
13479
13432
  }>, "strip", z.ZodTypeAny, {
@@ -13601,7 +13554,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13601
13554
  message: string;
13602
13555
  error_code: "subscription_required";
13603
13556
  is_device_error: true;
13604
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
13557
+ }>, z.ZodObject<z.objectUtil.extendShape<{
13605
13558
  message: z.ZodString;
13606
13559
  is_connected_account_error: z.ZodLiteral<true>;
13607
13560
  }, {
@@ -13627,8 +13580,8 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13627
13580
  message: string;
13628
13581
  is_connected_account_error: true;
13629
13582
  error_code: "invalid_credentials";
13630
- }>]>]>, "many">;
13631
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
13583
+ }>]>, "many">;
13584
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
13632
13585
  message: z.ZodString;
13633
13586
  }, {
13634
13587
  warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
@@ -13973,10 +13926,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13973
13926
  message: string;
13974
13927
  error_code: "device_removed";
13975
13928
  is_device_error: true;
13976
- } | {
13977
- message: string;
13978
- error_code: "account_disconnected";
13979
- is_device_error: true;
13980
13929
  } | {
13981
13930
  message: string;
13982
13931
  error_code: "hub_disconnected";
@@ -14135,10 +14084,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
14135
14084
  message: string;
14136
14085
  error_code: "device_removed";
14137
14086
  is_device_error: true;
14138
- } | {
14139
- message: string;
14140
- error_code: "account_disconnected";
14141
- is_device_error: true;
14142
14087
  } | {
14143
14088
  message: string;
14144
14089
  error_code: "hub_disconnected";
@@ -16677,69 +16622,69 @@ declare const _default: {
16677
16622
  errors: {
16678
16623
  description: string;
16679
16624
  items: {
16625
+ discriminator: {
16626
+ propertyName: string;
16627
+ };
16680
16628
  oneOf: ({
16681
- oneOf: {
16682
- description: string;
16683
- properties: {
16684
- error_code: {
16685
- description: string;
16686
- enum: string[];
16687
- type: string;
16688
- };
16689
- is_access_code_error: {
16690
- enum: boolean[];
16691
- type: string;
16692
- };
16693
- message: {
16694
- type: string;
16695
- };
16629
+ description: string;
16630
+ properties: {
16631
+ error_code: {
16632
+ description: string;
16633
+ enum: string[];
16634
+ type: string;
16696
16635
  };
16697
- required: string[];
16698
- type: string;
16699
- }[];
16700
- description?: never;
16636
+ is_access_code_error: {
16637
+ enum: boolean[];
16638
+ type: string;
16639
+ };
16640
+ message: {
16641
+ type: string;
16642
+ };
16643
+ is_device_error?: never;
16644
+ is_connected_account_error?: never;
16645
+ };
16646
+ required: string[];
16647
+ type: string;
16701
16648
  } | {
16702
16649
  description: string;
16703
- oneOf: {
16704
- description: string;
16705
- properties: {
16706
- error_code: {
16707
- description: string;
16708
- enum: string[];
16709
- type: string;
16710
- };
16711
- is_device_error: {
16712
- enum: boolean[];
16713
- type: string;
16714
- };
16715
- message: {
16716
- type: string;
16717
- };
16650
+ properties: {
16651
+ error_code: {
16652
+ description: string;
16653
+ enum: string[];
16654
+ type: string;
16718
16655
  };
16719
- required: string[];
16720
- type: string;
16721
- }[];
16656
+ is_device_error: {
16657
+ enum: boolean[];
16658
+ type: string;
16659
+ };
16660
+ message: {
16661
+ type: string;
16662
+ };
16663
+ is_access_code_error?: never;
16664
+ is_connected_account_error?: never;
16665
+ };
16666
+ required: string[];
16667
+ type: string;
16722
16668
  } | {
16723
- oneOf: {
16724
- description: string;
16725
- properties: {
16726
- error_code: {
16727
- description: string;
16728
- enum: string[];
16729
- type: string;
16730
- };
16731
- is_connected_account_error: {
16732
- enum: boolean[];
16733
- type: string;
16734
- };
16735
- message: {
16736
- type: string;
16737
- };
16669
+ description: string;
16670
+ properties: {
16671
+ error_code: {
16672
+ description: string;
16673
+ enum: string[];
16674
+ type: string;
16738
16675
  };
16739
- required: string[];
16740
- type: string;
16741
- }[];
16742
- description?: never;
16676
+ is_connected_account_error: {
16677
+ enum: boolean[];
16678
+ type: string;
16679
+ };
16680
+ message: {
16681
+ type: string;
16682
+ };
16683
+ is_access_code_error?: never;
16684
+ is_device_error?: never;
16685
+ };
16686
+ required: string[];
16687
+ type: string;
16743
16688
  })[];
16744
16689
  };
16745
16690
  type: string;
@@ -16807,6 +16752,9 @@ declare const _default: {
16807
16752
  warnings: {
16808
16753
  description: string;
16809
16754
  items: {
16755
+ discriminator: {
16756
+ propertyName: string;
16757
+ };
16810
16758
  oneOf: {
16811
16759
  description: string;
16812
16760
  properties: {
@@ -17104,6 +17052,9 @@ declare const _default: {
17104
17052
  description: string;
17105
17053
  items: {
17106
17054
  description: string;
17055
+ discriminator: {
17056
+ propertyName: string;
17057
+ };
17107
17058
  oneOf: {
17108
17059
  description: string;
17109
17060
  properties: {
@@ -17476,6 +17427,9 @@ declare const _default: {
17476
17427
  description: string;
17477
17428
  items: {
17478
17429
  description: string;
17430
+ discriminator: {
17431
+ propertyName: string;
17432
+ };
17479
17433
  oneOf: ({
17480
17434
  description: string;
17481
17435
  properties: {
@@ -17589,6 +17543,9 @@ declare const _default: {
17589
17543
  description: string;
17590
17544
  items: {
17591
17545
  description: string;
17546
+ discriminator: {
17547
+ propertyName: string;
17548
+ };
17592
17549
  oneOf: ({
17593
17550
  properties: {
17594
17551
  created_at: {
@@ -17704,6 +17661,9 @@ declare const _default: {
17704
17661
  description: string;
17705
17662
  items: {
17706
17663
  description: string;
17664
+ discriminator: {
17665
+ propertyName: string;
17666
+ };
17707
17667
  oneOf: {
17708
17668
  description: string;
17709
17669
  properties: {
@@ -17790,6 +17750,9 @@ declare const _default: {
17790
17750
  description: string;
17791
17751
  items: {
17792
17752
  description: string;
17753
+ discriminator: {
17754
+ propertyName: string;
17755
+ };
17793
17756
  oneOf: {
17794
17757
  description: string;
17795
17758
  properties: {
@@ -18246,6 +18209,9 @@ declare const _default: {
18246
18209
  description: string;
18247
18210
  items: {
18248
18211
  description: string;
18212
+ discriminator: {
18213
+ propertyName: string;
18214
+ };
18249
18215
  oneOf: {
18250
18216
  description: string;
18251
18217
  properties: {
@@ -18575,6 +18541,9 @@ declare const _default: {
18575
18541
  description: string;
18576
18542
  items: {
18577
18543
  description: string;
18544
+ discriminator: {
18545
+ propertyName: string;
18546
+ };
18578
18547
  oneOf: {
18579
18548
  description: string;
18580
18549
  properties: {
@@ -19008,6 +18977,9 @@ declare const _default: {
19008
18977
  };
19009
18978
  errors: {
19010
18979
  items: {
18980
+ discriminator: {
18981
+ propertyName: string;
18982
+ };
19011
18983
  oneOf: {
19012
18984
  description: string;
19013
18985
  properties: {
@@ -19053,6 +19025,9 @@ declare const _default: {
19053
19025
  warnings: {
19054
19026
  items: {
19055
19027
  description: string;
19028
+ discriminator: {
19029
+ propertyName: string;
19030
+ };
19056
19031
  oneOf: {
19057
19032
  description: string;
19058
19033
  properties: {
@@ -19156,48 +19131,47 @@ declare const _default: {
19156
19131
  errors: {
19157
19132
  description: string;
19158
19133
  items: {
19134
+ discriminator: {
19135
+ propertyName: string;
19136
+ };
19159
19137
  oneOf: ({
19160
19138
  description: string;
19161
- oneOf: {
19162
- description: string;
19163
- properties: {
19164
- error_code: {
19165
- description: string;
19166
- enum: string[];
19167
- type: string;
19168
- };
19169
- is_device_error: {
19170
- enum: boolean[];
19171
- type: string;
19172
- };
19173
- message: {
19174
- type: string;
19175
- };
19139
+ properties: {
19140
+ error_code: {
19141
+ description: string;
19142
+ enum: string[];
19143
+ type: string;
19176
19144
  };
19177
- required: string[];
19178
- type: string;
19179
- }[];
19145
+ is_device_error: {
19146
+ enum: boolean[];
19147
+ type: string;
19148
+ };
19149
+ message: {
19150
+ type: string;
19151
+ };
19152
+ is_connected_account_error?: never;
19153
+ };
19154
+ required: string[];
19155
+ type: string;
19180
19156
  } | {
19181
- oneOf: {
19182
- description: string;
19183
- properties: {
19184
- error_code: {
19185
- description: string;
19186
- enum: string[];
19187
- type: string;
19188
- };
19189
- is_connected_account_error: {
19190
- enum: boolean[];
19191
- type: string;
19192
- };
19193
- message: {
19194
- type: string;
19195
- };
19157
+ description: string;
19158
+ properties: {
19159
+ error_code: {
19160
+ description: string;
19161
+ enum: string[];
19162
+ type: string;
19196
19163
  };
19197
- required: string[];
19198
- type: string;
19199
- }[];
19200
- description?: never;
19164
+ is_connected_account_error: {
19165
+ enum: boolean[];
19166
+ type: string;
19167
+ };
19168
+ message: {
19169
+ type: string;
19170
+ };
19171
+ is_device_error?: never;
19172
+ };
19173
+ required: string[];
19174
+ type: string;
19201
19175
  })[];
19202
19176
  };
19203
19177
  type: string;
@@ -20685,6 +20659,9 @@ declare const _default: {
20685
20659
  warnings: {
20686
20660
  description: string;
20687
20661
  items: {
20662
+ discriminator: {
20663
+ propertyName: string;
20664
+ };
20688
20665
  oneOf: {
20689
20666
  description: string;
20690
20667
  properties: {
@@ -23455,48 +23432,47 @@ declare const _default: {
23455
23432
  errors: {
23456
23433
  description: string;
23457
23434
  items: {
23435
+ discriminator: {
23436
+ propertyName: string;
23437
+ };
23458
23438
  oneOf: ({
23459
23439
  description: string;
23460
- oneOf: {
23461
- description: string;
23462
- properties: {
23463
- error_code: {
23464
- description: string;
23465
- enum: string[];
23466
- type: string;
23467
- };
23468
- is_device_error: {
23469
- enum: boolean[];
23470
- type: string;
23471
- };
23472
- message: {
23473
- type: string;
23474
- };
23440
+ properties: {
23441
+ error_code: {
23442
+ description: string;
23443
+ enum: string[];
23444
+ type: string;
23475
23445
  };
23476
- required: string[];
23477
- type: string;
23478
- }[];
23446
+ is_device_error: {
23447
+ enum: boolean[];
23448
+ type: string;
23449
+ };
23450
+ message: {
23451
+ type: string;
23452
+ };
23453
+ is_connected_account_error?: never;
23454
+ };
23455
+ required: string[];
23456
+ type: string;
23479
23457
  } | {
23480
- oneOf: {
23481
- description: string;
23482
- properties: {
23483
- error_code: {
23484
- description: string;
23485
- enum: string[];
23486
- type: string;
23487
- };
23488
- is_connected_account_error: {
23489
- enum: boolean[];
23490
- type: string;
23491
- };
23492
- message: {
23493
- type: string;
23494
- };
23458
+ description: string;
23459
+ properties: {
23460
+ error_code: {
23461
+ description: string;
23462
+ enum: string[];
23463
+ type: string;
23495
23464
  };
23496
- required: string[];
23497
- type: string;
23498
- }[];
23499
- description?: never;
23465
+ is_connected_account_error: {
23466
+ enum: boolean[];
23467
+ type: string;
23468
+ };
23469
+ message: {
23470
+ type: string;
23471
+ };
23472
+ is_device_error?: never;
23473
+ };
23474
+ required: string[];
23475
+ type: string;
23500
23476
  })[];
23501
23477
  };
23502
23478
  type: string;
@@ -23566,6 +23542,9 @@ declare const _default: {
23566
23542
  warnings: {
23567
23543
  description: string;
23568
23544
  items: {
23545
+ discriminator: {
23546
+ propertyName: string;
23547
+ };
23569
23548
  oneOf: {
23570
23549
  description: string;
23571
23550
  properties: {
@@ -23709,69 +23688,69 @@ declare const _default: {
23709
23688
  errors: {
23710
23689
  description: string;
23711
23690
  items: {
23691
+ discriminator: {
23692
+ propertyName: string;
23693
+ };
23712
23694
  oneOf: ({
23713
- oneOf: {
23714
- description: string;
23715
- properties: {
23716
- error_code: {
23717
- description: string;
23718
- enum: string[];
23719
- type: string;
23720
- };
23721
- is_access_code_error: {
23722
- enum: boolean[];
23723
- type: string;
23724
- };
23725
- message: {
23726
- type: string;
23727
- };
23695
+ description: string;
23696
+ properties: {
23697
+ error_code: {
23698
+ description: string;
23699
+ enum: string[];
23700
+ type: string;
23728
23701
  };
23729
- required: string[];
23730
- type: string;
23731
- }[];
23732
- description?: never;
23702
+ is_access_code_error: {
23703
+ enum: boolean[];
23704
+ type: string;
23705
+ };
23706
+ message: {
23707
+ type: string;
23708
+ };
23709
+ is_device_error?: never;
23710
+ is_connected_account_error?: never;
23711
+ };
23712
+ required: string[];
23713
+ type: string;
23733
23714
  } | {
23734
23715
  description: string;
23735
- oneOf: {
23736
- description: string;
23737
- properties: {
23738
- error_code: {
23739
- description: string;
23740
- enum: string[];
23741
- type: string;
23742
- };
23743
- is_device_error: {
23744
- enum: boolean[];
23745
- type: string;
23746
- };
23747
- message: {
23748
- type: string;
23749
- };
23716
+ properties: {
23717
+ error_code: {
23718
+ description: string;
23719
+ enum: string[];
23720
+ type: string;
23750
23721
  };
23751
- required: string[];
23752
- type: string;
23753
- }[];
23722
+ is_device_error: {
23723
+ enum: boolean[];
23724
+ type: string;
23725
+ };
23726
+ message: {
23727
+ type: string;
23728
+ };
23729
+ is_access_code_error?: never;
23730
+ is_connected_account_error?: never;
23731
+ };
23732
+ required: string[];
23733
+ type: string;
23754
23734
  } | {
23755
- oneOf: {
23756
- description: string;
23757
- properties: {
23758
- error_code: {
23759
- description: string;
23760
- enum: string[];
23761
- type: string;
23762
- };
23763
- is_connected_account_error: {
23764
- enum: boolean[];
23765
- type: string;
23766
- };
23767
- message: {
23768
- type: string;
23769
- };
23735
+ description: string;
23736
+ properties: {
23737
+ error_code: {
23738
+ description: string;
23739
+ enum: string[];
23740
+ type: string;
23770
23741
  };
23771
- required: string[];
23772
- type: string;
23773
- }[];
23774
- description?: never;
23742
+ is_connected_account_error: {
23743
+ enum: boolean[];
23744
+ type: string;
23745
+ };
23746
+ message: {
23747
+ type: string;
23748
+ };
23749
+ is_access_code_error?: never;
23750
+ is_device_error?: never;
23751
+ };
23752
+ required: string[];
23753
+ type: string;
23775
23754
  })[];
23776
23755
  };
23777
23756
  type: string;
@@ -23803,6 +23782,9 @@ declare const _default: {
23803
23782
  warnings: {
23804
23783
  description: string;
23805
23784
  items: {
23785
+ discriminator: {
23786
+ propertyName: string;
23787
+ };
23806
23788
  oneOf: {
23807
23789
  description: string;
23808
23790
  properties: {
@@ -24099,6 +24081,9 @@ declare const _default: {
24099
24081
  description: string;
24100
24082
  items: {
24101
24083
  description: string;
24084
+ discriminator: {
24085
+ propertyName: string;
24086
+ };
24102
24087
  oneOf: {
24103
24088
  description: string;
24104
24089
  properties: {
@@ -24188,6 +24173,9 @@ declare const _default: {
24188
24173
  description: string;
24189
24174
  items: {
24190
24175
  description: string;
24176
+ discriminator: {
24177
+ propertyName: string;
24178
+ };
24191
24179
  oneOf: {
24192
24180
  description: string;
24193
24181
  properties: {
@@ -24274,6 +24262,9 @@ declare const _default: {
24274
24262
  description: string;
24275
24263
  items: {
24276
24264
  description: string;
24265
+ discriminator: {
24266
+ propertyName: string;
24267
+ };
24277
24268
  oneOf: {
24278
24269
  description: string;
24279
24270
  properties: {
@@ -24373,48 +24364,47 @@ declare const _default: {
24373
24364
  errors: {
24374
24365
  description: string;
24375
24366
  items: {
24367
+ discriminator: {
24368
+ propertyName: string;
24369
+ };
24376
24370
  oneOf: ({
24377
24371
  description: string;
24378
- oneOf: {
24379
- description: string;
24380
- properties: {
24381
- error_code: {
24382
- description: string;
24383
- enum: string[];
24384
- type: string;
24385
- };
24386
- is_device_error: {
24387
- enum: boolean[];
24388
- type: string;
24389
- };
24390
- message: {
24391
- type: string;
24392
- };
24372
+ properties: {
24373
+ error_code: {
24374
+ description: string;
24375
+ enum: string[];
24376
+ type: string;
24393
24377
  };
24394
- required: string[];
24395
- type: string;
24396
- }[];
24378
+ is_device_error: {
24379
+ enum: boolean[];
24380
+ type: string;
24381
+ };
24382
+ message: {
24383
+ type: string;
24384
+ };
24385
+ is_connected_account_error?: never;
24386
+ };
24387
+ required: string[];
24388
+ type: string;
24397
24389
  } | {
24398
- oneOf: {
24399
- description: string;
24400
- properties: {
24401
- error_code: {
24402
- description: string;
24403
- enum: string[];
24404
- type: string;
24405
- };
24406
- is_connected_account_error: {
24407
- enum: boolean[];
24408
- type: string;
24409
- };
24410
- message: {
24411
- type: string;
24412
- };
24390
+ description: string;
24391
+ properties: {
24392
+ error_code: {
24393
+ description: string;
24394
+ enum: string[];
24395
+ type: string;
24413
24396
  };
24414
- required: string[];
24415
- type: string;
24416
- }[];
24417
- description?: never;
24397
+ is_connected_account_error: {
24398
+ enum: boolean[];
24399
+ type: string;
24400
+ };
24401
+ message: {
24402
+ type: string;
24403
+ };
24404
+ is_device_error?: never;
24405
+ };
24406
+ required: string[];
24407
+ type: string;
24418
24408
  })[];
24419
24409
  };
24420
24410
  type: string;
@@ -24561,6 +24551,9 @@ declare const _default: {
24561
24551
  warnings: {
24562
24552
  description: string;
24563
24553
  items: {
24554
+ discriminator: {
24555
+ propertyName: string;
24556
+ };
24564
24557
  oneOf: {
24565
24558
  description: string;
24566
24559
  properties: {
@@ -41416,7 +41409,7 @@ interface Routes {
41416
41409
  /** Date and time at which the access code was created. */
41417
41410
  created_at: string;
41418
41411
  /** 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. */
41419
- errors: Array<({
41412
+ errors: Array<{
41420
41413
  message: string;
41421
41414
  is_access_code_error: true;
41422
41415
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41511,7 +41504,7 @@ interface Routes {
41511
41504
  is_access_code_error: true;
41512
41505
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41513
41506
  error_code: 'hubitat_no_free_positions_available';
41514
- }) | ({
41507
+ } | {
41515
41508
  message: string;
41516
41509
  is_device_error: true;
41517
41510
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41521,11 +41514,6 @@ interface Routes {
41521
41514
  is_device_error: true;
41522
41515
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41523
41516
  error_code: 'device_removed';
41524
- } | {
41525
- message: string;
41526
- is_device_error: true;
41527
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41528
- error_code: 'account_disconnected';
41529
41517
  } | {
41530
41518
  message: string;
41531
41519
  is_device_error: true;
@@ -41576,17 +41564,17 @@ interface Routes {
41576
41564
  is_device_error: true;
41577
41565
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41578
41566
  error_code: 'subscription_required';
41579
- }) | ({
41567
+ } | {
41580
41568
  message: string;
41581
41569
  is_connected_account_error: true;
41582
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41570
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41583
41571
  error_code: 'account_disconnected';
41584
41572
  } | {
41585
41573
  message: string;
41586
41574
  is_connected_account_error: true;
41587
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41575
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41588
41576
  error_code: 'invalid_credentials';
41589
- })>;
41577
+ }>;
41590
41578
  /** 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. */
41591
41579
  warnings: Array<{
41592
41580
  message: string;
@@ -41600,6 +41588,10 @@ interface Routes {
41600
41588
  message: string;
41601
41589
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41602
41590
  warning_code: 'schlage_creation_outage';
41591
+ } | {
41592
+ message: string;
41593
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41594
+ warning_code: 'salto_office_mode';
41603
41595
  } | {
41604
41596
  message: string;
41605
41597
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -41699,7 +41691,7 @@ interface Routes {
41699
41691
  /** Date and time at which the access code was created. */
41700
41692
  created_at: string;
41701
41693
  /** 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. */
41702
- errors: Array<({
41694
+ errors: Array<{
41703
41695
  message: string;
41704
41696
  is_access_code_error: true;
41705
41697
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41794,7 +41786,7 @@ interface Routes {
41794
41786
  is_access_code_error: true;
41795
41787
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41796
41788
  error_code: 'hubitat_no_free_positions_available';
41797
- }) | ({
41789
+ } | {
41798
41790
  message: string;
41799
41791
  is_device_error: true;
41800
41792
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41804,11 +41796,6 @@ interface Routes {
41804
41796
  is_device_error: true;
41805
41797
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41806
41798
  error_code: 'device_removed';
41807
- } | {
41808
- message: string;
41809
- is_device_error: true;
41810
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41811
- error_code: 'account_disconnected';
41812
41799
  } | {
41813
41800
  message: string;
41814
41801
  is_device_error: true;
@@ -41859,17 +41846,17 @@ interface Routes {
41859
41846
  is_device_error: true;
41860
41847
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41861
41848
  error_code: 'subscription_required';
41862
- }) | ({
41849
+ } | {
41863
41850
  message: string;
41864
41851
  is_connected_account_error: true;
41865
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41852
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41866
41853
  error_code: 'account_disconnected';
41867
41854
  } | {
41868
41855
  message: string;
41869
41856
  is_connected_account_error: true;
41870
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41857
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41871
41858
  error_code: 'invalid_credentials';
41872
- })>;
41859
+ }>;
41873
41860
  /** 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. */
41874
41861
  warnings: Array<{
41875
41862
  message: string;
@@ -41883,6 +41870,10 @@ interface Routes {
41883
41870
  message: string;
41884
41871
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41885
41872
  warning_code: 'schlage_creation_outage';
41873
+ } | {
41874
+ message: string;
41875
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41876
+ warning_code: 'salto_office_mode';
41886
41877
  } | {
41887
41878
  message: string;
41888
41879
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -42855,7 +42846,7 @@ interface Routes {
42855
42846
  /** Date and time at which the access code was created. */
42856
42847
  created_at: string;
42857
42848
  /** 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. */
42858
- errors: Array<({
42849
+ errors: Array<{
42859
42850
  message: string;
42860
42851
  is_access_code_error: true;
42861
42852
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -42950,7 +42941,7 @@ interface Routes {
42950
42941
  is_access_code_error: true;
42951
42942
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42952
42943
  error_code: 'hubitat_no_free_positions_available';
42953
- }) | ({
42944
+ } | {
42954
42945
  message: string;
42955
42946
  is_device_error: true;
42956
42947
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -42960,11 +42951,6 @@ interface Routes {
42960
42951
  is_device_error: true;
42961
42952
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42962
42953
  error_code: 'device_removed';
42963
- } | {
42964
- message: string;
42965
- is_device_error: true;
42966
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42967
- error_code: 'account_disconnected';
42968
42954
  } | {
42969
42955
  message: string;
42970
42956
  is_device_error: true;
@@ -43015,17 +43001,17 @@ interface Routes {
43015
43001
  is_device_error: true;
43016
43002
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43017
43003
  error_code: 'subscription_required';
43018
- }) | ({
43004
+ } | {
43019
43005
  message: string;
43020
43006
  is_connected_account_error: true;
43021
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43007
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43022
43008
  error_code: 'account_disconnected';
43023
43009
  } | {
43024
43010
  message: string;
43025
43011
  is_connected_account_error: true;
43026
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43012
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43027
43013
  error_code: 'invalid_credentials';
43028
- })>;
43014
+ }>;
43029
43015
  /** 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. */
43030
43016
  warnings: Array<{
43031
43017
  message: string;
@@ -43039,6 +43025,10 @@ interface Routes {
43039
43025
  message: string;
43040
43026
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43041
43027
  warning_code: 'schlage_creation_outage';
43028
+ } | {
43029
+ message: string;
43030
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43031
+ warning_code: 'salto_office_mode';
43042
43032
  } | {
43043
43033
  message: string;
43044
43034
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -43125,7 +43115,7 @@ interface Routes {
43125
43115
  /** Date and time at which the access code was created. */
43126
43116
  created_at: string;
43127
43117
  /** 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. */
43128
- errors: Array<({
43118
+ errors: Array<{
43129
43119
  message: string;
43130
43120
  is_access_code_error: true;
43131
43121
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43220,7 +43210,7 @@ interface Routes {
43220
43210
  is_access_code_error: true;
43221
43211
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43222
43212
  error_code: 'hubitat_no_free_positions_available';
43223
- }) | ({
43213
+ } | {
43224
43214
  message: string;
43225
43215
  is_device_error: true;
43226
43216
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43230,11 +43220,6 @@ interface Routes {
43230
43220
  is_device_error: true;
43231
43221
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43232
43222
  error_code: 'device_removed';
43233
- } | {
43234
- message: string;
43235
- is_device_error: true;
43236
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43237
- error_code: 'account_disconnected';
43238
43223
  } | {
43239
43224
  message: string;
43240
43225
  is_device_error: true;
@@ -43285,17 +43270,17 @@ interface Routes {
43285
43270
  is_device_error: true;
43286
43271
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43287
43272
  error_code: 'subscription_required';
43288
- }) | ({
43273
+ } | {
43289
43274
  message: string;
43290
43275
  is_connected_account_error: true;
43291
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43276
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43292
43277
  error_code: 'account_disconnected';
43293
43278
  } | {
43294
43279
  message: string;
43295
43280
  is_connected_account_error: true;
43296
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43281
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43297
43282
  error_code: 'invalid_credentials';
43298
- })>;
43283
+ }>;
43299
43284
  /** 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. */
43300
43285
  warnings: Array<{
43301
43286
  message: string;
@@ -43309,6 +43294,10 @@ interface Routes {
43309
43294
  message: string;
43310
43295
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43311
43296
  warning_code: 'schlage_creation_outage';
43297
+ } | {
43298
+ message: string;
43299
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43300
+ warning_code: 'salto_office_mode';
43312
43301
  } | {
43313
43302
  message: string;
43314
43303
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -43394,7 +43383,7 @@ interface Routes {
43394
43383
  /** Date and time at which the access code was created. */
43395
43384
  created_at: string;
43396
43385
  /** 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. */
43397
- errors: Array<({
43386
+ errors: Array<{
43398
43387
  message: string;
43399
43388
  is_access_code_error: true;
43400
43389
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43489,7 +43478,7 @@ interface Routes {
43489
43478
  is_access_code_error: true;
43490
43479
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43491
43480
  error_code: 'hubitat_no_free_positions_available';
43492
- }) | ({
43481
+ } | {
43493
43482
  message: string;
43494
43483
  is_device_error: true;
43495
43484
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43499,11 +43488,6 @@ interface Routes {
43499
43488
  is_device_error: true;
43500
43489
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43501
43490
  error_code: 'device_removed';
43502
- } | {
43503
- message: string;
43504
- is_device_error: true;
43505
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43506
- error_code: 'account_disconnected';
43507
43491
  } | {
43508
43492
  message: string;
43509
43493
  is_device_error: true;
@@ -43554,17 +43538,17 @@ interface Routes {
43554
43538
  is_device_error: true;
43555
43539
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43556
43540
  error_code: 'subscription_required';
43557
- }) | ({
43541
+ } | {
43558
43542
  message: string;
43559
43543
  is_connected_account_error: true;
43560
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43544
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43561
43545
  error_code: 'account_disconnected';
43562
43546
  } | {
43563
43547
  message: string;
43564
43548
  is_connected_account_error: true;
43565
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43549
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43566
43550
  error_code: 'invalid_credentials';
43567
- })>;
43551
+ }>;
43568
43552
  /** 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. */
43569
43553
  warnings: Array<{
43570
43554
  message: string;
@@ -43578,6 +43562,10 @@ interface Routes {
43578
43562
  message: string;
43579
43563
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43580
43564
  warning_code: 'schlage_creation_outage';
43565
+ } | {
43566
+ message: string;
43567
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43568
+ warning_code: 'salto_office_mode';
43581
43569
  } | {
43582
43570
  message: string;
43583
43571
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -43651,7 +43639,7 @@ interface Routes {
43651
43639
  /** Date and time at which the access code was created. */
43652
43640
  created_at: string;
43653
43641
  /** 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. */
43654
- errors: Array<({
43642
+ errors: Array<{
43655
43643
  message: string;
43656
43644
  is_access_code_error: true;
43657
43645
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43746,7 +43734,7 @@ interface Routes {
43746
43734
  is_access_code_error: true;
43747
43735
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43748
43736
  error_code: 'hubitat_no_free_positions_available';
43749
- }) | ({
43737
+ } | {
43750
43738
  message: string;
43751
43739
  is_device_error: true;
43752
43740
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43756,11 +43744,6 @@ interface Routes {
43756
43744
  is_device_error: true;
43757
43745
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43758
43746
  error_code: 'device_removed';
43759
- } | {
43760
- message: string;
43761
- is_device_error: true;
43762
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43763
- error_code: 'account_disconnected';
43764
43747
  } | {
43765
43748
  message: string;
43766
43749
  is_device_error: true;
@@ -43811,17 +43794,17 @@ interface Routes {
43811
43794
  is_device_error: true;
43812
43795
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43813
43796
  error_code: 'subscription_required';
43814
- }) | ({
43797
+ } | {
43815
43798
  message: string;
43816
43799
  is_connected_account_error: true;
43817
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43800
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43818
43801
  error_code: 'account_disconnected';
43819
43802
  } | {
43820
43803
  message: string;
43821
43804
  is_connected_account_error: true;
43822
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43805
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43823
43806
  error_code: 'invalid_credentials';
43824
- })>;
43807
+ }>;
43825
43808
  /** 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. */
43826
43809
  warnings: Array<{
43827
43810
  message: string;
@@ -43835,6 +43818,10 @@ interface Routes {
43835
43818
  message: string;
43836
43819
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43837
43820
  warning_code: 'schlage_creation_outage';
43821
+ } | {
43822
+ message: string;
43823
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43824
+ warning_code: 'salto_office_mode';
43838
43825
  } | {
43839
43826
  message: string;
43840
43827
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -43916,7 +43903,7 @@ interface Routes {
43916
43903
  /** Date and time at which the access code was created. */
43917
43904
  created_at: string;
43918
43905
  /** 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. */
43919
- errors: Array<({
43906
+ errors: Array<{
43920
43907
  message: string;
43921
43908
  is_access_code_error: true;
43922
43909
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -44011,7 +43998,7 @@ interface Routes {
44011
43998
  is_access_code_error: true;
44012
43999
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44013
44000
  error_code: 'hubitat_no_free_positions_available';
44014
- }) | ({
44001
+ } | {
44015
44002
  message: string;
44016
44003
  is_device_error: true;
44017
44004
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -44021,11 +44008,6 @@ interface Routes {
44021
44008
  is_device_error: true;
44022
44009
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44023
44010
  error_code: 'device_removed';
44024
- } | {
44025
- message: string;
44026
- is_device_error: true;
44027
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44028
- error_code: 'account_disconnected';
44029
44011
  } | {
44030
44012
  message: string;
44031
44013
  is_device_error: true;
@@ -44076,17 +44058,17 @@ interface Routes {
44076
44058
  is_device_error: true;
44077
44059
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44078
44060
  error_code: 'subscription_required';
44079
- }) | ({
44061
+ } | {
44080
44062
  message: string;
44081
44063
  is_connected_account_error: true;
44082
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44064
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44083
44065
  error_code: 'account_disconnected';
44084
44066
  } | {
44085
44067
  message: string;
44086
44068
  is_connected_account_error: true;
44087
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44069
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44088
44070
  error_code: 'invalid_credentials';
44089
- })>;
44071
+ }>;
44090
44072
  /** 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. */
44091
44073
  warnings: Array<{
44092
44074
  message: string;
@@ -44100,6 +44082,10 @@ interface Routes {
44100
44082
  message: string;
44101
44083
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44102
44084
  warning_code: 'schlage_creation_outage';
44085
+ } | {
44086
+ message: string;
44087
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44088
+ warning_code: 'salto_office_mode';
44103
44089
  } | {
44104
44090
  message: string;
44105
44091
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -45048,7 +45034,7 @@ interface Routes {
45048
45034
  /** Date and time at which the access code was created. */
45049
45035
  created_at: string;
45050
45036
  /** 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. */
45051
- errors: Array<({
45037
+ errors: Array<{
45052
45038
  message: string;
45053
45039
  is_access_code_error: true;
45054
45040
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45143,7 +45129,7 @@ interface Routes {
45143
45129
  is_access_code_error: true;
45144
45130
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45145
45131
  error_code: 'hubitat_no_free_positions_available';
45146
- }) | ({
45132
+ } | {
45147
45133
  message: string;
45148
45134
  is_device_error: true;
45149
45135
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45153,11 +45139,6 @@ interface Routes {
45153
45139
  is_device_error: true;
45154
45140
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45155
45141
  error_code: 'device_removed';
45156
- } | {
45157
- message: string;
45158
- is_device_error: true;
45159
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45160
- error_code: 'account_disconnected';
45161
45142
  } | {
45162
45143
  message: string;
45163
45144
  is_device_error: true;
@@ -45208,17 +45189,17 @@ interface Routes {
45208
45189
  is_device_error: true;
45209
45190
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45210
45191
  error_code: 'subscription_required';
45211
- }) | ({
45192
+ } | {
45212
45193
  message: string;
45213
45194
  is_connected_account_error: true;
45214
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45195
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45215
45196
  error_code: 'account_disconnected';
45216
45197
  } | {
45217
45198
  message: string;
45218
45199
  is_connected_account_error: true;
45219
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45200
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45220
45201
  error_code: 'invalid_credentials';
45221
- })>;
45202
+ }>;
45222
45203
  /** 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. */
45223
45204
  warnings: Array<{
45224
45205
  message: string;
@@ -45232,6 +45213,10 @@ interface Routes {
45232
45213
  message: string;
45233
45214
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45234
45215
  warning_code: 'schlage_creation_outage';
45216
+ } | {
45217
+ message: string;
45218
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45219
+ warning_code: 'salto_office_mode';
45235
45220
  } | {
45236
45221
  message: string;
45237
45222
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -45295,7 +45280,7 @@ interface Routes {
45295
45280
  /** Date and time at which the access code was created. */
45296
45281
  created_at: string;
45297
45282
  /** 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. */
45298
- errors: Array<({
45283
+ errors: Array<{
45299
45284
  message: string;
45300
45285
  is_access_code_error: true;
45301
45286
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45390,7 +45375,7 @@ interface Routes {
45390
45375
  is_access_code_error: true;
45391
45376
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45392
45377
  error_code: 'hubitat_no_free_positions_available';
45393
- }) | ({
45378
+ } | {
45394
45379
  message: string;
45395
45380
  is_device_error: true;
45396
45381
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45400,11 +45385,6 @@ interface Routes {
45400
45385
  is_device_error: true;
45401
45386
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45402
45387
  error_code: 'device_removed';
45403
- } | {
45404
- message: string;
45405
- is_device_error: true;
45406
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45407
- error_code: 'account_disconnected';
45408
45388
  } | {
45409
45389
  message: string;
45410
45390
  is_device_error: true;
@@ -45455,17 +45435,17 @@ interface Routes {
45455
45435
  is_device_error: true;
45456
45436
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45457
45437
  error_code: 'subscription_required';
45458
- }) | ({
45438
+ } | {
45459
45439
  message: string;
45460
45440
  is_connected_account_error: true;
45461
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45441
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45462
45442
  error_code: 'account_disconnected';
45463
45443
  } | {
45464
45444
  message: string;
45465
45445
  is_connected_account_error: true;
45466
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45446
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45467
45447
  error_code: 'invalid_credentials';
45468
- })>;
45448
+ }>;
45469
45449
  /** 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. */
45470
45450
  warnings: Array<{
45471
45451
  message: string;
@@ -45479,6 +45459,10 @@ interface Routes {
45479
45459
  message: string;
45480
45460
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45481
45461
  warning_code: 'schlage_creation_outage';
45462
+ } | {
45463
+ message: string;
45464
+ /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45465
+ warning_code: 'salto_office_mode';
45482
45466
  } | {
45483
45467
  message: string;
45484
45468
  /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
@@ -53452,12 +53436,12 @@ interface Routes {
53452
53436
  errors: Array<{
53453
53437
  message: string;
53454
53438
  is_connected_account_error: true;
53455
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53439
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53456
53440
  error_code: 'account_disconnected';
53457
53441
  } | {
53458
53442
  message: string;
53459
53443
  is_connected_account_error: true;
53460
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53444
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53461
53445
  error_code: 'invalid_credentials';
53462
53446
  }>;
53463
53447
  warnings: Array<{
@@ -53502,12 +53486,12 @@ interface Routes {
53502
53486
  errors: Array<{
53503
53487
  message: string;
53504
53488
  is_connected_account_error: true;
53505
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53489
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53506
53490
  error_code: 'account_disconnected';
53507
53491
  } | {
53508
53492
  message: string;
53509
53493
  is_connected_account_error: true;
53510
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53494
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53511
53495
  error_code: 'invalid_credentials';
53512
53496
  }>;
53513
53497
  warnings: Array<{
@@ -53552,12 +53536,12 @@ interface Routes {
53552
53536
  errors: Array<{
53553
53537
  message: string;
53554
53538
  is_connected_account_error: true;
53555
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53539
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53556
53540
  error_code: 'account_disconnected';
53557
53541
  } | {
53558
53542
  message: string;
53559
53543
  is_connected_account_error: true;
53560
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53544
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53561
53545
  error_code: 'invalid_credentials';
53562
53546
  }>;
53563
53547
  warnings: Array<{
@@ -54089,7 +54073,7 @@ interface Routes {
54089
54073
  /** Unique identifier for the Seam workspace associated with the device. */
54090
54074
  workspace_id: string;
54091
54075
  /** 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. */
54092
- errors: Array<({
54076
+ errors: Array<{
54093
54077
  message: string;
54094
54078
  is_device_error: true;
54095
54079
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -54099,11 +54083,6 @@ interface Routes {
54099
54083
  is_device_error: true;
54100
54084
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54101
54085
  error_code: 'device_removed';
54102
- } | {
54103
- message: string;
54104
- is_device_error: true;
54105
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54106
- error_code: 'account_disconnected';
54107
54086
  } | {
54108
54087
  message: string;
54109
54088
  is_device_error: true;
@@ -54154,17 +54133,17 @@ interface Routes {
54154
54133
  is_device_error: true;
54155
54134
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54156
54135
  error_code: 'subscription_required';
54157
- }) | ({
54136
+ } | {
54158
54137
  message: string;
54159
54138
  is_connected_account_error: true;
54160
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54139
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54161
54140
  error_code: 'account_disconnected';
54162
54141
  } | {
54163
54142
  message: string;
54164
54143
  is_connected_account_error: true;
54165
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54144
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54166
54145
  error_code: 'invalid_credentials';
54167
- })>;
54146
+ }>;
54168
54147
  /** 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. */
54169
54148
  warnings: Array<{
54170
54149
  message: string;
@@ -54777,7 +54756,7 @@ interface Routes {
54777
54756
  /** Unique identifier for the Seam workspace associated with the device. */
54778
54757
  workspace_id: string;
54779
54758
  /** 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. */
54780
- errors: Array<({
54759
+ errors: Array<{
54781
54760
  message: string;
54782
54761
  is_device_error: true;
54783
54762
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -54787,11 +54766,6 @@ interface Routes {
54787
54766
  is_device_error: true;
54788
54767
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54789
54768
  error_code: 'device_removed';
54790
- } | {
54791
- message: string;
54792
- is_device_error: true;
54793
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54794
- error_code: 'account_disconnected';
54795
54769
  } | {
54796
54770
  message: string;
54797
54771
  is_device_error: true;
@@ -54842,17 +54816,17 @@ interface Routes {
54842
54816
  is_device_error: true;
54843
54817
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54844
54818
  error_code: 'subscription_required';
54845
- }) | ({
54819
+ } | {
54846
54820
  message: string;
54847
54821
  is_connected_account_error: true;
54848
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54822
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54849
54823
  error_code: 'account_disconnected';
54850
54824
  } | {
54851
54825
  message: string;
54852
54826
  is_connected_account_error: true;
54853
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54827
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54854
54828
  error_code: 'invalid_credentials';
54855
- })>;
54829
+ }>;
54856
54830
  /** 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. */
54857
54831
  warnings: Array<{
54858
54832
  message: string;
@@ -55031,7 +55005,7 @@ interface Routes {
55031
55005
  /** Unique identifier for the Seam workspace associated with the device. */
55032
55006
  workspace_id: string;
55033
55007
  /** 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. */
55034
- errors: Array<({
55008
+ errors: Array<{
55035
55009
  message: string;
55036
55010
  is_device_error: true;
55037
55011
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -55041,11 +55015,6 @@ interface Routes {
55041
55015
  is_device_error: true;
55042
55016
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55043
55017
  error_code: 'device_removed';
55044
- } | {
55045
- message: string;
55046
- is_device_error: true;
55047
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55048
- error_code: 'account_disconnected';
55049
55018
  } | {
55050
55019
  message: string;
55051
55020
  is_device_error: true;
@@ -55096,17 +55065,17 @@ interface Routes {
55096
55065
  is_device_error: true;
55097
55066
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55098
55067
  error_code: 'subscription_required';
55099
- }) | ({
55068
+ } | {
55100
55069
  message: string;
55101
55070
  is_connected_account_error: true;
55102
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55071
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55103
55072
  error_code: 'account_disconnected';
55104
55073
  } | {
55105
55074
  message: string;
55106
55075
  is_connected_account_error: true;
55107
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55076
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55108
55077
  error_code: 'invalid_credentials';
55109
- })>;
55078
+ }>;
55110
55079
  /** 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. */
55111
55080
  warnings: Array<{
55112
55081
  message: string;
@@ -55294,7 +55263,7 @@ interface Routes {
55294
55263
  /** Unique identifier for the Seam workspace associated with the device. */
55295
55264
  workspace_id: string;
55296
55265
  /** 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. */
55297
- errors: Array<({
55266
+ errors: Array<{
55298
55267
  message: string;
55299
55268
  is_device_error: true;
55300
55269
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -55304,11 +55273,6 @@ interface Routes {
55304
55273
  is_device_error: true;
55305
55274
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55306
55275
  error_code: 'device_removed';
55307
- } | {
55308
- message: string;
55309
- is_device_error: true;
55310
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55311
- error_code: 'account_disconnected';
55312
55276
  } | {
55313
55277
  message: string;
55314
55278
  is_device_error: true;
@@ -55359,17 +55323,17 @@ interface Routes {
55359
55323
  is_device_error: true;
55360
55324
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55361
55325
  error_code: 'subscription_required';
55362
- }) | ({
55326
+ } | {
55363
55327
  message: string;
55364
55328
  is_connected_account_error: true;
55365
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55329
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55366
55330
  error_code: 'account_disconnected';
55367
55331
  } | {
55368
55332
  message: string;
55369
55333
  is_connected_account_error: true;
55370
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55334
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55371
55335
  error_code: 'invalid_credentials';
55372
- })>;
55336
+ }>;
55373
55337
  /** 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. */
55374
55338
  warnings: Array<{
55375
55339
  message: string;
@@ -58447,7 +58411,7 @@ interface Routes {
58447
58411
  /** Unique identifier for the Seam workspace associated with the device. */
58448
58412
  workspace_id: string;
58449
58413
  /** 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. */
58450
- errors: Array<({
58414
+ errors: Array<{
58451
58415
  message: string;
58452
58416
  is_device_error: true;
58453
58417
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -58457,11 +58421,6 @@ interface Routes {
58457
58421
  is_device_error: true;
58458
58422
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58459
58423
  error_code: 'device_removed';
58460
- } | {
58461
- message: string;
58462
- is_device_error: true;
58463
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58464
- error_code: 'account_disconnected';
58465
58424
  } | {
58466
58425
  message: string;
58467
58426
  is_device_error: true;
@@ -58512,17 +58471,17 @@ interface Routes {
58512
58471
  is_device_error: true;
58513
58472
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58514
58473
  error_code: 'subscription_required';
58515
- }) | ({
58474
+ } | {
58516
58475
  message: string;
58517
58476
  is_connected_account_error: true;
58518
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58477
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58519
58478
  error_code: 'account_disconnected';
58520
58479
  } | {
58521
58480
  message: string;
58522
58481
  is_connected_account_error: true;
58523
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58482
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58524
58483
  error_code: 'invalid_credentials';
58525
- })>;
58484
+ }>;
58526
58485
  /** 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. */
58527
58486
  warnings: Array<{
58528
58487
  message: string;
@@ -59099,7 +59058,7 @@ interface Routes {
59099
59058
  /** Unique identifier for the Seam workspace associated with the device. */
59100
59059
  workspace_id: string;
59101
59060
  /** 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. */
59102
- errors: Array<({
59061
+ errors: Array<{
59103
59062
  message: string;
59104
59063
  is_device_error: true;
59105
59064
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -59109,11 +59068,6 @@ interface Routes {
59109
59068
  is_device_error: true;
59110
59069
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59111
59070
  error_code: 'device_removed';
59112
- } | {
59113
- message: string;
59114
- is_device_error: true;
59115
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59116
- error_code: 'account_disconnected';
59117
59071
  } | {
59118
59072
  message: string;
59119
59073
  is_device_error: true;
@@ -59164,17 +59118,17 @@ interface Routes {
59164
59118
  is_device_error: true;
59165
59119
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59166
59120
  error_code: 'subscription_required';
59167
- }) | ({
59121
+ } | {
59168
59122
  message: string;
59169
59123
  is_connected_account_error: true;
59170
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59124
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59171
59125
  error_code: 'account_disconnected';
59172
59126
  } | {
59173
59127
  message: string;
59174
59128
  is_connected_account_error: true;
59175
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59129
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59176
59130
  error_code: 'invalid_credentials';
59177
- })>;
59131
+ }>;
59178
59132
  /** 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. */
59179
59133
  warnings: Array<{
59180
59134
  message: string;
@@ -59787,7 +59741,7 @@ interface Routes {
59787
59741
  /** Unique identifier for the Seam workspace associated with the device. */
59788
59742
  workspace_id: string;
59789
59743
  /** 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. */
59790
- errors: Array<({
59744
+ errors: Array<{
59791
59745
  message: string;
59792
59746
  is_device_error: true;
59793
59747
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -59797,11 +59751,6 @@ interface Routes {
59797
59751
  is_device_error: true;
59798
59752
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59799
59753
  error_code: 'device_removed';
59800
- } | {
59801
- message: string;
59802
- is_device_error: true;
59803
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59804
- error_code: 'account_disconnected';
59805
59754
  } | {
59806
59755
  message: string;
59807
59756
  is_device_error: true;
@@ -59852,17 +59801,17 @@ interface Routes {
59852
59801
  is_device_error: true;
59853
59802
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59854
59803
  error_code: 'subscription_required';
59855
- }) | ({
59804
+ } | {
59856
59805
  message: string;
59857
59806
  is_connected_account_error: true;
59858
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59807
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59859
59808
  error_code: 'account_disconnected';
59860
59809
  } | {
59861
59810
  message: string;
59862
59811
  is_connected_account_error: true;
59863
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59812
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59864
59813
  error_code: 'invalid_credentials';
59865
- })>;
59814
+ }>;
59866
59815
  /** 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. */
59867
59816
  warnings: Array<{
59868
59817
  message: string;
@@ -60438,7 +60387,7 @@ interface Routes {
60438
60387
  /** Unique identifier for the Seam workspace associated with the device. */
60439
60388
  workspace_id: string;
60440
60389
  /** 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. */
60441
- errors: Array<({
60390
+ errors: Array<{
60442
60391
  message: string;
60443
60392
  is_device_error: true;
60444
60393
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -60448,11 +60397,6 @@ interface Routes {
60448
60397
  is_device_error: true;
60449
60398
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60450
60399
  error_code: 'device_removed';
60451
- } | {
60452
- message: string;
60453
- is_device_error: true;
60454
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60455
- error_code: 'account_disconnected';
60456
60400
  } | {
60457
60401
  message: string;
60458
60402
  is_device_error: true;
@@ -60503,17 +60447,17 @@ interface Routes {
60503
60447
  is_device_error: true;
60504
60448
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60505
60449
  error_code: 'subscription_required';
60506
- }) | ({
60450
+ } | {
60507
60451
  message: string;
60508
60452
  is_connected_account_error: true;
60509
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
60453
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60510
60454
  error_code: 'account_disconnected';
60511
60455
  } | {
60512
60456
  message: string;
60513
60457
  is_connected_account_error: true;
60514
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
60458
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60515
60459
  error_code: 'invalid_credentials';
60516
- })>;
60460
+ }>;
60517
60461
  /** 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. */
60518
60462
  warnings: Array<{
60519
60463
  message: string;
@@ -62897,7 +62841,7 @@ interface Routes {
62897
62841
  /** Unique identifier for the Seam workspace associated with the device. */
62898
62842
  workspace_id: string;
62899
62843
  /** 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. */
62900
- errors: Array<({
62844
+ errors: Array<{
62901
62845
  message: string;
62902
62846
  is_device_error: true;
62903
62847
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -62907,11 +62851,6 @@ interface Routes {
62907
62851
  is_device_error: true;
62908
62852
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62909
62853
  error_code: 'device_removed';
62910
- } | {
62911
- message: string;
62912
- is_device_error: true;
62913
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62914
- error_code: 'account_disconnected';
62915
62854
  } | {
62916
62855
  message: string;
62917
62856
  is_device_error: true;
@@ -62962,17 +62901,17 @@ interface Routes {
62962
62901
  is_device_error: true;
62963
62902
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62964
62903
  error_code: 'subscription_required';
62965
- }) | ({
62904
+ } | {
62966
62905
  message: string;
62967
62906
  is_connected_account_error: true;
62968
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62907
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62969
62908
  error_code: 'account_disconnected';
62970
62909
  } | {
62971
62910
  message: string;
62972
62911
  is_connected_account_error: true;
62973
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62912
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62974
62913
  error_code: 'invalid_credentials';
62975
- })>;
62914
+ }>;
62976
62915
  /** 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. */
62977
62916
  warnings: Array<{
62978
62917
  message: string;
@@ -63548,7 +63487,7 @@ interface Routes {
63548
63487
  /** Unique identifier for the Seam workspace associated with the device. */
63549
63488
  workspace_id: string;
63550
63489
  /** 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. */
63551
- errors: Array<({
63490
+ errors: Array<{
63552
63491
  message: string;
63553
63492
  is_device_error: true;
63554
63493
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -63558,11 +63497,6 @@ interface Routes {
63558
63497
  is_device_error: true;
63559
63498
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63560
63499
  error_code: 'device_removed';
63561
- } | {
63562
- message: string;
63563
- is_device_error: true;
63564
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63565
- error_code: 'account_disconnected';
63566
63500
  } | {
63567
63501
  message: string;
63568
63502
  is_device_error: true;
@@ -63613,17 +63547,17 @@ interface Routes {
63613
63547
  is_device_error: true;
63614
63548
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63615
63549
  error_code: 'subscription_required';
63616
- }) | ({
63550
+ } | {
63617
63551
  message: string;
63618
63552
  is_connected_account_error: true;
63619
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63553
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63620
63554
  error_code: 'account_disconnected';
63621
63555
  } | {
63622
63556
  message: string;
63623
63557
  is_connected_account_error: true;
63624
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63558
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63625
63559
  error_code: 'invalid_credentials';
63626
- })>;
63560
+ }>;
63627
63561
  /** 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. */
63628
63562
  warnings: Array<{
63629
63563
  message: string;
@@ -66444,7 +66378,7 @@ interface Routes {
66444
66378
  /** Unique identifier for the Seam workspace associated with the device. */
66445
66379
  workspace_id: string;
66446
66380
  /** 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. */
66447
- errors: Array<({
66381
+ errors: Array<{
66448
66382
  message: string;
66449
66383
  is_device_error: true;
66450
66384
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -66454,11 +66388,6 @@ interface Routes {
66454
66388
  is_device_error: true;
66455
66389
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66456
66390
  error_code: 'device_removed';
66457
- } | {
66458
- message: string;
66459
- is_device_error: true;
66460
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66461
- error_code: 'account_disconnected';
66462
66391
  } | {
66463
66392
  message: string;
66464
66393
  is_device_error: true;
@@ -66509,17 +66438,17 @@ interface Routes {
66509
66438
  is_device_error: true;
66510
66439
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66511
66440
  error_code: 'subscription_required';
66512
- }) | ({
66441
+ } | {
66513
66442
  message: string;
66514
66443
  is_connected_account_error: true;
66515
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66444
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66516
66445
  error_code: 'account_disconnected';
66517
66446
  } | {
66518
66447
  message: string;
66519
66448
  is_connected_account_error: true;
66520
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66449
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66521
66450
  error_code: 'invalid_credentials';
66522
- })>;
66451
+ }>;
66523
66452
  /** 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. */
66524
66453
  warnings: Array<{
66525
66454
  message: string;
@@ -66663,7 +66592,7 @@ interface Routes {
66663
66592
  /** Unique identifier for the Seam workspace associated with the device. */
66664
66593
  workspace_id: string;
66665
66594
  /** 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. */
66666
- errors: Array<({
66595
+ errors: Array<{
66667
66596
  message: string;
66668
66597
  is_device_error: true;
66669
66598
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -66673,11 +66602,6 @@ interface Routes {
66673
66602
  is_device_error: true;
66674
66603
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66675
66604
  error_code: 'device_removed';
66676
- } | {
66677
- message: string;
66678
- is_device_error: true;
66679
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66680
- error_code: 'account_disconnected';
66681
66605
  } | {
66682
66606
  message: string;
66683
66607
  is_device_error: true;
@@ -66728,17 +66652,17 @@ interface Routes {
66728
66652
  is_device_error: true;
66729
66653
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66730
66654
  error_code: 'subscription_required';
66731
- }) | ({
66655
+ } | {
66732
66656
  message: string;
66733
66657
  is_connected_account_error: true;
66734
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66658
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66735
66659
  error_code: 'account_disconnected';
66736
66660
  } | {
66737
66661
  message: string;
66738
66662
  is_connected_account_error: true;
66739
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66663
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66740
66664
  error_code: 'invalid_credentials';
66741
- })>;
66665
+ }>;
66742
66666
  /** 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. */
66743
66667
  warnings: Array<{
66744
66668
  message: string;
@@ -69119,7 +69043,7 @@ interface Routes {
69119
69043
  /** Unique identifier for the Seam workspace associated with the device. */
69120
69044
  workspace_id: string;
69121
69045
  /** 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. */
69122
- errors: Array<({
69046
+ errors: Array<{
69123
69047
  message: string;
69124
69048
  is_device_error: true;
69125
69049
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -69129,11 +69053,6 @@ interface Routes {
69129
69053
  is_device_error: true;
69130
69054
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69131
69055
  error_code: 'device_removed';
69132
- } | {
69133
- message: string;
69134
- is_device_error: true;
69135
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69136
- error_code: 'account_disconnected';
69137
69056
  } | {
69138
69057
  message: string;
69139
69058
  is_device_error: true;
@@ -69184,17 +69103,17 @@ interface Routes {
69184
69103
  is_device_error: true;
69185
69104
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69186
69105
  error_code: 'subscription_required';
69187
- }) | ({
69106
+ } | {
69188
69107
  message: string;
69189
69108
  is_connected_account_error: true;
69190
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
69109
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69191
69110
  error_code: 'account_disconnected';
69192
69111
  } | {
69193
69112
  message: string;
69194
69113
  is_connected_account_error: true;
69195
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
69114
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69196
69115
  error_code: 'invalid_credentials';
69197
- })>;
69116
+ }>;
69198
69117
  /** 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. */
69199
69118
  warnings: Array<{
69200
69119
  message: string;
@@ -71559,7 +71478,7 @@ interface Routes {
71559
71478
  /** Unique identifier for the Seam workspace associated with the device. */
71560
71479
  workspace_id: string;
71561
71480
  /** 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. */
71562
- errors: Array<({
71481
+ errors: Array<{
71563
71482
  message: string;
71564
71483
  is_device_error: true;
71565
71484
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -71569,11 +71488,6 @@ interface Routes {
71569
71488
  is_device_error: true;
71570
71489
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71571
71490
  error_code: 'device_removed';
71572
- } | {
71573
- message: string;
71574
- is_device_error: true;
71575
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71576
- error_code: 'account_disconnected';
71577
71491
  } | {
71578
71492
  message: string;
71579
71493
  is_device_error: true;
@@ -71624,17 +71538,17 @@ interface Routes {
71624
71538
  is_device_error: true;
71625
71539
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71626
71540
  error_code: 'subscription_required';
71627
- }) | ({
71541
+ } | {
71628
71542
  message: string;
71629
71543
  is_connected_account_error: true;
71630
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71544
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71631
71545
  error_code: 'account_disconnected';
71632
71546
  } | {
71633
71547
  message: string;
71634
71548
  is_connected_account_error: true;
71635
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71549
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71636
71550
  error_code: 'invalid_credentials';
71637
- })>;
71551
+ }>;
71638
71552
  /** 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. */
71639
71553
  warnings: Array<{
71640
71554
  message: string;
@@ -72210,7 +72124,7 @@ interface Routes {
72210
72124
  /** Unique identifier for the Seam workspace associated with the device. */
72211
72125
  workspace_id: string;
72212
72126
  /** 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. */
72213
- errors: Array<({
72127
+ errors: Array<{
72214
72128
  message: string;
72215
72129
  is_device_error: true;
72216
72130
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -72220,11 +72134,6 @@ interface Routes {
72220
72134
  is_device_error: true;
72221
72135
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72222
72136
  error_code: 'device_removed';
72223
- } | {
72224
- message: string;
72225
- is_device_error: true;
72226
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72227
- error_code: 'account_disconnected';
72228
72137
  } | {
72229
72138
  message: string;
72230
72139
  is_device_error: true;
@@ -72275,17 +72184,17 @@ interface Routes {
72275
72184
  is_device_error: true;
72276
72185
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72277
72186
  error_code: 'subscription_required';
72278
- }) | ({
72187
+ } | {
72279
72188
  message: string;
72280
72189
  is_connected_account_error: true;
72281
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72190
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72282
72191
  error_code: 'account_disconnected';
72283
72192
  } | {
72284
72193
  message: string;
72285
72194
  is_connected_account_error: true;
72286
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72195
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72287
72196
  error_code: 'invalid_credentials';
72288
- })>;
72197
+ }>;
72289
72198
  /** 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. */
72290
72199
  warnings: Array<{
72291
72200
  message: string;
@@ -76035,7 +75944,7 @@ interface Routes {
76035
75944
  /** Unique identifier for the Seam workspace associated with the device. */
76036
75945
  workspace_id: string;
76037
75946
  /** 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. */
76038
- errors: Array<({
75947
+ errors: Array<{
76039
75948
  message: string;
76040
75949
  is_device_error: true;
76041
75950
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -76045,11 +75954,6 @@ interface Routes {
76045
75954
  is_device_error: true;
76046
75955
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76047
75956
  error_code: 'device_removed';
76048
- } | {
76049
- message: string;
76050
- is_device_error: true;
76051
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76052
- error_code: 'account_disconnected';
76053
75957
  } | {
76054
75958
  message: string;
76055
75959
  is_device_error: true;
@@ -76100,17 +76004,17 @@ interface Routes {
76100
76004
  is_device_error: true;
76101
76005
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76102
76006
  error_code: 'subscription_required';
76103
- }) | ({
76007
+ } | {
76104
76008
  message: string;
76105
76009
  is_connected_account_error: true;
76106
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76010
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76107
76011
  error_code: 'account_disconnected';
76108
76012
  } | {
76109
76013
  message: string;
76110
76014
  is_connected_account_error: true;
76111
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76015
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76112
76016
  error_code: 'invalid_credentials';
76113
- })>;
76017
+ }>;
76114
76018
  /** 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. */
76115
76019
  warnings: Array<{
76116
76020
  message: string;
@@ -76688,7 +76592,7 @@ interface Routes {
76688
76592
  /** Unique identifier for the Seam workspace associated with the device. */
76689
76593
  workspace_id: string;
76690
76594
  /** 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. */
76691
- errors: Array<({
76595
+ errors: Array<{
76692
76596
  message: string;
76693
76597
  is_device_error: true;
76694
76598
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -76698,11 +76602,6 @@ interface Routes {
76698
76602
  is_device_error: true;
76699
76603
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76700
76604
  error_code: 'device_removed';
76701
- } | {
76702
- message: string;
76703
- is_device_error: true;
76704
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76705
- error_code: 'account_disconnected';
76706
76605
  } | {
76707
76606
  message: string;
76708
76607
  is_device_error: true;
@@ -76753,17 +76652,17 @@ interface Routes {
76753
76652
  is_device_error: true;
76754
76653
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76755
76654
  error_code: 'subscription_required';
76756
- }) | ({
76655
+ } | {
76757
76656
  message: string;
76758
76657
  is_connected_account_error: true;
76759
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76658
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76760
76659
  error_code: 'account_disconnected';
76761
76660
  } | {
76762
76661
  message: string;
76763
76662
  is_connected_account_error: true;
76764
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76663
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76765
76664
  error_code: 'invalid_credentials';
76766
- })>;
76665
+ }>;
76767
76666
  /** 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. */
76768
76667
  warnings: Array<{
76769
76668
  message: string;