@ampsec/platform-client 87.8.4 → 87.10.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.
@@ -1,5 +1,6 @@
1
1
  import { z } from 'zod';
2
2
  import { GlobalAssetType } from './enums/globalAsset.type';
3
+ import { SaasAssetAttributionReason, SaasAssetAttributionStatus } from './saasAssets.dto';
3
4
  export declare const _SimpleAssetDto: z.ZodObject<{
4
5
  /** Id of the asset */
5
6
  id: z.ZodOptional<z.ZodString>;
@@ -26,28 +27,34 @@ export declare const _SummaryAssetDto: z.ZodObject<{
26
27
  os: z.ZodOptional<z.ZodString>;
27
28
  make: z.ZodOptional<z.ZodString>;
28
29
  model: z.ZodOptional<z.ZodString>;
30
+ attributionStatus: z.ZodOptional<z.ZodNativeEnum<typeof SaasAssetAttributionStatus>>;
31
+ attributionReason: z.ZodOptional<z.ZodNativeEnum<typeof SaasAssetAttributionReason>>;
29
32
  }, "strip", z.ZodTypeAny, {
30
33
  id?: string | undefined;
31
34
  uid?: string | undefined;
32
35
  sn?: string | undefined;
33
36
  hostname?: string | undefined;
34
37
  displayValue?: string | undefined;
38
+ make?: string | undefined;
39
+ model?: string | undefined;
35
40
  maxSeverity?: string | undefined;
36
41
  lastCheckinTs?: string | undefined;
37
42
  os?: string | undefined;
38
- make?: string | undefined;
39
- model?: string | undefined;
43
+ attributionStatus?: SaasAssetAttributionStatus | undefined;
44
+ attributionReason?: SaasAssetAttributionReason | undefined;
40
45
  }, {
41
46
  id?: string | undefined;
42
47
  uid?: string | undefined;
43
48
  sn?: string | undefined;
44
49
  hostname?: string | undefined;
45
50
  displayValue?: string | undefined;
51
+ make?: string | undefined;
52
+ model?: string | undefined;
46
53
  maxSeverity?: string | undefined;
47
54
  lastCheckinTs?: string | undefined;
48
55
  os?: string | undefined;
49
- make?: string | undefined;
50
- model?: string | undefined;
56
+ attributionStatus?: SaasAssetAttributionStatus | undefined;
57
+ attributionReason?: SaasAssetAttributionReason | undefined;
51
58
  }>;
52
59
  export type SummaryAssetDto = z.infer<typeof _SummaryAssetDto>;
53
60
  export declare const _AssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
@@ -5,6 +5,7 @@ const zod_1 = require("zod");
5
5
  const assetKeys_1 = require("./assetKeys");
6
6
  const base_dto_1 = require("./base.dto");
7
7
  const globalAsset_type_1 = require("./enums/globalAsset.type");
8
+ const saasAssets_dto_1 = require("./saasAssets.dto");
8
9
  exports._SimpleAssetDto = zod_1.z.object({
9
10
  /** Id of the asset */
10
11
  id: zod_1.z.string().optional(),
@@ -24,6 +25,8 @@ exports._SummaryAssetDto = zod_1.z.object({
24
25
  os: zod_1.z.string().optional(),
25
26
  make: zod_1.z.string().optional(),
26
27
  model: zod_1.z.string().optional(),
28
+ attributionStatus: zod_1.z.nativeEnum(saasAssets_dto_1.SaasAssetAttributionStatus).optional(),
29
+ attributionReason: zod_1.z.nativeEnum(saasAssets_dto_1.SaasAssetAttributionReason).optional(),
27
30
  });
28
31
  exports._AssetUpsertDto = base_dto_1._ChangeAwareUpsertDto.merge(zod_1.z.object({
29
32
  /** External Keys */
@@ -1 +1 @@
1
- {"version":3,"file":"assets.dto.js","sourceRoot":"","sources":["../../../src/dto/assets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAClE,+DAAyD;AAE5C,QAAA,eAAe,GAAG,OAAC,CAAC,MAAM,CAAC;IACtC,sBAAsB;IACtB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,uCAAuC;IACvC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CACpC,CAAC,CAAC;AAIU,QAAA,gBAAgB,GAAG,OAAC,CAAC,MAAM,CAAC;IACvC,sBAAsB;IACtB,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,GAAG,EAAE,OAAC,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C,CAAC,QAAQ,EAAE;CACvE,CAAC,CAAC;AAGU,QAAA,eAAe,GAAG,gCAAqB,CAAC,KAAK,CACxD,OAAC,CAAC,MAAM,CAAC;IACP,oBAAoB;IACpB,OAAO,EAAE,sBAAU;IACnB,0BAA0B;IAC1B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,iCAAiC;IACjC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,iBAAiB;IACjB,SAAS,EAAE,OAAC,CAAC,UAAU,CAAC,kCAAe,CAAC,CAAC,QAAQ,EAAE;IACnD,uCAAuC;IACvC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACvC,0BAA0B;IAC1B,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,0BAA0B;IAC1B,IAAI,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC,CAAC,QAAQ,EAAE;CACrC,CAAC,CACH,CAAC;AAIW,QAAA,SAAS,GAAG,uBAAe,CAAC,KAAK,CAAC,0BAAe,CAAC,CAAC"}
@@ -27,7 +27,34 @@ export declare const _AssetCoverageSummary: z.ZodObject<z.objectUtil.extendShape
27
27
  os: z.ZodOptional<z.ZodString>;
28
28
  make: z.ZodOptional<z.ZodString>;
29
29
  model: z.ZodOptional<z.ZodString>;
30
+ attributionStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("./saasAssets.dto").SaasAssetAttributionStatus>>;
31
+ attributionReason: z.ZodOptional<z.ZodNativeEnum<typeof import("./saasAssets.dto").SaasAssetAttributionReason>>;
30
32
  }, {
33
+ saasAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
34
+ id: z.ZodOptional<z.ZodString>;
35
+ cid: z.ZodString;
36
+ displayValue: z.ZodOptional<z.ZodString>;
37
+ uid: z.ZodOptional<z.ZodString>;
38
+ ownerEmail: z.ZodOptional<z.ZodString>;
39
+ attributionStatus: z.ZodOptional<z.ZodString>;
40
+ attributionReason: z.ZodOptional<z.ZodString>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ cid: string;
43
+ id?: string | undefined;
44
+ uid?: string | undefined;
45
+ displayValue?: string | undefined;
46
+ attributionStatus?: string | undefined;
47
+ attributionReason?: string | undefined;
48
+ ownerEmail?: string | undefined;
49
+ }, {
50
+ cid: string;
51
+ id?: string | undefined;
52
+ uid?: string | undefined;
53
+ displayValue?: string | undefined;
54
+ attributionStatus?: string | undefined;
55
+ attributionReason?: string | undefined;
56
+ ownerEmail?: string | undefined;
57
+ }>, "many">>;
31
58
  /** @deprecated */
32
59
  assetAccounts: z.ZodRecord<z.ZodString, z.ZodUnknown>;
33
60
  assetAccounts2: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
@@ -49,11 +76,22 @@ export declare const _AssetCoverageSummary: z.ZodObject<z.objectUtil.extendShape
49
76
  sn?: string | undefined;
50
77
  hostname?: string | undefined;
51
78
  displayValue?: string | undefined;
79
+ make?: string | undefined;
80
+ model?: string | undefined;
52
81
  maxSeverity?: string | undefined;
53
82
  lastCheckinTs?: string | undefined;
54
83
  os?: string | undefined;
55
- make?: string | undefined;
56
- model?: string | undefined;
84
+ attributionStatus?: import("./saasAssets.dto").SaasAssetAttributionStatus | undefined;
85
+ attributionReason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
86
+ saasAssets?: {
87
+ cid: string;
88
+ id?: string | undefined;
89
+ uid?: string | undefined;
90
+ displayValue?: string | undefined;
91
+ attributionStatus?: string | undefined;
92
+ attributionReason?: string | undefined;
93
+ ownerEmail?: string | undefined;
94
+ }[] | undefined;
57
95
  }, {
58
96
  assetAccounts: Record<string, unknown>;
59
97
  assetAccounts2: Record<string, {
@@ -65,11 +103,22 @@ export declare const _AssetCoverageSummary: z.ZodObject<z.objectUtil.extendShape
65
103
  sn?: string | undefined;
66
104
  hostname?: string | undefined;
67
105
  displayValue?: string | undefined;
106
+ make?: string | undefined;
107
+ model?: string | undefined;
68
108
  maxSeverity?: string | undefined;
69
109
  lastCheckinTs?: string | undefined;
70
110
  os?: string | undefined;
71
- make?: string | undefined;
72
- model?: string | undefined;
111
+ attributionStatus?: import("./saasAssets.dto").SaasAssetAttributionStatus | undefined;
112
+ attributionReason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
113
+ saasAssets?: {
114
+ cid: string;
115
+ id?: string | undefined;
116
+ uid?: string | undefined;
117
+ displayValue?: string | undefined;
118
+ attributionStatus?: string | undefined;
119
+ attributionReason?: string | undefined;
120
+ ownerEmail?: string | undefined;
121
+ }[] | undefined;
73
122
  }>;
74
123
  export type AssetCoverageSummary = z.infer<typeof _AssetCoverageSummary>;
75
124
  export declare const _MfaSummary: z.ZodObject<{
@@ -316,7 +365,34 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
316
365
  os: z.ZodOptional<z.ZodString>;
317
366
  make: z.ZodOptional<z.ZodString>;
318
367
  model: z.ZodOptional<z.ZodString>;
368
+ attributionStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("./saasAssets.dto").SaasAssetAttributionStatus>>;
369
+ attributionReason: z.ZodOptional<z.ZodNativeEnum<typeof import("./saasAssets.dto").SaasAssetAttributionReason>>;
319
370
  }, {
371
+ saasAssets: z.ZodOptional<z.ZodArray<z.ZodObject<{
372
+ id: z.ZodOptional<z.ZodString>;
373
+ cid: z.ZodString;
374
+ displayValue: z.ZodOptional<z.ZodString>;
375
+ uid: z.ZodOptional<z.ZodString>;
376
+ ownerEmail: z.ZodOptional<z.ZodString>;
377
+ attributionStatus: z.ZodOptional<z.ZodString>;
378
+ attributionReason: z.ZodOptional<z.ZodString>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ cid: string;
381
+ id?: string | undefined;
382
+ uid?: string | undefined;
383
+ displayValue?: string | undefined;
384
+ attributionStatus?: string | undefined;
385
+ attributionReason?: string | undefined;
386
+ ownerEmail?: string | undefined;
387
+ }, {
388
+ cid: string;
389
+ id?: string | undefined;
390
+ uid?: string | undefined;
391
+ displayValue?: string | undefined;
392
+ attributionStatus?: string | undefined;
393
+ attributionReason?: string | undefined;
394
+ ownerEmail?: string | undefined;
395
+ }>, "many">>;
320
396
  /** @deprecated */
321
397
  assetAccounts: z.ZodRecord<z.ZodString, z.ZodUnknown>;
322
398
  assetAccounts2: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
@@ -338,11 +414,22 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
338
414
  sn?: string | undefined;
339
415
  hostname?: string | undefined;
340
416
  displayValue?: string | undefined;
417
+ make?: string | undefined;
418
+ model?: string | undefined;
341
419
  maxSeverity?: string | undefined;
342
420
  lastCheckinTs?: string | undefined;
343
421
  os?: string | undefined;
344
- make?: string | undefined;
345
- model?: string | undefined;
422
+ attributionStatus?: import("./saasAssets.dto").SaasAssetAttributionStatus | undefined;
423
+ attributionReason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
424
+ saasAssets?: {
425
+ cid: string;
426
+ id?: string | undefined;
427
+ uid?: string | undefined;
428
+ displayValue?: string | undefined;
429
+ attributionStatus?: string | undefined;
430
+ attributionReason?: string | undefined;
431
+ ownerEmail?: string | undefined;
432
+ }[] | undefined;
346
433
  }, {
347
434
  assetAccounts: Record<string, unknown>;
348
435
  assetAccounts2: Record<string, {
@@ -354,11 +441,22 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
354
441
  sn?: string | undefined;
355
442
  hostname?: string | undefined;
356
443
  displayValue?: string | undefined;
444
+ make?: string | undefined;
445
+ model?: string | undefined;
357
446
  maxSeverity?: string | undefined;
358
447
  lastCheckinTs?: string | undefined;
359
448
  os?: string | undefined;
360
- make?: string | undefined;
361
- model?: string | undefined;
449
+ attributionStatus?: import("./saasAssets.dto").SaasAssetAttributionStatus | undefined;
450
+ attributionReason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
451
+ saasAssets?: {
452
+ cid: string;
453
+ id?: string | undefined;
454
+ uid?: string | undefined;
455
+ displayValue?: string | undefined;
456
+ attributionStatus?: string | undefined;
457
+ attributionReason?: string | undefined;
458
+ ownerEmail?: string | undefined;
459
+ }[] | undefined;
362
460
  }>, "many">;
363
461
  }>, "strip", z.ZodTypeAny, {
364
462
  assetAccounts: Record<string, number>;
@@ -377,23 +475,29 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
377
475
  sn?: string | undefined;
378
476
  hostname?: string | undefined;
379
477
  displayValue?: string | undefined;
478
+ make?: string | undefined;
479
+ model?: string | undefined;
380
480
  maxSeverity?: string | undefined;
381
481
  lastCheckinTs?: string | undefined;
382
482
  os?: string | undefined;
383
- make?: string | undefined;
384
- model?: string | undefined;
483
+ attributionStatus?: import("./saasAssets.dto").SaasAssetAttributionStatus | undefined;
484
+ attributionReason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
485
+ saasAssets?: {
486
+ cid: string;
487
+ id?: string | undefined;
488
+ uid?: string | undefined;
489
+ displayValue?: string | undefined;
490
+ attributionStatus?: string | undefined;
491
+ attributionReason?: string | undefined;
492
+ ownerEmail?: string | undefined;
493
+ }[] | undefined;
385
494
  }[];
386
495
  name?: string | undefined;
387
496
  email?: string | undefined;
388
497
  id?: string | undefined;
389
498
  organization?: string | undefined;
390
499
  department?: string | undefined;
391
- score?: number | undefined;
392
- firstName?: string | undefined;
393
- lastName?: string | undefined;
394
- title?: string | undefined;
395
500
  active?: boolean | undefined;
396
- lastActivity?: string | undefined;
397
501
  meta?: {
398
502
  _profile: {
399
503
  timeZoneInfo?: {
@@ -403,6 +507,11 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
403
507
  } | undefined;
404
508
  };
405
509
  } | undefined;
510
+ score?: number | undefined;
511
+ firstName?: string | undefined;
512
+ lastName?: string | undefined;
513
+ title?: string | undefined;
514
+ lastActivity?: string | undefined;
406
515
  mfaStatus?: MfaStatus | undefined;
407
516
  mfaRating?: "UNKNOWN" | "SECURE" | "INSECURE" | "MISSING" | undefined;
408
517
  mfaFactors?: z.objectOutputType<{
@@ -454,23 +563,29 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
454
563
  sn?: string | undefined;
455
564
  hostname?: string | undefined;
456
565
  displayValue?: string | undefined;
566
+ make?: string | undefined;
567
+ model?: string | undefined;
457
568
  maxSeverity?: string | undefined;
458
569
  lastCheckinTs?: string | undefined;
459
570
  os?: string | undefined;
460
- make?: string | undefined;
461
- model?: string | undefined;
571
+ attributionStatus?: import("./saasAssets.dto").SaasAssetAttributionStatus | undefined;
572
+ attributionReason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
573
+ saasAssets?: {
574
+ cid: string;
575
+ id?: string | undefined;
576
+ uid?: string | undefined;
577
+ displayValue?: string | undefined;
578
+ attributionStatus?: string | undefined;
579
+ attributionReason?: string | undefined;
580
+ ownerEmail?: string | undefined;
581
+ }[] | undefined;
462
582
  }[];
463
583
  name?: string | undefined;
464
584
  email?: string | undefined;
465
585
  id?: string | undefined;
466
586
  organization?: string | undefined;
467
587
  department?: string | undefined;
468
- score?: number | undefined;
469
- firstName?: string | undefined;
470
- lastName?: string | undefined;
471
- title?: string | undefined;
472
588
  active?: boolean | undefined;
473
- lastActivity?: string | undefined;
474
589
  meta?: {
475
590
  _profile: {
476
591
  timeZoneInfo?: {
@@ -480,6 +595,11 @@ export declare const _UserCoverageSummary: z.ZodObject<z.objectUtil.extendShape<
480
595
  } | undefined;
481
596
  };
482
597
  } | undefined;
598
+ score?: number | undefined;
599
+ firstName?: string | undefined;
600
+ lastName?: string | undefined;
601
+ title?: string | undefined;
602
+ lastActivity?: string | undefined;
483
603
  mfaStatus?: MfaStatus | undefined;
484
604
  mfaRating?: "UNKNOWN" | "SECURE" | "INSECURE" | "MISSING" | undefined;
485
605
  mfaFactors?: z.objectInputType<{
@@ -953,7 +1073,6 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
953
1073
  sn?: string | undefined;
954
1074
  hostname?: string | undefined;
955
1075
  }>;
956
- /** @deprecated */
957
1076
  cid: z.ZodString;
958
1077
  aid: z.ZodString;
959
1078
  uid: z.ZodOptional<z.ZodString>;
@@ -990,6 +1109,19 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
990
1109
  make: z.ZodOptional<z.ZodString>;
991
1110
  model: z.ZodOptional<z.ZodString>;
992
1111
  active: z.ZodOptional<z.ZodBoolean>;
1112
+ attribution: z.ZodOptional<z.ZodObject<{
1113
+ status: z.ZodNativeEnum<typeof import("./saasAssets.dto").SaasAssetAttributionStatus>;
1114
+ reason: z.ZodOptional<z.ZodNativeEnum<typeof import("./saasAssets.dto").SaasAssetAttributionReason>>;
1115
+ updatedAt: z.ZodOptional<z.ZodString>;
1116
+ }, "strip", z.ZodTypeAny, {
1117
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1118
+ updatedAt?: string | undefined;
1119
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1120
+ }, {
1121
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1122
+ updatedAt?: string | undefined;
1123
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1124
+ }>>;
993
1125
  }, "strip", z.ZodTypeAny, {
994
1126
  extId: string;
995
1127
  assetType: import("./enums").GlobalAssetType;
@@ -1000,15 +1132,20 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1000
1132
  }[];
1001
1133
  sn?: string | undefined;
1002
1134
  macs?: string[] | undefined;
1003
- make?: string | undefined;
1004
- model?: string | undefined;
1005
- lastActivityTime?: string | undefined;
1006
- active?: boolean | undefined;
1007
1135
  deviceName?: string | undefined;
1136
+ lastActivityTime?: string | undefined;
1008
1137
  activeStatus?: import("./saasAssets.dto").SaasAssetActiveStatus | undefined;
1009
1138
  owner?: {
1010
1139
  email?: string | undefined;
1011
1140
  } | undefined;
1141
+ make?: string | undefined;
1142
+ model?: string | undefined;
1143
+ active?: boolean | undefined;
1144
+ attribution?: {
1145
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1146
+ updatedAt?: string | undefined;
1147
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1148
+ } | undefined;
1012
1149
  }, {
1013
1150
  extId: string;
1014
1151
  assetType: import("./enums").GlobalAssetType;
@@ -1019,15 +1156,20 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1019
1156
  }[];
1020
1157
  sn?: string | undefined;
1021
1158
  macs?: string[] | undefined;
1022
- make?: string | undefined;
1023
- model?: string | undefined;
1024
- lastActivityTime?: string | undefined;
1025
- active?: boolean | undefined;
1026
1159
  deviceName?: string | undefined;
1160
+ lastActivityTime?: string | undefined;
1027
1161
  activeStatus?: import("./saasAssets.dto").SaasAssetActiveStatus | undefined;
1028
1162
  owner?: {
1029
1163
  email?: string | undefined;
1030
1164
  } | undefined;
1165
+ make?: string | undefined;
1166
+ model?: string | undefined;
1167
+ active?: boolean | undefined;
1168
+ attribution?: {
1169
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1170
+ updatedAt?: string | undefined;
1171
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1172
+ } | undefined;
1031
1173
  }>;
1032
1174
  _raw: z.ZodUnknown;
1033
1175
  }, "strip", z.ZodTypeAny, {
@@ -1041,15 +1183,20 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1041
1183
  }[];
1042
1184
  sn?: string | undefined;
1043
1185
  macs?: string[] | undefined;
1044
- make?: string | undefined;
1045
- model?: string | undefined;
1046
- lastActivityTime?: string | undefined;
1047
- active?: boolean | undefined;
1048
1186
  deviceName?: string | undefined;
1187
+ lastActivityTime?: string | undefined;
1049
1188
  activeStatus?: import("./saasAssets.dto").SaasAssetActiveStatus | undefined;
1050
1189
  owner?: {
1051
1190
  email?: string | undefined;
1052
1191
  } | undefined;
1192
+ make?: string | undefined;
1193
+ model?: string | undefined;
1194
+ active?: boolean | undefined;
1195
+ attribution?: {
1196
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1197
+ updatedAt?: string | undefined;
1198
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1199
+ } | undefined;
1053
1200
  };
1054
1201
  _raw?: unknown;
1055
1202
  }, {
@@ -1063,15 +1210,20 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1063
1210
  }[];
