@peacom/core 0.0.58 → 0.0.60
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/README.md +11 -11
- package/package.json +1 -1
- package/src/index.d.ts +4 -4
- package/src/index.js +7 -7
- package/src/lib/api/api.constant.d.ts +58 -58
- package/src/lib/api/api.constant.js +19 -19
- package/src/lib/api/core.api.d.ts +9 -3
- package/src/lib/api/core.api.js +77 -49
- package/src/lib/api/core.api.js.map +1 -1
- package/src/lib/api/index.d.ts +4 -4
- package/src/lib/api/index.js +7 -7
- package/src/lib/api/micro-service.api.d.ts +2 -2
- package/src/lib/api/micro-service.api.js +37 -37
- package/src/lib/api/queue/queue.api.d.ts +5 -5
- package/src/lib/api/queue/queue.api.js +23 -23
- package/src/lib/api/queue/queue.api.js.map +1 -1
- package/src/lib/core.d.ts +1 -1
- package/src/lib/core.js +7 -7
- package/src/lib/error/FormError.d.ts +53 -53
- package/src/lib/error/FormError.js +57 -57
- package/src/lib/error/HttpError.d.ts +4 -4
- package/src/lib/error/HttpError.js +11 -11
- package/src/lib/model/Application.d.ts +49 -49
- package/src/lib/model/Application.js +56 -56
- package/src/lib/model/Billing.d.ts +10 -10
- package/src/lib/model/Billing.js +15 -15
- package/src/lib/model/Currency.d.ts +4 -4
- package/src/lib/model/Currency.js +8 -8
- package/src/lib/model/FileInfo.d.ts +9 -9
- package/src/lib/model/FileInfo.js +2 -2
- package/src/lib/model/conversation/constant.d.ts +21 -21
- package/src/lib/model/conversation/constant.js +15 -15
- package/src/lib/model/conversation/index.d.ts +1 -1
- package/src/lib/model/conversation/index.js +4 -4
- package/src/lib/model/index.d.ts +9 -9
- package/src/lib/model/index.js +12 -12
- package/src/lib/model/message/Message.d.ts +117 -116
- package/src/lib/model/message/Message.js +83 -82
- package/src/lib/model/message/Message.js.map +1 -1
- package/src/lib/model/message/TemplateMessage.d.ts +4 -4
- package/src/lib/model/message/TemplateMessage.js +8 -8
- package/src/lib/model/message/index.d.ts +4 -4
- package/src/lib/model/message/index.js +7 -7
- package/src/lib/model/message/sinch/SinchWhatsappTemplate.d.ts +22 -22
- package/src/lib/model/message/sinch/SinchWhatsappTemplate.js +13 -13
- package/src/lib/model/message/zalo/ZaloZNSTemplate.d.ts +23 -23
- package/src/lib/model/message/zalo/ZaloZNSTemplate.js +2 -2
- package/src/lib/model/queue/QueueMessage.d.ts +28 -28
- package/src/lib/model/queue/QueueMessage.js +8 -8
- package/src/lib/model/queue/index.d.ts +2 -2
- package/src/lib/model/queue/index.js +5 -5
- package/src/lib/model/queue/queue.constant.d.ts +5 -5
- package/src/lib/model/queue/queue.constant.js +9 -9
- package/src/lib/model/template/Template.d.ts +43 -43
- package/src/lib/model/template/Template.js +88 -88
- package/src/lib/model/template/index.d.ts +1 -1
- package/src/lib/model/template/index.js +4 -4
- package/src/lib/model/viber-business/constant.d.ts +4 -4
- package/src/lib/model/viber-business/constant.js +8 -8
- package/src/lib/model/viber-business/index.d.ts +1 -1
- package/src/lib/model/viber-business/index.js +4 -4
- package/src/lib/util/date/constant.d.ts +3 -3
- package/src/lib/util/date/constant.js +6 -6
- package/src/lib/util/date/date.util.d.ts +15 -15
- package/src/lib/util/date/date.util.js +40 -40
- package/src/lib/util/file/file.util.d.ts +5 -2
- package/src/lib/util/file/file.util.js +34 -19
- package/src/lib/util/file/file.util.js.map +1 -1
- package/src/lib/util/general.util.d.ts +1 -1
- package/src/lib/util/general.util.js +7 -7
- package/src/lib/util/index.d.ts +5 -5
- package/src/lib/util/index.js +8 -8
- package/src/lib/util/message/message.util.d.ts +89 -89
- package/src/lib/util/message/message.util.js +65 -65
- package/src/lib/util/phone.util.d.ts +24 -24
- package/src/lib/util/phone.util.js +50 -50
- package/src/lib/util/string.util.d.ts +13 -13
- package/src/lib/util/string.util.js +107 -107
@@ -1,14 +1,14 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.WhatsappTemplateButtonType = exports.WhatsappTemplateType = void 0;
|
4
|
-
var WhatsappTemplateType;
|
5
|
-
(function (WhatsappTemplateType) {
|
6
|
-
WhatsappTemplateType[WhatsappTemplateType["TEXT"] = 1] = "TEXT";
|
7
|
-
WhatsappTemplateType[WhatsappTemplateType["MEDIA"] = 2] = "MEDIA";
|
8
|
-
})(WhatsappTemplateType = exports.WhatsappTemplateType || (exports.WhatsappTemplateType = {}));
|
9
|
-
var WhatsappTemplateButtonType;
|
10
|
-
(function (WhatsappTemplateButtonType) {
|
11
|
-
WhatsappTemplateButtonType["quick_reply"] = "quick_reply";
|
12
|
-
WhatsappTemplateButtonType["url"] = "url";
|
13
|
-
})(WhatsappTemplateButtonType = exports.WhatsappTemplateButtonType || (exports.WhatsappTemplateButtonType = {}));
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.WhatsappTemplateButtonType = exports.WhatsappTemplateType = void 0;
|
4
|
+
var WhatsappTemplateType;
|
5
|
+
(function (WhatsappTemplateType) {
|
6
|
+
WhatsappTemplateType[WhatsappTemplateType["TEXT"] = 1] = "TEXT";
|
7
|
+
WhatsappTemplateType[WhatsappTemplateType["MEDIA"] = 2] = "MEDIA";
|
8
|
+
})(WhatsappTemplateType = exports.WhatsappTemplateType || (exports.WhatsappTemplateType = {}));
|
9
|
+
var WhatsappTemplateButtonType;
|
10
|
+
(function (WhatsappTemplateButtonType) {
|
11
|
+
WhatsappTemplateButtonType["quick_reply"] = "quick_reply";
|
12
|
+
WhatsappTemplateButtonType["url"] = "url";
|
13
|
+
})(WhatsappTemplateButtonType = exports.WhatsappTemplateButtonType || (exports.WhatsappTemplateButtonType = {}));
|
14
14
|
//# sourceMappingURL=SinchWhatsappTemplate.js.map
|
@@ -1,23 +1,23 @@
|
|
1
|
-
export interface ZaloZnsTemplateInfo {
|
2
|
-
templateId: string | number;
|
3
|
-
templateName: string;
|
4
|
-
listParams: Array<ZaloZnsParam>;
|
5
|
-
previewUrl: string;
|
6
|
-
}
|
7
|
-
export interface ZaloZnsParam {
|
8
|
-
name: string;
|
9
|
-
require: boolean;
|
10
|
-
type: 'STRING' | 'DATE' | 'NUMBER';
|
11
|
-
maxLength: number;
|
12
|
-
minLength: number;
|
13
|
-
acceptNull: boolean;
|
14
|
-
}
|
15
|
-
export interface ZaloZnsTemmplateParam {
|
16
|
-
template: ZaloZnsTemplateInfo;
|
17
|
-
templateInfo: ZaloZnsTemplateInfo;
|
18
|
-
templateData: Array<{
|
19
|
-
name: string;
|
20
|
-
value?: string | number;
|
21
|
-
param: ZaloZnsParam;
|
22
|
-
}>;
|
23
|
-
}
|
1
|
+
export interface ZaloZnsTemplateInfo {
|
2
|
+
templateId: string | number;
|
3
|
+
templateName: string;
|
4
|
+
listParams: Array<ZaloZnsParam>;
|
5
|
+
previewUrl: string;
|
6
|
+
}
|
7
|
+
export interface ZaloZnsParam {
|
8
|
+
name: string;
|
9
|
+
require: boolean;
|
10
|
+
type: 'STRING' | 'DATE' | 'NUMBER';
|
11
|
+
maxLength: number;
|
12
|
+
minLength: number;
|
13
|
+
acceptNull: boolean;
|
14
|
+
}
|
15
|
+
export interface ZaloZnsTemmplateParam {
|
16
|
+
template: ZaloZnsTemplateInfo;
|
17
|
+
templateInfo: ZaloZnsTemplateInfo;
|
18
|
+
templateData: Array<{
|
19
|
+
name: string;
|
20
|
+
value?: string | number;
|
21
|
+
param: ZaloZnsParam;
|
22
|
+
}>;
|
23
|
+
}
|
@@ -1,3 +1,3 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
//# sourceMappingURL=ZaloZNSTemplate.js.map
|
@@ -1,28 +1,28 @@
|
|
1
|
-
import { ApplicationInfo, Message } from "../";
|
2
|
-
import { MESSAGE_STATUS } from "../";
|
3
|
-
import { JobsOptions } from "bullmq";
|
4
|
-
import { Conversation } from "../conversation";
|
5
|
-
export declare enum QueueMessageStatusSource {
|
6
|
-
LOCAL = 1,
|
7
|
-
PARTNER = 2
|
8
|
-
}
|
9
|
-
export interface QueueMessageStatus {
|
10
|
-
messageId?: string;
|
11
|
-
applicationMessageId?: string;
|
12
|
-
applicationInfo: ApplicationInfo;
|
13
|
-
status: MESSAGE_STATUS;
|
14
|
-
sentTime: number;
|
15
|
-
extraData?: Record<string, unknown>;
|
16
|
-
deliveryStatus?: string;
|
17
|
-
jobOpt?: JobsOptions;
|
18
|
-
source: QueueMessageStatusSource;
|
19
|
-
}
|
20
|
-
export interface QueueOutgoingMessage {
|
21
|
-
receiverId: string;
|
22
|
-
messages: Array<Message>;
|
23
|
-
applicationInfo: ApplicationInfo;
|
24
|
-
contact: unknown;
|
25
|
-
jobOpt?: JobsOptions;
|
26
|
-
name?: string;
|
27
|
-
conversation?: Conversation;
|
28
|
-
}
|
1
|
+
import { ApplicationInfo, Message } from "../";
|
2
|
+
import { MESSAGE_STATUS } from "../";
|
3
|
+
import { JobsOptions } from "bullmq";
|
4
|
+
import { Conversation } from "../conversation";
|
5
|
+
export declare enum QueueMessageStatusSource {
|
6
|
+
LOCAL = 1,
|
7
|
+
PARTNER = 2
|
8
|
+
}
|
9
|
+
export interface QueueMessageStatus {
|
10
|
+
messageId?: string;
|
11
|
+
applicationMessageId?: string;
|
12
|
+
applicationInfo: ApplicationInfo;
|
13
|
+
status: MESSAGE_STATUS;
|
14
|
+
sentTime: number;
|
15
|
+
extraData?: Record<string, unknown>;
|
16
|
+
deliveryStatus?: string;
|
17
|
+
jobOpt?: JobsOptions;
|
18
|
+
source: QueueMessageStatusSource;
|
19
|
+
}
|
20
|
+
export interface QueueOutgoingMessage {
|
21
|
+
receiverId: string;
|
22
|
+
messages: Array<Message>;
|
23
|
+
applicationInfo: ApplicationInfo;
|
24
|
+
contact: unknown;
|
25
|
+
jobOpt?: JobsOptions;
|
26
|
+
name?: string;
|
27
|
+
conversation?: Conversation;
|
28
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.QueueMessageStatusSource = void 0;
|
4
|
-
var QueueMessageStatusSource;
|
5
|
-
(function (QueueMessageStatusSource) {
|
6
|
-
QueueMessageStatusSource[QueueMessageStatusSource["LOCAL"] = 1] = "LOCAL";
|
7
|
-
QueueMessageStatusSource[QueueMessageStatusSource["PARTNER"] = 2] = "PARTNER";
|
8
|
-
})(QueueMessageStatusSource = exports.QueueMessageStatusSource || (exports.QueueMessageStatusSource = {}));
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.QueueMessageStatusSource = void 0;
|
4
|
+
var QueueMessageStatusSource;
|
5
|
+
(function (QueueMessageStatusSource) {
|
6
|
+
QueueMessageStatusSource[QueueMessageStatusSource["LOCAL"] = 1] = "LOCAL";
|
7
|
+
QueueMessageStatusSource[QueueMessageStatusSource["PARTNER"] = 2] = "PARTNER";
|
8
|
+
})(QueueMessageStatusSource = exports.QueueMessageStatusSource || (exports.QueueMessageStatusSource = {}));
|
9
9
|
//# sourceMappingURL=QueueMessage.js.map
|
@@ -1,2 +1,2 @@
|
|
1
|
-
export * from './queue.constant';
|
2
|
-
export * from './QueueMessage';
|
1
|
+
export * from './queue.constant';
|
2
|
+
export * from './QueueMessage';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./queue.constant"), exports);
|
5
|
-
tslib_1.__exportStar(require("./QueueMessage"), exports);
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./queue.constant"), exports);
|
5
|
+
tslib_1.__exportStar(require("./QueueMessage"), exports);
|
6
6
|
//# sourceMappingURL=index.js.map
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export declare enum PEACOM_CORE_QUEUE {
|
2
|
-
BILLING = "PEACOM_CORE_BILLING",
|
3
|
-
STATUS = "PEACOM_CORE_MESSAGE_STATUS",
|
4
|
-
FALLBACK = "PEACOM_CORE_FALLBACK"
|
5
|
-
}
|
1
|
+
export declare enum PEACOM_CORE_QUEUE {
|
2
|
+
BILLING = "PEACOM_CORE_BILLING",
|
3
|
+
STATUS = "PEACOM_CORE_MESSAGE_STATUS",
|
4
|
+
FALLBACK = "PEACOM_CORE_FALLBACK"
|
5
|
+
}
|
@@ -1,10 +1,10 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PEACOM_CORE_QUEUE = void 0;
|
4
|
-
var PEACOM_CORE_QUEUE;
|
5
|
-
(function (PEACOM_CORE_QUEUE) {
|
6
|
-
PEACOM_CORE_QUEUE["BILLING"] = "PEACOM_CORE_BILLING";
|
7
|
-
PEACOM_CORE_QUEUE["STATUS"] = "PEACOM_CORE_MESSAGE_STATUS";
|
8
|
-
PEACOM_CORE_QUEUE["FALLBACK"] = "PEACOM_CORE_FALLBACK";
|
9
|
-
})(PEACOM_CORE_QUEUE = exports.PEACOM_CORE_QUEUE || (exports.PEACOM_CORE_QUEUE = {}));
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PEACOM_CORE_QUEUE = void 0;
|
4
|
+
var PEACOM_CORE_QUEUE;
|
5
|
+
(function (PEACOM_CORE_QUEUE) {
|
6
|
+
PEACOM_CORE_QUEUE["BILLING"] = "PEACOM_CORE_BILLING";
|
7
|
+
PEACOM_CORE_QUEUE["STATUS"] = "PEACOM_CORE_MESSAGE_STATUS";
|
8
|
+
PEACOM_CORE_QUEUE["FALLBACK"] = "PEACOM_CORE_FALLBACK";
|
9
|
+
})(PEACOM_CORE_QUEUE = exports.PEACOM_CORE_QUEUE || (exports.PEACOM_CORE_QUEUE = {}));
|
10
10
|
//# sourceMappingURL=queue.constant.js.map
|
@@ -1,43 +1,43 @@
|
|
1
|
-
export declare enum TemplateMessageStatus {
|
2
|
-
NORMAL = 0,
|
3
|
-
START = 1,
|
4
|
-
COMPLETE = 2,
|
5
|
-
ERROR = 3
|
6
|
-
}
|
7
|
-
export declare enum TemplateMessageScriptOP {
|
8
|
-
GREATER = 1,
|
9
|
-
GREATER_EQ = 2,
|
10
|
-
SMALLER = 3,
|
11
|
-
SMALLER_EQ = 4,
|
12
|
-
EQUAL = 5,
|
13
|
-
UNEQUAL = 6,
|
14
|
-
HAS_TEXT = 7,
|
15
|
-
EMPTY = 8,
|
16
|
-
IS_NUMBER = 9,
|
17
|
-
IS_PHONE = 10,
|
18
|
-
IS_NOT_NUMBER = 11,
|
19
|
-
IS_NOT_PHONE = 12,
|
20
|
-
LENGTH = 13,
|
21
|
-
IS_ARRAY_INDEX = 14,
|
22
|
-
IS_NOT_ARRAY_INDEX = 15,
|
23
|
-
CUSTOM = 100
|
24
|
-
}
|
25
|
-
export declare enum TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE {
|
26
|
-
TEXT = 1,
|
27
|
-
NUMBER = 2
|
28
|
-
}
|
29
|
-
export declare enum TemplateApiEventPosition {
|
30
|
-
BEFORE = 1,
|
31
|
-
AFTER = 2
|
32
|
-
}
|
33
|
-
export declare enum TemplateApiFailActionType {
|
34
|
-
ShowErrorMessage = 1,
|
35
|
-
NextQuestion = 2
|
36
|
-
}
|
37
|
-
export declare enum OperatorType {
|
38
|
-
FUNCTION = 1,
|
39
|
-
COMPARISON = 2,
|
40
|
-
FUNCTION_MULTIPLE_ARGS = 3
|
41
|
-
}
|
42
|
-
export declare const MAPPING_OPERATOR_TYPE: Record<TemplateMessageScriptOP, OperatorType>;
|
43
|
-
export declare const MAPPING_OPERATOR: Record<TemplateMessageScriptOP, string>;
|
1
|
+
export declare enum TemplateMessageStatus {
|
2
|
+
NORMAL = 0,
|
3
|
+
START = 1,
|
4
|
+
COMPLETE = 2,
|
5
|
+
ERROR = 3
|
6
|
+
}
|
7
|
+
export declare enum TemplateMessageScriptOP {
|
8
|
+
GREATER = 1,
|
9
|
+
GREATER_EQ = 2,
|
10
|
+
SMALLER = 3,
|
11
|
+
SMALLER_EQ = 4,
|
12
|
+
EQUAL = 5,
|
13
|
+
UNEQUAL = 6,
|
14
|
+
HAS_TEXT = 7,
|
15
|
+
EMPTY = 8,
|
16
|
+
IS_NUMBER = 9,
|
17
|
+
IS_PHONE = 10,
|
18
|
+
IS_NOT_NUMBER = 11,
|
19
|
+
IS_NOT_PHONE = 12,
|
20
|
+
LENGTH = 13,
|
21
|
+
IS_ARRAY_INDEX = 14,
|
22
|
+
IS_NOT_ARRAY_INDEX = 15,
|
23
|
+
CUSTOM = 100
|
24
|
+
}
|
25
|
+
export declare enum TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE {
|
26
|
+
TEXT = 1,
|
27
|
+
NUMBER = 2
|
28
|
+
}
|
29
|
+
export declare enum TemplateApiEventPosition {
|
30
|
+
BEFORE = 1,
|
31
|
+
AFTER = 2
|
32
|
+
}
|
33
|
+
export declare enum TemplateApiFailActionType {
|
34
|
+
ShowErrorMessage = 1,
|
35
|
+
NextQuestion = 2
|
36
|
+
}
|
37
|
+
export declare enum OperatorType {
|
38
|
+
FUNCTION = 1,
|
39
|
+
COMPARISON = 2,
|
40
|
+
FUNCTION_MULTIPLE_ARGS = 3
|
41
|
+
}
|
42
|
+
export declare const MAPPING_OPERATOR_TYPE: Record<TemplateMessageScriptOP, OperatorType>;
|
43
|
+
export declare const MAPPING_OPERATOR: Record<TemplateMessageScriptOP, string>;
|
@@ -1,89 +1,89 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.MAPPING_OPERATOR = exports.MAPPING_OPERATOR_TYPE = exports.OperatorType = exports.TemplateApiFailActionType = exports.TemplateApiEventPosition = exports.TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE = exports.TemplateMessageScriptOP = exports.TemplateMessageStatus = void 0;
|
4
|
-
var TemplateMessageStatus;
|
5
|
-
(function (TemplateMessageStatus) {
|
6
|
-
TemplateMessageStatus[TemplateMessageStatus["NORMAL"] = 0] = "NORMAL";
|
7
|
-
TemplateMessageStatus[TemplateMessageStatus["START"] = 1] = "START";
|
8
|
-
TemplateMessageStatus[TemplateMessageStatus["COMPLETE"] = 2] = "COMPLETE";
|
9
|
-
TemplateMessageStatus[TemplateMessageStatus["ERROR"] = 3] = "ERROR";
|
10
|
-
})(TemplateMessageStatus = exports.TemplateMessageStatus || (exports.TemplateMessageStatus = {}));
|
11
|
-
var TemplateMessageScriptOP;
|
12
|
-
(function (TemplateMessageScriptOP) {
|
13
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["GREATER"] = 1] = "GREATER";
|
14
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["GREATER_EQ"] = 2] = "GREATER_EQ";
|
15
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["SMALLER"] = 3] = "SMALLER";
|
16
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["SMALLER_EQ"] = 4] = "SMALLER_EQ";
|
17
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["EQUAL"] = 5] = "EQUAL";
|
18
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["UNEQUAL"] = 6] = "UNEQUAL";
|
19
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["HAS_TEXT"] = 7] = "HAS_TEXT";
|
20
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["EMPTY"] = 8] = "EMPTY";
|
21
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_NUMBER"] = 9] = "IS_NUMBER";
|
22
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_PHONE"] = 10] = "IS_PHONE";
|
23
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_NOT_NUMBER"] = 11] = "IS_NOT_NUMBER";
|
24
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_NOT_PHONE"] = 12] = "IS_NOT_PHONE";
|
25
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["LENGTH"] = 13] = "LENGTH";
|
26
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_ARRAY_INDEX"] = 14] = "IS_ARRAY_INDEX";
|
27
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_NOT_ARRAY_INDEX"] = 15] = "IS_NOT_ARRAY_INDEX";
|
28
|
-
TemplateMessageScriptOP[TemplateMessageScriptOP["CUSTOM"] = 100] = "CUSTOM";
|
29
|
-
})(TemplateMessageScriptOP = exports.TemplateMessageScriptOP || (exports.TemplateMessageScriptOP = {}));
|
30
|
-
var TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE;
|
31
|
-
(function (TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE) {
|
32
|
-
TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE[TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE["TEXT"] = 1] = "TEXT";
|
33
|
-
TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE[TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE["NUMBER"] = 2] = "NUMBER";
|
34
|
-
})(TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE = exports.TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE || (exports.TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE = {}));
|
35
|
-
var TemplateApiEventPosition;
|
36
|
-
(function (TemplateApiEventPosition) {
|
37
|
-
TemplateApiEventPosition[TemplateApiEventPosition["BEFORE"] = 1] = "BEFORE";
|
38
|
-
TemplateApiEventPosition[TemplateApiEventPosition["AFTER"] = 2] = "AFTER";
|
39
|
-
})(TemplateApiEventPosition = exports.TemplateApiEventPosition || (exports.TemplateApiEventPosition = {}));
|
40
|
-
var TemplateApiFailActionType;
|
41
|
-
(function (TemplateApiFailActionType) {
|
42
|
-
TemplateApiFailActionType[TemplateApiFailActionType["ShowErrorMessage"] = 1] = "ShowErrorMessage";
|
43
|
-
TemplateApiFailActionType[TemplateApiFailActionType["NextQuestion"] = 2] = "NextQuestion";
|
44
|
-
})(TemplateApiFailActionType = exports.TemplateApiFailActionType || (exports.TemplateApiFailActionType = {}));
|
45
|
-
var OperatorType;
|
46
|
-
(function (OperatorType) {
|
47
|
-
OperatorType[OperatorType["FUNCTION"] = 1] = "FUNCTION";
|
48
|
-
OperatorType[OperatorType["COMPARISON"] = 2] = "COMPARISON";
|
49
|
-
OperatorType[OperatorType["FUNCTION_MULTIPLE_ARGS"] = 3] = "FUNCTION_MULTIPLE_ARGS";
|
50
|
-
})(OperatorType = exports.OperatorType || (exports.OperatorType = {}));
|
51
|
-
exports.MAPPING_OPERATOR_TYPE = {
|
52
|
-
[TemplateMessageScriptOP.EQUAL]: OperatorType.COMPARISON,
|
53
|
-
[TemplateMessageScriptOP.UNEQUAL]: OperatorType.COMPARISON,
|
54
|
-
[TemplateMessageScriptOP.GREATER]: OperatorType.COMPARISON,
|
55
|
-
[TemplateMessageScriptOP.GREATER_EQ]: OperatorType.COMPARISON,
|
56
|
-
[TemplateMessageScriptOP.SMALLER]: OperatorType.COMPARISON,
|
57
|
-
[TemplateMessageScriptOP.SMALLER_EQ]: OperatorType.COMPARISON,
|
58
|
-
[TemplateMessageScriptOP.HAS_TEXT]: OperatorType.FUNCTION,
|
59
|
-
[TemplateMessageScriptOP.EMPTY]: OperatorType.FUNCTION,
|
60
|
-
[TemplateMessageScriptOP.IS_NUMBER]: OperatorType.FUNCTION,
|
61
|
-
[TemplateMessageScriptOP.IS_NOT_NUMBER]: OperatorType.FUNCTION,
|
62
|
-
[TemplateMessageScriptOP.IS_PHONE]: OperatorType.FUNCTION,
|
63
|
-
[TemplateMessageScriptOP.IS_NOT_PHONE]: OperatorType.FUNCTION,
|
64
|
-
[TemplateMessageScriptOP.CUSTOM]: OperatorType.FUNCTION,
|
65
|
-
[TemplateMessageScriptOP.LENGTH]: OperatorType.FUNCTION_MULTIPLE_ARGS,
|
66
|
-
[TemplateMessageScriptOP.IS_ARRAY_INDEX]: OperatorType.FUNCTION_MULTIPLE_ARGS,
|
67
|
-
[TemplateMessageScriptOP.IS_NOT_ARRAY_INDEX]: OperatorType.FUNCTION_MULTIPLE_ARGS
|
68
|
-
};
|
69
|
-
exports.MAPPING_OPERATOR = {
|
70
|
-
[TemplateMessageScriptOP.EQUAL]: "===",
|
71
|
-
[TemplateMessageScriptOP.UNEQUAL]: "!==",
|
72
|
-
[TemplateMessageScriptOP.GREATER]: ">",
|
73
|
-
[TemplateMessageScriptOP.GREATER_EQ]: ">=",
|
74
|
-
[TemplateMessageScriptOP.SMALLER]: "<",
|
75
|
-
[TemplateMessageScriptOP.SMALLER_EQ]: "<=",
|
76
|
-
[TemplateMessageScriptOP.HAS_TEXT]: "hasText",
|
77
|
-
[TemplateMessageScriptOP.EMPTY]: "isEmpty",
|
78
|
-
[TemplateMessageScriptOP.IS_NUMBER]: "isNumber",
|
79
|
-
[TemplateMessageScriptOP.IS_PHONE]: "isPhone",
|
80
|
-
[TemplateMessageScriptOP.IS_NUMBER]: "isNumber",
|
81
|
-
[TemplateMessageScriptOP.IS_PHONE]: "isPhone",
|
82
|
-
[TemplateMessageScriptOP.CUSTOM]: "script",
|
83
|
-
[TemplateMessageScriptOP.IS_NOT_NUMBER]: "isNotNumber",
|
84
|
-
[TemplateMessageScriptOP.IS_NOT_PHONE]: "isNotPhone",
|
85
|
-
[TemplateMessageScriptOP.LENGTH]: "length",
|
86
|
-
[TemplateMessageScriptOP.IS_ARRAY_INDEX]: "isArrayItem",
|
87
|
-
[TemplateMessageScriptOP.IS_NOT_ARRAY_INDEX]: "isNotArrayItem"
|
88
|
-
};
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.MAPPING_OPERATOR = exports.MAPPING_OPERATOR_TYPE = exports.OperatorType = exports.TemplateApiFailActionType = exports.TemplateApiEventPosition = exports.TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE = exports.TemplateMessageScriptOP = exports.TemplateMessageStatus = void 0;
|
4
|
+
var TemplateMessageStatus;
|
5
|
+
(function (TemplateMessageStatus) {
|
6
|
+
TemplateMessageStatus[TemplateMessageStatus["NORMAL"] = 0] = "NORMAL";
|
7
|
+
TemplateMessageStatus[TemplateMessageStatus["START"] = 1] = "START";
|
8
|
+
TemplateMessageStatus[TemplateMessageStatus["COMPLETE"] = 2] = "COMPLETE";
|
9
|
+
TemplateMessageStatus[TemplateMessageStatus["ERROR"] = 3] = "ERROR";
|
10
|
+
})(TemplateMessageStatus = exports.TemplateMessageStatus || (exports.TemplateMessageStatus = {}));
|
11
|
+
var TemplateMessageScriptOP;
|
12
|
+
(function (TemplateMessageScriptOP) {
|
13
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["GREATER"] = 1] = "GREATER";
|
14
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["GREATER_EQ"] = 2] = "GREATER_EQ";
|
15
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["SMALLER"] = 3] = "SMALLER";
|
16
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["SMALLER_EQ"] = 4] = "SMALLER_EQ";
|
17
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["EQUAL"] = 5] = "EQUAL";
|
18
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["UNEQUAL"] = 6] = "UNEQUAL";
|
19
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["HAS_TEXT"] = 7] = "HAS_TEXT";
|
20
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["EMPTY"] = 8] = "EMPTY";
|
21
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_NUMBER"] = 9] = "IS_NUMBER";
|
22
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_PHONE"] = 10] = "IS_PHONE";
|
23
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_NOT_NUMBER"] = 11] = "IS_NOT_NUMBER";
|
24
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_NOT_PHONE"] = 12] = "IS_NOT_PHONE";
|
25
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["LENGTH"] = 13] = "LENGTH";
|
26
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_ARRAY_INDEX"] = 14] = "IS_ARRAY_INDEX";
|
27
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["IS_NOT_ARRAY_INDEX"] = 15] = "IS_NOT_ARRAY_INDEX";
|
28
|
+
TemplateMessageScriptOP[TemplateMessageScriptOP["CUSTOM"] = 100] = "CUSTOM";
|
29
|
+
})(TemplateMessageScriptOP = exports.TemplateMessageScriptOP || (exports.TemplateMessageScriptOP = {}));
|
30
|
+
var TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE;
|
31
|
+
(function (TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE) {
|
32
|
+
TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE[TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE["TEXT"] = 1] = "TEXT";
|
33
|
+
TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE[TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE["NUMBER"] = 2] = "NUMBER";
|
34
|
+
})(TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE = exports.TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE || (exports.TEMPLATE_MESSAGE_SCRIPT_DATA_TYPE = {}));
|
35
|
+
var TemplateApiEventPosition;
|
36
|
+
(function (TemplateApiEventPosition) {
|
37
|
+
TemplateApiEventPosition[TemplateApiEventPosition["BEFORE"] = 1] = "BEFORE";
|
38
|
+
TemplateApiEventPosition[TemplateApiEventPosition["AFTER"] = 2] = "AFTER";
|
39
|
+
})(TemplateApiEventPosition = exports.TemplateApiEventPosition || (exports.TemplateApiEventPosition = {}));
|
40
|
+
var TemplateApiFailActionType;
|
41
|
+
(function (TemplateApiFailActionType) {
|
42
|
+
TemplateApiFailActionType[TemplateApiFailActionType["ShowErrorMessage"] = 1] = "ShowErrorMessage";
|
43
|
+
TemplateApiFailActionType[TemplateApiFailActionType["NextQuestion"] = 2] = "NextQuestion";
|
44
|
+
})(TemplateApiFailActionType = exports.TemplateApiFailActionType || (exports.TemplateApiFailActionType = {}));
|
45
|
+
var OperatorType;
|
46
|
+
(function (OperatorType) {
|
47
|
+
OperatorType[OperatorType["FUNCTION"] = 1] = "FUNCTION";
|
48
|
+
OperatorType[OperatorType["COMPARISON"] = 2] = "COMPARISON";
|
49
|
+
OperatorType[OperatorType["FUNCTION_MULTIPLE_ARGS"] = 3] = "FUNCTION_MULTIPLE_ARGS";
|
50
|
+
})(OperatorType = exports.OperatorType || (exports.OperatorType = {}));
|
51
|
+
exports.MAPPING_OPERATOR_TYPE = {
|
52
|
+
[TemplateMessageScriptOP.EQUAL]: OperatorType.COMPARISON,
|
53
|
+
[TemplateMessageScriptOP.UNEQUAL]: OperatorType.COMPARISON,
|
54
|
+
[TemplateMessageScriptOP.GREATER]: OperatorType.COMPARISON,
|
55
|
+
[TemplateMessageScriptOP.GREATER_EQ]: OperatorType.COMPARISON,
|
56
|
+
[TemplateMessageScriptOP.SMALLER]: OperatorType.COMPARISON,
|
57
|
+
[TemplateMessageScriptOP.SMALLER_EQ]: OperatorType.COMPARISON,
|
58
|
+
[TemplateMessageScriptOP.HAS_TEXT]: OperatorType.FUNCTION,
|
59
|
+
[TemplateMessageScriptOP.EMPTY]: OperatorType.FUNCTION,
|
60
|
+
[TemplateMessageScriptOP.IS_NUMBER]: OperatorType.FUNCTION,
|
61
|
+
[TemplateMessageScriptOP.IS_NOT_NUMBER]: OperatorType.FUNCTION,
|
62
|
+
[TemplateMessageScriptOP.IS_PHONE]: OperatorType.FUNCTION,
|
63
|
+
[TemplateMessageScriptOP.IS_NOT_PHONE]: OperatorType.FUNCTION,
|
64
|
+
[TemplateMessageScriptOP.CUSTOM]: OperatorType.FUNCTION,
|
65
|
+
[TemplateMessageScriptOP.LENGTH]: OperatorType.FUNCTION_MULTIPLE_ARGS,
|
66
|
+
[TemplateMessageScriptOP.IS_ARRAY_INDEX]: OperatorType.FUNCTION_MULTIPLE_ARGS,
|
67
|
+
[TemplateMessageScriptOP.IS_NOT_ARRAY_INDEX]: OperatorType.FUNCTION_MULTIPLE_ARGS
|
68
|
+
};
|
69
|
+
exports.MAPPING_OPERATOR = {
|
70
|
+
[TemplateMessageScriptOP.EQUAL]: "===",
|
71
|
+
[TemplateMessageScriptOP.UNEQUAL]: "!==",
|
72
|
+
[TemplateMessageScriptOP.GREATER]: ">",
|
73
|
+
[TemplateMessageScriptOP.GREATER_EQ]: ">=",
|
74
|
+
[TemplateMessageScriptOP.SMALLER]: "<",
|
75
|
+
[TemplateMessageScriptOP.SMALLER_EQ]: "<=",
|
76
|
+
[TemplateMessageScriptOP.HAS_TEXT]: "hasText",
|
77
|
+
[TemplateMessageScriptOP.EMPTY]: "isEmpty",
|
78
|
+
[TemplateMessageScriptOP.IS_NUMBER]: "isNumber",
|
79
|
+
[TemplateMessageScriptOP.IS_PHONE]: "isPhone",
|
80
|
+
[TemplateMessageScriptOP.IS_NUMBER]: "isNumber",
|
81
|
+
[TemplateMessageScriptOP.IS_PHONE]: "isPhone",
|
82
|
+
[TemplateMessageScriptOP.CUSTOM]: "script",
|
83
|
+
[TemplateMessageScriptOP.IS_NOT_NUMBER]: "isNotNumber",
|
84
|
+
[TemplateMessageScriptOP.IS_NOT_PHONE]: "isNotPhone",
|
85
|
+
[TemplateMessageScriptOP.LENGTH]: "length",
|
86
|
+
[TemplateMessageScriptOP.IS_ARRAY_INDEX]: "isArrayItem",
|
87
|
+
[TemplateMessageScriptOP.IS_NOT_ARRAY_INDEX]: "isNotArrayItem"
|
88
|
+
};
|
89
89
|
//# sourceMappingURL=Template.js.map
|
@@ -1 +1 @@
|
|
1
|
-
export * from './Template';
|
1
|
+
export * from './Template';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./Template"), exports);
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./Template"), exports);
|
5
5
|
//# sourceMappingURL=index.js.map
|
@@ -1,4 +1,4 @@
|
|
1
|
-
export declare enum VIBER_SEND_MESSAGE_TYPE {
|
2
|
-
PROMOTION = 1,
|
3
|
-
SESSION = 2
|
4
|
-
}
|
1
|
+
export declare enum VIBER_SEND_MESSAGE_TYPE {
|
2
|
+
PROMOTION = 1,
|
3
|
+
SESSION = 2
|
4
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.VIBER_SEND_MESSAGE_TYPE = void 0;
|
4
|
-
var VIBER_SEND_MESSAGE_TYPE;
|
5
|
-
(function (VIBER_SEND_MESSAGE_TYPE) {
|
6
|
-
VIBER_SEND_MESSAGE_TYPE[VIBER_SEND_MESSAGE_TYPE["PROMOTION"] = 1] = "PROMOTION";
|
7
|
-
VIBER_SEND_MESSAGE_TYPE[VIBER_SEND_MESSAGE_TYPE["SESSION"] = 2] = "SESSION";
|
8
|
-
})(VIBER_SEND_MESSAGE_TYPE = exports.VIBER_SEND_MESSAGE_TYPE || (exports.VIBER_SEND_MESSAGE_TYPE = {}));
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.VIBER_SEND_MESSAGE_TYPE = void 0;
|
4
|
+
var VIBER_SEND_MESSAGE_TYPE;
|
5
|
+
(function (VIBER_SEND_MESSAGE_TYPE) {
|
6
|
+
VIBER_SEND_MESSAGE_TYPE[VIBER_SEND_MESSAGE_TYPE["PROMOTION"] = 1] = "PROMOTION";
|
7
|
+
VIBER_SEND_MESSAGE_TYPE[VIBER_SEND_MESSAGE_TYPE["SESSION"] = 2] = "SESSION";
|
8
|
+
})(VIBER_SEND_MESSAGE_TYPE = exports.VIBER_SEND_MESSAGE_TYPE || (exports.VIBER_SEND_MESSAGE_TYPE = {}));
|
9
9
|
//# sourceMappingURL=constant.js.map
|
@@ -1 +1 @@
|
|
1
|
-
export * from './constant';
|
1
|
+
export * from './constant';
|
@@ -1,5 +1,5 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
const tslib_1 = require("tslib");
|
4
|
-
tslib_1.__exportStar(require("./constant"), exports);
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
const tslib_1 = require("tslib");
|
4
|
+
tslib_1.__exportStar(require("./constant"), exports);
|
5
5
|
//# sourceMappingURL=index.js.map
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export declare const DEFAULT_TIME_ZONE = "Asia/Ho_Chi_Minh";
|
2
|
-
export declare const DATE_FORMAT = "YYYY-MM-DD";
|
3
|
-
export declare const DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
1
|
+
export declare const DEFAULT_TIME_ZONE = "Asia/Ho_Chi_Minh";
|
2
|
+
export declare const DATE_FORMAT = "YYYY-MM-DD";
|
3
|
+
export declare const DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
@@ -1,7 +1,7 @@
|
|
1
|
-
"use strict";
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.DATE_TIME_FORMAT = exports.DATE_FORMAT = exports.DEFAULT_TIME_ZONE = void 0;
|
4
|
-
exports.DEFAULT_TIME_ZONE = 'Asia/Ho_Chi_Minh';
|
5
|
-
exports.DATE_FORMAT = "YYYY-MM-DD";
|
6
|
-
exports.DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.DATE_TIME_FORMAT = exports.DATE_FORMAT = exports.DEFAULT_TIME_ZONE = void 0;
|
4
|
+
exports.DEFAULT_TIME_ZONE = 'Asia/Ho_Chi_Minh';
|
5
|
+
exports.DATE_FORMAT = "YYYY-MM-DD";
|
6
|
+
exports.DATE_TIME_FORMAT = "YYYY-MM-DD HH:mm:ss";
|
7
7
|
//# sourceMappingURL=constant.js.map
|
@@ -1,15 +1,15 @@
|
|
1
|
-
import * as moment from "moment-timezone";
|
2
|
-
declare type DateType = Date | string;
|
3
|
-
export declare function formatDateTimeTZ(date: DateType, timezone?: string, format?: string): string;
|
4
|
-
export declare const getDate: (date: DateType, tz?: string) => moment.Moment;
|
5
|
-
export declare function endOfDate(date: DateType, tz?: string): Date;
|
6
|
-
export declare function startOfDate(date: DateType, tz?: string): Date;
|
7
|
-
/**
|
8
|
-
* Week start from sunday
|
9
|
-
* @param date
|
10
|
-
* @param tz
|
11
|
-
*/
|
12
|
-
export declare function startOfWeeks(date: DateType, tz?: string): Date;
|
13
|
-
export declare function endOfWeek(date: DateType, tz?: string): Date;
|
14
|
-
export declare function lastWeek(date: DateType, tz?: string): Date;
|
15
|
-
export {};
|
1
|
+
import * as moment from "moment-timezone";
|
2
|
+
declare type DateType = Date | string;
|
3
|
+
export declare function formatDateTimeTZ(date: DateType, timezone?: string, format?: string): string;
|
4
|
+
export declare const getDate: (date: DateType, tz?: string) => moment.Moment;
|
5
|
+
export declare function endOfDate(date: DateType, tz?: string): Date;
|
6
|
+
export declare function startOfDate(date: DateType, tz?: string): Date;
|
7
|
+
/**
|
8
|
+
* Week start from sunday
|
9
|
+
* @param date
|
10
|
+
* @param tz
|
11
|
+
*/
|
12
|
+
export declare function startOfWeeks(date: DateType, tz?: string): Date;
|
13
|
+
export declare function endOfWeek(date: DateType, tz?: string): Date;
|
14
|
+
export declare function lastWeek(date: DateType, tz?: string): Date;
|
15
|
+
export {};
|