@seamapi/types 1.344.0 → 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 +1833 -2018
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +496 -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 +294 -223
  29. package/lib/seam/connect/openapi.js +1756 -1951
  30. package/lib/seam/connect/openapi.js.map +1 -1
  31. package/lib/seam/connect/route-types.d.ts +164 -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 +1649 -1840
  40. package/src/lib/seam/connect/route-types.ts +3235 -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: {
@@ -37700,6 +37651,7 @@ declare const _default: {
37700
37651
  };
37701
37652
  '/thermostats/simulate/hvac_mode_adjusted': {
37702
37653
  post: {
37654
+ description: string;
37703
37655
  operationId: string;
37704
37656
  requestBody: {
37705
37657
  content: {
@@ -37711,10 +37663,12 @@ declare const _default: {
37711
37663
  oneOf: ({
37712
37664
  properties: {
37713
37665
  device_id: {
37666
+ description: string;
37714
37667
  format: string;
37715
37668
  type: string;
37716
37669
  };
37717
37670
  hvac_mode: {
37671
+ description: string;
37718
37672
  enum: string[];
37719
37673
  type: string;
37720
37674
  };
@@ -37728,18 +37682,22 @@ declare const _default: {
37728
37682
  } | {
37729
37683
  properties: {
37730
37684
  cooling_set_point_celsius: {
37685
+ description: string;
37731
37686
  format: string;
37732
37687
  type: string;
37733
37688
  };
37734
37689
  cooling_set_point_fahrenheit: {
37690
+ description: string;
37735
37691
  format: string;
37736
37692
  type: string;
37737
37693
  };
37738
37694
  device_id: {
37695
+ description: string;
37739
37696
  format: string;
37740
37697
  type: string;
37741
37698
  };
37742
37699
  hvac_mode: {
37700
+ description: string;
37743
37701
  enum: string[];
37744
37702
  type: string;
37745
37703
  };
@@ -37751,18 +37709,22 @@ declare const _default: {
37751
37709
  } | {
37752
37710
  properties: {
37753
37711
  device_id: {
37712
+ description: string;
37754
37713
  format: string;
37755
37714
  type: string;
37756
37715
  };
37757
37716
  heating_set_point_celsius: {
37717
+ description: string;
37758
37718
  format: string;
37759
37719
  type: string;
37760
37720
  };
37761
37721
  heating_set_point_fahrenheit: {
37722
+ description: string;
37762
37723
  format: string;
37763
37724
  type: string;
37764
37725
  };
37765
37726
  hvac_mode: {
37727
+ description: string;
37766
37728
  enum: string[];
37767
37729
  type: string;
37768
37730
  };
@@ -37774,26 +37736,32 @@ declare const _default: {
37774
37736
  } | {
37775
37737
  properties: {
37776
37738
  cooling_set_point_celsius: {
37739
+ description: string;
37777
37740
  format: string;
37778
37741
  type: string;
37779
37742
  };
37780
37743
  cooling_set_point_fahrenheit: {
37744
+ description: string;
37781
37745
  format: string;
37782
37746
  type: string;
37783
37747
  };
37784
37748
  device_id: {
37749
+ description: string;
37785
37750
  format: string;
37786
37751
  type: string;
37787
37752
  };
37788
37753
  heating_set_point_celsius: {
37754
+ description: string;
37789
37755
  format: string;
37790
37756
  type: string;
37791
37757
  };
37792
37758
  heating_set_point_fahrenheit: {
37759
+ description: string;
37793
37760
  format: string;
37794
37761
  type: string;
37795
37762
  };
37796
37763
  hvac_mode: {
37764
+ description: string;
37797
37765
  enum: string[];
37798
37766
  type: string;
37799
37767
  };
@@ -37847,10 +37815,12 @@ declare const _default: {
37847
37815
  'x-fern-sdk-group-name': string[];
37848
37816
  'x-fern-sdk-method-name': string;
37849
37817
  'x-response-key': null;
37818
+ 'x-title': string;
37850
37819
  };
37851
37820
  };
37852
37821
  '/thermostats/simulate/temperature_reached': {
37853
37822
  post: {
37823
+ description: string;
37854
37824
  operationId: string;
37855
37825
  requestBody: {
37856
37826
  content: {
@@ -37858,14 +37828,17 @@ declare const _default: {
37858
37828
  schema: {
37859
37829
  properties: {
37860
37830
  device_id: {
37831
+ description: string;
37861
37832
  format: string;
37862
37833
  type: string;
37863
37834
  };
37864
37835
  temperature_celsius: {
37836
+ description: string;
37865
37837
  format: string;
37866
37838
  type: string;
37867
37839
  };
37868
37840
  temperature_fahrenheit: {
37841
+ description: string;
37869
37842
  format: string;
37870
37843
  type: string;
37871
37844
  };
@@ -37918,6 +37891,7 @@ declare const _default: {
37918
37891
  'x-fern-sdk-group-name': string[];
37919
37892
  'x-fern-sdk-method-name': string;
37920
37893
  'x-response-key': null;
37894
+ 'x-title': string;
37921
37895
  };
37922
37896
  };
37923
37897
  '/thermostats/update_climate_preset': {
@@ -41393,7 +41367,7 @@ interface Routes {
41393
41367
  /** Date and time at which the access code was created. */
41394
41368
  created_at: string;
41395
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. */
41396
- errors: Array<({
41370
+ errors: Array<{
41397
41371
  message: string;
41398
41372
  is_access_code_error: true;
41399
41373
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41488,7 +41462,7 @@ interface Routes {
41488
41462
  is_access_code_error: true;
41489
41463
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41490
41464
  error_code: 'hubitat_no_free_positions_available';
41491
- }) | ({
41465
+ } | {
41492
41466
  message: string;
41493
41467
  is_device_error: true;
41494
41468
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41498,11 +41472,6 @@ interface Routes {
41498
41472
  is_device_error: true;
41499
41473
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41500
41474
  error_code: 'device_removed';
41501
- } | {
41502
- message: string;
41503
- is_device_error: true;
41504
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41505
- error_code: 'account_disconnected';
41506
41475
  } | {
41507
41476
  message: string;
41508
41477
  is_device_error: true;
@@ -41553,17 +41522,17 @@ interface Routes {
41553
41522
  is_device_error: true;
41554
41523
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41555
41524
  error_code: 'subscription_required';
41556
- }) | ({
41525
+ } | {
41557
41526
  message: string;
41558
41527
  is_connected_account_error: true;
41559
- /** 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. */
41560
41529
  error_code: 'account_disconnected';
41561
41530
  } | {
41562
41531
  message: string;
41563
41532
  is_connected_account_error: true;
41564
- /** 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. */
41565
41534
  error_code: 'invalid_credentials';
41566
- })>;
41535
+ }>;
41567
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. */
41568
41537
  warnings: Array<{
41569
41538
  message: string;
@@ -41676,7 +41645,7 @@ interface Routes {
41676
41645
  /** Date and time at which the access code was created. */
41677
41646
  created_at: string;
41678
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. */
41679
- errors: Array<({
41648
+ errors: Array<{
41680
41649
  message: string;
41681
41650
  is_access_code_error: true;
41682
41651
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41771,7 +41740,7 @@ interface Routes {
41771
41740
  is_access_code_error: true;
41772
41741
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41773
41742
  error_code: 'hubitat_no_free_positions_available';
41774
- }) | ({
41743
+ } | {
41775
41744
  message: string;
41776
41745
  is_device_error: true;
41777
41746
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -41781,11 +41750,6 @@ interface Routes {
41781
41750
  is_device_error: true;
41782
41751
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41783
41752
  error_code: 'device_removed';
41784
- } | {
41785
- message: string;
41786
- is_device_error: true;
41787
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41788
- error_code: 'account_disconnected';
41789
41753
  } | {
41790
41754
  message: string;
41791
41755
  is_device_error: true;
@@ -41836,17 +41800,17 @@ interface Routes {
41836
41800
  is_device_error: true;
41837
41801
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
41838
41802
  error_code: 'subscription_required';
41839
- }) | ({
41803
+ } | {
41840
41804
  message: string;
41841
41805
  is_connected_account_error: true;
41842
- /** 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. */
41843
41807
  error_code: 'account_disconnected';
41844
41808
  } | {
41845
41809
  message: string;
41846
41810
  is_connected_account_error: true;
41847
- /** 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. */
41848
41812
  error_code: 'invalid_credentials';
41849
- })>;
41813
+ }>;
41850
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. */
41851
41815
  warnings: Array<{
41852
41816
  message: string;
@@ -42832,7 +42796,7 @@ interface Routes {
42832
42796
  /** Date and time at which the access code was created. */
42833
42797
  created_at: string;
42834
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. */
42835
- errors: Array<({
42799
+ errors: Array<{
42836
42800
  message: string;
42837
42801
  is_access_code_error: true;
42838
42802
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -42927,7 +42891,7 @@ interface Routes {
42927
42891
  is_access_code_error: true;
42928
42892
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42929
42893
  error_code: 'hubitat_no_free_positions_available';
42930
- }) | ({
42894
+ } | {
42931
42895
  message: string;
42932
42896
  is_device_error: true;
42933
42897
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -42937,11 +42901,6 @@ interface Routes {
42937
42901
  is_device_error: true;
42938
42902
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42939
42903
  error_code: 'device_removed';
42940
- } | {
42941
- message: string;
42942
- is_device_error: true;
42943
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42944
- error_code: 'account_disconnected';
42945
42904
  } | {
42946
42905
  message: string;
42947
42906
  is_device_error: true;
@@ -42992,17 +42951,17 @@ interface Routes {
42992
42951
  is_device_error: true;
42993
42952
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
42994
42953
  error_code: 'subscription_required';
42995
- }) | ({
42954
+ } | {
42996
42955
  message: string;
42997
42956
  is_connected_account_error: true;
42998
- /** 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. */
42999
42958
  error_code: 'account_disconnected';
43000
42959
  } | {
43001
42960
  message: string;
43002
42961
  is_connected_account_error: true;
43003
- /** 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. */
43004
42963
  error_code: 'invalid_credentials';
43005
- })>;
42964
+ }>;
43006
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. */
43007
42966
  warnings: Array<{
43008
42967
  message: string;
@@ -43102,7 +43061,7 @@ interface Routes {
43102
43061
  /** Date and time at which the access code was created. */
43103
43062
  created_at: string;
43104
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. */
43105
- errors: Array<({
43064
+ errors: Array<{
43106
43065
  message: string;
43107
43066
  is_access_code_error: true;
43108
43067
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43197,7 +43156,7 @@ interface Routes {
43197
43156
  is_access_code_error: true;
43198
43157
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43199
43158
  error_code: 'hubitat_no_free_positions_available';
43200
- }) | ({
43159
+ } | {
43201
43160
  message: string;
43202
43161
  is_device_error: true;
43203
43162
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43207,11 +43166,6 @@ interface Routes {
43207
43166
  is_device_error: true;
43208
43167
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43209
43168
  error_code: 'device_removed';
43210
- } | {
43211
- message: string;
43212
- is_device_error: true;
43213
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43214
- error_code: 'account_disconnected';
43215
43169
  } | {
43216
43170
  message: string;
43217
43171
  is_device_error: true;
@@ -43262,17 +43216,17 @@ interface Routes {
43262
43216
  is_device_error: true;
43263
43217
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43264
43218
  error_code: 'subscription_required';
43265
- }) | ({
43219
+ } | {
43266
43220
  message: string;
43267
43221
  is_connected_account_error: true;
43268
- /** 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. */
43269
43223
  error_code: 'account_disconnected';
43270
43224
  } | {
43271
43225
  message: string;
43272
43226
  is_connected_account_error: true;
43273
- /** 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. */
43274
43228
  error_code: 'invalid_credentials';
43275
- })>;
43229
+ }>;
43276
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. */
43277
43231
  warnings: Array<{
43278
43232
  message: string;
@@ -43371,7 +43325,7 @@ interface Routes {
43371
43325
  /** Date and time at which the access code was created. */
43372
43326
  created_at: string;
43373
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. */
43374
- errors: Array<({
43328
+ errors: Array<{
43375
43329
  message: string;
43376
43330
  is_access_code_error: true;
43377
43331
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43466,7 +43420,7 @@ interface Routes {
43466
43420
  is_access_code_error: true;
43467
43421
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43468
43422
  error_code: 'hubitat_no_free_positions_available';
43469
- }) | ({
43423
+ } | {
43470
43424
  message: string;
43471
43425
  is_device_error: true;
43472
43426
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43476,11 +43430,6 @@ interface Routes {
43476
43430
  is_device_error: true;
43477
43431
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43478
43432
  error_code: 'device_removed';
43479
- } | {
43480
- message: string;
43481
- is_device_error: true;
43482
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43483
- error_code: 'account_disconnected';
43484
43433
  } | {
43485
43434
  message: string;
43486
43435
  is_device_error: true;
@@ -43531,17 +43480,17 @@ interface Routes {
43531
43480
  is_device_error: true;
43532
43481
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43533
43482
  error_code: 'subscription_required';
43534
- }) | ({
43483
+ } | {
43535
43484
  message: string;
43536
43485
  is_connected_account_error: true;
43537
- /** 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. */
43538
43487
  error_code: 'account_disconnected';
43539
43488
  } | {
43540
43489
  message: string;
43541
43490
  is_connected_account_error: true;
43542
- /** 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. */
43543
43492
  error_code: 'invalid_credentials';
43544
- })>;
43493
+ }>;
43545
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. */
43546
43495
  warnings: Array<{
43547
43496
  message: string;
@@ -43628,7 +43577,7 @@ interface Routes {
43628
43577
  /** Date and time at which the access code was created. */
43629
43578
  created_at: string;
43630
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. */
43631
- errors: Array<({
43580
+ errors: Array<{
43632
43581
  message: string;
43633
43582
  is_access_code_error: true;
43634
43583
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43723,7 +43672,7 @@ interface Routes {
43723
43672
  is_access_code_error: true;
43724
43673
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43725
43674
  error_code: 'hubitat_no_free_positions_available';
43726
- }) | ({
43675
+ } | {
43727
43676
  message: string;
43728
43677
  is_device_error: true;
43729
43678
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43733,11 +43682,6 @@ interface Routes {
43733
43682
  is_device_error: true;
43734
43683
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43735
43684
  error_code: 'device_removed';
43736
- } | {
43737
- message: string;
43738
- is_device_error: true;
43739
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43740
- error_code: 'account_disconnected';
43741
43685
  } | {
43742
43686
  message: string;
43743
43687
  is_device_error: true;
@@ -43788,17 +43732,17 @@ interface Routes {
43788
43732
  is_device_error: true;
43789
43733
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43790
43734
  error_code: 'subscription_required';
43791
- }) | ({
43735
+ } | {
43792
43736
  message: string;
43793
43737
  is_connected_account_error: true;
43794
- /** 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. */
43795
43739
  error_code: 'account_disconnected';
43796
43740
  } | {
43797
43741
  message: string;
43798
43742
  is_connected_account_error: true;
43799
- /** 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. */
43800
43744
  error_code: 'invalid_credentials';
43801
- })>;
43745
+ }>;
43802
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. */
43803
43747
  warnings: Array<{
43804
43748
  message: string;
@@ -43893,7 +43837,7 @@ interface Routes {
43893
43837
  /** Date and time at which the access code was created. */
43894
43838
  created_at: string;
43895
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. */
43896
- errors: Array<({
43840
+ errors: Array<{
43897
43841
  message: string;
43898
43842
  is_access_code_error: true;
43899
43843
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43988,7 +43932,7 @@ interface Routes {
43988
43932
  is_access_code_error: true;
43989
43933
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
43990
43934
  error_code: 'hubitat_no_free_positions_available';
43991
- }) | ({
43935
+ } | {
43992
43936
  message: string;
43993
43937
  is_device_error: true;
43994
43938
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -43998,11 +43942,6 @@ interface Routes {
43998
43942
  is_device_error: true;
43999
43943
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44000
43944
  error_code: 'device_removed';
44001
- } | {
44002
- message: string;
44003
- is_device_error: true;
44004
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44005
- error_code: 'account_disconnected';
44006
43945
  } | {
44007
43946
  message: string;
44008
43947
  is_device_error: true;
@@ -44053,17 +43992,17 @@ interface Routes {
44053
43992
  is_device_error: true;
44054
43993
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
44055
43994
  error_code: 'subscription_required';
44056
- }) | ({
43995
+ } | {
44057
43996
  message: string;
44058
43997
  is_connected_account_error: true;
44059
- /** 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. */
44060
43999
  error_code: 'account_disconnected';
44061
44000
  } | {
44062
44001
  message: string;
44063
44002
  is_connected_account_error: true;
44064
- /** 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. */
44065
44004
  error_code: 'invalid_credentials';
44066
- })>;
44005
+ }>;
44067
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. */
44068
44007
  warnings: Array<{
44069
44008
  message: string;
@@ -45025,7 +44964,7 @@ interface Routes {
45025
44964
  /** Date and time at which the access code was created. */
45026
44965
  created_at: string;
45027
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. */
45028
- errors: Array<({
44967
+ errors: Array<{
45029
44968
  message: string;
45030
44969
  is_access_code_error: true;
45031
44970
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45120,7 +45059,7 @@ interface Routes {
45120
45059
  is_access_code_error: true;
45121
45060
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45122
45061
  error_code: 'hubitat_no_free_positions_available';
45123
- }) | ({
45062
+ } | {
45124
45063
  message: string;
45125
45064
  is_device_error: true;
45126
45065
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45130,11 +45069,6 @@ interface Routes {
45130
45069
  is_device_error: true;
45131
45070
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45132
45071
  error_code: 'device_removed';
45133
- } | {
45134
- message: string;
45135
- is_device_error: true;
45136
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45137
- error_code: 'account_disconnected';
45138
45072
  } | {
45139
45073
  message: string;
45140
45074
  is_device_error: true;
@@ -45185,17 +45119,17 @@ interface Routes {
45185
45119
  is_device_error: true;
45186
45120
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45187
45121
  error_code: 'subscription_required';
45188
- }) | ({
45122
+ } | {
45189
45123
  message: string;
45190
45124
  is_connected_account_error: true;
45191
- /** 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. */
45192
45126
  error_code: 'account_disconnected';
45193
45127
  } | {
45194
45128
  message: string;
45195
45129
  is_connected_account_error: true;
45196
- /** 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. */
45197
45131
  error_code: 'invalid_credentials';
45198
- })>;
45132
+ }>;
45199
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. */
45200
45134
  warnings: Array<{
45201
45135
  message: string;
@@ -45272,7 +45206,7 @@ interface Routes {
45272
45206
  /** Date and time at which the access code was created. */
45273
45207
  created_at: string;
45274
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. */
45275
- errors: Array<({
45209
+ errors: Array<{
45276
45210
  message: string;
45277
45211
  is_access_code_error: true;
45278
45212
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45367,7 +45301,7 @@ interface Routes {
45367
45301
  is_access_code_error: true;
45368
45302
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45369
45303
  error_code: 'hubitat_no_free_positions_available';
45370
- }) | ({
45304
+ } | {
45371
45305
  message: string;
45372
45306
  is_device_error: true;
45373
45307
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -45377,11 +45311,6 @@ interface Routes {
45377
45311
  is_device_error: true;
45378
45312
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45379
45313
  error_code: 'device_removed';
45380
- } | {
45381
- message: string;
45382
- is_device_error: true;
45383
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45384
- error_code: 'account_disconnected';
45385
45314
  } | {
45386
45315
  message: string;
45387
45316
  is_device_error: true;
@@ -45432,17 +45361,17 @@ interface Routes {
45432
45361
  is_device_error: true;
45433
45362
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
45434
45363
  error_code: 'subscription_required';
45435
- }) | ({
45364
+ } | {
45436
45365
  message: string;
45437
45366
  is_connected_account_error: true;
45438
- /** 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. */
45439
45368
  error_code: 'account_disconnected';
45440
45369
  } | {
45441
45370
  message: string;
45442
45371
  is_connected_account_error: true;
45443
- /** 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. */
45444
45373
  error_code: 'invalid_credentials';
45445
- })>;
45374
+ }>;
45446
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. */
45447
45376
  warnings: Array<{
45448
45377
  message: string;
@@ -53429,12 +53358,12 @@ interface Routes {
53429
53358
  errors: Array<{
53430
53359
  message: string;
53431
53360
  is_connected_account_error: true;
53432
- /** 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. */
53433
53362
  error_code: 'account_disconnected';
53434
53363
  } | {
53435
53364
  message: string;
53436
53365
  is_connected_account_error: true;
53437
- /** 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. */
53438
53367
  error_code: 'invalid_credentials';
53439
53368
  }>;
53440
53369
  warnings: Array<{
@@ -53479,12 +53408,12 @@ interface Routes {
53479
53408
  errors: Array<{
53480
53409
  message: string;
53481
53410
  is_connected_account_error: true;
53482
- /** 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. */
53483
53412
  error_code: 'account_disconnected';
53484
53413
  } | {
53485
53414
  message: string;
53486
53415
  is_connected_account_error: true;
53487
- /** 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. */
53488
53417
  error_code: 'invalid_credentials';
53489
53418
  }>;
53490
53419
  warnings: Array<{
@@ -53529,12 +53458,12 @@ interface Routes {
53529
53458
  errors: Array<{
53530
53459
  message: string;
53531
53460
  is_connected_account_error: true;
53532
- /** 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. */
53533
53462
  error_code: 'account_disconnected';
53534
53463
  } | {
53535
53464
  message: string;
53536
53465
  is_connected_account_error: true;
53537
- /** 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. */
53538
53467
  error_code: 'invalid_credentials';
53539
53468
  }>;
53540
53469
  warnings: Array<{
@@ -54066,7 +53995,7 @@ interface Routes {
54066
53995
  /** Unique identifier for the Seam workspace associated with the device. */
54067
53996
  workspace_id: string;
54068
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. */
54069
- errors: Array<({
53998
+ errors: Array<{
54070
53999
  message: string;
54071
54000
  is_device_error: true;
54072
54001
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -54076,11 +54005,6 @@ interface Routes {
54076
54005
  is_device_error: true;
54077
54006
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54078
54007
  error_code: 'device_removed';
54079
- } | {
54080
- message: string;
54081
- is_device_error: true;
54082
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54083
- error_code: 'account_disconnected';
54084
54008
  } | {
54085
54009
  message: string;
54086
54010
  is_device_error: true;
@@ -54131,17 +54055,17 @@ interface Routes {
54131
54055
  is_device_error: true;
54132
54056
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54133
54057
  error_code: 'subscription_required';
54134
- }) | ({
54058
+ } | {
54135
54059
  message: string;
54136
54060
  is_connected_account_error: true;
54137
- /** 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. */
54138
54062
  error_code: 'account_disconnected';
54139
54063
  } | {
54140
54064
  message: string;
54141
54065
  is_connected_account_error: true;
54142
- /** 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. */
54143
54067
  error_code: 'invalid_credentials';
54144
- })>;
54068
+ }>;
54145
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. */
54146
54070
  warnings: Array<{
54147
54071
  message: string;
@@ -54754,7 +54678,7 @@ interface Routes {
54754
54678
  /** Unique identifier for the Seam workspace associated with the device. */
54755
54679
  workspace_id: string;
54756
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. */
54757
- errors: Array<({
54681
+ errors: Array<{
54758
54682
  message: string;
54759
54683
  is_device_error: true;
54760
54684
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -54764,11 +54688,6 @@ interface Routes {
54764
54688
  is_device_error: true;
54765
54689
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54766
54690
  error_code: 'device_removed';
54767
- } | {
54768
- message: string;
54769
- is_device_error: true;
54770
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54771
- error_code: 'account_disconnected';
54772
54691
  } | {
54773
54692
  message: string;
54774
54693
  is_device_error: true;
@@ -54819,17 +54738,17 @@ interface Routes {
54819
54738
  is_device_error: true;
54820
54739
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
54821
54740
  error_code: 'subscription_required';
54822
- }) | ({
54741
+ } | {
54823
54742
  message: string;
54824
54743
  is_connected_account_error: true;
54825
- /** 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. */
54826
54745
  error_code: 'account_disconnected';
54827
54746
  } | {
54828
54747
  message: string;
54829
54748
  is_connected_account_error: true;
54830
- /** 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. */
54831
54750
  error_code: 'invalid_credentials';
54832
- })>;
54751
+ }>;
54833
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. */
54834
54753
  warnings: Array<{
54835
54754
  message: string;
@@ -55008,7 +54927,7 @@ interface Routes {
55008
54927
  /** Unique identifier for the Seam workspace associated with the device. */
55009
54928
  workspace_id: string;
55010
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. */
55011
- errors: Array<({
54930
+ errors: Array<{
55012
54931
  message: string;
55013
54932
  is_device_error: true;
55014
54933
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -55018,11 +54937,6 @@ interface Routes {
55018
54937
  is_device_error: true;
55019
54938
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55020
54939
  error_code: 'device_removed';
55021
- } | {
55022
- message: string;
55023
- is_device_error: true;
55024
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55025
- error_code: 'account_disconnected';
55026
54940
  } | {
55027
54941
  message: string;
55028
54942
  is_device_error: true;
@@ -55073,17 +54987,17 @@ interface Routes {
55073
54987
  is_device_error: true;
55074
54988
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55075
54989
  error_code: 'subscription_required';
55076
- }) | ({
54990
+ } | {
55077
54991
  message: string;
55078
54992
  is_connected_account_error: true;
55079
- /** 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. */
55080
54994
  error_code: 'account_disconnected';
55081
54995
  } | {
55082
54996
  message: string;
55083
54997
  is_connected_account_error: true;
55084
- /** 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. */
55085
54999
  error_code: 'invalid_credentials';
55086
- })>;
55000
+ }>;
55087
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. */
55088
55002
  warnings: Array<{
55089
55003
  message: string;
@@ -55271,7 +55185,7 @@ interface Routes {
55271
55185
  /** Unique identifier for the Seam workspace associated with the device. */
55272
55186
  workspace_id: string;
55273
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. */
55274
- errors: Array<({
55188
+ errors: Array<{
55275
55189
  message: string;
55276
55190
  is_device_error: true;
55277
55191
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -55281,11 +55195,6 @@ interface Routes {
55281
55195
  is_device_error: true;
55282
55196
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55283
55197
  error_code: 'device_removed';
55284
- } | {
55285
- message: string;
55286
- is_device_error: true;
55287
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55288
- error_code: 'account_disconnected';
55289
55198
  } | {
55290
55199
  message: string;
55291
55200
  is_device_error: true;
@@ -55336,17 +55245,17 @@ interface Routes {
55336
55245
  is_device_error: true;
55337
55246
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
55338
55247
  error_code: 'subscription_required';
55339
- }) | ({
55248
+ } | {
55340
55249
  message: string;
55341
55250
  is_connected_account_error: true;
55342
- /** 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. */
55343
55252
  error_code: 'account_disconnected';
55344
55253
  } | {
55345
55254
  message: string;
55346
55255
  is_connected_account_error: true;
55347
- /** 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. */
55348
55257
  error_code: 'invalid_credentials';
55349
- })>;
55258
+ }>;
55350
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. */
55351
55260
  warnings: Array<{
55352
55261
  message: string;
@@ -58424,7 +58333,7 @@ interface Routes {
58424
58333
  /** Unique identifier for the Seam workspace associated with the device. */
58425
58334
  workspace_id: string;
58426
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. */
58427
- errors: Array<({
58336
+ errors: Array<{
58428
58337
  message: string;
58429
58338
  is_device_error: true;
58430
58339
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -58434,11 +58343,6 @@ interface Routes {
58434
58343
  is_device_error: true;
58435
58344
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58436
58345
  error_code: 'device_removed';
58437
- } | {
58438
- message: string;
58439
- is_device_error: true;
58440
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58441
- error_code: 'account_disconnected';
58442
58346
  } | {
58443
58347
  message: string;
58444
58348
  is_device_error: true;
@@ -58489,17 +58393,17 @@ interface Routes {
58489
58393
  is_device_error: true;
58490
58394
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
58491
58395
  error_code: 'subscription_required';
58492
- }) | ({
58396
+ } | {
58493
58397
  message: string;
58494
58398
  is_connected_account_error: true;
58495
- /** 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. */
58496
58400
  error_code: 'account_disconnected';
58497
58401
  } | {
58498
58402
  message: string;
58499
58403
  is_connected_account_error: true;
58500
- /** 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. */
58501
58405
  error_code: 'invalid_credentials';
58502
- })>;
58406
+ }>;
58503
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. */
58504
58408
  warnings: Array<{
58505
58409
  message: string;
@@ -59076,7 +58980,7 @@ interface Routes {
59076
58980
  /** Unique identifier for the Seam workspace associated with the device. */
59077
58981
  workspace_id: string;
59078
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. */
59079
- errors: Array<({
58983
+ errors: Array<{
59080
58984
  message: string;
59081
58985
  is_device_error: true;
59082
58986
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -59086,11 +58990,6 @@ interface Routes {
59086
58990
  is_device_error: true;
59087
58991
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59088
58992
  error_code: 'device_removed';
59089
- } | {
59090
- message: string;
59091
- is_device_error: true;
59092
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59093
- error_code: 'account_disconnected';
59094
58993
  } | {
59095
58994
  message: string;
59096
58995
  is_device_error: true;
@@ -59141,17 +59040,17 @@ interface Routes {
59141
59040
  is_device_error: true;
59142
59041
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59143
59042
  error_code: 'subscription_required';
59144
- }) | ({
59043
+ } | {
59145
59044
  message: string;
59146
59045
  is_connected_account_error: true;
59147
- /** 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. */
59148
59047
  error_code: 'account_disconnected';
59149
59048
  } | {
59150
59049
  message: string;
59151
59050
  is_connected_account_error: true;
59152
- /** 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. */
59153
59052
  error_code: 'invalid_credentials';
59154
- })>;
59053
+ }>;
59155
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. */
59156
59055
  warnings: Array<{
59157
59056
  message: string;
@@ -59764,7 +59663,7 @@ interface Routes {
59764
59663
  /** Unique identifier for the Seam workspace associated with the device. */
59765
59664
  workspace_id: string;
59766
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. */
59767
- errors: Array<({
59666
+ errors: Array<{
59768
59667
  message: string;
59769
59668
  is_device_error: true;
59770
59669
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -59774,11 +59673,6 @@ interface Routes {
59774
59673
  is_device_error: true;
59775
59674
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59776
59675
  error_code: 'device_removed';
59777
- } | {
59778
- message: string;
59779
- is_device_error: true;
59780
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59781
- error_code: 'account_disconnected';
59782
59676
  } | {
59783
59677
  message: string;
59784
59678
  is_device_error: true;
@@ -59829,17 +59723,17 @@ interface Routes {
59829
59723
  is_device_error: true;
59830
59724
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
59831
59725
  error_code: 'subscription_required';
59832
- }) | ({
59726
+ } | {
59833
59727
  message: string;
59834
59728
  is_connected_account_error: true;
59835
- /** 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. */
59836
59730
  error_code: 'account_disconnected';
59837
59731
  } | {
59838
59732
  message: string;
59839
59733
  is_connected_account_error: true;
59840
- /** 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. */
59841
59735
  error_code: 'invalid_credentials';
59842
- })>;
59736
+ }>;
59843
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. */
59844
59738
  warnings: Array<{
59845
59739
  message: string;
@@ -60415,7 +60309,7 @@ interface Routes {
60415
60309
  /** Unique identifier for the Seam workspace associated with the device. */
60416
60310
  workspace_id: string;
60417
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. */
60418
- errors: Array<({
60312
+ errors: Array<{
60419
60313
  message: string;
60420
60314
  is_device_error: true;
60421
60315
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -60425,11 +60319,6 @@ interface Routes {
60425
60319
  is_device_error: true;
60426
60320
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60427
60321
  error_code: 'device_removed';
60428
- } | {
60429
- message: string;
60430
- is_device_error: true;
60431
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60432
- error_code: 'account_disconnected';
60433
60322
  } | {
60434
60323
  message: string;
60435
60324
  is_device_error: true;
@@ -60480,17 +60369,17 @@ interface Routes {
60480
60369
  is_device_error: true;
60481
60370
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
60482
60371
  error_code: 'subscription_required';
60483
- }) | ({
60372
+ } | {
60484
60373
  message: string;
60485
60374
  is_connected_account_error: true;
60486
- /** 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. */
60487
60376
  error_code: 'account_disconnected';
60488
60377
  } | {
60489
60378
  message: string;
60490
60379
  is_connected_account_error: true;
60491
- /** 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. */
60492
60381
  error_code: 'invalid_credentials';
60493
- })>;
60382
+ }>;
60494
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. */
60495
60384
  warnings: Array<{
60496
60385
  message: string;
@@ -62874,7 +62763,7 @@ interface Routes {
62874
62763
  /** Unique identifier for the Seam workspace associated with the device. */
62875
62764
  workspace_id: string;
62876
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. */
62877
- errors: Array<({
62766
+ errors: Array<{
62878
62767
  message: string;
62879
62768
  is_device_error: true;
62880
62769
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -62884,11 +62773,6 @@ interface Routes {
62884
62773
  is_device_error: true;
62885
62774
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62886
62775
  error_code: 'device_removed';
62887
- } | {
62888
- message: string;
62889
- is_device_error: true;
62890
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62891
- error_code: 'account_disconnected';
62892
62776
  } | {
62893
62777
  message: string;
62894
62778
  is_device_error: true;
@@ -62939,17 +62823,17 @@ interface Routes {
62939
62823
  is_device_error: true;
62940
62824
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
62941
62825
  error_code: 'subscription_required';
62942
- }) | ({
62826
+ } | {
62943
62827
  message: string;
62944
62828
  is_connected_account_error: true;
62945
- /** 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. */
62946
62830
  error_code: 'account_disconnected';
62947
62831
  } | {
62948
62832
  message: string;
62949
62833
  is_connected_account_error: true;
62950
- /** 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. */
62951
62835
  error_code: 'invalid_credentials';
62952
- })>;
62836
+ }>;
62953
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. */
62954
62838
  warnings: Array<{
62955
62839
  message: string;
@@ -63525,7 +63409,7 @@ interface Routes {
63525
63409
  /** Unique identifier for the Seam workspace associated with the device. */
63526
63410
  workspace_id: string;
63527
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. */
63528
- errors: Array<({
63412
+ errors: Array<{
63529
63413
  message: string;
63530
63414
  is_device_error: true;
63531
63415
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -63535,11 +63419,6 @@ interface Routes {
63535
63419
  is_device_error: true;
63536
63420
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63537
63421
  error_code: 'device_removed';
63538
- } | {
63539
- message: string;
63540
- is_device_error: true;
63541
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63542
- error_code: 'account_disconnected';
63543
63422
  } | {
63544
63423
  message: string;
63545
63424
  is_device_error: true;
@@ -63590,17 +63469,17 @@ interface Routes {
63590
63469
  is_device_error: true;
63591
63470
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
63592
63471
  error_code: 'subscription_required';
63593
- }) | ({
63472
+ } | {
63594
63473
  message: string;
63595
63474
  is_connected_account_error: true;
63596
- /** 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. */
63597
63476
  error_code: 'account_disconnected';
63598
63477
  } | {
63599
63478
  message: string;
63600
63479
  is_connected_account_error: true;
63601
- /** 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. */
63602
63481
  error_code: 'invalid_credentials';
63603
- })>;
63482
+ }>;
63604
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. */
63605
63484
  warnings: Array<{
63606
63485
  message: string;
@@ -66421,7 +66300,7 @@ interface Routes {
66421
66300
  /** Unique identifier for the Seam workspace associated with the device. */
66422
66301
  workspace_id: string;
66423
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. */
66424
- errors: Array<({
66303
+ errors: Array<{
66425
66304
  message: string;
66426
66305
  is_device_error: true;
66427
66306
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -66431,11 +66310,6 @@ interface Routes {
66431
66310
  is_device_error: true;
66432
66311
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66433
66312
  error_code: 'device_removed';
66434
- } | {
66435
- message: string;
66436
- is_device_error: true;
66437
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66438
- error_code: 'account_disconnected';
66439
66313
  } | {
66440
66314
  message: string;
66441
66315
  is_device_error: true;
@@ -66486,17 +66360,17 @@ interface Routes {
66486
66360
  is_device_error: true;
66487
66361
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66488
66362
  error_code: 'subscription_required';
66489
- }) | ({
66363
+ } | {
66490
66364
  message: string;
66491
66365
  is_connected_account_error: true;
66492
- /** 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. */
66493
66367
  error_code: 'account_disconnected';
66494
66368
  } | {
66495
66369
  message: string;
66496
66370
  is_connected_account_error: true;
66497
- /** 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. */
66498
66372
  error_code: 'invalid_credentials';
66499
- })>;
66373
+ }>;
66500
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. */
66501
66375
  warnings: Array<{
66502
66376
  message: string;
@@ -66640,7 +66514,7 @@ interface Routes {
66640
66514
  /** Unique identifier for the Seam workspace associated with the device. */
66641
66515
  workspace_id: string;
66642
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. */
66643
- errors: Array<({
66517
+ errors: Array<{
66644
66518
  message: string;
66645
66519
  is_device_error: true;
66646
66520
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -66650,11 +66524,6 @@ interface Routes {
66650
66524
  is_device_error: true;
66651
66525
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66652
66526
  error_code: 'device_removed';
66653
- } | {
66654
- message: string;
66655
- is_device_error: true;
66656
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66657
- error_code: 'account_disconnected';
66658
66527
  } | {
66659
66528
  message: string;
66660
66529
  is_device_error: true;
@@ -66705,17 +66574,17 @@ interface Routes {
66705
66574
  is_device_error: true;
66706
66575
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
66707
66576
  error_code: 'subscription_required';
66708
- }) | ({
66577
+ } | {
66709
66578
  message: string;
66710
66579
  is_connected_account_error: true;
66711
- /** 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. */
66712
66581
  error_code: 'account_disconnected';
66713
66582
  } | {
66714
66583
  message: string;
66715
66584
  is_connected_account_error: true;
66716
- /** 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. */
66717
66586
  error_code: 'invalid_credentials';
66718
- })>;
66587
+ }>;
66719
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. */
66720
66589
  warnings: Array<{
66721
66590
  message: string;
@@ -69096,7 +68965,7 @@ interface Routes {
69096
68965
  /** Unique identifier for the Seam workspace associated with the device. */
69097
68966
  workspace_id: string;
69098
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. */
69099
- errors: Array<({
68968
+ errors: Array<{
69100
68969
  message: string;
69101
68970
  is_device_error: true;
69102
68971
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -69106,11 +68975,6 @@ interface Routes {
69106
68975
  is_device_error: true;
69107
68976
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69108
68977
  error_code: 'device_removed';
69109
- } | {
69110
- message: string;
69111
- is_device_error: true;
69112
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69113
- error_code: 'account_disconnected';
69114
68978
  } | {
69115
68979
  message: string;
69116
68980
  is_device_error: true;
@@ -69161,17 +69025,17 @@ interface Routes {
69161
69025
  is_device_error: true;
69162
69026
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
69163
69027
  error_code: 'subscription_required';
69164
- }) | ({
69028
+ } | {
69165
69029
  message: string;
69166
69030
  is_connected_account_error: true;
69167
- /** 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. */
69168
69032
  error_code: 'account_disconnected';
69169
69033
  } | {
69170
69034
  message: string;
69171
69035
  is_connected_account_error: true;
69172
- /** 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. */
69173
69037
  error_code: 'invalid_credentials';
69174
- })>;
69038
+ }>;
69175
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. */
69176
69040
  warnings: Array<{
69177
69041
  message: string;
@@ -71536,7 +71400,7 @@ interface Routes {
71536
71400
  /** Unique identifier for the Seam workspace associated with the device. */
71537
71401
  workspace_id: string;
71538
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. */
71539
- errors: Array<({
71403
+ errors: Array<{
71540
71404
  message: string;
71541
71405
  is_device_error: true;
71542
71406
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -71546,11 +71410,6 @@ interface Routes {
71546
71410
  is_device_error: true;
71547
71411
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71548
71412
  error_code: 'device_removed';
71549
- } | {
71550
- message: string;
71551
- is_device_error: true;
71552
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71553
- error_code: 'account_disconnected';
71554
71413
  } | {
71555
71414
  message: string;
71556
71415
  is_device_error: true;
@@ -71601,17 +71460,17 @@ interface Routes {
71601
71460
  is_device_error: true;
71602
71461
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
71603
71462
  error_code: 'subscription_required';
71604
- }) | ({
71463
+ } | {
71605
71464
  message: string;
71606
71465
  is_connected_account_error: true;
71607
- /** 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. */
71608
71467
  error_code: 'account_disconnected';
71609
71468
  } | {
71610
71469
  message: string;
71611
71470
  is_connected_account_error: true;
71612
- /** 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. */
71613
71472
  error_code: 'invalid_credentials';
71614
- })>;
71473
+ }>;
71615
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. */
71616
71475
  warnings: Array<{
71617
71476
  message: string;
@@ -72187,7 +72046,7 @@ interface Routes {
72187
72046
  /** Unique identifier for the Seam workspace associated with the device. */
72188
72047
  workspace_id: string;
72189
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. */
72190
- errors: Array<({
72049
+ errors: Array<{
72191
72050
  message: string;
72192
72051
  is_device_error: true;
72193
72052
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -72197,11 +72056,6 @@ interface Routes {
72197
72056
  is_device_error: true;
72198
72057
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72199
72058
  error_code: 'device_removed';
72200
- } | {
72201
- message: string;
72202
- is_device_error: true;
72203
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72204
- error_code: 'account_disconnected';
72205
72059
  } | {
72206
72060
  message: string;
72207
72061
  is_device_error: true;
@@ -72252,17 +72106,17 @@ interface Routes {
72252
72106
  is_device_error: true;
72253
72107
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
72254
72108
  error_code: 'subscription_required';
72255
- }) | ({
72109
+ } | {
72256
72110
  message: string;
72257
72111
  is_connected_account_error: true;
72258
- /** 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. */
72259
72113
  error_code: 'account_disconnected';
72260
72114
  } | {
72261
72115
  message: string;
72262
72116
  is_connected_account_error: true;
72263
- /** 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. */
72264
72118
  error_code: 'invalid_credentials';
72265
- })>;
72119
+ }>;
72266
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. */
72267
72121
  warnings: Array<{
72268
72122
  message: string;
@@ -75194,24 +75048,40 @@ interface Routes {
75194
75048
  method: 'POST';
75195
75049
  queryParams: {};
75196
75050
  jsonBody: {
75051
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
75197
75052
  hvac_mode: 'off';
75053
+ /** ID of the desired thermostat device. */
75198
75054
  device_id: string;
75199
75055
  } | {
75056
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
75200
75057
  hvac_mode: 'cool';
75058
+ /** ID of the desired thermostat device. */
75201
75059
  device_id: string;
75060
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`. */
75202
75061
  cooling_set_point_celsius?: number | undefined;
75062
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`. */
75203
75063
  cooling_set_point_fahrenheit?: number | undefined;
75204
75064
  } | {
75065
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
75205
75066
  hvac_mode: 'heat';
75067
+ /** ID of the desired thermostat device. */
75206
75068
  device_id: string;
75069
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`. */
75207
75070
  heating_set_point_celsius?: number | undefined;
75071
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`. */
75208
75072
  heating_set_point_fahrenheit?: number | undefined;
75209
75073
  } | {
75074
+ /** Desired [HVAC mode](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/hvac-mode) to simulate. */
75210
75075
  hvac_mode: 'heat_cool';
75076
+ /** ID of the desired thermostat device. */
75211
75077
  device_id: string;
75078
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `cooling_set_point_celsius` or `cooling_set_point_fahrenheit`. */
75212
75079
  cooling_set_point_celsius?: number | undefined;
75080
+ /** Desired simulated cooling [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `cooling_set_point_fahrenheit` or `cooling_set_point_celsius`. */
75213
75081
  cooling_set_point_fahrenheit?: number | undefined;
75082
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °C. You must set `heating_set_point_celsius` or `heating_set_point_fahrenheit`. */
75214
75083
  heating_set_point_celsius?: number | undefined;
75084
+ /** Desired simulated heating [set point](https://docs.seam.co/latest/capability-guides/thermostats/understanding-thermostat-concepts/set-points) in °F. You must set `heating_set_point_fahrenheit` or `heating_set_point_celsius`. */
75215
75085
  heating_set_point_fahrenheit?: number | undefined;
75216
75086
  };
75217
75087
  commonParams: {};
@@ -75223,8 +75093,11 @@ interface Routes {
75223
75093
  method: 'POST';
75224
75094
  queryParams: {};
75225
75095
  jsonBody: {
75096
+ /** ID of the desired thermostat device. */
75226
75097
  device_id: string;
75098
+ /** Desired simulated temperature in °C. You must set `temperature_celsius` or `temperature_fahrenheit`. */
75227
75099
  temperature_celsius?: number | undefined;
75100
+ /** Desired simulated temperature in °F. You must set `temperature_fahrenheit` or `temperature_celsius`. */
75228
75101
  temperature_fahrenheit?: number | undefined;
75229
75102
  };
75230
75103
  commonParams: {};
@@ -75993,7 +75866,7 @@ interface Routes {
75993
75866
  /** Unique identifier for the Seam workspace associated with the device. */
75994
75867
  workspace_id: string;
75995
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. */
75996
- errors: Array<({
75869
+ errors: Array<{
75997
75870
  message: string;
75998
75871
  is_device_error: true;
75999
75872
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -76003,11 +75876,6 @@ interface Routes {
76003
75876
  is_device_error: true;
76004
75877
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76005
75878
  error_code: 'device_removed';
76006
- } | {
76007
- message: string;
76008
- is_device_error: true;
76009
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76010
- error_code: 'account_disconnected';
76011
75879
  } | {
76012
75880
  message: string;
76013
75881
  is_device_error: true;
@@ -76058,17 +75926,17 @@ interface Routes {
76058
75926
  is_device_error: true;
76059
75927
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76060
75928
  error_code: 'subscription_required';
76061
- }) | ({
75929
+ } | {
76062
75930
  message: string;
76063
75931
  is_connected_account_error: true;
76064
- /** 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. */
76065
75933
  error_code: 'account_disconnected';
76066
75934
  } | {
76067
75935
  message: string;
76068
75936
  is_connected_account_error: true;
76069
- /** 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. */
76070
75938
  error_code: 'invalid_credentials';
76071
- })>;
75939
+ }>;
76072
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. */
76073
75941
  warnings: Array<{
76074
75942
  message: string;
@@ -76646,7 +76514,7 @@ interface Routes {
76646
76514
  /** Unique identifier for the Seam workspace associated with the device. */
76647
76515
  workspace_id: string;
76648
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. */
76649
- errors: Array<({
76517
+ errors: Array<{
76650
76518
  message: string;
76651
76519
  is_device_error: true;
76652
76520
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
@@ -76656,11 +76524,6 @@ interface Routes {
76656
76524
  is_device_error: true;
76657
76525
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76658
76526
  error_code: 'device_removed';
76659
- } | {
76660
- message: string;
76661
- is_device_error: true;
76662
- /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76663
- error_code: 'account_disconnected';
76664
76527
  } | {
76665
76528
  message: string;
76666
76529
  is_device_error: true;
@@ -76711,17 +76574,17 @@ interface Routes {
76711
76574
  is_device_error: true;
76712
76575
  /** Unique identifier of the type of error. Enables quick recognition and categorization of the issue. */
76713
76576
  error_code: 'subscription_required';
76714
- }) | ({
76577
+ } | {
76715
76578
  message: string;
76716
76579
  is_connected_account_error: true;
76717
- /** 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. */
76718
76581
  error_code: 'account_disconnected';
76719
76582
  } | {
76720
76583
  message: string;
76721
76584
  is_connected_account_error: true;
76722
- /** 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. */
76723
76586
  error_code: 'invalid_credentials';
76724
- })>;
76587
+ }>;
76725
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. */
76726
76589
  warnings: Array<{
76727
76590
  message: string;