@seamapi/types 1.344.1 → 1.344.2

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 +1764 -2005
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +454 -633
  4. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +7 -28
  5. package/lib/seam/connect/models/access-codes/managed-access-code.js +7 -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 +5 -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 +1465 -1716
  30. package/lib/seam/connect/openapi.js.map +1 -1
  31. package/lib/seam/connect/route-types.d.ts +145 -275
  32. package/package.json +1 -1
  33. package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +9 -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 +1566 -1829
  40. package/src/lib/seam/connect/route-types.ts +3216 -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">;
@@ -361,7 +361,7 @@ declare const access_code: z.ZodObject<{
361
361
  name: z.ZodNullable<z.ZodString>;
362
362
  code: z.ZodNullable<z.ZodString>;
363
363
  created_at: z.ZodString;
364
- errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
364
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
365
365
  message: z.ZodString;
366
366
  is_access_code_error: z.ZodLiteral<true>;
367
367
  }, {
@@ -608,7 +608,7 @@ declare const access_code: z.ZodObject<{
608
608
  message: string;
609
609
  error_code: "hubitat_no_free_positions_available";
610
610
  is_access_code_error: true;
611
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
611
+ }>, z.ZodObject<z.objectUtil.extendShape<{
612
612
  message: z.ZodString;
613
613
  is_device_error: z.ZodLiteral<true>;
614
614
  }, {
@@ -637,19 +637,6 @@ declare const access_code: z.ZodObject<{
637
637
  }>, z.ZodObject<z.objectUtil.extendShape<{
638
638
  message: z.ZodString;
639
639
  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
640
  }, {
654
641
  error_code: z.ZodLiteral<"hub_disconnected">;
655
642
  }>, "strip", z.ZodTypeAny, {
@@ -777,7 +764,7 @@ declare const access_code: z.ZodObject<{
777
764
  message: string;
778
765
  error_code: "subscription_required";
779
766
  is_device_error: true;
780
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
767
+ }>, z.ZodObject<z.objectUtil.extendShape<{
781
768
  message: z.ZodString;
782
769
  is_connected_account_error: z.ZodLiteral<true>;
783
770
  }, {
@@ -803,8 +790,8 @@ declare const access_code: z.ZodObject<{
803
790
  message: string;
804
791
  is_connected_account_error: true;
805
792
  error_code: "invalid_credentials";
806
- }>]>]>, "many">;
807
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
793
+ }>]>, "many">;
794
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
808
795
  message: z.ZodString;
809
796
  }, {
810
797
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
@@ -936,10 +923,6 @@ declare const access_code: z.ZodObject<{
936
923
  message: string;
937
924
  error_code: "device_removed";
938
925
  is_device_error: true;
939
- } | {
940
- message: string;
941
- error_code: "account_disconnected";
942
- is_device_error: true;
943
926
  } | {
944
927
  message: string;
945
928
  error_code: "hub_disconnected";
@@ -1124,10 +1107,6 @@ declare const access_code: z.ZodObject<{
1124
1107
  message: string;
1125
1108
  error_code: "device_removed";
1126
1109
  is_device_error: true;
1127
- } | {
1128
- message: string;
1129
- error_code: "account_disconnected";
1130
- is_device_error: true;
1131
1110
  } | {
1132
1111
  message: string;
1133
1112
  error_code: "hub_disconnected";
@@ -1304,7 +1283,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1304
1283
  name: z.ZodNullable<z.ZodString>;
1305
1284
  code: z.ZodNullable<z.ZodString>;
1306
1285
  created_at: z.ZodString;
1307
- errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1286
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
1308
1287
  message: z.ZodString;
1309
1288
  is_access_code_error: z.ZodLiteral<true>;
1310
1289
  }, {
@@ -1551,7 +1530,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1551
1530
  message: string;
1552
1531
  error_code: "hubitat_no_free_positions_available";
1553
1532
  is_access_code_error: true;
1554
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1533
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1555
1534
  message: z.ZodString;
1556
1535
  is_device_error: z.ZodLiteral<true>;
1557
1536
  }, {
@@ -1580,19 +1559,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1580
1559
  }>, z.ZodObject<z.objectUtil.extendShape<{
1581
1560
  message: z.ZodString;
1582
1561
  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
1562
  }, {
1597
1563
  error_code: z.ZodLiteral<"hub_disconnected">;
1598
1564
  }>, "strip", z.ZodTypeAny, {
@@ -1720,7 +1686,7 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1720
1686
  message: string;
1721
1687
  error_code: "subscription_required";
1722
1688
  is_device_error: true;
1723
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1689
+ }>, z.ZodObject<z.objectUtil.extendShape<{
1724
1690
  message: z.ZodString;
1725
1691
  is_connected_account_error: z.ZodLiteral<true>;
1726
1692
  }, {
@@ -1746,8 +1712,8 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1746
1712
  message: string;
1747
1713
  is_connected_account_error: true;
1748
1714
  error_code: "invalid_credentials";
1749
- }>]>]>, "many">;
1750
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
1715
+ }>]>, "many">;
1716
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
1751
1717
  message: z.ZodString;
1752
1718
  }, {
1753
1719
  warning_code: z.ZodLiteral<"smartthings_failed_to_set_access_code">;
@@ -1882,10 +1848,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
1882
1848
  message: string;
1883
1849
  error_code: "device_removed";
1884
1850
  is_device_error: true;
1885
- } | {
1886
- message: string;
1887
- error_code: "account_disconnected";
1888
- is_device_error: true;
1889
1851
  } | {
1890
1852
  message: string;
1891
1853
  error_code: "hub_disconnected";
@@ -2061,10 +2023,6 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
2061
2023
  message: string;
2062
2024
  error_code: "device_removed";
2063
2025
  is_device_error: true;
2064
- } | {
2065
- message: string;
2066
- error_code: "account_disconnected";
2067
- is_device_error: true;
2068
2026
  } | {
2069
2027
  message: string;
2070
2028
  error_code: "hub_disconnected";
@@ -2377,7 +2335,7 @@ declare const acs_credential: z.ZodObject<z.objectUtil.extendShape<{
2377
2335
  message: string;
2378
2336
  error_code: string;
2379
2337
  }>, "many">;
2380
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2338
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
2381
2339
  created_at: z.ZodString;
2382
2340
  message: z.ZodString;
2383
2341
  }, {
@@ -2676,7 +2634,7 @@ declare const unmanaged_acs_credential: z.ZodObject<z.objectUtil.extendShape<{
2676
2634
  message: string;
2677
2635
  error_code: string;
2678
2636
  }>, "many">;
2679
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
2637
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
2680
2638
  created_at: z.ZodString;
2681
2639
  message: z.ZodString;
2682
2640
  }, {
@@ -3253,7 +3211,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
3253
3211
  connected_account_id: z.ZodString;
3254
3212
  image_url: z.ZodString;
3255
3213
  image_alt_text: z.ZodString;
3256
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3214
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
3257
3215
  created_at: z.ZodString;
3258
3216
  message: z.ZodString;
3259
3217
  }, {
@@ -3332,7 +3290,7 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
3332
3290
  error_code: "salto_ks_certification_expired";
3333
3291
  created_at: string;
3334
3292
  }>]>, "many">;
3335
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3293
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
3336
3294
  created_at: z.ZodString;
3337
3295
  message: z.ZodString;
3338
3296
  }, {
@@ -3520,7 +3478,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
3520
3478
  user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3521
3479
  latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3522
3480
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3523
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3481
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
3524
3482
  created_at: z.ZodString;
3525
3483
  message: z.ZodString;
3526
3484
  }, {
@@ -3560,7 +3518,7 @@ declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extend
3560
3518
  warning_code: "unknown_issue_with_acs_user";
3561
3519
  created_at: string;
3562
3520
  }>]>, "many">;
3563
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3521
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
3564
3522
  created_at: z.ZodString;
3565
3523
  message: z.ZodString;
3566
3524
  }, {
@@ -3778,7 +3736,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
3778
3736
  user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3779
3737
  latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3780
3738
  is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
3781
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3739
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
3782
3740
  created_at: z.ZodString;
3783
3741
  message: z.ZodString;
3784
3742
  }, {
@@ -3818,7 +3776,7 @@ declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectU
3818
3776
  warning_code: "unknown_issue_with_acs_user";
3819
3777
  created_at: string;
3820
3778
  }>]>, "many">;
3821
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
3779
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
3822
3780
  created_at: z.ZodString;
3823
3781
  message: z.ZodString;
