@seamapi/types 1.441.2 → 1.443.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist/connect.cjs +127 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1966 -1914
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +127 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +81 -0
  69. package/lib/seam/connect/openapi.js +123 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +36 -1
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +137 -0
  77. package/src/lib/seam/connect/route-types.ts +36 -1
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,15 +19,14 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "ENCODE_CREDENTIAL";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
31
- result: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
29
+ result: z.ZodUnion<[z.ZodObject<{
32
30
  acs_credential_id: z.ZodString;
33
31
  acs_user_id: z.ZodOptional<z.ZodString>;
34
32
  user_identity_id: z.ZodOptional<z.ZodString>;
@@ -59,12 +57,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
59
57
  message: string;
60
58
  error_code: string;
61
59
  }>, "many">;
62
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
60
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
63
61
  created_at: z.ZodString;
64
62
  message: z.ZodString;
65
- }, {
63
+ } & {
66
64
  warning_code: z.ZodLiteral<"waiting_to_be_issued">;
67
- }>, "strip", z.ZodTypeAny, {
65
+ }, "strip", z.ZodTypeAny, {
68
66
  message: string;
69
67
  created_at: string;
70
68
  warning_code: "waiting_to_be_issued";
@@ -72,12 +70,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
72
70
  message: string;
73
71
  created_at: string;
74
72
  warning_code: "waiting_to_be_issued";
75
- }>, z.ZodObject<z.objectUtil.extendShape<{
73
+ }>, z.ZodObject<{
76
74
  created_at: z.ZodString;
77
75
  message: z.ZodString;
78
- }, {
76
+ } & {
79
77
  warning_code: z.ZodLiteral<"schedule_externally_modified">;
80
- }>, "strip", z.ZodTypeAny, {
78
+ }, "strip", z.ZodTypeAny, {
81
79
  message: string;
82
80
  created_at: string;
83
81
  warning_code: "schedule_externally_modified";
@@ -85,12 +83,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
85
83
  message: string;
86
84
  created_at: string;
87
85
  warning_code: "schedule_externally_modified";
88
- }>, z.ZodObject<z.objectUtil.extendShape<{
86
+ }>, z.ZodObject<{
89
87
  created_at: z.ZodString;
90
88
  message: z.ZodString;
91
- }, {
89
+ } & {
92
90
  warning_code: z.ZodLiteral<"schedule_modified">;
93
- }>, "strip", z.ZodTypeAny, {
91
+ }, "strip", z.ZodTypeAny, {
94
92
  message: string;
95
93
  created_at: string;
96
94
  warning_code: "schedule_modified";
@@ -98,12 +96,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
98
96
  message: string;
99
97
  created_at: string;
100
98
  warning_code: "schedule_modified";
101
- }>, z.ZodObject<z.objectUtil.extendShape<{
99
+ }>, z.ZodObject<{
102
100
  created_at: z.ZodString;
103
101
  message: z.ZodString;
104
- }, {
102
+ } & {
105
103
  warning_code: z.ZodLiteral<"being_deleted">;
106
- }>, "strip", z.ZodTypeAny, {
104
+ }, "strip", z.ZodTypeAny, {
107
105
  message: string;
108
106
  created_at: string;
109
107
  warning_code: "being_deleted";
@@ -111,12 +109,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
111
109
  message: string;
112
110
  created_at: string;
113
111
  warning_code: "being_deleted";
114
- }>, z.ZodObject<z.objectUtil.extendShape<{
112
+ }>, z.ZodObject<{
115
113
  created_at: z.ZodString;
116
114
  message: z.ZodString;
117
- }, {
115
+ } & {
118
116
  warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
119
- }>, "strip", z.ZodTypeAny, {
117
+ }, "strip", z.ZodTypeAny, {
120
118
  message: string;
121
119
  created_at: string;
122
120
  warning_code: "unknown_issue_with_acs_credential";
@@ -124,12 +122,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
124
122
  message: string;
125
123
  created_at: string;
126
124
  warning_code: "unknown_issue_with_acs_credential";
127
- }>, z.ZodObject<z.objectUtil.extendShape<{
125
+ }>, z.ZodObject<{
128
126
  created_at: z.ZodString;
129
127
  message: z.ZodString;
130
- }, {
128
+ } & {
131
129
  warning_code: z.ZodLiteral<"needs_to_be_reissued">;
132
- }>, "strip", z.ZodTypeAny, {
130
+ }, "strip", z.ZodTypeAny, {
133
131
  message: string;
134
132
  created_at: string;
135
133
  warning_code: "needs_to_be_reissued";
@@ -191,9 +189,9 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
191
189
  key_issuing_request_id?: string | undefined;
192
190
  door_names?: string[] | undefined;
193
191
  }>>;
