@trii/types 2.10.253 → 2.10.255

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.
Files changed (175) hide show
  1. package/dist/Accounts/accounts.d.ts +88 -88
  2. package/dist/Accounts/accounts.js +21 -21
  3. package/dist/Accounts/device.d.ts +21 -21
  4. package/dist/Accounts/device.js +8 -8
  5. package/dist/Accounts/index.d.ts +2 -2
  6. package/dist/Accounts/index.js +2 -2
  7. package/dist/ApiResponses/index.d.ts +8 -8
  8. package/dist/ApiResponses/index.js +1 -1
  9. package/dist/AuditLogs/auditLog.d.ts +7 -7
  10. package/dist/AuditLogs/auditLog.js +1 -1
  11. package/dist/AuditLogs/auditLogType.d.ts +5 -5
  12. package/dist/AuditLogs/auditLogType.js +6 -6
  13. package/dist/AuditLogs/index.d.ts +2 -2
  14. package/dist/AuditLogs/index.js +2 -2
  15. package/dist/Calendar/Event.d.ts +63 -63
  16. package/dist/Calendar/Event.js +13 -13
  17. package/dist/Calendar/index.d.ts +1 -1
  18. package/dist/Calendar/index.js +1 -1
  19. package/dist/Common/API/AuthApiKey.d.ts +5 -5
  20. package/dist/Common/API/AuthApiKey.js +1 -1
  21. package/dist/Common/API/AuthBasic.d.ts +4 -4
  22. package/dist/Common/API/AuthBasic.js +1 -1
  23. package/dist/Common/API/AuthBearer.d.ts +5 -5
  24. package/dist/Common/API/AuthBearer.js +1 -1
  25. package/dist/Common/API/AuthType.d.ts +6 -6
  26. package/dist/Common/API/AuthType.js +7 -7
  27. package/dist/Common/API/Method.d.ts +4 -4
  28. package/dist/Common/API/Method.js +5 -5
  29. package/dist/Common/API/index.d.ts +5 -5
  30. package/dist/Common/API/index.js +5 -5
  31. package/dist/Common/Channels/Channel.d.ts +42 -42
  32. package/dist/Common/Channels/Channel.js +1 -1
  33. package/dist/Common/Channels/ChannelType.d.ts +23 -23
  34. package/dist/Common/Channels/ChannelType.js +24 -24
  35. package/dist/Common/Channels/Email.d.ts +38 -38
  36. package/dist/Common/Channels/Email.js +26 -26
  37. package/dist/Common/Channels/Facebook.d.ts +22 -22
  38. package/dist/Common/Channels/Facebook.js +2 -2
  39. package/dist/Common/Channels/Form.d.ts +52 -52
  40. package/dist/Common/Channels/Form.js +25 -25
  41. package/dist/Common/Channels/GoogleBusiness.d.ts +15 -15
  42. package/dist/Common/Channels/GoogleBusiness.js +2 -2
  43. package/dist/Common/Channels/Instagram.d.ts +21 -21
  44. package/dist/Common/Channels/Instagram.js +2 -2
  45. package/dist/Common/Channels/MercadoLibre.d.ts +22 -22
  46. package/dist/Common/Channels/MercadoLibre.js +4 -4
  47. package/dist/Common/Channels/Pbx.d.ts +2 -2
  48. package/dist/Common/Channels/Pbx.js +2 -2
  49. package/dist/Common/Channels/Permission.d.ts +5 -5
  50. package/dist/Common/Channels/Permission.js +2 -2
  51. package/dist/Common/Channels/Sip.d.ts +2 -2
  52. package/dist/Common/Channels/Sip.js +2 -2
  53. package/dist/Common/Channels/Sms.d.ts +36 -36
  54. package/dist/Common/Channels/Sms.js +10 -10
  55. package/dist/Common/Channels/WebChat.d.ts +60 -60
  56. package/dist/Common/Channels/WebChat.js +14 -14
  57. package/dist/Common/Channels/WhatsApp.d.ts +33 -33
  58. package/dist/Common/Channels/WhatsApp.js +9 -9
  59. package/dist/Common/Channels/index.d.ts +14 -14
  60. package/dist/Common/Channels/index.js +14 -14
  61. package/dist/Common/EventsQueue/EventQueue.d.ts +6 -6
  62. package/dist/Common/EventsQueue/EventQueue.js +1 -1
  63. package/dist/Common/EventsQueue/index.d.ts +1 -1
  64. package/dist/Common/EventsQueue/index.js +1 -1
  65. package/dist/Common/Messages/MediaFile.d.ts +5 -5
  66. package/dist/Common/Messages/MediaFile.js +1 -1
  67. package/dist/Common/Messages/Message.d.ts +306 -305
  68. package/dist/Common/Messages/Message.js +39 -39
  69. package/dist/Common/Messages/index.d.ts +2 -2
  70. package/dist/Common/Messages/index.js +2 -2
  71. package/dist/Common/Notifications/Notification.d.ts +19 -19
  72. package/dist/Common/Notifications/Notification.js +7 -7
  73. package/dist/Common/Notifications/index.d.ts +1 -1
  74. package/dist/Common/Notifications/index.js +1 -1
  75. package/dist/Common/Schedules/Schedules.d.ts +32 -32
  76. package/dist/Common/Schedules/Schedules.js +1 -1
  77. package/dist/Common/Schedules/index.d.ts +1 -1
  78. package/dist/Common/Schedules/index.js +1 -1
  79. package/dist/Common/index.d.ts +6 -6
  80. package/dist/Common/index.js +12 -12
  81. package/dist/Contacts/File.d.ts +17 -17
  82. package/dist/Contacts/File.js +1 -1
  83. package/dist/Contacts/Label.d.ts +9 -9
  84. package/dist/Contacts/Label.js +1 -1
  85. package/dist/Contacts/Note.d.ts +15 -15
  86. package/dist/Contacts/Note.js +1 -1
  87. package/dist/Contacts/contacts.d.ts +217 -217
  88. package/dist/Contacts/contacts.js +39 -39
  89. package/dist/Contacts/index.d.ts +5 -5
  90. package/dist/Contacts/index.js +5 -5
  91. package/dist/Contacts/segments.d.ts +51 -51
  92. package/dist/Contacts/segments.js +49 -49
  93. package/dist/Conversations/Conversation.d.ts +75 -66
  94. package/dist/Conversations/Conversation.js +34 -26
  95. package/dist/Conversations/Ending.d.ts +11 -11
  96. package/dist/Conversations/Ending.js +1 -1
  97. package/dist/Conversations/Flows/Flow.d.ts +104 -104
  98. package/dist/Conversations/Flows/Flow.js +36 -36
  99. package/dist/Conversations/Flows/Nodes/NodeApi.d.ts +20 -20
  100. package/dist/Conversations/Flows/Nodes/NodeApi.js +2 -2
  101. package/dist/Conversations/Flows/Nodes/NodeConditional.d.ts +21 -21
  102. package/dist/Conversations/Flows/Nodes/NodeConditional.js +16 -16
  103. package/dist/Conversations/Flows/Nodes/NodeContactSearch.d.ts +8 -8
  104. package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +2 -2
  105. package/dist/Conversations/Flows/Nodes/NodeContactUpdate.d.ts +12 -12
  106. package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +7 -7
  107. package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.d.ts +6 -6
  108. package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +2 -2
  109. package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.d.ts +4 -4
  110. package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +2 -2
  111. package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.d.ts +15 -15
  112. package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +11 -11
  113. package/dist/Conversations/Flows/Nodes/NodeFillForm.d.ts +12 -12
  114. package/dist/Conversations/Flows/Nodes/NodeFillForm.js +4 -4
  115. package/dist/Conversations/Flows/Nodes/NodeFillTicket.d.ts +22 -22
  116. package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +9 -9
  117. package/dist/Conversations/Flows/Nodes/NodeMsgText.d.ts +40 -40
  118. package/dist/Conversations/Flows/Nodes/NodeMsgText.js +25 -25
  119. package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.d.ts +44 -44
  120. package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +31 -31
  121. package/dist/Conversations/Flows/Nodes/NodeRedirect.d.ts +7 -7
  122. package/dist/Conversations/Flows/Nodes/NodeRedirect.js +2 -2
  123. package/dist/Conversations/Flows/Nodes/NodeSendEmail.d.ts +9 -9
  124. package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +2 -2
  125. package/dist/Conversations/Flows/Nodes/NodeSqlQuery.d.ts +14 -14
  126. package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +8 -8
  127. package/dist/Conversations/Flows/Nodes/NodeStart.d.ts +32 -32
  128. package/dist/Conversations/Flows/Nodes/NodeStart.js +184 -184
  129. package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.d.ts +6 -6
  130. package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +2 -2
  131. package/dist/Conversations/Flows/Nodes/NodeTimeTimer.d.ts +9 -9
  132. package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +2 -2
  133. package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.d.ts +6 -6
  134. package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +2 -2
  135. package/dist/Conversations/Flows/Nodes/index.d.ts +18 -18
  136. package/dist/Conversations/Flows/Nodes/index.js +18 -18
  137. package/dist/Conversations/Flows/index.d.ts +2 -2
  138. package/dist/Conversations/Flows/index.js +3 -3
  139. package/dist/Conversations/Groups/Group.d.ts +23 -23
  140. package/dist/Conversations/Groups/Group.js +6 -6
  141. package/dist/Conversations/Label.d.ts +10 -10
  142. package/dist/Conversations/Label.js +1 -1
  143. package/dist/Conversations/QuickResponse.d.ts +34 -34
  144. package/dist/Conversations/QuickResponse.js +1 -1
  145. package/dist/Conversations/SocialWalls.d.ts +44 -44
  146. package/dist/Conversations/SocialWalls.js +1 -1
  147. package/dist/Conversations/WebHook.d.ts +22 -22
  148. package/dist/Conversations/WebHook.js +1 -1
  149. package/dist/Conversations/index.d.ts +8 -8
  150. package/dist/Conversations/index.js +10 -10
  151. package/dist/Security/Security.d.ts +12 -12
  152. package/dist/Security/Security.js +1 -1
  153. package/dist/Security/index.d.ts +1 -1
  154. package/dist/Security/index.js +1 -1
  155. package/dist/Spaces/index.d.ts +1 -1
  156. package/dist/Spaces/index.js +1 -1
  157. package/dist/Spaces/spaces.d.ts +86 -86
  158. package/dist/Spaces/spaces.js +77 -77
  159. package/dist/Tickets/AccessLevel.d.ts +5 -5
  160. package/dist/Tickets/AccessLevel.js +6 -6
  161. package/dist/Tickets/index.d.ts +1 -1
  162. package/dist/Tickets/index.js +1 -1
  163. package/dist/Users/UserProfile.d.ts +69 -69
  164. package/dist/Users/UserProfile.js +76 -76
  165. package/dist/Users/UserTrii.d.ts +68 -68
  166. package/dist/Users/UserTrii.js +47 -47
  167. package/dist/Users/UserType.d.ts +10 -10
  168. package/dist/Users/UserType.js +11 -11
  169. package/dist/Users/index.d.ts +3 -3
  170. package/dist/Users/index.js +3 -3
  171. package/dist/index.d.ts +12 -12
  172. package/dist/index.js +24 -24
  173. package/package.json +12 -12
  174. package/dist/Conversations/Chat.d.ts +0 -33
  175. package/dist/Conversations/Chat.js +0 -11
