@ampsec/platform-client 62.4.0 → 62.6.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.
@@ -74,6 +74,23 @@ export declare const _UserCoverageSummary: z.ZodObject<{
74
74
  active: z.ZodOptional<z.ZodBoolean>;
75
75
  lastActivity: z.ZodOptional<z.ZodString>;
76
76
  name: z.ZodOptional<z.ZodString>;
77
+ mfaEnabled: z.ZodOptional<z.ZodBoolean>;
78
+ mfaFactors: z.ZodOptional<z.ZodArray<z.ZodObject<{
79
+ cid: z.ZodOptional<z.ZodString>;
80
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
81
+ vendorName: z.ZodOptional<z.ZodString>;
82
+ factorType: z.ZodOptional<z.ZodString>;
83
+ }, "strip", z.ZodString, z.objectOutputType<{
84
+ cid: z.ZodOptional<z.ZodString>;
85
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
86
+ vendorName: z.ZodOptional<z.ZodString>;
87
+ factorType: z.ZodOptional<z.ZodString>;
88
+ }, z.ZodString, "strip">, z.objectInputType<{
89
+ cid: z.ZodOptional<z.ZodString>;
90
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
91
+ vendorName: z.ZodOptional<z.ZodString>;
92
+ factorType: z.ZodOptional<z.ZodString>;
93
+ }, z.ZodString, "strip">>, "many">>;
77
94
  notifications: z.ZodOptional<z.ZodNumber>;
78
95
  userAccounts: z.ZodRecord<z.ZodString, z.ZodNumber>;
79
96
  userAccounts2: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
@@ -162,6 +179,13 @@ export declare const _UserCoverageSummary: z.ZodObject<{
162
179
  active?: boolean | undefined;
163
180
  lastActivity?: string | undefined;
164
181
  name?: string | undefined;
182
+ mfaEnabled?: boolean | undefined;
183
+ mfaFactors?: z.objectOutputType<{
184
+ cid: z.ZodOptional<z.ZodString>;
185
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
186
+ vendorName: z.ZodOptional<z.ZodString>;
187
+ factorType: z.ZodOptional<z.ZodString>;
188
+ }, z.ZodString, "strip">[] | undefined;
165
189
  notifications?: number | undefined;
166
190
  }, {
167
191
  assetAccounts: Record<string, number>;
@@ -194,6 +218,13 @@ export declare const _UserCoverageSummary: z.ZodObject<{
194
218
  active?: boolean | undefined;
195
219
  lastActivity?: string | undefined;
196
220
  name?: string | undefined;
221
+ mfaEnabled?: boolean | undefined;
222
+ mfaFactors?: z.objectInputType<{
223
+ cid: z.ZodOptional<z.ZodString>;
224
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
225
+ vendorName: z.ZodOptional<z.ZodString>;
226
+ factorType: z.ZodOptional<z.ZodString>;
227
+ }, z.ZodString, "strip">[] | undefined;
197
228
  notifications?: number | undefined;
198
229
  }>;
199
230
  export type UserCoverageSummary = z.infer<typeof _UserCoverageSummary>;
@@ -218,7 +249,22 @@ export declare const _UserCoverageReport: z.ZodObject<{
218
249
  groups: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
219
250
  created: z.ZodOptional<z.ZodString>;
220
251
  lastActivityTime: z.ZodOptional<z.ZodString>;
221
- factors: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodString>, "many">>;
252
+ factors: z.ZodOptional<z.ZodArray<z.ZodObject<{
253
+ cid: z.ZodOptional<z.ZodString>;
254
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
255
+ vendorName: z.ZodOptional<z.ZodString>;
256
+ factorType: z.ZodOptional<z.ZodString>;
257
+ }, "strip", z.ZodString, z.objectOutputType<{
258
+ cid: z.ZodOptional<z.ZodString>;
259
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
260
+ vendorName: z.ZodOptional<z.ZodString>;
261
+ factorType: z.ZodOptional<z.ZodString>;
262
+ }, z.ZodString, "strip">, z.objectInputType<{
263
+ cid: z.ZodOptional<z.ZodString>;
264
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
265
+ vendorName: z.ZodOptional<z.ZodString>;
266
+ factorType: z.ZodOptional<z.ZodString>;
267
+ }, z.ZodString, "strip">>, "many">>;
222
268
  profile: z.ZodObject<{
223
269
  firstName: z.ZodString;
224
270
  lastName: z.ZodString;
@@ -294,7 +340,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
294
340
  groups?: Record<string, string> | undefined;
295
341
  created?: string | undefined;
296
342
  lastActivityTime?: string | undefined;
297
- factors?: Record<string, string>[] | undefined;
343
+ factors?: z.objectOutputType<{
344
+ cid: z.ZodOptional<z.ZodString>;
345
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
346
+ vendorName: z.ZodOptional<z.ZodString>;
347
+ factorType: z.ZodOptional<z.ZodString>;
348
+ }, z.ZodString, "strip">[] | undefined;
298
349
  }, {
299
350
  profile: {
300
351
  email: string;
@@ -316,7 +367,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
316
367
  groups?: Record<string, string> | undefined;
317
368
  created?: string | undefined;
318
369
  lastActivityTime?: string | undefined;
319
- factors?: Record<string, string>[] | undefined;
370
+ factors?: z.objectInputType<{
371
+ cid: z.ZodOptional<z.ZodString>;
372
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
373
+ vendorName: z.ZodOptional<z.ZodString>;
374
+ factorType: z.ZodOptional<z.ZodString>;
375
+ }, z.ZodString, "strip">[] | undefined;
320
376
  }>;
321
377
  _raw: z.ZodUnknown;
322
378
  }, "strip", z.ZodTypeAny, {
@@ -341,7 +397,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
341
397
  groups?: Record<string, string> | undefined;
342
398
  created?: string | undefined;
343
399
  lastActivityTime?: string | undefined;
344
- factors?: Record<string, string>[] | undefined;
400
+ factors?: z.objectOutputType<{
401
+ cid: z.ZodOptional<z.ZodString>;
402
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
403
+ vendorName: z.ZodOptional<z.ZodString>;
404
+ factorType: z.ZodOptional<z.ZodString>;
405
+ }, z.ZodString, "strip">[] | undefined;
345
406
  };
346
407
  _raw?: unknown;
347
408
  }, {
@@ -366,7 +427,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
366
427
  groups?: Record<string, string> | undefined;
367
428
  created?: string | undefined;
368
429
  lastActivityTime?: string | undefined;
369
- factors?: Record<string, string>[] | undefined;
430
+ factors?: z.objectInputType<{
431
+ cid: z.ZodOptional<z.ZodString>;
432
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
433
+ vendorName: z.ZodOptional<z.ZodString>;
434
+ factorType: z.ZodOptional<z.ZodString>;
435
+ }, z.ZodString, "strip">[] | undefined;
370
436
  };
371
437
  _raw?: unknown;
372
438
  }>;
@@ -407,7 +473,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
407
473
  groups?: Record<string, string> | undefined;
408
474
  created?: string | undefined;
409
475
  lastActivityTime?: string | undefined;
410
- factors?: Record<string, string>[] | undefined;
476
+ factors?: z.objectOutputType<{
477
+ cid: z.ZodOptional<z.ZodString>;
478
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
479
+ vendorName: z.ZodOptional<z.ZodString>;
480
+ factorType: z.ZodOptional<z.ZodString>;
481
+ }, z.ZodString, "strip">[] | undefined;
411
482
  };