194
- }, {
192
+ } & {
195
193
  is_managed: z.ZodLiteral<true>;
196
- }>, "strip", z.ZodTypeAny, {
194
+ }, "strip", z.ZodTypeAny, {
197
195
  display_name: string;
198
196
  workspace_id: string;
199
197
  created_at: string;
@@ -337,7 +335,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
337
335
  is_multi_phone_sync_credential?: boolean | undefined;
338
336
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
339
337
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
340
- }>, z.ZodObject<z.objectUtil.extendShape<{
338
+ }>, z.ZodObject<{
341
339
  acs_credential_id: z.ZodString;
342
340
  acs_user_id: z.ZodOptional<z.ZodString>;
343
341
  user_identity_id: z.ZodOptional<z.ZodString>;
@@ -368,12 +366,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
368
366
  message: string;
369
367
  error_code: string;
370
368
  }>, "many">;
371
- warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<z.objectUtil.extendShape<{
369
+ warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
372
370
  created_at: z.ZodString;
373
371
  message: z.ZodString;
374
- }, {
372
+ } & {
375
373
  warning_code: z.ZodLiteral<"waiting_to_be_issued">;
376
- }>, "strip", z.ZodTypeAny, {
374
+ }, "strip", z.ZodTypeAny, {
377
375
  message: string;
378
376
  created_at: string;
379
377
  warning_code: "waiting_to_be_issued";
@@ -381,12 +379,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
381
379
  message: string;
382
380
  created_at: string;
383
381
  warning_code: "waiting_to_be_issued";
384
- }>, z.ZodObject<z.objectUtil.extendShape<{
382
+ }>, z.ZodObject<{
385
383
  created_at: z.ZodString;
386
384
  message: z.ZodString;
387
- }, {
385
+ } & {
388
386
  warning_code: z.ZodLiteral<"schedule_externally_modified">;
389
- }>, "strip", z.ZodTypeAny, {
387
+ }, "strip", z.ZodTypeAny, {
390
388
  message: string;
391
389
  created_at: string;
392
390
  warning_code: "schedule_externally_modified";
@@ -394,12 +392,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
394
392
  message: string;
395
393
  created_at: string;
396
394
  warning_code: "schedule_externally_modified";
397
- }>, z.ZodObject<z.objectUtil.extendShape<{
395
+ }>, z.ZodObject<{
398
396
  created_at: z.ZodString;
399
397
  message: z.ZodString;
400
- }, {
398
+ } & {
401
399
  warning_code: z.ZodLiteral<"schedule_modified">;
402
- }>, "strip", z.ZodTypeAny, {
400
+ }, "strip", z.ZodTypeAny, {
403
401
  message: string;
404
402
  created_at: string;
405
403
  warning_code: "schedule_modified";
@@ -407,12 +405,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
407
405
  message: string;
408
406
  created_at: string;
409
407
  warning_code: "schedule_modified";
410
- }>, z.ZodObject<z.objectUtil.extendShape<{
408
+ }>, z.ZodObject<{
411
409
  created_at: z.ZodString;
412
410
  message: z.ZodString;
413
- }, {
411
+ } & {
414
412
  warning_code: z.ZodLiteral<"being_deleted">;
415
- }>, "strip", z.ZodTypeAny, {
413
+ }, "strip", z.ZodTypeAny, {
416
414
  message: string;
417
415
  created_at: string;
418
416
  warning_code: "being_deleted";
@@ -420,12 +418,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
420
418
  message: string;
421
419
  created_at: string;
422
420
  warning_code: "being_deleted";
423
- }>, z.ZodObject<z.objectUtil.extendShape<{
421
+ }>, z.ZodObject<{
424
422
  created_at: z.ZodString;
425
423
  message: z.ZodString;
426
- }, {
424
+ } & {
427
425
  warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
428
- }>, "strip", z.ZodTypeAny, {
426
+ }, "strip", z.ZodTypeAny, {
429
427
  message: string;
430
428
  created_at: string;
431
429
  warning_code: "unknown_issue_with_acs_credential";
@@ -433,12 +431,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
433
431
  message: string;
434
432
  created_at: string;
435
433
  warning_code: "unknown_issue_with_acs_credential";
436
- }>, z.ZodObject<z.objectUtil.extendShape<{
434
+ }>, z.ZodObject<{
437
435
  created_at: z.ZodString;
438
436
  message: z.ZodString;
439
- }, {
437
+ } & {
440
438
  warning_code: z.ZodLiteral<"needs_to_be_reissued">;
441
- }>, "strip", z.ZodTypeAny, {
439
+ }, "strip", z.ZodTypeAny, {
442
440
  message: string;
443
441
  created_at: string;
444
442
  warning_code: "needs_to_be_reissued";
@@ -500,9 +498,9 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
500
498
  key_issuing_request_id?: string | undefined;
501
499
  door_names?: string[] | undefined;
502
500
  }>>;
