@ampsec/platform-client 60.0.0 → 61.1.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 +140 -16
- package/build/src/dto/flows.dto.d.ts +329 -54
- package/build/src/dto/flows.dto.js +16 -3
- package/build/src/dto/flows.dto.js.map +1 -1
- package/build/src/dto/notification.dto.d.ts +121 -0
- package/build/src/dto/notification.dto.js +6 -1
- package/build/src/dto/notification.dto.js.map +1 -1
- package/build/src/dto/platform/platform.flows.dto.d.ts +242 -38
- package/build/src/dto/platform/platform.flows.dto.js +1 -1
- package/build/src/dto/platform/platform.flows.dto.js.map +1 -1
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +99 -3
- package/build/src/dto/platform/platform.saasUsers.dto.d.ts +9 -9
- 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 +28 -28
- package/build/src/dto/saasUsers.dto.js +2 -2
- package/build/src/dto/saasUsers.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/flows.dto.ts +19 -3
- package/src/dto/notification.dto.ts +6 -0
- package/src/dto/platform/platform.flows.dto.ts +1 -1
- package/src/dto/saasAssets.dto.ts +34 -1
- package/src/dto/saasUsers.dto.ts +2 -2
|
@@ -241,12 +241,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
241
241
|
name?: string | undefined;
|
|
242
242
|
email?: string | undefined;
|
|
243
243
|
}>>;
|
|
244
|
-
|
|
244
|
+
userType: z.ZodNativeEnum<typeof import("./enums").GlobalUserType>;
|
|
245
245
|
}, "strip", z.ZodTypeAny, {
|
|
246
246
|
email: string;
|
|
247
|
-
status: import("./enums").GlobalUserType;
|
|
248
247
|
firstName: string;
|
|
249
248
|
lastName: string;
|
|
249
|
+
userType: import("./enums").GlobalUserType;
|
|
250
250
|
title?: string | undefined;
|
|
251
251
|
department?: string | undefined;
|
|
252
252
|
organization?: string | undefined;
|
|
@@ -259,9 +259,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
259
259
|
} | undefined;
|
|
260
260
|
}, {
|
|
261
261
|
email: string;
|
|
262
|
-
status: import("./enums").GlobalUserType;
|
|
263
262
|
firstName: string;
|
|
264
263
|
lastName: string;
|
|
264
|
+
userType: import("./enums").GlobalUserType;
|
|
265
265
|
title?: string | undefined;
|
|
266
266
|
department?: string | undefined;
|
|
267
267
|
organization?: string | undefined;
|
|
@@ -276,9 +276,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
profile: {
|
|
278
278
|
email: string;
|
|
279
|
-
status: import("./enums").GlobalUserType;
|
|
280
279
|
firstName: string;
|
|
281
280
|
lastName: string;
|
|
281
|
+
userType: import("./enums").GlobalUserType;
|
|
282
282
|
title?: string | undefined;
|
|
283
283
|
department?: string | undefined;
|
|
284
284
|
organization?: string | undefined;
|
|
@@ -298,9 +298,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
298
298
|
}, {
|
|
299
299
|
profile: {
|
|
300
300
|
email: string;
|
|
301
|
-
status: import("./enums").GlobalUserType;
|
|
302
301
|
firstName: string;
|
|
303
302
|
lastName: string;
|
|
303
|
+
userType: import("./enums").GlobalUserType;
|
|
304
304
|
title?: string | undefined;
|
|
305
305
|
department?: string | undefined;
|
|
306
306
|
organization?: string | undefined;
|
|
@@ -323,9 +323,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
323
323
|
_user: {
|
|
324
324
|
profile: {
|
|
325
325
|
email: string;
|
|
326
|
-
status: import("./enums").GlobalUserType;
|
|
327
326
|
firstName: string;
|
|
328
327
|
lastName: string;
|
|
328
|
+
userType: import("./enums").GlobalUserType;
|
|
329
329
|
title?: string | undefined;
|
|
330
330
|
department?: string | undefined;
|
|
331
331
|
organization?: string | undefined;
|
|
@@ -348,9 +348,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
348
348
|
_user: {
|
|
349
349
|
profile: {
|
|
350
350
|
email: string;
|
|
351
|
-
status: import("./enums").GlobalUserType;
|
|
352
351
|
firstName: string;
|
|
353
352
|
lastName: string;
|
|
353
|
+
userType: import("./enums").GlobalUserType;
|
|
354
354
|
title?: string | undefined;
|
|
355
355
|
department?: string | undefined;
|
|
356
356
|
organization?: string | undefined;
|
|
@@ -389,9 +389,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
389
389
|
_user: {
|
|
390
390
|
profile: {
|
|
391
391
|
email: string;
|
|
392
|
-
status: import("./enums").GlobalUserType;
|
|
393
392
|
firstName: string;
|
|
394
393
|
lastName: string;
|
|
394
|
+
userType: import("./enums").GlobalUserType;
|
|
395
395
|
title?: string | undefined;
|
|
396
396
|
department?: string | undefined;
|
|
397
397
|
organization?: string | undefined;
|
|
@@ -425,9 +425,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
425
425
|
_user: {
|
|
426
426
|
profile: {
|
|
427
427
|
email: string;
|
|
428
|
-
status: import("./enums").GlobalUserType;
|
|
429
428
|
firstName: string;
|
|
430
429
|
lastName: string;
|
|
430
|
+
userType: import("./enums").GlobalUserType;
|
|
431
431
|
title?: string | undefined;
|
|
432
432
|
department?: string | undefined;
|
|
433
433
|
organization?: string | undefined;
|
|
@@ -466,7 +466,75 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
466
466
|
extId?: string | undefined;
|
|
467
467
|
sn?: string | undefined;
|
|
468
468
|
}>;
|
|
469
|
-
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
|
+
}>;
|
|
470
538
|
id: z.ZodString;
|
|
471
539
|
createdAt: z.ZodString;
|
|
472
540
|
updatedAt: z.ZodString;
|
|
@@ -486,8 +554,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
486
554
|
extId?: string | undefined;
|
|
487
555
|
sn?: string | undefined;
|
|
488
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
|
+
};
|
|
489
572
|
uid?: string | undefined;
|
|
490
|
-
meta?: unknown;
|
|
491
573
|
}, {
|
|
492
574
|
id: string;
|
|
493
575
|
cid: string;
|
|
@@ -502,8 +584,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
502
584
|
extId?: string | undefined;
|
|
503
585
|
sn?: string | undefined;
|
|
504
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
|
+
};
|
|
505
602
|
uid?: string | undefined;
|
|
506
|
-
meta?: unknown;
|
|
507
603
|
}>, "many">>;
|
|
508
604
|
assets: z.ZodArray<z.ZodObject<{
|
|
509
605
|
uid: z.ZodOptional<z.ZodString>;
|
|
@@ -571,8 +667,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
571
667
|
extId?: string | undefined;
|
|
572
668
|
sn?: string | undefined;
|
|
573
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
|
+
};
|
|
574
685
|
uid?: string | undefined;
|
|
575
|
-
meta?: unknown;
|
|
576
686
|
}[]>;
|
|
577
687
|
userAccounts: Record<string, {
|
|
578
688
|
email: string;
|
|
@@ -588,9 +698,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
588
698
|
_user: {
|
|
589
699
|
profile: {
|
|
590
700
|
email: string;
|
|
591
|
-
status: import("./enums").GlobalUserType;
|
|
592
701
|
firstName: string;
|
|
593
702
|
lastName: string;
|
|
703
|
+
userType: import("./enums").GlobalUserType;
|
|
594
704
|
title?: string | undefined;
|
|
595
705
|
department?: string | undefined;
|
|
596
706
|
organization?: string | undefined;
|
|
@@ -650,8 +760,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
650
760
|
extId?: string | undefined;
|
|
651
761
|
sn?: string | undefined;
|
|
652
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
|
+
};
|
|
653
778
|
uid?: string | undefined;
|
|
654
|
-
meta?: unknown;
|
|
655
779
|
}[]>;
|
|
656
780
|
userAccounts: Record<string, {
|
|
657
781
|
email: string;
|
|
@@ -667,9 +791,9 @@ export declare const _UserCoverageReport: z.ZodObject<{
|
|
|
667
791
|
_user: {
|
|
668
792
|
profile: {
|
|
669
793
|
email: string;
|
|
670
|
-
status: import("./enums").GlobalUserType;
|
|
671
794
|
firstName: string;
|
|
672
795
|
lastName: string;
|
|
796
|
+
userType: import("./enums").GlobalUserType;
|
|
673
797
|
title?: string | undefined;
|
|
674
798
|
department?: string | undefined;
|
|
675
799
|
organization?: string | undefined;
|