@seamapi/types 1.395.1 → 1.395.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 (66) hide show
  1. package/dist/connect.cjs +57 -18
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +578 -502
  4. package/lib/seam/connect/models/access-grants/access-grant.d.ts +2 -2
  5. package/lib/seam/connect/models/access-grants/access-method.d.ts +2 -2
  6. package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
  7. package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
  8. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +4 -4
  9. package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
  10. package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
  11. package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
  12. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +4 -4
  13. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  14. package/lib/seam/connect/models/action-attempts/encode-access-method.d.ts +4 -4
  15. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
  16. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +12 -12
  17. package/lib/seam/connect/models/bridges/bridge-connected-system.d.ts +2 -2
  18. package/lib/seam/connect/models/bridges/bridge.d.ts +2 -2
  19. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  20. package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +2 -2
  21. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +25 -20
  22. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +25 -20
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.js +2 -7
  24. package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
  25. package/lib/seam/connect/models/devices/device.d.ts +37 -30
  26. package/lib/seam/connect/models/devices/phone.d.ts +2 -2
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +28 -23
  28. package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
  29. package/lib/seam/connect/models/events/access-grants.d.ts +20 -20
  30. package/lib/seam/connect/models/events/access-methods.d.ts +12 -12
  31. package/lib/seam/connect/models/events/acs/access-groups.d.ts +4 -4
  32. package/lib/seam/connect/models/events/acs/common.d.ts +2 -2
  33. package/lib/seam/connect/models/events/acs/credentials.d.ts +16 -16
  34. package/lib/seam/connect/models/events/acs/encoders.d.ts +8 -8
  35. package/lib/seam/connect/models/events/acs/entrances.d.ts +8 -8
  36. package/lib/seam/connect/models/events/acs/index.d.ts +28 -28
  37. package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
  38. package/lib/seam/connect/models/events/acs/users.d.ts +8 -8
  39. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -16
  40. package/lib/seam/connect/models/events/client-sessions.d.ts +4 -4
  41. package/lib/seam/connect/models/events/common.d.ts +2 -2
  42. package/lib/seam/connect/models/events/connect-webviews.d.ts +8 -8
  43. package/lib/seam/connect/models/events/connected-accounts.d.ts +28 -28
  44. package/lib/seam/connect/models/events/devices.d.ts +132 -132
  45. package/lib/seam/connect/models/events/enrollment-automations.d.ts +4 -4
  46. package/lib/seam/connect/models/events/phones.d.ts +4 -4
  47. package/lib/seam/connect/models/events/seam-event.d.ts +176 -176
  48. package/lib/seam/connect/models/instant-keys/instant-key.d.ts +2 -2
  49. package/lib/seam/connect/models/locations/location.d.ts +2 -2
  50. package/lib/seam/connect/models/thermostats/thermostat-program.d.ts +6 -6
  51. package/lib/seam/connect/models/thermostats/thermostat-program.js +5 -5
  52. package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
  53. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +6 -3
  54. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +5 -1
  55. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  56. package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
  57. package/lib/seam/connect/openapi.d.ts +35 -8
  58. package/lib/seam/connect/openapi.js +43 -9
  59. package/lib/seam/connect/openapi.js.map +1 -1
  60. package/lib/seam/connect/route-types.d.ts +136 -102
  61. package/package.json +2 -2
  62. package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +2 -7
  63. package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +7 -5
  64. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +7 -1
  65. package/src/lib/seam/connect/openapi.ts +47 -10
  66. package/src/lib/seam/connect/route-types.ts +617 -505
@@ -39,8 +39,8 @@ export declare const encode_access_method_action_attempt: z.ZodDiscriminatedUnio
39
39
  is_card_encoding_required: z.ZodOptional<z.ZodBoolean>;
