@trii/types 2.10.486 → 2.10.489
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/Flow.d.ts +7 -0
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.js +7 -0
- package/dist/Conversations/Flows/Nodes/NodeApi.js +3 -1
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.js +2 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.js +2 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeStart.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +3 -3
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.js +1 -0
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.js +1 -0
- package/package.json +1 -1
|
@@ -92,6 +92,7 @@ export interface INode {
|
|
|
92
92
|
documentation?: string;
|
|
93
93
|
handlesIn: INodeHandle[];
|
|
94
94
|
handlesOut: INodeHandle[];
|
|
95
|
+
asyncLoadHandlesOut: boolean | false;
|
|
95
96
|
name: string;
|
|
96
97
|
nameKey?: string;
|
|
97
98
|
enableStatics?: boolean | false;
|
|
@@ -183,3 +184,9 @@ export interface INodeOptionsValue {
|
|
|
183
184
|
description?: string;
|
|
184
185
|
imageSrc?: string;
|
|
185
186
|
}
|
|
187
|
+
export interface IBodyRequest_AsyncNodes {
|
|
188
|
+
loadMethod?: string;
|
|
189
|
+
nodeId?: string;
|
|
190
|
+
nodeType?: NodeType;
|
|
191
|
+
values?: ICommonObject;
|
|
192
|
+
}
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeNodeAIChatBot = {
|
|
|
9
9
|
description: "Node for AI Chat Bot operations, such as sending messages or managing conversations with an AI model.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -93,6 +94,9 @@ exports.defaultNodeNodeAIChatBot = {
|
|
|
93
94
|
labelKey: 'NODE_AICHATBOT_LLM_TEMPERATURE',
|
|
94
95
|
optional: true,
|
|
95
96
|
default: 0.7,
|
|
97
|
+
step: 0.1,
|
|
98
|
+
numberMin: 0,
|
|
99
|
+
numberMax: 1
|
|
96
100
|
},
|
|
97
101
|
{
|
|
98
102
|
type: 'number',
|
|
@@ -101,6 +105,9 @@ exports.defaultNodeNodeAIChatBot = {
|
|
|
101
105
|
labelKey: 'NODE_AICHATBOT_LLM_MAX_TOKENS',
|
|
102
106
|
optional: true,
|
|
103
107
|
default: 1000,
|
|
108
|
+
step: 1,
|
|
109
|
+
numberMin: 1,
|
|
110
|
+
numberMax: 4096
|
|
104
111
|
},
|
|
105
112
|
{
|
|
106
113
|
type: 'number',
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeApi = {
|
|
|
9
9
|
description: "Node for making API calls, allowing for dynamic interactions with external services.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -42,7 +43,8 @@ exports.defaultNodeApi = {
|
|
|
42
43
|
labelKey: 'NODE_API_URL',
|
|
43
44
|
optional: false,
|
|
44
45
|
default: '',
|
|
45
|
-
placeholder: 'Enter the URL for the API endpoint'
|
|
46
|
+
placeholder: 'Enter the URL for the API endpoint',
|
|
47
|
+
description: 'The URL of the API endpoint to which the request will be sent.'
|
|
46
48
|
},
|
|
47
49
|
{
|
|
48
50
|
type: 'options',
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeContactSearch = {
|
|
|
9
9
|
description: "Node for searching contacts in the system, allowing for dynamic retrieval of contact information based on specified criteria.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeConversationAssignTo = {
|
|
|
9
9
|
description: "Node for assigning the conversation to a specific user or group, allowing for targeted management of conversations within the system.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeConversationFinalize = {
|
|
|
9
9
|
description: "Node for finalizing the conversation, marking it as complete and potentially triggering cleanup or follow-up actions.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeConversationUpdate = {
|
|
|
9
9
|
description: "Node for updating conversation details, such as tags or metadata, to manage and organize conversations effectively.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeMsgTextReply = {
|
|
|
9
9
|
description: "Node for sending text messages, images, videos, or files to a channel",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -84,6 +85,7 @@ exports.defaultNodeMsgTemplateReply = {
|
|
|
84
85
|
description: "Node for sending text messages, images, videos, or files to a channel",
|
|
85
86
|
tags: [],
|
|
86
87
|
version: 1,
|
|
88
|
+
asyncLoadHandlesOut: false,
|
|
87
89
|
handlesIn: [
|
|
88
90
|
{
|
|
89
91
|
id: "onStart-{node.id}",
|
|
@@ -34,6 +34,7 @@ exports.defaultNodeMsgText = {
|
|
|
34
34
|
description: "Node for sending text messages, images, videos, or files to a channel",
|
|
35
35
|
tags: [],
|
|
36
36
|
version: 1,
|
|
37
|
+
asyncLoadHandlesOut: false,
|
|
37
38
|
handlesIn: [
|
|
38
39
|
{
|
|
39
40
|
id: "onStart-{node.id}",
|
|
@@ -126,6 +127,7 @@ exports.defaultNodeMsgTemplate = {
|
|
|
126
127
|
description: "Node for sending message templates to a channel",
|
|
127
128
|
tags: [],
|
|
128
129
|
version: 1,
|
|
130
|
+
asyncLoadHandlesOut: false,
|
|
129
131
|
handlesIn: [
|
|
130
132
|
{
|
|
131
133
|
id: "onStart-{node.id}",
|
|
@@ -15,6 +15,7 @@ exports.defaultNodeMsgWaitResponse = {
|
|
|
15
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
16
|
tags: [],
|
|
17
17
|
version: 1,
|
|
18
|
+
asyncLoadHandlesOut: false,
|
|
18
19
|
handlesIn: [
|
|
19
20
|
{
|
|
20
21
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeSqlQuery = {
|
|
|
9
9
|
description: "Node for executing SQL queries against a database, allowing for data retrieval, manipulation, and interaction with relational databases.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeTimeScheduleControl = {
|
|
|
9
9
|
description: "Node for controlling the flow based on time schedules, such as handling after-hours, holidays, or specific time ranges.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: true,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -45,13 +46,12 @@ exports.defaultNodeTimeScheduleControl = {
|
|
|
45
46
|
enableStatics: false,
|
|
46
47
|
properties: [
|
|
47
48
|
{
|
|
48
|
-
type: '
|
|
49
|
+
type: 'asyncOptions',
|
|
49
50
|
id: 'scheduleId',
|
|
50
51
|
label: 'Schedule ID',
|
|
51
52
|
labelKey: 'NODE_TIME_SCHEDULE_CONTROL_SCHEDULE_ID',
|
|
52
53
|
optional: false,
|
|
53
|
-
|
|
54
|
-
placeholder: 'Enter the schedule ID'
|
|
54
|
+
loadMethod: 'getTimeSchedules',
|
|
55
55
|
}
|
|
56
56
|
],
|
|
57
57
|
values: undefined,
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeTimeTimer = {
|
|
|
9
9
|
description: "Node for implementing a timer that triggers after a specified duration, allowing for timed actions or delays in the flow.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeTimeWaitUntil = {
|
|
|
9
9
|
description: "Node for pausing the flow until a specified time or condition is met, allowing for synchronization with external events or schedules.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeToolCalculator = {
|
|
|
9
9
|
description: "Tool for performing calculations, such as basic arithmetic operations, complex mathematical functions, or unit conversions.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeToolGoogleCalendar = {
|
|
|
9
9
|
description: "Tool for interacting with Google Calendar, allowing for event management such as adding, editing, and deleting events.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|
|
@@ -9,6 +9,7 @@ exports.defaultNodeToolMapsCheckPolygon = {
|
|
|
9
9
|
description: "Check if a point is inside a polygon defined by its ID. Useful for geofencing and location-based services.",
|
|
10
10
|
tags: [],
|
|
11
11
|
version: 1,
|
|
12
|
+
asyncLoadHandlesOut: false,
|
|
12
13
|
handlesIn: [
|
|
13
14
|
{
|
|
14
15
|
id: "onStart-{node.id}",
|