@ampsec/platform-client 80.0.0 → 80.2.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/customActions.dto.d.ts +34 -34
- package/build/src/dto/customActions.dto.js +1 -1
- package/build/src/dto/customActions.dto.js.map +1 -1
- package/build/src/dto/flows.dto.d.ts +94 -19
- package/build/src/dto/flows.dto.js +8 -2
- package/build/src/dto/flows.dto.js.map +1 -1
- package/build/src/dto/platform/platform.customActions.dto.d.ts +18 -18
- package/build/src/dto/platform/platform.flows.dto.d.ts +50 -10
- package/package.json +1 -1
- package/src/dto/customActions.dto.ts +1 -1
- package/src/dto/flows.dto.ts +10 -1
|
@@ -18,16 +18,16 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
|
|
|
18
18
|
method: z.ZodString;
|
|
19
19
|
payload: z.ZodOptional<z.ZodObject<{
|
|
20
20
|
kind: z.ZodLiteral<"TEMPLATE">;
|
|
21
|
-
format: z.ZodLiteral<"JSON">;
|
|
21
|
+
format: z.ZodUnion<[z.ZodLiteral<"JSON">, z.ZodLiteral<"XML">]>;
|
|
22
22
|
value: z.ZodString;
|
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
|
24
24
|
value: string;
|
|
25
25
|
kind: "TEMPLATE";
|
|
26
|
-
format: "JSON";
|
|
26
|
+
format: "JSON" | "XML";
|
|
27
27
|
}, {
|
|
28
28
|
value: string;
|
|
29
29
|
kind: "TEMPLATE";
|
|
30
|
-
format: "JSON";
|
|
30
|
+
format: "JSON" | "XML";
|
|
31
31
|
}>>;
|
|
32
32
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
33
33
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -38,7 +38,7 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
|
|
|
38
38
|
payload?: {
|
|
39
39
|
value: string;
|
|
40
40
|
kind: "TEMPLATE";
|
|
41
|
-
format: "JSON";
|
|
41
|
+
format: "JSON" | "XML";
|
|
42
42
|
} | undefined;
|
|
43
43
|
headers?: Record<string, string> | undefined;
|
|
44
44
|
}, {
|
|
@@ -48,7 +48,7 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
|
|
|
48
48
|
payload?: {
|
|
49
49
|
value: string;
|
|
50
50
|
kind: "TEMPLATE";
|
|
51
|
-
format: "JSON";
|
|
51
|
+
format: "JSON" | "XML";
|
|
52
52
|
} | undefined;
|
|
53
53
|
headers?: Record<string, string> | undefined;
|
|
54
54
|
}>;
|
|
@@ -61,7 +61,7 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
|
|
|
61
61
|
payload?: {
|
|
62
62
|
value: string;
|
|
63
63
|
kind: "TEMPLATE";
|
|
64
|
-
format: "JSON";
|
|
64
|
+
format: "JSON" | "XML";
|
|
65
65
|
} | undefined;
|
|
66
66
|
headers?: Record<string, string> | undefined;
|
|
67
67
|
};
|
|
@@ -74,7 +74,7 @@ export declare const _CustomRestActionMetaDto: z.ZodObject<{
|
|
|
74
74
|
payload?: {
|
|
75
75
|
value: string;
|
|
76
76
|
kind: "TEMPLATE";
|
|
77
|
-
format: "JSON";
|
|
77
|
+
format: "JSON" | "XML";
|
|
78
78
|
} | undefined;
|
|
79
79
|
headers?: Record<string, string> | undefined;
|
|
80
80
|
};
|
|
@@ -110,16 +110,16 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
110
110
|
method: z.ZodString;
|
|
111
111
|
payload: z.ZodOptional<z.ZodObject<{
|
|
112
112
|
kind: z.ZodLiteral<"TEMPLATE">;
|
|
113
|
-
format: z.ZodLiteral<"JSON">;
|
|
113
|
+
format: z.ZodUnion<[z.ZodLiteral<"JSON">, z.ZodLiteral<"XML">]>;
|
|
114
114
|
value: z.ZodString;
|
|
115
115
|
}, "strip", z.ZodTypeAny, {
|
|
116
116
|
value: string;
|
|
117
117
|
kind: "TEMPLATE";
|
|
118
|
-
format: "JSON";
|
|
118
|
+
format: "JSON" | "XML";
|
|
119
119
|
}, {
|
|
120
120
|
value: string;
|
|
121
121
|
kind: "TEMPLATE";
|
|
122
|
-
format: "JSON";
|
|
122
|
+
format: "JSON" | "XML";
|
|
123
123
|
}>>;
|
|
124
124
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
125
125
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -130,7 +130,7 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
130
130
|
payload?: {
|
|
131
131
|
value: string;
|
|
132
132
|
kind: "TEMPLATE";
|
|
133
|
-
format: "JSON";
|
|
133
|
+
format: "JSON" | "XML";
|
|
134
134
|
} | undefined;
|
|
135
135
|
headers?: Record<string, string> | undefined;
|
|
136
136
|
}, {
|
|
@@ -140,7 +140,7 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
140
140
|
payload?: {
|
|
141
141
|
value: string;
|
|
142
142
|
kind: "TEMPLATE";
|
|
143
|
-
format: "JSON";
|
|
143
|
+
format: "JSON" | "XML";
|
|
144
144
|
} | undefined;
|
|
145
145
|
headers?: Record<string, string> | undefined;
|
|
146
146
|
}>;
|
|
@@ -153,7 +153,7 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
153
153
|
payload?: {
|
|
154
154
|
value: string;
|
|
155
155
|
kind: "TEMPLATE";
|
|
156
|
-
format: "JSON";
|
|
156
|
+
format: "JSON" | "XML";
|
|
157
157
|
} | undefined;
|
|
158
158
|
headers?: Record<string, string> | undefined;
|
|
159
159
|
};
|
|
@@ -166,7 +166,7 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
166
166
|
payload?: {
|
|
167
167
|
value: string;
|
|
168
168
|
kind: "TEMPLATE";
|
|
169
|
-
format: "JSON";
|
|
169
|
+
format: "JSON" | "XML";
|
|
170
170
|
} | undefined;
|
|
171
171
|
headers?: Record<string, string> | undefined;
|
|
172
172
|
};
|
|
@@ -187,7 +187,7 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
187
187
|
payload?: {
|
|
188
188
|
value: string;
|
|
189
189
|
kind: "TEMPLATE";
|
|
190
|
-
format: "JSON";
|
|
190
|
+
format: "JSON" | "XML";
|
|
191
191
|
} | undefined;
|
|
192
192
|
headers?: Record<string, string> | undefined;
|
|
193
193
|
};
|
|
@@ -215,7 +215,7 @@ declare const _CustomRestActionDto: z.ZodObject<z.objectUtil.extendShape<z.objec
|
|
|
215
215
|
payload?: {
|
|
216
216
|
value: string;
|
|
217
217
|
kind: "TEMPLATE";
|
|
218
|
-
format: "JSON";
|
|
218
|
+
format: "JSON" | "XML";
|
|
219
219
|
} | undefined;
|
|
220
220
|
headers?: Record<string, string> | undefined;
|
|
221
221
|
};
|
|
@@ -260,16 +260,16 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
260
260
|
method: z.ZodString;
|
|
261
261
|
payload: z.ZodOptional<z.ZodObject<{
|
|
262
262
|
kind: z.ZodLiteral<"TEMPLATE">;
|
|
263
|
-
format: z.ZodLiteral<"JSON">;
|
|
263
|
+
format: z.ZodUnion<[z.ZodLiteral<"JSON">, z.ZodLiteral<"XML">]>;
|
|
264
264
|
value: z.ZodString;
|
|
265
265
|
}, "strip", z.ZodTypeAny, {
|
|
266
266
|
value: string;
|
|
267
267
|
kind: "TEMPLATE";
|
|
268
|
-
format: "JSON";
|
|
268
|
+
format: "JSON" | "XML";
|
|
269
269
|
}, {
|
|
270
270
|
value: string;
|
|
271
271
|
kind: "TEMPLATE";
|
|
272
|
-
format: "JSON";
|
|
272
|
+
format: "JSON" | "XML";
|
|
273
273
|
}>>;
|
|
274
274
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
275
275
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -280,7 +280,7 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
280
280
|
payload?: {
|
|
281
281
|
value: string;
|
|
282
282
|
kind: "TEMPLATE";
|
|
283
|
-
format: "JSON";
|
|
283
|
+
format: "JSON" | "XML";
|
|
284
284
|
} | undefined;
|
|
285
285
|
headers?: Record<string, string> | undefined;
|
|
286
286
|
}, {
|
|
@@ -290,7 +290,7 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
290
290
|
payload?: {
|
|
291
291
|
value: string;
|
|
292
292
|
kind: "TEMPLATE";
|
|
293
|
-
format: "JSON";
|
|
293
|
+
format: "JSON" | "XML";
|
|
294
294
|
} | undefined;
|
|
295
295
|
headers?: Record<string, string> | undefined;
|
|
296
296
|
}>;
|
|
@@ -303,7 +303,7 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
303
303
|
payload?: {
|
|
304
304
|
value: string;
|
|
305
305
|
kind: "TEMPLATE";
|
|
306
|
-
format: "JSON";
|
|
306
|
+
format: "JSON" | "XML";
|
|
307
307
|
} | undefined;
|
|
308
308
|
headers?: Record<string, string> | undefined;
|
|
309
309
|
};
|
|
@@ -316,7 +316,7 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
316
316
|
payload?: {
|
|
317
317
|
value: string;
|
|
318
318
|
kind: "TEMPLATE";
|
|
319
|
-
format: "JSON";
|
|
319
|
+
format: "JSON" | "XML";
|
|
320
320
|
} | undefined;
|
|
321
321
|
headers?: Record<string, string> | undefined;
|
|
322
322
|
};
|
|
@@ -337,7 +337,7 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
337
337
|
payload?: {
|
|
338
338
|
value: string;
|
|
339
339
|
kind: "TEMPLATE";
|
|
340
|
-
format: "JSON";
|
|
340
|
+
format: "JSON" | "XML";
|
|
341
341
|
} | undefined;
|
|
342
342
|
headers?: Record<string, string> | undefined;
|
|
343
343
|
};
|
|
@@ -365,7 +365,7 @@ export declare const _CustomActionDto: z.ZodObject<z.objectUtil.extendShape<z.ob
|
|
|
365
365
|
payload?: {
|
|
366
366
|
value: string;
|
|
367
367
|
kind: "TEMPLATE";
|
|
368
|
-
format: "JSON";
|
|
368
|
+
format: "JSON" | "XML";
|
|
369
369
|
} | undefined;
|
|
370
370
|
headers?: Record<string, string> | undefined;
|
|
371
371
|
};
|
|
@@ -394,16 +394,16 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
394
394
|
method: z.ZodString;
|
|
395
395
|
payload: z.ZodOptional<z.ZodObject<{
|
|
396
396
|
kind: z.ZodLiteral<"TEMPLATE">;
|
|
397
|
-
format: z.ZodLiteral<"JSON">;
|
|
397
|
+
format: z.ZodUnion<[z.ZodLiteral<"JSON">, z.ZodLiteral<"XML">]>;
|
|
398
398
|
value: z.ZodString;
|
|
399
399
|
}, "strip", z.ZodTypeAny, {
|
|
400
400
|
value: string;
|
|
401
401
|
kind: "TEMPLATE";
|
|
402
|
-
format: "JSON";
|
|
402
|
+
format: "JSON" | "XML";
|
|
403
403
|
}, {
|
|
404
404
|
value: string;
|
|
405
405
|
kind: "TEMPLATE";
|
|
406
|
-
format: "JSON";
|
|
406
|
+
format: "JSON" | "XML";
|
|
407
407
|
}>>;
|
|
408
408
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
409
409
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -414,7 +414,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
414
414
|
payload?: {
|
|
415
415
|
value: string;
|
|
416
416
|
kind: "TEMPLATE";
|
|
417
|
-
format: "JSON";
|
|
417
|
+
format: "JSON" | "XML";
|
|
418
418
|
} | undefined;
|
|
419
419
|
headers?: Record<string, string> | undefined;
|
|
420
420
|
}, {
|
|
@@ -424,7 +424,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
424
424
|
payload?: {
|
|
425
425
|
value: string;
|
|
426
426
|
kind: "TEMPLATE";
|
|
427
|
-
format: "JSON";
|
|
427
|
+
format: "JSON" | "XML";
|
|
428
428
|
} | undefined;
|
|
429
429
|
headers?: Record<string, string> | undefined;
|
|
430
430
|
}>;
|
|
@@ -437,7 +437,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
437
437
|
payload?: {
|
|
438
438
|
value: string;
|
|
439
439
|
kind: "TEMPLATE";
|
|
440
|
-
format: "JSON";
|
|
440
|
+
format: "JSON" | "XML";
|
|
441
441
|
} | undefined;
|
|
442
442
|
headers?: Record<string, string> | undefined;
|
|
443
443
|
};
|
|
@@ -450,7 +450,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
450
450
|
payload?: {
|
|
451
451
|
value: string;
|
|
452
452
|
kind: "TEMPLATE";
|
|
453
|
-
format: "JSON";
|
|
453
|
+
format: "JSON" | "XML";
|
|
454
454
|
} | undefined;
|
|
455
455
|
headers?: Record<string, string> | undefined;
|
|
456
456
|
};
|
|
@@ -481,7 +481,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
481
481
|
payload?: {
|
|
482
482
|
value: string;
|
|
483
483
|
kind: "TEMPLATE";
|
|
484
|
-
format: "JSON";
|
|
484
|
+
format: "JSON" | "XML";
|
|
485
485
|
} | undefined;
|
|
486
486
|
headers?: Record<string, string> | undefined;
|
|
487
487
|
};
|
|
@@ -509,7 +509,7 @@ export declare const _CustomActionUpsertDto: z.ZodObject<{
|
|
|
509
509
|
payload?: {
|
|
510
510
|
value: string;
|
|
511
511
|
kind: "TEMPLATE";
|
|
512
|
-
format: "JSON";
|
|
512
|
+
format: "JSON" | "XML";
|
|
513
513
|
} | undefined;
|
|
514
514
|
headers?: Record<string, string> | undefined;
|
|
515
515
|
};
|
|
@@ -21,7 +21,7 @@ exports._CustomRestActionMetaDto = zod_1.z.object({
|
|
|
21
21
|
payload: zod_1.z
|
|
22
22
|
.object({
|
|
23
23
|
kind: zod_1.z.literal('TEMPLATE'),
|
|
24
|
-
format: zod_1.z.literal('JSON'),
|
|
24
|
+
format: zod_1.z.union([zod_1.z.literal('JSON'), zod_1.z.literal('XML')]),
|
|
25
25
|
value: zod_1.z.string(),
|
|
26
26
|
})
|
|
27
27
|
.optional(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customActions.dto.js","sourceRoot":"","sources":["../../../src/dto/customActions.dto.ts"],"names":[],"mappings":";;;AAAA,6BAAsB;AACtB,yCAAqD;AAExC,QAAA,0BAA0B,GAAG,OAAC,CAAC,MAAM,CAAC;IACjD,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;IACnC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,KAAK,EAAE,OAAC,CAAC,MAAM,EAAE;CAClB,CAAC,CAAC;AAEH,MAAM,iBAAiB,GAAG,mBAAQ,CAAC,MAAM,CAAC;IACxC,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAClC,UAAU,EAAE,OAAC,CAAC,OAAO,EAAE;IACvB,aAAa,EAAE,kCAA0B,CAAC,QAAQ,EAAE;CACrD,CAAC,CAAC;AAEU,QAAA,wBAAwB,GAAG,OAAC,CAAC,MAAM,CAAC;IAC/C,OAAO,EAAE,OAAC,CAAC,MAAM,CAAC;QAChB,GAAG,EAAE,OAAC,CAAC,MAAM,EAAE;QACf,MAAM,EAAE,OAAC,CAAC,MAAM,EAAE;QAClB,OAAO,EAAE,OAAC;aACP,MAAM,CAAC;YACN,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,UAAU,CAAC;YAC3B,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,MAAM,CAAC;
|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,CAAC,QAAQ,EAAE;KACxC,CAAC;IACF,OAAO,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;CAC/B,CAAC,CAAC;AACH,MAAM,oBAAoB,GAAG,iBAAiB,CAAC,MAAM,CAAC;IACpD,IAAI,EAAE,OAAC,CAAC,OAAO,CAAC,aAAa,CAAC;IAC9B,IAAI,EAAE,gCAAwB;CAC/B,CAAC,CAAC;AAGH,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,OAAO,CAAC,0BAAe,CAAC,CAAC;AAEpE,QAAA,gBAAgB,GAAG,oBAAoB,CAAC;AAGxC,QAAA,sBAAsB,GAAG,0BAA0B,CAAC;AAGpD,QAAA,yBAAyB,GAAG,OAAC,CAAC,MAAM,CAAC;IAChD,EAAE,EAAE,OAAC,CAAC,MAAM,EAAE;IACd,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;IACxB,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;IACtB,cAAc,EAAE,OAAC,CAAC,MAAM,CAAC;QACvB,iBAAiB,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACxC,oBAAoB,EAAE,OAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;QAC5C,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE;QACtB,YAAY,EAAE,OAAC,CAAC,MAAM,EAAE;KACzB,CAAC;CACH,CAAC,CAAC;AAGH,yCAAyC"}
|
|
@@ -1088,22 +1088,37 @@ export declare const _EngagementEscalationConfig: z.ZodObject<{
|
|
|
1088
1088
|
}>;
|
|
1089
1089
|
export type EngagementEscalationConfig = z.infer<typeof _EngagementEscalationConfig>;
|
|
1090
1090
|
export declare enum EngagementRedirectionKind {
|
|
1091
|
-
SLACK_CHANNEL = "SLACK_CHANNEL"
|
|
1091
|
+
SLACK_CHANNEL = "SLACK_CHANNEL",
|
|
1092
|
+
TEAMS_CHANNEL = "TEAMS_CHANNEL"
|
|
1092
1093
|
}
|
|
1093
1094
|
export declare const _SlackChannelRedirection: z.ZodObject<{
|
|
1094
|
-
kind: z.ZodLiteral<EngagementRedirectionKind>;
|
|
1095
|
+
kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
|
|
1095
1096
|
channelId: z.ZodString;
|
|
1096
1097
|
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1097
1098
|
}, "strip", z.ZodTypeAny, {
|
|
1098
|
-
kind: EngagementRedirectionKind;
|
|
1099
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1099
1100
|
channelId: string;
|
|
1100
1101
|
includeUser: boolean;
|
|
1101
1102
|
}, {
|
|
1102
|
-
kind: EngagementRedirectionKind;
|
|
1103
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1104
|
+
channelId: string;
|
|
1105
|
+
includeUser?: boolean | undefined;
|
|
1106
|
+
}>;
|
|
1107
|
+
export declare const _TeamsChannelRedirection: z.ZodObject<{
|
|
1108
|
+
kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
|
|
1109
|
+
channelId: z.ZodString;
|
|
1110
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1111
|
+
}, "strip", z.ZodTypeAny, {
|
|
1112
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1113
|
+
channelId: string;
|
|
1114
|
+
includeUser: boolean;
|
|
1115
|
+
}, {
|
|
1116
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1103
1117
|
channelId: string;
|
|
1104
1118
|
includeUser?: boolean | undefined;
|
|
1105
1119
|
}>;
|
|
1106
1120
|
export type SlackChannelRedirection = z.infer<typeof _SlackChannelRedirection>;
|
|
1121
|
+
export type TeamsChannelRedirection = z.infer<typeof _TeamsChannelRedirection>;
|
|
1107
1122
|
export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
1108
1123
|
id: z.ZodString;
|
|
1109
1124
|
createdAt: z.ZodString;
|
|
@@ -1501,15 +1516,27 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1501
1516
|
engagementChannelConnectorIds: string[];
|
|
1502
1517
|
}>>;
|
|
1503
1518
|
redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1504
|
-
kind: z.ZodLiteral<EngagementRedirectionKind>;
|
|
1519
|
+
kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
|
|
1505
1520
|
channelId: z.ZodString;
|
|
1506
1521
|
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1507
1522
|
}, "strip", z.ZodTypeAny, {
|
|
1508
|
-
kind: EngagementRedirectionKind;
|
|
1523
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1509
1524
|
channelId: string;
|
|
1510
1525
|
includeUser: boolean;
|
|
1511
1526
|
}, {
|
|
1512
|
-
kind: EngagementRedirectionKind;
|
|
1527
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1528
|
+
channelId: string;
|
|
1529
|
+
includeUser?: boolean | undefined;
|
|
1530
|
+
}>, z.ZodObject<{
|
|
1531
|
+
kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
|
|
1532
|
+
channelId: z.ZodString;
|
|
1533
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1534
|
+
}, "strip", z.ZodTypeAny, {
|
|
1535
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1536
|
+
channelId: string;
|
|
1537
|
+
includeUser: boolean;
|
|
1538
|
+
}, {
|
|
1539
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1513
1540
|
channelId: string;
|
|
1514
1541
|
includeUser?: boolean | undefined;
|
|
1515
1542
|
}>]>>;
|
|
@@ -1691,7 +1718,11 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1691
1718
|
engagementChannelConnectorIds: string[];
|
|
1692
1719
|
} | undefined;
|
|
1693
1720
|
redirection?: {
|
|
1694
|
-
kind: EngagementRedirectionKind;
|
|
1721
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1722
|
+
channelId: string;
|
|
1723
|
+
includeUser: boolean;
|
|
1724
|
+
} | {
|
|
1725
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1695
1726
|
channelId: string;
|
|
1696
1727
|
includeUser: boolean;
|
|
1697
1728
|
} | undefined;
|
|
@@ -1830,7 +1861,11 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
1830
1861
|
engagementChannelConnectorIds: string[];
|
|
1831
1862
|
} | undefined;
|
|
1832
1863
|
redirection?: {
|
|
1833
|
-
kind: EngagementRedirectionKind;
|
|
1864
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1865
|
+
channelId: string;
|
|
1866
|
+
includeUser?: boolean | undefined;
|
|
1867
|
+
} | {
|
|
1868
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1834
1869
|
channelId: string;
|
|
1835
1870
|
includeUser?: boolean | undefined;
|
|
1836
1871
|
} | undefined;
|
|
@@ -2258,15 +2293,27 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2258
2293
|
engagementChannelConnectorIds: string[];
|
|
2259
2294
|
}>>;
|
|
2260
2295
|
redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2261
|
-
kind: z.ZodLiteral<EngagementRedirectionKind>;
|
|
2296
|
+
kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
|
|
2262
2297
|
channelId: z.ZodString;
|
|
2263
2298
|
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
2264
2299
|
}, "strip", z.ZodTypeAny, {
|
|
2265
|
-
kind: EngagementRedirectionKind;
|
|
2300
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
2266
2301
|
channelId: string;
|
|
2267
2302
|
includeUser: boolean;
|
|
2268
2303
|
}, {
|
|
2269
|
-
kind: EngagementRedirectionKind;
|
|
2304
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
2305
|
+
channelId: string;
|
|
2306
|
+
includeUser?: boolean | undefined;
|
|
2307
|
+
}>, z.ZodObject<{
|
|
2308
|
+
kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
|
|
2309
|
+
channelId: z.ZodString;
|
|
2310
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
2311
|
+
}, "strip", z.ZodTypeAny, {
|
|
2312
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
2313
|
+
channelId: string;
|
|
2314
|
+
includeUser: boolean;
|
|
2315
|
+
}, {
|
|
2316
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
2270
2317
|
channelId: string;
|
|
2271
2318
|
includeUser?: boolean | undefined;
|
|
2272
2319
|
}>]>>;
|
|
@@ -2453,7 +2500,11 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2453
2500
|
engagementChannelConnectorIds: string[];
|
|
2454
2501
|
} | undefined;
|
|
2455
2502
|
redirection?: {
|
|
2456
|
-
kind: EngagementRedirectionKind;
|
|
2503
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
2504
|
+
channelId: string;
|
|
2505
|
+
includeUser: boolean;
|
|
2506
|
+
} | {
|
|
2507
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
2457
2508
|
channelId: string;
|
|
2458
2509
|
includeUser: boolean;
|
|
2459
2510
|
} | undefined;
|
|
@@ -2584,7 +2635,11 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
|
|
|
2584
2635
|
engagementChannelConnectorIds: string[];
|
|
2585
2636
|
} | undefined;
|
|
2586
2637
|
redirection?: {
|
|
2587
|
-
kind: EngagementRedirectionKind;
|
|
2638
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
2639
|
+
channelId: string;
|
|
2640
|
+
includeUser?: boolean | undefined;
|
|
2641
|
+
} | {
|
|
2642
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
2588
2643
|
channelId: string;
|
|
2589
2644
|
includeUser?: boolean | undefined;
|
|
2590
2645
|
} | undefined;
|
|
@@ -2926,15 +2981,27 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
2926
2981
|
engagementChannelConnectorIds: string[];
|
|
2927
2982
|
}>>>;
|
|
2928
2983
|
redirection: z.ZodOptional<z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
2929
|
-
kind: z.ZodLiteral<EngagementRedirectionKind>;
|
|
2984
|
+
kind: z.ZodLiteral<EngagementRedirectionKind.SLACK_CHANNEL>;
|
|
2985
|
+
channelId: z.ZodString;
|
|
2986
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
2987
|
+
}, "strip", z.ZodTypeAny, {
|
|
2988
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
2989
|
+
channelId: string;
|
|
2990
|
+
includeUser: boolean;
|
|
2991
|
+
}, {
|
|
2992
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
2993
|
+
channelId: string;
|
|
2994
|
+
includeUser?: boolean | undefined;
|
|
2995
|
+
}>, z.ZodObject<{
|
|
2996
|
+
kind: z.ZodLiteral<EngagementRedirectionKind.TEAMS_CHANNEL>;
|
|
2930
2997
|
channelId: z.ZodString;
|
|
2931
2998
|
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
2932
2999
|
}, "strip", z.ZodTypeAny, {
|
|
2933
|
-
kind: EngagementRedirectionKind;
|
|
3000
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
2934
3001
|
channelId: string;
|
|
2935
3002
|
includeUser: boolean;
|
|
2936
3003
|
}, {
|
|
2937
|
-
kind: EngagementRedirectionKind;
|
|
3004
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
2938
3005
|
channelId: string;
|
|
2939
3006
|
includeUser?: boolean | undefined;
|
|
2940
3007
|
}>]>>>;
|
|
@@ -3102,7 +3169,11 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
3102
3169
|
engagementChannelConnectorIds: string[];
|
|
3103
3170
|
} | undefined;
|
|
3104
3171
|
redirection?: {
|
|
3105
|
-
kind: EngagementRedirectionKind;
|
|
3172
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
3173
|
+
channelId: string;
|
|
3174
|
+
includeUser: boolean;
|
|
3175
|
+
} | {
|
|
3176
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
3106
3177
|
channelId: string;
|
|
3107
3178
|
includeUser: boolean;
|
|
3108
3179
|
} | undefined;
|
|
@@ -3225,7 +3296,11 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
|
|
|
3225
3296
|
engagementChannelConnectorIds: string[];
|
|
3226
3297
|
} | undefined;
|
|
3227
3298
|
redirection?: {
|
|
3228
|
-
kind: EngagementRedirectionKind;
|
|
3299
|
+
kind: EngagementRedirectionKind.SLACK_CHANNEL;
|
|
3300
|
+
channelId: string;
|
|
3301
|
+
includeUser?: boolean | undefined;
|
|
3302
|
+
} | {
|
|
3303
|
+
kind: EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
3229
3304
|
channelId: string;
|
|
3230
3305
|
includeUser?: boolean | undefined;
|
|
3231
3306
|
} | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
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._FlowActionButton = 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._TeamsChannelRedirection = exports._SlackChannelRedirection = exports.EngagementRedirectionKind = exports._EngagementEscalationConfig = exports._FlowRewardsConfig = exports._FlowActions = exports._FlowActionButton = 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");
|
|
@@ -175,12 +175,18 @@ exports._EngagementEscalationConfig = zod_1.z.object({
|
|
|
175
175
|
var EngagementRedirectionKind;
|
|
176
176
|
(function (EngagementRedirectionKind) {
|
|
177
177
|
EngagementRedirectionKind["SLACK_CHANNEL"] = "SLACK_CHANNEL";
|
|
178
|
+
EngagementRedirectionKind["TEAMS_CHANNEL"] = "TEAMS_CHANNEL";
|
|
178
179
|
})(EngagementRedirectionKind || (exports.EngagementRedirectionKind = EngagementRedirectionKind = {}));
|
|
179
180
|
exports._SlackChannelRedirection = zod_1.z.object({
|
|
180
181
|
kind: zod_1.z.literal(EngagementRedirectionKind.SLACK_CHANNEL),
|
|
181
182
|
channelId: zod_1.z.string(),
|
|
182
183
|
includeUser: zod_1.z.boolean().default(false),
|
|
183
184
|
});
|
|
185
|
+
exports._TeamsChannelRedirection = zod_1.z.object({
|
|
186
|
+
kind: zod_1.z.literal(EngagementRedirectionKind.TEAMS_CHANNEL),
|
|
187
|
+
channelId: zod_1.z.string(),
|
|
188
|
+
includeUser: zod_1.z.boolean().default(false),
|
|
189
|
+
});
|
|
184
190
|
exports._FlowSpecDto = base_dto_1._BaseDto.merge(zod_1.z.object({
|
|
185
191
|
id: zod_1.z.string(),
|
|
186
192
|
tid: zod_1.z.string(),
|
|
@@ -200,7 +206,7 @@ exports._FlowSpecDto = base_dto_1._BaseDto.merge(zod_1.z.object({
|
|
|
200
206
|
reminderInterval: exports._FlowInterval.optional(),
|
|
201
207
|
actions: exports._FlowActions.optional(),
|
|
202
208
|
escalation: exports._EngagementEscalationConfig.optional(),
|
|
203
|
-
redirection: zod_1.z.discriminatedUnion('kind', [exports._SlackChannelRedirection]).optional(),
|
|
209
|
+
redirection: zod_1.z.discriminatedUnion('kind', [exports._SlackChannelRedirection, exports._TeamsChannelRedirection]).optional(),
|
|
204
210
|
rewards: zod_1.z.array(exports._FlowRewardsConfig).optional(),
|
|
205
211
|
customMessage: zod_1.z.object({ template: zod_1.z.string().optional(), append: zod_1.z.boolean().optional() }).optional(),
|
|
206
212
|
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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U,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"}
|
|
@@ -29,16 +29,16 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
29
29
|
method: z.ZodString;
|
|
30
30
|
payload: z.ZodOptional<z.ZodObject<{
|
|
31
31
|
kind: z.ZodLiteral<"TEMPLATE">;
|
|
32
|
-
format: z.ZodLiteral<"JSON">;
|
|
32
|
+
format: z.ZodUnion<[z.ZodLiteral<"JSON">, z.ZodLiteral<"XML">]>;
|
|
33
33
|
value: z.ZodString;
|
|
34
34
|
}, "strip", z.ZodTypeAny, {
|
|
35
35
|
value: string;
|
|
36
36
|
kind: "TEMPLATE";
|
|
37
|
-
format: "JSON";
|
|
37
|
+
format: "JSON" | "XML";
|
|
38
38
|
}, {
|
|
39
39
|
value: string;
|
|
40
40
|
kind: "TEMPLATE";
|
|
41
|
-
format: "JSON";
|
|
41
|
+
format: "JSON" | "XML";
|
|
42
42
|
}>>;
|
|
43
43
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
44
44
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -49,7 +49,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
49
49
|
payload?: {
|
|
50
50
|
value: string;
|
|
51
51
|
kind: "TEMPLATE";
|
|
52
|
-
format: "JSON";
|
|
52
|
+
format: "JSON" | "XML";
|
|
53
53
|
} | undefined;
|
|
54
54
|
headers?: Record<string, string> | undefined;
|
|
55
55
|
}, {
|
|
@@ -59,7 +59,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
59
59
|
payload?: {
|
|
60
60
|
value: string;
|
|
61
61
|
kind: "TEMPLATE";
|
|
62
|
-
format: "JSON";
|
|
62
|
+
format: "JSON" | "XML";
|
|
63
63
|
} | undefined;
|
|
64
64
|
headers?: Record<string, string> | undefined;
|
|
65
65
|
}>;
|
|
@@ -72,7 +72,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
72
72
|
payload?: {
|
|
73
73
|
value: string;
|
|
74
74
|
kind: "TEMPLATE";
|
|
75
|
-
format: "JSON";
|
|
75
|
+
format: "JSON" | "XML";
|
|
76
76
|
} | undefined;
|
|
77
77
|
headers?: Record<string, string> | undefined;
|
|
78
78
|
};
|
|
@@ -85,7 +85,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
85
85
|
payload?: {
|
|
86
86
|
value: string;
|
|
87
87
|
kind: "TEMPLATE";
|
|
88
|
-
format: "JSON";
|
|
88
|
+
format: "JSON" | "XML";
|
|
89
89
|
} | undefined;
|
|
90
90
|
headers?: Record<string, string> | undefined;
|
|
91
91
|
};
|
|
@@ -109,7 +109,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
109
109
|
payload?: {
|
|
110
110
|
value: string;
|
|
111
111
|
kind: "TEMPLATE";
|
|
112
|
-
format: "JSON";
|
|
112
|
+
format: "JSON" | "XML";
|
|
113
113
|
} | undefined;
|
|
114
114
|
headers?: Record<string, string> | undefined;
|
|
115
115
|
};
|
|
@@ -138,7 +138,7 @@ export declare const _PlatformCustomActionDto: z.ZodObject<z.objectUtil.extendSh
|
|
|
138
138
|
payload?: {
|
|
139
139
|
value: string;
|
|
140
140
|
kind: "TEMPLATE";
|
|
141
|
-
format: "JSON";
|
|
141
|
+
format: "JSON" | "XML";
|
|
142
142
|
} | undefined;
|
|
143
143
|
headers?: Record<string, string> | undefined;
|
|
144
144
|
};
|
|
@@ -167,16 +167,16 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
167
167
|
method: z.ZodString;
|
|
168
168
|
payload: z.ZodOptional<z.ZodObject<{
|
|
169
169
|
kind: z.ZodLiteral<"TEMPLATE">;
|
|
170
|
-
format: z.ZodLiteral<"JSON">;
|
|
170
|
+
format: z.ZodUnion<[z.ZodLiteral<"JSON">, z.ZodLiteral<"XML">]>;
|
|
171
171
|
value: z.ZodString;
|
|
172
172
|
}, "strip", z.ZodTypeAny, {
|
|
173
173
|
value: string;
|
|
174
174
|
kind: "TEMPLATE";
|
|
175
|
-
format: "JSON";
|
|
175
|
+
format: "JSON" | "XML";
|
|
176
176
|
}, {
|
|
177
177
|
value: string;
|
|
178
178
|
kind: "TEMPLATE";
|
|
179
|
-
format: "JSON";
|
|
179
|
+
format: "JSON" | "XML";
|
|
180
180
|
}>>;
|
|
181
181
|
headers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
182
182
|
params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
@@ -187,7 +187,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
187
187
|
payload?: {
|
|
188
188
|
value: string;
|
|
189
189
|
kind: "TEMPLATE";
|
|
190
|
-
format: "JSON";
|
|
190
|
+
format: "JSON" | "XML";
|
|
191
191
|
} | undefined;
|
|
192
192
|
headers?: Record<string, string> | undefined;
|
|
193
193
|
}, {
|
|
@@ -197,7 +197,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
197
197
|
payload?: {
|
|
198
198
|
value: string;
|
|
199
199
|
kind: "TEMPLATE";
|
|
200
|
-
format: "JSON";
|
|
200
|
+
format: "JSON" | "XML";
|
|
201
201
|
} | undefined;
|
|
202
202
|
headers?: Record<string, string> | undefined;
|
|
203
203
|
}>;
|
|
@@ -210,7 +210,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
210
210
|
payload?: {
|
|
211
211
|
value: string;
|
|
212
212
|
kind: "TEMPLATE";
|
|
213
|
-
format: "JSON";
|
|
213
|
+
format: "JSON" | "XML";
|
|
214
214
|
} | undefined;
|
|
215
215
|
headers?: Record<string, string> | undefined;
|
|
216
216
|
};
|
|
@@ -223,7 +223,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
223
223
|
payload?: {
|
|
224
224
|
value: string;
|
|
225
225
|
kind: "TEMPLATE";
|
|
226
|
-
format: "JSON";
|
|
226
|
+
format: "JSON" | "XML";
|
|
227
227
|
} | undefined;
|
|
228
228
|
headers?: Record<string, string> | undefined;
|
|
229
229
|
};
|
|
@@ -257,7 +257,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
257
257
|
payload?: {
|
|
258
258
|
value: string;
|
|
259
259
|
kind: "TEMPLATE";
|
|
260
|
-
format: "JSON";
|
|
260
|
+
format: "JSON" | "XML";
|
|
261
261
|
} | undefined;
|
|
262
262
|
headers?: Record<string, string> | undefined;
|
|
263
263
|
};
|
|
@@ -286,7 +286,7 @@ export declare const _PlatformCustomActionUpsertDto: z.ZodObject<z.objectUtil.ex
|
|
|
286
286
|
payload?: {
|
|
287
287
|
value: string;
|
|
288
288
|
kind: "TEMPLATE";
|
|
289
|
-
format: "JSON";
|
|
289
|
+
format: "JSON" | "XML";
|
|
290
290
|
} | undefined;
|
|
291
291
|
headers?: Record<string, string> | undefined;
|
|
292
292
|
};
|
|
@@ -384,15 +384,27 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
384
384
|
engagementChannelConnectorIds: string[];
|
|
385
385
|
}>>;
|
|
386
386
|
redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
387
|
-
kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind>;
|
|
387
|
+
kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL>;
|
|
388
388
|
channelId: z.ZodString;
|
|
389
389
|
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
390
390
|
}, "strip", z.ZodTypeAny, {
|
|
391
|
-
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
391
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
392
392
|
channelId: string;
|
|
393
393
|
includeUser: boolean;
|
|
394
394
|
}, {
|
|
395
|
-
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
395
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
396
|
+
channelId: string;
|
|
397
|
+
includeUser?: boolean | undefined;
|
|
398
|
+
}>, z.ZodObject<{
|
|
399
|
+
kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL>;
|
|
400
|
+
channelId: z.ZodString;
|
|
401
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
402
|
+
}, "strip", z.ZodTypeAny, {
|
|
403
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
404
|
+
channelId: string;
|
|
405
|
+
includeUser: boolean;
|
|
406
|
+
}, {
|
|
407
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
396
408
|
channelId: string;
|
|
397
409
|
includeUser?: boolean | undefined;
|
|
398
410
|
}>]>>;
|
|
@@ -576,7 +588,11 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
576
588
|
engagementChannelConnectorIds: string[];
|
|
577
589
|
} | undefined;
|
|
578
590
|
redirection?: {
|
|
579
|
-
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
591
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
592
|
+
channelId: string;
|
|
593
|
+
includeUser: boolean;
|
|
594
|
+
} | {
|
|
595
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
580
596
|
channelId: string;
|
|
581
597
|
includeUser: boolean;
|
|
582
598
|
} | undefined;
|
|
@@ -707,7 +723,11 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
707
723
|
engagementChannelConnectorIds: string[];
|
|
708
724
|
} | undefined;
|
|
709
725
|
redirection?: {
|
|
710
|
-
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
726
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
727
|
+
channelId: string;
|
|
728
|
+
includeUser?: boolean | undefined;
|
|
729
|
+
} | {
|
|
730
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
711
731
|
channelId: string;
|
|
712
732
|
includeUser?: boolean | undefined;
|
|
713
733
|
} | undefined;
|
|
@@ -1114,15 +1134,27 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1114
1134
|
engagementChannelConnectorIds: string[];
|
|
1115
1135
|
}>>;
|
|
1116
1136
|
redirection: z.ZodOptional<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
|
|
1117
|
-
kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind>;
|
|
1137
|
+
kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL>;
|
|
1118
1138
|
channelId: z.ZodString;
|
|
1119
1139
|
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1120
1140
|
}, "strip", z.ZodTypeAny, {
|
|
1121
|
-
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
1141
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1122
1142
|
channelId: string;
|
|
1123
1143
|
includeUser: boolean;
|
|
1124
1144
|
}, {
|
|
1125
|
-
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
1145
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1146
|
+
channelId: string;
|
|
1147
|
+
includeUser?: boolean | undefined;
|
|
1148
|
+
}>, z.ZodObject<{
|
|
1149
|
+
kind: z.ZodLiteral<import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL>;
|
|
1150
|
+
channelId: z.ZodString;
|
|
1151
|
+
includeUser: z.ZodDefault<z.ZodBoolean>;
|
|
1152
|
+
}, "strip", z.ZodTypeAny, {
|
|
1153
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1154
|
+
channelId: string;
|
|
1155
|
+
includeUser: boolean;
|
|
1156
|
+
}, {
|
|
1157
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1126
1158
|
channelId: string;
|
|
1127
1159
|
includeUser?: boolean | undefined;
|
|
1128
1160
|
}>]>>;
|
|
@@ -1301,7 +1333,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1301
1333
|
engagementChannelConnectorIds: string[];
|
|
1302
1334
|
} | undefined;
|
|
1303
1335
|
redirection?: {
|
|
1304
|
-
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
1336
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1337
|
+
channelId: string;
|
|
1338
|
+
includeUser: boolean;
|
|
1339
|
+
} | {
|
|
1340
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1305
1341
|
channelId: string;
|
|
1306
1342
|
includeUser: boolean;
|
|
1307
1343
|
} | undefined;
|
|
@@ -1440,7 +1476,11 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1440
1476
|
engagementChannelConnectorIds: string[];
|
|
1441
1477
|
} | undefined;
|
|
1442
1478
|
redirection?: {
|
|
1443
|
-
kind: import("../flows.dto").EngagementRedirectionKind;
|
|
1479
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1480
|
+
channelId: string;
|
|
1481
|
+
includeUser?: boolean | undefined;
|
|
1482
|
+
} | {
|
|
1483
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1444
1484
|
channelId: string;
|
|
1445
1485
|
includeUser?: boolean | undefined;
|
|
1446
1486
|
} | undefined;
|
package/package.json
CHANGED
package/src/dto/flows.dto.ts
CHANGED
|
@@ -211,6 +211,7 @@ export type EngagementEscalationConfig = z.infer<typeof _EngagementEscalationCon
|
|
|
211
211
|
|
|
212
212
|
export enum EngagementRedirectionKind {
|
|
213
213
|
SLACK_CHANNEL = 'SLACK_CHANNEL',
|
|
214
|
+
TEAMS_CHANNEL = 'TEAMS_CHANNEL',
|
|
214
215
|
}
|
|
215
216
|
|
|
216
217
|
export const _SlackChannelRedirection = z.object({
|
|
@@ -219,8 +220,16 @@ export const _SlackChannelRedirection = z.object({
|
|
|
219
220
|
includeUser: z.boolean().default(false),
|
|
220
221
|
});
|
|
221
222
|
|
|
223
|
+
export const _TeamsChannelRedirection = z.object({
|
|
224
|
+
kind: z.literal(EngagementRedirectionKind.TEAMS_CHANNEL),
|
|
225
|
+
channelId: z.string(),
|
|
226
|
+
includeUser: z.boolean().default(false),
|
|
227
|
+
});
|
|
228
|
+
|
|
222
229
|
export type SlackChannelRedirection = z.infer<typeof _SlackChannelRedirection>;
|
|
223
230
|
|
|
231
|
+
export type TeamsChannelRedirection = z.infer<typeof _TeamsChannelRedirection>;
|
|
232
|
+
|
|
224
233
|
export const _FlowSpecDto = _BaseDto.merge(
|
|
225
234
|
z.object({
|
|
226
235
|
id: z.string(),
|
|
@@ -241,7 +250,7 @@ export const _FlowSpecDto = _BaseDto.merge(
|
|
|
241
250
|
reminderInterval: _FlowInterval.optional(),
|
|
242
251
|
actions: _FlowActions.optional(),
|
|
243
252
|
escalation: _EngagementEscalationConfig.optional(),
|
|
244
|
-
redirection: z.discriminatedUnion('kind', [_SlackChannelRedirection]).optional(),
|
|
253
|
+
redirection: z.discriminatedUnion('kind', [_SlackChannelRedirection, _TeamsChannelRedirection]).optional(),
|
|
245
254
|
rewards: z.array(_FlowRewardsConfig).optional(),
|
|
246
255
|
customMessage: z.object({template: z.string().optional(), append: z.boolean().optional()}).optional(),
|
|
247
256
|
additionalContext: z.object({data: z.string().optional()}).optional(),
|