@ampsec/platform-client 84.18.1 → 84.18.2
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.
|
@@ -28,6 +28,20 @@ export type JamfSmartGroupsSetting = {
|
|
|
28
28
|
lastSynced?: string;
|
|
29
29
|
groups: JamfSmartGroupDto[];
|
|
30
30
|
};
|
|
31
|
+
export declare const JamfComplianceBenchmarkDtoSchema: z.ZodObject<{
|
|
32
|
+
id: z.ZodString;
|
|
33
|
+
title: z.ZodString;
|
|
34
|
+
status: z.ZodDefault<z.ZodOptional<z.ZodNullable<z.ZodEnum<["ENABLED", "DISABLED"]>>>>;
|
|
35
|
+
}, "strip", z.ZodTypeAny, {
|
|
36
|
+
status: "DISABLED" | "ENABLED" | null;
|
|
37
|
+
id: string;
|
|
38
|
+
title: string;
|
|
39
|
+
}, {
|
|
40
|
+
id: string;
|
|
41
|
+
title: string;
|
|
42
|
+
status?: "DISABLED" | "ENABLED" | null | undefined;
|
|
43
|
+
}>;
|
|
44
|
+
export type JamfComplianceBenchmarkDto = z.infer<typeof JamfComplianceBenchmarkDtoSchema>;
|
|
31
45
|
export declare const JamfComplianceBenchmarksSettingSchema: z.ZodObject<{
|
|
32
46
|
syncStatus: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
33
47
|
lastSyncedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1,19 +1,17 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.JamfComplianceBenchmarksSettingSchema = void 0;
|
|
3
|
+
exports.JamfComplianceBenchmarksSettingSchema = exports.JamfComplianceBenchmarkDtoSchema = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
+
exports.JamfComplianceBenchmarkDtoSchema = zod_1.z.object({
|
|
6
|
+
id: zod_1.z.string(),
|
|
7
|
+
title: zod_1.z.string(),
|
|
8
|
+
status: zod_1.z.enum(['ENABLED', 'DISABLED']).nullish().default('DISABLED'),
|
|
9
|
+
});
|
|
5
10
|
exports.JamfComplianceBenchmarksSettingSchema = zod_1.z.object({
|
|
6
11
|
syncStatus: zod_1.z.string().nullish(),
|
|
7
12
|
lastSyncedAt: zod_1.z.string().nullish(),
|
|
8
13
|
region: zod_1.z.enum(['us', 'eu', 'apac']).nullish().default('us'),
|
|
9
14
|
extensionAttributesNameTemplate: zod_1.z.string().nullish().default('${title} - Failed Result List'),
|
|
10
|
-
benchmarks: zod_1.z
|
|
11
|
-
.array(zod_1.z.object({
|
|
12
|
-
id: zod_1.z.string(),
|
|
13
|
-
title: zod_1.z.string(),
|
|
14
|
-
status: zod_1.z.enum(['ENABLED', 'DISABLED']).nullish().default('DISABLED'),
|
|
15
|
-
}))
|
|
16
|
-
.nullish()
|
|
17
|
-
.default([]),
|
|
15
|
+
benchmarks: zod_1.z.array(exports.JamfComplianceBenchmarkDtoSchema).nullish().default([]),
|
|
18
16
|
});
|
|
19
17
|
//# sourceMappingURL=ampSetting.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ampSetting.dto.js","sourceRoot":"","sources":["../../../src/dto/ampSetting.dto.ts"],"names":[],"mappings":";;;AACA,6BAAsB;AAqCT,QAAA,
|
|
1
|
+
{"version":3,"file":"ampSetting.dto.js","sourceRoot":"","sources":["../../../src/dto/ampSetting.dto.ts"],"names":[],"mappings":";;;AACA,6BAAsB;AAqCT,QAAA,gCAAgC,GAAG,OAAC,CAAC,MAAM,CAAC;IACvD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;IACjB,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,SAAS,EAAE,UAAU,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,UAAU,CAAC;CACtE,CAAC,CAAC;AAIU,QAAA,qCAAqC,GAAG,OAAC,CAAC,MAAM,CAAC;IAC5D,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAChC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE;IAClC,MAAM,EAAE,OAAC,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;IAC5D,+BAA+B,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,+BAA+B,CAAC;IAC9F,UAAU,EAAE,OAAC,CAAC,KAAK,CAAC,wCAAgC,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,CAAC;CAC5E,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -36,21 +36,20 @@ export type JamfSmartGroupsSetting = {
|
|
|
36
36
|
groups: JamfSmartGroupDto[];
|
|
37
37
|
};
|
|
38
38
|
|
|
39
|
+
export const JamfComplianceBenchmarkDtoSchema = z.object({
|
|
40
|
+
id: z.string(),
|
|
41
|
+
title: z.string(),
|
|
42
|
+
status: z.enum(['ENABLED', 'DISABLED']).nullish().default('DISABLED'),
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
export type JamfComplianceBenchmarkDto = z.infer<typeof JamfComplianceBenchmarkDtoSchema>;
|
|
46
|
+
|
|
39
47
|
export const JamfComplianceBenchmarksSettingSchema = z.object({
|
|
40
48
|
syncStatus: z.string().nullish(),
|
|
41
49
|
lastSyncedAt: z.string().nullish(),
|
|
42
50
|
region: z.enum(['us', 'eu', 'apac']).nullish().default('us'),
|
|
43
51
|
extensionAttributesNameTemplate: z.string().nullish().default('${title} - Failed Result List'),
|
|
44
|
-
benchmarks: z
|
|
45
|
-
.array(
|
|
46
|
-
z.object({
|
|
47
|
-
id: z.string(),
|
|
48
|
-
title: z.string(),
|
|
49
|
-
status: z.enum(['ENABLED', 'DISABLED']).nullish().default('DISABLED'),
|
|
50
|
-
})
|
|
51
|
-
)
|
|
52
|
-
.nullish()
|
|
53
|
-
.default([]),
|
|
52
|
+
benchmarks: z.array(JamfComplianceBenchmarkDtoSchema).nullish().default([]),
|
|
54
53
|
});
|
|
55
54
|
|
|
56
55
|
export type JamfComplianceBenchmarksSetting = z.infer<typeof JamfComplianceBenchmarksSettingSchema>;
|