@ampsec/platform-client 84.31.0 → 84.33.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.
@@ -31,6 +31,8 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
31
31
  }>>;
32
32
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
33
33
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
34
+ sensitiveHeaders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
35
+ sensitiveParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
34
36
  }, "strip", z.ZodTypeAny, {
35
37
  method: string;
36
38
  url: string;
@@ -41,6 +43,8 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
41
43
  value?: string | undefined;
42
44
  } | undefined;
43
45
  headers?: Record<string, string> | undefined;
46
+ sensitiveHeaders?: string[] | undefined;
47
+ sensitiveParams?: string[] | undefined;
44
48
  }, {
45
49
  method: string;
46
50
  url: string;
@@ -51,6 +55,8 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
51
55
  value?: string | undefined;
52
56
  } | undefined;
53
57
  headers?: Record<string, string> | undefined;
58
+ sensitiveHeaders?: string[] | undefined;
59
+ sensitiveParams?: string[] | undefined;
54
60
  }>;
55
61
  timeout: z.ZodOptional<z.ZodNumber>;
56
62
  }, "strip", z.ZodTypeAny, {
@@ -64,6 +70,8 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
64
70
  value?: string | undefined;
65
71
  } | undefined;
66
72
  headers?: Record<string, string> | undefined;
73
+ sensitiveHeaders?: string[] | undefined;
74
+ sensitiveParams?: string[] | undefined;
67
75
  };
68
76
  timeout?: number | undefined;
69
77
  }, {
@@ -77,6 +85,8 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
77
85
  value?: string | undefined;
78
86
  } | undefined;
79
87
  headers?: Record<string, string> | undefined;
88
+ sensitiveHeaders?: string[] | undefined;
89
+ sensitiveParams?: string[] | undefined;
80
90
  };
81
91
  timeout?: number | undefined;
82
92
  }>;
@@ -123,6 +133,8 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
123
133
  }>>;
124
134
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
125
135
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
136
+ sensitiveHeaders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
137
+ sensitiveParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
126
138
  }, "strip", z.ZodTypeAny, {
127
139
  method: string;
128
140
  url: string;
@@ -133,6 +145,8 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
133
145
  value?: string | undefined;
134
146
  } | undefined;
135
147
  headers?: Record<string, string> | undefined;
148
+ sensitiveHeaders?: string[] | undefined;
149
+ sensitiveParams?: string[] | undefined;
136
150
  }, {
137
151
  method: string;
138
152
  url: string;
@@ -143,6 +157,8 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
143
157
  value?: string | undefined;
144
158
  } | undefined;
145
159
  headers?: Record<string, string> | undefined;
160
+ sensitiveHeaders?: string[] | undefined;
161
+ sensitiveParams?: string[] | undefined;
146
162
  }>;
147
163
  timeout: z.ZodOptional<z.ZodNumber>;
148
164
  }, "strip", z.ZodTypeAny, {
@@ -156,6 +172,8 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
156
172
  value?: string | undefined;
157
173
  } | undefined;
158
174
  headers?: Record<string, string> | undefined;
175
+ sensitiveHeaders?: string[] | undefined;
176
+ sensitiveParams?: string[] | undefined;
159
177
  };
160
178
  timeout?: number | undefined;
161
179
  }, {
@@ -169,6 +187,8 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
169
187
  value?: string | undefined;
170
188
  } | undefined;
171
189
  headers?: Record<string, string> | undefined;
190
+ sensitiveHeaders?: string[] | undefined;
191
+ sensitiveParams?: string[] | undefined;
172
192
  };
173
193
  timeout?: number | undefined;
174
194
  }>;
@@ -190,6 +210,8 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
190
210
  value?: string | undefined;
191
211
  } | undefined;
192
212
  headers?: Record<string, string> | undefined;
213
+ sensitiveHeaders?: string[] | undefined;
214
+ sensitiveParams?: string[] | undefined;
193
215
  };
194
216
  timeout?: number | undefined;
195
217
  };
