@ampsec/platform-client 59.8.0 → 60.0.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.
@@ -68,9 +68,9 @@ export declare const _UserCoverageSummary: z.ZodObject<{
68
68
  id: z.ZodOptional<z.ZodString>;
69
69
  organization: z.ZodOptional<z.ZodString>;
70
70
  department: z.ZodOptional<z.ZodString>;
71
- score: z.ZodOptional<z.ZodNumber>;
72
71
  firstName: z.ZodOptional<z.ZodString>;
73
72
  lastName: z.ZodOptional<z.ZodString>;
73
+ score: z.ZodOptional<z.ZodNumber>;
74
74
  active: z.ZodOptional<z.ZodBoolean>;
75
75
  lastActivity: z.ZodOptional<z.ZodString>;
76
76
  name: z.ZodOptional<z.ZodString>;
@@ -156,9 +156,9 @@ export declare const _UserCoverageSummary: z.ZodObject<{
156
156
  id?: string | undefined;
157
157
  organization?: string | undefined;
158
158
  department?: string | undefined;
159
- score?: number | undefined;
160
159
  firstName?: string | undefined;
161
160
  lastName?: string | undefined;
161
+ score?: number | undefined;
162
162
  active?: boolean | undefined;
163
163
  lastActivity?: string | undefined;
164
164
  name?: string | undefined;
@@ -188,9 +188,9 @@ export declare const _UserCoverageSummary: z.ZodObject<{
188
188
  id?: string | undefined;
189
189
  organization?: string | undefined;
190
190
  department?: string | undefined;
191
- score?: number | undefined;
192
191
  firstName?: string | undefined;
193
192
  lastName?: string | undefined;
193
+ score?: number | undefined;
194
194
  active?: boolean | undefined;
195
195
  lastActivity?: string | undefined;
196
196
  name?: string | undefined;
@@ -202,9 +202,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
202
202
  id: z.ZodOptional<z.ZodString>;
203
203
  organization: z.ZodOptional<z.ZodString>;
204
204
  department: z.ZodOptional<z.ZodString>;
205
- score: z.ZodOptional<z.ZodNumber>;
206
205
  firstName: z.ZodOptional<z.ZodString>;
207
206
  lastName: z.ZodOptional<z.ZodString>;
207
+ score: z.ZodOptional<z.ZodNumber>;
208
208
  active: z.ZodOptional<z.ZodBoolean>;
209
209
  lastActivity: z.ZodOptional<z.ZodString>;
210
210
  userAccounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
@@ -212,7 +212,164 @@ export declare const _UserCoverageReport: z.ZodObject<{
212
212
  cid: z.ZodString;
213
213
  uid: z.ZodString;
214
214
  extId: z.ZodString;
215
- meta: z.ZodUnknown;
215
+ meta: z.ZodObject<{
216
+ _user: z.ZodObject<{
217
+ extId: z.ZodOptional<z.ZodString>;
218
+ groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
219
+ created: z.ZodOptional<z.ZodString>;
220
+ lastActivityTime: z.ZodOptional<z.ZodString>;
221
+ factors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
222
+ profile: z.ZodObject<{
223
+ firstName: z.ZodString;
224
+ lastName: z.ZodString;
225
+ email: z.ZodString;
226
+ title: z.ZodOptional<z.ZodString>;
227
+ department: z.ZodOptional<z.ZodString>;
228
+ organization: z.ZodOptional<z.ZodString>;
229
+ pictureUrl: z.ZodOptional<z.ZodString>;
230
+ startDate: z.ZodOptional<z.ZodString>;
231
+ manager: z.ZodOptional<z.ZodObject<{
232
+ extId: z.ZodOptional<z.ZodString>;
233
+ name: z.ZodOptional<z.ZodString>;
234
+ email: z.ZodOptional<z.ZodString>;
235
+ }, "strip", z.ZodTypeAny, {
236
+ extId?: string | undefined;
237
+ name?: string | undefined;
238
+ email?: string | undefined;
239
+ }, {
240
+ extId?: string | undefined;
241
+ name?: string | undefined;
242
+ email?: string | undefined;
243
+ }>>;
244
+ status: z.ZodNativeEnum<typeof import("./enums").GlobalUserType>;
245
+ }, "strip", z.ZodTypeAny, {
246
+ email: string;
247
+ status: import("./enums").GlobalUserType;
248
+ firstName: string;
249
+ lastName: string;
250
+ title?: string | undefined;
251
+ department?: string | undefined;
252
+ organization?: string | undefined;
253
+ pictureUrl?: string | undefined;
254
+ startDate?: string | undefined;
255
+ manager?: {
256
+ extId?: string | undefined;
257
+ name?: string | undefined;
258
+ email?: string | undefined;
259
+ } | undefined;
260
+ }, {
261
+ email: string;
262
+ status: import("./enums").GlobalUserType;
263
+ firstName: string;
264
+ lastName: string;
265
+ title?: string | undefined;
266
+ department?: string | undefined;
267
+ organization?: string | undefined;
268
+ pictureUrl?: string | undefined;
269
+ startDate?: string | undefined;
270
+ manager?: {
271
+ extId?: string | undefined;
272
+ name?: string | undefined;
273
+ email?: string | undefined;
274
+ } | undefined;
275
+ }>;
276
+ }, "strip", z.ZodTypeAny, {
277
+ profile: {
278
+ email: string;
279
+ status: import("./enums").GlobalUserType;
280
+ firstName: string;
281
+ lastName: string;
282
+ title?: string | undefined;
283
+ department?: string | undefined;
284
+ organization?: string | undefined;
285
+ pictureUrl?: string | undefined;
286
+ startDate?: string | undefined;
287
+ manager?: {
288
+ extId?: string | undefined;
289
+ name?: string | undefined;
290
+ email?: string | undefined;
291
+ } | undefined;
292
+ };
293
+ extId?: string | undefined;
294
+ groups?: Record<string, string> | undefined;
295
+ created?: string | undefined;
296
+ lastActivityTime?: string | undefined;
297
+ factors?: Record<string, string>[] | undefined;
298
+ }, {
299
+ profile: {
300
+ email: string;
301
+ status: import("./enums").GlobalUserType;
302
+ firstName: string;
303
+ lastName: string;
304
+ title?: string | undefined;
305
+ department?: string | undefined;
306
+ organization?: string | undefined;
307
+ pictureUrl?: string | undefined;
308
+ startDate?: string | undefined;
309
+ manager?: {
310
+ extId?: string | undefined;
311
+ name?: string | undefined;
312
+ email?: string | undefined;
313
+ } | undefined;
314
+ };
315
+ extId?: string | undefined;
316
+ groups?: Record<string, string> | undefined;
317
+ created?: string | undefined;
318
+ lastActivityTime?: string | undefined;
319
+ factors?: Record<string, string>[] | undefined;
320
+ }>;
321
+ _raw: z.ZodUnknown;
322
+ }, "strip", z.ZodTypeAny, {
323
+ _user: {
324
+ profile: {
325
+ email: string;
326
+ status: import("./enums").GlobalUserType;
327
+ firstName: string;
328
+ lastName: string;
329
+ title?: string | undefined;
330
+ department?: string | undefined;
331
+ organization?: string | undefined;
332
+ pictureUrl?: string | undefined;
333
+ startDate?: string | undefined;
334
+ manager?: {
335
+ extId?: string | undefined;
336
+ name?: string | undefined;
337
+ email?: string | undefined;
338
+ } | undefined;
339
+ };
340
+ extId?: string | undefined;
341
+ groups?: Record<string, string> | undefined;
342
+ created?: string | undefined;
343
+ lastActivityTime?: string | undefined;
344
+ factors?: Record<string, string>[] | undefined;
345
+ };
346
+ _raw?: unknown;
347
+ }, {
348
+ _user: {
349
+ profile: {
350
+ email: string;
351
+ status: import("./enums").GlobalUserType;
352
+ firstName: string;
353
+ lastName: string;
354
+ title?: string | undefined;
355
+ department?: string | undefined;
356
+ organization?: string | undefined;
357
+ pictureUrl?: string | undefined;
358
+ startDate?: string | undefined;
359
+ manager?: {
360
+ extId?: string | undefined;
361
+ name?: string | undefined;
362
+ email?: string | undefined;
363
+ } | undefined;
364
+ };
365
+ extId?: string | undefined;
366
+ groups?: Record<string, string> | undefined;
367
+ created?: string | undefined;
368
+ lastActivityTime?: string | undefined;
369
+ factors?: Record<string, string>[] | undefined;
370
+ };
371
+ _raw?: unknown;
372
+ }>;
216
373
  id: z.ZodString;
217
374
  createdAt: z.ZodString;
218
375
  updatedAt: z.ZodString;
@@ -228,7 +385,32 @@ export declare const _UserCoverageReport: z.ZodObject<{
228
385
  deletedAt: string | null;
229
386
  etag: string;
230
387
  extId: string;
231
- meta?: unknown;
388
+ meta: {
389
+ _user: {
390
+ profile: {
391
+ email: string;
392
+ status: import("./enums").GlobalUserType;
393
+ firstName: string;
394
+ lastName: string;
395
+ title?: string | undefined;
396
+ department?: string | undefined;
397
+ organization?: string | undefined;
398
+ pictureUrl?: string | undefined;
399
+ startDate?: string | undefined;
400
+ manager?: {
401
+ extId?: string | undefined;
402
+ name?: string | undefined;
403
+ email?: string | undefined;
404
+ } | undefined;
405
+ };
406
+ extId?: string | undefined;
407
+ groups?: Record<string, string> | undefined;
408
+ created?: string | undefined;
409
+ lastActivityTime?: string | undefined;
410
+ factors?: Record<string, string>[] | undefined;
411
+ };
412
+ _raw?: unknown;
413
+ };
232
414
  }, {
233
415
  email: string;
234
416
  id: string;
@@ -239,7 +421,32 @@ export declare const _UserCoverageReport: z.ZodObject<{
239
421
  deletedAt: string | null;
240
422
  etag: string;
241
423
  extId: string;
242
- meta?: unknown;
424
+ meta: {
425
+ _user: {
426
+ profile: {
427
+ email: string;
428
+ status: import("./enums").GlobalUserType;
429
+ firstName: string;
430
+ lastName: string;
431
+ title?: string | undefined;
432
+ department?: string | undefined;
433
+ organization?: string | undefined;
434
+ pictureUrl?: string | undefined;
435
+ startDate?: string | undefined;
436
+ manager?: {
437
+ extId?: string | undefined;
438
+ name?: string | undefined;
439
+ email?: string | undefined;
440
+ } | undefined;
441
+ };
442
+ extId?: string | undefined;
443
+ groups?: Record<string, string> | undefined;
444
+ created?: string | undefined;
445
+ lastActivityTime?: string | undefined;
446
+ factors?: Record<string, string>[] | undefined;
447
+ };
448
+ _raw?: unknown;
449
+ };
243
450
  }>, "many">>;
244
451
  assetAccounts: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
245
452
  cid: z.ZodString;
@@ -377,7 +584,32 @@ export declare const _UserCoverageReport: z.ZodObject<{
377
584
  deletedAt: string | null;
378
585
  etag: string;
379
586
  extId: string;
380
- meta?: unknown;
587
+ meta: {
588
+ _user: {
589
+ profile: {
590
+ email: string;
591
+ status: import("./enums").GlobalUserType;
592
+ firstName: string;
593
+ lastName: string;
594
+ title?: string | undefined;
595
+ department?: string | undefined;
596
+ organization?: string | undefined;
597
+ pictureUrl?: string | undefined;
598
+ startDate?: string | undefined;
599
+ manager?: {
600
+ extId?: string | undefined;
601
+ name?: string | undefined;
602
+ email?: string | undefined;
603
+ } | undefined;
604
+ };
605
+ extId?: string | undefined;
606
+ groups?: Record<string, string> | undefined;
607
+ created?: string | undefined;
608
+ lastActivityTime?: string | undefined;
609
+ factors?: Record<string, string>[] | undefined;
610
+ };
611
+ _raw?: unknown;
612
+ };
381
613
  }[]>;
382
614
  assets: {
383
615
  id: string;
@@ -398,9 +630,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
398
630
  id?: string | undefined;
399
631
  organization?: string | undefined;
400
632
  department?: string | undefined;
401
- score?: number | undefined;
402
633
  firstName?: string | undefined;
403
634
  lastName?: string | undefined;
635
+ score?: number | undefined;
404
636
  active?: boolean | undefined;
405
637
  lastActivity?: string | undefined;
406
638
  }, {
@@ -431,7 +663,32 @@ export declare const _UserCoverageReport: z.ZodObject<{
431
663
  deletedAt: string | null;
432
664
  etag: string;
433
665
  extId: string;
434
- meta?: unknown;
666
+ meta: {
667
+ _user: {
668
+ profile: {
669
+ email: string;
670
+ status: import("./enums").GlobalUserType;
671
+ firstName: string;
672
+ lastName: string;
673
+ title?: string | undefined;
674
+ department?: string | undefined;
675
+ organization?: string | undefined;
676
+ pictureUrl?: string | undefined;
677
+ startDate?: string | undefined;
678
+ manager?: {
679
+ extId?: string | undefined;
680
+ name?: string | undefined;
681
+ email?: string | undefined;
682
+ } | undefined;
683
+ };
684
+ extId?: string | undefined;
685
+ groups?: Record<string, string> | undefined;
686
+ created?: string | undefined;
687
+ lastActivityTime?: string | undefined;
688
+ factors?: Record<string, string>[] | undefined;
689
+ };
690
+ _raw?: unknown;
691
+ };
435
692
  }[]>;
436
693
  assets: {
437
694
  id: string;
@@ -452,9 +709,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
452
709
  id?: string | undefined;
453
710
  organization?: string | undefined;
454
711
  department?: string | undefined;
455
- score?: number | undefined;
456
712
  firstName?: string | undefined;
457
713
  lastName?: string | undefined;
714
+ score?: number | undefined;
458
715
  active?: boolean | undefined;
459
716
  lastActivity?: string | undefined;
460
717
  }>;
@@ -12,29 +12,236 @@ export declare const _StagedSaasUserUpsertDto: z.ZodObject<{
12
12
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13
13
  etag: z.ZodString;
14
14
  extId: z.ZodString;
15
- meta: z.ZodUnknown;
15
+ meta: z.ZodObject<{
16
+ _user: z.ZodObject<{
17
+ extId: z.ZodOptional<z.ZodString>;
18
+ groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
19
+ created: z.ZodOptional<z.ZodString>;
20
+ lastActivityTime: z.ZodOptional<z.ZodString>;
21
+ factors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
22
+ profile: z.ZodObject<{
23
+ firstName: z.ZodString;
24
+ lastName: z.ZodString;
25
+ email: z.ZodString;
26
+ title: z.ZodOptional<z.ZodString>;
27
+ department: z.ZodOptional<z.ZodString>;
28
+ organization: z.ZodOptional<z.ZodString>;
29
+ pictureUrl: z.ZodOptional<z.ZodString>;
30
+ startDate: z.ZodOptional<z.ZodString>;
31
+ manager: z.ZodOptional<z.ZodObject<{
32
+ extId: z.ZodOptional<z.ZodString>;
33
+ name: z.ZodOptional<z.ZodString>;
34
+ email: z.ZodOptional<z.ZodString>;
35
+ }, "strip", z.ZodTypeAny, {
36
+ extId?: string | undefined;
37
+ name?: string | undefined;
38
+ email?: string | undefined;
39
+ }, {
40
+ extId?: string | undefined;
41
+ name?: string | undefined;
42
+ email?: string | undefined;
43
+ }>>;
44
+ status: z.ZodNativeEnum<typeof import("..").GlobalUserType>;
45
+ }, "strip", z.ZodTypeAny, {
46
+ email: string;
47
+ status: import("..").GlobalUserType;
48
+ firstName: string;
49
+ lastName: string;
50
+ title?: string | undefined;
51
+ department?: string | undefined;
52
+ organization?: string | undefined;
53
+ pictureUrl?: string | undefined;
54
+ startDate?: string | undefined;
55
+ manager?: {
56
+ extId?: string | undefined;
57
+ name?: string | undefined;
58
+ email?: string | undefined;
59
+ } | undefined;
60
+ }, {
61
+ email: string;
62
+ status: import("..").GlobalUserType;
63
+ firstName: string;
64
+ lastName: string;
65
+ title?: string | undefined;
66
+ department?: string | undefined;
67
+ organization?: string | undefined;
68
+ pictureUrl?: string | undefined;
69
+ startDate?: string | undefined;
70
+ manager?: {
71
+ extId?: string | undefined;
72
+ name?: string | undefined;
73
+ email?: string | undefined;
74
+ } | undefined;
75
+ }>;
76
+ }, "strip", z.ZodTypeAny, {
77
+ profile: {
78
+ email: string;
79
+ status: import("..").GlobalUserType;
80
+ firstName: string;
81
+ lastName: string;
82
+ title?: string | undefined;
83
+ department?: string | undefined;
84
+ organization?: string | undefined;
85
+ pictureUrl?: string | undefined;
86
+ startDate?: string | undefined;
87
+ manager?: {
88
+ extId?: string | undefined;
89
+ name?: string | undefined;
90
+ email?: string | undefined;
91
+ } | undefined;
92
+ };
93
+ extId?: string | undefined;
94
+ groups?: Record<string, string> | undefined;
95
+ created?: string | undefined;
96
+ lastActivityTime?: string | undefined;
97
+ factors?: Record<string, string>[] | undefined;
98
+ }, {
99
+ profile: {
100
+ email: string;
101
+ status: import("..").GlobalUserType;
102
+ firstName: string;
103
+ lastName: string;
104
+ title?: string | undefined;
105
+ department?: string | undefined;
106
+ organization?: string | undefined;
107
+ pictureUrl?: string | undefined;
108
+ startDate?: string | undefined;
109
+ manager?: {
110
+ extId?: string | undefined;
111
+ name?: string | undefined;
112
+ email?: string | undefined;
113
+ } | undefined;
114
+ };
115
+ extId?: string | undefined;
116
+ groups?: Record<string, string> | undefined;
117
+ created?: string | undefined;
118
+ lastActivityTime?: string | undefined;
119
+ factors?: Record<string, string>[] | undefined;
120
+ }>;
121
+ _raw: z.ZodUnknown;
122
+ }, "strip", z.ZodTypeAny, {
123
+ _user: {
124
+ profile: {
125
+ email: string;
126
+ status: import("..").GlobalUserType;
127
+ firstName: string;
128
+ lastName: string;
129
+ title?: string | undefined;
130
+ department?: string | undefined;
131
+ organization?: string | undefined;
132
+ pictureUrl?: string | undefined;
133
+ startDate?: string | undefined;
134
+ manager?: {
135
+ extId?: string | undefined;
136
+ name?: string | undefined;
137
+ email?: string | undefined;
138
+ } | undefined;
139
+ };
140
+ extId?: string | undefined;
141
+ groups?: Record<string, string> | undefined;
142
+ created?: string | undefined;
143
+ lastActivityTime?: string | undefined;
144
+ factors?: Record<string, string>[] | undefined;
145
+ };
146
+ _raw?: unknown;
147
+ }, {
148
+ _user: {
149
+ profile: {
150
+ email: string;
151
+ status: import("..").GlobalUserType;
152
+ firstName: string;
153
+ lastName: string;
154
+ title?: string | undefined;
155
+ department?: string | undefined;
156
+ organization?: string | undefined;
157
+ pictureUrl?: string | undefined;
158
+ startDate?: string | undefined;
159
+ manager?: {
160
+ extId?: string | undefined;
161
+ name?: string | undefined;
162
+ email?: string | undefined;
163
+ } | undefined;
164
+ };
165
+ extId?: string | undefined;
166
+ groups?: Record<string, string> | undefined;
167
+ created?: string | undefined;
168
+ lastActivityTime?: string | undefined;
169
+ factors?: Record<string, string>[] | undefined;
170
+ };
171
+ _raw?: unknown;
172
+ }>;
16
173
  uid: z.ZodOptional<z.ZodString>;
17
174
  }, "strip", z.ZodTypeAny, {
18
175
  email: string;
19
176
  cid: string;
20
177
  etag: string;
21
178
  extId: string;
179
+ meta: {
180
+ _user: {
181
+ profile: {
182
+ email: string;
183
+ status: import("..").GlobalUserType;
184
+ firstName: string;
185
+ lastName: string;
186
+ title?: string | undefined;
187
+ department?: string | undefined;
188
+ organization?: string | undefined;
189
+ pictureUrl?: string | undefined;
190
+ startDate?: string | undefined;
191
+ manager?: {
192
+ extId?: string | undefined;
193
+ name?: string | undefined;
194
+ email?: string | undefined;
195
+ } | undefined;
196
+ };
197
+ extId?: string | undefined;
198
+ groups?: Record<string, string> | undefined;
199
+ created?: string | undefined;
200
+ lastActivityTime?: string | undefined;
201
+ factors?: Record<string, string>[] | undefined;
202
+ };
203
+ _raw?: unknown;
204
+ };
22
205
  id?: string | undefined;
23
206
  createdAt?: string | undefined;
24
207
  updatedAt?: string | undefined;
25
208
  deletedAt?: string | null | undefined;
26
- meta?: unknown;
27
209
  uid?: string | undefined;
28
210
  }, {
29
211
  email: string;
30
212
  cid: string;
31
213
  etag: string;
32
214
  extId: string;
215
+ meta: {
216
+ _user: {
217
+ profile: {
218
+ email: string;
219
+ status: import("..").GlobalUserType;
220
+ firstName: string;
221
+ lastName: string;
222
+ title?: string | undefined;
223
+ department?: string | undefined;
224
+ organization?: string | undefined;
225
+ pictureUrl?: string | undefined;
226
+ startDate?: string | undefined;
227
+ manager?: {
228
+ extId?: string | undefined;
229
+ name?: string | undefined;
230
+ email?: string | undefined;
231
+ } | undefined;
232
+ };
233
+ extId?: string | undefined;
234
+ groups?: Record<string, string> | undefined;
235
+ created?: string | undefined;
236
+ lastActivityTime?: string | undefined;
237
+ factors?: Record<string, string>[] | undefined;
238
+ };
239
+ _raw?: unknown;
240
+ };
33
241
  id?: string | undefined;
34
242
  createdAt?: string | undefined;
35
243
  updatedAt?: string | undefined;
36
244
  deletedAt?: string | null | undefined;
37
- meta?: unknown;
38
245
  uid?: string | undefined;
39
246
  }>;
40
247
  export type StagedSaasUserUpsertDto = z.infer<typeof _StagedSaasUserUpsertDto>;