@ampsec/platform-client 84.31.0 → 84.32.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.
|
@@ -1,17 +1,21 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
+
import { Category } from '../enums';
|
|
2
3
|
export declare const _UserExtensionViewQueryParams: z.ZodObject<{
|
|
3
4
|
limit: z.ZodOptional<z.ZodNumber>;
|
|
4
5
|
offset: z.ZodOptional<z.ZodNumber>;
|
|
5
6
|
engagementConfigured: z.ZodOptional<z.ZodBoolean>;
|
|
6
7
|
engagementActive: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
+
category: z.ZodOptional<z.ZodArray<z.ZodNativeEnum<typeof Category>, "many">>;
|
|
7
9
|
}, "strip", z.ZodTypeAny, {
|
|
8
10
|
limit?: number | undefined;
|
|
9
11
|
offset?: number | undefined;
|
|
12
|
+
category?: Category[] | undefined;
|
|
10
13
|
engagementConfigured?: boolean | undefined;
|
|
11
14
|
engagementActive?: boolean | undefined;
|
|
12
15
|
}, {
|
|
13
16
|
limit?: number | undefined;
|
|
14
17
|
offset?: number | undefined;
|
|
18
|
+
category?: Category[] | undefined;
|
|
15
19
|
engagementConfigured?: boolean | undefined;
|
|
16
20
|
engagementActive?: boolean | undefined;
|
|
17
21
|
}>;
|
|
@@ -2,11 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports._UserExtensionViewQueryResult = exports._UserExtensionViewQueryParams = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
const enums_1 = require("../enums");
|
|
5
6
|
exports._UserExtensionViewQueryParams = zod_1.z.object({
|
|
6
7
|
limit: zod_1.z.number().min(1).optional(),
|
|
7
8
|
offset: zod_1.z.number().min(0).optional(),
|
|
8
9
|
engagementConfigured: zod_1.z.boolean().optional(),
|
|
9
10
|
engagementActive: zod_1.z.boolean().optional(),
|
|
11
|
+
category: zod_1.z.array(zod_1.z.nativeEnum(enums_1.Category)).optional(),
|
|
10
12
|
});
|
|
11
13
|
exports._UserExtensionViewQueryResult = zod_1.z.object({
|
|
12
14
|
tid: zod_1.z.string(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userExtension.dto.js","sourceRoot":"","sources":["../../../../src/dto/eng/userExtension.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;
|
|
1
|
+
{"version":3,"file":"userExtension.dto.js","sourceRoot":"","sources":["../../../../src/dto/eng/userExtension.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,oCAAkC;AAErB,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACnC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpC,oBAAoB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IAC5C,gBAAgB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACxC,QAAQ,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,UAAU,CAAC,gBAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC;AAIU,QAAA,6BAA6B,GAAG,OAAC,CAAC,MAAM,CAAC;IACpD,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC5B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAC3B,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;CAChC,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import {z} from 'zod';
|
|
2
|
+
import {Category} from '../enums';
|
|
2
3
|
|
|
3
4
|
export const _UserExtensionViewQueryParams = z.object({
|
|
4
5
|
limit: z.number().min(1).optional(),
|
|
5
6
|
offset: z.number().min(0).optional(),
|
|
6
7
|
engagementConfigured: z.boolean().optional(),
|
|
7
8
|
engagementActive: z.boolean().optional(),
|
|
9
|
+
category: z.array(z.nativeEnum(Category)).optional(),
|
|
8
10
|
});
|
|
9
11
|
|
|
10
12
|
export type UserExtensionViewQueryParams = z.infer<typeof _UserExtensionViewQueryParams>;
|