@ampsec/platform-client 84.23.0 → 84.23.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/platform/platform.webhookProviders.dto.d.ts +12 -12
- package/build/src/dto/webhookProviders.dto.d.ts +12 -12
- package/build/src/dto/webhookProviders.dto.js +2 -2
- package/build/src/dto/webhookProviders.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/webhookProviders.dto.ts +2 -2
|
@@ -7,8 +7,8 @@ export declare const _PlatformWebhookProviderDto: import("zod").ZodObject<import
|
|
|
7
7
|
updatedAt: import("zod").ZodString;
|
|
8
8
|
deletedAt: import("zod").ZodNullable<import("zod").ZodString>;
|
|
9
9
|
}, {
|
|
10
|
-
|
|
11
|
-
displayName: import("zod").ZodString
|
|
10
|
+
pid: import("zod").ZodString;
|
|
11
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
12
12
|
supportedEvents: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
13
13
|
defaultSecret: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
14
14
|
enabled: import("zod").ZodBoolean;
|
|
@@ -16,34 +16,33 @@ export declare const _PlatformWebhookProviderDto: import("zod").ZodObject<import
|
|
|
16
16
|
timeout: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
17
17
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
18
18
|
}>, "strip", import("zod").ZodTypeAny, {
|
|
19
|
-
name: string;
|
|
20
19
|
id: string;
|
|
21
20
|
createdAt: string;
|
|
22
21
|
updatedAt: string;
|
|
23
22
|
deletedAt: string | null;
|
|
24
23
|
enabled: boolean;
|
|
25
|
-
|
|
24
|
+
pid: string;
|
|
26
25
|
supportedEvents: string[];
|
|
27
26
|
description?: string | null | undefined;
|
|
28
27
|
timeout?: number | null | undefined;
|
|
28
|
+
displayName?: string | undefined;
|
|
29
29
|
defaultSecret?: string | null | undefined;
|
|
30
30
|
retryAttempts?: number | null | undefined;
|
|
31
31
|
}, {
|
|
32
|
-
name: string;
|
|
33
32
|
id: string;
|
|
34
33
|
createdAt: string;
|
|
35
34
|
updatedAt: string;
|
|
36
35
|
deletedAt: string | null;
|
|
37
36
|
enabled: boolean;
|
|
38
|
-
|
|
37
|
+
pid: string;
|
|
39
38
|
supportedEvents: string[];
|
|
40
39
|
description?: string | null | undefined;
|
|
41
40
|
timeout?: number | null | undefined;
|
|
41
|
+
displayName?: string | undefined;
|
|
42
42
|
defaultSecret?: string | null | undefined;
|
|
43
43
|
retryAttempts?: number | null | undefined;
|
|
44
44
|
}>;
|
|
45
45
|
export declare const _PlatformWebhookProviderUpsertDto: import("zod").ZodObject<{
|
|
46
|
-
name: import("zod").ZodString;
|
|
47
46
|
description: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
48
47
|
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
49
48
|
createdAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -51,14 +50,14 @@ export declare const _PlatformWebhookProviderUpsertDto: import("zod").ZodObject<
|
|
|
51
50
|
deletedAt: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
52
51
|
timeout: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
53
52
|
enabled: import("zod").ZodBoolean;
|
|
54
|
-
|
|
53
|
+
pid: import("zod").ZodString;
|
|
54
|
+
displayName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
55
|
supportedEvents: import("zod").ZodArray<import("zod").ZodString, "many">;
|
|
56
56
|
defaultSecret: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
|
|
57
57
|
retryAttempts: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
58
58
|
}, "strip", import("zod").ZodTypeAny, {
|
|
59
|
-
name: string;
|
|
60
59
|
enabled: boolean;
|
|
61
|
-
|
|
60
|
+
pid: string;
|
|
62
61
|
supportedEvents: string[];
|
|
63
62
|
description?: string | null | undefined;
|
|
64
63
|
id?: string | undefined;
|
|
@@ -66,12 +65,12 @@ export declare const _PlatformWebhookProviderUpsertDto: import("zod").ZodObject<
|
|
|
66
65
|
updatedAt?: string | undefined;
|
|
67
66
|
deletedAt?: string | null | undefined;
|
|
68
67
|
timeout?: number | null | undefined;
|
|
68
|
+
displayName?: string | undefined;
|
|
69
69
|
defaultSecret?: string | null | undefined;
|
|
70
70
|
retryAttempts?: number | null | undefined;
|
|
71
71
|
}, {
|
|
72
|
-
name: string;
|
|
73
72
|
enabled: boolean;
|
|
74
|
-
|
|
73
|
+
pid: string;
|
|
75
74
|
supportedEvents: string[];
|
|
76
75
|
description?: string | null | undefined;
|
|
77
76
|
id?: string | undefined;
|
|
@@ -79,6 +78,7 @@ export declare const _PlatformWebhookProviderUpsertDto: import("zod").ZodObject<
|
|
|
79
78
|
updatedAt?: string | undefined;
|
|
80
79
|
deletedAt?: string | null | undefined;
|
|
81
80
|
timeout?: number | null | undefined;
|
|
81
|
+
displayName?: string | undefined;
|
|
82
82
|
defaultSecret?: string | null | undefined;
|
|
83
83
|
retryAttempts?: number | null | undefined;
|
|
84
84
|
}>;
|
|
@@ -5,8 +5,8 @@ export declare const _WebhookProviderDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
5
5
|
updatedAt: z.ZodString;
|
|
6
6
|
deletedAt: z.ZodNullable<z.ZodString>;
|
|
7
7
|
}, {
|
|
8
|
-
|
|
9
|
-
displayName: z.ZodString
|
|
8
|
+
pid: z.ZodString;
|
|
9
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
10
10
|
supportedEvents: z.ZodArray<z.ZodString, "many">;
|
|
11
11
|
defaultSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12
12
|
enabled: z.ZodBoolean;
|
|
@@ -14,34 +14,33 @@ export declare const _WebhookProviderDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
14
14
|
timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
15
15
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16
16
|
}>, "strip", z.ZodTypeAny, {
|
|
17
|
-
name: string;
|
|
18
17
|
id: string;
|
|
19
18
|
createdAt: string;
|
|
20
19
|
updatedAt: string;
|
|
21
20
|
deletedAt: string | null;
|
|
22
21
|
enabled: boolean;
|
|
23
|
-
|
|
22
|
+
pid: string;
|
|
24
23
|
supportedEvents: string[];
|
|
25
24
|
description?: string | null | undefined;
|
|
26
25
|
timeout?: number | null | undefined;
|
|
26
|
+
displayName?: string | undefined;
|
|
27
27
|
defaultSecret?: string | null | undefined;
|
|
28
28
|
retryAttempts?: number | null | undefined;
|
|
29
29
|
}, {
|
|
30
|
-
name: string;
|
|
31
30
|
id: string;
|
|
32
31
|
createdAt: string;
|
|
33
32
|
updatedAt: string;
|
|
34
33
|
deletedAt: string | null;
|
|
35
34
|
enabled: boolean;
|
|
36
|
-
|
|
35
|
+
pid: string;
|
|
37
36
|
supportedEvents: string[];
|
|
38
37
|
description?: string | null | undefined;
|
|
39
38
|
timeout?: number | null | undefined;
|
|
39
|
+
displayName?: string | undefined;
|
|
40
40
|
defaultSecret?: string | null | undefined;
|
|
41
41
|
retryAttempts?: number | null | undefined;
|
|
42
42
|
}>;
|
|
43
43
|
export declare const _WebhookProviderUpsertDto: z.ZodObject<{
|
|
44
|
-
name: z.ZodString;
|
|
45
44
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
46
45
|
id: z.ZodOptional<z.ZodString>;
|
|
47
46
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
@@ -49,14 +48,14 @@ export declare const _WebhookProviderUpsertDto: z.ZodObject<{
|
|
|
49
48
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
50
49
|
timeout: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
51
50
|
enabled: z.ZodBoolean;
|
|
52
|
-
|
|
51
|
+
pid: z.ZodString;
|
|
52
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
53
53
|
supportedEvents: z.ZodArray<z.ZodString, "many">;
|
|
54
54
|
defaultSecret: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
55
55
|
retryAttempts: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
name: string;
|
|
58
57
|
enabled: boolean;
|
|
59
|
-
|
|
58
|
+
pid: string;
|
|
60
59
|
supportedEvents: string[];
|
|
61
60
|
description?: string | null | undefined;
|
|
62
61
|
id?: string | undefined;
|
|
@@ -64,12 +63,12 @@ export declare const _WebhookProviderUpsertDto: z.ZodObject<{
|
|
|
64
63
|
updatedAt?: string | undefined;
|
|
65
64
|
deletedAt?: string | null | undefined;
|
|
66
65
|
timeout?: number | null | undefined;
|
|
66
|
+
displayName?: string | undefined;
|
|
67
67
|
defaultSecret?: string | null | undefined;
|
|
68
68
|
retryAttempts?: number | null | undefined;
|
|
69
69
|
}, {
|
|
70
|
-
name: string;
|
|
71
70
|
enabled: boolean;
|
|
72
|
-
|
|
71
|
+
pid: string;
|
|
73
72
|
supportedEvents: string[];
|
|
74
73
|
description?: string | null | undefined;
|
|
75
74
|
id?: string | undefined;
|
|
@@ -77,6 +76,7 @@ export declare const _WebhookProviderUpsertDto: z.ZodObject<{
|
|
|
77
76
|
updatedAt?: string | undefined;
|
|
78
77
|
deletedAt?: string | null | undefined;
|
|
79
78
|
timeout?: number | null | undefined;
|
|
79
|
+
displayName?: string | undefined;
|
|
80
80
|
defaultSecret?: string | null | undefined;
|
|
81
81
|
retryAttempts?: number | null | undefined;
|
|
82
82
|
}>;
|
|
@@ -4,8 +4,8 @@ exports._WebhookProviderUpsertDto = exports._WebhookProviderDto = void 0;
|
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const base_dto_1 = require("./base.dto");
|
|
6
6
|
exports._WebhookProviderDto = base_dto_1._BaseDto.extend({
|
|
7
|
-
|
|
8
|
-
displayName: zod_1.z.string(),
|
|
7
|
+
pid: zod_1.z.string(),
|
|
8
|
+
displayName: zod_1.z.string().optional(),
|
|
9
9
|
supportedEvents: zod_1.z.array(zod_1.z.string()),
|
|
10
10
|
defaultSecret: zod_1.z.string().nullable().optional(),
|
|
11
11
|
enabled: zod_1.z.boolean(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"webhookProviders.dto.js","sourceRoot":"","sources":["../../../src/dto/webhookProviders.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AAExC,QAAA,mBAAmB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACjD,
|
|
1
|
+
{"version":3,"file":"webhookProviders.dto.js","sourceRoot":"","sources":["../../../src/dto/webhookProviders.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AAExC,QAAA,mBAAmB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACjD,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,eAAe,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IACpC,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,OAAO,EAAE,OAAC,CAAC,OAAO,EAAE;IACpB,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC/C,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IACzC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;CAC9C,CAAC,CAAC;AAEU,QAAA,yBAAyB,GAAG,2BAAmB,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -2,8 +2,8 @@ import {z} from 'zod';
|
|
|
2
2
|
import {UPSERT_DTO_MASK, _BaseDto} from './base.dto';
|
|
3
3
|
|
|
4
4
|
export const _WebhookProviderDto = _BaseDto.extend({
|
|
5
|
-
|
|
6
|
-
displayName: z.string(),
|
|
5
|
+
pid: z.string(),
|
|
6
|
+
displayName: z.string().optional(),
|
|
7
7
|
supportedEvents: z.array(z.string()),
|
|
8
8
|
defaultSecret: z.string().nullable().optional(),
|
|
9
9
|
enabled: z.boolean(),
|