1064
1211
  sn?: string | undefined;
1065
1212
  macs?: string[] | undefined;
1066
- make?: string | undefined;
1067
- model?: string | undefined;
1068
- lastActivityTime?: string | undefined;
1069
- active?: boolean | undefined;
1070
1213
  deviceName?: string | undefined;
1214
+ lastActivityTime?: string | undefined;
1071
1215
  activeStatus?: import("./saasAssets.dto").SaasAssetActiveStatus | undefined;
1072
1216
  owner?: {
1073
1217
  email?: string | undefined;
1074
1218
  } | undefined;
1219
+ make?: string | undefined;
1220
+ model?: string | undefined;
1221
+ active?: boolean | undefined;
1222
+ attribution?: {
1223
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1224
+ updatedAt?: string | undefined;
1225
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1226
+ } | undefined;
1075
1227
  };
1076
1228
  _raw?: unknown;
1077
1229
  }>;
@@ -1108,15 +1260,20 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1108
1260
  }[];
1109
1261
  sn?: string | undefined;
1110
1262
  macs?: string[] | undefined;
1111
- make?: string | undefined;
1112
- model?: string | undefined;
1113
- lastActivityTime?: string | undefined;
1114
- active?: boolean | undefined;
1115
1263
  deviceName?: string | undefined;
