@ampsec/platform-client 78.14.0 → 79.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.
|
@@ -1017,6 +1017,23 @@ export declare const _EngagementEscalationConfig: z.ZodObject<{
|
|
|
1017
1017
|
engagementChannelConnectorIds: string[];
|
|
1018
1018
|
}>;
|
|
1019
1019
|
export type EngagementEscalationConfig = z.infer<typeof _EngagementEscalationConfig>;
|
|
1020
|
+
export declare enum EngagementRedirectionKind {
|
|
1021
|
+
SLACK_CHANNEL = "SLACK_CHANNEL"
|
|
1022
|
+
}
|
|
1023
|
+
export declare const _SlackChannelRedirection: z.ZodObject<{
|
|
1024
|
+
kind: z.ZodLiteral<EngagementRedirectionKind>;
|
|
1025
|
+
channelId: z.ZodString;
|
|
1026
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1027
|
+
}, "strip", z.ZodTypeAny, {
|
|
1028
|
+
kind: EngagementRedirectionKind;
|
|
1029
|
+
channelId: string;
|
|
1030
|
+
includeUser: boolean;
|
|
1031
|
+
}, {
|
|
1032
|
+
kind: EngagementRedirectionKind;
|
|
1033
|
+
channelId: string;
|
|
1034
|
+
includeUser?: boolean | undefined;
|
|
1035
|
+
}>;
|
|
1036
|
+
export type SlackChannelRedirection = z.infer<typeof _SlackChannelRedirection>;
|
|
1020
1037
|
export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
1021
1038
|
id: z.ZodString;
|
|
1022
1039
|
createdAt: z.ZodString;
|
|
@@ -1371,6 +1388,19 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1371
1388
|
};
|
|
1372
1389
|
engagementChannelConnectorIds: string[];
|
|
1373
1390
|
}>>;
|
|
1391
|
+
redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1392
|
+
kind: z.ZodLiteral<EngagementRedirectionKind>;
|
|
1393
|
+
channelId: z.ZodString;
|
|
1394
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1395
|
+
}, "strip", z.ZodTypeAny, {
|
|
1396
|
+
kind: EngagementRedirectionKind;
|
|
1397
|
+
channelId: string;
|
|
1398
|
+
includeUser: boolean;
|
|
1399
|
+
}, {
|
|
1400
|
+
kind: EngagementRedirectionKind;
|
|
1401
|
+
channelId: string;
|
|
1402
|
+
includeUser?: boolean | undefined;
|
|
1403
|
+
}>]>>;
|
|
1374
1404
|
rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1375
1405
|
isUpperBound: z.ZodBoolean;
|
|
1376
1406
|
points: z.ZodNumber;
|
|
@@ -1540,6 +1570,11 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1540
1570
|
};
|
|
1541
1571
|
engagementChannelConnectorIds: string[];
|
|
1542
1572
|
} | undefined;
|
|
1573
|
+
redirection?: {
|
|
1574
|
+
kind: EngagementRedirectionKind;
|
|
1575
|
+
channelId: string;
|
|
1576
|
+
includeUser: boolean;
|
|
1577
|
+
} | undefined;
|
|
1543
1578
|
rewards?: {
|
|
1544
1579
|
minutes: number;
|
|
1545
1580
|
isUpperBound: boolean;
|
|
@@ -1666,6 +1701,11 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1666
1701
|
};
|
|
1667
1702
|
engagementChannelConnectorIds: string[];
|
|
1668
1703
|
} | undefined;
|
|
1704
|
+
redirection?: {
|
|
1705
|
+
kind: EngagementRedirectionKind;
|
|
1706
|
+
channelId: string;
|
|
1707
|
+
includeUser?: boolean | undefined;
|
|
1708
|
+
} | undefined;
|
|
1669
1709
|
rewards?: {
|
|
1670
1710
|
minutes: number;
|
|
1671
1711
|
isUpperBound: boolean;
|
|
@@ -2047,6 +2087,19 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2047
2087
|
};
|
|
2048
2088
|
engagementChannelConnectorIds: string[];
|
|
2049
2089
|
}>>;
|
|
2090
|
+
redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2091
|
+
kind: z.ZodLiteral<EngagementRedirectionKind>;
|
|
2092
|
+
channelId: z.ZodString;
|
|
2093
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
2094
|
+
}, "strip", z.ZodTypeAny, {
|
|
2095
|
+
kind: EngagementRedirectionKind;
|
|
2096
|
+
channelId: string;
|
|
2097
|
+
includeUser: boolean;
|
|
2098
|
+
}, {
|
|
2099
|
+
kind: EngagementRedirectionKind;
|
|
2100
|
+
channelId: string;
|
|
2101
|
+
includeUser?: boolean | undefined;
|
|
2102
|
+
}>]>>;
|
|
2050
2103
|
rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2051
2104
|
isUpperBound: z.ZodBoolean;
|
|
2052
2105
|
points: z.ZodNumber;
|
|
@@ -2221,6 +2274,11 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2221
2274
|
};
|
|
2222
2275
|
engagementChannelConnectorIds: string[];
|
|
2223
2276
|
} | undefined;
|
|
2277
|
+
redirection?: {
|
|
2278
|
+
kind: EngagementRedirectionKind;
|
|
2279
|
+
channelId: string;
|
|
2280
|
+
includeUser: boolean;
|
|
2281
|
+
} | undefined;
|
|
2224
2282
|
rewards?: {
|
|
2225
2283
|
minutes: number;
|
|
2226
2284
|
isUpperBound: boolean;
|
|
@@ -2339,6 +2397,11 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2339
2397
|
};
|
|
2340
2398
|
engagementChannelConnectorIds: string[];
|
|
2341
2399
|
} | undefined;
|
|
2400
|
+
redirection?: {
|
|
2401
|
+
kind: EngagementRedirectionKind;
|
|
2402
|
+
channelId: string;
|
|
2403
|
+
includeUser?: boolean | undefined;
|
|
2404
|
+
} | undefined;
|
|
2342
2405
|
rewards?: {
|
|
2343
2406
|
minutes: number;
|
|
2344
2407
|
isUpperBound: boolean;
|
|
@@ -2634,6 +2697,19 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
2634
2697
|
};
|
|
2635
2698
|
engagementChannelConnectorIds: string[];
|
|
2636
2699
|
}>>>;
|
|
2700
|
+
redirection: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2701
|
+
kind: z.ZodLiteral<EngagementRedirectionKind>;
|
|
2702
|
+
channelId: z.ZodString;
|
|
2703
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
2704
|
+
}, "strip", z.ZodTypeAny, {
|
|
2705
|
+
kind: EngagementRedirectionKind;
|
|
2706
|
+
channelId: string;
|
|
2707
|
+
includeUser: boolean;
|
|
2708
|
+
}, {
|
|
2709
|
+
kind: EngagementRedirectionKind;
|
|
2710
|
+
channelId: string;
|
|
2711
|
+
includeUser?: boolean | undefined;
|
|
2712
|
+
}>]>>>;
|
|
2637
2713
|
rewards: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2638
2714
|
isUpperBound: z.ZodBoolean;
|
|
2639
2715
|
points: z.ZodNumber;
|
|
@@ -2789,6 +2865,11 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
2789
2865
|
};
|
|
2790
2866
|
engagementChannelConnectorIds: string[];
|
|
2791
2867
|
} | undefined;
|
|
2868
|
+
redirection?: {
|
|
2869
|
+
kind: EngagementRedirectionKind;
|
|
2870
|
+
channelId: string;
|
|
2871
|
+
includeUser: boolean;
|
|
2872
|
+
} | undefined;
|
|
2792
2873
|
rewards?: {
|
|
2793
2874
|
minutes: number;
|
|
2794
2875
|
isUpperBound: boolean;
|
|
@@ -2899,6 +2980,11 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
2899
2980
|
};
|
|
2900
2981
|
engagementChannelConnectorIds: string[];
|
|
2901
2982
|
} | undefined;
|
|
2983
|
+
redirection?: {
|
|
2984
|
+
kind: EngagementRedirectionKind;
|
|
2985
|
+
channelId: string;
|
|
2986
|
+
includeUser?: boolean | undefined;
|
|
2987
|
+
} | undefined;
|
|
2902
2988
|
rewards?: {
|
|
2903
2989
|
minutes: number;
|
|
2904
2990
|
isUpperBound: boolean;
|
|
@@ -2926,6 +3012,13 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
2926
3012
|
} | undefined;
|
|
2927
3013
|
}>;
|
|
2928
3014
|
export type FlowSpecFilter = z.infer<typeof _FlowSpecFilter>;
|
|
3015
|
+
export declare enum EngagementState {
|
|
3016
|
+
PENDING_VERIFICATION = "PENDING_VERIFICATION",
|
|
3017
|
+
CLOSED = "CLOSED",
|
|
3018
|
+
WAITING_FOR_INPUT = "WAITING_FOR_INPUT",
|
|
3019
|
+
WAITING_FOR_BUSINESS_HOUR = "WAITING_FOR_BUSINESS_HOUR"
|
|
3020
|
+
}
|
|
3021
|
+
export declare const _EngagementState: z.ZodNativeEnum<typeof EngagementState>;
|
|
2929
3022
|
export declare const _ActiveEngagement: z.ZodObject<{
|
|
2930
3023
|
engagementStartedAt: z.ZodString;
|
|
2931
3024
|
expirationAt: z.ZodNullable<z.ZodString>;
|
|
@@ -2935,11 +3028,14 @@ export declare const _ActiveEngagement: z.ZodObject<{
|
|
|
2935
3028
|
uid: z.ZodString;
|
|
2936
3029
|
numberOfReminders: z.ZodNumber;
|
|
2937
3030
|
scheduledDate: z.ZodNullable<z.ZodString>;
|
|
2938
|
-
status: z.
|
|
3031
|
+
status: z.ZodEnum<["RUNNING", "ERROR", "SUCCESS", "CANCELLED", "EXPIRED"]>;
|
|
3032
|
+
scope: z.ZodOptional<z.ZodNativeEnum<typeof FlowSpecStatusKind>>;
|
|
3033
|
+
state: z.ZodOptional<z.ZodNativeEnum<typeof EngagementState>>;
|
|
2939
3034
|
flowName: z.ZodString;
|
|
2940
3035
|
fid: z.ZodString;
|
|
2941
3036
|
specId: z.ZodString;
|
|
2942
3037
|
}, "strip", z.ZodTypeAny, {
|
|
3038
|
+
status: "SUCCESS" | "RUNNING" | "ERROR" | "CANCELLED" | "EXPIRED";
|
|
2943
3039
|
uid: string;
|
|
2944
3040
|
firstName: string;
|
|
2945
3041
|
lastName: string;
|
|
@@ -2951,8 +3047,10 @@ export declare const _ActiveEngagement: z.ZodObject<{
|
|
|
2951
3047
|
numberOfReminders: number;
|
|
2952
3048
|
scheduledDate: string | null;
|
|
2953
3049
|
flowName: string;
|
|
2954
|
-
|
|
3050
|
+
scope?: FlowSpecStatusKind | undefined;
|
|
3051
|
+
state?: EngagementState | undefined;
|
|
2955
3052
|
}, {
|
|
3053
|
+
status: "SUCCESS" | "RUNNING" | "ERROR" | "CANCELLED" | "EXPIRED";
|
|
2956
3054
|
uid: string;
|
|
2957
3055
|
firstName: string;
|
|
2958
3056
|
lastName: string;
|
|
@@ -2964,7 +3062,8 @@ export declare const _ActiveEngagement: z.ZodObject<{
|
|
|
2964
3062
|
numberOfReminders: number;
|
|
2965
3063
|
scheduledDate: string | null;
|
|
2966
3064
|
flowName: string;
|
|
2967
|
-
|
|
3065
|
+
scope?: FlowSpecStatusKind | undefined;
|
|
3066
|
+
state?: EngagementState | undefined;
|
|
2968
3067
|
}>;
|
|
2969
3068
|
export type ActiveEngagement = z.infer<typeof _ActiveEngagement>;
|
|
2970
3069
|
export declare const _ActiveEngagementFilterCriteria: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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;
|
|
3
|
+
exports._ActiveEngagementFilterCriteria = exports._ActiveEngagement = exports._EngagementState = exports.EngagementState = exports._FlowSpecFilter = exports._FlowSpecUpsertDto = exports._FlowSpecDto = exports._SlackChannelRedirection = exports.EngagementRedirectionKind = 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");
|
|
@@ -159,6 +159,15 @@ exports._EngagementEscalationConfig = zod_1.z.object({
|
|
|
159
159
|
interval: exports._FlowInterval,
|
|
160
160
|
engagementChannelConnectorIds: zod_1.z.array(zod_1.z.string()),
|
|
161
161
|
});
|
|
162
|
+
var EngagementRedirectionKind;
|
|
163
|
+
(function (EngagementRedirectionKind) {
|
|
164
|
+
EngagementRedirectionKind["SLACK_CHANNEL"] = "SLACK_CHANNEL";
|
|
165
|
+
})(EngagementRedirectionKind || (exports.EngagementRedirectionKind = EngagementRedirectionKind = {}));
|
|
166
|
+
exports._SlackChannelRedirection = zod_1.z.object({
|
|
167
|
+
kind: zod_1.z.literal(EngagementRedirectionKind.SLACK_CHANNEL),
|
|
168
|
+
channelId: zod_1.z.string(),
|
|
169
|
+
includeUser: zod_1.z.boolean().default(false),
|
|
170
|
+
});
|
|
162
171
|
exports._FlowSpecDto = base_dto_1._BaseDto.merge(zod_1.z.object({
|
|
163
172
|
id: zod_1.z.string(),
|
|
164
173
|
tid: zod_1.z.string(),
|
|
@@ -178,6 +187,7 @@ exports._FlowSpecDto = base_dto_1._BaseDto.merge(zod_1.z.object({
|
|
|
178
187
|
reminderInterval: exports._FlowInterval.optional(),
|
|
179
188
|
actions: exports._FlowActions.optional(),
|
|
180
189
|
escalation: exports._EngagementEscalationConfig.optional(),
|
|
190
|
+
redirection: zod_1.z.discriminatedUnion('kind', [exports._SlackChannelRedirection]).optional(),
|
|
181
191
|
rewards: zod_1.z.array(exports._FlowRewardsConfig).optional(),
|
|
182
192
|
customMessage: zod_1.z.object({ template: zod_1.z.string().optional(), append: zod_1.z.boolean().optional() }).optional(),
|
|
183
193
|
additionalContext: zod_1.z.object({ data: zod_1.z.string().optional() }).optional(),
|
|
@@ -203,6 +213,14 @@ exports._FlowSpecFilter = exports._FlowSpecDto.omit({ triggerFilter: true, filte
|
|
|
203
213
|
* | Active Engagements |
|
|
204
214
|
* \===============================/
|
|
205
215
|
*/
|
|
216
|
+
var EngagementState;
|
|
217
|
+
(function (EngagementState) {
|
|
218
|
+
EngagementState["PENDING_VERIFICATION"] = "PENDING_VERIFICATION";
|
|
219
|
+
EngagementState["CLOSED"] = "CLOSED";
|
|
220
|
+
EngagementState["WAITING_FOR_INPUT"] = "WAITING_FOR_INPUT";
|
|
221
|
+
EngagementState["WAITING_FOR_BUSINESS_HOUR"] = "WAITING_FOR_BUSINESS_HOUR";
|
|
222
|
+
})(EngagementState || (exports.EngagementState = EngagementState = {}));
|
|
223
|
+
exports._EngagementState = zod_1.z.nativeEnum(EngagementState);
|
|
206
224
|
exports._ActiveEngagement = zod_1.z.object({
|
|
207
225
|
engagementStartedAt: zod_1.z.string(),
|
|
208
226
|
expirationAt: zod_1.z.string().nullable(),
|
|
@@ -212,7 +230,9 @@ exports._ActiveEngagement = zod_1.z.object({
|
|
|
212
230
|
uid: zod_1.z.string(),
|
|
213
231
|
numberOfReminders: zod_1.z.number(),
|
|
214
232
|
scheduledDate: zod_1.z.string().nullable(),
|
|
215
|
-
status:
|
|
233
|
+
status: exports._FlowStateDto.shape.status,
|
|
234
|
+
scope: exports._FlowStateDto.shape.specStatus,
|
|
235
|
+
state: exports._EngagementState.optional(),
|
|
216
236
|
flowName: zod_1.z.string(),
|
|
217
237
|
fid: zod_1.z.string(),
|
|
218
238
|
specId: zod_1.z.string(),
|
|
@@ -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;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,EAAE;KAC7B,CAAC;SACD,QAAQ,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IACf,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE;IAC7B,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACpC,MAAM,EAAE,qBAAa,CAAC,KAAK,CAAC,MAAM;IAClC,KAAK,EAAE,qBAAa,CAAC,KAAK,CAAC,UAAU;IACrC,KAAK,EAAE,wBAAgB,CAAC,QAAQ,EAAE;IAClC,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"}
|
|
@@ -341,6 +341,19 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
341
341
|
};
|
|
342
342
|
engagementChannelConnectorIds: string[];
|
|
343
343
|
}>>;
|
|
344
|
+
redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
345
|
+
kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind>;
|
|
346
|
+
channelId: z.ZodString;
|
|
347
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
350
|
+
channelId: string;
|
|
351
|
+
includeUser: boolean;
|
|
352
|
+
}, {
|
|
353
|
+
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
354
|
+
channelId: string;
|
|
355
|
+
includeUser?: boolean | undefined;
|
|
356
|
+
}>]>>;
|
|
344
357
|
rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
345
358
|
isUpperBound: z.ZodBoolean;
|
|
346
359
|
points: z.ZodNumber;
|
|
@@ -512,6 +525,11 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
512
525
|
};
|
|
513
526
|
engagementChannelConnectorIds: string[];
|
|
514
527
|
} | undefined;
|
|
528
|
+
redirection?: {
|
|
529
|
+
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
530
|
+
channelId: string;
|
|
531
|
+
includeUser: boolean;
|
|
532
|
+
} | undefined;
|
|
515
533
|
rewards?: {
|
|
516
534
|
minutes: number;
|
|
517
535
|
isUpperBound: boolean;
|
|
@@ -630,6 +648,11 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
630
648
|
};
|
|
631
649
|
engagementChannelConnectorIds: string[];
|
|
632
650
|
} | undefined;
|
|
651
|
+
redirection?: {
|
|
652
|
+
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
653
|
+
channelId: string;
|
|
654
|
+
includeUser?: boolean | undefined;
|
|
655
|
+
} | undefined;
|
|
633
656
|
rewards?: {
|
|
634
657
|
minutes: number;
|
|
635
658
|
isUpperBound: boolean;
|
|
@@ -990,6 +1013,19 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
990
1013
|
};
|
|
991
1014
|
engagementChannelConnectorIds: string[];
|
|
992
1015
|
}>>;
|
|
1016
|
+
redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1017
|
+
kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind>;
|
|
1018
|
+
channelId: z.ZodString;
|
|
1019
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1020
|
+
}, "strip", z.ZodTypeAny, {
|
|
1021
|
+
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
1022
|
+
channelId: string;
|
|
1023
|
+
includeUser: boolean;
|
|
1024
|
+
}, {
|
|
1025
|
+
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
1026
|
+
channelId: string;
|
|
1027
|
+
includeUser?: boolean | undefined;
|
|
1028
|
+
}>]>>;
|
|
993
1029
|
rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
994
1030
|
isUpperBound: z.ZodBoolean;
|
|
995
1031
|
points: z.ZodNumber;
|
|
@@ -1156,6 +1192,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1156
1192
|
};
|
|
1157
1193
|
engagementChannelConnectorIds: string[];
|
|
1158
1194
|
} | undefined;
|
|
1195
|
+
redirection?: {
|
|
1196
|
+
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
1197
|
+
channelId: string;
|
|
1198
|
+
includeUser: boolean;
|
|
1199
|
+
} | undefined;
|
|
1159
1200
|
rewards?: {
|
|
1160
1201
|
minutes: number;
|
|
1161
1202
|
isUpperBound: boolean;
|
|
@@ -1282,6 +1323,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1282
1323
|
};
|
|
1283
1324
|
engagementChannelConnectorIds: string[];
|
|
1284
1325
|
} | undefined;
|
|
1326
|
+
redirection?: {
|
|
1327
|
+
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
1328
|
+
channelId: string;
|
|
1329
|
+
includeUser?: boolean | undefined;
|
|
1330
|
+
} | undefined;
|
|
1285
1331
|
rewards?: {
|
|
1286
1332
|
minutes: number;
|
|
1287
1333
|
isUpperBound: boolean;
|
package/package.json
CHANGED
package/src/dto/flows.dto.ts
CHANGED
|
@@ -193,6 +193,18 @@ export const _EngagementEscalationConfig = z.object({
|
|
|
193
193
|
});
|
|
194
194
|
export type EngagementEscalationConfig = z.infer<typeof _EngagementEscalationConfig>;
|
|
195
195
|
|
|
196
|
+
export enum EngagementRedirectionKind {
|
|
197
|
+
SLACK_CHANNEL = 'SLACK_CHANNEL',
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
export const _SlackChannelRedirection = z.object({
|
|
201
|
+
kind: z.literal(EngagementRedirectionKind.SLACK_CHANNEL),
|
|
202
|
+
channelId: z.string(),
|
|
203
|
+
includeUser: z.boolean().default(false),
|
|
204
|
+
});
|
|
205
|
+
|
|
206
|
+
export type SlackChannelRedirection = z.infer<typeof _SlackChannelRedirection>;
|
|
207
|
+
|
|
196
208
|
export const _FlowSpecDto = _BaseDto.merge(
|
|
197
209
|
z.object({
|
|
198
210
|
id: z.string(),
|
|
@@ -213,6 +225,7 @@ export const _FlowSpecDto = _BaseDto.merge(
|
|
|
213
225
|
reminderInterval: _FlowInterval.optional(),
|
|
214
226
|
actions: _FlowActions.optional(),
|
|
215
227
|
escalation: _EngagementEscalationConfig.optional(),
|
|
228
|
+
redirection: z.discriminatedUnion('kind', [_SlackChannelRedirection]).optional(),
|
|
216
229
|
rewards: z.array(_FlowRewardsConfig).optional(),
|
|
217
230
|
customMessage: z.object({template: z.string().optional(), append: z.boolean().optional()}).optional(),
|
|
218
231
|
additionalContext: z.object({data: z.string().optional()}).optional(),
|
|
@@ -245,6 +258,15 @@ export type FlowSpecFilter = z.infer<typeof _FlowSpecFilter>;
|
|
|
245
258
|
* | Active Engagements |
|
|
246
259
|
* \===============================/
|
|
247
260
|
*/
|
|
261
|
+
export enum EngagementState {
|
|
262
|
+
PENDING_VERIFICATION = 'PENDING_VERIFICATION',
|
|
263
|
+
CLOSED = 'CLOSED',
|
|
264
|
+
WAITING_FOR_INPUT = 'WAITING_FOR_INPUT',
|
|
265
|
+
WAITING_FOR_BUSINESS_HOUR = 'WAITING_FOR_BUSINESS_HOUR',
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export const _EngagementState = z.nativeEnum(EngagementState);
|
|
269
|
+
|
|
248
270
|
export const _ActiveEngagement = z.object({
|
|
249
271
|
engagementStartedAt: z.string(),
|
|
250
272
|
expirationAt: z.string().nullable(),
|
|
@@ -254,7 +276,9 @@ export const _ActiveEngagement = z.object({
|
|
|
254
276
|
uid: z.string(),
|
|
255
277
|
numberOfReminders: z.number(),
|
|
256
278
|
scheduledDate: z.string().nullable(),
|
|
257
|
-
status:
|
|
279
|
+
status: _FlowStateDto.shape.status,
|
|
280
|
+
scope: _FlowStateDto.shape.specStatus,
|
|
281
|
+
state: _EngagementState.optional(),
|
|
258
282
|
flowName: z.string(),
|
|
259
283
|
fid: z.string(),
|
|
260
284
|
specId: z.string(),
|