412
483
  _raw?: unknown;
413
484
  };
@@ -443,7 +514,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
443
514
  groups?: Record<string, string> | undefined;
444
515
  created?: string | undefined;
445
516
  lastActivityTime?: string | undefined;
446
- factors?: Record<string, string>[] | undefined;
517
+ factors?: z.objectInputType<{
518
+ cid: z.ZodOptional<z.ZodString>;
519
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
520
+ vendorName: z.ZodOptional<z.ZodString>;
521
+ factorType: z.ZodOptional<z.ZodString>;
522
+ }, z.ZodString, "strip">[] | undefined;
447
523
  };
448
524
  _raw?: unknown;
449
525
  };
@@ -747,7 +823,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
747
823
  groups?: Record<string, string> | undefined;
748
824
  created?: string | undefined;
749
825
  lastActivityTime?: string | undefined;
750
- factors?: Record<string, string>[] | undefined;
826
+ factors?: z.objectOutputType<{
827
+ cid: z.ZodOptional<z.ZodString>;
828
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
829
+ vendorName: z.ZodOptional<z.ZodString>;
830
+ factorType: z.ZodOptional<z.ZodString>;
831
+ }, z.ZodString, "strip">[] | undefined;
751
832
  };
752
833
  _raw?: unknown;
753
834
  };
