@trii/types 2.10.676 → 2.10.677
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/{src/AI/Map.d.ts → AI/MapPolygon.d.ts} +10 -1
- package/dist/Chats/Chat.d.ts +61 -0
- package/dist/Chats/Chat.js +28 -0
- package/dist/Common/Channels/Channel.d.ts +9 -0
- package/dist/Contacts/contacts.d.ts +2 -2
- package/dist/Conversations/Assignment.d.ts +81 -0
- package/dist/Conversations/Assignment.js +4 -0
- package/dist/Conversations/Conversation.d.ts +233 -53
- package/dist/Conversations/Conversation.js +14 -34
- package/dist/Conversations/DashBoard/dashboard.d.ts +2 -2
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeAIChatBot.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeApi.js +183 -0
- package/dist/Conversations/Flows/Nodes/NodeBotIA.d.ts +15 -0
- package/dist/{src/Common/Channels/Sip.js → Conversations/Flows/Nodes/NodeBotIA.js} +3 -3
- package/dist/Conversations/Flows/Nodes/NodeChatBotIA.d.ts +15 -0
- package/dist/Conversations/Flows/Nodes/NodeChatBotIA.js +6 -0
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +1 -0
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +9 -0
- package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.d.ts +20 -0
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.d.ts +12 -0
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.js +6 -0
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.d.ts +15 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgReply.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgSend.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +1 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +27 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeStart.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +0 -0
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +0 -0
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.js +37 -0
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.js +59 -0
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.js +45 -0
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.js +87 -0
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.d.ts +1 -0
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.js +52 -0
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.js +59 -0
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.js +45 -0
- package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.d.ts +2 -0
- package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.js +81 -0
- package/dist/Conversations/Flows/Nodes/index.d.ts +24 -0
- package/dist/Conversations/Flows/Nodes/index.js +40 -0
- package/dist/Conversations/Groups/Group.d.ts +2 -9
- package/dist/Conversations/Groups/Group.js +0 -6
- package/dist/Conversations/InboxMongo.d.ts +154 -0
- package/dist/Conversations/InboxMongo.js +128 -0
- package/dist/Conversations/InboxProjection.d.ts +162 -0
- package/dist/Conversations/Label.d.ts +1 -1
- package/dist/Conversations/Outbox.d.ts +24 -0
- package/dist/Conversations/Outbox.js +4 -0
- package/dist/Conversations/Queue.d.ts +66 -0
- package/dist/Conversations/Queue.js +4 -0
- package/dist/Conversations/Routing.d.ts +163 -0
- package/dist/Conversations/Transfer.d.ts +73 -0
- package/dist/Conversations/WebHook.d.ts +1 -1
- package/dist/Conversations/index.d.ts +7 -1
- package/dist/Conversations/index.js +7 -1
- package/dist/Presence/ChannelRoutingState.d.ts +17 -0
- package/dist/Presence/ChannelRoutingState.js +9 -0
- package/dist/Presence/QueueParticipation.d.ts +2 -2
- package/dist/Presence/QueueRoutingState.d.ts +2 -2
- package/dist/Spaces/spaces.d.ts +2 -2
- package/dist/Tickets/AccessLevel.d.ts +5 -0
- package/dist/Tickets/AccessLevel.js +9 -0
- package/dist/index.d.ts +22 -22
- package/dist/index.js +58 -58
- package/package.json +1 -1
- package/dist/src/AI/Credential.d.ts +0 -13
- package/dist/src/AI/Documents/Document.d.ts +0 -36
- package/dist/src/AI/Documents/Document.js +0 -15
- package/dist/src/AI/Documents/Store.d.ts +0 -25
- package/dist/src/AI/Documents/Store.js +0 -10
- package/dist/src/AI/Provider.d.ts +0 -6
- package/dist/src/AI/Threads/API.d.ts +0 -55
- package/dist/src/AI/Threads/Message.d.ts +0 -61
- package/dist/src/AI/Threads/Thread.d.ts +0 -22
- package/dist/src/AI/Threads/index.d.ts +0 -3
- package/dist/src/AI/Threads/index.js +0 -19
- package/dist/src/AI/aiModuleStatus.d.ts +0 -3
- package/dist/src/AI/index.d.ts +0 -4
- package/dist/src/AI/index.js +0 -20
- package/dist/src/Accounts/accounts.d.ts +0 -88
- package/dist/src/Accounts/accounts.js +0 -24
- package/dist/src/Accounts/device.d.ts +0 -31
- package/dist/src/Accounts/device.js +0 -19
- package/dist/src/Accounts/index.d.ts +0 -2
- package/dist/src/Accounts/index.js +0 -18
- package/dist/src/ApiResponses/index.d.ts +0 -9
- package/dist/src/ApiResponses/index.js +0 -2
- package/dist/src/AuditLogs/auditLog.d.ts +0 -9
- package/dist/src/AuditLogs/auditLog.js +0 -2
- package/dist/src/AuditLogs/auditLogType.d.ts +0 -5
- package/dist/src/AuditLogs/auditLogType.js +0 -9
- package/dist/src/AuditLogs/index.d.ts +0 -2
- package/dist/src/AuditLogs/index.js +0 -18
- package/dist/src/Calendar/Calendar.d.ts +0 -18
- package/dist/src/Calendar/Calendar.js +0 -2
- package/dist/src/Calendar/Common.d.ts +0 -77
- package/dist/src/Calendar/Common.js +0 -16
- package/dist/src/Calendar/Event.d.ts +0 -64
- package/dist/src/Calendar/Event.js +0 -16
- package/dist/src/Calendar/Events.d.ts +0 -61
- package/dist/src/Calendar/Events.js +0 -5
- package/dist/src/Calendar/Task.d.ts +0 -12
- package/dist/src/Calendar/Task.js +0 -2
- package/dist/src/Calendar/Tasks.d.ts +0 -18
- package/dist/src/Calendar/Tasks.js +0 -5
- package/dist/src/Calendar/index.d.ts +0 -3
- package/dist/src/Calendar/index.js +0 -19
- package/dist/src/Calls/Audio.d.ts +0 -17
- package/dist/src/Calls/Audio.js +0 -8
- package/dist/src/Calls/Call.d.ts +0 -59
- package/dist/src/Calls/Call.js +0 -25
- package/dist/src/Calls/Codecs.d.ts +0 -5
- package/dist/src/Calls/Codecs.js +0 -21
- package/dist/src/Calls/Extension.d.ts +0 -24
- package/dist/src/Calls/Extension.js +0 -2
- package/dist/src/Calls/Options.d.ts +0 -5
- package/dist/src/Calls/Options.js +0 -2
- package/dist/src/Calls/Queue.d.ts +0 -52
- package/dist/src/Calls/Queue.js +0 -12
- package/dist/src/Calls/RingGroup.d.ts +0 -46
- package/dist/src/Calls/RingGroup.js +0 -27
- package/dist/src/Calls/Transport.d.ts +0 -6
- package/dist/src/Calls/Transport.js +0 -11
- package/dist/src/Calls/Trunk.d.ts +0 -31
- package/dist/src/Calls/Trunk.js +0 -2
- package/dist/src/Calls/index.d.ts +0 -6
- package/dist/src/Calls/index.js +0 -22
- package/dist/src/Collections/Api.d.ts +0 -41
- package/dist/src/Collections/Api.js +0 -2
- package/dist/src/Collections/Commission.d.ts +0 -52
- package/dist/src/Collections/Commission.js +0 -10
- package/dist/src/Collections/Common.d.ts +0 -78
- package/dist/src/Collections/Common.js +0 -39
- package/dist/src/Collections/Dashboard.d.ts +0 -27
- package/dist/src/Collections/Dashboard.js +0 -2
- package/dist/src/Collections/Debt.d.ts +0 -97
- package/dist/src/Collections/Debt.js +0 -12
- package/dist/src/Collections/Interest.d.ts +0 -38
- package/dist/src/Collections/Interest.js +0 -25
- package/dist/src/Collections/Payment.d.ts +0 -87
- package/dist/src/Collections/Payment.js +0 -21
- package/dist/src/Collections/PaymentPlan.d.ts +0 -87
- package/dist/src/Collections/PaymentPlan.js +0 -21
- package/dist/src/Collections/PaymentPlanConfiguration.d.ts +0 -100
- package/dist/src/Collections/PaymentPlanConfiguration.js +0 -34
- package/dist/src/Collections/Portfolio.d.ts +0 -52
- package/dist/src/Collections/Portfolio.js +0 -12
- package/dist/src/Collections/Promise.d.ts +0 -49
- package/dist/src/Collections/Promise.js +0 -25
- package/dist/src/Collections/index.d.ts +0 -11
- package/dist/src/Collections/index.js +0 -27
- package/dist/src/Common/API/AuthApiKey.d.ts +0 -5
- package/dist/src/Common/API/AuthApiKey.js +0 -2
- package/dist/src/Common/API/AuthBasic.d.ts +0 -4
- package/dist/src/Common/API/AuthBasic.js +0 -2
- package/dist/src/Common/API/AuthBearer.d.ts +0 -5
- package/dist/src/Common/API/AuthBearer.js +0 -2
- package/dist/src/Common/API/AuthType.d.ts +0 -6
- package/dist/src/Common/API/AuthType.js +0 -10
- package/dist/src/Common/API/Method.d.ts +0 -4
- package/dist/src/Common/API/Method.js +0 -8
- package/dist/src/Common/API/index.d.ts +0 -5
- package/dist/src/Common/API/index.js +0 -21
- package/dist/src/Common/Channels/Channel.d.ts +0 -99
- package/dist/src/Common/Channels/Channel.js +0 -20
- package/dist/src/Common/Channels/ChannelAccount.d.ts +0 -35
- package/dist/src/Common/Channels/ChannelAccount.js +0 -17
- package/dist/src/Common/Channels/ChannelType.d.ts +0 -24
- package/dist/src/Common/Channels/ChannelType.js +0 -28
- package/dist/src/Common/Channels/Email.d.ts +0 -62
- package/dist/src/Common/Channels/Email.js +0 -36
- package/dist/src/Common/Channels/Facebook.d.ts +0 -25
- package/dist/src/Common/Channels/Facebook.js +0 -6
- package/dist/src/Common/Channels/Form.d.ts +0 -118
- package/dist/src/Common/Channels/Form.js +0 -32
- package/dist/src/Common/Channels/GoogleBusiness.d.ts +0 -20
- package/dist/src/Common/Channels/GoogleBusiness.js +0 -9
- package/dist/src/Common/Channels/Instagram.d.ts +0 -29
- package/dist/src/Common/Channels/Instagram.js +0 -14
- package/dist/src/Common/Channels/MercadoLibre.d.ts +0 -27
- package/dist/src/Common/Channels/MercadoLibre.js +0 -9
- package/dist/src/Common/Channels/Pbx.d.ts +0 -2
- package/dist/src/Common/Channels/Pbx.js +0 -6
- package/dist/src/Common/Channels/Permission.d.ts +0 -6
- package/dist/src/Common/Channels/Permission.js +0 -6
- package/dist/src/Common/Channels/RCS.d.ts +0 -37
- package/dist/src/Common/Channels/RCS.js +0 -9
- package/dist/src/Common/Channels/Sip.d.ts +0 -2
- package/dist/src/Common/Channels/Sms.d.ts +0 -46
- package/dist/src/Common/Channels/Sms.js +0 -16
- package/dist/src/Common/Channels/WebChat.d.ts +0 -62
- package/dist/src/Common/Channels/WebChat.js +0 -19
- package/dist/src/Common/Channels/WhatsApp.d.ts +0 -89
- package/dist/src/Common/Channels/WhatsApp.js +0 -18
- package/dist/src/Common/Channels/index.d.ts +0 -16
- package/dist/src/Common/Channels/index.js +0 -32
- package/dist/src/Common/EventsQueue/Data/postComment.d.ts +0 -26
- package/dist/src/Common/EventsQueue/Data/postComment.js +0 -2
- package/dist/src/Common/EventsQueue/EmailTemplate.d.ts +0 -10
- package/dist/src/Common/EventsQueue/EmailTemplate.js +0 -2
- package/dist/src/Common/EventsQueue/EventQueue.d.ts +0 -13
- package/dist/src/Common/EventsQueue/EventQueue.js +0 -2
- package/dist/src/Common/EventsQueue/UserUpdate.d.ts +0 -8
- package/dist/src/Common/EventsQueue/UserUpdate.js +0 -2
- package/dist/src/Common/EventsQueue/index.d.ts +0 -3
- package/dist/src/Common/EventsQueue/index.js +0 -19
- package/dist/src/Common/Logs/Log.d.ts +0 -18
- package/dist/src/Common/Logs/Log.js +0 -13
- package/dist/src/Common/Logs/index.d.ts +0 -1
- package/dist/src/Common/Logs/index.js +0 -17
- package/dist/src/Common/Messages/MediaFile.d.ts +0 -5
- package/dist/src/Common/Messages/MediaFile.js +0 -2
- package/dist/src/Common/Messages/Message.d.ts +0 -423
- package/dist/src/Common/Messages/Message.js +0 -62
- package/dist/src/Common/Messages/Template.d.ts +0 -86
- package/dist/src/Common/Messages/Template.js +0 -26
- package/dist/src/Common/Messages/index.d.ts +0 -3
- package/dist/src/Common/Messages/index.js +0 -19
- package/dist/src/Common/Notifications/Notification.d.ts +0 -19
- package/dist/src/Common/Notifications/Notification.js +0 -10
- package/dist/src/Common/Notifications/UserNotificationsConfig.d.ts +0 -33
- package/dist/src/Common/Notifications/UserNotificationsConfig.js +0 -18
- package/dist/src/Common/Notifications/index.d.ts +0 -2
- package/dist/src/Common/Notifications/index.js +0 -18
- package/dist/src/Common/Schedules/Schedules.d.ts +0 -32
- package/dist/src/Common/Schedules/Schedules.js +0 -2
- package/dist/src/Common/Schedules/index.d.ts +0 -1
- package/dist/src/Common/Schedules/index.js +0 -17
- package/dist/src/Common/index.d.ts +0 -6
- package/dist/src/Common/index.js +0 -42
- package/dist/src/Contacts/DuplicateContact.d.ts +0 -11
- package/dist/src/Contacts/DuplicateContact.js +0 -2
- package/dist/src/Contacts/File.d.ts +0 -17
- package/dist/src/Contacts/File.js +0 -2
- package/dist/src/Contacts/Import.d.ts +0 -18
- package/dist/src/Contacts/Import.js +0 -2
- package/dist/src/Contacts/Label.d.ts +0 -9
- package/dist/src/Contacts/Label.js +0 -2
- package/dist/src/Contacts/Note.d.ts +0 -15
- package/dist/src/Contacts/Note.js +0 -2
- package/dist/src/Contacts/Relationship.d.ts +0 -28
- package/dist/src/Contacts/Relationship.js +0 -16
- package/dist/src/Contacts/contacts.d.ts +0 -269
- package/dist/src/Contacts/contacts.js +0 -54
- package/dist/src/Contacts/index.d.ts +0 -9
- package/dist/src/Contacts/index.js +0 -25
- package/dist/src/Contacts/options.d.ts +0 -5
- package/dist/src/Contacts/options.js +0 -2
- package/dist/src/Contacts/segments.d.ts +0 -52
- package/dist/src/Contacts/segments.js +0 -53
- package/dist/src/Conversations/Conversation.d.ts +0 -167
- package/dist/src/Conversations/Conversation.js +0 -56
- package/dist/src/Conversations/DashBoard/dashboard.d.ts +0 -115
- package/dist/src/Conversations/DashBoard/dashboard.js +0 -65
- package/dist/src/Conversations/DashBoard/dashboardChannels.d.ts +0 -5
- package/dist/src/Conversations/DashBoard/dashboardChannels.js +0 -6
- package/dist/src/Conversations/DashBoard/dashboardForms.d.ts +0 -44
- package/dist/src/Conversations/DashBoard/dashboardForms.js +0 -24
- package/dist/src/Conversations/DashBoard/dashboardMessages.d.ts +0 -13
- package/dist/src/Conversations/DashBoard/dashboardMessages.js +0 -9
- package/dist/src/Conversations/Ending.d.ts +0 -17
- package/dist/src/Conversations/Ending.js +0 -2
- package/dist/src/Conversations/Flows/Definitions.d.ts +0 -10
- package/dist/src/Conversations/Flows/Definitions.js +0 -2
- package/dist/src/Conversations/Flows/Flow.d.ts +0 -222
- package/dist/src/Conversations/Flows/Flow.js +0 -50
- package/dist/src/Conversations/Flows/FlowInfo.d.ts +0 -9
- package/dist/src/Conversations/Flows/FlowInfo.js +0 -2
- package/dist/src/Conversations/Flows/Workflows/Workflow.d.ts +0 -179
- package/dist/src/Conversations/Flows/Workflows/Workflow.js +0 -48
- package/dist/src/Conversations/Flows/Workflows/index.d.ts +0 -1
- package/dist/src/Conversations/Flows/Workflows/index.js +0 -17
- package/dist/src/Conversations/Flows/index.d.ts +0 -4
- package/dist/src/Conversations/Flows/index.js +0 -20
- package/dist/src/Conversations/Groups/Group.d.ts +0 -23
- package/dist/src/Conversations/Groups/Group.js +0 -8
- package/dist/src/Conversations/Label.d.ts +0 -10
- package/dist/src/Conversations/Label.js +0 -2
- package/dist/src/Conversations/QuickResponse.d.ts +0 -34
- package/dist/src/Conversations/QuickResponse.js +0 -2
- package/dist/src/Conversations/SocialWalls.d.ts +0 -72
- package/dist/src/Conversations/SocialWalls.js +0 -2
- package/dist/src/Conversations/Survey.d.ts +0 -19
- package/dist/src/Conversations/Survey.js +0 -9
- package/dist/src/Conversations/WebHook.d.ts +0 -22
- package/dist/src/Conversations/WebHook.js +0 -2
- package/dist/src/Conversations/index.d.ts +0 -13
- package/dist/src/Conversations/index.js +0 -52
- package/dist/src/Docs/Document.d.ts +0 -58
- package/dist/src/Docs/Document.js +0 -29
- package/dist/src/Docs/Store.d.ts +0 -37
- package/dist/src/Docs/Store.js +0 -17
- package/dist/src/Docs/index.d.ts +0 -2
- package/dist/src/Docs/index.js +0 -18
- package/dist/src/Marketing/Campaign.d.ts +0 -69
- package/dist/src/Marketing/Campaign.js +0 -30
- package/dist/src/Marketing/Dashboard.d.ts +0 -48
- package/dist/src/Marketing/Dashboard.js +0 -2
- package/dist/src/Marketing/Options.d.ts +0 -12
- package/dist/src/Marketing/Options.js +0 -9
- package/dist/src/Marketing/Template.d.ts +0 -19
- package/dist/src/Marketing/Template.js +0 -8
- package/dist/src/Marketing/index.d.ts +0 -4
- package/dist/src/Marketing/index.js +0 -20
- package/dist/src/PublicAPI/apiKey.d.ts +0 -12
- package/dist/src/PublicAPI/apiKey.js +0 -2
- package/dist/src/Reports/ScheduledReport.d.ts +0 -205
- package/dist/src/Reports/ScheduledReport.js +0 -57
- package/dist/src/Reports/aiReport.d.ts +0 -20
- package/dist/src/Reports/aiReport.js +0 -2
- package/dist/src/Reports/apiResult.d.ts +0 -5
- package/dist/src/Reports/apiResult.js +0 -2
- package/dist/src/Reports/index.d.ts +0 -3
- package/dist/src/Reports/index.js +0 -19
- package/dist/src/Sales/Api.d.ts +0 -40
- package/dist/src/Sales/Api.js +0 -2
- package/dist/src/Sales/Common.d.ts +0 -72
- package/dist/src/Sales/Common.js +0 -31
- package/dist/src/Sales/Dashboard.d.ts +0 -25
- package/dist/src/Sales/Dashboard.js +0 -2
- package/dist/src/Sales/Lead.d.ts +0 -99
- package/dist/src/Sales/Lead.js +0 -8
- package/dist/src/Sales/index.d.ts +0 -4
- package/dist/src/Sales/index.js +0 -20
- package/dist/src/Security/Security.d.ts +0 -5
- package/dist/src/Security/Security.js +0 -2
- package/dist/src/Security/index.d.ts +0 -1
- package/dist/src/Security/index.js +0 -17
- package/dist/src/Shop/Cart/cart.d.ts +0 -19
- package/dist/src/Shop/Cart/cart.js +0 -2
- package/dist/src/Shop/index.d.ts +0 -1
- package/dist/src/Shop/index.js +0 -17
- package/dist/src/Spaces/Dashboard.d.ts +0 -4
- package/dist/src/Spaces/Dashboard.js +0 -2
- package/dist/src/Spaces/index.d.ts +0 -2
- package/dist/src/Spaces/index.js +0 -18
- package/dist/src/Spaces/spaces.d.ts +0 -104
- package/dist/src/Spaces/spaces.js +0 -85
- package/dist/src/Tickets/AI.d.ts +0 -400
- package/dist/src/Tickets/AI.js +0 -113
- package/dist/src/Tickets/AdvancedApi.d.ts +0 -486
- package/dist/src/Tickets/AdvancedApi.js +0 -108
- package/dist/src/Tickets/Api.d.ts +0 -62
- package/dist/src/Tickets/Api.js +0 -8
- package/dist/src/Tickets/Approval.d.ts +0 -139
- package/dist/src/Tickets/Approval.js +0 -30
- package/dist/src/Tickets/Automation.d.ts +0 -237
- package/dist/src/Tickets/Automation.js +0 -74
- package/dist/src/Tickets/Category.d.ts +0 -53
- package/dist/src/Tickets/Category.js +0 -2
- package/dist/src/Tickets/Common.d.ts +0 -90
- package/dist/src/Tickets/Common.js +0 -38
- package/dist/src/Tickets/Conversation.d.ts +0 -68
- package/dist/src/Tickets/Conversation.js +0 -30
- package/dist/src/Tickets/Dashboard.d.ts +0 -408
- package/dist/src/Tickets/Dashboard.js +0 -206
- package/dist/src/Tickets/Fields.d.ts +0 -133
- package/dist/src/Tickets/Fields.js +0 -44
- package/dist/src/Tickets/Layouts.d.ts +0 -63
- package/dist/src/Tickets/Layouts.js +0 -22
- package/dist/src/Tickets/Routing.d.ts +0 -290
- package/dist/src/Tickets/Routing.js +0 -87
- package/dist/src/Tickets/Satisfaction.d.ts +0 -31
- package/dist/src/Tickets/Satisfaction.js +0 -9
- package/dist/src/Tickets/Security.d.ts +0 -302
- package/dist/src/Tickets/Security.js +0 -107
- package/dist/src/Tickets/SelfService.d.ts +0 -255
- package/dist/src/Tickets/SelfService.js +0 -56
- package/dist/src/Tickets/Sla.d.ts +0 -253
- package/dist/src/Tickets/Sla.js +0 -73
- package/dist/src/Tickets/Task.d.ts +0 -122
- package/dist/src/Tickets/Task.js +0 -17
- package/dist/src/Tickets/Ticket.d.ts +0 -133
- package/dist/src/Tickets/Ticket.js +0 -2
- package/dist/src/Tickets/Views.d.ts +0 -77
- package/dist/src/Tickets/Views.js +0 -23
- package/dist/src/Tickets/Workflow.d.ts +0 -109
- package/dist/src/Tickets/Workflow.js +0 -44
- package/dist/src/Tickets/index.d.ts +0 -20
- package/dist/src/Tickets/index.js +0 -36
- package/dist/src/Users/Signature.d.ts +0 -74
- package/dist/src/Users/Signature.js +0 -2
- package/dist/src/Users/UserActivitySummary.d.ts +0 -5
- package/dist/src/Users/UserActivitySummary.js +0 -2
- package/dist/src/Users/UserProfile.d.ts +0 -97
- package/dist/src/Users/UserProfile.js +0 -5
- package/dist/src/Users/UserTrii.d.ts +0 -102
- package/dist/src/Users/UserTrii.js +0 -10
- package/dist/src/Users/UserType.d.ts +0 -10
- package/dist/src/Users/UserType.js +0 -13
- package/dist/src/Users/index.d.ts +0 -5
- package/dist/src/Users/index.js +0 -21
- package/dist/src/index.d.ts +0 -20
- package/dist/src/index.js +0 -56
- /package/dist/{src/AI/Credential.js → AI/MapPolygon.js} +0 -0
- /package/dist/{src/AI/Map.js → Conversations/Flows/Nodes/NodeGoogleCalendar.js} +0 -0
- /package/dist/{src/AI/Provider.js → Conversations/Flows/Nodes/NodeGoogleMaps.js} +0 -0
- /package/dist/{src/AI/Threads/API.js → Conversations/Flows/Nodes/NodeToolGoogleMaps.js} +0 -0
- /package/dist/{src/AI/Threads/Message.js → Conversations/InboxProjection.js} +0 -0
- /package/dist/{src/AI/Threads/Thread.js → Conversations/Routing.js} +0 -0
- /package/dist/{src/AI/aiModuleStatus.js → Conversations/Transfer.js} +0 -0
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultNodeToolGoogleCalendar = void 0;
|
|
4
|
+
const Flow_1 = require("../Flow");
|
|
5
|
+
exports.defaultNodeToolGoogleCalendar = {
|
|
6
|
+
id: "NodeToolGoogleCalendar-{uid}",
|
|
7
|
+
type: Flow_1.NodeType.TOOL_GOOGLE_CALENDAR,
|
|
8
|
+
category: 'tool',
|
|
9
|
+
description: "Tool for interacting with Google Calendar, allowing for event management such as adding, editing, and deleting events.",
|
|
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: "Google Calendar",
|
|
26
|
+
nameKey: 'NODE_TOOL_GOOGLE_CALENDAR',
|
|
27
|
+
enableStatics: false,
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
type: 'string',
|
|
31
|
+
id: 'authCredentialId',
|
|
32
|
+
label: 'Auth Credential ID',
|
|
33
|
+
labelKey: 'NODE_TOOL_GOOGLE_CALENDAR_AUTH_CREDENTIAL_ID',
|
|
34
|
+
optional: false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: 'boolean',
|
|
38
|
+
id: 'eventsAdd',
|
|
39
|
+
label: 'Events Add',
|
|
40
|
+
labelKey: 'NODE_TOOL_GOOGLE_CALENDAR_EVENTS_ADD',
|
|
41
|
+
optional: false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
type: 'boolean',
|
|
45
|
+
id: 'eventsEdit',
|
|
46
|
+
label: 'Events Edit',
|
|
47
|
+
labelKey: 'NODE_TOOL_GOOGLE_CALENDAR_EVENTS_EDIT',
|
|
48
|
+
optional: false
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
type: 'boolean',
|
|
52
|
+
id: 'eventsGet',
|
|
53
|
+
label: 'Events Get',
|
|
54
|
+
labelKey: 'NODE_TOOL_GOOGLE_CALENDAR_EVENTS_GET',
|
|
55
|
+
optional: false
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
type: 'boolean',
|
|
59
|
+
id: 'eventsSearch',
|
|
60
|
+
label: 'Events Search',
|
|
61
|
+
labelKey: 'NODE_TOOL_GOOGLE_CALENDAR_EVENTS_SEARCH',
|
|
62
|
+
optional: false
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
type: 'boolean',
|
|
66
|
+
id: 'eventsDelete',
|
|
67
|
+
label: 'Events Delete',
|
|
68
|
+
labelKey: 'NODE_TOOL_GOOGLE_CALENDAR_EVENTS_DELETE',
|
|
69
|
+
optional: false
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
type: 'boolean',
|
|
73
|
+
id: 'calendarList',
|
|
74
|
+
label: 'Calendar List',
|
|
75
|
+
labelKey: 'NODE_TOOL_GOOGLE_CALENDAR_LIST',
|
|
76
|
+
optional: false
|
|
77
|
+
}
|
|
78
|
+
],
|
|
79
|
+
values: undefined,
|
|
80
|
+
color: '#00bcd4', // Cyan color for the start node
|
|
81
|
+
icon: '',
|
|
82
|
+
badge: undefined,
|
|
83
|
+
hideInput: true,
|
|
84
|
+
hideOutput: false,
|
|
85
|
+
author: '',
|
|
86
|
+
documentation: '',
|
|
87
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultNodeToolKnowledge = void 0;
|
|
4
|
+
const Flow_1 = require("../Flow");
|
|
5
|
+
exports.defaultNodeToolKnowledge = {
|
|
6
|
+
id: "NodeToolKnowledge-{uid}",
|
|
7
|
+
type: Flow_1.NodeType.TOOL_KNOWLEDGE,
|
|
8
|
+
category: 'tool',
|
|
9
|
+
description: "Knowledge Base Tool Node",
|
|
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: "Calculator",
|
|
26
|
+
nameKey: 'NODE_TOOL_CALCULATOR',
|
|
27
|
+
enableStatics: false,
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
type: 'string',
|
|
31
|
+
id: 'knowledgeBaseId',
|
|
32
|
+
label: 'Knowledge Base ID',
|
|
33
|
+
labelKey: 'NODE_TOOL_KNOWLEDGE_BASE_ID',
|
|
34
|
+
optional: false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: 'string',
|
|
38
|
+
id: 'knowledgeBaseName',
|
|
39
|
+
label: 'Knowledge Base Name',
|
|
40
|
+
labelKey: 'NODE_TOOL_KNOWLEDGE_BASE_NAME',
|
|
41
|
+
optional: false
|
|
42
|
+
}
|
|
43
|
+
],
|
|
44
|
+
values: undefined,
|
|
45
|
+
color: '#00bcd4', // Cyan color for the start node
|
|
46
|
+
icon: '',
|
|
47
|
+
badge: undefined,
|
|
48
|
+
hideInput: true,
|
|
49
|
+
hideOutput: false,
|
|
50
|
+
author: '',
|
|
51
|
+
documentation: '',
|
|
52
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultNodeToolMapsCheckPolygon = void 0;
|
|
4
|
+
const Flow_1 = require("../Flow");
|
|
5
|
+
exports.defaultNodeToolMapsCheckPolygon = {
|
|
6
|
+
id: "NodeToolMapsCheckPolygon-{uid}",
|
|
7
|
+
type: Flow_1.NodeType.TOOL_MAPS_CHECK_POLYGON,
|
|
8
|
+
category: 'tool',
|
|
9
|
+
description: "Check if a point is inside a polygon defined by its ID. Useful for geofencing and location-based services.",
|
|
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: "Maps Check Polygon",
|
|
26
|
+
nameKey: 'NODE_TOOL_MAPS_CHECK_POLYGON',
|
|
27
|
+
enableStatics: false,
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
type: 'string',
|
|
31
|
+
id: 'polygonId',
|
|
32
|
+
label: 'Polygon ID',
|
|
33
|
+
labelKey: 'NODE_TOOL_MAPS_CHECK_POLYGON_ID',
|
|
34
|
+
optional: false
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: 'string',
|
|
38
|
+
id: 'polygonName',
|
|
39
|
+
label: 'Polygon Name',
|
|
40
|
+
labelKey: 'NODE_TOOL_MAPS_CHECK_POLYGON_NAME',
|
|
41
|
+
optional: false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
type: 'string',
|
|
45
|
+
id: 'scheduleId',
|
|
46
|
+
label: 'Schedule ID',
|
|
47
|
+
labelKey: 'NODE_TOOL_MAPS_CHECK_POLYGON_SCHEDULE_ID',
|
|
48
|
+
optional: true,
|
|
49
|
+
}
|
|
50
|
+
],
|
|
51
|
+
values: undefined,
|
|
52
|
+
color: '#00bcd4', // Cyan color for the start node
|
|
53
|
+
icon: '',
|
|
54
|
+
badge: undefined,
|
|
55
|
+
hideInput: true,
|
|
56
|
+
hideOutput: false,
|
|
57
|
+
author: '',
|
|
58
|
+
documentation: '',
|
|
59
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultNodeToolMcpClient = void 0;
|
|
4
|
+
const Flow_1 = require("../Flow");
|
|
5
|
+
exports.defaultNodeToolMcpClient = {
|
|
6
|
+
id: "NodeToolMcpClient-{uid}",
|
|
7
|
+
type: Flow_1.NodeType.TOOL_MCP_CLIENT,
|
|
8
|
+
category: 'tool',
|
|
9
|
+
description: "Tool for MCP Client operations, such as sending messages or managing conversations.",
|
|
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: "MCP Client",
|
|
26
|
+
nameKey: 'NODE_TOOL_MCP_CLIENT',
|
|
27
|
+
enableStatics: false,
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
type: 'string',
|
|
31
|
+
id: 'urlServer',
|
|
32
|
+
label: 'MCP Server URL',
|
|
33
|
+
labelKey: 'NODE_TOOL_MCP_CLIENT_URL',
|
|
34
|
+
optional: false
|
|
35
|
+
}
|
|
36
|
+
],
|
|
37
|
+
values: undefined,
|
|
38
|
+
color: '#00bcd4', // Cyan color for the start node
|
|
39
|
+
icon: '',
|
|
40
|
+
badge: undefined,
|
|
41
|
+
hideInput: true,
|
|
42
|
+
hideOutput: false,
|
|
43
|
+
author: '',
|
|
44
|
+
documentation: '',
|
|
45
|
+
};
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.defaultNodeToolShoppingCart = void 0;
|
|
4
|
+
const Flow_1 = require("../Flow");
|
|
5
|
+
exports.defaultNodeToolShoppingCart = {
|
|
6
|
+
id: "NodeToolShoppingCart-{uid}",
|
|
7
|
+
type: Flow_1.NodeType.TOOL_SHOPPING_CART,
|
|
8
|
+
category: 'tool',
|
|
9
|
+
description: "Tool for managing a shopping cart in a conversation 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: "ShoppingCart",
|
|
26
|
+
nameKey: 'NODE_TOOL_SHOPPING_CART_NAME',
|
|
27
|
+
enableStatics: false,
|
|
28
|
+
properties: [
|
|
29
|
+
{
|
|
30
|
+
type: 'multiOptions',
|
|
31
|
+
id: 'generalProperties',
|
|
32
|
+
label: 'General Properties',
|
|
33
|
+
labelKey: 'NODE_TOOL_SHOPPING_CART_GENERAL_PROPERTIES',
|
|
34
|
+
optional: false,
|
|
35
|
+
options: [
|
|
36
|
+
{ id: 'contactName', label: 'Contact Name' },
|
|
37
|
+
{ id: 'shippingAddress', label: 'Shipping Address' },
|
|
38
|
+
{ id: 'sendToHome', label: 'Send to home' }
|
|
39
|
+
]
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
type: 'array',
|
|
43
|
+
id: 'itemProperties',
|
|
44
|
+
label: 'Item Properties',
|
|
45
|
+
labelKey: 'NODE_TOOL_FUNCTION_JAVASCRIPT_CODE',
|
|
46
|
+
optional: false,
|
|
47
|
+
array: [
|
|
48
|
+
{
|
|
49
|
+
type: 'string',
|
|
50
|
+
id: 'name',
|
|
51
|
+
label: 'Name',
|
|
52
|
+
labelKey: 'NODE_TOOL_SHOPPING_CART_ITEM_NAME',
|
|
53
|
+
default: '',
|
|
54
|
+
optional: false
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
type: 'options',
|
|
58
|
+
id: 'valueType',
|
|
59
|
+
label: 'Value Type',
|
|
60
|
+
labelKey: 'NODE_TOOL_SHOPPING_CART_ITEM_VALUE_TYPE',
|
|
61
|
+
optional: false,
|
|
62
|
+
default: 'string',
|
|
63
|
+
options: [
|
|
64
|
+
{ label: 'String', id: 'string' },
|
|
65
|
+
{ label: 'Number', id: 'number' },
|
|
66
|
+
{ label: 'Boolean', id: 'boolean' },
|
|
67
|
+
{ label: 'Date', id: 'date' }
|
|
68
|
+
]
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
}
|
|
72
|
+
],
|
|
73
|
+
values: undefined,
|
|
74
|
+
color: '#00bcd4', // Cyan color for the start node
|
|
75
|
+
icon: '',
|
|
76
|
+
badge: undefined,
|
|
77
|
+
hideInput: true,
|
|
78
|
+
hideOutput: false,
|
|
79
|
+
author: '',
|
|
80
|
+
documentation: '',
|
|
81
|
+
};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from './NodeApi';
|
|
2
|
+
export * from './NodeConditional';
|
|
3
|
+
export * from './NodeContactSearch';
|
|
4
|
+
export * from './NodeContactUpdate';
|
|
5
|
+
export * from './NodeConversationAssignTo';
|
|
6
|
+
export * from './NodeConversationFinalize';
|
|
7
|
+
export * from './NodeConversationUpdate';
|
|
8
|
+
export * from './NodeFillForm';
|
|
9
|
+
export * from './NodeMsgReply';
|
|
10
|
+
export * from './NodeMsgSend';
|
|
11
|
+
export * from './NodeMsgWaitResponse';
|
|
12
|
+
export * from './NodeRedirect';
|
|
13
|
+
export * from './NodeSendEmail';
|
|
14
|
+
export * from './NodeSqlQuery';
|
|
15
|
+
export * from './NodeStart';
|
|
16
|
+
export * from './NodeTimeScheduleControl';
|
|
17
|
+
export * from './NodeTimeTimer';
|
|
18
|
+
export * from './NodeTimeWaitUntil';
|
|
19
|
+
export * from './NodeAIChatBot';
|
|
20
|
+
export * from './NodeToolGoogleCalendar';
|
|
21
|
+
export * from './NodeToolCalculator';
|
|
22
|
+
export * from './NodeToolMapsCheckPolygon';
|
|
23
|
+
export * from './NodeToolMcpClient';
|
|
24
|
+
export * from './NodeToolKnowledge';
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./NodeApi"), exports);
|
|
18
|
+
__exportStar(require("./NodeConditional"), exports);
|
|
19
|
+
__exportStar(require("./NodeContactSearch"), exports);
|
|
20
|
+
__exportStar(require("./NodeContactUpdate"), exports);
|
|
21
|
+
__exportStar(require("./NodeConversationAssignTo"), exports);
|
|
22
|
+
__exportStar(require("./NodeConversationFinalize"), exports);
|
|
23
|
+
__exportStar(require("./NodeConversationUpdate"), exports);
|
|
24
|
+
__exportStar(require("./NodeFillForm"), exports);
|
|
25
|
+
__exportStar(require("./NodeMsgReply"), exports);
|
|
26
|
+
__exportStar(require("./NodeMsgSend"), exports);
|
|
27
|
+
__exportStar(require("./NodeMsgWaitResponse"), exports);
|
|
28
|
+
__exportStar(require("./NodeRedirect"), exports);
|
|
29
|
+
__exportStar(require("./NodeSendEmail"), exports);
|
|
30
|
+
__exportStar(require("./NodeSqlQuery"), exports);
|
|
31
|
+
__exportStar(require("./NodeStart"), exports);
|
|
32
|
+
__exportStar(require("./NodeTimeScheduleControl"), exports);
|
|
33
|
+
__exportStar(require("./NodeTimeTimer"), exports);
|
|
34
|
+
__exportStar(require("./NodeTimeWaitUntil"), exports);
|
|
35
|
+
__exportStar(require("./NodeAIChatBot"), exports);
|
|
36
|
+
__exportStar(require("./NodeToolGoogleCalendar"), exports);
|
|
37
|
+
__exportStar(require("./NodeToolCalculator"), exports);
|
|
38
|
+
__exportStar(require("./NodeToolMapsCheckPolygon"), exports);
|
|
39
|
+
__exportStar(require("./NodeToolMcpClient"), exports);
|
|
40
|
+
__exportStar(require("./NodeToolKnowledge"), exports);
|
|
@@ -1,24 +1,17 @@
|
|
|
1
1
|
import { UserInfo } from "../../Users/UserTrii";
|
|
2
|
-
interface IGroup {
|
|
2
|
+
export interface IGroup {
|
|
3
3
|
id?: string | null;
|
|
4
4
|
spaceId?: string | null;
|
|
5
5
|
name?: string | null;
|
|
6
6
|
color?: string | null;
|
|
7
7
|
description?: string | null;
|
|
8
8
|
users: UserInfo[];
|
|
9
|
-
maxCapacity?: number | null;
|
|
10
|
-
distributionMethod: Group_DistributionMethod;
|
|
11
9
|
createdAt?: string | null;
|
|
12
10
|
updatedAt?: string | null;
|
|
13
11
|
deletedAt?: string | null;
|
|
14
12
|
}
|
|
15
|
-
interface GroupInfo {
|
|
13
|
+
export interface GroupInfo {
|
|
16
14
|
id?: string | null;
|
|
17
15
|
name?: string | null;
|
|
18
16
|
color?: string | null;
|
|
19
17
|
}
|
|
20
|
-
declare enum Group_DistributionMethod {
|
|
21
|
-
All = 0,
|
|
22
|
-
FIFO = 1
|
|
23
|
-
}
|
|
24
|
-
export { IGroup, GroupInfo, Group_DistributionMethod };
|
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Group_DistributionMethod = void 0;
|
|
4
|
-
var Group_DistributionMethod;
|
|
5
|
-
(function (Group_DistributionMethod) {
|
|
6
|
-
Group_DistributionMethod[Group_DistributionMethod["All"] = 0] = "All";
|
|
7
|
-
Group_DistributionMethod[Group_DistributionMethod["FIFO"] = 1] = "FIFO";
|
|
8
|
-
})(Group_DistributionMethod || (exports.Group_DistributionMethod = Group_DistributionMethod = {}));
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
import { ID, InboxViewId } from './Conversation';
|
|
2
|
+
export declare const CONVERSATION_SUBSCRIPTIONS_COLLECTION = "conversation_subscriptions";
|
|
3
|
+
export declare const USER_INBOX_ITEMS_COLLECTION = "user_inbox_items";
|
|
4
|
+
export declare const USER_INBOX_COUNTERS_COLLECTION = "user_inbox_counters";
|
|
5
|
+
export declare const INBOX_PROCESSOR_RECEIPTS_COLLECTION = "inbox_processor_receipts";
|
|
6
|
+
/**
|
|
7
|
+
* MongoDB indexes for conversation_subscriptions.
|
|
8
|
+
*
|
|
9
|
+
* The unique index enforces one current subscription state per
|
|
10
|
+
* user/conversation. The follower index resolves the active followers that
|
|
11
|
+
* InboxAudienceResolver receives as input.
|
|
12
|
+
*/
|
|
13
|
+
export declare const CONVERSATION_SUBSCRIPTION_INDEXES: readonly [{
|
|
14
|
+
readonly name: "uq_subscription_user_conversation";
|
|
15
|
+
readonly key: {
|
|
16
|
+
readonly spaceId: 1;
|
|
17
|
+
readonly userId: 1;
|
|
18
|
+
readonly conversationId: 1;
|
|
19
|
+
};
|
|
20
|
+
readonly unique: true;
|
|
21
|
+
}, {
|
|
22
|
+
readonly name: "ix_subscription_conversation_followers";
|
|
23
|
+
readonly key: {
|
|
24
|
+
readonly spaceId: 1;
|
|
25
|
+
readonly conversationId: 1;
|
|
26
|
+
readonly status: 1;
|
|
27
|
+
readonly userId: 1;
|
|
28
|
+
};
|
|
29
|
+
}];
|
|
30
|
+
/**
|
|
31
|
+
* MongoDB indexes for user_inbox_items.
|
|
32
|
+
*
|
|
33
|
+
* views.viewId is the only array field in each compound index. Do not add
|
|
34
|
+
* views.visibilityReasons to these indexes: MongoDB compound multikey indexes
|
|
35
|
+
* must not combine multiple array paths.
|
|
36
|
+
*/
|
|
37
|
+
export declare const USER_INBOX_ITEM_INDEXES: readonly [{
|
|
38
|
+
readonly name: "uq_inbox_item_user_conversation";
|
|
39
|
+
readonly key: {
|
|
40
|
+
readonly spaceId: 1;
|
|
41
|
+
readonly userId: 1;
|
|
42
|
+
readonly conversationId: 1;
|
|
43
|
+
};
|
|
44
|
+
readonly unique: true;
|
|
45
|
+
}, {
|
|
46
|
+
readonly name: "ix_inbox_view_activity";
|
|
47
|
+
readonly key: {
|
|
48
|
+
readonly spaceId: 1;
|
|
49
|
+
readonly userId: 1;
|
|
50
|
+
readonly 'views.viewId': 1;
|
|
51
|
+
readonly pinned: -1;
|
|
52
|
+
readonly sortAt: -1;
|
|
53
|
+
readonly id: -1;
|
|
54
|
+
};
|
|
55
|
+
}, {
|
|
56
|
+
readonly name: "ix_inbox_view_priority";
|
|
57
|
+
readonly key: {
|
|
58
|
+
readonly spaceId: 1;
|
|
59
|
+
readonly userId: 1;
|
|
60
|
+
readonly 'views.viewId': 1;
|
|
61
|
+
readonly pinned: -1;
|
|
62
|
+
readonly priorityScore: -1;
|
|
63
|
+
readonly sortAt: -1;
|
|
64
|
+
readonly id: -1;
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
readonly name: "ix_inbox_view_status_activity";
|
|
68
|
+
readonly key: {
|
|
69
|
+
readonly spaceId: 1;
|
|
70
|
+
readonly userId: 1;
|
|
71
|
+
readonly 'views.viewId': 1;
|
|
72
|
+
readonly 'snapshot.status': 1;
|
|
73
|
+
readonly sortAt: -1;
|
|
74
|
+
readonly id: -1;
|
|
75
|
+
};
|
|
76
|
+
}, {
|
|
77
|
+
readonly name: "ix_inbox_view_queue_activity";
|
|
78
|
+
readonly key: {
|
|
79
|
+
readonly spaceId: 1;
|
|
80
|
+
readonly userId: 1;
|
|
81
|
+
readonly 'views.viewId': 1;
|
|
82
|
+
readonly 'snapshot.queueId': 1;
|
|
83
|
+
readonly sortAt: -1;
|
|
84
|
+
readonly id: -1;
|
|
85
|
+
};
|
|
86
|
+
}];
|
|
87
|
+
/**
|
|
88
|
+
* MongoDB indexes for user_inbox_counters.
|
|
89
|
+
*
|
|
90
|
+
* The unique index also serves reads for all views of a user through its
|
|
91
|
+
* spaceId + userId prefix.
|
|
92
|
+
*/
|
|
93
|
+
export declare const USER_INBOX_COUNTER_INDEXES: readonly [{
|
|
94
|
+
readonly name: "uq_inbox_counter_user_view";
|
|
95
|
+
readonly key: {
|
|
96
|
+
readonly spaceId: 1;
|
|
97
|
+
readonly userId: 1;
|
|
98
|
+
readonly viewId: 1;
|
|
99
|
+
};
|
|
100
|
+
readonly unique: true;
|
|
101
|
+
}];
|
|
102
|
+
/**
|
|
103
|
+
* MongoDB indexes for durable processor idempotency receipts.
|
|
104
|
+
*/
|
|
105
|
+
export declare const INBOX_PROCESSOR_RECEIPT_INDEXES: readonly [{
|
|
106
|
+
readonly name: "uq_inbox_processor_source_scope";
|
|
107
|
+
readonly key: {
|
|
108
|
+
readonly processor: 1;
|
|
109
|
+
readonly sourceEventId: 1;
|
|
110
|
+
readonly scopeKey: 1;
|
|
111
|
+
};
|
|
112
|
+
readonly unique: true;
|
|
113
|
+
}];
|
|
114
|
+
export type InboxPaginationSort = 'activity' | 'priority';
|
|
115
|
+
/**
|
|
116
|
+
* Seek-pagination cursor matching ix_inbox_view_activity.
|
|
117
|
+
*/
|
|
118
|
+
export interface InboxActivityCursor {
|
|
119
|
+
sort: 'activity';
|
|
120
|
+
pinned: boolean;
|
|
121
|
+
sortAt: Date;
|
|
122
|
+
id: ID;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* Seek-pagination cursor matching ix_inbox_view_priority.
|
|
126
|
+
*/
|
|
127
|
+
export interface InboxPriorityCursor {
|
|
128
|
+
sort: 'priority';
|
|
129
|
+
pinned: boolean;
|
|
130
|
+
priorityScore: number;
|
|
131
|
+
sortAt: Date;
|
|
132
|
+
id: ID;
|
|
133
|
+
}
|
|
134
|
+
export type InboxPaginationCursor = InboxActivityCursor | InboxPriorityCursor;
|
|
135
|
+
/**
|
|
136
|
+
* Query contract for one logical inbox view.
|
|
137
|
+
*
|
|
138
|
+
* Implementations must use seek pagination with cursor; skip pagination is not
|
|
139
|
+
* compatible with frequently changing sortAt values.
|
|
140
|
+
*/
|
|
141
|
+
interface InboxPageQueryBase {
|
|
142
|
+
spaceId: ID;
|
|
143
|
+
userId: ID;
|
|
144
|
+
viewId: InboxViewId;
|
|
145
|
+
limit: number;
|
|
146
|
+
}
|
|
147
|
+
export type InboxPageQuery = InboxPageQueryBase & {
|
|
148
|
+
sort: 'activity';
|
|
149
|
+
cursor?: InboxActivityCursor;
|
|
150
|
+
} | InboxPageQueryBase & {
|
|
151
|
+
sort: 'priority';
|
|
152
|
+
cursor?: InboxPriorityCursor;
|
|
153
|
+
};
|
|
154
|
+
export {};
|