@@ -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,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
- }
8
- export declare class WhatsAppConfig {
9
- useInCampaigns?: boolean;
10
- token?: string;
11
- reOpenTime?: number;
12
- pauseBetweenMessages?: number;
13
- reassign?: boolean;
14
- reassignTime?: number;
15
- reassignGroupId?: string;
16
- autoResponseBusinessHours?: boolean;
17
- autoResponseOutOfBusinessHours?: boolean;
18
- autoResponseHoliday?: boolean;
19
- autoResponseBusinessHoursMessage?: string | '';
20
- autoResponseOutOfBusinessHoursMessage?: string | '';
21
- autoResponseHolidayMessage?: string | '';
22
- scheduleId?: string | null;
23
- schedule?: ISchedule | null;
24
- conectionType: WhatsAppConectionType;
25
- dialog360NameSpace?: string;
26
- dialog360AuthToken?: string;
27
- dialog360Number?: string;
28
- twilioAccountSid?: string;
29
- twilioAuthToken?: string;
30
- twilioNumber?: string;
31
- apiqrId?: string;
32
- apiqrToken?: string;
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
+ }
8
+ export declare class WhatsAppConfig {
9
+ useInCampaigns?: boolean;
10
+ token?: string;
11
+ reOpenTime?: number;
12
+ pauseBetweenMessages?: number;
13
+ reassign?: boolean;
14
+ reassignTime?: number;
15
+ reassignGroupId?: string;
16
+ autoResponseBusinessHours?: boolean;
17
+ autoResponseOutOfBusinessHours?: boolean;
18
+ autoResponseHoliday?: boolean;
19
+ autoResponseBusinessHoursMessage?: string | '';
20
+ autoResponseOutOfBusinessHoursMessage?: string | '';
21
+ autoResponseHolidayMessage?: string | '';
22
+ scheduleId?: string | null;
23
+ schedule?: ISchedule | null;
24
+ conectionType: WhatsAppConectionType;
25
+ dialog360NameSpace?: string;
26
+ dialog360AuthToken?: string;
27
+ dialog360Number?: string;
28
+ twilioAccountSid?: string;
29
+ twilioAuthToken?: string;
30
+ twilioNumber?: string;
31
+ apiqrId?: string;
32
+ apiqrToken?: string;
33
+ }
@@ -1,9 +1,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 = {}));
8
- export class WhatsAppConfig {
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 = {}));
8
+ export class WhatsAppConfig {
9
+ }
@@ -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 declare type EventQueue = {
2
- type: 'Message' | 'MessageStatus' | 'Post';
3
- action: 'add' | 'remove' | 'edited';
4
- channelRef: string;
5
- data: any;
6
- };
1
+ export 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 {};