1264
+ lastActivityTime?: string | undefined;
1116
1265
  activeStatus?: import("./saasAssets.dto").SaasAssetActiveStatus | undefined;
1117
1266
  owner?: {
1118
1267
  email?: string | undefined;
1119
1268
  } | undefined;
1269
+ make?: string | undefined;
1270
+ model?: string | undefined;
1271
+ active?: boolean | undefined;
1272
+ attribution?: {
1273
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1274
+ updatedAt?: string | undefined;
1275
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1276
+ } | undefined;
1120
1277
  };
1121
1278
  _raw?: unknown;
1122
1279
  };
@@ -1149,15 +1306,20 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1149
1306
  }[];
1150
1307
  sn?: string | undefined;
1151
1308
  macs?: string[] | undefined;
1152
- make?: string | undefined;
1153
- model?: string | undefined;
1154
- lastActivityTime?: string | undefined;
1155
- active?: boolean | undefined;
1156
1309
  deviceName?: string | undefined;
1310
+ lastActivityTime?: string | undefined;
1157
1311
  activeStatus?: import("./saasAssets.dto").SaasAssetActiveStatus | undefined;
1158
1312
  owner?: {
1159
1313
  email?: string | undefined;
1160
1314
  } | undefined;
1315
+ make?: string | undefined;
1316
+ model?: string | undefined;
1317
+ active?: boolean | undefined;
1318
+ attribution?: {
1319
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1320
+ updatedAt?: string | undefined;
1321
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1322
+ } | undefined;
1161
1323
  };
