@ampsec/platform-client 61.0.0 → 61.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/src/dto/coverage.dto.d.ts +31 -0
- package/build/src/dto/flows.dto.d.ts +329 -54
- package/build/src/dto/flows.dto.js +16 -3
- package/build/src/dto/flows.dto.js.map +1 -1
- package/build/src/dto/notification.dto.d.ts +121 -0
- package/build/src/dto/notification.dto.js +6 -1
- package/build/src/dto/notification.dto.js.map +1 -1
- package/build/src/dto/platform/platform.flows.dto.d.ts +242 -38
- package/build/src/dto/platform/platform.flows.dto.js +1 -1
- package/build/src/dto/platform/platform.flows.dto.js.map +1 -1
- package/build/src/dto/platform/platform.saasAssets.dto.d.ts +25 -0
- package/build/src/dto/saasAssets.dto.d.ts +72 -0
- package/build/src/dto/saasAssets.dto.js +6 -0
- package/build/src/dto/saasAssets.dto.js.map +1 -1
- package/package.json +1 -1
- package/src/dto/flows.dto.ts +19 -3
- package/src/dto/notification.dto.ts +6 -0
- package/src/dto/platform/platform.flows.dto.ts +1 -1
- package/src/dto/saasAssets.dto.ts +6 -0
|
@@ -675,38 +675,54 @@ export declare enum FlowSpecStatusKind {
|
|
|
675
675
|
ERROR = "ERROR"
|
|
676
676
|
}
|
|
677
677
|
declare const _FlowTrigger: z.ZodObject<{
|
|
678
|
-
|
|
679
|
-
displayValue: z.
|
|
678
|
+
id: z.ZodString;
|
|
679
|
+
displayValue: z.ZodString;
|
|
680
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
681
|
+
eventType: z.ZodString;
|
|
680
682
|
}, "strip", z.ZodTypeAny, {
|
|
681
|
-
|
|
682
|
-
displayValue
|
|
683
|
+
id: string;
|
|
684
|
+
displayValue: string;
|
|
685
|
+
eventType: string;
|
|
686
|
+
cid?: string | undefined;
|
|
683
687
|
}, {
|
|
684
|
-
|
|
685
|
-
displayValue
|
|
688
|
+
id: string;
|
|
689
|
+
displayValue: string;
|
|
690
|
+
eventType: string;
|
|
691
|
+
cid?: string | undefined;
|
|
686
692
|
}>;
|
|
687
693
|
export type FlowTrigger = z.infer<typeof _FlowTrigger>;
|
|
688
694
|
declare const _FlowTriggerFilter: z.ZodObject<{
|
|
689
695
|
trigger: z.ZodArray<z.ZodObject<{
|
|
690
|
-
|
|
691
|
-
displayValue: z.
|
|
696
|
+
id: z.ZodString;
|
|
697
|
+
displayValue: z.ZodString;
|
|
698
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
699
|
+
eventType: z.ZodString;
|
|
692
700
|
}, "strip", z.ZodTypeAny, {
|
|
693
|
-
|
|
694
|
-
displayValue
|
|
701
|
+
id: string;
|
|
702
|
+
displayValue: string;
|
|
703
|
+
eventType: string;
|
|
704
|
+
cid?: string | undefined;
|
|
695
705
|
}, {
|
|
696
|
-
|
|
697
|
-
displayValue
|
|
706
|
+
id: string;
|
|
707
|
+
displayValue: string;
|
|
708
|
+
eventType: string;
|
|
709
|
+
cid?: string | undefined;
|
|
698
710
|
}>, "many">;
|
|
699
711
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
700
712
|
}, "strip", z.ZodTypeAny, {
|
|
701
713
|
trigger: {
|
|
702
|
-
|
|
703
|
-
displayValue
|
|
714
|
+
id: string;
|
|
715
|
+
displayValue: string;
|
|
716
|
+
eventType: string;
|
|
717
|
+
cid?: string | undefined;
|
|
704
718
|
}[];
|
|
705
719
|
custom?: Record<string, unknown> | undefined;
|
|
706
720
|
}, {
|
|
707
721
|
trigger: {
|
|
708
|
-
|
|
709
|
-
displayValue
|
|
722
|
+
id: string;
|
|
723
|
+
displayValue: string;
|
|
724
|
+
eventType: string;
|
|
725
|
+
cid?: string | undefined;
|
|
710
726
|
}[];
|
|
711
727
|
custom?: Record<string, unknown> | undefined;
|
|
712
728
|
}>;
|
|
@@ -728,12 +744,21 @@ export type FlowInterval = z.infer<typeof _FlowInterval>;
|
|
|
728
744
|
export declare const _FlowActions: z.ZodObject<{
|
|
729
745
|
includeInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
730
746
|
expirationActionId: z.ZodOptional<z.ZodString>;
|
|
747
|
+
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
748
|
+
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
749
|
+
resolveNowActionId: z.ZodOptional<z.ZodString>;
|
|
731
750
|
}, "strip", z.ZodTypeAny, {
|
|
732
751
|
includeInstructions?: boolean | undefined;
|
|
733
752
|
expirationActionId?: string | undefined;
|
|
753
|
+
simpleTriageYesActId?: string | undefined;
|
|
754
|
+
simpleTriageNoActId?: string | undefined;
|
|
755
|
+
resolveNowActionId?: string | undefined;
|
|
734
756
|
}, {
|
|
735
757
|
includeInstructions?: boolean | undefined;
|
|
736
758
|
expirationActionId?: string | undefined;
|
|
759
|
+
simpleTriageYesActId?: string | undefined;
|
|
760
|
+
simpleTriageNoActId?: string | undefined;
|
|
761
|
+
resolveNowActionId?: string | undefined;
|
|
737
762
|
}>;
|
|
738
763
|
export type FlowActions = z.infer<typeof _FlowActions>;
|
|
739
764
|
export declare const _FlowRewardsConfig: z.ZodObject<{
|
|
@@ -768,37 +793,77 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
768
793
|
fslStrategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["STANDARD"]>>>;
|
|
769
794
|
triggerFilter: z.ZodObject<{
|
|
770
795
|
trigger: z.ZodArray<z.ZodObject<{
|
|
771
|
-
|
|
772
|
-
displayValue: z.
|
|
796
|
+
id: z.ZodString;
|
|
797
|
+
displayValue: z.ZodString;
|
|
798
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
799
|
+
eventType: z.ZodString;
|
|
773
800
|
}, "strip", z.ZodTypeAny, {
|
|
774
|
-
|
|
775
|
-
displayValue
|
|
801
|
+
id: string;
|
|
802
|
+
displayValue: string;
|
|
803
|
+
eventType: string;
|
|
804
|
+
cid?: string | undefined;
|
|
776
805
|
}, {
|
|
777
|
-
|
|
778
|
-
displayValue
|
|
806
|
+
id: string;
|
|
807
|
+
displayValue: string;
|
|
808
|
+
eventType: string;
|
|
809
|
+
cid?: string | undefined;
|
|
779
810
|
}>, "many">;
|
|
780
811
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
781
812
|
}, "strip", z.ZodTypeAny, {
|
|
782
813
|
trigger: {
|
|
783
|
-
|
|
784
|
-
displayValue
|
|
814
|
+
id: string;
|
|
815
|
+
displayValue: string;
|
|
816
|
+
eventType: string;
|
|
817
|
+
cid?: string | undefined;
|
|
785
818
|
}[];
|
|
786
819
|
custom?: Record<string, unknown> | undefined;
|
|
787
820
|
}, {
|
|
788
821
|
trigger: {
|
|
789
|
-
|
|
790
|
-
displayValue
|
|
822
|
+
id: string;
|
|
823
|
+
displayValue: string;
|
|
824
|
+
eventType: string;
|
|
825
|
+
cid?: string | undefined;
|
|
791
826
|
}[];
|
|
792
827
|
custom?: Record<string, unknown> | undefined;
|
|
793
828
|
}>;
|
|
794
829
|
filter: z.ZodObject<{
|
|
795
|
-
cohorts: z.ZodArray<z.
|
|
830
|
+
cohorts: z.ZodArray<z.ZodObject<{
|
|
831
|
+
id: z.ZodString;
|
|
832
|
+
kind: z.ZodEnum<["ORGANIZATION", "DEPARTMENT", "USER", "RISK_CONTRIBUTOR"]>;
|
|
833
|
+
displayValue: z.ZodString;
|
|
834
|
+
value: z.ZodString;
|
|
835
|
+
inclusive: z.ZodBoolean;
|
|
836
|
+
}, "strip", z.ZodTypeAny, {
|
|
837
|
+
inclusive: boolean;
|
|
838
|
+
value: string;
|
|
839
|
+
id: string;
|
|
840
|
+
displayValue: string;
|
|
841
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
842
|
+
}, {
|
|
843
|
+
inclusive: boolean;
|
|
844
|
+
value: string;
|
|
845
|
+
id: string;
|
|
846
|
+
displayValue: string;
|
|
847
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
848
|
+
}>, "many">;
|
|
796
849
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
797
850
|
}, "strip", z.ZodTypeAny, {
|
|
798
|
-
cohorts:
|
|
851
|
+
cohorts: {
|
|
852
|
+
inclusive: boolean;
|
|
853
|
+
value: string;
|
|
854
|
+
id: string;
|
|
855
|
+
displayValue: string;
|
|
856
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
857
|
+
}[];
|
|
799
858
|
custom?: Record<string, unknown> | undefined;
|
|
800
859
|
}, {
|
|
801
|
-
cohorts:
|
|
860
|
+
cohorts: {
|
|
861
|
+
inclusive: boolean;
|
|
862
|
+
value: string;
|
|
863
|
+
id: string;
|
|
864
|
+
displayValue: string;
|
|
865
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
866
|
+
}[];
|
|
802
867
|
custom?: Record<string, unknown> | undefined;
|
|
803
868
|
}>;
|
|
804
869
|
engagementChannelCids: z.ZodArray<z.ZodString, "many">;
|
|
@@ -838,12 +903,21 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
838
903
|
actions: z.ZodOptional<z.ZodObject<{
|
|
839
904
|
includeInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
840
905
|
expirationActionId: z.ZodOptional<z.ZodString>;
|
|
906
|
+
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
907
|
+
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
908
|
+
resolveNowActionId: z.ZodOptional<z.ZodString>;
|
|
841
909
|
}, "strip", z.ZodTypeAny, {
|
|
842
910
|
includeInstructions?: boolean | undefined;
|
|
843
911
|
expirationActionId?: string | undefined;
|
|
912
|
+
simpleTriageYesActId?: string | undefined;
|
|
913
|
+
simpleTriageNoActId?: string | undefined;
|
|
914
|
+
resolveNowActionId?: string | undefined;
|
|
844
915
|
}, {
|
|
845
916
|
includeInstructions?: boolean | undefined;
|
|
846
917
|
expirationActionId?: string | undefined;
|
|
918
|
+
simpleTriageYesActId?: string | undefined;
|
|
919
|
+
simpleTriageNoActId?: string | undefined;
|
|
920
|
+
resolveNowActionId?: string | undefined;
|
|
847
921
|
}>>;
|
|
848
922
|
rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
849
923
|
isUpperBound: z.ZodBoolean;
|
|
@@ -864,6 +938,23 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
864
938
|
value?: number | undefined;
|
|
865
939
|
units?: string | undefined;
|
|
866
940
|
}>, "many">>;
|
|
941
|
+
customMessage: z.ZodOptional<z.ZodObject<{
|
|
942
|
+
template: z.ZodString;
|
|
943
|
+
append: z.ZodBoolean;
|
|
944
|
+
}, "strip", z.ZodTypeAny, {
|
|
945
|
+
template: string;
|
|
946
|
+
append: boolean;
|
|
947
|
+
}, {
|
|
948
|
+
template: string;
|
|
949
|
+
append: boolean;
|
|
950
|
+
}>>;
|
|
951
|
+
scheduleConfig: z.ZodOptional<z.ZodObject<{
|
|
952
|
+
required: z.ZodBoolean;
|
|
953
|
+
}, "strip", z.ZodTypeAny, {
|
|
954
|
+
required: boolean;
|
|
955
|
+
}, {
|
|
956
|
+
required: boolean;
|
|
957
|
+
}>>;
|
|
867
958
|
activity: z.ZodOptional<z.ZodObject<{
|
|
868
959
|
lastTriggered: z.ZodOptional<z.ZodString>;
|
|
869
960
|
activeCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -879,7 +970,13 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
879
970
|
}>>;
|
|
880
971
|
}, "strip", z.ZodTypeAny, {
|
|
881
972
|
filter: {
|
|
882
|
-
cohorts:
|
|
973
|
+
cohorts: {
|
|
974
|
+
inclusive: boolean;
|
|
975
|
+
value: string;
|
|
976
|
+
id: string;
|
|
977
|
+
displayValue: string;
|
|
978
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
979
|
+
}[];
|
|
883
980
|
custom?: Record<string, unknown> | undefined;
|
|
884
981
|
};
|
|
885
982
|
name: string;
|
|
@@ -893,8 +990,10 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
893
990
|
fslStrategy: "STANDARD";
|
|
894
991
|
triggerFilter: {
|
|
895
992
|
trigger: {
|
|
896
|
-
|
|
897
|
-
displayValue
|
|
993
|
+
id: string;
|
|
994
|
+
displayValue: string;
|
|
995
|
+
eventType: string;
|
|
996
|
+
cid?: string | undefined;
|
|
898
997
|
}[];
|
|
899
998
|
custom?: Record<string, unknown> | undefined;
|
|
900
999
|
};
|
|
@@ -915,6 +1014,9 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
915
1014
|
actions?: {
|
|
916
1015
|
includeInstructions?: boolean | undefined;
|
|
917
1016
|
expirationActionId?: string | undefined;
|
|
1017
|
+
simpleTriageYesActId?: string | undefined;
|
|
1018
|
+
simpleTriageNoActId?: string | undefined;
|
|
1019
|
+
resolveNowActionId?: string | undefined;
|
|
918
1020
|
} | undefined;
|
|
919
1021
|
rewards?: {
|
|
920
1022
|
minutes: number;
|
|
@@ -923,6 +1025,13 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
923
1025
|
value?: number | undefined;
|
|
924
1026
|
units?: string | undefined;
|
|
925
1027
|
}[] | undefined;
|
|
1028
|
+
customMessage?: {
|
|
1029
|
+
template: string;
|
|
1030
|
+
append: boolean;
|
|
1031
|
+
} | undefined;
|
|
1032
|
+
scheduleConfig?: {
|
|
1033
|
+
required: boolean;
|
|
1034
|
+
} | undefined;
|
|
926
1035
|
activity?: {
|
|
927
1036
|
activeCount: number;
|
|
928
1037
|
totalCount: number;
|
|
@@ -930,7 +1039,13 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
930
1039
|
} | undefined;
|
|
931
1040
|
}, {
|
|
932
1041
|
filter: {
|
|
933
|
-
cohorts:
|
|
1042
|
+
cohorts: {
|
|
1043
|
+
inclusive: boolean;
|
|
1044
|
+
value: string;
|
|
1045
|
+
id: string;
|
|
1046
|
+
displayValue: string;
|
|
1047
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
1048
|
+
}[];
|
|
934
1049
|
custom?: Record<string, unknown> | undefined;
|
|
935
1050
|
};
|
|
936
1051
|
name: string;
|
|
@@ -943,8 +1058,10 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
943
1058
|
deletedAt: string | null;
|
|
944
1059
|
triggerFilter: {
|
|
945
1060
|
trigger: {
|
|
946
|
-
|
|
947
|
-
displayValue
|
|
1061
|
+
id: string;
|
|
1062
|
+
displayValue: string;
|
|
1063
|
+
eventType: string;
|
|
1064
|
+
cid?: string | undefined;
|
|
948
1065
|
}[];
|
|
949
1066
|
custom?: Record<string, unknown> | undefined;
|
|
950
1067
|
};
|
|
@@ -966,6 +1083,9 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
966
1083
|
actions?: {
|
|
967
1084
|
includeInstructions?: boolean | undefined;
|
|
968
1085
|
expirationActionId?: string | undefined;
|
|
1086
|
+
simpleTriageYesActId?: string | undefined;
|
|
1087
|
+
simpleTriageNoActId?: string | undefined;
|
|
1088
|
+
resolveNowActionId?: string | undefined;
|
|
969
1089
|
} | undefined;
|
|
970
1090
|
rewards?: {
|
|
971
1091
|
minutes: number;
|
|
@@ -974,6 +1094,13 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
974
1094
|
value?: number | undefined;
|
|
975
1095
|
units?: string | undefined;
|
|
976
1096
|
}[] | undefined;
|
|
1097
|
+
customMessage?: {
|
|
1098
|
+
template: string;
|
|
1099
|
+
append: boolean;
|
|
1100
|
+
} | undefined;
|
|
1101
|
+
scheduleConfig?: {
|
|
1102
|
+
required: boolean;
|
|
1103
|
+
} | undefined;
|
|
977
1104
|
activity?: {
|
|
978
1105
|
lastTriggered?: string | undefined;
|
|
979
1106
|
activeCount?: number | undefined;
|
|
@@ -983,13 +1110,43 @@ export declare const _FlowSpecDto: z.ZodObject<{
|
|
|
983
1110
|
export type FlowSpecDto = z.infer<typeof _FlowSpecDto>;
|
|
984
1111
|
export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
985
1112
|
filter: z.ZodObject<{
|
|
986
|
-
cohorts: z.ZodArray<z.
|
|
1113
|
+
cohorts: z.ZodArray<z.ZodObject<{
|
|
1114
|
+
id: z.ZodString;
|
|
1115
|
+
kind: z.ZodEnum<["ORGANIZATION", "DEPARTMENT", "USER", "RISK_CONTRIBUTOR"]>;
|
|
1116
|
+
displayValue: z.ZodString;
|
|
1117
|
+
value: z.ZodString;
|
|
1118
|
+
inclusive: z.ZodBoolean;
|
|
1119
|
+
}, "strip", z.ZodTypeAny, {
|
|
1120
|
+
inclusive: boolean;
|
|
1121
|
+
value: string;
|
|
1122
|
+
id: string;
|
|
1123
|
+
displayValue: string;
|
|
1124
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
1125
|
+
}, {
|
|
1126
|
+
inclusive: boolean;
|
|
1127
|
+
value: string;
|
|
1128
|
+
id: string;
|
|
1129
|
+
displayValue: string;
|
|
1130
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
1131
|
+
}>, "many">;
|
|
987
1132
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
988
1133
|
}, "strip", z.ZodTypeAny, {
|
|
989
|
-
cohorts:
|
|
1134
|
+
cohorts: {
|
|
1135
|
+
inclusive: boolean;
|
|
1136
|
+
value: string;
|
|
1137
|
+
id: string;
|
|
1138
|
+
displayValue: string;
|
|
1139
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
1140
|
+
}[];
|
|
990
1141
|
custom?: Record<string, unknown> | undefined;
|
|
991
1142
|
}, {
|
|
992
|
-
cohorts:
|
|
1143
|
+
cohorts: {
|
|
1144
|
+
inclusive: boolean;
|
|
1145
|
+
value: string;
|
|
1146
|
+
id: string;
|
|
1147
|
+
displayValue: string;
|
|
1148
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
1149
|
+
}[];
|
|
993
1150
|
custom?: Record<string, unknown> | undefined;
|
|
994
1151
|
}>;
|
|
995
1152
|
name: z.ZodString;
|
|
@@ -999,26 +1156,36 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
999
1156
|
fslStrategy: z.ZodDefault<z.ZodOptional<z.ZodEnum<["STANDARD"]>>>;
|
|
1000
1157
|
triggerFilter: z.ZodObject<{
|
|
1001
1158
|
trigger: z.ZodArray<z.ZodObject<{
|
|
1002
|
-
|
|
1003
|
-
displayValue: z.
|
|
1159
|
+
id: z.ZodString;
|
|
1160
|
+
displayValue: z.ZodString;
|
|
1161
|
+
cid: z.ZodOptional<z.ZodString>;
|
|
1162
|
+
eventType: z.ZodString;
|
|
1004
1163
|
}, "strip", z.ZodTypeAny, {
|
|
1005
|
-
|
|
1006
|
-
displayValue
|
|
1164
|
+
id: string;
|
|
1165
|
+
displayValue: string;
|
|
1166
|
+
eventType: string;
|
|
1167
|
+
cid?: string | undefined;
|
|
1007
1168
|
}, {
|
|
1008
|
-
|
|
1009
|
-
displayValue
|
|
1169
|
+
id: string;
|
|
1170
|
+
displayValue: string;
|
|
1171
|
+
eventType: string;
|
|
1172
|
+
cid?: string | undefined;
|
|
1010
1173
|
}>, "many">;
|
|
1011
1174
|
custom: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1012
1175
|
}, "strip", z.ZodTypeAny, {
|
|
1013
1176
|
trigger: {
|
|
1014
|
-
|
|
1015
|
-
displayValue
|
|
1177
|
+
id: string;
|
|
1178
|
+
displayValue: string;
|
|
1179
|
+
eventType: string;
|
|
1180
|
+
cid?: string | undefined;
|
|
1016
1181
|
}[];
|
|
1017
1182
|
custom?: Record<string, unknown> | undefined;
|
|
1018
1183
|
}, {
|
|
1019
1184
|
trigger: {
|
|
1020
|
-
|
|
1021
|
-
displayValue
|
|
1185
|
+
id: string;
|
|
1186
|
+
displayValue: string;
|
|
1187
|
+
eventType: string;
|
|
1188
|
+
cid?: string | undefined;
|
|
1022
1189
|
}[];
|
|
1023
1190
|
custom?: Record<string, unknown> | undefined;
|
|
1024
1191
|
}>;
|
|
@@ -1059,12 +1226,21 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1059
1226
|
actions: z.ZodOptional<z.ZodObject<{
|
|
1060
1227
|
includeInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
1061
1228
|
expirationActionId: z.ZodOptional<z.ZodString>;
|
|
1229
|
+
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
1231
|
+
resolveNowActionId: z.ZodOptional<z.ZodString>;
|
|
1062
1232
|
}, "strip", z.ZodTypeAny, {
|
|
1063
1233
|
includeInstructions?: boolean | undefined;
|
|
1064
1234
|
expirationActionId?: string | undefined;
|
|
1235
|
+
simpleTriageYesActId?: string | undefined;
|
|
1236
|
+
simpleTriageNoActId?: string | undefined;
|
|
1237
|
+
resolveNowActionId?: string | undefined;
|
|
1065
1238
|
}, {
|
|
1066
1239
|
includeInstructions?: boolean | undefined;
|
|
1067
1240
|
expirationActionId?: string | undefined;
|
|
1241
|
+
simpleTriageYesActId?: string | undefined;
|
|
1242
|
+
simpleTriageNoActId?: string | undefined;
|
|
1243
|
+
resolveNowActionId?: string | undefined;
|
|
1068
1244
|
}>>;
|
|
1069
1245
|
rewards: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1070
1246
|
isUpperBound: z.ZodBoolean;
|
|
@@ -1085,13 +1261,36 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1085
1261
|
value?: number | undefined;
|
|
1086
1262
|
units?: string | undefined;
|
|
1087
1263
|
}>, "many">>;
|
|
1264
|
+
customMessage: z.ZodOptional<z.ZodObject<{
|
|
1265
|
+
template: z.ZodString;
|
|
1266
|
+
append: z.ZodBoolean;
|
|
1267
|
+
}, "strip", z.ZodTypeAny, {
|
|
1268
|
+
template: string;
|
|
1269
|
+
append: boolean;
|
|
1270
|
+
}, {
|
|
1271
|
+
template: string;
|
|
1272
|
+
append: boolean;
|
|
1273
|
+
}>>;
|
|
1274
|
+
scheduleConfig: z.ZodOptional<z.ZodObject<{
|
|
1275
|
+
required: z.ZodBoolean;
|
|
1276
|
+
}, "strip", z.ZodTypeAny, {
|
|
1277
|
+
required: boolean;
|
|
1278
|
+
}, {
|
|
1279
|
+
required: boolean;
|
|
1280
|
+
}>>;
|
|
1088
1281
|
id: z.ZodOptional<z.ZodString>;
|
|
1089
1282
|
createdAt: z.ZodOptional<z.ZodString>;
|
|
1090
1283
|
updatedAt: z.ZodOptional<z.ZodString>;
|
|
1091
1284
|
deletedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1092
1285
|
}, "strip", z.ZodTypeAny, {
|
|
1093
1286
|
filter: {
|
|
1094
|
-
cohorts:
|
|
1287
|
+
cohorts: {
|
|
1288
|
+
inclusive: boolean;
|
|
1289
|
+
value: string;
|
|
1290
|
+
id: string;
|
|
1291
|
+
displayValue: string;
|
|
1292
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
1293
|
+
}[];
|
|
1095
1294
|
custom?: Record<string, unknown> | undefined;
|
|
1096
1295
|
};
|
|
1097
1296
|
name: string;
|
|
@@ -1101,8 +1300,10 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1101
1300
|
fslStrategy: "STANDARD";
|
|
1102
1301
|
triggerFilter: {
|
|
1103
1302
|
trigger: {
|
|
1104
|
-
|
|
1105
|
-
displayValue
|
|
1303
|
+
id: string;
|
|
1304
|
+
displayValue: string;
|
|
1305
|
+
eventType: string;
|
|
1306
|
+
cid?: string | undefined;
|
|
1106
1307
|
}[];
|
|
1107
1308
|
custom?: Record<string, unknown> | undefined;
|
|
1108
1309
|
};
|
|
@@ -1123,6 +1324,9 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1123
1324
|
actions?: {
|
|
1124
1325
|
includeInstructions?: boolean | undefined;
|
|
1125
1326
|
expirationActionId?: string | undefined;
|
|
1327
|
+
simpleTriageYesActId?: string | undefined;
|
|
1328
|
+
simpleTriageNoActId?: string | undefined;
|
|
1329
|
+
resolveNowActionId?: string | undefined;
|
|
1126
1330
|
} | undefined;
|
|
1127
1331
|
rewards?: {
|
|
1128
1332
|
minutes: number;
|
|
@@ -1131,13 +1335,26 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1131
1335
|
value?: number | undefined;
|
|
1132
1336
|
units?: string | undefined;
|
|
1133
1337
|
}[] | undefined;
|
|
1338
|
+
customMessage?: {
|
|
1339
|
+
template: string;
|
|
1340
|
+
append: boolean;
|
|
1341
|
+
} | undefined;
|
|
1342
|
+
scheduleConfig?: {
|
|
1343
|
+
required: boolean;
|
|
1344
|
+
} | undefined;
|
|
1134
1345
|
id?: string | undefined;
|
|
1135
1346
|
createdAt?: string | undefined;
|
|
1136
1347
|
updatedAt?: string | undefined;
|
|
1137
1348
|
deletedAt?: string | null | undefined;
|
|
1138
1349
|
}, {
|
|
1139
1350
|
filter: {
|
|
1140
|
-
cohorts:
|
|
1351
|
+
cohorts: {
|
|
1352
|
+
inclusive: boolean;
|
|
1353
|
+
value: string;
|
|
1354
|
+
id: string;
|
|
1355
|
+
displayValue: string;
|
|
1356
|
+
kind: "USER" | "ORGANIZATION" | "DEPARTMENT" | "RISK_CONTRIBUTOR";
|
|
1357
|
+
}[];
|
|
1141
1358
|
custom?: Record<string, unknown> | undefined;
|
|
1142
1359
|
};
|
|
1143
1360
|
name: string;
|
|
@@ -1146,8 +1363,10 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1146
1363
|
tid: string;
|
|
1147
1364
|
triggerFilter: {
|
|
1148
1365
|
trigger: {
|
|
1149
|
-
|
|
1150
|
-
displayValue
|
|
1366
|
+
id: string;
|
|
1367
|
+
displayValue: string;
|
|
1368
|
+
eventType: string;
|
|
1369
|
+
cid?: string | undefined;
|
|
1151
1370
|
}[];
|
|
1152
1371
|
custom?: Record<string, unknown> | undefined;
|
|
1153
1372
|
};
|
|
@@ -1169,6 +1388,9 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1169
1388
|
actions?: {
|
|
1170
1389
|
includeInstructions?: boolean | undefined;
|
|
1171
1390
|
expirationActionId?: string | undefined;
|
|
1391
|
+
simpleTriageYesActId?: string | undefined;
|
|
1392
|
+
simpleTriageNoActId?: string | undefined;
|
|
1393
|
+
resolveNowActionId?: string | undefined;
|
|
1172
1394
|
} | undefined;
|
|
1173
1395
|
rewards?: {
|
|
1174
1396
|
minutes: number;
|
|
@@ -1177,6 +1399,13 @@ export declare const _FlowSpecUpsertDto: z.ZodObject<{
|
|
|
1177
1399
|
value?: number | undefined;
|
|
1178
1400
|
units?: string | undefined;
|
|
1179
1401
|
}[] | undefined;
|
|
1402
|
+
customMessage?: {
|
|
1403
|
+
template: string;
|
|
1404
|
+
append: boolean;
|
|
1405
|
+
} | undefined;
|
|
1406
|
+
scheduleConfig?: {
|
|
1407
|
+
required: boolean;
|
|
1408
|
+
} | undefined;
|
|
1180
1409
|
id?: string | undefined;
|
|
1181
1410
|
createdAt?: string | undefined;
|
|
1182
1411
|
updatedAt?: string | undefined;
|
|
@@ -1232,12 +1461,21 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1232
1461
|
actions: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1233
1462
|
includeInstructions: z.ZodOptional<z.ZodBoolean>;
|
|
1234
1463
|
expirationActionId: z.ZodOptional<z.ZodString>;
|
|
1464
|
+
simpleTriageYesActId: z.ZodOptional<z.ZodString>;
|
|
1465
|
+
simpleTriageNoActId: z.ZodOptional<z.ZodString>;
|
|
1466
|
+
resolveNowActionId: z.ZodOptional<z.ZodString>;
|
|
1235
1467
|
}, "strip", z.ZodTypeAny, {
|
|
1236
1468
|
includeInstructions?: boolean | undefined;
|
|
1237
1469
|
expirationActionId?: string | undefined;
|
|
1470
|
+
simpleTriageYesActId?: string | undefined;
|
|
1471
|
+
simpleTriageNoActId?: string | undefined;
|
|
1472
|
+
resolveNowActionId?: string | undefined;
|
|
1238
1473
|
}, {
|
|
1239
1474
|
includeInstructions?: boolean | undefined;
|
|
1240
1475
|
expirationActionId?: string | undefined;
|
|
1476
|
+
simpleTriageYesActId?: string | undefined;
|
|
1477
|
+
simpleTriageNoActId?: string | undefined;
|
|
1478
|
+
resolveNowActionId?: string | undefined;
|
|
1241
1479
|
}>>>;
|
|
1242
1480
|
rewards: z.ZodOptional<z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1243
1481
|
isUpperBound: z.ZodBoolean;
|
|
@@ -1258,6 +1496,23 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1258
1496
|
value?: number | undefined;
|
|
1259
1497
|
units?: string | undefined;
|
|
1260
1498
|
}>, "many">>>;
|
|
1499
|
+
customMessage: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1500
|
+
template: z.ZodString;
|
|
1501
|
+
append: z.ZodBoolean;
|
|
1502
|
+
}, "strip", z.ZodTypeAny, {
|
|
1503
|
+
template: string;
|
|
1504
|
+
append: boolean;
|
|
1505
|
+
}, {
|
|
1506
|
+
template: string;
|
|
1507
|
+
append: boolean;
|
|
1508
|
+
}>>>;
|
|
1509
|
+
scheduleConfig: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1510
|
+
required: z.ZodBoolean;
|
|
1511
|
+
}, "strip", z.ZodTypeAny, {
|
|
1512
|
+
required: boolean;
|
|
1513
|
+
}, {
|
|
1514
|
+
required: boolean;
|
|
1515
|
+
}>>>;
|
|
1261
1516
|
activity: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
1262
1517
|
lastTriggered: z.ZodOptional<z.ZodString>;
|
|
1263
1518
|
activeCount: z.ZodDefault<z.ZodNumber>;
|
|
@@ -1301,6 +1556,9 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1301
1556
|
actions?: {
|
|
1302
1557
|
includeInstructions?: boolean | undefined;
|
|
1303
1558
|
expirationActionId?: string | undefined;
|
|
1559
|
+
simpleTriageYesActId?: string | undefined;
|
|
1560
|
+
simpleTriageNoActId?: string | undefined;
|
|
1561
|
+
resolveNowActionId?: string | undefined;
|
|
1304
1562
|
} | undefined;
|
|
1305
1563
|
rewards?: {
|
|
1306
1564
|
minutes: number;
|
|
@@ -1309,6 +1567,13 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1309
1567
|
value?: number | undefined;
|
|
1310
1568
|
units?: string | undefined;
|
|
1311
1569
|
}[] | undefined;
|
|
1570
|
+
customMessage?: {
|
|
1571
|
+
template: string;
|
|
1572
|
+
append: boolean;
|
|
1573
|
+
} | undefined;
|
|
1574
|
+
scheduleConfig?: {
|
|
1575
|
+
required: boolean;
|
|
1576
|
+
} | undefined;
|
|
1312
1577
|
activity?: {
|
|
1313
1578
|
activeCount: number;
|
|
1314
1579
|
totalCount: number;
|
|
@@ -1344,6 +1609,9 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1344
1609
|
actions?: {
|
|
1345
1610
|
includeInstructions?: boolean | undefined;
|
|
1346
1611
|
expirationActionId?: string | undefined;
|
|
1612
|
+
simpleTriageYesActId?: string | undefined;
|
|
1613
|
+
simpleTriageNoActId?: string | undefined;
|
|
1614
|
+
resolveNowActionId?: string | undefined;
|
|
1347
1615
|
} | undefined;
|
|
1348
1616
|
rewards?: {
|
|
1349
1617
|
minutes: number;
|
|
@@ -1352,6 +1620,13 @@ export declare const _FlowSpecFilter: z.ZodObject<{
|
|
|
1352
1620
|
value?: number | undefined;
|
|
1353
1621
|
units?: string | undefined;
|
|
1354
1622
|
}[] | undefined;
|
|
1623
|
+
customMessage?: {
|
|
1624
|
+
template: string;
|
|
1625
|
+
append: boolean;
|
|
1626
|
+
} | undefined;
|
|
1627
|
+
scheduleConfig?: {
|
|
1628
|
+
required: boolean;
|
|
1629
|
+
} | undefined;
|
|
1355
1630
|
activity?: {
|
|
1356
1631
|
lastTriggered?: string | undefined;
|
|
1357
1632
|
activeCount?: number | undefined;
|