@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.
- package/dist/connect.d.cts +2793 -1343
- package/dist/devicedb.d.cts +199 -795
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -40
- package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
- package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
- package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
- package/lib/seam/connect/models/devices/device.d.ts +188 -1036
- package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
- package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
- package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
- package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
- package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
- package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
- package/lib/seam/connect/models/events/devices.d.ts +412 -312
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
- package/lib/seam/connect/models/events/phones.d.ts +14 -10
- package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/devicedb/models/device-model.d.ts +6 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
- package/lib/seam/devicedb/route-specs.d.ts +132 -730
- package/package.json +5 -1
|
@@ -1,11 +1,14 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
3
|
-
error: z.ZodNull;
|
|
4
|
-
status: z.ZodLiteral<"pending">;
|
|
2
|
+
export declare const action_attempt: z.ZodUnion<[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
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
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
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
50
59
|
type: string;
|
|
51
60
|
message: string;
|
|
52
61
|
}>;
|
|
53
|
-
}
|
|
62
|
+
}>, "strip", z.ZodTypeAny, {
|
|
54
63
|
error: {
|
|
55
64
|
type: string;
|
|
56
65
|
message: string;
|
|
@@ -68,13 +77,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
68
77
|
action_attempt_id: string;
|
|
69
78
|
result: null;
|
|
70
79
|
action_type: "LOCK_DOOR";
|
|
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<"UNLOCK_DOOR">;
|
|
77
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
86
98
|
action_attempt_id: string;
|
|
87
99
|
result: null;
|
|
88
100
|
action_type: "UNLOCK_DOOR";
|
|
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<"UNLOCK_DOOR">;
|
|
94
109
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
95
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
104
119
|
action_attempt_id: string;
|
|
105
120
|
result: {};
|
|
106
121
|
action_type: "UNLOCK_DOOR";
|
|
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<"UNLOCK_DOOR">;
|
|
112
130
|
error: z.ZodObject<{
|
|
113
131
|
type: z.ZodString;
|
|
@@ -119,7 +137,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
119
137
|
type: string;
|
|
120
138
|
message: string;
|
|
121
139
|
}>;
|
|
122
|
-
}
|
|
140
|
+
}>, "strip", z.ZodTypeAny, {
|
|
123
141
|
error: {
|
|
124
142
|
type: string;
|
|
125
143
|
message: string;
|
|
@@ -137,13 +155,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
137
155
|
action_attempt_id: string;
|
|
138
156
|
result: null;
|
|
139
157
|
action_type: "UNLOCK_DOOR";
|
|
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<"RESET_SANDBOX_WORKSPACE">;
|
|
146
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
155
176
|
action_attempt_id: string;
|
|
156
177
|
result: null;
|
|
157
178
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
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<"RESET_SANDBOX_WORKSPACE">;
|
|
163
187
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
164
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
173
197
|
action_attempt_id: string;
|
|
174
198
|
result: {};
|
|
175
199
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
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<"RESET_SANDBOX_WORKSPACE">;
|
|
181
208
|
error: z.ZodObject<{
|
|
182
209
|
type: z.ZodString;
|
|
@@ -188,7 +215,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
188
215
|
type: string;
|
|
189
216
|
message: string;
|
|
190
217
|
}>;
|
|
191
|
-
}
|
|
218
|
+
}>, "strip", z.ZodTypeAny, {
|
|
192
219
|
error: {
|
|
193
220
|
type: string;
|
|
194
221
|
message: string;
|
|
@@ -206,13 +233,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
206
233
|
action_attempt_id: string;
|
|
207
234
|
result: null;
|
|
208
235
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
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<"SET_COOL">;
|
|
215
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
224
254
|
action_attempt_id: string;
|
|
225
255
|
result: null;
|
|
226
256
|
action_type: "SET_COOL";
|
|
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<"SET_COOL">;
|
|
232
265
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
233
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
242
275
|
action_attempt_id: string;
|
|
243
276
|
result: {};
|
|
244
277
|
action_type: "SET_COOL";
|
|
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<"SET_COOL">;
|
|
250
286
|
error: z.ZodObject<{
|
|
251
287
|
type: z.ZodString;
|
|
@@ -257,7 +293,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
257
293
|
type: string;
|
|
258
294
|
message: string;
|
|
259
295
|
}>;
|
|
260
|
-
}
|
|
296
|
+
}>, "strip", z.ZodTypeAny, {
|
|
261
297
|
error: {
|
|
262
298
|
type: string;
|
|
263
299
|
message: string;
|
|
@@ -275,13 +311,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
275
311
|
action_attempt_id: string;
|
|
276
312
|
result: null;
|
|
277
313
|
action_type: "SET_COOL";
|
|
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<"SET_HEAT">;
|
|
284
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
293
332
|
action_attempt_id: string;
|
|
294
333
|
result: null;
|
|
295
334
|
action_type: "SET_HEAT";
|
|
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<"SET_HEAT">;
|
|
301
343
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
302
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
311
353
|
action_attempt_id: string;
|
|
312
354
|
result: {};
|
|
313
355
|
action_type: "SET_HEAT";
|
|
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<"SET_HEAT">;
|
|
319
364
|
error: z.ZodObject<{
|
|
320
365
|
type: z.ZodString;
|
|
@@ -326,7 +371,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
326
371
|
type: string;
|
|
327
372
|
message: string;
|
|
328
373
|
}>;
|
|
329
|
-
}
|
|
374
|
+
}>, "strip", z.ZodTypeAny, {
|
|
330
375
|
error: {
|
|
331
376
|
type: string;
|
|
332
377
|
message: string;
|
|
@@ -344,13 +389,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
344
389
|
action_attempt_id: string;
|
|
345
390
|
result: null;
|
|
346
391
|
action_type: "SET_HEAT";
|
|
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<"SET_HEAT_COOL">;
|
|
353
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
362
410
|
action_attempt_id: string;
|
|
363
411
|
result: null;
|
|
364
412
|
action_type: "SET_HEAT_COOL";
|
|
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<"SET_HEAT_COOL">;
|
|
370
421
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
371
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
380
431
|
action_attempt_id: string;
|
|
381
432
|
result: {};
|
|
382
433
|
action_type: "SET_HEAT_COOL";
|
|
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<"SET_HEAT_COOL">;
|
|
388
442
|
error: z.ZodObject<{
|
|
389
443
|
type: z.ZodString;
|
|
@@ -395,7 +449,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
395
449
|
type: string;
|
|
396
450
|
message: string;
|
|
397
451
|
}>;
|
|
398
|
-
}
|
|
452
|
+
}>, "strip", z.ZodTypeAny, {
|
|
399
453
|
error: {
|
|
400
454
|
type: string;
|
|
401
455
|
message: string;
|
|
@@ -413,13 +467,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
413
467
|
action_attempt_id: string;
|
|
414
468
|
result: null;
|
|
415
469
|
action_type: "SET_HEAT_COOL";
|
|
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<"SET_FAN_MODE">;
|
|
422
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
431
488
|
action_attempt_id: string;
|
|
432
489
|
result: null;
|
|
433
490
|
action_type: "SET_FAN_MODE";
|
|
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<"SET_FAN_MODE">;
|
|
439
499
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
440
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
449
509
|
action_attempt_id: string;
|
|
450
510
|
result: {};
|
|
451
511
|
action_type: "SET_FAN_MODE";
|
|
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<"SET_FAN_MODE">;
|
|
457
520
|
error: z.ZodObject<{
|
|
458
521
|
type: z.ZodString;
|
|
@@ -464,7 +527,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
464
527
|
type: string;
|
|
465
528
|
message: string;
|
|
466
529
|
}>;
|
|
467
|
-
}
|
|
530
|
+
}>, "strip", z.ZodTypeAny, {
|
|
468
531
|
error: {
|
|
469
532
|
type: string;
|
|
470
533
|
message: string;
|
|
@@ -482,13 +545,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
482
545
|
action_attempt_id: string;
|
|
483
546
|
result: null;
|
|
484
547
|
action_type: "SET_FAN_MODE";
|
|
485
|
-
}>, z.ZodObject<{
|
|
486
|
-
error: z.ZodNull;
|
|
487
|
-
status: z.ZodLiteral<"pending">;
|
|
548
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
488
549
|
action_attempt_id: z.ZodString;
|
|
550
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
551
|
+
}, {
|
|
552
|
+
status: z.ZodLiteral<"pending">;
|
|
489
553
|
result: z.ZodNull;
|
|
554
|
+
error: z.ZodNull;
|
|
555
|
+
}>, {
|
|
490
556
|
action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
|
|
491
|
-
}
|
|
557
|
+
}>, "strip", z.ZodTypeAny, {
|
|
492
558
|
error: null;
|
|
493
559
|
status: "pending";
|
|
494
560
|
action_attempt_id: string;
|
|
@@ -500,13 +566,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
500
566
|
action_attempt_id: string;
|
|
501
567
|
result: null;
|
|
502
568
|
action_type: "SET_THERMOSTAT_OFF";
|
|
503
|
-
}>, z.ZodObject<{
|
|
504
|
-
error: z.ZodNull;
|
|
505
|
-
status: z.ZodLiteral<"success">;
|
|
569
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
506
570
|
action_attempt_id: z.ZodString;
|
|
571
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
572
|
+
}, {
|
|
573
|
+
status: z.ZodLiteral<"success">;
|
|
574
|
+
error: z.ZodNull;
|
|
575
|
+
}>, {
|
|
507
576
|
action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
|
|
508
577
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
509
|
-
}
|
|
578
|
+
}>, "strip", z.ZodTypeAny, {
|
|
510
579
|
error: null;
|
|
511
580
|
status: "success";
|
|
512
581
|
action_attempt_id: string;
|
|
@@ -518,10 +587,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
518
587
|
action_attempt_id: string;
|
|
519
588
|
result: {};
|
|
520
589
|
action_type: "SET_THERMOSTAT_OFF";
|
|
521
|
-
}>, z.ZodObject<{
|
|
522
|
-
status: z.ZodLiteral<"error">;
|
|
590
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
523
591
|
action_attempt_id: z.ZodString;
|
|
592
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
593
|
+
}, {
|
|
594
|
+
status: z.ZodLiteral<"error">;
|
|
524
595
|
result: z.ZodNull;
|
|
596
|
+
}>, {
|
|
525
597
|
action_type: z.ZodLiteral<"SET_THERMOSTAT_OFF">;
|
|
526
598
|
error: z.ZodObject<{
|
|
527
599
|
type: z.ZodString;
|
|
@@ -533,7 +605,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
533
605
|
type: string;
|
|
534
606
|
message: string;
|
|
535
607
|
}>;
|
|
536
|
-
}
|
|
608
|
+
}>, "strip", z.ZodTypeAny, {
|
|
537
609
|
error: {
|
|
538
610
|
type: string;
|
|
539
611
|
message: string;
|
|
@@ -551,13 +623,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
551
623
|
action_attempt_id: string;
|
|
552
624
|
result: null;
|
|
553
625
|
action_type: "SET_THERMOSTAT_OFF";
|
|
554
|
-
}>, z.ZodObject<{
|
|
555
|
-
error: z.ZodNull;
|
|
556
|
-
status: z.ZodLiteral<"pending">;
|
|
626
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
557
627
|
action_attempt_id: z.ZodString;
|
|
628
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
629
|
+
}, {
|
|
630
|
+
status: z.ZodLiteral<"pending">;
|
|
558
631
|
result: z.ZodNull;
|
|
632
|
+
error: z.ZodNull;
|
|
633
|
+
}>, {
|
|
559
634
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
560
|
-
}
|
|
635
|
+
}>, "strip", z.ZodTypeAny, {
|
|
561
636
|
error: null;
|
|
562
637
|
status: "pending";
|
|
563
638
|
action_attempt_id: string;
|
|
@@ -569,13 +644,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
569
644
|
action_attempt_id: string;
|
|
570
645
|
result: null;
|
|
571
646
|
action_type: "SYNC_ACCESS_CODES";
|
|
572
|
-
}>, z.ZodObject<{
|
|
573
|
-
error: z.ZodNull;
|
|
574
|
-
status: z.ZodLiteral<"success">;
|
|
647
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
575
648
|
action_attempt_id: z.ZodString;
|
|
649
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
650
|
+
}, {
|
|
651
|
+
status: z.ZodLiteral<"success">;
|
|
652
|
+
error: z.ZodNull;
|
|
653
|
+
}>, {
|
|
576
654
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
577
655
|
result: z.ZodAny;
|
|
578
|
-
}
|
|
656
|
+
}>, "strip", z.ZodTypeAny, {
|
|
579
657
|
error: null;
|
|
580
658
|
status: "success";
|
|
581
659
|
action_attempt_id: string;
|
|
@@ -587,10 +665,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
587
665
|
action_attempt_id: string;
|
|
588
666
|
action_type: "SYNC_ACCESS_CODES";
|
|
589
667
|
result?: any;
|
|
590
|
-
}>, z.ZodObject<{
|
|
591
|
-
status: z.ZodLiteral<"error">;
|
|
668
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
592
669
|
action_attempt_id: z.ZodString;
|
|
670
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
671
|
+
}, {
|
|
672
|
+
status: z.ZodLiteral<"error">;
|
|
593
673
|
result: z.ZodNull;
|
|
674
|
+
}>, {
|
|
594
675
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
595
676
|
error: z.ZodObject<{
|
|
596
677
|
type: z.ZodString;
|
|
@@ -602,7 +683,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
602
683
|
type: string;
|
|
603
684
|
message: string;
|
|
604
685
|
}>;
|
|
605
|
-
}
|
|
686
|
+
}>, "strip", z.ZodTypeAny, {
|
|
606
687
|
error: {
|
|
607
688
|
type: string;
|
|
608
689
|
message: string;
|
|
@@ -620,13 +701,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
620
701
|
action_attempt_id: string;
|
|
621
702
|
result: null;
|
|
622
703
|
action_type: "SYNC_ACCESS_CODES";
|
|
623
|
-
}>, z.ZodObject<{
|
|
624
|
-
error: z.ZodNull;
|
|
625
|
-
status: z.ZodLiteral<"pending">;
|
|
704
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
626
705
|
action_attempt_id: z.ZodString;
|
|
706
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
707
|
+
}, {
|
|
708
|
+
status: z.ZodLiteral<"pending">;
|
|
627
709
|
result: z.ZodNull;
|
|
710
|
+
error: z.ZodNull;
|
|
711
|
+
}>, {
|
|
628
712
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
629
|
-
}
|
|
713
|
+
}>, "strip", z.ZodTypeAny, {
|
|
630
714
|
error: null;
|
|
631
715
|
status: "pending";
|
|
632
716
|
action_attempt_id: string;
|
|
@@ -638,13 +722,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
638
722
|
action_attempt_id: string;
|
|
639
723
|
result: null;
|
|
640
724
|
action_type: "CREATE_ACCESS_CODE";
|
|
641
|
-
}>, z.ZodObject<{
|
|
642
|
-
error: z.ZodNull;
|
|
643
|
-
status: z.ZodLiteral<"success">;
|
|
725
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
644
726
|
action_attempt_id: z.ZodString;
|
|
727
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
728
|
+
}, {
|
|
729
|
+
status: z.ZodLiteral<"success">;
|
|
730
|
+
error: z.ZodNull;
|
|
731
|
+
}>, {
|
|
645
732
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
646
733
|
result: z.ZodAny;
|
|
647
|
-
}
|
|
734
|
+
}>, "strip", z.ZodTypeAny, {
|
|
648
735
|
error: null;
|
|
649
736
|
status: "success";
|
|
650
737
|
action_attempt_id: string;
|
|
@@ -656,10 +743,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
656
743
|
action_attempt_id: string;
|
|
657
744
|
action_type: "CREATE_ACCESS_CODE";
|
|
658
745
|
result?: any;
|
|
659
|
-
}>, z.ZodObject<{
|
|
660
|
-
status: z.ZodLiteral<"error">;
|
|
746
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
661
747
|
action_attempt_id: z.ZodString;
|
|
748
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
749
|
+
}, {
|
|
750
|
+
status: z.ZodLiteral<"error">;
|
|
662
751
|
result: z.ZodNull;
|
|
752
|
+
}>, {
|
|
663
753
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
664
754
|
error: z.ZodObject<{
|
|
665
755
|
type: z.ZodString;
|
|
@@ -671,7 +761,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
671
761
|
type: string;
|
|
672
762
|
message: string;
|
|
673
763
|
}>;
|
|
674
|
-
}
|
|
764
|
+
}>, "strip", z.ZodTypeAny, {
|
|
675
765
|
error: {
|
|
676
766
|
type: string;
|
|
677
767
|
message: string;
|
|
@@ -689,13 +779,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
689
779
|
action_attempt_id: string;
|
|
690
780
|
result: null;
|
|
691
781
|
action_type: "CREATE_ACCESS_CODE";
|
|
692
|
-
}>, z.ZodObject<{
|
|
693
|
-
error: z.ZodNull;
|
|
694
|
-
status: z.ZodLiteral<"pending">;
|
|
782
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
695
783
|
action_attempt_id: z.ZodString;
|
|
784
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
785
|
+
}, {
|
|
786
|
+
status: z.ZodLiteral<"pending">;
|
|
696
787
|
result: z.ZodNull;
|
|
788
|
+
error: z.ZodNull;
|
|
789
|
+
}>, {
|
|
697
790
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
698
|
-
}
|
|
791
|
+
}>, "strip", z.ZodTypeAny, {
|
|
699
792
|
error: null;
|
|
700
793
|
status: "pending";
|
|
701
794
|
action_attempt_id: string;
|
|
@@ -707,13 +800,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
707
800
|
action_attempt_id: string;
|
|
708
801
|
result: null;
|
|
709
802
|
action_type: "DELETE_ACCESS_CODE";
|
|
710
|
-
}>, z.ZodObject<{
|
|
711
|
-
error: z.ZodNull;
|
|
712
|
-
status: z.ZodLiteral<"success">;
|
|
803
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
713
804
|
action_attempt_id: z.ZodString;
|
|
805
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
806
|
+
}, {
|
|
807
|
+
status: z.ZodLiteral<"success">;
|
|
808
|
+
error: z.ZodNull;
|
|
809
|
+
}>, {
|
|
714
810
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
715
811
|
result: z.ZodAny;
|
|
716
|
-
}
|
|
812
|
+
}>, "strip", z.ZodTypeAny, {
|
|
717
813
|
error: null;
|
|
718
814
|
status: "success";
|
|
719
815
|
action_attempt_id: string;
|
|
@@ -725,10 +821,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
725
821
|
action_attempt_id: string;
|
|
726
822
|
action_type: "DELETE_ACCESS_CODE";
|
|
727
823
|
result?: any;
|
|
728
|
-
}>, z.ZodObject<{
|
|
729
|
-
status: z.ZodLiteral<"error">;
|
|
824
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
730
825
|
action_attempt_id: z.ZodString;
|
|
826
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
827
|
+
}, {
|
|
828
|
+
status: z.ZodLiteral<"error">;
|
|
731
829
|
result: z.ZodNull;
|
|
830
|
+
}>, {
|
|
732
831
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
733
832
|
error: z.ZodObject<{
|
|
734
833
|
type: z.ZodString;
|
|
@@ -740,7 +839,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
740
839
|
type: string;
|
|
741
840
|
message: string;
|
|
742
841
|
}>;
|
|
743
|
-
}
|
|
842
|
+
}>, "strip", z.ZodTypeAny, {
|
|
744
843
|
error: {
|
|
745
844
|
type: string;
|
|
746
845
|
message: string;
|
|
@@ -758,13 +857,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
758
857
|
action_attempt_id: string;
|
|
759
858
|
result: null;
|
|
760
859
|
action_type: "DELETE_ACCESS_CODE";
|
|
761
|
-
}>, z.ZodObject<{
|
|
762
|
-
error: z.ZodNull;
|
|
763
|
-
status: z.ZodLiteral<"pending">;
|
|
860
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
764
861
|
action_attempt_id: z.ZodString;
|
|
862
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
863
|
+
}, {
|
|
864
|
+
status: z.ZodLiteral<"pending">;
|
|
765
865
|
result: z.ZodNull;
|
|
866
|
+
error: z.ZodNull;
|
|
867
|
+
}>, {
|
|
766
868
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
767
|
-
}
|
|
869
|
+
}>, "strip", z.ZodTypeAny, {
|
|
768
870
|
error: null;
|
|
769
871
|
status: "pending";
|
|
770
872
|
action_attempt_id: string;
|
|
@@ -776,13 +878,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
776
878
|
action_attempt_id: string;
|
|
777
879
|
result: null;
|
|
778
880
|
action_type: "UPDATE_ACCESS_CODE";
|
|
779
|
-
}>, z.ZodObject<{
|
|
780
|
-
error: z.ZodNull;
|
|
781
|
-
status: z.ZodLiteral<"success">;
|
|
881
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
782
882
|
action_attempt_id: z.ZodString;
|
|
883
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
884
|
+
}, {
|
|
885
|
+
status: z.ZodLiteral<"success">;
|
|
886
|
+
error: z.ZodNull;
|
|
887
|
+
}>, {
|
|
783
888
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
784
889
|
result: z.ZodAny;
|
|
785
|
-
}
|
|
890
|
+
}>, "strip", z.ZodTypeAny, {
|
|
786
891
|
error: null;
|
|
787
892
|
status: "success";
|
|
788
893
|
action_attempt_id: string;
|
|
@@ -794,10 +899,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
794
899
|
action_attempt_id: string;
|
|
795
900
|
action_type: "UPDATE_ACCESS_CODE";
|
|
796
901
|
result?: any;
|
|
797
|
-
}>, z.ZodObject<{
|
|
798
|
-
status: z.ZodLiteral<"error">;
|
|
902
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
799
903
|
action_attempt_id: z.ZodString;
|
|
904
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
905
|
+
}, {
|
|
906
|
+
status: z.ZodLiteral<"error">;
|
|
800
907
|
result: z.ZodNull;
|
|
908
|
+
}>, {
|
|
801
909
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
802
910
|
error: z.ZodObject<{
|
|
803
911
|
type: z.ZodString;
|
|
@@ -809,7 +917,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
809
917
|
type: string;
|
|
810
918
|
message: string;
|
|
811
919
|
}>;
|
|
812
|
-
}
|
|
920
|
+
}>, "strip", z.ZodTypeAny, {
|
|
813
921
|
error: {
|
|
814
922
|
type: string;
|
|
815
923
|
message: string;
|
|
@@ -827,13 +935,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
827
935
|
action_attempt_id: string;
|
|
828
936
|
result: null;
|
|
829
937
|
action_type: "UPDATE_ACCESS_CODE";
|
|
830
|
-
}>, z.ZodObject<{
|
|
831
|
-
error: z.ZodNull;
|
|
832
|
-
status: z.ZodLiteral<"pending">;
|
|
938
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
833
939
|
action_attempt_id: z.ZodString;
|
|
940
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
941
|
+
}, {
|
|
942
|
+
status: z.ZodLiteral<"pending">;
|
|
834
943
|
result: z.ZodNull;
|
|
944
|
+
error: z.ZodNull;
|
|
945
|
+
}>, {
|
|
835
946
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
836
|
-
}
|
|
947
|
+
}>, "strip", z.ZodTypeAny, {
|
|
837
948
|
error: null;
|
|
838
949
|
status: "pending";
|
|
839
950
|
action_attempt_id: string;
|
|
@@ -845,13 +956,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
845
956
|
action_attempt_id: string;
|
|
846
957
|
result: null;
|
|
847
958
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
848
|
-
}>, z.ZodObject<{
|
|
849
|
-
error: z.ZodNull;
|
|
850
|
-
status: z.ZodLiteral<"success">;
|
|
959
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
851
960
|
action_attempt_id: z.ZodString;
|
|
961
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
962
|
+
}, {
|
|
963
|
+
status: z.ZodLiteral<"success">;
|
|
964
|
+
error: z.ZodNull;
|
|
965
|
+
}>, {
|
|
852
966
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
853
967
|
result: z.ZodAny;
|
|
854
|
-
}
|
|
968
|
+
}>, "strip", z.ZodTypeAny, {
|
|
855
969
|
error: null;
|
|
856
970
|
status: "success";
|
|
857
971
|
action_attempt_id: string;
|
|
@@ -863,10 +977,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
863
977
|
action_attempt_id: string;
|
|
864
978
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
865
979
|
result?: any;
|
|
866
|
-
}>, z.ZodObject<{
|
|
867
|
-
status: z.ZodLiteral<"error">;
|
|
980
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
868
981
|
action_attempt_id: z.ZodString;
|
|
982
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
983
|
+
}, {
|
|
984
|
+
status: z.ZodLiteral<"error">;
|
|
869
985
|
result: z.ZodNull;
|
|
986
|
+
}>, {
|
|
870
987
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
871
988
|
error: z.ZodObject<{
|
|
872
989
|
type: z.ZodString;
|
|
@@ -878,7 +995,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
878
995
|
type: string;
|
|
879
996
|
message: string;
|
|
880
997
|
}>;
|
|
881
|
-
}
|
|
998
|
+
}>, "strip", z.ZodTypeAny, {
|
|
882
999
|
error: {
|
|
883
1000
|
type: string;
|
|
884
1001
|
message: string;
|
|
@@ -896,13 +1013,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
896
1013
|
action_attempt_id: string;
|
|
897
1014
|
result: null;
|
|
898
1015
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
899
|
-
}>, z.ZodObject<{
|
|
900
|
-
error: z.ZodNull;
|
|
901
|
-
status: z.ZodLiteral<"pending">;
|
|
1016
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
902
1017
|
action_attempt_id: z.ZodString;
|
|
1018
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1019
|
+
}, {
|
|
1020
|
+
status: z.ZodLiteral<"pending">;
|
|
903
1021
|
result: z.ZodNull;
|
|
1022
|
+
error: z.ZodNull;
|
|
1023
|
+
}>, {
|
|
904
1024
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
905
|
-
}
|
|
1025
|
+
}>, "strip", z.ZodTypeAny, {
|
|
906
1026
|
error: null;
|
|
907
1027
|
status: "pending";
|
|
908
1028
|
action_attempt_id: string;
|
|
@@ -914,13 +1034,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
914
1034
|
action_attempt_id: string;
|
|
915
1035
|
result: null;
|
|
916
1036
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
917
|
-
}>, z.ZodObject<{
|
|
918
|
-
error: z.ZodNull;
|
|
919
|
-
status: z.ZodLiteral<"success">;
|
|
1037
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
920
1038
|
action_attempt_id: z.ZodString;
|
|
1039
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1040
|
+
}, {
|
|
1041
|
+
status: z.ZodLiteral<"success">;
|
|
1042
|
+
error: z.ZodNull;
|
|
1043
|
+
}>, {
|
|
921
1044
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
922
1045
|
result: z.ZodAny;
|
|
923
|
-
}
|
|
1046
|
+
}>, "strip", z.ZodTypeAny, {
|
|
924
1047
|
error: null;
|
|
925
1048
|
status: "success";
|
|
926
1049
|
action_attempt_id: string;
|
|
@@ -932,10 +1055,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
932
1055
|
action_attempt_id: string;
|
|
933
1056
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
934
1057
|
result?: any;
|
|
935
|
-
}>, z.ZodObject<{
|
|
936
|
-
status: z.ZodLiteral<"error">;
|
|
1058
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
937
1059
|
action_attempt_id: z.ZodString;
|
|
1060
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1061
|
+
}, {
|
|
1062
|
+
status: z.ZodLiteral<"error">;
|
|
938
1063
|
result: z.ZodNull;
|
|
1064
|
+
}>, {
|
|
939
1065
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
940
1066
|
error: z.ZodObject<{
|
|
941
1067
|
type: z.ZodString;
|
|
@@ -947,7 +1073,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
947
1073
|
type: string;
|
|
948
1074
|
message: string;
|
|
949
1075
|
}>;
|
|
950
|
-
}
|
|
1076
|
+
}>, "strip", z.ZodTypeAny, {
|
|
951
1077
|
error: {
|
|
952
1078
|
type: string;
|
|
953
1079
|
message: string;
|
|
@@ -965,13 +1091,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
965
1091
|
action_attempt_id: string;
|
|
966
1092
|
result: null;
|
|
967
1093
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
968
|
-
}>, z.ZodObject<{
|
|
969
|
-
error: z.ZodNull;
|
|
970
|
-
status: z.ZodLiteral<"pending">;
|
|
1094
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
971
1095
|
action_attempt_id: z.ZodString;
|
|
1096
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1097
|
+
}, {
|
|
1098
|
+
status: z.ZodLiteral<"pending">;
|
|
972
1099
|
result: z.ZodNull;
|
|
1100
|
+
error: z.ZodNull;
|
|
1101
|
+
}>, {
|
|
973
1102
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
974
|
-
}
|
|
1103
|
+
}>, "strip", z.ZodTypeAny, {
|
|
975
1104
|
error: null;
|
|
976
1105
|
status: "pending";
|
|
977
1106
|
action_attempt_id: string;
|
|
@@ -983,13 +1112,16 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
983
1112
|
action_attempt_id: string;
|
|
984
1113
|
result: null;
|
|
985
1114
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
986
|
-
}>, z.ZodObject<{
|
|
987
|
-
error: z.ZodNull;
|
|
988
|
-
status: z.ZodLiteral<"success">;
|
|
1115
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
989
1116
|
action_attempt_id: z.ZodString;
|
|
1117
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1118
|
+
}, {
|
|
1119
|
+
status: z.ZodLiteral<"success">;
|
|
1120
|
+
error: z.ZodNull;
|
|
1121
|
+
}>, {
|
|
990
1122
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
991
1123
|
result: z.ZodAny;
|
|
992
|
-
}
|
|
1124
|
+
}>, "strip", z.ZodTypeAny, {
|
|
993
1125
|
error: null;
|
|
994
1126
|
status: "success";
|
|
995
1127
|
action_attempt_id: string;
|
|
@@ -1001,10 +1133,13 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
1001
1133
|
action_attempt_id: string;
|
|
1002
1134
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
1003
1135
|
result?: any;
|
|
1004
|
-
}>, z.ZodObject<{
|
|
1005
|
-
status: z.ZodLiteral<"error">;
|
|
1136
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1006
1137
|
action_attempt_id: z.ZodString;
|
|
1138
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
1139
|
+
}, {
|
|
1140
|
+
status: z.ZodLiteral<"error">;
|
|
1007
1141
|
result: z.ZodNull;
|
|
1142
|
+
}>, {
|
|
1008
1143
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
1009
1144
|
error: z.ZodObject<{
|
|
1010
1145
|
type: z.ZodString;
|
|
@@ -1016,7 +1151,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
|
1016
1151
|
type: string;
|
|
1017
1152
|
message: string;
|
|
1018
1153
|
}>;
|
|
1019
|
-
}
|
|
1154
|
+
}>, "strip", z.ZodTypeAny, {
|
|
1020
1155
|
error: {
|
|
1021
1156
|
type: string;
|
|
1022
1157
|
message: string;
|