@trii/types 2.10.529 → 2.10.530
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/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,179 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeNodeAIChatBot = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeNodeAIChatBot = {
|
|
6
|
-
id: "NodeNodeAIChatBot-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.AI_CHATBOT,
|
|
8
|
-
category: 'agent',
|
|
9
|
-
description: "Node for AI Chat Bot operations, such as sending messages or managing conversations with an AI model.",
|
|
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_AICHATBOT_IN',
|
|
20
|
-
showName: false,
|
|
21
|
-
multiple: false
|
|
22
|
-
}
|
|
23
|
-
],
|
|
24
|
-
handlesOut: [
|
|
25
|
-
{
|
|
26
|
-
id: "aiTools",
|
|
27
|
-
type: 'source',
|
|
28
|
-
position: 'right',
|
|
29
|
-
name: "Tools",
|
|
30
|
-
nameKey: 'NODE_AICHATBOT_TOOLS',
|
|
31
|
-
multiple: true,
|
|
32
|
-
showName: true
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
id: "aiTransitions",
|
|
36
|
-
type: 'source',
|
|
37
|
-
position: 'right',
|
|
38
|
-
name: "Transitions",
|
|
39
|
-
nameKey: 'NODE_AICHATBOT_TRANSITIONS',
|
|
40
|
-
multiple: true,
|
|
41
|
-
showName: true
|
|
42
|
-
},
|
|
43
|
-
{
|
|
44
|
-
id: "aiError",
|
|
45
|
-
type: 'source',
|
|
46
|
-
position: 'right',
|
|
47
|
-
name: "Error",
|
|
48
|
-
nameKey: 'NODE_AICHATBOT_ERROR',
|
|
49
|
-
showName: true,
|
|
50
|
-
multiple: false
|
|
51
|
-
}
|
|
52
|
-
],
|
|
53
|
-
name: "AI Agent",
|
|
54
|
-
nameKey: 'NODE_AICHATBOT_NAME',
|
|
55
|
-
enableStatics: false,
|
|
56
|
-
properties: [
|
|
57
|
-
{
|
|
58
|
-
type: 'string',
|
|
59
|
-
id: 'prompt',
|
|
60
|
-
label: 'Prompt',
|
|
61
|
-
labelKey: 'NODE_AICHATBOT_PROMPT',
|
|
62
|
-
optional: false,
|
|
63
|
-
default: '',
|
|
64
|
-
placeholder: 'Enter the prompt for the AI model',
|
|
65
|
-
rows: 3
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
type: 'asyncOptions',
|
|
69
|
-
id: 'providerId',
|
|
70
|
-
label: 'Provider LLM',
|
|
71
|
-
labelKey: 'NODE_TIME_SCHEDULE_CONTROL_PROVIDER_ID',
|
|
72
|
-
optional: false,
|
|
73
|
-
loadMethod: 'llmProviders',
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
type: 'string',
|
|
77
|
-
id: 'llmProvider',
|
|
78
|
-
label: 'LLM Provider',
|
|
79
|
-
labelKey: 'NODE_AICHATBOT_LLM_PROVIDER',
|
|
80
|
-
optional: false,
|
|
81
|
-
},
|
|
82
|
-
{
|
|
83
|
-
type: 'string',
|
|
84
|
-
id: 'llmModel',
|
|
85
|
-
label: 'LLM Model',
|
|
86
|
-
labelKey: 'NODE_AICHATBOT_LLM_MODEL',
|
|
87
|
-
optional: true,
|
|
88
|
-
},
|
|
89
|
-
{
|
|
90
|
-
type: 'string',
|
|
91
|
-
id: 'credentialId',
|
|
92
|
-
label: 'Credential ID',
|
|
93
|
-
labelKey: 'NODE_AICHATBOT_CREDENTIAL_ID',
|
|
94
|
-
optional: true,
|
|
95
|
-
default: '',
|
|
96
|
-
placeholder: 'API Key for authentication',
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
type: 'number',
|
|
100
|
-
id: 'llmTemperature',
|
|
101
|
-
label: 'LLM Temperature',
|
|
102
|
-
labelKey: 'NODE_AICHATBOT_LLM_TEMPERATURE',
|
|
103
|
-
optional: true,
|
|
104
|
-
default: 0.7,
|
|
105
|
-
step: 0.1,
|
|
106
|
-
numberMin: 0,
|
|
107
|
-
numberMax: 1
|
|
108
|
-
},
|
|
109
|
-
{
|
|
110
|
-
type: 'number',
|
|
111
|
-
id: 'llmMaxTokens',
|
|
112
|
-
label: 'LLM Max Tokens',
|
|
113
|
-
labelKey: 'NODE_AICHATBOT_LLM_MAX_TOKENS',
|
|
114
|
-
optional: true,
|
|
115
|
-
default: 1000,
|
|
116
|
-
step: 1,
|
|
117
|
-
numberMin: 1,
|
|
118
|
-
numberMax: 4096
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
type: 'number',
|
|
122
|
-
id: 'llmTopP',
|
|
123
|
-
label: 'LLM Top P',
|
|
124
|
-
labelKey: 'NODE_AICHATBOT_LLM_TOP_P',
|
|
125
|
-
optional: true,
|
|
126
|
-
default: 1,
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
type: 'number',
|
|
130
|
-
id: 'retryCount',
|
|
131
|
-
label: 'Retry Count',
|
|
132
|
-
labelKey: 'NODE_AICHATBOT_RETRY_COUNT',
|
|
133
|
-
optional: true,
|
|
134
|
-
default: 3,
|
|
135
|
-
},
|
|
136
|
-
{
|
|
137
|
-
type: 'number',
|
|
138
|
-
id: 'retryDelay',
|
|
139
|
-
label: 'Retry Delay (ms)',
|
|
140
|
-
labelKey: 'NODE_AICHATBOT_RETRY_DELAY_MS',
|
|
141
|
-
optional: true,
|
|
142
|
-
default: 1000,
|
|
143
|
-
},
|
|
144
|
-
{
|
|
145
|
-
type: 'tabs',
|
|
146
|
-
id: 'globalNodeTab',
|
|
147
|
-
label: 'Global Node Settings',
|
|
148
|
-
labelKey: 'NODE_AICHATBOT_GLOBAL_NODE_TAB',
|
|
149
|
-
optional: true,
|
|
150
|
-
tabs: [
|
|
151
|
-
{
|
|
152
|
-
type: 'boolean',
|
|
153
|
-
id: 'globalNode',
|
|
154
|
-
label: 'Global Node',
|
|
155
|
-
labelKey: 'NODE_AICHATBOT_GLOBAL_NODE',
|
|
156
|
-
optional: true,
|
|
157
|
-
default: false,
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
type: 'string',
|
|
161
|
-
id: 'globalNodeCondition',
|
|
162
|
-
label: 'Global Node Condition',
|
|
163
|
-
labelKey: 'NODE_AICHATBOT_GLOBAL_NODE_CONDITION',
|
|
164
|
-
optional: true,
|
|
165
|
-
default: '',
|
|
166
|
-
placeholder: 'Condition for global node execution'
|
|
167
|
-
}
|
|
168
|
-
]
|
|
169
|
-
}
|
|
170
|
-
],
|
|
171
|
-
values: undefined,
|
|
172
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
173
|
-
icon: '',
|
|
174
|
-
badge: undefined,
|
|
175
|
-
hideInput: true,
|
|
176
|
-
hideOutput: false,
|
|
177
|
-
author: '',
|
|
178
|
-
documentation: '',
|
|
179
|
-
};
|
|
@@ -1,113 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeConditional = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeConditional = {
|
|
6
|
-
id: "NodeConditional-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.CONDITIONAL,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for conditional operations, allowing for dynamic decision-making based on conditions.",
|
|
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: "onNoCondition",
|
|
27
|
-
type: 'source',
|
|
28
|
-
position: 'right',
|
|
29
|
-
name: "No Condition",
|
|
30
|
-
nameKey: 'NODE_HANDLE_NO_CONDITION',
|
|
31
|
-
showName: true,
|
|
32
|
-
multiple: false
|
|
33
|
-
}
|
|
34
|
-
],
|
|
35
|
-
name: "Conditional Node",
|
|
36
|
-
nameKey: 'NODE_CONDITIONAL_NAME',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [
|
|
39
|
-
{
|
|
40
|
-
type: 'string',
|
|
41
|
-
id: 'inputValue',
|
|
42
|
-
label: 'Input Value',
|
|
43
|
-
labelKey: 'NODE_CONDITIONAL_INPUT_VALUE',
|
|
44
|
-
optional: false,
|
|
45
|
-
default: '',
|
|
46
|
-
placeholder: 'Enter the input value to evaluate conditions'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
type: 'options',
|
|
50
|
-
id: 'operator',
|
|
51
|
-
label: 'Operator',
|
|
52
|
-
labelKey: 'NODE_CONDITIONAL_OPERATOR',
|
|
53
|
-
optional: false,
|
|
54
|
-
default: 'AND',
|
|
55
|
-
options: [
|
|
56
|
-
{ id: 'AND', label: 'AND' },
|
|
57
|
-
{ id: 'OR', label: 'OR' }
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
type: 'array',
|
|
62
|
-
id: 'conditions',
|
|
63
|
-
label: 'Conditions',
|
|
64
|
-
labelKey: 'NODE_CONDITIONAL_CONDITIONS',
|
|
65
|
-
optional: false,
|
|
66
|
-
array: [
|
|
67
|
-
{
|
|
68
|
-
type: 'options',
|
|
69
|
-
id: 'condition',
|
|
70
|
-
label: 'Condition',
|
|
71
|
-
default: '',
|
|
72
|
-
options: [
|
|
73
|
-
{ id: 'NULL', label: 'Is Null' },
|
|
74
|
-
{ id: 'LESS_THAN', label: 'Less Than' },
|
|
75
|
-
{ id: 'LESS_THAN_EQUAL', label: 'Less Than or Equal' },
|
|
76
|
-
{ id: 'EQUAL', label: 'Equal' },
|
|
77
|
-
{ id: 'GREATER_THAN_EQUAL', label: 'Greater Than or Equal' },
|
|
78
|
-
{ id: 'GREATER_THAN', label: 'Greater Than' },
|
|
79
|
-
{ id: 'START_WITH', label: 'Starts With' },
|
|
80
|
-
{ id: 'END_WITH', label: 'Ends With' },
|
|
81
|
-
{ id: 'CONTAINS', label: 'Contains' },
|
|
82
|
-
{ id: 'NOT_CONTAINS', label: 'Does Not Contain' },
|
|
83
|
-
{ id: 'ANY_VALUE', label: 'Any Value' }
|
|
84
|
-
]
|
|
85
|
-
},
|
|
86
|
-
{
|
|
87
|
-
type: 'array',
|
|
88
|
-
id: 'values',
|
|
89
|
-
label: 'Values',
|
|
90
|
-
default: '',
|
|
91
|
-
placeholder: 'Enter the values to compare against',
|
|
92
|
-
array: [
|
|
93
|
-
{
|
|
94
|
-
type: 'string',
|
|
95
|
-
id: 'value',
|
|
96
|
-
label: 'Value',
|
|
97
|
-
default: '',
|
|
98
|
-
placeholder: 'Enter a value'
|
|
99
|
-
}
|
|
100
|
-
]
|
|
101
|
-
}
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
],
|
|
105
|
-
values: undefined,
|
|
106
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
107
|
-
icon: '',
|
|
108
|
-
badge: undefined,
|
|
109
|
-
hideInput: true,
|
|
110
|
-
hideOutput: false,
|
|
111
|
-
author: '',
|
|
112
|
-
documentation: '',
|
|
113
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeContactSearch = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeContactSearch = {
|
|
6
|
-
id: "NodeContactSearch-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.CONTACT_SEARCH,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for searching contacts in the system, allowing for dynamic retrieval of contact information based on specified criteria.",
|
|
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: "Contact Search Node",
|
|
36
|
-
nameKey: 'NODE_CONTACT_SEARCH_NAME',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [
|
|
39
|
-
{
|
|
40
|
-
type: 'options',
|
|
41
|
-
id: 'contactFieldId',
|
|
42
|
-
label: 'Contact Field ID',
|
|
43
|
-
labelKey: 'NODE_CONTACT_SEARCH_FIELD_ID',
|
|
44
|
-
optional: false,
|
|
45
|
-
options: [
|
|
46
|
-
{ id: 'name', label: 'Name' },
|
|
47
|
-
{ id: 'email', label: 'Email' },
|
|
48
|
-
{ id: 'phone', label: 'Phone' }
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
type: 'string',
|
|
53
|
-
id: 'valueToSearch',
|
|
54
|
-
label: 'Value to Search',
|
|
55
|
-
labelKey: 'NODE_CONTACT_SEARCH_VALUE_TO_SEARCH',
|
|
56
|
-
optional: false,
|
|
57
|
-
default: '',
|
|
58
|
-
placeholder: 'Enter the value to search in the contact field'
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
values: undefined,
|
|
62
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
63
|
-
icon: '',
|
|
64
|
-
badge: undefined,
|
|
65
|
-
hideInput: true,
|
|
66
|
-
hideOutput: false,
|
|
67
|
-
author: '',
|
|
68
|
-
documentation: '',
|
|
69
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeContactUpdate = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeContactUpdate = {
|
|
6
|
-
id: "NodeContactUpdate-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.CONTACT_UPDATE,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for updating contact information in the system.",
|
|
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: "Contact Update Node",
|
|
36
|
-
nameKey: 'NODE_CONTACT_UPDATE_NAME',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [
|
|
39
|
-
{
|
|
40
|
-
type: 'options',
|
|
41
|
-
id: 'contactFieldId',
|
|
42
|
-
label: 'Contact Field ID',
|
|
43
|
-
labelKey: 'NODE_CONTACT_UPDATE_FIELD_ID',
|
|
44
|
-
optional: false,
|
|
45
|
-
options: [
|
|
46
|
-
{ id: 'name', label: 'Name' },
|
|
47
|
-
{ id: 'email', label: 'Email' },
|
|
48
|
-
{ id: 'phone', label: 'Phone' }
|
|
49
|
-
]
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
type: 'string',
|
|
53
|
-
id: 'valueToUpdate',
|
|
54
|
-
label: 'Value to Update',
|
|
55
|
-
labelKey: 'NODE_CONTACT_UPDATE_VALUE_TO_UPDATE',
|
|
56
|
-
optional: false,
|
|
57
|
-
default: '',
|
|
58
|
-
placeholder: 'Enter the value to update in the contact field'
|
|
59
|
-
},
|
|
60
|
-
],
|
|
61
|
-
values: undefined,
|
|
62
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
63
|
-
icon: '',
|
|
64
|
-
badge: undefined,
|
|
65
|
-
hideInput: true,
|
|
66
|
-
hideOutput: false,
|
|
67
|
-
author: '',
|
|
68
|
-
documentation: '',
|
|
69
|
-
};
|
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeConversationAssignTo = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeConversationAssignTo = {
|
|
6
|
-
id: "NodeConversationAssignTo-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.CONVERSATION_ASSIGN_TO,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for assigning the conversation to a specific user or group, allowing for targeted management of conversations within the system.",
|
|
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: "Conversation Assign To",
|
|
36
|
-
nameKey: 'NODE_CONVERSATION_ASSIGN_TO',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [
|
|
39
|
-
{
|
|
40
|
-
type: 'string',
|
|
41
|
-
id: 'userId',
|
|
42
|
-
label: 'User ID',
|
|
43
|
-
labelKey: 'NODE_CONVERSATION_ASSIGN_TO_USER_ID',
|
|
44
|
-
optional: true,
|
|
45
|
-
default: '',
|
|
46
|
-
placeholder: 'Enter the user ID to assign the conversation to'
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
type: 'string',
|
|
50
|
-
id: 'groupId',
|
|
51
|
-
label: 'Group ID',
|
|
52
|
-
labelKey: 'NODE_CONVERSATION_ASSIGN_TO_GROUP_ID',
|
|
53
|
-
optional: true,
|
|
54
|
-
default: '',
|
|
55
|
-
placeholder: 'Enter the group ID to assign the conversation to'
|
|
56
|
-
}
|
|
57
|
-
],
|
|
58
|
-
values: undefined,
|
|
59
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
60
|
-
icon: '',
|
|
61
|
-
badge: undefined,
|
|
62
|
-
hideInput: true,
|
|
63
|
-
hideOutput: false,
|
|
64
|
-
author: '',
|
|
65
|
-
documentation: '',
|
|
66
|
-
};
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeConversationFinalize = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeConversationFinalize = {
|
|
6
|
-
id: "NodeConversationFinalize-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.CONVERSATION_FINALIZE,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for finalizing the conversation, marking it as complete and potentially triggering cleanup or follow-up actions.",
|
|
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: "Conversation Finalize",
|
|
36
|
-
nameKey: 'NODE_CONVERSATION_FINALIZE',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [],
|
|
39
|
-
values: undefined,
|
|
40
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
41
|
-
icon: '',
|
|
42
|
-
badge: undefined,
|
|
43
|
-
hideInput: true,
|
|
44
|
-
hideOutput: false,
|
|
45
|
-
author: '',
|
|
46
|
-
documentation: '',
|
|
47
|
-
};
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultNodeConversationUpdate = void 0;
|
|
4
|
-
const Flow_1 = require("../Flow");
|
|
5
|
-
exports.defaultNodeConversationUpdate = {
|
|
6
|
-
id: "NodeConversationUpdate-{uid}",
|
|
7
|
-
type: Flow_1.NodeType.CONVERSATION_UPDATE,
|
|
8
|
-
category: 'action',
|
|
9
|
-
description: "Node for updating conversation details, such as tags or metadata, to manage and organize conversations effectively.",
|
|
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: "Conversation Update",
|
|
36
|
-
nameKey: 'NODE_CONVERSATION_UPDATE',
|
|
37
|
-
enableStatics: false,
|
|
38
|
-
properties: [
|
|
39
|
-
{
|
|
40
|
-
type: 'options',
|
|
41
|
-
id: 'fieldId',
|
|
42
|
-
label: 'Field to Update',
|
|
43
|
-
labelKey: 'NODE_CONVERSATION_UPDATE_FIELD_ID',
|
|
44
|
-
optional: false,
|
|
45
|
-
options: [
|
|
46
|
-
{ id: 'tag', label: 'Tag' }
|
|
47
|
-
]
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
type: 'options',
|
|
51
|
-
id: 'action',
|
|
52
|
-
label: 'Action',
|
|
53
|
-
labelKey: 'NODE_CONVERSATION_UPDATE_ACTION',
|
|
54
|
-
optional: false,
|
|
55
|
-
options: [
|
|
56
|
-
{ id: 'replace', label: 'Replace' },
|
|
57
|
-
{ id: 'add', label: 'Add' }
|
|
58
|
-
]
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
type: 'string',
|
|
62
|
-
id: 'value',
|
|
63
|
-
label: 'Value',
|
|
64
|
-
labelKey: 'NODE_CONVERSATION_UPDATE_VALUE',
|
|
65
|
-
optional: false,
|
|
66
|
-
default: '',
|
|
67
|
-
placeholder: 'Enter the value'
|
|
68
|
-
}
|
|
69
|
-
],
|
|
70
|
-
values: undefined,
|
|
71
|
-
color: '#00bcd4', // Cyan color for the start node
|
|
72
|
-
icon: '',
|
|
73
|
-
badge: undefined,
|
|
74
|
-
hideInput: true,
|
|
75
|
-
hideOutput: false,
|
|
76
|
-
author: '',
|
|
77
|
-
documentation: '',
|
|
78
|
-
};
|