@ampsec/platform-client 75.9.0 → 76.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,7 @@
1
1
  import { z } from 'zod';
2
2
  import { FindingStatus } from './enums';
3
+ export declare const EMAIL_CID = "E00000000000";
4
+ export declare const CUSTOM_FINDINGS_CID = "C00000000000";
3
5
  export declare enum FlowSpecStatusKind {
4
6
  ACTIVE = "ACTIVE",
5
7
  PAUSED = "PAUSED",
@@ -847,12 +849,15 @@ export declare const _FlowActions: z.ZodObject<{
847
849
  expirationAction: z.ZodOptional<z.ZodObject<{
848
850
  actionId: z.ZodNullable<z.ZodString>;
849
851
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
852
+ responseMessage: z.ZodOptional<z.ZodString>;
850
853
  }, "strip", z.ZodTypeAny, {
851
854
  actionId: string | null;
852
855
  findingStatus?: FindingStatus | null | undefined;
856
+ responseMessage?: string | undefined;
853
857
  }, {
854
858
  actionId: string | null;
855
859
  findingStatus?: FindingStatus | null | undefined;
860
+ responseMessage?: string | undefined;
856
861
  }>>;
857
862
  /**
858
863
  * @deprecated Use triage instead
@@ -869,22 +874,28 @@ export declare const _FlowActions: z.ZodObject<{
869
874
  resolveNowAction: z.ZodOptional<z.ZodObject<{
870
875
  actionId: z.ZodNullable<z.ZodString>;
871
876
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
877
+ responseMessage: z.ZodOptional<z.ZodString>;
872
878
  }, "strip", z.ZodTypeAny, {
873
879
  actionId: string | null;
874
880
  findingStatus?: FindingStatus | null | undefined;
881
+ responseMessage?: string | undefined;
875
882
  }, {
876
883
  actionId: string | null;
877
884
  findingStatus?: FindingStatus | null | undefined;
885
+ responseMessage?: string | undefined;
878
886
  }>>;
879
887
  scheduleResolutionAction: z.ZodOptional<z.ZodObject<{
880
888
  actionId: z.ZodNullable<z.ZodString>;
881
889
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
890
+ responseMessage: z.ZodOptional<z.ZodString>;
882
891
  }, "strip", z.ZodTypeAny, {
883
892
  actionId: string | null;
884
893
  findingStatus?: FindingStatus | null | undefined;
894
+ responseMessage?: string | undefined;
885
895
  }, {
886
896
  actionId: string | null;
887
897
  findingStatus?: FindingStatus | null | undefined;
898
+ responseMessage?: string | undefined;
888
899
  }>>;
889
900
  }, "strip", z.ZodTypeAny, {
890
901
  includeInstructions?: boolean | undefined;
@@ -893,6 +904,7 @@ export declare const _FlowActions: z.ZodObject<{
893
904
  expirationAction?: {
894
905
  actionId: string | null;
895
906
  findingStatus?: FindingStatus | null | undefined;
907
+ responseMessage?: string | undefined;
896
908
  } | undefined;
897
909
  simpleTriageYesActId?: string | undefined;
898
910
  simpleTriageNoActId?: string | undefined;
@@ -900,10 +912,12 @@ export declare const _FlowActions: z.ZodObject<{
900
912
  resolveNowAction?: {
901
913
  actionId: string | null;
902
914
  findingStatus?: FindingStatus | null | undefined;
915
+ responseMessage?: string | undefined;
903
916
  } | undefined;
904
917
  scheduleResolutionAction?: {
905
918
  actionId: string | null;
906
919
  findingStatus?: FindingStatus | null | undefined;
920
+ responseMessage?: string | undefined;
907
921
  } | undefined;
908
922
  }, {
909
923
  includeInstructions?: boolean | undefined;
@@ -912,6 +926,7 @@ export declare const _FlowActions: z.ZodObject<{
912
926
  expirationAction?: {
913
927
  actionId: string | null;
914
928
  findingStatus?: FindingStatus | null | undefined;
929
+ responseMessage?: string | undefined;
915
930
  } | undefined;
916
931
  simpleTriageYesActId?: string | undefined;
917
932
  simpleTriageNoActId?: string | undefined;
@@ -919,10 +934,12 @@ export declare const _FlowActions: z.ZodObject<{
919
934
  resolveNowAction?: {
920
935
  actionId: string | null;
921
936
  findingStatus?: FindingStatus | null | undefined;
937
+ responseMessage?: string | undefined;
922
938
  } | undefined;
923
939
  scheduleResolutionAction?: {
924
940
  actionId: string | null;
925
941
  findingStatus?: FindingStatus | null | undefined;
942
+ responseMessage?: string | undefined;
926
943
  } | undefined;
927
944
  }>;
928
945
  export type FlowActions = z.infer<typeof _FlowActions>;
@@ -946,6 +963,37 @@ export declare const _FlowRewardsConfig: z.ZodObject<{
946
963
  units?: string | undefined;
947
964
  }>;
948
965
  export type FlowRewardsConfig = z.infer<typeof _FlowRewardsConfig>;
966
+ export declare const _EngagementEscalationConfig: z.ZodObject<{
967
+ interval: z.ZodObject<{
968
+ minutes: z.ZodNumber;
969
+ value: z.ZodOptional<z.ZodNumber>;
970
+ units: z.ZodOptional<z.ZodString>;
971
+ }, "strip", z.ZodTypeAny, {
972
+ minutes: number;
973
+ value?: number | undefined;
974
+ units?: string | undefined;
975
+ }, {
976
+ minutes: number;
977
+ value?: number | undefined;
978
+ units?: string | undefined;
979
+ }>;
980
+ engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
981
+ }, "strip", z.ZodTypeAny, {
982
+ interval: {
983
+ minutes: number;
984
+ value?: number | undefined;
985
+ units?: string | undefined;
986
+ };
987
+ engagementChannelConnectorIds: string[];
988
+ }, {
989
+ interval: {
990
+ minutes: number;
991
+ value?: number | undefined;
992
+ units?: string | undefined;
993
+ };
994
+ engagementChannelConnectorIds: string[];
995
+ }>;
996
+ export type EngagementEscalationConfig = z.infer<typeof _EngagementEscalationConfig>;
949
997
  export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
950
998
  id: z.ZodString;
951
999
  createdAt: z.ZodString;
@@ -1060,42 +1108,52 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1060
1108
  yesAction: z.ZodObject<{
1061
1109
  actionId: z.ZodNullable<z.ZodString>;
1062
1110
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1111
+ responseMessage: z.ZodOptional<z.ZodString>;
1063
1112
  }, "strip", z.ZodTypeAny, {
1064
1113
  actionId: string | null;
1065
1114
  findingStatus?: FindingStatus | null | undefined;
1115
+ responseMessage?: string | undefined;
1066
1116
  }, {
1067
1117
  actionId: string | null;
1068
1118
  findingStatus?: FindingStatus | null | undefined;
1119
+ responseMessage?: string | undefined;
1069
1120
  }>;
1070
1121
  noAction: z.ZodObject<{
1071
1122
  actionId: z.ZodNullable<z.ZodString>;
1072
1123
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1124
+ responseMessage: z.ZodOptional<z.ZodString>;
1073
1125
  }, "strip", z.ZodTypeAny, {
1074
1126
  actionId: string | null;
1075
1127
  findingStatus?: FindingStatus | null | undefined;
1128
+ responseMessage?: string | undefined;
1076
1129
  }, {
1077
1130
  actionId: string | null;
1078
1131
  findingStatus?: FindingStatus | null | undefined;
1132
+ responseMessage?: string | undefined;
1079
1133
  }>;
1080
1134
  }, "strip", z.ZodTypeAny, {
1081
1135
  message: string;
1082
1136
  yesAction: {
1083
1137
  actionId: string | null;
1084
1138
  findingStatus?: FindingStatus | null | undefined;
1139
+ responseMessage?: string | undefined;
1085
1140
  };
1086
1141
  noAction: {
1087
1142
  actionId: string | null;
1088
1143
  findingStatus?: FindingStatus | null | undefined;
1144
+ responseMessage?: string | undefined;
1089
1145
  };
1090
1146
  }, {
1091
1147
  message: string;
1092
1148
  yesAction: {
1093
1149
  actionId: string | null;
1094
1150
  findingStatus?: FindingStatus | null | undefined;
1151
+ responseMessage?: string | undefined;
1095
1152
  };
1096
1153
  noAction: {
1097
1154
  actionId: string | null;
1098
1155
  findingStatus?: FindingStatus | null | undefined;
1156
+ responseMessage?: string | undefined;
1099
1157
  };
1100
1158
  }>>;
1101
1159
  reminderInterval: z.ZodOptional<z.ZodObject<{
@@ -1121,12 +1179,15 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1121
1179
  expirationAction: z.ZodOptional<z.ZodObject<{
1122
1180
  actionId: z.ZodNullable<z.ZodString>;
1123
1181
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1182
+ responseMessage: z.ZodOptional<z.ZodString>;
1124
1183
  }, "strip", z.ZodTypeAny, {
1125
1184
  actionId: string | null;
1126
1185
  findingStatus?: FindingStatus | null | undefined;
1186
+ responseMessage?: string | undefined;
1127
1187
  }, {
1128
1188
  actionId: string | null;
1129
1189
  findingStatus?: FindingStatus | null | undefined;
1190
+ responseMessage?: string | undefined;
1130
1191
  }>>;
1131
1192
  /**
1132
1193
  * @deprecated Use triage instead
@@ -1143,22 +1204,28 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1143
1204
  resolveNowAction: z.ZodOptional<z.ZodObject<{
1144
1205
  actionId: z.ZodNullable<z.ZodString>;
1145
1206
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1207
+ responseMessage: z.ZodOptional<z.ZodString>;
1146
1208
  }, "strip", z.ZodTypeAny, {
1147
1209
  actionId: string | null;
1148
1210
  findingStatus?: FindingStatus | null | undefined;
1211
+ responseMessage?: string | undefined;
1149
1212
  }, {
1150
1213
  actionId: string | null;
1151
1214
  findingStatus?: FindingStatus | null | undefined;
1215
+ responseMessage?: string | undefined;
1152
1216
  }>>;
1153
1217
  scheduleResolutionAction: z.ZodOptional<z.ZodObject<{
1154
1218
  actionId: z.ZodNullable<z.ZodString>;
1155
1219
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1220
+ responseMessage: z.ZodOptional<z.ZodString>;
1156
1221
  }, "strip", z.ZodTypeAny, {
1157
1222
  actionId: string | null;
1158
1223
  findingStatus?: FindingStatus | null | undefined;
1224
+ responseMessage?: string | undefined;
1159
1225
  }, {
1160
1226
  actionId: string | null;
1161
1227
  findingStatus?: FindingStatus | null | undefined;
1228
+ responseMessage?: string | undefined;
1162
1229
  }>>;
1163
1230
  }, "strip", z.ZodTypeAny, {
1164
1231
  includeInstructions?: boolean | undefined;
@@ -1167,6 +1234,7 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1167
1234
  expirationAction?: {
1168
1235
  actionId: string | null;
1169
1236
  findingStatus?: FindingStatus | null | undefined;
1237
+ responseMessage?: string | undefined;
1170
1238
  } | undefined;
1171
1239
  simpleTriageYesActId?: string | undefined;
1172
1240
  simpleTriageNoActId?: string | undefined;
@@ -1174,10 +1242,12 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1174
1242
  resolveNowAction?: {
1175
1243
  actionId: string | null;
1176
1244
  findingStatus?: FindingStatus | null | undefined;
1245
+ responseMessage?: string | undefined;
1177
1246
  } | undefined;
1178
1247
  scheduleResolutionAction?: {
1179
1248
  actionId: string | null;
1180
1249
  findingStatus?: FindingStatus | null | undefined;
1250
+ responseMessage?: string | undefined;
1181
1251
  } | undefined;
1182
1252
  }, {
1183
1253
  includeInstructions?: boolean | undefined;
@@ -1186,6 +1256,7 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1186
1256
  expirationAction?: {
1187
1257
  actionId: string | null;
1188
1258
  findingStatus?: FindingStatus | null | undefined;
1259
+ responseMessage?: string | undefined;
1189
1260
  } | undefined;
1190
1261
  simpleTriageYesActId?: string | undefined;
1191
1262
  simpleTriageNoActId?: string | undefined;
@@ -1193,24 +1264,43 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1193
1264
  resolveNowAction?: {
1194
1265
  actionId: string | null;
1195
1266
  findingStatus?: FindingStatus | null | undefined;
1267
+ responseMessage?: string | undefined;
1196
1268
  } | undefined;
1197
1269
  scheduleResolutionAction?: {
1198
1270
  actionId: string | null;
1199
1271
  findingStatus?: FindingStatus | null | undefined;
1272
+ responseMessage?: string | undefined;
1200
1273
  } | undefined;
1201
1274
  }>>;
1202
- emailEscalation: z.ZodOptional<z.ZodObject<{
1203
- minutes: z.ZodNumber;
1204
- value: z.ZodOptional<z.ZodNumber>;
1205
- units: z.ZodOptional<z.ZodString>;
1275
+ escalation: z.ZodOptional<z.ZodObject<{
1276
+ interval: z.ZodObject<{
1277
+ minutes: z.ZodNumber;
1278
+ value: z.ZodOptional<z.ZodNumber>;
1279
+ units: z.ZodOptional<z.ZodString>;
1280
+ }, "strip", z.ZodTypeAny, {
1281
+ minutes: number;
1282
+ value?: number | undefined;
1283
+ units?: string | undefined;
1284
+ }, {
1285
+ minutes: number;
1286
+ value?: number | undefined;
1287
+ units?: string | undefined;
1288
+ }>;
1289
+ engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
1206
1290
  }, "strip", z.ZodTypeAny, {
1207
- minutes: number;
1208
- value?: number | undefined;
1209
- units?: string | undefined;
1291
+ interval: {
1292
+ minutes: number;
1293
+ value?: number | undefined;
1294
+ units?: string | undefined;
1295
+ };
1296
+ engagementChannelConnectorIds: string[];
1210
1297
  }, {
1211
- minutes: number;
1212
- value?: number | undefined;
1213
- units?: string | undefined;
1298
+ interval: {
1299
+ minutes: number;
1300
+ value?: number | undefined;
1301
+ units?: string | undefined;
1302
+ };
1303
+ engagementChannelConnectorIds: string[];
1214
1304
  }>>;
1215
1305
  rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1216
1306
  isUpperBound: z.ZodBoolean;
@@ -1323,10 +1413,12 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1323
1413
  yesAction: {
1324
1414
  actionId: string | null;
1325
1415
  findingStatus?: FindingStatus | null | undefined;
1416
+ responseMessage?: string | undefined;
1326
1417
  };
1327
1418
  noAction: {
1328
1419
  actionId: string | null;
1329
1420
  findingStatus?: FindingStatus | null | undefined;
1421
+ responseMessage?: string | undefined;
1330
1422
  };
1331
1423
  } | undefined;
1332
1424
  reminderInterval?: {
@@ -1341,6 +1433,7 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1341
1433
  expirationAction?: {
1342
1434
  actionId: string | null;
1343
1435
  findingStatus?: FindingStatus | null | undefined;
1436
+ responseMessage?: string | undefined;
1344
1437
  } | undefined;
1345
1438
  simpleTriageYesActId?: string | undefined;
1346
1439
  simpleTriageNoActId?: string | undefined;
@@ -1348,16 +1441,21 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1348
1441
  resolveNowAction?: {
1349
1442
  actionId: string | null;
1350
1443
  findingStatus?: FindingStatus | null | undefined;
1444
+ responseMessage?: string | undefined;
1351
1445
  } | undefined;
1352
1446
  scheduleResolutionAction?: {
1353
1447
  actionId: string | null;
1354
1448
  findingStatus?: FindingStatus | null | undefined;
1449
+ responseMessage?: string | undefined;
1355
1450
  } | undefined;
1356
1451
  } | undefined;
1357
- emailEscalation?: {
1358
- minutes: number;
1359
- value?: number | undefined;
1360
- units?: string | undefined;
1452
+ escalation?: {
1453
+ interval: {
1454
+ minutes: number;
1455
+ value?: number | undefined;
1456
+ units?: string | undefined;
1457
+ };
1458
+ engagementChannelConnectorIds: string[];
1361
1459
  } | undefined;
1362
1460
  rewards?: {
1363
1461
  minutes: number;
@@ -1427,10 +1525,12 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1427
1525
  yesAction: {
1428
1526
  actionId: string | null;
1429
1527
  findingStatus?: FindingStatus | null | undefined;
1528
+ responseMessage?: string | undefined;
1430
1529
  };
1431
1530
  noAction: {
1432
1531
  actionId: string | null;
1433
1532
  findingStatus?: FindingStatus | null | undefined;
1533
+ responseMessage?: string | undefined;
1434
1534
  };
1435
1535
  } | undefined;
1436
1536
  reminderInterval?: {
@@ -1445,6 +1545,7 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1445
1545
  expirationAction?: {
1446
1546
  actionId: string | null;
1447
1547
  findingStatus?: FindingStatus | null | undefined;
1548
+ responseMessage?: string | undefined;
1448
1549
  } | undefined;
1449
1550
  simpleTriageYesActId?: string | undefined;
1450
1551
  simpleTriageNoActId?: string | undefined;
@@ -1452,16 +1553,21 @@ export declare const _FlowSpecDto: z.ZodObject<z.objectUtil.extendShape<{
1452
1553
  resolveNowAction?: {
1453
1554
  actionId: string | null;
1454
1555
  findingStatus?: FindingStatus | null | undefined;
1556
+ responseMessage?: string | undefined;
1455
1557
  } | undefined;
1456
1558
  scheduleResolutionAction?: {
1457
1559
  actionId: string | null;
1458
1560
  findingStatus?: FindingStatus | null | undefined;
1561
+ responseMessage?: string | undefined;
1459
1562
  } | undefined;
1460
1563
  } | undefined;
1461
- emailEscalation?: {
1462
- minutes: number;
1463
- value?: number | undefined;
1464
- units?: string | undefined;
1564
+ escalation?: {
1565
+ interval: {
1566
+ minutes: number;
1567
+ value?: number | undefined;
1568
+ units?: string | undefined;
1569
+ };
1570
+ engagementChannelConnectorIds: string[];
1465
1571
  } | undefined;
1466
1572
  rewards?: {
1467
1573
  minutes: number;
@@ -1604,42 +1710,52 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1604
1710
  yesAction: z.ZodObject<{
1605
1711
  actionId: z.ZodNullable<z.ZodString>;
1606
1712
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1713
+ responseMessage: z.ZodOptional<z.ZodString>;
1607
1714
  }, "strip", z.ZodTypeAny, {
1608
1715
  actionId: string | null;
1609
1716
  findingStatus?: FindingStatus | null | undefined;
1717
+ responseMessage?: string | undefined;
1610
1718
  }, {
1611
1719
  actionId: string | null;
1612
1720
  findingStatus?: FindingStatus | null | undefined;
1721
+ responseMessage?: string | undefined;
1613
1722
  }>;
1614
1723
  noAction: z.ZodObject<{
1615
1724
  actionId: z.ZodNullable<z.ZodString>;
1616
1725
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1726
+ responseMessage: z.ZodOptional<z.ZodString>;
1617
1727
  }, "strip", z.ZodTypeAny, {
1618
1728
  actionId: string | null;
1619
1729
  findingStatus?: FindingStatus | null | undefined;
1730
+ responseMessage?: string | undefined;
1620
1731
  }, {
1621
1732
  actionId: string | null;
1622
1733
  findingStatus?: FindingStatus | null | undefined;
1734
+ responseMessage?: string | undefined;
1623
1735
  }>;
1624
1736
  }, "strip", z.ZodTypeAny, {
1625
1737
  message: string;
1626
1738
  yesAction: {
1627
1739
  actionId: string | null;
1628
1740
  findingStatus?: FindingStatus | null | undefined;
1741
+ responseMessage?: string | undefined;
1629
1742
  };
1630
1743
  noAction: {
1631
1744
  actionId: string | null;
1632
1745
  findingStatus?: FindingStatus | null | undefined;
1746
+ responseMessage?: string | undefined;
1633
1747
  };
1634
1748
  }, {
1635
1749
  message: string;
1636
1750
  yesAction: {
1637
1751
  actionId: string | null;
1638
1752
  findingStatus?: FindingStatus | null | undefined;
1753
+ responseMessage?: string | undefined;
1639
1754
  };
1640
1755
  noAction: {
1641
1756
  actionId: string | null;
1642
1757
  findingStatus?: FindingStatus | null | undefined;
1758
+ responseMessage?: string | undefined;
1643
1759
  };
1644
1760
  }>>;
1645
1761
  reminderInterval: z.ZodOptional<z.ZodObject<{
@@ -1665,12 +1781,15 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1665
1781
  expirationAction: z.ZodOptional<z.ZodObject<{
1666
1782
  actionId: z.ZodNullable<z.ZodString>;
1667
1783
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1784
+ responseMessage: z.ZodOptional<z.ZodString>;
1668
1785
  }, "strip", z.ZodTypeAny, {
1669
1786
  actionId: string | null;
1670
1787
  findingStatus?: FindingStatus | null | undefined;
1788
+ responseMessage?: string | undefined;
1671
1789
  }, {
1672
1790
  actionId: string | null;
1673
1791
  findingStatus?: FindingStatus | null | undefined;
1792
+ responseMessage?: string | undefined;
1674
1793
  }>>;
1675
1794
  /**
1676
1795
  * @deprecated Use triage instead
@@ -1687,22 +1806,28 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1687
1806
  resolveNowAction: z.ZodOptional<z.ZodObject<{
1688
1807
  actionId: z.ZodNullable<z.ZodString>;
1689
1808
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1809
+ responseMessage: z.ZodOptional<z.ZodString>;
1690
1810
  }, "strip", z.ZodTypeAny, {
1691
1811
  actionId: string | null;
1692
1812
  findingStatus?: FindingStatus | null | undefined;
1813
+ responseMessage?: string | undefined;
1693
1814
  }, {
1694
1815
  actionId: string | null;
1695
1816
  findingStatus?: FindingStatus | null | undefined;
1817
+ responseMessage?: string | undefined;
1696
1818
  }>>;
1697
1819
  scheduleResolutionAction: z.ZodOptional<z.ZodObject<{
1698
1820
  actionId: z.ZodNullable<z.ZodString>;
1699
1821
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
1822
+ responseMessage: z.ZodOptional<z.ZodString>;
1700
1823
  }, "strip", z.ZodTypeAny, {
1701
1824
  actionId: string | null;
1702
1825
  findingStatus?: FindingStatus | null | undefined;
1826
+ responseMessage?: string | undefined;
1703
1827
  }, {
1704
1828
  actionId: string | null;
1705
1829
  findingStatus?: FindingStatus | null | undefined;
1830
+ responseMessage?: string | undefined;
1706
1831
  }>>;
1707
1832
  }, "strip", z.ZodTypeAny, {
1708
1833
  includeInstructions?: boolean | undefined;
@@ -1711,6 +1836,7 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1711
1836
  expirationAction?: {
1712
1837
  actionId: string | null;
1713
1838
  findingStatus?: FindingStatus | null | undefined;
1839
+ responseMessage?: string | undefined;
1714
1840
  } | undefined;
1715
1841
  simpleTriageYesActId?: string | undefined;
1716
1842
  simpleTriageNoActId?: string | undefined;
@@ -1718,10 +1844,12 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1718
1844
  resolveNowAction?: {
1719
1845
  actionId: string | null;
1720
1846
  findingStatus?: FindingStatus | null | undefined;
1847
+ responseMessage?: string | undefined;
1721
1848
  } | undefined;
1722
1849
  scheduleResolutionAction?: {
1723
1850
  actionId: string | null;
1724
1851
  findingStatus?: FindingStatus | null | undefined;
1852
+ responseMessage?: string | undefined;
1725
1853
  } | undefined;
1726
1854
  }, {
1727
1855
  includeInstructions?: boolean | undefined;
@@ -1730,6 +1858,7 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1730
1858
  expirationAction?: {
1731
1859
  actionId: string | null;
1732
1860
  findingStatus?: FindingStatus | null | undefined;
1861
+ responseMessage?: string | undefined;
1733
1862
  } | undefined;
1734
1863
  simpleTriageYesActId?: string | undefined;
1735
1864
  simpleTriageNoActId?: string | undefined;
@@ -1737,24 +1866,43 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1737
1866
  resolveNowAction?: {
1738
1867
  actionId: string | null;
1739
1868
  findingStatus?: FindingStatus | null | undefined;
1869
+ responseMessage?: string | undefined;
1740
1870
  } | undefined;
1741
1871
  scheduleResolutionAction?: {
1742
1872
  actionId: string | null;
1743
1873
  findingStatus?: FindingStatus | null | undefined;
1874
+ responseMessage?: string | undefined;
1744
1875
  } | undefined;
1745
1876
  }>>;
1746
- emailEscalation: z.ZodOptional<z.ZodObject<{
1747
- minutes: z.ZodNumber;
1748
- value: z.ZodOptional<z.ZodNumber>;
1749
- units: z.ZodOptional<z.ZodString>;
1877
+ escalation: z.ZodOptional<z.ZodObject<{
1878
+ interval: z.ZodObject<{
1879
+ minutes: z.ZodNumber;
1880
+ value: z.ZodOptional<z.ZodNumber>;
1881
+ units: z.ZodOptional<z.ZodString>;
1882
+ }, "strip", z.ZodTypeAny, {
1883
+ minutes: number;
1884
+ value?: number | undefined;
1885
+ units?: string | undefined;
1886
+ }, {
1887
+ minutes: number;
1888
+ value?: number | undefined;
1889
+ units?: string | undefined;
1890
+ }>;
1891
+ engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
1750
1892
  }, "strip", z.ZodTypeAny, {
1751
- minutes: number;
1752
- value?: number | undefined;
1753
- units?: string | undefined;
1893
+ interval: {
1894
+ minutes: number;
1895
+ value?: number | undefined;
1896
+ units?: string | undefined;
1897
+ };
1898
+ engagementChannelConnectorIds: string[];
1754
1899
  }, {
1755
- minutes: number;
1756
- value?: number | undefined;
1757
- units?: string | undefined;
1900
+ interval: {
1901
+ minutes: number;
1902
+ value?: number | undefined;
1903
+ units?: string | undefined;
1904
+ };
1905
+ engagementChannelConnectorIds: string[];
1758
1906
  }>>;
1759
1907
  rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1760
1908
  isUpperBound: z.ZodBoolean;
@@ -1872,10 +2020,12 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1872
2020
  yesAction: {
1873
2021
  actionId: string | null;
1874
2022
  findingStatus?: FindingStatus | null | undefined;
2023
+ responseMessage?: string | undefined;
1875
2024
  };
1876
2025
  noAction: {
1877
2026
  actionId: string | null;
1878
2027
  findingStatus?: FindingStatus | null | undefined;
2028
+ responseMessage?: string | undefined;
1879
2029
  };
1880
2030
  } | undefined;
1881
2031
  reminderInterval?: {
@@ -1890,6 +2040,7 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1890
2040
  expirationAction?: {
1891
2041
  actionId: string | null;
1892
2042
  findingStatus?: FindingStatus | null | undefined;
2043
+ responseMessage?: string | undefined;
1893
2044
  } | undefined;
1894
2045
  simpleTriageYesActId?: string | undefined;
1895
2046
  simpleTriageNoActId?: string | undefined;
@@ -1897,16 +2048,21 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1897
2048
  resolveNowAction?: {
1898
2049
  actionId: string | null;
1899
2050
  findingStatus?: FindingStatus | null | undefined;
2051
+ responseMessage?: string | undefined;
1900
2052
  } | undefined;
1901
2053
  scheduleResolutionAction?: {
1902
2054
  actionId: string | null;
1903
2055
  findingStatus?: FindingStatus | null | undefined;
2056
+ responseMessage?: string | undefined;
1904
2057
  } | undefined;
1905
2058
  } | undefined;
1906
- emailEscalation?: {
1907
- minutes: number;
1908
- value?: number | undefined;
1909
- units?: string | undefined;
2059
+ escalation?: {
2060
+ interval: {
2061
+ minutes: number;
2062
+ value?: number | undefined;
2063
+ units?: string | undefined;
2064
+ };
2065
+ engagementChannelConnectorIds: string[];
1910
2066
  } | undefined;
1911
2067
  rewards?: {
1912
2068
  minutes: number;
@@ -1968,10 +2124,12 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1968
2124
  yesAction: {
1969
2125
  actionId: string | null;
1970
2126
  findingStatus?: FindingStatus | null | undefined;
2127
+ responseMessage?: string | undefined;
1971
2128
  };
1972
2129
  noAction: {
1973
2130
  actionId: string | null;
1974
2131
  findingStatus?: FindingStatus | null | undefined;
2132
+ responseMessage?: string | undefined;
1975
2133
  };
1976
2134
  } | undefined;
1977
2135
  reminderInterval?: {
@@ -1986,6 +2144,7 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1986
2144
  expirationAction?: {
1987
2145
  actionId: string | null;
1988
2146
  findingStatus?: FindingStatus | null | undefined;
2147
+ responseMessage?: string | undefined;
1989
2148
  } | undefined;
1990
2149
  simpleTriageYesActId?: string | undefined;
1991
2150
  simpleTriageNoActId?: string | undefined;
@@ -1993,16 +2152,21 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Om
1993
2152
  resolveNowAction?: {
1994
2153
  actionId: string | null;
1995
2154
  findingStatus?: FindingStatus | null | undefined;
2155
+ responseMessage?: string | undefined;
1996
2156
  } | undefined;
1997
2157
  scheduleResolutionAction?: {
1998
2158
  actionId: string | null;
1999
2159
  findingStatus?: FindingStatus | null | undefined;
2160
+ responseMessage?: string | undefined;
2000
2161
  } | undefined;
2001
2162
  } | undefined;
2002
- emailEscalation?: {
2003
- minutes: number;
2004
- value?: number | undefined;
2005
- units?: string | undefined;
2163
+ escalation?: {
2164
+ interval: {
2165
+ minutes: number;
2166
+ value?: number | undefined;
2167
+ units?: string | undefined;
2168
+ };
2169
+ engagementChannelConnectorIds: string[];
2006
2170
  } | undefined;
2007
2171
  rewards?: {
2008
2172
  minutes: number;
@@ -2059,42 +2223,52 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2059
2223
  yesAction: z.ZodObject<{
2060
2224
  actionId: z.ZodNullable<z.ZodString>;
2061
2225
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
2226
+ responseMessage: z.ZodOptional<z.ZodString>;
2062
2227
  }, "strip", z.ZodTypeAny, {
2063
2228
  actionId: string | null;
2064
2229
  findingStatus?: FindingStatus | null | undefined;
2230
+ responseMessage?: string | undefined;
2065
2231
  }, {
2066
2232
  actionId: string | null;
2067
2233
  findingStatus?: FindingStatus | null | undefined;
2234
+ responseMessage?: string | undefined;
2068
2235
  }>;
2069
2236
  noAction: z.ZodObject<{
2070
2237
  actionId: z.ZodNullable<z.ZodString>;
2071
2238
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
2239
+ responseMessage: z.ZodOptional<z.ZodString>;
2072
2240
  }, "strip", z.ZodTypeAny, {
2073
2241
  actionId: string | null;
2074
2242
  findingStatus?: FindingStatus | null | undefined;
2243
+ responseMessage?: string | undefined;
2075
2244
  }, {
2076
2245
  actionId: string | null;
2077
2246
  findingStatus?: FindingStatus | null | undefined;
2247
+ responseMessage?: string | undefined;
2078
2248
  }>;
2079
2249
  }, "strip", z.ZodTypeAny, {
2080
2250
  message: string;
2081
2251
  yesAction: {
2082
2252
  actionId: string | null;
2083
2253
  findingStatus?: FindingStatus | null | undefined;
2254
+ responseMessage?: string | undefined;
2084
2255
  };
2085
2256
  noAction: {
2086
2257
  actionId: string | null;
2087
2258
  findingStatus?: FindingStatus | null | undefined;
2259
+ responseMessage?: string | undefined;
2088
2260
  };
2089
2261
  }, {
2090
2262
  message: string;
2091
2263
  yesAction: {
2092
2264
  actionId: string | null;
2093
2265
  findingStatus?: FindingStatus | null | undefined;
2266
+ responseMessage?: string | undefined;
2094
2267
  };
2095
2268
  noAction: {
2096
2269
  actionId: string | null;
2097
2270
  findingStatus?: FindingStatus | null | undefined;
2271
+ responseMessage?: string | undefined;
2098
2272
  };
2099
2273
  }>>>;
2100
2274
  reminderInterval: z.ZodOptional<z.ZodOptional<z.ZodObject<{
@@ -2120,12 +2294,15 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2120
2294
  expirationAction: z.ZodOptional<z.ZodObject<{
2121
2295
  actionId: z.ZodNullable<z.ZodString>;
2122
2296
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
2297
+ responseMessage: z.ZodOptional<z.ZodString>;
2123
2298
  }, "strip", z.ZodTypeAny, {
2124
2299
  actionId: string | null;
2125
2300
  findingStatus?: FindingStatus | null | undefined;
2301
+ responseMessage?: string | undefined;
2126
2302
  }, {
2127
2303
  actionId: string | null;
2128
2304
  findingStatus?: FindingStatus | null | undefined;
2305
+ responseMessage?: string | undefined;
2129
2306
  }>>;
2130
2307
  /**
2131
2308
  * @deprecated Use triage instead
@@ -2142,22 +2319,28 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2142
2319
  resolveNowAction: z.ZodOptional<z.ZodObject<{
2143
2320
  actionId: z.ZodNullable<z.ZodString>;
2144
2321
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
2322
+ responseMessage: z.ZodOptional<z.ZodString>;
2145
2323
  }, "strip", z.ZodTypeAny, {
2146
2324
  actionId: string | null;
2147
2325
  findingStatus?: FindingStatus | null | undefined;
2326
+ responseMessage?: string | undefined;
2148
2327
  }, {
2149
2328
  actionId: string | null;
2150
2329
  findingStatus?: FindingStatus | null | undefined;
2330
+ responseMessage?: string | undefined;
2151
2331
  }>>;
2152
2332
  scheduleResolutionAction: z.ZodOptional<z.ZodObject<{
2153
2333
  actionId: z.ZodNullable<z.ZodString>;
2154
2334
  findingStatus: z.ZodNullable<z.ZodOptional<z.ZodNativeEnum<typeof FindingStatus>>>;
2335
+ responseMessage: z.ZodOptional<z.ZodString>;
2155
2336
  }, "strip", z.ZodTypeAny, {
2156
2337
  actionId: string | null;
2157
2338
  findingStatus?: FindingStatus | null | undefined;
2339
+ responseMessage?: string | undefined;
2158
2340
  }, {
2159
2341
  actionId: string | null;
2160
2342
  findingStatus?: FindingStatus | null | undefined;
2343
+ responseMessage?: string | undefined;
2161
2344
  }>>;
2162
2345
  }, "strip", z.ZodTypeAny, {
2163
2346
  includeInstructions?: boolean | undefined;
@@ -2166,6 +2349,7 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2166
2349
  expirationAction?: {
2167
2350
  actionId: string | null;
2168
2351
  findingStatus?: FindingStatus | null | undefined;
2352
+ responseMessage?: string | undefined;
2169
2353
  } | undefined;
2170
2354
  simpleTriageYesActId?: string | undefined;
2171
2355
  simpleTriageNoActId?: string | undefined;
@@ -2173,10 +2357,12 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2173
2357
  resolveNowAction?: {
2174
2358
  actionId: string | null;
2175
2359
  findingStatus?: FindingStatus | null | undefined;
2360
+ responseMessage?: string | undefined;
2176
2361
  } | undefined;
2177
2362
  scheduleResolutionAction?: {
2178
2363
  actionId: string | null;
2179
2364
  findingStatus?: FindingStatus | null | undefined;
2365
+ responseMessage?: string | undefined;
2180
2366
  } | undefined;
2181
2367
  }, {
2182
2368
  includeInstructions?: boolean | undefined;
@@ -2185,6 +2371,7 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2185
2371
  expirationAction?: {
2186
2372
  actionId: string | null;
2187
2373
  findingStatus?: FindingStatus | null | undefined;
2374
+ responseMessage?: string | undefined;
2188
2375
  } | undefined;
2189
2376
  simpleTriageYesActId?: string | undefined;
2190
2377
  simpleTriageNoActId?: string | undefined;
@@ -2192,24 +2379,43 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2192
2379
  resolveNowAction?: {
2193
2380
  actionId: string | null;
2194
2381
  findingStatus?: FindingStatus | null | undefined;
2382
+ responseMessage?: string | undefined;
2195
2383
  } | undefined;
2196
2384
  scheduleResolutionAction?: {
2197
2385
  actionId: string | null;
2198
2386
  findingStatus?: FindingStatus | null | undefined;
2387
+ responseMessage?: string | undefined;
2199
2388
  } | undefined;
2200
2389
  }>>>;
2201
- emailEscalation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2202
- minutes: z.ZodNumber;
2203
- value: z.ZodOptional<z.ZodNumber>;
2204
- units: z.ZodOptional<z.ZodString>;
2390
+ escalation: z.ZodOptional<z.ZodOptional<z.ZodObject<{
2391
+ interval: z.ZodObject<{
2392
+ minutes: z.ZodNumber;
2393
+ value: z.ZodOptional<z.ZodNumber>;
2394
+ units: z.ZodOptional<z.ZodString>;
2395
+ }, "strip", z.ZodTypeAny, {
2396
+ minutes: number;
2397
+ value?: number | undefined;
2398
+ units?: string | undefined;
2399
+ }, {
2400
+ minutes: number;
2401
+ value?: number | undefined;
2402
+ units?: string | undefined;
2403
+ }>;
2404
+ engagementChannelConnectorIds: z.ZodArray<z.ZodString, "many">;
2205
2405
  }, "strip", z.ZodTypeAny, {
2206
- minutes: number;
2207
- value?: number | undefined;
2208
- units?: string | undefined;
2406
+ interval: {
2407
+ minutes: number;
2408
+ value?: number | undefined;
2409
+ units?: string | undefined;
2410
+ };
2411
+ engagementChannelConnectorIds: string[];
2209
2412
  }, {
2210
- minutes: number;
2211
- value?: number | undefined;
2212
- units?: string | undefined;
2413
+ interval: {
2414
+ minutes: number;
2415
+ value?: number | undefined;
2416
+ units?: string | undefined;
2417
+ };
2418
+ engagementChannelConnectorIds: string[];
2213
2419
  }>>>;
2214
2420
  rewards: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
2215
2421
  isUpperBound: z.ZodBoolean;
@@ -2308,10 +2514,12 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2308
2514
  yesAction: {
2309
2515
  actionId: string | null;
2310
2516
  findingStatus?: FindingStatus | null | undefined;
2517
+ responseMessage?: string | undefined;
2311
2518
  };
2312
2519
  noAction: {
2313
2520
  actionId: string | null;
2314
2521
  findingStatus?: FindingStatus | null | undefined;
2522
+ responseMessage?: string | undefined;
2315
2523
  };
2316
2524
  } | undefined;
2317
2525
  reminderInterval?: {
@@ -2326,6 +2534,7 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2326
2534
  expirationAction?: {
2327
2535
  actionId: string | null;
2328
2536
  findingStatus?: FindingStatus | null | undefined;
2537
+ responseMessage?: string | undefined;
2329
2538
  } | undefined;
2330
2539
  simpleTriageYesActId?: string | undefined;
2331
2540
  simpleTriageNoActId?: string | undefined;
@@ -2333,16 +2542,21 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2333
2542
  resolveNowAction?: {
2334
2543
  actionId: string | null;
2335
2544
  findingStatus?: FindingStatus | null | undefined;
2545
+ responseMessage?: string | undefined;
2336
2546
  } | undefined;
2337
2547
  scheduleResolutionAction?: {
2338
2548
  actionId: string | null;
2339
2549
  findingStatus?: FindingStatus | null | undefined;
2550
+ responseMessage?: string | undefined;
2340
2551
  } | undefined;
2341
2552
  } | undefined;
2342
- emailEscalation?: {
2343
- minutes: number;
2344
- value?: number | undefined;
2345
- units?: string | undefined;
2553
+ escalation?: {
2554
+ interval: {
2555
+ minutes: number;
2556
+ value?: number | undefined;
2557
+ units?: string | undefined;
2558
+ };
2559
+ engagementChannelConnectorIds: string[];
2346
2560
  } | undefined;
2347
2561
  rewards?: {
2348
2562
  minutes: number;
@@ -2396,10 +2610,12 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2396
2610
  yesAction: {
2397
2611
  actionId: string | null;
2398
2612
  findingStatus?: FindingStatus | null | undefined;
2613
+ responseMessage?: string | undefined;
2399
2614
  };
2400
2615
  noAction: {
2401
2616
  actionId: string | null;
2402
2617
  findingStatus?: FindingStatus | null | undefined;
2618
+ responseMessage?: string | undefined;
2403
2619
  };
2404
2620
  } | undefined;
2405
2621
  reminderInterval?: {
@@ -2414,6 +2630,7 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2414
2630
  expirationAction?: {
2415
2631
  actionId: string | null;
2416
2632
  findingStatus?: FindingStatus | null | undefined;
2633
+ responseMessage?: string | undefined;
2417
2634
  } | undefined;
2418
2635
  simpleTriageYesActId?: string | undefined;
2419
2636
  simpleTriageNoActId?: string | undefined;
@@ -2421,16 +2638,21 @@ export declare const _FlowSpecFilter: z.ZodObject<z.objectUtil.extendShape<z.obj
2421
2638
  resolveNowAction?: {
2422
2639
  actionId: string | null;
2423
2640
  findingStatus?: FindingStatus | null | undefined;
2641
+ responseMessage?: string | undefined;
2424
2642
  } | undefined;
2425
2643
  scheduleResolutionAction?: {
2426
2644
  actionId: string | null;
2427
2645
  findingStatus?: FindingStatus | null | undefined;
2646
+ responseMessage?: string | undefined;
2428
2647
  } | undefined;
2429
2648
  } | undefined;
2430
- emailEscalation?: {
2431
- minutes: number;
2432
- value?: number | undefined;
2433
- units?: string | undefined;
2649
+ escalation?: {
2650
+ interval: {
2651
+ minutes: number;
2652
+ value?: number | undefined;
2653
+ units?: string | undefined;
2654
+ };
2655
+ engagementChannelConnectorIds: string[];
2434
2656
  } | undefined;
2435
2657
  rewards?: {
2436
2658
  minutes: number;