40
40
  }, "strip", z.ZodTypeAny, {
41
41
  display_name: string;
42
- created_at: string;
43
42
  workspace_id: string;
43
+ created_at: string;
44
44
  mode: "code" | "card" | "mobile_key";
45
45
  access_method_id: string;
46
46
  issued_at?: string | undefined;
@@ -48,8 +48,8 @@ export declare const encode_access_method_action_attempt: z.ZodDiscriminatedUnio
48
48
  is_card_encoding_required?: boolean | undefined;
49
49
  }, {
50
50
  display_name: string;
51
- created_at: string;
52
51
  workspace_id: string;
52
+ created_at: string;
53
53
  mode: "code" | "card" | "mobile_key";
54
54
  access_method_id: string;
55
55
  issued_at?: string | undefined;
@@ -62,8 +62,8 @@ export declare const encode_access_method_action_attempt: z.ZodDiscriminatedUnio
62
62
  action_attempt_id: string;
63
63
  result: {
64
64
  display_name: string;
65
- created_at: string;
66
65
  workspace_id: string;
66
+ created_at: string;
67
67
  mode: "code" | "card" | "mobile_key";
68
68
  access_method_id: string;
69
69
  issued_at?: string | undefined;
@@ -77,8 +77,8 @@ export declare const encode_access_method_action_attempt: z.ZodDiscriminatedUnio
77
77
  action_attempt_id: string;
78
78
  result: {
79
79
  display_name: string;
80
- created_at: string;
81
80
  workspace_id: string;
81
+ created_at: string;
82
82
  mode: "code" | "card" | "mobile_key";
83
83
  access_method_id: string;
84
84
  issued_at?: string | undefined;
@@ -193,6 +193,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
193
193
  is_managed: z.ZodLiteral<true>;
194
194
  }>, "strip", z.ZodTypeAny, {
195
195
  display_name: string;
196
+ workspace_id: string;
196
197
  created_at: string;
197
198
  errors: {
198
199
  message: string;
@@ -223,7 +224,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
223
224
  created_at: string;
224
225
  warning_code: "needs_to_be_reissued";
225
226
  })[];
226
- workspace_id: string;
227
227
  is_managed: true;
228
228
  acs_system_id: string;
229
229
  acs_credential_id: string;
@@ -263,6 +263,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
263
263
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
264
264
  }, {
265
265
  display_name: string;
266
+ workspace_id: string;
266
267
  created_at: string;
267
268
  errors: {
268
269
  message: string;
@@ -293,7 +294,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
293
294
  created_at: string;
294
295
  warning_code: "needs_to_be_reissued";
295
296
  })[];
296
- workspace_id: string;
297
297
  is_managed: true;
298
298
  acs_system_id: string;
299
299
  acs_credential_id: string;
@@ -496,6 +496,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
496
496
  is_managed: z.ZodLiteral<false>;
497
497
  }>, "strip", z.ZodTypeAny, {
498
498
  display_name: string;
499
+ workspace_id: string;
499
500
  created_at: string;
500
501
  errors: {
501
502
  message: string;
@@ -526,7 +527,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
526
527
  created_at: string;
527
528
  warning_code: "needs_to_be_reissued";
528
529
  })[];
529
- workspace_id: string;
530
530
  is_managed: false;
531
531
  acs_system_id: string;
532
532
  acs_credential_id: string;
@@ -566,6 +566,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
566
566
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
567
567
  }, {
568
568
  display_name: string;
569
+ workspace_id: string;
569
570
  created_at: string;
570
571
  errors: {
571
572
  message: string;
@@ -596,7 +597,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
596
597
  created_at: string;
597
598
  warning_code: "needs_to_be_reissued";
598
599
  })[];
599
- workspace_id: string;
600
600
  is_managed: false;
601
601
  acs_system_id: string;
602
602
  acs_credential_id: string;
@@ -641,6 +641,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
641
641
  action_attempt_id: string;
642
642
  result: {
643
643
  display_name: string;
644
+ workspace_id: string;
644
645
  created_at: string;
645
646
  errors: {
646
647
  message: string;
@@ -671,7 +672,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
671
672
  created_at: string;
672
673
  warning_code: "needs_to_be_reissued";
673
674
  })[];
