@seamapi/types 1.791.0 → 1.793.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 +4 -2
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +16 -0
- package/dist/index.cjs +4 -2
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/access-codes/index.d.ts +1 -0
- package/lib/seam/connect/models/access-codes/index.js +1 -0
- package/lib/seam/connect/models/access-codes/index.js.map +1 -1
- package/lib/seam/connect/models/access-codes/pending-mutations.d.ts +410 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.js +100 -0
- package/lib/seam/connect/models/access-codes/pending-mutations.js.map +1 -0
- package/lib/seam/connect/models/acs/acs-access-groups/pending-mutations.d.ts +22 -22
- package/lib/seam/connect/openapi.d.ts +16 -0
- package/lib/seam/connect/openapi.js +4 -2
- package/lib/seam/connect/openapi.js.map +1 -1
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/index.ts +1 -0
- package/src/lib/seam/connect/models/access-codes/pending-mutations.ts +136 -0
- package/src/lib/seam/connect/openapi.ts +4 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,4BAA4B,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA"}
|
|
@@ -0,0 +1,410 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const access_code_pending_mutations: z.ZodDiscriminatedUnion<"mutation_code", [z.ZodObject<{
|
|
3
|
+
created_at: z.ZodString;
|
|
4
|
+
message: z.ZodString;
|
|
5
|
+
} & {
|
|
6
|
+
mutation_code: z.ZodLiteral<"creating">;
|
|
7
|
+
}, "strip", z.ZodTypeAny, {
|
|
8
|
+
message: string;
|
|
9
|
+
created_at: string;
|
|
10
|
+
mutation_code: "creating";
|
|
11
|
+
}, {
|
|
12
|
+
message: string;
|
|
13
|
+
created_at: string;
|
|
14
|
+
mutation_code: "creating";
|
|
15
|
+
}>, z.ZodObject<{
|
|
16
|
+
created_at: z.ZodString;
|
|
17
|
+
message: z.ZodString;
|
|
18
|
+
} & {
|
|
19
|
+
mutation_code: z.ZodLiteral<"deleting">;
|
|
20
|
+
}, "strip", z.ZodTypeAny, {
|
|
21
|
+
message: string;
|
|
22
|
+
created_at: string;
|
|
23
|
+
mutation_code: "deleting";
|
|
24
|
+
}, {
|
|
25
|
+
message: string;
|
|
26
|
+
created_at: string;
|
|
27
|
+
mutation_code: "deleting";
|
|
28
|
+
}>, z.ZodObject<{
|
|
29
|
+
created_at: z.ZodString;
|
|
30
|
+
message: z.ZodString;
|
|
31
|
+
} & {
|
|
32
|
+
mutation_code: z.ZodLiteral<"updating_code">;
|
|
33
|
+
from: z.ZodObject<{
|
|
34
|
+
code: z.ZodNullable<z.ZodString>;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
code: string | null;
|
|
37
|
+
}, {
|
|
38
|
+
code: string | null;
|
|
39
|
+
}>;
|
|
40
|
+
to: z.ZodObject<{
|
|
41
|
+
code: z.ZodNullable<z.ZodString>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
code: string | null;
|
|
44
|
+
}, {
|
|
45
|
+
code: string | null;
|
|
46
|
+
}>;
|
|
47
|
+
}, "strip", z.ZodTypeAny, {
|
|
48
|
+
message: string;
|
|
49
|
+
created_at: string;
|
|
50
|
+
mutation_code: "updating_code";
|
|
51
|
+
from: {
|
|
52
|
+
code: string | null;
|
|
53
|
+
};
|
|
54
|
+
to: {
|
|
55
|
+
code: string | null;
|
|
56
|
+
};
|
|
57
|
+
}, {
|
|
58
|
+
message: string;
|
|
59
|
+
created_at: string;
|
|
60
|
+
mutation_code: "updating_code";
|
|
61
|
+
from: {
|
|
62
|
+
code: string | null;
|
|
63
|
+
};
|
|
64
|
+
to: {
|
|
65
|
+
code: string | null;
|
|
66
|
+
};
|
|
67
|
+
}>, z.ZodObject<{
|
|
68
|
+
created_at: z.ZodString;
|
|
69
|
+
message: z.ZodString;
|
|
70
|
+
} & {
|
|
71
|
+
mutation_code: z.ZodLiteral<"updating_name">;
|
|
72
|
+
from: z.ZodObject<{
|
|
73
|
+
name: z.ZodNullable<z.ZodString>;
|
|
74
|
+
}, "strip", z.ZodTypeAny, {
|
|
75
|
+
name: string | null;
|
|
76
|
+
}, {
|
|
77
|
+
name: string | null;
|
|
78
|
+
}>;
|
|
79
|
+
to: z.ZodObject<{
|
|
80
|
+
name: z.ZodNullable<z.ZodString>;
|
|
81
|
+
}, "strip", z.ZodTypeAny, {
|
|
82
|
+
name: string | null;
|
|
83
|
+
}, {
|
|
84
|
+
name: string | null;
|
|
85
|
+
}>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
message: string;
|
|
88
|
+
created_at: string;
|
|
89
|
+
mutation_code: "updating_name";
|
|
90
|
+
from: {
|
|
91
|
+
name: string | null;
|
|
92
|
+
};
|
|
93
|
+
to: {
|
|
94
|
+
name: string | null;
|
|
95
|
+
};
|
|
96
|
+
}, {
|
|
97
|
+
message: string;
|
|
98
|
+
created_at: string;
|
|
99
|
+
mutation_code: "updating_name";
|
|
100
|
+
from: {
|
|
101
|
+
name: string | null;
|
|
102
|
+
};
|
|
103
|
+
to: {
|
|
104
|
+
name: string | null;
|
|
105
|
+
};
|
|
106
|
+
}>, z.ZodObject<{
|
|
107
|
+
created_at: z.ZodString;
|
|
108
|
+
message: z.ZodString;
|
|
109
|
+
} & {
|
|
110
|
+
mutation_code: z.ZodLiteral<"updating_time_frame">;
|
|
111
|
+
from: z.ZodObject<{
|
|
112
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
113
|
+
ends_at: z.ZodNullable<z.ZodString>;
|
|
114
|
+
}, "strip", z.ZodTypeAny, {
|
|
115
|
+
starts_at: string | null;
|
|
116
|
+
ends_at: string | null;
|
|
117
|
+
}, {
|
|
118
|
+
starts_at: string | null;
|
|
119
|
+
ends_at: string | null;
|
|
120
|
+
}>;
|
|
121
|
+
to: z.ZodObject<{
|
|
122
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
123
|
+
ends_at: z.ZodNullable<z.ZodString>;
|
|
124
|
+
}, "strip", z.ZodTypeAny, {
|
|
125
|
+
starts_at: string | null;
|
|
126
|
+
ends_at: string | null;
|
|
127
|
+
}, {
|
|
128
|
+
starts_at: string | null;
|
|
129
|
+
ends_at: string | null;
|
|
130
|
+
}>;
|
|
131
|
+
}, "strip", z.ZodTypeAny, {
|
|
132
|
+
message: string;
|
|
133
|
+
created_at: string;
|
|
134
|
+
mutation_code: "updating_time_frame";
|
|
135
|
+
from: {
|
|
136
|
+
starts_at: string | null;
|
|
137
|
+
ends_at: string | null;
|
|
138
|
+
};
|
|
139
|
+
to: {
|
|
140
|
+
starts_at: string | null;
|
|
141
|
+
ends_at: string | null;
|
|
142
|
+
};
|
|
143
|
+
}, {
|
|
144
|
+
message: string;
|
|
145
|
+
created_at: string;
|
|
146
|
+
mutation_code: "updating_time_frame";
|
|
147
|
+
from: {
|
|
148
|
+
starts_at: string | null;
|
|
149
|
+
ends_at: string | null;
|
|
150
|
+
};
|
|
151
|
+
to: {
|
|
152
|
+
starts_at: string | null;
|
|
153
|
+
ends_at: string | null;
|
|
154
|
+
};
|
|
155
|
+
}>]>;
|
|
156
|
+
export type AccessCodePendingMutation = z.infer<typeof access_code_pending_mutations>;
|
|
157
|
+
declare const _access_code_pending_mutations_map: z.ZodObject<{
|
|
158
|
+
creating: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
159
|
+
created_at: z.ZodString;
|
|
160
|
+
message: z.ZodString;
|
|
161
|
+
} & {
|
|
162
|
+
mutation_code: z.ZodLiteral<"creating">;
|
|
163
|
+
}, "strip", z.ZodTypeAny, {
|
|
164
|
+
message: string;
|
|
165
|
+
created_at: string;
|
|
166
|
+
mutation_code: "creating";
|
|
167
|
+
}, {
|
|
168
|
+
message: string;
|
|
169
|
+
created_at: string;
|
|
170
|
+
mutation_code: "creating";
|
|
171
|
+
}>>>;
|
|
172
|
+
deleting: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
173
|
+
created_at: z.ZodString;
|
|
174
|
+
message: z.ZodString;
|
|
175
|
+
} & {
|
|
176
|
+
mutation_code: z.ZodLiteral<"deleting">;
|
|
177
|
+
}, "strip", z.ZodTypeAny, {
|
|
178
|
+
message: string;
|
|
179
|
+
created_at: string;
|
|
180
|
+
mutation_code: "deleting";
|
|
181
|
+
}, {
|
|
182
|
+
message: string;
|
|
183
|
+
created_at: string;
|
|
184
|
+
mutation_code: "deleting";
|
|
185
|
+
}>>>;
|
|
186
|
+
updating_code: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
187
|
+
created_at: z.ZodString;
|
|
188
|
+
message: z.ZodString;
|
|
189
|
+
} & {
|
|
190
|
+
mutation_code: z.ZodLiteral<"updating_code">;
|
|
191
|
+
from: z.ZodObject<{
|
|
192
|
+
code: z.ZodNullable<z.ZodString>;
|
|
193
|
+
}, "strip", z.ZodTypeAny, {
|
|
194
|
+
code: string | null;
|
|
195
|
+
}, {
|
|
196
|
+
code: string | null;
|
|
197
|
+
}>;
|
|
198
|
+
to: z.ZodObject<{
|
|
199
|
+
code: z.ZodNullable<z.ZodString>;
|
|
200
|
+
}, "strip", z.ZodTypeAny, {
|
|
201
|
+
code: string | null;
|
|
202
|
+
}, {
|
|
203
|
+
code: string | null;
|
|
204
|
+
}>;
|
|
205
|
+
}, "strip", z.ZodTypeAny, {
|
|
206
|
+
message: string;
|
|
207
|
+
created_at: string;
|
|
208
|
+
mutation_code: "updating_code";
|
|
209
|
+
from: {
|
|
210
|
+
code: string | null;
|
|
211
|
+
};
|
|
212
|
+
to: {
|
|
213
|
+
code: string | null;
|
|
214
|
+
};
|
|
215
|
+
}, {
|
|
216
|
+
message: string;
|
|
217
|
+
created_at: string;
|
|
218
|
+
mutation_code: "updating_code";
|
|
219
|
+
from: {
|
|
220
|
+
code: string | null;
|
|
221
|
+
};
|
|
222
|
+
to: {
|
|
223
|
+
code: string | null;
|
|
224
|
+
};
|
|
225
|
+
}>>>;
|
|
226
|
+
updating_name: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
227
|
+
created_at: z.ZodString;
|
|
228
|
+
message: z.ZodString;
|
|
229
|
+
} & {
|
|
230
|
+
mutation_code: z.ZodLiteral<"updating_name">;
|
|
231
|
+
from: z.ZodObject<{
|
|
232
|
+
name: z.ZodNullable<z.ZodString>;
|
|
233
|
+
}, "strip", z.ZodTypeAny, {
|
|
234
|
+
name: string | null;
|
|
235
|
+
}, {
|
|
236
|
+
name: string | null;
|
|
237
|
+
}>;
|
|
238
|
+
to: z.ZodObject<{
|
|
239
|
+
name: z.ZodNullable<z.ZodString>;
|
|
240
|
+
}, "strip", z.ZodTypeAny, {
|
|
241
|
+
name: string | null;
|
|
242
|
+
}, {
|
|
243
|
+
name: string | null;
|
|
244
|
+
}>;
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
246
|
+
message: string;
|
|
247
|
+
created_at: string;
|
|
248
|
+
mutation_code: "updating_name";
|
|
249
|
+
from: {
|
|
250
|
+
name: string | null;
|
|
251
|
+
};
|
|
252
|
+
to: {
|
|
253
|
+
name: string | null;
|
|
254
|
+
};
|
|
255
|
+
}, {
|
|
256
|
+
message: string;
|
|
257
|
+
created_at: string;
|
|
258
|
+
mutation_code: "updating_name";
|
|
259
|
+
from: {
|
|
260
|
+
name: string | null;
|
|
261
|
+
};
|
|
262
|
+
to: {
|
|
263
|
+
name: string | null;
|
|
264
|
+
};
|
|
265
|
+
}>>>;
|
|
266
|
+
updating_time_frame: z.ZodNullable<z.ZodOptional<z.ZodObject<{
|
|
267
|
+
created_at: z.ZodString;
|
|
268
|
+
message: z.ZodString;
|
|
269
|
+
} & {
|
|
270
|
+
mutation_code: z.ZodLiteral<"updating_time_frame">;
|
|
271
|
+
from: z.ZodObject<{
|
|
272
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
273
|
+
ends_at: z.ZodNullable<z.ZodString>;
|
|
274
|
+
}, "strip", z.ZodTypeAny, {
|
|
275
|
+
starts_at: string | null;
|
|
276
|
+
ends_at: string | null;
|
|
277
|
+
}, {
|
|
278
|
+
starts_at: string | null;
|
|
279
|
+
ends_at: string | null;
|
|
280
|
+
}>;
|
|
281
|
+
to: z.ZodObject<{
|
|
282
|
+
starts_at: z.ZodNullable<z.ZodString>;
|
|
283
|
+
ends_at: z.ZodNullable<z.ZodString>;
|
|
284
|
+
}, "strip", z.ZodTypeAny, {
|
|
285
|
+
starts_at: string | null;
|
|
286
|
+
ends_at: string | null;
|
|
287
|
+
}, {
|
|
288
|
+
starts_at: string | null;
|
|
289
|
+
ends_at: string | null;
|
|
290
|
+
}>;
|
|
291
|
+
}, "strip", z.ZodTypeAny, {
|
|
292
|
+
message: string;
|
|
293
|
+
created_at: string;
|
|
294
|
+
mutation_code: "updating_time_frame";
|
|
295
|
+
from: {
|
|
296
|
+
starts_at: string | null;
|
|
297
|
+
ends_at: string | null;
|
|
298
|
+
};
|
|
299
|
+
to: {
|
|
300
|
+
starts_at: string | null;
|
|
301
|
+
ends_at: string | null;
|
|
302
|
+
};
|
|
303
|
+
}, {
|
|
304
|
+
message: string;
|
|
305
|
+
created_at: string;
|
|
306
|
+
mutation_code: "updating_time_frame";
|
|
307
|
+
from: {
|
|
308
|
+
starts_at: string | null;
|
|
309
|
+
ends_at: string | null;
|
|
310
|
+
};
|
|
311
|
+
to: {
|
|
312
|
+
starts_at: string | null;
|
|
313
|
+
ends_at: string | null;
|
|
314
|
+
};
|
|
315
|
+
}>>>;
|
|
316
|
+
}, "strip", z.ZodTypeAny, {
|
|
317
|
+
creating?: {
|
|
318
|
+
message: string;
|
|
319
|
+
created_at: string;
|
|
320
|
+
mutation_code: "creating";
|
|
321
|
+
} | null | undefined;
|
|
322
|
+
deleting?: {
|
|
323
|
+
message: string;
|
|
324
|
+
created_at: string;
|
|
325
|
+
mutation_code: "deleting";
|
|
326
|
+
} | null | undefined;
|
|
327
|
+
updating_code?: {
|
|
328
|
+
message: string;
|
|
329
|
+
created_at: string;
|
|
330
|
+
mutation_code: "updating_code";
|
|
331
|
+
from: {
|
|
332
|
+
code: string | null;
|
|
333
|
+
};
|
|
334
|
+
to: {
|
|
335
|
+
code: string | null;
|
|
336
|
+
};
|
|
337
|
+
} | null | undefined;
|
|
338
|
+
updating_name?: {
|
|
339
|
+
message: string;
|
|
340
|
+
created_at: string;
|
|
341
|
+
mutation_code: "updating_name";
|
|
342
|
+
from: {
|
|
343
|
+
name: string | null;
|
|
344
|
+
};
|
|
345
|
+
to: {
|
|
346
|
+
name: string | null;
|
|
347
|
+
};
|
|
348
|
+
} | null | undefined;
|
|
349
|
+
updating_time_frame?: {
|
|
350
|
+
message: string;
|
|
351
|
+
created_at: string;
|
|
352
|
+
mutation_code: "updating_time_frame";
|
|
353
|
+
from: {
|
|
354
|
+
starts_at: string | null;
|
|
355
|
+
ends_at: string | null;
|
|
356
|
+
};
|
|
357
|
+
to: {
|
|
358
|
+
starts_at: string | null;
|
|
359
|
+
ends_at: string | null;
|
|
360
|
+
};
|
|
361
|
+
} | null | undefined;
|
|
362
|
+
}, {
|
|
363
|
+
creating?: {
|
|
364
|
+
message: string;
|
|
365
|
+
created_at: string;
|
|
366
|
+
mutation_code: "creating";
|
|
367
|
+
} | null | undefined;
|
|
368
|
+
deleting?: {
|
|
369
|
+
message: string;
|
|
370
|
+
created_at: string;
|
|
371
|
+
mutation_code: "deleting";
|
|
372
|
+
} | null | undefined;
|
|
373
|
+
updating_code?: {
|
|
374
|
+
message: string;
|
|
375
|
+
created_at: string;
|
|
376
|
+
mutation_code: "updating_code";
|
|
377
|
+
from: {
|
|
378
|
+
code: string | null;
|
|
379
|
+
};
|
|
380
|
+
to: {
|
|
381
|
+
code: string | null;
|
|
382
|
+
};
|
|
383
|
+
} | null | undefined;
|
|
384
|
+
updating_name?: {
|
|
385
|
+
message: string;
|
|
386
|
+
created_at: string;
|
|
387
|
+
mutation_code: "updating_name";
|
|
388
|
+
from: {
|
|
389
|
+
name: string | null;
|
|
390
|
+
};
|
|
391
|
+
to: {
|
|
392
|
+
name: string | null;
|
|
393
|
+
};
|
|
394
|
+
} | null | undefined;
|
|
395
|
+
updating_time_frame?: {
|
|
396
|
+
message: string;
|
|
397
|
+
created_at: string;
|
|
398
|
+
mutation_code: "updating_time_frame";
|
|
399
|
+
from: {
|
|
400
|
+
starts_at: string | null;
|
|
401
|
+
ends_at: string | null;
|
|
402
|
+
};
|
|
403
|
+
to: {
|
|
404
|
+
starts_at: string | null;
|
|
405
|
+
ends_at: string | null;
|
|
406
|
+
};
|
|
407
|
+
} | null | undefined;
|
|
408
|
+
}>;
|
|
409
|
+
export type AccessCodePendingMutationsMap = z.infer<typeof _access_code_pending_mutations_map>;
|
|
410
|
+
export {};
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
const common_pending_mutation = z.object({
|
|
3
|
+
created_at: z
|
|
4
|
+
.string()
|
|
5
|
+
.datetime()
|
|
6
|
+
.describe('Date and time at which the mutation was created.'),
|
|
7
|
+
message: z.string().describe('Detailed description of the mutation.'),
|
|
8
|
+
});
|
|
9
|
+
const creating = common_pending_mutation
|
|
10
|
+
.extend({
|
|
11
|
+
mutation_code: z
|
|
12
|
+
.literal('creating')
|
|
13
|
+
.describe('Mutation code to indicate that Seam is in the process of setting an access code on the device.'),
|
|
14
|
+
})
|
|
15
|
+
.describe('Seam is in the process of setting an access code on the device.');
|
|
16
|
+
const deleting = common_pending_mutation
|
|
17
|
+
.extend({
|
|
18
|
+
mutation_code: z
|
|
19
|
+
.literal('deleting')
|
|
20
|
+
.describe('Mutation code to indicate that Seam is in the process of removing an access code from the device.'),
|
|
21
|
+
})
|
|
22
|
+
.describe('Seam is in the process of removing an access code from the device.');
|
|
23
|
+
const updating_code = common_pending_mutation
|
|
24
|
+
.extend({
|
|
25
|
+
mutation_code: z
|
|
26
|
+
.literal('updating_code')
|
|
27
|
+
.describe('Mutation code to indicate that Seam is in the process of pushing an updated PIN code to the device.'),
|
|
28
|
+
from: z
|
|
29
|
+
.object({
|
|
30
|
+
code: z.string().nullable().describe('Previous PIN code.'),
|
|
31
|
+
})
|
|
32
|
+
.describe('Previous code configuration.'),
|
|
33
|
+
to: z
|
|
34
|
+
.object({
|
|
35
|
+
code: z.string().nullable().describe('New PIN code.'),
|
|
36
|
+
})
|
|
37
|
+
.describe('New code configuration.'),
|
|
38
|
+
})
|
|
39
|
+
.describe('Seam is in the process of pushing an updated PIN code to the device.');
|
|
40
|
+
const updating_name = common_pending_mutation
|
|
41
|
+
.extend({
|
|
42
|
+
mutation_code: z
|
|
43
|
+
.literal('updating_name')
|
|
44
|
+
.describe('Mutation code to indicate that Seam is in the process of pushing an updated access code name to the device.'),
|
|
45
|
+
from: z
|
|
46
|
+
.object({
|
|
47
|
+
name: z.string().nullable().describe('Previous access code name.'),
|
|
48
|
+
})
|
|
49
|
+
.describe('Previous name configuration.'),
|
|
50
|
+
to: z
|
|
51
|
+
.object({
|
|
52
|
+
name: z.string().nullable().describe('New access code name.'),
|
|
53
|
+
})
|
|
54
|
+
.describe('New name configuration.'),
|
|
55
|
+
})
|
|
56
|
+
.describe('Seam is in the process of pushing an updated access code name to the device.');
|
|
57
|
+
const updating_time_frame = common_pending_mutation
|
|
58
|
+
.extend({
|
|
59
|
+
mutation_code: z
|
|
60
|
+
.literal('updating_time_frame')
|
|
61
|
+
.describe('Mutation code to indicate that Seam is in the process of pushing updated access code time frame to the device.'),
|
|
62
|
+
from: z
|
|
63
|
+
.object({
|
|
64
|
+
starts_at: z
|
|
65
|
+
.string()
|
|
66
|
+
.datetime()
|
|
67
|
+
.nullable()
|
|
68
|
+
.describe('Previous start time for the access code.'),
|
|
69
|
+
ends_at: z
|
|
70
|
+
.string()
|
|
71
|
+
.datetime()
|
|
72
|
+
.nullable()
|
|
73
|
+
.describe('Previous end time for the access code.'),
|
|
74
|
+
})
|
|
75
|
+
.describe('Previous time frame configuration.'),
|
|
76
|
+
to: z
|
|
77
|
+
.object({
|
|
78
|
+
starts_at: z
|
|
79
|
+
.string()
|
|
80
|
+
.datetime()
|
|
81
|
+
.nullable()
|
|
82
|
+
.describe('New start time for the access code.'),
|
|
83
|
+
ends_at: z
|
|
84
|
+
.string()
|
|
85
|
+
.datetime()
|
|
86
|
+
.nullable()
|
|
87
|
+
.describe('New end time for the access code.'),
|
|
88
|
+
})
|
|
89
|
+
.describe('New time frame configuration.'),
|
|
90
|
+
})
|
|
91
|
+
.describe('Seam is in the process of pushing an updated time frame to the device.');
|
|
92
|
+
export const access_code_pending_mutations = z.discriminatedUnion('mutation_code', [creating, deleting, updating_code, updating_name, updating_time_frame]);
|
|
93
|
+
const _access_code_pending_mutations_map = z.object({
|
|
94
|
+
creating: creating.optional().nullable(),
|
|
95
|
+
deleting: deleting.optional().nullable(),
|
|
96
|
+
updating_code: updating_code.optional().nullable(),
|
|
97
|
+
updating_name: updating_name.optional().nullable(),
|
|
98
|
+
updating_time_frame: updating_time_frame.optional().nullable(),
|
|
99
|
+
});
|
|
100
|
+
//# sourceMappingURL=pending-mutations.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pending-mutations.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/access-codes/pending-mutations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,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AAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,aAAa,EAAE,mBAAmB,CAAC,CACxE,CAAA;AAMD,MAAM,kCAAkC,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,QAAQ,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACxC,aAAa,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,aAAa,EAAE,aAAa,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,mBAAmB,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC/D,CAAC,CAAA"}
|
|
@@ -469,6 +469,17 @@ declare const _acs_access_group_pending_mutations_map: z.ZodObject<{
|
|
|
469
469
|
created_at: string;
|
|
470
470
|
mutation_code: "deleting";
|
|
471
471
|
} | null | undefined;
|
|
472
|
+
updating_name?: {
|
|
473
|
+
message: string;
|
|
474
|
+
created_at: string;
|
|
475
|
+
mutation_code: "updating_group_information";
|
|
476
|
+
from: {
|
|
477
|
+
name?: string | null | undefined;
|
|
478
|
+
};
|
|
479
|
+
to: {
|
|
480
|
+
name?: string | null | undefined;
|
|
481
|
+
};
|
|
482
|
+
} | null | undefined;
|
|
472
483
|
updating_access_schedule?: {
|
|
473
484
|
message: string;
|
|
474
485
|
created_at: string;
|
|
@@ -516,17 +527,6 @@ declare const _acs_access_group_pending_mutations_map: z.ZodObject<{
|
|
|
516
527
|
acs_user_id: string;
|
|
517
528
|
variant: "removing" | "adding";
|
|
518
529
|
}> | null | undefined;
|
|
519
|
-
updating_name?: {
|
|
520
|
-
message: string;
|
|
521
|
-
created_at: string;
|
|
522
|
-
mutation_code: "updating_group_information";
|
|
523
|
-
from: {
|
|
524
|
-
name?: string | null | undefined;
|
|
525
|
-
};
|
|
526
|
-
to: {
|
|
527
|
-
name?: string | null | undefined;
|
|
528
|
-
};
|
|
529
|
-
} | null | undefined;
|
|
530
530
|
}, {
|
|
531
531
|
creating?: {
|
|
532
532
|
message: string;
|
|
@@ -538,6 +538,17 @@ declare const _acs_access_group_pending_mutations_map: z.ZodObject<{
|
|
|
538
538
|
created_at: string;
|
|
539
539
|
mutation_code: "deleting";
|
|
540
540
|
} | null | undefined;
|
|
541
|
+
updating_name?: {
|
|
542
|
+
message: string;
|
|
543
|
+
created_at: string;
|
|
544
|
+
mutation_code: "updating_group_information";
|
|
545
|
+
from: {
|
|
546
|
+
name?: string | null | undefined;
|
|
547
|
+
};
|
|
548
|
+
to: {
|
|
549
|
+
name?: string | null | undefined;
|
|
550
|
+
};
|
|
551
|
+
} | null | undefined;
|
|
541
552
|
updating_access_schedule?: {
|
|
542
553
|
message: string;
|
|
543
554
|
created_at: string;
|
|
@@ -585,17 +596,6 @@ declare const _acs_access_group_pending_mutations_map: z.ZodObject<{
|
|
|
585
596
|
acs_user_id: string;
|
|
586
597
|
variant: "removing" | "adding";
|
|
587
598
|
}> | null | undefined;
|
|
588
|
-
updating_name?: {
|
|
589
|
-
message: string;
|
|
590
|
-
created_at: string;
|
|
591
|
-
mutation_code: "updating_group_information";
|
|
592
|
-
from: {
|
|
593
|
-
name?: string | null | undefined;
|
|
594
|
-
};
|
|
595
|
-
to: {
|
|
596
|
-
name?: string | null | undefined;
|
|
597
|
-
};
|
|
598
|
-
} | null | undefined;
|
|
599
599
|
}>;
|
|
600
600
|
export type AcsAccessGroupPendingMutationsMap = z.infer<typeof _acs_access_group_pending_mutations_map>;
|
|
601
601
|
export {};
|
|
@@ -69053,15 +69053,23 @@ declare const _default: {
|
|
|
69053
69053
|
};
|
|
69054
69054
|
};
|
|
69055
69055
|
security: ({
|
|
69056
|
+
client_session: never[];
|
|
69057
|
+
api_key?: never;
|
|
69058
|
+
pat_with_workspace?: never;
|
|
69059
|
+
console_session_with_workspace?: never;
|
|
69060
|
+
} | {
|
|
69056
69061
|
api_key: never[];
|
|
69062
|
+
client_session?: never;
|
|
69057
69063
|
pat_with_workspace?: never;
|
|
69058
69064
|
console_session_with_workspace?: never;
|
|
69059
69065
|
} | {
|
|
69060
69066
|
pat_with_workspace: never[];
|
|
69067
|
+
client_session?: never;
|
|
69061
69068
|
api_key?: never;
|
|
69062
69069
|
console_session_with_workspace?: never;
|
|
69063
69070
|
} | {
|
|
69064
69071
|
console_session_with_workspace: never[];
|
|
69072
|
+
client_session?: never;
|
|
69065
69073
|
api_key?: never;
|
|
69066
69074
|
pat_with_workspace?: never;
|
|
69067
69075
|
})[];
|
|
@@ -69132,15 +69140,23 @@ declare const _default: {
|
|
|
69132
69140
|
};
|
|
69133
69141
|
};
|
|
69134
69142
|
security: ({
|
|
69143
|
+
client_session: never[];
|
|
69144
|
+
api_key?: never;
|
|
69145
|
+
pat_with_workspace?: never;
|
|
69146
|
+
console_session_with_workspace?: never;
|
|
69147
|
+
} | {
|
|
69135
69148
|
api_key: never[];
|
|
69149
|
+
client_session?: never;
|
|
69136
69150
|
pat_with_workspace?: never;
|
|
69137
69151
|
console_session_with_workspace?: never;
|
|
69138
69152
|
} | {
|
|
69139
69153
|
pat_with_workspace: never[];
|
|
69154
|
+
client_session?: never;
|
|
69140
69155
|
api_key?: never;
|
|
69141
69156
|
console_session_with_workspace?: never;
|
|
69142
69157
|
} | {
|
|
69143
69158
|
console_session_with_workspace: never[];
|
|
69159
|
+
client_session?: never;
|
|
69144
69160
|
api_key?: never;
|
|
69145
69161
|
pat_with_workspace?: never;
|
|
69146
69162
|
})[];
|
|
@@ -72630,7 +72630,7 @@ export default {
|
|
|
72630
72630
|
},
|
|
72631
72631
|
'/user_identities/list_accessible_devices': {
|
|
72632
72632
|
get: {
|
|
72633
|
-
description: 'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|
|
72633
|
+
description: 'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes devices derived from the access grants assigned to the user identity and devices directly linked to the user identity.',
|
|
72634
72634
|
operationId: 'userIdentitiesListAccessibleDevicesGet',
|
|
72635
72635
|
parameters: [
|
|
72636
72636
|
{
|
|
@@ -72673,6 +72673,7 @@ export default {
|
|
|
72673
72673
|
401: { description: 'Unauthorized' },
|
|
72674
72674
|
},
|
|
72675
72675
|
security: [
|
|
72676
|
+
{ client_session: [] },
|
|
72676
72677
|
{ api_key: [] },
|
|
72677
72678
|
{ pat_with_workspace: [] },
|
|
72678
72679
|
{ console_session_with_workspace: [] },
|
|
@@ -72686,7 +72687,7 @@ export default {
|
|
|
72686
72687
|
'x-title': 'List Accessible Devices for a User Identity',
|
|
72687
72688
|
},
|
|
72688
72689
|
post: {
|
|
72689
|
-
description: 'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity).',
|
|
72690
|
+
description: 'Returns a list of all [devices](https://docs.seam.co/latest/core-concepts/devices) associated with a specified [user identity](https://docs.seam.co/latest/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity). This includes devices derived from the access grants assigned to the user identity and devices directly linked to the user identity.',
|
|
72690
72691
|
operationId: 'userIdentitiesListAccessibleDevicesPost',
|
|
72691
72692
|
requestBody: {
|
|
72692
72693
|
content: {
|
|
@@ -72734,6 +72735,7 @@ export default {
|
|
|
72734
72735
|
401: { description: 'Unauthorized' },
|
|
72735
72736
|
},
|
|
72736
72737
|
security: [
|
|
72738
|
+
{ client_session: [] },
|
|
72737
72739
|
{ api_key: [] },
|
|
72738
72740
|
{ pat_with_workspace: [] },
|
|
72739
72741
|
{ console_session_with_workspace: [] },
|