@abyss-project/console 1.0.67 → 1.0.69
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.
|
@@ -45,8 +45,6 @@ export interface IFormSubmissionWorkflowTriggerData {
|
|
|
45
45
|
projectId: string;
|
|
46
46
|
formData: Record<string, any>;
|
|
47
47
|
submittedAt: string;
|
|
48
|
-
ipAddress?: string;
|
|
49
|
-
userAgent?: string;
|
|
50
48
|
}
|
|
51
49
|
export interface IShortLinkClickWorkflowTriggerData {
|
|
52
50
|
shortLinkId: string;
|
|
@@ -64,8 +62,6 @@ export interface IShortLinkClickWorkflowTriggerData {
|
|
|
64
62
|
export interface IFormCreateWorkflowTriggerData {
|
|
65
63
|
formId: string;
|
|
66
64
|
formName: string;
|
|
67
|
-
userId: string;
|
|
68
|
-
email?: string;
|
|
69
65
|
projectId: string;
|
|
70
66
|
createdAt: string;
|
|
71
67
|
formFields?: Record<string, any>;
|
|
@@ -73,8 +69,6 @@ export interface IFormCreateWorkflowTriggerData {
|
|
|
73
69
|
export interface IFormUpdateWorkflowTriggerData {
|
|
74
70
|
formId: string;
|
|
75
71
|
formName: string;
|
|
76
|
-
userId: string;
|
|
77
|
-
email?: string;
|
|
78
72
|
projectId: string;
|
|
79
73
|
updatedAt: string;
|
|
80
74
|
changes?: Record<string, any>;
|
|
@@ -82,8 +76,6 @@ export interface IFormUpdateWorkflowTriggerData {
|
|
|
82
76
|
export interface IFormDeleteWorkflowTriggerData {
|
|
83
77
|
formId: string;
|
|
84
78
|
formName: string;
|
|
85
|
-
userId: string;
|
|
86
|
-
email?: string;
|
|
87
79
|
projectId: string;
|
|
88
80
|
deletedAt: string;
|
|
89
81
|
}
|
|
@@ -91,8 +83,6 @@ export interface IShortLinkCreateWorkflowTriggerData {
|
|
|
91
83
|
shortLinkId: string;
|
|
92
84
|
shortLinkCode: string;
|
|
93
85
|
targetUrl: string;
|
|
94
|
-
userId: string;
|
|
95
|
-
email?: string;
|
|
96
86
|
projectId: string;
|
|
97
87
|
createdAt: string;
|
|
98
88
|
expiresAt?: string;
|
|
@@ -101,8 +91,6 @@ export interface IShortLinkUpdateWorkflowTriggerData {
|
|
|
101
91
|
shortLinkId: string;
|
|
102
92
|
shortLinkCode: string;
|
|
103
93
|
targetUrl: string;
|
|
104
|
-
userId: string;
|
|
105
|
-
email?: string;
|
|
106
94
|
projectId: string;
|
|
107
95
|
updatedAt: string;
|
|
108
96
|
changes?: Record<string, any>;
|
|
@@ -111,8 +99,6 @@ export interface IShortLinkDeleteWorkflowTriggerData {
|
|
|
111
99
|
shortLinkId: string;
|
|
112
100
|
shortLinkCode: string;
|
|
113
101
|
targetUrl: string;
|
|
114
|
-
userId: string;
|
|
115
|
-
email?: string;
|
|
116
102
|
projectId: string;
|
|
117
103
|
deletedAt: string;
|
|
118
104
|
}
|
|
@@ -120,8 +106,6 @@ export interface IShortLinkRenewWorkflowTriggerData {
|
|
|
120
106
|
shortLinkId: string;
|
|
121
107
|
shortLinkCode: string;
|
|
122
108
|
targetUrl: string;
|
|
123
|
-
userId: string;
|
|
124
|
-
email?: string;
|
|
125
109
|
projectId: string;
|
|
126
110
|
renewedAt: string;
|
|
127
111
|
newExpiresAt: string;
|
|
@@ -187,7 +171,12 @@ export interface IInviteToProjectActionConfig {
|
|
|
187
171
|
actionType: WorkflowActionType.INVITE_TO_PROJECT;
|
|
188
172
|
permissions: string[];
|
|
189
173
|
}
|
|
190
|
-
export
|
|
174
|
+
export interface ITriggerWorkflowActionConfig {
|
|
175
|
+
actionType: WorkflowActionType.TRIGGER_WORKFLOW;
|
|
176
|
+
workflowTriggerId: string;
|
|
177
|
+
body?: Record<string, any> | string;
|
|
178
|
+
}
|
|
179
|
+
export type IActionStepConfig = ICallWebhookActionConfig | IInviteToProjectActionConfig | ITriggerWorkflowActionConfig;
|
|
191
180
|
export type StepConfig = IFilterStepConfig | ISleepStepConfig | ISwitchStepConfig | ICodeStepConfig | IActionStepConfig;
|
|
192
181
|
export interface IWorkflowSettings {
|
|
193
182
|
maxExecutionsPerHour?: number;
|
|
@@ -34,7 +34,8 @@ export declare enum WorkflowStepType {
|
|
|
34
34
|
}
|
|
35
35
|
export declare enum WorkflowActionType {
|
|
36
36
|
CALL_WEBHOOK = "CALL_WEBHOOK",
|
|
37
|
-
INVITE_TO_PROJECT = "INVITE_TO_PROJECT"
|
|
37
|
+
INVITE_TO_PROJECT = "INVITE_TO_PROJECT",
|
|
38
|
+
TRIGGER_WORKFLOW = "TRIGGER_WORKFLOW"
|
|
38
39
|
}
|
|
39
40
|
export declare enum WorkflowStepStatus {
|
|
40
41
|
PENDING = "PENDING",
|
|
@@ -43,6 +43,7 @@ var WorkflowActionType;
|
|
|
43
43
|
(function (WorkflowActionType) {
|
|
44
44
|
WorkflowActionType["CALL_WEBHOOK"] = "CALL_WEBHOOK";
|
|
45
45
|
WorkflowActionType["INVITE_TO_PROJECT"] = "INVITE_TO_PROJECT";
|
|
46
|
+
WorkflowActionType["TRIGGER_WORKFLOW"] = "TRIGGER_WORKFLOW";
|
|
46
47
|
})(WorkflowActionType || (exports.WorkflowActionType = WorkflowActionType = {}));
|
|
47
48
|
var WorkflowStepStatus;
|
|
48
49
|
(function (WorkflowStepStatus) {
|