503
- }, {
501
+ } & {
504
502
  is_managed: z.ZodLiteral<false>;
505
- }>, "strip", z.ZodTypeAny, {
503
+ }, "strip", z.ZodTypeAny, {
506
504
  display_name: string;
507
505
  workspace_id: string;
508
506
  created_at: string;
@@ -647,7 +645,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
647
645
  is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
648
646
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
649
647
  }>]>;
650
- }>, "strip", z.ZodTypeAny, {
648
+ }, "strip", z.ZodTypeAny, {
651
649
  error: null;
652
650
  status: "success";
653
651
  action_attempt_id: string;
@@ -947,13 +945,12 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
947
945
  latest_desired_state_synced_with_provider_at?: string | null | undefined;
948
946
  };
949
947
  action_type: "ENCODE_CREDENTIAL";
950
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
948
+ }>, z.ZodObject<{
951
949
  action_attempt_id: z.ZodString;
952
- status: z.ZodEnum<["pending", "success", "error"]>;
953
- }, {
950
+ } & {
954
951
  status: z.ZodLiteral<"error">;
955
952
  result: z.ZodNull;
956
- }>, {
953
+ } & {
957
954
  action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
958
955
  error: z.ZodUnion<[z.ZodObject<{
959
956
  type: z.ZodLiteral<"uncategorized_error">;
@@ -1001,7 +998,7 @@ export declare const encode_credential_action_attempt: z.ZodDiscriminatedUnion<"
1001
998
  type: "credential_cannot_be_reissued";
1002
999
  message: string;
1003
1000
  }>]>;
1004
- }>, "strip", z.ZodTypeAny, {
1001
+ }, "strip", z.ZodTypeAny, {
1005
1002
  error: {
1006
1003
  type: "uncategorized_error";
1007
1004
  message: string;
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"LOCK_DOOR">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,16 +19,15 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "LOCK_DOOR";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"LOCK_DOOR">;
31
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
33
31
  error: null;
34
32
  status: "success";
35
33
  action_attempt_id: string;
@@ -41,13 +39,12 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
41
39
  action_attempt_id: string;
42
40
  result: {};
43
41
  action_type: "LOCK_DOOR";
44
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  action_attempt_id: z.ZodString;
46
- status: z.ZodEnum<["pending", "success", "error"]>;
47
- }, {
44
+ } & {
48
45
  status: z.ZodLiteral<"error">;
49
46
  result: z.ZodNull;
50
- }>, {
47
+ } & {
51
48
  action_type: z.ZodLiteral<"LOCK_DOOR">;
52
49
  error: z.ZodObject<{
53
50
  type: z.ZodString;
@@ -59,7 +56,7 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
59
56
  type: string;
60
57
  message: string;
61
58
  }>;
62
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
63
60
  error: {
64
61
  type: string;
65
62
  message: string;
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const push_thermostat_programs_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const push_thermostat_programs_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,16 +19,15 @@ export declare const push_thermostat_programs_action_attempt: z.ZodDiscriminated
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "PUSH_THERMOSTAT_PROGRAMS";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
31
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
33
31
  error: null;
34
32
  status: "success";
35
33
  action_attempt_id: string;
@@ -41,13 +39,12 @@ export declare const push_thermostat_programs_action_attempt: z.ZodDiscriminated
41
39
  action_attempt_id: string;
42
40
  result: {};
43
41
  action_type: "PUSH_THERMOSTAT_PROGRAMS";
44
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  action_attempt_id: z.ZodString;
46
- status: z.ZodEnum<["pending", "success", "error"]>;
47
- }, {
44
+ } & {
48
45
  status: z.ZodLiteral<"error">;
49
46
  result: z.ZodNull;
50
- }>, {
47
+ } & {
51
48
  action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
52
49
  error: z.ZodObject<{
53
50
  type: z.ZodString;
@@ -59,7 +56,7 @@ export declare const push_thermostat_programs_action_attempt: z.ZodDiscriminated
59
56
  type: string;
60
57
  message: string;
61
58
  }>;
62
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
63
60
  error: {
64
61
  type: string;
65
62
  message: string;
@@ -1,14 +1,13 @@
1
1
  import { z } from 'zod';
2
- export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
2
+ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
3
  action_attempt_id: z.ZodString;
4
- status: z.ZodEnum<["pending", "success", "error"]>;
5
- }, {
4
+ } & {
6
5
  status: z.ZodLiteral<"pending">;
7
6
  result: z.ZodNull;
8
7
  error: z.ZodNull;
9
- }>, {
8
+ } & {
10
9
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
11
- }>, "strip", z.ZodTypeAny, {
10
+ }, "strip", z.ZodTypeAny, {
12
11
  error: null;
13
12
  status: "pending";
14
13
  action_attempt_id: string;
@@ -20,16 +19,15 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
20
19
  action_attempt_id: string;
21
20
  result: null;
22
21
  action_type: "RESET_SANDBOX_WORKSPACE";
23
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
22
+ }>, z.ZodObject<{
24
23
  action_attempt_id: z.ZodString;
25
- status: z.ZodEnum<["pending", "success", "error"]>;
26
- }, {
24
+ } & {
27
25
  status: z.ZodLiteral<"success">;
28
26
  error: z.ZodNull;
29
- }>, {
27
+ } & {
30
28
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
31
29
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
32
- }>, "strip", z.ZodTypeAny, {
30
+ }, "strip", z.ZodTypeAny, {
33
31
  error: null;
34
32
  status: "success";
35
33
  action_attempt_id: string;
@@ -41,13 +39,12 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
41
39
  action_attempt_id: string;
42
40
  result: {};
43
41
  action_type: "RESET_SANDBOX_WORKSPACE";
44
- }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
42
+ }>, z.ZodObject<{
45
43
  action_attempt_id: z.ZodString;
46
- status: z.ZodEnum<["pending", "success", "error"]>;
47
- }, {
44
+ } & {
48
45
  status: z.ZodLiteral<"error">;
49
46
  result: z.ZodNull;
50
- }>, {
47
+ } & {
51
48
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
52
49
  error: z.ZodObject<{
53
50
  type: z.ZodString;
@@ -59,7 +56,7 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
59
56
  type: string;
60
57
  message: string;
61
58
  }>;
62
- }>, "strip", z.ZodTypeAny, {
59
+ }, "strip", z.ZodTypeAny, {
63
60
  error: {
64
61
  type: string;
65
62
  message: string;