1162
1324
  _raw?: unknown;
1163
1325
  };
@@ -1266,15 +1428,20 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1266
1428
  }[];
1267
1429
  sn?: string | undefined;
1268
1430
  macs?: string[] | undefined;
1269
- make?: string | undefined;
1270
- model?: string | undefined;
1271
- lastActivityTime?: string | undefined;
1272
- active?: boolean | undefined;
1273
1431
  deviceName?: string | undefined;
1432
+ lastActivityTime?: string | undefined;
1274
1433
  activeStatus?: import("./saasAssets.dto").SaasAssetActiveStatus | undefined;
1275
1434
  owner?: {
1276
1435
  email?: string | undefined;
1277
1436
  } | undefined;
1437
+ make?: string | undefined;
1438
+ model?: string | undefined;
1439
+ active?: boolean | undefined;
1440
+ attribution?: {
1441
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1442
+ updatedAt?: string | undefined;
1443
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1444
+ } | undefined;
1278
1445
  };
1279
1446
  _raw?: unknown;
1280
1447
  };
@@ -1354,12 +1521,7 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1354
1521
  id?: string | undefined;
1355
1522
  organization?: string | undefined;
1356
1523
  department?: string | undefined;
1357
- score?: number | undefined;
1358
- firstName?: string | undefined;
1359
- lastName?: string | undefined;
1360
- title?: string | undefined;
1361
1524
  active?: boolean | undefined;
