@ampsec/platform-client 64.4.0 → 65.0.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 +1 @@
1
- {"version":3,"file":"customActions.dto.js","sourceRoot":"","sources":["../../../src/dto/customActions.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AAErD,MAAM,iBAAiB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE;IACvB,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE;IACvB,aAAa,EAAE,OAAC;SACb,MAAM,CAAC;QACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;QACnC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;QACtB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;KAClB,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;QACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;QAClB,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;YAChB,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;YAC3B,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC;YACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;SAClB,CAAC;QACF,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;QAC7B,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;KAC7B,CAAC;IACF,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,Q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EAAE;IACxB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC;QACvB,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,oBAAoB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC5C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;QACtB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;KACzB,CAAC;CACH,CAAC,CAAC;AAGH,yCAAyC"}
@@ -54,7 +54,7 @@ export declare const _CustomScoreCohortDto: z.ZodObject<{
54
54
  createdAt: z.ZodString;
55
55
  updatedAt: z.ZodString;
56
56
  deletedAt: z.ZodNullable<z.ZodString>;
57
- cohort: z.ZodUnion<[z.ZodObject<{
57
+ cohort: z.ZodArray<z.ZodObject<{
58
58
  id: z.ZodString;
59
59
  kind: z.ZodEnum<["ORGANIZATION", "DEPARTMENT", "USER", "RISK_CONTRIBUTOR"]>;
60
60
  displayValue: z.ZodString;
@@ -72,87 +72,33 @@ export declare const _CustomScoreCohortDto: z.ZodObject<{
72
72
  id: string;
73
73
  displayValue: string;
74
74
  kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
75
- }>, z.ZodArray<z.ZodObject<{
76
- id: z.ZodString;
77
- kind: z.ZodEnum<["ORGANIZATION", "DEPARTMENT", "USER", "RISK_CONTRIBUTOR"]>;
78
- displayValue: z.ZodString;
79
- value: z.ZodString;
80
- inclusive: z.ZodBoolean;
81
- }, "strip", z.ZodTypeAny, {
82
- inclusive: boolean;
83
- value: string;
84
- id: string;
85
- displayValue: string;
86
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
87
- }, {
88
- inclusive: boolean;
89
- value: string;
90
- id: string;
91
- displayValue: string;
92
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
93
- }>, "many">]>;
75
+ }>, "many">;
94
76
  multiplier: z.ZodNumber;
95
77
  }, "strip", z.ZodTypeAny, {
96
78
  id: string;
97
79
  createdAt: string;
98
80
  updatedAt: string;
99
81
  deletedAt: string | null;
100
- cohort: ({
101
- inclusive: boolean;
102
- value: string;
103
- id: string;
104
- displayValue: string;
105
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
106
- } | {
82
+ cohort: {
107
83
  inclusive: boolean;
108
84
  value: string;
109
85
  id: string;
110
86
  displayValue: string;
111
87
  kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
112
- }[]) & ({
113
- inclusive: boolean;
114
- value: string;
115
- id: string;
116
- displayValue: string;
117
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
118
- } | {
119
- inclusive: boolean;
120
- value: string;
121
- id: string;
122
- displayValue: string;
123
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
124
- }[] | undefined);
88
+ }[];
125
89
  multiplier: number;
126
90
  }, {
127
91
  id: string;
128
92
  createdAt: string;
129
93
  updatedAt: string;
130
94
  deletedAt: string | null;
131
- cohort: ({
132
- inclusive: boolean;
133
- value: string;
134
- id: string;
135
- displayValue: string;
136
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
137
- } | {
138
- inclusive: boolean;
139
- value: string;
140
- id: string;
141
- displayValue: string;
142
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
143
- }[]) & ({
144
- inclusive: boolean;
145
- value: string;
146
- id: string;
147
- displayValue: string;
148
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
149
- } | {
95
+ cohort: {
150
96
  inclusive: boolean;
151
97
  value: string;
152
98
  id: string;
153
99
  displayValue: string;
154
100
  kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
155
- }[] | undefined);
101
+ }[];
156
102
  multiplier: number;
157
103
  }>;
158
104
  export type CustomScoreCohortDto = z.infer<typeof _CustomScoreCohortDto>;
@@ -161,7 +107,7 @@ export declare const _CustomScoreCohortUpsertDto: z.ZodObject<{
161
107
  createdAt: z.ZodOptional<z.ZodString>;
162
108
  updatedAt: z.ZodOptional<z.ZodString>;
163
109
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
- cohort: z.ZodUnion<[z.ZodObject<{
110
+ cohort: z.ZodArray<z.ZodObject<{
165
111
  id: z.ZodString;
166
112
  kind: z.ZodEnum<["ORGANIZATION", "DEPARTMENT", "USER", "RISK_CONTRIBUTOR"]>;
167
113
  displayValue: z.ZodString;
@@ -179,83 +125,29 @@ export declare const _CustomScoreCohortUpsertDto: z.ZodObject<{
179
125
  id: string;
180
126
  displayValue: string;
181
127
  kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
182
- }>, z.ZodArray<z.ZodObject<{
183
- id: z.ZodString;
184
- kind: z.ZodEnum<["ORGANIZATION", "DEPARTMENT", "USER", "RISK_CONTRIBUTOR"]>;
185
- displayValue: z.ZodString;
186
- value: z.ZodString;
187
- inclusive: z.ZodBoolean;
188
- }, "strip", z.ZodTypeAny, {
189
- inclusive: boolean;
190
- value: string;
191
- id: string;
192
- displayValue: string;
193
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
194
- }, {
195
- inclusive: boolean;
196
- value: string;
197
- id: string;
198
- displayValue: string;
199
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
200
- }>, "many">]>;
128
+ }>, "many">;
201
129
  multiplier: z.ZodNumber;
202
130
  }, "strip", z.ZodTypeAny, {
203
- cohort: ({
204
- inclusive: boolean;
205
- value: string;
206
- id: string;
207
- displayValue: string;
208
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
209
- } | {
131
+ cohort: {
210
132
  inclusive: boolean;
211
133
  value: string;
212
134
  id: string;
213
135
  displayValue: string;
214
136
  kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
215
- }[]) & ({
216
- inclusive: boolean;
217
- value: string;
218
- id: string;
219
- displayValue: string;
220
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
221
- } | {
222
- inclusive: boolean;
223
- value: string;
224
- id: string;
225
- displayValue: string;
226
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
227
- }[] | undefined);
137
+ }[];
228
138
  multiplier: number;
229
139
  id?: string | undefined;
230
140
  createdAt?: string | undefined;
231
141
  updatedAt?: string | undefined;
232
142
  deletedAt?: string | null | undefined;
233
143
  }, {
234
- cohort: ({
235
- inclusive: boolean;
236
- value: string;
237
- id: string;
238
- displayValue: string;
239
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
240
- } | {
241
- inclusive: boolean;
242
- value: string;
243
- id: string;
244
- displayValue: string;
245
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
246
- }[]) & ({
247
- inclusive: boolean;
248
- value: string;
249
- id: string;
250
- displayValue: string;
251
- kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
252
- } | {
144
+ cohort: {
253
145
  inclusive: boolean;
254
146
  value: string;
255
147
  id: string;
256
148
  displayValue: string;
257
149
  kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
258
- }[] | undefined);
150
+ }[];
259
151
  multiplier: number;
260
152
  id?: string | undefined;
261
153
  createdAt?: string | undefined;
@@ -12,7 +12,7 @@ exports._CustomScoreValueDto = base_dto_1._BaseDto.extend({
12
12
  /** @deprecated */
13
13
  exports._CustomScoreValueUpsertDto = exports._CustomScoreValueDto.partial(base_dto_1.UPSERT_DTO_MASK);
14
14
  exports._CustomScoreCohortDto = base_dto_1._BaseDto.extend({
15
- cohort: zod_1.z.union([flows_dto_1._AmplifierCohortDto, zod_1.z.array(flows_dto_1._AmplifierCohortDto)]),
15
+ cohort: zod_1.z.array(flows_dto_1._AmplifierCohortDto),
16
16
  multiplier: zod_1.z.number(),
17
17
  });
18
18
  exports._CustomScoreCohortUpsertDto = exports._CustomScoreCohortDto.partial(base_dto_1.UPSERT_DTO_MASK);
@@ -1 +1 @@
1
- {"version":3,"file":"customScores.dto.js","sourceRoot":"","sources":["../../../src/dto/customScores.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AACrD,2CAAgD;AAEhD,kBAAkB;AACL,QAAA,oBAAoB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IAClD,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAIH,kBAAkB;AACL,QAAA,0BAA0B,GAAG,4BAAoB,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC;AAI3E,QAAA,qBAAqB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,CAAC,+BAAmB,EAAE,OAAC,CAAC,KAAK,CAAC,+BAAmB,CAAC,CAAC,CAAC;IACpE,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAGU,QAAA,2BAA2B,GAAG,6BAAqB,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC"}
1
+ {"version":3,"file":"customScores.dto.js","sourceRoot":"","sources":["../../../src/dto/customScores.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AACrD,2CAAgD;AAEhD,kBAAkB;AACL,QAAA,oBAAoB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IAClD,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE;IACzB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAIH,kBAAkB;AACL,QAAA,0BAA0B,GAAG,4BAAoB,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC;AAI3E,QAAA,qBAAqB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACnD,MAAM,EAAE,OAAC,CAAC,KAAK,CAAC,+BAAmB,CAAC;IACpC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;CACvB,CAAC,CAAC;AAGU,QAAA,2BAA2B,GAAG,6BAAqB,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  export declare const _PlatformCustomActionDto: z.ZodObject<{
3
- description: z.ZodString;
3
+ description: z.ZodOptional<z.ZodString>;
4
4
  id: z.ZodString;
5
5
  createdAt: z.ZodString;
6
6
  updatedAt: z.ZodString;
@@ -10,7 +10,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
10
10
  request: z.ZodObject<{
11
11
  url: z.ZodString;
12
12
  method: z.ZodString;
13
- payload: z.ZodObject<{
13
+ payload: z.ZodOptional<z.ZodObject<{
14
14
  kind: z.ZodLiteral<"TEMPLATE">;
15
15
  format: z.ZodLiteral<"JSON">;
16
16
  value: z.ZodString;
@@ -22,55 +22,55 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
22
22
  value: string;
23
23
  kind: "TEMPLATE";
24
24
  format: "JSON";
25
- }>;
26
- headers: z.ZodRecord<z.ZodString, z.ZodString>;
27
- params: z.ZodRecord<z.ZodString, z.ZodString>;
25
+ }>>;
26
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
27
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
28
28
  }, "strip", z.ZodTypeAny, {
29
29
  method: string;
30
30
  url: string;
31
- params: Record<string, string>;
32
- payload: {
31
+ payload?: {
33
32
  value: string;
34
33
  kind: "TEMPLATE";
35
34
  format: "JSON";
36
- };
37
- headers: Record<string, string>;
35
+ } | undefined;
36
+ headers?: Record<string, string> | undefined;
37
+ params?: Record<string, string> | undefined;
38
38
  }, {
39
39
  method: string;
40
40
  url: string;
41
- params: Record<string, string>;
42
- payload: {
41
+ payload?: {
43
42
  value: string;
44
43
  kind: "TEMPLATE";
45
44
  format: "JSON";
46
- };
47
- headers: Record<string, string>;
45
+ } | undefined;
46
+ headers?: Record<string, string> | undefined;
47
+ params?: Record<string, string> | undefined;
48
48
  }>;
49
49
  timeout: z.ZodOptional<z.ZodNumber>;
50
50
  }, "strip", z.ZodTypeAny, {
51
51
  request: {
52
52
  method: string;
53
53
  url: string;
54
- params: Record<string, string>;
55
- payload: {
54
+ payload?: {
56
55
  value: string;
57
56
  kind: "TEMPLATE";
58
57
  format: "JSON";
59
- };
60
- headers: Record<string, string>;
58
+ } | undefined;
59
+ headers?: Record<string, string> | undefined;
60
+ params?: Record<string, string> | undefined;
61
61
  };
62
62
  timeout?: number | undefined;
63
63
  }, {
64
64
  request: {
65
65
  method: string;
66
66
  url: string;
67
- params: Record<string, string>;
68
- payload: {
67
+ payload?: {
69
68
  value: string;
70
69
  kind: "TEMPLATE";
71
70
  format: "JSON";
72
- };
73
- headers: Record<string, string>;
71
+ } | undefined;
72
+ headers?: Record<string, string> | undefined;
73
+ params?: Record<string, string> | undefined;
74
74
  };
75
75
  timeout?: number | undefined;
76
76
  }>;
@@ -91,7 +91,6 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
91
91
  }>>;
92
92
  tid: z.ZodString;
93
93
  }, "strip", z.ZodTypeAny, {
94
- description: string;
95
94
  id: string;
96
95
  tid: string;
97
96
  createdAt: string;
@@ -102,25 +101,25 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
102
101
  request: {
103
102
  method: string;
104
103
  url: string;
105
- params: Record<string, string>;
106
- payload: {
104
+ payload?: {
107
105
  value: string;
108
106
  kind: "TEMPLATE";
109
107
  format: "JSON";
110
- };
111
- headers: Record<string, string>;
108
+ } | undefined;
109
+ headers?: Record<string, string> | undefined;
110
+ params?: Record<string, string> | undefined;
112
111
  };
113
112
  timeout?: number | undefined;
114
113
  };
115
114
  isTemplate: boolean;
116
115
  kind: "REST_ACTION";
116
+ description?: string | undefined;
117
117
  retryStrategy?: {
118
118
  kind: "CONSTANT_BACKOFF";
119
119
  maxRetries: number;
120
120
  delay: number;
121
121
  } | undefined;
122
122
  }, {
123
- description: string;
124
123
  id: string;
125
124
  tid: string;
126
125
  createdAt: string;
@@ -131,18 +130,19 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
131
130
  request: {
132
131
  method: string;
133
132
  url: string;
134
- params: Record<string, string>;
135
- payload: {
133
+ payload?: {
136
134
  value: string;
137
135
  kind: "TEMPLATE";
138
136
  format: "JSON";
139
- };
140
- headers: Record<string, string>;
137
+ } | undefined;
138
+ headers?: Record<string, string> | undefined;
139
+ params?: Record<string, string> | undefined;
141
140
  };
142
141
  timeout?: number | undefined;
143
142
  };
144
143
  isTemplate: boolean;
145
144
  kind: "REST_ACTION";
145
+ description?: string | undefined;
146
146
  retryStrategy?: {
147
147
  kind: "CONSTANT_BACKOFF";
148
148
  maxRetries: number;
@@ -151,7 +151,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<{
151
151
  }>;
152
152
  export type PlatformCustomActionDto = z.infer<typeof _PlatformCustomActionDto>;
153
153
  export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
154
- description: z.ZodString;
154
+ description: z.ZodOptional<z.ZodString>;
155
155
  id: z.ZodOptional<z.ZodString>;
156
156
  createdAt: z.ZodOptional<z.ZodString>;
157
157
  updatedAt: z.ZodOptional<z.ZodString>;
@@ -161,7 +161,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
161
161
  request: z.ZodObject<{
162
162
  url: z.ZodString;
163
163
  method: z.ZodString;
164
- payload: z.ZodObject<{
164
+ payload: z.ZodOptional<z.ZodObject<{
165
165
  kind: z.ZodLiteral<"TEMPLATE">;
166
166
  format: z.ZodLiteral<"JSON">;
167
167
  value: z.ZodString;
@@ -173,55 +173,55 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
173
173
  value: string;
174
174
  kind: "TEMPLATE";
175
175
  format: "JSON";
176
- }>;
177
- headers: z.ZodRecord<z.ZodString, z.ZodString>;
178
- params: z.ZodRecord<z.ZodString, z.ZodString>;
176
+ }>>;
177
+ headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
178
+ params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
179
179
  }, "strip", z.ZodTypeAny, {
180
180
  method: string;
181
181
  url: string;
182
- params: Record<string, string>;
183
- payload: {
182
+ payload?: {
184
183
  value: string;
185
184
  kind: "TEMPLATE";
186
185
  format: "JSON";
187
- };
188
- headers: Record<string, string>;
186
+ } | undefined;
187
+ headers?: Record<string, string> | undefined;
188
+ params?: Record<string, string> | undefined;
189
189
  }, {
190
190
  method: string;
191
191
  url: string;
192
- params: Record<string, string>;
193
- payload: {
192
+ payload?: {
194
193
  value: string;
195
194
  kind: "TEMPLATE";
196
195
  format: "JSON";
197
- };
198
- headers: Record<string, string>;
196
+ } | undefined;
197
+ headers?: Record<string, string> | undefined;
198
+ params?: Record<string, string> | undefined;
199
199
  }>;
200
200
  timeout: z.ZodOptional<z.ZodNumber>;
201
201
  }, "strip", z.ZodTypeAny, {
202
202
  request: {
203
203
  method: string;
204
204
  url: string;
205
- params: Record<string, string>;
206
- payload: {
205
+ payload?: {
207
206
  value: string;
208
207
  kind: "TEMPLATE";
209
208
  format: "JSON";
210
- };
211
- headers: Record<string, string>;
209
+ } | undefined;
210
+ headers?: Record<string, string> | undefined;
211
+ params?: Record<string, string> | undefined;
212
212
  };
213
213
  timeout?: number | undefined;
214
214
  }, {
215
215
  request: {
216
216
  method: string;
217
217
  url: string;
218
- params: Record<string, string>;
219
- payload: {
218
+ payload?: {
220
219
  value: string;
221
220
  kind: "TEMPLATE";
222
221
  format: "JSON";
223
- };
224
- headers: Record<string, string>;
222
+ } | undefined;
223
+ headers?: Record<string, string> | undefined;
224
+ params?: Record<string, string> | undefined;
225
225
  };
226
226
  timeout?: number | undefined;
227
227
  }>;
@@ -242,25 +242,25 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
242
242
  }>>;
243
243
  tid: z.ZodString;
244
244
  }, "strip", z.ZodTypeAny, {
245
- description: string;
246
245
  tid: string;
247
246
  displayValue: string;
248
247
  meta: {
249
248
  request: {
250
249
  method: string;
251
250
  url: string;
252
- params: Record<string, string>;
253
- payload: {
251
+ payload?: {
254
252
  value: string;
255
253
  kind: "TEMPLATE";
256
254
  format: "JSON";
257
- };
258
- headers: Record<string, string>;
255
+ } | undefined;
256
+ headers?: Record<string, string> | undefined;
257
+ params?: Record<string, string> | undefined;
259
258
  };
260
259
  timeout?: number | undefined;
261
260
  };
262
261
  isTemplate: boolean;
263
262
  kind: "REST_ACTION";
263
+ description?: string | undefined;
264
264
  id?: string | undefined;
265
265
  createdAt?: string | undefined;
266
266
  updatedAt?: string | undefined;
@@ -271,25 +271,25 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<{
271
271
  delay: number;
272
272
  } | undefined;
273
273
  }, {
274
- description: string;
275
274
  tid: string;
276
275
  displayValue: string;
277
276
  meta: {
278
277
  request: {
279
278
  method: string;
280
279
  url: string;
281
- params: Record<string, string>;
282
- payload: {
280
+ payload?: {
283
281
  value: string;
284
282
  kind: "TEMPLATE";
285
283
  format: "JSON";
286
- };
287
- headers: Record<string, string>;
284
+ } | undefined;
285
+ headers?: Record<string, string> | undefined;
286
+ params?: Record<string, string> | undefined;
288
287
  };
289
288
  timeout?: number | undefined;
290
289
  };
291
290
  isTemplate: boolean;
292
291
  kind: "REST_ACTION";
292
+ description?: string | undefined;
293
293
  id?: string | undefined;
294
294
  createdAt?: string | undefined;
295
295
  updatedAt?: string | undefined;