@trii/types 2.10.711 → 2.10.713
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/Tickets/AdvancedApi.d.ts +60 -0
- package/dist/Tickets/AdvancedApi.js +12 -1
- package/dist/Tickets/Sla.d.ts +24 -0
- package/package.json +12 -12
- package/dist/AI/MapPolygon.d.ts +0 -22
- package/dist/AI/MapPolygon.js +0 -2
- package/dist/Conversations/DashBoard/dashboardForms.d.ts +0 -44
- package/dist/Conversations/DashBoard/dashboardForms.js +0 -24
- 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 +0 -2
- package/dist/Conversations/Flows/Nodes/NodeApi.js +0 -183
- package/dist/Conversations/Flows/Nodes/NodeBotIA.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeBotIA.js +0 -6
- package/dist/Conversations/Flows/Nodes/NodeChatBotIA.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeChatBotIA.js +0 -6
- 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 +0 -1
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +0 -9
- package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.d.ts +0 -20
- package/dist/Conversations/Flows/Nodes/NodeGoogleCalendar.js +0 -2
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.d.ts +0 -12
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps copy.js +0 -6
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.d.ts +0 -15
- package/dist/Conversations/Flows/Nodes/NodeGoogleMaps.js +0 -2
- 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 +0 -1
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +0 -27
- 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 +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolCalculator.js +0 -37
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolContacts.js +0 -59
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolFunction.js +0 -45
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleCalendar.js +0 -87
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.d.ts +0 -1
- package/dist/Conversations/Flows/Nodes/NodeToolGoogleMaps.js +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolKnowledge.js +0 -52
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolMapsCheckPolygon.js +0 -59
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolMcpClient.js +0 -45
- package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.d.ts +0 -2
- package/dist/Conversations/Flows/Nodes/NodeToolShoppingCart.js +0 -81
- package/dist/Conversations/Flows/Nodes/index.d.ts +0 -24
- package/dist/Conversations/Flows/Nodes/index.js +0 -40
- package/dist/Conversations/InboxCounters.d.ts +0 -18
- package/dist/Conversations/InboxCounters.js +0 -2
- package/dist/Presence/ChannelRoutingState.d.ts +0 -17
- package/dist/Presence/ChannelRoutingState.js +0 -9
- package/dist/Tickets/AccessLevel.d.ts +0 -5
- package/dist/Tickets/AccessLevel.js +0 -9
- package/dist/src/AI/Credential.d.ts +0 -13
- package/dist/src/AI/Credential.js +0 -2
- 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/Map.d.ts +0 -13
- package/dist/src/AI/Map.js +0 -2
- package/dist/src/AI/Provider.d.ts +0 -6
- package/dist/src/AI/Provider.js +0 -2
- package/dist/src/AI/Threads/API.d.ts +0 -55
- package/dist/src/AI/Threads/API.js +0 -2
- package/dist/src/AI/Threads/Message.d.ts +0 -61
- package/dist/src/AI/Threads/Message.js +0 -2
- package/dist/src/AI/Threads/Thread.d.ts +0 -22
- package/dist/src/AI/Threads/Thread.js +0 -2
- 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/aiModuleStatus.js +0 -2
- 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/Automations/Capabilities/Capability.d.ts +0 -48
- package/dist/src/Automations/Capabilities/Capability.js +0 -9
- package/dist/src/Automations/Capabilities/index.d.ts +0 -1
- package/dist/src/Automations/Capabilities/index.js +0 -17
- package/dist/src/Automations/Common.d.ts +0 -47
- package/dist/src/Automations/Common.js +0 -18
- package/dist/src/Automations/Events/Event.d.ts +0 -41
- package/dist/src/Automations/Events/Event.js +0 -2
- package/dist/src/Automations/Events/index.d.ts +0 -1
- package/dist/src/Automations/Events/index.js +0 -17
- package/dist/src/Automations/Executions/Execution.d.ts +0 -114
- package/dist/src/Automations/Executions/Execution.js +0 -23
- package/dist/src/Automations/Executions/index.d.ts +0 -1
- package/dist/src/Automations/Executions/index.js +0 -17
- package/dist/src/Automations/Flows/Canvas.d.ts +0 -86
- package/dist/src/Automations/Flows/Canvas.js +0 -34
- package/dist/src/Automations/Flows/Flow.d.ts +0 -102
- package/dist/src/Automations/Flows/Flow.js +0 -34
- package/dist/src/Automations/Flows/Requests.d.ts +0 -71
- package/dist/src/Automations/Flows/Requests.js +0 -2
- package/dist/src/Automations/Flows/Validation.d.ts +0 -28
- package/dist/src/Automations/Flows/Validation.js +0 -9
- package/dist/src/Automations/Flows/index.d.ts +0 -4
- package/dist/src/Automations/Flows/index.js +0 -20
- package/dist/src/Automations/Nodes/Node.d.ts +0 -75
- package/dist/src/Automations/Nodes/Node.js +0 -18
- package/dist/src/Automations/Nodes/index.d.ts +0 -1
- package/dist/src/Automations/Nodes/index.js +0 -17
- package/dist/src/Automations/index.d.ts +0 -6
- package/dist/src/Automations/index.js +0 -22
- 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/Chats/Chat.d.ts +0 -61
- package/dist/src/Chats/Chat.js +0 -28
- 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 -124
- 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/Sip.js +0 -6
- 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/Assignment.d.ts +0 -81
- package/dist/src/Conversations/Assignment.js +0 -4
- package/dist/src/Conversations/Conversation.d.ts +0 -360
- package/dist/src/Conversations/Conversation.js +0 -36
- 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/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 -336
- package/dist/src/Conversations/Flows/Workflows/Workflow.js +0 -98
- 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 -17
- package/dist/src/Conversations/Groups/Group.js +0 -2
- package/dist/src/Conversations/InboxMongo.d.ts +0 -154
- package/dist/src/Conversations/InboxMongo.js +0 -128
- package/dist/src/Conversations/InboxProjection.d.ts +0 -162
- package/dist/src/Conversations/InboxProjection.js +0 -2
- package/dist/src/Conversations/Label.d.ts +0 -10
- package/dist/src/Conversations/Label.js +0 -2
- package/dist/src/Conversations/Outbox.d.ts +0 -24
- package/dist/src/Conversations/Outbox.js +0 -4
- package/dist/src/Conversations/Queue.d.ts +0 -107
- package/dist/src/Conversations/Queue.js +0 -4
- package/dist/src/Conversations/QuickResponse.d.ts +0 -34
- package/dist/src/Conversations/QuickResponse.js +0 -2
- package/dist/src/Conversations/Routing.d.ts +0 -164
- package/dist/src/Conversations/Routing.js +0 -2
- package/dist/src/Conversations/Sla.d.ts +0 -227
- package/dist/src/Conversations/Sla.js +0 -6
- 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/Transfer.d.ts +0 -73
- package/dist/src/Conversations/Transfer.js +0 -2
- 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 -21
- package/dist/src/Conversations/index.js +0 -60
- 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/Forms/API.d.ts +0 -53
- package/dist/src/Forms/API.js +0 -2
- package/dist/src/Forms/SubmittedForm.d.ts +0 -56
- package/dist/src/Forms/SubmittedForm.js +0 -9
- package/dist/src/Forms/index.d.ts +0 -2
- package/dist/src/Forms/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/Presence/AgentPause.d.ts +0 -24
- package/dist/src/Presence/AgentPause.js +0 -19
- package/dist/src/Presence/QueueParticipation.d.ts +0 -17
- package/dist/src/Presence/QueueParticipation.js +0 -2
- package/dist/src/Presence/QueueRoutingState.d.ts +0 -27
- package/dist/src/Presence/QueueRoutingState.js +0 -9
- package/dist/src/Presence/index.d.ts +0 -3
- package/dist/src/Presence/index.js +0 -19
- 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 -71
- 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 -485
- package/dist/src/Tickets/Dashboard.js +0 -218
- package/dist/src/Tickets/Fields.d.ts +0 -134
- package/dist/src/Tickets/Fields.js +0 -44
- package/dist/src/Tickets/Layouts.d.ts +0 -65
- 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 -129
- 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 -112
- package/dist/src/Users/UserTrii.js +0 -17
- 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 -23
- package/dist/src/index.js +0 -59
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { OutboxEvent } from './Outbox';
|
|
2
|
-
import { AssignmentActorReference, AssignmentStateReference, ConversationAssignmentReason } from './Assignment';
|
|
3
|
-
import { ID } from './Conversation';
|
|
4
|
-
export type TransferConversationReason = Extract<ConversationAssignmentReason, 'manual_transfer' | 'flow_routing' | 'sla_escalation' | 'system_recovery'>;
|
|
5
|
-
export type TransferConversationTarget = {
|
|
6
|
-
type: 'queue';
|
|
7
|
-
queueId: ID;
|
|
8
|
-
} | {
|
|
9
|
-
type: 'user';
|
|
10
|
-
queueId: ID;
|
|
11
|
-
userId: ID;
|
|
12
|
-
};
|
|
13
|
-
export interface TransferConversationCommand {
|
|
14
|
-
commandId: ID;
|
|
15
|
-
spaceId: ID;
|
|
16
|
-
conversationId: ID;
|
|
17
|
-
target: TransferConversationTarget;
|
|
18
|
-
expectedConversationVersion: number;
|
|
19
|
-
actor: AssignmentActorReference;
|
|
20
|
-
reason: TransferConversationReason;
|
|
21
|
-
requestedAt: Date;
|
|
22
|
-
}
|
|
23
|
-
export type TransferConversationRejectionCode = 'conversation_not_found' | 'target_queue_not_found' | 'target_queue_disabled' | 'target_user_not_found' | 'target_user_not_authorized' | 'target_user_not_available' | 'target_user_has_no_capacity' | 'channel_not_supported' | 'same_queue' | 'same_owner' | 'actor_not_authorized' | 'conversation_not_transferable';
|
|
24
|
-
export type TransferConversationResult = {
|
|
25
|
-
status: 'transferred';
|
|
26
|
-
commandId: ID;
|
|
27
|
-
conversationId: ID;
|
|
28
|
-
previousVersion: number;
|
|
29
|
-
conversationVersion: number;
|
|
30
|
-
previous: AssignmentStateReference;
|
|
31
|
-
current: AssignmentStateReference;
|
|
32
|
-
assignmentEventId: ID;
|
|
33
|
-
outboxEventId: ID;
|
|
34
|
-
} | {
|
|
35
|
-
status: 'already_applied';
|
|
36
|
-
commandId: ID;
|
|
37
|
-
conversationId: ID;
|
|
38
|
-
conversationVersion: number;
|
|
39
|
-
assignmentEventId: ID;
|
|
40
|
-
outboxEventId: ID;
|
|
41
|
-
} | {
|
|
42
|
-
status: 'version_conflict';
|
|
43
|
-
commandId: ID;
|
|
44
|
-
conversationId: ID;
|
|
45
|
-
expectedVersion: number;
|
|
46
|
-
currentVersion: number;
|
|
47
|
-
} | {
|
|
48
|
-
status: 'rejected';
|
|
49
|
-
commandId: ID;
|
|
50
|
-
conversationId: ID;
|
|
51
|
-
code: TransferConversationRejectionCode;
|
|
52
|
-
};
|
|
53
|
-
export interface ConversationAssignmentChanged {
|
|
54
|
-
eventId: ID;
|
|
55
|
-
sourceEventId: ID;
|
|
56
|
-
type: 'conversation.assignment.changed';
|
|
57
|
-
schemaVersion: 1;
|
|
58
|
-
spaceId: ID;
|
|
59
|
-
conversationId: ID;
|
|
60
|
-
conversationVersion: number;
|
|
61
|
-
reason: ConversationAssignmentReason;
|
|
62
|
-
previous?: AssignmentStateReference;
|
|
63
|
-
current: AssignmentStateReference;
|
|
64
|
-
actor: AssignmentActorReference;
|
|
65
|
-
correlationId: ID;
|
|
66
|
-
causationId: ID;
|
|
67
|
-
occurredAt: Date;
|
|
68
|
-
}
|
|
69
|
-
export type ConversationAssignmentChangedOutboxEvent = OutboxEvent<ConversationAssignmentChanged> & {
|
|
70
|
-
aggregateType: 'conversation';
|
|
71
|
-
eventType: 'conversation.assignment.changed';
|
|
72
|
-
schemaVersion: 1;
|
|
73
|
-
};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { AuthApiKey } from '../Common/API/AuthApiKey';
|
|
2
|
-
import { AuthBasic } from '../Common/API/AuthBasic';
|
|
3
|
-
import { AuthBearer } from '../Common/API/AuthBearer';
|
|
4
|
-
import { AuthType } from '../Common/API/AuthType';
|
|
5
|
-
import { Method } from '../Common/API/Method';
|
|
6
|
-
interface IWebhook {
|
|
7
|
-
id?: string | null;
|
|
8
|
-
spaceId?: string | null;
|
|
9
|
-
name?: string | null;
|
|
10
|
-
apiUrl?: string | null;
|
|
11
|
-
apiMethod?: Method | null;
|
|
12
|
-
apiAuthType?: AuthType | null;
|
|
13
|
-
apiAuthBasic?: AuthBasic | null;
|
|
14
|
-
apiAuthApiKey?: AuthApiKey | null;
|
|
15
|
-
apiAuthBearer?: AuthBearer | null;
|
|
16
|
-
apiBody?: string | null;
|
|
17
|
-
apiContentType?: string | null;
|
|
18
|
-
createdAt?: string | null;
|
|
19
|
-
updatedAt?: string | null;
|
|
20
|
-
deletedAt?: string | null;
|
|
21
|
-
}
|
|
22
|
-
export { IWebhook };
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export * as Flows from './Flows/index';
|
|
2
|
-
export * as Groups from './Groups/Group';
|
|
3
|
-
export * from './Assignment';
|
|
4
|
-
export * from './Conversation';
|
|
5
|
-
export * from './InboxMongo';
|
|
6
|
-
export * from './InboxProjection';
|
|
7
|
-
export * from './Outbox';
|
|
8
|
-
export * from './Ending';
|
|
9
|
-
export * from './Label';
|
|
10
|
-
export * from './WebHook';
|
|
11
|
-
export * from './SocialWalls';
|
|
12
|
-
export * from './QuickResponse';
|
|
13
|
-
export * from './DashBoard/dashboard';
|
|
14
|
-
export * from '../Forms/API';
|
|
15
|
-
export * from './DashBoard/dashboardChannels';
|
|
16
|
-
export * from './DashBoard/dashboardMessages';
|
|
17
|
-
export * from './Survey';
|
|
18
|
-
export * from './Queue';
|
|
19
|
-
export * from './Routing';
|
|
20
|
-
export * from './Sla';
|
|
21
|
-
export * from './Transfer';
|
|
@@ -1,60 +0,0 @@
|
|
|
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 __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
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
36
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
|
-
};
|
|
38
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.Groups = exports.Flows = void 0;
|
|
40
|
-
exports.Flows = __importStar(require("./Flows/index"));
|
|
41
|
-
exports.Groups = __importStar(require("./Groups/Group"));
|
|
42
|
-
__exportStar(require("./Assignment"), exports);
|
|
43
|
-
__exportStar(require("./Conversation"), exports);
|
|
44
|
-
__exportStar(require("./InboxMongo"), exports);
|
|
45
|
-
__exportStar(require("./InboxProjection"), exports);
|
|
46
|
-
__exportStar(require("./Outbox"), exports);
|
|
47
|
-
__exportStar(require("./Ending"), exports);
|
|
48
|
-
__exportStar(require("./Label"), exports);
|
|
49
|
-
__exportStar(require("./WebHook"), exports);
|
|
50
|
-
__exportStar(require("./SocialWalls"), exports);
|
|
51
|
-
__exportStar(require("./QuickResponse"), exports);
|
|
52
|
-
__exportStar(require("./DashBoard/dashboard"), exports);
|
|
53
|
-
__exportStar(require("../Forms/API"), exports);
|
|
54
|
-
__exportStar(require("./DashBoard/dashboardChannels"), exports);
|
|
55
|
-
__exportStar(require("./DashBoard/dashboardMessages"), exports);
|
|
56
|
-
__exportStar(require("./Survey"), exports);
|
|
57
|
-
__exportStar(require("./Queue"), exports);
|
|
58
|
-
__exportStar(require("./Routing"), exports);
|
|
59
|
-
__exportStar(require("./Sla"), exports);
|
|
60
|
-
__exportStar(require("./Transfer"), exports);
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
export interface Document {
|
|
2
|
-
spaceId: string | "";
|
|
3
|
-
id?: string | null;
|
|
4
|
-
storeId?: string | null;
|
|
5
|
-
parentId?: string | null;
|
|
6
|
-
isFolder?: boolean | false;
|
|
7
|
-
path: string | '';
|
|
8
|
-
name: string | "";
|
|
9
|
-
fileSize: number | 0;
|
|
10
|
-
fileName: string | "";
|
|
11
|
-
fileUrl: string | "";
|
|
12
|
-
status: DocumentStatus | DocumentStatus.SYNCING;
|
|
13
|
-
blobVersionId?: string | null;
|
|
14
|
-
indexingConfig?: IndexingConfig | null;
|
|
15
|
-
chunks: number | 0;
|
|
16
|
-
chars: number | 0;
|
|
17
|
-
embeddingStatus?: EmbeddingStatus | EmbeddingStatus.PENDING;
|
|
18
|
-
indexingError?: string | null;
|
|
19
|
-
portalPublished: boolean;
|
|
20
|
-
portalSlug?: string | null;
|
|
21
|
-
portalLastPublishedAt?: Date | null;
|
|
22
|
-
source?: DocumentSource | DocumentSource.UPLOAD;
|
|
23
|
-
sourceId?: string | null;
|
|
24
|
-
createdAt: Date;
|
|
25
|
-
createdBy: string;
|
|
26
|
-
updatedAt?: Date | null;
|
|
27
|
-
updatedBy?: string | null;
|
|
28
|
-
deletedAt?: Date | null;
|
|
29
|
-
deletedBy?: string | null;
|
|
30
|
-
}
|
|
31
|
-
export declare enum EmbeddingStatus {
|
|
32
|
-
PENDING = 0,
|
|
33
|
-
PROCESSING = 1,
|
|
34
|
-
COMPLETED = 2,
|
|
35
|
-
ERROR = 3
|
|
36
|
-
}
|
|
37
|
-
export declare enum DocumentSource {
|
|
38
|
-
UPLOAD = 1,
|
|
39
|
-
WEBHOOK = 2,
|
|
40
|
-
FILESYSTEM = 3,
|
|
41
|
-
API = 4
|
|
42
|
-
}
|
|
43
|
-
export interface IndexingConfig {
|
|
44
|
-
type: DocumentSplitterType | DocumentSplitterType.characterTextSplitter;
|
|
45
|
-
chunkSize: number | 1000;
|
|
46
|
-
chunkOverlap: number | 200;
|
|
47
|
-
customSeparators?: string[] | [" "];
|
|
48
|
-
}
|
|
49
|
-
export declare enum DocumentSplitterType {
|
|
50
|
-
characterTextSplitter = "characterTextSplitter",
|
|
51
|
-
recursiveCharacterTextSplitter = "recursiveCharacterTextSplitter"
|
|
52
|
-
}
|
|
53
|
-
export declare enum DocumentStatus {
|
|
54
|
-
SYNCING = 0,
|
|
55
|
-
ACTIVE = 1,
|
|
56
|
-
ERROR = 2,
|
|
57
|
-
DELETING = 3
|
|
58
|
-
}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DocumentStatus = exports.DocumentSplitterType = exports.DocumentSource = exports.EmbeddingStatus = void 0;
|
|
4
|
-
var EmbeddingStatus;
|
|
5
|
-
(function (EmbeddingStatus) {
|
|
6
|
-
EmbeddingStatus[EmbeddingStatus["PENDING"] = 0] = "PENDING";
|
|
7
|
-
EmbeddingStatus[EmbeddingStatus["PROCESSING"] = 1] = "PROCESSING";
|
|
8
|
-
EmbeddingStatus[EmbeddingStatus["COMPLETED"] = 2] = "COMPLETED";
|
|
9
|
-
EmbeddingStatus[EmbeddingStatus["ERROR"] = 3] = "ERROR";
|
|
10
|
-
})(EmbeddingStatus || (exports.EmbeddingStatus = EmbeddingStatus = {}));
|
|
11
|
-
var DocumentSource;
|
|
12
|
-
(function (DocumentSource) {
|
|
13
|
-
DocumentSource[DocumentSource["UPLOAD"] = 1] = "UPLOAD";
|
|
14
|
-
DocumentSource[DocumentSource["WEBHOOK"] = 2] = "WEBHOOK";
|
|
15
|
-
DocumentSource[DocumentSource["FILESYSTEM"] = 3] = "FILESYSTEM";
|
|
16
|
-
DocumentSource[DocumentSource["API"] = 4] = "API";
|
|
17
|
-
})(DocumentSource || (exports.DocumentSource = DocumentSource = {}));
|
|
18
|
-
var DocumentSplitterType;
|
|
19
|
-
(function (DocumentSplitterType) {
|
|
20
|
-
DocumentSplitterType["characterTextSplitter"] = "characterTextSplitter";
|
|
21
|
-
DocumentSplitterType["recursiveCharacterTextSplitter"] = "recursiveCharacterTextSplitter";
|
|
22
|
-
})(DocumentSplitterType || (exports.DocumentSplitterType = DocumentSplitterType = {}));
|
|
23
|
-
var DocumentStatus;
|
|
24
|
-
(function (DocumentStatus) {
|
|
25
|
-
DocumentStatus[DocumentStatus["SYNCING"] = 0] = "SYNCING";
|
|
26
|
-
DocumentStatus[DocumentStatus["ACTIVE"] = 1] = "ACTIVE";
|
|
27
|
-
DocumentStatus[DocumentStatus["ERROR"] = 2] = "ERROR";
|
|
28
|
-
DocumentStatus[DocumentStatus["DELETING"] = 3] = "DELETING";
|
|
29
|
-
})(DocumentStatus || (exports.DocumentStatus = DocumentStatus = {}));
|
package/dist/src/Docs/Store.d.ts
DELETED
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export interface Store {
|
|
2
|
-
spaceId: string | "";
|
|
3
|
-
id?: string | null;
|
|
4
|
-
name: string | "";
|
|
5
|
-
description: string | "";
|
|
6
|
-
status: StoreStatus | StoreStatus.EMPTY;
|
|
7
|
-
statics: StoreStatics;
|
|
8
|
-
enableIndexing: boolean;
|
|
9
|
-
knowledgePortalEnabled: boolean;
|
|
10
|
-
knowledgePortalIsPublic: boolean;
|
|
11
|
-
knowledgePortalUrl?: string | null;
|
|
12
|
-
knowledgePortalStatus: PortalStatus | PortalStatus.INACTIVE;
|
|
13
|
-
knowledgePortalLastPublishedAt?: Date | null;
|
|
14
|
-
createdAt: Date;
|
|
15
|
-
createdBy: string;
|
|
16
|
-
updatedAt?: Date | null;
|
|
17
|
-
updatedBy?: string | null;
|
|
18
|
-
deletedAt?: Date | null;
|
|
19
|
-
deletedBy?: string | null;
|
|
20
|
-
}
|
|
21
|
-
export declare enum PortalStatus {
|
|
22
|
-
INACTIVE = 0,
|
|
23
|
-
PENDING = 1,
|
|
24
|
-
READY = 2,
|
|
25
|
-
ERROR = 3
|
|
26
|
-
}
|
|
27
|
-
export declare enum StoreStatus {
|
|
28
|
-
EMPTY = 0,
|
|
29
|
-
ACTIVE = 1,
|
|
30
|
-
SYNCING = 2,
|
|
31
|
-
ERROR = 3
|
|
32
|
-
}
|
|
33
|
-
export interface StoreStatics {
|
|
34
|
-
totalDocuments: number | 0;
|
|
35
|
-
diskUsage: number | 0;
|
|
36
|
-
lastUpdatedAt?: Date | null;
|
|
37
|
-
}
|
package/dist/src/Docs/Store.js
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.StoreStatus = exports.PortalStatus = void 0;
|
|
4
|
-
var PortalStatus;
|
|
5
|
-
(function (PortalStatus) {
|
|
6
|
-
PortalStatus[PortalStatus["INACTIVE"] = 0] = "INACTIVE";
|
|
7
|
-
PortalStatus[PortalStatus["PENDING"] = 1] = "PENDING";
|
|
8
|
-
PortalStatus[PortalStatus["READY"] = 2] = "READY";
|
|
9
|
-
PortalStatus[PortalStatus["ERROR"] = 3] = "ERROR";
|
|
10
|
-
})(PortalStatus || (exports.PortalStatus = PortalStatus = {}));
|
|
11
|
-
var StoreStatus;
|
|
12
|
-
(function (StoreStatus) {
|
|
13
|
-
StoreStatus[StoreStatus["EMPTY"] = 0] = "EMPTY";
|
|
14
|
-
StoreStatus[StoreStatus["ACTIVE"] = 1] = "ACTIVE";
|
|
15
|
-
StoreStatus[StoreStatus["SYNCING"] = 2] = "SYNCING";
|
|
16
|
-
StoreStatus[StoreStatus["ERROR"] = 3] = "ERROR";
|
|
17
|
-
})(StoreStatus || (exports.StoreStatus = StoreStatus = {}));
|
package/dist/src/Docs/index.d.ts
DELETED
package/dist/src/Docs/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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("./Store"), exports);
|
|
18
|
-
__exportStar(require("./Document"), exports);
|
package/dist/src/Forms/API.d.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { FormItemType } from "../Common/Channels/Form";
|
|
2
|
-
import { FormAnswerV2, FormTag } from "./SubmittedForm";
|
|
3
|
-
export interface RequestInfo {
|
|
4
|
-
formId: string;
|
|
5
|
-
timeStart: Date | null;
|
|
6
|
-
timeEnd: Date | null;
|
|
7
|
-
skip: number | null;
|
|
8
|
-
limit: number | null;
|
|
9
|
-
}
|
|
10
|
-
export interface SummaryInfo {
|
|
11
|
-
formId: string;
|
|
12
|
-
timeStart: Date | null;
|
|
13
|
-
timeEnd: Date | null;
|
|
14
|
-
completedForms: number;
|
|
15
|
-
records: QuestionSummary[];
|
|
16
|
-
}
|
|
17
|
-
export interface QuestionSummary {
|
|
18
|
-
questionId: string;
|
|
19
|
-
question: string;
|
|
20
|
-
type: FormItemType;
|
|
21
|
-
fieldType: string;
|
|
22
|
-
count: number;
|
|
23
|
-
responses: ResponseSummary[];
|
|
24
|
-
}
|
|
25
|
-
export interface ResponseSummary {
|
|
26
|
-
count: number;
|
|
27
|
-
responseTitle: string;
|
|
28
|
-
}
|
|
29
|
-
export interface SubmittedFormsInfo {
|
|
30
|
-
formId: string;
|
|
31
|
-
timeStart: Date | null;
|
|
32
|
-
timeEnd: Date | null;
|
|
33
|
-
completedForms: number;
|
|
34
|
-
records: SubmittedFormRecord[];
|
|
35
|
-
}
|
|
36
|
-
export interface SubmittedFormRecord {
|
|
37
|
-
id: string;
|
|
38
|
-
tags: FormTag[];
|
|
39
|
-
responses: SubmittedFormResponse[];
|
|
40
|
-
expireAt: Date | null;
|
|
41
|
-
createdAt: Date;
|
|
42
|
-
completedAt: Date | null;
|
|
43
|
-
contractVersion: number;
|
|
44
|
-
formRevision: number;
|
|
45
|
-
}
|
|
46
|
-
export interface SubmittedFormResponse {
|
|
47
|
-
type: FormItemType;
|
|
48
|
-
fieldType: string;
|
|
49
|
-
questionId: string;
|
|
50
|
-
question: string;
|
|
51
|
-
response: unknown | null;
|
|
52
|
-
answer?: FormAnswerV2 | null;
|
|
53
|
-
}
|
package/dist/src/Forms/API.js
DELETED
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
import { FormItemType } from "../Common/Channels/Form";
|
|
2
|
-
export interface SubmittedForm {
|
|
3
|
-
id: string;
|
|
4
|
-
shardKey: string;
|
|
5
|
-
spaceId: string;
|
|
6
|
-
formId: string;
|
|
7
|
-
contractVersion: number;
|
|
8
|
-
formRevision: number;
|
|
9
|
-
schemaHash: string | null;
|
|
10
|
-
tags: FormTag[];
|
|
11
|
-
/** Compatibilidad con formularios V1. */
|
|
12
|
-
responses?: FormResponse[] | null;
|
|
13
|
-
answers: FormAnswerV2[];
|
|
14
|
-
createdAt: Date;
|
|
15
|
-
expireAt: Date | null;
|
|
16
|
-
completedAt: Date | null;
|
|
17
|
-
}
|
|
18
|
-
export interface FormTag {
|
|
19
|
-
name: string;
|
|
20
|
-
value: string;
|
|
21
|
-
}
|
|
22
|
-
export declare enum FormStatus {
|
|
23
|
-
pending = 0,
|
|
24
|
-
completed = 1,
|
|
25
|
-
expired = 2
|
|
26
|
-
}
|
|
27
|
-
export interface FormResponse {
|
|
28
|
-
questionId: string;
|
|
29
|
-
type: FormItemType;
|
|
30
|
-
response: unknown;
|
|
31
|
-
}
|
|
32
|
-
export interface FormAnswerV2 {
|
|
33
|
-
fieldId: string;
|
|
34
|
-
fieldType: string;
|
|
35
|
-
/** Snapshot útil para exportaciones históricas. */
|
|
36
|
-
fieldLabel: string | null;
|
|
37
|
-
textValue: string | null;
|
|
38
|
-
numericValue: number | null;
|
|
39
|
-
/** Formatos canónicos: yyyy-MM-dd y HH:mm:ss. */
|
|
40
|
-
dateValue: string | null;
|
|
41
|
-
timeValue: string | null;
|
|
42
|
-
selectedOptions: FormSelectedOption[] | null;
|
|
43
|
-
files: FormSubmittedFile[] | null;
|
|
44
|
-
}
|
|
45
|
-
export interface FormSelectedOption {
|
|
46
|
-
id: string;
|
|
47
|
-
/** Snapshot histórico de la etiqueta. */
|
|
48
|
-
label: string | null;
|
|
49
|
-
}
|
|
50
|
-
export interface FormSubmittedFile {
|
|
51
|
-
storageId: string;
|
|
52
|
-
fileName: string;
|
|
53
|
-
contentType: string | null;
|
|
54
|
-
sizeBytes: number;
|
|
55
|
-
url: string | null;
|
|
56
|
-
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FormStatus = void 0;
|
|
4
|
-
var FormStatus;
|
|
5
|
-
(function (FormStatus) {
|
|
6
|
-
FormStatus[FormStatus["pending"] = 0] = "pending";
|
|
7
|
-
FormStatus[FormStatus["completed"] = 1] = "completed";
|
|
8
|
-
FormStatus[FormStatus["expired"] = 2] = "expired";
|
|
9
|
-
})(FormStatus || (exports.FormStatus = FormStatus = {}));
|
package/dist/src/Forms/index.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
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("./API"), exports);
|
|
18
|
-
__exportStar(require("./SubmittedForm"), exports);
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import { IChannelInfo } from "../Common/Channels/Channel";
|
|
2
|
-
import { IMessage } from "../Common/Messages/Message";
|
|
3
|
-
export interface ICampaign {
|
|
4
|
-
id: string;
|
|
5
|
-
spaceId: string;
|
|
6
|
-
type: CampaignType;
|
|
7
|
-
status: CampaignStatus;
|
|
8
|
-
hasErrors: boolean;
|
|
9
|
-
errorMessage?: string;
|
|
10
|
-
paused: boolean;
|
|
11
|
-
outOfSendingHours: boolean;
|
|
12
|
-
title: string;
|
|
13
|
-
channelInfo?: IChannelInfo;
|
|
14
|
-
message?: IMessage;
|
|
15
|
-
messages?: IMessage[];
|
|
16
|
-
contactsOrigin: CampaignContactsOrigin;
|
|
17
|
-
contactsOriginDetails: string | '';
|
|
18
|
-
contactsListsId?: string[];
|
|
19
|
-
contactsSegmentsId?: string[];
|
|
20
|
-
contactsTempListId?: string;
|
|
21
|
-
contactsFileUrl?: string;
|
|
22
|
-
contactsFileName?: string;
|
|
23
|
-
contactsFileColumns?: string[];
|
|
24
|
-
contactsFileDestinationColumn?: string;
|
|
25
|
-
countersContacts: number;
|
|
26
|
-
countersRecipients: number;
|
|
27
|
-
countersQueued: number;
|
|
28
|
-
countersDelivered: number;
|
|
29
|
-
countersSent: number;
|
|
30
|
-
countersReceived: number;
|
|
31
|
-
countersRead: number;
|
|
32
|
-
countersFailed: number;
|
|
33
|
-
countersOpenings: number;
|
|
34
|
-
countersClicks: number;
|
|
35
|
-
countersUnsubscribes: number;
|
|
36
|
-
scheduledDate?: Date | null;
|
|
37
|
-
processedStartAt?: Date | null;
|
|
38
|
-
processedEndAt?: Date | null;
|
|
39
|
-
sendStartAt?: Date | null;
|
|
40
|
-
sendEndAt?: Date | null;
|
|
41
|
-
createdAt?: Date;
|
|
42
|
-
createdBy?: string;
|
|
43
|
-
deletedAt?: Date;
|
|
44
|
-
deletedBy?: string;
|
|
45
|
-
}
|
|
46
|
-
export declare enum CampaignContactsOrigin {
|
|
47
|
-
NULL = 0,
|
|
48
|
-
LIST = 1,
|
|
49
|
-
SEGMENT = 2,
|
|
50
|
-
XLSX = 3,
|
|
51
|
-
TEMPLIST = 4
|
|
52
|
-
}
|
|
53
|
-
export declare enum CampaignType {
|
|
54
|
-
NULL = 0,
|
|
55
|
-
SMS = 1,
|
|
56
|
-
EMAIL = 2,
|
|
57
|
-
RCS = 3,
|
|
58
|
-
CALL = 3,
|
|
59
|
-
WHATSAPP = 4
|
|
60
|
-
}
|
|
61
|
-
export declare enum CampaignStatus {
|
|
62
|
-
DELETED = 0,
|
|
63
|
-
DESIGN = 1,
|
|
64
|
-
SCHEDULED = 2,
|
|
65
|
-
SENDING = 3,
|
|
66
|
-
COMPLETED = 4,
|
|
67
|
-
CANCELED = 5,
|
|
68
|
-
PROCESSING = 20
|
|
69
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CampaignStatus = exports.CampaignType = exports.CampaignContactsOrigin = void 0;
|
|
4
|
-
var CampaignContactsOrigin;
|
|
5
|
-
(function (CampaignContactsOrigin) {
|
|
6
|
-
CampaignContactsOrigin[CampaignContactsOrigin["NULL"] = 0] = "NULL";
|
|
7
|
-
CampaignContactsOrigin[CampaignContactsOrigin["LIST"] = 1] = "LIST";
|
|
8
|
-
CampaignContactsOrigin[CampaignContactsOrigin["SEGMENT"] = 2] = "SEGMENT";
|
|
9
|
-
CampaignContactsOrigin[CampaignContactsOrigin["XLSX"] = 3] = "XLSX";
|
|
10
|
-
CampaignContactsOrigin[CampaignContactsOrigin["TEMPLIST"] = 4] = "TEMPLIST";
|
|
11
|
-
})(CampaignContactsOrigin || (exports.CampaignContactsOrigin = CampaignContactsOrigin = {}));
|
|
12
|
-
var CampaignType;
|
|
13
|
-
(function (CampaignType) {
|
|
14
|
-
CampaignType[CampaignType["NULL"] = 0] = "NULL";
|
|
15
|
-
CampaignType[CampaignType["SMS"] = 1] = "SMS";
|
|
16
|
-
CampaignType[CampaignType["EMAIL"] = 2] = "EMAIL";
|
|
17
|
-
CampaignType[CampaignType["RCS"] = 3] = "RCS";
|
|
18
|
-
CampaignType[CampaignType["CALL"] = 3] = "CALL";
|
|
19
|
-
CampaignType[CampaignType["WHATSAPP"] = 4] = "WHATSAPP";
|
|
20
|
-
})(CampaignType || (exports.CampaignType = CampaignType = {}));
|
|
21
|
-
var CampaignStatus;
|
|
22
|
-
(function (CampaignStatus) {
|
|
23
|
-
CampaignStatus[CampaignStatus["DELETED"] = 0] = "DELETED";
|
|
24
|
-
CampaignStatus[CampaignStatus["DESIGN"] = 1] = "DESIGN";
|
|
25
|
-
CampaignStatus[CampaignStatus["SCHEDULED"] = 2] = "SCHEDULED";
|
|
26
|
-
CampaignStatus[CampaignStatus["SENDING"] = 3] = "SENDING";
|
|
27
|
-
CampaignStatus[CampaignStatus["COMPLETED"] = 4] = "COMPLETED";
|
|
28
|
-
CampaignStatus[CampaignStatus["CANCELED"] = 5] = "CANCELED";
|
|
29
|
-
CampaignStatus[CampaignStatus["PROCESSING"] = 20] = "PROCESSING";
|
|
30
|
-
})(CampaignStatus || (exports.CampaignStatus = CampaignStatus = {}));
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import { ChannelType } from "../Common/Channels/ChannelType";
|
|
2
|
-
import { MessageAck } from "../Common/Messages/Message";
|
|
3
|
-
export interface PerformanceDetail {
|
|
4
|
-
name: string;
|
|
5
|
-
quantity: number;
|
|
6
|
-
}
|
|
7
|
-
export interface Performance {
|
|
8
|
-
total: number;
|
|
9
|
-
details: PerformanceDetail[];
|
|
10
|
-
}
|
|
11
|
-
export interface PerformanceDashboard {
|
|
12
|
-
openingRate: Performance;
|
|
13
|
-
clickRate: Performance;
|
|
14
|
-
shared: Performance;
|
|
15
|
-
unsubscriptions: Performance;
|
|
16
|
-
complaints: Performance;
|
|
17
|
-
}
|
|
18
|
-
export interface ReportingPanelDashboard {
|
|
19
|
-
totalCampaigns: number;
|
|
20
|
-
shipments: number;
|
|
21
|
-
totalOpenings: number;
|
|
22
|
-
expired: number;
|
|
23
|
-
totalShared: number;
|
|
24
|
-
totalUnsubscriptions: number;
|
|
25
|
-
totalComplaints: number;
|
|
26
|
-
totalBounces: number;
|
|
27
|
-
}
|
|
28
|
-
export interface RecipientsDashboard {
|
|
29
|
-
address: string;
|
|
30
|
-
name: string;
|
|
31
|
-
status: MessageAck;
|
|
32
|
-
type: ChannelType;
|
|
33
|
-
}
|
|
34
|
-
export interface DeliveriesDashboard {
|
|
35
|
-
withoutBounces: number;
|
|
36
|
-
repeatedExcluded: number;
|
|
37
|
-
pendings: number;
|
|
38
|
-
bounces: number;
|
|
39
|
-
}
|
|
40
|
-
export interface ActivityOverTimeDashboard {
|
|
41
|
-
lastThreeMonths: ActivityOverTimeDetail[];
|
|
42
|
-
lastNinetyDays: ActivityOverTimeDetail[];
|
|
43
|
-
}
|
|
44
|
-
export interface ActivityOverTimeDetail {
|
|
45
|
-
name?: string;
|
|
46
|
-
date?: Date;
|
|
47
|
-
quantity: number;
|
|
48
|
-
}
|