@ampsec/platform-client 59.8.0 → 61.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.
- package/build/src/dto/coverage.dto.d.ts +397 -16
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +99 -3
- package/build/src/dto/platform/platform.saasUsers.dto.d.ts +210 -3
- package/build/src/dto/saasAssets.dto.d.ts +295 -8
- package/build/src/dto/saasAssets.dto.js +30 -2
- package/build/src/dto/saasAssets.dto.js.map +1 -1
- package/build/src/dto/saasUsers.dto.d.ts +637 -6
- package/build/src/dto/saasUsers.dto.js +50 -2
- package/build/src/dto/saasUsers.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/saasAssets.dto.ts +34 -1
- package/src/dto/saasUsers.dto.ts +52 -1
|
@@ -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.
|
|
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
|
+
userType: z.ZodNativeEnum<typeof import("./enums").GlobalUserType>;
|
|
245
|
+
}, "strip", z.ZodTypeAny, {
|
|
246
|
+
email: string;
|
|
247
|
+
firstName: string;
|
|
248
|
+
lastName: string;
|
|
249
|
+
userType: import("./enums").GlobalUserType;
|
|
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
|
+
firstName: string;
|
|
263
|
+
lastName: string;
|
|
264
|
+
userType: import("./enums").GlobalUserType;
|
|
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
|
+
firstName: string;
|
|
280
|
+
lastName: string;
|
|
281
|
+
userType: import("./enums").GlobalUserType;
|
|
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
|
+
firstName: string;
|
|
302
|
+
lastName: string;
|
|
303
|
+
userType: import("./enums").GlobalUserType;
|
|
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
|
+
firstName: string;
|
|
327
|
+
lastName: string;
|
|
328
|
+
userType: import("./enums").GlobalUserType;
|
|
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
|
+
firstName: string;
|
|
352
|
+
lastName: string;
|
|
353
|
+
userType: import("./enums").GlobalUserType;
|
|
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
|
|
388
|
+
meta: {
|
|
389
|
+
_user: {
|
|
390
|
+
profile: {
|
|
391
|
+
email: string;
|
|
392
|
+
firstName: string;
|
|
393
|
+
lastName: string;
|
|
394
|
+
userType: import("./enums").GlobalUserType;
|
|
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
|
|
424
|
+
meta: {
|
|
425
|
+
_user: {
|
|
426
|
+
profile: {
|
|
427
|
+
email: string;
|
|
428
|
+
firstName: string;
|
|
429
|
+
lastName: string;
|
|
430
|
+
userType: import("./enums").GlobalUserType;
|
|
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;
|
|
@@ -259,7 +466,75 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
259
466
|
extId?: string | undefined;
|
|
260
467
|
sn?: string | undefined;
|
|
261
468
|
}>;
|
|
262
|
-
meta: z.
|
|
469
|
+
meta: z.ZodObject<{
|
|
470
|
+
_asset: z.ZodObject<{
|
|
471
|
+
extId: z.ZodString;
|
|
472
|
+
assetType: z.ZodNativeEnum<typeof import("./enums").GlobalAssetType>;
|
|
473
|
+
deviceName: z.ZodOptional<z.ZodString>;
|
|
474
|
+
hostNames: z.ZodArray<z.ZodString, "many">;
|
|
475
|
+
lastActivityTime: z.ZodOptional<z.ZodString>;
|
|
476
|
+
operatingSystems: z.ZodArray<z.ZodObject<{
|
|
477
|
+
displayValue: z.ZodString;
|
|
478
|
+
}, "strip", z.ZodTypeAny, {
|
|
479
|
+
displayValue: string;
|
|
480
|
+
}, {
|
|
481
|
+
displayValue: string;
|
|
482
|
+
}>, "many">;
|
|
483
|
+
serialNumber: z.ZodOptional<z.ZodString>;
|
|
484
|
+
macAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
485
|
+
}, "strip", z.ZodTypeAny, {
|
|
486
|
+
extId: string;
|
|
487
|
+
assetType: import("./enums").GlobalAssetType;
|
|
488
|
+
hostNames: string[];
|
|
489
|
+
operatingSystems: {
|
|
490
|
+
displayValue: string;
|
|
491
|
+
}[];
|
|
492
|
+
deviceName?: string | undefined;
|
|
493
|
+
lastActivityTime?: string | undefined;
|
|
494
|
+
serialNumber?: string | undefined;
|
|
495
|
+
macAddresses?: string[] | undefined;
|
|
496
|
+
}, {
|
|
497
|
+
extId: string;
|
|
498
|
+
assetType: import("./enums").GlobalAssetType;
|
|
499
|
+
hostNames: string[];
|
|
500
|
+
operatingSystems: {
|
|
501
|
+
displayValue: string;
|
|
502
|
+
}[];
|
|
503
|
+
deviceName?: string | undefined;
|
|
504
|
+
lastActivityTime?: string | undefined;
|
|
505
|
+
serialNumber?: string | undefined;
|
|
506
|
+
macAddresses?: string[] | undefined;
|
|
507
|
+
}>;
|
|
508
|
+
_raw: z.ZodUnknown;
|
|
509
|
+
}, "strip", z.ZodTypeAny, {
|
|
510
|
+
_asset: {
|
|
511
|
+
extId: string;
|
|
512
|
+
assetType: import("./enums").GlobalAssetType;
|
|
513
|
+
hostNames: string[];
|
|
514
|
+
operatingSystems: {
|
|
515
|
+
displayValue: string;
|
|
516
|
+
}[];
|
|
517
|
+
deviceName?: string | undefined;
|
|
518
|
+
lastActivityTime?: string | undefined;
|
|
519
|
+
serialNumber?: string | undefined;
|
|
520
|
+
macAddresses?: string[] | undefined;
|
|
521
|
+
};
|
|
522
|
+
_raw?: unknown;
|
|
523
|
+
}, {
|
|
524
|
+
_asset: {
|
|
525
|
+
extId: string;
|
|
526
|
+
assetType: import("./enums").GlobalAssetType;
|
|
527
|
+
hostNames: string[];
|
|
528
|
+
operatingSystems: {
|
|
529
|
+
displayValue: string;
|
|
530
|
+
}[];
|
|
531
|
+
deviceName?: string | undefined;
|
|
532
|
+
lastActivityTime?: string | undefined;
|
|
533
|
+
serialNumber?: string | undefined;
|
|
534
|
+
macAddresses?: string[] | undefined;
|
|
535
|
+
};
|
|
536
|
+
_raw?: unknown;
|
|
537
|
+
}>;
|
|
263
538
|
id: z.ZodString;
|
|
264
539
|
createdAt: z.ZodString;
|
|
265
540
|
updatedAt: z.ZodString;
|
|
@@ -279,8 +554,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
279
554
|
extId?: string | undefined;
|
|
280
555
|
sn?: string | undefined;
|
|
281
556
|
};
|
|
557
|
+
meta: {
|
|
558
|
+
_asset: {
|
|
559
|
+
extId: string;
|
|
560
|
+
assetType: import("./enums").GlobalAssetType;
|
|
561
|
+
hostNames: string[];
|
|
562
|
+
operatingSystems: {
|
|
563
|
+
displayValue: string;
|
|
564
|
+
}[];
|
|
565
|
+
deviceName?: string | undefined;
|
|
566
|
+
lastActivityTime?: string | undefined;
|
|
567
|
+
serialNumber?: string | undefined;
|
|
568
|
+
macAddresses?: string[] | undefined;
|
|
569
|
+
};
|
|
570
|
+
_raw?: unknown;
|
|
571
|
+
};
|
|
282
572
|
uid?: string | undefined;
|
|
283
|
-
meta?: unknown;
|
|
284
573
|
}, {
|
|
285
574
|
id: string;
|
|
286
575
|
cid: string;
|
|
@@ -295,8 +584,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
295
584
|
extId?: string | undefined;
|
|
296
585
|
sn?: string | undefined;
|
|
297
586
|
};
|
|
587
|
+
meta: {
|
|
588
|
+
_asset: {
|
|
589
|
+
extId: string;
|
|
590
|
+
assetType: import("./enums").GlobalAssetType;
|
|
591
|
+
hostNames: string[];
|
|
592
|
+
operatingSystems: {
|
|
593
|
+
displayValue: string;
|
|
594
|
+
}[];
|
|
595
|
+
deviceName?: string | undefined;
|
|
596
|
+
lastActivityTime?: string | undefined;
|
|
597
|
+
serialNumber?: string | undefined;
|
|
598
|
+
macAddresses?: string[] | undefined;
|
|
599
|
+
};
|
|
600
|
+
_raw?: unknown;
|
|
601
|
+
};
|
|
298
602
|
uid?: string | undefined;
|
|
299
|
-
meta?: unknown;
|
|
300
603
|
}>, "many">>;
|
|
301
604
|
assets: z.ZodArray<z.ZodObject<{
|
|
302
605
|
uid: z.ZodOptional<z.ZodString>;
|
|
@@ -364,8 +667,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
364
667
|
extId?: string | undefined;
|
|
365
668
|
sn?: string | undefined;
|
|
366
669
|
};
|
|
670
|
+
meta: {
|
|
671
|
+
_asset: {
|
|
672
|
+
extId: string;
|
|
673
|
+
assetType: import("./enums").GlobalAssetType;
|
|
674
|
+
hostNames: string[];
|
|
675
|
+
operatingSystems: {
|
|
676
|
+
displayValue: string;
|
|
677
|
+
}[];
|
|
678
|
+
deviceName?: string | undefined;
|
|
679
|
+
lastActivityTime?: string | undefined;
|
|
680
|
+
serialNumber?: string | undefined;
|
|
681
|
+
macAddresses?: string[] | undefined;
|
|
682
|
+
};
|
|
683
|
+
_raw?: unknown;
|
|
684
|
+
};
|
|
367
685
|
uid?: string | undefined;
|
|
368
|
-
meta?: unknown;
|
|
369
686
|
}[]>;
|
|
370
687
|
userAccounts: Record<string, {
|
|
371
688
|
email: string;
|
|
@@ -377,7 +694,32 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
377
694
|
deletedAt: string | null;
|
|
378
695
|
etag: string;
|
|
379
696
|
extId: string;
|
|
380
|
-
meta
|
|
697
|
+
meta: {
|
|
698
|
+
_user: {
|
|
699
|
+
profile: {
|
|
700
|
+
email: string;
|
|
701
|
+
firstName: string;
|
|
702
|
+
lastName: string;
|
|
703
|
+
userType: import("./enums").GlobalUserType;
|
|
704
|
+
title?: string | undefined;
|
|
705
|
+
department?: string | undefined;
|
|
706
|
+
organization?: string | undefined;
|
|
707
|
+
pictureUrl?: string | undefined;
|
|
708
|
+
startDate?: string | undefined;
|
|
709
|
+
manager?: {
|
|
710
|
+
extId?: string | undefined;
|
|
711
|
+
name?: string | undefined;
|
|
712
|
+
email?: string | undefined;
|
|
713
|
+
} | undefined;
|
|
714
|
+
};
|
|
715
|
+
extId?: string | undefined;
|
|
716
|
+
groups?: Record<string, string> | undefined;
|
|
717
|
+
created?: string | undefined;
|
|
718
|
+
lastActivityTime?: string | undefined;
|
|
719
|
+
factors?: Record<string, string>[] | undefined;
|
|
720
|
+
};
|
|
721
|
+
_raw?: unknown;
|
|
722
|
+
};
|
|
381
723
|
}[]>;
|
|
382
724
|
assets: {
|
|
383
725
|
id: string;
|
|
@@ -398,9 +740,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
398
740
|
id?: string | undefined;
|
|
399
741
|
organization?: string | undefined;
|
|
400
742
|
department?: string | undefined;
|
|
401
|
-
score?: number | undefined;
|
|
402
743
|
firstName?: string | undefined;
|
|
403
744
|
lastName?: string | undefined;
|
|
745
|
+
score?: number | undefined;
|
|
404
746
|
active?: boolean | undefined;
|
|
405
747
|
lastActivity?: string | undefined;
|
|
406
748
|
}, {
|
|
@@ -418,8 +760,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
418
760
|
extId?: string | undefined;
|
|
419
761
|
sn?: string | undefined;
|
|
420
762
|
};
|
|
763
|
+
meta: {
|
|
764
|
+
_asset: {
|
|
765
|
+
extId: string;
|
|
766
|
+
assetType: import("./enums").GlobalAssetType;
|
|
767
|
+
hostNames: string[];
|
|
768
|
+
operatingSystems: {
|
|
769
|
+
displayValue: string;
|
|
770
|
+
}[];
|
|
771
|
+
deviceName?: string | undefined;
|
|
772
|
+
lastActivityTime?: string | undefined;
|
|
773
|
+
serialNumber?: string | undefined;
|
|
774
|
+
macAddresses?: string[] | undefined;
|
|
775
|
+
};
|
|
776
|
+
_raw?: unknown;
|
|
777
|
+
};
|
|
421
778
|
uid?: string | undefined;
|
|
422
|
-
meta?: unknown;
|
|
423
779
|
}[]>;
|
|
424
780
|
userAccounts: Record<string, {
|
|
425
781
|
email: string;
|
|
@@ -431,7 +787,32 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
431
787
|
deletedAt: string | null;
|
|
432
788
|
etag: string;
|
|
433
789
|
extId: string;
|
|
434
|
-
meta
|
|
790
|
+
meta: {
|
|
791
|
+
_user: {
|
|
792
|
+
profile: {
|
|
793
|
+
email: string;
|
|
794
|
+
firstName: string;
|
|
795
|
+
lastName: string;
|
|
796
|
+
userType: import("./enums").GlobalUserType;
|
|
797
|
+
title?: string | undefined;
|
|
798
|
+
department?: string | undefined;
|
|
799
|
+
organization?: string | undefined;
|
|
800
|
+
pictureUrl?: string | undefined;
|
|
801
|
+
startDate?: string | undefined;
|
|
802
|
+
manager?: {
|
|
803
|
+
extId?: string | undefined;
|
|
804
|
+
name?: string | undefined;
|
|
805
|
+
email?: string | undefined;
|
|
806
|
+
} | undefined;
|
|
807
|
+
};
|
|
808
|
+
extId?: string | undefined;
|
|
809
|
+
groups?: Record<string, string> | undefined;
|
|
810
|
+
created?: string | undefined;
|
|
811
|
+
lastActivityTime?: string | undefined;
|
|
812
|
+
factors?: Record<string, string>[] | undefined;
|
|
813
|
+
};
|
|
814
|
+
_raw?: unknown;
|
|
815
|
+
};
|
|
435
816
|
}[]>;
|
|
436
817
|
assets: {
|
|
437
818
|
id: string;
|
|
@@ -452,9 +833,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
452
833
|
id?: string | undefined;
|
|
453
834
|
organization?: string | undefined;
|
|
454
835
|
department?: string | undefined;
|
|
455
|
-
score?: number | undefined;
|
|
456
836
|
firstName?: string | undefined;
|
|
457
837
|
lastName?: string | undefined;
|
|
838
|
+
score?: number | undefined;
|
|
458
839
|
active?: boolean | undefined;
|
|
459
840
|
lastActivity?: string | undefined;
|
|
460
841
|
}>;
|
|
@@ -25,7 +25,75 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
|
|
|
25
25
|
extId?: string | undefined;
|
|
26
26
|
sn?: string | undefined;
|
|
27
27
|
}>;
|
|
28
|
-
meta: z.
|
|
28
|
+
meta: z.ZodObject<{
|
|
29
|
+
_asset: z.ZodObject<{
|
|
30
|
+
extId: z.ZodString;
|
|
31
|
+
assetType: z.ZodNativeEnum<typeof import("..").GlobalAssetType>;
|
|
32
|
+
deviceName: z.ZodOptional<z.ZodString>;
|
|
33
|
+
hostNames: z.ZodArray<z.ZodString, "many">;
|
|
34
|
+
lastActivityTime: z.ZodOptional<z.ZodString>;
|
|
35
|
+
operatingSystems: z.ZodArray<z.ZodObject<{
|
|
36
|
+
displayValue: z.ZodString;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
displayValue: string;
|
|
39
|
+
}, {
|
|
40
|
+
displayValue: string;
|
|
41
|
+
}>, "many">;
|
|
42
|
+
serialNumber: z.ZodOptional<z.ZodString>;
|
|
43
|
+
macAddresses: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44
|
+
}, "strip", z.ZodTypeAny, {
|
|
45
|
+
extId: string;
|
|
46
|
+
assetType: import("..").GlobalAssetType;
|
|
47
|
+
hostNames: string[];
|
|
48
|
+
operatingSystems: {
|
|
49
|
+
displayValue: string;
|
|
50
|
+
}[];
|
|
51
|
+
deviceName?: string | undefined;
|
|
52
|
+
lastActivityTime?: string | undefined;
|
|
53
|
+
serialNumber?: string | undefined;
|
|
54
|
+
macAddresses?: string[] | undefined;
|
|
55
|
+
}, {
|
|
56
|
+
extId: string;
|
|
57
|
+
assetType: import("..").GlobalAssetType;
|
|
58
|
+
hostNames: string[];
|
|
59
|
+
operatingSystems: {
|
|
60
|
+
displayValue: string;
|
|
61
|
+
}[];
|
|
62
|
+
deviceName?: string | undefined;
|
|
63
|
+
lastActivityTime?: string | undefined;
|
|
64
|
+
serialNumber?: string | undefined;
|
|
65
|
+
macAddresses?: string[] | undefined;
|
|
66
|
+
}>;
|
|
67
|
+
_raw: z.ZodUnknown;
|
|
68
|
+
}, "strip", z.ZodTypeAny, {
|
|
69
|
+
_asset: {
|
|
70
|
+
extId: string;
|
|
71
|
+
assetType: import("..").GlobalAssetType;
|
|
72
|
+
hostNames: string[];
|
|
73
|
+
operatingSystems: {
|
|
74
|
+
displayValue: string;
|
|
75
|
+
}[];
|
|
76
|
+
deviceName?: string | undefined;
|
|
77
|
+
lastActivityTime?: string | undefined;
|
|
78
|
+
serialNumber?: string | undefined;
|
|
79
|
+
macAddresses?: string[] | undefined;
|
|
80
|
+
};
|
|
81
|
+
_raw?: unknown;
|
|
82
|
+
}, {
|
|
83
|
+
_asset: {
|
|
84
|
+
extId: string;
|
|
85
|
+
assetType: import("..").GlobalAssetType;
|
|
86
|
+
hostNames: string[];
|
|
87
|
+
operatingSystems: {
|
|
88
|
+
displayValue: string;
|
|
89
|
+
}[];
|
|
90
|
+
deviceName?: string | undefined;
|
|
91
|
+
lastActivityTime?: string | undefined;
|
|
92
|
+
serialNumber?: string | undefined;
|
|
93
|
+
macAddresses?: string[] | undefined;
|
|
94
|
+
};
|
|
95
|
+
_raw?: unknown;
|
|
96
|
+
}>;
|
|
29
97
|
aid: z.ZodOptional<z.ZodString>;
|
|
30
98
|
}, "strip", z.ZodTypeAny, {
|
|
31
99
|
cid: string;
|
|
@@ -36,12 +104,26 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
|
|
|
36
104
|
extId?: string | undefined;
|
|
37
105
|
sn?: string | undefined;
|
|
38
106
|
};
|
|
107
|
+
meta: {
|
|
108
|
+
_asset: {
|
|
109
|
+
extId: string;
|
|
110
|
+
assetType: import("..").GlobalAssetType;
|
|
111
|
+
hostNames: string[];
|
|
112
|
+
operatingSystems: {
|
|
113
|
+
displayValue: string;
|
|
114
|
+
}[];
|
|
115
|
+
deviceName?: string | undefined;
|
|
116
|
+
lastActivityTime?: string | undefined;
|
|
117
|
+
serialNumber?: string | undefined;
|
|
118
|
+
macAddresses?: string[] | undefined;
|
|
119
|
+
};
|
|
120
|
+
_raw?: unknown;
|
|
121
|
+
};
|
|
39
122
|
id?: string | undefined;
|
|
40
123
|
uid?: string | undefined;
|
|
41
124
|
createdAt?: string | undefined;
|
|
42
125
|
updatedAt?: string | undefined;
|
|
43
126
|
deletedAt?: string | null | undefined;
|
|
44
|
-
meta?: unknown;
|
|
45
127
|
aid?: string | undefined;
|
|
46
128
|
}, {
|
|
47
129
|
cid: string;
|
|
@@ -52,12 +134,26 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<{
|
|
|
52
134
|
extId?: string | undefined;
|
|
53
135
|
sn?: string | undefined;
|
|
54
136
|
};
|
|
137
|
+
meta: {
|
|
138
|
+
_asset: {
|
|
139
|
+
extId: string;
|
|
140
|
+
assetType: import("..").GlobalAssetType;
|
|
141
|
+
hostNames: string[];
|
|
142
|
+
operatingSystems: {
|
|
143
|
+
displayValue: string;
|
|
144
|
+
}[];
|
|
145
|
+
deviceName?: string | undefined;
|
|
146
|
+
lastActivityTime?: string | undefined;
|
|
147
|
+
serialNumber?: string | undefined;
|
|
148
|
+
macAddresses?: string[] | undefined;
|
|
149
|
+
};
|
|
150
|
+
_raw?: unknown;
|
|
151
|
+
};
|
|
55
152
|
id?: string | undefined;
|
|
56
153
|
uid?: string | undefined;
|
|
57
154
|
createdAt?: string | undefined;
|
|
58
155
|
updatedAt?: string | undefined;
|
|
59
156
|
deletedAt?: string | null | undefined;
|
|
60
|
-
meta?: unknown;
|
|
61
157
|
aid?: string | undefined;
|
|
62
158
|
}>;
|
|
63
159
|
export type StagedSaasAssetUpsertDto = z.infer<typeof _StagedSaasAssetUpsertDto>;
|