@ampsec/platform-client 64.3.0 → 64.4.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.
|
@@ -779,33 +779,13 @@ export declare const _FlowActions: z.ZodObject<{
|
|
|
779
779
|
findingStatus?: FindingStatus | undefined;
|
|
780
780
|
}>>;
|
|
781
781
|
/**
|
|
782
|
-
* @deprecated Use
|
|
782
|
+
* @deprecated Use triage instead
|
|
783
783
|
*/
|
|
784
784
|
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
785
|
-
simpleTriageYesAction: z.ZodOptional<z.ZodObject<{
|
|
786
|
-
actionId: z.ZodString;
|
|
787
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
788
|
-
}, "strip", z.ZodTypeAny, {
|
|
789
|
-
actionId: string;
|
|
790
|
-
findingStatus?: FindingStatus | undefined;
|
|
791
|
-
}, {
|
|
792
|
-
actionId: string;
|
|
793
|
-
findingStatus?: FindingStatus | undefined;
|
|
794
|
-
}>>;
|
|
795
785
|
/**
|
|
796
|
-
* @deprecated Use
|
|
786
|
+
* @deprecated Use triage instead
|
|
797
787
|
*/
|
|
798
788
|
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
799
|
-
simpleTriageNoAction: z.ZodOptional<z.ZodObject<{
|
|
800
|
-
actionId: z.ZodString;
|
|
801
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
802
|
-
}, "strip", z.ZodTypeAny, {
|
|
803
|
-
actionId: string;
|
|
804
|
-
findingStatus?: FindingStatus | undefined;
|
|
805
|
-
}, {
|
|
806
|
-
actionId: string;
|
|
807
|
-
findingStatus?: FindingStatus | undefined;
|
|
808
|
-
}>>;
|
|
809
789
|
/**
|
|
810
790
|
* @deprecated Use resolveNowAction instead
|
|
811
791
|
*/
|
|
@@ -828,15 +808,7 @@ export declare const _FlowActions: z.ZodObject<{
|
|
|
828
808
|
findingStatus?: FindingStatus | undefined;
|
|
829
809
|
} | undefined;
|
|
830
810
|
simpleTriageYesActId?: string | undefined;
|
|
831
|
-
simpleTriageYesAction?: {
|
|
832
|
-
actionId: string;
|
|
833
|
-
findingStatus?: FindingStatus | undefined;
|
|
834
|
-
} | undefined;
|
|
835
811
|
simpleTriageNoActId?: string | undefined;
|
|
836
|
-
simpleTriageNoAction?: {
|
|
837
|
-
actionId: string;
|
|
838
|
-
findingStatus?: FindingStatus | undefined;
|
|
839
|
-
} | undefined;
|
|
840
812
|
resolveNowActionId?: string | undefined;
|
|
841
813
|
resolveNowAction?: {
|
|
842
814
|
actionId: string;
|
|
@@ -850,15 +822,7 @@ export declare const _FlowActions: z.ZodObject<{
|
|
|
850
822
|
findingStatus?: FindingStatus | undefined;
|
|
851
823
|
} | undefined;
|
|
852
824
|
simpleTriageYesActId?: string | undefined;
|
|
853
|
-
simpleTriageYesAction?: {
|
|
854
|
-
actionId: string;
|
|
855
|
-
findingStatus?: FindingStatus | undefined;
|
|
856
|
-
} | undefined;
|
|
857
825
|
simpleTriageNoActId?: string | undefined;
|
|
858
|
-
simpleTriageNoAction?: {
|
|
859
|
-
actionId: string;
|
|
860
|
-
findingStatus?: FindingStatus | undefined;
|
|
861
|
-
} | undefined;
|
|
862
826
|
resolveNowActionId?: string | undefined;
|
|
863
827
|
resolveNowAction?: {
|
|
864
828
|
actionId: string;
|
|
@@ -992,6 +956,49 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
992
956
|
value?: number | undefined;
|
|
993
957
|
units?: string | undefined;
|
|
994
958
|
}>>;
|
|
959
|
+
triage: z.ZodOptional<z.ZodObject<{
|
|
960
|
+
message: z.ZodString;
|
|
961
|
+
yesAction: z.ZodObject<{
|
|
962
|
+
actionId: z.ZodString;
|
|
963
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
964
|
+
}, "strip", z.ZodTypeAny, {
|
|
965
|
+
actionId: string;
|
|
966
|
+
findingStatus?: FindingStatus | undefined;
|
|
967
|
+
}, {
|
|
968
|
+
actionId: string;
|
|
969
|
+
findingStatus?: FindingStatus | undefined;
|
|
970
|
+
}>;
|
|
971
|
+
noAction: z.ZodObject<{
|
|
972
|
+
actionId: z.ZodString;
|
|
973
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
974
|
+
}, "strip", z.ZodTypeAny, {
|
|
975
|
+
actionId: string;
|
|
976
|
+
findingStatus?: FindingStatus | undefined;
|
|
977
|
+
}, {
|
|
978
|
+
actionId: string;
|
|
979
|
+
findingStatus?: FindingStatus | undefined;
|
|
980
|
+
}>;
|
|
981
|
+
}, "strip", z.ZodTypeAny, {
|
|
982
|
+
message: string;
|
|
983
|
+
yesAction: {
|
|
984
|
+
actionId: string;
|
|
985
|
+
findingStatus?: FindingStatus | undefined;
|
|
986
|
+
};
|
|
987
|
+
noAction: {
|
|
988
|
+
actionId: string;
|
|
989
|
+
findingStatus?: FindingStatus | undefined;
|
|
990
|
+
};
|
|
991
|
+
}, {
|
|
992
|
+
message: string;
|
|
993
|
+
yesAction: {
|
|
994
|
+
actionId: string;
|
|
995
|
+
findingStatus?: FindingStatus | undefined;
|
|
996
|
+
};
|
|
997
|
+
noAction: {
|
|
998
|
+
actionId: string;
|
|
999
|
+
findingStatus?: FindingStatus | undefined;
|
|
1000
|
+
};
|
|
1001
|
+
}>>;
|
|
995
1002
|
reminderInterval: z.ZodOptional<z.ZodObject<{
|
|
996
1003
|
minutes: z.ZodNumber;
|
|
997
1004
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1022,33 +1029,13 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
1022
1029
|
findingStatus?: FindingStatus | undefined;
|
|
1023
1030
|
}>>;
|
|
1024
1031
|
/**
|
|
1025
|
-
* @deprecated Use
|
|
1032
|
+
* @deprecated Use triage instead
|
|
1026
1033
|
*/
|
|
1027
1034
|
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
1028
|
-
simpleTriageYesAction: z.ZodOptional<z.ZodObject<{
|
|
1029
|
-
actionId: z.ZodString;
|
|
1030
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1031
|
-
}, "strip", z.ZodTypeAny, {
|
|
1032
|
-
actionId: string;
|
|
1033
|
-
findingStatus?: FindingStatus | undefined;
|
|
1034
|
-
}, {
|
|
1035
|
-
actionId: string;
|
|
1036
|
-
findingStatus?: FindingStatus | undefined;
|
|
1037
|
-
}>>;
|
|
1038
1035
|
/**
|
|
1039
|
-
* @deprecated Use
|
|
1036
|
+
* @deprecated Use triage instead
|
|
1040
1037
|
*/
|
|
1041
1038
|
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
1042
|
-
simpleTriageNoAction: z.ZodOptional<z.ZodObject<{
|
|
1043
|
-
actionId: z.ZodString;
|
|
1044
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1045
|
-
}, "strip", z.ZodTypeAny, {
|
|
1046
|
-
actionId: string;
|
|
1047
|
-
findingStatus?: FindingStatus | undefined;
|
|
1048
|
-
}, {
|
|
1049
|
-
actionId: string;
|
|
1050
|
-
findingStatus?: FindingStatus | undefined;
|
|
1051
|
-
}>>;
|
|
1052
1039
|
/**
|
|
1053
1040
|
* @deprecated Use resolveNowAction instead
|
|
1054
1041
|
*/
|
|
@@ -1071,15 +1058,7 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
1071
1058
|
findingStatus?: FindingStatus | undefined;
|
|
1072
1059
|
} | undefined;
|
|
1073
1060
|
simpleTriageYesActId?: string | undefined;
|
|
1074
|
-
simpleTriageYesAction?: {
|
|
1075
|
-
actionId: string;
|
|
1076
|
-
findingStatus?: FindingStatus | undefined;
|
|
1077
|
-
} | undefined;
|
|
1078
1061
|
simpleTriageNoActId?: string | undefined;
|
|
1079
|
-
simpleTriageNoAction?: {
|
|
1080
|
-
actionId: string;
|
|
1081
|
-
findingStatus?: FindingStatus | undefined;
|
|
1082
|
-
} | undefined;
|
|
1083
1062
|
resolveNowActionId?: string | undefined;
|
|
1084
1063
|
resolveNowAction?: {
|
|
1085
1064
|
actionId: string;
|
|
@@ -1093,15 +1072,7 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
1093
1072
|
findingStatus?: FindingStatus | undefined;
|
|
1094
1073
|
} | undefined;
|
|
1095
1074
|
simpleTriageYesActId?: string | undefined;
|
|
1096
|
-
simpleTriageYesAction?: {
|
|
1097
|
-
actionId: string;
|
|
1098
|
-
findingStatus?: FindingStatus | undefined;
|
|
1099
|
-
} | undefined;
|
|
1100
1075
|
simpleTriageNoActId?: string | undefined;
|
|
1101
|
-
simpleTriageNoAction?: {
|
|
1102
|
-
actionId: string;
|
|
1103
|
-
findingStatus?: FindingStatus | undefined;
|
|
1104
|
-
} | undefined;
|
|
1105
1076
|
resolveNowActionId?: string | undefined;
|
|
1106
1077
|
resolveNowAction?: {
|
|
1107
1078
|
actionId: string;
|
|
@@ -1202,6 +1173,17 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
1202
1173
|
value?: number | undefined;
|
|
1203
1174
|
units?: string | undefined;
|
|
1204
1175
|
} | undefined;
|
|
1176
|
+
triage?: {
|
|
1177
|
+
message: string;
|
|
1178
|
+
yesAction: {
|
|
1179
|
+
actionId: string;
|
|
1180
|
+
findingStatus?: FindingStatus | undefined;
|
|
1181
|
+
};
|
|
1182
|
+
noAction: {
|
|
1183
|
+
actionId: string;
|
|
1184
|
+
findingStatus?: FindingStatus | undefined;
|
|
1185
|
+
};
|
|
1186
|
+
} | undefined;
|
|
1205
1187
|
reminderInterval?: {
|
|
1206
1188
|
minutes: number;
|
|
1207
1189
|
value?: number | undefined;
|
|
@@ -1215,15 +1197,7 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
1215
1197
|
findingStatus?: FindingStatus | undefined;
|
|
1216
1198
|
} | undefined;
|
|
1217
1199
|
simpleTriageYesActId?: string | undefined;
|
|
1218
|
-
simpleTriageYesAction?: {
|
|
1219
|
-
actionId: string;
|
|
1220
|
-
findingStatus?: FindingStatus | undefined;
|
|
1221
|
-
} | undefined;
|
|
1222
1200
|
simpleTriageNoActId?: string | undefined;
|
|
1223
|
-
simpleTriageNoAction?: {
|
|
1224
|
-
actionId: string;
|
|
1225
|
-
findingStatus?: FindingStatus | undefined;
|
|
1226
|
-
} | undefined;
|
|
1227
1201
|
resolveNowActionId?: string | undefined;
|
|
1228
1202
|
resolveNowAction?: {
|
|
1229
1203
|
actionId: string;
|
|
@@ -1290,6 +1264,17 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
1290
1264
|
value?: number | undefined;
|
|
1291
1265
|
units?: string | undefined;
|
|
1292
1266
|
} | undefined;
|
|
1267
|
+
triage?: {
|
|
1268
|
+
message: string;
|
|
1269
|
+
yesAction: {
|
|
1270
|
+
actionId: string;
|
|
1271
|
+
findingStatus?: FindingStatus | undefined;
|
|
1272
|
+
};
|
|
1273
|
+
noAction: {
|
|
1274
|
+
actionId: string;
|
|
1275
|
+
findingStatus?: FindingStatus | undefined;
|
|
1276
|
+
};
|
|
1277
|
+
} | undefined;
|
|
1293
1278
|
reminderInterval?: {
|
|
1294
1279
|
minutes: number;
|
|
1295
1280
|
value?: number | undefined;
|
|
@@ -1303,15 +1288,7 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
1303
1288
|
findingStatus?: FindingStatus | undefined;
|
|
1304
1289
|
} | undefined;
|
|
1305
1290
|
simpleTriageYesActId?: string | undefined;
|
|
1306
|
-
simpleTriageYesAction?: {
|
|
1307
|
-
actionId: string;
|
|
1308
|
-
findingStatus?: FindingStatus | undefined;
|
|
1309
|
-
} | undefined;
|
|
1310
1291
|
simpleTriageNoActId?: string | undefined;
|
|
1311
|
-
simpleTriageNoAction?: {
|
|
1312
|
-
actionId: string;
|
|
1313
|
-
findingStatus?: FindingStatus | undefined;
|
|
1314
|
-
} | undefined;
|
|
1315
1292
|
resolveNowActionId?: string | undefined;
|
|
1316
1293
|
resolveNowAction?: {
|
|
1317
1294
|
actionId: string;
|
|
@@ -1444,6 +1421,49 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1444
1421
|
value?: number | undefined;
|
|
1445
1422
|
units?: string | undefined;
|
|
1446
1423
|
}>>;
|
|
1424
|
+
triage: z.ZodOptional<z.ZodObject<{
|
|
1425
|
+
message: z.ZodString;
|
|
1426
|
+
yesAction: z.ZodObject<{
|
|
1427
|
+
actionId: z.ZodString;
|
|
1428
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1429
|
+
}, "strip", z.ZodTypeAny, {
|
|
1430
|
+
actionId: string;
|
|
1431
|
+
findingStatus?: FindingStatus | undefined;
|
|
1432
|
+
}, {
|
|
1433
|
+
actionId: string;
|
|
1434
|
+
findingStatus?: FindingStatus | undefined;
|
|
1435
|
+
}>;
|
|
1436
|
+
noAction: z.ZodObject<{
|
|
1437
|
+
actionId: z.ZodString;
|
|
1438
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1439
|
+
}, "strip", z.ZodTypeAny, {
|
|
1440
|
+
actionId: string;
|
|
1441
|
+
findingStatus?: FindingStatus | undefined;
|
|
1442
|
+
}, {
|
|
1443
|
+
actionId: string;
|
|
1444
|
+
findingStatus?: FindingStatus | undefined;
|
|
1445
|
+
}>;
|
|
1446
|
+
}, "strip", z.ZodTypeAny, {
|
|
1447
|
+
message: string;
|
|
1448
|
+
yesAction: {
|
|
1449
|
+
actionId: string;
|
|
1450
|
+
findingStatus?: FindingStatus | undefined;
|
|
1451
|
+
};
|
|
1452
|
+
noAction: {
|
|
1453
|
+
actionId: string;
|
|
1454
|
+
findingStatus?: FindingStatus | undefined;
|
|
1455
|
+
};
|
|
1456
|
+
}, {
|
|
1457
|
+
message: string;
|
|
1458
|
+
yesAction: {
|
|
1459
|
+
actionId: string;
|
|
1460
|
+
findingStatus?: FindingStatus | undefined;
|
|
1461
|
+
};
|
|
1462
|
+
noAction: {
|
|
1463
|
+
actionId: string;
|
|
1464
|
+
findingStatus?: FindingStatus | undefined;
|
|
1465
|
+
};
|
|
1466
|
+
}>>;
|
|
1447
1467
|
reminderInterval: z.ZodOptional<z.ZodObject<{
|
|
1448
1468
|
minutes: z.ZodNumber;
|
|
1449
1469
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1474,33 +1494,13 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1474
1494
|
findingStatus?: FindingStatus | undefined;
|
|
1475
1495
|
}>>;
|
|
1476
1496
|
/**
|
|
1477
|
-
* @deprecated Use
|
|
1497
|
+
* @deprecated Use triage instead
|
|
1478
1498
|
*/
|
|
1479
1499
|
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
1480
|
-
simpleTriageYesAction: z.ZodOptional<z.ZodObject<{
|
|
1481
|
-
actionId: z.ZodString;
|
|
1482
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1483
|
-
}, "strip", z.ZodTypeAny, {
|
|
1484
|
-
actionId: string;
|
|
1485
|
-
findingStatus?: FindingStatus | undefined;
|
|
1486
|
-
}, {
|
|
1487
|
-
actionId: string;
|
|
1488
|
-
findingStatus?: FindingStatus | undefined;
|
|
1489
|
-
}>>;
|
|
1490
1500
|
/**
|
|
1491
|
-
* @deprecated Use
|
|
1501
|
+
* @deprecated Use triage instead
|
|
1492
1502
|
*/
|
|
1493
1503
|
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
1494
|
-
simpleTriageNoAction: z.ZodOptional<z.ZodObject<{
|
|
1495
|
-
actionId: z.ZodString;
|
|
1496
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1497
|
-
}, "strip", z.ZodTypeAny, {
|
|
1498
|
-
actionId: string;
|
|
1499
|
-
findingStatus?: FindingStatus | undefined;
|
|
1500
|
-
}, {
|
|
1501
|
-
actionId: string;
|
|
1502
|
-
findingStatus?: FindingStatus | undefined;
|
|
1503
|
-
}>>;
|
|
1504
1504
|
/**
|
|
1505
1505
|
* @deprecated Use resolveNowAction instead
|
|
1506
1506
|
*/
|
|
@@ -1523,15 +1523,7 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1523
1523
|
findingStatus?: FindingStatus | undefined;
|
|
1524
1524
|
} | undefined;
|
|
1525
1525
|
simpleTriageYesActId?: string | undefined;
|
|
1526
|
-
simpleTriageYesAction?: {
|
|
1527
|
-
actionId: string;
|
|
1528
|
-
findingStatus?: FindingStatus | undefined;
|
|
1529
|
-
} | undefined;
|
|
1530
1526
|
simpleTriageNoActId?: string | undefined;
|
|
1531
|
-
simpleTriageNoAction?: {
|
|
1532
|
-
actionId: string;
|
|
1533
|
-
findingStatus?: FindingStatus | undefined;
|
|
1534
|
-
} | undefined;
|
|
1535
1527
|
resolveNowActionId?: string | undefined;
|
|
1536
1528
|
resolveNowAction?: {
|
|
1537
1529
|
actionId: string;
|
|
@@ -1545,15 +1537,7 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1545
1537
|
findingStatus?: FindingStatus | undefined;
|
|
1546
1538
|
} | undefined;
|
|
1547
1539
|
simpleTriageYesActId?: string | undefined;
|
|
1548
|
-
simpleTriageYesAction?: {
|
|
1549
|
-
actionId: string;
|
|
1550
|
-
findingStatus?: FindingStatus | undefined;
|
|
1551
|
-
} | undefined;
|
|
1552
1540
|
simpleTriageNoActId?: string | undefined;
|
|
1553
|
-
simpleTriageNoAction?: {
|
|
1554
|
-
actionId: string;
|
|
1555
|
-
findingStatus?: FindingStatus | undefined;
|
|
1556
|
-
} | undefined;
|
|
1557
1541
|
resolveNowActionId?: string | undefined;
|
|
1558
1542
|
resolveNowAction?: {
|
|
1559
1543
|
actionId: string;
|
|
@@ -1641,6 +1625,17 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1641
1625
|
value?: number | undefined;
|
|
1642
1626
|
units?: string | undefined;
|
|
1643
1627
|
} | undefined;
|
|
1628
|
+
triage?: {
|
|
1629
|
+
message: string;
|
|
1630
|
+
yesAction: {
|
|
1631
|
+
actionId: string;
|
|
1632
|
+
findingStatus?: FindingStatus | undefined;
|
|
1633
|
+
};
|
|
1634
|
+
noAction: {
|
|
1635
|
+
actionId: string;
|
|
1636
|
+
findingStatus?: FindingStatus | undefined;
|
|
1637
|
+
};
|
|
1638
|
+
} | undefined;
|
|
1644
1639
|
reminderInterval?: {
|
|
1645
1640
|
minutes: number;
|
|
1646
1641
|
value?: number | undefined;
|
|
@@ -1654,15 +1649,7 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1654
1649
|
findingStatus?: FindingStatus | undefined;
|
|
1655
1650
|
} | undefined;
|
|
1656
1651
|
simpleTriageYesActId?: string | undefined;
|
|
1657
|
-
simpleTriageYesAction?: {
|
|
1658
|
-
actionId: string;
|
|
1659
|
-
findingStatus?: FindingStatus | undefined;
|
|
1660
|
-
} | undefined;
|
|
1661
1652
|
simpleTriageNoActId?: string | undefined;
|
|
1662
|
-
simpleTriageNoAction?: {
|
|
1663
|
-
actionId: string;
|
|
1664
|
-
findingStatus?: FindingStatus | undefined;
|
|
1665
|
-
} | undefined;
|
|
1666
1653
|
resolveNowActionId?: string | undefined;
|
|
1667
1654
|
resolveNowAction?: {
|
|
1668
1655
|
actionId: string;
|
|
@@ -1724,6 +1711,17 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1724
1711
|
value?: number | undefined;
|
|
1725
1712
|
units?: string | undefined;
|
|
1726
1713
|
} | undefined;
|
|
1714
|
+
triage?: {
|
|
1715
|
+
message: string;
|
|
1716
|
+
yesAction: {
|
|
1717
|
+
actionId: string;
|
|
1718
|
+
findingStatus?: FindingStatus | undefined;
|
|
1719
|
+
};
|
|
1720
|
+
noAction: {
|
|
1721
|
+
actionId: string;
|
|
1722
|
+
findingStatus?: FindingStatus | undefined;
|
|
1723
|
+
};
|
|
1724
|
+
} | undefined;
|
|
1727
1725
|
reminderInterval?: {
|
|
1728
1726
|
minutes: number;
|
|
1729
1727
|
value?: number | undefined;
|
|
@@ -1737,15 +1735,7 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1737
1735
|
findingStatus?: FindingStatus | undefined;
|
|
1738
1736
|
} | undefined;
|
|
1739
1737
|
simpleTriageYesActId?: string | undefined;
|
|
1740
|
-
simpleTriageYesAction?: {
|
|
1741
|
-
actionId: string;
|
|
1742
|
-
findingStatus?: FindingStatus | undefined;
|
|
1743
|
-
} | undefined;
|
|
1744
1738
|
simpleTriageNoActId?: string | undefined;
|
|
1745
|
-
simpleTriageNoAction?: {
|
|
1746
|
-
actionId: string;
|
|
1747
|
-
findingStatus?: FindingStatus | undefined;
|
|
1748
|
-
} | undefined;
|
|
1749
1739
|
resolveNowActionId?: string | undefined;
|
|
1750
1740
|
resolveNowAction?: {
|
|
1751
1741
|
actionId: string;
|
|
@@ -1808,6 +1798,49 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1808
1798
|
value?: number | undefined;
|
|
1809
1799
|
units?: string | undefined;
|
|
1810
1800
|
}>>>;
|
|
1801
|
+
triage: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1802
|
+
message: z.ZodString;
|
|
1803
|
+
yesAction: z.ZodObject<{
|
|
1804
|
+
actionId: z.ZodString;
|
|
1805
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1806
|
+
}, "strip", z.ZodTypeAny, {
|
|
1807
|
+
actionId: string;
|
|
1808
|
+
findingStatus?: FindingStatus | undefined;
|
|
1809
|
+
}, {
|
|
1810
|
+
actionId: string;
|
|
1811
|
+
findingStatus?: FindingStatus | undefined;
|
|
1812
|
+
}>;
|
|
1813
|
+
noAction: z.ZodObject<{
|
|
1814
|
+
actionId: z.ZodString;
|
|
1815
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1816
|
+
}, "strip", z.ZodTypeAny, {
|
|
1817
|
+
actionId: string;
|
|
1818
|
+
findingStatus?: FindingStatus | undefined;
|
|
1819
|
+
}, {
|
|
1820
|
+
actionId: string;
|
|
1821
|
+
findingStatus?: FindingStatus | undefined;
|
|
1822
|
+
}>;
|
|
1823
|
+
}, "strip", z.ZodTypeAny, {
|
|
1824
|
+
message: string;
|
|
1825
|
+
yesAction: {
|
|
1826
|
+
actionId: string;
|
|
1827
|
+
findingStatus?: FindingStatus | undefined;
|
|
1828
|
+
};
|
|
1829
|
+
noAction: {
|
|
1830
|
+
actionId: string;
|
|
1831
|
+
findingStatus?: FindingStatus | undefined;
|
|
1832
|
+
};
|
|
1833
|
+
}, {
|
|
1834
|
+
message: string;
|
|
1835
|
+
yesAction: {
|
|
1836
|
+
actionId: string;
|
|
1837
|
+
findingStatus?: FindingStatus | undefined;
|
|
1838
|
+
};
|
|
1839
|
+
noAction: {
|
|
1840
|
+
actionId: string;
|
|
1841
|
+
findingStatus?: FindingStatus | undefined;
|
|
1842
|
+
};
|
|
1843
|
+
}>>>;
|
|
1811
1844
|
reminderInterval: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1812
1845
|
minutes: z.ZodNumber;
|
|
1813
1846
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1838,33 +1871,13 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1838
1871
|
findingStatus?: FindingStatus | undefined;
|
|
1839
1872
|
}>>;
|
|
1840
1873
|
/**
|
|
1841
|
-
* @deprecated Use
|
|
1874
|
+
* @deprecated Use triage instead
|
|
1842
1875
|
*/
|
|
1843
1876
|
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
1844
|
-
simpleTriageYesAction: z.ZodOptional<z.ZodObject<{
|
|
1845
|
-
actionId: z.ZodString;
|
|
1846
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1847
|
-
}, "strip", z.ZodTypeAny, {
|
|
1848
|
-
actionId: string;
|
|
1849
|
-
findingStatus?: FindingStatus | undefined;
|
|
1850
|
-
}, {
|
|
1851
|
-
actionId: string;
|
|
1852
|
-
findingStatus?: FindingStatus | undefined;
|
|
1853
|
-
}>>;
|
|
1854
1877
|
/**
|
|
1855
|
-
* @deprecated Use
|
|
1878
|
+
* @deprecated Use triage instead
|
|
1856
1879
|
*/
|
|
1857
1880
|
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
1858
|
-
simpleTriageNoAction: z.ZodOptional<z.ZodObject<{
|
|
1859
|
-
actionId: z.ZodString;
|
|
1860
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>;
|
|
1861
|
-
}, "strip", z.ZodTypeAny, {
|
|
1862
|
-
actionId: string;
|
|
1863
|
-
findingStatus?: FindingStatus | undefined;
|
|
1864
|
-
}, {
|
|
1865
|
-
actionId: string;
|
|
1866
|
-
findingStatus?: FindingStatus | undefined;
|
|
1867
|
-
}>>;
|
|
1868
1881
|
/**
|
|
1869
1882
|
* @deprecated Use resolveNowAction instead
|
|
1870
1883
|
*/
|
|
@@ -1887,15 +1900,7 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1887
1900
|
findingStatus?: FindingStatus | undefined;
|
|
1888
1901
|
} | undefined;
|
|
1889
1902
|
simpleTriageYesActId?: string | undefined;
|
|
1890
|
-
simpleTriageYesAction?: {
|
|
1891
|
-
actionId: string;
|
|
1892
|
-
findingStatus?: FindingStatus | undefined;
|
|
1893
|
-
} | undefined;
|
|
1894
1903
|
simpleTriageNoActId?: string | undefined;
|
|
1895
|
-
simpleTriageNoAction?: {
|
|
1896
|
-
actionId: string;
|
|
1897
|
-
findingStatus?: FindingStatus | undefined;
|
|
1898
|
-
} | undefined;
|
|
1899
1904
|
resolveNowActionId?: string | undefined;
|
|
1900
1905
|
resolveNowAction?: {
|
|
1901
1906
|
actionId: string;
|
|
@@ -1909,15 +1914,7 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1909
1914
|
findingStatus?: FindingStatus | undefined;
|
|
1910
1915
|
} | undefined;
|
|
1911
1916
|
simpleTriageYesActId?: string | undefined;
|
|
1912
|
-
simpleTriageYesAction?: {
|
|
1913
|
-
actionId: string;
|
|
1914
|
-
findingStatus?: FindingStatus | undefined;
|
|
1915
|
-
} | undefined;
|
|
1916
1917
|
simpleTriageNoActId?: string | undefined;
|
|
1917
|
-
simpleTriageNoAction?: {
|
|
1918
|
-
actionId: string;
|
|
1919
|
-
findingStatus?: FindingStatus | undefined;
|
|
1920
|
-
} | undefined;
|
|
1921
1918
|
resolveNowActionId?: string | undefined;
|
|
1922
1919
|
resolveNowAction?: {
|
|
1923
1920
|
actionId: string;
|
|
@@ -2002,6 +1999,17 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
2002
1999
|
value?: number | undefined;
|
|
2003
2000
|
units?: string | undefined;
|
|
2004
2001
|
} | undefined;
|
|
2002
|
+
triage?: {
|
|
2003
|
+
message: string;
|
|
2004
|
+
yesAction: {
|
|
2005
|
+
actionId: string;
|
|
2006
|
+
findingStatus?: FindingStatus | undefined;
|
|
2007
|
+
};
|
|
2008
|
+
noAction: {
|
|
2009
|
+
actionId: string;
|
|
2010
|
+
findingStatus?: FindingStatus | undefined;
|
|
2011
|
+
};
|
|
2012
|
+
} | undefined;
|
|
2005
2013
|
reminderInterval?: {
|
|
2006
2014
|
minutes: number;
|
|
2007
2015
|
value?: number | undefined;
|
|
@@ -2015,15 +2023,7 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
2015
2023
|
findingStatus?: FindingStatus | undefined;
|
|
2016
2024
|
} | undefined;
|
|
2017
2025
|
simpleTriageYesActId?: string | undefined;
|
|
2018
|
-
simpleTriageYesAction?: {
|
|
2019
|
-
actionId: string;
|
|
2020
|
-
findingStatus?: FindingStatus | undefined;
|
|
2021
|
-
} | undefined;
|
|
2022
2026
|
simpleTriageNoActId?: string | undefined;
|
|
2023
|
-
simpleTriageNoAction?: {
|
|
2024
|
-
actionId: string;
|
|
2025
|
-
findingStatus?: FindingStatus | undefined;
|
|
2026
|
-
} | undefined;
|
|
2027
2027
|
resolveNowActionId?: string | undefined;
|
|
2028
2028
|
resolveNowAction?: {
|
|
2029
2029
|
actionId: string;
|
|
@@ -2074,6 +2074,17 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
2074
2074
|
value?: number | undefined;
|
|
2075
2075
|
units?: string | undefined;
|
|
2076
2076
|
} | undefined;
|
|
2077
|
+
triage?: {
|
|
2078
|
+
message: string;
|
|
2079
|
+
yesAction: {
|
|
2080
|
+
actionId: string;
|
|
2081
|
+
findingStatus?: FindingStatus | undefined;
|
|
2082
|
+
};
|
|
2083
|
+
noAction: {
|
|
2084
|
+
actionId: string;
|
|
2085
|
+
findingStatus?: FindingStatus | undefined;
|
|
2086
|
+
};
|
|
2087
|
+
} | undefined;
|
|
2077
2088
|
reminderInterval?: {
|
|
2078
2089
|
minutes: number;
|
|
2079
2090
|
value?: number | undefined;
|
|
@@ -2087,15 +2098,7 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
2087
2098
|
findingStatus?: FindingStatus | undefined;
|
|
2088
2099
|
} | undefined;
|
|
2089
2100
|
simpleTriageYesActId?: string | undefined;
|
|
2090
|
-
simpleTriageYesAction?: {
|
|
2091
|
-
actionId: string;
|
|
2092
|
-
findingStatus?: FindingStatus | undefined;
|
|
2093
|
-
} | undefined;
|
|
2094
2101
|
simpleTriageNoActId?: string | undefined;
|
|
2095
|
-
simpleTriageNoAction?: {
|
|
2096
|
-
actionId: string;
|
|
2097
|
-
findingStatus?: FindingStatus | undefined;
|
|
2098
|
-
} | undefined;
|
|
2099
2102
|
resolveNowActionId?: string | undefined;
|
|
2100
2103
|
resolveNowAction?: {
|
|
2101
2104
|
actionId: string;
|
|
@@ -120,15 +120,13 @@ exports._FlowActions = zod_1.z.object({
|
|
|
120
120
|
expirationActionId: zod_1.z.string().optional(),
|
|
121
121
|
expirationAction: _FlowActionDetails.optional(),
|
|
122
122
|
/**
|
|
123
|
-
* @deprecated Use
|
|
123
|
+
* @deprecated Use triage instead
|
|
124
124
|
*/
|
|
125
125
|
simpleTriageYesActId: zod_1.z.string().optional(),
|
|
126
|
-
simpleTriageYesAction: _FlowActionDetails.optional(),
|
|
127
126
|
/**
|
|
128
|
-
* @deprecated Use
|
|
127
|
+
* @deprecated Use triage instead
|
|
129
128
|
*/
|
|
130
129
|
simpleTriageNoActId: zod_1.z.string().optional(),
|
|
131
|
-
simpleTriageNoAction: _FlowActionDetails.optional(),
|
|
132
130
|
/**
|
|
133
131
|
* @deprecated Use resolveNowAction instead
|
|
134
132
|
*/
|
|
@@ -155,6 +153,7 @@ exports._FlowSpecDto = base_dto_1._BaseDto.merge(zod_1.z.object({
|
|
|
155
153
|
engagementChannelCids: zod_1.z.array(zod_1.z.string()),
|
|
156
154
|
tone: _FlowTone.optional(),
|
|
157
155
|
targetResolution: exports._FlowInterval.optional(),
|
|
156
|
+
triage: zod_1.z.object({ message: zod_1.z.string(), yesAction: _FlowActionDetails, noAction: _FlowActionDetails }).optional(),
|
|
158
157
|
reminderInterval: exports._FlowInterval.optional(),
|
|
159
158
|
actions: exports._FlowActions.optional(),
|
|
160
159
|
rewards: zod_1.z.array(exports._FlowRewardsConfig).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;AAEtC;;;;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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EAAE,OAAC;SACR,MAAM,CAAC;QACN,aAAa,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;QACpC,WAAW,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;QAClC,UAAU,EAAE,OAAC,CAAC,MAAM,EAAE,CAAC,OAAO,CAAC,CAAC,CAAC;KAClC,CAAC;SACD,QAAQ,EAAE;CACd,CAAC,CACH,CAAC;AAGW,QAAA,kBAAkB,GAAG,oBAAY,CAAC,IAAI,CAAC,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAC,KAAK,CAAC,yBAAc,CAAC,CAAC;AAG/E,QAAA,eAAe,GAAG,oBAAY,CAAC,IAAI,CAAC,EAAC,aAAa,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAC,CAAC,CAAC,OAAO,EAAE,CAAC,KAAK,CAAC,kCAAiB,CAAC,CAAC,KAAK,CAAC,4BAAW,CAAC,CAAC"}
|
|
@@ -102,6 +102,49 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
102
102
|
value?: number | undefined;
|
|
103
103
|
units?: string | undefined;
|
|
104
104
|
}>>;
|
|
105
|
+
triage: z.ZodOptional<z.ZodObject<{
|
|
106
|
+
message: z.ZodString;
|
|
107
|
+
yesAction: z.ZodObject<{
|
|
108
|
+
actionId: z.ZodString;
|
|
109
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>;
|
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
|
111
|
+
actionId: string;
|
|
112
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
113
|
+
}, {
|
|
114
|
+
actionId: string;
|
|
115
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
116
|
+
}>;
|
|
117
|
+
noAction: z.ZodObject<{
|
|
118
|
+
actionId: z.ZodString;
|
|
119
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>;
|
|
120
|
+
}, "strip", z.ZodTypeAny, {
|
|
121
|
+
actionId: string;
|
|
122
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
123
|
+
}, {
|
|
124
|
+
actionId: string;
|
|
125
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
126
|
+
}>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
message: string;
|
|
129
|
+
yesAction: {
|
|
130
|
+
actionId: string;
|
|
131
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
132
|
+
};
|
|
133
|
+
noAction: {
|
|
134
|
+
actionId: string;
|
|
135
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
136
|
+
};
|
|
137
|
+
}, {
|
|
138
|
+
message: string;
|
|
139
|
+
yesAction: {
|
|
140
|
+
actionId: string;
|
|
141
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
142
|
+
};
|
|
143
|
+
noAction: {
|
|
144
|
+
actionId: string;
|
|
145
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
146
|
+
};
|
|
147
|
+
}>>;
|
|
105
148
|
reminderInterval: z.ZodOptional<z.ZodObject<{
|
|
106
149
|
minutes: z.ZodNumber;
|
|
107
150
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -129,27 +172,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
129
172
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
130
173
|
}>>;
|
|
131
174
|
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
132
|
-
simpleTriageYesAction: z.ZodOptional<z.ZodObject<{
|
|
133
|
-
actionId: z.ZodString;
|
|
134
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>;
|
|
135
|
-
}, "strip", z.ZodTypeAny, {
|
|
136
|
-
actionId: string;
|
|
137
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
138
|
-
}, {
|
|
139
|
-
actionId: string;
|
|
140
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
141
|
-
}>>;
|
|
142
175
|
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
143
|
-
simpleTriageNoAction: z.ZodOptional<z.ZodObject<{
|
|
144
|
-
actionId: z.ZodString;
|
|
145
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>;
|
|
146
|
-
}, "strip", z.ZodTypeAny, {
|
|
147
|
-
actionId: string;
|
|
148
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
149
|
-
}, {
|
|
150
|
-
actionId: string;
|
|
151
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
152
|
-
}>>;
|
|
153
176
|
resolveNowActionId: z.ZodOptional<z.ZodString>;
|
|
154
177
|
resolveNowAction: z.ZodOptional<z.ZodObject<{
|
|
155
178
|
actionId: z.ZodString;
|
|
@@ -169,15 +192,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
169
192
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
170
193
|
} | undefined;
|
|
171
194
|
simpleTriageYesActId?: string | undefined;
|
|
172
|
-
simpleTriageYesAction?: {
|
|
173
|
-
actionId: string;
|
|
174
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
175
|
-
} | undefined;
|
|
176
195
|
simpleTriageNoActId?: string | undefined;
|
|
177
|
-
simpleTriageNoAction?: {
|
|
178
|
-
actionId: string;
|
|
179
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
180
|
-
} | undefined;
|
|
181
196
|
resolveNowActionId?: string | undefined;
|
|
182
197
|
resolveNowAction?: {
|
|
183
198
|
actionId: string;
|
|
@@ -191,15 +206,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
191
206
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
192
207
|
} | undefined;
|
|
193
208
|
simpleTriageYesActId?: string | undefined;
|
|
194
|
-
simpleTriageYesAction?: {
|
|
195
|
-
actionId: string;
|
|
196
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
197
|
-
} | undefined;
|
|
198
209
|
simpleTriageNoActId?: string | undefined;
|
|
199
|
-
simpleTriageNoAction?: {
|
|
200
|
-
actionId: string;
|
|
201
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
202
|
-
} | undefined;
|
|
203
210
|
resolveNowActionId?: string | undefined;
|
|
204
211
|
resolveNowAction?: {
|
|
205
212
|
actionId: string;
|
|
@@ -287,6 +294,17 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
287
294
|
value?: number | undefined;
|
|
288
295
|
units?: string | undefined;
|
|
289
296
|
} | undefined;
|
|
297
|
+
triage?: {
|
|
298
|
+
message: string;
|
|
299
|
+
yesAction: {
|
|
300
|
+
actionId: string;
|
|
301
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
302
|
+
};
|
|
303
|
+
noAction: {
|
|
304
|
+
actionId: string;
|
|
305
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
306
|
+
};
|
|
307
|
+
} | undefined;
|
|
290
308
|
reminderInterval?: {
|
|
291
309
|
minutes: number;
|
|
292
310
|
value?: number | undefined;
|
|
@@ -300,15 +318,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
300
318
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
301
319
|
} | undefined;
|
|
302
320
|
simpleTriageYesActId?: string | undefined;
|
|
303
|
-
simpleTriageYesAction?: {
|
|
304
|
-
actionId: string;
|
|
305
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
306
|
-
} | undefined;
|
|
307
321
|
simpleTriageNoActId?: string | undefined;
|
|
308
|
-
simpleTriageNoAction?: {
|
|
309
|
-
actionId: string;
|
|
310
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
311
|
-
} | undefined;
|
|
312
322
|
resolveNowActionId?: string | undefined;
|
|
313
323
|
resolveNowAction?: {
|
|
314
324
|
actionId: string;
|
|
@@ -370,6 +380,17 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
370
380
|
value?: number | undefined;
|
|
371
381
|
units?: string | undefined;
|
|
372
382
|
} | undefined;
|
|
383
|
+
triage?: {
|
|
384
|
+
message: string;
|
|
385
|
+
yesAction: {
|
|
386
|
+
actionId: string;
|
|
387
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
388
|
+
};
|
|
389
|
+
noAction: {
|
|
390
|
+
actionId: string;
|
|
391
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
392
|
+
};
|
|
393
|
+
} | undefined;
|
|
373
394
|
reminderInterval?: {
|
|
374
395
|
minutes: number;
|
|
375
396
|
value?: number | undefined;
|
|
@@ -383,15 +404,7 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<{
|
|
|
383
404
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
384
405
|
} | undefined;
|
|
385
406
|
simpleTriageYesActId?: string | undefined;
|
|
386
|
-
simpleTriageYesAction?: {
|
|
387
|
-
actionId: string;
|
|
388
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
389
|
-
} | undefined;
|
|
390
407
|
simpleTriageNoActId?: string | undefined;
|
|
391
|
-
simpleTriageNoAction?: {
|
|
392
|
-
actionId: string;
|
|
393
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
394
|
-
} | undefined;
|
|
395
408
|
resolveNowActionId?: string | undefined;
|
|
396
409
|
resolveNowAction?: {
|
|
397
410
|
actionId: string;
|
|
@@ -527,6 +540,49 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
527
540
|
value?: number | undefined;
|
|
528
541
|
units?: string | undefined;
|
|
529
542
|
}>>;
|
|
543
|
+
triage: z.ZodOptional<z.ZodObject<{
|
|
544
|
+
message: z.ZodString;
|
|
545
|
+
yesAction: z.ZodObject<{
|
|
546
|
+
actionId: z.ZodString;
|
|
547
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>;
|
|
548
|
+
}, "strip", z.ZodTypeAny, {
|
|
549
|
+
actionId: string;
|
|
550
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
551
|
+
}, {
|
|
552
|
+
actionId: string;
|
|
553
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
554
|
+
}>;
|
|
555
|
+
noAction: z.ZodObject<{
|
|
556
|
+
actionId: z.ZodString;
|
|
557
|
+
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>;
|
|
558
|
+
}, "strip", z.ZodTypeAny, {
|
|
559
|
+
actionId: string;
|
|
560
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
561
|
+
}, {
|
|
562
|
+
actionId: string;
|
|
563
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
564
|
+
}>;
|
|
565
|
+
}, "strip", z.ZodTypeAny, {
|
|
566
|
+
message: string;
|
|
567
|
+
yesAction: {
|
|
568
|
+
actionId: string;
|
|
569
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
570
|
+
};
|
|
571
|
+
noAction: {
|
|
572
|
+
actionId: string;
|
|
573
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
574
|
+
};
|
|
575
|
+
}, {
|
|
576
|
+
message: string;
|
|
577
|
+
yesAction: {
|
|
578
|
+
actionId: string;
|
|
579
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
580
|
+
};
|
|
581
|
+
noAction: {
|
|
582
|
+
actionId: string;
|
|
583
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
584
|
+
};
|
|
585
|
+
}>>;
|
|
530
586
|
reminderInterval: z.ZodOptional<z.ZodObject<{
|
|
531
587
|
minutes: z.ZodNumber;
|
|
532
588
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -554,27 +610,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
554
610
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
555
611
|
}>>;
|
|
556
612
|
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
557
|
-
simpleTriageYesAction: z.ZodOptional<z.ZodObject<{
|
|
558
|
-
actionId: z.ZodString;
|
|
559
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>;
|
|
560
|
-
}, "strip", z.ZodTypeAny, {
|
|
561
|
-
actionId: string;
|
|
562
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
563
|
-
}, {
|
|
564
|
-
actionId: string;
|
|
565
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
566
|
-
}>>;
|
|
567
613
|
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
568
|
-
simpleTriageNoAction: z.ZodOptional<z.ZodObject<{
|
|
569
|
-
actionId: z.ZodString;
|
|
570
|
-
findingStatus: z.ZodOptional<z.ZodNativeEnum<typeof import("..").FindingStatus>>;
|
|
571
|
-
}, "strip", z.ZodTypeAny, {
|
|
572
|
-
actionId: string;
|
|
573
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
574
|
-
}, {
|
|
575
|
-
actionId: string;
|
|
576
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
577
|
-
}>>;
|
|
578
614
|
resolveNowActionId: z.ZodOptional<z.ZodString>;
|
|
579
615
|
resolveNowAction: z.ZodOptional<z.ZodObject<{
|
|
580
616
|
actionId: z.ZodString;
|
|
@@ -594,15 +630,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
594
630
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
595
631
|
} | undefined;
|
|
596
632
|
simpleTriageYesActId?: string | undefined;
|
|
597
|
-
simpleTriageYesAction?: {
|
|
598
|
-
actionId: string;
|
|
599
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
600
|
-
} | undefined;
|
|
601
633
|
simpleTriageNoActId?: string | undefined;
|
|
602
|
-
simpleTriageNoAction?: {
|
|
603
|
-
actionId: string;
|
|
604
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
605
|
-
} | undefined;
|
|
606
634
|
resolveNowActionId?: string | undefined;
|
|
607
635
|
resolveNowAction?: {
|
|
608
636
|
actionId: string;
|
|
@@ -616,15 +644,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
616
644
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
617
645
|
} | undefined;
|
|
618
646
|
simpleTriageYesActId?: string | undefined;
|
|
619
|
-
simpleTriageYesAction?: {
|
|
620
|
-
actionId: string;
|
|
621
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
622
|
-
} | undefined;
|
|
623
647
|
simpleTriageNoActId?: string | undefined;
|
|
624
|
-
simpleTriageNoAction?: {
|
|
625
|
-
actionId: string;
|
|
626
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
627
|
-
} | undefined;
|
|
628
648
|
resolveNowActionId?: string | undefined;
|
|
629
649
|
resolveNowAction?: {
|
|
630
650
|
actionId: string;
|
|
@@ -725,6 +745,17 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
725
745
|
value?: number | undefined;
|
|
726
746
|
units?: string | undefined;
|
|
727
747
|
} | undefined;
|
|
748
|
+
triage?: {
|
|
749
|
+
message: string;
|
|
750
|
+
yesAction: {
|
|
751
|
+
actionId: string;
|
|
752
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
753
|
+
};
|
|
754
|
+
noAction: {
|
|
755
|
+
actionId: string;
|
|
756
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
757
|
+
};
|
|
758
|
+
} | undefined;
|
|
728
759
|
reminderInterval?: {
|
|
729
760
|
minutes: number;
|
|
730
761
|
value?: number | undefined;
|
|
@@ -738,15 +769,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
738
769
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
739
770
|
} | undefined;
|
|
740
771
|
simpleTriageYesActId?: string | undefined;
|
|
741
|
-
simpleTriageYesAction?: {
|
|
742
|
-
actionId: string;
|
|
743
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
744
|
-
} | undefined;
|
|
745
772
|
simpleTriageNoActId?: string | undefined;
|
|
746
|
-
simpleTriageNoAction?: {
|
|
747
|
-
actionId: string;
|
|
748
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
749
|
-
} | undefined;
|
|
750
773
|
resolveNowActionId?: string | undefined;
|
|
751
774
|
resolveNowAction?: {
|
|
752
775
|
actionId: string;
|
|
@@ -813,6 +836,17 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
813
836
|
value?: number | undefined;
|
|
814
837
|
units?: string | undefined;
|
|
815
838
|
} | undefined;
|
|
839
|
+
triage?: {
|
|
840
|
+
message: string;
|
|
841
|
+
yesAction: {
|
|
842
|
+
actionId: string;
|
|
843
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
844
|
+
};
|
|
845
|
+
noAction: {
|
|
846
|
+
actionId: string;
|
|
847
|
+
findingStatus?: import("..").FindingStatus | undefined;
|
|
848
|
+
};
|
|
849
|
+
} | undefined;
|
|
816
850
|
reminderInterval?: {
|
|
817
851
|
minutes: number;
|
|
818
852
|
value?: number | undefined;
|
|
@@ -826,15 +860,7 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<{
|
|
|
826
860
|
findingStatus?: import("..").FindingStatus | undefined;
|
|
827
861
|
} | undefined;
|
|
828
862
|
simpleTriageYesActId?: string | undefined;
|
|
829
|
-
simpleTriageYesAction?: {
|
|
830
|
-
actionId: string;
|
|
831
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
832
|
-
} | undefined;
|
|
833
863
|
simpleTriageNoActId?: string | undefined;
|
|
834
|
-
simpleTriageNoAction?: {
|
|
835
|
-
actionId: string;
|
|
836
|
-
findingStatus?: import("..").FindingStatus | undefined;
|
|
837
|
-
} | undefined;
|
|
838
864
|
resolveNowActionId?: string | undefined;
|
|
839
865
|
resolveNowAction?: {
|
|
840
866
|
actionId: string;
|
package/package.json
CHANGED
package/src/dto/flows.dto.ts
CHANGED
|
@@ -144,15 +144,14 @@ export const _FlowActions = z.object({
|
|
|
144
144
|
expirationActionId: z.string().optional(),
|
|
145
145
|
expirationAction: _FlowActionDetails.optional(),
|
|
146
146
|
/**
|
|
147
|
-
* @deprecated Use
|
|
147
|
+
* @deprecated Use triage instead
|
|
148
148
|
*/
|
|
149
149
|
simpleTriageYesActId: z.string().optional(),
|
|
150
|
-
simpleTriageYesAction: _FlowActionDetails.optional(),
|
|
151
150
|
/**
|
|
152
|
-
* @deprecated Use
|
|
151
|
+
* @deprecated Use triage instead
|
|
153
152
|
*/
|
|
154
153
|
simpleTriageNoActId: z.string().optional(),
|
|
155
|
-
|
|
154
|
+
|
|
156
155
|
/**
|
|
157
156
|
* @deprecated Use resolveNowAction instead
|
|
158
157
|
*/
|
|
@@ -183,6 +182,7 @@ export const _FlowSpecDto = _BaseDto.merge(
|
|
|
183
182
|
engagementChannelCids: z.array(z.string()),
|
|
184
183
|
tone: _FlowTone.optional(),
|
|
185
184
|
targetResolution: _FlowInterval.optional(),
|
|
185
|
+
triage: z.object({message: z.string(), yesAction: _FlowActionDetails, noAction: _FlowActionDetails}).optional(),
|
|
186
186
|
reminderInterval: _FlowInterval.optional(),
|
|
187
187
|
actions: _FlowActions.optional(),
|
|
188
188
|
rewards: z.array(_FlowRewardsConfig).optional(),
|