3824
3782
  }, {
@@ -4314,7 +4272,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
4314
4272
  message: string;
4315
4273
  error_code: string;
4316
4274
  }>, "many">;
4317
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
4275
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
4318
4276
  created_at: z.ZodString;
4319
4277
  message: z.ZodString;
4320
4278
  }, {
@@ -4612,7 +4570,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
4612
4570
  message: string;
4613
4571
  error_code: string;
4614
4572
  }>, "many">;
4615
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
4573
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
4616
4574
  created_at: z.ZodString;
4617
4575
  message: z.ZodString;
4618
4576
  }, {
@@ -5689,7 +5647,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
5689
5647
  message: string;
5690
5648
  error_code: string;
5691
5649
  }>, "many">;
5692
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5650
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
5693
5651
  created_at: z.ZodString;
5694
5652
  message: z.ZodString;
5695
5653
  }, {
@@ -5987,7 +5945,7 @@ declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<z
5987
5945
  message: string;
5988
5946
  error_code: string;
5989
5947
  }>, "many">;
5990
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
5948
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
5991
5949
  created_at: z.ZodString;
5992
5950
  message: z.ZodString;
5993
5951
  }, {
@@ -7690,7 +7648,7 @@ declare const connect_webview: z.ZodObject<{
7690
7648
  }>;
7691
7649
  type ConnectWebview = z.infer<typeof connect_webview>;
7692
7650
 
7693
- declare const connected_account_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7651
+ declare const connected_account_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
7694
7652
  message: z.ZodString;
7695
7653
  is_connected_account_error: z.ZodLiteral<true>;
7696
7654
  }, {
@@ -7718,7 +7676,7 @@ declare const connected_account_error: z.ZodUnion<[z.ZodObject<z.objectUtil.exte
7718
7676
  error_code: "invalid_credentials";
7719
7677
  }>]>;
7720
7678
  type ConnectedAccountError = z.infer<typeof connected_account_error>;
7721
- declare const connected_account_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7679
+ declare const connected_account_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
7722
7680
  message: z.ZodString;
7723
7681
  }, {
7724
7682
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
@@ -7764,7 +7722,7 @@ declare const connected_account: z.ZodObject<{
7764
7722
  }>>;
7765
7723
  account_type: z.ZodOptional<z.ZodString>;
7766
7724
  account_type_display_name: z.ZodString;
7767
- errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7725
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
7768
7726
  message: z.ZodString;
7769
7727
  is_connected_account_error: z.ZodLiteral<true>;
7770
7728
  }, {
@@ -7791,7 +7749,7 @@ declare const connected_account: z.ZodObject<{
7791
7749
  is_connected_account_error: true;
7792
7750
  error_code: "invalid_credentials";
7793
7751
  }>]>, "many">;
7794
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7752
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
7795
7753
  message: z.ZodString;
7796
7754
  }, {
7797
7755
  warning_code: z.ZodLiteral<"scheduled_maintenance_window">;
@@ -7880,7 +7838,7 @@ type ConnectedAccount = z.infer<typeof connected_account>;
7880
7838
  declare const custom_metadata: z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodString, z.ZodBoolean]>>;
7881
7839
  type CustomMetadata = z.output<typeof custom_metadata>;
7882
7840
 
7883
- declare const device_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7841
+ declare const device_error: z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
7884
7842
  message: z.ZodString;
7885
7843
  is_device_error: z.ZodLiteral<true>;
7886
7844
  }, {
@@ -7909,19 +7867,6 @@ declare const device_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7909
7867
  }>, z.ZodObject<z.objectUtil.extendShape<{
7910
7868
  message: z.ZodString;
7911
7869
  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
7870
  }, {
7926
7871
  error_code: z.ZodLiteral<"hub_disconnected">;
7927
7872
  }>, "strip", z.ZodTypeAny, {
@@ -8051,7 +7996,7 @@ declare const device_error: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
8051
7996
  is_device_error: true;
8052
7997
  }>]>;
8053
7998
  type DeviceError = z.infer<typeof device_error>;
8054
- declare const device_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
7999
+ declare const device_warning: z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
8055
8000
  message: z.ZodString;
8056
8001
  }, {
8057
8002
  warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
@@ -10069,7 +10014,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10069
10014
  }>>;
10070
10015
  connected_account_id: z.ZodString;
10071
10016
  workspace_id: z.ZodString;
10072
- errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
10017
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
10073
10018
  message: z.ZodString;
10074
10019
  is_device_error: z.ZodLiteral<true>;
10075
10020
  }, {
@@ -10098,19 +10043,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10098
10043
  }>, z.ZodObject<z.objectUtil.extendShape<{
10099
10044
  message: z.ZodString;
10100
10045
  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
10046
  }, {
10115
10047
  error_code: z.ZodLiteral<"hub_disconnected">;
10116
10048
  }>, "strip", z.ZodTypeAny, {
@@ -10238,7 +10170,7 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10238
10170
  message: string;
10239
10171
  error_code: "subscription_required";
10240
10172
  is_device_error: true;
10241
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
10173
+ }>, z.ZodObject<z.objectUtil.extendShape<{
10242
10174
  message: z.ZodString;
10243
10175
  is_connected_account_error: z.ZodLiteral<true>;
10244
10176
  }, {
@@ -10264,8 +10196,8 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10264
10196
  message: string;
10265
10197
  is_connected_account_error: true;
10266
10198
  error_code: "invalid_credentials";
10267
- }>]>]>, "many">;
10268
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
10199
+ }>]>, "many">;
10200
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
10269
10201
  message: z.ZodString;
10270
10202
  }, {
10271
10203
  warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
@@ -10461,10 +10393,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10461
10393
  message: string;
10462
10394
  error_code: "device_removed";
10463
10395
  is_device_error: true;
10464
- } | {
10465
- message: string;
10466
- error_code: "account_disconnected";
10467
- is_device_error: true;
10468
10396
  } | {
10469
10397
  message: string;
10470
10398
  error_code: "hub_disconnected";
@@ -10976,10 +10904,6 @@ declare const device: z.ZodObject<z.objectUtil.extendShape<{
10976
10904
  message: string;
10977
10905
  error_code: "device_removed";
10978
10906
  is_device_error: true;
10979
- } | {
10980
- message: string;
10981
- error_code: "account_disconnected";
10982
- is_device_error: true;
10983
10907
  } | {
10984
10908
  message: string;
10985
10909
  error_code: "hub_disconnected";
@@ -13432,7 +13356,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13432
13356
  }>>;
13433
13357
  connected_account_id: z.ZodString;
13434
13358
  workspace_id: z.ZodString;
13435
- errors: z.ZodArray<z.ZodUnion<[z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
13359
+ errors: z.ZodArray<z.ZodDiscriminatedUnion<"error_code", [z.ZodObject<z.objectUtil.extendShape<{
13436
13360
  message: z.ZodString;
13437
13361
  is_device_error: z.ZodLiteral<true>;
13438
13362
  }, {
@@ -13461,19 +13385,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13461
13385
  }>, z.ZodObject<z.objectUtil.extendShape<{
13462
13386
  message: z.ZodString;
13463
13387
  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
13388
  }, {
13478
13389
  error_code: z.ZodLiteral<"hub_disconnected">;
13479
13390
  }>, "strip", z.ZodTypeAny, {
@@ -13601,7 +13512,7 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13601
13512
  message: string;
13602
13513
  error_code: "subscription_required";
13603
13514
  is_device_error: true;
13604
- }>]>, z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
13515
+ }>, z.ZodObject<z.objectUtil.extendShape<{
13605
13516
  message: z.ZodString;
13606
13517
  is_connected_account_error: z.ZodLiteral<true>;
13607
13518
  }, {
@@ -13627,8 +13538,8 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13627
13538
  message: string;
13628
13539
  is_connected_account_error: true;
13629
13540
  error_code: "invalid_credentials";
13630
- }>]>]>, "many">;
13631
- warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
13541
+ }>]>, "many">;
13542
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
13632
13543
  message: z.ZodString;
