@ampsec/platform-client 70.0.0 → 70.2.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.
Files changed (33) hide show
  1. package/build/src/FilterCriteria.d.ts +82 -45
  2. package/build/src/dto/actionExecution.dto.d.ts +3 -2
  3. package/build/src/dto/agents.dto.d.ts +3 -2
  4. package/build/src/dto/assets.dto.d.ts +31 -10
  5. package/build/src/dto/base.dto.d.ts +6 -4
  6. package/build/src/dto/coverage.dto.d.ts +144 -106
  7. package/build/src/dto/customActions.dto.d.ts +32 -28
  8. package/build/src/dto/customScores.dto.d.ts +8 -4
  9. package/build/src/dto/eng/coverage.dto.d.ts +8 -8
  10. package/build/src/dto/findings.dto.d.ts +41 -40
  11. package/build/src/dto/flows.dto.d.ts +222 -179
  12. package/build/src/dto/notification.dto.d.ts +157 -134
  13. package/build/src/dto/page.dto.d.ts +5 -5
  14. package/build/src/dto/platform/platform.actionExecution.dto.d.ts +26 -12
  15. package/build/src/dto/platform/platform.agents.dto.d.ts +3 -2
  16. package/build/src/dto/platform/platform.customActions.dto.d.ts +36 -32
  17. package/build/src/dto/platform/platform.customScores.dto.d.ts +16 -9
  18. package/build/src/dto/platform/platform.findings.dto.d.ts +37 -34
  19. package/build/src/dto/platform/platform.flows.dto.d.ts +176 -136
  20. package/build/src/dto/platform/platform.saasAssets.dto.d.ts +29 -25
  21. package/build/src/dto/platform/platform.saasUsers.dto.d.ts +48 -44
  22. package/build/src/dto/platform/platform.tokens.dto.d.ts +21 -9
  23. package/build/src/dto/platform/tenant.based.dto.d.ts +6 -5
  24. package/build/src/dto/saasAssets.dto.d.ts +84 -58
  25. package/build/src/dto/saasUsers.dto.d.ts +131 -110
  26. package/build/src/dto/tokens.dto.d.ts +3 -2
  27. package/build/src/dto/users.dto.d.ts +8 -8
  28. package/build/src/services/contentful.service.d.ts +12 -12
  29. package/build/src/settings.d.ts +3 -0
  30. package/build/src/settings.js +3 -0
  31. package/build/src/settings.js.map +1 -1
  32. package/package.json +1 -1
  33. package/src/settings.ts +3 -0
@@ -43,15 +43,15 @@ export declare const _SaasAssetMeta: z.ZodObject<{
43
43
  operatingSystems: {
44
44
  displayValue: string;
45
45
  }[];
46
- deviceName?: string | undefined;
46
+ make?: string | undefined;
47
+ model?: string | undefined;
47
48
  lastActivityTime?: string | undefined;
49
+ deviceName?: string | undefined;
48
50
  serialNumber?: string | undefined;
49
51
  macAddresses?: string[] | undefined;
50
52
  owner?: {
51
53
  email?: string | undefined;
52
54
  } | undefined;
53
- make?: string | undefined;
54
- model?: string | undefined;
55
55
  }, {
56
56
  extId: string;
57
57
  assetType: GlobalAssetType;
@@ -59,15 +59,15 @@ export declare const _SaasAssetMeta: z.ZodObject<{
59
59
  operatingSystems: {
60
60
  displayValue: string;
61
61
  }[];
62
- deviceName?: string | undefined;
62
+ make?: string | undefined;
63
+ model?: string | undefined;
63
64
  lastActivityTime?: string | undefined;
65
+ deviceName?: string | undefined;
64
66
  serialNumber?: string | undefined;
65
67
  macAddresses?: string[] | undefined;
66
68
  owner?: {
67
69
  email?: string | undefined;
68
70
  } | undefined;
69
- make?: string | undefined;
70
- model?: string | undefined;
71
71
  }>;
72
72
  _raw: z.ZodUnknown;
73
73
  }, "strip", z.ZodTypeAny, {
@@ -78,15 +78,15 @@ export declare const _SaasAssetMeta: z.ZodObject<{
78
78
  operatingSystems: {
79
79
  displayValue: string;
80
80
  }[];
81
- deviceName?: string | undefined;
81
+ make?: string | undefined;
82
+ model?: string | undefined;
82
83
  lastActivityTime?: string | undefined;
84
+ deviceName?: string | undefined;
83
85
  serialNumber?: string | undefined;
84
86
  macAddresses?: string[] | undefined;
85
87
  owner?: {
86
88
  email?: string | undefined;
87
89
  } | undefined;
88
- make?: string | undefined;
89
- model?: string | undefined;
90
90
  };
91
91
  _raw?: unknown;
92
92
  }, {
@@ -97,25 +97,29 @@ export declare const _SaasAssetMeta: z.ZodObject<{
97
97
  operatingSystems: {
98
98
  displayValue: string;
99
99
  }[];
100
- deviceName?: string | undefined;
100
+ make?: string | undefined;
101
+ model?: string | undefined;
101
102
  lastActivityTime?: string | undefined;
103
+ deviceName?: string | undefined;
102
104
  serialNumber?: string | undefined;
103
105
  macAddresses?: string[] | undefined;
104
106
  owner?: {
105
107
  email?: string | undefined;
106
108
  } | undefined;
107
- make?: string | undefined;
108
- model?: string | undefined;
109
109
  };
110
110
  _raw?: unknown;
111
111
  }>;
