@ampsec/platform-client 87.8.4 → 87.9.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 +11 -4
- package/build/src/dto/assets.dto.js +3 -0
- package/build/src/dto/assets.dto.js.map +1 -1
- package/build/src/dto/coverage.dto.d.ts +237 -65
- package/build/src/dto/coverage.dto.js +11 -0
- package/build/src/dto/coverage.dto.js.map +1 -1
- package/build/src/dto/customActions.dto.d.ts +7 -7
- package/build/src/dto/platform/platform.customActions.dto.d.ts +5 -5
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +67 -24
- package/build/src/dto/saasAssets.dto.d.ts +196 -64
- package/build/src/dto/saasAssets.dto.js +21 -1
- package/build/src/dto/saasAssets.dto.js.map +1 -1
- package/build/src/dto/users.dto.d.ts +10 -10
- package/package.json +1 -1
- package/src/dto/assets.dto.ts +3 -0
- package/src/dto/coverage.dto.ts +13 -0
- package/src/dto/saasAssets.dto.ts +20 -0
|
@@ -198,7 +198,6 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
198
198
|
updatedAt: string;
|
|
199
199
|
deletedAt: string | null;
|
|
200
200
|
displayValue: string;
|
|
201
|
-
kind: "REST_ACTION";
|
|
202
201
|
meta: {
|
|
203
202
|
request: {
|
|
204
203
|
method: string;
|
|
@@ -215,6 +214,7 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
215
214
|
};
|
|
216
215
|
timeout?: number | undefined;
|
|
217
216
|
};
|
|
217
|
+
kind: "REST_ACTION";
|
|
218
218
|
isTemplate: boolean;
|
|
219
219
|
description?: string | undefined;
|
|
220
220
|
retryStrategy?: {
|
|
@@ -228,7 +228,6 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
228
228
|
updatedAt: string;
|
|
229
229
|
deletedAt: string | null;
|
|
230
230
|
displayValue: string;
|
|
231
|
-
kind: "REST_ACTION";
|
|
232
231
|
meta: {
|
|
233
232
|
request: {
|
|
234
233
|
method: string;
|
|
@@ -245,6 +244,7 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
245
244
|
};
|
|
246
245
|
timeout?: number | undefined;
|
|
247
246
|
};
|
|
247
|
+
kind: "REST_ACTION";
|
|
248
248
|
isTemplate: boolean;
|
|
249
249
|
description?: string | undefined;
|
|
250
250
|
retryStrategy?: {
|
|
@@ -362,7 +362,6 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
362
362
|
updatedAt: string;
|
|
363
363
|
deletedAt: string | null;
|
|
364
364
|
displayValue: string;
|
|
365
|
-
kind: "REST_ACTION";
|
|
366
365
|
meta: {
|
|
367
366
|
request: {
|
|
368
367
|
method: string;
|
|
@@ -379,6 +378,7 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
379
378
|
};
|
|
380
379
|
timeout?: number | undefined;
|
|
381
380
|
};
|
|
381
|
+
kind: "REST_ACTION";
|
|
382
382
|
isTemplate: boolean;
|
|
383
383
|
description?: string | undefined;
|
|
384
384
|
retryStrategy?: {
|
|
@@ -392,7 +392,6 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
392
392
|
updatedAt: string;
|
|
393
393
|
deletedAt: string | null;
|
|
394
394
|
displayValue: string;
|
|
395
|
-
kind: "REST_ACTION";
|
|
396
395
|
meta: {
|
|
397
396
|
request: {
|
|
398
397
|
method: string;
|
|
@@ -409,6 +408,7 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
409
408
|
};
|
|
410
409
|
timeout?: number | undefined;
|
|
411
410
|
};
|
|
411
|
+
kind: "REST_ACTION";
|
|
412
412
|
isTemplate: boolean;
|
|
413
413
|
description?: string | undefined;
|
|
414
414
|
retryStrategy?: {
|
|
@@ -425,7 +425,6 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
425
425
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
426
426
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
427
427
|
displayValue: z.ZodString;
|
|
428
|
-
kind: z.ZodLiteral<"REST_ACTION">;
|
|
429
428
|
meta: z.ZodObject<{
|
|
430
429
|
request: z.ZodObject<{
|
|
431
430
|
url: z.ZodString;
|
|
@@ -504,6 +503,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
504
503
|
};
|
|
505
504
|
timeout?: number | undefined;
|
|
506
505
|
}>;
|
|
506
|
+
kind: z.ZodLiteral<"REST_ACTION">;
|
|
507
507
|
isTemplate: z.ZodBoolean;
|
|
508
508
|
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
509
509
|
kind: z.ZodLiteral<"CONSTANT_BACKOFF">;
|
|
@@ -520,7 +520,6 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
520
520
|
}>>;
|
|
521
521
|
}, "strip", z.ZodTypeAny, {
|
|
522
522
|
displayValue: string;
|
|
523
|
-
kind: "REST_ACTION";
|
|
524
523
|
meta: {
|
|
525
524
|
request: {
|
|
526
525
|
method: string;
|
|
@@ -537,6 +536,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
537
536
|
};
|
|
538
537
|
timeout?: number | undefined;
|
|
539
538
|
};
|
|
539
|
+
kind: "REST_ACTION";
|
|
540
540
|
isTemplate: boolean;
|
|
541
541
|
description?: string | undefined;
|
|
542
542
|
id?: string | undefined;
|
|
@@ -550,7 +550,6 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
550
550
|
} | undefined;
|
|
551
551
|
}, {
|
|
552
552
|
displayValue: string;
|
|
553
|
-
kind: "REST_ACTION";
|
|
554
553
|
meta: {
|
|
555
554
|
request: {
|
|
556
555
|
method: string;
|
|
@@ -567,6 +566,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
567
566
|
};
|
|
568
567
|
timeout?: number | undefined;
|
|
569
568
|
};
|
|
569
|
+
kind: "REST_ACTION";
|
|
570
570
|
isTemplate: boolean;
|
|
571
571
|
description?: string | undefined;
|
|
572
572
|
id?: string | undefined;
|
|
@@ -110,7 +110,6 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
110
110
|
updatedAt: string;
|
|
111
111
|
deletedAt: string | null;
|
|
112
112
|
displayValue: string;
|
|
113
|
-
kind: "REST_ACTION";
|
|
114
113
|
meta: {
|
|
115
114
|
request: {
|
|
116
115
|
method: string;
|
|
@@ -127,6 +126,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
127
126
|
};
|
|
128
127
|
timeout?: number | undefined;
|
|
129
128
|
};
|
|
129
|
+
kind: "REST_ACTION";
|
|
130
130
|
isTemplate: boolean;
|
|
131
131
|
description?: string | undefined;
|
|
132
132
|
retryStrategy?: {
|
|
@@ -141,7 +141,6 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
141
141
|
updatedAt: string;
|
|
142
142
|
deletedAt: string | null;
|
|
143
143
|
displayValue: string;
|
|
144
|
-
kind: "REST_ACTION";
|
|
145
144
|
meta: {
|
|
146
145
|
request: {
|
|
147
146
|
method: string;
|
|
@@ -158,6 +157,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
158
157
|
};
|
|
159
158
|
timeout?: number | undefined;
|
|
160
159
|
};
|
|
160
|
+
kind: "REST_ACTION";
|
|
161
161
|
isTemplate: boolean;
|
|
162
162
|
description?: string | undefined;
|
|
163
163
|
retryStrategy?: {
|
|
@@ -174,7 +174,6 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
174
174
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
175
175
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
176
176
|
displayValue: z.ZodString;
|
|
177
|
-
kind: z.ZodLiteral<"REST_ACTION">;
|
|
178
177
|
meta: z.ZodObject<{
|
|
179
178
|
request: z.ZodObject<{
|
|
180
179
|
url: z.ZodString;
|
|
@@ -253,6 +252,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
253
252
|
};
|
|
254
253
|
timeout?: number | undefined;
|
|
255
254
|
}>;
|
|
255
|
+
kind: z.ZodLiteral<"REST_ACTION">;
|
|
256
256
|
isTemplate: z.ZodBoolean;
|
|
257
257
|
retryStrategy: z.ZodOptional<z.ZodObject<{
|
|
258
258
|
kind: z.ZodLiteral<"CONSTANT_BACKOFF">;
|
|
@@ -272,7 +272,6 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
272
272
|
}>, "strip", z.ZodTypeAny, {
|
|
273
273
|
tid: string;
|
|
274
274
|
displayValue: string;
|
|
275
|
-
kind: "REST_ACTION";
|
|
276
275
|
meta: {
|
|
277
276
|
request: {
|
|
278
277
|
method: string;
|
|
@@ -289,6 +288,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
289
288
|
};
|
|
290
289
|
timeout?: number | undefined;
|
|
291
290
|
};
|
|
291
|
+
kind: "REST_ACTION";
|
|
292
292
|
isTemplate: boolean;
|
|
293
293
|
description?: string | undefined;
|
|
294
294
|
id?: string | undefined;
|
|
@@ -303,7 +303,6 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
303
303
|
}, {
|
|
304
304
|
tid: string;
|
|
305
305
|
displayValue: string;
|
|
306
|
-
kind: "REST_ACTION";
|
|
307
306
|
meta: {
|
|
308
307
|
request: {
|
|
309
308
|
method: string;
|
|
@@ -320,6 +319,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
320
319
|
};
|
|
321
320
|
timeout?: number | undefined;
|
|
322
321
|
};
|
|
322
|
+
kind: "REST_ACTION";
|
|
323
323
|
isTemplate: boolean;
|
|
324
324
|
description?: string | undefined;
|
|
325
325
|
id?: string | undefined;
|
|
@@ -63,6 +63,19 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
63
63
|
make: z.ZodOptional<z.ZodString>;
|
|
64
64
|
model: z.ZodOptional<z.ZodString>;
|
|
65
65
|
active: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
attribution: z.ZodOptional<z.ZodObject<{
|
|
67
|
+
status: z.ZodNativeEnum<typeof import("../saasAssets.dto").SaasAssetAttributionStatus>;
|
|
68
|
+
reason: z.ZodOptional<z.ZodNativeEnum<typeof import("../saasAssets.dto").SaasAssetAttributionReason>>;
|
|
69
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
70
|
+
}, "strip", z.ZodTypeAny, {
|
|
71
|
+
status: import("../saasAssets.dto").SaasAssetAttributionStatus;
|
|
72
|
+
updatedAt?: string | undefined;
|
|
73
|
+
reason?: import("../saasAssets.dto").SaasAssetAttributionReason | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
status: import("../saasAssets.dto").SaasAssetAttributionStatus;
|
|
76
|
+
updatedAt?: string | undefined;
|
|
77
|
+
reason?: import("../saasAssets.dto").SaasAssetAttributionReason | undefined;
|
|
78
|
+
}>>;
|
|
66
79
|
}, "strip", z.ZodTypeAny, {
|
|
67
80
|
extId: string;
|
|
68
81
|
assetType: import("..").GlobalAssetType;
|
|
@@ -73,15 +86,20 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
73
86
|
}[];
|
|
74
87
|
sn?: string | undefined;
|
|
75
88
|
macs?: string[] | undefined;
|
|
76
|
-
make?: string | undefined;
|
|
77
|
-
model?: string | undefined;
|
|
78
|
-
lastActivityTime?: string | undefined;
|
|
79
|
-
active?: boolean | undefined;
|
|
80
89
|
deviceName?: string | undefined;
|
|
90
|
+
lastActivityTime?: string | undefined;
|
|
81
91
|
activeStatus?: import("../saasAssets.dto").SaasAssetActiveStatus | undefined;
|
|
82
92
|
owner?: {
|
|
83
93
|
email?: string | undefined;
|
|
84
94
|
} | undefined;
|
|
95
|
+
make?: string | undefined;
|
|
96
|
+
model?: string | undefined;
|
|
97
|
+
active?: boolean | undefined;
|
|
98
|
+
attribution?: {
|
|
99
|
+
status: import("../saasAssets.dto").SaasAssetAttributionStatus;
|
|
100
|
+
updatedAt?: string | undefined;
|
|
101
|
+
reason?: import("../saasAssets.dto").SaasAssetAttributionReason | undefined;
|
|
102
|
+
} | undefined;
|
|
85
103
|
}, {
|
|
86
104
|
extId: string;
|
|
87
105
|
assetType: import("..").GlobalAssetType;
|
|
@@ -92,15 +110,20 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
92
110
|
}[];
|
|
93
111
|
sn?: string | undefined;
|
|
94
112
|
macs?: string[] | undefined;
|
|
95
|
-
make?: string | undefined;
|
|
96
|
-
model?: string | undefined;
|
|
97
|
-
lastActivityTime?: string | undefined;
|
|
98
|
-
active?: boolean | undefined;
|
|
99
113
|
deviceName?: string | undefined;
|
|
114
|
+
lastActivityTime?: string | undefined;
|
|
100
115
|
activeStatus?: import("../saasAssets.dto").SaasAssetActiveStatus | undefined;
|
|
101
116
|
owner?: {
|
|
102
117
|
email?: string | undefined;
|
|
103
118
|
} | undefined;
|
|
119
|
+
make?: string | undefined;
|
|
120
|
+
model?: string | undefined;
|
|
121
|
+
active?: boolean | undefined;
|
|
122
|
+
attribution?: {
|
|
123
|
+
status: import("../saasAssets.dto").SaasAssetAttributionStatus;
|
|
124
|
+
updatedAt?: string | undefined;
|
|
125
|
+
reason?: import("../saasAssets.dto").SaasAssetAttributionReason | undefined;
|
|
126
|
+
} | undefined;
|
|
104
127
|
}>;
|
|
105
128
|
_raw: z.ZodUnknown;
|
|
106
129
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -114,15 +137,20 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
114
137
|
}[];
|
|
115
138
|
sn?: string | undefined;
|
|
116
139
|
macs?: string[] | undefined;
|
|
117
|
-
make?: string | undefined;
|
|
118
|
-
model?: string | undefined;
|
|
119
|
-
lastActivityTime?: string | undefined;
|
|
120
|
-
active?: boolean | undefined;
|
|
121
140
|
deviceName?: string | undefined;
|
|
141
|
+
lastActivityTime?: string | undefined;
|
|
122
142
|
activeStatus?: import("../saasAssets.dto").SaasAssetActiveStatus | undefined;
|
|
123
143
|
owner?: {
|
|
124
144
|
email?: string | undefined;
|
|
125
145
|
} | undefined;
|
|
146
|
+
make?: string | undefined;
|
|
147
|
+
model?: string | undefined;
|
|
148
|
+
active?: boolean | undefined;
|
|
149
|
+
attribution?: {
|
|
150
|
+
status: import("../saasAssets.dto").SaasAssetAttributionStatus;
|
|
151
|
+
updatedAt?: string | undefined;
|
|
152
|
+
reason?: import("../saasAssets.dto").SaasAssetAttributionReason | undefined;
|
|
153
|
+
} | undefined;
|
|
126
154
|
};
|
|
127
155
|
_raw?: unknown;
|
|
128
156
|
}, {
|
|
@@ -136,15 +164,20 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
136
164
|
}[];
|
|
137
165
|
sn?: string | undefined;
|
|
138
166
|
macs?: string[] | undefined;
|
|
139
|
-
make?: string | undefined;
|
|
140
|
-
model?: string | undefined;
|
|
141
|
-
lastActivityTime?: string | undefined;
|
|
142
|
-
active?: boolean | undefined;
|
|
143
167
|
deviceName?: string | undefined;
|
|
168
|
+
lastActivityTime?: string | undefined;
|
|
144
169
|
activeStatus?: import("../saasAssets.dto").SaasAssetActiveStatus | undefined;
|
|
145
170
|
owner?: {
|
|
146
171
|
email?: string | undefined;
|
|
147
172
|
} | undefined;
|
|
173
|
+
make?: string | undefined;
|
|
174
|
+
model?: string | undefined;
|
|
175
|
+
active?: boolean | undefined;
|
|
176
|
+
attribution?: {
|
|
177
|
+
status: import("../saasAssets.dto").SaasAssetAttributionStatus;
|
|
178
|
+
updatedAt?: string | undefined;
|
|
179
|
+
reason?: import("../saasAssets.dto").SaasAssetAttributionReason | undefined;
|
|
180
|
+
} | undefined;
|
|
148
181
|
};
|
|
149
182
|
_raw?: unknown;
|
|
150
183
|
}>;
|
|
@@ -172,15 +205,20 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
172
205
|
}[];
|
|
173
206
|
sn?: string | undefined;
|
|
174
207
|
macs?: string[] | undefined;
|
|
175
|
-
make?: string | undefined;
|
|
176
|
-
model?: string | undefined;
|
|
177
|
-
lastActivityTime?: string | undefined;
|
|
178
|
-
active?: boolean | undefined;
|
|
179
208
|
deviceName?: string | undefined;
|
|
209
|
+
lastActivityTime?: string | undefined;
|
|
180
210
|
activeStatus?: import("../saasAssets.dto").SaasAssetActiveStatus | undefined;
|
|
181
211
|
owner?: {
|
|
182
212
|
email?: string | undefined;
|
|
183
213
|
} | undefined;
|
|
214
|
+
make?: string | undefined;
|
|
215
|
+
model?: string | undefined;
|
|
216
|
+
active?: boolean | undefined;
|
|
217
|
+
attribution?: {
|
|
218
|
+
status: import("../saasAssets.dto").SaasAssetAttributionStatus;
|
|
219
|
+
updatedAt?: string | undefined;
|
|
220
|
+
reason?: import("../saasAssets.dto").SaasAssetAttributionReason | undefined;
|
|
221
|
+
} | undefined;
|
|
184
222
|
};
|
|
185
223
|
_raw?: unknown;
|
|
186
224
|
};
|
|
@@ -214,15 +252,20 @@ export declare const _StagedSaasAssetUpsertDto: z.ZodObject<z.objectUtil.extendS
|
|
|
214
252
|
}[];
|
|
215
253
|
sn?: string | undefined;
|
|
216
254
|
macs?: string[] | undefined;
|
|
217
|
-
make?: string | undefined;
|
|
218
|
-
model?: string | undefined;
|
|
219
|
-
lastActivityTime?: string | undefined;
|
|
220
|
-
active?: boolean | undefined;
|
|
221
255
|
deviceName?: string | undefined;
|
|
256
|
+
lastActivityTime?: string | undefined;
|
|
222
257
|
activeStatus?: import("../saasAssets.dto").SaasAssetActiveStatus | undefined;
|
|
223
258
|
owner?: {
|
|
224
259
|
email?: string | undefined;
|
|
225
260
|
} | undefined;
|
|
261
|
+
make?: string | undefined;
|
|
262
|
+
model?: string | undefined;
|
|
263
|
+
active?: boolean | undefined;
|
|
264
|
+
attribution?: {
|
|
265
|
+
status: import("../saasAssets.dto").SaasAssetAttributionStatus;
|
|
266
|
+
updatedAt?: string | undefined;
|
|
267
|
+
reason?: import("../saasAssets.dto").SaasAssetAttributionReason | undefined;
|
|
268
|
+
} | undefined;
|
|
226
269
|
};
|
|
227
270
|
_raw?: unknown;
|
|
228
271
|
};
|