@ampsec/platform-client 75.4.0 → 75.4.1
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/engagementMappings.dto.d.ts +5 -6
- package/build/src/dto/engagementMappings.dto.js +1 -2
- package/build/src/dto/engagementMappings.dto.js.map +1 -1
- package/build/src/dto/platform/platform.engagementMappings.dto.d.ts +5 -5
- package/package.json +1 -1
- package/src/dto/engagementMappings.dto.ts +1 -2
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { FindingKind } from './enums';
|
|
3
2
|
export declare const _EngagementMappingDto: z.ZodObject<{
|
|
4
3
|
finding: z.ZodObject<{
|
|
5
4
|
id: z.ZodString;
|
|
6
|
-
kind: z.
|
|
5
|
+
kind: z.ZodString;
|
|
7
6
|
uid: z.ZodString;
|
|
8
7
|
bucket: z.ZodString;
|
|
9
8
|
score: z.ZodNumber;
|
|
10
9
|
}, "strip", z.ZodTypeAny, {
|
|
11
10
|
id: string;
|
|
12
11
|
uid: string;
|
|
13
|
-
kind:
|
|
12
|
+
kind: string;
|
|
14
13
|
score: number;
|
|
15
14
|
bucket: string;
|
|
16
15
|
}, {
|
|
17
16
|
id: string;
|
|
18
17
|
uid: string;
|
|
19
|
-
kind:
|
|
18
|
+
kind: string;
|
|
20
19
|
score: number;
|
|
21
20
|
bucket: string;
|
|
22
21
|
}>;
|
|
@@ -44,7 +43,7 @@ export declare const _EngagementMappingDto: z.ZodObject<{
|
|
|
44
43
|
finding: {
|
|
45
44
|
id: string;
|
|
46
45
|
uid: string;
|
|
47
|
-
kind:
|
|
46
|
+
kind: string;
|
|
48
47
|
score: number;
|
|
49
48
|
bucket: string;
|
|
50
49
|
};
|
|
@@ -60,7 +59,7 @@ export declare const _EngagementMappingDto: z.ZodObject<{
|
|
|
60
59
|
finding: {
|
|
61
60
|
id: string;
|
|
62
61
|
uid: string;
|
|
63
|
-
kind:
|
|
62
|
+
kind: string;
|
|
64
63
|
score: number;
|
|
65
64
|
bucket: string;
|
|
66
65
|
};
|
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports._EngagementMappingDto = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const enums_1 = require("./enums");
|
|
6
5
|
exports._EngagementMappingDto = zod_1.z.object({
|
|
7
6
|
finding: zod_1.z.object({
|
|
8
7
|
id: zod_1.z.string(),
|
|
9
|
-
kind: zod_1.z.
|
|
8
|
+
kind: zod_1.z.string(),
|
|
10
9
|
uid: zod_1.z.string(),
|
|
11
10
|
bucket: zod_1.z.string(),
|
|
12
11
|
score: zod_1.z.number(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engagementMappings.dto.js","sourceRoot":"","sources":["../../../src/dto/engagementMappings.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;
|
|
1
|
+
{"version":3,"file":"engagementMappings.dto.js","sourceRoot":"","sources":["../../../src/dto/engagementMappings.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AAET,QAAA,qBAAqB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QAChB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;QACd,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;QAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;QACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;QAClB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;KAClB,CAAC;IACF,QAAQ,EAAE,OAAC,CAAC,MAAM,CAAC;QACjB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;KACf,CAAC;IACF,gBAAgB,EAAE,OAAC;SAChB,MAAM,CAAC;QACN,aAAa,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QACrC,iBAAiB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QACzC,YAAY,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;KACrC,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC"}
|
|
@@ -2,20 +2,20 @@ import { z } from 'zod';
|
|
|
2
2
|
export declare const _PlatformEngagementMappingDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
3
3
|
finding: z.ZodObject<{
|
|
4
4
|
id: z.ZodString;
|
|
5
|
-
kind: z.
|
|
5
|
+
kind: z.ZodString;
|
|
6
6
|
uid: z.ZodString;
|
|
7
7
|
bucket: z.ZodString;
|
|
8
8
|
score: z.ZodNumber;
|
|
9
9
|
}, "strip", z.ZodTypeAny, {
|
|
10
10
|
id: string;
|
|
11
11
|
uid: string;
|
|
12
|
-
kind:
|
|
12
|
+
kind: string;
|
|
13
13
|
score: number;
|
|
14
14
|
bucket: string;
|
|
15
15
|
}, {
|
|
16
16
|
id: string;
|
|
17
17
|
uid: string;
|
|
18
|
-
kind:
|
|
18
|
+
kind: string;
|
|
19
19
|
score: number;
|
|
20
20
|
bucket: string;
|
|
21
21
|
}>;
|
|
@@ -46,7 +46,7 @@ export declare const _PlatformEngagementMappingDto: z.ZodObject<z.objectUtil.ext
|
|
|
46
46
|
finding: {
|
|
47
47
|
id: string;
|
|
48
48
|
uid: string;
|
|
49
|
-
kind:
|
|
49
|
+
kind: string;
|
|
50
50
|
score: number;
|
|
51
51
|
bucket: string;
|
|
52
52
|
};
|
|
@@ -63,7 +63,7 @@ export declare const _PlatformEngagementMappingDto: z.ZodObject<z.objectUtil.ext
|
|
|
63
63
|
finding: {
|
|
64
64
|
id: string;
|
|
65
65
|
uid: string;
|
|
66
|
-
kind:
|
|
66
|
+
kind: string;
|
|
67
67
|
score: number;
|
|
68
68
|
bucket: string;
|
|
69
69
|
};
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import {z} from 'zod';
|
|
2
|
-
import {FindingKind} from './enums';
|
|
3
2
|
|
|
4
3
|
export const _EngagementMappingDto = z.object({
|
|
5
4
|
finding: z.object({
|
|
6
5
|
id: z.string(),
|
|
7
|
-
kind: z.
|
|
6
|
+
kind: z.string(),
|
|
8
7
|
uid: z.string(),
|
|
9
8
|
bucket: z.string(),
|
|
10
9
|
score: z.number(),
|