@seamapi/types 1.442.0 → 1.444.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 +131 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1935 -1913
- package/dist/devicedb.cjs.map +1 -1
- package/dist/devicedb.d.cts +27 -27
- package/dist/index.cjs +131 -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 +50 -0
- package/lib/seam/connect/openapi.js +127 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +36 -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 +143 -0
- package/src/lib/seam/connect/route-types.ts +36 -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 activate_climate_preset_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<
|
|
2
|
+
export declare const activate_climate_preset_action_attempt: z.ZodDiscriminatedUnion<"status", [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<"ACTIVATE_CLIMATE_PRESET">;
|
|
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 activate_climate_preset_action_attempt: z.ZodDiscriminatedU
|
|
|
20
19
|
action_attempt_id: string;
|
|
21
20
|
result: null;
|
|
22
21
|
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
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<"ACTIVATE_CLIMATE_PRESET">;
|
|
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 activate_climate_preset_action_attempt: z.ZodDiscriminatedU
|
|
|
41
39
|
action_attempt_id: string;
|
|
42
40
|
result: {};
|
|
43
41
|
action_type: "ACTIVATE_CLIMATE_PRESET";
|
|
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<"ACTIVATE_CLIMATE_PRESET">;
|
|
52
49
|
error: z.ZodObject<{
|
|
53
50
|
type: z.ZodString;
|
|
@@ -59,7 +56,7 @@ export declare const activate_climate_preset_action_attempt: z.ZodDiscriminatedU
|
|
|
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;
|
|
@@ -9,14 +9,13 @@ export declare const common_action_attempt: z.ZodObject<{
|
|
|
9
9
|
status: "error" | "pending" | "success";
|
|
10
10
|
action_attempt_id: string;
|
|
11
11
|
}>;
|
|
12
|
-
export declare const common_pending_action_attempt: z.ZodObject<
|
|
12
|
+
export declare const common_pending_action_attempt: z.ZodObject<{
|
|
13
13
|
action_attempt_id: z.ZodString;
|
|
14
|
-
|
|
15
|
-
}, {
|
|
14
|
+
} & {
|
|
16
15
|
status: z.ZodLiteral<"pending">;
|
|
17
16
|
result: z.ZodNull;
|
|
18
17
|
error: z.ZodNull;
|
|
19
|
-
}
|
|
18
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
19
|
error: null;
|
|
21
20
|
status: "pending";
|
|
22
21
|
action_attempt_id: string;
|
|
@@ -27,13 +26,12 @@ export declare const common_pending_action_attempt: z.ZodObject<z.objectUtil.ext
|
|
|
27
26
|
action_attempt_id: string;
|
|
28
27
|
result: null;
|
|
29
28
|
}>;
|
|
30
|
-
export declare const common_succeeded_action_attempt: z.ZodObject<
|
|
29
|
+
export declare const common_succeeded_action_attempt: z.ZodObject<{
|
|
31
30
|
action_attempt_id: z.ZodString;
|
|
32
|
-
|
|
33
|
-
}, {
|
|
31
|
+
} & {
|
|
34
32
|
status: z.ZodLiteral<"success">;
|
|
35
33
|
error: z.ZodNull;
|
|
36
|
-
}
|
|
34
|
+
}, "strip", z.ZodTypeAny, {
|
|
37
35
|
error: null;
|
|
38
36
|
status: "success";
|
|
39
37
|
action_attempt_id: string;
|
|
@@ -42,13 +40,12 @@ export declare const common_succeeded_action_attempt: z.ZodObject<z.objectUtil.e
|
|
|
42
40
|
status: "success";
|
|
43
41
|
action_attempt_id: string;
|
|
44
42
|
}>;
|
|
45
|
-
export declare const common_failed_action_attempt: z.ZodObject<
|
|
43
|
+
export declare const common_failed_action_attempt: z.ZodObject<{
|
|
46
44
|
action_attempt_id: z.ZodString;
|
|
47
|
-
|
|
48
|
-
}, {
|
|
45
|
+
} & {
|
|
49
46
|
status: z.ZodLiteral<"error">;
|
|
50
47
|
result: z.ZodNull;
|
|
51
|
-
}
|
|
48
|
+
}, "strip", z.ZodTypeAny, {
|
|
52
49
|
status: "error";
|
|
53
50
|
action_attempt_id: string;
|
|
54
51
|
result: null;
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const deprecated_action_attempts: readonly [z.ZodObject<
|
|
2
|
+
export declare const deprecated_action_attempts: readonly [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<"SYNC_ACCESS_CODES">;
|
|
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 deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
20
19
|
action_attempt_id: string;
|
|
21
20
|
result: null;
|
|
22
21
|
action_type: "SYNC_ACCESS_CODES";
|
|
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<"SYNC_ACCESS_CODES">;
|
|
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 deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
41
39
|
action_attempt_id: string;
|
|
42
40
|
result: {};
|
|
43
41
|
action_type: "SYNC_ACCESS_CODES";
|
|
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<"SYNC_ACCESS_CODES">;
|
|
52
49
|
error: z.ZodObject<{
|
|
53
50
|
type: z.ZodString;
|
|
@@ -59,7 +56,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
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 deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
77
74
|
action_attempt_id: string;
|
|
78
75
|
result: null;
|
|
79
76
|
action_type: "SYNC_ACCESS_CODES";
|
|
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<"CREATE_ACCESS_CODE">;
|
|
89
|
-
}
|
|
85
|
+
}, "strip", z.ZodTypeAny, {
|
|
90
86
|
error: null;
|
|
91
87
|
status: "pending";
|
|
92
88
|
action_attempt_id: string;
|
|
@@ -98,13 +94,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
98
94
|
action_attempt_id: string;
|
|
99
95
|
result: null;
|
|
100
96
|
action_type: "CREATE_ACCESS_CODE";
|
|
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<"CREATE_ACCESS_CODE">;
|
|
109
104
|
result: z.ZodObject<{
|
|
110
105
|
access_code: z.ZodAny;
|
|
@@ -113,7 +108,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
113
108
|
}, {
|
|
114
109
|
access_code?: any;
|
|
115
110
|
}>;
|
|
116
|
-
}
|
|
111
|
+
}, "strip", z.ZodTypeAny, {
|
|
117
112
|
error: null;
|
|
118
113
|
status: "success";
|
|
119
114
|
action_attempt_id: string;
|
|
@@ -129,13 +124,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
129
124
|
access_code?: any;
|
|
130
125
|
};
|
|
131
126
|
action_type: "CREATE_ACCESS_CODE";
|
|
132
|
-
}>, z.ZodObject<
|
|
127
|
+
}>, z.ZodObject<{
|
|
133
128
|
action_attempt_id: z.ZodString;
|
|
134
|
-
|
|
135
|
-
}, {
|
|
129
|
+
} & {
|
|
136
130
|
status: z.ZodLiteral<"error">;
|
|
137
131
|
result: z.ZodNull;
|
|
138
|
-
}
|
|
132
|
+
} & {
|
|
139
133
|
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
140
134
|
error: z.ZodObject<{
|
|
141
135
|
type: z.ZodString;
|
|
@@ -147,7 +141,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
147
141
|
type: string;
|
|
148
142
|
message: string;
|
|
149
143
|
}>;
|
|
150
|
-
}
|
|
144
|
+
}, "strip", z.ZodTypeAny, {
|
|
151
145
|
error: {
|
|
152
146
|
type: string;
|
|
153
147
|
message: string;
|
|
@@ -165,16 +159,15 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
165
159
|
action_attempt_id: string;
|
|
166
160
|
result: null;
|
|
167
161
|
action_type: "CREATE_ACCESS_CODE";
|
|
168
|
-
}>, z.ZodObject<
|
|
162
|
+
}>, z.ZodObject<{
|
|
169
163
|
action_attempt_id: z.ZodString;
|
|
170
|
-
|
|
171
|
-
}, {
|
|
164
|
+
} & {
|
|
172
165
|
status: z.ZodLiteral<"pending">;
|
|
173
166
|
result: z.ZodNull;
|
|
174
167
|
error: z.ZodNull;
|
|
175
|
-
}
|
|
168
|
+
} & {
|
|
176
169
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
177
|
-
}
|
|
170
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
171
|
error: null;
|
|
179
172
|
status: "pending";
|
|
180
173
|
action_attempt_id: string;
|
|
@@ -186,16 +179,15 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
186
179
|
action_attempt_id: string;
|
|
187
180
|
result: null;
|
|
188
181
|
action_type: "DELETE_ACCESS_CODE";
|
|
189
|
-
}>, z.ZodObject<
|
|
182
|
+
}>, z.ZodObject<{
|
|
190
183
|
action_attempt_id: z.ZodString;
|
|
191
|
-
|
|
192
|
-
}, {
|
|
184
|
+
} & {
|
|
193
185
|
status: z.ZodLiteral<"success">;
|
|
194
186
|
error: z.ZodNull;
|
|
195
|
-
}
|
|
187
|
+
} & {
|
|
196
188
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
197
189
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
198
|
-
}
|
|
190
|
+
}, "strip", z.ZodTypeAny, {
|
|
199
191
|
error: null;
|
|
200
192
|
status: "success";
|
|
201
193
|
action_attempt_id: string;
|
|
@@ -207,13 +199,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
207
199
|
action_attempt_id: string;
|
|
208
200
|
result: {};
|
|
209
201
|
action_type: "DELETE_ACCESS_CODE";
|
|
210
|
-
}>, z.ZodObject<
|
|
202
|
+
}>, z.ZodObject<{
|
|
211
203
|
action_attempt_id: z.ZodString;
|
|
212
|
-
|
|
213
|
-
}, {
|
|
204
|
+
} & {
|
|
214
205
|
status: z.ZodLiteral<"error">;
|
|
215
206
|
result: z.ZodNull;
|
|
216
|
-
}
|
|
207
|
+
} & {
|
|
217
208
|
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
218
209
|
error: z.ZodObject<{
|
|
219
210
|
type: z.ZodString;
|
|
@@ -225,7 +216,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
225
216
|
type: string;
|
|
226
217
|
message: string;
|
|
227
218
|
}>;
|
|
228
|
-
}
|
|
219
|
+
}, "strip", z.ZodTypeAny, {
|
|
229
220
|
error: {
|
|
230
221
|
type: string;
|
|
231
222
|
message: string;
|
|
@@ -243,16 +234,15 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
243
234
|
action_attempt_id: string;
|
|
244
235
|
result: null;
|
|
245
236
|
action_type: "DELETE_ACCESS_CODE";
|
|
246
|
-
}>, z.ZodObject<
|
|
237
|
+
}>, z.ZodObject<{
|
|
247
238
|
action_attempt_id: z.ZodString;
|
|
248
|
-
|
|
249
|
-
}, {
|
|
239
|
+
} & {
|
|
250
240
|
status: z.ZodLiteral<"pending">;
|
|
251
241
|
result: z.ZodNull;
|
|
252
242
|
error: z.ZodNull;
|
|
253
|
-
}
|
|
243
|
+
} & {
|
|
254
244
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
255
|
-
}
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
256
246
|
error: null;
|
|
257
247
|
status: "pending";
|
|
258
248
|
action_attempt_id: string;
|
|
@@ -264,13 +254,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
264
254
|
action_attempt_id: string;
|
|
265
255
|
result: null;
|
|
266
256
|
action_type: "UPDATE_ACCESS_CODE";
|
|
267
|
-
}>, z.ZodObject<
|
|
257
|
+
}>, z.ZodObject<{
|
|
268
258
|
action_attempt_id: z.ZodString;
|
|
269
|
-
|
|
270
|
-
}, {
|
|
259
|
+
} & {
|
|
271
260
|
status: z.ZodLiteral<"success">;
|
|
272
261
|
error: z.ZodNull;
|
|
273
|
-
}
|
|
262
|
+
} & {
|
|
274
263
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
275
264
|
result: z.ZodObject<{
|
|
276
265
|
access_code: z.ZodAny;
|
|
@@ -279,7 +268,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
279
268
|
}, {
|
|
280
269
|
access_code?: any;
|
|
281
270
|
}>;
|
|
282
|
-
}
|
|
271
|
+
}, "strip", z.ZodTypeAny, {
|
|
283
272
|
error: null;
|
|
284
273
|
status: "success";
|
|
285
274
|
action_attempt_id: string;
|
|
@@ -295,13 +284,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
295
284
|
access_code?: any;
|
|
296
285
|
};
|
|
297
286
|
action_type: "UPDATE_ACCESS_CODE";
|
|
298
|
-
}>, z.ZodObject<
|
|
287
|
+
}>, z.ZodObject<{
|
|
299
288
|
action_attempt_id: z.ZodString;
|
|
300
|
-
|
|
301
|
-
}, {
|
|
289
|
+
} & {
|
|
302
290
|
status: z.ZodLiteral<"error">;
|
|
303
291
|
result: z.ZodNull;
|
|
304
|
-
}
|
|
292
|
+
} & {
|
|
305
293
|
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
306
294
|
error: z.ZodObject<{
|
|
307
295
|
type: z.ZodString;
|
|
@@ -313,7 +301,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
313
301
|
type: string;
|
|
314
302
|
message: string;
|
|
315
303
|
}>;
|
|
316
|
-
}
|
|
304
|
+
}, "strip", z.ZodTypeAny, {
|
|
317
305
|
error: {
|
|
318
306
|
type: string;
|
|
319
307
|
message: string;
|
|
@@ -331,16 +319,15 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
331
319
|
action_attempt_id: string;
|
|
332
320
|
result: null;
|
|
333
321
|
action_type: "UPDATE_ACCESS_CODE";
|
|
334
|
-
}>, z.ZodObject<
|
|
322
|
+
}>, z.ZodObject<{
|
|
335
323
|
action_attempt_id: z.ZodString;
|
|
336
|
-
|
|
337
|
-
}, {
|
|
324
|
+
} & {
|
|
338
325
|
status: z.ZodLiteral<"pending">;
|
|
339
326
|
result: z.ZodNull;
|
|
340
327
|
error: z.ZodNull;
|
|
341
|
-
}
|
|
328
|
+
} & {
|
|
342
329
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
343
|
-
}
|
|
330
|
+
}, "strip", z.ZodTypeAny, {
|
|
344
331
|
error: null;
|
|
345
332
|
status: "pending";
|
|
346
333
|
action_attempt_id: string;
|
|
@@ -352,13 +339,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
352
339
|
action_attempt_id: string;
|
|
353
340
|
result: null;
|
|
354
341
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
355
|
-
}>, z.ZodObject<
|
|
342
|
+
}>, z.ZodObject<{
|
|
356
343
|
action_attempt_id: z.ZodString;
|
|
357
|
-
|
|
358
|
-
}, {
|
|
344
|
+
} & {
|
|
359
345
|
status: z.ZodLiteral<"success">;
|
|
360
346
|
error: z.ZodNull;
|
|
361
|
-
}
|
|
347
|
+
} & {
|
|
362
348
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
363
349
|
result: z.ZodObject<{
|
|
364
350
|
noise_threshold: z.ZodAny;
|
|
@@ -367,7 +353,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
367
353
|
}, {
|
|
368
354
|
noise_threshold?: any;
|
|
369
355
|
}>;
|
|
370
|
-
}
|
|
356
|
+
}, "strip", z.ZodTypeAny, {
|
|
371
357
|
error: null;
|
|
372
358
|
status: "success";
|
|
373
359
|
action_attempt_id: string;
|
|
@@ -383,13 +369,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
383
369
|
noise_threshold?: any;
|
|
384
370
|
};
|
|
385
371
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
386
|
-
}>, z.ZodObject<
|
|
372
|
+
}>, z.ZodObject<{
|
|
387
373
|
action_attempt_id: z.ZodString;
|
|
388
|
-
|
|
389
|
-
}, {
|
|
374
|
+
} & {
|
|
390
375
|
status: z.ZodLiteral<"error">;
|
|
391
376
|
result: z.ZodNull;
|
|
392
|
-
}
|
|
377
|
+
} & {
|
|
393
378
|
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
394
379
|
error: z.ZodObject<{
|
|
395
380
|
type: z.ZodString;
|
|
@@ -401,7 +386,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
401
386
|
type: string;
|
|
402
387
|
message: string;
|
|
403
388
|
}>;
|
|
404
|
-
}
|
|
389
|
+
}, "strip", z.ZodTypeAny, {
|
|
405
390
|
error: {
|
|
406
391
|
type: string;
|
|
407
392
|
message: string;
|
|
@@ -419,16 +404,15 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
419
404
|
action_attempt_id: string;
|
|
420
405
|
result: null;
|
|
421
406
|
action_type: "CREATE_NOISE_THRESHOLD";
|
|
422
|
-
}>, z.ZodObject<
|
|
407
|
+
}>, z.ZodObject<{
|
|
423
408
|
action_attempt_id: z.ZodString;
|
|
424
|
-
|
|
425
|
-
}, {
|
|
409
|
+
} & {
|
|
426
410
|
status: z.ZodLiteral<"pending">;
|
|
427
411
|
result: z.ZodNull;
|
|
428
412
|
error: z.ZodNull;
|
|
429
|
-
}
|
|
413
|
+
} & {
|
|
430
414
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
431
|
-
}
|
|
415
|
+
}, "strip", z.ZodTypeAny, {
|
|
432
416
|
error: null;
|
|
433
417
|
status: "pending";
|
|
434
418
|
action_attempt_id: string;
|
|
@@ -440,16 +424,15 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
440
424
|
action_attempt_id: string;
|
|
441
425
|
result: null;
|
|
442
426
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
443
|
-
}>, z.ZodObject<
|
|
427
|
+
}>, z.ZodObject<{
|
|
444
428
|
action_attempt_id: z.ZodString;
|
|
445
|
-
|
|
446
|
-
}, {
|
|
429
|
+
} & {
|
|
447
430
|
status: z.ZodLiteral<"success">;
|
|
448
431
|
error: z.ZodNull;
|
|
449
|
-
}
|
|
432
|
+
} & {
|
|
450
433
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
451
434
|
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
452
|
-
}
|
|
435
|
+
}, "strip", z.ZodTypeAny, {
|
|
453
436
|
error: null;
|
|
454
437
|
status: "success";
|
|
455
438
|
action_attempt_id: string;
|
|
@@ -461,13 +444,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
461
444
|
action_attempt_id: string;
|
|
462
445
|
result: {};
|
|
463
446
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
464
|
-
}>, z.ZodObject<
|
|
447
|
+
}>, z.ZodObject<{
|
|
465
448
|
action_attempt_id: z.ZodString;
|
|
466
|
-
|
|
467
|
-
}, {
|
|
449
|
+
} & {
|
|
468
450
|
status: z.ZodLiteral<"error">;
|
|
469
451
|
result: z.ZodNull;
|
|
470
|
-
}
|
|
452
|
+
} & {
|
|
471
453
|
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
472
454
|
error: z.ZodObject<{
|
|
473
455
|
type: z.ZodString;
|
|
@@ -479,7 +461,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
479
461
|
type: string;
|
|
480
462
|
message: string;
|
|
481
463
|
}>;
|
|
482
|
-
}
|
|
464
|
+
}, "strip", z.ZodTypeAny, {
|
|
483
465
|
error: {
|
|
484
466
|
type: string;
|
|
485
467
|
message: string;
|
|
@@ -497,16 +479,15 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
497
479
|
action_attempt_id: string;
|
|
498
480
|
result: null;
|
|
499
481
|
action_type: "DELETE_NOISE_THRESHOLD";
|
|
500
|
-
}>, z.ZodObject<
|
|
482
|
+
}>, z.ZodObject<{
|
|
501
483
|
action_attempt_id: z.ZodString;
|
|
502
|
-
|
|
503
|
-
}, {
|
|
484
|
+
} & {
|
|
504
485
|
status: z.ZodLiteral<"pending">;
|
|
505
486
|
result: z.ZodNull;
|
|
506
487
|
error: z.ZodNull;
|
|
507
|
-
}
|
|
488
|
+
} & {
|
|
508
489
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
509
|
-
}
|
|
490
|
+
}, "strip", z.ZodTypeAny, {
|
|
510
491
|
error: null;
|
|
511
492
|
status: "pending";
|
|
512
493
|
action_attempt_id: string;
|
|
@@ -518,13 +499,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
518
499
|
action_attempt_id: string;
|
|
519
500
|
result: null;
|
|
520
501
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
521
|
-
}>, z.ZodObject<
|
|
502
|
+
}>, z.ZodObject<{
|
|
522
503
|
action_attempt_id: z.ZodString;
|
|
523
|
-
|
|
524
|
-
}, {
|
|
504
|
+
} & {
|
|
525
505
|
status: z.ZodLiteral<"success">;
|
|
526
506
|
error: z.ZodNull;
|
|
527
|
-
}
|
|
507
|
+
} & {
|
|
528
508
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
529
509
|
result: z.ZodObject<{
|
|
530
510
|
noise_threshold: z.ZodAny;
|
|
@@ -533,7 +513,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
533
513
|
}, {
|
|
534
514
|
noise_threshold?: any;
|
|
535
515
|
}>;
|
|
536
|
-
}
|
|
516
|
+
}, "strip", z.ZodTypeAny, {
|
|
537
517
|
error: null;
|
|
538
518
|
status: "success";
|
|
539
519
|
action_attempt_id: string;
|
|
@@ -549,13 +529,12 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
549
529
|
noise_threshold?: any;
|
|
550
530
|
};
|
|
551
531
|
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
552
|
-
}>, z.ZodObject<
|
|
532
|
+
}>, z.ZodObject<{
|
|
553
533
|
action_attempt_id: z.ZodString;
|
|
554
|
-
|
|
555
|
-
}, {
|
|
534
|
+
} & {
|
|
556
535
|
status: z.ZodLiteral<"error">;
|
|
557
536
|
result: z.ZodNull;
|
|
558
|
-
}
|
|
537
|
+
} & {
|
|
559
538
|
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
560
539
|
error: z.ZodObject<{
|
|
561
540
|
type: z.ZodString;
|
|
@@ -567,7 +546,7 @@ export declare const deprecated_action_attempts: readonly [z.ZodObject<z.objectU
|
|
|
567
546
|
type: string;
|
|
568
547
|
message: string;
|
|
569
548
|
}>;
|
|
570
|
-
}
|
|
549
|
+
}, "strip", z.ZodTypeAny, {
|
|
571
550
|
error: {
|
|
572
551
|
type: string;
|
|
573
552
|
message: string;
|