@ampsec/platform-client 75.9.0 → 76.1.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/flows.dto.d.ts +276 -54
- package/build/src/dto/flows.dto.js +9 -2
- package/build/src/dto/flows.dto.js.map +1 -1
- package/build/src/dto/platform/platform.flows.dto.d.ts +152 -36
- package/build/src/services/findings.service.d.ts +1 -25
- package/build/src/services/findings.service.js +0 -49
- package/build/src/services/findings.service.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/flows.dto.ts +11 -2
- package/src/services/findings.service.ts +1 -51
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports._ActiveEngagementFilterCriteria = exports._ActiveEngagement = exports._FlowSpecFilter = exports._FlowSpecUpsertDto = exports._FlowSpecDto = exports._FlowRewardsConfig = exports._FlowActions = exports._FlowInterval = exports._FlowFilter = exports._AmplifierCohortDto = exports.CohortKind = exports._FlowTriggerFilter = exports._FlowSpecCreateDto = exports._FlowStateFilter = exports._FlowStateUpsertDto = exports._FlowStateDto = exports._FlowStateStatusDto = exports._FlowHistoryEntry = exports._FlowSystemEventDto = exports._FlowTriggerEventDto = exports.FlowSpecStatusKind = void 0;
|
|
3
|
+
exports._ActiveEngagementFilterCriteria = exports._ActiveEngagement = exports._FlowSpecFilter = exports._FlowSpecUpsertDto = exports._FlowSpecDto = exports._EngagementEscalationConfig = exports._FlowRewardsConfig = exports._FlowActions = exports._FlowInterval = exports._FlowFilter = exports._AmplifierCohortDto = exports.CohortKind = exports._FlowTriggerFilter = exports._FlowSpecCreateDto = exports._FlowStateFilter = exports._FlowStateUpsertDto = exports._FlowStateDto = exports._FlowStateStatusDto = exports._FlowHistoryEntry = exports._FlowSystemEventDto = exports._FlowTriggerEventDto = exports.FlowSpecStatusKind = exports.CUSTOM_FINDINGS_CID = exports.EMAIL_CID = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
5
|
const base_dto_1 = require("./base.dto");
|
|
6
6
|
const FilterCriteria_1 = require("../FilterCriteria");
|
|
7
7
|
const enums_1 = require("./enums");
|
|
8
|
+
exports.EMAIL_CID = 'E00000000000';
|
|
9
|
+
exports.CUSTOM_FINDINGS_CID = 'C00000000000';
|
|
8
10
|
var FlowSpecStatusKind;
|
|
9
11
|
(function (FlowSpecStatusKind) {
|
|
10
12
|
FlowSpecStatusKind["ACTIVE"] = "ACTIVE";
|
|
@@ -119,6 +121,7 @@ exports._FlowInterval = zod_1.z.object({
|
|
|
119
121
|
const _FlowActionDetails = zod_1.z.object({
|
|
120
122
|
actionId: zod_1.z.string().nullable(),
|
|
121
123
|
findingStatus: zod_1.z.nativeEnum(enums_1.FindingStatus).optional().nullable(),
|
|
124
|
+
responseMessage: zod_1.z.string().optional(),
|
|
122
125
|
});
|
|
123
126
|
exports._FlowActions = zod_1.z.object({
|
|
124
127
|
includeInstructions: zod_1.z.boolean().optional(),
|
|
@@ -151,6 +154,10 @@ exports._FlowRewardsConfig = zod_1.z.object({
|
|
|
151
154
|
value: zod_1.z.number().optional(),
|
|
152
155
|
units: zod_1.z.string().optional(),
|
|
153
156
|
});
|
|
157
|
+
exports._EngagementEscalationConfig = zod_1.z.object({
|
|
158
|
+
interval: exports._FlowInterval,
|
|
159
|
+
engagementChannelConnectorIds: zod_1.z.array(zod_1.z.string()),
|
|
160
|
+
});
|
|
154
161
|
exports._FlowSpecDto = base_dto_1._BaseDto.merge(zod_1.z.object({
|
|
155
162
|
id: zod_1.z.string(),
|
|
156
163
|
tid: zod_1.z.string(),
|
|
@@ -167,7 +174,7 @@ exports._FlowSpecDto = base_dto_1._BaseDto.merge(zod_1.z.object({
|
|
|
167
174
|
triage: zod_1.z.object({ message: zod_1.z.string(), yesAction: _FlowActionDetails, noAction: _FlowActionDetails }).optional(),
|
|
168
175
|
reminderInterval: exports._FlowInterval.optional(),
|
|
169
176
|
actions: exports._FlowActions.optional(),
|
|
170
|
-
|
|
177
|
+
escalation: exports._EngagementEscalationConfig.optional(),
|
|
171
178
|
rewards: zod_1.z.array(exports._FlowRewardsConfig).optional(),
|
|
172
179
|
customMessage: zod_1.z.object({ template: zod_1.z.string().optional(), append: zod_1.z.boolean().optional() }).optional(),
|
|
173
180
|
additionalContext: zod_1.z.object({ data: zod_1.z.string().optional() }).optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"flows.dto.js","sourceRoot":"","sources":["../../../src/dto/flows.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAoD;AACpD,sDAAiE;AACjE,mCAAsC;
|
|
1
|
+
{"version":3,"file":"flows.dto.js","sourceRoot":"","sources":["../../../src/dto/flows.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAoD;AACpD,sDAAiE;AACjE,mCAAsC;AAEzB,QAAA,SAAS,GAAG,cAAc,CAAC;AAC3B,QAAA,mBAAmB,GAAG,cAAc,CAAC;AAElD,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAC5B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,qCAAe,CAAA;IACf,qCAAe,CAAA;AACjB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B;AAED;;;;GAIG;AACU,QAAA,oBAAoB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC3C,IAAI,EAAE,OAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC1B,IAAI,EAAE,OAAC;SACJ,MAAM,CAAC;QACN,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QAC1B,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ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AAC,OAAO,EAAE,CAAC,KAAK,CAAC,kCAAiB,CAAC,CAAC,KAAK,CAAC,4BAAW,CAAC,CAAC;AAG5I;;;;GAIG;AACU,QAAA,iBAAiB,GAAG,OAAC,CAAC,MAAM,CAAC;IACxC,mBAAmB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC/B,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACnC,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;IACrB,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;IAClB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC7B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,OAAC,CAAC,UAAU,CAAC,kBAAkB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAC9D,QAAQ,EAAE,OAAC,CAAC,MAAM,EAAE;IACpB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;IACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;CACnB,CAAC,CAAC;AAGU,QAAA,+BAA+B,GAAG,OAAC,CAAC,MAAM,CAAC,EAAC,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAE,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,EAAC,CAAC,CAAC,KAAK,CAAC,kCAAiB,CAAC,CAAC"}
|
|
@@ -113,42 +113,52 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
113
113
|
yesAction: z.ZodObject<{
|
|
114
114
|
actionId: z.ZodNullable<z.ZodString>;
|
|
115
115
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
116
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
116
117
|
}, "strip", z.ZodTypeAny, {
|
|
117
118
|
actionId: string | null;
|
|
118
119
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
120
|
+
responseMessage?: string | undefined;
|
|
119
121
|
}, {
|
|
120
122
|
actionId: string | null;
|
|
121
123
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
124
|
+
responseMessage?: string | undefined;
|
|
122
125
|
}>;
|
|
123
126
|
noAction: z.ZodObject<{
|
|
124
127
|
actionId: z.ZodNullable<z.ZodString>;
|
|
125
128
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
129
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
126
130
|
}, "strip", z.ZodTypeAny, {
|
|
127
131
|
actionId: string | null;
|
|
128
132
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
133
|
+
responseMessage?: string | undefined;
|
|
129
134
|
}, {
|
|
130
135
|
actionId: string | null;
|
|
131
136
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
137
|
+
responseMessage?: string | undefined;
|
|
132
138
|
}>;
|
|
133
139
|
}, "strip", z.ZodTypeAny, {
|
|
134
140
|
message: string;
|
|
135
141
|
yesAction: {
|
|
136
142
|
actionId: string | null;
|
|
137
143
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
144
|
+
responseMessage?: string | undefined;
|
|
138
145
|
};
|
|
139
146
|
noAction: {
|
|
140
147
|
actionId: string | null;
|
|
141
148
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
149
|
+
responseMessage?: string | undefined;
|
|
142
150
|
};
|
|
143
151
|
}, {
|
|
144
152
|
message: string;
|
|
145
153
|
yesAction: {
|
|
146
154
|
actionId: string | null;
|
|
147
155
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
156
|
+
responseMessage?: string | undefined;
|
|
148
157
|
};
|
|
149
158
|
noAction: {
|
|
150
159
|
actionId: string | null;
|
|
151
160
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
161
|
+
responseMessage?: string | undefined;
|
|
152
162
|
};
|
|
153
163
|
}>>;
|
|
154
164
|
reminderInterval: z.ZodOptional<z.ZodObject<{
|
|
@@ -171,12 +181,15 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
171
181
|
expirationAction: z.ZodOptional<z.ZodObject<{
|
|
172
182
|
actionId: z.ZodNullable<z.ZodString>;
|
|
173
183
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
184
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
174
185
|
}, "strip", z.ZodTypeAny, {
|
|
175
186
|
actionId: string | null;
|
|
176
187
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
188
|
+
responseMessage?: string | undefined;
|
|
177
189
|
}, {
|
|
178
190
|
actionId: string | null;
|
|
179
191
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
192
|
+
responseMessage?: string | undefined;
|
|
180
193
|
}>>;
|
|
181
194
|
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
182
195
|
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
@@ -184,22 +197,28 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
184
197
|
resolveNowAction: z.ZodOptional<z.ZodObject<{
|
|
185
198
|
actionId: z.ZodNullable<z.ZodString>;
|
|
186
199
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
200
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
187
201
|
}, "strip", z.ZodTypeAny, {
|
|
188
202
|
actionId: string | null;
|
|
189
203
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
204
|
+
responseMessage?: string | undefined;
|
|
190
205
|
}, {
|
|
191
206
|
actionId: string | null;
|
|
192
207
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
208
|
+
responseMessage?: string | undefined;
|
|
193
209
|
}>>;
|
|
194
210
|
scheduleResolutionAction: z.ZodOptional<z.ZodObject<{
|
|
195
211
|
actionId: z.ZodNullable<z.ZodString>;
|
|
196
212
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
213
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
197
214
|
}, "strip", z.ZodTypeAny, {
|
|
198
215
|
actionId: string | null;
|
|
199
216
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
217
|
+
responseMessage?: string | undefined;
|
|
200
218
|
}, {
|
|
201
219
|
actionId: string | null;
|
|
202
220
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
221
|
+
responseMessage?: string | undefined;
|
|
203
222
|
}>>;
|
|
204
223
|
}, "strip", z.ZodTypeAny, {
|
|
205
224
|
includeInstructions?: boolean | undefined;
|
|
@@ -208,6 +227,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
208
227
|
expirationAction?: {
|
|
209
228
|
actionId: string | null;
|
|
210
229
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
230
|
+
responseMessage?: string | undefined;
|
|
211
231
|
} | undefined;
|
|
212
232
|
simpleTriageYesActId?: string | undefined;
|
|
213
233
|
simpleTriageNoActId?: string | undefined;
|
|
@@ -215,10 +235,12 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
215
235
|
resolveNowAction?: {
|
|
216
236
|
actionId: string | null;
|
|
217
237
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
238
|
+
responseMessage?: string | undefined;
|
|
218
239
|
} | undefined;
|
|
219
240
|
scheduleResolutionAction?: {
|
|
220
241
|
actionId: string | null;
|
|
221
242
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
243
|
+
responseMessage?: string | undefined;
|
|
222
244
|
} | undefined;
|
|
223
245
|
}, {
|
|
224
246
|
includeInstructions?: boolean | undefined;
|
|
@@ -227,6 +249,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
227
249
|
expirationAction?: {
|
|
228
250
|
actionId: string | null;
|
|
229
251
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
252
|
+
responseMessage?: string | undefined;
|
|
230
253
|
} | undefined;
|
|
231
254
|
simpleTriageYesActId?: string | undefined;
|
|
232
255
|
simpleTriageNoActId?: string | undefined;
|
|
@@ -234,24 +257,43 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
234
257
|
resolveNowAction?: {
|
|
235
258
|
actionId: string | null;
|
|
236
259
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
260
|
+
responseMessage?: string | undefined;
|
|
237
261
|
} | undefined;
|
|
238
262
|
scheduleResolutionAction?: {
|
|
239
263
|
actionId: string | null;
|
|
240
264
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
265
|
+
responseMessage?: string | undefined;
|
|
241
266
|
} | undefined;
|
|
242
267
|
}>>;
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
268
|
+
escalation: z.ZodOptional<z.ZodObject<{
|
|
269
|
+
interval: z.ZodObject<{
|
|
270
|
+
minutes: z.ZodNumber;
|
|
271
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
272
|
+
units: z.ZodOptional<z.ZodString>;
|
|
273
|
+
}, "strip", z.ZodTypeAny, {
|
|
274
|
+
minutes: number;
|
|
275
|
+
value?: number | undefined;
|
|
276
|
+
units?: string | undefined;
|
|
277
|
+
}, {
|
|
278
|
+
minutes: number;
|
|
279
|
+
value?: number | undefined;
|
|
280
|
+
units?: string | undefined;
|
|
281
|
+
}>;
|
|
282
|
+
engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
|
|
247
283
|
}, "strip", z.ZodTypeAny, {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
284
|
+
interval: {
|
|
285
|
+
minutes: number;
|
|
286
|
+
value?: number | undefined;
|
|
287
|
+
units?: string | undefined;
|
|
288
|
+
};
|
|
289
|
+
engagementChannelConnectorIds: string[];
|
|
251
290
|
}, {
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
291
|
+
interval: {
|
|
292
|
+
minutes: number;
|
|
293
|
+
value?: number | undefined;
|
|
294
|
+
units?: string | undefined;
|
|
295
|
+
};
|
|
296
|
+
engagementChannelConnectorIds: string[];
|
|
255
297
|
}>>;
|
|
256
298
|
rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
257
299
|
isUpperBound: z.ZodBoolean;
|
|
@@ -366,10 +408,12 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
366
408
|
yesAction: {
|
|
367
409
|
actionId: string | null;
|
|
368
410
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
411
|
+
responseMessage?: string | undefined;
|
|
369
412
|
};
|
|
370
413
|
noAction: {
|
|
371
414
|
actionId: string | null;
|
|
372
415
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
416
|
+
responseMessage?: string | undefined;
|
|
373
417
|
};
|
|
374
418
|
} | undefined;
|
|
375
419
|
reminderInterval?: {
|
|
@@ -384,6 +428,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
384
428
|
expirationAction?: {
|
|
385
429
|
actionId: string | null;
|
|
386
430
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
431
|
+
responseMessage?: string | undefined;
|
|
387
432
|
} | undefined;
|
|
388
433
|
simpleTriageYesActId?: string | undefined;
|
|
389
434
|
simpleTriageNoActId?: string | undefined;
|
|
@@ -391,16 +436,21 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
391
436
|
resolveNowAction?: {
|
|
392
437
|
actionId: string | null;
|
|
393
438
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
439
|
+
responseMessage?: string | undefined;
|
|
394
440
|
} | undefined;
|
|
395
441
|
scheduleResolutionAction?: {
|
|
396
442
|
actionId: string | null;
|
|
397
443
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
444
|
+
responseMessage?: string | undefined;
|
|
398
445
|
} | undefined;
|
|
399
446
|
} | undefined;
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
447
|
+
escalation?: {
|
|
448
|
+
interval: {
|
|
449
|
+
minutes: number;
|
|
450
|
+
value?: number | undefined;
|
|
451
|
+
units?: string | undefined;
|
|
452
|
+
};
|
|
453
|
+
engagementChannelConnectorIds: string[];
|
|
404
454
|
} | undefined;
|
|
405
455
|
rewards?: {
|
|
406
456
|
minutes: number;
|
|
@@ -462,10 +512,12 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
462
512
|
yesAction: {
|
|
463
513
|
actionId: string | null;
|
|
464
514
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
515
|
+
responseMessage?: string | undefined;
|
|
465
516
|
};
|
|
466
517
|
noAction: {
|
|
467
518
|
actionId: string | null;
|
|
468
519
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
520
|
+
responseMessage?: string | undefined;
|
|
469
521
|
};
|
|
470
522
|
} | undefined;
|
|
471
523
|
reminderInterval?: {
|
|
@@ -480,6 +532,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
480
532
|
expirationAction?: {
|
|
481
533
|
actionId: string | null;
|
|
482
534
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
535
|
+
responseMessage?: string | undefined;
|
|
483
536
|
} | undefined;
|
|
484
537
|
simpleTriageYesActId?: string | undefined;
|
|
485
538
|
simpleTriageNoActId?: string | undefined;
|
|
@@ -487,16 +540,21 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
487
540
|
resolveNowAction?: {
|
|
488
541
|
actionId: string | null;
|
|
489
542
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
543
|
+
responseMessage?: string | undefined;
|
|
490
544
|
} | undefined;
|
|
491
545
|
scheduleResolutionAction?: {
|
|
492
546
|
actionId: string | null;
|
|
493
547
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
548
|
+
responseMessage?: string | undefined;
|
|
494
549
|
} | undefined;
|
|
495
550
|
} | undefined;
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
551
|
+
escalation?: {
|
|
552
|
+
interval: {
|
|
553
|
+
minutes: number;
|
|
554
|
+
value?: number | undefined;
|
|
555
|
+
units?: string | undefined;
|
|
556
|
+
};
|
|
557
|
+
engagementChannelConnectorIds: string[];
|
|
500
558
|
} | undefined;
|
|
501
559
|
rewards?: {
|
|
502
560
|
minutes: number;
|
|
@@ -630,42 +688,52 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
630
688
|
yesAction: z.ZodObject<{
|
|
631
689
|
actionId: z.ZodNullable<z.ZodString>;
|
|
632
690
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
691
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
633
692
|
}, "strip", z.ZodTypeAny, {
|
|
634
693
|
actionId: string | null;
|
|
635
694
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
695
|
+
responseMessage?: string | undefined;
|
|
636
696
|
}, {
|
|
637
697
|
actionId: string | null;
|
|
638
698
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
699
|
+
responseMessage?: string | undefined;
|
|
639
700
|
}>;
|
|
640
701
|
noAction: z.ZodObject<{
|
|
641
702
|
actionId: z.ZodNullable<z.ZodString>;
|
|
642
703
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
704
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
643
705
|
}, "strip", z.ZodTypeAny, {
|
|
644
706
|
actionId: string | null;
|
|
645
707
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
708
|
+
responseMessage?: string | undefined;
|
|
646
709
|
}, {
|
|
647
710
|
actionId: string | null;
|
|
648
711
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
712
|
+
responseMessage?: string | undefined;
|
|
649
713
|
}>;
|
|
650
714
|
}, "strip", z.ZodTypeAny, {
|
|
651
715
|
message: string;
|
|
652
716
|
yesAction: {
|
|
653
717
|
actionId: string | null;
|
|
654
718
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
719
|
+
responseMessage?: string | undefined;
|
|
655
720
|
};
|
|
656
721
|
noAction: {
|
|
657
722
|
actionId: string | null;
|
|
658
723
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
724
|
+
responseMessage?: string | undefined;
|
|
659
725
|
};
|
|
660
726
|
}, {
|
|
661
727
|
message: string;
|
|
662
728
|
yesAction: {
|
|
663
729
|
actionId: string | null;
|
|
664
730
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
731
|
+
responseMessage?: string | undefined;
|
|
665
732
|
};
|
|
666
733
|
noAction: {
|
|
667
734
|
actionId: string | null;
|
|
668
735
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
736
|
+
responseMessage?: string | undefined;
|
|
669
737
|
};
|
|
670
738
|
}>>;
|
|
671
739
|
reminderInterval: z.ZodOptional<z.ZodObject<{
|
|
@@ -688,12 +756,15 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
688
756
|
expirationAction: z.ZodOptional<z.ZodObject<{
|
|
689
757
|
actionId: z.ZodNullable<z.ZodString>;
|
|
690
758
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
759
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
691
760
|
}, "strip", z.ZodTypeAny, {
|
|
692
761
|
actionId: string | null;
|
|
693
762
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
763
|
+
responseMessage?: string | undefined;
|
|
694
764
|
}, {
|
|
695
765
|
actionId: string | null;
|
|
696
766
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
767
|
+
responseMessage?: string | undefined;
|
|
697
768
|
}>>;
|
|
698
769
|
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
699
770
|
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
@@ -701,22 +772,28 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
701
772
|
resolveNowAction: z.ZodOptional<z.ZodObject<{
|
|
702
773
|
actionId: z.ZodNullable<z.ZodString>;
|
|
703
774
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
775
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
704
776
|
}, "strip", z.ZodTypeAny, {
|
|
705
777
|
actionId: string | null;
|
|
706
778
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
779
|
+
responseMessage?: string | undefined;
|
|
707
780
|
}, {
|
|
708
781
|
actionId: string | null;
|
|
709
782
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
783
|
+
responseMessage?: string | undefined;
|
|
710
784
|
}>>;
|
|
711
785
|
scheduleResolutionAction: z.ZodOptional<z.ZodObject<{
|
|
712
786
|
actionId: z.ZodNullable<z.ZodString>;
|
|
713
787
|
findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>>;
|
|
788
|
+
responseMessage: z.ZodOptional<z.ZodString>;
|
|
714
789
|
}, "strip", z.ZodTypeAny, {
|
|
715
790
|
actionId: string | null;
|
|
716
791
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
792
|
+
responseMessage?: string | undefined;
|
|
717
793
|
}, {
|
|
718
794
|
actionId: string | null;
|
|
719
795
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
796
|
+
responseMessage?: string | undefined;
|
|
720
797
|
}>>;
|
|
721
798
|
}, "strip", z.ZodTypeAny, {
|
|
722
799
|
includeInstructions?: boolean | undefined;
|
|
@@ -725,6 +802,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
725
802
|
expirationAction?: {
|
|
726
803
|
actionId: string | null;
|
|
727
804
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
805
|
+
responseMessage?: string | undefined;
|
|
728
806
|
} | undefined;
|
|
729
807
|
simpleTriageYesActId?: string | undefined;
|
|
730
808
|
simpleTriageNoActId?: string | undefined;
|
|
@@ -732,10 +810,12 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
732
810
|
resolveNowAction?: {
|
|
733
811
|
actionId: string | null;
|
|
734
812
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
813
|
+
responseMessage?: string | undefined;
|
|
735
814
|
} | undefined;
|
|
736
815
|
scheduleResolutionAction?: {
|
|
737
816
|
actionId: string | null;
|
|
738
817
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
818
|
+
responseMessage?: string | undefined;
|
|
739
819
|
} | undefined;
|
|
740
820
|
}, {
|
|
741
821
|
includeInstructions?: boolean | undefined;
|
|
@@ -744,6 +824,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
744
824
|
expirationAction?: {
|
|
745
825
|
actionId: string | null;
|
|
746
826
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
827
|
+
responseMessage?: string | undefined;
|
|
747
828
|
} | undefined;
|
|
748
829
|
simpleTriageYesActId?: string | undefined;
|
|
749
830
|
simpleTriageNoActId?: string | undefined;
|
|
@@ -751,24 +832,43 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
751
832
|
resolveNowAction?: {
|
|
752
833
|
actionId: string | null;
|
|
753
834
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
835
|
+
responseMessage?: string | undefined;
|
|
754
836
|
} | undefined;
|
|
755
837
|
scheduleResolutionAction?: {
|
|
756
838
|
actionId: string | null;
|
|
757
839
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
840
|
+
responseMessage?: string | undefined;
|
|
758
841
|
} | undefined;
|
|
759
842
|
}>>;
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
843
|
+
escalation: z.ZodOptional<z.ZodObject<{
|
|
844
|
+
interval: z.ZodObject<{
|
|
845
|
+
minutes: z.ZodNumber;
|
|
846
|
+
value: z.ZodOptional<z.ZodNumber>;
|
|
847
|
+
units: z.ZodOptional<z.ZodString>;
|
|
848
|
+
}, "strip", z.ZodTypeAny, {
|
|
849
|
+
minutes: number;
|
|
850
|
+
value?: number | undefined;
|
|
851
|
+
units?: string | undefined;
|
|
852
|
+
}, {
|
|
853
|
+
minutes: number;
|
|
854
|
+
value?: number | undefined;
|
|
855
|
+
units?: string | undefined;
|
|
856
|
+
}>;
|
|
857
|
+
engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
|
|
764
858
|
}, "strip", z.ZodTypeAny, {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
859
|
+
interval: {
|
|
860
|
+
minutes: number;
|
|
861
|
+
value?: number | undefined;
|
|
862
|
+
units?: string | undefined;
|
|
863
|
+
};
|
|
864
|
+
engagementChannelConnectorIds: string[];
|
|
768
865
|
}, {
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
866
|
+
interval: {
|
|
867
|
+
minutes: number;
|
|
868
|
+
value?: number | undefined;
|
|
869
|
+
units?: string | undefined;
|
|
870
|
+
};
|
|
871
|
+
engagementChannelConnectorIds: string[];
|
|
772
872
|
}>>;
|
|
773
873
|
rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
774
874
|
isUpperBound: z.ZodBoolean;
|
|
@@ -878,10 +978,12 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
878
978
|
yesAction: {
|
|
879
979
|
actionId: string | null;
|
|
880
980
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
981
|
+
responseMessage?: string | undefined;
|
|
881
982
|
};
|
|
882
983
|
noAction: {
|
|
883
984
|
actionId: string | null;
|
|
884
985
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
986
|
+
responseMessage?: string | undefined;
|
|
885
987
|
};
|
|
886
988
|
} | undefined;
|
|
887
989
|
reminderInterval?: {
|
|
@@ -896,6 +998,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
896
998
|
expirationAction?: {
|
|
897
999
|
actionId: string | null;
|
|
898
1000
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1001
|
+
responseMessage?: string | undefined;
|
|
899
1002
|
} | undefined;
|
|
900
1003
|
simpleTriageYesActId?: string | undefined;
|
|
901
1004
|
simpleTriageNoActId?: string | undefined;
|
|
@@ -903,16 +1006,21 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
903
1006
|
resolveNowAction?: {
|
|
904
1007
|
actionId: string | null;
|
|
905
1008
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1009
|
+
responseMessage?: string | undefined;
|
|
906
1010
|
} | undefined;
|
|
907
1011
|
scheduleResolutionAction?: {
|
|
908
1012
|
actionId: string | null;
|
|
909
1013
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1014
|
+
responseMessage?: string | undefined;
|
|
910
1015
|
} | undefined;
|
|
911
1016
|
} | undefined;
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
1017
|
+
escalation?: {
|
|
1018
|
+
interval: {
|
|
1019
|
+
minutes: number;
|
|
1020
|
+
value?: number | undefined;
|
|
1021
|
+
units?: string | undefined;
|
|
1022
|
+
};
|
|
1023
|
+
engagementChannelConnectorIds: string[];
|
|
916
1024
|
} | undefined;
|
|
917
1025
|
rewards?: {
|
|
918
1026
|
minutes: number;
|
|
@@ -982,10 +1090,12 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
982
1090
|
yesAction: {
|
|
983
1091
|
actionId: string | null;
|
|
984
1092
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1093
|
+
responseMessage?: string | undefined;
|
|
985
1094
|
};
|
|
986
1095
|
noAction: {
|
|
987
1096
|
actionId: string | null;
|
|
988
1097
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1098
|
+
responseMessage?: string | undefined;
|
|
989
1099
|
};
|
|
990
1100
|
} | undefined;
|
|
991
1101
|
reminderInterval?: {
|
|
@@ -1000,6 +1110,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1000
1110
|
expirationAction?: {
|
|
1001
1111
|
actionId: string | null;
|
|
1002
1112
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1113
|
+
responseMessage?: string | undefined;
|
|
1003
1114
|
} | undefined;
|
|
1004
1115
|
simpleTriageYesActId?: string | undefined;
|
|
1005
1116
|
simpleTriageNoActId?: string | undefined;
|
|
@@ -1007,16 +1118,21 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1007
1118
|
resolveNowAction?: {
|
|
1008
1119
|
actionId: string | null;
|
|
1009
1120
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1121
|
+
responseMessage?: string | undefined;
|
|
1010
1122
|
} | undefined;
|
|
1011
1123
|
scheduleResolutionAction?: {
|
|
1012
1124
|
actionId: string | null;
|
|
1013
1125
|
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1126
|
+
responseMessage?: string | undefined;
|
|
1014
1127
|
} | undefined;
|
|
1015
1128
|
} | undefined;
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1129
|
+
escalation?: {
|
|
1130
|
+
interval: {
|
|
1131
|
+
minutes: number;
|
|
1132
|
+
value?: number | undefined;
|
|
1133
|
+
units?: string | undefined;
|
|
1134
|
+
};
|
|
1135
|
+
engagementChannelConnectorIds: string[];
|
|
1020
1136
|
} | undefined;
|
|
1021
1137
|
rewards?: {
|
|
1022
1138
|
minutes: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FindingDto, FindingStatus, Page, PlatformFindingDto, PlatformFindingUpsertDto } from '../dto';
|
|
2
2
|
import { RestClient, RestResponse } from './rest';
|
|
3
3
|
import { TargetApi } from './constants';
|
|
4
4
|
import { AmpEntityServiceImpl } from './entity.service';
|
|
@@ -11,28 +11,4 @@ export declare class FindingsService extends AmpEntityServiceImpl<PlatformFindin
|
|
|
11
11
|
patch(id: string, values: FindingPatchDto | FindingPatchDto[]): Promise<Page<FindingDto>>;
|
|
12
12
|
patchAll(values: FindingPatchDto[]): Promise<Page<FindingDto>>;
|
|
13
13
|
getInstructions(finding: FindingDto): Promise<RestResponse>;
|
|
14
|
-
/**
|
|
15
|
-
* Returns a page of FindingBucketSummaryDto scoped to a tenant. The page will contain 1
|
|
16
|
-
* result for each user + bucket combination. The result will be the MAX(bucketScore) and
|
|
17
|
-
* MIN(createdAt). The findings are also joined with flowStates to pull any running flows.
|
|
18
|
-
*
|
|
19
|
-
* @param tid tenant id
|
|
20
|
-
* @param offset Optional offset for pagination. Default 0
|
|
21
|
-
* @param limit Optional limit for pagination. Default 50
|
|
22
|
-
* @returns Page of FindingBucketSummaryDto scoped to a tenant.
|
|
23
|
-
*/
|
|
24
|
-
getFindingBuckets(tid: string, offset: number | undefined, limit: number | undefined, keepOpenThresholdMs: number): Promise<Page<FindingBucketSummaryDto>>;
|
|
25
|
-
/**
|
|
26
|
-
* Returns a page of pending engagement findings scoped to a tenant.
|
|
27
|
-
* The page will contain findings that are
|
|
28
|
-
* - pending to be engaged i.e no flow state exists for such findings.
|
|
29
|
-
* - are not consolidated i.e should not be blocked by consolidation
|
|
30
|
-
* - 'OPEN' status
|
|
31
|
-
*
|
|
32
|
-
* @param tid tenant id
|
|
33
|
-
* @param offset Optional offset for pagination. Default 0
|
|
34
|
-
* @param limit Optional limit for pagination. Default 50
|
|
35
|
-
* @returns Page of FindingDto scoped to a tenant.
|
|
36
|
-
*/
|
|
37
|
-
getPendingEngagements(tid: string, offset?: number, limit?: number): Promise<Page<PlatformFindingDto>>;
|
|
38
14
|
}
|