@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
package/dist/src/Calls/Call.d.ts
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
import { Channels } from "../Common/index";
|
|
2
|
-
export interface ICallLog {
|
|
3
|
-
id: string;
|
|
4
|
-
shardKey?: string;
|
|
5
|
-
spaceId: string;
|
|
6
|
-
userId: string;
|
|
7
|
-
extensionNumber: string;
|
|
8
|
-
remoteName: string;
|
|
9
|
-
remoteNumber: string;
|
|
10
|
-
contactId?: string;
|
|
11
|
-
origin: string;
|
|
12
|
-
channelInfo: Channels.IChannel;
|
|
13
|
-
recId: string;
|
|
14
|
-
recUrl: string;
|
|
15
|
-
type: CallType;
|
|
16
|
-
direction: CallDirection;
|
|
17
|
-
status: CallStatus;
|
|
18
|
-
cost: number;
|
|
19
|
-
uuid: string;
|
|
20
|
-
uuidParent: null;
|
|
21
|
-
callerIdNumber: string;
|
|
22
|
-
callerIdName: string;
|
|
23
|
-
destinationNumber: string;
|
|
24
|
-
startStamp: Date;
|
|
25
|
-
answerStamp: Date;
|
|
26
|
-
endStamp: Date;
|
|
27
|
-
billSec: number;
|
|
28
|
-
duration: number;
|
|
29
|
-
hangupCause: string;
|
|
30
|
-
accountcode: string;
|
|
31
|
-
readCodec: string;
|
|
32
|
-
writeCodec: string;
|
|
33
|
-
sipHangupDisposition: string;
|
|
34
|
-
ani: string;
|
|
35
|
-
sipCallId: string;
|
|
36
|
-
domainName: string;
|
|
37
|
-
source: string;
|
|
38
|
-
createdAt?: Date | null;
|
|
39
|
-
createdBy?: string | null;
|
|
40
|
-
}
|
|
41
|
-
export declare enum CallType {
|
|
42
|
-
NONE = 0,
|
|
43
|
-
EXTERNAL = 1,
|
|
44
|
-
INTERNAL = 2
|
|
45
|
-
}
|
|
46
|
-
export declare enum CallDirection {
|
|
47
|
-
INBOUND = 1,
|
|
48
|
-
OUTBOUND = 2
|
|
49
|
-
}
|
|
50
|
-
export declare enum CallStatus {
|
|
51
|
-
NONE = 0,
|
|
52
|
-
ANSWERED = 1,
|
|
53
|
-
NO_ANSWER = 2,
|
|
54
|
-
BUSY = 3,
|
|
55
|
-
FAILED = 4,
|
|
56
|
-
LOST = 5,
|
|
57
|
-
ABANDONED = 6,
|
|
58
|
-
OVERFLOWED = 7
|
|
59
|
-
}
|
package/dist/src/Calls/Call.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CallStatus = exports.CallDirection = exports.CallType = void 0;
|
|
4
|
-
var CallType;
|
|
5
|
-
(function (CallType) {
|
|
6
|
-
CallType[CallType["NONE"] = 0] = "NONE";
|
|
7
|
-
CallType[CallType["EXTERNAL"] = 1] = "EXTERNAL";
|
|
8
|
-
CallType[CallType["INTERNAL"] = 2] = "INTERNAL";
|
|
9
|
-
})(CallType || (exports.CallType = CallType = {}));
|
|
10
|
-
var CallDirection;
|
|
11
|
-
(function (CallDirection) {
|
|
12
|
-
CallDirection[CallDirection["INBOUND"] = 1] = "INBOUND";
|
|
13
|
-
CallDirection[CallDirection["OUTBOUND"] = 2] = "OUTBOUND";
|
|
14
|
-
})(CallDirection || (exports.CallDirection = CallDirection = {}));
|
|
15
|
-
var CallStatus;
|
|
16
|
-
(function (CallStatus) {
|
|
17
|
-
CallStatus[CallStatus["NONE"] = 0] = "NONE";
|
|
18
|
-
CallStatus[CallStatus["ANSWERED"] = 1] = "ANSWERED";
|
|
19
|
-
CallStatus[CallStatus["NO_ANSWER"] = 2] = "NO_ANSWER";
|
|
20
|
-
CallStatus[CallStatus["BUSY"] = 3] = "BUSY";
|
|
21
|
-
CallStatus[CallStatus["FAILED"] = 4] = "FAILED";
|
|
22
|
-
CallStatus[CallStatus["LOST"] = 5] = "LOST";
|
|
23
|
-
CallStatus[CallStatus["ABANDONED"] = 6] = "ABANDONED";
|
|
24
|
-
CallStatus[CallStatus["OVERFLOWED"] = 7] = "OVERFLOWED";
|
|
25
|
-
})(CallStatus || (exports.CallStatus = CallStatus = {}));
|
package/dist/src/Calls/Codecs.js
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.defaultCodecs = void 0;
|
|
4
|
-
exports.defaultCodecs = [
|
|
5
|
-
{ name: "PCMU", value: "ulaw" },
|
|
6
|
-
{ name: "PCMA", value: "alaw" },
|
|
7
|
-
{ name: "GSM", value: "gsm" },
|
|
8
|
-
{ name: "G.726", value: "g726" },
|
|
9
|
-
{ name: "G.729", value: "g729" },
|
|
10
|
-
{ name: "iLBC", value: "ilbc" },
|
|
11
|
-
{ name: "G.722", value: "g722" },
|
|
12
|
-
{ name: "Siren7", value: "siren7" },
|
|
13
|
-
{ name: "Siren14", value: "siren14" },
|
|
14
|
-
{ name: "G.723", value: "g723" },
|
|
15
|
-
{ name: "H.263", value: "h263" },
|
|
16
|
-
{ name: "H.263p", value: "h263p" },
|
|
17
|
-
{ name: "H.264", value: "h264" },
|
|
18
|
-
{ name: "H.265", value: "h265" },
|
|
19
|
-
{ name: "VP8", value: "vp8" },
|
|
20
|
-
{ name: "OPUS", value: "opus" }
|
|
21
|
-
];
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export interface IExtension {
|
|
2
|
-
id: string;
|
|
3
|
-
spaceId: string;
|
|
4
|
-
extension: string;
|
|
5
|
-
callerIdNumber: string;
|
|
6
|
-
authID: string;
|
|
7
|
-
sipPassword: string;
|
|
8
|
-
sipServer: string;
|
|
9
|
-
sipProxy: string;
|
|
10
|
-
voicemailEnabled: boolean;
|
|
11
|
-
voicemailPassword: string;
|
|
12
|
-
keepAlive: boolean;
|
|
13
|
-
keepAliveFrequency: number;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
enableQualityEvaluation: boolean;
|
|
16
|
-
name: string;
|
|
17
|
-
email: string;
|
|
18
|
-
concurrentRegistrations: number;
|
|
19
|
-
userId: string;
|
|
20
|
-
dtmfMode: string;
|
|
21
|
-
codecs: string;
|
|
22
|
-
createdAt?: Date | null;
|
|
23
|
-
createdBy?: string | null;
|
|
24
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { ExtensionType, IRingGroupMember } from "./RingGroup";
|
|
2
|
-
export interface IQueue {
|
|
3
|
-
id: string;
|
|
4
|
-
spaceId: string;
|
|
5
|
-
name: string;
|
|
6
|
-
extension: string;
|
|
7
|
-
ringStrategy: RingStrategyQueue;
|
|
8
|
-
musicOnHold?: string;
|
|
9
|
-
maxQueueLength?: number;
|
|
10
|
-
/**
|
|
11
|
-
* Agent Rest Time (s)
|
|
12
|
-
* Configure the amount of time in seconds after ending a call where the agent will not receive additional calls.
|
|
13
|
-
* Once this time has passed, the agent will be able to receive calls again.
|
|
14
|
-
* If set to 0, agents can receive additional calls immediately after ending a call.
|
|
15
|
-
*/
|
|
16
|
-
agentRestTime?: number;
|
|
17
|
-
/**Retry Time (s)
|
|
18
|
-
* Configure the number of seconds to wait before ringing the next agent. The minimum is 1.
|
|
19
|
-
*/
|
|
20
|
-
retryTime?: number;
|
|
21
|
-
/**Agent Ring Time (s)
|
|
22
|
-
* Configure the number of seconds to ring an agent. The minimum is 5.
|
|
23
|
-
*/
|
|
24
|
-
agentRingTime?: number;
|
|
25
|
-
autoRecord: boolean;
|
|
26
|
-
/**Welcome Prompt
|
|
27
|
-
* Configure a custom welcome prompt for the queue.
|
|
28
|
-
*/
|
|
29
|
-
customPrompt?: string;
|
|
30
|
-
skipBusyAgent: boolean;
|
|
31
|
-
/**
|
|
32
|
-
* extension number for static users
|
|
33
|
-
*/
|
|
34
|
-
staticMembers: IRingGroupMember[];
|
|
35
|
-
/**
|
|
36
|
-
* users Id who are allowed to login in this queue to answer calls
|
|
37
|
-
*/
|
|
38
|
-
allowedAgents?: string[];
|
|
39
|
-
TimeOutDestinationEnabled: boolean;
|
|
40
|
-
TimeOutDestinationType: ExtensionType;
|
|
41
|
-
TimeOutDestinationValue?: string;
|
|
42
|
-
createdAt?: Date | null;
|
|
43
|
-
createdBy?: string | null;
|
|
44
|
-
}
|
|
45
|
-
export declare enum RingStrategyQueue {
|
|
46
|
-
RING_ALL = 0,
|
|
47
|
-
LINEAR = 1,
|
|
48
|
-
LAST_RECENT = 2,
|
|
49
|
-
FEWEST_CALLS = 3,
|
|
50
|
-
RANDOM = 4,
|
|
51
|
-
ROUND_ROBIN = 5
|
|
52
|
-
}
|
package/dist/src/Calls/Queue.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RingStrategyQueue = void 0;
|
|
4
|
-
var RingStrategyQueue;
|
|
5
|
-
(function (RingStrategyQueue) {
|
|
6
|
-
RingStrategyQueue[RingStrategyQueue["RING_ALL"] = 0] = "RING_ALL";
|
|
7
|
-
RingStrategyQueue[RingStrategyQueue["LINEAR"] = 1] = "LINEAR";
|
|
8
|
-
RingStrategyQueue[RingStrategyQueue["LAST_RECENT"] = 2] = "LAST_RECENT";
|
|
9
|
-
RingStrategyQueue[RingStrategyQueue["FEWEST_CALLS"] = 3] = "FEWEST_CALLS";
|
|
10
|
-
RingStrategyQueue[RingStrategyQueue["RANDOM"] = 4] = "RANDOM";
|
|
11
|
-
RingStrategyQueue[RingStrategyQueue["ROUND_ROBIN"] = 5] = "ROUND_ROBIN";
|
|
12
|
-
})(RingStrategyQueue || (exports.RingStrategyQueue = RingStrategyQueue = {}));
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
export interface IRingGroup {
|
|
2
|
-
id: string;
|
|
3
|
-
spaceId: string;
|
|
4
|
-
name: string;
|
|
5
|
-
extension: string;
|
|
6
|
-
ringStrategy: RingStrategyType;
|
|
7
|
-
musicOnHold?: string;
|
|
8
|
-
customPrompt?: string;
|
|
9
|
-
ringTimeOut: number;
|
|
10
|
-
skipBusyAgent: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* extension number for external ring groups
|
|
13
|
-
*/
|
|
14
|
-
members: IRingGroupMember[];
|
|
15
|
-
TimeOutDestinationEnabled: boolean;
|
|
16
|
-
TimeOutDestinationType: ExtensionType;
|
|
17
|
-
TimeOutDestinationValue?: string;
|
|
18
|
-
createdAt?: Date | null;
|
|
19
|
-
createdBy?: string | null;
|
|
20
|
-
}
|
|
21
|
-
export declare enum RingStrategyType {
|
|
22
|
-
SIMULTANEOUS = 0,
|
|
23
|
-
RING_IN_ORDER = 1
|
|
24
|
-
}
|
|
25
|
-
export interface IRingGroupMember {
|
|
26
|
-
position: number;
|
|
27
|
-
extension: string;
|
|
28
|
-
}
|
|
29
|
-
export declare enum ExtensionType {
|
|
30
|
-
/**Extension is a user */
|
|
31
|
-
USER = 0,
|
|
32
|
-
/**Queue */
|
|
33
|
-
QUEUE = 1,
|
|
34
|
-
/**Group */
|
|
35
|
-
GROUP = 2,
|
|
36
|
-
/**Ring Group */
|
|
37
|
-
RING_GROUP = 3,
|
|
38
|
-
/**Conference */
|
|
39
|
-
CONFERENCE = 4,
|
|
40
|
-
/**Extension is a voicemail */
|
|
41
|
-
VOICEMAIL = 5,
|
|
42
|
-
/**Extension number */
|
|
43
|
-
EXTERNAL = 6,
|
|
44
|
-
/**Flow */
|
|
45
|
-
FLOW = 7
|
|
46
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExtensionType = exports.RingStrategyType = void 0;
|
|
4
|
-
var RingStrategyType;
|
|
5
|
-
(function (RingStrategyType) {
|
|
6
|
-
RingStrategyType[RingStrategyType["SIMULTANEOUS"] = 0] = "SIMULTANEOUS";
|
|
7
|
-
RingStrategyType[RingStrategyType["RING_IN_ORDER"] = 1] = "RING_IN_ORDER";
|
|
8
|
-
})(RingStrategyType || (exports.RingStrategyType = RingStrategyType = {}));
|
|
9
|
-
var ExtensionType;
|
|
10
|
-
(function (ExtensionType) {
|
|
11
|
-
/**Extension is a user */
|
|
12
|
-
ExtensionType[ExtensionType["USER"] = 0] = "USER";
|
|
13
|
-
/**Queue */
|
|
14
|
-
ExtensionType[ExtensionType["QUEUE"] = 1] = "QUEUE";
|
|
15
|
-
/**Group */
|
|
16
|
-
ExtensionType[ExtensionType["GROUP"] = 2] = "GROUP";
|
|
17
|
-
/**Ring Group */
|
|
18
|
-
ExtensionType[ExtensionType["RING_GROUP"] = 3] = "RING_GROUP";
|
|
19
|
-
/**Conference */
|
|
20
|
-
ExtensionType[ExtensionType["CONFERENCE"] = 4] = "CONFERENCE";
|
|
21
|
-
/**Extension is a voicemail */
|
|
22
|
-
ExtensionType[ExtensionType["VOICEMAIL"] = 5] = "VOICEMAIL";
|
|
23
|
-
/**Extension number */
|
|
24
|
-
ExtensionType[ExtensionType["EXTERNAL"] = 6] = "EXTERNAL";
|
|
25
|
-
/**Flow */
|
|
26
|
-
ExtensionType[ExtensionType["FLOW"] = 7] = "FLOW";
|
|
27
|
-
})(ExtensionType || (exports.ExtensionType = ExtensionType = {}));
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransportType = void 0;
|
|
4
|
-
var TransportType;
|
|
5
|
-
(function (TransportType) {
|
|
6
|
-
/**UDP */
|
|
7
|
-
TransportType[TransportType["UDP"] = 0] = "UDP";
|
|
8
|
-
/**TCP */
|
|
9
|
-
TransportType[TransportType["TCP"] = 1] = "TCP";
|
|
10
|
-
/**TLC */
|
|
11
|
-
})(TransportType || (exports.TransportType = TransportType = {}));
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { TransportType } from "./Transport";
|
|
2
|
-
export interface ITrunk {
|
|
3
|
-
id: string;
|
|
4
|
-
spaceId: string;
|
|
5
|
-
providerName: string;
|
|
6
|
-
providerHost: string;
|
|
7
|
-
/**
|
|
8
|
-
* need register
|
|
9
|
-
*/
|
|
10
|
-
needRegister: boolean;
|
|
11
|
-
transportType: TransportType;
|
|
12
|
-
autoRecord: boolean;
|
|
13
|
-
keepOriginalCID: boolean;
|
|
14
|
-
keepTrunkCID: boolean;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
callerIdNumber: string;
|
|
17
|
-
callerIdName: string;
|
|
18
|
-
fromDomain: string;
|
|
19
|
-
/**
|
|
20
|
-
* Trunk Codecs
|
|
21
|
-
* e.g. "ulaw,alaw,gsm,g726,g729,ilbc,opus"
|
|
22
|
-
*/
|
|
23
|
-
codecs: string;
|
|
24
|
-
/**
|
|
25
|
-
* Trunk DTMF Mode
|
|
26
|
-
* e.g. "rfc4733"
|
|
27
|
-
*/
|
|
28
|
-
dtmfMode: string;
|
|
29
|
-
createdAt?: Date | null;
|
|
30
|
-
createdBy?: string | null;
|
|
31
|
-
}
|
package/dist/src/Calls/Trunk.js
DELETED
package/dist/src/Calls/index.js
DELETED
|
@@ -1,22 +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("./Call"), exports);
|
|
18
|
-
__exportStar(require("./RingGroup"), exports);
|
|
19
|
-
__exportStar(require("./Trunk"), exports);
|
|
20
|
-
__exportStar(require("./Transport"), exports);
|
|
21
|
-
__exportStar(require("./Codecs"), exports);
|
|
22
|
-
__exportStar(require("./Queue"), exports);
|
package/dist/src/Chats/Chat.d.ts
DELETED
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { UserInfo } from "../Users/UserTrii";
|
|
2
|
-
export interface Chat {
|
|
3
|
-
id: string;
|
|
4
|
-
spaceId: string;
|
|
5
|
-
type: ChatType;
|
|
6
|
-
ownerId: string;
|
|
7
|
-
chatName: string;
|
|
8
|
-
chatImage: string;
|
|
9
|
-
chatMembers: IChatMemeber[];
|
|
10
|
-
chatMembersCount: number;
|
|
11
|
-
remoteAddress: string;
|
|
12
|
-
remoteAddressId: string;
|
|
13
|
-
lastMessage: string;
|
|
14
|
-
lastMessageId?: string;
|
|
15
|
-
newMessagesCount: number;
|
|
16
|
-
newMessagesUnread: boolean;
|
|
17
|
-
pinned: boolean;
|
|
18
|
-
status: ConversationSatus;
|
|
19
|
-
archived: boolean;
|
|
20
|
-
/** Domain objects discussed or served by this conversation. */
|
|
21
|
-
contextReferences?: ContextReference[];
|
|
22
|
-
finalizedAt: Date;
|
|
23
|
-
finalizedBy?: string;
|
|
24
|
-
createdAt: Date;
|
|
25
|
-
updatedAt: Date;
|
|
26
|
-
}
|
|
27
|
-
export interface ContextReference {
|
|
28
|
-
entityType: ContextType;
|
|
29
|
-
entityId: string;
|
|
30
|
-
role?: string;
|
|
31
|
-
linkedAt: Date;
|
|
32
|
-
linkedBy?: string;
|
|
33
|
-
}
|
|
34
|
-
export declare enum ContextType {
|
|
35
|
-
TICKET = "TICKET",
|
|
36
|
-
CONVERSATION = "CONVERSATION",
|
|
37
|
-
LEAD = "LEAD",
|
|
38
|
-
DEBT = "DEBT"
|
|
39
|
-
}
|
|
40
|
-
export declare enum ChatType {
|
|
41
|
-
/**messages between two users */
|
|
42
|
-
DIRECT = 1,
|
|
43
|
-
/**messages between multiple users */
|
|
44
|
-
GROUP = 2,
|
|
45
|
-
/**Messages to discuss a conversation */
|
|
46
|
-
DISCUSS_CONVERSATION = 11,
|
|
47
|
-
/**Messages to discuss a ticket */
|
|
48
|
-
DISCUSS_TICKET = 12
|
|
49
|
-
}
|
|
50
|
-
export interface IChatMemeber {
|
|
51
|
-
joinTimeStamp: Date;
|
|
52
|
-
isAdmin: boolean;
|
|
53
|
-
userId: string;
|
|
54
|
-
user: UserInfo;
|
|
55
|
-
}
|
|
56
|
-
export declare enum ConversationSatus {
|
|
57
|
-
NEW = 1,
|
|
58
|
-
ACTIVE = 2,
|
|
59
|
-
FINALIZED = 3,
|
|
60
|
-
ARCHIVED = 4
|
|
61
|
-
}
|
package/dist/src/Chats/Chat.js
DELETED
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ConversationSatus = exports.ChatType = exports.ContextType = void 0;
|
|
4
|
-
var ContextType;
|
|
5
|
-
(function (ContextType) {
|
|
6
|
-
ContextType["TICKET"] = "TICKET";
|
|
7
|
-
ContextType["CONVERSATION"] = "CONVERSATION";
|
|
8
|
-
ContextType["LEAD"] = "LEAD";
|
|
9
|
-
ContextType["DEBT"] = "DEBT";
|
|
10
|
-
})(ContextType || (exports.ContextType = ContextType = {}));
|
|
11
|
-
var ChatType;
|
|
12
|
-
(function (ChatType) {
|
|
13
|
-
/**messages between two users */
|
|
14
|
-
ChatType[ChatType["DIRECT"] = 1] = "DIRECT";
|
|
15
|
-
/**messages between multiple users */
|
|
16
|
-
ChatType[ChatType["GROUP"] = 2] = "GROUP";
|
|
17
|
-
/**Messages to discuss a conversation */
|
|
18
|
-
ChatType[ChatType["DISCUSS_CONVERSATION"] = 11] = "DISCUSS_CONVERSATION";
|
|
19
|
-
/**Messages to discuss a ticket */
|
|
20
|
-
ChatType[ChatType["DISCUSS_TICKET"] = 12] = "DISCUSS_TICKET";
|
|
21
|
-
})(ChatType || (exports.ChatType = ChatType = {}));
|
|
22
|
-
var ConversationSatus;
|
|
23
|
-
(function (ConversationSatus) {
|
|
24
|
-
ConversationSatus[ConversationSatus["NEW"] = 1] = "NEW";
|
|
25
|
-
ConversationSatus[ConversationSatus["ACTIVE"] = 2] = "ACTIVE";
|
|
26
|
-
ConversationSatus[ConversationSatus["FINALIZED"] = 3] = "FINALIZED";
|
|
27
|
-
ConversationSatus[ConversationSatus["ARCHIVED"] = 4] = "ARCHIVED";
|
|
28
|
-
})(ConversationSatus || (exports.ConversationSatus = ConversationSatus = {}));
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { IDebt } from './Debt';
|
|
2
|
-
import { CollectionPropertyValue, DebtOrigin, DebtPriority, DebtStage } from './Common';
|
|
3
|
-
export interface IDebtFilter {
|
|
4
|
-
search?: string;
|
|
5
|
-
stages?: DebtStage[];
|
|
6
|
-
statusIds?: string[];
|
|
7
|
-
priorities?: DebtPriority[];
|
|
8
|
-
origins?: DebtOrigin[];
|
|
9
|
-
contactIds?: string[];
|
|
10
|
-
creditorIds?: string[];
|
|
11
|
-
portfolioIds?: string[];
|
|
12
|
-
batchIds?: string[];
|
|
13
|
-
assigneeIds?: string[];
|
|
14
|
-
dueFrom?: Date;
|
|
15
|
-
dueTo?: Date;
|
|
16
|
-
minimumDaysPastDue?: number;
|
|
17
|
-
fields?: {
|
|
18
|
-
fieldNameKey: string;
|
|
19
|
-
operator: string;
|
|
20
|
-
value?: CollectionPropertyValue;
|
|
21
|
-
}[];
|
|
22
|
-
}
|
|
23
|
-
export interface IDebtQuery {
|
|
24
|
-
cursor?: string;
|
|
25
|
-
limit?: number;
|
|
26
|
-
filter?: IDebtFilter;
|
|
27
|
-
sort?: {
|
|
28
|
-
fieldNameKey: string;
|
|
29
|
-
direction: 'ASC' | 'DESC';
|
|
30
|
-
}[];
|
|
31
|
-
}
|
|
32
|
-
export interface IDebtPage {
|
|
33
|
-
items: IDebt[];
|
|
34
|
-
nextCursor?: string;
|
|
35
|
-
hasMore: boolean;
|
|
36
|
-
}
|
|
37
|
-
export interface ITransitionDebtDto {
|
|
38
|
-
expectedVersion: number;
|
|
39
|
-
toStatusId: string;
|
|
40
|
-
comment?: string;
|
|
41
|
-
}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
import { CollectionConditionOperator, CollectionPropertyValue, ICollectionAuditedEntity, ICollectionMoney } from './Common';
|
|
2
|
-
export declare enum CommissionBaseType {
|
|
3
|
-
TOTAL_COLLECTED = "TOTAL_COLLECTED",
|
|
4
|
-
PRINCIPAL_COLLECTED = "PRINCIPAL_COLLECTED",
|
|
5
|
-
INTEREST_COLLECTED = "INTEREST_COLLECTED",
|
|
6
|
-
FEES_COLLECTED = "FEES_COLLECTED"
|
|
7
|
-
}
|
|
8
|
-
export interface ICommissionCondition {
|
|
9
|
-
fieldNameKey: string;
|
|
10
|
-
operator: CollectionConditionOperator;
|
|
11
|
-
expectedValue?: CollectionPropertyValue;
|
|
12
|
-
}
|
|
13
|
-
export interface ICommissionTier {
|
|
14
|
-
id: string;
|
|
15
|
-
minimum?: ICollectionMoney;
|
|
16
|
-
maximum?: ICollectionMoney;
|
|
17
|
-
percentage: string;
|
|
18
|
-
}
|
|
19
|
-
export interface ICommissionRule extends ICollectionAuditedEntity {
|
|
20
|
-
ruleSetId: string;
|
|
21
|
-
name: string;
|
|
22
|
-
enabled: boolean;
|
|
23
|
-
order: number;
|
|
24
|
-
baseType: CommissionBaseType;
|
|
25
|
-
fixedPercentage?: string;
|
|
26
|
-
tiers?: ICommissionTier[];
|
|
27
|
-
conditions?: ICommissionCondition[];
|
|
28
|
-
validFrom?: Date;
|
|
29
|
-
validTo?: Date;
|
|
30
|
-
}
|
|
31
|
-
export interface ICommissionRuleSet extends ICollectionAuditedEntity {
|
|
32
|
-
portfolioId: string;
|
|
33
|
-
name: string;
|
|
34
|
-
enabled: boolean;
|
|
35
|
-
ruleIds: string[];
|
|
36
|
-
}
|
|
37
|
-
export interface IAgentCommissionResult {
|
|
38
|
-
id: string;
|
|
39
|
-
spaceId: string;
|
|
40
|
-
portfolioId: string;
|
|
41
|
-
paymentId: string;
|
|
42
|
-
userId: string;
|
|
43
|
-
ruleId: string;
|
|
44
|
-
ruleSnapshot?: string;
|
|
45
|
-
commissionBase: ICollectionMoney;
|
|
46
|
-
percentage: string;
|
|
47
|
-
commissionAmount: ICollectionMoney;
|
|
48
|
-
calculatedAt: Date;
|
|
49
|
-
adjustedAt?: Date;
|
|
50
|
-
adjustedBy?: string;
|
|
51
|
-
adjustmentReason?: string;
|
|
52
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CommissionBaseType = void 0;
|
|
4
|
-
var CommissionBaseType;
|
|
5
|
-
(function (CommissionBaseType) {
|
|
6
|
-
CommissionBaseType["TOTAL_COLLECTED"] = "TOTAL_COLLECTED";
|
|
7
|
-
CommissionBaseType["PRINCIPAL_COLLECTED"] = "PRINCIPAL_COLLECTED";
|
|
8
|
-
CommissionBaseType["INTEREST_COLLECTED"] = "INTEREST_COLLECTED";
|
|
9
|
-
CommissionBaseType["FEES_COLLECTED"] = "FEES_COLLECTED";
|
|
10
|
-
})(CommissionBaseType || (exports.CommissionBaseType = CommissionBaseType = {}));
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { IContactInfo } from '../Contacts/contacts';
|
|
2
|
-
export interface ICollectionMoney {
|
|
3
|
-
amount: string;
|
|
4
|
-
currency: string;
|
|
5
|
-
}
|
|
6
|
-
export interface ICollectionAuditedEntity {
|
|
7
|
-
id: string;
|
|
8
|
-
spaceId: string;
|
|
9
|
-
createdAt: Date;
|
|
10
|
-
createdBy: string;
|
|
11
|
-
updatedAt?: Date;
|
|
12
|
-
updatedBy?: string;
|
|
13
|
-
deletedAt?: Date;
|
|
14
|
-
deletedBy?: string;
|
|
15
|
-
}
|
|
16
|
-
export declare enum DebtStage {
|
|
17
|
-
OPEN = "OPEN",
|
|
18
|
-
IN_NEGOTIATION = "IN_NEGOTIATION",
|
|
19
|
-
PAYMENT_PLAN = "PAYMENT_PLAN",
|
|
20
|
-
SETTLED = "SETTLED",
|
|
21
|
-
UNCOLLECTIBLE = "UNCOLLECTIBLE",
|
|
22
|
-
CANCELLED = "CANCELLED"
|
|
23
|
-
}
|
|
24
|
-
export declare enum DebtPriority {
|
|
25
|
-
LOW = "LOW",
|
|
26
|
-
MEDIUM = "MEDIUM",
|
|
27
|
-
HIGH = "HIGH",
|
|
28
|
-
URGENT = "URGENT"
|
|
29
|
-
}
|
|
30
|
-
export declare enum DebtOrigin {
|
|
31
|
-
IMPORT = "IMPORT",
|
|
32
|
-
API = "API",
|
|
33
|
-
MANUAL = "MANUAL",
|
|
34
|
-
AUTOMATION = "AUTOMATION"
|
|
35
|
-
}
|
|
36
|
-
export interface IDebtStatus extends ICollectionAuditedEntity {
|
|
37
|
-
name: string;
|
|
38
|
-
description?: string;
|
|
39
|
-
color?: string;
|
|
40
|
-
order: number;
|
|
41
|
-
stage: DebtStage;
|
|
42
|
-
isInitial: boolean;
|
|
43
|
-
isFinal: boolean;
|
|
44
|
-
enabled: boolean;
|
|
45
|
-
}
|
|
46
|
-
export type CollectionPropertyValue = string | number | boolean | Date | null | CollectionPropertyValue[] | {
|
|
47
|
-
[key: string]: CollectionPropertyValue;
|
|
48
|
-
};
|
|
49
|
-
export interface IDebtProperty {
|
|
50
|
-
nameKey: string;
|
|
51
|
-
value: CollectionPropertyValue;
|
|
52
|
-
}
|
|
53
|
-
export declare enum CollectionConditionOperator {
|
|
54
|
-
EQUALS = "EQUALS",
|
|
55
|
-
NOT_EQUALS = "NOT_EQUALS",
|
|
56
|
-
EXISTS = "EXISTS",
|
|
57
|
-
NOT_EXISTS = "NOT_EXISTS",
|
|
58
|
-
GREATER_THAN = "GREATER_THAN",
|
|
59
|
-
GREATER_THAN_OR_EQUAL = "GREATER_THAN_OR_EQUAL",
|
|
60
|
-
LESS_THAN = "LESS_THAN",
|
|
61
|
-
LESS_THAN_OR_EQUAL = "LESS_THAN_OR_EQUAL",
|
|
62
|
-
IN = "IN",
|
|
63
|
-
NOT_IN = "NOT_IN"
|
|
64
|
-
}
|
|
65
|
-
export interface ICollectionDateRange {
|
|
66
|
-
from: Date;
|
|
67
|
-
to: Date;
|
|
68
|
-
}
|
|
69
|
-
export interface ICollectionMetricPoint {
|
|
70
|
-
date: Date;
|
|
71
|
-
value: number;
|
|
72
|
-
}
|
|
73
|
-
export interface ICollectionMetricGroup {
|
|
74
|
-
key: string;
|
|
75
|
-
label: string;
|
|
76
|
-
value: number;
|
|
77
|
-
}
|
|
78
|
-
export type IDebtContactProjection = IContactInfo;
|