@@ -218,6 +240,8 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
218
240
  value?: string | undefined;
219
241
  } | undefined;
220
242
  headers?: Record<string, string> | undefined;
243
+ sensitiveHeaders?: string[] | undefined;
244
+ sensitiveParams?: string[] | undefined;
221
245
  };
222
246
  timeout?: number | undefined;
223
247
  };
@@ -273,6 +297,8 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
273
297
  }>>;
274
298
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
275
299
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
300
+ sensitiveHeaders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
301
+ sensitiveParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
276
302
  }, "strip", z.ZodTypeAny, {
277
303
  method: string;
278
304
  url: string;
@@ -283,6 +309,8 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
283
309
  value?: string | undefined;
284
310
  } | undefined;
285
311
  headers?: Record<string, string> | undefined;
312
+ sensitiveHeaders?: string[] | undefined;
313
+ sensitiveParams?: string[] | undefined;
286
314
  }, {
287
315
  method: string;
288
316
  url: string;
@@ -293,6 +321,8 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
293
321
  value?: string | undefined;
294
322
  } | undefined;
295
323
  headers?: Record<string, string> | undefined;
324
+ sensitiveHeaders?: string[] | undefined;
325
+ sensitiveParams?: string[] | undefined;
296
326
  }>;
297
327
  timeout: z.ZodOptional<z.ZodNumber>;
298
328
  }, "strip", z.ZodTypeAny, {
@@ -306,6 +336,8 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
306
336
  value?: string | undefined;
307
337
  } | undefined;
308
338
  headers?: Record<string, string> | undefined;
339
+ sensitiveHeaders?: string[] | undefined;
340
+ sensitiveParams?: string[] | undefined;
309
341
  };
310
342
  timeout?: number | undefined;
311
343
  }, {
@@ -319,6 +351,8 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
319
351
  value?: string | undefined;
320
352
  } | undefined;
321
353
  headers?: Record<string, string> | undefined;
354
+ sensitiveHeaders?: string[] | undefined;
355
+ sensitiveParams?: string[] | undefined;
322
356
  };
323
357
  timeout?: number | undefined;
324
358
  }>;
@@ -340,6 +374,8 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
340
374
  value?: string | undefined;
341
375
  } | undefined;
342
376
  headers?: Record<string, string> | undefined;
377
+ sensitiveHeaders?: string[] | undefined;
378
+ sensitiveParams?: string[] | undefined;
343
379
  };
344
380
  timeout?: number | undefined;
345
381
  };
@@ -368,6 +404,8 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
368
404
  value?: string | undefined;
369
405
  } | undefined;
370
406
  headers?: Record<string, string> | undefined;
407
+ sensitiveHeaders?: string[] | undefined;
408
+ sensitiveParams?: string[] | undefined;
371
409
  };
372
410
  timeout?: number | undefined;
373
411
  };
@@ -407,6 +445,8 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
407
445
  }>>;
408
446
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
409
447
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
448
+ sensitiveHeaders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
449
+ sensitiveParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
410
450
  }, "strip", z.ZodTypeAny, {
411
451
  method: string;
412
452
  url: string;
@@ -417,6 +457,8 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
417
457
  value?: string | undefined;
418
458
  } | undefined;
419
459
  headers?: Record<string, string> | undefined;
460
+ sensitiveHeaders?: string[] | undefined;
461
+ sensitiveParams?: string[] | undefined;
420
462
  }, {
421
463
  method: string;
422
464
  url: string;
@@ -427,6 +469,8 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
427
469
  value?: string | undefined;
428
470
  } | undefined;
429
471
  headers?: Record<string, string> | undefined;
472
+ sensitiveHeaders?: string[] | undefined;
473
+ sensitiveParams?: string[] | undefined;
430
474
  }>;
431
475
  timeout: z.ZodOptional<z.ZodNumber>;
432
476
  }, "strip", z.ZodTypeAny, {
@@ -440,6 +484,8 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
440
484
  value?: string | undefined;
441
485
  } | undefined;
