@engyalo/workflow-types 1.0.106 → 1.0.107
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.
|
@@ -14,7 +14,8 @@ export declare enum IComponentType {
|
|
|
14
14
|
salesDesk = "salesDesk",
|
|
15
15
|
flow = "flow",
|
|
16
16
|
knowledgeGenie = "knowledgeGenie",
|
|
17
|
-
agent = "agent"
|
|
17
|
+
agent = "agent",
|
|
18
|
+
campaignAutomation = "campaignAutomation"
|
|
18
19
|
}
|
|
19
20
|
export declare const ComponentTypeEnum: string[];
|
|
20
21
|
export interface IFunnel {
|
|
@@ -67,6 +68,7 @@ export interface IComponent {
|
|
|
67
68
|
AITrainer?: IAiTrainer;
|
|
68
69
|
knowledgeGenie?: IKnowledgeGenie;
|
|
69
70
|
createdAt: Date;
|
|
71
|
+
campaignAutomation?: ICampaignAutomation;
|
|
70
72
|
}
|
|
71
73
|
export interface IComponentLight {
|
|
72
74
|
_id?: string;
|
|
@@ -218,4 +220,16 @@ export interface LinkComponent {
|
|
|
218
220
|
componentId: number;
|
|
219
221
|
linked: LinkItem[];
|
|
220
222
|
}
|
|
223
|
+
interface ISchema {
|
|
224
|
+
name: string;
|
|
225
|
+
}
|
|
226
|
+
interface IVariable {
|
|
227
|
+
name: string;
|
|
228
|
+
schema?: ISchema[];
|
|
229
|
+
}
|
|
230
|
+
export interface ICampaignAutomation {
|
|
231
|
+
description: string;
|
|
232
|
+
icon: string;
|
|
233
|
+
variables: IVariable[];
|
|
234
|
+
}
|
|
221
235
|
export {};
|
package/lib/models/components.js
CHANGED
|
@@ -17,6 +17,7 @@ var IComponentType;
|
|
|
17
17
|
IComponentType["flow"] = "flow";
|
|
18
18
|
IComponentType["knowledgeGenie"] = "knowledgeGenie";
|
|
19
19
|
IComponentType["agent"] = "agent";
|
|
20
|
+
IComponentType["campaignAutomation"] = "campaignAutomation";
|
|
20
21
|
})(IComponentType || (exports.IComponentType = IComponentType = {}));
|
|
21
|
-
exports.ComponentTypeEnum = ['start', 'step', 'scope', 'campaign', 'webhook', 'aistep', 'extension', 'genieTrainer', 'salesDesk', 'flow', 'knowledgeGenie', 'agent'];
|
|
22
|
+
exports.ComponentTypeEnum = ['start', 'step', 'scope', 'campaign', 'webhook', 'aistep', 'extension', 'genieTrainer', 'salesDesk', 'flow', 'knowledgeGenie', 'agent', 'campaignAutomation'];
|
|
22
23
|
//# sourceMappingURL=components.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/models/components.ts"],"names":[],"mappings":";;;AAIA,oDAAoD;AACpD,IAAY,
|
|
1
|
+
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/models/components.ts"],"names":[],"mappings":";;;AAIA,oDAAoD;AACpD,IAAY,cAeX;AAfD,WAAY,cAAc;IACzB,iCAAe,CAAA;IACf,+BAAa,CAAA;IACb,uCAAqB,CAAA;IACrB,iCAAe,CAAA;IACf,uCAAqB,CAAA;IACrB,qCAAmB,CAAA;IACnB,mCAAiB,CAAA;IACjB,yCAAuB,CAAA;IACvB,+CAA6B,CAAA;IAC7B,yCAAuB,CAAA;IACvB,+BAAa,CAAA;IACb,mDAAiC,CAAA;IACjC,iCAAe,CAAA;IACf,2DAAyC,CAAA;AAC1C,CAAC,EAfW,cAAc,8BAAd,cAAc,QAezB;AAEY,QAAA,iBAAiB,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,OAAO,EAAE,oBAAoB,CAAC,CAAC"}
|