112
112
  export type SaasAssetMeta = z.infer<typeof _SaasAssetMeta>;
113
- export declare const _SaasAssetUpsertDto: z.ZodObject<{
113
+ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
114
114
  id: z.ZodOptional<z.ZodString>;
115
115
  createdAt: z.ZodOptional<z.ZodString>;
116
116
  updatedAt: z.ZodOptional<z.ZodString>;
117
117
  deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
118
+ }, {
119
+ /** Last activity time of asset */
118
120
  etag: z.ZodString;
121
+ }>, {
122
+ /** External Ids */
119
123
  extKeys: z.ZodObject<{
120
124
  extId: z.ZodOptional<z.ZodString>;
121
125
  sn: z.ZodOptional<z.ZodString>;
@@ -129,10 +133,15 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
129
133
  extId?: string | undefined;
130
134
  sn?: string | undefined;
131
135
  }>;
136
+ /** Connector Id */
132
137
  cid: z.ZodString;
138
+ /** Asset Id */
133
139
  aid: z.ZodString;
140
+ /** User Id */
134
141
  uid: z.ZodOptional<z.ZodString>;
142
+ /** Asset display value */
135
143
  displayValue: z.ZodString;
144
+ /** Information specific to this asset */
136
145
  meta: z.ZodObject<{
137
146
  _asset: z.ZodObject<{
138
147
  /** Asset ID from provider */
@@ -176,15 +185,15 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
176
185
  operatingSystems: {
177
186
  displayValue: string;
178
187
  }[];
179
- deviceName?: string | undefined;
188
+ make?: string | undefined;
189
+ model?: string | undefined;
180
190
  lastActivityTime?: string | undefined;
191
+ deviceName?: string | undefined;
181
192
  serialNumber?: string | undefined;
182
193
  macAddresses?: string[] | undefined;
183
194
  owner?: {
184
195
  email?: string | undefined;
185
196
  } | undefined;
186
- make?: string | undefined;
187
- model?: string | undefined;
188
197
  }, {
189
198
  extId: string;
190
199
  assetType: GlobalAssetType;
@@ -192,15 +201,15 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
192
201
  operatingSystems: {
193
202
  displayValue: string;
194
203
  }[];
195
- deviceName?: string | undefined;
204
+ make?: string | undefined;
205
+ model?: string | undefined;
196
206
  lastActivityTime?: string | undefined;
207
+ deviceName?: string | undefined;
197
208
  serialNumber?: string | undefined;
198
209
  macAddresses?: string[] | undefined;
199
210
  owner?: {
200
211
  email?: string | undefined;
201
212
  } | undefined;
202
- make?: string | undefined;
203
- model?: string | undefined;
204
213
  }>;
205
214
  _raw: z.ZodUnknown;
206
215
  }, "strip", z.ZodTypeAny, {
@@ -211,15 +220,15 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
211
220
  operatingSystems: {
212
221
  displayValue: string;
213
222
  }[];
214
- deviceName?: string | undefined;
223
+ make?: string | undefined;
224
+ model?: string | undefined;
215
225
  lastActivityTime?: string | undefined;
226
+ deviceName?: string | undefined;
216
227
  serialNumber?: string | undefined;
217
228
  macAddresses?: string[] | undefined;
218
229
  owner?: {
219
230
  email?: string | undefined;
220
231
  } | undefined;
221
- make?: string | undefined;
222
- model?: string | undefined;
223
232
  };
224
233
  _raw?: unknown;
225
234
  }, {
@@ -230,19 +239,19 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
230
239
  operatingSystems: {
231
240
  displayValue: string;
232
241
  }[];
233
- deviceName?: string | undefined;
242
+ make?: string | undefined;
243
+ model?: string | undefined;
234
244
  lastActivityTime?: string | undefined;
245
+ deviceName?: string | undefined;
235
246
  serialNumber?: string | undefined;
236
247
  macAddresses?: string[] | undefined;
237
248
  owner?: {
238
249
  email?: string | undefined;
239
250
  } | undefined;
240
- make?: string | undefined;
241
- model?: string | undefined;
242
251
  };