13633
13544
  }, {
13634
13545
  warning_code: z.ZodLiteral<"partial_backup_access_code_pool">;
@@ -13973,10 +13884,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
13973
13884
  message: string;
13974
13885
  error_code: "device_removed";
13975
13886
  is_device_error: true;
13976
- } | {
13977
- message: string;
13978
- error_code: "account_disconnected";
13979
- is_device_error: true;
13980
13887
  } | {
13981
13888
  message: string;
13982
13889
  error_code: "hub_disconnected";
@@ -14135,10 +14042,6 @@ declare const unmanaged_device: z.ZodObject<z.objectUtil.extendShape<z.objectUti
14135
14042
  message: string;
14136
14043
  error_code: "device_removed";
14137
14044
  is_device_error: true;
14138
- } | {
14139
- message: string;
14140
- error_code: "account_disconnected";
14141
- is_device_error: true;
14142
14045
  } | {
14143
14046
  message: string;
14144
14047
  error_code: "hub_disconnected";
@@ -16677,69 +16580,69 @@ declare const _default: {
16677
16580
  errors: {
16678
16581
  description: string;
16679
16582
  items: {
16583
+ discriminator: {
16584
+ propertyName: string;
16585
+ };
16680
16586
  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
- };
16587
+ description: string;
16588
+ properties: {
16589
+ error_code: {
16590
+ description: string;
16591
+ enum: string[];
16592
+ type: string;
16696
16593
  };
16697
- required: string[];
16698
- type: string;
16699
- }[];
16700
- description?: never;
16594
+ is_access_code_error: {
16595
+ enum: boolean[];
16596
+ type: string;
16597
+ };
16598
+ message: {
16599
+ type: string;
16600
+ };
16601
+ is_device_error?: never;
16602
+ is_connected_account_error?: never;
16603
+ };
16604
+ required: string[];
16605
+ type: string;
16701
16606
  } | {
16702
16607
  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
- };
16608
+ properties: {
16609
+ error_code: {
16610
+ description: string;
16611
+ enum: string[];
16612
+ type: string;
16718
16613
  };
16719
- required: string[];
16720
- type: string;
16721
- }[];
16614
+ is_device_error: {
16615
+ enum: boolean[];
16616
+ type: string;
16617
+ };
16618
+ message: {
16619
+ type: string;
16620
+ };
16621
+ is_access_code_error?: never;
16622
+ is_connected_account_error?: never;
16623
+ };
16624
+ required: string[];
16625
+ type: string;
16722
16626
  } | {
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
- };
16627
+ description: string;
16628
+ properties: {
16629
+ error_code: {
16630
+ description: string;
16631
+ enum: string[];
16632
+ type: string;
16738
16633
  };
16739
- required: string[];
16740
- type: string;
16741
- }[];
16742
- description?: never;
16634
+ is_connected_account_error: {
16635
+ enum: boolean[];
16636
+ type: string;
16637
+ };
16638
+ message: {
16639
+ type: string;
16640
+ };
16641
+ is_access_code_error?: never;
16642
+ is_device_error?: never;
16643
+ };
16644
+ required: string[];
16645
+ type: string;
16743
16646
  })[];
16744
16647
  };
16745
16648
  type: string;