674
- workspace_id: string;
675
675
  is_managed: true;
676
676
  acs_system_id: string;
677
677
  acs_credential_id: string;
@@ -711,6 +711,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
711
711
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
712
712
  } | {
713
713
  display_name: string;
714
+ workspace_id: string;
714
715
  created_at: string;
715
716
  errors: {
716
717
  message: string;
@@ -741,7 +742,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
741
742
  created_at: string;
742
743
  warning_code: "needs_to_be_reissued";
743
744
  })[];
744
- workspace_id: string;
745
745
  is_managed: false;
746
746
  acs_system_id: string;
747
747
  acs_credential_id: string;
@@ -787,6 +787,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
787
787
  action_attempt_id: string;
788
788
  result: {
789
789
  display_name: string;
790
+ workspace_id: string;
790
791
  created_at: string;
791
792
  errors: {
792
793
  message: string;
@@ -817,7 +818,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
817
818
  created_at: string;
818
819
  warning_code: "needs_to_be_reissued";
819
820
  })[];
820
- workspace_id: string;
821
821
  is_managed: true;
822
822
  acs_system_id: string;
823
823
  acs_credential_id: string;
@@ -857,6 +857,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
857
857
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
858
858
  } | {
859
859
  display_name: string;
860
+ workspace_id: string;
860
861
  created_at: string;
861
862
  errors: {
862
863
  message: string;
@@ -887,7 +888,6 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
887
888
  created_at: string;
888
889
  warning_code: "needs_to_be_reissued";
889
890
  })[];
890
- workspace_id: string;
891
891
  is_managed: false;
892
892
  acs_system_id: string;
893
893
  acs_credential_id: string;
@@ -281,6 +281,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
281
281
  is_managed: z.ZodLiteral<true>;
282
282
  }>, "strip", z.ZodTypeAny, {
283
283
  display_name: string;
284
+ workspace_id: string;
284
285
  created_at: string;
285
286
  errors: {
286
287
  message: string;
@@ -311,7 +312,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
311
312
  created_at: string;
312
313
  warning_code: "needs_to_be_reissued";
313
314
  })[];
314
- workspace_id: string;
315
315
  is_managed: true;
316
316
  acs_system_id: string;
317
317
  acs_credential_id: string;
@@ -351,6 +351,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
351
351
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
352
352
  }, {
353
353
  display_name: string;
354
+ workspace_id: string;
354
355
  created_at: string;
355
356
  errors: {
356
357
  message: string;
@@ -381,7 +382,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
381
382
  created_at: string;
382
383
  warning_code: "needs_to_be_reissued";
383
384
  })[];
384
- workspace_id: string;
385
385
  is_managed: true;
386
386
  acs_system_id: string;
387
387
  acs_credential_id: string;
@@ -584,6 +584,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
584
584
  is_managed: z.ZodLiteral<false>;
585
585
  }>, "strip", z.ZodTypeAny, {
586
586
  display_name: string;
587
+ workspace_id: string;
587
588
  created_at: string;
588
589
  errors: {
589
590
  message: string;
@@ -614,7 +615,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
614
615
  created_at: string;
615
616
  warning_code: "needs_to_be_reissued";
616
617
  })[];
617
- workspace_id: string;
618
618
  is_managed: false;
619
619
  acs_system_id: string;
620
620
  acs_credential_id: string;
@@ -654,6 +654,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
654
654
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
655
655
  }, {
656
656
  display_name: string;
657
+ workspace_id: string;
657
658
  created_at: string;
658
659
  errors: {
659
660
  message: string;
@@ -684,7 +685,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
684
685
  created_at: string;
685
686
  warning_code: "needs_to_be_reissued";
686
687
  })[];
687
- workspace_id: string;
688
688
  is_managed: false;
689
689
  acs_system_id: string;
