cecon-interfaces 1.4.22 → 1.4.23
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/campaign/entities/campaign-rule.entity.d.ts +8 -0
- package/dist/campaign/entities/campaign-rule.entity.js +21 -0
- package/dist/campaign/entities/campaign-sponsorship.entity.d.ts +6 -0
- package/dist/campaign/entities/campaign-sponsorship.entity.js +19 -0
- package/dist/campaign/entities/campaign.entity.d.ts +16 -7
- package/dist/campaign/entities/campaign.entity.js +15 -8
- package/dist/campaign/entities/index.d.ts +2 -0
- package/dist/campaign/entities/index.js +5 -1
- package/dist/campaign/enums/e-campaign-status.enum.d.ts +0 -1
- package/dist/campaign/enums/e-campaign-status.enum.js +0 -1
- package/dist/campaign/enums/index.d.ts +2 -0
- package/dist/campaign/enums/index.js +5 -1
- package/dist/campaign/enums/rule-types.enum.d.ts +13 -0
- package/dist/campaign/enums/rule-types.enum.js +17 -0
- package/dist/campaign/enums/target-types.enum.d.ts +6 -0
- package/dist/campaign/enums/target-types.enum.js +10 -0
- package/dist/campaign/interfaces/i-campaign-rule.d.ts +7 -0
- package/dist/campaign/interfaces/i-campaign-rule.js +2 -0
- package/dist/campaign/interfaces/i-campaign-sponsorship.d.ts +4 -0
- package/dist/campaign/interfaces/i-campaign-sponsorship.js +2 -0
- package/dist/campaign/interfaces/i-campaign.d.ts +17 -5
- package/dist/campaign/interfaces/index.d.ts +2 -0
- package/dist/esm2022/campaign/entities/campaign-rule.entity.mjs +17 -0
- package/dist/esm2022/campaign/entities/campaign-sponsorship.entity.mjs +15 -0
- package/dist/esm2022/campaign/entities/campaign.entity.mjs +17 -10
- package/dist/esm2022/campaign/entities/index.mjs +3 -1
- package/dist/esm2022/campaign/enums/e-campaign-status.enum.mjs +1 -2
- package/dist/esm2022/campaign/enums/index.mjs +3 -1
- package/dist/esm2022/campaign/enums/rule-types.enum.mjs +15 -0
- package/dist/esm2022/campaign/enums/target-types.enum.mjs +8 -0
- package/dist/esm2022/campaign/interfaces/i-campaign-rule.mjs +2 -0
- package/dist/esm2022/campaign/interfaces/i-campaign-sponsorship.mjs +2 -0
- package/dist/esm2022/campaign/interfaces/i-campaign.mjs +1 -1
- package/dist/esm2022/campaign/interfaces/index.mjs +1 -1
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-menu-schedule-v2.mjs +1 -1
- package/dist/esm2022/wa-server/enums/index.mjs +1 -2
- package/dist/fesm2022/cecon-interfaces.mjs +69 -29
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/mobyo-api/interfaces/i-menu-schedule-v2.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/wa-server/enums/index.d.ts +0 -1
- package/dist/wa-server/enums/index.js +1 -3
- package/package.json +1 -1
- package/dist/esm2022/wa-server/enums/handler-message.enum.mjs +0 -19
- package/dist/wa-server/enums/handler-message.enum.d.ts +0 -17
- package/dist/wa-server/enums/handler-message.enum.js +0 -21
@@ -0,0 +1,8 @@
|
|
1
|
+
import { ECampaignRuleType } from '../enums';
|
2
|
+
import { ICampaignRule } from '../interfaces';
|
3
|
+
export declare class CampaignRuleEntity implements ICampaignRule {
|
4
|
+
type: ECampaignRuleType;
|
5
|
+
value?: string | number | Date | boolean;
|
6
|
+
description: string;
|
7
|
+
constructor(data?: Partial<CampaignRuleEntity>);
|
8
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CampaignRuleEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
5
|
+
var CampaignRuleEntity = /** @class */ (function () {
|
6
|
+
function CampaignRuleEntity(data) {
|
7
|
+
// #region Properties (10)
|
8
|
+
this.type = enums_1.ECampaignRuleType.MIN_VALUE;
|
9
|
+
this.value = 0;
|
10
|
+
this.description = '';
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return CampaignRuleEntity;
|
20
|
+
}());
|
21
|
+
exports.CampaignRuleEntity = CampaignRuleEntity;
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CampaignSponsorshipEntity = void 0;
|
4
|
+
var CampaignSponsorshipEntity = /** @class */ (function () {
|
5
|
+
function CampaignSponsorshipEntity(data) {
|
6
|
+
// #region Properties (10)
|
7
|
+
this.name = 'MERCHANT';
|
8
|
+
this.value = 0;
|
9
|
+
if (data) {
|
10
|
+
for (var key in data) {
|
11
|
+
if (data.hasOwnProperty(key) && key in this) {
|
12
|
+
this[key] = data[key];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return CampaignSponsorshipEntity;
|
18
|
+
}());
|
19
|
+
exports.CampaignSponsorshipEntity = CampaignSponsorshipEntity;
|
@@ -1,15 +1,24 @@
|
|
1
|
-
import {
|
2
|
-
import {
|
1
|
+
import { EDiscountType, IMobyoInfo, INatiInfo } from '../../general';
|
2
|
+
import { ECampaignStatus, ECampaignTargetTypes } from '../enums';
|
3
|
+
import { ICampaign, ICampaignRule, ICampaignSponsorship } from '../interfaces';
|
3
4
|
export declare class CampaignEntity implements ICampaign {
|
5
|
+
info: IMobyoInfo | INatiInfo;
|
6
|
+
concludedAt: Date;
|
4
7
|
createdAt: Date;
|
5
|
-
createdBy: string;
|
6
|
-
description: string;
|
7
|
-
endDate: Date;
|
8
8
|
id: string;
|
9
|
+
isPublic: boolean;
|
10
|
+
key: string;
|
9
11
|
name: string;
|
10
|
-
|
11
|
-
|
12
|
+
activatedAt: Date;
|
13
|
+
rules: ICampaignRule[];
|
14
|
+
type: EDiscountType;
|
15
|
+
amount: number;
|
16
|
+
sponsorship: ICampaignSponsorship[];
|
12
17
|
status: ECampaignStatus;
|
18
|
+
targetsId: string[];
|
19
|
+
targetType: ECampaignTargetTypes;
|
13
20
|
updatedAt: Date;
|
21
|
+
limit: number;
|
22
|
+
isExclusive: boolean;
|
14
23
|
constructor(data?: Partial<CampaignEntity>);
|
15
24
|
}
|
@@ -1,22 +1,29 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CampaignEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
4
5
|
var enums_1 = require("../enums");
|
5
6
|
var CampaignEntity = /** @class */ (function () {
|
6
|
-
// #endregion Properties (10)
|
7
|
-
// #region Constructors (1)
|
8
7
|
function CampaignEntity(data) {
|
9
8
|
// #region Properties (10)
|
9
|
+
this.info = new general_1.MobyoInfoEntity();
|
10
|
+
this.concludedAt = new Date();
|
10
11
|
this.createdAt = new Date();
|
11
|
-
this.createdBy = '';
|
12
|
-
this.description = '';
|
13
|
-
this.endDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
|
14
12
|
this.id = '';
|
13
|
+
this.isPublic = false;
|
14
|
+
this.key = '';
|
15
15
|
this.name = '';
|
16
|
-
this.
|
17
|
-
this.
|
18
|
-
this.
|
16
|
+
this.activatedAt = new Date();
|
17
|
+
this.rules = [];
|
18
|
+
this.type = general_1.EDiscountType.PERCENT;
|
19
|
+
this.amount = 0;
|
20
|
+
this.sponsorship = [];
|
21
|
+
this.status = enums_1.ECampaignStatus.ACTIVE;
|
22
|
+
this.targetsId = [];
|
23
|
+
this.targetType = enums_1.ECampaignTargetTypes.CART;
|
19
24
|
this.updatedAt = new Date();
|
25
|
+
this.limit = 0;
|
26
|
+
this.isExclusive = false;
|
20
27
|
if (data) {
|
21
28
|
for (var key in data) {
|
22
29
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,5 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.CampaignEntity = void 0;
|
3
|
+
exports.CampaignSponsorshipEntity = exports.CampaignRuleEntity = exports.CampaignEntity = void 0;
|
4
4
|
var campaign_entity_1 = require("./campaign.entity");
|
5
5
|
Object.defineProperty(exports, "CampaignEntity", { enumerable: true, get: function () { return campaign_entity_1.CampaignEntity; } });
|
6
|
+
var campaign_rule_entity_1 = require("./campaign-rule.entity");
|
7
|
+
Object.defineProperty(exports, "CampaignRuleEntity", { enumerable: true, get: function () { return campaign_rule_entity_1.CampaignRuleEntity; } });
|
8
|
+
var campaign_sponsorship_entity_1 = require("./campaign-sponsorship.entity");
|
9
|
+
Object.defineProperty(exports, "CampaignSponsorshipEntity", { enumerable: true, get: function () { return campaign_sponsorship_entity_1.CampaignSponsorshipEntity; } });
|
@@ -4,7 +4,6 @@ exports.ECampaignStatus = void 0;
|
|
4
4
|
var ECampaignStatus;
|
5
5
|
(function (ECampaignStatus) {
|
6
6
|
ECampaignStatus["ACTIVE"] = "ACTIVE";
|
7
|
-
ECampaignStatus["EXPIRED"] = "EXPIRED";
|
8
7
|
ECampaignStatus["PLACED"] = "PLACED";
|
9
8
|
ECampaignStatus["PAUSED"] = "PAUSED";
|
10
9
|
ECampaignStatus["CONCLUDED"] = "CONCLUDED";
|
@@ -1,5 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ECampaignStatus = void 0;
|
3
|
+
exports.ECampaignTargetTypes = exports.ECampaignRuleType = exports.ECampaignStatus = void 0;
|
4
4
|
var e_campaign_status_enum_1 = require("./e-campaign-status.enum");
|
5
5
|
Object.defineProperty(exports, "ECampaignStatus", { enumerable: true, get: function () { return e_campaign_status_enum_1.ECampaignStatus; } });
|
6
|
+
var rule_types_enum_1 = require("./rule-types.enum");
|
7
|
+
Object.defineProperty(exports, "ECampaignRuleType", { enumerable: true, get: function () { return rule_types_enum_1.ECampaignRuleType; } });
|
8
|
+
var target_types_enum_1 = require("./target-types.enum");
|
9
|
+
Object.defineProperty(exports, "ECampaignTargetTypes", { enumerable: true, get: function () { return target_types_enum_1.ECampaignTargetTypes; } });
|
@@ -0,0 +1,13 @@
|
|
1
|
+
export declare enum ECampaignRuleType {
|
2
|
+
FIRST_BUY = "FIRST_BUY",
|
3
|
+
BIRTHDAY = "BIRTHDAY",
|
4
|
+
ONE_BY_USER = "ONE_BY_USER",
|
5
|
+
ONE_BY_DAY = "ONE_BY_DAY",
|
6
|
+
IN_PAYMENT_ID = "IN_PAYMENT_ID",
|
7
|
+
MIN_VALUE = "MIN_VALUE",
|
8
|
+
EXCLUSIVE = "EXCLUSIVE",
|
9
|
+
SHIFT_START_AT = "SHIFT_START_AT",
|
10
|
+
SHIFT_END_AT = "SHIFT_END_AT",
|
11
|
+
START_AT = "START_AT",
|
12
|
+
END_AT = "END_AT"
|
13
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ECampaignRuleType = void 0;
|
4
|
+
var ECampaignRuleType;
|
5
|
+
(function (ECampaignRuleType) {
|
6
|
+
ECampaignRuleType["FIRST_BUY"] = "FIRST_BUY";
|
7
|
+
ECampaignRuleType["BIRTHDAY"] = "BIRTHDAY";
|
8
|
+
ECampaignRuleType["ONE_BY_USER"] = "ONE_BY_USER";
|
9
|
+
ECampaignRuleType["ONE_BY_DAY"] = "ONE_BY_DAY";
|
10
|
+
ECampaignRuleType["IN_PAYMENT_ID"] = "IN_PAYMENT_ID";
|
11
|
+
ECampaignRuleType["MIN_VALUE"] = "MIN_VALUE";
|
12
|
+
ECampaignRuleType["EXCLUSIVE"] = "EXCLUSIVE";
|
13
|
+
ECampaignRuleType["SHIFT_START_AT"] = "SHIFT_START_AT";
|
14
|
+
ECampaignRuleType["SHIFT_END_AT"] = "SHIFT_END_AT";
|
15
|
+
ECampaignRuleType["START_AT"] = "START_AT";
|
16
|
+
ECampaignRuleType["END_AT"] = "END_AT";
|
17
|
+
})(ECampaignRuleType || (exports.ECampaignRuleType = ECampaignRuleType = {}));
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ECampaignTargetTypes = void 0;
|
4
|
+
var ECampaignTargetTypes;
|
5
|
+
(function (ECampaignTargetTypes) {
|
6
|
+
ECampaignTargetTypes["CART"] = "CART";
|
7
|
+
ECampaignTargetTypes["DELIVERY_FEE"] = "DELIVERY_FEE";
|
8
|
+
ECampaignTargetTypes["ITEMS"] = "ITEMS";
|
9
|
+
ECampaignTargetTypes["CATEGORY"] = "CATEGORY";
|
10
|
+
})(ECampaignTargetTypes || (exports.ECampaignTargetTypes = ECampaignTargetTypes = {}));
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IMenuScheduleV2 } from '../../mobyo/mobyo-api/interfaces/i-menu-schedule-v2';
|
2
|
+
import { ECampaignRuleType } from '../enums/rule-types.enum';
|
3
|
+
export interface ICampaignRule {
|
4
|
+
type: ECampaignRuleType;
|
5
|
+
value?: string | number | Date | boolean | IMenuScheduleV2;
|
6
|
+
description: string;
|
7
|
+
}
|
@@ -1,13 +1,25 @@
|
|
1
|
+
import { EDiscountType, IMobyoInfo, INatiInfo } from '../../general';
|
1
2
|
import { ECampaignStatus } from '../enums';
|
3
|
+
import { ECampaignTargetTypes } from '../enums/target-types.enum';
|
4
|
+
import { ICampaignRule } from './i-campaign-rule';
|
5
|
+
import { ICampaignSponsorship } from './i-campaign-sponsorship';
|
2
6
|
export interface ICampaign {
|
7
|
+
info: IMobyoInfo | INatiInfo;
|
8
|
+
concludedAt: Date;
|
3
9
|
createdAt: Date;
|
4
|
-
createdBy: string;
|
5
|
-
description: string;
|
6
|
-
endDate: Date;
|
7
10
|
id: string;
|
11
|
+
isPublic: boolean;
|
12
|
+
key: string;
|
8
13
|
name: string;
|
9
|
-
|
10
|
-
|
14
|
+
activatedAt: Date;
|
15
|
+
rules: ICampaignRule[];
|
16
|
+
type: EDiscountType;
|
17
|
+
amount: number;
|
18
|
+
sponsorship: ICampaignSponsorship[];
|
11
19
|
status: ECampaignStatus;
|
20
|
+
targetsId: string[];
|
21
|
+
targetType: ECampaignTargetTypes;
|
12
22
|
updatedAt: Date;
|
23
|
+
limit: number;
|
24
|
+
isExclusive: boolean;
|
13
25
|
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { ECampaignRuleType } from '../enums';
|
2
|
+
export class CampaignRuleEntity {
|
3
|
+
// #region Properties (10)
|
4
|
+
type = ECampaignRuleType.MIN_VALUE;
|
5
|
+
value = 0;
|
6
|
+
description = '';
|
7
|
+
constructor(data) {
|
8
|
+
if (data) {
|
9
|
+
for (let key in data) {
|
10
|
+
if (data.hasOwnProperty(key) && key in this) {
|
11
|
+
this[key] = data[key];
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FtcGFpZ24tcnVsZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2FtcGFpZ24vZW50aXRpZXMvY2FtcGFpZ24tcnVsZS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRzdDLE1BQU0sT0FBTyxrQkFBa0I7SUFDN0IsMEJBQTBCO0lBQ25CLElBQUksR0FBc0IsaUJBQWlCLENBQUMsU0FBUyxDQUFDO0lBQ3RELEtBQUssR0FBc0MsQ0FBQyxDQUFDO0lBQzdDLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFFaEMsWUFBWSxJQUFrQztRQUM1QyxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBR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SponsorshipEntity {
|
2
|
+
// #region Properties (10)
|
3
|
+
name = 'MERCHANT';
|
4
|
+
value = 0;
|
5
|
+
constructor(data) {
|
6
|
+
if (data) {
|
7
|
+
for (let key in data) {
|
8
|
+
if (data.hasOwnProperty(key) && key in this) {
|
9
|
+
this[key] = data[key];
|
10
|
+
}
|
11
|
+
}
|
12
|
+
}
|
13
|
+
}
|
14
|
+
}
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FtcGFpZ24tc3BvbnNvcnNoaXAuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NhbXBhaWduL2VudGl0aWVzL2NhbXBhaWduLXNwb25zb3JzaGlwLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8seUJBQXlCO0lBQ3BDLDBCQUEwQjtJQUNuQixJQUFJLEdBQVcsVUFBVSxDQUFDO0lBQzFCLEtBQUssR0FBVyxDQUFDLENBQUM7SUFFekIsWUFBWSxJQUF5QztRQUNuRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDekM7YUFDRjtTQUNGO0lBQ0gsQ0FBQztDQUdGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSUNhbXBhaWduU3BvbnNvcnNoaXAgfSBmcm9tICcuLi9pbnRlcmZhY2VzJztcclxuXHJcbmV4cG9ydCBjbGFzcyBDYW1wYWlnblNwb25zb3JzaGlwRW50aXR5IGltcGxlbWVudHMgSUNhbXBhaWduU3BvbnNvcnNoaXAge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTApXHJcbiAgcHVibGljIG5hbWU6IHN0cmluZyA9ICdNRVJDSEFOVCc7XHJcbiAgcHVibGljIHZhbHVlOiBudW1iZXIgPSAwO1xyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxDYW1wYWlnblNwb25zb3JzaGlwRW50aXR5Pikge1xyXG4gICAgaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -1,18 +1,25 @@
|
|
1
|
-
import {
|
1
|
+
import { EDiscountType, MobyoInfoEntity } from '../../general';
|
2
|
+
import { ECampaignStatus, ECampaignTargetTypes } from '../enums';
|
2
3
|
export class CampaignEntity {
|
3
4
|
// #region Properties (10)
|
5
|
+
info = new MobyoInfoEntity();
|
6
|
+
concludedAt = new Date();
|
4
7
|
createdAt = new Date();
|
5
|
-
createdBy = '';
|
6
|
-
description = '';
|
7
|
-
endDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
|
8
8
|
id = '';
|
9
|
+
isPublic = false;
|
10
|
+
key = '';
|
9
11
|
name = '';
|
10
|
-
|
11
|
-
|
12
|
-
|
12
|
+
activatedAt = new Date();
|
13
|
+
rules = [];
|
14
|
+
type = EDiscountType.PERCENT;
|
15
|
+
amount = 0;
|
16
|
+
sponsorship = [];
|
17
|
+
status = ECampaignStatus.ACTIVE;
|
18
|
+
targetsId = [];
|
19
|
+
targetType = ECampaignTargetTypes.CART;
|
13
20
|
updatedAt = new Date();
|
14
|
-
|
15
|
-
|
21
|
+
limit = 0;
|
22
|
+
isExclusive = false;
|
16
23
|
constructor(data) {
|
17
24
|
if (data) {
|
18
25
|
for (let key in data) {
|
@@ -23,4 +30,4 @@ export class CampaignEntity {
|
|
23
30
|
}
|
24
31
|
}
|
25
32
|
}
|
26
|
-
//# sourceMappingURL=data:application/json;base64,
|
33
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FtcGFpZ24uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NhbXBhaWduL2VudGl0aWVzL2NhbXBhaWduLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUF5QixlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLGVBQWUsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUdqRSxNQUFNLE9BQU8sY0FBYztJQUN6QiwwQkFBMEI7SUFDbkIsSUFBSSxHQUEyQixJQUFJLGVBQWUsRUFBRSxDQUFDO0lBQ3JELFdBQVcsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQy9CLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsUUFBUSxHQUFZLEtBQUssQ0FBQztJQUMxQixHQUFHLEdBQVcsRUFBRSxDQUFDO0lBQ2pCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsV0FBVyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDL0IsS0FBSyxHQUFvQixFQUFFLENBQUM7SUFDNUIsSUFBSSxHQUFrQixhQUFhLENBQUMsT0FBTyxDQ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6IGJvb2xlYW4gPSBmYWxzZTtcclxuXHJcbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8Q2FtcGFpZ25FbnRpdHk+KSB7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,4 @@
|
|
1
1
|
export { CampaignEntity } from './campaign.entity';
|
2
|
-
|
2
|
+
export { CampaignRuleEntity } from './campaign-rule.entity';
|
3
|
+
export { CampaignSponsorshipEntity } from './campaign-sponsorship.entity';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2FtcGFpZ24vZW50aXRpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLCtCQUErQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ2FtcGFpZ25FbnRpdHkgfSBmcm9tICcuL2NhbXBhaWduLmVudGl0eSc7XHJcbmV4cG9ydCB7IENhbXBhaWduUnVsZUVudGl0eSB9IGZyb20gJy4vY2FtcGFpZ24tcnVsZS5lbnRpdHknO1xyXG5leHBvcnQgeyBDYW1wYWlnblNwb25zb3JzaGlwRW50aXR5IH0gZnJvbSAnLi9jYW1wYWlnbi1zcG9uc29yc2hpcC5lbnRpdHknO1xyXG4iXX0=
|
@@ -1,9 +1,8 @@
|
|
1
1
|
export var ECampaignStatus;
|
2
2
|
(function (ECampaignStatus) {
|
3
3
|
ECampaignStatus["ACTIVE"] = "ACTIVE";
|
4
|
-
ECampaignStatus["EXPIRED"] = "EXPIRED";
|
5
4
|
ECampaignStatus["PLACED"] = "PLACED";
|
6
5
|
ECampaignStatus["PAUSED"] = "PAUSED";
|
7
6
|
ECampaignStatus["CONCLUDED"] = "CONCLUDED";
|
8
7
|
})(ECampaignStatus || (ECampaignStatus = {}));
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1jYW1wYWlnbi1zdGF0dXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jYW1wYWlnbi9lbnVtcy9lLWNhbXBhaWduLXN0YXR1cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGVBS1g7QUFMRCxXQUFZLGVBQWU7SUFDekIsb0NBQWlCLENBQUE7SUFDakIsb0NBQWlCLENBQUE7SUFDakIsb0NBQWlCLENBQUE7SUFDakIsMENBQXVCLENBQUE7QUFDekIsQ0FBQyxFQUxXLGVBQWUsS0FBZixlQUFlLFFBSzFCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRUNhbXBhaWduU3RhdHVzIHtcclxuICBBQ1RJVkUgPSAnQUNUSVZFJyxcclxuICBQTEFDRUQgPSAnUExBQ0VEJyxcclxuICBQQVVTRUQgPSAnUEFVU0VEJyxcclxuICBDT05DTFVERUQgPSAnQ09OQ0xVREVEJyxcclxufVxyXG4iXX0=
|
@@ -1,2 +1,4 @@
|
|
1
1
|
export { ECampaignStatus } from './e-campaign-status.enum';
|
2
|
-
|
2
|
+
export { ECampaignRuleType } from './rule-types.enum';
|
3
|
+
export { ECampaignTargetTypes } from './target-types.enum';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2FtcGFpZ24vZW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzNELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRUNhbXBhaWduU3RhdHVzIH0gZnJvbSAnLi9lLWNhbXBhaWduLXN0YXR1cy5lbnVtJztcclxuZXhwb3J0IHsgRUNhbXBhaWduUnVsZVR5cGUgfSBmcm9tICcuL3J1bGUtdHlwZXMuZW51bSc7XHJcbmV4cG9ydCB7IEVDYW1wYWlnblRhcmdldFR5cGVzIH0gZnJvbSAnLi90YXJnZXQtdHlwZXMuZW51bSc7XHJcbiJdfQ==
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export var ECampaignRuleType;
|
2
|
+
(function (ECampaignRuleType) {
|
3
|
+
ECampaignRuleType["FIRST_BUY"] = "FIRST_BUY";
|
4
|
+
ECampaignRuleType["BIRTHDAY"] = "BIRTHDAY";
|
5
|
+
ECampaignRuleType["ONE_BY_USER"] = "ONE_BY_USER";
|
6
|
+
ECampaignRuleType["ONE_BY_DAY"] = "ONE_BY_DAY";
|
7
|
+
ECampaignRuleType["IN_PAYMENT_ID"] = "IN_PAYMENT_ID";
|
8
|
+
ECampaignRuleType["MIN_VALUE"] = "MIN_VALUE";
|
9
|
+
ECampaignRuleType["EXCLUSIVE"] = "EXCLUSIVE";
|
10
|
+
ECampaignRuleType["SHIFT_START_AT"] = "SHIFT_START_AT";
|
11
|
+
ECampaignRuleType["SHIFT_END_AT"] = "SHIFT_END_AT";
|
12
|
+
ECampaignRuleType["START_AT"] = "START_AT";
|
13
|
+
ECampaignRuleType["END_AT"] = "END_AT";
|
14
|
+
})(ECampaignRuleType || (ECampaignRuleType = {}));
|
15
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVsZS10eXBlcy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NhbXBhaWduL2VudW1zL3J1bGUtdHlwZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxpQkFZWDtBQVpELFdBQVksaUJBQWlCO0lBQzNCLDRDQUF1QixDQUFBO0lBQ3ZCLDBDQUFxQixDQUFBO0lBQ3JCLGdEQUEyQixDQUFBO0lBQzNCLDhDQUF5QixDQUFBO0lBQ3pCLG9EQUErQixDQUFBO0lBQy9CLDRDQUF1QixDQUFBO0lBQ3ZCLDRDQUF1QixDQUFBO0lBQ3ZCLHNEQUFpQyxDQUFBO0lBQ2pDLGtEQUE2QixDQUFBO0lBQzdCLDBDQUFxQixDQUFBO0lBQ3JCLHNDQUFpQixDQUFBO0FBQ25CLENBQUMsRUFaVyxpQkFBaUIsS0FBakIsaUJBQWlCLFFBWTVCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRUNhbXBhaWduUnVsZVR5cGUge1xyXG4gIEZJUlNUX0JVWSA9ICdGSVJTVF9CVVknLFxyXG4gIEJJUlRIREFZID0gJ0JJUlRIREFZJywgICAgICAgICAgICAgIC8vIHNlIMOpIGFuaXZlcnPDoXJpb1xyXG4gIE9ORV9CWV9VU0VSID0gJ09ORV9CWV9VU0VSJyxcclxuICBPTkVfQllfREFZID0gJ09ORV9CWV9EQVknLFxyXG4gIElOX1BBWU1FTlRfSUQgPSAnSU5fUEFZTUVOVF9JRCcsXHJcbiAgTUlOX1ZBTFVFID0gJ01JTl9WQUxVRScsXHJcbiAgRVhDTFVTSVZFID0gJ0VYQ0xVU0lWRScsICAgICAgICAgICAgLy8gc2VydmUgcGFyYSBzZXIgdXNhZG8gc29tZW50ZSBlbGUgbmEgY29tcHJhXHJcbiAgU0hJRlRfU1RBUlRfQVQgPSAnU0hJRlRfU1RBUlRfQVQnLCAgLy8gaG9yw6FyaW8gZGUgaW7DrWNpbyBkbyB1c29cclxuICBTSElGVF9FTkRfQVQgPSAnU0hJRlRfRU5EX0FUJywgICAgICAvLyBob3LDoXJpbyBkZSB0w6lybWlubyBkbyB1c29cclxuICBTVEFSVF9BVCA9ICdTVEFSVF9BVCcsICAgICAgICAgICAgICAvLyBkYXRhIGRlIGluw61jaW8gZG8gdXNvXHJcbiAgRU5EX0FUID0gJ0VORF9BVCcsICAgICAgICAgICAgICAgICAgLy8gZGF0YSBkZSB0w6lybWlubyBkbyB1c29cclxufVxyXG4iXX0=
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export var ECampaignTargetTypes;
|
2
|
+
(function (ECampaignTargetTypes) {
|
3
|
+
ECampaignTargetTypes["CART"] = "CART";
|
4
|
+
ECampaignTargetTypes["DELIVERY_FEE"] = "DELIVERY_FEE";
|
5
|
+
ECampaignTargetTypes["ITEMS"] = "ITEMS";
|
6
|
+
ECampaignTargetTypes["CATEGORY"] = "CATEGORY";
|
7
|
+
})(ECampaignTargetTypes || (ECampaignTargetTypes = {}));
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFyZ2V0LXR5cGVzLmVudW0uanMiLCJz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HJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElDYW1wYWlnblJ1bGUge1xyXG4gIHR5cGU6IEVDYW1wYWlnblJ1bGVUeXBlO1xyXG4gIHZhbHVlPzogc3RyaW5nIHwgbnVtYmVyIHwgRGF0ZSB8IGJvb2xlYW4gfCBJTWVudVNjaGVkdWxlVjI7XHJcbiAgZGVzY3JpcHRpb246IHN0cmluZztcclxufVxyXG5cclxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYW1wYWlnbi1zcG9uc29yc2hpcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jYW1wYWlnbi9pbnRlcmZhY2VzL2ktY2FtcGFpZ24tc3BvbnNvcnNoaXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUNhbXBhaWduU3BvbnNvcnNoaXAge1xyXG4gICAgbmFtZTogJ01FUkNIQU5UJyB8IHN0cmluZyxcclxuICAgIHZhbHVlOiBudW1iZXIsXHJcbn1cclxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYW1wYWlnbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jYW1wYWlnbi9pbnRlcmZhY2VzL2ktY2FtcGFpZ24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEaXNjb3VudFR5cGUsIElNb2J5b0luZm8sIElOYXRpSW5mbyB9IGZyb20gJy4uLy4uL2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ZTtcclxuICBsaW1pdDogbnVtYmVyO1xyXG4gIGlzRXhjbHVzaXZlOiBib29sZWFuO1xyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2FtcGFpZ24vaW50ZXJmYWNlcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgSUNhbXBhaWduIH0gZnJvbSAnLi9pLWNhbXBhaWduJztcbmV4cG9ydCB7IElDYW1wYWlnblJ1bGUgfSBmcm9tICcuL2ktY2FtcGFpZ24tcnVsZSc7XG5leHBvcnQgeyBJQ2FtcGFpZ25TcG9uc29yc2hpcCB9IGZyb20gJy4vaS1jYW1wYWlnbi1zcG9uc29yc2hpcCc7XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1tZW51LXNjaGVkdWxlLXYyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL21vYnlvL21vYnlvLWFwaS9pbnRlcmZhY2VzL2ktbWVudS1zY2hlZHVsZS12Mi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiXHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElNZW51U2NoZWR1bGVWMiB7XHJcbiAgICBmcmk6IGJvb2xlYW47XHJcbiAgICBtb246IGJvb2xlYW47XHJcbiAgICBzYXQ6IGJvb2xlYW47XHJcbiAgICBzdW46IGJvb2xlYW47XHJcbiAgICB0aHU6IGJvb2xlYW47XHJcbiAgICB0dWU6IGJvb2xlYW47XHJcbiAgICB3ZWQ6IGJvb2xlYW47XHJcbiAgICBzdGFydEF0OiBzdHJpbmcgfCBEYXRlO1xyXG4gICAgZW5kQXQ6IHN0cmluZyB8IERhdGU7XHJcbn1cclxuIl19
|
@@ -1,3 +1,2 @@
|
|
1
|
-
export { EWaServerHandlerMessage } from './handler-message.enum';
|
2
1
|
export { EWaServerStatus } from './status.enum';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvd2Etc2VydmVyL2VudW1zL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBFV2FTZXJ2ZXJTdGF0dXMgfSBmcm9tICcuL3N0YXR1cy5lbnVtJztcclxuIl19
|