@ampsec/platform-client 70.0.0 → 70.2.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/build/src/FilterCriteria.d.ts +82 -45
- package/build/src/dto/actionExecution.dto.d.ts +3 -2
- package/build/src/dto/agents.dto.d.ts +3 -2
- package/build/src/dto/assets.dto.d.ts +31 -10
- package/build/src/dto/base.dto.d.ts +6 -4
- package/build/src/dto/coverage.dto.d.ts +144 -106
- package/build/src/dto/customActions.dto.d.ts +32 -28
- package/build/src/dto/customScores.dto.d.ts +8 -4
- package/build/src/dto/eng/coverage.dto.d.ts +8 -8
- package/build/src/dto/findings.dto.d.ts +41 -40
- package/build/src/dto/flows.dto.d.ts +222 -179
- package/build/src/dto/notification.dto.d.ts +157 -134
- package/build/src/dto/page.dto.d.ts +5 -5
- package/build/src/dto/platform/platform.actionExecution.dto.d.ts +26 -12
- package/build/src/dto/platform/platform.agents.dto.d.ts +3 -2
- package/build/src/dto/platform/platform.customActions.dto.d.ts +36 -32
- package/build/src/dto/platform/platform.customScores.dto.d.ts +16 -9
- package/build/src/dto/platform/platform.findings.dto.d.ts +37 -34
- package/build/src/dto/platform/platform.flows.dto.d.ts +176 -136
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +29 -25
- package/build/src/dto/platform/platform.saasUsers.dto.d.ts +48 -44
- package/build/src/dto/platform/platform.tokens.dto.d.ts +21 -9
- package/build/src/dto/platform/tenant.based.dto.d.ts +6 -5
- package/build/src/dto/saasAssets.dto.d.ts +84 -58
- package/build/src/dto/saasUsers.dto.d.ts +131 -110
- package/build/src/dto/tokens.dto.d.ts +3 -2
- package/build/src/dto/users.dto.d.ts +8 -8
- package/build/src/services/contentful.service.d.ts +12 -12
- package/build/src/settings.d.ts +3 -0
- package/build/src/settings.js +3 -0
- package/build/src/settings.js.map +1 -1
- package/package.json +1 -1
- package/src/settings.ts +3 -0
|
@@ -79,13 +79,13 @@ export declare const _SaasUserMeta: z.ZodObject<{
|
|
|
79
79
|
/** User's manager's email */
|
|
80
80
|
email: z.ZodOptional<z.ZodString>;
|
|
81
81
|
}, "strip", z.ZodTypeAny, {
|
|
82
|
-
extId?: string | undefined;
|
|
83
82
|
name?: string | undefined;
|
|
84
83
|
email?: string | undefined;
|
|
85
|
-
}, {
|
|
86
84
|
extId?: string | undefined;
|
|
85
|
+
}, {
|
|
87
86
|
name?: string | undefined;
|
|
88
87
|
email?: string | undefined;
|
|
88
|
+
extId?: string | undefined;
|
|
89
89
|
}>>;
|
|
90
90
|
/** User's type */
|
|
91
91
|
userType: z.ZodNativeEnum<typeof GlobalUserType>;
|
|
@@ -94,30 +94,30 @@ export declare const _SaasUserMeta: z.ZodObject<{
|
|
|
94
94
|
firstName: string;
|
|
95
95
|
lastName: string;
|
|
96
96
|
userType: GlobalUserType;
|
|
97
|
-
title?: string | undefined;
|
|
98
|
-
department?: string | undefined;
|
|
99
97
|
organization?: string | undefined;
|
|
98
|
+
department?: string | undefined;
|
|
100
99
|
pictureUrl?: string | undefined;
|
|
100
|
+
title?: string | undefined;
|
|
101
101
|
startDate?: string | undefined;
|
|
102
102
|
manager?: {
|
|
103
|
-
extId?: string | undefined;
|
|
104
103
|
name?: string | undefined;
|
|
105
104
|
email?: string | undefined;
|
|
105
|
+
extId?: string | undefined;
|
|
106
106
|
} | undefined;
|
|
107
107
|
}, {
|
|
108
108
|
email: string;
|
|
109
109
|
firstName: string;
|
|
110
110
|
lastName: string;
|
|
111
111
|
userType: GlobalUserType;
|
|
112
|
-
title?: string | undefined;
|
|
113
|
-
department?: string | undefined;
|
|
114
112
|
organization?: string | undefined;
|
|
113
|
+
department?: string | undefined;
|
|
115
114
|
pictureUrl?: string | undefined;
|
|
115
|
+
title?: string | undefined;
|
|
116
116
|
startDate?: string | undefined;
|
|
117
117
|
manager?: {
|
|
118
|
-
extId?: string | undefined;
|
|
119
118
|
name?: string | undefined;
|
|
120
119
|
email?: string | undefined;
|
|
120
|
+
extId?: string | undefined;
|
|
121
121
|
} | undefined;
|
|
122
122
|
}>;
|
|
123
123
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -126,21 +126,21 @@ export declare const _SaasUserMeta: z.ZodObject<{
|
|
|
126
126
|
firstName: string;
|
|
127
127
|
lastName: string;
|
|
128
128
|
userType: GlobalUserType;
|
|
129
|
-
title?: string | undefined;
|
|
130
|
-
department?: string | undefined;
|
|
131
129
|
organization?: string | undefined;
|
|
130
|
+
department?: string | undefined;
|
|
132
131
|
pictureUrl?: string | undefined;
|
|
132
|
+
title?: string | undefined;
|
|
133
133
|
startDate?: string | undefined;
|
|
134
134
|
manager?: {
|
|
135
|
-
extId?: string | undefined;
|
|
136
135
|
name?: string | undefined;
|
|
137
136
|
email?: string | undefined;
|
|
137
|
+
extId?: string | undefined;
|
|
138
138
|
} | undefined;
|
|
139
139
|
};
|
|
140
|
-
extId?: string | undefined;
|
|
141
140
|
groups?: Record<string, string> | undefined;
|
|
142
|
-
|
|
141
|
+
extId?: string | undefined;
|
|
143
142
|
lastActivityTime?: string | undefined;
|
|
143
|
+
created?: string | undefined;
|
|
144
144
|
factors?: z.objectOutputType<{
|
|
145
145
|
cid: z.ZodOptional<z.ZodString>;
|
|
146
146
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -154,21 +154,21 @@ export declare const _SaasUserMeta: z.ZodObject<{
|
|
|
154
154
|
firstName: string;
|
|
155
155
|
lastName: string;
|
|
156
156
|
userType: GlobalUserType;
|
|
157
|
-
title?: string | undefined;
|
|
158
|
-
department?: string | undefined;
|
|
159
157
|
organization?: string | undefined;
|
|
158
|
+
department?: string | undefined;
|
|
160
159
|
pictureUrl?: string | undefined;
|
|
160
|
+
title?: string | undefined;
|
|
161
161
|
startDate?: string | undefined;
|
|
162
162
|
manager?: {
|
|
163
|
-
extId?: string | undefined;
|
|
164
163
|
name?: string | undefined;
|
|
165
164
|
email?: string | undefined;
|
|
165
|
+
extId?: string | undefined;
|
|
166
166
|
} | undefined;
|
|
167
167
|
};
|
|
168
|
-
extId?: string | undefined;
|
|
169
168
|
groups?: Record<string, string> | undefined;
|
|
170
|
-
|
|
169
|
+
extId?: string | undefined;
|
|
171
170
|
lastActivityTime?: string | undefined;
|
|
171
|
+
created?: string | undefined;
|
|
172
172
|
factors?: z.objectInputType<{
|
|
173
173
|
cid: z.ZodOptional<z.ZodString>;
|
|
174
174
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -185,21 +185,21 @@ export declare const _SaasUserMeta: z.ZodObject<{
|
|
|
185
185
|
firstName: string;
|
|
186
186
|
lastName: string;
|
|
187
187
|
userType: GlobalUserType;
|
|
188
|
-
title?: string | undefined;
|
|
189
|
-
department?: string | undefined;
|
|
190
188
|
organization?: string | undefined;
|
|
189
|
+
department?: string | undefined;
|
|
191
190
|
pictureUrl?: string | undefined;
|
|
191
|
+
title?: string | undefined;
|
|
192
192
|
startDate?: string | undefined;
|
|
193
193
|
manager?: {
|
|
194
|
-
extId?: string | undefined;
|
|
195
194
|
name?: string | undefined;
|
|
196
195
|
email?: string | undefined;
|
|
196
|
+
extId?: string | undefined;
|
|
197
197
|
} | undefined;
|
|
198
198
|
};
|
|
199
|
-
extId?: string | undefined;
|
|
200
199
|
groups?: Record<string, string> | undefined;
|
|
201
|
-
|
|
200
|
+
extId?: string | undefined;
|
|
202
201
|
lastActivityTime?: string | undefined;
|
|
202
|
+
created?: string | undefined;
|
|
203
203
|
factors?: z.objectOutputType<{
|
|
204
204
|
cid: z.ZodOptional<z.ZodString>;
|
|
205
205
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -216,21 +216,21 @@ export declare const _SaasUserMeta: z.ZodObject<{
|
|
|
216
216
|
firstName: string;
|
|
217
217
|
lastName: string;
|
|
218
218
|
userType: GlobalUserType;
|
|
219
|
-
title?: string | undefined;
|
|
220
|
-
department?: string | undefined;
|
|
221
219
|
organization?: string | undefined;
|
|
220
|
+
department?: string | undefined;
|
|
222
221
|
pictureUrl?: string | undefined;
|
|
222
|
+
title?: string | undefined;
|
|
223
223
|
startDate?: string | undefined;
|
|
224
224
|
manager?: {
|
|
225
|
-
extId?: string | undefined;
|
|
226
225
|
name?: string | undefined;
|
|
227
226
|
email?: string | undefined;
|
|
227
|
+
extId?: string | undefined;
|
|
228
228
|
} | undefined;
|
|
229
229
|
};
|
|
230
|
-
extId?: string | undefined;
|
|
231
230
|
groups?: Record<string, string> | undefined;
|
|
232
|
-
|
|
231
|
+
extId?: string | undefined;
|
|
233
232
|
lastActivityTime?: string | undefined;
|
|
233
|
+
created?: string | undefined;
|
|
234
234
|
factors?: z.objectInputType<{
|
|
235
235
|
cid: z.ZodOptional<z.ZodString>;
|
|
236
236
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -242,16 +242,23 @@ export declare const _SaasUserMeta: z.ZodObject<{
|
|
|
242
242
|
_raw?: unknown;
|
|
243
243
|
}>;
|
|
244
244
|
export type SaasUserMeta = z.infer<typeof _SaasUserMeta>;
|
|
245
|
-
export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
245
|
+
export declare const _SaasUserUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
246
246
|
id: z.ZodOptional<z.ZodString>;
|
|
247
247
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
248
248
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
249
249
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
250
|
+
}, {
|
|
250
251
|
etag: z.ZodString;
|
|
252
|
+
}>, {
|
|
253
|
+
/** User Id */
|
|
251
254
|
uid: z.ZodString;
|
|
255
|
+
/** Connector Id */
|
|
252
256
|
cid: z.ZodString;
|
|
257
|
+
/** External email */
|
|
253
258
|
email: z.ZodString;
|
|
259
|
+
/** External Id */
|
|
254
260
|
extId: z.ZodString;
|
|
261
|
+
/** Additional information specific to this Saas User */
|
|
255
262
|
meta: z.ZodObject<{
|
|
256
263
|
_user: z.ZodObject<{
|
|
257
264
|
/** User ID from provider */
|
|
@@ -309,13 +316,13 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
309
316
|
/** User's manager's email */
|
|
310
317
|
email: z.ZodOptional<z.ZodString>;
|
|
311
318
|
}, "strip", z.ZodTypeAny, {
|
|
312
|
-
extId?: string | undefined;
|
|
313
319
|
name?: string | undefined;
|
|
314
320
|
email?: string | undefined;
|
|
315
|
-
}, {
|
|
316
321
|
extId?: string | undefined;
|
|
322
|
+
}, {
|
|
317
323
|
name?: string | undefined;
|
|
318
324
|
email?: string | undefined;
|
|
325
|
+
extId?: string | undefined;
|
|
319
326
|
}>>;
|
|
320
327
|
/** User's type */
|
|
321
328
|
userType: z.ZodNativeEnum<typeof GlobalUserType>;
|
|
@@ -324,30 +331,30 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
324
331
|
firstName: string;
|
|
325
332
|
lastName: string;
|
|
326
333
|
userType: GlobalUserType;
|
|
327
|
-
title?: string | undefined;
|
|
328
|
-
department?: string | undefined;
|
|
329
334
|
organization?: string | undefined;
|
|
335
|
+
department?: string | undefined;
|
|
330
336
|
pictureUrl?: string | undefined;
|
|
337
|
+
title?: string | undefined;
|
|
331
338
|
startDate?: string | undefined;
|
|
332
339
|
manager?: {
|
|
333
|
-
extId?: string | undefined;
|
|
334
340
|
name?: string | undefined;
|
|
335
341
|
email?: string | undefined;
|
|
342
|
+
extId?: string | undefined;
|
|
336
343
|
} | undefined;
|
|
337
344
|
}, {
|
|
338
345
|
email: string;
|
|
339
346
|
firstName: string;
|
|
340
347
|
lastName: string;
|
|
341
348
|
userType: GlobalUserType;
|
|
342
|
-
title?: string | undefined;
|
|
343
|
-
department?: string | undefined;
|
|
344
349
|
organization?: string | undefined;
|
|
350
|
+
department?: string | undefined;
|
|
345
351
|
pictureUrl?: string | undefined;
|
|
352
|
+
title?: string | undefined;
|
|
346
353
|
startDate?: string | undefined;
|
|
347
354
|
manager?: {
|
|
348
|
-
extId?: string | undefined;
|
|
349
355
|
name?: string | undefined;
|
|
350
356
|
email?: string | undefined;
|
|
357
|
+
extId?: string | undefined;
|
|
351
358
|
} | undefined;
|
|
352
359
|
}>;
|
|
353
360
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -356,21 +363,21 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
356
363
|
firstName: string;
|
|
357
364
|
lastName: string;
|
|
358
365
|
userType: GlobalUserType;
|
|
359
|
-
title?: string | undefined;
|
|
360
|
-
department?: string | undefined;
|
|
361
366
|
organization?: string | undefined;
|
|
367
|
+
department?: string | undefined;
|
|
362
368
|
pictureUrl?: string | undefined;
|
|
369
|
+
title?: string | undefined;
|
|
363
370
|
startDate?: string | undefined;
|
|
364
371
|
manager?: {
|
|
365
|
-
extId?: string | undefined;
|
|
366
372
|
name?: string | undefined;
|
|
367
373
|
email?: string | undefined;
|
|
374
|
+
extId?: string | undefined;
|
|
368
375
|
} | undefined;
|
|
369
376
|
};
|
|
370
|
-
extId?: string | undefined;
|
|
371
377
|
groups?: Record<string, string> | undefined;
|
|
372
|
-
|
|
378
|
+
extId?: string | undefined;
|
|
373
379
|
lastActivityTime?: string | undefined;
|
|
380
|
+
created?: string | undefined;
|
|
374
381
|
factors?: z.objectOutputType<{
|
|
375
382
|
cid: z.ZodOptional<z.ZodString>;
|
|
376
383
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -384,21 +391,21 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
384
391
|
firstName: string;
|
|
385
392
|
lastName: string;
|
|
386
393
|
userType: GlobalUserType;
|
|
387
|
-
title?: string | undefined;
|
|
388
|
-
department?: string | undefined;
|
|
389
394
|
organization?: string | undefined;
|
|
395
|
+
department?: string | undefined;
|
|
390
396
|
pictureUrl?: string | undefined;
|
|
397
|
+
title?: string | undefined;
|
|
391
398
|
startDate?: string | undefined;
|
|
392
399
|
manager?: {
|
|
393
|
-
extId?: string | undefined;
|
|
394
400
|
name?: string | undefined;
|
|
395
401
|
email?: string | undefined;
|
|
402
|
+
extId?: string | undefined;
|
|
396
403
|
} | undefined;
|
|
397
404
|
};
|
|
398
|
-
extId?: string | undefined;
|
|
399
405
|
groups?: Record<string, string> | undefined;
|
|
400
|
-
|
|
406
|
+
extId?: string | undefined;
|
|
401
407
|
lastActivityTime?: string | undefined;
|
|
408
|
+
created?: string | undefined;
|
|
402
409
|
factors?: z.objectInputType<{
|
|
403
410
|
cid: z.ZodOptional<z.ZodString>;
|
|
404
411
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -415,21 +422,21 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
415
422
|
firstName: string;
|
|
416
423
|
lastName: string;
|
|
417
424
|
userType: GlobalUserType;
|
|
418
|
-
title?: string | undefined;
|
|
419
|
-
department?: string | undefined;
|
|
420
425
|
organization?: string | undefined;
|
|
426
|
+
department?: string | undefined;
|
|
421
427
|
pictureUrl?: string | undefined;
|
|
428
|
+
title?: string | undefined;
|
|
422
429
|
startDate?: string | undefined;
|
|
423
430
|
manager?: {
|
|
424
|
-
extId?: string | undefined;
|
|
425
431
|
name?: string | undefined;
|
|
426
432
|
email?: string | undefined;
|
|
433
|
+
extId?: string | undefined;
|
|
427
434
|
} | undefined;
|
|
428
435
|
};
|
|
429
|
-
extId?: string | undefined;
|
|
430
436
|
groups?: Record<string, string> | undefined;
|
|
431
|
-
|
|
437
|
+
extId?: string | undefined;
|
|
432
438
|
lastActivityTime?: string | undefined;
|
|
439
|
+
created?: string | undefined;
|
|
433
440
|
factors?: z.objectOutputType<{
|
|
434
441
|
cid: z.ZodOptional<z.ZodString>;
|
|
435
442
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -446,21 +453,21 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
446
453
|
firstName: string;
|
|
447
454
|
lastName: string;
|
|
448
455
|
userType: GlobalUserType;
|
|
449
|
-
title?: string | undefined;
|
|
450
|
-
department?: string | undefined;
|
|
451
456
|
organization?: string | undefined;
|
|
457
|
+
department?: string | undefined;
|
|
452
458
|
pictureUrl?: string | undefined;
|
|
459
|
+
title?: string | undefined;
|
|
453
460
|
startDate?: string | undefined;
|
|
454
461
|
manager?: {
|
|
455
|
-
extId?: string | undefined;
|
|
456
462
|
name?: string | undefined;
|
|
457
463
|
email?: string | undefined;
|
|
464
|
+
extId?: string | undefined;
|
|
458
465
|
} | undefined;
|
|
459
466
|
};
|
|
460
|
-
extId?: string | undefined;
|
|
461
467
|
groups?: Record<string, string> | undefined;
|
|
462
|
-
|
|
468
|
+
extId?: string | undefined;
|
|
463
469
|
lastActivityTime?: string | undefined;
|
|
470
|
+
created?: string | undefined;
|
|
464
471
|
factors?: z.objectInputType<{
|
|
465
472
|
cid: z.ZodOptional<z.ZodString>;
|
|
466
473
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -471,7 +478,7 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
471
478
|
};
|
|
472
479
|
_raw?: unknown;
|
|
473
480
|
}>;
|
|
474
|
-
}
|
|
481
|
+
}>, "strip", z.ZodTypeAny, {
|
|
475
482
|
email: string;
|
|
476
483
|
cid: string;
|
|
477
484
|
uid: string;
|
|
@@ -484,21 +491,21 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
484
491
|
firstName: string;
|
|
485
492
|
lastName: string;
|
|
486
493
|
userType: GlobalUserType;
|
|
487
|
-
title?: string | undefined;
|
|
488
|
-
department?: string | undefined;
|
|
489
494
|
organization?: string | undefined;
|
|
495
|
+
department?: string | undefined;
|
|
490
496
|
pictureUrl?: string | undefined;
|
|
497
|
+
title?: string | undefined;
|
|
491
498
|
startDate?: string | undefined;
|
|
492
499
|
manager?: {
|
|
493
|
-
extId?: string | undefined;
|
|
494
500
|
name?: string | undefined;
|
|
495
501
|
email?: string | undefined;
|
|
502
|
+
extId?: string | undefined;
|
|
496
503
|
} | undefined;
|
|
497
504
|
};
|
|
498
|
-
extId?: string | undefined;
|
|
499
505
|
groups?: Record<string, string> | undefined;
|
|
500
|
-
|
|
506
|
+
extId?: string | undefined;
|
|
501
507
|
lastActivityTime?: string | undefined;
|
|
508
|
+
created?: string | undefined;
|
|
502
509
|
factors?: z.objectOutputType<{
|
|
503
510
|
cid: z.ZodOptional<z.ZodString>;
|
|
504
511
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -526,21 +533,21 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
526
533
|
firstName: string;
|
|
527
534
|
lastName: string;
|
|
528
535
|
userType: GlobalUserType;
|
|
529
|
-
title?: string | undefined;
|
|
530
|
-
department?: string | undefined;
|
|
531
536
|
organization?: string | undefined;
|
|
537
|
+
department?: string | undefined;
|
|
532
538
|
pictureUrl?: string | undefined;
|
|
539
|
+
title?: string | undefined;
|
|
533
540
|
startDate?: string | undefined;
|
|
534
541
|
manager?: {
|
|
535
|
-
extId?: string | undefined;
|
|
536
542
|
name?: string | undefined;
|
|
537
543
|
email?: string | undefined;
|
|
544
|
+
extId?: string | undefined;
|
|
538
545
|
} | undefined;
|
|
539
546
|
};
|
|
540
|
-
extId?: string | undefined;
|
|
541
547
|
groups?: Record<string, string> | undefined;
|
|
542
|
-
|
|
548
|
+
extId?: string | undefined;
|
|
543
549
|
lastActivityTime?: string | undefined;
|
|
550
|
+
created?: string | undefined;
|
|
544
551
|
factors?: z.objectInputType<{
|
|
545
552
|
cid: z.ZodOptional<z.ZodString>;
|
|
546
553
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -557,11 +564,23 @@ export declare const _SaasUserUpsertDto: z.ZodObject<{
|
|
|
557
564
|
deletedAt?: string | null | undefined;
|
|
558
565
|
}>;
|
|
559
566
|
export type SaasUserUpsertDto = z.infer<typeof _SaasUserUpsertDto>;
|
|
560
|
-
export declare const _SaasUserDto: z.ZodObject<{
|
|
561
|
-
|
|
562
|
-
|
|
567
|
+
export declare const _SaasUserDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
568
|
+
id: z.ZodOptional<z.ZodString>;
|
|
569
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
570
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
571
|
+
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
572
|
+
}, {
|
|
573
|
+
etag: z.ZodString;
|
|
574
|
+
}>, {
|
|
575
|
+
/** User Id */
|
|
563
576
|
uid: z.ZodString;
|
|
577
|
+
/** Connector Id */
|
|
578
|
+
cid: z.ZodString;
|
|
579
|
+
/** External email */
|
|
580
|
+
email: z.ZodString;
|
|
581
|
+
/** External Id */
|
|
564
582
|
extId: z.ZodString;
|
|
583
|
+
/** Additional information specific to this Saas User */
|
|
565
584
|
meta: z.ZodObject<{
|
|
566
585
|
_user: z.ZodObject<{
|
|
567
586
|
/** User ID from provider */
|
|
@@ -619,13 +638,13 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
619
638
|
/** User's manager's email */
|
|
620
639
|
email: z.ZodOptional<z.ZodString>;
|
|
621
640
|
}, "strip", z.ZodTypeAny, {
|
|
622
|
-
extId?: string | undefined;
|
|
623
641
|
name?: string | undefined;
|
|
624
642
|
email?: string | undefined;
|
|
625
|
-
}, {
|
|
626
643
|
extId?: string | undefined;
|
|
644
|
+
}, {
|
|
627
645
|
name?: string | undefined;
|
|
628
646
|
email?: string | undefined;
|
|
647
|
+
extId?: string | undefined;
|
|
629
648
|
}>>;
|
|
630
649
|
/** User's type */
|
|
631
650
|
userType: z.ZodNativeEnum<typeof GlobalUserType>;
|
|
@@ -634,30 +653,30 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
634
653
|
firstName: string;
|
|
635
654
|
lastName: string;
|
|
636
655
|
userType: GlobalUserType;
|
|
637
|
-
title?: string | undefined;
|
|
638
|
-
department?: string | undefined;
|
|
639
656
|
organization?: string | undefined;
|
|
657
|
+
department?: string | undefined;
|
|
640
658
|
pictureUrl?: string | undefined;
|
|
659
|
+
title?: string | undefined;
|
|
641
660
|
startDate?: string | undefined;
|
|
642
661
|
manager?: {
|
|
643
|
-
extId?: string | undefined;
|
|
644
662
|
name?: string | undefined;
|
|
645
663
|
email?: string | undefined;
|
|
664
|
+
extId?: string | undefined;
|
|
646
665
|
} | undefined;
|
|
647
666
|
}, {
|
|
648
667
|
email: string;
|
|
649
668
|
firstName: string;
|
|
650
669
|
lastName: string;
|
|
651
670
|
userType: GlobalUserType;
|
|
652
|
-
title?: string | undefined;
|
|
653
|
-
department?: string | undefined;
|
|
654
671
|
organization?: string | undefined;
|
|
672
|
+
department?: string | undefined;
|
|
655
673
|
pictureUrl?: string | undefined;
|
|
674
|
+
title?: string | undefined;
|
|
656
675
|
startDate?: string | undefined;
|
|
657
676
|
manager?: {
|
|
658
|
-
extId?: string | undefined;
|
|
659
677
|
name?: string | undefined;
|
|
660
678
|
email?: string | undefined;
|
|
679
|
+
extId?: string | undefined;
|
|
661
680
|
} | undefined;
|
|
662
681
|
}>;
|
|
663
682
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -666,21 +685,21 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
666
685
|
firstName: string;
|
|
667
686
|
lastName: string;
|
|
668
687
|
userType: GlobalUserType;
|
|
669
|
-
title?: string | undefined;
|
|
670
|
-
department?: string | undefined;
|
|
671
688
|
organization?: string | undefined;
|
|
689
|
+
department?: string | undefined;
|
|
672
690
|
pictureUrl?: string | undefined;
|
|
691
|
+
title?: string | undefined;
|
|
673
692
|
startDate?: string | undefined;
|
|
674
693
|
manager?: {
|
|
675
|
-
extId?: string | undefined;
|
|
676
694
|
name?: string | undefined;
|
|
677
695
|
email?: string | undefined;
|
|
696
|
+
extId?: string | undefined;
|
|
678
697
|
} | undefined;
|
|
679
698
|
};
|
|
680
|
-
extId?: string | undefined;
|
|
681
699
|
groups?: Record<string, string> | undefined;
|
|
682
|
-
|
|
700
|
+
extId?: string | undefined;
|
|
683
701
|
lastActivityTime?: string | undefined;
|
|
702
|
+
created?: string | undefined;
|
|
684
703
|
factors?: z.objectOutputType<{
|
|
685
704
|
cid: z.ZodOptional<z.ZodString>;
|
|
686
705
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -694,21 +713,21 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
694
713
|
firstName: string;
|
|
695
714
|
lastName: string;
|
|
696
715
|
userType: GlobalUserType;
|
|
697
|
-
title?: string | undefined;
|
|
698
|
-
department?: string | undefined;
|
|
699
716
|
organization?: string | undefined;
|
|
717
|
+
department?: string | undefined;
|
|
700
718
|
pictureUrl?: string | undefined;
|
|
719
|
+
title?: string | undefined;
|
|
701
720
|
startDate?: string | undefined;
|
|
702
721
|
manager?: {
|
|
703
|
-
extId?: string | undefined;
|
|
704
722
|
name?: string | undefined;
|
|
705
723
|
email?: string | undefined;
|
|
724
|
+
extId?: string | undefined;
|
|
706
725
|
} | undefined;
|
|
707
726
|
};
|
|
708
|
-
extId?: string | undefined;
|
|
709
727
|
groups?: Record<string, string> | undefined;
|
|
710
|
-
|
|
728
|
+
extId?: string | undefined;
|
|
711
729
|
lastActivityTime?: string | undefined;
|
|
730
|
+
created?: string | undefined;
|
|
712
731
|
factors?: z.objectInputType<{
|
|
713
732
|
cid: z.ZodOptional<z.ZodString>;
|
|
714
733
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -725,21 +744,21 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
725
744
|
firstName: string;
|
|
726
745
|
lastName: string;
|
|
727
746
|
userType: GlobalUserType;
|
|
728
|
-
title?: string | undefined;
|
|
729
|
-
department?: string | undefined;
|
|
730
747
|
organization?: string | undefined;
|
|
748
|
+
department?: string | undefined;
|
|
731
749
|
pictureUrl?: string | undefined;
|
|
750
|
+
title?: string | undefined;
|
|
732
751
|
startDate?: string | undefined;
|
|
733
752
|
manager?: {
|
|
734
|
-
extId?: string | undefined;
|
|
735
753
|
name?: string | undefined;
|
|
736
754
|
email?: string | undefined;
|
|
755
|
+
extId?: string | undefined;
|
|
737
756
|
} | undefined;
|
|
738
757
|
};
|
|
739
|
-
extId?: string | undefined;
|
|
740
758
|
groups?: Record<string, string> | undefined;
|
|
741
|
-
|
|
759
|
+
extId?: string | undefined;
|
|
742
760
|
lastActivityTime?: string | undefined;
|
|
761
|
+
created?: string | undefined;
|
|
743
762
|
factors?: z.objectOutputType<{
|
|
744
763
|
cid: z.ZodOptional<z.ZodString>;
|
|
745
764
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -756,21 +775,21 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
756
775
|
firstName: string;
|
|
757
776
|
lastName: string;
|
|
758
777
|
userType: GlobalUserType;
|
|
759
|
-
title?: string | undefined;
|
|
760
|
-
department?: string | undefined;
|
|
761
778
|
organization?: string | undefined;
|
|
779
|
+
department?: string | undefined;
|
|
762
780
|
pictureUrl?: string | undefined;
|
|
781
|
+
title?: string | undefined;
|
|
763
782
|
startDate?: string | undefined;
|
|
764
783
|
manager?: {
|
|
765
|
-
extId?: string | undefined;
|
|
766
784
|
name?: string | undefined;
|
|
767
785
|
email?: string | undefined;
|
|
786
|
+
extId?: string | undefined;
|
|
768
787
|
} | undefined;
|
|
769
788
|
};
|
|
770
|
-
extId?: string | undefined;
|
|
771
789
|
groups?: Record<string, string> | undefined;
|
|
772
|
-
|
|
790
|
+
extId?: string | undefined;
|
|
773
791
|
lastActivityTime?: string | undefined;
|
|
792
|
+
created?: string | undefined;
|
|
774
793
|
factors?: z.objectInputType<{
|
|
775
794
|
cid: z.ZodOptional<z.ZodString>;
|
|
776
795
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -781,12 +800,14 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
781
800
|
};
|
|
782
801
|
_raw?: unknown;
|
|
783
802
|
}>;
|
|
803
|
+
}>, z.objectUtil.extendShape<{
|
|
784
804
|
id: z.ZodString;
|
|
785
805
|
createdAt: z.ZodString;
|
|
786
806
|
updatedAt: z.ZodString;
|
|
787
807
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
808
|
+
}, {
|
|
788
809
|
etag: z.ZodString;
|
|
789
|
-
}
|
|
810
|
+
}>>, "strip", z.ZodTypeAny, {
|
|
790
811
|
email: string;
|
|
791
812
|
id: string;
|
|
792
813
|
cid: string;
|
|
@@ -803,21 +824,21 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
803
824
|
firstName: string;
|
|
804
825
|
lastName: string;
|
|
805
826
|
userType: GlobalUserType;
|
|
806
|
-
title?: string | undefined;
|
|
807
|
-
department?: string | undefined;
|
|
808
827
|
organization?: string | undefined;
|
|
828
|
+
department?: string | undefined;
|
|
809
829
|
pictureUrl?: string | undefined;
|
|
830
|
+
title?: string | undefined;
|
|
810
831
|
startDate?: string | undefined;
|
|
811
832
|
manager?: {
|
|
812
|
-
extId?: string | undefined;
|
|
813
833
|
name?: string | undefined;
|
|
814
834
|
email?: string | undefined;
|
|
835
|
+
extId?: string | undefined;
|
|
815
836
|
} | undefined;
|
|
816
837
|
};
|
|
817
|
-
extId?: string | undefined;
|
|
818
838
|
groups?: Record<string, string> | undefined;
|
|
819
|
-
|
|
839
|
+
extId?: string | undefined;
|
|
820
840
|
lastActivityTime?: string | undefined;
|
|
841
|
+
created?: string | undefined;
|
|
821
842
|
factors?: z.objectOutputType<{
|
|
822
843
|
cid: z.ZodOptional<z.ZodString>;
|
|
823
844
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -845,21 +866,21 @@ export declare const _SaasUserDto: z.ZodObject<{
|
|
|
845
866
|
firstName: string;
|
|
846
867
|
lastName: string;
|
|
847
868
|
userType: GlobalUserType;
|
|
848
|
-
title?: string | undefined;
|
|
849
|
-
department?: string | undefined;
|
|
850
869
|
organization?: string | undefined;
|
|
870
|
+
department?: string | undefined;
|
|
851
871
|
pictureUrl?: string | undefined;
|
|
872
|
+
title?: string | undefined;
|
|
852
873
|
startDate?: string | undefined;
|
|
853
874
|
manager?: {
|
|
854
|
-
extId?: string | undefined;
|
|
855
875
|
name?: string | undefined;
|
|
856
876
|
email?: string | undefined;
|
|
877
|
+
extId?: string | undefined;
|
|
857
878
|
} | undefined;
|
|
858
879
|
};
|
|
859
|
-
extId?: string | undefined;
|
|
860
880
|
groups?: Record<string, string> | undefined;
|
|
861
|
-
|
|
881
|
+
extId?: string | undefined;
|
|
862
882
|
lastActivityTime?: string | undefined;
|
|
883
|
+
created?: string | undefined;
|
|
863
884
|
factors?: z.objectInputType<{
|
|
864
885
|
cid: z.ZodOptional<z.ZodString>;
|
|
865
886
|
status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
export declare const _TokenDto: z.ZodObject<{
|
|
2
|
+
export declare const _TokenDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
id: z.ZodString;
|
|
4
4
|
createdAt: z.ZodString;
|
|
5
5
|
updatedAt: z.ZodString;
|
|
6
6
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
7
|
+
}, {
|
|
7
8
|
displayValue: z.ZodOptional<z.ZodString>;
|
|
8
9
|
key: z.ZodString;
|
|
9
10
|
links: z.ZodObject<{
|
|
@@ -16,7 +17,7 @@ export declare const _TokenDto: z.ZodObject<{
|
|
|
16
17
|
_self: string;
|
|
17
18
|
webhook: string;
|
|
18
19
|
}>;
|
|
19
|
-
}
|
|
20
|
+
}>, "strip", z.ZodTypeAny, {
|
|
20
21
|
id: string;
|
|
21
22
|
createdAt: string;
|
|
22
23
|
updatedAt: string;
|