@seamapi/types 1.210.0 → 1.211.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 (46) hide show
  1. package/dist/connect.d.cts +2793 -1343
  2. package/dist/devicedb.d.cts +199 -795
  3. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
  4. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
  5. package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
  7. package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
  8. package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
  9. package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
  10. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
  11. package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
  12. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
  13. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
  14. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
  15. package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
  16. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
  17. package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
  18. package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
  19. package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
  20. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
  21. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
  22. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
  23. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
  24. package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
  25. package/lib/seam/connect/models/devices/device.d.ts +188 -1036
  26. package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
  27. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
  28. package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
  29. package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
  30. package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
  31. package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
  32. package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
  33. package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
  34. package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
  35. package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
  36. package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
  37. package/lib/seam/connect/models/events/devices.d.ts +412 -312
  38. package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
  39. package/lib/seam/connect/models/events/phones.d.ts +14 -10
  40. package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
  41. package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
  42. package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
  43. package/lib/seam/devicedb/models/device-model.d.ts +6 -4
  44. package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
  45. package/lib/seam/devicedb/route-specs.d.ts +132 -730
  46. package/package.json +5 -1
@@ -9,12 +9,14 @@ export declare const common_action_attempt: z.ZodObject<{
9
9
  status: "error" | "pending" | "success";
10
10
  action_attempt_id: string;
11
11
  }>;
