@seamapi/types 1.177.0 → 1.178.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 +667 -1199
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +10835 -4185
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +483 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +485 -0
- package/lib/seam/connect/models/action-attempts/deprecated.js +108 -0
- package/lib/seam/connect/models/action-attempts/deprecated.js.map +1 -0
- package/lib/seam/connect/models/index.d.ts +2 -2
- package/lib/seam/connect/models/index.js +2 -2
- package/lib/seam/connect/models/index.js.map +1 -1
- package/lib/seam/connect/models/user-identities/index.d.ts +1 -0
- package/lib/seam/connect/models/user-identities/index.js +2 -0
- package/lib/seam/connect/models/user-identities/index.js.map +1 -0
- package/lib/seam/connect/models/{user-identity.js → user-identities/user-identity.js} +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js.map +1 -0
- package/lib/seam/connect/models/workspaces/index.d.ts +1 -0
- package/lib/seam/connect/models/workspaces/index.js +2 -0
- package/lib/seam/connect/models/workspaces/index.js.map +1 -0
- package/lib/seam/connect/models/workspaces/workspace.d.ts +17 -0
- package/lib/seam/connect/models/workspaces/workspace.js +8 -0
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -0
- package/lib/seam/connect/openapi.d.ts +124 -1235
- package/lib/seam/connect/openapi.js +470 -1115
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +9828 -2568
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/internal/schemas.ts +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -2
- package/src/lib/seam/connect/models/action-attempts/deprecated.ts +122 -0
- package/src/lib/seam/connect/models/index.ts +2 -2
- package/src/lib/seam/connect/models/user-identities/index.ts +1 -0
- package/src/lib/seam/connect/models/{user-identity.ts → user-identities/user-identity.ts} +1 -1
- package/src/lib/seam/connect/models/workspaces/index.ts +1 -0
- package/src/lib/seam/connect/models/workspaces/workspace.ts +8 -0
- package/src/lib/seam/connect/openapi.ts +491 -1115
- package/src/lib/seam/connect/route-types.ts +10139 -2335
- package/src/lib/seam/connect/schemas.ts +1 -0
- package/lib/seam/connect/models/network.d.ts +0 -18
- package/lib/seam/connect/models/network.js +0 -8
- package/lib/seam/connect/models/network.js.map +0 -1
- package/lib/seam/connect/models/user-identity.js.map +0 -1
- package/src/lib/seam/connect/models/network.ts +0 -10
- /package/lib/seam/connect/models/{user-identity.d.ts → user-identities/user-identity.d.ts} +0 -0
|
@@ -0,0 +1,485 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const deprecated_action_attempts: readonly [z.ZodObject<{
|
|
3
|
+
error: z.ZodNull;
|
|
4
|
+
status: z.ZodLiteral<"pending">;
|
|
5
|
+
action_attempt_id: z.ZodString;
|
|
6
|
+
result: z.ZodNull;
|
|
7
|
+
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
error: null;
|
|
10
|
+
status: "pending";
|
|
11
|
+
action_attempt_id: string;
|
|
12
|
+
result: null;
|
|
13
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
14
|
+
}, {
|
|
15
|
+
error: null;
|
|
16
|
+
status: "pending";
|
|
17
|
+
action_attempt_id: string;
|
|
18
|
+
result: null;
|
|
19
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
20
|
+
}>, z.ZodObject<{
|
|
21
|
+
error: z.ZodNull;
|
|
22
|
+
status: z.ZodLiteral<"success">;
|
|
23
|
+
action_attempt_id: z.ZodString;
|
|
24
|
+
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
25
|
+
result: z.ZodAny;
|
|
26
|
+
}, "strip", z.ZodTypeAny, {
|
|
27
|
+
error: null;
|
|
28
|
+
status: "success";
|
|
29
|
+
action_attempt_id: string;
|
|
30
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
31
|
+
result?: any;
|
|
32
|
+
}, {
|
|
33
|
+
error: null;
|
|
34
|
+
status: "success";
|
|
35
|
+
action_attempt_id: string;
|
|
36
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
37
|
+
result?: any;
|
|
38
|
+
}>, z.ZodObject<{
|
|
39
|
+
status: z.ZodLiteral<"error">;
|
|
40
|
+
action_attempt_id: z.ZodString;
|
|
41
|
+
result: z.ZodNull;
|
|
42
|
+
action_type: z.ZodLiteral<"SYNC_ACCESS_CODES">;
|
|
43
|
+
error: z.ZodObject<{
|
|
44
|
+
type: z.ZodString;
|
|
45
|
+
message: z.ZodString;
|
|
46
|
+
}, "strip", z.ZodTypeAny, {
|
|
47
|
+
type: string;
|
|
48
|
+
message: string;
|
|
49
|
+
}, {
|
|
50
|
+
type: string;
|
|
51
|
+
message: string;
|
|
52
|
+
}>;
|
|
53
|
+
}, "strip", z.ZodTypeAny, {
|
|
54
|
+
error: {
|
|
55
|
+
type: string;
|
|
56
|
+
message: string;
|
|
57
|
+
};
|
|
58
|
+
status: "error";
|
|
59
|
+
action_attempt_id: string;
|
|
60
|
+
result: null;
|
|
61
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
62
|
+
}, {
|
|
63
|
+
error: {
|
|
64
|
+
type: string;
|
|
65
|
+
message: string;
|
|
66
|
+
};
|
|
67
|
+
status: "error";
|
|
68
|
+
action_attempt_id: string;
|
|
69
|
+
result: null;
|
|
70
|
+
action_type: "SYNC_ACCESS_CODES";
|
|
71
|
+
}>, z.ZodObject<{
|
|
72
|
+
error: z.ZodNull;
|
|
73
|
+
status: z.ZodLiteral<"pending">;
|
|
74
|
+
action_attempt_id: z.ZodString;
|
|
75
|
+
result: z.ZodNull;
|
|
76
|
+
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
error: null;
|
|
79
|
+
status: "pending";
|
|
80
|
+
action_attempt_id: string;
|
|
81
|
+
result: null;
|
|
82
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
83
|
+
}, {
|
|
84
|
+
error: null;
|
|
85
|
+
status: "pending";
|
|
86
|
+
action_attempt_id: string;
|
|
87
|
+
result: null;
|
|
88
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
89
|
+
}>, z.ZodObject<{
|
|
90
|
+
error: z.ZodNull;
|
|
91
|
+
status: z.ZodLiteral<"success">;
|
|
92
|
+
action_attempt_id: z.ZodString;
|
|
93
|
+
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
94
|
+
result: z.ZodAny;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
error: null;
|
|
97
|
+
status: "success";
|
|
98
|
+
action_attempt_id: string;
|
|
99
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
100
|
+
result?: any;
|
|
101
|
+
}, {
|
|
102
|
+
error: null;
|
|
103
|
+
status: "success";
|
|
104
|
+
action_attempt_id: string;
|
|
105
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
106
|
+
result?: any;
|
|
107
|
+
}>, z.ZodObject<{
|
|
108
|
+
status: z.ZodLiteral<"error">;
|
|
109
|
+
action_attempt_id: z.ZodString;
|
|
110
|
+
result: z.ZodNull;
|
|
111
|
+
action_type: z.ZodLiteral<"CREATE_ACCESS_CODE">;
|
|
112
|
+
error: z.ZodObject<{
|
|
113
|
+
type: z.ZodString;
|
|
114
|
+
message: z.ZodString;
|
|
115
|
+
}, "strip", z.ZodTypeAny, {
|
|
116
|
+
type: string;
|
|
117
|
+
message: string;
|
|
118
|
+
}, {
|
|
119
|
+
type: string;
|
|
120
|
+
message: string;
|
|
121
|
+
}>;
|
|
122
|
+
}, "strip", z.ZodTypeAny, {
|
|
123
|
+
error: {
|
|
124
|
+
type: string;
|
|
125
|
+
message: string;
|
|
126
|
+
};
|
|
127
|
+
status: "error";
|
|
128
|
+
action_attempt_id: string;
|
|
129
|
+
result: null;
|
|
130
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
131
|
+
}, {
|
|
132
|
+
error: {
|
|
133
|
+
type: string;
|
|
134
|
+
message: string;
|
|
135
|
+
};
|
|
136
|
+
status: "error";
|
|
137
|
+
action_attempt_id: string;
|
|
138
|
+
result: null;
|
|
139
|
+
action_type: "CREATE_ACCESS_CODE";
|
|
140
|
+
}>, z.ZodObject<{
|
|
141
|
+
error: z.ZodNull;
|
|
142
|
+
status: z.ZodLiteral<"pending">;
|
|
143
|
+
action_attempt_id: z.ZodString;
|
|
144
|
+
result: z.ZodNull;
|
|
145
|
+
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
error: null;
|
|
148
|
+
status: "pending";
|
|
149
|
+
action_attempt_id: string;
|
|
150
|
+
result: null;
|
|
151
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
152
|
+
}, {
|
|
153
|
+
error: null;
|
|
154
|
+
status: "pending";
|
|
155
|
+
action_attempt_id: string;
|
|
156
|
+
result: null;
|
|
157
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
158
|
+
}>, z.ZodObject<{
|
|
159
|
+
error: z.ZodNull;
|
|
160
|
+
status: z.ZodLiteral<"success">;
|
|
161
|
+
action_attempt_id: z.ZodString;
|
|
162
|
+
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
163
|
+
result: z.ZodAny;
|
|
164
|
+
}, "strip", z.ZodTypeAny, {
|
|
165
|
+
error: null;
|
|
166
|
+
status: "success";
|
|
167
|
+
action_attempt_id: string;
|
|
168
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
169
|
+
result?: any;
|
|
170
|
+
}, {
|
|
171
|
+
error: null;
|
|
172
|
+
status: "success";
|
|
173
|
+
action_attempt_id: string;
|
|
174
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
175
|
+
result?: any;
|
|
176
|
+
}>, z.ZodObject<{
|
|
177
|
+
status: z.ZodLiteral<"error">;
|
|
178
|
+
action_attempt_id: z.ZodString;
|
|
179
|
+
result: z.ZodNull;
|
|
180
|
+
action_type: z.ZodLiteral<"DELETE_ACCESS_CODE">;
|
|
181
|
+
error: z.ZodObject<{
|
|
182
|
+
type: z.ZodString;
|
|
183
|
+
message: z.ZodString;
|
|
184
|
+
}, "strip", z.ZodTypeAny, {
|
|
185
|
+
type: string;
|
|
186
|
+
message: string;
|
|
187
|
+
}, {
|
|
188
|
+
type: string;
|
|
189
|
+
message: string;
|
|
190
|
+
}>;
|
|
191
|
+
}, "strip", z.ZodTypeAny, {
|
|
192
|
+
error: {
|
|
193
|
+
type: string;
|
|
194
|
+
message: string;
|
|
195
|
+
};
|
|
196
|
+
status: "error";
|
|
197
|
+
action_attempt_id: string;
|
|
198
|
+
result: null;
|
|
199
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
200
|
+
}, {
|
|
201
|
+
error: {
|
|
202
|
+
type: string;
|
|
203
|
+
message: string;
|
|
204
|
+
};
|
|
205
|
+
status: "error";
|
|
206
|
+
action_attempt_id: string;
|
|
207
|
+
result: null;
|
|
208
|
+
action_type: "DELETE_ACCESS_CODE";
|
|
209
|
+
}>, z.ZodObject<{
|
|
210
|
+
error: z.ZodNull;
|
|
211
|
+
status: z.ZodLiteral<"pending">;
|
|
212
|
+
action_attempt_id: z.ZodString;
|
|
213
|
+
result: z.ZodNull;
|
|
214
|
+
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
215
|
+
}, "strip", z.ZodTypeAny, {
|
|
216
|
+
error: null;
|
|
217
|
+
status: "pending";
|
|
218
|
+
action_attempt_id: string;
|
|
219
|
+
result: null;
|
|
220
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
221
|
+
}, {
|
|
222
|
+
error: null;
|
|
223
|
+
status: "pending";
|
|
224
|
+
action_attempt_id: string;
|
|
225
|
+
result: null;
|
|
226
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
227
|
+
}>, z.ZodObject<{
|
|
228
|
+
error: z.ZodNull;
|
|
229
|
+
status: z.ZodLiteral<"success">;
|
|
230
|
+
action_attempt_id: z.ZodString;
|
|
231
|
+
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
232
|
+
result: z.ZodAny;
|
|
233
|
+
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
error: null;
|
|
235
|
+
status: "success";
|
|
236
|
+
action_attempt_id: string;
|
|
237
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
238
|
+
result?: any;
|
|
239
|
+
}, {
|
|
240
|
+
error: null;
|
|
241
|
+
status: "success";
|
|
242
|
+
action_attempt_id: string;
|
|
243
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
244
|
+
result?: any;
|
|
245
|
+
}>, z.ZodObject<{
|
|
246
|
+
status: z.ZodLiteral<"error">;
|
|
247
|
+
action_attempt_id: z.ZodString;
|
|
248
|
+
result: z.ZodNull;
|
|
249
|
+
action_type: z.ZodLiteral<"UPDATE_ACCESS_CODE">;
|
|
250
|
+
error: z.ZodObject<{
|
|
251
|
+
type: z.ZodString;
|
|
252
|
+
message: z.ZodString;
|
|
253
|
+
}, "strip", z.ZodTypeAny, {
|
|
254
|
+
type: string;
|
|
255
|
+
message: string;
|
|
256
|
+
}, {
|
|
257
|
+
type: string;
|
|
258
|
+
message: string;
|
|
259
|
+
}>;
|
|
260
|
+
}, "strip", z.ZodTypeAny, {
|
|
261
|
+
error: {
|
|
262
|
+
type: string;
|
|
263
|
+
message: string;
|
|
264
|
+
};
|
|
265
|
+
status: "error";
|
|
266
|
+
action_attempt_id: string;
|
|
267
|
+
result: null;
|
|
268
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
269
|
+
}, {
|
|
270
|
+
error: {
|
|
271
|
+
type: string;
|
|
272
|
+
message: string;
|
|
273
|
+
};
|
|
274
|
+
status: "error";
|
|
275
|
+
action_attempt_id: string;
|
|
276
|
+
result: null;
|
|
277
|
+
action_type: "UPDATE_ACCESS_CODE";
|
|
278
|
+
}>, z.ZodObject<{
|
|
279
|
+
error: z.ZodNull;
|
|
280
|
+
status: z.ZodLiteral<"pending">;
|
|
281
|
+
action_attempt_id: z.ZodString;
|
|
282
|
+
result: z.ZodNull;
|
|
283
|
+
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
error: null;
|
|
286
|
+
status: "pending";
|
|
287
|
+
action_attempt_id: string;
|
|
288
|
+
result: null;
|
|
289
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
290
|
+
}, {
|
|
291
|
+
error: null;
|
|
292
|
+
status: "pending";
|
|
293
|
+
action_attempt_id: string;
|
|
294
|
+
result: null;
|
|
295
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
296
|
+
}>, z.ZodObject<{
|
|
297
|
+
error: z.ZodNull;
|
|
298
|
+
status: z.ZodLiteral<"success">;
|
|
299
|
+
action_attempt_id: z.ZodString;
|
|
300
|
+
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
301
|
+
result: z.ZodAny;
|
|
302
|
+
}, "strip", z.ZodTypeAny, {
|
|
303
|
+
error: null;
|
|
304
|
+
status: "success";
|
|
305
|
+
action_attempt_id: string;
|
|
306
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
307
|
+
result?: any;
|
|
308
|
+
}, {
|
|
309
|
+
error: null;
|
|
310
|
+
status: "success";
|
|
311
|
+
action_attempt_id: string;
|
|
312
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
313
|
+
result?: any;
|
|
314
|
+
}>, z.ZodObject<{
|
|
315
|
+
status: z.ZodLiteral<"error">;
|
|
316
|
+
action_attempt_id: z.ZodString;
|
|
317
|
+
result: z.ZodNull;
|
|
318
|
+
action_type: z.ZodLiteral<"CREATE_NOISE_THRESHOLD">;
|
|
319
|
+
error: z.ZodObject<{
|
|
320
|
+
type: z.ZodString;
|
|
321
|
+
message: z.ZodString;
|
|
322
|
+
}, "strip", z.ZodTypeAny, {
|
|
323
|
+
type: string;
|
|
324
|
+
message: string;
|
|
325
|
+
}, {
|
|
326
|
+
type: string;
|
|
327
|
+
message: string;
|
|
328
|
+
}>;
|
|
329
|
+
}, "strip", z.ZodTypeAny, {
|
|
330
|
+
error: {
|
|
331
|
+
type: string;
|
|
332
|
+
message: string;
|
|
333
|
+
};
|
|
334
|
+
status: "error";
|
|
335
|
+
action_attempt_id: string;
|
|
336
|
+
result: null;
|
|
337
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
338
|
+
}, {
|
|
339
|
+
error: {
|
|
340
|
+
type: string;
|
|
341
|
+
message: string;
|
|
342
|
+
};
|
|
343
|
+
status: "error";
|
|
344
|
+
action_attempt_id: string;
|
|
345
|
+
result: null;
|
|
346
|
+
action_type: "CREATE_NOISE_THRESHOLD";
|
|
347
|
+
}>, z.ZodObject<{
|
|
348
|
+
error: z.ZodNull;
|
|
349
|
+
status: z.ZodLiteral<"pending">;
|
|
350
|
+
action_attempt_id: z.ZodString;
|
|
351
|
+
result: z.ZodNull;
|
|
352
|
+
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
353
|
+
}, "strip", z.ZodTypeAny, {
|
|
354
|
+
error: null;
|
|
355
|
+
status: "pending";
|
|
356
|
+
action_attempt_id: string;
|
|
357
|
+
result: null;
|
|
358
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
359
|
+
}, {
|
|
360
|
+
error: null;
|
|
361
|
+
status: "pending";
|
|
362
|
+
action_attempt_id: string;
|
|
363
|
+
result: null;
|
|
364
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
365
|
+
}>, z.ZodObject<{
|
|
366
|
+
error: z.ZodNull;
|
|
367
|
+
status: z.ZodLiteral<"success">;
|
|
368
|
+
action_attempt_id: z.ZodString;
|
|
369
|
+
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
370
|
+
result: z.ZodAny;
|
|
371
|
+
}, "strip", z.ZodTypeAny, {
|
|
372
|
+
error: null;
|
|
373
|
+
status: "success";
|
|
374
|
+
action_attempt_id: string;
|
|
375
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
376
|
+
result?: any;
|
|
377
|
+
}, {
|
|
378
|
+
error: null;
|
|
379
|
+
status: "success";
|
|
380
|
+
action_attempt_id: string;
|
|
381
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
382
|
+
result?: any;
|
|
383
|
+
}>, z.ZodObject<{
|
|
384
|
+
status: z.ZodLiteral<"error">;
|
|
385
|
+
action_attempt_id: z.ZodString;
|
|
386
|
+
result: z.ZodNull;
|
|
387
|
+
action_type: z.ZodLiteral<"DELETE_NOISE_THRESHOLD">;
|
|
388
|
+
error: z.ZodObject<{
|
|
389
|
+
type: z.ZodString;
|
|
390
|
+
message: z.ZodString;
|
|
391
|
+
}, "strip", z.ZodTypeAny, {
|
|
392
|
+
type: string;
|
|
393
|
+
message: string;
|
|
394
|
+
}, {
|
|
395
|
+
type: string;
|
|
396
|
+
message: string;
|
|
397
|
+
}>;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
error: {
|
|
400
|
+
type: string;
|
|
401
|
+
message: string;
|
|
402
|
+
};
|
|
403
|
+
status: "error";
|
|
404
|
+
action_attempt_id: string;
|
|
405
|
+
result: null;
|
|
406
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
407
|
+
}, {
|
|
408
|
+
error: {
|
|
409
|
+
type: string;
|
|
410
|
+
message: string;
|
|
411
|
+
};
|
|
412
|
+
status: "error";
|
|
413
|
+
action_attempt_id: string;
|
|
414
|
+
result: null;
|
|
415
|
+
action_type: "DELETE_NOISE_THRESHOLD";
|
|
416
|
+
}>, z.ZodObject<{
|
|
417
|
+
error: z.ZodNull;
|
|
418
|
+
status: z.ZodLiteral<"pending">;
|
|
419
|
+
action_attempt_id: z.ZodString;
|
|
420
|
+
result: z.ZodNull;
|
|
421
|
+
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
422
|
+
}, "strip", z.ZodTypeAny, {
|
|
423
|
+
error: null;
|
|
424
|
+
status: "pending";
|
|
425
|
+
action_attempt_id: string;
|
|
426
|
+
result: null;
|
|
427
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
428
|
+
}, {
|
|
429
|
+
error: null;
|
|
430
|
+
status: "pending";
|
|
431
|
+
action_attempt_id: string;
|
|
432
|
+
result: null;
|
|
433
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
434
|
+
}>, z.ZodObject<{
|
|
435
|
+
error: z.ZodNull;
|
|
436
|
+
status: z.ZodLiteral<"success">;
|
|
437
|
+
action_attempt_id: z.ZodString;
|
|
438
|
+
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
439
|
+
result: z.ZodAny;
|
|
440
|
+
}, "strip", z.ZodTypeAny, {
|
|
441
|
+
error: null;
|
|
442
|
+
status: "success";
|
|
443
|
+
action_attempt_id: string;
|
|
444
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
445
|
+
result?: any;
|
|
446
|
+
}, {
|
|
447
|
+
error: null;
|
|
448
|
+
status: "success";
|
|
449
|
+
action_attempt_id: string;
|
|
450
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
451
|
+
result?: any;
|
|
452
|
+
}>, z.ZodObject<{
|
|
453
|
+
status: z.ZodLiteral<"error">;
|
|
454
|
+
action_attempt_id: z.ZodString;
|
|
455
|
+
result: z.ZodNull;
|
|
456
|
+
action_type: z.ZodLiteral<"UPDATE_NOISE_THRESHOLD">;
|
|
457
|
+
error: z.ZodObject<{
|
|
458
|
+
type: z.ZodString;
|
|
459
|
+
message: z.ZodString;
|
|
460
|
+
}, "strip", z.ZodTypeAny, {
|
|
461
|
+
type: string;
|
|
462
|
+
message: string;
|
|
463
|
+
}, {
|
|
464
|
+
type: string;
|
|
465
|
+
message: string;
|
|
466
|
+
}>;
|
|
467
|
+
}, "strip", z.ZodTypeAny, {
|
|
468
|
+
error: {
|
|
469
|
+
type: string;
|
|
470
|
+
message: string;
|
|
471
|
+
};
|
|
472
|
+
status: "error";
|
|
473
|
+
action_attempt_id: string;
|
|
474
|
+
result: null;
|
|
475
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
476
|
+
}, {
|
|
477
|
+
error: {
|
|
478
|
+
type: string;
|
|
479
|
+
message: string;
|
|
480
|
+
};
|
|
481
|
+
status: "error";
|
|
482
|
+
action_attempt_id: string;
|
|
483
|
+
result: null;
|
|
484
|
+
action_type: "UPDATE_NOISE_THRESHOLD";
|
|
485
|
+
}>];
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
|
|
3
|
+
const error = z.object({
|
|
4
|
+
type: z.string(),
|
|
5
|
+
message: z.string(),
|
|
6
|
+
});
|
|
7
|
+
const result = z.any();
|
|
8
|
+
const sync_access_codes_action_attempt = z.discriminatedUnion('status', [
|
|
9
|
+
common_pending_action_attempt.extend({
|
|
10
|
+
action_type: z.literal('SYNC_ACCESS_CODES'),
|
|
11
|
+
}),
|
|
12
|
+
common_succeeded_action_attempt.extend({
|
|
13
|
+
action_type: z.literal('SYNC_ACCESS_CODES'),
|
|
14
|
+
result,
|
|
15
|
+
}),
|
|
16
|
+
common_failed_action_attempt.extend({
|
|
17
|
+
action_type: z.literal('SYNC_ACCESS_CODES'),
|
|
18
|
+
error,
|
|
19
|
+
}),
|
|
20
|
+
]);
|
|
21
|
+
const create_access_code_action_attempt = z.discriminatedUnion('status', [
|
|
22
|
+
common_pending_action_attempt.extend({
|
|
23
|
+
action_type: z.literal('CREATE_ACCESS_CODE'),
|
|
24
|
+
}),
|
|
25
|
+
common_succeeded_action_attempt.extend({
|
|
26
|
+
action_type: z.literal('CREATE_ACCESS_CODE'),
|
|
27
|
+
result,
|
|
28
|
+
}),
|
|
29
|
+
common_failed_action_attempt.extend({
|
|
30
|
+
action_type: z.literal('CREATE_ACCESS_CODE'),
|
|
31
|
+
error,
|
|
32
|
+
}),
|
|
33
|
+
]);
|
|
34
|
+
const delete_access_code_action_attempt = z.discriminatedUnion('status', [
|
|
35
|
+
common_pending_action_attempt.extend({
|
|
36
|
+
action_type: z.literal('DELETE_ACCESS_CODE'),
|
|
37
|
+
}),
|
|
38
|
+
common_succeeded_action_attempt.extend({
|
|
39
|
+
action_type: z.literal('DELETE_ACCESS_CODE'),
|
|
40
|
+
result,
|
|
41
|
+
}),
|
|
42
|
+
common_failed_action_attempt.extend({
|
|
43
|
+
action_type: z.literal('DELETE_ACCESS_CODE'),
|
|
44
|
+
error,
|
|
45
|
+
}),
|
|
46
|
+
]);
|
|
47
|
+
const update_access_code_action_attempt = z.discriminatedUnion('status', [
|
|
48
|
+
common_pending_action_attempt.extend({
|
|
49
|
+
action_type: z.literal('UPDATE_ACCESS_CODE'),
|
|
50
|
+
}),
|
|
51
|
+
common_succeeded_action_attempt.extend({
|
|
52
|
+
action_type: z.literal('UPDATE_ACCESS_CODE'),
|
|
53
|
+
result,
|
|
54
|
+
}),
|
|
55
|
+
common_failed_action_attempt.extend({
|
|
56
|
+
action_type: z.literal('UPDATE_ACCESS_CODE'),
|
|
57
|
+
error,
|
|
58
|
+
}),
|
|
59
|
+
]);
|
|
60
|
+
const create_noise_threshold_action_attempt = z.discriminatedUnion('status', [
|
|
61
|
+
common_pending_action_attempt.extend({
|
|
62
|
+
action_type: z.literal('CREATE_NOISE_THRESHOLD'),
|
|
63
|
+
}),
|
|
64
|
+
common_succeeded_action_attempt.extend({
|
|
65
|
+
action_type: z.literal('CREATE_NOISE_THRESHOLD'),
|
|
66
|
+
result,
|
|
67
|
+
}),
|
|
68
|
+
common_failed_action_attempt.extend({
|
|
69
|
+
action_type: z.literal('CREATE_NOISE_THRESHOLD'),
|
|
70
|
+
error,
|
|
71
|
+
}),
|
|
72
|
+
]);
|
|
73
|
+
const delete_noise_threshold_action_attempt = z.discriminatedUnion('status', [
|
|
74
|
+
common_pending_action_attempt.extend({
|
|
75
|
+
action_type: z.literal('DELETE_NOISE_THRESHOLD'),
|
|
76
|
+
}),
|
|
77
|
+
common_succeeded_action_attempt.extend({
|
|
78
|
+
action_type: z.literal('DELETE_NOISE_THRESHOLD'),
|
|
79
|
+
result,
|
|
80
|
+
}),
|
|
81
|
+
common_failed_action_attempt.extend({
|
|
82
|
+
action_type: z.literal('DELETE_NOISE_THRESHOLD'),
|
|
83
|
+
error,
|
|
84
|
+
}),
|
|
85
|
+
]);
|
|
86
|
+
const update_noise_threshold_action_attempt = z.discriminatedUnion('status', [
|
|
87
|
+
common_pending_action_attempt.extend({
|
|
88
|
+
action_type: z.literal('UPDATE_NOISE_THRESHOLD'),
|
|
89
|
+
}),
|
|
90
|
+
common_succeeded_action_attempt.extend({
|
|
91
|
+
action_type: z.literal('UPDATE_NOISE_THRESHOLD'),
|
|
92
|
+
result,
|
|
93
|
+
}),
|
|
94
|
+
common_failed_action_attempt.extend({
|
|
95
|
+
action_type: z.literal('UPDATE_NOISE_THRESHOLD'),
|
|
96
|
+
error,
|
|
97
|
+
}),
|
|
98
|
+
]);
|
|
99
|
+
export const deprecated_action_attempts = [
|
|
100
|
+
...sync_access_codes_action_attempt.options,
|
|
101
|
+
...create_access_code_action_attempt.options,
|
|
102
|
+
...delete_access_code_action_attempt.options,
|
|
103
|
+
...update_access_code_action_attempt.options,
|
|
104
|
+
...create_noise_threshold_action_attempt.options,
|
|
105
|
+
...delete_noise_threshold_action_attempt.options,
|
|
106
|
+
...update_noise_threshold_action_attempt.options,
|
|
107
|
+
];
|
|
108
|
+
//# sourceMappingURL=deprecated.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"deprecated.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/deprecated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,GAAG,EAAE,CAAA;AAEtB,MAAM,gCAAgC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACtE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;KAC5C,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;QAC3C,MAAM;KACP,CAAC;IACF,4BAA4B,CAAC,MAAM,CAAC;QAClC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;QAC3C,KAAK;KACN,CAAC;CACH,CAAC,CAAA;AAEF,MAAM,iCAAiC,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACvE,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;KAC7C,CAAC;IACF,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW,EAAE,CAAC,CAAC,OAAO,CAAC,oBAA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,OAAO;CACxC,CAAA"}
|
|
@@ -6,6 +6,6 @@ export * from './connect-webviews/index.js';
|
|
|
6
6
|
export * from './custom-metadata.js';
|
|
7
7
|
export * from './devices/index.js';
|
|
8
8
|
export * from './events/index.js';
|
|
9
|
-
export * from './network.js';
|
|
10
9
|
export * from './phone-number.js';
|
|
11
|
-
export * from './user-
|
|
10
|
+
export * from './user-identities/index.js';
|
|
11
|
+
export * from './workspaces/index.js';
|
|
@@ -6,7 +6,7 @@ export * from './connect-webviews/index.js';
|
|
|
6
6
|
export * from './custom-metadata.js';
|
|
7
7
|
export * from './devices/index.js';
|
|
8
8
|
export * from './events/index.js';
|
|
9
|
-
export * from './network.js';
|
|
10
9
|
export * from './phone-number.js';
|
|
11
|
-
export * from './user-
|
|
10
|
+
export * from './user-identities/index.js';
|
|
11
|
+
export * from './workspaces/index.js';
|
|
12
12
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAA;AACvC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,4BAA4B,CAAA;AAC1C,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,sBAAsB,CAAA;AACpC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,mBAAmB,CAAA;AACjC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uBAAuB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './user-identity.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/user-identities/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"user-identity.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/user-identities/user-identity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEjD,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC;IACpC,gBAAgB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IACnC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IAC/C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,KAAK,EAAE,CAAC,QAAQ,EAAE;IAC5C,YAAY,EAAE,YAAY,CAAC,QAAQ,EAAE;IACrC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IAC/B,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACvC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAChC,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './workspace.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const workspace: z.ZodObject<{
|
|
3
|
+
workspace_id: z.ZodString;
|
|
4
|
+
name: z.ZodString;
|
|
5
|
+
is_sandbox: z.ZodBoolean;
|
|
6
|
+
connect_partner_name: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
name: string;
|
|
9
|
+
workspace_id: string;
|
|
10
|
+
is_sandbox: boolean;
|
|
11
|
+
connect_partner_name: string | null;
|
|
12
|
+
}, {
|
|
13
|
+
name: string;
|
|
14
|
+
workspace_id: string;
|
|
15
|
+
is_sandbox: boolean;
|
|
16
|
+
connect_partner_name: string | null;
|
|
17
|
+
}>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"workspace.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/workspaces/workspace.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,SAAS,GAAG,CAAC,CAAC,MAAM,CAAC;IAChC,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;IAC/B,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,OAAO,EAAE;IACvB,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAA"}
|