@@ -844,7 +925,12 @@ export declare const _UserCoverageReport: z.ZodObject<{
844
925
  groups?: Record<string, string> | undefined;
845
926
  created?: string | undefined;
846
927
  lastActivityTime?: string | undefined;
847
- factors?: Record<string, string>[] | undefined;
928
+ factors?: z.objectInputType<{
929
+ cid: z.ZodOptional<z.ZodString>;
930
+ status: z.ZodOptional<z.ZodUnion<[z.ZodLiteral<"ACTIVE">, z.ZodString]>>;
931
+ vendorName: z.ZodOptional<z.ZodString>;
932
+ factorType: z.ZodOptional<z.ZodString>;
933
+ }, z.ZodString, "strip">[] | undefined;
848
934
  };
849
935
  _raw?: unknown;
850
936
  };
@@ -19,6 +19,8 @@ exports._AssetCoverageSummary = assets_dto_1._SummaryAssetDto.merge(zod_1.z.obje
19
19
  }));
20
20
  exports._UserCoverageSummary = users_dto_1._SimpleUserDto.merge(zod_1.z.object({
21
21
  name: zod_1.z.string().optional(),
22
+ mfaEnabled: zod_1.z.boolean().optional(),
23
+ mfaFactors: zod_1.z.array(saasUsers_dto_1._MfaFactorDto).optional(),
22
24
  notifications: zod_1.z.number().optional(),
23
25
  /** @deprecated */
24
26
  userAccounts: zod_1.z.record(zod_1.z.number()),
@@ -1 +1 @@
1
- {"version":3,"file":"coverage.dto.js","sourceRoot":"","sources":["../../../src/dto/coverage.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,6CAAyD;AACzD,qDAA+C;AAC/C,mDAA6C;AAC7C,2CAA2C;AAE9B,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE;CACpB,CAAC,CAAC;AAGU,QAAA,mBAAmB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC1C,MAAM,EAAE,OAAC,CAAC,OAAO,EAAE;CACpB,CAAC,CAAC;AAGU,QAAA,qBAAqB,GAAG,6BAAgB,CAAC,KAAK,CACzD,OAAC,CAAC,MAAM,CAAC;IACP,kBAAkB;IAClB,aAAa,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,OAAO,EAAE,CAAC;IACpC,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,KAAK,CAAC,4BAAoB,CAAC,CAAC;CACxD,CAAC,CACH,CAAC;AAGW,QAAA,oBAAoB,GAAG,0BAAc,CAAC,KAAK,CACtD,OAAC,CAAC,MAAM,CAAC;IACP,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,kBAAkB;IAClB,YAAY,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;IAClC,aAAa,EAAE,OAAC,CAAC,MAAM,CAAC,OAAC,CAAC,KAAK,CAAC,2BAAmB,CAAC,CAAC;IACrD,kBAAkB;IAClB,aAAa,EAAE,OAAC,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