@ampsec/platform-client 83.0.0 → 84.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.
- package/build/src/dto/assets.dto.d.ts +16 -0
- package/build/src/dto/assets.dto.js +4 -0
- package/build/src/dto/assets.dto.js.map +1 -1
- package/build/src/dto/coverage.dto.d.ts +20 -0
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +6 -0
- package/build/src/dto/saasAssets.dto.d.ts +16 -0
- package/build/src/dto/saasAssets.dto.js +4 -0
- package/build/src/dto/saasAssets.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/assets.dto.ts +4 -0
- package/src/dto/saasAssets.dto.ts +4 -0
|
@@ -83,6 +83,10 @@ export declare const _AssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
83
83
|
assetType: z.ZodOptional<z.ZodNativeEnum<typeof GlobalAssetType>>;
|
|
84
84
|
/** Last activity time for the asset */
|
|
85
85
|
lastActivityTime: z.ZodOptional<z.ZodString>;
|
|
86
|
+
/** Asset serial number */
|
|
87
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
88
|
+
/** Asset mac addresses */
|
|
89
|
+
macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
86
90
|
}>, "strip", z.ZodTypeAny, {
|
|
87
91
|
etag: string;
|
|
88
92
|
displayValue: string;
|
|
@@ -97,6 +101,8 @@ export declare const _AssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
97
101
|
createdAt?: string | undefined;
|
|
98
102
|
updatedAt?: string | undefined;
|
|
99
103
|
deletedAt?: string | null | undefined;
|
|
104
|
+
sn?: string | undefined;
|
|
105
|
+
macs?: string[] | undefined;
|
|
100
106
|
assetType?: GlobalAssetType | undefined;
|
|
101
107
|
lastActivityTime?: string | undefined;
|
|
102
108
|
}, {
|
|
@@ -113,6 +119,8 @@ export declare const _AssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
113
119
|
createdAt?: string | undefined;
|
|
114
120
|
updatedAt?: string | undefined;
|
|
115
121
|
deletedAt?: string | null | undefined;
|
|
122
|
+
sn?: string | undefined;
|
|
123
|
+
macs?: string[] | undefined;
|
|
116
124
|
assetType?: GlobalAssetType | undefined;
|
|
117
125
|
lastActivityTime?: string | undefined;
|
|
118
126
|
}>;
|
|
@@ -150,6 +158,10 @@ export declare const _AssetDto: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
150
158
|
assetType: z.ZodOptional<z.ZodNativeEnum<typeof GlobalAssetType>>;
|
|
151
159
|
/** Last activity time for the asset */
|
|
152
160
|
lastActivityTime: z.ZodOptional<z.ZodString>;
|
|
161
|
+
/** Asset serial number */
|
|
162
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
163
|
+
/** Asset mac addresses */
|
|
164
|
+
macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
153
165
|
}>, z.objectUtil.extendShape<{
|
|
154
166
|
id: z.ZodString;
|
|
155
167
|
createdAt: z.ZodString;
|
|
@@ -171,6 +183,8 @@ export declare const _AssetDto: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
171
183
|
hostname?: string | undefined;
|
|
172
184
|
};
|
|
173
185
|
uid?: string | undefined;
|
|
186
|
+
sn?: string | undefined;
|
|
187
|
+
macs?: string[] | undefined;
|
|
174
188
|
assetType?: GlobalAssetType | undefined;
|
|
175
189
|
lastActivityTime?: string | undefined;
|
|
176
190
|
}, {
|
|
@@ -187,6 +201,8 @@ export declare const _AssetDto: z.ZodObject<z.objectUtil.extendShape<z.objectUti
|
|
|
187
201
|
hostname?: string | undefined;
|
|
188
202
|
};
|
|
189
203
|
uid?: string | undefined;
|
|
204
|
+
sn?: string | undefined;
|
|
205
|
+
macs?: string[] | undefined;
|
|
190
206
|
assetType?: GlobalAssetType | undefined;
|
|
191
207
|
lastActivityTime?: string | undefined;
|
|
192
208
|
}>;
|
|
@@ -36,6 +36,10 @@ exports._AssetUpsertDto = base_dto_1._ChangeAwareUpsertDto.merge(zod_1.z.object(
|
|
|
36
36
|
assetType: zod_1.z.nativeEnum(globalAsset_type_1.GlobalAssetType).optional(),
|
|
37
37
|
/** Last activity time for the asset */
|
|
38
38
|
lastActivityTime: zod_1.z.string().optional(),
|
|
39
|
+
/** Asset serial number */
|
|
40
|
+
sn: zod_1.z.string().optional(),
|
|
41
|
+
/** Asset mac addresses */
|
|
42
|
+
macs: zod_1.z.array(zod_1.z.string()).optional(),
|
|
39
43
|
}));
|
|
40
44
|
exports._AssetDto = exports._AssetUpsertDto.merge(base_dto_1._ChangeAwareDto);
|
|
41
45
|
//# sourceMappingURL=assets.dto.js.map
|
|
@@ -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,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,uCAAuC;IACvC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACzB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,QAAQ,EAAE,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C,KAAK,CAAC,0BAAe,CAAC,CAAC"}
|
|
@@ -958,6 +958,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
958
958
|
aid: z.ZodString;
|
|
959
959
|
uid: z.ZodOptional<z.ZodString>;
|
|
960
960
|
displayValue: z.ZodString;
|
|
961
|
+
macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
962
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
961
963
|
meta: z.ZodObject<{
|
|
962
964
|
_asset: z.ZodObject<{
|
|
963
965
|
extId: z.ZodString;
|
|
@@ -1119,6 +1121,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1119
1121
|
_raw?: unknown;
|
|
1120
1122
|
};
|
|
1121
1123
|
uid?: string | undefined;
|
|
1124
|
+
sn?: string | undefined;
|
|
1125
|
+
macs?: string[] | undefined;
|
|
1122
1126
|
}, {
|
|
1123
1127
|
id: string;
|
|
1124
1128
|
cid: string;
|
|
@@ -1158,6 +1162,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1158
1162
|
_raw?: unknown;
|
|
1159
1163
|
};
|
|
1160
1164
|
uid?: string | undefined;
|
|
1165
|
+
sn?: string | undefined;
|
|
1166
|
+
macs?: string[] | undefined;
|
|
1161
1167
|
}>, "many">>;
|
|
1162
1168
|
assets: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
1163
1169
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1187,6 +1193,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1187
1193
|
uid: z.ZodOptional<z.ZodString>;
|
|
1188
1194
|
assetType: z.ZodOptional<z.ZodNativeEnum<typeof import("./enums").GlobalAssetType>>;
|
|
1189
1195
|
lastActivityTime: z.ZodOptional<z.ZodString>;
|
|
1196
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
1197
|
+
macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
1190
1198
|
}>, z.objectUtil.extendShape<{
|
|
1191
1199
|
id: z.ZodString;
|
|
1192
1200
|
createdAt: z.ZodString;
|
|
@@ -1208,6 +1216,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1208
1216
|
hostname?: string | undefined;
|
|
1209
1217
|
};
|
|
1210
1218
|
uid?: string | undefined;
|
|
1219
|
+
sn?: string | undefined;
|
|
1220
|
+
macs?: string[] | undefined;
|
|
1211
1221
|
assetType?: import("./enums").GlobalAssetType | undefined;
|
|
1212
1222
|
lastActivityTime?: string | undefined;
|
|
1213
1223
|
}, {
|
|
@@ -1224,6 +1234,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1224
1234
|
hostname?: string | undefined;
|
|
1225
1235
|
};
|
|
1226
1236
|
uid?: string | undefined;
|
|
1237
|
+
sn?: string | undefined;
|
|
1238
|
+
macs?: string[] | undefined;
|
|
1227
1239
|
assetType?: import("./enums").GlobalAssetType | undefined;
|
|
1228
1240
|
lastActivityTime?: string | undefined;
|
|
1229
1241
|
}>, "many">;
|
|
@@ -1267,6 +1279,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1267
1279
|
_raw?: unknown;
|
|
1268
1280
|
};
|
|
1269
1281
|
uid?: string | undefined;
|
|
1282
|
+
sn?: string | undefined;
|
|
1283
|
+
macs?: string[] | undefined;
|
|
1270
1284
|
}[]>;
|
|
1271
1285
|
userAccounts: Record<string, {
|
|
1272
1286
|
email: string;
|
|
@@ -1331,6 +1345,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1331
1345
|
hostname?: string | undefined;
|
|
1332
1346
|
};
|
|
1333
1347
|
uid?: string | undefined;
|
|
1348
|
+
sn?: string | undefined;
|
|
1349
|
+
macs?: string[] | undefined;
|
|
1334
1350
|
assetType?: import("./enums").GlobalAssetType | undefined;
|
|
1335
1351
|
lastActivityTime?: string | undefined;
|
|
1336
1352
|
}[];
|
|
@@ -1393,6 +1409,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1393
1409
|
_raw?: unknown;
|
|
1394
1410
|
};
|
|
1395
1411
|
uid?: string | undefined;
|
|
1412
|
+
sn?: string | undefined;
|
|
1413
|
+
macs?: string[] | undefined;
|
|
1396
1414
|
}[]>;
|
|
1397
1415
|
userAccounts: Record<string, {
|
|
1398
1416
|
email: string;
|
|
@@ -1457,6 +1475,8 @@ export declare const _UserCoverageReport: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1457
1475
|
hostname?: string | undefined;
|
|
1458
1476
|
};
|
|
1459
1477
|
uid?: string | undefined;
|
|
1478
|
+
sn?: string | undefined;
|
|
1479
|
+
macs?: string[] | undefined;
|
|
1460
1480
|
assetType?: import("./enums").GlobalAssetType | undefined;
|
|
1461
1481
|
lastActivityTime?: string | undefined;
|
|
1462
1482
|
}[];
|
|
@@ -31,6 +31,8 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
31
31
|
aid: z.ZodString;
|
|
32
32
|
uid: z.ZodOptional<z.ZodString>;
|
|
33
33
|
displayValue: z.ZodString;
|
|
34
|
+
macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
35
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
34
36
|
meta: z.ZodObject<{
|
|
35
37
|
_asset: z.ZodObject<{
|
|
36
38
|
extId: z.ZodString;
|
|
@@ -189,6 +191,8 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
189
191
|
createdAt?: string | undefined;
|
|
190
192
|
updatedAt?: string | undefined;
|
|
191
193
|
deletedAt?: string | null | undefined;
|
|
194
|
+
sn?: string | undefined;
|
|
195
|
+
macs?: string[] | undefined;
|
|
192
196
|
}, {
|
|
193
197
|
cid: string;
|
|
194
198
|
etag: string;
|
|
@@ -229,6 +233,8 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
229
233
|
createdAt?: string | undefined;
|
|
230
234
|
updatedAt?: string | undefined;
|
|
231
235
|
deletedAt?: string | null | undefined;
|
|
236
|
+
sn?: string | undefined;
|
|
237
|
+
macs?: string[] | undefined;
|
|
232
238
|
}>;
|
|
233
239
|
export type StagedSaasAssetUpsertDto = z.infer<typeof _StagedSaasAssetUpsertDto>;
|
|
234
240
|
export type PlatformStagedSaasAssetUpsertDto = StagedSaasAssetUpsertDto & UpsertTenantBased;
|
|
@@ -167,6 +167,10 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
167
167
|
uid: z.ZodOptional<z.ZodString>;
|
|
168
168
|
/** Asset display value */
|
|
169
169
|
displayValue: z.ZodString;
|
|
170
|
+
/** Asset mac addresses */
|
|
171
|
+
macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
172
|
+
/** Asset serial number */
|
|
173
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
170
174
|
/** Information specific to this asset */
|
|
171
175
|
meta: z.ZodObject<{
|
|
172
176
|
_asset: z.ZodObject<{
|
|
@@ -335,6 +339,8 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
335
339
|
createdAt?: string | undefined;
|
|
336
340
|
updatedAt?: string | undefined;
|
|
337
341
|
deletedAt?: string | null | undefined;
|
|
342
|
+
sn?: string | undefined;
|
|
343
|
+
macs?: string[] | undefined;
|
|
338
344
|
}, {
|
|
339
345
|
cid: string;
|
|
340
346
|
aid: string;
|
|
@@ -374,6 +380,8 @@ export declare const _SaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendShape<z
|
|
|
374
380
|
createdAt?: string | undefined;
|
|
375
381
|
updatedAt?: string | undefined;
|
|
376
382
|
deletedAt?: string | null | undefined;
|
|
383
|
+
sn?: string | undefined;
|
|
384
|
+
macs?: string[] | undefined;
|
|
377
385
|
}>;
|
|
378
386
|
export type SaasAssetUpsertDto = z.infer<typeof _SaasAssetUpsertDto>;
|
|
379
387
|
export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -409,6 +417,10 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
409
417
|
uid: z.ZodOptional<z.ZodString>;
|
|
410
418
|
/** Asset display value */
|
|
411
419
|
displayValue: z.ZodString;
|
|
420
|
+
/** Asset mac addresses */
|
|
421
|
+
macs: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
422
|
+
/** Asset serial number */
|
|
423
|
+
sn: z.ZodOptional<z.ZodString>;
|
|
412
424
|
/** Information specific to this asset */
|
|
413
425
|
meta: z.ZodObject<{
|
|
414
426
|
_asset: z.ZodObject<{
|
|
@@ -584,6 +596,8 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
584
596
|
_raw?: unknown;
|
|
585
597
|
};
|
|
586
598
|
uid?: string | undefined;
|
|
599
|
+
sn?: string | undefined;
|
|
600
|
+
macs?: string[] | undefined;
|
|
587
601
|
}, {
|
|
588
602
|
id: string;
|
|
589
603
|
cid: string;
|
|
@@ -623,5 +637,7 @@ export declare const _SaasAssetDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
623
637
|
_raw?: unknown;
|
|
624
638
|
};
|
|
625
639
|
uid?: string | undefined;
|
|
640
|
+
sn?: string | undefined;
|
|
641
|
+
macs?: string[] | undefined;
|
|
626
642
|
}>;
|
|
627
643
|
export type SaasAssetDto = z.infer<typeof _SaasAssetDto>;
|
|
@@ -64,6 +64,10 @@ exports._SaasAssetUpsertDto = base_dto_1._ChangeAwareUpsertDto.merge(zod_1.z.obj
|
|
|
64
64
|
uid: zod_1.z.string().optional(),
|
|
65
65
|
/** Asset display value */
|
|
66
66
|
displayValue: zod_1.z.string(),
|
|
67
|
+
/** Asset mac addresses */
|
|
68
|
+
macs: zod_1.z.array(zod_1.z.string()).optional(),
|
|
69
|
+
/** Asset serial number */
|
|
70
|
+
sn: zod_1.z.string().optional(),
|
|
67
71
|
/** Information specific to this asset */
|
|
68
72
|
meta: exports._SaasAssetMeta,
|
|
69
73
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"saasAssets.dto.js","sourceRoot":"","sources":["../../../src/dto/saasAssets.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,2CAAuC;AACvC,yCAAkE;AAClE,mCAAwC;AAExC,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;IACrB,8CAAqB,CAAA;AACvB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC;AAEY,QAAA,cAAc,GAAG,OAAC,CAAC,MAAM,CAAC;IACrC,MAAM,EAAE,OAAC,CAAC,MAAM,CAAC;QACf,6BAA6B;QAC7B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;QACjB,iBAAiB;QACjB,SAAS,EAAE,OAAC,CAAC,UAAU,CAAC,uBAAe,CAAC;QACxC,iBAAiB;QACjB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACjC,sBAAsB;QACtB,SAAS,EAAE,OAAC,CAAC,KAAK,CAAC,OAAC,CAAC,MAAM,EAAE,CAAC;QAC9B,+CAA+C;QAC/C,mBAAmB;QACnB,kCAAkC;QAClC,gBAAgB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACvC,4DAA4D;QAC5D,YAAY,EAAE,OAAC,CAAC,UAAU,CAAC,qBAAqB,CAAC,CAAC,QAAQ,EAAE;QAC5D,gCAAgC;QAChC,gBAAgB,EAAE,OAAC,CAAC,KAAK,CACvB,OAAC,C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CAAC"}
|
package/package.json
CHANGED
package/src/dto/assets.dto.ts
CHANGED
|
@@ -40,6 +40,10 @@ export const _AssetUpsertDto = _ChangeAwareUpsertDto.merge(
|
|
|
40
40
|
assetType: z.nativeEnum(GlobalAssetType).optional(),
|
|
41
41
|
/** Last activity time for the asset */
|
|
42
42
|
lastActivityTime: z.string().optional(),
|
|
43
|
+
/** Asset serial number */
|
|
44
|
+
sn: z.string().optional(),
|
|
45
|
+
/** Asset mac addresses */
|
|
46
|
+
macs: z.array(z.string()).optional(),
|
|
43
47
|
})
|
|
44
48
|
);
|
|
45
49
|
|
|
@@ -68,6 +68,10 @@ export const _SaasAssetUpsertDto = _ChangeAwareUpsertDto.merge(
|
|
|
68
68
|
uid: z.string().optional(),
|
|
69
69
|
/** Asset display value */
|
|
70
70
|
displayValue: z.string(),
|
|
71
|
+
/** Asset mac addresses */
|
|
72
|
+
macs: z.array(z.string()).optional(),
|
|
73
|
+
/** Asset serial number */
|
|
74
|
+
sn: z.string().optional(),
|
|
71
75
|
/** Information specific to this asset */
|
|
72
76
|
meta: _SaasAssetMeta,
|
|
73
77
|
})
|