442
486
  headers?: Record<string, string> | undefined;
487
+ sensitiveHeaders?: string[] | undefined;
488
+ sensitiveParams?: string[] | undefined;
443
489
  };
444
490
  timeout?: number | undefined;
445
491
  }, {
@@ -453,6 +499,8 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
453
499
  value?: string | undefined;
454
500
  } | undefined;
455
501
  headers?: Record<string, string> | undefined;
502
+ sensitiveHeaders?: string[] | undefined;
503
+ sensitiveParams?: string[] | undefined;
456
504
  };
457
505
  timeout?: number | undefined;
458
506
  }>;
@@ -484,6 +532,8 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
484
532
  value?: string | undefined;
485
533
  } | undefined;
486
534
  headers?: Record<string, string> | undefined;
535
+ sensitiveHeaders?: string[] | undefined;
536
+ sensitiveParams?: string[] | undefined;
487
537
  };
488
538
  timeout?: number | undefined;
489
539
  };
@@ -512,6 +562,8 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
512
562
  value?: string | undefined;
513
563
  } | undefined;
514
564
  headers?: Record<string, string> | undefined;
565
+ sensitiveHeaders?: string[] | undefined;
566
+ sensitiveParams?: string[] | undefined;
515
567
  };
516
568
  timeout?: number | undefined;
517
569
  };
@@ -27,6 +27,8 @@ exports._CustomRestActionMetaDto = zod_1.z.object({
27
27
  .optional(),
28
28
  headers: zod_1.z.record(zod_1.z.string()).optional(),
29
29
  params: zod_1.z.record(zod_1.z.string()).optional(),
30
+ sensitiveHeaders: zod_1.z.array(zod_1.z.string()).optional(),
31
+ sensitiveParams: zod_1.z.array(zod_1.z.string()).optional(),
30
32
  }),
31
33
  timeout: zod_1.z.number().optional(),
32
34
  });
@@ -1 +1 @@
1
- {"version":3,"file":"customActions.dto.js","sourceRoot":"","sources":["../../../src/dto/customActions.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AAExC,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IACnC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE;IACvB,aAAa,EAAE,kCAA0B,CAAC,QAAQ,EAAE;CACrD,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;aACP,MAAM,CAAC;YACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;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tensionViewQueryParams: 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;AAET,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,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AM,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"}
@@ -42,6 +42,8 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
42
42
  }>>;
43
43
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
44
44
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
45
+ sensitiveHeaders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
46
+ sensitiveParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
45
47
  }, "strip", z.ZodTypeAny, {
46
48
  method: string;
47
49
  url: string;
@@ -52,6 +54,8 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
52
54
  value?: string | undefined;
53
55
  } | undefined;
54
56
  headers?: Record<string, string> | undefined;
57
+ sensitiveHeaders?: string[] | undefined;
58
+ sensitiveParams?: string[] | undefined;
55
59
  }, {
56
60
  method: string;
57
61
  url: string;
@@ -62,6 +66,8 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
62
66
  value?: string | undefined;
63
67
  } | undefined;
64
68
  headers?: Record<string, string> | undefined;
69
+ sensitiveHeaders?: string[] | undefined;
70
+ sensitiveParams?: string[] | undefined;
65
71
  }>;
66
72
  timeout: z.ZodOptional<z.ZodNumber>;
67
73
  }, "strip", z.ZodTypeAny, {
@@ -75,6 +81,8 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
75
81
  value?: string | undefined;
76
82
  } | undefined;
77
83
  headers?: Record<string, string> | undefined;
84
+ sensitiveHeaders?: string[] | undefined;
85
+ sensitiveParams?: string[] | undefined;
78
86
  };
79
87
  timeout?: number | undefined;
80
88
  }, {
@@ -88,6 +96,8 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
88
96
  value?: string | undefined;
89
97
  } | undefined;
90
98
  headers?: Record<string, string> | undefined;
99
+ sensitiveHeaders?: string[] | undefined;
100
+ sensitiveParams?: string[] | undefined;
91
101
  };
