@trii/types 2.10.501 → 2.10.502

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.
@@ -4,13 +4,7 @@ export interface INodeCategory {
4
4
  name: string;
5
5
  definition: INode;
6
6
  }
7
- export declare const triggerNodeTypeList: INodeCategory[];
8
- export declare const actionNodeTypeList: INodeCategory[];
9
- export declare const toolNodeTypeList: INodeCategory[];
10
- export declare const agentNodeTypeList: INodeCategory[];
11
- export declare const messageNodeTypeList: INodeCategory[];
12
7
  export interface ICategory {
13
8
  name: string;
14
9
  nodes: INodeCategory[];
15
10
  }
16
- export declare const CategoryList: ICategory[];
@@ -1,195 +1,2 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CategoryList = exports.messageNodeTypeList = exports.agentNodeTypeList = exports.toolNodeTypeList = exports.actionNodeTypeList = exports.triggerNodeTypeList = void 0;
4
- const Nodes_1 = require("./Nodes");
5
- const NodeStart_1 = require("./Nodes/NodeStart");
6
- const NodeToolContacts_1 = require("./Nodes/NodeToolContacts");
7
- const NodeToolFunction_1 = require("./Nodes/NodeToolFunction");
8
- const NodeToolShoppingCart_1 = require("./Nodes/NodeToolShoppingCart");
9
- exports.triggerNodeTypeList = [
10
- {
11
- id: 'StartNewConversation',
12
- name: 'Start by New Conversation',
13
- definition: NodeStart_1.defaultNodeStartNewConversation
14
- },
15
- {
16
- id: 'StartConversationOpened',
17
- name: 'Conversation Opened',
18
- definition: NodeStart_1.defaultNodeStartConversationOpened
19
- },
20
- {
21
- id: 'EndConversation',
22
- name: 'End Conversation',
23
- definition: NodeStart_1.defaultNodeStartNewConversation
24
- }
25
- ];
26
- exports.actionNodeTypeList = [
27
- {
28
- id: 'Api',
29
- name: 'API Call',
30
- definition: Nodes_1.defaultNodeApi
31
- },
32
- {
33
- id: 'Conditional',
34
- name: 'Conditional',
35
- definition: Nodes_1.defaultNodeConditional
36
- },
37
- {
38
- id: 'ContactSearch',
39
- name: 'Contact Search',
40
- definition: Nodes_1.defaultNodeContactSearch
41
- },
42
- {
43
- id: 'ContactUpdate',
44
- name: 'Contact Update',
45
- definition: Nodes_1.defaultNodeContactUpdate
46
- },
47
- {
48
- id: 'ConversationAssignTo',
49
- name: 'Conversation Assign To',
50
- definition: Nodes_1.defaultNodeConversationAssignTo
51
- },
52
- {
53
- id: 'ConversationFinalize',
54
- name: 'Conversation Finalize',
55
- definition: Nodes_1.defaultNodeConversationFinalize
56
- },
57
- {
58
- id: 'ConversationUpdate',
59
- name: 'Conversation Update',
60
- definition: Nodes_1.defaultNodeConversationUpdate
61
- },
62
- {
63
- id: 'FillForm',
64
- name: 'Fill Form',
65
- definition: Nodes_1.defaultNodeFillForm
66
- },
67
- {
68
- id: 'Redirect',
69
- name: 'Redirect',
70
- definition: Nodes_1.defaultNodeRedirect
71
- },
72
- {
73
- id: 'SqlQuery',
74
- name: 'SQL Query',
75
- definition: Nodes_1.defaultNodeSqlQuery
76
- },
77
- {
78
- id: 'TimeScheduleControl',
79
- name: 'Time Schedule Control',
80
- definition: Nodes_1.defaultNodeTimeScheduleControl
81
- },
82
- {
83
- id: 'TimeTimer',
84
- name: 'Timer',
85
- definition: Nodes_1.defaultNodeTimeTimer
86
- },
87
- {
88
- id: 'WaitUntil',
89
- name: 'Wait Until',
90
- definition: Nodes_1.defaultNodeTimeWaitUntil
91
- }
92
- ];
93
- exports.toolNodeTypeList = [
94
- {
95
- id: 'Calculator',
96
- name: 'Calculator',
97
- definition: Nodes_1.defaultNodeToolCalculator
98
- },
99
- {
100
- id: 'Contacts',
101
- name: 'Contacts',
102
- definition: NodeToolContacts_1.defaultNodeToolTriiContacts
103
- },
104
- {
105
- id: 'Function',
106
- name: 'Function',
107
- definition: NodeToolFunction_1.defaultNodeToolFunction
108
- },
109
- {
110
- id: 'GoogleCalendar',
111
- name: 'Google Calendar',
112
- definition: Nodes_1.defaultNodeToolGoogleCalendar
113
- },
114
- {
115
- id: 'Knowledge',
116
- name: 'Knowledge Base',
117
- definition: Nodes_1.defaultNodeToolKnowledge
118
- },
119
- {
120
- id: 'MapsCheckPolygon',
121
- name: 'Maps Check Polygon',
122
- definition: Nodes_1.defaultNodeToolMapsCheckPolygon
123
- },
124
- {
125
- id: 'McpClient',
126
- name: 'MCP Client',
127
- definition: Nodes_1.defaultNodeToolMcpClient
128
- },
129
- {
130
- id: 'ShoppingCart',
131
- name: 'Shopping Cart',
132
- definition: NodeToolShoppingCart_1.defaultNodeToolShoppingCart
133
- }
134
- ];
135
- exports.agentNodeTypeList = [
136
- {
137
- id: 'AIChatBot',
138
- name: 'AI Chat Bot',
139
- definition: Nodes_1.defaultNodeNodeAIChatBot
140
- }
141
- ];
142
- exports.messageNodeTypeList = [
143
- {
144
- id: 'MsgReply',
145
- name: 'Reply',
146
- definition: Nodes_1.defaultNodeMsgTextReply
147
- },
148
- {
149
- id: 'MsgTemplateReply',
150
- name: 'Reply w/Template',
151
- definition: Nodes_1.defaultNodeMsgTemplateReply
152
- },
153
- {
154
- id: 'MsgTemplate',
155
- name: 'Send Template',
156
- definition: Nodes_1.defaultNodeMsgTemplate
157
- },
158
- {
159
- id: 'MsgText',
160
- name: 'Send Text',
161
- definition: Nodes_1.defaultNodeMsgText
162
- },
163
- {
164
- id: 'MsgWaitResponse',
165
- name: 'Wait Response',
166
- definition: Nodes_1.defaultNodeMsgWaitResponse
167
- },
168
- {
169
- id: 'MsgSendEmail',
170
- name: 'Send Email',
171
- definition: Nodes_1.defaultNodeSendEmail
172
- }
173
- ];
174
- exports.CategoryList = [
175
- {
176
- name: 'Triggers',
177
- nodes: exports.triggerNodeTypeList
178
- },
179
- {
180
- name: 'Actions',
181
- nodes: exports.actionNodeTypeList
182
- },
183
- {
184
- name: 'Tools',
185
- nodes: exports.toolNodeTypeList
186
- },
187
- {
188
- name: 'Agents',
189
- nodes: exports.agentNodeTypeList
190
- },
191
- {
192
- name: 'Messages',
193
- nodes: exports.messageNodeTypeList
194
- }
195
- ];
@@ -45,7 +45,8 @@ export declare enum NodeType {
45
45
  CONDITIONAL = 71,
46
46
  REDIRECT = 72,
47
47
  AI_CHATBOT = 91,
48
- TOOL_TRII_CONTACTS = 201,
48
+ TOOL_TRII_CONTACT_UPDATE = 200,
49
+ TOOL_TRII_CONTACT_SEARCH = 201,
49
50
  TOOL_TRII_CALENDAR = 202,
50
51
  TOOL_MAPS_CHECK_POLYGON = 203,
51
52
  TOOL_MCP_CLIENT = 204,
@@ -53,6 +54,9 @@ export declare enum NodeType {
53
54
  TOOL_FUNCTION = 206,
54
55
  TOOL_CALCULATOR = 207,
55
56
  TOOL_SHOPPING_CART = 208,
57
+ TOOL_API = 209,
58
+ TOOL_ASSIGN_TO = 210,
59
+ TOOL_OCR = 211,
56
60
  TOOL_GOOGLE_CALENDAR = 251,
57
61
  TOOL_GOOGLE_MAPS = 252
58
62
  }
@@ -32,7 +32,8 @@ var NodeType;
32
32
  NodeType[NodeType["CONDITIONAL"] = 71] = "CONDITIONAL";
33
33
  NodeType[NodeType["REDIRECT"] = 72] = "REDIRECT";
34
34
  NodeType[NodeType["AI_CHATBOT"] = 91] = "AI_CHATBOT";
35
- NodeType[NodeType["TOOL_TRII_CONTACTS"] = 201] = "TOOL_TRII_CONTACTS";
35
+ NodeType[NodeType["TOOL_TRII_CONTACT_UPDATE"] = 200] = "TOOL_TRII_CONTACT_UPDATE";
36
+ NodeType[NodeType["TOOL_TRII_CONTACT_SEARCH"] = 201] = "TOOL_TRII_CONTACT_SEARCH";
36
37
  NodeType[NodeType["TOOL_TRII_CALENDAR"] = 202] = "TOOL_TRII_CALENDAR";
37
38
  NodeType[NodeType["TOOL_MAPS_CHECK_POLYGON"] = 203] = "TOOL_MAPS_CHECK_POLYGON";
38
39
  NodeType[NodeType["TOOL_MCP_CLIENT"] = 204] = "TOOL_MCP_CLIENT";
@@ -40,6 +41,9 @@ var NodeType;
40
41
  NodeType[NodeType["TOOL_FUNCTION"] = 206] = "TOOL_FUNCTION";
41
42
  NodeType[NodeType["TOOL_CALCULATOR"] = 207] = "TOOL_CALCULATOR";
42
43
  NodeType[NodeType["TOOL_SHOPPING_CART"] = 208] = "TOOL_SHOPPING_CART";
44
+ NodeType[NodeType["TOOL_API"] = 209] = "TOOL_API";
45
+ NodeType[NodeType["TOOL_ASSIGN_TO"] = 210] = "TOOL_ASSIGN_TO";
46
+ NodeType[NodeType["TOOL_OCR"] = 211] = "TOOL_OCR";
43
47
  NodeType[NodeType["TOOL_GOOGLE_CALENDAR"] = 251] = "TOOL_GOOGLE_CALENDAR";
44
48
  NodeType[NodeType["TOOL_GOOGLE_MAPS"] = 252] = "TOOL_GOOGLE_MAPS";
45
49
  })(NodeType || (exports.NodeType = NodeType = {}));
@@ -1,4 +1,3 @@
1
1
  export * from './Flow';
2
2
  export * from './FlowInfo';
3
3
  export * from './Definitions';
4
- export * as Nodes from './Nodes/index';
@@ -10,34 +10,10 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
13
  var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
15
  };
21
- var __importStar = (this && this.__importStar) || (function () {
22
- var ownKeys = function(o) {
23
- ownKeys = Object.getOwnPropertyNames || function (o) {
24
- var ar = [];
25
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
26
- return ar;
27
- };
28
- return ownKeys(o);
29
- };
30
- return function (mod) {
31
- if (mod && mod.__esModule) return mod;
32
- var result = {};
33
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
34
- __setModuleDefault(result, mod);
35
- return result;
36
- };
37
- })();
38
16
  Object.defineProperty(exports, "__esModule", { value: true });
39
- exports.Nodes = void 0;
40
17
  __exportStar(require("./Flow"), exports);
41
18
  __exportStar(require("./FlowInfo"), exports);
42
19
  __exportStar(require("./Definitions"), exports);
43
- exports.Nodes = __importStar(require("./Nodes/index"));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trii/types",
3
- "version": "2.10.501",
3
+ "version": "2.10.502",
4
4
  "description": "Types definitions for Trii projects - ",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",