690
690
  acs_credential_id: string;
@@ -761,6 +761,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
761
761
  } | null;
762
762
  acs_credential_on_seam: {
763
763
  display_name: string;
764
+ workspace_id: string;
764
765
  created_at: string;
765
766
  errors: {
766
767
  message: string;
@@ -791,7 +792,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
791
792
  created_at: string;
792
793
  warning_code: "needs_to_be_reissued";
793
794
  })[];
794
- workspace_id: string;
795
795
  is_managed: true;
796
796
  acs_system_id: string;
797
797
  acs_credential_id: string;
@@ -831,6 +831,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
831
831
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
832
832
  } | {
833
833
  display_name: string;
834
+ workspace_id: string;
834
835
  created_at: string;
835
836
  errors: {
836
837
  message: string;
@@ -861,7 +862,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
861
862
  created_at: string;
862
863
  warning_code: "needs_to_be_reissued";
863
864
  })[];
864
- workspace_id: string;
865
865
  is_managed: false;
866
866
  acs_system_id: string;
867
867
  acs_credential_id: string;
@@ -928,6 +928,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
928
928
  } | null;
929
929
  acs_credential_on_seam: {
930
930
  display_name: string;
931
+ workspace_id: string;
931
932
  created_at: string;
932
933
  errors: {
933
934
  message: string;
@@ -958,7 +959,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
958
959
  created_at: string;
959
960
  warning_code: "needs_to_be_reissued";
960
961
  })[];
961
- workspace_id: string;
962
962
  is_managed: true;
963
963
  acs_system_id: string;
964
964
  acs_credential_id: string;
@@ -998,6 +998,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
998
998
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
999
999
  } | {
1000
1000
  display_name: string;
1001
+ workspace_id: string;
1001
1002
  created_at: string;
1002
1003
  errors: {
1003
1004
  message: string;
@@ -1028,7 +1029,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1028
1029
  created_at: string;
1029
1030
  warning_code: "needs_to_be_reissued";
1030
1031
  })[];
1031
- workspace_id: string;
1032
1032
  is_managed: false;
1033
1033
  acs_system_id: string;
1034
1034
  acs_credential_id: string;
@@ -1100,6 +1100,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1100
1100
  } | null;
1101
1101
  acs_credential_on_seam: {
1102
1102
  display_name: string;
1103
+ workspace_id: string;
1103
1104
  created_at: string;
1104
1105
  errors: {
1105
1106
  message: string;
@@ -1130,7 +1131,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1130
1131
  created_at: string;
1131
1132
  warning_code: "needs_to_be_reissued";
1132
1133
  })[];
1133
- workspace_id: string;
1134
1134
  is_managed: true;
1135
1135
  acs_system_id: string;
1136
1136
  acs_credential_id: string;
@@ -1170,6 +1170,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1170
1170
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
1171
1171
  } | {
1172
1172
  display_name: string;
1173
+ workspace_id: string;
1173
1174
  created_at: string;
1174
1175
  errors: {
1175
1176
  message: string;
@@ -1200,7 +1201,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1200
1201
  created_at: string;
1201
1202
  warning_code: "needs_to_be_reissued";
1202
1203
  })[];
1203
- workspace_id: string;
1204
1204
  is_managed: false;
1205
1205
  acs_system_id: string;
1206
1206
  acs_credential_id: string;
@@ -1273,6 +1273,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1273
1273
  } | null;
1274
1274
  acs_credential_on_seam: {
1275
1275
  display_name: string;
1276
+ workspace_id: string;
1276
1277
  created_at: string;
1277
1278
  errors: {
1278
1279
  message: string;
@@ -1303,7 +1304,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1303
1304
  created_at: string;
1304
1305
  warning_code: "needs_to_be_reissued";
1305
1306
  })[];
1306
- workspace_id: string;
1307
1307
  is_managed: true;
1308
1308
  acs_system_id: string;
1309
1309
  acs_credential_id: string;