12
- export declare const common_pending_action_attempt: z.ZodObject<{
12
+ export declare const common_pending_action_attempt: z.ZodObject<z.objectUtil.extendShape<{
13
13
  action_attempt_id: z.ZodString;
14
+ status: z.ZodEnum<["pending", "success", "error"]>;
15
+ }, {
14
16
  status: z.ZodLiteral<"pending">;
15
17
  result: z.ZodNull;
16
18
  error: z.ZodNull;
17
- }, "strip", z.ZodTypeAny, {
19
+ }>, "strip", z.ZodTypeAny, {
18
20
  error: null;
19
21
  status: "pending";
20
22
  action_attempt_id: string;
@@ -25,11 +27,13 @@ export declare const common_pending_action_attempt: z.ZodObject<{
25
27
  action_attempt_id: string;
26
28
  result: null;
27
29
  }>;
28
- export declare const common_succeeded_action_attempt: z.ZodObject<{
30
+ export declare const common_succeeded_action_attempt: z.ZodObject<z.objectUtil.extendShape<{
29
31
  action_attempt_id: z.ZodString;
32
+ status: z.ZodEnum<["pending", "success", "error"]>;
33
+ }, {
30
34
  status: z.ZodLiteral<"success">;
31
35
  error: z.ZodNull;
32
- }, "strip", z.ZodTypeAny, {
36
+ }>, "strip", z.ZodTypeAny, {
33
37
  error: null;
34
38
  status: "success";
35
39
  action_attempt_id: string;
@@ -38,11 +42,13 @@ export declare const common_succeeded_action_attempt: z.ZodObject<{
38
42
  status: "success";
39
43
  action_attempt_id: string;
40
44
  }>;
41
- export declare const common_failed_action_attempt: z.ZodObject<{
45
+ export declare const common_failed_action_attempt: z.ZodObject<z.objectUtil.extendShape<{
42
46
  action_attempt_id: z.ZodString;
47
+ status: z.ZodEnum<["pending", "success", "error"]>;
48
+ }, {
43
49
  status: z.ZodLiteral<"error">;
44
50
  result: z.ZodNull;
45
- }, "strip", z.ZodTypeAny, {
51
+ }>, "strip", z.ZodTypeAny, {
46
52
  status: "error";
47
53
  action_attempt_id: string;
48
54
  result: null;
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const deprecated_action_attempts: readonly [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "SYNC_ACCESS_CODES";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
25
31
  result: z.ZodAny;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
35
41
  action_attempt_id: string;
36
42
  action_type: "SYNC_ACCESS_CODES";
37
43
  result?: any;
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;
@@ -68,13 +77,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
68
77
  action_attempt_id: string;
69
78
  result: null;
70
79
  action_type: "SYNC_ACCESS_CODES";
71
- }>, z.ZodObject<{
72
- error: z.ZodNull;
73
- status: z.ZodLiteral<"pending">;
80
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
74
81
  action_attempt_id: z.ZodString;
82
+ status: z.ZodEnum<["pending", "success", "error"]>;
83
+ }, {
84
+ status: z.ZodLiteral<"pending">;
75
85
  result: z.ZodNull;
86
+ error: z.ZodNull;
87
+ }>, {
76
88
  action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
77
- }, "strip", z.ZodTypeAny, {
89
+ }>, "strip", z.ZodTypeAny, {
78
90
  error: null;
79
91
  status: "pending";
80
92
  action_attempt_id: string;
@@ -86,13 +98,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
86
98
  action_attempt_id: string;
87
99
  result: null;
88
100
  action_type: "CREATE_ACCESS_CODE";
89
- }>, z.ZodObject<{
90
- error: z.ZodNull;
91
- status: z.ZodLiteral<"success">;
101
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
92
102
  action_attempt_id: z.ZodString;
103
+ status: z.ZodEnum<["pending", "success", "error"]>;
104
+ }, {
105
+ status: z.ZodLiteral<"success">;
106
+ error: z.ZodNull;
107
+ }>, {
93
108
  action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
94
109
  result: z.ZodAny;
95
- }, "strip", z.ZodTypeAny, {
110
+ }>, "strip", z.ZodTypeAny, {
96
111
  error: null;
97
112
  status: "success";
98
113
  action_attempt_id: string;
@@ -104,10 +119,13 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
104
119
  action_attempt_id: string;
105
120
  action_type: "CREATE_ACCESS_CODE";
106
121
  result?: any;
107
- }>, z.ZodObject<{
108
- status: z.ZodLiteral<"error">;
122
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
109
123
  action_attempt_id: z.ZodString;
124
+ status: z.ZodEnum<["pending", "success", "error"]>;
125
+ }, {
126
+ status: z.ZodLiteral<"error">;
110
127
  result: z.ZodNull;
128
+ }>, {
111
129
  action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
112
130
  error: z.ZodObject<{
113
131
  type: z.ZodString;
@@ -119,7 +137,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
119
137
  type: string;
120
138
  message: string;
121
139
  }>;
122
- }, "strip", z.ZodTypeAny, {
140
+ }>, "strip", z.ZodTypeAny, {
123
141
  error: {
124
142
  type: string;
125
143
  message: string;
@@ -137,13 +155,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
137
155
  action_attempt_id: string;
138
156
  result: null;
139
157
  action_type: "CREATE_ACCESS_CODE";
140
- }>, z.ZodObject<{
141
- error: z.ZodNull;
142
- status: z.ZodLiteral<"pending">;
158
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
143
159
  action_attempt_id: z.ZodString;
160
+ status: z.ZodEnum<["pending", "success", "error"]>;
161
+ }, {
162
+ status: z.ZodLiteral<"pending">;
144
163
  result: z.ZodNull;
164
+ error: z.ZodNull;
165
+ }>, {
145
166
  action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
146
- }, "strip", z.ZodTypeAny, {
167
+ }>, "strip", z.ZodTypeAny, {
147
168
  error: null;
148
169
  status: "pending";
149
170
  action_attempt_id: string;
@@ -155,13 +176,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
155
176
  action_attempt_id: string;
156
177
  result: null;
157
178
  action_type: "DELETE_ACCESS_CODE";
158
- }>, z.ZodObject<{
159
- error: z.ZodNull;
160
- status: z.ZodLiteral<"success">;
179
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
161
180
  action_attempt_id: z.ZodString;
181
+ status: z.ZodEnum<["pending", "success", "error"]>;
182
+ }, {
183
+ status: z.ZodLiteral<"success">;
184
+ error: z.ZodNull;
185
+ }>, {
162
186
  action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
163
187
  result: z.ZodAny;
164
- }, "strip", z.ZodTypeAny, {
188
+ }>, "strip", z.ZodTypeAny, {
165
189
  error: null;
166
190
  status: "success";
167
191
  action_attempt_id: string;
@@ -173,10 +197,13 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
173
197
  action_attempt_id: string;
174
198
  action_type: "DELETE_ACCESS_CODE";
175
199
  result?: any;
176
- }>, z.ZodObject<{
177
- status: z.ZodLiteral<"error">;
200
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
178
201
  action_attempt_id: z.ZodString;
202
+ status: z.ZodEnum<["pending", "success", "error"]>;
203
+ }, {
204
+ status: z.ZodLiteral<"error">;
179
205
  result: z.ZodNull;
206
+ }>, {
180
207
  action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
181
208
  error: z.ZodObject<{
182
209
  type: z.ZodString;
@@ -188,7 +215,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
188
215
  type: string;
189
216
  message: string;
190
217
  }>;
191
- }, "strip", z.ZodTypeAny, {
218
+ }>, "strip", z.ZodTypeAny, {
192
219
  error: {
193
220
  type: string;
194
221
  message: string;
@@ -206,13 +233,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
206
233
  action_attempt_id: string;
207
234
  result: null;
208
235
  action_type: "DELETE_ACCESS_CODE";
209
- }>, z.ZodObject<{
210
- error: z.ZodNull;
211
- status: z.ZodLiteral<"pending">;
236
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
212
237
  action_attempt_id: z.ZodString;
238
+ status: z.ZodEnum<["pending", "success", "error"]>;
239
+ }, {
240
+ status: z.ZodLiteral<"pending">;
213
241
  result: z.ZodNull;
242
+ error: z.ZodNull;
243
+ }>, {
214
244
  action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
215
- }, "strip", z.ZodTypeAny, {
245
+ }>, "strip", z.ZodTypeAny, {
216
246
  error: null;
217
247
  status: "pending";
218
248
  action_attempt_id: string;
@@ -224,13 +254,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
224
254
  action_attempt_id: string;
225
255
  result: null;
226
256
  action_type: "UPDATE_ACCESS_CODE";
227
- }>, z.ZodObject<{
228
- error: z.ZodNull;
229
- status: z.ZodLiteral<"success">;
257
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
230
258
  action_attempt_id: z.ZodString;
259
+ status: z.ZodEnum<["pending", "success", "error"]>;
260
+ }, {
261
+ status: z.ZodLiteral<"success">;
262
+ error: z.ZodNull;
263
+ }>, {
231
264
  action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
232
265
  result: z.ZodAny;
233
- }, "strip", z.ZodTypeAny, {
266
+ }>, "strip", z.ZodTypeAny, {
234
267
  error: null;
235
268
  status: "success";
236
269
  action_attempt_id: string;
@@ -242,10 +275,13 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
242
275
  action_attempt_id: string;
243
276
  action_type: "UPDATE_ACCESS_CODE";
244
277
  result?: any;
245
- }>, z.ZodObject<{
246
- status: z.ZodLiteral<"error">;
278
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
247
279
  action_attempt_id: z.ZodString;
280
+ status: z.ZodEnum<["pending", "success", "error"]>;
281
+ }, {
282
+ status: z.ZodLiteral<"error">;
248
283
  result: z.ZodNull;
284
+ }>, {
249
285
  action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
250
286
  error: z.ZodObject<{
251
287
  type: z.ZodString;
@@ -257,7 +293,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
257
293
  type: string;
258
294
  message: string;
259
295
  }>;
260
- }, "strip", z.ZodTypeAny, {
296
+ }>, "strip", z.ZodTypeAny, {
261
297
  error: {
262
298
  type: string;
263
299
  message: string;
@@ -275,13 +311,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
275
311
  action_attempt_id: string;
276
312
  result: null;
277
313
  action_type: "UPDATE_ACCESS_CODE";
278
- }>, z.ZodObject<{
279
- error: z.ZodNull;
280
- status: z.ZodLiteral<"pending">;
314
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
281
315
  action_attempt_id: z.ZodString;
316
+ status: z.ZodEnum<["pending", "success", "error"]>;
317
+ }, {
318
+ status: z.ZodLiteral<"pending">;
282
319
  result: z.ZodNull;
320
+ error: z.ZodNull;
321
+ }>, {
283
322
  action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
284
- }, "strip", z.ZodTypeAny, {
323
+ }>, "strip", z.ZodTypeAny, {
285
324
  error: null;
286
325
  status: "pending";
287
326
  action_attempt_id: string;
@@ -293,13 +332,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
293
332
  action_attempt_id: string;
294
333
  result: null;
295
334
  action_type: "CREATE_NOISE_THRESHOLD";
296
- }>, z.ZodObject<{
297
- error: z.ZodNull;
298
- status: z.ZodLiteral<"success">;
335
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
299
336
  action_attempt_id: z.ZodString;
337
+ status: z.ZodEnum<["pending", "success", "error"]>;
338
+ }, {
339
+ status: z.ZodLiteral<"success">;
340
+ error: z.ZodNull;
341
+ }>, {
300
342
  action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
301
343
  result: z.ZodAny;
302
- }, "strip", z.ZodTypeAny, {
344
+ }>, "strip", z.ZodTypeAny, {
303
345
  error: null;
304
346
  status: "success";
305
347
  action_attempt_id: string;
@@ -311,10 +353,13 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
311
353
  action_attempt_id: string;
312
354
  action_type: "CREATE_NOISE_THRESHOLD";
313
355
  result?: any;
314
- }>, z.ZodObject<{
315
- status: z.ZodLiteral<"error">;
356
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
316
357
  action_attempt_id: z.ZodString;
358
+ status: z.ZodEnum<["pending", "success", "error"]>;
359
+ }, {
360
+ status: z.ZodLiteral<"error">;
317
361
  result: z.ZodNull;
362
+ }>, {
318
363
  action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
319
364
  error: z.ZodObject<{
320
365
  type: z.ZodString;
@@ -326,7 +371,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
326
371
  type: string;
327
372
  message: string;
328
373
  }>;
329
- }, "strip", z.ZodTypeAny, {
374
+ }>, "strip", z.ZodTypeAny, {
330
375
  error: {
331
376
  type: string;
332
377
  message: string;
@@ -344,13 +389,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
344
389
  action_attempt_id: string;
345
390
  result: null;
346
391
  action_type: "CREATE_NOISE_THRESHOLD";
347
- }>, z.ZodObject<{
348
- error: z.ZodNull;
349
- status: z.ZodLiteral<"pending">;
392
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
350
393
  action_attempt_id: z.ZodString;
394
+ status: z.ZodEnum<["pending", "success", "error"]>;
395
+ }, {
396
+ status: z.ZodLiteral<"pending">;
351
397
  result: z.ZodNull;
398
+ error: z.ZodNull;
399
+ }>, {
352
400
  action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
353
- }, "strip", z.ZodTypeAny, {
401
+ }>, "strip", z.ZodTypeAny, {
354
402
  error: null;
355
403
  status: "pending";
356
404
  action_attempt_id: string;
@@ -362,13 +410,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
362
410
  action_attempt_id: string;
363
411
  result: null;
364
412
  action_type: "DELETE_NOISE_THRESHOLD";
365
- }>, z.ZodObject<{
366
- error: z.ZodNull;
367
- status: z.ZodLiteral<"success">;
413
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
368
414
  action_attempt_id: z.ZodString;
415
+ status: z.ZodEnum<["pending", "success", "error"]>;
416
+ }, {
417
+ status: z.ZodLiteral<"success">;
418
+ error: z.ZodNull;
419
+ }>, {
369
420
  action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
370
421
  result: z.ZodAny;
371
- }, "strip", z.ZodTypeAny, {
422
+ }>, "strip", z.ZodTypeAny, {
372
423
  error: null;
373
424
  status: "success";
374
425
  action_attempt_id: string;
@@ -380,10 +431,13 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
380
431
  action_attempt_id: string;
381
432
  action_type: "DELETE_NOISE_THRESHOLD";
382
433
  result?: any;
383
- }>, z.ZodObject<{
384
- status: z.ZodLiteral<"error">;
434
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
385
435
  action_attempt_id: z.ZodString;
436
+ status: z.ZodEnum<["pending", "success", "error"]>;
437
+ }, {
438
+ status: z.ZodLiteral<"error">;
386
439
  result: z.ZodNull;
440
+ }>, {
387
441
  action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
388
442
  error: z.ZodObject<{
389
443
  type: z.ZodString;
@@ -395,7 +449,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
395
449
  type: string;
396
450
  message: string;
397
451
  }>;
398
- }, "strip", z.ZodTypeAny, {
452
+ }>, "strip", z.ZodTypeAny, {
399
453
  error: {
400
454
  type: string;
401
455
  message: string;
@@ -413,13 +467,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
413
467
  action_attempt_id: string;
414
468
  result: null;
415
469
  action_type: "DELETE_NOISE_THRESHOLD";
416
- }>, z.ZodObject<{
417
- error: z.ZodNull;
418
- status: z.ZodLiteral<"pending">;
470
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
419
471
  action_attempt_id: z.ZodString;
472
+ status: z.ZodEnum<["pending", "success", "error"]>;
473
+ }, {
474
+ status: z.ZodLiteral<"pending">;
420
475
  result: z.ZodNull;
476
+ error: z.ZodNull;
477
+ }>, {
421
478
  action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
422
- }, "strip", z.ZodTypeAny, {
479
+ }>, "strip", z.ZodTypeAny, {
423
480
  error: null;
424
481
  status: "pending";
425
482
  action_attempt_id: string;
@@ -431,13 +488,16 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
431
488
  action_attempt_id: string;
432
489
  result: null;
433
490
  action_type: "UPDATE_NOISE_THRESHOLD";
434
- }>, z.ZodObject<{
435
- error: z.ZodNull;
436
- status: z.ZodLiteral<"success">;
491
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
437
492
  action_attempt_id: z.ZodString;
493
+ status: z.ZodEnum<["pending", "success", "error"]>;
494
+ }, {
495
+ status: z.ZodLiteral<"success">;
496
+ error: z.ZodNull;
497
+ }>, {
438
498
  action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
439
499
  result: z.ZodAny;
440
- }, "strip", z.ZodTypeAny, {
500
+ }>, "strip", z.ZodTypeAny, {
441
501
  error: null;
442
502
  status: "success";
443
503
  action_attempt_id: string;
@@ -449,10 +509,13 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
449
509
  action_attempt_id: string;
450
510
  action_type: "UPDATE_NOISE_THRESHOLD";
451
511
  result?: any;
452
- }>, z.ZodObject<{
453
- status: z.ZodLiteral<"error">;
512
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
454
513
  action_attempt_id: z.ZodString;
514
+ status: z.ZodEnum<["pending", "success", "error"]>;
515
+ }, {
516
+ status: z.ZodLiteral<"error">;
455
517
  result: z.ZodNull;
518
+ }>, {
456
519
  action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
457
520
  error: z.ZodObject<{
458
521
  type: z.ZodString;
@@ -464,7 +527,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<{
464
527
  type: string;
465
528
  message: string;
466
529
  }>;
467
- }, "strip", z.ZodTypeAny, {
530
+ }>, "strip", z.ZodTypeAny, {
468
531
  error: {
469
532
  type: string;
470
533
  message: string;
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"LOCK_DOOR">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "LOCK_DOOR";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"LOCK_DOOR">;
25
31
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
35
41
  action_attempt_id: string;
36
42
  result: {};
37
43
  action_type: "LOCK_DOOR";
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"LOCK_DOOR">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const lock_door_action_attempt: z.ZodDiscriminatedUnion<"status",
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;
@@ -1,11 +1,14 @@
1
1
  import { z } from 'zod';
2
- export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<{
3
- error: z.ZodNull;
4
- status: z.ZodLiteral<"pending">;
2
+ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
5
3
  action_attempt_id: z.ZodString;
4
+ status: z.ZodEnum<["pending", "success", "error"]>;
5
+ }, {
6
+ status: z.ZodLiteral<"pending">;
6
7
  result: z.ZodNull;
8
+ error: z.ZodNull;
9
+ }>, {
7
10
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
8
- }, "strip", z.ZodTypeAny, {
11
+ }>, "strip", z.ZodTypeAny, {
9
12
  error: null;
10
13
  status: "pending";
11
14
  action_attempt_id: string;
@@ -17,13 +20,16 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
17
20
  action_attempt_id: string;
18
21
  result: null;
19
22
  action_type: "RESET_SANDBOX_WORKSPACE";
20
- }>, z.ZodObject<{
21
- error: z.ZodNull;
22
- status: z.ZodLiteral<"success">;
23
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
23
24
  action_attempt_id: z.ZodString;
25
+ status: z.ZodEnum<["pending", "success", "error"]>;
26
+ }, {
27
+ status: z.ZodLiteral<"success">;
28
+ error: z.ZodNull;
29
+ }>, {
24
30
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
25
31
  result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
26
- }, "strip", z.ZodTypeAny, {
32
+ }>, "strip", z.ZodTypeAny, {
27
33
  error: null;
28
34
  status: "success";
29
35
  action_attempt_id: string;
@@ -35,10 +41,13 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
35
41
  action_attempt_id: string;
36
42
  result: {};
37
43
  action_type: "RESET_SANDBOX_WORKSPACE";
38
- }>, z.ZodObject<{
39
- status: z.ZodLiteral<"error">;
44
+ }>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
40
45
  action_attempt_id: z.ZodString;
46
+ status: z.ZodEnum<["pending", "success", "error"]>;
47
+ }, {
48
+ status: z.ZodLiteral<"error">;
41
49
  result: z.ZodNull;
50
+ }>, {
42
51
  action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
43
52
  error: z.ZodObject<{
44
53
  type: z.ZodString;
@@ -50,7 +59,7 @@ export declare const reset_sandbox_workspace_action_attempt: z.ZodDiscriminatedU
50
59
  type: string;
51
60
  message: string;
52
61
  }>;
53
- }, "strip", z.ZodTypeAny, {
62
+ }>, "strip", z.ZodTypeAny, {
54
63
  error: {
55
64
  type: string;
56
65
  message: string;