@trii/types 2.10.817 → 2.10.819
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/Automations/Events/Event.d.ts +3 -3
- package/dist/Contacts/CommunicationEndpoint.d.ts +9 -9
- package/dist/Conversations/Classifications/ConversationClassificationEvents.d.ts +2 -2
- package/dist/Conversations/Conversation.d.ts +8 -8
- package/dist/Conversations/Routing.d.ts +10 -10
- package/dist/Events/DomainEventTypes.d.ts +23 -23
- package/dist/Marketing/Options.d.ts +18 -0
- package/dist/Marketing/Options.js +7 -1
- package/dist/Marketing/Subscriber.d.ts +121 -0
- package/dist/Marketing/Subscriber.js +16 -0
- package/dist/Marketing/index.d.ts +1 -0
- package/dist/Marketing/index.js +1 -0
- package/package.json +1 -1
- package/dist/Conversations/DashBoard/dashboardForms.d.ts +0 -44
- package/dist/Conversations/DashBoard/dashboardForms.js +0 -24
- package/dist/Conversations/InboxCounters.d.ts +0 -18
- package/dist/Conversations/InboxCounters.js +0 -2
- package/dist/Conversations/InboxMongo.d.ts +0 -154
- package/dist/Conversations/InboxMongo.js +0 -128
- package/dist/Conversations/InboxProjection.d.ts +0 -162
- package/dist/Conversations/InboxProjection.js +0 -2
- 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/Calendar/Calendar.d.ts +0 -18
- package/dist/src/Calendar/Calendar.js +0 -2
- package/dist/src/Calendar/Common.d.ts +0 -77
- package/dist/src/Calendar/Common.js +0 -16
- package/dist/src/Calendar/Event.d.ts +0 -64
- package/dist/src/Calendar/Event.js +0 -16
- package/dist/src/Calendar/Events.d.ts +0 -61
- package/dist/src/Calendar/Events.js +0 -5
- package/dist/src/Calendar/Task.d.ts +0 -12
- package/dist/src/Calendar/Task.js +0 -2
- package/dist/src/Calendar/Tasks.d.ts +0 -18
- package/dist/src/Calendar/Tasks.js +0 -5
- package/dist/src/Calendar/index.d.ts +0 -3
- package/dist/src/Calendar/index.js +0 -19
- package/dist/src/Calls/Audio.d.ts +0 -17
- package/dist/src/Calls/Audio.js +0 -8
- package/dist/src/Calls/Call.d.ts +0 -59
- package/dist/src/Calls/Call.js +0 -25
- package/dist/src/Calls/Codecs.d.ts +0 -5
- package/dist/src/Calls/Codecs.js +0 -21
- package/dist/src/Calls/Extension.d.ts +0 -24
- package/dist/src/Calls/Extension.js +0 -2
- package/dist/src/Calls/Options.d.ts +0 -5
- package/dist/src/Calls/Options.js +0 -2
- package/dist/src/Calls/Queue.d.ts +0 -52
- package/dist/src/Calls/Queue.js +0 -12
- package/dist/src/Calls/RingGroup.d.ts +0 -46
- package/dist/src/Calls/RingGroup.js +0 -27
- package/dist/src/Calls/Transport.d.ts +0 -6
- package/dist/src/Calls/Transport.js +0 -11
- package/dist/src/Calls/Trunk.d.ts +0 -31
- package/dist/src/Calls/Trunk.js +0 -2
- package/dist/src/Calls/index.d.ts +0 -6
- package/dist/src/Calls/index.js +0 -22
- package/dist/src/Collections/Api.d.ts +0 -41
- package/dist/src/Collections/Api.js +0 -2
- package/dist/src/Collections/Commission.d.ts +0 -52
- package/dist/src/Collections/Commission.js +0 -10
- package/dist/src/Collections/Common.d.ts +0 -78
- package/dist/src/Collections/Common.js +0 -39
- package/dist/src/Collections/Dashboard.d.ts +0 -27
- package/dist/src/Collections/Dashboard.js +0 -2
- package/dist/src/Collections/Debt.d.ts +0 -97
- package/dist/src/Collections/Debt.js +0 -12
- package/dist/src/Collections/Interest.d.ts +0 -38
- package/dist/src/Collections/Interest.js +0 -25
- package/dist/src/Collections/Payment.d.ts +0 -87
- package/dist/src/Collections/Payment.js +0 -21
- package/dist/src/Collections/PaymentPlan.d.ts +0 -87
- package/dist/src/Collections/PaymentPlan.js +0 -21
- package/dist/src/Collections/PaymentPlanConfiguration.d.ts +0 -100
- package/dist/src/Collections/PaymentPlanConfiguration.js +0 -34
- package/dist/src/Collections/Portfolio.d.ts +0 -52
- package/dist/src/Collections/Portfolio.js +0 -12
- package/dist/src/Collections/Promise.d.ts +0 -49
- package/dist/src/Collections/Promise.js +0 -25
- package/dist/src/Collections/index.d.ts +0 -11
- package/dist/src/Collections/index.js +0 -27
- package/dist/src/Common/API/AuthApiKey.d.ts +0 -5
- package/dist/src/Common/API/AuthApiKey.js +0 -2
- package/dist/src/Common/API/AuthBasic.d.ts +0 -4
- package/dist/src/Common/API/AuthBasic.js +0 -2
- package/dist/src/Common/API/AuthBearer.d.ts +0 -5
- package/dist/src/Common/API/AuthBearer.js +0 -2
- package/dist/src/Common/API/AuthType.d.ts +0 -6
- package/dist/src/Common/API/AuthType.js +0 -10
- package/dist/src/Common/API/Method.d.ts +0 -4
- package/dist/src/Common/API/Method.js +0 -8
- package/dist/src/Common/API/index.d.ts +0 -5
- package/dist/src/Common/API/index.js +0 -21
- package/dist/src/Common/Channels/Channel.d.ts +0 -99
- package/dist/src/Common/Channels/Channel.js +0 -20
- package/dist/src/Common/Channels/ChannelAccount.d.ts +0 -35
- package/dist/src/Common/Channels/ChannelAccount.js +0 -17
- package/dist/src/Common/Channels/ChannelType.d.ts +0 -24
- package/dist/src/Common/Channels/ChannelType.js +0 -28
- package/dist/src/Common/Channels/Email.d.ts +0 -62
- package/dist/src/Common/Channels/Email.js +0 -36
- package/dist/src/Common/Channels/Facebook.d.ts +0 -25
- package/dist/src/Common/Channels/Facebook.js +0 -6
- package/dist/src/Common/Channels/Form.d.ts +0 -118
- package/dist/src/Common/Channels/Form.js +0 -32
- package/dist/src/Common/Channels/GoogleBusiness.d.ts +0 -20
- package/dist/src/Common/Channels/GoogleBusiness.js +0 -9
- package/dist/src/Common/Channels/Instagram.d.ts +0 -29
- package/dist/src/Common/Channels/Instagram.js +0 -14
- package/dist/src/Common/Channels/MercadoLibre.d.ts +0 -27
- package/dist/src/Common/Channels/MercadoLibre.js +0 -9
- package/dist/src/Common/Channels/Pbx.d.ts +0 -2
- package/dist/src/Common/Channels/Pbx.js +0 -6
- package/dist/src/Common/Channels/Permission.d.ts +0 -6
- package/dist/src/Common/Channels/Permission.js +0 -6
- package/dist/src/Common/Channels/RCS.d.ts +0 -37
- package/dist/src/Common/Channels/RCS.js +0 -9
- package/dist/src/Common/Channels/Sip.d.ts +0 -2
- package/dist/src/Common/Channels/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/Conversation.d.ts +0 -167
- package/dist/src/Conversations/Conversation.js +0 -56
- package/dist/src/Conversations/DashBoard/dashboard.d.ts +0 -115
- package/dist/src/Conversations/DashBoard/dashboard.js +0 -65
- package/dist/src/Conversations/DashBoard/dashboardChannels.d.ts +0 -5
- package/dist/src/Conversations/DashBoard/dashboardChannels.js +0 -6
- package/dist/src/Conversations/DashBoard/dashboardForms.d.ts +0 -44
- package/dist/src/Conversations/DashBoard/dashboardForms.js +0 -24
- package/dist/src/Conversations/DashBoard/dashboardMessages.d.ts +0 -13
- package/dist/src/Conversations/DashBoard/dashboardMessages.js +0 -9
- package/dist/src/Conversations/Ending.d.ts +0 -17
- package/dist/src/Conversations/Ending.js +0 -2
- package/dist/src/Conversations/Flows/Definitions.d.ts +0 -10
- package/dist/src/Conversations/Flows/Definitions.js +0 -2
- package/dist/src/Conversations/Flows/Flow.d.ts +0 -222
- package/dist/src/Conversations/Flows/Flow.js +0 -50
- package/dist/src/Conversations/Flows/FlowInfo.d.ts +0 -9
- package/dist/src/Conversations/Flows/FlowInfo.js +0 -2
- package/dist/src/Conversations/Flows/Workflows/Workflow.d.ts +0 -179
- package/dist/src/Conversations/Flows/Workflows/Workflow.js +0 -48
- package/dist/src/Conversations/Flows/Workflows/index.d.ts +0 -1
- package/dist/src/Conversations/Flows/Workflows/index.js +0 -17
- package/dist/src/Conversations/Flows/index.d.ts +0 -4
- package/dist/src/Conversations/Flows/index.js +0 -20
- package/dist/src/Conversations/Groups/Group.d.ts +0 -23
- package/dist/src/Conversations/Groups/Group.js +0 -8
- package/dist/src/Conversations/Label.d.ts +0 -10
- package/dist/src/Conversations/Label.js +0 -2
- package/dist/src/Conversations/QuickResponse.d.ts +0 -34
- package/dist/src/Conversations/QuickResponse.js +0 -2
- package/dist/src/Conversations/SocialWalls.d.ts +0 -72
- package/dist/src/Conversations/SocialWalls.js +0 -2
- package/dist/src/Conversations/Survey.d.ts +0 -19
- package/dist/src/Conversations/Survey.js +0 -9
- package/dist/src/Conversations/WebHook.d.ts +0 -22
- package/dist/src/Conversations/WebHook.js +0 -2
- package/dist/src/Conversations/index.d.ts +0 -13
- package/dist/src/Conversations/index.js +0 -52
- package/dist/src/Docs/Document.d.ts +0 -58
- package/dist/src/Docs/Document.js +0 -29
- package/dist/src/Docs/Store.d.ts +0 -37
- package/dist/src/Docs/Store.js +0 -17
- package/dist/src/Docs/index.d.ts +0 -2
- package/dist/src/Docs/index.js +0 -18
- package/dist/src/Marketing/Campaign.d.ts +0 -69
- package/dist/src/Marketing/Campaign.js +0 -30
- package/dist/src/Marketing/Dashboard.d.ts +0 -48
- package/dist/src/Marketing/Dashboard.js +0 -2
- package/dist/src/Marketing/Options.d.ts +0 -12
- package/dist/src/Marketing/Options.js +0 -9
- package/dist/src/Marketing/Template.d.ts +0 -19
- package/dist/src/Marketing/Template.js +0 -8
- package/dist/src/Marketing/index.d.ts +0 -4
- package/dist/src/Marketing/index.js +0 -20
- package/dist/src/PublicAPI/apiKey.d.ts +0 -12
- package/dist/src/PublicAPI/apiKey.js +0 -2
- package/dist/src/Reports/ScheduledReport.d.ts +0 -205
- package/dist/src/Reports/ScheduledReport.js +0 -57
- package/dist/src/Reports/aiReport.d.ts +0 -20
- package/dist/src/Reports/aiReport.js +0 -2
- package/dist/src/Reports/apiResult.d.ts +0 -5
- package/dist/src/Reports/apiResult.js +0 -2
- package/dist/src/Reports/index.d.ts +0 -3
- package/dist/src/Reports/index.js +0 -19
- package/dist/src/Sales/Api.d.ts +0 -40
- package/dist/src/Sales/Api.js +0 -2
- package/dist/src/Sales/Common.d.ts +0 -72
- package/dist/src/Sales/Common.js +0 -31
- package/dist/src/Sales/Dashboard.d.ts +0 -25
- package/dist/src/Sales/Dashboard.js +0 -2
- package/dist/src/Sales/Lead.d.ts +0 -99
- package/dist/src/Sales/Lead.js +0 -8
- package/dist/src/Sales/index.d.ts +0 -4
- package/dist/src/Sales/index.js +0 -20
- package/dist/src/Security/Security.d.ts +0 -5
- package/dist/src/Security/Security.js +0 -2
- package/dist/src/Security/index.d.ts +0 -1
- package/dist/src/Security/index.js +0 -17
- package/dist/src/Shop/Cart/cart.d.ts +0 -19
- package/dist/src/Shop/Cart/cart.js +0 -2
- package/dist/src/Shop/index.d.ts +0 -1
- package/dist/src/Shop/index.js +0 -17
- package/dist/src/Spaces/Dashboard.d.ts +0 -4
- package/dist/src/Spaces/Dashboard.js +0 -2
- package/dist/src/Spaces/index.d.ts +0 -2
- package/dist/src/Spaces/index.js +0 -18
- package/dist/src/Spaces/spaces.d.ts +0 -104
- package/dist/src/Spaces/spaces.js +0 -85
- package/dist/src/Tickets/AI.d.ts +0 -400
- package/dist/src/Tickets/AI.js +0 -113
- package/dist/src/Tickets/AdvancedApi.d.ts +0 -486
- package/dist/src/Tickets/AdvancedApi.js +0 -108
- package/dist/src/Tickets/Api.d.ts +0 -62
- package/dist/src/Tickets/Api.js +0 -8
- package/dist/src/Tickets/Approval.d.ts +0 -139
- package/dist/src/Tickets/Approval.js +0 -30
- package/dist/src/Tickets/Automation.d.ts +0 -237
- package/dist/src/Tickets/Automation.js +0 -74
- package/dist/src/Tickets/Category.d.ts +0 -53
- package/dist/src/Tickets/Category.js +0 -2
- package/dist/src/Tickets/Common.d.ts +0 -90
- package/dist/src/Tickets/Common.js +0 -38
- package/dist/src/Tickets/Conversation.d.ts +0 -68
- package/dist/src/Tickets/Conversation.js +0 -30
- package/dist/src/Tickets/Dashboard.d.ts +0 -408
- package/dist/src/Tickets/Dashboard.js +0 -206
- package/dist/src/Tickets/Fields.d.ts +0 -133
- package/dist/src/Tickets/Fields.js +0 -44
- package/dist/src/Tickets/Layouts.d.ts +0 -63
- package/dist/src/Tickets/Layouts.js +0 -22
- package/dist/src/Tickets/Routing.d.ts +0 -290
- package/dist/src/Tickets/Routing.js +0 -87
- package/dist/src/Tickets/Satisfaction.d.ts +0 -31
- package/dist/src/Tickets/Satisfaction.js +0 -9
- package/dist/src/Tickets/Security.d.ts +0 -302
- package/dist/src/Tickets/Security.js +0 -107
- package/dist/src/Tickets/SelfService.d.ts +0 -255
- package/dist/src/Tickets/SelfService.js +0 -56
- package/dist/src/Tickets/Sla.d.ts +0 -253
- package/dist/src/Tickets/Sla.js +0 -73
- package/dist/src/Tickets/Task.d.ts +0 -122
- package/dist/src/Tickets/Task.js +0 -17
- package/dist/src/Tickets/Ticket.d.ts +0 -133
- package/dist/src/Tickets/Ticket.js +0 -2
- package/dist/src/Tickets/Views.d.ts +0 -77
- package/dist/src/Tickets/Views.js +0 -23
- package/dist/src/Tickets/Workflow.d.ts +0 -109
- package/dist/src/Tickets/Workflow.js +0 -44
- package/dist/src/Tickets/index.d.ts +0 -20
- package/dist/src/Tickets/index.js +0 -36
- package/dist/src/Users/Signature.d.ts +0 -74
- package/dist/src/Users/Signature.js +0 -2
- package/dist/src/Users/UserActivitySummary.d.ts +0 -5
- package/dist/src/Users/UserActivitySummary.js +0 -2
- package/dist/src/Users/UserProfile.d.ts +0 -97
- package/dist/src/Users/UserProfile.js +0 -5
- package/dist/src/Users/UserTrii.d.ts +0 -102
- package/dist/src/Users/UserTrii.js +0 -10
- package/dist/src/Users/UserType.d.ts +0 -10
- package/dist/src/Users/UserType.js +0 -13
- package/dist/src/Users/index.d.ts +0 -5
- package/dist/src/Users/index.js +0 -21
- package/dist/src/index.d.ts +0 -20
- package/dist/src/index.js +0 -56
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AutomationCustomer, AutomationJsonObject, AutomationJsonSchema, AutomationResourceReference, AutomationSourceApplication } from '../Common';
|
|
2
2
|
export declare const AUTOMATION_MESSAGE_SCHEMAS: {
|
|
3
|
-
readonly DOMAIN_EVENT_V1:
|
|
4
|
-
readonly START_REQUEST_V1:
|
|
5
|
-
readonly EXECUTION_WORK_ITEM_V1:
|
|
3
|
+
readonly DOMAIN_EVENT_V1: "automations.domain-event/v1";
|
|
4
|
+
readonly START_REQUEST_V1: "automations.start-request/v1";
|
|
5
|
+
readonly EXECUTION_WORK_ITEM_V1: "automations.execution.work-item/v1";
|
|
6
6
|
};
|
|
7
7
|
export interface AutomationEventDefinition {
|
|
8
8
|
eventType: string;
|
|
@@ -9,25 +9,25 @@ export declare enum CommunicationEndpointKind {
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const providerIdentityNamespaces: {
|
|
11
11
|
readonly meta: {
|
|
12
|
-
readonly instagramUser:
|
|
13
|
-
readonly messengerUser:
|
|
14
|
-
readonly whatsappUser:
|
|
12
|
+
readonly instagramUser: "instagram_user";
|
|
13
|
+
readonly messengerUser: "messenger_user";
|
|
14
|
+
readonly whatsappUser: "whatsapp_user";
|
|
15
15
|
};
|
|
16
16
|
readonly telegram: {
|
|
17
|
-
readonly user:
|
|
18
|
-
readonly chat:
|
|
17
|
+
readonly user: "user";
|
|
18
|
+
readonly chat: "chat";
|
|
19
19
|
};
|
|
20
20
|
readonly trii: {
|
|
21
|
-
readonly webchatVisitor:
|
|
21
|
+
readonly webchatVisitor: "webchat_visitor";
|
|
22
22
|
};
|
|
23
23
|
readonly mercadolibre: {
|
|
24
|
-
readonly buyer:
|
|
24
|
+
readonly buyer: "buyer";
|
|
25
25
|
};
|
|
26
26
|
readonly google: {
|
|
27
|
-
readonly businessMessagesUser:
|
|
27
|
+
readonly businessMessagesUser: "business_messages_user";
|
|
28
28
|
};
|
|
29
29
|
readonly openMessaging: {
|
|
30
|
-
readonly user:
|
|
30
|
+
readonly user: "open_messaging_user";
|
|
31
31
|
};
|
|
32
32
|
};
|
|
33
33
|
export type KnownIdentityProvider = keyof typeof providerIdentityNamespaces;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ConversationClassificationEvaluationStatus } from './ConversationClassificationEvaluation';
|
|
2
2
|
export declare const CONVERSATION_CLASSIFICATION_EVENT_TYPES: {
|
|
3
|
-
readonly CONVERSATION_RESOLVED_FOR_EVALUATION:
|
|
4
|
-
readonly EVALUATION_FINISHED:
|
|
3
|
+
readonly CONVERSATION_RESOLVED_FOR_EVALUATION: "conversation.resolved-for-classification";
|
|
4
|
+
readonly EVALUATION_FINISHED: "conversation.classification-evaluation-finished";
|
|
5
5
|
};
|
|
6
6
|
export declare const CONVERSATION_CLASSIFICATION_EVENT_SCHEMA_VERSION: 1;
|
|
7
7
|
/**
|
|
@@ -331,14 +331,14 @@ export type ConversationAssignmentSnapshot = {
|
|
|
331
331
|
offerExpiresAt?: never;
|
|
332
332
|
assignedAt?: never;
|
|
333
333
|
acceptedAt?: never;
|
|
334
|
-
} |
|
|
334
|
+
} | QueuedConversationAssignmentBase & {
|
|
335
335
|
status: 'queued' | 'routing';
|
|
336
336
|
owner: NoConversationOwner;
|
|
337
337
|
offeredAt?: never;
|
|
338
338
|
offerExpiresAt?: never;
|
|
339
339
|
assignedAt?: never;
|
|
340
340
|
acceptedAt?: never;
|
|
341
|
-
}
|
|
341
|
+
} | QueuedConversationAssignmentBase & {
|
|
342
342
|
status: 'offered';
|
|
343
343
|
owner: UserConversationOwner;
|
|
344
344
|
offeredAt: Date;
|
|
@@ -346,14 +346,14 @@ export type ConversationAssignmentSnapshot = {
|
|
|
346
346
|
offerExpiresAt: Date;
|
|
347
347
|
assignedAt?: never;
|
|
348
348
|
acceptedAt?: never;
|
|
349
|
-
}
|
|
349
|
+
} | QueuedConversationAssignmentBase & {
|
|
350
350
|
status: 'assigned';
|
|
351
351
|
owner: UserConversationOwner;
|
|
352
352
|
offeredAt?: null;
|
|
353
353
|
offerExpiresAt?: null;
|
|
354
354
|
assignedAt: Date;
|
|
355
355
|
acceptedAt?: never;
|
|
356
|
-
}
|
|
356
|
+
} | QueuedConversationAssignmentBase & {
|
|
357
357
|
status: 'accepted';
|
|
358
358
|
owner: UserConversationOwner;
|
|
359
359
|
/** Present after accepting an offer; absent/null when taking work directly. */
|
|
@@ -361,7 +361,7 @@ export type ConversationAssignmentSnapshot = {
|
|
|
361
361
|
offerExpiresAt?: null;
|
|
362
362
|
assignedAt: Date;
|
|
363
363
|
acceptedAt: Date;
|
|
364
|
-
}
|
|
364
|
+
};
|
|
365
365
|
export type ActorType = 'user' | 'contact' | 'bot' | 'flow' | 'system';
|
|
366
366
|
export type ParticipantRole = 'owner' | 'collaborator' | 'follower' | 'mentioned' | 'supervisor' | 'bot' | 'flow' | 'historical';
|
|
367
367
|
export type ConversationEventType = 'conversation_created' | 'queued' | 'assigned' | 'accepted' | 'transferred' | 'consult_requested' | 'collaborator_added' | 'participant_added' | 'participant_removed' | 'participation_abandoned' | 'follow_started' | 'follow_stopped' | 'message_sent' | 'message_received' | 'internal_note_added' | 'bot_started' | 'bot_finished' | 'flow_started' | 'flow_finished' | 'status_changed' | 'resolved' | 'reopened' | 'sla_warning' | 'sla_breached' | 'sla_started' | 'sla_paused' | 'sla_resumed' | 'sla_met' | 'sla_overridden';
|
|
@@ -395,15 +395,15 @@ interface ConversationSubscriptionBase {
|
|
|
395
395
|
* A subscription is persistent product intent. Assignment or participation
|
|
396
396
|
* visibility must not create it unless an explicit auto-follow policy applies.
|
|
397
397
|
*/
|
|
398
|
-
export type ConversationSubscription =
|
|
398
|
+
export type ConversationSubscription = ConversationSubscriptionBase & {
|
|
399
399
|
status: 'following';
|
|
400
400
|
followedAt: Date;
|
|
401
401
|
unfollowedAt?: never;
|
|
402
|
-
}
|
|
402
|
+
} | ConversationSubscriptionBase & {
|
|
403
403
|
status: 'unfollowed';
|
|
404
404
|
followedAt: Date;
|
|
405
405
|
unfollowedAt: Date;
|
|
406
|
-
}
|
|
406
|
+
};
|
|
407
407
|
export interface PutConversationSubscriptionRequest {
|
|
408
408
|
expectedVersion?: number;
|
|
409
409
|
notifications: ConversationSubscriptionNotifications;
|
|
@@ -21,27 +21,27 @@ export interface PartyOwnerAssigneeResolver {
|
|
|
21
21
|
mode: 'prefer' | 'required';
|
|
22
22
|
}
|
|
23
23
|
export type QueueOwnerAssigneeResolver = PartyOwnerAssigneeResolver;
|
|
24
|
-
export type QueueRoutingPolicy =
|
|
24
|
+
export type QueueRoutingPolicy = QueueRoutingPolicyBase & {
|
|
25
25
|
distributionMode: 'shared';
|
|
26
26
|
strategy?: never;
|
|
27
27
|
ownerResolver?: never;
|
|
28
|
-
}
|
|
28
|
+
} | QueueRoutingPolicyBase & {
|
|
29
29
|
distributionMode: 'manual_pull';
|
|
30
30
|
strategy?: never;
|
|
31
31
|
ownerResolver?: never;
|
|
32
|
-
}
|
|
32
|
+
} | QueueRoutingPolicyBase & {
|
|
33
33
|
distributionMode: 'exclusive';
|
|
34
34
|
strategy: QueueRoutingStrategy;
|
|
35
|
-
ownerResolver?: undefined |
|
|
35
|
+
ownerResolver?: undefined | PartyOwnerAssigneeResolver & {
|
|
36
36
|
mode: 'prefer';
|
|
37
|
-
}
|
|
38
|
-
}
|
|
37
|
+
};
|
|
38
|
+
} | QueueRoutingPolicyBase & {
|
|
39
39
|
distributionMode: 'exclusive';
|
|
40
40
|
strategy?: never;
|
|
41
41
|
ownerResolver: PartyOwnerAssigneeResolver & {
|
|
42
42
|
mode: 'required';
|
|
43
43
|
};
|
|
44
|
-
}
|
|
44
|
+
};
|
|
45
45
|
export type QueueRoutingConfig = QueueRoutingPolicy & {
|
|
46
46
|
queueId: string;
|
|
47
47
|
spaceId: string;
|
|
@@ -128,15 +128,15 @@ export type PartyOwnerAssigneeEvaluation = {
|
|
|
128
128
|
}>;
|
|
129
129
|
outcome: 'selected';
|
|
130
130
|
nextStep?: never;
|
|
131
|
-
} |
|
|
131
|
+
} | FailedPartyOwnerEvaluation & {
|
|
132
132
|
type: 'party_owner';
|
|
133
133
|
mode: 'prefer';
|
|
134
134
|
nextStep: 'strategy';
|
|
135
|
-
}
|
|
135
|
+
} | FailedPartyOwnerEvaluation & {
|
|
136
136
|
type: 'party_owner';
|
|
137
137
|
mode: 'required';
|
|
138
138
|
nextStep: 'fallback';
|
|
139
|
-
}
|
|
139
|
+
};
|
|
140
140
|
export interface RoutingDecision {
|
|
141
141
|
decisionId: string;
|
|
142
142
|
spaceId: string;
|
|
@@ -9,39 +9,39 @@
|
|
|
9
9
|
*/
|
|
10
10
|
export declare const DOMAIN_EVENT_TYPES: {
|
|
11
11
|
readonly AUTOMATIONS: {
|
|
12
|
-
readonly MANUAL:
|
|
13
|
-
readonly SCHEDULE_TICK:
|
|
12
|
+
readonly MANUAL: "automations.manual";
|
|
13
|
+
readonly SCHEDULE_TICK: "automations.schedule.tick";
|
|
14
14
|
};
|
|
15
15
|
readonly CONTACTS: {
|
|
16
|
-
readonly CONTACT_CREATED:
|
|
17
|
-
readonly BUSINESS_CREATED:
|
|
18
|
-
readonly PROPERTY_CHANGED:
|
|
19
|
-
readonly TAG_ADDED:
|
|
20
|
-
readonly TAG_REMOVED:
|
|
21
|
-
readonly PROPERTY_DATE_REACHED:
|
|
16
|
+
readonly CONTACT_CREATED: "contacts.contact.created";
|
|
17
|
+
readonly BUSINESS_CREATED: "contacts.business.created";
|
|
18
|
+
readonly PROPERTY_CHANGED: "contacts.property.changed";
|
|
19
|
+
readonly TAG_ADDED: "contacts.tag.added";
|
|
20
|
+
readonly TAG_REMOVED: "contacts.tag.removed";
|
|
21
|
+
readonly PROPERTY_DATE_REACHED: "contacts.property.date_reached";
|
|
22
22
|
};
|
|
23
23
|
readonly CONVERSATIONS: {
|
|
24
|
-
readonly CONVERSATION_CREATED:
|
|
25
|
-
readonly CONVERSATION_CLOSED:
|
|
26
|
-
readonly MESSAGE_RECEIVED:
|
|
27
|
-
readonly AGENT_INTERVENED:
|
|
24
|
+
readonly CONVERSATION_CREATED: "conversations.conversation.created";
|
|
25
|
+
readonly CONVERSATION_CLOSED: "conversations.conversation.closed";
|
|
26
|
+
readonly MESSAGE_RECEIVED: "conversations.message.received";
|
|
27
|
+
readonly AGENT_INTERVENED: "conversations.agent.intervened";
|
|
28
28
|
};
|
|
29
29
|
readonly TICKETS: {
|
|
30
|
-
readonly CREATED:
|
|
31
|
-
readonly STATUS_CHANGED:
|
|
32
|
-
readonly PRIORITY_CHANGED:
|
|
33
|
-
readonly ASSIGNED:
|
|
34
|
-
readonly CUSTOMER_REPLIED:
|
|
35
|
-
readonly SLA_WARNING:
|
|
36
|
-
readonly SLA_BREACHED:
|
|
37
|
-
readonly CLOSED:
|
|
38
|
-
readonly REOPENED:
|
|
30
|
+
readonly CREATED: "tickets.created";
|
|
31
|
+
readonly STATUS_CHANGED: "tickets.status_changed";
|
|
32
|
+
readonly PRIORITY_CHANGED: "tickets.priority_changed";
|
|
33
|
+
readonly ASSIGNED: "tickets.assigned";
|
|
34
|
+
readonly CUSTOMER_REPLIED: "tickets.customer_replied";
|
|
35
|
+
readonly SLA_WARNING: "tickets.sla_warning";
|
|
36
|
+
readonly SLA_BREACHED: "tickets.sla_breached";
|
|
37
|
+
readonly CLOSED: "tickets.closed";
|
|
38
|
+
readonly REOPENED: "tickets.reopened";
|
|
39
39
|
};
|
|
40
40
|
readonly FORMS: {
|
|
41
|
-
readonly SUBMITTED:
|
|
41
|
+
readonly SUBMITTED: "forms.submitted";
|
|
42
42
|
};
|
|
43
43
|
readonly INTEGRATIONS: {
|
|
44
|
-
readonly WEBHOOK_RECEIVED:
|
|
44
|
+
readonly WEBHOOK_RECEIVED: "integrations.webhook.received";
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
type Values<T> = T extends unknown ? T[keyof T] : never;
|
|
@@ -5,8 +5,26 @@ export declare class Options {
|
|
|
5
5
|
email: OptionsConfig;
|
|
6
6
|
sms: OptionsConfig;
|
|
7
7
|
rcs: OptionsConfig;
|
|
8
|
+
/** Datos de la empresa para el pie legal de los emails. Opcional: las versiones viejas de la API no lo devuelven. */
|
|
9
|
+
legalFooter?: OptionsLegalFooter;
|
|
10
|
+
/** Parámetros UTM que la API agrega a los enlaces del email al activar la campaña. */
|
|
11
|
+
linkTracking?: OptionsLinkTracking;
|
|
12
|
+
updatedAt?: Date | string | null;
|
|
13
|
+
updatedBy?: string | null;
|
|
8
14
|
}
|
|
9
15
|
export declare class OptionsConfig {
|
|
10
16
|
pause: number;
|
|
11
17
|
scheduleId: string;
|
|
12
18
|
}
|
|
19
|
+
export declare class OptionsLegalFooter {
|
|
20
|
+
company: string;
|
|
21
|
+
address: string;
|
|
22
|
+
website: string;
|
|
23
|
+
}
|
|
24
|
+
export declare class OptionsLinkTracking {
|
|
25
|
+
enabled: boolean;
|
|
26
|
+
/** utm_source */
|
|
27
|
+
source: string;
|
|
28
|
+
/** utm_medium */
|
|
29
|
+
medium: string;
|
|
30
|
+
}
|
|
@@ -1,9 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.OptionsConfig = exports.Options = void 0;
|
|
3
|
+
exports.OptionsLinkTracking = exports.OptionsLegalFooter = exports.OptionsConfig = exports.Options = void 0;
|
|
4
4
|
class Options {
|
|
5
5
|
}
|
|
6
6
|
exports.Options = Options;
|
|
7
7
|
class OptionsConfig {
|
|
8
8
|
}
|
|
9
9
|
exports.OptionsConfig = OptionsConfig;
|
|
10
|
+
class OptionsLegalFooter {
|
|
11
|
+
}
|
|
12
|
+
exports.OptionsLegalFooter = OptionsLegalFooter;
|
|
13
|
+
class OptionsLinkTracking {
|
|
14
|
+
}
|
|
15
|
+
exports.OptionsLinkTracking = OptionsLinkTracking;
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import { CampaignChannelType, CampaignTimestamp } from './Campaign';
|
|
2
|
+
/** Canales que tienen suscriptores. */
|
|
3
|
+
export type SubscriberChannelType = CampaignChannelType.EMAIL | CampaignChannelType.WHATSAPP;
|
|
4
|
+
/** Estado del suscriptor en un tema. */
|
|
5
|
+
export declare enum SubscriberSubscriptionStatus {
|
|
6
|
+
SUBSCRIBED = 1,
|
|
7
|
+
UNSUBSCRIBED = 2
|
|
8
|
+
}
|
|
9
|
+
/** De dónde salió el suscriptor. */
|
|
10
|
+
export declare enum SubscriberSource {
|
|
11
|
+
FORM = 1,
|
|
12
|
+
IMPORT = 2,
|
|
13
|
+
MANUAL = 3
|
|
14
|
+
}
|
|
15
|
+
export interface ISubscriber {
|
|
16
|
+
id: string;
|
|
17
|
+
spaceId: string;
|
|
18
|
+
channelType: SubscriberChannelType;
|
|
19
|
+
/** Normalizada igual que en Contactos: email en minúsculas; WhatsApp, solo dígitos con código de país. */
|
|
20
|
+
address: string;
|
|
21
|
+
name: string;
|
|
22
|
+
lastName: string;
|
|
23
|
+
company: string;
|
|
24
|
+
/** Un elemento por tema en el que está o estuvo suscrito, con su último estado. */
|
|
25
|
+
subscriptions: ISubscriberSubscription[];
|
|
26
|
+
/** Contacto que tiene esta misma dirección, si se encontró uno. */
|
|
27
|
+
contact?: ISubscriberContactLink | null;
|
|
28
|
+
source: SubscriberSource;
|
|
29
|
+
createdAt: CampaignTimestamp;
|
|
30
|
+
updatedAt?: CampaignTimestamp | null;
|
|
31
|
+
}
|
|
32
|
+
export interface ISubscriberSubscription {
|
|
33
|
+
/** ISubscription.id del tema. */
|
|
34
|
+
subscriptionId: string;
|
|
35
|
+
status: SubscriberSubscriptionStatus;
|
|
36
|
+
changedAt: CampaignTimestamp;
|
|
37
|
+
/** Alta del formulario con la evidencia del consentimiento, si el cambio salió de ahí. */
|
|
38
|
+
signupId?: string | null;
|
|
39
|
+
/** Usuario de Trii que lo cambió a mano, si fue así. */
|
|
40
|
+
changedBy?: string | null;
|
|
41
|
+
}
|
|
42
|
+
export interface ISubscriberContactLink {
|
|
43
|
+
contactId: string;
|
|
44
|
+
/** IContactAddress.id de la dirección. */
|
|
45
|
+
contactAddressId: string;
|
|
46
|
+
linkedAt: CampaignTimestamp;
|
|
47
|
+
}
|
|
48
|
+
/** GET Subscribers/paged: página por cursor, como la lista de campañas. */
|
|
49
|
+
export interface ISubscriberPage {
|
|
50
|
+
items: ISubscriber[];
|
|
51
|
+
nextCursor: string | null;
|
|
52
|
+
}
|
|
53
|
+
/** PUT Subscribers/{id}/subscriptions/{subscriptionId}: cambio a mano del estado en un tema. */
|
|
54
|
+
export interface ISubscriberSubscriptionUpdate {
|
|
55
|
+
status: SubscriberSubscriptionStatus;
|
|
56
|
+
}
|
|
57
|
+
/** POST Subscribers/lookup: direcciones de un canal (hasta 100) para saber si están suscritas. */
|
|
58
|
+
export interface ISubscriberLookupRequest {
|
|
59
|
+
channelType: SubscriberChannelType;
|
|
60
|
+
addresses: string[];
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* Respuesta de POST Subscribers/lookup: por cada dirección pedida (ya normalizada), su suscriptor o null. Va en el orden
|
|
64
|
+
* pedido, sin repetidas; las que quedan vacías al normalizar no vuelven, así que puede traer menos elementos.
|
|
65
|
+
*/
|
|
66
|
+
export interface ISubscriberLookupItem {
|
|
67
|
+
address: string;
|
|
68
|
+
subscriber: ISubscriber | null;
|
|
69
|
+
}
|
|
70
|
+
export type SubscriberSignupStatus = 'pending' | 'confirmed' | 'subscribed';
|
|
71
|
+
/** Evidencia de un alta del formulario de suscripción (colección SubscriptionSignups). */
|
|
72
|
+
export interface ISubscriberSignup {
|
|
73
|
+
id: string;
|
|
74
|
+
status: SubscriberSignupStatus;
|
|
75
|
+
doubleOptIn: boolean;
|
|
76
|
+
createdAt: CampaignTimestamp;
|
|
77
|
+
/** Lo que completó en el formulario, normalizado ("" si no lo completó). */
|
|
78
|
+
fields: ISubscriberSignupFields;
|
|
79
|
+
/** Temas a los que se suscribió con esta alta (los del formulario en ese momento). */
|
|
80
|
+
subscriptionIds: string[];
|
|
81
|
+
/** Canales aceptados, con el texto exacto de cada casilla. */
|
|
82
|
+
consent: ISubscriberSignupConsent[];
|
|
83
|
+
privacyUrl: string;
|
|
84
|
+
/** Desde dónde llegó: IP, navegador, sitio y página del formulario. */
|
|
85
|
+
request: ISubscriberSignupRequest;
|
|
86
|
+
/** Confirmación del doble opt-in, si la hubo. */
|
|
87
|
+
confirmation?: ISubscriberSignupConfirmation | null;
|
|
88
|
+
}
|
|
89
|
+
export interface ISubscriberSignupFields {
|
|
90
|
+
name: string;
|
|
91
|
+
lastName: string;
|
|
92
|
+
email: string;
|
|
93
|
+
/** Solo dígitos, con código de país. */
|
|
94
|
+
whatsapp: string;
|
|
95
|
+
/** Solo queda en la evidencia: no crea suscriptor (no hay consentimiento de SMS). */
|
|
96
|
+
phone: string;
|
|
97
|
+
company: string;
|
|
98
|
+
}
|
|
99
|
+
export interface ISubscriberSignupConsent {
|
|
100
|
+
channel: 'email' | 'whatsapp';
|
|
101
|
+
text: string;
|
|
102
|
+
}
|
|
103
|
+
export interface ISubscriberSignupRequest {
|
|
104
|
+
ip: string;
|
|
105
|
+
userAgent: string;
|
|
106
|
+
origin: string;
|
|
107
|
+
url: string;
|
|
108
|
+
}
|
|
109
|
+
export interface ISubscriberSignupConfirmation {
|
|
110
|
+
at: CampaignTimestamp;
|
|
111
|
+
ip: string;
|
|
112
|
+
userAgent: string;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* GET Subscribers/{id}: el suscriptor y las altas del formulario que lo crearon o actualizaron (hasta 100, las más
|
|
116
|
+
* nuevas). DELETE Subscribers/{id} responde 204 y deja las altas como evidencia.
|
|
117
|
+
*/
|
|
118
|
+
export interface ISubscriberDetail {
|
|
119
|
+
subscriber: ISubscriber;
|
|
120
|
+
signups: ISubscriberSignup[];
|
|
121
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SubscriberSource = exports.SubscriberSubscriptionStatus = void 0;
|
|
4
|
+
/** Estado del suscriptor en un tema. */
|
|
5
|
+
var SubscriberSubscriptionStatus;
|
|
6
|
+
(function (SubscriberSubscriptionStatus) {
|
|
7
|
+
SubscriberSubscriptionStatus[SubscriberSubscriptionStatus["SUBSCRIBED"] = 1] = "SUBSCRIBED";
|
|
8
|
+
SubscriberSubscriptionStatus[SubscriberSubscriptionStatus["UNSUBSCRIBED"] = 2] = "UNSUBSCRIBED";
|
|
9
|
+
})(SubscriberSubscriptionStatus || (exports.SubscriberSubscriptionStatus = SubscriberSubscriptionStatus = {}));
|
|
10
|
+
/** De dónde salió el suscriptor. */
|
|
11
|
+
var SubscriberSource;
|
|
12
|
+
(function (SubscriberSource) {
|
|
13
|
+
SubscriberSource[SubscriberSource["FORM"] = 1] = "FORM";
|
|
14
|
+
SubscriberSource[SubscriberSource["IMPORT"] = 2] = "IMPORT";
|
|
15
|
+
SubscriberSource[SubscriberSource["MANUAL"] = 3] = "MANUAL";
|
|
16
|
+
})(SubscriberSource || (exports.SubscriberSource = SubscriberSource = {}));
|
package/dist/Marketing/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { FormItemType } from "../../Common/Channels/Form";
|
|
2
|
-
export declare class DashBoardFormsSummaryInfo {
|
|
3
|
-
formId: string;
|
|
4
|
-
timeStart: Date;
|
|
5
|
-
timeEnd: Date;
|
|
6
|
-
completedForms: number;
|
|
7
|
-
records: DashBoardFormsQuestionSummary[];
|
|
8
|
-
}
|
|
9
|
-
export declare class DashBoardFormsQuestionSummary {
|
|
10
|
-
questionId: string;
|
|
11
|
-
question: string;
|
|
12
|
-
type: FormItemType;
|
|
13
|
-
count: number;
|
|
14
|
-
responses: DashBoardFormsResponseSummary[];
|
|
15
|
-
}
|
|
16
|
-
export declare class DashBoardFormsResponseSummary {
|
|
17
|
-
count: number;
|
|
18
|
-
responseTitle: string;
|
|
19
|
-
}
|
|
20
|
-
export declare class DashBoardFormsSubmittedFormsInfo {
|
|
21
|
-
formId: string;
|
|
22
|
-
timeStart: Date;
|
|
23
|
-
timeEnd: Date;
|
|
24
|
-
completedForms: number;
|
|
25
|
-
records: DashBoardFormsSubmittedFormRecord[];
|
|
26
|
-
}
|
|
27
|
-
export declare class DashBoardFormsSubmittedFormRecord {
|
|
28
|
-
id: string;
|
|
29
|
-
tags: FormTag[];
|
|
30
|
-
responses: DashBoardFormsSubmittedFormResponse[];
|
|
31
|
-
expireAt: Date;
|
|
32
|
-
createdAt: Date;
|
|
33
|
-
completedAt: Date;
|
|
34
|
-
}
|
|
35
|
-
export declare class DashBoardFormsSubmittedFormResponse {
|
|
36
|
-
questionId: string;
|
|
37
|
-
question: string;
|
|
38
|
-
type: FormItemType;
|
|
39
|
-
response: any;
|
|
40
|
-
}
|
|
41
|
-
export declare class FormTag {
|
|
42
|
-
name: string;
|
|
43
|
-
value: string;
|
|
44
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.FormTag = exports.DashBoardFormsSubmittedFormResponse = exports.DashBoardFormsSubmittedFormRecord = exports.DashBoardFormsSubmittedFormsInfo = exports.DashBoardFormsResponseSummary = exports.DashBoardFormsQuestionSummary = exports.DashBoardFormsSummaryInfo = void 0;
|
|
4
|
-
class DashBoardFormsSummaryInfo {
|
|
5
|
-
}
|
|
6
|
-
exports.DashBoardFormsSummaryInfo = DashBoardFormsSummaryInfo;
|
|
7
|
-
class DashBoardFormsQuestionSummary {
|
|
8
|
-
}
|
|
9
|
-
exports.DashBoardFormsQuestionSummary = DashBoardFormsQuestionSummary;
|
|
10
|
-
class DashBoardFormsResponseSummary {
|
|
11
|
-
}
|
|
12
|
-
exports.DashBoardFormsResponseSummary = DashBoardFormsResponseSummary;
|
|
13
|
-
class DashBoardFormsSubmittedFormsInfo {
|
|
14
|
-
}
|
|
15
|
-
exports.DashBoardFormsSubmittedFormsInfo = DashBoardFormsSubmittedFormsInfo;
|
|
16
|
-
class DashBoardFormsSubmittedFormRecord {
|
|
17
|
-
}
|
|
18
|
-
exports.DashBoardFormsSubmittedFormRecord = DashBoardFormsSubmittedFormRecord;
|
|
19
|
-
class DashBoardFormsSubmittedFormResponse {
|
|
20
|
-
}
|
|
21
|
-
exports.DashBoardFormsSubmittedFormResponse = DashBoardFormsSubmittedFormResponse;
|
|
22
|
-
class FormTag {
|
|
23
|
-
}
|
|
24
|
-
exports.FormTag = FormTag;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface InboxCounters {
|
|
2
|
-
spaceId: string;
|
|
3
|
-
userId: string;
|
|
4
|
-
pending: number;
|
|
5
|
-
following: number;
|
|
6
|
-
slaWarning: number;
|
|
7
|
-
slaBreached: number;
|
|
8
|
-
teamSlaBreached: number;
|
|
9
|
-
finalized: number;
|
|
10
|
-
spam: number;
|
|
11
|
-
tags: TagCount[];
|
|
12
|
-
updatedAt: Date;
|
|
13
|
-
}
|
|
14
|
-
export interface TagCount {
|
|
15
|
-
tagId: string;
|
|
16
|
-
name: string;
|
|
17
|
-
count: number;
|
|
18
|
-
}
|