92
102
  timeout?: number | undefined;
93
103
  }>;
@@ -112,6 +122,8 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
112
122
  value?: string | undefined;
113
123
  } | undefined;
114
124
  headers?: Record<string, string> | undefined;
125
+ sensitiveHeaders?: string[] | undefined;
126
+ sensitiveParams?: string[] | undefined;
115
127
  };
116
128
  timeout?: number | undefined;
117
129
  };
@@ -141,6 +153,8 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
141
153
  value?: string | undefined;
142
154
  } | undefined;
143
155
  headers?: Record<string, string> | undefined;
156
+ sensitiveHeaders?: string[] | undefined;
157
+ sensitiveParams?: string[] | undefined;
144
158
  };
145
159
  timeout?: number | undefined;
146
160
  };
@@ -180,6 +194,8 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
180
194
  }>>;
181
195
  headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
182
196
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
197
+ sensitiveHeaders: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
198
+ sensitiveParams: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
183
199
  }, "strip", z.ZodTypeAny, {
184
200
  method: string;
185
201
  url: string;
@@ -190,6 +206,8 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
190
206
  value?: string | undefined;
191
207
  } | undefined;
192
208
  headers?: Record<string, string> | undefined;
209
+ sensitiveHeaders?: string[] | undefined;
210
+ sensitiveParams?: string[] | undefined;
193
211
  }, {
194
212
  method: string;
195
213
  url: string;
@@ -200,6 +218,8 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
200
218
  value?: string | undefined;
201
219
  } | undefined;
202
220
  headers?: Record<string, string> | undefined;
221
+ sensitiveHeaders?: string[] | undefined;
222
+ sensitiveParams?: string[] | undefined;
203
223
  }>;
204
224
  timeout: z.ZodOptional<z.ZodNumber>;
205
225
  }, "strip", z.ZodTypeAny, {
@@ -213,6 +233,8 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
213
233
  value?: string | undefined;
214
234
  } | undefined;
215
235
  headers?: Record<string, string> | undefined;
236
+ sensitiveHeaders?: string[] | undefined;
237
+ sensitiveParams?: string[] | undefined;
216
238
  };
217
239
  timeout?: number | undefined;
218
240
  }, {
@@ -226,6 +248,8 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
226
248
  value?: string | undefined;
227
249
  } | undefined;
228
250
  headers?: Record<string, string> | undefined;
251
+ sensitiveHeaders?: string[] | undefined;
252
+ sensitiveParams?: string[] | undefined;
229
253
  };
230
254
  timeout?: number | undefined;
231
255
  }>;
@@ -260,6 +284,8 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
260
284
  value?: string | undefined;
261
285
  } | undefined;
262
286
  headers?: Record<string, string> | undefined;
287
+ sensitiveHeaders?: string[] | undefined;
288
+ sensitiveParams?: string[] | undefined;
263
289
  };
264
290
  timeout?: number | undefined;
265
291
  };
@@ -289,6 +315,8 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
289
315
  value?: string | undefined;
290
316
  } | undefined;
291
317
  headers?: Record<string, string> | undefined;
318
+ sensitiveHeaders?: string[] | undefined;
319
+ sensitiveParams?: string[] | undefined;
292
320
  };
293
321
  timeout?: number | undefined;
294
322
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ampsec/platform-client",
3
- "version": "84.31.0",
3
+ "version": "84.33.0",
4
4
  "description": "",
5
5
  "main": "build/src/index.js",
6
6
  "runkitExampleFilename": "example/main.js",
@@ -27,6 +27,8 @@ export const _CustomRestActionMetaDto = z.object({
27
27
  .optional(),
28
28
  headers: z.record(z.string()).optional(),
29
29
  params: z.record(z.string()).optional(),
30
+ sensitiveHeaders: z.array(z.string()).optional(),
31
+ sensitiveParams: z.array(z.string()).optional(),
30
32
  }),
31
33
  timeout: z.number().optional(),
32
34
  });
@@ -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>;