@trii/types 2.10.385 → 2.10.387
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/Accounts/accounts.d.ts +88 -88
- package/dist/Accounts/accounts.js +21 -21
- package/dist/Accounts/device.d.ts +31 -31
- package/dist/Accounts/device.js +16 -16
- package/dist/Accounts/index.d.ts +2 -2
- package/dist/Accounts/index.js +2 -2
- package/dist/ApiResponses/index.d.ts +8 -8
- package/dist/ApiResponses/index.js +1 -1
- package/dist/AuditLogs/auditLog.d.ts +7 -7
- package/dist/AuditLogs/auditLog.js +1 -1
- package/dist/AuditLogs/auditLogType.d.ts +5 -5
- package/dist/AuditLogs/auditLogType.js +6 -6
- package/dist/AuditLogs/index.d.ts +2 -2
- package/dist/AuditLogs/index.js +2 -2
- package/dist/Calendar/Event.d.ts +63 -63
- package/dist/Calendar/Event.js +13 -13
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +1 -1
- package/dist/Calls/Call.d.ts +55 -55
- package/dist/Calls/Call.js +22 -22
- package/dist/Calls/index.d.ts +1 -1
- package/dist/Calls/index.js +1 -1
- package/dist/Common/API/AuthApiKey.d.ts +5 -5
- package/dist/Common/API/AuthApiKey.js +1 -1
- package/dist/Common/API/AuthBasic.d.ts +4 -4
- package/dist/Common/API/AuthBasic.js +1 -1
- package/dist/Common/API/AuthBearer.d.ts +5 -5
- package/dist/Common/API/AuthBearer.js +1 -1
- package/dist/Common/API/AuthType.d.ts +6 -6
- package/dist/Common/API/AuthType.js +7 -7
- package/dist/Common/API/Method.d.ts +4 -4
- package/dist/Common/API/Method.js +5 -5
- package/dist/Common/API/index.d.ts +5 -5
- package/dist/Common/API/index.js +5 -5
- package/dist/Common/Channels/Channel.d.ts +47 -47
- package/dist/Common/Channels/Channel.js +1 -1
- package/dist/Common/Channels/ChannelType.d.ts +24 -24
- package/dist/Common/Channels/ChannelType.js +25 -25
- package/dist/Common/Channels/Email.d.ts +59 -59
- package/dist/Common/Channels/Email.js +30 -30
- package/dist/Common/Channels/Facebook.d.ts +23 -23
- package/dist/Common/Channels/Facebook.js +2 -2
- package/dist/Common/Channels/Form.d.ts +52 -52
- package/dist/Common/Channels/Form.js +25 -25
- package/dist/Common/Channels/GoogleBusiness.d.ts +20 -20
- package/dist/Common/Channels/GoogleBusiness.js +4 -4
- package/dist/Common/Channels/Instagram.d.ts +22 -22
- package/dist/Common/Channels/Instagram.js +2 -2
- package/dist/Common/Channels/MercadoLibre.d.ts +27 -27
- package/dist/Common/Channels/MercadoLibre.js +4 -4
- package/dist/Common/Channels/Pbx.d.ts +2 -2
- package/dist/Common/Channels/Pbx.js +2 -2
- package/dist/Common/Channels/Permission.d.ts +6 -6
- package/dist/Common/Channels/Permission.js +2 -2
- package/dist/Common/Channels/RCS.d.ts +33 -33
- package/dist/Common/Channels/RCS.js +4 -4
- package/dist/Common/Channels/Sip.d.ts +2 -2
- package/dist/Common/Channels/Sip.js +2 -2
- package/dist/Common/Channels/Sms.d.ts +42 -42
- package/dist/Common/Channels/Sms.js +12 -12
- package/dist/Common/Channels/WebChat.d.ts +60 -60
- package/dist/Common/Channels/WebChat.js +14 -14
- package/dist/Common/Channels/WhatsApp.d.ts +41 -41
- package/dist/Common/Channels/WhatsApp.js +10 -10
- package/dist/Common/Channels/index.d.ts +15 -15
- package/dist/Common/Channels/index.js +15 -15
- package/dist/Common/EventsQueue/EmailTemplate.d.ts +10 -10
- package/dist/Common/EventsQueue/EmailTemplate.js +1 -1
- package/dist/Common/EventsQueue/EventQueue.d.ts +12 -12
- package/dist/Common/EventsQueue/EventQueue.js +1 -1
- package/dist/Common/EventsQueue/UserUpdate.d.ts +8 -8
- package/dist/Common/EventsQueue/UserUpdate.js +1 -1
- package/dist/Common/EventsQueue/index.d.ts +3 -3
- package/dist/Common/EventsQueue/index.js +3 -3
- package/dist/Common/Logs/Log.d.ts +18 -18
- package/dist/Common/Logs/Log.js +10 -10
- package/dist/Common/Logs/index.d.ts +1 -1
- package/dist/Common/Logs/index.js +1 -1
- package/dist/Common/Messages/MediaFile.d.ts +5 -5
- package/dist/Common/Messages/MediaFile.js +1 -1
- package/dist/Common/Messages/Message.d.ts +359 -359
- package/dist/Common/Messages/Message.js +53 -53
- package/dist/Common/Messages/Template.d.ts +62 -62
- package/dist/Common/Messages/Template.js +20 -20
- package/dist/Common/Messages/index.d.ts +3 -3
- package/dist/Common/Messages/index.js +3 -3
- package/dist/Common/Notifications/Notification.d.ts +19 -19
- package/dist/Common/Notifications/Notification.js +7 -7
- package/dist/Common/Notifications/UserNotificationsConfig.d.ts +30 -30
- package/dist/Common/Notifications/UserNotificationsConfig.js +8 -8
- package/dist/Common/Notifications/index.d.ts +2 -2
- package/dist/Common/Notifications/index.js +2 -2
- package/dist/Common/Schedules/Schedules.d.ts +32 -32
- package/dist/Common/Schedules/Schedules.js +1 -1
- package/dist/Common/Schedules/index.d.ts +1 -1
- package/dist/Common/Schedules/index.js +1 -1
- package/dist/Common/index.d.ts +6 -6
- package/dist/Common/index.js +12 -12
- package/dist/Contacts/File.d.ts +17 -17
- package/dist/Contacts/File.js +1 -1
- package/dist/Contacts/Label.d.ts +9 -9
- package/dist/Contacts/Label.js +1 -1
- package/dist/Contacts/Note.d.ts +15 -15
- package/dist/Contacts/Note.js +1 -1
- package/dist/Contacts/contacts.d.ts +240 -240
- package/dist/Contacts/contacts.js +39 -39
- package/dist/Contacts/index.d.ts +5 -5
- package/dist/Contacts/index.js +5 -5
- package/dist/Contacts/segments.d.ts +51 -51
- package/dist/Contacts/segments.js +49 -49
- package/dist/Conversations/Conversation.d.ts +92 -92
- package/dist/Conversations/Conversation.js +44 -44
- package/dist/Conversations/DashBoard/dashboard.d.ts +84 -84
- package/dist/Conversations/DashBoard/dashboard.js +45 -45
- package/dist/Conversations/DashBoard/dashboardChannels.d.ts +5 -5
- package/dist/Conversations/DashBoard/dashboardChannels.js +2 -2
- package/dist/Conversations/DashBoard/dashboardForms.d.ts +44 -44
- package/dist/Conversations/DashBoard/dashboardForms.js +14 -14
- package/dist/Conversations/DashBoard/dashboardMessages.d.ts +13 -13
- package/dist/Conversations/DashBoard/dashboardMessages.js +4 -4
- package/dist/Conversations/Ending.d.ts +11 -11
- package/dist/Conversations/Ending.js +1 -1
- package/dist/Conversations/Flows/Flow.d.ts +104 -104
- package/dist/Conversations/Flows/Flow.js +36 -36
- package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +20 -20
- package/dist/Conversations/Flows/Nodes/NodeApi.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +21 -21
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +16 -16
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +8 -8
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +12 -12
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +7 -7
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +4 -4
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +15 -15
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +11 -11
- package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +12 -12
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +4 -4
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +22 -22
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +9 -9
- package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +47 -47
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +27 -27
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +45 -45
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +31 -31
- package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +7 -7
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +9 -9
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +14 -14
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +8 -8
- package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +32 -32
- package/dist/Conversations/Flows/Nodes/NodeStart.js +184 -184
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +9 -9
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +2 -2
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +6 -6
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +2 -2
- package/dist/Conversations/Flows/Nodes/index.d.ts +18 -18
- package/dist/Conversations/Flows/Nodes/index.js +18 -18
- package/dist/Conversations/Flows/index.d.ts +2 -2
- package/dist/Conversations/Flows/index.js +3 -3
- package/dist/Conversations/Groups/Group.d.ts +23 -23
- package/dist/Conversations/Groups/Group.js +6 -6
- package/dist/Conversations/Label.d.ts +10 -10
- package/dist/Conversations/Label.js +1 -1
- package/dist/Conversations/QuickResponse.d.ts +34 -34
- package/dist/Conversations/QuickResponse.js +1 -1
- package/dist/Conversations/SocialWalls.d.ts +55 -54
- package/dist/Conversations/SocialWalls.js +1 -1
- package/dist/Conversations/WebHook.d.ts +22 -22
- package/dist/Conversations/WebHook.js +1 -1
- package/dist/Conversations/index.d.ts +12 -12
- package/dist/Conversations/index.js +14 -14
- package/dist/Marketing/Campaign.d.ts +50 -50
- package/dist/Marketing/Campaign.js +25 -25
- package/dist/Marketing/Dashboard.d.ts +48 -48
- package/dist/Marketing/Dashboard.js +1 -1
- package/dist/Marketing/index.d.ts +2 -2
- package/dist/Marketing/index.js +2 -2
- package/dist/PublicAPI/apiKey.d.ts +12 -12
- package/dist/PublicAPI/apiKey.js +1 -1
- package/dist/Security/Security.d.ts +5 -5
- package/dist/Security/Security.js +1 -1
- package/dist/Security/index.d.ts +1 -1
- package/dist/Security/index.js +1 -1
- package/dist/Spaces/Dashboard.d.ts +4 -4
- package/dist/Spaces/Dashboard.js +1 -1
- package/dist/Spaces/index.d.ts +2 -2
- package/dist/Spaces/index.js +2 -2
- package/dist/Spaces/spaces.d.ts +92 -92
- package/dist/Spaces/spaces.js +77 -77
- package/dist/Tickets/AccessLevel.d.ts +5 -5
- package/dist/Tickets/AccessLevel.js +6 -6
- package/dist/Tickets/index.d.ts +1 -1
- package/dist/Tickets/index.js +1 -1
- package/dist/Users/UserActivitySummary.d.ts +5 -5
- package/dist/Users/UserActivitySummary.js +1 -1
- package/dist/Users/UserProfile.d.ts +105 -105
- package/dist/Users/UserProfile.js +78 -78
- package/dist/Users/UserTrii.d.ts +94 -94
- package/dist/Users/UserTrii.js +15 -15
- package/dist/Users/UserType.d.ts +10 -10
- package/dist/Users/UserType.js +11 -11
- package/dist/Users/index.d.ts +4 -4
- package/dist/Users/index.js +4 -4
- package/dist/index.d.ts +14 -14
- package/dist/index.js +28 -28
- package/package.json +5 -2
- package/dist/Campaigns/Campaign.d.ts +0 -40
- package/dist/Campaigns/Campaign.js +0 -18
- package/dist/Campaigns/index.d.ts +0 -1
- package/dist/Campaigns/index.js +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export var SmsConectionType;
|
|
2
|
-
(function (SmsConectionType) {
|
|
3
|
-
SmsConectionType[SmsConectionType["NULL"] = 0] = "NULL";
|
|
4
|
-
SmsConectionType[SmsConectionType["SYNWAY"] = 1] = "SYNWAY";
|
|
5
|
-
SmsConectionType[SmsConectionType["DINSTAR"] = 2] = "DINSTAR";
|
|
6
|
-
SmsConectionType[SmsConectionType["YEASTAR"] = 3] = "YEASTAR";
|
|
7
|
-
SmsConectionType[SmsConectionType["TRIISHORTSMS"] = 4] = "TRIISHORTSMS";
|
|
8
|
-
SmsConectionType[SmsConectionType["NOTIMATION"] = 5] = "NOTIMATION";
|
|
9
|
-
SmsConectionType[SmsConectionType["SMSMASIVOS"] = 6] = "SMSMASIVOS";
|
|
10
|
-
})(SmsConectionType || (SmsConectionType = {}));
|
|
11
|
-
export class SmsConfig {
|
|
12
|
-
}
|
|
1
|
+
export var SmsConectionType;
|
|
2
|
+
(function (SmsConectionType) {
|
|
3
|
+
SmsConectionType[SmsConectionType["NULL"] = 0] = "NULL";
|
|
4
|
+
SmsConectionType[SmsConectionType["SYNWAY"] = 1] = "SYNWAY";
|
|
5
|
+
SmsConectionType[SmsConectionType["DINSTAR"] = 2] = "DINSTAR";
|
|
6
|
+
SmsConectionType[SmsConectionType["YEASTAR"] = 3] = "YEASTAR";
|
|
7
|
+
SmsConectionType[SmsConectionType["TRIISHORTSMS"] = 4] = "TRIISHORTSMS";
|
|
8
|
+
SmsConectionType[SmsConectionType["NOTIMATION"] = 5] = "NOTIMATION";
|
|
9
|
+
SmsConectionType[SmsConectionType["SMSMASIVOS"] = 6] = "SMSMASIVOS";
|
|
10
|
+
})(SmsConectionType || (SmsConectionType = {}));
|
|
11
|
+
export class SmsConfig {
|
|
12
|
+
}
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
-
export declare class WebChatConfig {
|
|
3
|
-
token?: string | '';
|
|
4
|
-
reassign?: boolean;
|
|
5
|
-
reassignTime?: number;
|
|
6
|
-
reassignGroupId?: string;
|
|
7
|
-
autoResponseBusinessHours?: boolean;
|
|
8
|
-
autoResponseOutOfBusinessHours?: boolean;
|
|
9
|
-
autoResponseHoliday?: boolean;
|
|
10
|
-
autoResponseBusinessHoursMessage?: string | '';
|
|
11
|
-
autoResponseOutOfBusinessHoursMessage?: string | '';
|
|
12
|
-
autoResponseHolidayMessage?: string | '';
|
|
13
|
-
scheduleId?: string | null;
|
|
14
|
-
schedule?: ISchedule | null;
|
|
15
|
-
statusShowWidget: boolean;
|
|
16
|
-
styleBackgroundColor?: string | '';
|
|
17
|
-
styleFontColor?: string | '';
|
|
18
|
-
widgetPosition?: WebChatWidgetPosition;
|
|
19
|
-
widgetShape?: WebChatWidgetShape;
|
|
20
|
-
widgetTitle?: string | '';
|
|
21
|
-
widgetSubTitle?: string | '';
|
|
22
|
-
widgetCalloutEnabled: boolean;
|
|
23
|
-
widgetCalloutTimer: number;
|
|
24
|
-
widgetCalloutTitle?: string | '';
|
|
25
|
-
widgetCalloutMessage?: string | '';
|
|
26
|
-
widgetCalloutIcon?: string | '';
|
|
27
|
-
homeLogoEnabled: boolean;
|
|
28
|
-
homeLogoUrl?: string | '';
|
|
29
|
-
homeTitle?: string | '';
|
|
30
|
-
homeSubTitle?: string | '';
|
|
31
|
-
homeMultiConversationsEnabled: boolean;
|
|
32
|
-
homeChannelsWhatsApp: WebChatChannel[];
|
|
33
|
-
homeChannelsMessenger: WebChatChannel[];
|
|
34
|
-
homeChannelsPhone: WebChatChannel[];
|
|
35
|
-
preChatUserInfoEnabled: boolean;
|
|
36
|
-
preChatUserInfoEmailTitle: string | '';
|
|
37
|
-
preChatUserInfoNameTitle: string | '';
|
|
38
|
-
preChatDataPrivacyPolicyEnabled: boolean;
|
|
39
|
-
preChatDataPrivacyPolicyDescription: string | '';
|
|
40
|
-
preChatDataPrivacyPolicyLink: string | '';
|
|
41
|
-
surveyEnabled: boolean;
|
|
42
|
-
surveyFormId?: string | '';
|
|
43
|
-
advanceMarginTop: number;
|
|
44
|
-
}
|
|
45
|
-
export declare enum WebChatWidgetPosition {
|
|
46
|
-
RIGHT = 0,
|
|
47
|
-
LEFT = 1
|
|
48
|
-
}
|
|
49
|
-
export declare enum WebChatWidgetShape {
|
|
50
|
-
ONLY_ICON = 0,
|
|
51
|
-
ICON_AND_TEXT = 1
|
|
52
|
-
}
|
|
53
|
-
export declare class WebChatChannel {
|
|
54
|
-
id?: string;
|
|
55
|
-
order: number | 0;
|
|
56
|
-
imageUrl?: string | '';
|
|
57
|
-
title?: string | '';
|
|
58
|
-
detail?: string | '';
|
|
59
|
-
address?: string | '';
|
|
60
|
-
}
|
|
1
|
+
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
+
export declare class WebChatConfig {
|
|
3
|
+
token?: string | '';
|
|
4
|
+
reassign?: boolean;
|
|
5
|
+
reassignTime?: number;
|
|
6
|
+
reassignGroupId?: string;
|
|
7
|
+
autoResponseBusinessHours?: boolean;
|
|
8
|
+
autoResponseOutOfBusinessHours?: boolean;
|
|
9
|
+
autoResponseHoliday?: boolean;
|
|
10
|
+
autoResponseBusinessHoursMessage?: string | '';
|
|
11
|
+
autoResponseOutOfBusinessHoursMessage?: string | '';
|
|
12
|
+
autoResponseHolidayMessage?: string | '';
|
|
13
|
+
scheduleId?: string | null;
|
|
14
|
+
schedule?: ISchedule | null;
|
|
15
|
+
statusShowWidget: boolean;
|
|
16
|
+
styleBackgroundColor?: string | '';
|
|
17
|
+
styleFontColor?: string | '';
|
|
18
|
+
widgetPosition?: WebChatWidgetPosition;
|
|
19
|
+
widgetShape?: WebChatWidgetShape;
|
|
20
|
+
widgetTitle?: string | '';
|
|
21
|
+
widgetSubTitle?: string | '';
|
|
22
|
+
widgetCalloutEnabled: boolean;
|
|
23
|
+
widgetCalloutTimer: number;
|
|
24
|
+
widgetCalloutTitle?: string | '';
|
|
25
|
+
widgetCalloutMessage?: string | '';
|
|
26
|
+
widgetCalloutIcon?: string | '';
|
|
27
|
+
homeLogoEnabled: boolean;
|
|
28
|
+
homeLogoUrl?: string | '';
|
|
29
|
+
homeTitle?: string | '';
|
|
30
|
+
homeSubTitle?: string | '';
|
|
31
|
+
homeMultiConversationsEnabled: boolean;
|
|
32
|
+
homeChannelsWhatsApp: WebChatChannel[];
|
|
33
|
+
homeChannelsMessenger: WebChatChannel[];
|
|
34
|
+
homeChannelsPhone: WebChatChannel[];
|
|
35
|
+
preChatUserInfoEnabled: boolean;
|
|
36
|
+
preChatUserInfoEmailTitle: string | '';
|
|
37
|
+
preChatUserInfoNameTitle: string | '';
|
|
38
|
+
preChatDataPrivacyPolicyEnabled: boolean;
|
|
39
|
+
preChatDataPrivacyPolicyDescription: string | '';
|
|
40
|
+
preChatDataPrivacyPolicyLink: string | '';
|
|
41
|
+
surveyEnabled: boolean;
|
|
42
|
+
surveyFormId?: string | '';
|
|
43
|
+
advanceMarginTop: number;
|
|
44
|
+
}
|
|
45
|
+
export declare enum WebChatWidgetPosition {
|
|
46
|
+
RIGHT = 0,
|
|
47
|
+
LEFT = 1
|
|
48
|
+
}
|
|
49
|
+
export declare enum WebChatWidgetShape {
|
|
50
|
+
ONLY_ICON = 0,
|
|
51
|
+
ICON_AND_TEXT = 1
|
|
52
|
+
}
|
|
53
|
+
export declare class WebChatChannel {
|
|
54
|
+
id?: string;
|
|
55
|
+
order: number | 0;
|
|
56
|
+
imageUrl?: string | '';
|
|
57
|
+
title?: string | '';
|
|
58
|
+
detail?: string | '';
|
|
59
|
+
address?: string | '';
|
|
60
|
+
}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
export class WebChatConfig {
|
|
2
|
-
}
|
|
3
|
-
export var WebChatWidgetPosition;
|
|
4
|
-
(function (WebChatWidgetPosition) {
|
|
5
|
-
WebChatWidgetPosition[WebChatWidgetPosition["RIGHT"] = 0] = "RIGHT";
|
|
6
|
-
WebChatWidgetPosition[WebChatWidgetPosition["LEFT"] = 1] = "LEFT";
|
|
7
|
-
})(WebChatWidgetPosition || (WebChatWidgetPosition = {}));
|
|
8
|
-
export var WebChatWidgetShape;
|
|
9
|
-
(function (WebChatWidgetShape) {
|
|
10
|
-
WebChatWidgetShape[WebChatWidgetShape["ONLY_ICON"] = 0] = "ONLY_ICON";
|
|
11
|
-
WebChatWidgetShape[WebChatWidgetShape["ICON_AND_TEXT"] = 1] = "ICON_AND_TEXT";
|
|
12
|
-
})(WebChatWidgetShape || (WebChatWidgetShape = {}));
|
|
13
|
-
export class WebChatChannel {
|
|
14
|
-
}
|
|
1
|
+
export class WebChatConfig {
|
|
2
|
+
}
|
|
3
|
+
export var WebChatWidgetPosition;
|
|
4
|
+
(function (WebChatWidgetPosition) {
|
|
5
|
+
WebChatWidgetPosition[WebChatWidgetPosition["RIGHT"] = 0] = "RIGHT";
|
|
6
|
+
WebChatWidgetPosition[WebChatWidgetPosition["LEFT"] = 1] = "LEFT";
|
|
7
|
+
})(WebChatWidgetPosition || (WebChatWidgetPosition = {}));
|
|
8
|
+
export var WebChatWidgetShape;
|
|
9
|
+
(function (WebChatWidgetShape) {
|
|
10
|
+
WebChatWidgetShape[WebChatWidgetShape["ONLY_ICON"] = 0] = "ONLY_ICON";
|
|
11
|
+
WebChatWidgetShape[WebChatWidgetShape["ICON_AND_TEXT"] = 1] = "ICON_AND_TEXT";
|
|
12
|
+
})(WebChatWidgetShape || (WebChatWidgetShape = {}));
|
|
13
|
+
export class WebChatChannel {
|
|
14
|
+
}
|
|
@@ -1,41 +1,41 @@
|
|
|
1
|
-
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
-
export declare enum WhatsAppConectionType {
|
|
3
|
-
NULL = 0,
|
|
4
|
-
APIQR = 1,
|
|
5
|
-
TWILIO = 2,
|
|
6
|
-
DIALOG360 = 6,
|
|
7
|
-
CLOUDAPI = 7
|
|
8
|
-
}
|
|
9
|
-
export declare class WhatsAppConfig {
|
|
10
|
-
useInCampaigns?: boolean;
|
|
11
|
-
token?: string;
|
|
12
|
-
reOpenTime?: number;
|
|
13
|
-
pauseBetweenMessages?: number;
|
|
14
|
-
reassign?: boolean;
|
|
15
|
-
reassignTime?: number;
|
|
16
|
-
reassignGroupId?: string;
|
|
17
|
-
autoResponseBusinessHours?: boolean;
|
|
18
|
-
autoResponseOutOfBusinessHours?: boolean;
|
|
19
|
-
autoResponseHoliday?: boolean;
|
|
20
|
-
autoResponseBusinessHoursMessage?: string | '';
|
|
21
|
-
autoResponseOutOfBusinessHoursMessage?: string | '';
|
|
22
|
-
autoResponseHolidayMessage?: string | '';
|
|
23
|
-
scheduleId?: string | null;
|
|
24
|
-
schedule?: ISchedule | null;
|
|
25
|
-
status: string;
|
|
26
|
-
conectionType: WhatsAppConectionType;
|
|
27
|
-
dialog360NameSpace?: string;
|
|
28
|
-
dialog360AuthToken?: string;
|
|
29
|
-
dialog360Number?: string;
|
|
30
|
-
twilioAccountSid?: string;
|
|
31
|
-
twilioAuthToken?: string;
|
|
32
|
-
twilioNumber?: string;
|
|
33
|
-
apiqrId?: string;
|
|
34
|
-
apiqrToken?: string;
|
|
35
|
-
cloudApiNameSpace?: string;
|
|
36
|
-
cloudApiSystemUserAccessToken?: string;
|
|
37
|
-
cloudApiAppToken?: string;
|
|
38
|
-
cloudApiWhatsAppBusinessAccountId?: string;
|
|
39
|
-
cloudApiMetaDeveloperAppId?: string;
|
|
40
|
-
cloudApiWhatsAppPhoneNumberId?: string;
|
|
41
|
-
}
|
|
1
|
+
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
+
export declare enum WhatsAppConectionType {
|
|
3
|
+
NULL = 0,
|
|
4
|
+
APIQR = 1,
|
|
5
|
+
TWILIO = 2,
|
|
6
|
+
DIALOG360 = 6,
|
|
7
|
+
CLOUDAPI = 7
|
|
8
|
+
}
|
|
9
|
+
export declare class WhatsAppConfig {
|
|
10
|
+
useInCampaigns?: boolean;
|
|
11
|
+
token?: string;
|
|
12
|
+
reOpenTime?: number;
|
|
13
|
+
pauseBetweenMessages?: number;
|
|
14
|
+
reassign?: boolean;
|
|
15
|
+
reassignTime?: number;
|
|
16
|
+
reassignGroupId?: string;
|
|
17
|
+
autoResponseBusinessHours?: boolean;
|
|
18
|
+
autoResponseOutOfBusinessHours?: boolean;
|
|
19
|
+
autoResponseHoliday?: boolean;
|
|
20
|
+
autoResponseBusinessHoursMessage?: string | '';
|
|
21
|
+
autoResponseOutOfBusinessHoursMessage?: string | '';
|
|
22
|
+
autoResponseHolidayMessage?: string | '';
|
|
23
|
+
scheduleId?: string | null;
|
|
24
|
+
schedule?: ISchedule | null;
|
|
25
|
+
status: string;
|
|
26
|
+
conectionType: WhatsAppConectionType;
|
|
27
|
+
dialog360NameSpace?: string;
|
|
28
|
+
dialog360AuthToken?: string;
|
|
29
|
+
dialog360Number?: string;
|
|
30
|
+
twilioAccountSid?: string;
|
|
31
|
+
twilioAuthToken?: string;
|
|
32
|
+
twilioNumber?: string;
|
|
33
|
+
apiqrId?: string;
|
|
34
|
+
apiqrToken?: string;
|
|
35
|
+
cloudApiNameSpace?: string;
|
|
36
|
+
cloudApiSystemUserAccessToken?: string;
|
|
37
|
+
cloudApiAppToken?: string;
|
|
38
|
+
cloudApiWhatsAppBusinessAccountId?: string;
|
|
39
|
+
cloudApiMetaDeveloperAppId?: string;
|
|
40
|
+
cloudApiWhatsAppPhoneNumberId?: string;
|
|
41
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export var WhatsAppConectionType;
|
|
2
|
-
(function (WhatsAppConectionType) {
|
|
3
|
-
WhatsAppConectionType[WhatsAppConectionType["NULL"] = 0] = "NULL";
|
|
4
|
-
WhatsAppConectionType[WhatsAppConectionType["APIQR"] = 1] = "APIQR";
|
|
5
|
-
WhatsAppConectionType[WhatsAppConectionType["TWILIO"] = 2] = "TWILIO";
|
|
6
|
-
WhatsAppConectionType[WhatsAppConectionType["DIALOG360"] = 6] = "DIALOG360";
|
|
7
|
-
WhatsAppConectionType[WhatsAppConectionType["CLOUDAPI"] = 7] = "CLOUDAPI";
|
|
8
|
-
})(WhatsAppConectionType || (WhatsAppConectionType = {}));
|
|
9
|
-
export class WhatsAppConfig {
|
|
10
|
-
}
|
|
1
|
+
export var WhatsAppConectionType;
|
|
2
|
+
(function (WhatsAppConectionType) {
|
|
3
|
+
WhatsAppConectionType[WhatsAppConectionType["NULL"] = 0] = "NULL";
|
|
4
|
+
WhatsAppConectionType[WhatsAppConectionType["APIQR"] = 1] = "APIQR";
|
|
5
|
+
WhatsAppConectionType[WhatsAppConectionType["TWILIO"] = 2] = "TWILIO";
|
|
6
|
+
WhatsAppConectionType[WhatsAppConectionType["DIALOG360"] = 6] = "DIALOG360";
|
|
7
|
+
WhatsAppConectionType[WhatsAppConectionType["CLOUDAPI"] = 7] = "CLOUDAPI";
|
|
8
|
+
})(WhatsAppConectionType || (WhatsAppConectionType = {}));
|
|
9
|
+
export class WhatsAppConfig {
|
|
10
|
+
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from './Channel';
|
|
2
|
-
export * from './ChannelType';
|
|
3
|
-
export * from './Permission';
|
|
4
|
-
export * from './Email';
|
|
5
|
-
export * from './Facebook';
|
|
6
|
-
export * from './Form';
|
|
7
|
-
export * from './GoogleBusiness';
|
|
8
|
-
export * from './Instagram';
|
|
9
|
-
export * from './MercadoLibre';
|
|
10
|
-
export * from './Pbx';
|
|
11
|
-
export * from './Sip';
|
|
12
|
-
export * from './Sms';
|
|
13
|
-
export * from './WebChat';
|
|
14
|
-
export * from './WhatsApp';
|
|
15
|
-
export * from './RCS';
|
|
1
|
+
export * from './Channel';
|
|
2
|
+
export * from './ChannelType';
|
|
3
|
+
export * from './Permission';
|
|
4
|
+
export * from './Email';
|
|
5
|
+
export * from './Facebook';
|
|
6
|
+
export * from './Form';
|
|
7
|
+
export * from './GoogleBusiness';
|
|
8
|
+
export * from './Instagram';
|
|
9
|
+
export * from './MercadoLibre';
|
|
10
|
+
export * from './Pbx';
|
|
11
|
+
export * from './Sip';
|
|
12
|
+
export * from './Sms';
|
|
13
|
+
export * from './WebChat';
|
|
14
|
+
export * from './WhatsApp';
|
|
15
|
+
export * from './RCS';
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export * from './Channel';
|
|
2
|
-
export * from './ChannelType';
|
|
3
|
-
export * from './Permission';
|
|
4
|
-
export * from './Email';
|
|
5
|
-
export * from './Facebook';
|
|
6
|
-
export * from './Form';
|
|
7
|
-
export * from './GoogleBusiness';
|
|
8
|
-
export * from './Instagram';
|
|
9
|
-
export * from './MercadoLibre';
|
|
10
|
-
export * from './Pbx';
|
|
11
|
-
export * from './Sip';
|
|
12
|
-
export * from './Sms';
|
|
13
|
-
export * from './WebChat';
|
|
14
|
-
export * from './WhatsApp';
|
|
15
|
-
export * from './RCS';
|
|
1
|
+
export * from './Channel';
|
|
2
|
+
export * from './ChannelType';
|
|
3
|
+
export * from './Permission';
|
|
4
|
+
export * from './Email';
|
|
5
|
+
export * from './Facebook';
|
|
6
|
+
export * from './Form';
|
|
7
|
+
export * from './GoogleBusiness';
|
|
8
|
+
export * from './Instagram';
|
|
9
|
+
export * from './MercadoLibre';
|
|
10
|
+
export * from './Pbx';
|
|
11
|
+
export * from './Sip';
|
|
12
|
+
export * from './Sms';
|
|
13
|
+
export * from './WebChat';
|
|
14
|
+
export * from './WhatsApp';
|
|
15
|
+
export * from './RCS';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export interface ITemplate {
|
|
2
|
-
from: string;
|
|
3
|
-
to: string[];
|
|
4
|
-
cc?: string[];
|
|
5
|
-
bcc?: string[];
|
|
6
|
-
templateName: string;
|
|
7
|
-
templateData: {
|
|
8
|
-
[key: string]: string;
|
|
9
|
-
};
|
|
10
|
-
}
|
|
1
|
+
export interface ITemplate {
|
|
2
|
+
from: string;
|
|
3
|
+
to: string[];
|
|
4
|
+
cc?: string[];
|
|
5
|
+
bcc?: string[];
|
|
6
|
+
templateName: string;
|
|
7
|
+
templateData: {
|
|
8
|
+
[key: string]: string;
|
|
9
|
+
};
|
|
10
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
type: QueueType;
|
|
5
|
-
action: QueueAction;
|
|
6
|
-
channelRef: string;
|
|
7
|
-
data: any;
|
|
8
|
-
param1: any;
|
|
9
|
-
spaceId: string;
|
|
10
|
-
userId: string;
|
|
11
|
-
websocketGroup: string;
|
|
12
|
-
};
|
|
1
|
+
export type QueueType = 'Conversation' | 'Message' | 'MessageStatus' | 'MessageAckStatus' | 'Post' | 'PostComment' | 'PostResponse' | 'Reaction' | 'ChannelML' | 'Template' | 'Email' | 'ProfilePic';
|
|
2
|
+
export type QueueAction = 'add' | 'remove' | 'edited' | 'react' | 'unreact' | 'Reject' | 'Bounce' | 'Complaint';
|
|
3
|
+
export type EventQueue = {
|
|
4
|
+
type: QueueType;
|
|
5
|
+
action: QueueAction;
|
|
6
|
+
channelRef: string;
|
|
7
|
+
data: any;
|
|
8
|
+
param1: any;
|
|
9
|
+
spaceId: string;
|
|
10
|
+
userId: string;
|
|
11
|
+
websocketGroup: string;
|
|
12
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UserStatus } from "../../Users/UserTrii";
|
|
2
|
-
export interface IUserUpdate {
|
|
3
|
-
userId: string;
|
|
4
|
-
spaceid: string;
|
|
5
|
-
status: UserStatus;
|
|
6
|
-
imageUrl: string;
|
|
7
|
-
name: string;
|
|
8
|
-
}
|
|
1
|
+
import { UserStatus } from "../../Users/UserTrii";
|
|
2
|
+
export interface IUserUpdate {
|
|
3
|
+
userId: string;
|
|
4
|
+
spaceid: string;
|
|
5
|
+
status: UserStatus;
|
|
6
|
+
imageUrl: string;
|
|
7
|
+
name: string;
|
|
8
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './EventQueue';
|
|
2
|
-
export * from './EmailTemplate';
|
|
3
|
-
export * from './UserUpdate';
|
|
1
|
+
export * from './EventQueue';
|
|
2
|
+
export * from './EmailTemplate';
|
|
3
|
+
export * from './UserUpdate';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './EventQueue';
|
|
2
|
-
export * from './EmailTemplate';
|
|
3
|
-
export * from './UserUpdate';
|
|
1
|
+
export * from './EventQueue';
|
|
2
|
+
export * from './EmailTemplate';
|
|
3
|
+
export * from './UserUpdate';
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
export interface Log {
|
|
2
|
-
id: string;
|
|
3
|
-
spaceId: string;
|
|
4
|
-
type: LogType;
|
|
5
|
-
level: LogLevel;
|
|
6
|
-
code: string;
|
|
7
|
-
details: string;
|
|
8
|
-
jsonInfo?: string | null;
|
|
9
|
-
timeStamp?: string | null;
|
|
10
|
-
}
|
|
11
|
-
export declare enum LogLevel {
|
|
12
|
-
INFO = 0,
|
|
13
|
-
WARNING = 1,
|
|
14
|
-
ERROR = 2
|
|
15
|
-
}
|
|
16
|
-
export declare enum LogType {
|
|
17
|
-
CHANNEL = 0
|
|
18
|
-
}
|
|
1
|
+
export interface Log {
|
|
2
|
+
id: string;
|
|
3
|
+
spaceId: string;
|
|
4
|
+
type: LogType;
|
|
5
|
+
level: LogLevel;
|
|
6
|
+
code: string;
|
|
7
|
+
details: string;
|
|
8
|
+
jsonInfo?: string | null;
|
|
9
|
+
timeStamp?: string | null;
|
|
10
|
+
}
|
|
11
|
+
export declare enum LogLevel {
|
|
12
|
+
INFO = 0,
|
|
13
|
+
WARNING = 1,
|
|
14
|
+
ERROR = 2
|
|
15
|
+
}
|
|
16
|
+
export declare enum LogType {
|
|
17
|
+
CHANNEL = 0
|
|
18
|
+
}
|
package/dist/Common/Logs/Log.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export var LogLevel;
|
|
2
|
-
(function (LogLevel) {
|
|
3
|
-
LogLevel[LogLevel["INFO"] = 0] = "INFO";
|
|
4
|
-
LogLevel[LogLevel["WARNING"] = 1] = "WARNING";
|
|
5
|
-
LogLevel[LogLevel["ERROR"] = 2] = "ERROR";
|
|
6
|
-
})(LogLevel || (LogLevel = {}));
|
|
7
|
-
export var LogType;
|
|
8
|
-
(function (LogType) {
|
|
9
|
-
LogType[LogType["CHANNEL"] = 0] = "CHANNEL";
|
|
10
|
-
})(LogType || (LogType = {}));
|
|
1
|
+
export var LogLevel;
|
|
2
|
+
(function (LogLevel) {
|
|
3
|
+
LogLevel[LogLevel["INFO"] = 0] = "INFO";
|
|
4
|
+
LogLevel[LogLevel["WARNING"] = 1] = "WARNING";
|
|
5
|
+
LogLevel[LogLevel["ERROR"] = 2] = "ERROR";
|
|
6
|
+
})(LogLevel || (LogLevel = {}));
|
|
7
|
+
export var LogType;
|
|
8
|
+
(function (LogType) {
|
|
9
|
+
LogType[LogType["CHANNEL"] = 0] = "CHANNEL";
|
|
10
|
+
})(LogType || (LogType = {}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Log';
|
|
1
|
+
export * from './Log';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Log';
|
|
1
|
+
export * from './Log';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export interface IMediaFile {
|
|
2
|
-
id: string;
|
|
3
|
-
name: string;
|
|
4
|
-
url: string;
|
|
5
|
-
}
|
|
1
|
+
export interface IMediaFile {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
url: string;
|
|
5
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|