@trii/types 2.10.419 → 2.10.421
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.js +7 -4
- package/dist/Accounts/device.js +5 -2
- package/dist/Accounts/index.js +18 -2
- package/dist/ApiResponses/index.js +2 -1
- package/dist/AuditLogs/auditLog.js +2 -1
- package/dist/AuditLogs/auditLogType.js +5 -2
- package/dist/AuditLogs/index.js +18 -2
- package/dist/Calendar/Event.js +7 -4
- package/dist/Calendar/index.js +17 -1
- package/dist/Calls/Call.d.ts +1 -0
- package/dist/Calls/Call.js +9 -6
- package/dist/Calls/index.js +17 -1
- package/dist/Common/API/AuthApiKey.js +2 -1
- package/dist/Common/API/AuthBasic.js +2 -1
- package/dist/Common/API/AuthBearer.js +2 -1
- package/dist/Common/API/AuthType.js +5 -2
- package/dist/Common/API/Method.js +5 -2
- package/dist/Common/API/index.js +21 -5
- package/dist/Common/Channels/Channel.js +4 -2
- package/dist/Common/Channels/ChannelType.js +5 -2
- package/dist/Common/Channels/Email.js +17 -11
- package/dist/Common/Channels/Facebook.js +5 -1
- package/dist/Common/Channels/Form.js +15 -8
- package/dist/Common/Channels/GoogleBusiness.js +7 -2
- package/dist/Common/Channels/Instagram.js +5 -1
- package/dist/Common/Channels/MercadoLibre.js +7 -2
- package/dist/Common/Channels/Pbx.js +5 -1
- package/dist/Common/Channels/Permission.js +5 -1
- package/dist/Common/Channels/RCS.js +7 -2
- package/dist/Common/Channels/Sip.js +5 -1
- package/dist/Common/Channels/Sms.js +7 -3
- package/dist/Common/Channels/WebChat.js +11 -6
- package/dist/Common/Channels/WhatsApp.js +7 -3
- package/dist/Common/Channels/index.js +31 -15
- package/dist/Common/EventsQueue/Data/postComment.js +2 -1
- package/dist/Common/EventsQueue/EmailTemplate.js +2 -1
- package/dist/Common/EventsQueue/EventQueue.js +2 -1
- package/dist/Common/EventsQueue/UserUpdate.js +2 -1
- package/dist/Common/EventsQueue/index.js +19 -3
- package/dist/Common/Logs/Log.js +7 -4
- package/dist/Common/Logs/index.js +17 -1
- package/dist/Common/Messages/MediaFile.js +2 -1
- package/dist/Common/Messages/Message.js +17 -14
- package/dist/Common/Messages/Template.js +9 -6
- package/dist/Common/Messages/index.js +19 -3
- package/dist/Common/Notifications/Notification.js +5 -2
- package/dist/Common/Notifications/UserNotificationsConfig.js +11 -4
- package/dist/Common/Notifications/index.js +18 -2
- package/dist/Common/Schedules/Schedules.js +2 -1
- package/dist/Common/Schedules/index.js +17 -1
- package/dist/Common/index.js +42 -12
- package/dist/Contacts/File.js +2 -1
- package/dist/Contacts/Label.js +2 -1
- package/dist/Contacts/Note.js +2 -1
- package/dist/Contacts/contacts.js +15 -10
- package/dist/Contacts/index.js +21 -5
- package/dist/Contacts/segments.js +16 -13
- package/dist/Conversations/Conversation.js +17 -12
- package/dist/Conversations/DashBoard/dashboard.js +31 -17
- package/dist/Conversations/DashBoard/dashboardChannels.js +5 -1
- package/dist/Conversations/DashBoard/dashboardForms.js +17 -7
- package/dist/Conversations/DashBoard/dashboardMessages.js +7 -2
- package/dist/Conversations/Ending.js +2 -1
- package/dist/Conversations/Flows/Flow.js +11 -2
- package/dist/Conversations/Flows/Nodes/NodeApi.js +5 -1
- package/dist/Conversations/Flows/Nodes/NodeConditional.js +7 -3
- package/dist/Conversations/Flows/Nodes/NodeContactSearch.js +5 -1
- package/dist/Conversations/Flows/Nodes/NodeContactUpdate.js +7 -3
- package/dist/Conversations/Flows/Nodes/NodeConversationAssignTo.js +5 -1
- package/dist/Conversations/Flows/Nodes/NodeConversationFinalize.js +5 -1
- package/dist/Conversations/Flows/Nodes/NodeConversationUpdate.js +9 -5
- package/dist/Conversations/Flows/Nodes/NodeFillForm.js +7 -2
- package/dist/Conversations/Flows/Nodes/NodeFillTicket.js +7 -3
- package/dist/Conversations/Flows/Nodes/NodeMsgText.js +19 -11
- package/dist/Conversations/Flows/Nodes/NodeMsgWaitResponse.js +13 -8
- package/dist/Conversations/Flows/Nodes/NodeRedirect.js +5 -1
- package/dist/Conversations/Flows/Nodes/NodeSendEmail.js +5 -1
- package/dist/Conversations/Flows/Nodes/NodeSqlQuery.js +7 -3
- package/dist/Conversations/Flows/Nodes/NodeStart.js +10 -5
- package/dist/Conversations/Flows/Nodes/NodeTimeScheduleControl.js +5 -1
- package/dist/Conversations/Flows/Nodes/NodeTimeTimer.js +5 -1
- package/dist/Conversations/Flows/Nodes/NodeTimeWaitUntil.js +5 -1
- package/dist/Conversations/Flows/Nodes/index.js +34 -18
- package/dist/Conversations/Flows/index.js +41 -3
- package/dist/Conversations/Groups/Group.js +4 -2
- package/dist/Conversations/Label.js +2 -1
- package/dist/Conversations/QuickResponse.js +2 -1
- package/dist/Conversations/SocialWalls.js +2 -1
- package/dist/Conversations/Survey.js +5 -2
- package/dist/Conversations/WebHook.js +2 -1
- package/dist/Conversations/index.js +52 -15
- package/dist/Marketing/Campaign.js +9 -6
- package/dist/Marketing/Dashboard.js +2 -1
- package/dist/Marketing/index.js +18 -2
- package/dist/PublicAPI/apiKey.js +2 -1
- package/dist/Security/Security.js +2 -1
- package/dist/Security/index.js +17 -1
- package/dist/Spaces/Dashboard.js +2 -1
- package/dist/Spaces/index.js +18 -2
- package/dist/Spaces/spaces.js +20 -16
- package/dist/Tickets/AccessLevel.js +5 -2
- package/dist/Tickets/index.js +17 -1
- package/dist/Users/UserActivitySummary.js +2 -1
- package/dist/Users/UserProfile.js +19 -1
- package/dist/Users/UserTrii.js +13 -6
- package/dist/Users/UserType.js +3 -1
- package/dist/Users/index.js +20 -4
- package/dist/index.js +50 -28
- package/package.json +1 -1
|
@@ -1,10 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InvoiceStatus = exports.Account_Status = void 0;
|
|
4
|
+
var Account_Status;
|
|
2
5
|
(function (Account_Status) {
|
|
3
6
|
Account_Status[Account_Status["Normal"] = 1] = "Normal";
|
|
4
7
|
Account_Status[Account_Status["PendingToDeleted"] = 2] = "PendingToDeleted";
|
|
5
8
|
Account_Status[Account_Status["Deleted"] = 3] = "Deleted";
|
|
6
|
-
})(Account_Status || (Account_Status = {}));
|
|
7
|
-
|
|
9
|
+
})(Account_Status || (exports.Account_Status = Account_Status = {}));
|
|
10
|
+
var InvoiceStatus;
|
|
8
11
|
(function (InvoiceStatus) {
|
|
9
12
|
/**The invoice isn’t ready. All invoices start in draft status. */
|
|
10
13
|
InvoiceStatus[InvoiceStatus["DRAFT"] = 0] = "DRAFT";
|
|
@@ -18,4 +21,4 @@ export var InvoiceStatus;
|
|
|
18
21
|
InvoiceStatus[InvoiceStatus["VOID"] = 4] = "VOID";
|
|
19
22
|
/**The customer is unlikely to pay the invoice. Normally, you treat it as bad debt in your accounting process. */
|
|
20
23
|
InvoiceStatus[InvoiceStatus["UNCOLLECTIBLE"] = 5] = "UNCOLLECTIBLE";
|
|
21
|
-
})(InvoiceStatus || (InvoiceStatus = {}));
|
|
24
|
+
})(InvoiceStatus || (exports.InvoiceStatus = InvoiceStatus = {}));
|
package/dist/Accounts/device.js
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeviceType = void 0;
|
|
4
|
+
var DeviceType;
|
|
2
5
|
(function (DeviceType) {
|
|
3
6
|
DeviceType[DeviceType["MOBILE_ANDROID"] = 11] = "MOBILE_ANDROID";
|
|
4
7
|
DeviceType[DeviceType["MOBILE_IOS"] = 12] = "MOBILE_IOS";
|
|
@@ -13,4 +16,4 @@ export var DeviceType;
|
|
|
13
16
|
DeviceType[DeviceType["MOBILE_FIREBASE"] = 3] = "MOBILE_FIREBASE";
|
|
14
17
|
DeviceType[DeviceType["MOBILE_SIGNALONE"] = 3] = "MOBILE_SIGNALONE";
|
|
15
18
|
DeviceType[DeviceType["WEBSOCKET"] = 4] = "WEBSOCKET";
|
|
16
|
-
})(DeviceType || (DeviceType = {}));
|
|
19
|
+
})(DeviceType || (exports.DeviceType = DeviceType = {}));
|
package/dist/Accounts/index.js
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./accounts"), exports);
|
|
18
|
+
__exportStar(require("./device"), exports);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuditLogType = void 0;
|
|
4
|
+
var AuditLogType;
|
|
2
5
|
(function (AuditLogType) {
|
|
3
6
|
AuditLogType["INFO"] = "INFO";
|
|
4
7
|
AuditLogType["WARNING"] = "WARNING";
|
|
5
8
|
AuditLogType["ERROR"] = "ERROR";
|
|
6
|
-
})(AuditLogType || (AuditLogType = {}));
|
|
9
|
+
})(AuditLogType || (exports.AuditLogType = AuditLogType = {}));
|
package/dist/AuditLogs/index.js
CHANGED
|
@@ -1,2 +1,18 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./auditLog"), exports);
|
|
18
|
+
__exportStar(require("./auditLogType"), exports);
|
package/dist/Calendar/Event.js
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventNotificationPeriod = exports.relatedType = void 0;
|
|
4
|
+
var relatedType;
|
|
2
5
|
(function (relatedType) {
|
|
3
6
|
relatedType[relatedType["CONTACT"] = 1] = "CONTACT";
|
|
4
7
|
relatedType[relatedType["DEBT"] = 2] = "DEBT";
|
|
5
8
|
relatedType[relatedType["TICKET"] = 3] = "TICKET";
|
|
6
|
-
})(relatedType || (relatedType = {}));
|
|
7
|
-
|
|
9
|
+
})(relatedType || (exports.relatedType = relatedType = {}));
|
|
10
|
+
var EventNotificationPeriod;
|
|
8
11
|
(function (EventNotificationPeriod) {
|
|
9
12
|
EventNotificationPeriod[EventNotificationPeriod["MINUTE"] = 1] = "MINUTE";
|
|
10
13
|
EventNotificationPeriod[EventNotificationPeriod["HOUR"] = 2] = "HOUR";
|
|
11
14
|
EventNotificationPeriod[EventNotificationPeriod["DAY"] = 3] = "DAY";
|
|
12
15
|
EventNotificationPeriod[EventNotificationPeriod["WEEK"] = 4] = "WEEK";
|
|
13
|
-
})(EventNotificationPeriod || (EventNotificationPeriod = {}));
|
|
16
|
+
})(EventNotificationPeriod || (exports.EventNotificationPeriod = EventNotificationPeriod = {}));
|
package/dist/Calendar/index.js
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Event"), exports);
|
package/dist/Calls/Call.d.ts
CHANGED
package/dist/Calls/Call.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CallStatus = exports.CallDirection = exports.CallType = void 0;
|
|
4
|
+
var CallType;
|
|
2
5
|
(function (CallType) {
|
|
3
6
|
CallType[CallType["NONE"] = 0] = "NONE";
|
|
4
7
|
CallType[CallType["EXTERNAL"] = 1] = "EXTERNAL";
|
|
5
8
|
CallType[CallType["INTERNAL"] = 2] = "INTERNAL";
|
|
6
|
-
})(CallType || (CallType = {}));
|
|
7
|
-
|
|
9
|
+
})(CallType || (exports.CallType = CallType = {}));
|
|
10
|
+
var CallDirection;
|
|
8
11
|
(function (CallDirection) {
|
|
9
12
|
CallDirection[CallDirection["INBOUND"] = 1] = "INBOUND";
|
|
10
13
|
CallDirection[CallDirection["OUTBOUND"] = 2] = "OUTBOUND";
|
|
11
|
-
})(CallDirection || (CallDirection = {}));
|
|
12
|
-
|
|
14
|
+
})(CallDirection || (exports.CallDirection = CallDirection = {}));
|
|
15
|
+
var CallStatus;
|
|
13
16
|
(function (CallStatus) {
|
|
14
17
|
CallStatus[CallStatus["NONE"] = 0] = "NONE";
|
|
15
18
|
CallStatus[CallStatus["ANSWERED"] = 1] = "ANSWERED";
|
|
@@ -19,4 +22,4 @@ export var CallStatus;
|
|
|
19
22
|
CallStatus[CallStatus["LOST"] = 5] = "LOST";
|
|
20
23
|
CallStatus[CallStatus["ABANDONED"] = 6] = "ABANDONED";
|
|
21
24
|
CallStatus[CallStatus["OVERFLOWED"] = 7] = "OVERFLOWED";
|
|
22
|
-
})(CallStatus || (CallStatus = {}));
|
|
25
|
+
})(CallStatus || (exports.CallStatus = CallStatus = {}));
|
package/dist/Calls/index.js
CHANGED
|
@@ -1 +1,17 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Call"), exports);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1,7 +1,10 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AuthType = void 0;
|
|
4
|
+
var AuthType;
|
|
2
5
|
(function (AuthType) {
|
|
3
6
|
AuthType[AuthType["NONE"] = 0] = "NONE";
|
|
4
7
|
AuthType[AuthType["BASIC"] = 1] = "BASIC";
|
|
5
8
|
AuthType[AuthType["APIKEY"] = 2] = "APIKEY";
|
|
6
9
|
AuthType[AuthType["BEARER"] = 3] = "BEARER";
|
|
7
|
-
})(AuthType || (AuthType = {}));
|
|
10
|
+
})(AuthType || (exports.AuthType = AuthType = {}));
|
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Method = void 0;
|
|
4
|
+
var Method;
|
|
2
5
|
(function (Method) {
|
|
3
6
|
Method[Method["GET"] = 1] = "GET";
|
|
4
7
|
Method[Method["POST"] = 2] = "POST";
|
|
5
|
-
})(Method || (Method = {}));
|
|
8
|
+
})(Method || (exports.Method = Method = {}));
|
package/dist/Common/API/index.js
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./AuthApiKey"), exports);
|
|
18
|
+
__exportStar(require("./AuthBasic"), exports);
|
|
19
|
+
__exportStar(require("./AuthBearer"), exports);
|
|
20
|
+
__exportStar(require("./AuthType"), exports);
|
|
21
|
+
__exportStar(require("./Method"), exports);
|
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.channelStatus = void 0;
|
|
1
4
|
var channelStatus;
|
|
2
5
|
(function (channelStatus) {
|
|
3
6
|
channelStatus[channelStatus["UNKNOWN"] = 0] = "UNKNOWN";
|
|
@@ -9,5 +12,4 @@ var channelStatus;
|
|
|
9
12
|
channelStatus[channelStatus["DEPROVISIONING"] = 6] = "DEPROVISIONING";
|
|
10
13
|
channelStatus[channelStatus["SUSPENDED"] = 7] = "SUSPENDED";
|
|
11
14
|
channelStatus[channelStatus["CONFIGURATION_PENDING"] = 9] = "CONFIGURATION_PENDING";
|
|
12
|
-
})(channelStatus || (channelStatus = {}));
|
|
13
|
-
export { channelStatus };
|
|
15
|
+
})(channelStatus || (exports.channelStatus = channelStatus = {}));
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChannelType = void 0;
|
|
4
|
+
var ChannelType;
|
|
2
5
|
(function (ChannelType) {
|
|
3
6
|
ChannelType[ChannelType["NULL"] = 0] = "NULL";
|
|
4
7
|
ChannelType[ChannelType["CALLBACK"] = 1] = "CALLBACK";
|
|
@@ -22,4 +25,4 @@ export var ChannelType;
|
|
|
22
25
|
ChannelType[ChannelType["FORM"] = 33] = "FORM";
|
|
23
26
|
ChannelType[ChannelType["MERCADOLIBRE"] = 41] = "MERCADOLIBRE";
|
|
24
27
|
ChannelType[ChannelType["GOOGLEBUSINESS"] = 42] = "GOOGLEBUSINESS";
|
|
25
|
-
})(ChannelType || (ChannelType = {}));
|
|
28
|
+
})(ChannelType || (exports.ChannelType = ChannelType = {}));
|
|
@@ -1,30 +1,36 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DNSRecord = exports.EmailDomain = exports.EmailConfig = exports.EmailConfigFromNameType = exports.EmailConfigOutboundStatus = exports.EmailConfigOutboundSecurityType = exports.EmailConfigOutboundConnectionType = void 0;
|
|
4
|
+
var EmailConfigOutboundConnectionType;
|
|
2
5
|
(function (EmailConfigOutboundConnectionType) {
|
|
3
6
|
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["NULL"] = 0] = "NULL";
|
|
4
7
|
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["TRII"] = 1] = "TRII";
|
|
5
8
|
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["SMTP"] = 2] = "SMTP";
|
|
6
9
|
EmailConfigOutboundConnectionType[EmailConfigOutboundConnectionType["GOOGLE"] = 3] = "GOOGLE";
|
|
7
|
-
})(EmailConfigOutboundConnectionType || (EmailConfigOutboundConnectionType = {}));
|
|
8
|
-
|
|
10
|
+
})(EmailConfigOutboundConnectionType || (exports.EmailConfigOutboundConnectionType = EmailConfigOutboundConnectionType = {}));
|
|
11
|
+
var EmailConfigOutboundSecurityType;
|
|
9
12
|
(function (EmailConfigOutboundSecurityType) {
|
|
10
13
|
EmailConfigOutboundSecurityType[EmailConfigOutboundSecurityType["NONE"] = 0] = "NONE";
|
|
11
14
|
EmailConfigOutboundSecurityType[EmailConfigOutboundSecurityType["SSL"] = 1] = "SSL";
|
|
12
15
|
EmailConfigOutboundSecurityType[EmailConfigOutboundSecurityType["TLS"] = 2] = "TLS";
|
|
13
|
-
})(EmailConfigOutboundSecurityType || (EmailConfigOutboundSecurityType = {}));
|
|
14
|
-
|
|
16
|
+
})(EmailConfigOutboundSecurityType || (exports.EmailConfigOutboundSecurityType = EmailConfigOutboundSecurityType = {}));
|
|
17
|
+
var EmailConfigOutboundStatus;
|
|
15
18
|
(function (EmailConfigOutboundStatus) {
|
|
16
19
|
EmailConfigOutboundStatus[EmailConfigOutboundStatus["NOT_CONFIGURED"] = 1] = "NOT_CONFIGURED";
|
|
17
20
|
EmailConfigOutboundStatus[EmailConfigOutboundStatus["SUCCESS"] = 2] = "SUCCESS";
|
|
18
|
-
})(EmailConfigOutboundStatus || (EmailConfigOutboundStatus = {}));
|
|
19
|
-
|
|
21
|
+
})(EmailConfigOutboundStatus || (exports.EmailConfigOutboundStatus = EmailConfigOutboundStatus = {}));
|
|
22
|
+
var EmailConfigFromNameType;
|
|
20
23
|
(function (EmailConfigFromNameType) {
|
|
21
24
|
EmailConfigFromNameType[EmailConfigFromNameType["CHANNEL_NAME"] = 1] = "CHANNEL_NAME";
|
|
22
25
|
EmailConfigFromNameType[EmailConfigFromNameType["USER_NAME"] = 2] = "USER_NAME";
|
|
23
26
|
EmailConfigFromNameType[EmailConfigFromNameType["CUSTOM"] = 3] = "CUSTOM";
|
|
24
|
-
})(EmailConfigFromNameType || (EmailConfigFromNameType = {}));
|
|
25
|
-
|
|
27
|
+
})(EmailConfigFromNameType || (exports.EmailConfigFromNameType = EmailConfigFromNameType = {}));
|
|
28
|
+
class EmailConfig {
|
|
26
29
|
}
|
|
27
|
-
|
|
30
|
+
exports.EmailConfig = EmailConfig;
|
|
31
|
+
class EmailDomain {
|
|
28
32
|
}
|
|
29
|
-
|
|
33
|
+
exports.EmailDomain = EmailDomain;
|
|
34
|
+
class DNSRecord {
|
|
30
35
|
}
|
|
36
|
+
exports.DNSRecord = DNSRecord;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FormConfig = exports.FormItemResponseItem = exports.FormItem = exports.FormItemLinearScale = exports.FormItemLinearScaleStyle = exports.FormItemType = void 0;
|
|
4
|
+
var FormItemType;
|
|
2
5
|
(function (FormItemType) {
|
|
3
6
|
FormItemType[FormItemType["SHORT_ANSWER"] = 1] = "SHORT_ANSWER";
|
|
4
7
|
FormItemType[FormItemType["PARAGRAPH"] = 2] = "PARAGRAPH";
|
|
@@ -9,17 +12,21 @@ export var FormItemType;
|
|
|
9
12
|
FormItemType[FormItemType["EMAIL"] = 7] = "EMAIL";
|
|
10
13
|
FormItemType[FormItemType["DATE"] = 8] = "DATE";
|
|
11
14
|
FormItemType[FormItemType["TIME"] = 9] = "TIME";
|
|
12
|
-
})(FormItemType || (FormItemType = {}));
|
|
13
|
-
|
|
15
|
+
})(FormItemType || (exports.FormItemType = FormItemType = {}));
|
|
16
|
+
var FormItemLinearScaleStyle;
|
|
14
17
|
(function (FormItemLinearScaleStyle) {
|
|
15
18
|
FormItemLinearScaleStyle[FormItemLinearScaleStyle["CIRCLE"] = 1] = "CIRCLE";
|
|
16
19
|
FormItemLinearScaleStyle[FormItemLinearScaleStyle["STAR"] = 2] = "STAR";
|
|
17
|
-
})(FormItemLinearScaleStyle || (FormItemLinearScaleStyle = {}));
|
|
18
|
-
|
|
20
|
+
})(FormItemLinearScaleStyle || (exports.FormItemLinearScaleStyle = FormItemLinearScaleStyle = {}));
|
|
21
|
+
class FormItemLinearScale {
|
|
19
22
|
}
|
|
20
|
-
|
|
23
|
+
exports.FormItemLinearScale = FormItemLinearScale;
|
|
24
|
+
class FormItem {
|
|
21
25
|
}
|
|
22
|
-
|
|
26
|
+
exports.FormItem = FormItem;
|
|
27
|
+
class FormItemResponseItem {
|
|
23
28
|
}
|
|
24
|
-
|
|
29
|
+
exports.FormItemResponseItem = FormItemResponseItem;
|
|
30
|
+
class FormConfig {
|
|
25
31
|
}
|
|
32
|
+
exports.FormConfig = FormConfig;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GoogleAccountInfo = exports.GoogleBusinessConfig = void 0;
|
|
4
|
+
class GoogleBusinessConfig {
|
|
2
5
|
}
|
|
3
|
-
|
|
6
|
+
exports.GoogleBusinessConfig = GoogleBusinessConfig;
|
|
7
|
+
class GoogleAccountInfo {
|
|
4
8
|
}
|
|
9
|
+
exports.GoogleAccountInfo = GoogleAccountInfo;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MercadoLibreConfigAccount = exports.MercadoLibreConfig = void 0;
|
|
4
|
+
class MercadoLibreConfig {
|
|
2
5
|
}
|
|
3
|
-
|
|
6
|
+
exports.MercadoLibreConfig = MercadoLibreConfig;
|
|
7
|
+
class MercadoLibreConfigAccount {
|
|
4
8
|
}
|
|
9
|
+
exports.MercadoLibreConfigAccount = MercadoLibreConfigAccount;
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RCSServiceAccount = exports.RCSConfig = void 0;
|
|
4
|
+
class RCSConfig {
|
|
2
5
|
}
|
|
3
|
-
|
|
6
|
+
exports.RCSConfig = RCSConfig;
|
|
7
|
+
class RCSServiceAccount {
|
|
4
8
|
}
|
|
9
|
+
exports.RCSServiceAccount = RCSServiceAccount;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SmsConfig = exports.SmsConectionType = void 0;
|
|
4
|
+
var SmsConectionType;
|
|
2
5
|
(function (SmsConectionType) {
|
|
3
6
|
SmsConectionType[SmsConectionType["NULL"] = 0] = "NULL";
|
|
4
7
|
SmsConectionType[SmsConectionType["SYNWAY"] = 1] = "SYNWAY";
|
|
@@ -7,6 +10,7 @@ export var SmsConectionType;
|
|
|
7
10
|
SmsConectionType[SmsConectionType["TRIISHORTSMS"] = 4] = "TRIISHORTSMS";
|
|
8
11
|
SmsConectionType[SmsConectionType["NOTIMATION"] = 5] = "NOTIMATION";
|
|
9
12
|
SmsConectionType[SmsConectionType["SMSMASIVOS"] = 6] = "SMSMASIVOS";
|
|
10
|
-
})(SmsConectionType || (SmsConectionType = {}));
|
|
11
|
-
|
|
13
|
+
})(SmsConectionType || (exports.SmsConectionType = SmsConectionType = {}));
|
|
14
|
+
class SmsConfig {
|
|
12
15
|
}
|
|
16
|
+
exports.SmsConfig = SmsConfig;
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WebChatChannel = exports.WebChatWidgetShape = exports.WebChatWidgetPosition = exports.WebChatConfig = void 0;
|
|
4
|
+
class WebChatConfig {
|
|
2
5
|
}
|
|
3
|
-
|
|
6
|
+
exports.WebChatConfig = WebChatConfig;
|
|
7
|
+
var WebChatWidgetPosition;
|
|
4
8
|
(function (WebChatWidgetPosition) {
|
|
5
9
|
WebChatWidgetPosition[WebChatWidgetPosition["RIGHT"] = 0] = "RIGHT";
|
|
6
10
|
WebChatWidgetPosition[WebChatWidgetPosition["LEFT"] = 1] = "LEFT";
|
|
7
|
-
})(WebChatWidgetPosition || (WebChatWidgetPosition = {}));
|
|
8
|
-
|
|
11
|
+
})(WebChatWidgetPosition || (exports.WebChatWidgetPosition = WebChatWidgetPosition = {}));
|
|
12
|
+
var WebChatWidgetShape;
|
|
9
13
|
(function (WebChatWidgetShape) {
|
|
10
14
|
WebChatWidgetShape[WebChatWidgetShape["ONLY_ICON"] = 0] = "ONLY_ICON";
|
|
11
15
|
WebChatWidgetShape[WebChatWidgetShape["ICON_AND_TEXT"] = 1] = "ICON_AND_TEXT";
|
|
12
|
-
})(WebChatWidgetShape || (WebChatWidgetShape = {}));
|
|
13
|
-
|
|
16
|
+
})(WebChatWidgetShape || (exports.WebChatWidgetShape = WebChatWidgetShape = {}));
|
|
17
|
+
class WebChatChannel {
|
|
14
18
|
}
|
|
19
|
+
exports.WebChatChannel = WebChatChannel;
|
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WhatsAppConfig = exports.WhatsAppConectionType = void 0;
|
|
4
|
+
var WhatsAppConectionType;
|
|
2
5
|
(function (WhatsAppConectionType) {
|
|
3
6
|
// NULL = 0,
|
|
4
7
|
WhatsAppConectionType[WhatsAppConectionType["APIQR"] = 1] = "APIQR";
|
|
5
8
|
// TWILIO = 2,
|
|
6
9
|
// DIALOG360 = 6,
|
|
7
10
|
WhatsAppConectionType[WhatsAppConectionType["CLOUDAPI"] = 7] = "CLOUDAPI";
|
|
8
|
-
})(WhatsAppConectionType || (WhatsAppConectionType = {}));
|
|
9
|
-
|
|
11
|
+
})(WhatsAppConectionType || (exports.WhatsAppConectionType = WhatsAppConectionType = {}));
|
|
12
|
+
class WhatsAppConfig {
|
|
10
13
|
}
|
|
14
|
+
exports.WhatsAppConfig = WhatsAppConfig;
|
|
@@ -1,15 +1,31 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./Channel"), exports);
|
|
18
|
+
__exportStar(require("./ChannelType"), exports);
|
|
19
|
+
__exportStar(require("./Permission"), exports);
|
|
20
|
+
__exportStar(require("./Email"), exports);
|
|
21
|
+
__exportStar(require("./Facebook"), exports);
|
|
22
|
+
__exportStar(require("./Form"), exports);
|
|
23
|
+
__exportStar(require("./GoogleBusiness"), exports);
|
|
24
|
+
__exportStar(require("./Instagram"), exports);
|
|
25
|
+
__exportStar(require("./MercadoLibre"), exports);
|
|
26
|
+
__exportStar(require("./Pbx"), exports);
|
|
27
|
+
__exportStar(require("./Sip"), exports);
|
|
28
|
+
__exportStar(require("./Sms"), exports);
|
|
29
|
+
__exportStar(require("./WebChat"), exports);
|
|
30
|
+
__exportStar(require("./WhatsApp"), exports);
|
|
31
|
+
__exportStar(require("./RCS"), exports);
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -1 +1,2 @@
|
|
|
1
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|