@activepieces/shared 0.10.134 → 0.10.135
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/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
- package/src/index.js.map +1 -1
- package/src/lib/ai/index.d.ts +1 -1
- package/src/lib/authentication/model/principal.d.ts +0 -7
- package/src/lib/common/activepieces-error.d.ts +5 -1
- package/src/lib/common/activepieces-error.js +1 -0
- package/src/lib/common/activepieces-error.js.map +1 -1
- package/src/lib/flows/operations/add-action-util.d.ts +9 -0
- package/src/lib/flows/operations/add-action-util.js +52 -0
- package/src/lib/flows/operations/add-action-util.js.map +1 -0
- package/src/lib/flows/operations/copy-action-operations.d.ts +3 -0
- package/src/lib/flows/operations/copy-action-operations.js +19 -0
- package/src/lib/flows/operations/copy-action-operations.js.map +1 -0
- package/src/lib/flows/operations/delete-action.js +30 -26
- package/src/lib/flows/operations/delete-action.js.map +1 -1
- package/src/lib/flows/operations/duplicate-step.js +5 -58
- package/src/lib/flows/operations/duplicate-step.js.map +1 -1
- package/src/lib/flows/operations/import-flow.js +3 -11
- package/src/lib/flows/operations/import-flow.js.map +1 -1
- package/src/lib/flows/operations/index.d.ts +426 -4
- package/src/lib/flows/operations/index.js +6 -2
- package/src/lib/flows/operations/index.js.map +1 -1
- package/src/lib/flows/operations/move-action.js +1 -1
- package/src/lib/flows/operations/move-action.js.map +1 -1
- package/src/lib/flows/operations/paste-operations.d.ts +433 -0
- package/src/lib/flows/operations/paste-operations.js +42 -0
- package/src/lib/flows/operations/paste-operations.js.map +1 -0
- package/src/lib/flows/operations/skip-action.js +1 -1
- package/src/lib/flows/operations/skip-action.js.map +1 -1
- package/src/lib/flows/util/flow-structure-util.d.ts +8 -4
- package/src/lib/flows/util/flow-structure-util.js +13 -2
- package/src/lib/flows/util/flow-structure-util.js.map +1 -1
- package/src/lib/forms/index.js.map +1 -1
- package/src/lib/invitations/index.d.ts +1 -1
- package/src/lib/platform/platform.model.d.ts +0 -4
- package/src/lib/platform/platform.model.js +32 -1
- package/src/lib/platform/platform.model.js.map +1 -1
- package/src/lib/project/project.d.ts +2 -2
- package/src/lib/workers/index.d.ts +24 -8
- package/src/lib/workers/index.js +25 -8
- package/src/lib/workers/index.js.map +1 -1
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Static } from '@sinclair/typebox';
|
|
2
2
|
import { FlowStatus } from '../flow';
|
|
3
3
|
import { FlowVersion } from '../flow-version';
|
|
4
|
+
import { _getActionsForCopy } from './copy-action-operations';
|
|
4
5
|
export declare enum FlowOperationType {
|
|
5
6
|
LOCK_AND_PUBLISH = "LOCK_AND_PUBLISH",
|
|
6
7
|
CHANGE_STATUS = "CHANGE_STATUS",
|
|
@@ -47,7 +48,7 @@ export declare const AddBranchRequest: import("@sinclair/typebox").TObject<{
|
|
|
47
48
|
branchName: import("@sinclair/typebox").TString;
|
|
48
49
|
}>;
|
|
49
50
|
export declare const SkipActionRequest: import("@sinclair/typebox").TObject<{
|
|
50
|
-
|
|
51
|
+
names: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
51
52
|
skip: import("@sinclair/typebox").TBoolean;
|
|
52
53
|
}>;
|
|
53
54
|
export type SkipActionRequest = Static<typeof SkipActionRequest>;
|
|
@@ -111,7 +112,7 @@ export declare const ChangeNameRequest: import("@sinclair/typebox").TObject<{
|
|
|
111
112
|
}>;
|
|
112
113
|
export type ChangeNameRequest = Static<typeof ChangeNameRequest>;
|
|
113
114
|
export declare const DeleteActionRequest: import("@sinclair/typebox").TObject<{
|
|
114
|
-
|
|
115
|
+
names: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
115
116
|
}>;
|
|
116
117
|
export type DeleteActionRequest = Static<typeof DeleteActionRequest>;
|
|
117
118
|
export declare const UpdateActionRequest: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TObject<{
|
|
@@ -461,7 +462,7 @@ export declare const FlowOperationRequest: import("@sinclair/typebox").TUnion<[i
|
|
|
461
462
|
}>, import("@sinclair/typebox").TObject<{
|
|
462
463
|
type: import("@sinclair/typebox").TLiteral<FlowOperationType.DELETE_ACTION>;
|
|
463
464
|
request: import("@sinclair/typebox").TObject<{
|
|
464
|
-
|
|
465
|
+
names: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
465
466
|
}>;
|
|
466
467
|
}>, import("@sinclair/typebox").TObject<{
|
|
467
468
|
type: import("@sinclair/typebox").TLiteral<FlowOperationType.UPDATE_ACTION>;
|
|
@@ -779,11 +780,432 @@ export declare const FlowOperationRequest: import("@sinclair/typebox").TUnion<[i
|
|
|
779
780
|
}>, import("@sinclair/typebox").TObject<{
|
|
780
781
|
type: import("@sinclair/typebox").TLiteral<FlowOperationType.SET_SKIP_ACTION>;
|
|
781
782
|
request: import("@sinclair/typebox").TObject<{
|
|
782
|
-
|
|
783
|
+
names: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString>;
|
|
783
784
|
skip: import("@sinclair/typebox").TBoolean;
|
|
784
785
|
}>;
|
|
785
786
|
}>]>;
|
|
786
787
|
export type FlowOperationRequest = Static<typeof FlowOperationRequest>;
|
|
787
788
|
export declare const flowOperations: {
|
|
789
|
+
getActionsForCopy: typeof _getActionsForCopy;
|
|
790
|
+
getOperationsForPaste: (actions: import("../actions/action").Action[], flowVersion: FlowVersion, pastingDetails: import("./paste-operations").PasteLocation) => ({
|
|
791
|
+
type: FlowOperationType.MOVE_ACTION;
|
|
792
|
+
request: {
|
|
793
|
+
branchIndex?: number | undefined;
|
|
794
|
+
stepLocationRelativeToNewParent?: StepLocationRelativeToParent | undefined;
|
|
795
|
+
name: string;
|
|
796
|
+
newParentStep: string;
|
|
797
|
+
};
|
|
798
|
+
} | {
|
|
799
|
+
type: FlowOperationType.CHANGE_STATUS;
|
|
800
|
+
request: {
|
|
801
|
+
status: FlowStatus;
|
|
802
|
+
};
|
|
803
|
+
} | {
|
|
804
|
+
type: FlowOperationType.LOCK_AND_PUBLISH;
|
|
805
|
+
request: {};
|
|
806
|
+
} | {
|
|
807
|
+
type: FlowOperationType.USE_AS_DRAFT;
|
|
808
|
+
request: {
|
|
809
|
+
versionId: string;
|
|
810
|
+
};
|
|
811
|
+
} | {
|
|
812
|
+
type: FlowOperationType.LOCK_FLOW;
|
|
813
|
+
request: {};
|
|
814
|
+
} | {
|
|
815
|
+
type: FlowOperationType.IMPORT_FLOW;
|
|
816
|
+
request: {
|
|
817
|
+
schemaVersion?: string | null | undefined;
|
|
818
|
+
displayName: string;
|
|
819
|
+
trigger: {
|
|
820
|
+
nextAction?: any;
|
|
821
|
+
type: import("../triggers/trigger").TriggerType.EMPTY;
|
|
822
|
+
name: string;
|
|
823
|
+
displayName: string;
|
|
824
|
+
settings: any;
|
|
825
|
+
valid: boolean;
|
|
826
|
+
} | {
|
|
827
|
+
nextAction?: any;
|
|
828
|
+
type: import("../triggers/trigger").TriggerType.PIECE;
|
|
829
|
+
name: string;
|
|
830
|
+
displayName: string;
|
|
831
|
+
settings: {
|
|
832
|
+
triggerName?: string | undefined;
|
|
833
|
+
packageType: import("../../pieces").PackageType;
|
|
834
|
+
pieceType: import("../../pieces").PieceType;
|
|
835
|
+
pieceName: string;
|
|
836
|
+
pieceVersion: string;
|
|
837
|
+
input: {
|
|
838
|
+
[x: string]: any;
|
|
839
|
+
};
|
|
840
|
+
inputUiInfo: {
|
|
841
|
+
sampleDataFileId?: string | undefined;
|
|
842
|
+
lastTestDate?: string | undefined;
|
|
843
|
+
customizedInputs?: {
|
|
844
|
+
[x: string]: unknown;
|
|
845
|
+
} | undefined;
|
|
846
|
+
currentSelectedData?: unknown;
|
|
847
|
+
};
|
|
848
|
+
};
|
|
849
|
+
valid: boolean;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
} | {
|
|
853
|
+
type: FlowOperationType.CHANGE_NAME;
|
|
854
|
+
request: {
|
|
855
|
+
displayName: string;
|
|
856
|
+
};
|
|
857
|
+
} | {
|
|
858
|
+
type: FlowOperationType.DELETE_ACTION;
|
|
859
|
+
request: {
|
|
860
|
+
names: string[];
|
|
861
|
+
};
|
|
862
|
+
} | {
|
|
863
|
+
type: FlowOperationType.UPDATE_ACTION;
|
|
864
|
+
request: {
|
|
865
|
+
skip?: boolean | undefined;
|
|
866
|
+
customLogoUrl?: string | undefined;
|
|
867
|
+
type: import("../actions/action").ActionType.ROUTER;
|
|
868
|
+
name: string;
|
|
869
|
+
displayName: string;
|
|
870
|
+
settings: {
|
|
871
|
+
inputUiInfo: {
|
|
872
|
+
sampleDataFileId?: string | undefined;
|
|
873
|
+
lastTestDate?: string | undefined;
|
|
874
|
+
customizedInputs?: {
|
|
875
|
+
[x: string]: unknown;
|
|
876
|
+
} | undefined;
|
|
877
|
+
currentSelectedData?: unknown;
|
|
878
|
+
};
|
|
879
|
+
branches: ({
|
|
880
|
+
conditions: ({
|
|
881
|
+
caseSensitive?: boolean | undefined;
|
|
882
|
+
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
883
|
+
firstValue: string;
|
|
884
|
+
secondValue: string;
|
|
885
|
+
} | {
|
|
886
|
+
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
887
|
+
firstValue: string;
|
|
888
|
+
secondValue: string;
|
|
889
|
+
} | {
|
|
890
|
+
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
891
|
+
firstValue: string;
|
|
892
|
+
secondValue: string;
|
|
893
|
+
} | {
|
|
894
|
+
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
895
|
+
firstValue: string;
|
|
896
|
+
})[][];
|
|
897
|
+
branchType: import("../actions/action").BranchExecutionType.CONDITION;
|
|
898
|
+
branchName: string;
|
|
899
|
+
} | {
|
|
900
|
+
branchType: import("../actions/action").BranchExecutionType.FALLBACK;
|
|
901
|
+
branchName: string;
|
|
902
|
+
})[];
|
|
903
|
+
executionType: import("../actions/action").RouterExecutionType;
|
|
904
|
+
};
|
|
905
|
+
valid: boolean;
|
|
906
|
+
} | {
|
|
907
|
+
skip?: boolean | undefined;
|
|
908
|
+
customLogoUrl?: string | undefined;
|
|
909
|
+
type: import("../actions/action").ActionType.LOOP_ON_ITEMS;
|
|
910
|
+
name: string;
|
|
911
|
+
displayName: string;
|
|
912
|
+
settings: {
|
|
913
|
+
inputUiInfo: {
|
|
914
|
+
sampleDataFileId?: string | undefined;
|
|
915
|
+
lastTestDate?: string | undefined;
|
|
916
|
+
customizedInputs?: {
|
|
917
|
+
[x: string]: unknown;
|
|
918
|
+
} | undefined;
|
|
919
|
+
currentSelectedData?: unknown;
|
|
920
|
+
};
|
|
921
|
+
items: string;
|
|
922
|
+
};
|
|
923
|
+
valid: boolean;
|
|
924
|
+
} | {
|
|
925
|
+
skip?: boolean | undefined;
|
|
926
|
+
customLogoUrl?: string | undefined;
|
|
927
|
+
type: import("../actions/action").ActionType.PIECE;
|
|
928
|
+
name: string;
|
|
929
|
+
displayName: string;
|
|
930
|
+
settings: {
|
|
931
|
+
errorHandlingOptions?: {
|
|
932
|
+
continueOnFailure?: {
|
|
933
|
+
value: boolean;
|
|
934
|
+
} | undefined;
|
|
935
|
+
retryOnFailure?: {
|
|
936
|
+
value: boolean;
|
|
937
|
+
} | undefined;
|
|
938
|
+
} | undefined;
|
|
939
|
+
actionName?: string | undefined;
|
|
940
|
+
packageType: import("../../pieces").PackageType;
|
|
941
|
+
pieceType: import("../../pieces").PieceType;
|
|
942
|
+
pieceName: string;
|
|
943
|
+
pieceVersion: string;
|
|
944
|
+
input: {
|
|
945
|
+
[x: string]: unknown;
|
|
946
|
+
};
|
|
947
|
+
inputUiInfo: {
|
|
948
|
+
sampleDataFileId?: string | undefined;
|
|
949
|
+
lastTestDate?: string | undefined;
|
|
950
|
+
customizedInputs?: {
|
|
951
|
+
[x: string]: unknown;
|
|
952
|
+
} | undefined;
|
|
953
|
+
currentSelectedData?: unknown;
|
|
954
|
+
};
|
|
955
|
+
};
|
|
956
|
+
valid: boolean;
|
|
957
|
+
} | {
|
|
958
|
+
skip?: boolean | undefined;
|
|
959
|
+
customLogoUrl?: string | undefined;
|
|
960
|
+
type: import("../actions/action").ActionType.CODE;
|
|
961
|
+
name: string;
|
|
962
|
+
displayName: string;
|
|
963
|
+
settings: {
|
|
964
|
+
inputUiInfo?: {
|
|
965
|
+
sampleDataFileId?: string | undefined;
|
|
966
|
+
lastTestDate?: string | undefined;
|
|
967
|
+
customizedInputs?: {
|
|
968
|
+
[x: string]: unknown;
|
|
969
|
+
} | undefined;
|
|
970
|
+
currentSelectedData?: unknown;
|
|
971
|
+
} | undefined;
|
|
972
|
+
errorHandlingOptions?: {
|
|
973
|
+
continueOnFailure?: {
|
|
974
|
+
value: boolean;
|
|
975
|
+
} | undefined;
|
|
976
|
+
retryOnFailure?: {
|
|
977
|
+
value: boolean;
|
|
978
|
+
} | undefined;
|
|
979
|
+
} | undefined;
|
|
980
|
+
input: {
|
|
981
|
+
[x: string]: any;
|
|
982
|
+
};
|
|
983
|
+
sourceCode: {
|
|
984
|
+
code: string;
|
|
985
|
+
packageJson: string;
|
|
986
|
+
};
|
|
987
|
+
};
|
|
988
|
+
valid: boolean;
|
|
989
|
+
};
|
|
990
|
+
} | {
|
|
991
|
+
type: FlowOperationType.ADD_ACTION;
|
|
992
|
+
request: {
|
|
993
|
+
stepLocationRelativeToParent?: StepLocationRelativeToParent | undefined;
|
|
994
|
+
branchIndex?: number | undefined;
|
|
995
|
+
parentStep: string;
|
|
996
|
+
action: {
|
|
997
|
+
skip?: boolean | undefined;
|
|
998
|
+
customLogoUrl?: string | undefined;
|
|
999
|
+
type: import("../actions/action").ActionType.ROUTER;
|
|
1000
|
+
name: string;
|
|
1001
|
+
displayName: string;
|
|
1002
|
+
settings: {
|
|
1003
|
+
inputUiInfo: {
|
|
1004
|
+
sampleDataFileId?: string | undefined;
|
|
1005
|
+
lastTestDate?: string | undefined;
|
|
1006
|
+
customizedInputs?: {
|
|
1007
|
+
[x: string]: unknown;
|
|
1008
|
+
} | undefined;
|
|
1009
|
+
currentSelectedData?: unknown;
|
|
1010
|
+
};
|
|
1011
|
+
branches: ({
|
|
1012
|
+
conditions: ({
|
|
1013
|
+
caseSensitive?: boolean | undefined;
|
|
1014
|
+
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
1015
|
+
firstValue: string;
|
|
1016
|
+
secondValue: string;
|
|
1017
|
+
} | {
|
|
1018
|
+
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
1019
|
+
firstValue: string;
|
|
1020
|
+
secondValue: string;
|
|
1021
|
+
} | {
|
|
1022
|
+
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
1023
|
+
firstValue: string;
|
|
1024
|
+
secondValue: string;
|
|
1025
|
+
} | {
|
|
1026
|
+
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
1027
|
+
firstValue: string;
|
|
1028
|
+
})[][];
|
|
1029
|
+
branchType: import("../actions/action").BranchExecutionType.CONDITION;
|
|
1030
|
+
branchName: string;
|
|
1031
|
+
} | {
|
|
1032
|
+
branchType: import("../actions/action").BranchExecutionType.FALLBACK;
|
|
1033
|
+
branchName: string;
|
|
1034
|
+
})[];
|
|
1035
|
+
executionType: import("../actions/action").RouterExecutionType;
|
|
1036
|
+
};
|
|
1037
|
+
valid: boolean;
|
|
1038
|
+
} | {
|
|
1039
|
+
skip?: boolean | undefined;
|
|
1040
|
+
customLogoUrl?: string | undefined;
|
|
1041
|
+
type: import("../actions/action").ActionType.LOOP_ON_ITEMS;
|
|
1042
|
+
name: string;
|
|
1043
|
+
displayName: string;
|
|
1044
|
+
settings: {
|
|
1045
|
+
inputUiInfo: {
|
|
1046
|
+
sampleDataFileId?: string | undefined;
|
|
1047
|
+
lastTestDate?: string | undefined;
|
|
1048
|
+
customizedInputs?: {
|
|
1049
|
+
[x: string]: unknown;
|
|
1050
|
+
} | undefined;
|
|
1051
|
+
currentSelectedData?: unknown;
|
|
1052
|
+
};
|
|
1053
|
+
items: string;
|
|
1054
|
+
};
|
|
1055
|
+
valid: boolean;
|
|
1056
|
+
} | {
|
|
1057
|
+
skip?: boolean | undefined;
|
|
1058
|
+
customLogoUrl?: string | undefined;
|
|
1059
|
+
type: import("../actions/action").ActionType.PIECE;
|
|
1060
|
+
name: string;
|
|
1061
|
+
displayName: string;
|
|
1062
|
+
settings: {
|
|
1063
|
+
errorHandlingOptions?: {
|
|
1064
|
+
continueOnFailure?: {
|
|
1065
|
+
value: boolean;
|
|
1066
|
+
} | undefined;
|
|
1067
|
+
retryOnFailure?: {
|
|
1068
|
+
value: boolean;
|
|
1069
|
+
} | undefined;
|
|
1070
|
+
} | undefined;
|
|
1071
|
+
actionName?: string | undefined;
|
|
1072
|
+
packageType: import("../../pieces").PackageType;
|
|
1073
|
+
pieceType: import("../../pieces").PieceType;
|
|
1074
|
+
pieceName: string;
|
|
1075
|
+
pieceVersion: string;
|
|
1076
|
+
input: {
|
|
1077
|
+
[x: string]: unknown;
|
|
1078
|
+
};
|
|
1079
|
+
inputUiInfo: {
|
|
1080
|
+
sampleDataFileId?: string | undefined;
|
|
1081
|
+
lastTestDate?: string | undefined;
|
|
1082
|
+
customizedInputs?: {
|
|
1083
|
+
[x: string]: unknown;
|
|
1084
|
+
} | undefined;
|
|
1085
|
+
currentSelectedData?: unknown;
|
|
1086
|
+
};
|
|
1087
|
+
};
|
|
1088
|
+
valid: boolean;
|
|
1089
|
+
} | {
|
|
1090
|
+
skip?: boolean | undefined;
|
|
1091
|
+
customLogoUrl?: string | undefined;
|
|
1092
|
+
type: import("../actions/action").ActionType.CODE;
|
|
1093
|
+
name: string;
|
|
1094
|
+
displayName: string;
|
|
1095
|
+
settings: {
|
|
1096
|
+
inputUiInfo?: {
|
|
1097
|
+
sampleDataFileId?: string | undefined;
|
|
1098
|
+
lastTestDate?: string | undefined;
|
|
1099
|
+
customizedInputs?: {
|
|
1100
|
+
[x: string]: unknown;
|
|
1101
|
+
} | undefined;
|
|
1102
|
+
currentSelectedData?: unknown;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
errorHandlingOptions?: {
|
|
1105
|
+
continueOnFailure?: {
|
|
1106
|
+
value: boolean;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
retryOnFailure?: {
|
|
1109
|
+
value: boolean;
|
|
1110
|
+
} | undefined;
|
|
1111
|
+
} | undefined;
|
|
1112
|
+
input: {
|
|
1113
|
+
[x: string]: any;
|
|
1114
|
+
};
|
|
1115
|
+
sourceCode: {
|
|
1116
|
+
code: string;
|
|
1117
|
+
packageJson: string;
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
valid: boolean;
|
|
1121
|
+
};
|
|
1122
|
+
};
|
|
1123
|
+
} | {
|
|
1124
|
+
type: FlowOperationType.UPDATE_TRIGGER;
|
|
1125
|
+
request: {
|
|
1126
|
+
nextAction?: any;
|
|
1127
|
+
type: import("../triggers/trigger").TriggerType.EMPTY;
|
|
1128
|
+
name: string;
|
|
1129
|
+
displayName: string;
|
|
1130
|
+
settings: any;
|
|
1131
|
+
valid: boolean;
|
|
1132
|
+
} | {
|
|
1133
|
+
nextAction?: any;
|
|
1134
|
+
type: import("../triggers/trigger").TriggerType.PIECE;
|
|
1135
|
+
name: string;
|
|
1136
|
+
displayName: string;
|
|
1137
|
+
settings: {
|
|
1138
|
+
triggerName?: string | undefined;
|
|
1139
|
+
packageType: import("../../pieces").PackageType;
|
|
1140
|
+
pieceType: import("../../pieces").PieceType;
|
|
1141
|
+
pieceName: string;
|
|
1142
|
+
pieceVersion: string;
|
|
1143
|
+
input: {
|
|
1144
|
+
[x: string]: any;
|
|
1145
|
+
};
|
|
1146
|
+
inputUiInfo: {
|
|
1147
|
+
sampleDataFileId?: string | undefined;
|
|
1148
|
+
lastTestDate?: string | undefined;
|
|
1149
|
+
customizedInputs?: {
|
|
1150
|
+
[x: string]: unknown;
|
|
1151
|
+
} | undefined;
|
|
1152
|
+
currentSelectedData?: unknown;
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
valid: boolean;
|
|
1156
|
+
};
|
|
1157
|
+
} | {
|
|
1158
|
+
type: FlowOperationType.CHANGE_FOLDER;
|
|
1159
|
+
request: {
|
|
1160
|
+
folderId?: string | null | undefined;
|
|
1161
|
+
};
|
|
1162
|
+
} | {
|
|
1163
|
+
type: FlowOperationType.DUPLICATE_ACTION;
|
|
1164
|
+
request: {
|
|
1165
|
+
stepName: string;
|
|
1166
|
+
};
|
|
1167
|
+
} | {
|
|
1168
|
+
type: FlowOperationType.DELETE_BRANCH;
|
|
1169
|
+
request: {
|
|
1170
|
+
stepName: string;
|
|
1171
|
+
branchIndex: number;
|
|
1172
|
+
};
|
|
1173
|
+
} | {
|
|
1174
|
+
type: FlowOperationType.ADD_BRANCH;
|
|
1175
|
+
request: {
|
|
1176
|
+
conditions?: ({
|
|
1177
|
+
caseSensitive?: boolean | undefined;
|
|
1178
|
+
operator?: import("../actions/action").BranchOperator.TEXT_CONTAINS | import("../actions/action").BranchOperator.TEXT_DOES_NOT_CONTAIN | import("../actions/action").BranchOperator.TEXT_EXACTLY_MATCHES | import("../actions/action").BranchOperator.TEXT_DOES_NOT_EXACTLY_MATCH | import("../actions/action").BranchOperator.TEXT_STARTS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_START_WITH | import("../actions/action").BranchOperator.TEXT_ENDS_WITH | import("../actions/action").BranchOperator.TEXT_DOES_NOT_END_WITH | import("../actions/action").BranchOperator.LIST_CONTAINS | import("../actions/action").BranchOperator.LIST_DOES_NOT_CONTAIN | undefined;
|
|
1179
|
+
firstValue: string;
|
|
1180
|
+
secondValue: string;
|
|
1181
|
+
} | {
|
|
1182
|
+
operator?: import("../actions/action").BranchOperator.NUMBER_IS_GREATER_THAN | import("../actions/action").BranchOperator.NUMBER_IS_LESS_THAN | import("../actions/action").BranchOperator.NUMBER_IS_EQUAL_TO | undefined;
|
|
1183
|
+
firstValue: string;
|
|
1184
|
+
secondValue: string;
|
|
1185
|
+
} | {
|
|
1186
|
+
operator?: import("../actions/action").BranchOperator.DATE_IS_BEFORE | import("../actions/action").BranchOperator.DATE_IS_EQUAL | import("../actions/action").BranchOperator.DATE_IS_AFTER | undefined;
|
|
1187
|
+
firstValue: string;
|
|
1188
|
+
secondValue: string;
|
|
1189
|
+
} | {
|
|
1190
|
+
operator?: import("../actions/action").BranchOperator.BOOLEAN_IS_TRUE | import("../actions/action").BranchOperator.BOOLEAN_IS_FALSE | import("../actions/action").BranchOperator.LIST_IS_EMPTY | import("../actions/action").BranchOperator.LIST_IS_NOT_EMPTY | import("../actions/action").BranchOperator.EXISTS | import("../actions/action").BranchOperator.DOES_NOT_EXIST | undefined;
|
|
1191
|
+
firstValue: string;
|
|
1192
|
+
})[][] | undefined;
|
|
1193
|
+
stepName: string;
|
|
1194
|
+
branchName: string;
|
|
1195
|
+
branchIndex: number;
|
|
1196
|
+
};
|
|
1197
|
+
} | {
|
|
1198
|
+
type: FlowOperationType.DUPLICATE_BRANCH;
|
|
1199
|
+
request: {
|
|
1200
|
+
stepName: string;
|
|
1201
|
+
branchIndex: number;
|
|
1202
|
+
};
|
|
1203
|
+
} | {
|
|
1204
|
+
type: FlowOperationType.SET_SKIP_ACTION;
|
|
1205
|
+
request: {
|
|
1206
|
+
skip: boolean;
|
|
1207
|
+
names: string[];
|
|
1208
|
+
};
|
|
1209
|
+
})[];
|
|
788
1210
|
apply(flowVersion: FlowVersion, operation: FlowOperationRequest): FlowVersion;
|
|
789
1211
|
};
|
|
@@ -11,12 +11,14 @@ const flow_piece_util_1 = require("../util/flow-piece-util");
|
|
|
11
11
|
const flow_structure_util_1 = require("../util/flow-structure-util");
|
|
12
12
|
const add_action_1 = require("./add-action");
|
|
13
13
|
const add_branch_1 = require("./add-branch");
|
|
14
|
+
const copy_action_operations_1 = require("./copy-action-operations");
|
|
14
15
|
const delete_action_1 = require("./delete-action");
|
|
15
16
|
const delete_branch_1 = require("./delete-branch");
|
|
16
17
|
const duplicate_step_1 = require("./duplicate-step");
|
|
17
18
|
const import_flow_1 = require("./import-flow");
|
|
18
19
|
const migrations_1 = require("./migrations");
|
|
19
20
|
const move_action_1 = require("./move-action");
|
|
21
|
+
const paste_operations_1 = require("./paste-operations");
|
|
20
22
|
const skip_action_1 = require("./skip-action");
|
|
21
23
|
const update_action_1 = require("./update-action");
|
|
22
24
|
const update_trigger_1 = require("./update-trigger");
|
|
@@ -51,7 +53,7 @@ exports.AddBranchRequest = typebox_1.Type.Object({
|
|
|
51
53
|
branchName: typebox_1.Type.String(),
|
|
52
54
|
});
|
|
53
55
|
exports.SkipActionRequest = typebox_1.Type.Object({
|
|
54
|
-
|
|
56
|
+
names: typebox_1.Type.Array(typebox_1.Type.String()),
|
|
55
57
|
skip: typebox_1.Type.Boolean(),
|
|
56
58
|
});
|
|
57
59
|
exports.DuplicateBranchRequest = typebox_1.Type.Object({
|
|
@@ -80,7 +82,7 @@ exports.ChangeNameRequest = typebox_1.Type.Object({
|
|
|
80
82
|
displayName: typebox_1.Type.String({}),
|
|
81
83
|
});
|
|
82
84
|
exports.DeleteActionRequest = typebox_1.Type.Object({
|
|
83
|
-
|
|
85
|
+
names: typebox_1.Type.Array(typebox_1.Type.String()),
|
|
84
86
|
});
|
|
85
87
|
exports.UpdateActionRequest = typebox_1.Type.Union([
|
|
86
88
|
action_1.CodeActionSchema,
|
|
@@ -213,6 +215,8 @@ exports.FlowOperationRequest = typebox_1.Type.Union([
|
|
|
213
215
|
}),
|
|
214
216
|
]);
|
|
215
217
|
exports.flowOperations = {
|
|
218
|
+
getActionsForCopy: copy_action_operations_1._getActionsForCopy,
|
|
219
|
+
getOperationsForPaste: paste_operations_1._getOperationsForPaste,
|
|
216
220
|
apply(flowVersion, operation) {
|
|
217
221
|
let clonedVersion = JSON.parse(JSON.stringify(flowVersion));
|
|
218
222
|
switch (operation.type) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/operations/index.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,yCAAuC;AACvC,8CAAqI;AACrI,kCAAoC;AACpC,kDAA+D;AAC/D,iDAAyE;AACzE,6DAAuD;AACvD,qEAA+D;AAC/D,6CAAyC;AACzC,6CAAyC;AACzC,mDAA+C;AAC/C,mDAA+C;AAC/C,qDAAmE;AACnE,+CAA2C;AAC3C,6CAA6C;AAC7C,+CAA2C;AAC3C,+CAA2C;AAC3C,mDAA+C;AAC/C,qDAAiD;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/operations/index.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,yCAAuC;AACvC,8CAAqI;AACrI,kCAAoC;AACpC,kDAA+D;AAC/D,iDAAyE;AACzE,6DAAuD;AACvD,qEAA+D;AAC/D,6CAAyC;AACzC,6CAAyC;AACzC,qEAA6D;AAC7D,mDAA+C;AAC/C,mDAA+C;AAC/C,qDAAmE;AACnE,+CAA2C;AAC3C,6CAA6C;AAC7C,+CAA2C;AAC3C,yDAA2D;AAC3D,+CAA2C;AAC3C,mDAA+C;AAC/C,qDAAiD;AAGjD,IAAY,iBAkBX;AAlBD,WAAY,iBAAiB;IACzB,0DAAqC,CAAA;IACrC,oDAA+B,CAAA;IAC/B,4CAAuB,CAAA;IACvB,oDAA+B,CAAA;IAC/B,gDAA2B,CAAA;IAC3B,gDAA2B,CAAA;IAC3B,gDAA2B,CAAA;IAC3B,sDAAiC,CAAA;IACjC,8CAAyB,CAAA;IACzB,oDAA+B,CAAA;IAC/B,oDAA+B,CAAA;IAC/B,0DAAqC,CAAA;IACrC,kDAA6B,CAAA;IAC7B,oDAA+B,CAAA;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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"move-action.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/operations/move-action.ts"],"names":[],"mappings":";;AASA,kCA+BC;AAvCD,qEAA+D;AAG/D,+CAAoD;AAEpD,mCAAoF;AAGpF,SAAgB,WAAW,CAAC,WAAwB,EAAE,OAA0B;IAC5E,MAAM,UAAU,GAAG,uCAAiB,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IACxF,uCAAiB,CAAC,cAAc,CAAC,OAAO,CAAC,aAAa,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC5E,MAAM,2BAA2B,mCAC1B,UAAU,KACb,UAAU,EAAE,SAAS,GACxB,CAAA;IACD,MAAM,gBAAgB,GAA2B;QAC7C;YACI,IAAI,EAAE,yBAAiB,CAAC,aAAa;YACrC,OAAO,EAAE;gBACL,
|
|
1
|
+
{"version":3,"file":"move-action.js","sourceRoot":"","sources":["../../../../../../../packages/shared/src/lib/flows/operations/move-action.ts"],"names":[],"mappings":";;AASA,kCA+BC;AAvCD,qEAA+D;AAG/D,+CAAoD;AAEpD,mCAAoF;AAGpF,SAAgB,WAAW,CAAC,WAAwB,EAAE,OAA0B;IAC5E,MAAM,UAAU,GAAG,uCAAiB,CAAC,gBAAgB,CAAC,OAAO,CAAC,IAAI,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IACxF,uCAAiB,CAAC,cAAc,CAAC,OAAO,CAAC,aAAa,EAAE,WAAW,CAAC,OAAO,CAAC,CAAA;IAC5E,MAAM,2BAA2B,mCAC1B,UAAU,KACb,UAAU,EAAE,SAAS,GACxB,CAAA;IACD,MAAM,gBAAgB,GAA2B;QAC7C;YACI,IAAI,EAAE,yBAAiB,CAAC,aAAa;YACrC,OAAO,EAAE;gBACL,KAAK,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC;aACxB;SACJ;KACJ,CAAA;IACD,MAAM,aAAa,GAA2B;QAC1C;YACI,IAAI,EAAE,yBAAiB,CAAC,UAAU;YAClC,OAAO,EAAE;gBACL,MAAM,EAAE,2BAA2B;gBACnC,UAAU,EAAE,OAAO,CAAC,aAAa;gBACjC,4BAA4B,EAAE,OAAO,CAAC,+BAA+B;gBACrE,WAAW,EAAE,OAAO,CAAC,WAAW;aACnC;SACJ;QACD,GAAG,IAAA,kCAAoB,EAAC,2BAA2B,CAAC;KACvD,CAAA;IACD,OAAO;QACH,GAAG,gBAAgB;QACnB,GAAG,aAAa;KACnB,CAAA;AACL,CAAC"}
|