1362
- lastActivity?: string | undefined;
1363
1525
  meta?: {
1364
1526
  _profile: {
1365
1527
  timeZoneInfo?: {
@@ -1369,6 +1531,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1369
1531
  } | undefined;
1370
1532
  };
1371
1533
  } | undefined;
1534
+ score?: number | undefined;
1535
+ firstName?: string | undefined;
1536
+ lastName?: string | undefined;
1537
+ title?: string | undefined;
1538
+ lastActivity?: string | undefined;
1372
1539
  }, {
1373
1540
  assetAccounts: Record<string, {
1374
1541
  id: string;
@@ -1396,15 +1563,20 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1396
1563
  }[];
1397
1564
  sn?: string | undefined;
1398
1565
  macs?: string[] | undefined;
1399
- make?: string | undefined;
1400
- model?: string | undefined;
1401
- lastActivityTime?: string | undefined;
1402
- active?: boolean | undefined;
1403
1566
  deviceName?: string | undefined;
1567
+ lastActivityTime?: string | undefined;
1404
1568
  activeStatus?: import("./saasAssets.dto").SaasAssetActiveStatus | undefined;
1405
1569
  owner?: {
1406
1570
  email?: string | undefined;
1407
1571
  } | undefined;
1572
+ make?: string | undefined;
1573
+ model?: string | undefined;
1574
+ active?: boolean | undefined;
1575
+ attribution?: {
1576
+ status: import("./saasAssets.dto").SaasAssetAttributionStatus;
1577
+ updatedAt?: string | undefined;
1578
+ reason?: import("./saasAssets.dto").SaasAssetAttributionReason | undefined;
1579
+ } | undefined;
1408
1580
  };
