@peacom/core 0.0.124 → 0.0.126
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/package.json +1 -1
- package/src/lib/model/conversation/constant.d.ts +10 -0
- package/src/lib/model/conversation/constant.js +13 -2
- package/src/lib/model/conversation/constant.js.map +1 -1
- package/src/lib/model/queue/index.d.ts +1 -0
- package/src/lib/model/queue/index.js +1 -0
- package/src/lib/model/queue/index.js.map +1 -1
package/package.json
CHANGED
@@ -23,3 +23,13 @@ export interface Conversation {
|
|
23
23
|
status?: LIVE_AGENT_STATUS;
|
24
24
|
representative?: Representative;
|
25
25
|
}
|
26
|
+
export declare const LIVE_AGENT_REQUEST_MESSAGES: {
|
27
|
+
liveAgent: string;
|
28
|
+
liveAgentEN: string;
|
29
|
+
liveAgentVN: string;
|
30
|
+
};
|
31
|
+
export declare const LIVE_AGENT_REQUEST_POSTBACK_DATA: {
|
32
|
+
liveAgent: string;
|
33
|
+
liveAgentEN: string;
|
34
|
+
liveAgentVN: string;
|
35
|
+
};
|
@@ -1,9 +1,10 @@
|
|
1
1
|
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.RepresentativeType = exports.LIVE_AGENT_REQUEST_MESSAGE = exports.CONVERSATION_STATUS = exports.LIVE_AGENT_STATUS = void 0;
|
4
2
|
// AUTO (SUBSCRIBED) ==> REQUEST ==> JOINED ==> AUTO
|
5
3
|
// AUTO ==> UNSUBSCRIBED
|
6
4
|
// REQUEST ==> UNSUBSCRIBED
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.LIVE_AGENT_REQUEST_POSTBACK_DATA = exports.LIVE_AGENT_REQUEST_MESSAGES = exports.RepresentativeType = exports.LIVE_AGENT_REQUEST_MESSAGE = exports.CONVERSATION_STATUS = exports.LIVE_AGENT_STATUS = void 0;
|
7
|
+
const message_1 = require("../message");
|
7
8
|
// JOINED ==> UNSUBSCRIBED
|
8
9
|
var LIVE_AGENT_STATUS;
|
9
10
|
(function (LIVE_AGENT_STATUS) {
|
@@ -22,4 +23,14 @@ var RepresentativeType;
|
|
22
23
|
RepresentativeType["BOT"] = "BOT";
|
23
24
|
RepresentativeType["HUMAN"] = "HUMAN";
|
24
25
|
})(RepresentativeType = exports.RepresentativeType || (exports.RepresentativeType = {}));
|
26
|
+
exports.LIVE_AGENT_REQUEST_MESSAGES = {
|
27
|
+
[message_1.SuggestionActionType.LIVE_AGENT_REQUEST]: "Live Agent Request",
|
28
|
+
[message_1.SuggestionActionType.LIVE_AGENT_REQUEST_EN]: "Live Agent Request",
|
29
|
+
[message_1.SuggestionActionType.LIVE_AGENT_REQUEST_VN]: "Lien He Ho Tro",
|
30
|
+
};
|
31
|
+
exports.LIVE_AGENT_REQUEST_POSTBACK_DATA = {
|
32
|
+
[message_1.SuggestionActionType.LIVE_AGENT_REQUEST]: "LIVE_AGENT_REQUEST",
|
33
|
+
[message_1.SuggestionActionType.LIVE_AGENT_REQUEST_EN]: "LIVE_AGENT_REQUEST",
|
34
|
+
[message_1.SuggestionActionType.LIVE_AGENT_REQUEST_VN]: "LIEN_HE_HO_TRO",
|
35
|
+
};
|
25
36
|
//# sourceMappingURL=constant.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"constant.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/model/conversation/constant.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"constant.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/model/conversation/constant.ts"],"names":[],"mappings":";AAAA,qDAAqD;AACrD,wBAAwB;AACxB,2BAA2B;;;AAE3B,wCAAiD;AAEjD,0BAA0B;AAC1B,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,+DAAW,CAAA;IACX,6DAAU,CAAA;IACV,6DAAU,CAAA;AACZ,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC7B,yEAAc,CAAA;IACd,6EAAY,CAAA;AACd,CAAC,EAHW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAG9B;AAEY,QAAA,0BAA0B,GAAG,oBAAoB,CAAA;AAE9D,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,iCAAW,CAAA;IACX,qCAAe,CAAA;AACjB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAeY,QAAA,2BAA2B,GAAG;IACzC,CAAC,8BAAoB,CAAC,kBAAkB,CAAC,EAAE,oBAAoB;IAC/D,CAAC,8BAAoB,CAAC,qBAAqB,CAAC,EAAE,oBAAoB;IAClE,CAAC,8BAAoB,CAAC,qBAAqB,CAAC,EAAE,gBAAgB;CAC/D,CAAA;AAEY,QAAA,gCAAgC,GAAG;IAC9C,CAAC,8BAAoB,CAAC,kBAAkB,CAAC,EAAE,oBAAoB;IAC/D,CAAC,8BAAoB,CAAC,qBAAqB,CAAC,EAAE,oBAAoB;IAClE,CAAC,8BAAoB,CAAC,qBAAqB,CAAC,EAAE,gBAAgB;CAC/D,CAAA"}
|
@@ -3,4 +3,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const tslib_1 = require("tslib");
|
4
4
|
tslib_1.__exportStar(require("./queue.constant"), exports);
|
5
5
|
tslib_1.__exportStar(require("./QueueMessage"), exports);
|
6
|
+
tslib_1.__exportStar(require("./BroadcastQueue"), exports);
|
6
7
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/model/queue/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC;AAChC,yDAA8B"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../packages/core/src/lib/model/queue/index.ts"],"names":[],"mappings":";;;AAAA,2DAAgC;AAChC,yDAA8B;AAC9B,2DAAgC"}
|