@@ -1343,6 +1343,7 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1343
1343
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
1344
1344
  } | {
1345
1345
  display_name: string;
1346
+ workspace_id: string;
1346
1347
  created_at: string;
1347
1348
  errors: {
1348
1349
  message: string;
@@ -1373,7 +1374,6 @@ export declare const scan_credential_action_attempt: z.ZodDiscriminatedUnion<"st
1373
1374
  created_at: string;
1374
1375
  warning_code: "needs_to_be_reissued";
1375
1376
  })[];
1376
- workspace_id: string;
1377
1377
  is_managed: false;
1378
1378
  acs_system_id: string;
1379
1379
  acs_credential_id: string;
@@ -9,18 +9,18 @@ export declare const bridge_connected_system: z.ZodObject<{
9
9
  workspace_id: z.ZodString;
10
10
  workspace_display_name: z.ZodString;
11
11
  }, "strip", z.ZodTypeAny, {
12
+ workspace_id: string;
12
13
  connected_account_id: string;
13
14
  bridge_id: string;
14
- workspace_id: string;
15
15
  acs_system_id: string;
16
16
  bridge_created_at: string;
17
17
  connected_account_created_at: string;
18
18
  acs_system_display_name: string;
19
19
  workspace_display_name: string;
20
20
  }, {
21
+ workspace_id: string;
21
22
  connected_account_id: string;
22
23
  bridge_id: string;
23
- workspace_id: string;
24
24
  acs_system_id: string;
25
25
  bridge_created_at: string;
26
26
  connected_account_created_at: string;
@@ -4,12 +4,12 @@ export declare const bridge: z.ZodObject<{
4
4
  workspace_id: z.ZodString;
5
5
  created_at: z.ZodString;
6
6
  }, "strip", z.ZodTypeAny, {
7
+ workspace_id: string;
7
8
  created_at: string;
8
9
  bridge_id: string;
9
- workspace_id: string;
10
10
  }, {
11
+ workspace_id: string;
11
12
  created_at: string;
12
13
  bridge_id: string;
13
- workspace_id: string;
14
14
  }>;
15
15
  export type Bridge = z.infer<typeof bridge>;
@@ -11,8 +11,8 @@ export declare const client_session: z.ZodObject<{
11
11
  connect_webview_ids: z.ZodArray<z.ZodString, "many">;
12
12
  user_identity_ids: z.ZodArray<z.ZodString, "many">;
13
13
  }, "strip", z.ZodTypeAny, {
14
- created_at: string;
15
14
  workspace_id: string;
15
+ created_at: string;
16
16
  connected_account_ids: string[];
17
17
  client_session_id: string;
18
18
  expires_at: string;
@@ -22,8 +22,8 @@ export declare const client_session: z.ZodObject<{
22
22
  connect_webview_ids: string[];
23
23
  user_identity_ids: string[];
24
24
  }, {
25
- created_at: string;
26
25
  workspace_id: string;
26
+ created_at: string;
27
27
  connected_account_ids: string[];
28
28
  client_session_id: string;
29
29
  expires_at: string;
@@ -23,11 +23,11 @@ export declare const connect_webview: z.ZodObject<{
23
23
  }, "strip", z.ZodTypeAny, {
24
24
  url: string;
25
25
  status: "failed" | "pending" | "authorized";
26
+ workspace_id: string;
26
27
  created_at: string;
27
28
  connected_account_id: string | null;
28
29
  custom_metadata: Record<string, string | boolean>;
29
30
  automatically_manage_new_devices: boolean;
30
- workspace_id: string;
31
31
  connect_webview_id: string;
32
32
  device_selection_mode: "none" | "multiple" | "single";
33
33
  accepted_providers: string[];
@@ -43,11 +43,11 @@ export declare const connect_webview: z.ZodObject<{
43
43
  }, {
44
44
  url: string;
45
45
  status: "failed" | "pending" | "authorized";
46
+ workspace_id: string;
46
47
  created_at: string;
47
48
  connected_account_id: string | null;
48
49
  custom_metadata: Record<string, string | boolean>;
49
50
  automatically_manage_new_devices: boolean;
50
- workspace_id: string;
51
51
  connect_webview_id: string;
52
52
  device_selection_mode: "none" | "multiple" | "single";
53
53
  accepted_providers: string[];
@@ -218,12 +218,13 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
218
218
  active_thermostat_schedule: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
219
219
  thermostat_schedule_id: z.ZodString;
220
220
  device_id: z.ZodString;
221
- name: z.ZodOptional<z.ZodString>;
221
+ name: z.ZodNullable<z.ZodString>;
222
222
  climate_preset_key: z.ZodString;
223
223
  max_override_period_minutes: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
224
224
  starts_at: z.ZodString;
225
225
  is_override_allowed: z.ZodOptional<z.ZodBoolean>;
226
226
  ends_at: z.ZodString;
227
+ workspace_id: z.ZodString;
227
228
  created_at: z.ZodString;
228
229
  errors: z.ZodArray<z.ZodObject<{
229
230
  error_code: z.ZodString;
@@ -236,8 +237,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
236
237
  error_code: string;
237
238
  }>, "many">;
238
239
  }, "strip", z.ZodTypeAny, {
240
+ name: string | null;
239
241
  climate_preset_key: string;
240
242
  device_id: string;
243
+ workspace_id: string;
241
244
  created_at: string;
242
245
  thermostat_schedule_id: string;
243
246
  starts_at: string;
@@ -246,12 +249,13 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
246
249
  message: string;
247
250
  error_code: string;
248
251
  }[];
249
- name?: string | undefined;
250
252
  max_override_period_minutes?: number | null | undefined;
251
253
  is_override_allowed?: boolean | undefined;
252
254
  }, {
255
+ name: string | null;
253
256
  climate_preset_key: string;
254
257
  device_id: string;
258
+ workspace_id: string;
255
259
  created_at: string;
256
260
  thermostat_schedule_id: string;
257
261
  starts_at: string;
@@ -260,14 +264,13 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
260
264
  message: string;
261
265
  error_code: string;
262
266
  }[];
263
- name?: string | undefined;
264
267
  max_override_period_minutes?: number | null | undefined;
265
268
  is_override_allowed?: boolean | undefined;
266
269
  }>>>>;
267
- thermostat_daily_programs: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodArray<z.ZodObject<{
270
+ thermostat_daily_programs: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
268
271
  thermostat_daily_program_id: z.ZodString;
269
272
  device_id: z.ZodString;
270
- name: z.ZodOptional<z.ZodString>;
273
+ name: z.ZodNullable<z.ZodString>;
271
274
  periods: z.ZodArray<z.ZodObject<{
272
275
  starts_at_time: z.ZodString;
273
276
  climate_preset_key: z.ZodString;
@@ -278,28 +281,30 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
278
281
  climate_preset_key: string;
279
282
  starts_at_time: string;
280
283
  }>, "many">;
284
+ workspace_id: z.ZodString;
281
285
  created_at: z.ZodString;
282
286
  }, "strip", z.ZodTypeAny, {
287
+ name: string | null;
283
288
  thermostat_daily_program_id: string;
284
289
  device_id: string;
285
290
  periods: {
286
291
  climate_preset_key: string;
287
292
  starts_at_time: string;
288
293
  }[];
294
+ workspace_id: string;
289
295
  created_at: string;
290
- name?: string | undefined;
291
296
  }, {
297
+ name: string | null;
292
298
  thermostat_daily_program_id: string;
293
299
  device_id: string;
294
300
  periods: {
295
301
  climate_preset_key: string;
296
302
  starts_at_time: string;
297
303
  }[];
304
+ workspace_id: string;
298
305
  created_at: string;
299
- name?: string | undefined;
300
- }>, "many">>>>;
301
- thermostat_weekly_program: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodObject<{
302
- device_id: z.ZodString;
306
+ }>, "many">>>;
307
+ thermostat_weekly_program: z.ZodOptional<z.ZodOptional<z.ZodNullable<z.ZodObject<{
303
308
  monday_program_id: z.ZodNullable<z.ZodString>;
304
309
  tuesday_program_id: z.ZodNullable<z.ZodString>;
305
310
  wednesday_program_id: z.ZodNullable<z.ZodString>;
@@ -309,7 +314,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
309
314
  sunday_program_id: z.ZodNullable<z.ZodString>;
310
315
  created_at: z.ZodString;
311
316
  }, "strip", z.ZodTypeAny, {
312
- device_id: string;
313
317
  created_at: string;
314
318
  monday_program_id: string | null;
315
319
  tuesday_program_id: string | null;
@@ -319,7 +323,6 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
319
323
  saturday_program_id: string | null;
320
324
  sunday_program_id: string | null;
321
325
  }, {
322
- device_id: string;
323
326
  created_at: string;
324
327
  monday_program_id: string | null;
325
328
  tuesday_program_id: string | null;
@@ -413,8 +416,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
413
416
  }[] | undefined;
414
417
  fallback_climate_preset_key?: string | null | undefined;
415
418
  active_thermostat_schedule?: {
419
+ name: string | null;
416
420
  climate_preset_key: string;
417
421
  device_id: string;
422
+ workspace_id: string;
418
423
  created_at: string;
419
424
  thermostat_schedule_id: string;
420
425
  starts_at: string;
@@ -423,22 +428,21 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
423
428
  message: string;
424
429
  error_code: string;
425
430
  }[];
426
- name?: string | undefined;
427
431
  max_override_period_minutes?: number | null | undefined;
428
432
  is_override_allowed?: boolean | undefined;
429
433
  } | null | undefined;
430
434
  thermostat_daily_programs?: {
435
+ name: string | null;
431
436
  thermostat_daily_program_id: string;
432
437
  device_id: string;
433
438
  periods: {
434
439
  climate_preset_key: string;
435
440
  starts_at_time: string;
436
441
  }[];
442
+ workspace_id: string;
437
443
  created_at: string;
438
- name?: string | undefined;
439
- }[] | null | undefined;
444
+ }[] | undefined;
440
445
  thermostat_weekly_program?: {
441
- device_id: string;
442
446
  created_at: string;
443
447
  monday_program_id: string | null;
444
448
  tuesday_program_id: string | null;
@@ -522,8 +526,10 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
522
526
  }[] | undefined;