@@ -16807,6 +16710,9 @@ declare const _default: {
16807
16710
  warnings: {
16808
16711
  description: string;
16809
16712
  items: {
16713
+ discriminator: {
16714
+ propertyName: string;
16715
+ };
16810
16716
  oneOf: {
16811
16717
  description: string;
16812
16718
  properties: {
@@ -17104,6 +17010,9 @@ declare const _default: {
17104
17010
  description: string;
17105
17011
  items: {
17106
17012
  description: string;
17013
+ discriminator: {
17014
+ propertyName: string;
17015
+ };
17107
17016
  oneOf: {
17108
17017
  description: string;
17109
17018
  properties: {
@@ -17476,6 +17385,9 @@ declare const _default: {
17476
17385
  description: string;
17477
17386
  items: {
17478
17387
  description: string;
17388
+ discriminator: {
17389
+ propertyName: string;
17390
+ };
17479
17391
  oneOf: ({
17480
17392
  description: string;
17481
17393
  properties: {
@@ -17589,6 +17501,9 @@ declare const _default: {
17589
17501
  description: string;
17590
17502
  items: {
17591
17503
  description: string;
17504
+ discriminator: {
17505
+ propertyName: string;
17506
+ };
17592
17507
  oneOf: ({
17593
17508
  properties: {
17594
17509
  created_at: {
@@ -17704,6 +17619,9 @@ declare const _default: {
17704
17619
  description: string;
17705
17620
  items: {
17706
17621
  description: string;
17622
+ discriminator: {
17623
+ propertyName: string;
17624
+ };
17707
17625
  oneOf: {
17708
17626
  description: string;
17709
17627
  properties: {
@@ -17790,6 +17708,9 @@ declare const _default: {
17790
17708
  description: string;
17791
17709
  items: {
17792
17710
  description: string;
17711
+ discriminator: {
17712
+ propertyName: string;
17713
+ };
17793
17714
  oneOf: {
17794
17715
  description: string;
17795
17716
  properties: {
@@ -18246,6 +18167,9 @@ declare const _default: {
18246
18167
  description: string;
18247
18168
  items: {
18248
18169
  description: string;
18170
+ discriminator: {
18171
+ propertyName: string;
18172
+ };
18249
18173
  oneOf: {
18250
18174
  description: string;
18251
18175
  properties: {
@@ -18575,6 +18499,9 @@ declare const _default: {
18575
18499
  description: string;
18576
18500
  items: {
18577
18501
  description: string;
18502
+ discriminator: {
18503
+ propertyName: string;
18504
+ };
18578
18505
  oneOf: {
18579
18506
  description: string;
18580
18507
  properties: {
@@ -19008,6 +18935,9 @@ declare const _default: {
19008
18935
  };
19009
18936
  errors: {
19010
18937
  items: {
18938
+ discriminator: {
18939
+ propertyName: string;
18940
+ };
19011
18941
  oneOf: {
19012
18942
  description: string;
19013
18943
  properties: {
@@ -19053,6 +18983,9 @@ declare const _default: {
19053
18983
  warnings: {
19054
18984
  items: {
19055
18985
  description: string;
18986
+ discriminator: {
18987
+ propertyName: string;
18988
+ };
19056
18989
  oneOf: {
19057
18990
  description: string;
19058
18991
  properties: {
@@ -19156,48 +19089,47 @@ declare const _default: {
19156
19089
  errors: {
19157
19090
  description: string;
19158
19091
  items: {
19092
+ discriminator: {
19093
+ propertyName: string;
19094
+ };
19159
19095
  oneOf: ({
19160
19096
  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
- };
19097
+ properties: {
19098
+ error_code: {
19099
+ description: string;
19100
+ enum: string[];
19101
+ type: string;
19176
19102
  };
19177
- required: string[];
19178
- type: string;
19179
- }[];
19103
+ is_device_error: {
19104
+ enum: boolean[];
19105
+ type: string;
19106
+ };
19107
+ message: {
19108
+ type: string;
19109
+ };
19110
+ is_connected_account_error?: never;
19111
+ };
19112
+ required: string[];
19113
+ type: string;
19180
19114
  } | {
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
- };
19115
+ description: string;
19116
+ properties: {
19117
+ error_code: {
19118
+ description: string;
19119
+ enum: string[];
19120
+ type: string;
19196
19121
  };
19197
- required: string[];
19198
- type: string;
19199
- }[];
19200
- description?: never;
19122
+ is_connected_account_error: {
19123
+ enum: boolean[];
19124
+ type: string;
19125
+ };
19126
+ message: {
19127
+ type: string;
19128
+ };
19129
+ is_device_error?: never;
19130
+ };
19131
+ required: string[];
19132
+ type: string;
19201
19133
  })[];
19202
19134
  };
19203
19135
  type: string;
@@ -20685,6 +20617,9 @@ declare const _default: {
20685
20617
  warnings: {
20686
20618
  description: string;
20687
20619
  items: {
20620
+ discriminator: {
20621
+ propertyName: string;
20622
+ };
20688
20623
  oneOf: {
20689
20624
  description: string;
20690
20625
  properties: {
@@ -23455,48 +23390,47 @@ declare const _default: {
23455
23390
  errors: {
23456
23391
  description: string;
23457
23392
  items: {
23393
+ discriminator: {
23394
+ propertyName: string;
23395
+ };
23458
23396
  oneOf: ({
23459
23397
  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
- };
23398
+ properties: {
23399
+ error_code: {
23400
+ description: string;
23401
+ enum: string[];
23402
+ type: string;
23475
23403
  };
23476
- required: string[];
23477
- type: string;
23478
- }[];
23404
+ is_device_error: {
23405
+ enum: boolean[];
23406
+ type: string;
23407
+ };
23408
+ message: {
23409
+ type: string;
23410
+ };
23411
+ is_connected_account_error?: never;
23412
+ };
23413
+ required: string[];
23414
+ type: string;
23479
23415
  } | {
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
- };
23416
+ description: string;
23417
+ properties: {
23418
+ error_code: {
23419
+ description: string;
23420
+ enum: string[];
23421
+ type: string;
23495
23422
  };
23496
- required: string[];
23497
- type: string;
23498
- }[];
23499
- description?: never;
23423
+ is_connected_account_error: {
23424
+ enum: boolean[];
23425
+ type: string;
23426
+ };
23427
+ message: {
23428
+ type: string;
23429
+ };
23430
+ is_device_error?: never;
23431
+ };
23432
+ required: string[];
23433
+ type: string;
23500
23434
  })[];
23501
23435
  };
23502
23436
  type: string;
@@ -23566,6 +23500,9 @@ declare const _default: {
23566
23500
  warnings: {
23567
23501
  description: string;
23568
23502
  items: {
23503
+ discriminator: {
23504
+ propertyName: string;
23505
+ };
23569
23506
  oneOf: {
23570
23507
  description: string;
23571
23508
  properties: {
@@ -23709,69 +23646,69 @@ declare const _default: {
23709
23646
  errors: {
23710
23647
  description: string;
23711
23648
  items: {
23649
+ discriminator: {
23650
+ propertyName: string;
23651
+ };
23712
23652
  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
- };
23653
+ description: string;
23654
+ properties: {
23655
+ error_code: {
23656
+ description: string;
23657
+ enum: string[];
23658
+ type: string;
23728
23659
  };
23729
- required: string[];
23730
- type: string;
23731
- }[];
23732
- description?: never;
23660
+ is_access_code_error: {
23661
+ enum: boolean[];
23662
+ type: string;
23663
+ };
23664
+ message: {
23665
+ type: string;
23666
+ };
23667
+ is_device_error?: never;
23668
+ is_connected_account_error?: never;
23669
+ };
23670
+ required: string[];
23671
+ type: string;
23733
23672
  } | {
23734
23673
  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
- };
23674
+ properties: {
23675
+ error_code: {
23676
+ description: string;
23677
+ enum: string[];
23678
+ type: string;
23750
23679
  };
23751
- required: string[];
23752
- type: string;
23753
- }[];
23680
+ is_device_error: {
23681
+ enum: boolean[];
23682
+ type: string;
23683
+ };
23684
+ message: {
23685
+ type: string;
23686
+ };
23687
+ is_access_code_error?: never;
23688
+ is_connected_account_error?: never;
23689
+ };
23690
+ required: string[];
23691
+ type: string;
23754
23692
  } | {
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
- };
23693
+ description: string;
23694
+ properties: {
23695
+ error_code: {
23696
+ description: string;
23697
+ enum: string[];
23698
+ type: string;
23770
23699
  };
23771
- required: string[];
23772
- type: string;
23773
- }[];
23774
- description?: never;
23700
+ is_connected_account_error: {
23701
+ enum: boolean[];
23702
+ type: string;
23703
+ };
23704
+ message: {
23705
+ type: string;
23706
+ };
23707
+ is_access_code_error?: never;
23708
+ is_device_error?: never;
23709
+ };
23710
+ required: string[];
23711
+ type: string;
23775
23712
  })[];
23776
23713
  };
23777
23714
  type: string;
@@ -23803,6 +23740,9 @@ declare const _default: {
23803
23740
  warnings: {
23804
23741
  description: string;
23805
23742
  items: {
23743
+ discriminator: {
23744
+ propertyName: string;
23745
+ };
23806
23746
  oneOf: {
23807
23747
  description: string;
23808
23748
  properties: {
@@ -24099,6 +24039,9 @@ declare const _default: {
24099
24039
  description: string;
24100
24040
  items: {
24101
24041
  description: string;
24042
+ discriminator: {
24043
+ propertyName: string;
24044
+ };
24102
24045
  oneOf: {
24103
24046
  description: string;
24104
24047
  properties: {
@@ -24188,6 +24131,9 @@ declare const _default: {
24188
24131
  description: string;
24189
24132
  items: {
24190
24133
  description: string;
24134
+ discriminator: {
24135
+ propertyName: string;
24136
+ };
24191
24137
  oneOf: {
24192
24138
  description: string;
24193
24139
  properties: {
@@ -24274,6 +24220,9 @@ declare const _default: {
24274
24220
  description: string;
24275
24221
  items: {
24276
24222
  description: string;
24223
+ discriminator: {
24224
+ propertyName: string;
24225
+ };
24277
24226
  oneOf: {
24278
24227
  description: string;
24279
24228
  properties: {
@@ -24373,48 +24322,47 @@ declare const _default: {
24373
24322
  errors: {
24374
24323
  description: string;
24375
24324
  items: {
24325
+ discriminator: {
24326
+ propertyName: string;
24327
+ };
24376
24328
  oneOf: ({
24377
24329
  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
- };
24330
+ properties: {
24331
+ error_code: {
24332
+ description: string;
24333
+ enum: string[];
24334
+ type: string;
24393
24335
  };
24394
- required: string[];
24395
- type: string;
24396
- }[];
24336
+ is_device_error: {
24337
+ enum: boolean[];
24338
+ type: string;
24339
+ };
24340
+ message: {
24341
+ type: string;
24342
+ };
24343
+ is_connected_account_error?: never;
24344
+ };
24345
+ required: string[];
24346
+ type: string;
24397
24347
  } | {
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
- };
24348
+ description: string;
24349
+ properties: {
24350
+ error_code: {
24351
+ description: string;
24352
+ enum: string[];
24353
+ type: string;
24413
24354
  };
24414
- required: string[];
24415
- type: string;
24416
- }[];
24417
- description?: never;
24355
+ is_connected_account_error: {
24356
+ enum: boolean[];
24357
+ type: string;
24358
+ };
24359
+ message: {
24360
+ type: string;
24361
+ };
24362
+ is_device_error?: never;
24363
+ };
24364
+ required: string[];
24365
+ type: string;
24418
24366
  })[];
24419
24367
  };
24420
24368
  type: string;
@@ -24561,6 +24509,9 @@ declare const _default: {
24561
24509
  warnings: {
24562
24510
  description: string;
24563
24511
  items: {
24512
+ discriminator: {
24513
+ propertyName: string;
24514
+ };
24564
24515
  oneOf: {
24565
24516
  description: string;
24566
24517
  properties: {
@@ -41416,7 +41367,7 @@ interface Routes {
41416
41367
  /** Date and time at which the access code was created. */
41417
41368
  created_at: string;
41418
41369
  /** 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<({
41370
+ errors: Array<{
41420
41371
  message: string;
41421
41372
  is_access_code_error: true;
41422
41373
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41511,7 +41462,7 @@ interface Routes {
41511
41462
  is_access_code_error: true;
41512
41463
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41513
41464
  error_code: 'hubitat_no_free_positions_available';
41514
- }) | ({
41465
+ } | {
41515
41466
  message: string;
41516
41467
  is_device_error: true;
41517
41468
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41521,11 +41472,6 @@ interface Routes {
41521
41472
  is_device_error: true;
41522
41473
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41523
41474
  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
41475
  } | {
41530
41476
  message: string;
41531
41477
  is_device_error: true;
@@ -41576,17 +41522,17 @@ interface Routes {
41576
41522
  is_device_error: true;
41577
41523
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41578
41524
  error_code: 'subscription_required';
41579
- }) | ({
41525
+ } | {
41580
41526
  message: string;
41581
41527
  is_connected_account_error: true;
41582
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41528
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41583
41529
  error_code: 'account_disconnected';
41584
41530
  } | {
41585
41531
  message: string;
41586
41532
  is_connected_account_error: true;
41587
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41533
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41588
41534
  error_code: 'invalid_credentials';
41589
- })>;
41535
+ }>;
41590
41536
  /** 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
41537
  warnings: Array<{
41592
41538
  message: string;
@@ -41699,7 +41645,7 @@ interface Routes {
41699
41645
  /** Date and time at which the access code was created. */
41700
41646
  created_at: string;
41701
41647
  /** 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<({
41648
+ errors: Array<{
41703
41649
  message: string;
41704
41650
  is_access_code_error: true;
41705
41651
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41794,7 +41740,7 @@ interface Routes {
41794
41740
  is_access_code_error: true;
41795
41741
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41796
41742
  error_code: 'hubitat_no_free_positions_available';
41797
- }) | ({
41743
+ } | {
41798
41744
  message: string;
41799
41745
  is_device_error: true;
41800
41746
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41804,11 +41750,6 @@ interface Routes {
41804
41750
  is_device_error: true;
41805
41751
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41806
41752
  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
41753
  } | {
41813
41754
  message: string;
41814
41755
  is_device_error: true;
@@ -41859,17 +41800,17 @@ interface Routes {
41859
41800
  is_device_error: true;
41860
41801
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41861
41802
  error_code: 'subscription_required';
41862
- }) | ({
41803
+ } | {
41863
41804
  message: string;
41864
41805
  is_connected_account_error: true;
41865
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41806
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41866
41807
  error_code: 'account_disconnected';
41867
41808
  } | {
41868
41809
  message: string;
41869
41810
  is_connected_account_error: true;
41870
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
41811
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41871
41812
  error_code: 'invalid_credentials';
41872
- })>;
41813
+ }>;
41873
41814
  /** 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
41815
  warnings: Array<{
41875
41816
  message: string;
@@ -42855,7 +42796,7 @@ interface Routes {
42855
42796
  /** Date and time at which the access code was created. */
42856
42797
  created_at: string;
42857
42798
  /** 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<({
42799
+ errors: Array<{
42859
42800
  message: string;
42860
42801
  is_access_code_error: true;
42861
42802
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -42950,7 +42891,7 @@ interface Routes {
42950
42891
  is_access_code_error: true;
42951
42892
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42952
42893
  error_code: 'hubitat_no_free_positions_available';
42953
- }) | ({
42894
+ } | {
42954
42895
  message: string;
42955
42896
  is_device_error: true;
42956
42897
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -42960,11 +42901,6 @@ interface Routes {
42960
42901
  is_device_error: true;
42961
42902
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42962
42903
  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
42904
  } | {
42969
42905
  message: string;
42970
42906
  is_device_error: true;
@@ -43015,17 +42951,17 @@ interface Routes {
43015
42951
  is_device_error: true;
43016
42952
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43017
42953
  error_code: 'subscription_required';
43018
- }) | ({
42954
+ } | {
43019
42955
  message: string;
43020
42956
  is_connected_account_error: true;
43021
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42957
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43022
42958
  error_code: 'account_disconnected';
43023
42959
  } | {
43024
42960
  message: string;
43025
42961
  is_connected_account_error: true;
43026
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
42962
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43027
42963
  error_code: 'invalid_credentials';
43028
- })>;
42964
+ }>;
43029
42965
  /** 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
42966
  warnings: Array<{
43031
42967
  message: string;
@@ -43125,7 +43061,7 @@ interface Routes {
43125
43061
  /** Date and time at which the access code was created. */
43126
43062
  created_at: string;
43127
43063
  /** 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<({
43064
+ errors: Array<{
43129
43065
  message: string;
43130
43066
  is_access_code_error: true;
43131
43067
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43220,7 +43156,7 @@ interface Routes {
43220
43156
  is_access_code_error: true;
43221
43157
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43222
43158
  error_code: 'hubitat_no_free_positions_available';
43223
- }) | ({
43159
+ } | {
43224
43160
  message: string;
43225
43161
  is_device_error: true;
43226
43162
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43230,11 +43166,6 @@ interface Routes {
43230
43166
  is_device_error: true;
43231
43167
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43232
43168
  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
43169
  } | {
43239
43170
  message: string;
43240
43171
  is_device_error: true;
@@ -43285,17 +43216,17 @@ interface Routes {
43285
43216
  is_device_error: true;
43286
43217
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43287
43218
  error_code: 'subscription_required';
43288
- }) | ({
43219
+ } | {
43289
43220
  message: string;
43290
43221
  is_connected_account_error: true;
43291
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43222
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43292
43223
  error_code: 'account_disconnected';
43293
43224
  } | {
43294
43225
  message: string;
43295
43226
  is_connected_account_error: true;
43296
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43227
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43297
43228
  error_code: 'invalid_credentials';
43298
- })>;
43229
+ }>;
43299
43230
  /** 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
43231
  warnings: Array<{
43301
43232
  message: string;
@@ -43394,7 +43325,7 @@ interface Routes {
43394
43325
  /** Date and time at which the access code was created. */
43395
43326
  created_at: string;
43396
43327
  /** 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<({
43328
+ errors: Array<{
43398
43329
  message: string;
43399
43330
  is_access_code_error: true;
43400
43331
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43489,7 +43420,7 @@ interface Routes {
43489
43420
  is_access_code_error: true;
43490
43421
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43491
43422
  error_code: 'hubitat_no_free_positions_available';
43492
- }) | ({
43423
+ } | {
43493
43424
  message: string;
43494
43425
  is_device_error: true;
43495
43426
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43499,11 +43430,6 @@ interface Routes {
43499
43430
  is_device_error: true;
43500
43431
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43501
43432
  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
43433
  } | {
43508
43434
  message: string;
43509
43435
  is_device_error: true;
@@ -43554,17 +43480,17 @@ interface Routes {
43554
43480
  is_device_error: true;
43555
43481
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43556
43482
  error_code: 'subscription_required';
43557
- }) | ({
43483
+ } | {
43558
43484
  message: string;
43559
43485
  is_connected_account_error: true;
43560
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43486
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43561
43487
  error_code: 'account_disconnected';
43562
43488
  } | {
43563
43489
  message: string;
43564
43490
  is_connected_account_error: true;
43565
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43491
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43566
43492
  error_code: 'invalid_credentials';
43567
- })>;
43493
+ }>;
43568
43494
  /** 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
43495
  warnings: Array<{
43570
43496
  message: string;
@@ -43651,7 +43577,7 @@ interface Routes {
43651
43577
  /** Date and time at which the access code was created. */
43652
43578
  created_at: string;
43653
43579
  /** 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<({
43580
+ errors: Array<{
43655
43581
  message: string;
43656
43582
  is_access_code_error: true;
43657
43583
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43746,7 +43672,7 @@ interface Routes {
43746
43672
  is_access_code_error: true;
43747
43673
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43748
43674
  error_code: 'hubitat_no_free_positions_available';
43749
- }) | ({
43675
+ } | {
43750
43676
  message: string;
43751
43677
  is_device_error: true;
43752
43678
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43756,11 +43682,6 @@ interface Routes {
43756
43682
  is_device_error: true;
43757
43683
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43758
43684
  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
43685
  } | {
43765
43686
  message: string;
43766
43687
  is_device_error: true;
@@ -43811,17 +43732,17 @@ interface Routes {
43811
43732
  is_device_error: true;
43812
43733
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43813
43734
  error_code: 'subscription_required';
43814
- }) | ({
43735
+ } | {
43815
43736
  message: string;
43816
43737
  is_connected_account_error: true;
43817
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43738
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43818
43739
  error_code: 'account_disconnected';
43819
43740
  } | {
43820
43741
  message: string;
43821
43742
  is_connected_account_error: true;
43822
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43743
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43823
43744
  error_code: 'invalid_credentials';
43824
- })>;
43745
+ }>;
43825
43746
  /** 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
43747
  warnings: Array<{
43827
43748
  message: string;
@@ -43916,7 +43837,7 @@ interface Routes {
43916
43837
  /** Date and time at which the access code was created. */
43917
43838
  created_at: string;
43918
43839
  /** 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<({
43840
+ errors: Array<{
43920
43841
  message: string;
43921
43842
  is_access_code_error: true;
43922
43843
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -44011,7 +43932,7 @@ interface Routes {
44011
43932
  is_access_code_error: true;
44012
43933
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44013
43934
  error_code: 'hubitat_no_free_positions_available';
44014
- }) | ({
43935
+ } | {
44015
43936
  message: string;
44016
43937
  is_device_error: true;
44017
43938
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -44021,11 +43942,6 @@ interface Routes {
44021
43942
  is_device_error: true;
44022
43943
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44023
43944
  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
43945
  } | {
44030
43946
  message: string;
44031
43947
  is_device_error: true;
@@ -44076,17 +43992,17 @@ interface Routes {
44076
43992
  is_device_error: true;
44077
43993
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44078
43994
  error_code: 'subscription_required';
44079
- }) | ({
43995
+ } | {
44080
43996
  message: string;
44081
43997
  is_connected_account_error: true;
44082
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
43998
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44083
43999
  error_code: 'account_disconnected';
44084
44000
  } | {
44085
44001
  message: string;
44086
44002
  is_connected_account_error: true;
44087
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
44003
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44088
44004
  error_code: 'invalid_credentials';
44089
- })>;
44005
+ }>;
44090
44006
  /** 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
44007
  warnings: Array<{
44092
44008
  message: string;
@@ -45048,7 +44964,7 @@ interface Routes {
45048
44964
  /** Date and time at which the access code was created. */
45049
44965
  created_at: string;
45050
44966
  /** 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<({
44967
+ errors: Array<{
45052
44968
  message: string;
45053
44969
  is_access_code_error: true;
45054
44970
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45143,7 +45059,7 @@ interface Routes {
45143
45059
  is_access_code_error: true;
45144
45060
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45145
45061
  error_code: 'hubitat_no_free_positions_available';
45146
- }) | ({
45062
+ } | {
45147
45063
  message: string;
45148
45064
  is_device_error: true;
45149
45065
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45153,11 +45069,6 @@ interface Routes {
45153
45069
  is_device_error: true;
45154
45070
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45155
45071
  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
45072
  } | {
45162
45073
  message: string;
45163
45074
  is_device_error: true;
@@ -45208,17 +45119,17 @@ interface Routes {
45208
45119
  is_device_error: true;
45209
45120
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45210
45121
  error_code: 'subscription_required';
45211
- }) | ({
45122
+ } | {
45212
45123
  message: string;
45213
45124
  is_connected_account_error: true;
45214
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45125
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45215
45126
  error_code: 'account_disconnected';
45216
45127
  } | {
45217
45128
  message: string;
45218
45129
  is_connected_account_error: true;
45219
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45130
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45220
45131
  error_code: 'invalid_credentials';
45221
- })>;
45132
+ }>;
45222
45133
  /** 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
45134
  warnings: Array<{
45224
45135
  message: string;
@@ -45295,7 +45206,7 @@ interface Routes {
45295
45206
  /** Date and time at which the access code was created. */
45296
45207
  created_at: string;
45297
45208
  /** 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<({
45209
+ errors: Array<{
45299
45210
  message: string;
45300
45211
  is_access_code_error: true;
45301
45212
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45390,7 +45301,7 @@ interface Routes {
45390
45301
  is_access_code_error: true;
45391
45302
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45392
45303
  error_code: 'hubitat_no_free_positions_available';
45393
- }) | ({
45304
+ } | {
45394
45305
  message: string;
45395
45306
  is_device_error: true;
45396
45307
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45400,11 +45311,6 @@ interface Routes {
45400
45311
  is_device_error: true;
45401
45312
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45402
45313
  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
45314
  } | {
45409
45315
  message: string;
45410
45316
  is_device_error: true;
@@ -45455,17 +45361,17 @@ interface Routes {
45455
45361
  is_device_error: true;
45456
45362
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45457
45363
  error_code: 'subscription_required';
45458
- }) | ({
45364
+ } | {
45459
45365
  message: string;
45460
45366
  is_connected_account_error: true;
45461
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45367
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45462
45368
  error_code: 'account_disconnected';
45463
45369
  } | {
45464
45370
  message: string;
45465
45371
  is_connected_account_error: true;
45466
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
45372
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45467
45373
  error_code: 'invalid_credentials';
45468
- })>;
45374
+ }>;
45469
45375
  /** 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
45376
  warnings: Array<{
45471
45377
  message: string;
@@ -53452,12 +53358,12 @@ interface Routes {
53452
53358
  errors: Array<{
53453
53359
  message: string;
53454
53360
  is_connected_account_error: true;
53455
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53361
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53456
53362
  error_code: 'account_disconnected';
53457
53363
  } | {
53458
53364
  message: string;
53459
53365
  is_connected_account_error: true;
53460
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53366
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53461
53367
  error_code: 'invalid_credentials';
53462
53368
  }>;
53463
53369
  warnings: Array<{
@@ -53502,12 +53408,12 @@ interface Routes {
53502
53408
  errors: Array<{
53503
53409
  message: string;
53504
53410
  is_connected_account_error: true;
53505
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53411
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53506
53412
  error_code: 'account_disconnected';
53507
53413
  } | {
53508
53414
  message: string;
53509
53415
  is_connected_account_error: true;
53510
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53416
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53511
53417
  error_code: 'invalid_credentials';
53512
53418
  }>;
53513
53419
  warnings: Array<{
@@ -53552,12 +53458,12 @@ interface Routes {
53552
53458
  errors: Array<{
53553
53459
  message: string;
53554
53460
  is_connected_account_error: true;
53555
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53461
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53556
53462
  error_code: 'account_disconnected';
53557
53463
  } | {
53558
53464
  message: string;
53559
53465
  is_connected_account_error: true;
53560
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
53466
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
53561
53467
  error_code: 'invalid_credentials';
53562
53468
  }>;
53563
53469
  warnings: Array<{
@@ -54089,7 +53995,7 @@ interface Routes {
54089
53995
  /** Unique identifier for the Seam workspace associated with the device. */
54090
53996
  workspace_id: string;
54091
53997
  /** 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<({
53998
+ errors: Array<{
54093
53999
  message: string;
54094
54000
  is_device_error: true;
54095
54001
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -54099,11 +54005,6 @@ interface Routes {
54099
54005
  is_device_error: true;
54100
54006
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54101
54007
  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
54008
  } | {
54108
54009
  message: string;
54109
54010
  is_device_error: true;
@@ -54154,17 +54055,17 @@ interface Routes {
54154
54055
  is_device_error: true;
54155
54056
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54156
54057
  error_code: 'subscription_required';
54157
- }) | ({
54058
+ } | {
54158
54059
  message: string;
54159
54060
  is_connected_account_error: true;
54160
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54061
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54161
54062
  error_code: 'account_disconnected';
54162
54063
  } | {
54163
54064
  message: string;
54164
54065
  is_connected_account_error: true;
54165
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54066
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54166
54067
  error_code: 'invalid_credentials';
54167
- })>;
54068
+ }>;
54168
54069
  /** 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
54070
  warnings: Array<{
54170
54071
  message: string;
@@ -54777,7 +54678,7 @@ interface Routes {
54777
54678
  /** Unique identifier for the Seam workspace associated with the device. */
54778
54679
  workspace_id: string;
54779
54680
  /** 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<({
54681
+ errors: Array<{
54781
54682
  message: string;
54782
54683
  is_device_error: true;
54783
54684
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -54787,11 +54688,6 @@ interface Routes {
54787
54688
  is_device_error: true;
54788
54689
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54789
54690
  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
54691
  } | {
54796
54692
  message: string;
54797
54693
  is_device_error: true;
@@ -54842,17 +54738,17 @@ interface Routes {
54842
54738
  is_device_error: true;
54843
54739
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54844
54740
  error_code: 'subscription_required';
54845
- }) | ({
54741
+ } | {
54846
54742
  message: string;
54847
54743
  is_connected_account_error: true;
54848
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54744
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54849
54745
  error_code: 'account_disconnected';
54850
54746
  } | {
54851
54747
  message: string;
54852
54748
  is_connected_account_error: true;
54853
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54749
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54854
54750
  error_code: 'invalid_credentials';
54855
- })>;
54751
+ }>;
54856
54752
  /** 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
54753
  warnings: Array<{
54858
54754
  message: string;
@@ -55031,7 +54927,7 @@ interface Routes {
55031
54927
  /** Unique identifier for the Seam workspace associated with the device. */
55032
54928
  workspace_id: string;
55033
54929
  /** 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<({
54930
+ errors: Array<{
55035
54931
  message: string;
55036
54932
  is_device_error: true;
55037
54933
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -55041,11 +54937,6 @@ interface Routes {
55041
54937
  is_device_error: true;
55042
54938
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55043
54939
  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
54940
  } | {
55050
54941
  message: string;
55051
54942
  is_device_error: true;
@@ -55096,17 +54987,17 @@ interface Routes {
55096
54987
  is_device_error: true;
55097
54988
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55098
54989
  error_code: 'subscription_required';
55099
- }) | ({
54990
+ } | {
55100
54991
  message: string;
55101
54992
  is_connected_account_error: true;
55102
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54993
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55103
54994
  error_code: 'account_disconnected';
55104
54995
  } | {
55105
54996
  message: string;
55106
54997
  is_connected_account_error: true;
55107
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
54998
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55108
54999
  error_code: 'invalid_credentials';
55109
- })>;
55000
+ }>;
55110
55001
  /** 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
55002
  warnings: Array<{
55112
55003
  message: string;
@@ -55294,7 +55185,7 @@ interface Routes {
55294
55185
  /** Unique identifier for the Seam workspace associated with the device. */
55295
55186
  workspace_id: string;
55296
55187
  /** 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<({
55188
+ errors: Array<{
55298
55189
  message: string;
55299
55190
  is_device_error: true;
55300
55191
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -55304,11 +55195,6 @@ interface Routes {
55304
55195
  is_device_error: true;
55305
55196
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55306
55197
  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
55198
  } | {
55313
55199
  message: string;
55314
55200
  is_device_error: true;
@@ -55359,17 +55245,17 @@ interface Routes {
55359
55245
  is_device_error: true;
55360
55246
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55361
55247
  error_code: 'subscription_required';
55362
- }) | ({
55248
+ } | {
55363
55249
  message: string;
55364
55250
  is_connected_account_error: true;
55365
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55251
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55366
55252
  error_code: 'account_disconnected';
55367
55253
  } | {
55368
55254
  message: string;
55369
55255
  is_connected_account_error: true;
55370
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
55256
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55371
55257
  error_code: 'invalid_credentials';
55372
- })>;
55258
+ }>;
55373
55259
  /** 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
55260
  warnings: Array<{
55375
55261
  message: string;
@@ -58447,7 +58333,7 @@ interface Routes {
58447
58333
  /** Unique identifier for the Seam workspace associated with the device. */
58448
58334
  workspace_id: string;
58449
58335
  /** 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<({
58336
+ errors: Array<{
58451
58337
  message: string;
58452
58338
  is_device_error: true;
58453
58339
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -58457,11 +58343,6 @@ interface Routes {
58457
58343
  is_device_error: true;
58458
58344
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58459
58345
  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
58346
  } | {
58466
58347
  message: string;
58467
58348
  is_device_error: true;
@@ -58512,17 +58393,17 @@ interface Routes {
58512
58393
  is_device_error: true;
58513
58394
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58514
58395
  error_code: 'subscription_required';
58515
- }) | ({
58396
+ } | {
58516
58397
  message: string;
58517
58398
  is_connected_account_error: true;
58518
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58399
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58519
58400
  error_code: 'account_disconnected';
58520
58401
  } | {
58521
58402
  message: string;
58522
58403
  is_connected_account_error: true;
58523
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
58404
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58524
58405
  error_code: 'invalid_credentials';
58525
- })>;
58406
+ }>;
58526
58407
  /** 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
58408
  warnings: Array<{
58528
58409
  message: string;
@@ -59099,7 +58980,7 @@ interface Routes {
59099
58980
  /** Unique identifier for the Seam workspace associated with the device. */
59100
58981
  workspace_id: string;
59101
58982
  /** 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<({
58983
+ errors: Array<{
59103
58984
  message: string;
59104
58985
  is_device_error: true;
59105
58986
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -59109,11 +58990,6 @@ interface Routes {
59109
58990
  is_device_error: true;
59110
58991
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59111
58992
  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
58993
  } | {
59118
58994
  message: string;
59119
58995
  is_device_error: true;
@@ -59164,17 +59040,17 @@ interface Routes {
59164
59040
  is_device_error: true;
59165
59041
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59166
59042
  error_code: 'subscription_required';
59167
- }) | ({
59043
+ } | {
59168
59044
  message: string;
59169
59045
  is_connected_account_error: true;
59170
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59046
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59171
59047
  error_code: 'account_disconnected';
59172
59048
  } | {
59173
59049
  message: string;
59174
59050
  is_connected_account_error: true;
59175
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59051
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59176
59052
  error_code: 'invalid_credentials';
59177
- })>;
59053
+ }>;
59178
59054
  /** 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
59055
  warnings: Array<{
59180
59056
  message: string;
@@ -59787,7 +59663,7 @@ interface Routes {
59787
59663
  /** Unique identifier for the Seam workspace associated with the device. */
59788
59664
  workspace_id: string;
59789
59665
  /** 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<({
59666
+ errors: Array<{
59791
59667
  message: string;
59792
59668
  is_device_error: true;
59793
59669
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -59797,11 +59673,6 @@ interface Routes {
59797
59673
  is_device_error: true;
59798
59674
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59799
59675
  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
59676
  } | {
59806
59677
  message: string;
59807
59678
  is_device_error: true;
@@ -59852,17 +59723,17 @@ interface Routes {
59852
59723
  is_device_error: true;
59853
59724
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59854
59725
  error_code: 'subscription_required';
59855
- }) | ({
59726
+ } | {
59856
59727
  message: string;
59857
59728
  is_connected_account_error: true;
59858
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59729
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59859
59730
  error_code: 'account_disconnected';
59860
59731
  } | {
59861
59732
  message: string;
59862
59733
  is_connected_account_error: true;
59863
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
59734
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59864
59735
  error_code: 'invalid_credentials';
59865
- })>;
59736
+ }>;
59866
59737
  /** 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
59738
  warnings: Array<{
59868
59739
  message: string;
@@ -60438,7 +60309,7 @@ interface Routes {
60438
60309
  /** Unique identifier for the Seam workspace associated with the device. */
60439
60310
  workspace_id: string;
60440
60311
  /** 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<({
60312
+ errors: Array<{
60442
60313
  message: string;
60443
60314
  is_device_error: true;
60444
60315
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -60448,11 +60319,6 @@ interface Routes {
60448
60319
  is_device_error: true;
60449
60320
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60450
60321
  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
60322
  } | {
60457
60323
  message: string;
60458
60324
  is_device_error: true;
@@ -60503,17 +60369,17 @@ interface Routes {
60503
60369
  is_device_error: true;
60504
60370
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60505
60371
  error_code: 'subscription_required';
60506
- }) | ({
60372
+ } | {
60507
60373
  message: string;
60508
60374
  is_connected_account_error: true;
60509
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
60375
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60510
60376
  error_code: 'account_disconnected';
60511
60377
  } | {
60512
60378
  message: string;
60513
60379
  is_connected_account_error: true;
60514
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
60380
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60515
60381
  error_code: 'invalid_credentials';
60516
- })>;
60382
+ }>;
60517
60383
  /** 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
60384
  warnings: Array<{
60519
60385
  message: string;
@@ -62897,7 +62763,7 @@ interface Routes {
62897
62763
  /** Unique identifier for the Seam workspace associated with the device. */
62898
62764
  workspace_id: string;
62899
62765
  /** 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<({
62766
+ errors: Array<{
62901
62767
  message: string;
62902
62768
  is_device_error: true;
62903
62769
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -62907,11 +62773,6 @@ interface Routes {
62907
62773
  is_device_error: true;
62908
62774
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62909
62775
  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
62776
  } | {
62916
62777
  message: string;
62917
62778
  is_device_error: true;
@@ -62962,17 +62823,17 @@ interface Routes {
62962
62823
  is_device_error: true;
62963
62824
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62964
62825
  error_code: 'subscription_required';
62965
- }) | ({
62826
+ } | {
62966
62827
  message: string;
62967
62828
  is_connected_account_error: true;
62968
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62829
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62969
62830
  error_code: 'account_disconnected';
62970
62831
  } | {
62971
62832
  message: string;
62972
62833
  is_connected_account_error: true;
62973
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
62834
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62974
62835
  error_code: 'invalid_credentials';
62975
- })>;
62836
+ }>;
62976
62837
  /** 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
62838
  warnings: Array<{
62978
62839
  message: string;
@@ -63548,7 +63409,7 @@ interface Routes {
63548
63409
  /** Unique identifier for the Seam workspace associated with the device. */
63549
63410
  workspace_id: string;
63550
63411
  /** 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<({
63412
+ errors: Array<{
63552
63413
  message: string;
63553
63414
  is_device_error: true;
63554
63415
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -63558,11 +63419,6 @@ interface Routes {
63558
63419
  is_device_error: true;
63559
63420
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63560
63421
  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
63422
  } | {
63567
63423
  message: string;
63568
63424
  is_device_error: true;
@@ -63613,17 +63469,17 @@ interface Routes {
63613
63469
  is_device_error: true;
63614
63470
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63615
63471
  error_code: 'subscription_required';
63616
- }) | ({
63472
+ } | {
63617
63473
  message: string;
63618
63474
  is_connected_account_error: true;
63619
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63475
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63620
63476
  error_code: 'account_disconnected';
63621
63477
  } | {
63622
63478
  message: string;
63623
63479
  is_connected_account_error: true;
63624
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
63480
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63625
63481
  error_code: 'invalid_credentials';
63626
- })>;
63482
+ }>;
63627
63483
  /** 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
63484
  warnings: Array<{
63629
63485
  message: string;
@@ -66444,7 +66300,7 @@ interface Routes {
66444
66300
  /** Unique identifier for the Seam workspace associated with the device. */
66445
66301
  workspace_id: string;
66446
66302
  /** 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<({
66303
+ errors: Array<{
66448
66304
  message: string;
66449
66305
  is_device_error: true;
66450
66306
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -66454,11 +66310,6 @@ interface Routes {
66454
66310
  is_device_error: true;
66455
66311
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66456
66312
  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
66313
  } | {
66463
66314
  message: string;
66464
66315
  is_device_error: true;
@@ -66509,17 +66360,17 @@ interface Routes {
66509
66360
  is_device_error: true;
66510
66361
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66511
66362
  error_code: 'subscription_required';
66512
- }) | ({
66363
+ } | {
66513
66364
  message: string;
66514
66365
  is_connected_account_error: true;
66515
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66366
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66516
66367
  error_code: 'account_disconnected';
66517
66368
  } | {
66518
66369
  message: string;
66519
66370
  is_connected_account_error: true;
66520
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66371
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66521
66372
  error_code: 'invalid_credentials';
66522
- })>;
66373
+ }>;
66523
66374
  /** 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
66375
  warnings: Array<{
66525
66376
  message: string;
@@ -66663,7 +66514,7 @@ interface Routes {
66663
66514
  /** Unique identifier for the Seam workspace associated with the device. */
66664
66515
  workspace_id: string;
66665
66516
  /** 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<({
66517
+ errors: Array<{
66667
66518
  message: string;
66668
66519
  is_device_error: true;
66669
66520
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -66673,11 +66524,6 @@ interface Routes {
66673
66524
  is_device_error: true;
66674
66525
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66675
66526
  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
66527
  } | {
66682
66528
  message: string;
66683
66529
  is_device_error: true;
@@ -66728,17 +66574,17 @@ interface Routes {
66728
66574
  is_device_error: true;
66729
66575
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66730
66576
  error_code: 'subscription_required';
66731
- }) | ({
66577
+ } | {
66732
66578
  message: string;
66733
66579
  is_connected_account_error: true;
66734
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66735
66581
  error_code: 'account_disconnected';
66736
66582
  } | {
66737
66583
  message: string;
66738
66584
  is_connected_account_error: true;
66739
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
66585
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66740
66586
  error_code: 'invalid_credentials';
66741
- })>;
66587
+ }>;
66742
66588
  /** 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
66589
  warnings: Array<{
66744
66590
  message: string;
@@ -69119,7 +68965,7 @@ interface Routes {
69119
68965
  /** Unique identifier for the Seam workspace associated with the device. */
69120
68966
  workspace_id: string;
69121
68967
  /** 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<({
68968
+ errors: Array<{
69123
68969
  message: string;
69124
68970
  is_device_error: true;
69125
68971
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -69129,11 +68975,6 @@ interface Routes {
69129
68975
  is_device_error: true;
69130
68976
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69131
68977
  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
68978
  } | {
69138
68979
  message: string;
69139
68980
  is_device_error: true;
@@ -69184,17 +69025,17 @@ interface Routes {
69184
69025
  is_device_error: true;
69185
69026
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69186
69027
  error_code: 'subscription_required';
69187
- }) | ({
69028
+ } | {
69188
69029
  message: string;
69189
69030
  is_connected_account_error: true;
69190
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
69031
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69191
69032
  error_code: 'account_disconnected';
69192
69033
  } | {
69193
69034
  message: string;
69194
69035
  is_connected_account_error: true;
69195
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
69036
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69196
69037
  error_code: 'invalid_credentials';
69197
- })>;
69038
+ }>;
69198
69039
  /** 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
69040
  warnings: Array<{
69200
69041
  message: string;
@@ -71559,7 +71400,7 @@ interface Routes {
71559
71400
  /** Unique identifier for the Seam workspace associated with the device. */
71560
71401
  workspace_id: string;
71561
71402
  /** 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<({
71403
+ errors: Array<{
71563
71404
  message: string;
71564
71405
  is_device_error: true;
71565
71406
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -71569,11 +71410,6 @@ interface Routes {
71569
71410
  is_device_error: true;
71570
71411
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71571
71412
  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
71413
  } | {
71578
71414
  message: string;
71579
71415
  is_device_error: true;
@@ -71624,17 +71460,17 @@ interface Routes {
71624
71460
  is_device_error: true;
71625
71461
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71626
71462
  error_code: 'subscription_required';
71627
- }) | ({
71463
+ } | {
71628
71464
  message: string;
71629
71465
  is_connected_account_error: true;
71630
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71466
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71631
71467
  error_code: 'account_disconnected';
71632
71468
  } | {
71633
71469
  message: string;
71634
71470
  is_connected_account_error: true;
71635
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
71471
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71636
71472
  error_code: 'invalid_credentials';
71637
- })>;
71473
+ }>;
71638
71474
  /** 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
71475
  warnings: Array<{
71640
71476
  message: string;
@@ -72210,7 +72046,7 @@ interface Routes {
72210
72046
  /** Unique identifier for the Seam workspace associated with the device. */
72211
72047
  workspace_id: string;
72212
72048
  /** 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<({
72049
+ errors: Array<{
72214
72050
  message: string;
72215
72051
  is_device_error: true;
72216
72052
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -72220,11 +72056,6 @@ interface Routes {
72220
72056
  is_device_error: true;
72221
72057
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72222
72058
  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
72059
  } | {
72229
72060
  message: string;
72230
72061
  is_device_error: true;
@@ -72275,17 +72106,17 @@ interface Routes {
72275
72106
  is_device_error: true;
72276
72107
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72277
72108
  error_code: 'subscription_required';
72278
- }) | ({
72109
+ } | {
72279
72110
  message: string;
72280
72111
  is_connected_account_error: true;
72281
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72112
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72282
72113
  error_code: 'account_disconnected';
72283
72114
  } | {
72284
72115
  message: string;
72285
72116
  is_connected_account_error: true;
72286
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
72117
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72287
72118
  error_code: 'invalid_credentials';
72288
- })>;
72119
+ }>;
72289
72120
  /** 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
72121
  warnings: Array<{
72291
72122
  message: string;
@@ -76035,7 +75866,7 @@ interface Routes {
76035
75866
  /** Unique identifier for the Seam workspace associated with the device. */
76036
75867
  workspace_id: string;
76037
75868
  /** 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<({
75869
+ errors: Array<{
76039
75870
  message: string;
76040
75871
  is_device_error: true;
76041
75872
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -76045,11 +75876,6 @@ interface Routes {
76045
75876
  is_device_error: true;
76046
75877
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76047
75878
  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
75879
  } | {
76054
75880
  message: string;
76055
75881
  is_device_error: true;
@@ -76100,17 +75926,17 @@ interface Routes {
76100
75926
  is_device_error: true;
76101
75927
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76102
75928
  error_code: 'subscription_required';
76103
- }) | ({
75929
+ } | {
76104
75930
  message: string;
76105
75931
  is_connected_account_error: true;
76106
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75932
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76107
75933
  error_code: 'account_disconnected';
76108
75934
  } | {
76109
75935
  message: string;
76110
75936
  is_connected_account_error: true;
76111
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
75937
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76112
75938
  error_code: 'invalid_credentials';
76113
- })>;
75939
+ }>;
76114
75940
  /** 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
75941
  warnings: Array<{
76116
75942
  message: string;
@@ -76688,7 +76514,7 @@ interface Routes {
76688
76514
  /** Unique identifier for the Seam workspace associated with the device. */
76689
76515
  workspace_id: string;
76690
76516
  /** 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<({
76517
+ errors: Array<{
76692
76518
  message: string;
76693
76519
  is_device_error: true;
76694
76520
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -76698,11 +76524,6 @@ interface Routes {
76698
76524
  is_device_error: true;
76699
76525
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76700
76526
  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
76527
  } | {
76707
76528
  message: string;
76708
76529
  is_device_error: true;
@@ -76753,17 +76574,17 @@ interface Routes {
76753
76574
  is_device_error: true;
76754
76575
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76755
76576
  error_code: 'subscription_required';
76756
- }) | ({
76577
+ } | {
76757
76578
  message: string;
76758
76579
  is_connected_account_error: true;
76759
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76580
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76760
76581
  error_code: 'account_disconnected';
76761
76582
  } | {
76762
76583
  message: string;
76763
76584
  is_connected_account_error: true;
76764
- /** Unique identifier of the type of warning. Enables quick recognition and categorization of the issue. */
76585
+ /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76765
76586
  error_code: 'invalid_credentials';
76766
- })>;
76587
+ }>;
76767
76588
  /** 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
76589
  warnings: Array<{
76769
76590
  message: string;