@trii/types 2.10.529 → 2.10.531
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/dist/Contacts/contacts.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.js +0 -179
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +0 -113
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +0 -69
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +0 -69
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +0 -66
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +0 -47
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +0 -78
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +0 -70
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.d.ts +0 -3
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.js +0 -133
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.d.ts +0 -3
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.js +0 -175
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +0 -131
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +0 -65
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +0 -85
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +0 -79
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +0 -3
- package/dist/Conversations/Flows/Nodes/NodeStart.js +0 -294
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +0 -73
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +0 -83
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +0 -55
- package/dist/Shop/Cart/cart.d.ts +19 -0
- package/dist/Shop/Cart/cart.js +2 -0
- package/dist/Shop/index.d.ts +1 -0
- package/dist/Shop/index.js +17 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/package.json +1 -2
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeFillForm = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
// interface _NodeFillForm extends INode {
|
|
6
|
-
// type: NodeType.FILL_FORM;
|
|
7
|
-
// handles: ['onNext'];
|
|
8
|
-
// category: 'action';
|
|
9
|
-
// description: "Node for filling out forms, allowing the flow to collect structured data from users or systems.";
|
|
10
|
-
// formId?: string | "";
|
|
11
|
-
// responses: FillFormKeyValue[];
|
|
12
|
-
// }
|
|
13
|
-
// interface FillFormKeyValue{
|
|
14
|
-
// questionId: string | "";
|
|
15
|
-
// question: string | "";
|
|
16
|
-
// responseValue: string | "";
|
|
17
|
-
// }
|
|
18
|
-
exports.defaultNodeFillForm = {
|
|
19
|
-
id: "NodeFillForm-{uid}",
|
|
20
|
-
type: Flow_1.NodeType.FILL_FORM,
|
|
21
|
-
category: 'action',
|
|
22
|
-
description: "Node for filling out forms, allowing the flow to collect structured data from users or systems.",
|
|
23
|
-
tags: [],
|
|
24
|
-
version: 1,
|
|
25
|
-
asyncLoadHandlesOut: false,
|
|
26
|
-
handlesIn: [
|
|
27
|
-
{
|
|
28
|
-
id: "in",
|
|
29
|
-
type: 'target',
|
|
30
|
-
position: 'left',
|
|
31
|
-
name: "IN",
|
|
32
|
-
nameKey: 'NODE_HANDLE_IN',
|
|
33
|
-
showName: false,
|
|
34
|
-
multiple: false
|
|
35
|
-
}
|
|
36
|
-
],
|
|
37
|
-
handlesOut: [
|
|
38
|
-
{
|
|
39
|
-
id: "onNext",
|
|
40
|
-
type: 'source',
|
|
41
|
-
position: 'right',
|
|
42
|
-
name: "Next",
|
|
43
|
-
nameKey: 'NODE_HANDLE_NEXT',
|
|
44
|
-
showName: true,
|
|
45
|
-
multiple: false
|
|
46
|
-
}
|
|
47
|
-
],
|
|
48
|
-
name: "Conversation Update",
|
|
49
|
-
nameKey: 'NODE_CONVERSATION_UPDATE',
|
|
50
|
-
enableStatics: false,
|
|
51
|
-
properties: [
|
|
52
|
-
{
|
|
53
|
-
type: 'string',
|
|
54
|
-
id: 'formId',
|
|
55
|
-
label: 'Form ID',
|
|
56
|
-
labelKey: 'NODE_FILL_FORM_FORM_ID',
|
|
57
|
-
optional: false,
|
|
58
|
-
default: '',
|
|
59
|
-
placeholder: 'Enter the form ID'
|
|
60
|
-
}
|
|
61
|
-
],
|
|
62
|
-
values: undefined,
|
|
63
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
64
|
-
icon: '',
|
|
65
|
-
badge: undefined,
|
|
66
|
-
hideInput: true,
|
|
67
|
-
hideOutput: false,
|
|
68
|
-
author: '',
|
|
69
|
-
documentation: '',
|
|
70
|
-
};
|
|
@@ -1,133 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeMsgTemplateReply = exports.defaultNodeMsgTextReply = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeMsgTextReply = {
|
|
6
|
-
id: "NodeMsgTextReply-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.MSG_TEXT_REPLY,
|
|
8
|
-
category: 'message',
|
|
9
|
-
description: "Node for sending text messages, images, videos, or files to a channel",
|
|
10
|
-
tags: [],
|
|
11
|
-
version: 1,
|
|
12
|
-
asyncLoadHandlesOut: false,
|
|
13
|
-
handlesIn: [
|
|
14
|
-
{
|
|
15
|
-
id: "in",
|
|
16
|
-
type: 'target',
|
|
17
|
-
position: 'left',
|
|
18
|
-
name: "IN",
|
|
19
|
-
nameKey: 'NODE_HANDLE_IN',
|
|
20
|
-
showName: false,
|
|
21
|
-
multiple: false
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
handlesOut: [
|
|
25
|
-
{
|
|
26
|
-
id: "onNext",
|
|
27
|
-
type: 'source',
|
|
28
|
-
position: 'right',
|
|
29
|
-
name: "Next",
|
|
30
|
-
nameKey: 'NODE_HANDLE_NEXT',
|
|
31
|
-
showName: true,
|
|
32
|
-
multiple: false
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
name: "Reply Message",
|
|
36
|
-
nameKey: 'NODE_MSG_TEXT_REPLY',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [
|
|
39
|
-
{
|
|
40
|
-
type: 'options',
|
|
41
|
-
id: 'msgType',
|
|
42
|
-
label: 'Message Type',
|
|
43
|
-
labelKey: 'NODE_MSG_TEXT_TYPE',
|
|
44
|
-
optional: false,
|
|
45
|
-
options: [
|
|
46
|
-
{ id: 'TEXT', label: 'Text' },
|
|
47
|
-
{ id: 'IMAGE', label: 'Image' },
|
|
48
|
-
{ id: 'VIDEO', label: 'Video' },
|
|
49
|
-
{ id: 'FILE', label: 'File' }
|
|
50
|
-
],
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
id: 'message',
|
|
54
|
-
label: 'Message',
|
|
55
|
-
labelKey: 'NODE_MSG_TEXT_MESSAGE',
|
|
56
|
-
type: 'string',
|
|
57
|
-
optional: false,
|
|
58
|
-
default: '',
|
|
59
|
-
placeholder: 'Enter the message',
|
|
60
|
-
rows: 5,
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
id: 'caption',
|
|
64
|
-
label: 'Caption',
|
|
65
|
-
labelKey: 'NODE_MSG_TEXT_CAPTION',
|
|
66
|
-
type: 'string',
|
|
67
|
-
optional: false,
|
|
68
|
-
default: '',
|
|
69
|
-
placeholder: 'Enter the caption'
|
|
70
|
-
}
|
|
71
|
-
],
|
|
72
|
-
values: undefined,
|
|
73
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
74
|
-
icon: '',
|
|
75
|
-
badge: undefined,
|
|
76
|
-
hideInput: true,
|
|
77
|
-
hideOutput: false,
|
|
78
|
-
author: '',
|
|
79
|
-
documentation: '',
|
|
80
|
-
};
|
|
81
|
-
exports.defaultNodeMsgTemplateReply = {
|
|
82
|
-
id: "NodeMsgTemplateReply-{uid}",
|
|
83
|
-
type: Flow_1.NodeType.MSG_TEMPLATE_REPLY,
|
|
84
|
-
category: 'message',
|
|
85
|
-
description: "Node for sending text messages, images, videos, or files to a channel",
|
|
86
|
-
tags: [],
|
|
87
|
-
version: 1,
|
|
88
|
-
asyncLoadHandlesOut: false,
|
|
89
|
-
handlesIn: [
|
|
90
|
-
{
|
|
91
|
-
id: "in",
|
|
92
|
-
type: 'target',
|
|
93
|
-
position: 'left',
|
|
94
|
-
name: "IN",
|
|
95
|
-
nameKey: 'NODE_HANDLE_IN',
|
|
96
|
-
showName: false,
|
|
97
|
-
multiple: false
|
|
98
|
-
}
|
|
99
|
-
],
|
|
100
|
-
handlesOut: [
|
|
101
|
-
{
|
|
102
|
-
id: "onNext",
|
|
103
|
-
type: 'source',
|
|
104
|
-
position: 'right',
|
|
105
|
-
name: "Next",
|
|
106
|
-
nameKey: 'NODE_HANDLE_NEXT',
|
|
107
|
-
showName: true,
|
|
108
|
-
multiple: false
|
|
109
|
-
}
|
|
110
|
-
],
|
|
111
|
-
name: "Reply Message w/Template",
|
|
112
|
-
nameKey: 'NODE_MSG_TEMPLATE_REPLY',
|
|
113
|
-
enableStatics: false,
|
|
114
|
-
properties: [
|
|
115
|
-
{
|
|
116
|
-
id: 'templateId',
|
|
117
|
-
label: 'Template ID',
|
|
118
|
-
labelKey: 'NODE_MSG_TEXT_TEMPLATE_ID',
|
|
119
|
-
type: 'string',
|
|
120
|
-
optional: false,
|
|
121
|
-
default: '',
|
|
122
|
-
placeholder: 'Enter the template ID',
|
|
123
|
-
},
|
|
124
|
-
],
|
|
125
|
-
values: undefined,
|
|
126
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
127
|
-
icon: '',
|
|
128
|
-
badge: undefined,
|
|
129
|
-
hideInput: true,
|
|
130
|
-
hideOutput: false,
|
|
131
|
-
author: '',
|
|
132
|
-
documentation: '',
|
|
133
|
-
};
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeMsgTemplate = exports.defaultNodeMsgText = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
class NodeMsgTextTemplate {
|
|
6
|
-
}
|
|
7
|
-
class templateVariable {
|
|
8
|
-
}
|
|
9
|
-
class NodeMsgTextMessage {
|
|
10
|
-
}
|
|
11
|
-
class NodeMsgTextMessageButton {
|
|
12
|
-
}
|
|
13
|
-
var NodeMsgTextMessageType;
|
|
14
|
-
(function (NodeMsgTextMessageType) {
|
|
15
|
-
NodeMsgTextMessageType[NodeMsgTextMessageType["TEXT"] = 1] = "TEXT";
|
|
16
|
-
NodeMsgTextMessageType[NodeMsgTextMessageType["IMAGE"] = 2] = "IMAGE";
|
|
17
|
-
NodeMsgTextMessageType[NodeMsgTextMessageType["VIDEO"] = 3] = "VIDEO";
|
|
18
|
-
NodeMsgTextMessageType[NodeMsgTextMessageType["FILE"] = 4] = "FILE";
|
|
19
|
-
})(NodeMsgTextMessageType || (NodeMsgTextMessageType = {}));
|
|
20
|
-
var NodeMsgTextMessageButtonType;
|
|
21
|
-
(function (NodeMsgTextMessageButtonType) {
|
|
22
|
-
NodeMsgTextMessageButtonType[NodeMsgTextMessageButtonType["REPLY"] = 1] = "REPLY";
|
|
23
|
-
NodeMsgTextMessageButtonType[NodeMsgTextMessageButtonType["URL"] = 2] = "URL";
|
|
24
|
-
})(NodeMsgTextMessageButtonType || (NodeMsgTextMessageButtonType = {}));
|
|
25
|
-
var NodeMsgTextMode;
|
|
26
|
-
(function (NodeMsgTextMode) {
|
|
27
|
-
NodeMsgTextMode[NodeMsgTextMode["MANUAL"] = 1] = "MANUAL";
|
|
28
|
-
NodeMsgTextMode[NodeMsgTextMode["TEMPLATE"] = 2] = "TEMPLATE";
|
|
29
|
-
})(NodeMsgTextMode || (NodeMsgTextMode = {}));
|
|
30
|
-
exports.defaultNodeMsgText = {
|
|
31
|
-
id: "NodeMsgText-{uid}",
|
|
32
|
-
type: Flow_1.NodeType.MSG_TEXT,
|
|
33
|
-
category: 'message',
|
|
34
|
-
description: "Node for sending text messages, images, videos, or files to a channel",
|
|
35
|
-
tags: [],
|
|
36
|
-
version: 1,
|
|
37
|
-
asyncLoadHandlesOut: false,
|
|
38
|
-
handlesIn: [
|
|
39
|
-
{
|
|
40
|
-
id: "in",
|
|
41
|
-
type: 'target',
|
|
42
|
-
position: 'left',
|
|
43
|
-
name: "IN",
|
|
44
|
-
nameKey: 'NODE_HANDLE_IN',
|
|
45
|
-
showName: false,
|
|
46
|
-
multiple: false
|
|
47
|
-
}
|
|
48
|
-
],
|
|
49
|
-
handlesOut: [
|
|
50
|
-
{
|
|
51
|
-
id: "onNext",
|
|
52
|
-
type: 'source',
|
|
53
|
-
position: 'right',
|
|
54
|
-
name: "Next",
|
|
55
|
-
nameKey: 'NODE_HANDLE_NEXT',
|
|
56
|
-
showName: true,
|
|
57
|
-
multiple: false
|
|
58
|
-
}
|
|
59
|
-
],
|
|
60
|
-
name: "Send Message",
|
|
61
|
-
nameKey: 'NODE_MSG_TEXT_SEND',
|
|
62
|
-
enableStatics: false,
|
|
63
|
-
properties: [
|
|
64
|
-
{
|
|
65
|
-
type: 'string',
|
|
66
|
-
id: 'channelId',
|
|
67
|
-
label: 'Channel ID',
|
|
68
|
-
labelKey: 'NODE_MSG_TEXT_CHANNEL_ID',
|
|
69
|
-
optional: false,
|
|
70
|
-
default: '',
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
type: 'string',
|
|
74
|
-
id: 'destination',
|
|
75
|
-
label: 'Destination',
|
|
76
|
-
labelKey: 'NODE_MSG_TEXT_DESTINATION',
|
|
77
|
-
optional: false,
|
|
78
|
-
default: '',
|
|
79
|
-
placeholder: 'Enter the destination (e.g., phone number)'
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
type: 'options',
|
|
83
|
-
id: 'msgType',
|
|
84
|
-
label: 'Message Type',
|
|
85
|
-
labelKey: 'NODE_MSG_TEXT_TYPE',
|
|
86
|
-
optional: false,
|
|
87
|
-
options: [
|
|
88
|
-
{ id: 'TEXT', label: 'Text' },
|
|
89
|
-
{ id: 'IMAGE', label: 'Image' },
|
|
90
|
-
{ id: 'VIDEO', label: 'Video' },
|
|
91
|
-
{ id: 'FILE', label: 'File' }
|
|
92
|
-
],
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
id: 'message',
|
|
96
|
-
label: 'Message',
|
|
97
|
-
labelKey: 'NODE_MSG_TEXT_MESSAGE',
|
|
98
|
-
type: 'string',
|
|
99
|
-
optional: false,
|
|
100
|
-
default: '',
|
|
101
|
-
placeholder: 'Enter the message',
|
|
102
|
-
rows: 5,
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
id: 'caption',
|
|
106
|
-
label: 'Caption',
|
|
107
|
-
labelKey: 'NODE_MSG_TEXT_CAPTION',
|
|
108
|
-
type: 'string',
|
|
109
|
-
optional: false,
|
|
110
|
-
default: '',
|
|
111
|
-
placeholder: 'Enter the caption'
|
|
112
|
-
}
|
|
113
|
-
],
|
|
114
|
-
values: undefined,
|
|
115
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
116
|
-
icon: '',
|
|
117
|
-
badge: undefined,
|
|
118
|
-
hideInput: true,
|
|
119
|
-
hideOutput: false,
|
|
120
|
-
author: '',
|
|
121
|
-
documentation: '',
|
|
122
|
-
};
|
|
123
|
-
exports.defaultNodeMsgTemplate = {
|
|
124
|
-
id: "NodeMsgTemplate-{uid}",
|
|
125
|
-
type: Flow_1.NodeType.MSG_TEMPLATE,
|
|
126
|
-
category: 'message',
|
|
127
|
-
description: "Node for sending message templates to a channel",
|
|
128
|
-
tags: [],
|
|
129
|
-
version: 1,
|
|
130
|
-
asyncLoadHandlesOut: false,
|
|
131
|
-
handlesIn: [
|
|
132
|
-
{
|
|
133
|
-
id: "in",
|
|
134
|
-
type: 'target',
|
|
135
|
-
position: 'left',
|
|
136
|
-
name: "IN",
|
|
137
|
-
nameKey: 'NODE_HANDLE_IN',
|
|
138
|
-
showName: false,
|
|
139
|
-
multiple: false
|
|
140
|
-
}
|
|
141
|
-
],
|
|
142
|
-
handlesOut: [
|
|
143
|
-
{
|
|
144
|
-
id: "onNext",
|
|
145
|
-
type: 'source',
|
|
146
|
-
position: 'right',
|
|
147
|
-
name: "Next",
|
|
148
|
-
nameKey: 'NODE_HANDLE_NEXT',
|
|
149
|
-
showName: true,
|
|
150
|
-
multiple: false
|
|
151
|
-
}
|
|
152
|
-
],
|
|
153
|
-
name: "Send Message Template",
|
|
154
|
-
nameKey: 'NODE_MSG_TEMPLATE_SEND',
|
|
155
|
-
enableStatics: false,
|
|
156
|
-
properties: [
|
|
157
|
-
{
|
|
158
|
-
id: 'templateId',
|
|
159
|
-
label: 'Template ID',
|
|
160
|
-
labelKey: 'NODE_MSG_TEXT_TEMPLATE_ID',
|
|
161
|
-
type: 'string',
|
|
162
|
-
optional: false,
|
|
163
|
-
default: '',
|
|
164
|
-
placeholder: 'Enter the template ID',
|
|
165
|
-
},
|
|
166
|
-
],
|
|
167
|
-
values: undefined,
|
|
168
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
169
|
-
icon: '',
|
|
170
|
-
badge: undefined,
|
|
171
|
-
hideInput: true,
|
|
172
|
-
hideOutput: false,
|
|
173
|
-
author: '',
|
|
174
|
-
documentation: '',
|
|
175
|
-
};
|
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeMsgWaitResponse = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
var NodeMsgWaitResponseTimeType;
|
|
6
|
-
(function (NodeMsgWaitResponseTimeType) {
|
|
7
|
-
NodeMsgWaitResponseTimeType[NodeMsgWaitResponseTimeType["MINUTES"] = 0] = "MINUTES";
|
|
8
|
-
NodeMsgWaitResponseTimeType[NodeMsgWaitResponseTimeType["HOURS"] = 1] = "HOURS";
|
|
9
|
-
NodeMsgWaitResponseTimeType[NodeMsgWaitResponseTimeType["DAYS"] = 2] = "DAYS";
|
|
10
|
-
})(NodeMsgWaitResponseTimeType || (NodeMsgWaitResponseTimeType = {}));
|
|
11
|
-
exports.defaultNodeMsgWaitResponse = {
|
|
12
|
-
id: "NodeMsgWaitResponse-{uid}",
|
|
13
|
-
type: Flow_1.NodeType.MSG_WAIT_RESPONSE,
|
|
14
|
-
category: 'message',
|
|
15
|
-
description: "Node for waiting for a response from a client or remote user, allowing the flow to pause until a specific condition is met or a timeout occurs.",
|
|
16
|
-
tags: [],
|
|
17
|
-
version: 1,
|
|
18
|
-
asyncLoadHandlesOut: false,
|
|
19
|
-
handlesIn: [
|
|
20
|
-
{
|
|
21
|
-
id: "in",
|
|
22
|
-
type: 'target',
|
|
23
|
-
position: 'left',
|
|
24
|
-
name: "IN",
|
|
25
|
-
nameKey: 'NODE_HANDLE_IN',
|
|
26
|
-
showName: false,
|
|
27
|
-
multiple: false
|
|
28
|
-
}
|
|
29
|
-
],
|
|
30
|
-
handlesOut: [
|
|
31
|
-
{
|
|
32
|
-
id: "onNext",
|
|
33
|
-
type: 'source',
|
|
34
|
-
position: 'right',
|
|
35
|
-
name: "Next",
|
|
36
|
-
nameKey: 'NODE_HANDLE_NEXT',
|
|
37
|
-
showName: true,
|
|
38
|
-
multiple: false
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
id: "onTimeOut-{node.id}",
|
|
42
|
-
type: 'source',
|
|
43
|
-
position: 'right',
|
|
44
|
-
name: "Time Out",
|
|
45
|
-
nameKey: 'NODE_HANDLE_TIMEOUT',
|
|
46
|
-
showName: true,
|
|
47
|
-
multiple: false
|
|
48
|
-
}
|
|
49
|
-
],
|
|
50
|
-
name: "Wait for Response",
|
|
51
|
-
nameKey: 'NODE_MSG_WAIT_RESPONSE',
|
|
52
|
-
enableStatics: false,
|
|
53
|
-
properties: [
|
|
54
|
-
{
|
|
55
|
-
type: 'number',
|
|
56
|
-
id: 'autoResponseOnTimeOutMinutes',
|
|
57
|
-
label: 'Auto Response on Time Out (Minutes)',
|
|
58
|
-
labelKey: 'NODE_MSG_WAIT_RESPONSE_AUTO_RESPONSE_ON_TIMEOUT_MINUTES',
|
|
59
|
-
optional: false,
|
|
60
|
-
default: 0,
|
|
61
|
-
placeholder: 'Enter the time in minutes'
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
type: 'string',
|
|
65
|
-
id: 'autoResponseOnTimeOutMessage',
|
|
66
|
-
label: 'Auto Response on Time Out (Message)',
|
|
67
|
-
labelKey: 'NODE_MSG_WAIT_RESPONSE_AUTO_RESPONSE_ON_TIMEOUT_MESSAGE',
|
|
68
|
-
optional: false,
|
|
69
|
-
default: '',
|
|
70
|
-
placeholder: 'Enter the auto response message',
|
|
71
|
-
rows: 3
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
type: 'boolean',
|
|
75
|
-
id: 'waitForOtherMessagesEnabled',
|
|
76
|
-
label: 'Wait for Other Messages',
|
|
77
|
-
labelKey: 'NODE_MSG_WAIT_RESPONSE_WAIT_FOR_OTHER_MESSAGES_ENABLED',
|
|
78
|
-
optional: false,
|
|
79
|
-
default: false
|
|
80
|
-
},
|
|
81
|
-
{
|
|
82
|
-
type: 'number',
|
|
83
|
-
id: 'waitForOtherMessagesTime',
|
|
84
|
-
label: 'Wait for Other Messages (Time)',
|
|
85
|
-
labelKey: 'NODE_MSG_WAIT_RESPONSE_WAIT_FOR_OTHER_MESSAGES_TIME',
|
|
86
|
-
optional: false,
|
|
87
|
-
default: 0,
|
|
88
|
-
placeholder: 'Enter the time in seconds'
|
|
89
|
-
},
|
|
90
|
-
{
|
|
91
|
-
type: 'boolean',
|
|
92
|
-
id: 'continueAfterEnabled',
|
|
93
|
-
label: 'Continue After',
|
|
94
|
-
labelKey: 'NODE_MSG_WAIT_RESPONSE_CONTINUE_AFTER_ENABLED',
|
|
95
|
-
optional: false,
|
|
96
|
-
default: false
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
type: 'number',
|
|
100
|
-
id: 'continueAfterTime',
|
|
101
|
-
label: 'Continue After (Time)',
|
|
102
|
-
labelKey: 'NODE_MSG_WAIT_RESPONSE_CONTINUE_AFTER_TIME',
|
|
103
|
-
optional: false,
|
|
104
|
-
default: 0,
|
|
105
|
-
placeholder: 'Enter the time in seconds'
|
|
106
|
-
},
|
|
107
|
-
{
|
|
108
|
-
type: 'options',
|
|
109
|
-
id: 'continueAfterTimeType',
|
|
110
|
-
label: 'Continue After (Time Type)',
|
|
111
|
-
labelKey: 'NODE_MSG_WAIT_RESPONSE_CONTINUE_AFTER_TIME_TYPE',
|
|
112
|
-
optional: false,
|
|
113
|
-
options: [
|
|
114
|
-
{ id: 'MINUTES', label: 'Minutes' },
|
|
115
|
-
{ id: 'HOURS', label: 'Hours' },
|
|
116
|
-
{ id: 'DAYS', label: 'Days' }
|
|
117
|
-
],
|
|
118
|
-
show: {
|
|
119
|
-
continueAfterEnabled: true
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
],
|
|
123
|
-
values: undefined,
|
|
124
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
125
|
-
icon: '',
|
|
126
|
-
badge: undefined,
|
|
127
|
-
hideInput: true,
|
|
128
|
-
hideOutput: false,
|
|
129
|
-
author: '',
|
|
130
|
-
documentation: '',
|
|
131
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeRedirect = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeRedirect = {
|
|
6
|
-
id: "NodeRedirect-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.REDIRECT,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for redirecting the flow to another node or flow.",
|
|
10
|
-
tags: [],
|
|
11
|
-
version: 1,
|
|
12
|
-
asyncLoadHandlesOut: false,
|
|
13
|
-
handlesIn: [
|
|
14
|
-
{
|
|
15
|
-
id: "in",
|
|
16
|
-
type: 'target',
|
|
17
|
-
position: 'left',
|
|
18
|
-
name: "IN",
|
|
19
|
-
nameKey: 'NODE_HANDLE_IN',
|
|
20
|
-
showName: false,
|
|
21
|
-
multiple: false
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
handlesOut: [],
|
|
25
|
-
name: "Redirect",
|
|
26
|
-
nameKey: 'NODE_REDIRECT',
|
|
27
|
-
enableStatics: false,
|
|
28
|
-
properties: [
|
|
29
|
-
{
|
|
30
|
-
type: 'string',
|
|
31
|
-
id: 'flowId',
|
|
32
|
-
label: 'Flow ID',
|
|
33
|
-
labelKey: 'NODE_REDIRECT_FLOW_ID',
|
|
34
|
-
optional: false,
|
|
35
|
-
default: '',
|
|
36
|
-
placeholder: 'Enter the flow ID'
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
type: 'string',
|
|
40
|
-
id: 'nodeId',
|
|
41
|
-
label: 'Node ID',
|
|
42
|
-
labelKey: 'NODE_REDIRECT_NODE_ID',
|
|
43
|
-
optional: false,
|
|
44
|
-
default: '',
|
|
45
|
-
placeholder: 'Enter the node ID'
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
type: 'string',
|
|
49
|
-
id: 'nodeName',
|
|
50
|
-
label: 'Node Name',
|
|
51
|
-
labelKey: 'NODE_REDIRECT_NODE_NAME',
|
|
52
|
-
optional: true,
|
|
53
|
-
default: '',
|
|
54
|
-
placeholder: 'Enter the node name (optional)'
|
|
55
|
-
},
|
|
56
|
-
],
|
|
57
|
-
values: undefined,
|
|
58
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
59
|
-
icon: '',
|
|
60
|
-
badge: undefined,
|
|
61
|
-
hideInput: true,
|
|
62
|
-
hideOutput: false,
|
|
63
|
-
author: '',
|
|
64
|
-
documentation: '',
|
|
65
|
-
};
|
|
@@ -1,85 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeSendEmail = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeSendEmail = {
|
|
6
|
-
id: "NodeSendEmail-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.SEND_EMAIL,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for sending emails, allowing the flow to communicate via email with specified recipients.",
|
|
10
|
-
tags: [],
|
|
11
|
-
version: 1,
|
|
12
|
-
asyncLoadHandlesOut: false,
|
|
13
|
-
handlesIn: [
|
|
14
|
-
{
|
|
15
|
-
id: "in",
|
|
16
|
-
type: 'target',
|
|
17
|
-
position: 'left',
|
|
18
|
-
name: "IN",
|
|
19
|
-
nameKey: 'NODE_HANDLE_IN',
|
|
20
|
-
showName: false,
|
|
21
|
-
multiple: false
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
handlesOut: [
|
|
25
|
-
{
|
|
26
|
-
id: "onNext",
|
|
27
|
-
type: 'source',
|
|
28
|
-
position: 'right',
|
|
29
|
-
name: "Next",
|
|
30
|
-
nameKey: 'NODE_HANDLE_NEXT',
|
|
31
|
-
showName: true,
|
|
32
|
-
multiple: false
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
name: "Send Email",
|
|
36
|
-
nameKey: 'NODE_SEND_EMAIL',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [
|
|
39
|
-
{
|
|
40
|
-
type: 'string',
|
|
41
|
-
id: 'channelId',
|
|
42
|
-
label: 'Channel ID',
|
|
43
|
-
labelKey: 'NODE_SEND_EMAIL_CHANNEL_ID',
|
|
44
|
-
optional: false,
|
|
45
|
-
default: '',
|
|
46
|
-
placeholder: 'Enter the channel ID'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
type: 'string',
|
|
50
|
-
id: 'to',
|
|
51
|
-
label: 'To',
|
|
52
|
-
labelKey: 'NODE_SEND_EMAIL_TO',
|
|
53
|
-
optional: false,
|
|
54
|
-
default: '',
|
|
55
|
-
placeholder: 'Enter the recipient email address'
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
type: 'string',
|
|
59
|
-
id: 'subject',
|
|
60
|
-
label: 'Subject',
|
|
61
|
-
labelKey: 'NODE_SEND_EMAIL_SUBJECT',
|
|
62
|
-
optional: false,
|
|
63
|
-
default: '',
|
|
64
|
-
placeholder: 'Enter the email subject'
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
type: 'string',
|
|
68
|
-
id: 'body',
|
|
69
|
-
label: 'Body',
|
|
70
|
-
labelKey: 'NODE_SEND_EMAIL_BODY',
|
|
71
|
-
optional: false,
|
|
72
|
-
default: '',
|
|
73
|
-
placeholder: 'Enter the email body',
|
|
74
|
-
rows: 5
|
|
75
|
-
}
|
|
76
|
-
],
|
|
77
|
-
values: undefined,
|
|
78
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
79
|
-
icon: '',
|
|
80
|
-
badge: undefined,
|
|
81
|
-
hideInput: true,
|
|
82
|
-
hideOutput: false,
|
|
83
|
-
author: '',
|
|
84
|
-
documentation: '',
|
|
85
|
-
};
|