@ampsec/platform-client 87.6.0 → 87.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/dto/flows.dto.d.ts +624 -1
- package/build/src/dto/flows.dto.js +47 -2
- package/build/src/dto/flows.dto.js.map +1 -1
- package/build/src/dto/platform/platform.flows.dto.d.ts +531 -1
- package/build/src/settings.d.ts +4 -0
- package/build/src/settings.js +4 -0
- package/build/src/settings.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/flows.dto.ts +49 -1
- package/src/settings.ts +6 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { FlowSpecStatusKind } from '../flows.dto';
|
|
3
|
-
export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
|
|
3
|
+
export declare const _PlatformFlowSpecUpsertDto: z.ZodEffects<z.ZodObject<z.objectUtil.extendShape<Omit<z.objectUtil.extendShape<{
|
|
4
4
|
id: z.ZodString;
|
|
5
5
|
createdAt: z.ZodString;
|
|
6
6
|
updatedAt: z.ZodString;
|
|
@@ -121,6 +121,16 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
121
121
|
value?: number | undefined;
|
|
122
122
|
units?: string | undefined;
|
|
123
123
|
}>>;
|
|
124
|
+
skipWaitingPeriod: z.ZodOptional<z.ZodObject<{
|
|
125
|
+
enabled: z.ZodBoolean;
|
|
126
|
+
ignoreBusinessHours: z.ZodDefault<z.ZodBoolean>;
|
|
127
|
+
}, "strip", z.ZodTypeAny, {
|
|
128
|
+
enabled: boolean;
|
|
129
|
+
ignoreBusinessHours: boolean;
|
|
130
|
+
}, {
|
|
131
|
+
enabled: boolean;
|
|
132
|
+
ignoreBusinessHours?: boolean | undefined;
|
|
133
|
+
}>>;
|
|
124
134
|
training: z.ZodOptional<z.ZodObject<{
|
|
125
135
|
subject: z.ZodOptional<z.ZodString>;
|
|
126
136
|
context: z.ZodOptional<z.ZodString>;
|
|
@@ -207,6 +217,26 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
207
217
|
value?: number | undefined;
|
|
208
218
|
units?: string | undefined;
|
|
209
219
|
}>>;
|
|
220
|
+
reminderStrategy: z.ZodOptional<z.ZodObject<{
|
|
221
|
+
kind: z.ZodDefault<z.ZodNativeEnum<typeof import("../flows.dto").ReminderStrategyKind>>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
kind: import("../flows.dto").ReminderStrategyKind;
|
|
224
|
+
}, {
|
|
225
|
+
kind?: import("../flows.dto").ReminderStrategyKind | undefined;
|
|
226
|
+
}>>;
|
|
227
|
+
reminderPresence: z.ZodOptional<z.ZodObject<{
|
|
228
|
+
provider: z.ZodOptional<z.ZodNativeEnum<typeof import("../flows.dto").ReminderPresenceProviderKind>>;
|
|
229
|
+
busyBehavior: z.ZodDefault<z.ZodNativeEnum<typeof import("../flows.dto").ReminderBusyBehaviorKind>>;
|
|
230
|
+
statusCheckEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
231
|
+
}, "strip", z.ZodTypeAny, {
|
|
232
|
+
busyBehavior: import("../flows.dto").ReminderBusyBehaviorKind;
|
|
233
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
234
|
+
statusCheckEnabled?: boolean | undefined;
|
|
235
|
+
}, {
|
|
236
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
237
|
+
busyBehavior?: import("../flows.dto").ReminderBusyBehaviorKind | undefined;
|
|
238
|
+
statusCheckEnabled?: boolean | undefined;
|
|
239
|
+
}>>;
|
|
210
240
|
actions: z.ZodOptional<z.ZodObject<{
|
|
211
241
|
includeInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
212
242
|
getInstructionsAction: z.ZodOptional<z.ZodObject<{
|
|
@@ -862,6 +892,432 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
862
892
|
value?: number | undefined;
|
|
863
893
|
units?: string | undefined;
|
|
864
894
|
} | undefined;
|
|
895
|
+
skipWaitingPeriod?: {
|
|
896
|
+
enabled: boolean;
|
|
897
|
+
ignoreBusinessHours: boolean;
|
|
898
|
+
} | undefined;
|
|
899
|
+
training?: {
|
|
900
|
+
context?: string | undefined;
|
|
901
|
+
subject?: string | undefined;
|
|
902
|
+
} | undefined;
|
|
903
|
+
triage?: {
|
|
904
|
+
message: string;
|
|
905
|
+
yesAction: {
|
|
906
|
+
actionId: string | null;
|
|
907
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
908
|
+
responseMessage?: string | undefined;
|
|
909
|
+
actionDescriptionContext?: string | undefined;
|
|
910
|
+
};
|
|
911
|
+
noAction: {
|
|
912
|
+
actionId: string | null;
|
|
913
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
914
|
+
responseMessage?: string | undefined;
|
|
915
|
+
actionDescriptionContext?: string | undefined;
|
|
916
|
+
};
|
|
917
|
+
} | undefined;
|
|
918
|
+
reminderInterval?: {
|
|
919
|
+
minutes: number;
|
|
920
|
+
value?: number | undefined;
|
|
921
|
+
units?: string | undefined;
|
|
922
|
+
} | undefined;
|
|
923
|
+
reminderStrategy?: {
|
|
924
|
+
kind: import("../flows.dto").ReminderStrategyKind;
|
|
925
|
+
} | undefined;
|
|
926
|
+
reminderPresence?: {
|
|
927
|
+
busyBehavior: import("../flows.dto").ReminderBusyBehaviorKind;
|
|
928
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
929
|
+
statusCheckEnabled?: boolean | undefined;
|
|
930
|
+
} | undefined;
|
|
931
|
+
escalation?: {
|
|
932
|
+
interval: {
|
|
933
|
+
minutes: number;
|
|
934
|
+
value?: number | undefined;
|
|
935
|
+
units?: string | undefined;
|
|
936
|
+
};
|
|
937
|
+
engagementChannelConnectorIds: string[];
|
|
938
|
+
redirection?: {
|
|
939
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
940
|
+
channelId: string;
|
|
941
|
+
includeUser: boolean;
|
|
942
|
+
} | {
|
|
943
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
944
|
+
channelId: string;
|
|
945
|
+
includeUser: boolean;
|
|
946
|
+
} | {
|
|
947
|
+
kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
|
|
948
|
+
channelId: string;
|
|
949
|
+
includeUser: boolean;
|
|
950
|
+
} | undefined;
|
|
951
|
+
} | undefined;
|
|
952
|
+
escalationToManager?: {
|
|
953
|
+
interval: {
|
|
954
|
+
minutes: number;
|
|
955
|
+
value?: number | undefined;
|
|
956
|
+
units?: string | undefined;
|
|
957
|
+
};
|
|
958
|
+
engagementChannelConnectorIds: string[];
|
|
959
|
+
redirection?: {
|
|
960
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
961
|
+
channelId: string;
|
|
962
|
+
includeUser: boolean;
|
|
963
|
+
} | {
|
|
964
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
965
|
+
channelId: string;
|
|
966
|
+
includeUser: boolean;
|
|
967
|
+
} | {
|
|
968
|
+
kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
|
|
969
|
+
channelId: string;
|
|
970
|
+
includeUser: boolean;
|
|
971
|
+
} | undefined;
|
|
972
|
+
} | undefined;
|
|
973
|
+
rewards?: {
|
|
974
|
+
minutes: number;
|
|
975
|
+
isUpperBound: boolean;
|
|
976
|
+
points: number;
|
|
977
|
+
value?: number | undefined;
|
|
978
|
+
units?: string | undefined;
|
|
979
|
+
}[] | undefined;
|
|
980
|
+
customMessage?: {
|
|
981
|
+
template?: string | undefined;
|
|
982
|
+
append?: boolean | undefined;
|
|
983
|
+
} | undefined;
|
|
984
|
+
prependCustomMessage?: {
|
|
985
|
+
template?: string | undefined;
|
|
986
|
+
} | undefined;
|
|
987
|
+
messageTitle?: string | undefined;
|
|
988
|
+
additionalContext?: {
|
|
989
|
+
data?: string | undefined;
|
|
990
|
+
} | undefined;
|
|
991
|
+
securityTip?: {
|
|
992
|
+
subject?: import("../flows.dto").SecurityTipSubject | undefined;
|
|
993
|
+
isConfigured?: boolean | undefined;
|
|
994
|
+
} | undefined;
|
|
995
|
+
scheduleConfig?: {
|
|
996
|
+
required: boolean;
|
|
997
|
+
} | undefined;
|
|
998
|
+
}, {
|
|
999
|
+
filter: {
|
|
1000
|
+
cohorts: ({
|
|
1001
|
+
inclusive: boolean;
|
|
1002
|
+
value: string;
|
|
1003
|
+
id: string;
|
|
1004
|
+
displayValue: string;
|
|
1005
|
+
kind: import("../flows.dto").CohortKind;
|
|
1006
|
+
} | undefined)[];
|
|
1007
|
+
custom?: Record<string, unknown> | undefined;
|
|
1008
|
+
};
|
|
1009
|
+
name: string;
|
|
1010
|
+
status: FlowSpecStatusKind;
|
|
1011
|
+
description: string;
|
|
1012
|
+
tid: string;
|
|
1013
|
+
triggerFilter: {
|
|
1014
|
+
trigger: {
|
|
1015
|
+
id: string;
|
|
1016
|
+
displayValue: string;
|
|
1017
|
+
eventType: string;
|
|
1018
|
+
cid?: string | undefined;
|
|
1019
|
+
}[];
|
|
1020
|
+
custom?: Record<string, unknown> | undefined;
|
|
1021
|
+
};
|
|
1022
|
+
engagementChannelCids: string[];
|
|
1023
|
+
id?: string | undefined;
|
|
1024
|
+
createdAt?: string | undefined;
|
|
1025
|
+
updatedAt?: string | undefined;
|
|
1026
|
+
deletedAt?: string | null | undefined;
|
|
1027
|
+
actions?: {
|
|
1028
|
+
includeInstructions?: boolean | undefined;
|
|
1029
|
+
getInstructionsAction?: {
|
|
1030
|
+
includeCustomInstructions?: boolean | undefined;
|
|
1031
|
+
customInstructions?: string | undefined;
|
|
1032
|
+
includeOnlyCustomInstructions?: boolean | undefined;
|
|
1033
|
+
} | undefined;
|
|
1034
|
+
includeMarkComplete?: boolean | undefined;
|
|
1035
|
+
expirationActionId?: string | undefined;
|
|
1036
|
+
expirationAction?: {
|
|
1037
|
+
actionId: string | null;
|
|
1038
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1039
|
+
responseMessage?: string | undefined;
|
|
1040
|
+
actionDescriptionContext?: string | undefined;
|
|
1041
|
+
} | undefined;
|
|
1042
|
+
simpleTriageYesActId?: string | undefined;
|
|
1043
|
+
simpleTriageNoActId?: string | undefined;
|
|
1044
|
+
resolveNowActionId?: string | undefined;
|
|
1045
|
+
resolveNowAction?: {
|
|
1046
|
+
actionId: string | null;
|
|
1047
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1048
|
+
responseMessage?: string | undefined;
|
|
1049
|
+
actionDescriptionContext?: string | undefined;
|
|
1050
|
+
} | undefined;
|
|
1051
|
+
scheduleResolutionAction?: {
|
|
1052
|
+
actionId: string | null;
|
|
1053
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1054
|
+
responseMessage?: string | undefined;
|
|
1055
|
+
actionDescriptionContext?: string | undefined;
|
|
1056
|
+
} | undefined;
|
|
1057
|
+
launchAction?: {
|
|
1058
|
+
actionId: string | null;
|
|
1059
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1060
|
+
responseMessage?: string | undefined;
|
|
1061
|
+
actionDescriptionContext?: string | undefined;
|
|
1062
|
+
} | undefined;
|
|
1063
|
+
launchActionsV2?: {
|
|
1064
|
+
id: string;
|
|
1065
|
+
actions: {
|
|
1066
|
+
actionId: string | null;
|
|
1067
|
+
}[];
|
|
1068
|
+
findingStatus: import("..").FindingStatus | null;
|
|
1069
|
+
} | undefined;
|
|
1070
|
+
actionButtons?: {
|
|
1071
|
+
id: string;
|
|
1072
|
+
actions: {
|
|
1073
|
+
actionId: string | null;
|
|
1074
|
+
}[];
|
|
1075
|
+
findingStatus: import("..").FindingStatus | null;
|
|
1076
|
+
actionLabel: string;
|
|
1077
|
+
}[] | undefined;
|
|
1078
|
+
} | undefined;
|
|
1079
|
+
redirection?: {
|
|
1080
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1081
|
+
channelId: string;
|
|
1082
|
+
includeUser?: boolean | undefined;
|
|
1083
|
+
} | {
|
|
1084
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1085
|
+
channelId: string;
|
|
1086
|
+
includeUser?: boolean | undefined;
|
|
1087
|
+
} | {
|
|
1088
|
+
kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
|
|
1089
|
+
channelId: string;
|
|
1090
|
+
includeUser?: boolean | undefined;
|
|
1091
|
+
} | undefined;
|
|
1092
|
+
fslStrategy?: "STANDARD" | undefined;
|
|
1093
|
+
tone?: {
|
|
1094
|
+
kind?: string | undefined;
|
|
1095
|
+
} | undefined;
|
|
1096
|
+
targetResolution?: {
|
|
1097
|
+
minutes: number;
|
|
1098
|
+
value?: number | undefined;
|
|
1099
|
+
units?: string | undefined;
|
|
1100
|
+
} | undefined;
|
|
1101
|
+
delayEngagement?: {
|
|
1102
|
+
minutes: number;
|
|
1103
|
+
value?: number | undefined;
|
|
1104
|
+
units?: string | undefined;
|
|
1105
|
+
} | undefined;
|
|
1106
|
+
skipWaitingPeriod?: {
|
|
1107
|
+
enabled: boolean;
|
|
1108
|
+
ignoreBusinessHours?: boolean | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
training?: {
|
|
1111
|
+
context?: string | undefined;
|
|
1112
|
+
subject?: string | undefined;
|
|
1113
|
+
} | undefined;
|
|
1114
|
+
triage?: {
|
|
1115
|
+
message: string;
|
|
1116
|
+
yesAction: {
|
|
1117
|
+
actionId: string | null;
|
|
1118
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1119
|
+
responseMessage?: string | undefined;
|
|
1120
|
+
actionDescriptionContext?: string | undefined;
|
|
1121
|
+
};
|
|
1122
|
+
noAction: {
|
|
1123
|
+
actionId: string | null;
|
|
1124
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1125
|
+
responseMessage?: string | undefined;
|
|
1126
|
+
actionDescriptionContext?: string | undefined;
|
|
1127
|
+
};
|
|
1128
|
+
} | undefined;
|
|
1129
|
+
reminderInterval?: {
|
|
1130
|
+
minutes: number;
|
|
1131
|
+
value?: number | undefined;
|
|
1132
|
+
units?: string | undefined;
|
|
1133
|
+
} | undefined;
|
|
1134
|
+
reminderStrategy?: {
|
|
1135
|
+
kind?: import("../flows.dto").ReminderStrategyKind | undefined;
|
|
1136
|
+
} | undefined;
|
|
1137
|
+
reminderPresence?: {
|
|
1138
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
1139
|
+
busyBehavior?: import("../flows.dto").ReminderBusyBehaviorKind | undefined;
|
|
1140
|
+
statusCheckEnabled?: boolean | undefined;
|
|
1141
|
+
} | undefined;
|
|
1142
|
+
escalation?: {
|
|
1143
|
+
interval: {
|
|
1144
|
+
minutes: number;
|
|
1145
|
+
value?: number | undefined;
|
|
1146
|
+
units?: string | undefined;
|
|
1147
|
+
};
|
|
1148
|
+
engagementChannelConnectorIds: string[];
|
|
1149
|
+
redirection?: {
|
|
1150
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1151
|
+
channelId: string;
|
|
1152
|
+
includeUser?: boolean | undefined;
|
|
1153
|
+
} | {
|
|
1154
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1155
|
+
channelId: string;
|
|
1156
|
+
includeUser?: boolean | undefined;
|
|
1157
|
+
} | {
|
|
1158
|
+
kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
|
|
1159
|
+
channelId: string;
|
|
1160
|
+
includeUser?: boolean | undefined;
|
|
1161
|
+
} | undefined;
|
|
1162
|
+
} | undefined;
|
|
1163
|
+
escalationToManager?: {
|
|
1164
|
+
interval: {
|
|
1165
|
+
minutes: number;
|
|
1166
|
+
value?: number | undefined;
|
|
1167
|
+
units?: string | undefined;
|
|
1168
|
+
};
|
|
1169
|
+
engagementChannelConnectorIds: string[];
|
|
1170
|
+
redirection?: {
|
|
1171
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1172
|
+
channelId: string;
|
|
1173
|
+
includeUser?: boolean | undefined;
|
|
1174
|
+
} | {
|
|
1175
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1176
|
+
channelId: string;
|
|
1177
|
+
includeUser?: boolean | undefined;
|
|
1178
|
+
} | {
|
|
1179
|
+
kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
|
|
1180
|
+
channelId: string;
|
|
1181
|
+
includeUser?: boolean | undefined;
|
|
1182
|
+
} | undefined;
|
|
1183
|
+
} | undefined;
|
|
1184
|
+
rewards?: {
|
|
1185
|
+
minutes: number;
|
|
1186
|
+
isUpperBound: boolean;
|
|
1187
|
+
points: number;
|
|
1188
|
+
value?: number | undefined;
|
|
1189
|
+
units?: string | undefined;
|
|
1190
|
+
}[] | undefined;
|
|
1191
|
+
customMessage?: {
|
|
1192
|
+
template?: string | undefined;
|
|
1193
|
+
append?: boolean | undefined;
|
|
1194
|
+
} | undefined;
|
|
1195
|
+
prependCustomMessage?: {
|
|
1196
|
+
template?: string | undefined;
|
|
1197
|
+
} | undefined;
|
|
1198
|
+
messageTitle?: string | undefined;
|
|
1199
|
+
additionalContext?: {
|
|
1200
|
+
data?: string | undefined;
|
|
1201
|
+
} | undefined;
|
|
1202
|
+
securityTip?: {
|
|
1203
|
+
subject?: import("../flows.dto").SecurityTipSubject | undefined;
|
|
1204
|
+
isConfigured?: boolean | undefined;
|
|
1205
|
+
} | undefined;
|
|
1206
|
+
scheduleConfig?: {
|
|
1207
|
+
required: boolean;
|
|
1208
|
+
} | undefined;
|
|
1209
|
+
}>, {
|
|
1210
|
+
filter: {
|
|
1211
|
+
cohorts: ({
|
|
1212
|
+
inclusive: boolean;
|
|
1213
|
+
value: string;
|
|
1214
|
+
id: string;
|
|
1215
|
+
displayValue: string;
|
|
1216
|
+
kind: import("../flows.dto").CohortKind;
|
|
1217
|
+
} | undefined)[];
|
|
1218
|
+
custom?: Record<string, unknown> | undefined;
|
|
1219
|
+
};
|
|
1220
|
+
name: string;
|
|
1221
|
+
status: FlowSpecStatusKind;
|
|
1222
|
+
description: string;
|
|
1223
|
+
tid: string;
|
|
1224
|
+
fslStrategy: "STANDARD";
|
|
1225
|
+
triggerFilter: {
|
|
1226
|
+
trigger: {
|
|
1227
|
+
id: string;
|
|
1228
|
+
displayValue: string;
|
|
1229
|
+
eventType: string;
|
|
1230
|
+
cid?: string | undefined;
|
|
1231
|
+
}[];
|
|
1232
|
+
custom?: Record<string, unknown> | undefined;
|
|
1233
|
+
};
|
|
1234
|
+
engagementChannelCids: string[];
|
|
1235
|
+
id?: string | undefined;
|
|
1236
|
+
createdAt?: string | undefined;
|
|
1237
|
+
updatedAt?: string | undefined;
|
|
1238
|
+
deletedAt?: string | null | undefined;
|
|
1239
|
+
actions?: {
|
|
1240
|
+
includeInstructions?: boolean | undefined;
|
|
1241
|
+
getInstructionsAction?: {
|
|
1242
|
+
includeCustomInstructions?: boolean | undefined;
|
|
1243
|
+
customInstructions?: string | undefined;
|
|
1244
|
+
includeOnlyCustomInstructions?: boolean | undefined;
|
|
1245
|
+
} | undefined;
|
|
1246
|
+
includeMarkComplete?: boolean | undefined;
|
|
1247
|
+
expirationActionId?: string | undefined;
|
|
1248
|
+
expirationAction?: {
|
|
1249
|
+
actionId: string | null;
|
|
1250
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1251
|
+
responseMessage?: string | undefined;
|
|
1252
|
+
actionDescriptionContext?: string | undefined;
|
|
1253
|
+
} | undefined;
|
|
1254
|
+
simpleTriageYesActId?: string | undefined;
|
|
1255
|
+
simpleTriageNoActId?: string | undefined;
|
|
1256
|
+
resolveNowActionId?: string | undefined;
|
|
1257
|
+
resolveNowAction?: {
|
|
1258
|
+
actionId: string | null;
|
|
1259
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1260
|
+
responseMessage?: string | undefined;
|
|
1261
|
+
actionDescriptionContext?: string | undefined;
|
|
1262
|
+
} | undefined;
|
|
1263
|
+
scheduleResolutionAction?: {
|
|
1264
|
+
actionId: string | null;
|
|
1265
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1266
|
+
responseMessage?: string | undefined;
|
|
1267
|
+
actionDescriptionContext?: string | undefined;
|
|
1268
|
+
} | undefined;
|
|
1269
|
+
launchAction?: {
|
|
1270
|
+
actionId: string | null;
|
|
1271
|
+
findingStatus?: import("..").FindingStatus | null | undefined;
|
|
1272
|
+
responseMessage?: string | undefined;
|
|
1273
|
+
actionDescriptionContext?: string | undefined;
|
|
1274
|
+
} | undefined;
|
|
1275
|
+
launchActionsV2?: {
|
|
1276
|
+
id: string;
|
|
1277
|
+
actions: {
|
|
1278
|
+
actionId: string | null;
|
|
1279
|
+
}[];
|
|
1280
|
+
findingStatus: import("..").FindingStatus | null;
|
|
1281
|
+
} | undefined;
|
|
1282
|
+
actionButtons?: {
|
|
1283
|
+
id: string;
|
|
1284
|
+
actions: {
|
|
1285
|
+
actionId: string | null;
|
|
1286
|
+
}[];
|
|
1287
|
+
findingStatus: import("..").FindingStatus | null;
|
|
1288
|
+
actionLabel: string;
|
|
1289
|
+
}[] | undefined;
|
|
1290
|
+
} | undefined;
|
|
1291
|
+
redirection?: {
|
|
1292
|
+
kind: import("../flows.dto").EngagementRedirectionKind.SLACK_CHANNEL;
|
|
1293
|
+
channelId: string;
|
|
1294
|
+
includeUser: boolean;
|
|
1295
|
+
} | {
|
|
1296
|
+
kind: import("../flows.dto").EngagementRedirectionKind.TEAMS_CHANNEL;
|
|
1297
|
+
channelId: string;
|
|
1298
|
+
includeUser: boolean;
|
|
1299
|
+
} | {
|
|
1300
|
+
kind: import("../flows.dto").EngagementRedirectionKind.EMAIL_CHANNEL;
|
|
1301
|
+
channelId: string;
|
|
1302
|
+
includeUser: boolean;
|
|
1303
|
+
} | undefined;
|
|
1304
|
+
tone?: {
|
|
1305
|
+
kind?: string | undefined;
|
|
1306
|
+
} | undefined;
|
|
1307
|
+
targetResolution?: {
|
|
1308
|
+
minutes: number;
|
|
1309
|
+
value?: number | undefined;
|
|
1310
|
+
units?: string | undefined;
|
|
1311
|
+
} | undefined;
|
|
1312
|
+
delayEngagement?: {
|
|
1313
|
+
minutes: number;
|
|
1314
|
+
value?: number | undefined;
|
|
1315
|
+
units?: string | undefined;
|
|
1316
|
+
} | undefined;
|
|
1317
|
+
skipWaitingPeriod?: {
|
|
1318
|
+
enabled: boolean;
|
|
1319
|
+
ignoreBusinessHours: boolean;
|
|
1320
|
+
} | undefined;
|
|
865
1321
|
training?: {
|
|
866
1322
|
context?: string | undefined;
|
|
867
1323
|
subject?: string | undefined;
|
|
@@ -886,6 +1342,14 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
886
1342
|
value?: number | undefined;
|
|
887
1343
|
units?: string | undefined;
|
|
888
1344
|
} | undefined;
|
|
1345
|
+
reminderStrategy?: {
|
|
1346
|
+
kind: import("../flows.dto").ReminderStrategyKind;
|
|
1347
|
+
} | undefined;
|
|
1348
|
+
reminderPresence?: {
|
|
1349
|
+
busyBehavior: import("../flows.dto").ReminderBusyBehaviorKind;
|
|
1350
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
1351
|
+
statusCheckEnabled?: boolean | undefined;
|
|
1352
|
+
} | undefined;
|
|
889
1353
|
escalation?: {
|
|
890
1354
|
interval: {
|
|
891
1355
|
minutes: number;
|
|
@@ -1061,6 +1525,10 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
1061
1525
|
value?: number | undefined;
|
|
1062
1526
|
units?: string | undefined;
|
|
1063
1527
|
} | undefined;
|
|
1528
|
+
skipWaitingPeriod?: {
|
|
1529
|
+
enabled: boolean;
|
|
1530
|
+
ignoreBusinessHours?: boolean | undefined;
|
|
1531
|
+
} | undefined;
|
|
1064
1532
|
training?: {
|
|
1065
1533
|
context?: string | undefined;
|
|
1066
1534
|
subject?: string | undefined;
|
|
@@ -1085,6 +1553,14 @@ export declare const _PlatformFlowSpecUpsertDto: z.ZodObject<z.objectUtil.extend
|
|
|
1085
1553
|
value?: number | undefined;
|
|
1086
1554
|
units?: string | undefined;
|
|
1087
1555
|
} | undefined;
|
|
1556
|
+
reminderStrategy?: {
|
|
1557
|
+
kind?: import("../flows.dto").ReminderStrategyKind | undefined;
|
|
1558
|
+
} | undefined;
|
|
1559
|
+
reminderPresence?: {
|
|
1560
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
1561
|
+
busyBehavior?: import("../flows.dto").ReminderBusyBehaviorKind | undefined;
|
|
1562
|
+
statusCheckEnabled?: boolean | undefined;
|
|
1563
|
+
} | undefined;
|
|
1088
1564
|
escalation?: {
|
|
1089
1565
|
interval: {
|
|
1090
1566
|
minutes: number;
|
|
@@ -1275,6 +1751,16 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1275
1751
|
value?: number | undefined;
|
|
1276
1752
|
units?: string | undefined;
|
|
1277
1753
|
}>>;
|
|
1754
|
+
skipWaitingPeriod: z.ZodOptional<z.ZodObject<{
|
|
1755
|
+
enabled: z.ZodBoolean;
|
|
1756
|
+
ignoreBusinessHours: z.ZodDefault<z.ZodBoolean>;
|
|
1757
|
+
}, "strip", z.ZodTypeAny, {
|
|
1758
|
+
enabled: boolean;
|
|
1759
|
+
ignoreBusinessHours: boolean;
|
|
1760
|
+
}, {
|
|
1761
|
+
enabled: boolean;
|
|
1762
|
+
ignoreBusinessHours?: boolean | undefined;
|
|
1763
|
+
}>>;
|
|
1278
1764
|
training: z.ZodOptional<z.ZodObject<{
|
|
1279
1765
|
subject: z.ZodOptional<z.ZodString>;
|
|
1280
1766
|
context: z.ZodOptional<z.ZodString>;
|
|
@@ -1361,6 +1847,26 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
1361
1847
|
value?: number | undefined;
|
|
1362
1848
|
units?: string | undefined;
|
|
1363
1849
|
}>>;
|
|
1850
|
+
reminderStrategy: z.ZodOptional<z.ZodObject<{
|
|
1851
|
+
kind: z.ZodDefault<z.ZodNativeEnum<typeof import("../flows.dto").ReminderStrategyKind>>;
|
|
1852
|
+
}, "strip", z.ZodTypeAny, {
|
|
1853
|
+
kind: import("../flows.dto").ReminderStrategyKind;
|
|
1854
|
+
}, {
|
|
1855
|
+
kind?: import("../flows.dto").ReminderStrategyKind | undefined;
|
|
1856
|
+
}>>;
|
|
1857
|
+
reminderPresence: z.ZodOptional<z.ZodObject<{
|
|
1858
|
+
provider: z.ZodOptional<z.ZodNativeEnum<typeof import("../flows.dto").ReminderPresenceProviderKind>>;
|
|
1859
|
+
busyBehavior: z.ZodDefault<z.ZodNativeEnum<typeof import("../flows.dto").ReminderBusyBehaviorKind>>;
|
|
1860
|
+
statusCheckEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
1861
|
+
}, "strip", z.ZodTypeAny, {
|
|
1862
|
+
busyBehavior: import("../flows.dto").ReminderBusyBehaviorKind;
|
|
1863
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
1864
|
+
statusCheckEnabled?: boolean | undefined;
|
|
1865
|
+
}, {
|
|
1866
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
1867
|
+
busyBehavior?: import("../flows.dto").ReminderBusyBehaviorKind | undefined;
|
|
1868
|
+
statusCheckEnabled?: boolean | undefined;
|
|
1869
|
+
}>>;
|
|
1364
1870
|
actions: z.ZodOptional<z.ZodObject<{
|
|
1365
1871
|
includeInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
1366
1872
|
getInstructionsAction: z.ZodOptional<z.ZodObject<{
|
|
@@ -2011,6 +2517,10 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
2011
2517
|
value?: number | undefined;
|
|
2012
2518
|
units?: string | undefined;
|
|
2013
2519
|
} | undefined;
|
|
2520
|
+
skipWaitingPeriod?: {
|
|
2521
|
+
enabled: boolean;
|
|
2522
|
+
ignoreBusinessHours: boolean;
|
|
2523
|
+
} | undefined;
|
|
2014
2524
|
training?: {
|
|
2015
2525
|
context?: string | undefined;
|
|
2016
2526
|
subject?: string | undefined;
|
|
@@ -2035,6 +2545,14 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
2035
2545
|
value?: number | undefined;
|
|
2036
2546
|
units?: string | undefined;
|
|
2037
2547
|
} | undefined;
|
|
2548
|
+
reminderStrategy?: {
|
|
2549
|
+
kind: import("../flows.dto").ReminderStrategyKind;
|
|
2550
|
+
} | undefined;
|
|
2551
|
+
reminderPresence?: {
|
|
2552
|
+
busyBehavior: import("../flows.dto").ReminderBusyBehaviorKind;
|
|
2553
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
2554
|
+
statusCheckEnabled?: boolean | undefined;
|
|
2555
|
+
} | undefined;
|
|
2038
2556
|
escalation?: {
|
|
2039
2557
|
interval: {
|
|
2040
2558
|
minutes: number;
|
|
@@ -2218,6 +2736,10 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
2218
2736
|
value?: number | undefined;
|
|
2219
2737
|
units?: string | undefined;
|
|
2220
2738
|
} | undefined;
|
|
2739
|
+
skipWaitingPeriod?: {
|
|
2740
|
+
enabled: boolean;
|
|
2741
|
+
ignoreBusinessHours?: boolean | undefined;
|
|
2742
|
+
} | undefined;
|
|
2221
2743
|
training?: {
|
|
2222
2744
|
context?: string | undefined;
|
|
2223
2745
|
subject?: string | undefined;
|
|
@@ -2242,6 +2764,14 @@ export declare const _PlatformFlowSpecDto: z.ZodObject<z.objectUtil.extendShape<
|
|
|
2242
2764
|
value?: number | undefined;
|
|
2243
2765
|
units?: string | undefined;
|
|
2244
2766
|
} | undefined;
|
|
2767
|
+
reminderStrategy?: {
|
|
2768
|
+
kind?: import("../flows.dto").ReminderStrategyKind | undefined;
|
|
2769
|
+
} | undefined;
|
|
2770
|
+
reminderPresence?: {
|
|
2771
|
+
provider?: import("../flows.dto").ReminderPresenceProviderKind | undefined;
|
|
2772
|
+
busyBehavior?: import("../flows.dto").ReminderBusyBehaviorKind | undefined;
|
|
2773
|
+
statusCheckEnabled?: boolean | undefined;
|
|
2774
|
+
} | undefined;
|
|
2245
2775
|
escalation?: {
|
|
2246
2776
|
interval: {
|
|
2247
2777
|
minutes: number;
|
package/build/src/settings.d.ts
CHANGED
|
@@ -87,6 +87,10 @@ export declare const AMP_SETTINGS: {
|
|
|
87
87
|
ACTIVE_ENGAGEMENT_WINDOW_START_TIME: import("./services").TypedAmpSettingsKey<string>;
|
|
88
88
|
ACTIVE_ENGAGEMENT_WINDOW_END_TIME: import("./services").TypedAmpSettingsKey<string>;
|
|
89
89
|
ACTIVE_ENGAGEMENT_WINDOW_TIMEZONE: import("./services").TypedAmpSettingsKey<string>;
|
|
90
|
+
/** Shared AM/PM anchoring window in minutes for office-hours reminder strategies. */
|
|
91
|
+
REMINDER_OFFICE_HOURS_ANCHOR_RANGE_MINUTES: import("./services").TypedAmpSettingsKey<number>;
|
|
92
|
+
/** Tenant-level master switch for status-aware reminder gating. */
|
|
93
|
+
REMINDER_STATUS_CHECK_ENABLED: import("./services").TypedAmpSettingsKey<boolean>;
|
|
90
94
|
NON_SERVICE_ACCOUNT_USER_EMAILS: import("./services").TypedAmpSettingsKey<string[]>;
|
|
91
95
|
/** Emails that get dropped and will NOT be included in user merge or profile */
|
|
92
96
|
IGNORED_EMAILS: import("./services").TypedAmpSettingsKey<string[]>;
|
package/build/src/settings.js
CHANGED
|
@@ -64,6 +64,10 @@ const TENANT_SETTINGS = {
|
|
|
64
64
|
ACTIVE_ENGAGEMENT_WINDOW_START_TIME: services_1.AmpSettingsMap.asKey('non.triage.active.start.time', '11:00 AM'),
|
|
65
65
|
ACTIVE_ENGAGEMENT_WINDOW_END_TIME: services_1.AmpSettingsMap.asKey('non.triage.active.end.time', '5:00 PM'),
|
|
66
66
|
ACTIVE_ENGAGEMENT_WINDOW_TIMEZONE: services_1.AmpSettingsMap.asKey('non.triage.active.time.zone', 'AMERICA/NEW_YORK'),
|
|
67
|
+
/** Shared AM/PM anchoring window in minutes for office-hours reminder strategies. */
|
|
68
|
+
REMINDER_OFFICE_HOURS_ANCHOR_RANGE_MINUTES: services_1.AmpSettingsMap.asKey('engagement.reminder.anchor.range.minutes', 120),
|
|
69
|
+
/** Tenant-level master switch for status-aware reminder gating. */
|
|
70
|
+
REMINDER_STATUS_CHECK_ENABLED: services_1.AmpSettingsMap.asKey('engagement.reminder.status.check.enabled', true),
|
|
67
71
|
NON_SERVICE_ACCOUNT_USER_EMAILS: services_1.AmpSettingsMap.asKey('non.service.account.user.emails', []),
|
|
68
72
|
/** Emails that get dropped and will NOT be included in user merge or profile */
|
|
69
73
|
IGNORED_EMAILS: services_1.AmpSettingsMap.asKey('ignored.emails', []),
|