1409
1581
  _raw?: unknown;
1410
1582
  };
@@ -1484,12 +1656,7 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1484
1656
  id?: string | undefined;
1485
1657
  organization?: string | undefined;
1486
1658
  department?: string | undefined;
1487
- score?: number | undefined;
1488
- firstName?: string | undefined;
1489
- lastName?: string | undefined;
1490
- title?: string | undefined;
1491
1659
  active?: boolean | undefined;
1492
- lastActivity?: string | undefined;
1493
1660
  meta?: {
1494
1661
  _profile: {
1495
1662
  timeZoneInfo?: {
@@ -1499,6 +1666,11 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
1499
1666
  } | undefined;
1500
1667
  };
1501
1668
  } | undefined;
1669
+ score?: number | undefined;
1670
+ firstName?: string | undefined;
1671
+ lastName?: string | undefined;
1672
+ title?: string | undefined;
1673
+ lastActivity?: string | undefined;
1502
1674
  }>;
1503
1675
  export type UserCoverageReport = z.infer<typeof _UserCoverageReport>;
1504
1676
  export type CoverageCountsResponse = {
@@ -14,6 +14,17 @@ exports._UserAccountSummary = zod_1.z.object({
14
14
  active: zod_1.z.boolean(),
15
15
  });
16
16
  exports._AssetCoverageSummary = assets_dto_1._SummaryAssetDto.merge(zod_1.z.object({
17
+ saasAssets: zod_1.z
18
+ .array(zod_1.z.object({
19
+ id: zod_1.z.string().optional(),
20
+ cid: zod_1.z.string(),
21
+ displayValue: zod_1.z.string().optional(),
22
+ uid: zod_1.z.string().optional(),
23
+ ownerEmail: zod_1.z.string().optional(),
24
+ attributionStatus: zod_1.z.string().optional(),
25
+ attributionReason: zod_1.z.string().optional(),
26
+ }))
27
+ .optional(),
17
28
  /** @deprecated */
18
29
  assetAccounts: zod_1.z.record(zod_1.z.unknown()),
19
30
  assetAccounts2: zod_1.z.record(zod_1.z.array(exports._AssetAccountSummary)),
@@ -1 +1 @@
1
- {"version":3,"file":"coverage.dto.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