523
527
  fallback_climate_preset_key?: string | null | undefined;
524
528
  active_thermostat_schedule?: {
529
+ name: string | null;
525
530
  climate_preset_key: string;
526
531
  device_id: string;
532
+ workspace_id: string;
527
533
  created_at: string;
528
534
  thermostat_schedule_id: string;
529
535
  starts_at: string;
@@ -532,22 +538,21 @@ export declare const capability_properties: z.ZodIntersection<z.ZodObject<z.obje
532
538
  message: string;
533
539
  error_code: string;
534
540
  }[];
535
- name?: string | undefined;
536
541
  max_override_period_minutes?: number | null | undefined;
537
542
  is_override_allowed?: boolean | undefined;
538
543
  } | null | undefined;
539
544
  thermostat_daily_programs?: {
545
+ name: string | null;
540
546
  thermostat_daily_program_id: string;
541
547
  device_id: string;
542
548
  periods: {
543
549
  climate_preset_key: string;
544
550
  starts_at_time: string;
545
551
  }[];
552
+ workspace_id: string;
546
553
  created_at: string;
547
- name?: string | undefined;
548
- }[] | null | undefined;
554
+ }[] | undefined;
549
555
  thermostat_weekly_program?: {
550
- device_id: string;
551
556
  created_at: string;
552
557
  monday_program_id: string | null;
553
558
  tuesday_program_id: string | null;