@trii/types 2.10.465 → 2.10.467
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 +0 -1
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +1 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeAIChatBot extends NodeBase {
|
|
3
3
|
type: NodeType.AI_CHATBOT;
|
|
4
|
-
typeName: "aiChatBot";
|
|
5
4
|
handles: ['onNext', 'tools', 'transitions', 'onError'];
|
|
6
5
|
category: 'agent';
|
|
7
6
|
description: "Node for AI Chat Bot operations, such as sending messages or managing conversations with an AI model.";
|
|
@@ -6,7 +6,6 @@ import { Method } from '../../../Common/API/Method';
|
|
|
6
6
|
import { NodeBase, NodeType } from "../Flow";
|
|
7
7
|
export interface NodeApi extends NodeBase {
|
|
8
8
|
type: NodeType.API;
|
|
9
|
-
typeName: "api";
|
|
10
9
|
handles: ['onOk', 'onError'];
|
|
11
10
|
category: 'action';
|
|
12
11
|
description: "Node for making API calls, allowing for dynamic interactions with external services.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeType, NodeBase } from "../Flow";
|
|
2
2
|
export interface NodeConditional extends NodeBase {
|
|
3
3
|
type: NodeType.CONDITIONAL;
|
|
4
|
-
typeName: "conditional";
|
|
5
4
|
handles: ['onOk', 'onError', 'onCondition-{id}'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for conditional operations, allowing for dynamic decision-making based on conditions.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeContactSearch extends NodeBase {
|
|
3
3
|
type: NodeType.CONTACT_SEARCH;
|
|
4
|
-
typeName: "contactSearch";
|
|
5
4
|
handles: ['onOk', 'onError'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for searching contacts in the system, allowing for dynamic retrieval of contact information based on specified criteria.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeContactUpdate extends NodeBase {
|
|
3
3
|
type: NodeType.CONTACT_UPDATE;
|
|
4
|
-
typeName: "contactUpdate";
|
|
5
4
|
handles: ['onOk', 'onError'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for updating contact information, allowing the flow to modify specific fields of a contact.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeConversationAssignTo extends NodeBase {
|
|
3
3
|
type: NodeType.CONVERSATION_ASSIGN_TO;
|
|
4
|
-
typeName: "conversationAssignTo";
|
|
5
4
|
handles: ['onOk'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for assigning the conversation to a specific user or group, allowing for targeted management of conversations within the system.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeConversationFinalize extends NodeBase {
|
|
3
3
|
type: NodeType.CONVERSATION_FINALIZE;
|
|
4
|
-
typeName: "conversationFinalize";
|
|
5
4
|
handles: [];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for finalizing the conversation, marking it as complete and potentially triggering cleanup or follow-up actions.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeConversationUpdate extends NodeBase {
|
|
3
3
|
type: NodeType.CONVERSATION_UPDATE;
|
|
4
|
-
typeName: "conversationUpdate";
|
|
5
4
|
handles: ['onNext'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for updating conversation details, such as tags or metadata, to manage and organize conversations effectively.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeFillForm extends NodeBase {
|
|
3
3
|
type: NodeType.FILL_FORM;
|
|
4
|
-
typeName: "fillForm";
|
|
5
4
|
handles: ['onNext'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for filling out forms, allowing the flow to collect structured data from users or systems.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeFillTicket extends NodeBase {
|
|
3
3
|
type: NodeType.FILL_TICKET;
|
|
4
|
-
typeName: "fillTicket";
|
|
5
4
|
handles: ['onOk', 'onError'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for filling out a ticket, allowing the flow to create or update tickets with specified details.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeMsgText extends NodeBase {
|
|
3
3
|
type: NodeType.MSG_TEXT;
|
|
4
|
-
typeName: "msgText";
|
|
5
4
|
handles: ['onNext'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for sending text messages, images, videos, or files to a channel. It supports both manual message creation and template-based messages.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeMsgWaitResponse extends NodeBase {
|
|
3
3
|
type: NodeType.MSG_WAIT_RESPONSE;
|
|
4
|
-
typeName: "msgWaitResponse";
|
|
5
4
|
handles: ['onNext', 'onTimeOut'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
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.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeSendEmail extends NodeBase {
|
|
3
3
|
type: NodeType.SEND_EMAIL;
|
|
4
|
-
typeName: "sendEmail";
|
|
5
4
|
handles: ['onNext'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for sending emails, allowing the flow to communicate via email with specified recipients.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeSqlQuery extends NodeBase {
|
|
3
3
|
type: NodeType.SQL_QUERY;
|
|
4
|
-
typeName: "sqlQuery";
|
|
5
4
|
handles: ['onOk', 'onError'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for executing SQL queries against a database, allowing for data retrieval, manipulation, and interaction with relational databases.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeStart extends NodeBase {
|
|
3
3
|
type: NodeType.START;
|
|
4
|
-
typeName: "start";
|
|
5
4
|
handles: ['onNext'];
|
|
6
5
|
category: 'trigger';
|
|
7
6
|
description: "Node that triggers the flow based on specific conditions or events, such as conversation status changes or contact updates.";
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeTimeScheduleControl extends NodeBase {
|
|
3
3
|
type: NodeType.TIME_SCHEDULE_CONTROL;
|
|
4
|
-
|
|
5
|
-
handles: ['onAfterHours', 'onHoliday', 'onTimeRange-{id}'];
|
|
4
|
+
handles: ['onAfterHours', 'onHoliday', '{type}-{id}'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for controlling the flow based on time schedules, such as handling after-hours, holidays, or specific time ranges.";
|
|
8
7
|
scheduleId?: string | '';
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeTimeTimer extends NodeBase {
|
|
3
3
|
type: NodeType.TIME_TIMER;
|
|
4
|
-
typeName: "timeTimer";
|
|
5
4
|
handles: ['onNext'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for implementing a timer that triggers after a specified duration, allowing for timed actions or delays in the flow.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from "../Flow";
|
|
2
2
|
export interface NodeTimeWaitUntil extends NodeBase {
|
|
3
3
|
type: NodeType.TIME_WAIT_UNTIL;
|
|
4
|
-
typeName: "timeWaitUntil";
|
|
5
4
|
handles: ['onNext'];
|
|
6
5
|
category: 'action';
|
|
7
6
|
description: "Node for pausing the flow until a specified time or condition is met, allowing for synchronization with external events or schedules.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from '../Flow';
|
|
2
2
|
export interface NodeToolCalculator extends NodeBase {
|
|
3
3
|
type: NodeType.TOOL_GOOGLE_MAPS;
|
|
4
|
-
typeName: "toolCalculator";
|
|
5
4
|
handles: [];
|
|
6
5
|
category: 'tool';
|
|
7
6
|
description: "Tool for performing calculations, such as basic arithmetic operations, complex mathematical functions, or unit conversions.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from '../Flow';
|
|
2
2
|
export interface NodeToolTriiContacts extends NodeBase {
|
|
3
3
|
type: NodeType.TOOL_TRII_CONTACTS;
|
|
4
|
-
typeName: "toolTriiContacts";
|
|
5
4
|
handles: [];
|
|
6
5
|
category: 'tool';
|
|
7
6
|
description: "Tool for managing contacts, such as adding, editing, and searching contacts in Trii Contacts.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from '../Flow';
|
|
2
2
|
export interface NodeToolGoogleCalendar extends NodeBase {
|
|
3
3
|
type: NodeType.TOOL_GOOGLE_CALENDAR;
|
|
4
|
-
typeName: "googleCalendar";
|
|
5
4
|
handles: ['onNext'];
|
|
6
5
|
category: 'tool';
|
|
7
6
|
description: "Tool for interacting with Google Calendar, allowing for event management such as adding, editing, and deleting events.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from '../Flow';
|
|
2
2
|
export interface NodeToolMapsCheckPolygon extends NodeBase {
|
|
3
3
|
type: NodeType.TOOL_MAPS_CHECK_POLYGON;
|
|
4
|
-
typeName: "mapsCheckPolygon";
|
|
5
4
|
handles: [];
|
|
6
5
|
category: 'tool';
|
|
7
6
|
description: "Check if a point is inside a polygon defined by its ID. Useful for geofencing and location-based services.";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { NodeBase, NodeType } from '../Flow';
|
|
2
2
|
export interface NodeToolMcpClient extends NodeBase {
|
|
3
3
|
type: NodeType.TOOL_MCP_CLIENT;
|
|
4
|
-
typeName: "toolMcpClient";
|
|
5
4
|
handles: [];
|
|
6
5
|
category: 'tool';
|
|
7
6
|
description: "Tool for MCP Client operations, such as sending messages or managing conversations.";
|