@seamapi/types 1.377.0 → 1.379.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 +166 -28
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +356 -118
- package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +88 -28
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +256 -10
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js +17 -3
- package/lib/seam/connect/models/acs/acs-users/pending-mutations.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +80 -80
- package/lib/seam/connect/models/bridges/bridge-client-session.js +5 -0
- package/lib/seam/connect/models/bridges/bridge-client-session.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +124 -8
- package/lib/seam/connect/openapi.js +150 -20
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +119 -57
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts +18 -3
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +5 -0
- package/src/lib/seam/connect/openapi.ts +151 -28
- package/src/lib/seam/connect/route-types.ts +119 -57
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const updating_user_information_mutation: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
created_at: z.ZodString;
|
|
4
|
+
message: z.ZodString;
|
|
4
5
|
}, {
|
|
5
6
|
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
6
7
|
from: z.ZodObject<{
|
|
@@ -30,6 +31,7 @@ export declare const updating_user_information_mutation: z.ZodObject<z.objectUti
|
|
|
30
31
|
phone_number?: string | null | undefined;
|
|
31
32
|
}>;
|
|
32
33
|
}>, "strip", z.ZodTypeAny, {
|
|
34
|
+
message: string;
|
|
33
35
|
created_at: string;
|
|
34
36
|
mutation_code: "updating_user_information";
|
|
35
37
|
from: {
|
|
@@ -43,6 +45,7 @@ export declare const updating_user_information_mutation: z.ZodObject<z.objectUti
|
|
|
43
45
|
phone_number?: string | null | undefined;
|
|
44
46
|
};
|
|
45
47
|
}, {
|
|
48
|
+
message: string;
|
|
46
49
|
created_at: string;
|
|
47
50
|
mutation_code: "updating_user_information";
|
|
48
51
|
from: {
|
|
@@ -58,26 +61,33 @@ export declare const updating_user_information_mutation: z.ZodObject<z.objectUti
|
|
|
58
61
|
}>;
|
|
59
62
|
export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<z.objectUtil.extendShape<{
|
|
60
63
|
created_at: z.ZodString;
|
|
64
|
+
message: z.ZodString;
|
|
61
65
|
}, {
|
|
62
66
|
mutation_code: z.ZodLiteral<"creating">;
|
|
63
67
|
}>, "strip", z.ZodTypeAny, {
|
|
68
|
+
message: string;
|
|
64
69
|
created_at: string;
|
|
65
70
|
mutation_code: "creating";
|
|
66
71
|
}, {
|
|
72
|
+
message: string;
|
|
67
73
|
created_at: string;
|
|
68
74
|
mutation_code: "creating";
|
|
69
75
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
70
76
|
created_at: z.ZodString;
|
|
77
|
+
message: z.ZodString;
|
|
71
78
|
}, {
|
|
72
79
|
mutation_code: z.ZodLiteral<"deleting">;
|
|
73
80
|
}>, "strip", z.ZodTypeAny, {
|
|
81
|
+
message: string;
|
|
74
82
|
created_at: string;
|
|
75
83
|
mutation_code: "deleting";
|
|
76
84
|
}, {
|
|
85
|
+
message: string;
|
|
77
86
|
created_at: string;
|
|
78
87
|
mutation_code: "deleting";
|
|
79
88
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
80
89
|
created_at: z.ZodString;
|
|
90
|
+
message: z.ZodString;
|
|
81
91
|
}, {
|
|
82
92
|
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
83
93
|
from: z.ZodObject<{
|
|
@@ -107,6 +117,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
|
|
|
107
117
|
phone_number?: string | null | undefined;
|
|
108
118
|
}>;
|
|
109
119
|
}>, "strip", z.ZodTypeAny, {
|
|
120
|
+
message: string;
|
|
110
121
|
created_at: string;
|
|
111
122
|
mutation_code: "updating_user_information";
|
|
112
123
|
from: {
|
|
@@ -120,6 +131,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
|
|
|
120
131
|
phone_number?: string | null | undefined;
|
|
121
132
|
};
|
|
122
133
|
}, {
|
|
134
|
+
message: string;
|
|
123
135
|
created_at: string;
|
|
124
136
|
mutation_code: "updating_user_information";
|
|
125
137
|
from: {
|
|
@@ -134,52 +146,56 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
|
|
|
134
146
|
};
|
|
135
147
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
136
148
|
created_at: z.ZodString;
|
|
149
|
+
message: z.ZodString;
|
|
137
150
|
}, {
|
|
138
151
|
mutation_code: z.ZodLiteral<"updating_access_schedule">;
|
|
139
152
|
from: z.ZodObject<{
|
|
140
|
-
starts_at: z.ZodString
|
|
153
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
141
154
|
ends_at: z.ZodNullable<z.ZodString>;
|
|
142
155
|
}, "strip", z.ZodTypeAny, {
|
|
143
|
-
starts_at: string;
|
|
156
|
+
starts_at: string | null;
|
|
144
157
|
ends_at: string | null;
|
|
145
158
|
}, {
|
|
146
|
-
starts_at: string;
|
|
159
|
+
starts_at: string | null;
|
|
147
160
|
ends_at: string | null;
|
|
148
161
|
}>;
|
|
149
162
|
to: z.ZodObject<{
|
|
150
|
-
starts_at: z.ZodString
|
|
163
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
151
164
|
ends_at: z.ZodNullable<z.ZodString>;
|
|
152
165
|
}, "strip", z.ZodTypeAny, {
|
|
153
|
-
starts_at: string;
|
|
166
|
+
starts_at: string | null;
|
|
154
167
|
ends_at: string | null;
|
|
155
168
|
}, {
|
|
156
|
-
starts_at: string;
|
|
169
|
+
starts_at: string | null;
|
|
157
170
|
ends_at: string | null;
|
|
158
171
|
}>;
|
|
159
172
|
}>, "strip", z.ZodTypeAny, {
|
|
173
|
+
message: string;
|
|
160
174
|
created_at: string;
|
|
161
175
|
mutation_code: "updating_access_schedule";
|
|
162
176
|
from: {
|
|
163
|
-
starts_at: string;
|
|
177
|
+
starts_at: string | null;
|
|
164
178
|
ends_at: string | null;
|
|
165
179
|
};
|
|
166
180
|
to: {
|
|
167
|
-
starts_at: string;
|
|
181
|
+
starts_at: string | null;
|
|
168
182
|
ends_at: string | null;
|
|
169
183
|
};
|
|
170
184
|
}, {
|
|
185
|
+
message: string;
|
|
171
186
|
created_at: string;
|
|
172
187
|
mutation_code: "updating_access_schedule";
|
|
173
188
|
from: {
|
|
174
|
-
starts_at: string;
|
|
189
|
+
starts_at: string | null;
|
|
175
190
|
ends_at: string | null;
|
|
176
191
|
};
|
|
177
192
|
to: {
|
|
178
|
-
starts_at: string;
|
|
193
|
+
starts_at: string | null;
|
|
179
194
|
ends_at: string | null;
|
|
180
195
|
};
|
|
181
196
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
182
197
|
created_at: z.ZodString;
|
|
198
|
+
message: z.ZodString;
|
|
183
199
|
}, {
|
|
184
200
|
mutation_code: z.ZodLiteral<"updating_suspension_state">;
|
|
185
201
|
from: z.ZodObject<{
|
|
@@ -197,6 +213,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
|
|
|
197
213
|
is_suspended: boolean;
|
|
198
214
|
}>;
|
|
199
215
|
}>, "strip", z.ZodTypeAny, {
|
|
216
|
+
message: string;
|
|
200
217
|
created_at: string;
|
|
201
218
|
mutation_code: "updating_suspension_state";
|
|
202
219
|
from: {
|
|
@@ -206,6 +223,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
|
|
|
206
223
|
is_suspended: boolean;
|
|
207
224
|
};
|
|
208
225
|
}, {
|
|
226
|
+
message: string;
|
|
209
227
|
created_at: string;
|
|
210
228
|
mutation_code: "updating_suspension_state";
|
|
211
229
|
from: {
|
|
@@ -216,6 +234,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
|
|
|
216
234
|
};
|
|
217
235
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
218
236
|
created_at: z.ZodString;
|
|
237
|
+
message: z.ZodString;
|
|
219
238
|
}, {
|
|
220
239
|
mutation_code: z.ZodLiteral<"updating_group_membership">;
|
|
221
240
|
from: z.ZodObject<{
|
|
@@ -233,6 +252,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
|
|
|
233
252
|
acs_access_group_id: string | null;
|
|
234
253
|
}>;
|
|
235
254
|
}>, "strip", z.ZodTypeAny, {
|
|
255
|
+
message: string;
|
|
236
256
|
created_at: string;
|
|
237
257
|
mutation_code: "updating_group_membership";
|
|
238
258
|
from: {
|
|
@@ -242,6 +262,7 @@ export declare const acs_user_pending_mutations: z.ZodDiscriminatedUnion<"mutati
|
|
|
242
262
|
acs_access_group_id: string | null;
|
|
243
263
|
};
|
|
244
264
|
}, {
|
|
265
|
+
message: string;
|
|
245
266
|
created_at: string;
|
|
246
267
|
mutation_code: "updating_group_membership";
|
|
247
268
|
from: {
|
|
@@ -255,28 +276,165 @@ export type AcsUserPendingMutation = z.infer<typeof acs_user_pending_mutations>;
|
|
|
255
276
|
export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
256
277
|
creating: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
257
278
|
created_at: z.ZodString;
|
|
279
|
+
message: z.ZodString;
|
|
258
280
|
}, {
|
|
259
281
|
mutation_code: z.ZodLiteral<"creating">;
|
|
260
282
|
}>, "strip", z.ZodTypeAny, {
|
|
283
|
+
message: string;
|
|
261
284
|
created_at: string;
|
|
262
285
|
mutation_code: "creating";
|
|
263
286
|
}, {
|
|
287
|
+
message: string;
|
|
264
288
|
created_at: string;
|
|
265
289
|
mutation_code: "creating";
|
|
266
290
|
}>>>;
|
|
267
291
|
deleting: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
268
292
|
created_at: z.ZodString;
|
|
293
|
+
message: z.ZodString;
|
|
269
294
|
}, {
|
|
270
295
|
mutation_code: z.ZodLiteral<"deleting">;
|
|
271
296
|
}>, "strip", z.ZodTypeAny, {
|
|
297
|
+
message: string;
|
|
272
298
|
created_at: string;
|
|
273
299
|
mutation_code: "deleting";
|
|
274
300
|
}, {
|
|
301
|
+
message: string;
|
|
275
302
|
created_at: string;
|
|
276
303
|
mutation_code: "deleting";
|
|
277
304
|
}>>>;
|
|
305
|
+
updating_access_schedule: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
306
|
+
created_at: z.ZodString;
|
|
307
|
+
message: z.ZodString;
|
|
308
|
+
}, {
|
|
309
|
+
mutation_code: z.ZodLiteral<"updating_access_schedule">;
|
|
310
|
+
from: z.ZodObject<{
|
|
311
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
312
|
+
ends_at: z.ZodNullable<z.ZodString>;
|
|
313
|
+
}, "strip", z.ZodTypeAny, {
|
|
314
|
+
starts_at: string | null;
|
|
315
|
+
ends_at: string | null;
|
|
316
|
+
}, {
|
|
317
|
+
starts_at: string | null;
|
|
318
|
+
ends_at: string | null;
|
|
319
|
+
}>;
|
|
320
|
+
to: z.ZodObject<{
|
|
321
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
322
|
+
ends_at: z.ZodNullable<z.ZodString>;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
starts_at: string | null;
|
|
325
|
+
ends_at: string | null;
|
|
326
|
+
}, {
|
|
327
|
+
starts_at: string | null;
|
|
328
|
+
ends_at: string | null;
|
|
329
|
+
}>;
|
|
330
|
+
}>, "strip", z.ZodTypeAny, {
|
|
331
|
+
message: string;
|
|
332
|
+
created_at: string;
|
|
333
|
+
mutation_code: "updating_access_schedule";
|
|
334
|
+
from: {
|
|
335
|
+
starts_at: string | null;
|
|
336
|
+
ends_at: string | null;
|
|
337
|
+
};
|
|
338
|
+
to: {
|
|
339
|
+
starts_at: string | null;
|
|
340
|
+
ends_at: string | null;
|
|
341
|
+
};
|
|
342
|
+
}, {
|
|
343
|
+
message: string;
|
|
344
|
+
created_at: string;
|
|
345
|
+
mutation_code: "updating_access_schedule";
|
|
346
|
+
from: {
|
|
347
|
+
starts_at: string | null;
|
|
348
|
+
ends_at: string | null;
|
|
349
|
+
};
|
|
350
|
+
to: {
|
|
351
|
+
starts_at: string | null;
|
|
352
|
+
ends_at: string | null;
|
|
353
|
+
};
|
|
354
|
+
}>>>;
|
|
355
|
+
updating_group_membership: z.ZodNullable<z.ZodOptional<z.ZodMap<z.ZodString, z.ZodObject<z.objectUtil.extendShape<{
|
|
356
|
+
created_at: z.ZodString;
|
|
357
|
+
message: z.ZodString;
|
|
358
|
+
}, {
|
|
359
|
+
mutation_code: z.ZodLiteral<"updating_group_membership">;
|
|
360
|
+
from: z.ZodObject<{
|
|
361
|
+
acs_access_group_id: z.ZodNullable<z.ZodString>;
|
|
362
|
+
}, "strip", z.ZodTypeAny, {
|
|
363
|
+
acs_access_group_id: string | null;
|
|
364
|
+
}, {
|
|
365
|
+
acs_access_group_id: string | null;
|
|
366
|
+
}>;
|
|
367
|
+
to: z.ZodObject<{
|
|
368
|
+
acs_access_group_id: z.ZodNullable<z.ZodString>;
|
|
369
|
+
}, "strip", z.ZodTypeAny, {
|
|
370
|
+
acs_access_group_id: string | null;
|
|
371
|
+
}, {
|
|
372
|
+
acs_access_group_id: string | null;
|
|
373
|
+
}>;
|
|
374
|
+
}>, "strip", z.ZodTypeAny, {
|
|
375
|
+
message: string;
|
|
376
|
+
created_at: string;
|
|
377
|
+
mutation_code: "updating_group_membership";
|
|
378
|
+
from: {
|
|
379
|
+
acs_access_group_id: string | null;
|
|
380
|
+
};
|
|
381
|
+
to: {
|
|
382
|
+
acs_access_group_id: string | null;
|
|
383
|
+
};
|
|
384
|
+
}, {
|
|
385
|
+
message: string;
|
|
386
|
+
created_at: string;
|
|
387
|
+
mutation_code: "updating_group_membership";
|
|
388
|
+
from: {
|
|
389
|
+
acs_access_group_id: string | null;
|
|
390
|
+
};
|
|
391
|
+
to: {
|
|
392
|
+
acs_access_group_id: string | null;
|
|
393
|
+
};
|
|
394
|
+
}>>>>;
|
|
395
|
+
updating_suspension_state: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
396
|
+
created_at: z.ZodString;
|
|
397
|
+
message: z.ZodString;
|
|
398
|
+
}, {
|
|
399
|
+
mutation_code: z.ZodLiteral<"updating_suspension_state">;
|
|
400
|
+
from: z.ZodObject<{
|
|
401
|
+
is_suspended: z.ZodBoolean;
|
|
402
|
+
}, "strip", z.ZodTypeAny, {
|
|
403
|
+
is_suspended: boolean;
|
|
404
|
+
}, {
|
|
405
|
+
is_suspended: boolean;
|
|
406
|
+
}>;
|
|
407
|
+
to: z.ZodObject<{
|
|
408
|
+
is_suspended: z.ZodBoolean;
|
|
409
|
+
}, "strip", z.ZodTypeAny, {
|
|
410
|
+
is_suspended: boolean;
|
|
411
|
+
}, {
|
|
412
|
+
is_suspended: boolean;
|
|
413
|
+
}>;
|
|
414
|
+
}>, "strip", z.ZodTypeAny, {
|
|
415
|
+
message: string;
|
|
416
|
+
created_at: string;
|
|
417
|
+
mutation_code: "updating_suspension_state";
|
|
418
|
+
from: {
|
|
419
|
+
is_suspended: boolean;
|
|
420
|
+
};
|
|
421
|
+
to: {
|
|
422
|
+
is_suspended: boolean;
|
|
423
|
+
};
|
|
424
|
+
}, {
|
|
425
|
+
message: string;
|
|
426
|
+
created_at: string;
|
|
427
|
+
mutation_code: "updating_suspension_state";
|
|
428
|
+
from: {
|
|
429
|
+
is_suspended: boolean;
|
|
430
|
+
};
|
|
431
|
+
to: {
|
|
432
|
+
is_suspended: boolean;
|
|
433
|
+
};
|
|
434
|
+
}>>>;
|
|
278
435
|
'updating_user_information.full_name': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
279
436
|
created_at: z.ZodString;
|
|
437
|
+
message: z.ZodString;
|
|
280
438
|
}, {
|
|
281
439
|
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
282
440
|
from: z.ZodObject<{
|
|
@@ -294,6 +452,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
294
452
|
full_name: string | null;
|
|
295
453
|
}>;
|
|
296
454
|
}>, "strip", z.ZodTypeAny, {
|
|
455
|
+
message: string;
|
|
297
456
|
created_at: string;
|
|
298
457
|
mutation_code: "updating_user_information";
|
|
299
458
|
from: {
|
|
@@ -303,6 +462,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
303
462
|
full_name: string | null;
|
|
304
463
|
};
|
|
305
464
|
}, {
|
|
465
|
+
message: string;
|
|
306
466
|
created_at: string;
|
|
307
467
|
mutation_code: "updating_user_information";
|
|
308
468
|
from: {
|
|
@@ -314,6 +474,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
314
474
|
}>>>;
|
|
315
475
|
'updating_user_information.email_address': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
316
476
|
created_at: z.ZodString;
|
|
477
|
+
message: z.ZodString;
|
|
317
478
|
}, {
|
|
318
479
|
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
319
480
|
from: z.ZodObject<{
|
|
@@ -331,6 +492,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
331
492
|
email_address: string | null;
|
|
332
493
|
}>;
|
|
333
494
|
}>, "strip", z.ZodTypeAny, {
|
|
495
|
+
message: string;
|
|
334
496
|
created_at: string;
|
|
335
497
|
mutation_code: "updating_user_information";
|
|
336
498
|
from: {
|
|
@@ -340,6 +502,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
340
502
|
email_address: string | null;
|
|
341
503
|
};
|
|
342
504
|
}, {
|
|
505
|
+
message: string;
|
|
343
506
|
created_at: string;
|
|
344
507
|
mutation_code: "updating_user_information";
|
|
345
508
|
from: {
|
|
@@ -351,6 +514,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
351
514
|
}>>>;
|
|
352
515
|
'updating_user_information.phone_number': z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
353
516
|
created_at: z.ZodString;
|
|
517
|
+
message: z.ZodString;
|
|
354
518
|
}, {
|
|
355
519
|
mutation_code: z.ZodLiteral<"updating_user_information">;
|
|
356
520
|
from: z.ZodObject<{
|
|
@@ -368,6 +532,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
368
532
|
phone_number: string | null;
|
|
369
533
|
}>;
|
|
370
534
|
}>, "strip", z.ZodTypeAny, {
|
|
535
|
+
message: string;
|
|
371
536
|
created_at: string;
|
|
372
537
|
mutation_code: "updating_user_information";
|
|
373
538
|
from: {
|
|
@@ -377,6 +542,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
377
542
|
phone_number: string | null;
|
|
378
543
|
};
|
|
379
544
|
}, {
|
|
545
|
+
message: string;
|
|
380
546
|
created_at: string;
|
|
381
547
|
mutation_code: "updating_user_information";
|
|
382
548
|
from: {
|
|
@@ -388,14 +554,52 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
388
554
|
}>>>;
|
|
389
555
|
}, "strip", z.ZodTypeAny, {
|
|
390
556
|
creating?: {
|
|
557
|
+
message: string;
|
|
391
558
|
created_at: string;
|
|
392
559
|
mutation_code: "creating";
|
|
393
560
|
} | null | undefined;
|
|
394
561
|
deleting?: {
|
|
562
|
+
message: string;
|
|
395
563
|
created_at: string;
|
|
396
564
|
mutation_code: "deleting";
|
|
397
565
|
} | null | undefined;
|
|
566
|
+
updating_access_schedule?: {
|
|
567
|
+
message: string;
|
|
568
|
+
created_at: string;
|
|
569
|
+
mutation_code: "updating_access_schedule";
|
|
570
|
+
from: {
|
|
571
|
+
starts_at: string | null;
|
|
572
|
+
ends_at: string | null;
|
|
573
|
+
};
|
|
574
|
+
to: {
|
|
575
|
+
starts_at: string | null;
|
|
576
|
+
ends_at: string | null;
|
|
577
|
+
};
|
|
578
|
+
} | null | undefined;
|
|
579
|
+
updating_suspension_state?: {
|
|
580
|
+
message: string;
|
|
581
|
+
created_at: string;
|
|
582
|
+
mutation_code: "updating_suspension_state";
|
|
583
|
+
from: {
|
|
584
|
+
is_suspended: boolean;
|
|
585
|
+
};
|
|
586
|
+
to: {
|
|
587
|
+
is_suspended: boolean;
|
|
588
|
+
};
|
|
589
|
+
} | null | undefined;
|
|
590
|
+
updating_group_membership?: Map<string, {
|
|
591
|
+
message: string;
|
|
592
|
+
created_at: string;
|
|
593
|
+
mutation_code: "updating_group_membership";
|
|
594
|
+
from: {
|
|
595
|
+
acs_access_group_id: string | null;
|
|
596
|
+
};
|
|
597
|
+
to: {
|
|
598
|
+
acs_access_group_id: string | null;
|
|
599
|
+
};
|
|
600
|
+
}> | null | undefined;
|
|
398
601
|
'updating_user_information.full_name'?: {
|
|
602
|
+
message: string;
|
|
399
603
|
created_at: string;
|
|
400
604
|
mutation_code: "updating_user_information";
|
|
401
605
|
from: {
|
|
@@ -406,6 +610,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
406
610
|
};
|
|
407
611
|
} | null | undefined;
|
|
408
612
|
'updating_user_information.email_address'?: {
|
|
613
|
+
message: string;
|
|
409
614
|
created_at: string;
|
|
410
615
|
mutation_code: "updating_user_information";
|
|
411
616
|
from: {
|
|
@@ -416,6 +621,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
416
621
|
};
|
|
417
622
|
} | null | undefined;
|
|
418
623
|
'updating_user_information.phone_number'?: {
|
|
624
|
+
message: string;
|
|
419
625
|
created_at: string;
|
|
420
626
|
mutation_code: "updating_user_information";
|
|
421
627
|
from: {
|
|
@@ -427,14 +633,52 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
427
633
|
} | null | undefined;
|
|
428
634
|
}, {
|
|
429
635
|
creating?: {
|
|
636
|
+
message: string;
|
|
430
637
|
created_at: string;
|
|
431
638
|
mutation_code: "creating";
|
|
432
639
|
} | null | undefined;
|
|
433
640
|
deleting?: {
|
|
641
|
+
message: string;
|
|
434
642
|
created_at: string;
|
|
435
643
|
mutation_code: "deleting";
|
|
436
644
|
} | null | undefined;
|
|
645
|
+
updating_access_schedule?: {
|
|
646
|
+
message: string;
|
|
647
|
+
created_at: string;
|
|
648
|
+
mutation_code: "updating_access_schedule";
|
|
649
|
+
from: {
|
|
650
|
+
starts_at: string | null;
|
|
651
|
+
ends_at: string | null;
|
|
652
|
+
};
|
|
653
|
+
to: {
|
|
654
|
+
starts_at: string | null;
|
|
655
|
+
ends_at: string | null;
|
|
656
|
+
};
|
|
657
|
+
} | null | undefined;
|
|
658
|
+
updating_suspension_state?: {
|
|
659
|
+
message: string;
|
|
660
|
+
created_at: string;
|
|
661
|
+
mutation_code: "updating_suspension_state";
|
|
662
|
+
from: {
|
|
663
|
+
is_suspended: boolean;
|
|
664
|
+
};
|
|
665
|
+
to: {
|
|
666
|
+
is_suspended: boolean;
|
|
667
|
+
};
|
|
668
|
+
} | null | undefined;
|
|
669
|
+
updating_group_membership?: Map<string, {
|
|
670
|
+
message: string;
|
|
671
|
+
created_at: string;
|
|
672
|
+
mutation_code: "updating_group_membership";
|
|
673
|
+
from: {
|
|
674
|
+
acs_access_group_id: string | null;
|
|
675
|
+
};
|
|
676
|
+
to: {
|
|
677
|
+
acs_access_group_id: string | null;
|
|
678
|
+
};
|
|
679
|
+
}> | null | undefined;
|
|
437
680
|
'updating_user_information.full_name'?: {
|
|
681
|
+
message: string;
|
|
438
682
|
created_at: string;
|
|
439
683
|
mutation_code: "updating_user_information";
|
|
440
684
|
from: {
|
|
@@ -445,6 +689,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
445
689
|
};
|
|
446
690
|
} | null | undefined;
|
|
447
691
|
'updating_user_information.email_address'?: {
|
|
692
|
+
message: string;
|
|
448
693
|
created_at: string;
|
|
449
694
|
mutation_code: "updating_user_information";
|
|
450
695
|
from: {
|
|
@@ -455,6 +700,7 @@ export declare const acs_user_pending_mutations_map: z.ZodObject<{
|
|
|
455
700
|
};
|
|
456
701
|
} | null | undefined;
|
|
457
702
|
'updating_user_information.phone_number'?: {
|
|
703
|
+
message: string;
|
|
458
704
|
created_at: string;
|
|
459
705
|
mutation_code: "updating_user_information";
|
|
460
706
|
from: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { phone_number } from '../../phone-number.js';
|
|
3
|
-
import { schedule } from '../../schedule.js';
|
|
4
3
|
const common_pending_mutation = z.object({
|
|
5
4
|
created_at: z.string().datetime(),
|
|
5
|
+
message: z.string(),
|
|
6
6
|
});
|
|
7
7
|
const creating = common_pending_mutation.extend({
|
|
8
8
|
mutation_code: z.literal('creating'),
|
|
@@ -20,10 +20,14 @@ export const updating_user_information_mutation = common_pending_mutation.extend
|
|
|
20
20
|
from: acs_user_info.partial(),
|
|
21
21
|
to: acs_user_info.partial(),
|
|
22
22
|
});
|
|
23
|
+
const access_schedule = z.object({
|
|
24
|
+
starts_at: z.string().datetime().nullable(),
|
|
25
|
+
ends_at: z.string().datetime().nullable(),
|
|
26
|
+
});
|
|
23
27
|
const updating_access_schedule_mutation = common_pending_mutation.extend({
|
|
24
28
|
mutation_code: z.literal('updating_access_schedule'),
|
|
25
|
-
from:
|
|
26
|
-
to:
|
|
29
|
+
from: access_schedule,
|
|
30
|
+
to: access_schedule,
|
|
27
31
|
});
|
|
28
32
|
const updating_suspension_state_mutation = common_pending_mutation.extend({
|
|
29
33
|
mutation_code: z.literal('updating_suspension_state'),
|
|
@@ -50,6 +54,16 @@ export const acs_user_pending_mutations = z.discriminatedUnion('mutation_code',
|
|
|
50
54
|
export const acs_user_pending_mutations_map = z.object({
|
|
51
55
|
creating: creating.optional().nullable(),
|
|
52
56
|
deleting: deleting.optional().nullable(),
|
|
57
|
+
updating_access_schedule: updating_access_schedule_mutation
|
|
58
|
+
.optional()
|
|
59
|
+
.nullable(),
|
|
60
|
+
updating_group_membership: z
|
|
61
|
+
.map(z.string().uuid(), updating_group_membership_mutation)
|
|
62
|
+
.optional()
|
|
63
|
+
.nullable(),
|
|
64
|
+
updating_suspension_state: updating_suspension_state_mutation
|
|
65
|
+
.optional()
|
|
66
|
+
.nullable(),
|
|
53
67
|
'updating_user_information.full_name': common_pending_mutation
|
|
54
68
|
.extend({
|
|
55
69
|
mutation_code: z.literal('updating_user_information'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pending-mutations.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;
|
|
1
|
+
{"version":3,"file":"pending-mutations.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/acs/acs-users/pending-mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAA;AAEpD,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,QAAQ,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC9C,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,CAAC;CACrC,CA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