243
252
  _raw?: unknown;
244
253
  }>;
245
- }, "strip", z.ZodTypeAny, {
254
+ }>, "strip", z.ZodTypeAny, {
246
255
  cid: string;
247
256
  aid: string;
248
257
  etag: string;
@@ -260,23 +269,23 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
260
269
  operatingSystems: {
261
270
  displayValue: string;
262
271
  }[];
263
- deviceName?: string | undefined;
272
+ make?: string | undefined;
273
+ model?: string | undefined;
264
274
  lastActivityTime?: string | undefined;
275
+ deviceName?: string | undefined;
265
276
  serialNumber?: string | undefined;
266
277
  macAddresses?: string[] | undefined;
267
278
  owner?: {
268
279
  email?: string | undefined;
269
280
  } | undefined;
270
- make?: string | undefined;
271
- model?: string | undefined;
272
281
  };
273
282
  _raw?: unknown;
274
283
  };
275
284
  id?: string | undefined;
285
+ uid?: string | undefined;
276
286
  createdAt?: string | undefined;
277
287
  updatedAt?: string | undefined;
278
288
  deletedAt?: string | null | undefined;
279
- uid?: string | undefined;
280
289
  }, {
281
290
  cid: string;
282
291
  aid: string;
@@ -295,30 +304,35 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<{
295
304
  operatingSystems: {
296
305
  displayValue: string;
297
306
  }[];
298
- deviceName?: string | undefined;
307
+ make?: string | undefined;
308
+ model?: string | undefined;
299
309
  lastActivityTime?: string | undefined;
310
+ deviceName?: string | undefined;
300
311
  serialNumber?: string | undefined;
301
312
  macAddresses?: string[] | undefined;
302
313
  owner?: {
303
314
  email?: string | undefined;
304
315
  } | undefined;
305
- make?: string | undefined;
306
- model?: string | undefined;
307
316
  };
308
317
  _raw?: unknown;
309
318
  };
310
319
  id?: string | undefined;
320
+ uid?: string | undefined;
311
321
  createdAt?: string | undefined;
312
322
  updatedAt?: string | undefined;
313
323
  deletedAt?: string | null | undefined;
314
- uid?: string | undefined;
315
324
  }>;
316
325
  export type SaasAssetUpsertDto = z.infer<typeof _SaasAssetUpsertDto>;
