@trii/types 2.10.255 → 2.10.256
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 +21 -21
- package/dist/Accounts/device.js +8 -8
- 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/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 +42 -42
- package/dist/Common/Channels/Channel.js +1 -1
- package/dist/Common/Channels/ChannelType.d.ts +23 -23
- package/dist/Common/Channels/ChannelType.js +24 -24
- package/dist/Common/Channels/Email.d.ts +38 -38
- package/dist/Common/Channels/Email.js +26 -26
- package/dist/Common/Channels/Facebook.d.ts +22 -22
- 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 +15 -15
- package/dist/Common/Channels/GoogleBusiness.js +2 -2
- package/dist/Common/Channels/Instagram.d.ts +21 -21
- package/dist/Common/Channels/Instagram.js +2 -2
- package/dist/Common/Channels/MercadoLibre.d.ts +22 -22
- 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 +5 -5
- package/dist/Common/Channels/Permission.js +2 -2
- package/dist/Common/Channels/Sip.d.ts +2 -2
- package/dist/Common/Channels/Sip.js +2 -2
- package/dist/Common/Channels/Sms.d.ts +36 -36
- package/dist/Common/Channels/Sms.js +10 -10
- package/dist/Common/Channels/WebChat.d.ts +60 -60
- package/dist/Common/Channels/WebChat.js +14 -14
- package/dist/Common/Channels/WhatsApp.d.ts +40 -33
- package/dist/Common/Channels/WhatsApp.js +10 -9
- package/dist/Common/Channels/index.d.ts +14 -14
- package/dist/Common/Channels/index.js +14 -14
- package/dist/Common/EventsQueue/EventQueue.d.ts +6 -6
- package/dist/Common/EventsQueue/EventQueue.js +1 -1
- package/dist/Common/EventsQueue/index.d.ts +1 -1
- package/dist/Common/EventsQueue/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 +305 -306
- package/dist/Common/Messages/Message.js +39 -39
- package/dist/Common/Messages/index.d.ts +2 -2
- package/dist/Common/Messages/index.js +2 -2
- package/dist/Common/Notifications/Notification.d.ts +19 -19
- package/dist/Common/Notifications/Notification.js +7 -7
- package/dist/Common/Notifications/index.d.ts +1 -1
- package/dist/Common/Notifications/index.js +1 -1
- 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 +217 -217
- 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/Chat.d.ts +33 -0
- package/dist/Conversations/Chat.js +11 -0
- package/dist/Conversations/Conversation.d.ts +75 -75
- package/dist/Conversations/Conversation.js +34 -34
- 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 +40 -40
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +25 -25
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +44 -44
- 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 +44 -44
- 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 +8 -8
- package/dist/Conversations/index.js +10 -10
- package/dist/Security/Security.d.ts +12 -12
- 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/index.d.ts +1 -1
- package/dist/Spaces/index.js +1 -1
- package/dist/Spaces/spaces.d.ts +86 -86
- 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/UserProfile.d.ts +69 -69
- package/dist/Users/UserProfile.js +76 -76
- package/dist/Users/UserTrii.d.ts +68 -68
- package/dist/Users/UserTrii.js +47 -47
- package/dist/Users/UserType.d.ts +10 -10
- package/dist/Users/UserType.js +11 -11
- package/dist/Users/index.d.ts +3 -3
- package/dist/Users/index.js +3 -3
- package/dist/index.d.ts +12 -12
- package/dist/index.js +24 -24
- package/package.json +12 -12
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
-
export declare class MercadoLibreConfig {
|
|
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
|
-
mlAccount?: MercadoLibreConfigAccount | null;
|
|
14
|
-
scheduleId?: string | null;
|
|
15
|
-
schedule?: ISchedule | null;
|
|
16
|
-
}
|
|
17
|
-
export declare class MercadoLibreConfigAccount {
|
|
18
|
-
name: string;
|
|
19
|
-
email: string;
|
|
20
|
-
imageUrl: string;
|
|
21
|
-
token: string;
|
|
22
|
-
}
|
|
1
|
+
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
+
export declare class MercadoLibreConfig {
|
|
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
|
+
mlAccount?: MercadoLibreConfigAccount | null;
|
|
14
|
+
scheduleId?: string | null;
|
|
15
|
+
schedule?: ISchedule | null;
|
|
16
|
+
}
|
|
17
|
+
export declare class MercadoLibreConfigAccount {
|
|
18
|
+
name: string;
|
|
19
|
+
email: string;
|
|
20
|
+
imageUrl: string;
|
|
21
|
+
token: string;
|
|
22
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export class MercadoLibreConfig {
|
|
2
|
-
}
|
|
3
|
-
export class MercadoLibreConfigAccount {
|
|
4
|
-
}
|
|
1
|
+
export class MercadoLibreConfig {
|
|
2
|
+
}
|
|
3
|
+
export class MercadoLibreConfigAccount {
|
|
4
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class PbxConfig {
|
|
2
|
-
}
|
|
1
|
+
export declare class PbxConfig {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export class PbxConfig {
|
|
2
|
-
}
|
|
1
|
+
export class PbxConfig {
|
|
2
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export declare class Permission {
|
|
2
|
-
groupId?: string | null;
|
|
3
|
-
readMessages?: boolean | null;
|
|
4
|
-
startConversations?: boolean | null;
|
|
5
|
-
}
|
|
1
|
+
export declare class Permission {
|
|
2
|
+
groupId?: string | null;
|
|
3
|
+
readMessages?: boolean | null;
|
|
4
|
+
startConversations?: boolean | null;
|
|
5
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export class Permission {
|
|
2
|
-
}
|
|
1
|
+
export class Permission {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare class SipConfig {
|
|
2
|
-
}
|
|
1
|
+
export declare class SipConfig {
|
|
2
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export class SipConfig {
|
|
2
|
-
}
|
|
1
|
+
export class SipConfig {
|
|
2
|
+
}
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
-
export declare enum SmsConectionType {
|
|
3
|
-
NULL = 0,
|
|
4
|
-
SYNWAY = 1,
|
|
5
|
-
DYNSTAR = 2,
|
|
6
|
-
YEASTAR = 3,
|
|
7
|
-
TRIISHORTSMS = 4
|
|
8
|
-
}
|
|
9
|
-
export declare class SmsConfig {
|
|
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
|
-
scheduleId?: string | null;
|
|
21
|
-
schedule?: ISchedule | null;
|
|
22
|
-
conectionType: SmsConectionType;
|
|
23
|
-
synwayUrl?: string | null;
|
|
24
|
-
synwayUser?: string | null;
|
|
25
|
-
synwayPass?: string | null;
|
|
26
|
-
synwayPort?: string | null;
|
|
27
|
-
dynstarUrl?: string | null;
|
|
28
|
-
dynstarUser?: string | null;
|
|
29
|
-
dynstarPass?: string | null;
|
|
30
|
-
dynstarPort?: string | null;
|
|
31
|
-
yeastarUrl?: string | null;
|
|
32
|
-
yeastarUser?: string | null;
|
|
33
|
-
yeastarPass?: string | null;
|
|
34
|
-
yeastarPort?: string | null;
|
|
35
|
-
shortSmsToken?: string | null;
|
|
36
|
-
}
|
|
1
|
+
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
+
export declare enum SmsConectionType {
|
|
3
|
+
NULL = 0,
|
|
4
|
+
SYNWAY = 1,
|
|
5
|
+
DYNSTAR = 2,
|
|
6
|
+
YEASTAR = 3,
|
|
7
|
+
TRIISHORTSMS = 4
|
|
8
|
+
}
|
|
9
|
+
export declare class SmsConfig {
|
|
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
|
+
scheduleId?: string | null;
|
|
21
|
+
schedule?: ISchedule | null;
|
|
22
|
+
conectionType: SmsConectionType;
|
|
23
|
+
synwayUrl?: string | null;
|
|
24
|
+
synwayUser?: string | null;
|
|
25
|
+
synwayPass?: string | null;
|
|
26
|
+
synwayPort?: string | null;
|
|
27
|
+
dynstarUrl?: string | null;
|
|
28
|
+
dynstarUser?: string | null;
|
|
29
|
+
dynstarPass?: string | null;
|
|
30
|
+
dynstarPort?: string | null;
|
|
31
|
+
yeastarUrl?: string | null;
|
|
32
|
+
yeastarUser?: string | null;
|
|
33
|
+
yeastarPass?: string | null;
|
|
34
|
+
yeastarPort?: string | null;
|
|
35
|
+
shortSmsToken?: string | null;
|
|
36
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export var SmsConectionType;
|
|
2
|
-
(function (SmsConectionType) {
|
|
3
|
-
SmsConectionType[SmsConectionType["NULL"] = 0] = "NULL";
|
|
4
|
-
SmsConectionType[SmsConectionType["SYNWAY"] = 1] = "SYNWAY";
|
|
5
|
-
SmsConectionType[SmsConectionType["DYNSTAR"] = 2] = "DYNSTAR";
|
|
6
|
-
SmsConectionType[SmsConectionType["YEASTAR"] = 3] = "YEASTAR";
|
|
7
|
-
SmsConectionType[SmsConectionType["TRIISHORTSMS"] = 4] = "TRIISHORTSMS";
|
|
8
|
-
})(SmsConectionType || (SmsConectionType = {}));
|
|
9
|
-
export class SmsConfig {
|
|
10
|
-
}
|
|
1
|
+
export var SmsConectionType;
|
|
2
|
+
(function (SmsConectionType) {
|
|
3
|
+
SmsConectionType[SmsConectionType["NULL"] = 0] = "NULL";
|
|
4
|
+
SmsConectionType[SmsConectionType["SYNWAY"] = 1] = "SYNWAY";
|
|
5
|
+
SmsConectionType[SmsConectionType["DYNSTAR"] = 2] = "DYNSTAR";
|
|
6
|
+
SmsConectionType[SmsConectionType["YEASTAR"] = 3] = "YEASTAR";
|
|
7
|
+
SmsConectionType[SmsConectionType["TRIISHORTSMS"] = 4] = "TRIISHORTSMS";
|
|
8
|
+
})(SmsConectionType || (SmsConectionType = {}));
|
|
9
|
+
export class SmsConfig {
|
|
10
|
+
}
|
|
@@ -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,33 +1,40 @@
|
|
|
1
|
-
import { ISchedule } from "../Schedules/Schedules";
|
|
2
|
-
export declare enum WhatsAppConectionType {
|
|
3
|
-
NULL = 0,
|
|
4
|
-
APIQR = 1,
|
|
5
|
-
TWILIO = 2,
|
|
6
|
-
DIALOG360 = 6
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
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
|
+
conectionType: WhatsAppConectionType;
|
|
26
|
+
dialog360NameSpace?: string;
|
|
27
|
+
dialog360AuthToken?: string;
|
|
28
|
+
dialog360Number?: string;
|
|
29
|
+
twilioAccountSid?: string;
|
|
30
|
+
twilioAuthToken?: string;
|
|
31
|
+
twilioNumber?: string;
|
|
32
|
+
apiqrId?: string;
|
|
33
|
+
apiqrToken?: string;
|
|
34
|
+
cloudApiNameSpace?: string;
|
|
35
|
+
cloudApiSystemUserAccessToken?: string;
|
|
36
|
+
cloudApiAppToken?: string;
|
|
37
|
+
cloudApiWhatsAppBusinessAccountId?: string;
|
|
38
|
+
cloudApiMetaDeveloperAppId?: string;
|
|
39
|
+
cloudApiWhatsAppPhoneNumberId?: string;
|
|
40
|
+
}
|
|
@@ -1,9 +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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
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,14 +1,14 @@
|
|
|
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';
|
|
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';
|
|
@@ -1,14 +1,14 @@
|
|
|
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';
|
|
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';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export type EventQueue = {
|
|
2
|
-
type: 'Message' | 'MessageStatus' | 'Post';
|
|
3
|
-
action: 'add' | 'remove' | 'edited';
|
|
4
|
-
channelRef: string;
|
|
5
|
-
data: any;
|
|
6
|
-
};
|
|
1
|
+
export declare type EventQueue = {
|
|
2
|
+
type: 'Message' | 'MessageStatus' | 'Post';
|
|
3
|
+
action: 'add' | 'remove' | 'edited';
|
|
4
|
+
channelRef: string;
|
|
5
|
+
data: any;
|
|
6
|
+
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './EventQueue';
|
|
1
|
+
export * from './EventQueue';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './EventQueue';
|
|
1
|
+
export * from './EventQueue';
|
|
@@ -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 {};
|