@seamapi/types 1.442.0 → 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.
- package/dist/connect.cjs +86 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1914 -1913
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +86 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
- package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
- package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
- package/lib/seam/connect/models/batches/batch.d.ts +128 -120
- package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
- package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
- package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
- package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
- package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
- package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
- package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.d.ts +368 -376
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
- package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
- package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
- package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
- package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
- package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
- package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
- package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
- package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
- package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
- package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
- package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
- package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
- package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
- package/lib/seam/connect/models/events/devices.d.ts +266 -266
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
- package/lib/seam/connect/models/events/phones.d.ts +8 -8
- package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
- package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
- package/lib/seam/connect/models/spaces/space.d.ts +6 -0
- package/lib/seam/connect/models/spaces/space.js +2 -0
- package/lib/seam/connect/models/spaces/space.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
- package/lib/seam/connect/openapi.d.ts +35 -0
- package/lib/seam/connect/openapi.js +82 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -0
- package/lib/seam/devicedb/models/device-model.d.ts +15 -15
- package/lib/seam/devicedb/route-specs.d.ts +12 -12
- package/package.json +8 -7
- package/src/lib/seam/connect/models/spaces/space.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +92 -0
- package/src/lib/seam/connect/route-types.ts +30 -0
- package/lib/seam/connect/internal/enums.d.ts +0 -1
- package/lib/seam/connect/internal/enums.js +0 -2
- package/lib/seam/connect/internal/enums.js.map +0 -1
- package/lib/seam/connect/internal/index.d.ts +0 -4
- package/lib/seam/connect/internal/index.js +0 -5
- package/lib/seam/connect/internal/index.js.map +0 -1
- package/lib/seam/connect/internal/model-types.d.ts +0 -2
- package/lib/seam/connect/internal/model-types.js +0 -2
- package/lib/seam/connect/internal/model-types.js.map +0 -1
- package/lib/seam/connect/internal/schemas.d.ts +0 -2
- package/lib/seam/connect/internal/schemas.js +0 -3
- package/lib/seam/connect/internal/schemas.js.map +0 -1
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const action_attempt: z.ZodUnion<[z.ZodObject<
|
|
2
|
+
export declare const action_attempt: z.ZodUnion<[z.ZodObject<{
|
|
3
3
|
action_attempt_id: z.ZodString;
|
|
4
|
-
|
|
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
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
20
19
|
action_attempt_id: string;
|
|
21
20
|
result: null;
|
|
22
21
|
action_type: "LOCK_DOOR";
|
|
23
|
-
}>, z.ZodObject<
|
|
22
|
+
}>, z.ZodObject<{
|
|
24
23
|
action_attempt_id: z.ZodString;
|
|
25
|
-
|
|
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
|
-
}
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
41
39
|
action_attempt_id: string;
|
|
42
40
|
result: {};
|
|
43
41
|
action_type: "LOCK_DOOR";
|
|
44
|
-
}>, z.ZodObject<
|
|
42
|
+
}>, z.ZodObject<{
|
|
45
43
|
action_attempt_id: z.ZodString;
|
|
46
|
-
|
|
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 action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
59
56
|
type: string;
|
|
60
57
|
message: string;
|
|
61
58
|
}>;
|
|
62
|
-
}
|
|
59
|
+
}, "strip", z.ZodTypeAny, {
|
|
63
60
|
error: {
|
|
64
61
|
type: string;
|
|
65
62
|
message: string;
|
|
@@ -77,16 +74,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
77
74
|
action_attempt_id: string;
|
|
78
75
|
result: null;
|
|
79
76
|
action_type: "LOCK_DOOR";
|
|
80
|
-
}>, z.ZodObject<
|
|
77
|
+
}>, z.ZodObject<{
|
|
81
78
|
action_attempt_id: z.ZodString;
|
|
82
|
-
|
|
83
|
-
}, {
|
|
79
|
+
} & {
|
|
84
80
|
status: z.ZodLiteral<"pending">;
|
|
85
81
|
result: z.ZodNull;
|
|
86
82
|
error: z.ZodNull;
|
|
87
|
-
}
|
|
83
|
+
} & {
|
|
88
84
|
action_type: z.ZodLiteral<"UNLOCK_DOOR">;
|
|
89
|
-
}
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
86
|
error: null;
|
|
91
87
|
status: "pending";
|
|
92
88
|
action_attempt_id: string;
|
|
@@ -98,16 +94,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
98
94
|
action_attempt_id: string;
|
|
99
95
|
result: null;
|
|
100
96
|
action_type: "UNLOCK_DOOR";
|
|
101
|
-
}>, z.ZodObject<
|
|
97
|
+
}>, z.ZodObject<{
|
|
102
98
|
action_attempt_id: z.ZodString;
|
|
103
|
-
|
|
104
|
-
}, {
|
|
99
|
+
} & {
|
|
105
100
|
status: z.ZodLiteral<"success">;
|
|
106
101
|
error: z.ZodNull;
|
|
107
|
-
}
|
|
102
|
+
} & {
|
|
108
103
|
action_type: z.ZodLiteral<"UNLOCK_DOOR">;
|
|
109
104
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
110
|
-
}
|
|
105
|
+
}, "strip", z.ZodTypeAny, {
|
|
111
106
|
error: null;
|
|
112
107
|
status: "success";
|
|
113
108
|
action_attempt_id: string;
|
|
@@ -119,13 +114,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
119
114
|
action_attempt_id: string;
|
|
120
115
|
result: {};
|
|
121
116
|
action_type: "UNLOCK_DOOR";
|
|
122
|
-
}>, z.ZodObject<
|
|
117
|
+
}>, z.ZodObject<{
|
|
123
118
|
action_attempt_id: z.ZodString;
|
|
124
|
-
|
|
125
|
-
}, {
|
|
119
|
+
} & {
|
|
126
120
|
status: z.ZodLiteral<"error">;
|
|
127
121
|
result: z.ZodNull;
|
|
128
|
-
}
|
|
122
|
+
} & {
|
|
129
123
|
action_type: z.ZodLiteral<"UNLOCK_DOOR">;
|
|
130
124
|
error: z.ZodObject<{
|
|
131
125
|
type: z.ZodString;
|
|
@@ -137,7 +131,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
137
131
|
type: string;
|
|
138
132
|
message: string;
|
|
139
133
|
}>;
|
|
140
|
-
}
|
|
134
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
135
|
error: {
|
|
142
136
|
type: string;
|
|
143
137
|
message: string;
|
|
@@ -155,16 +149,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
155
149
|
action_attempt_id: string;
|
|
156
150
|
result: null;
|
|
157
151
|
action_type: "UNLOCK_DOOR";
|
|
158
|
-
}>, z.ZodObject<
|
|
152
|
+
}>, z.ZodObject<{
|
|
159
153
|
action_attempt_id: z.ZodString;
|
|
160
|
-
|
|
161
|
-
}, {
|
|
154
|
+
} & {
|
|
162
155
|
status: z.ZodLiteral<"pending">;
|
|
163
156
|
result: z.ZodNull;
|
|
164
157
|
error: z.ZodNull;
|
|
165
|
-
}
|
|
158
|
+
} & {
|
|
166
159
|
action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
|
|
167
|
-
}
|
|
160
|
+
}, "strip", z.ZodTypeAny, {
|
|
168
161
|
error: null;
|
|
169
162
|
status: "pending";
|
|
170
163
|
action_attempt_id: string;
|
|
@@ -176,13 +169,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
176
169
|
action_attempt_id: string;
|
|
177
170
|
result: null;
|
|
178
171
|
action_type: "SCAN_CREDENTIAL";
|
|
179
|
-
}>, z.ZodObject<
|
|
172
|
+
}>, z.ZodObject<{
|
|
180
173
|
action_attempt_id: z.ZodString;
|
|
181
|
-
|
|
182
|
-
}, {
|
|
174
|
+
} & {
|
|
183
175
|
status: z.ZodLiteral<"success">;
|
|
184
176
|
error: z.ZodNull;
|
|
185
|
-
}
|
|
177
|
+
} & {
|
|
186
178
|
action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
|
|
187
179
|
result: z.ZodObject<{
|
|
188
180
|
acs_credential_on_encoder: z.ZodNullable<z.ZodObject<{
|
|
@@ -272,7 +264,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
272
264
|
card_holder?: string | undefined;
|
|
273
265
|
} | undefined;
|
|
274
266
|
}>>;
|
|
275
|
-
acs_credential_on_seam: z.ZodNullable<z.ZodUnion<[z.ZodObject<
|
|
267
|
+
acs_credential_on_seam: z.ZodNullable<z.ZodUnion<[z.ZodObject<{
|
|
276
268
|
acs_credential_id: z.ZodString;
|
|
277
269
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
278
270
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -303,12 +295,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
303
295
|
message: string;
|
|
304
296
|
error_code: string;
|
|
305
297
|
}>, "many">;
|
|
306
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
298
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
307
299
|
created_at: z.ZodString;
|
|
308
300
|
message: z.ZodString;
|
|
309
|
-
}
|
|
301
|
+
} & {
|
|
310
302
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
311
|
-
}
|
|
303
|
+
}, "strip", z.ZodTypeAny, {
|
|
312
304
|
message: string;
|
|
313
305
|
created_at: string;
|
|
314
306
|
warning_code: "waiting_to_be_issued";
|
|
@@ -316,12 +308,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
316
308
|
message: string;
|
|
317
309
|
created_at: string;
|
|
318
310
|
warning_code: "waiting_to_be_issued";
|
|
319
|
-
}>, z.ZodObject<
|
|
311
|
+
}>, z.ZodObject<{
|
|
320
312
|
created_at: z.ZodString;
|
|
321
313
|
message: z.ZodString;
|
|
322
|
-
}
|
|
314
|
+
} & {
|
|
323
315
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
324
|
-
}
|
|
316
|
+
}, "strip", z.ZodTypeAny, {
|
|
325
317
|
message: string;
|
|
326
318
|
created_at: string;
|
|
327
319
|
warning_code: "schedule_externally_modified";
|
|
@@ -329,12 +321,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
329
321
|
message: string;
|
|
330
322
|
created_at: string;
|
|
331
323
|
warning_code: "schedule_externally_modified";
|
|
332
|
-
}>, z.ZodObject<
|
|
324
|
+
}>, z.ZodObject<{
|
|
333
325
|
created_at: z.ZodString;
|
|
334
326
|
message: z.ZodString;
|
|
335
|
-
}
|
|
327
|
+
} & {
|
|
336
328
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
337
|
-
}
|
|
329
|
+
}, "strip", z.ZodTypeAny, {
|
|
338
330
|
message: string;
|
|
339
331
|
created_at: string;
|
|
340
332
|
warning_code: "schedule_modified";
|
|
@@ -342,12 +334,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
342
334
|
message: string;
|
|
343
335
|
created_at: string;
|
|
344
336
|
warning_code: "schedule_modified";
|
|
345
|
-
}>, z.ZodObject<
|
|
337
|
+
}>, z.ZodObject<{
|
|
346
338
|
created_at: z.ZodString;
|
|
347
339
|
message: z.ZodString;
|
|
348
|
-
}
|
|
340
|
+
} & {
|
|
349
341
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
350
|
-
}
|
|
342
|
+
}, "strip", z.ZodTypeAny, {
|
|
351
343
|
message: string;
|
|
352
344
|
created_at: string;
|
|
353
345
|
warning_code: "being_deleted";
|
|
@@ -355,12 +347,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
355
347
|
message: string;
|
|
356
348
|
created_at: string;
|
|
357
349
|
warning_code: "being_deleted";
|
|
358
|
-
}>, z.ZodObject<
|
|
350
|
+
}>, z.ZodObject<{
|
|
359
351
|
created_at: z.ZodString;
|
|
360
352
|
message: z.ZodString;
|
|
361
|
-
}
|
|
353
|
+
} & {
|
|
362
354
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
363
|
-
}
|
|
355
|
+
}, "strip", z.ZodTypeAny, {
|
|
364
356
|
message: string;
|
|
365
357
|
created_at: string;
|
|
366
358
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -368,12 +360,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
368
360
|
message: string;
|
|
369
361
|
created_at: string;
|
|
370
362
|
warning_code: "unknown_issue_with_acs_credential";
|
|
371
|
-
}>, z.ZodObject<
|
|
363
|
+
}>, z.ZodObject<{
|
|
372
364
|
created_at: z.ZodString;
|
|
373
365
|
message: z.ZodString;
|
|
374
|
-
}
|
|
366
|
+
} & {
|
|
375
367
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
376
|
-
}
|
|
368
|
+
}, "strip", z.ZodTypeAny, {
|
|
377
369
|
message: string;
|
|
378
370
|
created_at: string;
|
|
379
371
|
warning_code: "needs_to_be_reissued";
|
|
@@ -435,9 +427,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
435
427
|
key_issuing_request_id?: string | undefined;
|
|
436
428
|
door_names?: string[] | undefined;
|
|
437
429
|
}>>;
|
|
438
|
-
}
|
|
430
|
+
} & {
|
|
439
431
|
is_managed: z.ZodLiteral<true>;
|
|
440
|
-
}
|
|
432
|
+
}, "strip", z.ZodTypeAny, {
|
|
441
433
|
display_name: string;
|
|
442
434
|
workspace_id: string;
|
|
443
435
|
created_at: string;
|
|
@@ -581,7 +573,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
581
573
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
582
574
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
583
575
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
584
|
-
}>, z.ZodObject<
|
|
576
|
+
}>, z.ZodObject<{
|
|
585
577
|
acs_credential_id: z.ZodString;
|
|
586
578
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
587
579
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -612,12 +604,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
612
604
|
message: string;
|
|
613
605
|
error_code: string;
|
|
614
606
|
}>, "many">;
|
|
615
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
607
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
616
608
|
created_at: z.ZodString;
|
|
617
609
|
message: z.ZodString;
|
|
618
|
-
}
|
|
610
|
+
} & {
|
|
619
611
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
620
|
-
}
|
|
612
|
+
}, "strip", z.ZodTypeAny, {
|
|
621
613
|
message: string;
|
|
622
614
|
created_at: string;
|
|
623
615
|
warning_code: "waiting_to_be_issued";
|
|
@@ -625,12 +617,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
625
617
|
message: string;
|
|
626
618
|
created_at: string;
|
|
627
619
|
warning_code: "waiting_to_be_issued";
|
|
628
|
-
}>, z.ZodObject<
|
|
620
|
+
}>, z.ZodObject<{
|
|
629
621
|
created_at: z.ZodString;
|
|
630
622
|
message: z.ZodString;
|
|
631
|
-
}
|
|
623
|
+
} & {
|
|
632
624
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
633
|
-
}
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
634
626
|
message: string;
|
|
635
627
|
created_at: string;
|
|
636
628
|
warning_code: "schedule_externally_modified";
|
|
@@ -638,12 +630,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
638
630
|
message: string;
|
|
639
631
|
created_at: string;
|
|
640
632
|
warning_code: "schedule_externally_modified";
|
|
641
|
-
}>, z.ZodObject<
|
|
633
|
+
}>, z.ZodObject<{
|
|
642
634
|
created_at: z.ZodString;
|
|
643
635
|
message: z.ZodString;
|
|
644
|
-
}
|
|
636
|
+
} & {
|
|
645
637
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
646
|
-
}
|
|
638
|
+
}, "strip", z.ZodTypeAny, {
|
|
647
639
|
message: string;
|
|
648
640
|
created_at: string;
|
|
649
641
|
warning_code: "schedule_modified";
|
|
@@ -651,12 +643,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
651
643
|
message: string;
|
|
652
644
|
created_at: string;
|
|
653
645
|
warning_code: "schedule_modified";
|
|
654
|
-
}>, z.ZodObject<
|
|
646
|
+
}>, z.ZodObject<{
|
|
655
647
|
created_at: z.ZodString;
|
|
656
648
|
message: z.ZodString;
|
|
657
|
-
}
|
|
649
|
+
} & {
|
|
658
650
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
659
|
-
}
|
|
651
|
+
}, "strip", z.ZodTypeAny, {
|
|
660
652
|
message: string;
|
|
661
653
|
created_at: string;
|
|
662
654
|
warning_code: "being_deleted";
|
|
@@ -664,12 +656,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
664
656
|
message: string;
|
|
665
657
|
created_at: string;
|
|
666
658
|
warning_code: "being_deleted";
|
|
667
|
-
}>, z.ZodObject<
|
|
659
|
+
}>, z.ZodObject<{
|
|
668
660
|
created_at: z.ZodString;
|
|
669
661
|
message: z.ZodString;
|
|
670
|
-
}
|
|
662
|
+
} & {
|
|
671
663
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
672
|
-
}
|
|
664
|
+
}, "strip", z.ZodTypeAny, {
|
|
673
665
|
message: string;
|
|
674
666
|
created_at: string;
|
|
675
667
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -677,12 +669,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
677
669
|
message: string;
|
|
678
670
|
created_at: string;
|
|
679
671
|
warning_code: "unknown_issue_with_acs_credential";
|
|
680
|
-
}>, z.ZodObject<
|
|
672
|
+
}>, z.ZodObject<{
|
|
681
673
|
created_at: z.ZodString;
|
|
682
674
|
message: z.ZodString;
|
|
683
|
-
}
|
|
675
|
+
} & {
|
|
684
676
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
685
|
-
}
|
|
677
|
+
}, "strip", z.ZodTypeAny, {
|
|
686
678
|
message: string;
|
|
687
679
|
created_at: string;
|
|
688
680
|
warning_code: "needs_to_be_reissued";
|
|
@@ -744,9 +736,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
744
736
|
key_issuing_request_id?: string | undefined;
|
|
745
737
|
door_names?: string[] | undefined;
|
|
746
738
|
}>>;
|
|
747
|
-
}
|
|
739
|
+
} & {
|
|
748
740
|
is_managed: z.ZodLiteral<false>;
|
|
749
|
-
}
|
|
741
|
+
}, "strip", z.ZodTypeAny, {
|
|
750
742
|
display_name: string;
|
|
751
743
|
workspace_id: string;
|
|
752
744
|
created_at: string;
|
|
@@ -1244,7 +1236,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1244
1236
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
1245
1237
|
} | null;
|
|
1246
1238
|
}>;
|
|
1247
|
-
}
|
|
1239
|
+
}, "strip", z.ZodTypeAny, {
|
|
1248
1240
|
error: null;
|
|
1249
1241
|
status: "success";
|
|
1250
1242
|
action_attempt_id: string;
|
|
@@ -1598,13 +1590,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1598
1590
|
} | null;
|
|
1599
1591
|
};
|
|
1600
1592
|
action_type: "SCAN_CREDENTIAL";
|
|
1601
|
-
}>, z.ZodObject<
|
|
1593
|
+
}>, z.ZodObject<{
|
|
1602
1594
|
action_attempt_id: z.ZodString;
|
|
1603
|
-
|
|
1604
|
-
}, {
|
|
1595
|
+
} & {
|
|
1605
1596
|
status: z.ZodLiteral<"error">;
|
|
1606
1597
|
result: z.ZodNull;
|
|
1607
|
-
}
|
|
1598
|
+
} & {
|
|
1608
1599
|
action_type: z.ZodLiteral<"SCAN_CREDENTIAL">;
|
|
1609
1600
|
error: z.ZodUnion<[z.ZodObject<{
|
|
1610
1601
|
type: z.ZodLiteral<"uncategorized_error">;
|
|
@@ -1634,7 +1625,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1634
1625
|
type: "no_credential_on_encoder";
|
|
1635
1626
|
message: string;
|
|
1636
1627
|
}>]>;
|
|
1637
|
-
}
|
|
1628
|
+
}, "strip", z.ZodTypeAny, {
|
|
1638
1629
|
error: {
|
|
1639
1630
|
type: "uncategorized_error";
|
|
1640
1631
|
message: string;
|
|
@@ -1664,16 +1655,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1664
1655
|
action_attempt_id: string;
|
|
1665
1656
|
result: null;
|
|
1666
1657
|
action_type: "SCAN_CREDENTIAL";
|
|
1667
|
-
}>, z.ZodObject<
|
|
1658
|
+
}>, z.ZodObject<{
|
|
1668
1659
|
action_attempt_id: z.ZodString;
|
|
1669
|
-
|
|
1670
|
-
}, {
|
|
1660
|
+
} & {
|
|
1671
1661
|
status: z.ZodLiteral<"pending">;
|
|
1672
1662
|
result: z.ZodNull;
|
|
1673
1663
|
error: z.ZodNull;
|
|
1674
|
-
}
|
|
1664
|
+
} & {
|
|
1675
1665
|
action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
|
|
1676
|
-
}
|
|
1666
|
+
}, "strip", z.ZodTypeAny, {
|
|
1677
1667
|
error: null;
|
|
1678
1668
|
status: "pending";
|
|
1679
1669
|
action_attempt_id: string;
|
|
@@ -1685,15 +1675,14 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1685
1675
|
action_attempt_id: string;
|
|
1686
1676
|
result: null;
|
|
1687
1677
|
action_type: "ENCODE_CREDENTIAL";
|
|
1688
|
-
}>, z.ZodObject<
|
|
1678
|
+
}>, z.ZodObject<{
|
|
1689
1679
|
action_attempt_id: z.ZodString;
|
|
1690
|
-
|
|
1691
|
-
}, {
|
|
1680
|
+
} & {
|
|
1692
1681
|
status: z.ZodLiteral<"success">;
|
|
1693
1682
|
error: z.ZodNull;
|
|
1694
|
-
}
|
|
1683
|
+
} & {
|
|
1695
1684
|
action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
|
|
1696
|
-
result: z.ZodUnion<[z.ZodObject<
|
|
1685
|
+
result: z.ZodUnion<[z.ZodObject<{
|
|
1697
1686
|
acs_credential_id: z.ZodString;
|
|
1698
1687
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
1699
1688
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1724,12 +1713,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1724
1713
|
message: string;
|
|
1725
1714
|
error_code: string;
|
|
1726
1715
|
}>, "many">;
|
|
1727
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
1716
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
1728
1717
|
created_at: z.ZodString;
|
|
1729
1718
|
message: z.ZodString;
|
|
1730
|
-
}
|
|
1719
|
+
} & {
|
|
1731
1720
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
1732
|
-
}
|
|
1721
|
+
}, "strip", z.ZodTypeAny, {
|
|
1733
1722
|
message: string;
|
|
1734
1723
|
created_at: string;
|
|
1735
1724
|
warning_code: "waiting_to_be_issued";
|
|
@@ -1737,12 +1726,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1737
1726
|
message: string;
|
|
1738
1727
|
created_at: string;
|
|
1739
1728
|
warning_code: "waiting_to_be_issued";
|
|
1740
|
-
}>, z.ZodObject<
|
|
1729
|
+
}>, z.ZodObject<{
|
|
1741
1730
|
created_at: z.ZodString;
|
|
1742
1731
|
message: z.ZodString;
|
|
1743
|
-
}
|
|
1732
|
+
} & {
|
|
1744
1733
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
1745
|
-
}
|
|
1734
|
+
}, "strip", z.ZodTypeAny, {
|
|
1746
1735
|
message: string;
|
|
1747
1736
|
created_at: string;
|
|
1748
1737
|
warning_code: "schedule_externally_modified";
|
|
@@ -1750,12 +1739,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1750
1739
|
message: string;
|
|
1751
1740
|
created_at: string;
|
|
1752
1741
|
warning_code: "schedule_externally_modified";
|
|
1753
|
-
}>, z.ZodObject<
|
|
1742
|
+
}>, z.ZodObject<{
|
|
1754
1743
|
created_at: z.ZodString;
|
|
1755
1744
|
message: z.ZodString;
|
|
1756
|
-
}
|
|
1745
|
+
} & {
|
|
1757
1746
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
1758
|
-
}
|
|
1747
|
+
}, "strip", z.ZodTypeAny, {
|
|
1759
1748
|
message: string;
|
|
1760
1749
|
created_at: string;
|
|
1761
1750
|
warning_code: "schedule_modified";
|
|
@@ -1763,12 +1752,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1763
1752
|
message: string;
|
|
1764
1753
|
created_at: string;
|
|
1765
1754
|
warning_code: "schedule_modified";
|
|
1766
|
-
}>, z.ZodObject<
|
|
1755
|
+
}>, z.ZodObject<{
|
|
1767
1756
|
created_at: z.ZodString;
|
|
1768
1757
|
message: z.ZodString;
|
|
1769
|
-
}
|
|
1758
|
+
} & {
|
|
1770
1759
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
1771
|
-
}
|
|
1760
|
+
}, "strip", z.ZodTypeAny, {
|
|
1772
1761
|
message: string;
|
|
1773
1762
|
created_at: string;
|
|
1774
1763
|
warning_code: "being_deleted";
|
|
@@ -1776,12 +1765,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1776
1765
|
message: string;
|
|
1777
1766
|
created_at: string;
|
|
1778
1767
|
warning_code: "being_deleted";
|
|
1779
|
-
}>, z.ZodObject<
|
|
1768
|
+
}>, z.ZodObject<{
|
|
1780
1769
|
created_at: z.ZodString;
|
|
1781
1770
|
message: z.ZodString;
|
|
1782
|
-
}
|
|
1771
|
+
} & {
|
|
1783
1772
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
1784
|
-
}
|
|
1773
|
+
}, "strip", z.ZodTypeAny, {
|
|
1785
1774
|
message: string;
|
|
1786
1775
|
created_at: string;
|
|
1787
1776
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -1789,12 +1778,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1789
1778
|
message: string;
|
|
1790
1779
|
created_at: string;
|
|
1791
1780
|
warning_code: "unknown_issue_with_acs_credential";
|
|
1792
|
-
}>, z.ZodObject<
|
|
1781
|
+
}>, z.ZodObject<{
|
|
1793
1782
|
created_at: z.ZodString;
|
|
1794
1783
|
message: z.ZodString;
|
|
1795
|
-
}
|
|
1784
|
+
} & {
|
|
1796
1785
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
1797
|
-
}
|
|
1786
|
+
}, "strip", z.ZodTypeAny, {
|
|
1798
1787
|
message: string;
|
|
1799
1788
|
created_at: string;
|
|
1800
1789
|
warning_code: "needs_to_be_reissued";
|
|
@@ -1856,9 +1845,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
1856
1845
|
key_issuing_request_id?: string | undefined;
|
|
1857
1846
|
door_names?: string[] | undefined;
|
|
1858
1847
|
}>>;
|
|
1859
|
-
}
|
|
1848
|
+
} & {
|
|
1860
1849
|
is_managed: z.ZodLiteral<true>;
|
|
1861
|
-
}
|
|
1850
|
+
}, "strip", z.ZodTypeAny, {
|
|
1862
1851
|
display_name: string;
|
|
1863
1852
|
workspace_id: string;
|
|
1864
1853
|
created_at: string;
|
|
@@ -2002,7 +1991,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2002
1991
|
is_multi_phone_sync_credential?: boolean | undefined;
|
|
2003
1992
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
2004
1993
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
2005
|
-
}>, z.ZodObject<
|
|
1994
|
+
}>, z.ZodObject<{
|
|
2006
1995
|
acs_credential_id: z.ZodString;
|
|
2007
1996
|
acs_user_id: z.ZodOptional<z.ZodString>;
|
|
2008
1997
|
user_identity_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2033,12 +2022,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2033
2022
|
message: string;
|
|
2034
2023
|
error_code: string;
|
|
2035
2024
|
}>, "many">;
|
|
2036
|
-
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<
|
|
2025
|
+
warnings: z.ZodArray<z.ZodDiscriminatedUnion<"warning_code", [z.ZodObject<{
|
|
2037
2026
|
created_at: z.ZodString;
|
|
2038
2027
|
message: z.ZodString;
|
|
2039
|
-
}
|
|
2028
|
+
} & {
|
|
2040
2029
|
warning_code: z.ZodLiteral<"waiting_to_be_issued">;
|
|
2041
|
-
}
|
|
2030
|
+
}, "strip", z.ZodTypeAny, {
|
|
2042
2031
|
message: string;
|
|
2043
2032
|
created_at: string;
|
|
2044
2033
|
warning_code: "waiting_to_be_issued";
|
|
@@ -2046,12 +2035,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2046
2035
|
message: string;
|
|
2047
2036
|
created_at: string;
|
|
2048
2037
|
warning_code: "waiting_to_be_issued";
|
|
2049
|
-
}>, z.ZodObject<
|
|
2038
|
+
}>, z.ZodObject<{
|
|
2050
2039
|
created_at: z.ZodString;
|
|
2051
2040
|
message: z.ZodString;
|
|
2052
|
-
}
|
|
2041
|
+
} & {
|
|
2053
2042
|
warning_code: z.ZodLiteral<"schedule_externally_modified">;
|
|
2054
|
-
}
|
|
2043
|
+
}, "strip", z.ZodTypeAny, {
|
|
2055
2044
|
message: string;
|
|
2056
2045
|
created_at: string;
|
|
2057
2046
|
warning_code: "schedule_externally_modified";
|
|
@@ -2059,12 +2048,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2059
2048
|
message: string;
|
|
2060
2049
|
created_at: string;
|
|
2061
2050
|
warning_code: "schedule_externally_modified";
|
|
2062
|
-
}>, z.ZodObject<
|
|
2051
|
+
}>, z.ZodObject<{
|
|
2063
2052
|
created_at: z.ZodString;
|
|
2064
2053
|
message: z.ZodString;
|
|
2065
|
-
}
|
|
2054
|
+
} & {
|
|
2066
2055
|
warning_code: z.ZodLiteral<"schedule_modified">;
|
|
2067
|
-
}
|
|
2056
|
+
}, "strip", z.ZodTypeAny, {
|
|
2068
2057
|
message: string;
|
|
2069
2058
|
created_at: string;
|
|
2070
2059
|
warning_code: "schedule_modified";
|
|
@@ -2072,12 +2061,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2072
2061
|
message: string;
|
|
2073
2062
|
created_at: string;
|
|
2074
2063
|
warning_code: "schedule_modified";
|
|
2075
|
-
}>, z.ZodObject<
|
|
2064
|
+
}>, z.ZodObject<{
|
|
2076
2065
|
created_at: z.ZodString;
|
|
2077
2066
|
message: z.ZodString;
|
|
2078
|
-
}
|
|
2067
|
+
} & {
|
|
2079
2068
|
warning_code: z.ZodLiteral<"being_deleted">;
|
|
2080
|
-
}
|
|
2069
|
+
}, "strip", z.ZodTypeAny, {
|
|
2081
2070
|
message: string;
|
|
2082
2071
|
created_at: string;
|
|
2083
2072
|
warning_code: "being_deleted";
|
|
@@ -2085,12 +2074,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2085
2074
|
message: string;
|
|
2086
2075
|
created_at: string;
|
|
2087
2076
|
warning_code: "being_deleted";
|
|
2088
|
-
}>, z.ZodObject<
|
|
2077
|
+
}>, z.ZodObject<{
|
|
2089
2078
|
created_at: z.ZodString;
|
|
2090
2079
|
message: z.ZodString;
|
|
2091
|
-
}
|
|
2080
|
+
} & {
|
|
2092
2081
|
warning_code: z.ZodLiteral<"unknown_issue_with_acs_credential">;
|
|
2093
|
-
}
|
|
2082
|
+
}, "strip", z.ZodTypeAny, {
|
|
2094
2083
|
message: string;
|
|
2095
2084
|
created_at: string;
|
|
2096
2085
|
warning_code: "unknown_issue_with_acs_credential";
|
|
@@ -2098,12 +2087,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2098
2087
|
message: string;
|
|
2099
2088
|
created_at: string;
|
|
2100
2089
|
warning_code: "unknown_issue_with_acs_credential";
|
|
2101
|
-
}>, z.ZodObject<
|
|
2090
|
+
}>, z.ZodObject<{
|
|
2102
2091
|
created_at: z.ZodString;
|
|
2103
2092
|
message: z.ZodString;
|
|
2104
|
-
}
|
|
2093
|
+
} & {
|
|
2105
2094
|
warning_code: z.ZodLiteral<"needs_to_be_reissued">;
|
|
2106
|
-
}
|
|
2095
|
+
}, "strip", z.ZodTypeAny, {
|
|
2107
2096
|
message: string;
|
|
2108
2097
|
created_at: string;
|
|
2109
2098
|
warning_code: "needs_to_be_reissued";
|
|
@@ -2165,9 +2154,9 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2165
2154
|
key_issuing_request_id?: string | undefined;
|
|
2166
2155
|
door_names?: string[] | undefined;
|
|
2167
2156
|
}>>;
|
|
2168
|
-
}
|
|
2157
|
+
} & {
|
|
2169
2158
|
is_managed: z.ZodLiteral<false>;
|
|
2170
|
-
}
|
|
2159
|
+
}, "strip", z.ZodTypeAny, {
|
|
2171
2160
|
display_name: string;
|
|
2172
2161
|
workspace_id: string;
|
|
2173
2162
|
created_at: string;
|
|
@@ -2312,7 +2301,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2312
2301
|
is_latest_desired_state_synced_with_provider?: boolean | null | undefined;
|
|
2313
2302
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
2314
2303
|
}>]>;
|
|
2315
|
-
}
|
|
2304
|
+
}, "strip", z.ZodTypeAny, {
|
|
2316
2305
|
error: null;
|
|
2317
2306
|
status: "success";
|
|
2318
2307
|
action_attempt_id: string;
|
|
@@ -2612,13 +2601,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2612
2601
|
latest_desired_state_synced_with_provider_at?: string | null | undefined;
|
|
2613
2602
|
};
|
|
2614
2603
|
action_type: "ENCODE_CREDENTIAL";
|
|
2615
|
-
}>, z.ZodObject<
|
|
2604
|
+
}>, z.ZodObject<{
|
|
2616
2605
|
action_attempt_id: z.ZodString;
|
|
2617
|
-
|
|
2618
|
-
}, {
|
|
2606
|
+
} & {
|
|
2619
2607
|
status: z.ZodLiteral<"error">;
|
|
2620
2608
|
result: z.ZodNull;
|
|
2621
|
-
}
|
|
2609
|
+
} & {
|
|
2622
2610
|
action_type: z.ZodLiteral<"ENCODE_CREDENTIAL">;
|
|
2623
2611
|
error: z.ZodUnion<[z.ZodObject<{
|
|
2624
2612
|
type: z.ZodLiteral<"uncategorized_error">;
|
|
@@ -2666,7 +2654,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2666
2654
|
type: "credential_cannot_be_reissued";
|
|
2667
2655
|
message: string;
|
|
2668
2656
|
}>]>;
|
|
2669
|
-
}
|
|
2657
|
+
}, "strip", z.ZodTypeAny, {
|
|
2670
2658
|
error: {
|
|
2671
2659
|
type: "uncategorized_error";
|
|
2672
2660
|
message: string;
|
|
@@ -2708,16 +2696,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2708
2696
|
action_attempt_id: string;
|
|
2709
2697
|
result: null;
|
|
2710
2698
|
action_type: "ENCODE_CREDENTIAL";
|
|
2711
|
-
}>, z.ZodObject<
|
|
2699
|
+
}>, z.ZodObject<{
|
|
2712
2700
|
action_attempt_id: z.ZodString;
|
|
2713
|
-
|
|
2714
|
-
}, {
|
|
2701
|
+
} & {
|
|
2715
2702
|
status: z.ZodLiteral<"pending">;
|
|
2716
2703
|
result: z.ZodNull;
|
|
2717
2704
|
error: z.ZodNull;
|
|
2718
|
-
}
|
|
2705
|
+
} & {
|
|
2719
2706
|
action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
|
|
2720
|
-
}
|
|
2707
|
+
}, "strip", z.ZodTypeAny, {
|
|
2721
2708
|
error: null;
|
|
2722
2709
|
status: "pending";
|
|
2723
2710
|
action_attempt_id: string;
|
|
@@ -2729,16 +2716,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2729
2716
|
action_attempt_id: string;
|
|
2730
2717
|
result: null;
|
|
2731
2718
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
2732
|
-
}>, z.ZodObject<
|
|
2719
|
+
}>, z.ZodObject<{
|
|
2733
2720
|
action_attempt_id: z.ZodString;
|
|
2734
|
-
|
|
2735
|
-
}, {
|
|
2721
|
+
} & {
|
|
2736
2722
|
status: z.ZodLiteral<"success">;
|
|
2737
2723
|
error: z.ZodNull;
|
|
2738
|
-
}
|
|
2724
|
+
} & {
|
|
2739
2725
|
action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
|
|
2740
2726
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2741
|
-
}
|
|
2727
|
+
}, "strip", z.ZodTypeAny, {
|
|
2742
2728
|
error: null;
|
|
2743
2729
|
status: "success";
|
|
2744
2730
|
action_attempt_id: string;
|
|
@@ -2750,13 +2736,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2750
2736
|
action_attempt_id: string;
|
|
2751
2737
|
result: {};
|
|
2752
2738
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
2753
|
-
}>, z.ZodObject<
|
|
2739
|
+
}>, z.ZodObject<{
|
|
2754
2740
|
action_attempt_id: z.ZodString;
|
|
2755
|
-
|
|
2756
|
-
}, {
|
|
2741
|
+
} & {
|
|
2757
2742
|
status: z.ZodLiteral<"error">;
|
|
2758
2743
|
result: z.ZodNull;
|
|
2759
|
-
}
|
|
2744
|
+
} & {
|
|
2760
2745
|
action_type: z.ZodLiteral<"RESET_SANDBOX_WORKSPACE">;
|
|
2761
2746
|
error: z.ZodObject<{
|
|
2762
2747
|
type: z.ZodString;
|
|
@@ -2768,7 +2753,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2768
2753
|
type: string;
|
|
2769
2754
|
message: string;
|
|
2770
2755
|
}>;
|
|
2771
|
-
}
|
|
2756
|
+
}, "strip", z.ZodTypeAny, {
|
|
2772
2757
|
error: {
|
|
2773
2758
|
type: string;
|
|
2774
2759
|
message: string;
|
|
@@ -2786,16 +2771,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2786
2771
|
action_attempt_id: string;
|
|
2787
2772
|
result: null;
|
|
2788
2773
|
action_type: "RESET_SANDBOX_WORKSPACE";
|
|
2789
|
-
}>, z.ZodObject<
|
|
2774
|
+
}>, z.ZodObject<{
|
|
2790
2775
|
action_attempt_id: z.ZodString;
|
|
2791
|
-
|
|
2792
|
-
}, {
|
|
2776
|
+
} & {
|
|
2793
2777
|
status: z.ZodLiteral<"pending">;
|
|
2794
2778
|
result: z.ZodNull;
|
|
2795
2779
|
error: z.ZodNull;
|
|
2796
|
-
}
|
|
2780
|
+
} & {
|
|
2797
2781
|
action_type: z.ZodLiteral<"SET_FAN_MODE">;
|
|
2798
|
-
}
|
|
2782
|
+
}, "strip", z.ZodTypeAny, {
|
|
2799
2783
|
error: null;
|
|
2800
2784
|
status: "pending";
|
|
2801
2785
|
action_attempt_id: string;
|
|
@@ -2807,16 +2791,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2807
2791
|
action_attempt_id: string;
|
|
2808
2792
|
result: null;
|
|
2809
2793
|
action_type: "SET_FAN_MODE";
|
|
2810
|
-
}>, z.ZodObject<
|
|
2794
|
+
}>, z.ZodObject<{
|
|
2811
2795
|
action_attempt_id: z.ZodString;
|
|
2812
|
-
|
|
2813
|
-
}, {
|
|
2796
|
+
} & {
|
|
2814
2797
|
status: z.ZodLiteral<"success">;
|
|
2815
2798
|
error: z.ZodNull;
|
|
2816
|
-
}
|
|
2799
|
+
} & {
|
|
2817
2800
|
action_type: z.ZodLiteral<"SET_FAN_MODE">;
|
|
2818
2801
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2819
|
-
}
|
|
2802
|
+
}, "strip", z.ZodTypeAny, {
|
|
2820
2803
|
error: null;
|
|
2821
2804
|
status: "success";
|
|
2822
2805
|
action_attempt_id: string;
|
|
@@ -2828,13 +2811,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2828
2811
|
action_attempt_id: string;
|
|
2829
2812
|
result: {};
|
|
2830
2813
|
action_type: "SET_FAN_MODE";
|
|
2831
|
-
}>, z.ZodObject<
|
|
2814
|
+
}>, z.ZodObject<{
|
|
2832
2815
|
action_attempt_id: z.ZodString;
|
|
2833
|
-
|
|
2834
|
-
}, {
|
|
2816
|
+
} & {
|
|
2835
2817
|
status: z.ZodLiteral<"error">;
|
|
2836
2818
|
result: z.ZodNull;
|
|
2837
|
-
}
|
|
2819
|
+
} & {
|
|
2838
2820
|
action_type: z.ZodLiteral<"SET_FAN_MODE">;
|
|
2839
2821
|
error: z.ZodObject<{
|
|
2840
2822
|
type: z.ZodString;
|
|
@@ -2846,7 +2828,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2846
2828
|
type: string;
|
|
2847
2829
|
message: string;
|
|
2848
2830
|
}>;
|
|
2849
|
-
}
|
|
2831
|
+
}, "strip", z.ZodTypeAny, {
|
|
2850
2832
|
error: {
|
|
2851
2833
|
type: string;
|
|
2852
2834
|
message: string;
|
|
@@ -2864,16 +2846,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2864
2846
|
action_attempt_id: string;
|
|
2865
2847
|
result: null;
|
|
2866
2848
|
action_type: "SET_FAN_MODE";
|
|
2867
|
-
}>, z.ZodObject<
|
|
2849
|
+
}>, z.ZodObject<{
|
|
2868
2850
|
action_attempt_id: z.ZodString;
|
|
2869
|
-
|
|
2870
|
-
}, {
|
|
2851
|
+
} & {
|
|
2871
2852
|
status: z.ZodLiteral<"pending">;
|
|
2872
2853
|
result: z.ZodNull;
|
|
2873
2854
|
error: z.ZodNull;
|
|
2874
|
-
}
|
|
2855
|
+
} & {
|
|
2875
2856
|
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
2876
|
-
}
|
|
2857
|
+
}, "strip", z.ZodTypeAny, {
|
|
2877
2858
|
error: null;
|
|
2878
2859
|
status: "pending";
|
|
2879
2860
|
action_attempt_id: string;
|
|
@@ -2885,16 +2866,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2885
2866
|
action_attempt_id: string;
|
|
2886
2867
|
result: null;
|
|
2887
2868
|
action_type: "SET_HVAC_MODE";
|
|
2888
|
-
}>, z.ZodObject<
|
|
2869
|
+
}>, z.ZodObject<{
|
|
2889
2870
|
action_attempt_id: z.ZodString;
|
|
2890
|
-
|
|
2891
|
-
}, {
|
|
2871
|
+
} & {
|
|
2892
2872
|
status: z.ZodLiteral<"success">;
|
|
2893
2873
|
error: z.ZodNull;
|
|
2894
|
-
}
|
|
2874
|
+
} & {
|
|
2895
2875
|
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
2896
2876
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2897
|
-
}
|
|
2877
|
+
}, "strip", z.ZodTypeAny, {
|
|
2898
2878
|
error: null;
|
|
2899
2879
|
status: "success";
|
|
2900
2880
|
action_attempt_id: string;
|
|
@@ -2906,13 +2886,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2906
2886
|
action_attempt_id: string;
|
|
2907
2887
|
result: {};
|
|
2908
2888
|
action_type: "SET_HVAC_MODE";
|
|
2909
|
-
}>, z.ZodObject<
|
|
2889
|
+
}>, z.ZodObject<{
|
|
2910
2890
|
action_attempt_id: z.ZodString;
|
|
2911
|
-
|
|
2912
|
-
}, {
|
|
2891
|
+
} & {
|
|
2913
2892
|
status: z.ZodLiteral<"error">;
|
|
2914
2893
|
result: z.ZodNull;
|
|
2915
|
-
}
|
|
2894
|
+
} & {
|
|
2916
2895
|
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
2917
2896
|
error: z.ZodObject<{
|
|
2918
2897
|
type: z.ZodString;
|
|
@@ -2924,7 +2903,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2924
2903
|
type: string;
|
|
2925
2904
|
message: string;
|
|
2926
2905
|
}>;
|
|
2927
|
-
}
|
|
2906
|
+
}, "strip", z.ZodTypeAny, {
|
|
2928
2907
|
error: {
|
|
2929
2908
|
type: string;
|
|
2930
2909
|
message: string;
|
|
@@ -2942,16 +2921,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2942
2921
|
action_attempt_id: string;
|
|
2943
2922
|
result: null;
|
|
2944
2923
|
action_type: "SET_HVAC_MODE";
|
|
2945
|
-
}>, z.ZodObject<
|
|
2924
|
+
}>, z.ZodObject<{
|
|
2946
2925
|
action_attempt_id: z.ZodString;
|
|
2947
|
-
|
|
2948
|
-
}, {
|
|
2926
|
+
} & {
|
|
2949
2927
|
status: z.ZodLiteral<"pending">;
|
|
2950
2928
|
result: z.ZodNull;
|
|
2951
2929
|
error: z.ZodNull;
|
|
2952
|
-
}
|
|
2930
|
+
} & {
|
|
2953
2931
|
action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
|
|
2954
|
-
}
|
|
2932
|
+
}, "strip", z.ZodTypeAny, {
|
|
2955
2933
|
error: null;
|
|
2956
2934
|
status: "pending";
|
|
2957
2935
|
action_attempt_id: string;
|
|
@@ -2963,16 +2941,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2963
2941
|
action_attempt_id: string;
|
|
2964
2942
|
result: null;
|
|
2965
2943
|
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
2966
|
-
}>, z.ZodObject<
|
|
2944
|
+
}>, z.ZodObject<{
|
|
2967
2945
|
action_attempt_id: z.ZodString;
|
|
2968
|
-
|
|
2969
|
-
}, {
|
|
2946
|
+
} & {
|
|
2970
2947
|
status: z.ZodLiteral<"success">;
|
|
2971
2948
|
error: z.ZodNull;
|
|
2972
|
-
}
|
|
2949
|
+
} & {
|
|
2973
2950
|
action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
|
|
2974
2951
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2975
|
-
}
|
|
2952
|
+
}, "strip", z.ZodTypeAny, {
|
|
2976
2953
|
error: null;
|
|
2977
2954
|
status: "success";
|
|
2978
2955
|
action_attempt_id: string;
|
|
@@ -2984,13 +2961,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2984
2961
|
action_attempt_id: string;
|
|
2985
2962
|
result: {};
|
|
2986
2963
|
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
2987
|
-
}>, z.ZodObject<
|
|
2964
|
+
}>, z.ZodObject<{
|
|
2988
2965
|
action_attempt_id: z.ZodString;
|
|
2989
|
-
|
|
2990
|
-
}, {
|
|
2966
|
+
} & {
|
|
2991
2967
|
status: z.ZodLiteral<"error">;
|
|
2992
2968
|
result: z.ZodNull;
|
|
2993
|
-
}
|
|
2969
|
+
} & {
|
|
2994
2970
|
action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
|
|
2995
2971
|
error: z.ZodObject<{
|
|
2996
2972
|
type: z.ZodString;
|
|
@@ -3002,7 +2978,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3002
2978
|
type: string;
|
|
3003
2979
|
message: string;
|
|
3004
2980
|
}>;
|
|
3005
|
-
}
|
|
2981
|
+
}, "strip", z.ZodTypeAny, {
|
|
3006
2982
|
error: {
|
|
3007
2983
|
type: string;
|
|
3008
2984
|
message: string;
|
|
@@ -3020,16 +2996,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3020
2996
|
action_attempt_id: string;
|
|
3021
2997
|
result: null;
|
|
3022
2998
|
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
3023
|
-
}>, z.ZodObject<
|
|
2999
|
+
}>, z.ZodObject<{
|
|
3024
3000
|
action_attempt_id: z.ZodString;
|
|
3025
|
-
|
|
3026
|
-
}, {
|
|
3001
|
+
} & {
|
|
3027
3002
|
status: z.ZodLiteral<"pending">;
|
|
3028
3003
|
result: z.ZodNull;
|
|
3029
3004
|
error: z.ZodNull;
|
|
3030
|
-
}
|
|
3005
|
+
} & {
|
|
3031
3006
|
action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
|
|
3032
|
-
}
|
|
3007
|
+
}, "strip", z.ZodTypeAny, {
|
|
3033
3008
|
error: null;
|
|
3034
3009
|
status: "pending";
|
|
3035
3010
|
action_attempt_id: string;
|
|
@@ -3041,16 +3016,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3041
3016
|
action_attempt_id: string;
|
|
3042
3017
|
result: null;
|
|
3043
3018
|
action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
|
|
3044
|
-
}>, z.ZodObject<
|
|
3019
|
+
}>, z.ZodObject<{
|
|
3045
3020
|
action_attempt_id: z.ZodString;
|
|
3046
|
-
|
|
3047
|
-
}, {
|
|
3021
|
+
} & {
|
|
3048
3022
|
status: z.ZodLiteral<"success">;
|
|
3049
3023
|
error: z.ZodNull;
|
|
3050
|
-
}
|
|
3024
|
+
} & {
|
|
3051
3025
|
action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
|
|
3052
3026
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3053
|
-
}
|
|
3027
|
+
}, "strip", z.ZodTypeAny, {
|
|
3054
3028
|
error: null;
|
|
3055
3029
|
status: "success";
|
|
3056
3030
|
action_attempt_id: string;
|
|
@@ -3062,13 +3036,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3062
3036
|
action_attempt_id: string;
|
|
3063
3037
|
result: {};
|
|
3064
3038
|
action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
|
|
3065
|
-
}>, z.ZodObject<
|
|
3039
|
+
}>, z.ZodObject<{
|
|
3066
3040
|
action_attempt_id: z.ZodString;
|
|
3067
|
-
|
|
3068
|
-
}, {
|
|
3041
|
+
} & {
|
|
3069
3042
|
status: z.ZodLiteral<"error">;
|
|
3070
3043
|
result: z.ZodNull;
|
|
3071
|
-
}
|
|
3044
|
+
} & {
|
|
3072
3045
|
action_type: z.ZodLiteral<"SIMULATE_KEYPAD_CODE_ENTRY">;
|
|
3073
3046
|
error: z.ZodObject<{
|
|
3074
3047
|
type: z.ZodString;
|
|
@@ -3080,7 +3053,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3080
3053
|
type: string;
|
|
3081
3054
|
message: string;
|
|
3082
3055
|
}>;
|
|
3083
|
-
}
|
|
3056
|
+
}, "strip", z.ZodTypeAny, {
|
|
3084
3057
|
error: {
|
|
3085
3058
|
type: string;
|
|
3086
3059
|
message: string;
|
|
@@ -3098,16 +3071,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3098
3071
|
action_attempt_id: string;
|
|
3099
3072
|
result: null;
|
|
3100
3073
|
action_type: "SIMULATE_KEYPAD_CODE_ENTRY";
|
|
3101
|
-
}>, z.ZodObject<
|
|
3074
|
+
}>, z.ZodObject<{
|
|
3102
3075
|
action_attempt_id: z.ZodString;
|
|
3103
|
-
|
|
3104
|
-
}, {
|
|
3076
|
+
} & {
|
|
3105
3077
|
status: z.ZodLiteral<"pending">;
|
|
3106
3078
|
result: z.ZodNull;
|
|
3107
3079
|
error: z.ZodNull;
|
|
3108
|
-
}
|
|
3080
|
+
} & {
|
|
3109
3081
|
action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
|
|
3110
|
-
}
|
|
3082
|
+
}, "strip", z.ZodTypeAny, {
|
|
3111
3083
|
error: null;
|
|
3112
3084
|
status: "pending";
|
|
3113
3085
|
action_attempt_id: string;
|
|
@@ -3119,16 +3091,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3119
3091
|
action_attempt_id: string;
|
|
3120
3092
|
result: null;
|
|
3121
3093
|
action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
|
|
3122
|
-
}>, z.ZodObject<
|
|
3094
|
+
}>, z.ZodObject<{
|
|
3123
3095
|
action_attempt_id: z.ZodString;
|
|
3124
|
-
|
|
3125
|
-
}, {
|
|
3096
|
+
} & {
|
|
3126
3097
|
status: z.ZodLiteral<"success">;
|
|
3127
3098
|
error: z.ZodNull;
|
|
3128
|
-
}
|
|
3099
|
+
} & {
|
|
3129
3100
|
action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
|
|
3130
3101
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3131
|
-
}
|
|
3102
|
+
}, "strip", z.ZodTypeAny, {
|
|
3132
3103
|
error: null;
|
|
3133
3104
|
status: "success";
|
|
3134
3105
|
action_attempt_id: string;
|
|
@@ -3140,13 +3111,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3140
3111
|
action_attempt_id: string;
|
|
3141
3112
|
result: {};
|
|
3142
3113
|
action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
|
|
3143
|
-
}>, z.ZodObject<
|
|
3114
|
+
}>, z.ZodObject<{
|
|
3144
3115
|
action_attempt_id: z.ZodString;
|
|
3145
|
-
|
|
3146
|
-
}, {
|
|
3116
|
+
} & {
|
|
3147
3117
|
status: z.ZodLiteral<"error">;
|
|
3148
3118
|
result: z.ZodNull;
|
|
3149
|
-
}
|
|
3119
|
+
} & {
|
|
3150
3120
|
action_type: z.ZodLiteral<"SIMULATE_MANUAL_LOCK_VIA_KEYPAD">;
|
|
3151
3121
|
error: z.ZodObject<{
|
|
3152
3122
|
type: z.ZodString;
|
|
@@ -3158,7 +3128,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3158
3128
|
type: string;
|
|
3159
3129
|
message: string;
|
|
3160
3130
|
}>;
|
|
3161
|
-
}
|
|
3131
|
+
}, "strip", z.ZodTypeAny, {
|
|
3162
3132
|
error: {
|
|
3163
3133
|
type: string;
|
|
3164
3134
|
message: string;
|
|
@@ -3176,16 +3146,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3176
3146
|
action_attempt_id: string;
|
|
3177
3147
|
result: null;
|
|
3178
3148
|
action_type: "SIMULATE_MANUAL_LOCK_VIA_KEYPAD";
|
|
3179
|
-
}>, z.ZodObject<
|
|
3149
|
+
}>, z.ZodObject<{
|
|
3180
3150
|
action_attempt_id: z.ZodString;
|
|
3181
|
-
|
|
3182
|
-
}, {
|
|
3151
|
+
} & {
|
|
3183
3152
|
status: z.ZodLiteral<"pending">;
|
|
3184
3153
|
result: z.ZodNull;
|
|
3185
3154
|
error: z.ZodNull;
|
|
3186
|
-
}
|
|
3155
|
+
} & {
|
|
3187
3156
|
action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
|
|
3188
|
-
}
|
|
3157
|
+
}, "strip", z.ZodTypeAny, {
|
|
3189
3158
|
error: null;
|
|
3190
3159
|
status: "pending";
|
|
3191
3160
|
action_attempt_id: string;
|
|
@@ -3197,16 +3166,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3197
3166
|
action_attempt_id: string;
|
|
3198
3167
|
result: null;
|
|
3199
3168
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
3200
|
-
}>, z.ZodObject<
|
|
3169
|
+
}>, z.ZodObject<{
|
|
3201
3170
|
action_attempt_id: z.ZodString;
|
|
3202
|
-
|
|
3203
|
-
}, {
|
|
3171
|
+
} & {
|
|
3204
3172
|
status: z.ZodLiteral<"success">;
|
|
3205
3173
|
error: z.ZodNull;
|
|
3206
|
-
}
|
|
3174
|
+
} & {
|
|
3207
3175
|
action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
|
|
3208
3176
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3209
|
-
}
|
|
3177
|
+
}, "strip", z.ZodTypeAny, {
|
|
3210
3178
|
error: null;
|
|
3211
3179
|
status: "success";
|
|
3212
3180
|
action_attempt_id: string;
|
|
@@ -3218,13 +3186,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3218
3186
|
action_attempt_id: string;
|
|
3219
3187
|
result: {};
|
|
3220
3188
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
3221
|
-
}>, z.ZodObject<
|
|
3189
|
+
}>, z.ZodObject<{
|
|
3222
3190
|
action_attempt_id: z.ZodString;
|
|
3223
|
-
|
|
3224
|
-
}, {
|
|
3191
|
+
} & {
|
|
3225
3192
|
status: z.ZodLiteral<"error">;
|
|
3226
3193
|
result: z.ZodNull;
|
|
3227
|
-
}
|
|
3194
|
+
} & {
|
|
3228
3195
|
action_type: z.ZodLiteral<"PUSH_THERMOSTAT_PROGRAMS">;
|
|
3229
3196
|
error: z.ZodObject<{
|
|
3230
3197
|
type: z.ZodString;
|
|
@@ -3236,7 +3203,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3236
3203
|
type: string;
|
|
3237
3204
|
message: string;
|
|
3238
3205
|
}>;
|
|
3239
|
-
}
|
|
3206
|
+
}, "strip", z.ZodTypeAny, {
|
|
3240
3207
|
error: {
|
|
3241
3208
|
type: string;
|
|
3242
3209
|
message: string;
|
|
@@ -3254,16 +3221,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3254
3221
|
action_attempt_id: string;
|
|
3255
3222
|
result: null;
|
|
3256
3223
|
action_type: "PUSH_THERMOSTAT_PROGRAMS";
|
|
3257
|
-
}>, z.ZodObject<
|
|
3224
|
+
}>, z.ZodObject<{
|
|
3258
3225
|
action_attempt_id: z.ZodString;
|
|
3259
|
-
|
|
3260
|
-
}, {
|
|
3226
|
+
} & {
|
|
3261
3227
|
status: z.ZodLiteral<"pending">;
|
|
3262
3228
|
result: z.ZodNull;
|
|
3263
3229
|
error: z.ZodNull;
|
|
3264
|
-
}
|
|
3230
|
+
} & {
|
|
3265
3231
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
3266
|
-
}
|
|
3232
|
+
}, "strip", z.ZodTypeAny, {
|
|
3267
3233
|
error: null;
|
|
3268
3234
|
status: "pending";
|
|
3269
3235
|
action_attempt_id: string;
|
|
@@ -3275,16 +3241,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3275
3241
|
action_attempt_id: string;
|
|
3276
3242
|
result: null;
|
|
3277
3243
|
action_type: "SYNC_ACCESS_CODES";
|
|
3278
|
-
}>, z.ZodObject<
|
|
3244
|
+
}>, z.ZodObject<{
|
|
3279
3245
|
action_attempt_id: z.ZodString;
|
|
3280
|
-
|
|
3281
|
-
}, {
|
|
3246
|
+
} & {
|
|
3282
3247
|
status: z.ZodLiteral<"success">;
|
|
3283
3248
|
error: z.ZodNull;
|
|
3284
|
-
}
|
|
3249
|
+
} & {
|
|
3285
3250
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
3286
3251
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3287
|
-
}
|
|
3252
|
+
}, "strip", z.ZodTypeAny, {
|
|
3288
3253
|
error: null;
|
|
3289
3254
|
status: "success";
|
|
3290
3255
|
action_attempt_id: string;
|
|
@@ -3296,13 +3261,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3296
3261
|
action_attempt_id: string;
|
|
3297
3262
|
result: {};
|
|
3298
3263
|
action_type: "SYNC_ACCESS_CODES";
|
|
3299
|
-
}>, z.ZodObject<
|
|
3264
|
+
}>, z.ZodObject<{
|
|
3300
3265
|
action_attempt_id: z.ZodString;
|
|
3301
|
-
|
|
3302
|
-
}, {
|
|
3266
|
+
} & {
|
|
3303
3267
|
status: z.ZodLiteral<"error">;
|
|
3304
3268
|
result: z.ZodNull;
|
|
3305
|
-
}
|
|
3269
|
+
} & {
|
|
3306
3270
|
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
3307
3271
|
error: z.ZodObject<{
|
|
3308
3272
|
type: z.ZodString;
|
|
@@ -3314,7 +3278,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3314
3278
|
type: string;
|
|
3315
3279
|
message: string;
|
|
3316
3280
|
}>;
|
|
3317
|
-
}
|
|
3281
|
+
}, "strip", z.ZodTypeAny, {
|
|
3318
3282
|
error: {
|
|
3319
3283
|
type: string;
|
|
3320
3284
|
message: string;
|
|
@@ -3332,16 +3296,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3332
3296
|
action_attempt_id: string;
|
|
3333
3297
|
result: null;
|
|
3334
3298
|
action_type: "SYNC_ACCESS_CODES";
|
|
3335
|
-
}>, z.ZodObject<
|
|
3299
|
+
}>, z.ZodObject<{
|
|
3336
3300
|
action_attempt_id: z.ZodString;
|
|
3337
|
-
|
|
3338
|
-
}, {
|
|
3301
|
+
} & {
|
|
3339
3302
|
status: z.ZodLiteral<"pending">;
|
|
3340
3303
|
result: z.ZodNull;
|
|
3341
3304
|
error: z.ZodNull;
|
|
3342
|
-
}
|
|
3305
|
+
} & {
|
|
3343
3306
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
3344
|
-
}
|
|
3307
|
+
}, "strip", z.ZodTypeAny, {
|
|
3345
3308
|
error: null;
|
|
3346
3309
|
status: "pending";
|
|
3347
3310
|
action_attempt_id: string;
|
|
@@ -3353,13 +3316,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3353
3316
|
action_attempt_id: string;
|
|
3354
3317
|
result: null;
|
|
3355
3318
|
action_type: "CREATE_ACCESS_CODE";
|
|
3356
|
-
}>, z.ZodObject<
|
|
3319
|
+
}>, z.ZodObject<{
|
|
3357
3320
|
action_attempt_id: z.ZodString;
|
|
3358
|
-
|
|
3359
|
-
}, {
|
|
3321
|
+
} & {
|
|
3360
3322
|
status: z.ZodLiteral<"success">;
|
|
3361
3323
|
error: z.ZodNull;
|
|
3362
|
-
}
|
|
3324
|
+
} & {
|
|
3363
3325
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
3364
3326
|
result: z.ZodObject<{
|
|
3365
3327
|
access_code: z.ZodAny;
|
|
@@ -3368,7 +3330,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3368
3330
|
}, {
|
|
3369
3331
|
access_code?: any;
|
|
3370
3332
|
}>;
|
|
3371
|
-
}
|
|
3333
|
+
}, "strip", z.ZodTypeAny, {
|
|
3372
3334
|
error: null;
|
|
3373
3335
|
status: "success";
|
|
3374
3336
|
action_attempt_id: string;
|
|
@@ -3384,13 +3346,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3384
3346
|
access_code?: any;
|
|
3385
3347
|
};
|
|
3386
3348
|
action_type: "CREATE_ACCESS_CODE";
|
|
3387
|
-
}>, z.ZodObject<
|
|
3349
|
+
}>, z.ZodObject<{
|
|
3388
3350
|
action_attempt_id: z.ZodString;
|
|
3389
|
-
|
|
3390
|
-
}, {
|
|
3351
|
+
} & {
|
|
3391
3352
|
status: z.ZodLiteral<"error">;
|
|
3392
3353
|
result: z.ZodNull;
|
|
3393
|
-
}
|
|
3354
|
+
} & {
|
|
3394
3355
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
3395
3356
|
error: z.ZodObject<{
|
|
3396
3357
|
type: z.ZodString;
|
|
@@ -3402,7 +3363,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3402
3363
|
type: string;
|
|
3403
3364
|
message: string;
|
|
3404
3365
|
}>;
|
|
3405
|
-
}
|
|
3366
|
+
}, "strip", z.ZodTypeAny, {
|
|
3406
3367
|
error: {
|
|
3407
3368
|
type: string;
|
|
3408
3369
|
message: string;
|
|
@@ -3420,16 +3381,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3420
3381
|
action_attempt_id: string;
|
|
3421
3382
|
result: null;
|
|
3422
3383
|
action_type: "CREATE_ACCESS_CODE";
|
|
3423
|
-
}>, z.ZodObject<
|
|
3384
|
+
}>, z.ZodObject<{
|
|
3424
3385
|
action_attempt_id: z.ZodString;
|
|
3425
|
-
|
|
3426
|
-
}, {
|
|
3386
|
+
} & {
|
|
3427
3387
|
status: z.ZodLiteral<"pending">;
|
|
3428
3388
|
result: z.ZodNull;
|
|
3429
3389
|
error: z.ZodNull;
|
|
3430
|
-
}
|
|
3390
|
+
} & {
|
|
3431
3391
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
3432
|
-
}
|
|
3392
|
+
}, "strip", z.ZodTypeAny, {
|
|
3433
3393
|
error: null;
|
|
3434
3394
|
status: "pending";
|
|
3435
3395
|
action_attempt_id: string;
|
|
@@ -3441,16 +3401,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3441
3401
|
action_attempt_id: string;
|
|
3442
3402
|
result: null;
|
|
3443
3403
|
action_type: "DELETE_ACCESS_CODE";
|
|
3444
|
-
}>, z.ZodObject<
|
|
3404
|
+
}>, z.ZodObject<{
|
|
3445
3405
|
action_attempt_id: z.ZodString;
|
|
3446
|
-
|
|
3447
|
-
}, {
|
|
3406
|
+
} & {
|
|
3448
3407
|
status: z.ZodLiteral<"success">;
|
|
3449
3408
|
error: z.ZodNull;
|
|
3450
|
-
}
|
|
3409
|
+
} & {
|
|
3451
3410
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
3452
3411
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3453
|
-
}
|
|
3412
|
+
}, "strip", z.ZodTypeAny, {
|
|
3454
3413
|
error: null;
|
|
3455
3414
|
status: "success";
|
|
3456
3415
|
action_attempt_id: string;
|
|
@@ -3462,13 +3421,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3462
3421
|
action_attempt_id: string;
|
|
3463
3422
|
result: {};
|
|
3464
3423
|
action_type: "DELETE_ACCESS_CODE";
|
|
3465
|
-
}>, z.ZodObject<
|
|
3424
|
+
}>, z.ZodObject<{
|
|
3466
3425
|
action_attempt_id: z.ZodString;
|
|
3467
|
-
|
|
3468
|
-
}, {
|
|
3426
|
+
} & {
|
|
3469
3427
|
status: z.ZodLiteral<"error">;
|
|
3470
3428
|
result: z.ZodNull;
|
|
3471
|
-
}
|
|
3429
|
+
} & {
|
|
3472
3430
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
3473
3431
|
error: z.ZodObject<{
|
|
3474
3432
|
type: z.ZodString;
|
|
@@ -3480,7 +3438,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3480
3438
|
type: string;
|
|
3481
3439
|
message: string;
|
|
3482
3440
|
}>;
|
|
3483
|
-
}
|
|
3441
|
+
}, "strip", z.ZodTypeAny, {
|
|
3484
3442
|
error: {
|
|
3485
3443
|
type: string;
|
|
3486
3444
|
message: string;
|
|
@@ -3498,16 +3456,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3498
3456
|
action_attempt_id: string;
|
|
3499
3457
|
result: null;
|
|
3500
3458
|
action_type: "DELETE_ACCESS_CODE";
|
|
3501
|
-
}>, z.ZodObject<
|
|
3459
|
+
}>, z.ZodObject<{
|
|
3502
3460
|
action_attempt_id: z.ZodString;
|
|
3503
|
-
|
|
3504
|
-
}, {
|
|
3461
|
+
} & {
|
|
3505
3462
|
status: z.ZodLiteral<"pending">;
|
|
3506
3463
|
result: z.ZodNull;
|
|
3507
3464
|
error: z.ZodNull;
|
|
3508
|
-
}
|
|
3465
|
+
} & {
|
|
3509
3466
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
3510
|
-
}
|
|
3467
|
+
}, "strip", z.ZodTypeAny, {
|
|
3511
3468
|
error: null;
|
|
3512
3469
|
status: "pending";
|
|
3513
3470
|
action_attempt_id: string;
|
|
@@ -3519,13 +3476,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3519
3476
|
action_attempt_id: string;
|
|
3520
3477
|
result: null;
|
|
3521
3478
|
action_type: "UPDATE_ACCESS_CODE";
|
|
3522
|
-
}>, z.ZodObject<
|
|
3479
|
+
}>, z.ZodObject<{
|
|
3523
3480
|
action_attempt_id: z.ZodString;
|
|
3524
|
-
|
|
3525
|
-
}, {
|
|
3481
|
+
} & {
|
|
3526
3482
|
status: z.ZodLiteral<"success">;
|
|
3527
3483
|
error: z.ZodNull;
|
|
3528
|
-
}
|
|
3484
|
+
} & {
|
|
3529
3485
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
3530
3486
|
result: z.ZodObject<{
|
|
3531
3487
|
access_code: z.ZodAny;
|
|
@@ -3534,7 +3490,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3534
3490
|
}, {
|
|
3535
3491
|
access_code?: any;
|
|
3536
3492
|
}>;
|
|
3537
|
-
}
|
|
3493
|
+
}, "strip", z.ZodTypeAny, {
|
|
3538
3494
|
error: null;
|
|
3539
3495
|
status: "success";
|
|
3540
3496
|
action_attempt_id: string;
|
|
@@ -3550,13 +3506,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3550
3506
|
access_code?: any;
|
|
3551
3507
|
};
|
|
3552
3508
|
action_type: "UPDATE_ACCESS_CODE";
|
|
3553
|
-
}>, z.ZodObject<
|
|
3509
|
+
}>, z.ZodObject<{
|
|
3554
3510
|
action_attempt_id: z.ZodString;
|
|
3555
|
-
|
|
3556
|
-
}, {
|
|
3511
|
+
} & {
|
|
3557
3512
|
status: z.ZodLiteral<"error">;
|
|
3558
3513
|
result: z.ZodNull;
|
|
3559
|
-
}
|
|
3514
|
+
} & {
|
|
3560
3515
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
3561
3516
|
error: z.ZodObject<{
|
|
3562
3517
|
type: z.ZodString;
|
|
@@ -3568,7 +3523,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3568
3523
|
type: string;
|
|
3569
3524
|
message: string;
|
|
3570
3525
|
}>;
|
|
3571
|
-
}
|
|
3526
|
+
}, "strip", z.ZodTypeAny, {
|
|
3572
3527
|
error: {
|
|
3573
3528
|
type: string;
|
|
3574
3529
|
message: string;
|
|
@@ -3586,16 +3541,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3586
3541
|
action_attempt_id: string;
|
|
3587
3542
|
result: null;
|
|
3588
3543
|
action_type: "UPDATE_ACCESS_CODE";
|
|
3589
|
-
}>, z.ZodObject<
|
|
3544
|
+
}>, z.ZodObject<{
|
|
3590
3545
|
action_attempt_id: z.ZodString;
|
|
3591
|
-
|
|
3592
|
-
}, {
|
|
3546
|
+
} & {
|
|
3593
3547
|
status: z.ZodLiteral<"pending">;
|
|
3594
3548
|
result: z.ZodNull;
|
|
3595
3549
|
error: z.ZodNull;
|
|
3596
|
-
}
|
|
3550
|
+
} & {
|
|
3597
3551
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
3598
|
-
}
|
|
3552
|
+
}, "strip", z.ZodTypeAny, {
|
|
3599
3553
|
error: null;
|
|
3600
3554
|
status: "pending";
|
|
3601
3555
|
action_attempt_id: string;
|
|
@@ -3607,13 +3561,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3607
3561
|
action_attempt_id: string;
|
|
3608
3562
|
result: null;
|
|
3609
3563
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
3610
|
-
}>, z.ZodObject<
|
|
3564
|
+
}>, z.ZodObject<{
|
|
3611
3565
|
action_attempt_id: z.ZodString;
|
|
3612
|
-
|
|
3613
|
-
}, {
|
|
3566
|
+
} & {
|
|
3614
3567
|
status: z.ZodLiteral<"success">;
|
|
3615
3568
|
error: z.ZodNull;
|
|
3616
|
-
}
|
|
3569
|
+
} & {
|
|
3617
3570
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
3618
3571
|
result: z.ZodObject<{
|
|
3619
3572
|
noise_threshold: z.ZodAny;
|
|
@@ -3622,7 +3575,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3622
3575
|
}, {
|
|
3623
3576
|
noise_threshold?: any;
|
|
3624
3577
|
}>;
|
|
3625
|
-
}
|
|
3578
|
+
}, "strip", z.ZodTypeAny, {
|
|
3626
3579
|
error: null;
|
|
3627
3580
|
status: "success";
|
|
3628
3581
|
action_attempt_id: string;
|
|
@@ -3638,13 +3591,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3638
3591
|
noise_threshold?: any;
|
|
3639
3592
|
};
|
|
3640
3593
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
3641
|
-
}>, z.ZodObject<
|
|
3594
|
+
}>, z.ZodObject<{
|
|
3642
3595
|
action_attempt_id: z.ZodString;
|
|
3643
|
-
|
|
3644
|
-
}, {
|
|
3596
|
+
} & {
|
|
3645
3597
|
status: z.ZodLiteral<"error">;
|
|
3646
3598
|
result: z.ZodNull;
|
|
3647
|
-
}
|
|
3599
|
+
} & {
|
|
3648
3600
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
3649
3601
|
error: z.ZodObject<{
|
|
3650
3602
|
type: z.ZodString;
|
|
@@ -3656,7 +3608,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3656
3608
|
type: string;
|
|
3657
3609
|
message: string;
|
|
3658
3610
|
}>;
|
|
3659
|
-
}
|
|
3611
|
+
}, "strip", z.ZodTypeAny, {
|
|
3660
3612
|
error: {
|
|
3661
3613
|
type: string;
|
|
3662
3614
|
message: string;
|
|
@@ -3674,16 +3626,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3674
3626
|
action_attempt_id: string;
|
|
3675
3627
|
result: null;
|
|
3676
3628
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
3677
|
-
}>, z.ZodObject<
|
|
3629
|
+
}>, z.ZodObject<{
|
|
3678
3630
|
action_attempt_id: z.ZodString;
|
|
3679
|
-
|
|
3680
|
-
}, {
|
|
3631
|
+
} & {
|
|
3681
3632
|
status: z.ZodLiteral<"pending">;
|
|
3682
3633
|
result: z.ZodNull;
|
|
3683
3634
|
error: z.ZodNull;
|
|
3684
|
-
}
|
|
3635
|
+
} & {
|
|
3685
3636
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
3686
|
-
}
|
|
3637
|
+
}, "strip", z.ZodTypeAny, {
|
|
3687
3638
|
error: null;
|
|
3688
3639
|
status: "pending";
|
|
3689
3640
|
action_attempt_id: string;
|
|
@@ -3695,16 +3646,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3695
3646
|
action_attempt_id: string;
|
|
3696
3647
|
result: null;
|
|
3697
3648
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
3698
|
-
}>, z.ZodObject<
|
|
3649
|
+
}>, z.ZodObject<{
|
|
3699
3650
|
action_attempt_id: z.ZodString;
|
|
3700
|
-
|
|
3701
|
-
}, {
|
|
3651
|
+
} & {
|
|
3702
3652
|
status: z.ZodLiteral<"success">;
|
|
3703
3653
|
error: z.ZodNull;
|
|
3704
|
-
}
|
|
3654
|
+
} & {
|
|
3705
3655
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
3706
3656
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
3707
|
-
}
|
|
3657
|
+
}, "strip", z.ZodTypeAny, {
|
|
3708
3658
|
error: null;
|
|
3709
3659
|
status: "success";
|
|
3710
3660
|
action_attempt_id: string;
|
|
@@ -3716,13 +3666,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3716
3666
|
action_attempt_id: string;
|
|
3717
3667
|
result: {};
|
|
3718
3668
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
3719
|
-
}>, z.ZodObject<
|
|
3669
|
+
}>, z.ZodObject<{
|
|
3720
3670
|
action_attempt_id: z.ZodString;
|
|
3721
|
-
|
|
3722
|
-
}, {
|
|
3671
|
+
} & {
|
|
3723
3672
|
status: z.ZodLiteral<"error">;
|
|
3724
3673
|
result: z.ZodNull;
|
|
3725
|
-
}
|
|
3674
|
+
} & {
|
|
3726
3675
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
3727
3676
|
error: z.ZodObject<{
|
|
3728
3677
|
type: z.ZodString;
|
|
@@ -3734,7 +3683,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3734
3683
|
type: string;
|
|
3735
3684
|
message: string;
|
|
3736
3685
|
}>;
|
|
3737
|
-
}
|
|
3686
|
+
}, "strip", z.ZodTypeAny, {
|
|
3738
3687
|
error: {
|
|
3739
3688
|
type: string;
|
|
3740
3689
|
message: string;
|
|
@@ -3752,16 +3701,15 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3752
3701
|
action_attempt_id: string;
|
|
3753
3702
|
result: null;
|
|
3754
3703
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
3755
|
-
}>, z.ZodObject<
|
|
3704
|
+
}>, z.ZodObject<{
|
|
3756
3705
|
action_attempt_id: z.ZodString;
|
|
3757
|
-
|
|
3758
|
-
}, {
|
|
3706
|
+
} & {
|
|
3759
3707
|
status: z.ZodLiteral<"pending">;
|
|
3760
3708
|
result: z.ZodNull;
|
|
3761
3709
|
error: z.ZodNull;
|
|
3762
|
-
}
|
|
3710
|
+
} & {
|
|
3763
3711
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
3764
|
-
}
|
|
3712
|
+
}, "strip", z.ZodTypeAny, {
|
|
3765
3713
|
error: null;
|
|
3766
3714
|
status: "pending";
|
|
3767
3715
|
action_attempt_id: string;
|
|
@@ -3773,13 +3721,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3773
3721
|
action_attempt_id: string;
|
|
3774
3722
|
result: null;
|
|
3775
3723
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
3776
|
-
}>, z.ZodObject<
|
|
3724
|
+
}>, z.ZodObject<{
|
|
3777
3725
|
action_attempt_id: z.ZodString;
|
|
3778
|
-
|
|
3779
|
-
}, {
|
|
3726
|
+
} & {
|
|
3780
3727
|
status: z.ZodLiteral<"success">;
|
|
3781
3728
|
error: z.ZodNull;
|
|
3782
|
-
}
|
|
3729
|
+
} & {
|
|
3783
3730
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
3784
3731
|
result: z.ZodObject<{
|
|
3785
3732
|
noise_threshold: z.ZodAny;
|
|
@@ -3788,7 +3735,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3788
3735
|
}, {
|
|
3789
3736
|
noise_threshold?: any;
|
|
3790
3737
|
}>;
|
|
3791
|
-
}
|
|
3738
|
+
}, "strip", z.ZodTypeAny, {
|
|
3792
3739
|
error: null;
|
|
3793
3740
|
status: "success";
|
|
3794
3741
|
action_attempt_id: string;
|
|
@@ -3804,13 +3751,12 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3804
3751
|
noise_threshold?: any;
|
|
3805
3752
|
};
|
|
3806
3753
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
3807
|
-
}>, z.ZodObject<
|
|
3754
|
+
}>, z.ZodObject<{
|
|
3808
3755
|
action_attempt_id: z.ZodString;
|
|
3809
|
-
|
|
3810
|
-
}, {
|
|
3756
|
+
} & {
|
|
3811
3757
|
status: z.ZodLiteral<"error">;
|
|
3812
3758
|
result: z.ZodNull;
|
|
3813
|
-
}
|
|
3759
|
+
} & {
|
|
3814
3760
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
3815
3761
|
error: z.ZodObject<{
|
|
3816
3762
|
type: z.ZodString;
|
|
@@ -3822,7 +3768,7 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
3822
3768
|
type: string;
|
|
3823
3769
|
message: string;
|
|
3824
3770
|
}>;
|
|
3825
|
-
}
|
|
3771
|
+
}, "strip", z.ZodTypeAny, {
|
|
3826
3772
|
error: {
|
|
3827
3773
|
type: string;
|
|
3828
3774
|
message: string;
|