317
- export declare const _SaasAssetDto: z.ZodObject<{
318
- cid: z.ZodString;
319
- uid: z.ZodOptional<z.ZodString>;
320
- aid: z.ZodString;
321
- displayValue: z.ZodString;
326
+ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
327
+ id: z.ZodOptional<z.ZodString>;
328
+ createdAt: z.ZodOptional<z.ZodString>;
329
+ updatedAt: z.ZodOptional<z.ZodString>;
330
+ deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
331
+ }, {
332
+ /** Last activity time of asset */
333
+ etag: z.ZodString;
334
+ }>, {
335
+ /** External Ids */
322
336
  extKeys: z.ZodObject<{
323
337
  extId: z.ZodOptional<z.ZodString>;
324
338
  sn: z.ZodOptional<z.ZodString>;
@@ -332,6 +346,15 @@ export declare const _SaasAssetDto: z.ZodObject<{
332
346
  extId?: string | undefined;
333
347
  sn?: string | undefined;
334
348
  }>;
349
+ /** Connector Id */
350
+ cid: z.ZodString;
351
+ /** Asset Id */
352
+ aid: z.ZodString;
353
+ /** User Id */
354
+ uid: z.ZodOptional<z.ZodString>;
355
+ /** Asset display value */
356
+ displayValue: z.ZodString;
357
+ /** Information specific to this asset */
335
358
  meta: z.ZodObject<{
336
359
  _asset: z.ZodObject<{
337
360
  /** Asset ID from provider */
@@ -375,15 +398,15 @@ export declare const _SaasAssetDto: z.ZodObject<{
375
398
  operatingSystems: {
376
399
  displayValue: string;
377
400
  }[];
378
- deviceName?: string | undefined;
401
+ make?: string | undefined;
402
+ model?: string | undefined;
379
403
  lastActivityTime?: string | undefined;
404
+ deviceName?: string | undefined;
380
405
  serialNumber?: string | undefined;
381
406
  macAddresses?: string[] | undefined;
382
407
  owner?: {
383
408
  email?: string | undefined;
384
409
  } | undefined;
385
- make?: string | undefined;
386
- model?: string | undefined;
387
410
  }, {
388
411
  extId: string;
389
412
  assetType: GlobalAssetType;
@@ -391,15 +414,15 @@ export declare const _SaasAssetDto: z.ZodObject<{
391
414
  operatingSystems: {
392
415
  displayValue: string;
393
416
  }[];
394
- deviceName?: string | undefined;
417
+ make?: string | undefined;
418
+ model?: string | undefined;
395
419
  lastActivityTime?: string | undefined;
420
+ deviceName?: string | undefined;
396
421
  serialNumber?: string | undefined;
397
422
  macAddresses?: string[] | undefined;
398
423
  owner?: {
399
424
  email?: string | undefined;
400
425
  } | undefined;
401
- make?: string | undefined;
402
- model?: string | undefined;
403
426
  }>;
404
427
  _raw: z.ZodUnknown;
405
428
  }, "strip", z.ZodTypeAny, {
@@ -410,15 +433,15 @@ export declare const _SaasAssetDto: z.ZodObject<{
410
433
  operatingSystems: {
411
434
  displayValue: string;
412
435
  }[];
413
- deviceName?: string | undefined;
436
+ make?: string | undefined;
437
+ model?: string | undefined;
414
438
  lastActivityTime?: string | undefined;
439
+ deviceName?: string | undefined;
415
440
  serialNumber?: string | undefined;
416
441
  macAddresses?: string[] | undefined;
417
442
  owner?: {
418
443
  email?: string | undefined;
419
444
  } | undefined;
420
- make?: string | undefined;
421
- model?: string | undefined;
422
445
  };
423
446
  _raw?: unknown;
424
447
  }, {
@@ -429,24 +452,27 @@ export declare const _SaasAssetDto: z.ZodObject<{
429
452
  operatingSystems: {
430
453
  displayValue: string;
431
454
  }[];
432
- deviceName?: string | undefined;
455
+ make?: string | undefined;
456
+ model?: string | undefined;
433
457
  lastActivityTime?: string | undefined;
458
+ deviceName?: string | undefined;
434
459
  serialNumber?: string | undefined;
435
460
  macAddresses?: string[] | undefined;
436
461
  owner?: {
437
462
  email?: string | undefined;
438
463
  } | undefined;
439
- make?: string | undefined;
440
- model?: string | undefined;
441
464
  };
442
465
  _raw?: unknown;
443
466
  }>;
467
+ }>, z.objectUtil.extendShape<{
444
468
  id: z.ZodString;
445
469
  createdAt: z.ZodString;
446
470
  updatedAt: z.ZodString;
447
471
  deletedAt: z.ZodNullable<z.ZodString>;
472
+ }, {
473
+ /** Last activity time of asset */
448
474
  etag: z.ZodString;
449
- }, "strip", z.ZodTypeAny, {
475
+ }>>, "strip", z.ZodTypeAny, {
450
476
  id: string;
451
477
  cid: string;
452
478
  aid: string;
@@ -468,15 +494,15 @@ export declare const _SaasAssetDto: z.ZodObject<{
468
494
  operatingSystems: {
469
495
  displayValue: string;
470
496
  }[];
471
- deviceName?: string | undefined;
497
+ make?: string | undefined;
498
+ model?: string | undefined;
472
499
  lastActivityTime?: string | undefined;
500
+ deviceName?: string | undefined;
473
501
  serialNumber?: string | undefined;
474
502
  macAddresses?: string[] | undefined;
475
503
  owner?: {
476
504
  email?: string | undefined;
477
505
  } | undefined;
478
- make?: string | undefined;
479
- model?: string | undefined;
480
506
  };
481
507
  _raw?: unknown;
482
508
  };
@@ -503,15 +529,15 @@ export declare const _SaasAssetDto: z.ZodObject<{
503
529
  operatingSystems: {
504
530
  displayValue: string;
505
531
  }[];
506
- deviceName?: string | undefined;
532
+ make?: string | undefined;
533
+ model?: string | undefined;
507
534
  lastActivityTime?: string | undefined;
535
+ deviceName?: string | undefined;
508
536
  serialNumber?: string | undefined;
509
537
  macAddresses?: string[] | undefined;
510
538
  owner?: {
511
539
  email?: string | undefined;
512
540
  } | undefined;
513
- make?: string | undefined;
514
- model?: string | undefined;
515
541
  };
516
542
  _raw?: unknown;
517
543
  };