cecon-interfaces 1.4.27 → 1.4.29

Sign up to get free protection for your applications and to get access to all the features.
Files changed (81) hide show
  1. package/dist/esm2022/index.mjs +2 -3
  2. package/dist/esm2022/mobyo/mobyo-api/interfaces/i-order-benefits-v3.mjs +1 -1
  3. package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.mjs +1 -1
  4. package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher.mjs +1 -1
  5. package/dist/esm2022/voucher/entities/index.mjs +3 -1
  6. package/dist/esm2022/voucher/entities/voucher-rule.entity.mjs +17 -0
  7. package/dist/esm2022/voucher/entities/voucher-sponsorship.entity.mjs +15 -0
  8. package/dist/esm2022/voucher/entities/voucher.entity.mjs +17 -39
  9. package/dist/esm2022/voucher/enums/e-voucher-status.enum.mjs +2 -3
  10. package/dist/esm2022/voucher/enums/index.mjs +3 -1
  11. package/dist/esm2022/voucher/enums/rule-types.enum.mjs +14 -0
  12. package/dist/esm2022/voucher/enums/target-types.enum.mjs +8 -0
  13. package/dist/esm2022/voucher/interfaces/i-voucher-customer.mjs +2 -0
  14. package/dist/esm2022/voucher/interfaces/i-voucher-rule.mjs +2 -0
  15. package/dist/esm2022/voucher/interfaces/i-voucher-sponsorship.mjs +2 -0
  16. package/dist/esm2022/voucher/interfaces/i-voucher.mjs +1 -1
  17. package/dist/esm2022/voucher/interfaces/index.mjs +1 -1
  18. package/dist/fesm2022/cecon-interfaces.mjs +69 -132
  19. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  20. package/dist/index.d.ts +1 -2
  21. package/dist/index.js +1 -2
  22. package/dist/mobyo/mobyo-api/interfaces/i-order-benefits-v3.d.ts +2 -2
  23. package/dist/mobyo/resumes/vouchers/interfaces/i-resume-voucher.d.ts +2 -2
  24. package/dist/package.json +1 -1
  25. package/dist/voucher/entities/index.d.ts +2 -0
  26. package/dist/voucher/entities/index.js +5 -1
  27. package/dist/voucher/entities/voucher-rule.entity.d.ts +8 -0
  28. package/dist/{campaign/entities/campaign-rule.entity.js → voucher/entities/voucher-rule.entity.js} +1 -1
  29. package/dist/voucher/entities/voucher-sponsorship.entity.d.ts +6 -0
  30. package/dist/{campaign/entities/campaign-sponsorship.entity.js → voucher/entities/voucher-sponsorship.entity.js} +5 -5
  31. package/dist/voucher/entities/voucher.entity.d.ts +15 -18
  32. package/dist/voucher/entities/voucher.entity.js +14 -35
  33. package/dist/voucher/enums/e-voucher-status.enum.d.ts +2 -3
  34. package/dist/voucher/enums/e-voucher-status.enum.js +1 -2
  35. package/dist/voucher/enums/index.d.ts +2 -0
  36. package/dist/voucher/enums/index.js +5 -1
  37. package/dist/{campaign → voucher}/enums/rule-types.enum.d.ts +1 -1
  38. package/dist/voucher/enums/rule-types.enum.js +16 -0
  39. package/dist/{campaign → voucher}/enums/target-types.enum.d.ts +1 -1
  40. package/dist/voucher/enums/target-types.enum.js +10 -0
  41. package/dist/{campaign/interfaces/i-campaign-customer.d.ts → voucher/interfaces/i-voucher-customer.d.ts} +3 -3
  42. package/dist/{campaign/interfaces/i-campaign-rule.d.ts → voucher/interfaces/i-voucher-rule.d.ts} +3 -3
  43. package/dist/{campaign/interfaces/i-campaign-sponsorship.d.ts → voucher/interfaces/i-voucher-sponsorship.d.ts} +1 -1
  44. package/dist/voucher/interfaces/i-voucher.d.ts +16 -15
  45. package/dist/voucher/interfaces/index.d.ts +3 -0
  46. package/package.json +1 -1
  47. package/dist/campaign/entities/campaign-rule.entity.d.ts +0 -8
  48. package/dist/campaign/entities/campaign-sponsorship.entity.d.ts +0 -6
  49. package/dist/campaign/entities/campaign.entity.d.ts +0 -25
  50. package/dist/campaign/entities/campaign.entity.js +0 -38
  51. package/dist/campaign/entities/index.d.ts +0 -3
  52. package/dist/campaign/entities/index.js +0 -9
  53. package/dist/campaign/enums/e-campaign-status.enum.d.ts +0 -6
  54. package/dist/campaign/enums/e-campaign-status.enum.js +0 -10
  55. package/dist/campaign/enums/index.d.ts +0 -3
  56. package/dist/campaign/enums/index.js +0 -9
  57. package/dist/campaign/enums/rule-types.enum.js +0 -16
  58. package/dist/campaign/enums/target-types.enum.js +0 -10
  59. package/dist/campaign/index.d.ts +0 -3
  60. package/dist/campaign/index.js +0 -19
  61. package/dist/campaign/interfaces/i-campaign.d.ts +0 -26
  62. package/dist/campaign/interfaces/i-campaign.js +0 -2
  63. package/dist/campaign/interfaces/index.d.ts +0 -4
  64. package/dist/campaign/interfaces/index.js +0 -2
  65. package/dist/esm2022/campaign/entities/campaign-rule.entity.mjs +0 -17
  66. package/dist/esm2022/campaign/entities/campaign-sponsorship.entity.mjs +0 -15
  67. package/dist/esm2022/campaign/entities/campaign.entity.mjs +0 -34
  68. package/dist/esm2022/campaign/entities/index.mjs +0 -4
  69. package/dist/esm2022/campaign/enums/e-campaign-status.enum.mjs +0 -8
  70. package/dist/esm2022/campaign/enums/index.mjs +0 -4
  71. package/dist/esm2022/campaign/enums/rule-types.enum.mjs +0 -14
  72. package/dist/esm2022/campaign/enums/target-types.enum.mjs +0 -8
  73. package/dist/esm2022/campaign/index.mjs +0 -4
  74. package/dist/esm2022/campaign/interfaces/i-campaign-customer.mjs +0 -2
  75. package/dist/esm2022/campaign/interfaces/i-campaign-rule.mjs +0 -2
  76. package/dist/esm2022/campaign/interfaces/i-campaign-sponsorship.mjs +0 -2
  77. package/dist/esm2022/campaign/interfaces/i-campaign.mjs +0 -2
  78. package/dist/esm2022/campaign/interfaces/index.mjs +0 -2
  79. /package/dist/{campaign/interfaces/i-campaign-customer.js → voucher/interfaces/i-voucher-customer.js} +0 -0
  80. /package/dist/{campaign/interfaces/i-campaign-rule.js → voucher/interfaces/i-voucher-rule.js} +0 -0
  81. /package/dist/{campaign/interfaces/i-campaign-sponsorship.js → voucher/interfaces/i-voucher-sponsorship.js} +0 -0
@@ -1,26 +0,0 @@
1
- import { EDiscountType, IMobyoInfo, INatiInfo } from '../../general';
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';
6
- export interface ICampaign {
7
- info: IMobyoInfo | INatiInfo;
8
- concludedAt: Date;
9
- createdAt: Date;
10
- id: string;
11
- isPublic: boolean;
12
- key: string;
13
- name: string;
14
- activatedAt: Date;
15
- rules: ICampaignRule[];
16
- type: EDiscountType;
17
- amount: number;
18
- sponsorship: ICampaignSponsorship[];
19
- status: ECampaignStatus;
20
- targetsId: string[];
21
- targetType: ECampaignTargetTypes;
22
- updatedAt: Date;
23
- limit: number;
24
- isExclusive: boolean;
25
- usedCount: number;
26
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export { ICampaign } from './i-campaign';
2
- export { ICampaignRule } from './i-campaign-rule';
3
- export { ICampaignSponsorship } from './i-campaign-sponsorship';
4
- export { ICampaignCustomer } from './i-campaign-customer';
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FtcGFpZ24tcnVsZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2FtcGFpZ24vZW50aXRpZXMvY2FtcGFpZ24tcnVsZS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGlCQUFpQixFQUFFLE1BQU0sVUFBVSxDQUFDO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gaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
@@ -1,15 +0,0 @@
1
- export class CampaignSponsorshipEntity {
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,34 +0,0 @@
1
- import { EDiscountType, MobyoInfoEntity } from '../../general';
2
- import { ECampaignStatus, ECampaignTargetTypes } from '../enums';
3
- export class CampaignEntity {
4
- // #region Properties (10)
5
- info = new MobyoInfoEntity();
6
- concludedAt = new Date();
7
- createdAt = new Date();
8
- id = '';
9
- isPublic = false;
10
- key = '';
11
- name = '';
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;
20
- updatedAt = new Date();
21
- limit = 0;
22
- isExclusive = false;
23
- usedCount = 0;
24
- constructor(data) {
25
- if (data) {
26
- for (let key in data) {
27
- if (data.hasOwnProperty(key) && key in this) {
28
- this[key] = data[key];
29
- }
30
- }
31
- }
32
- }
33
- }
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FtcGFpZ24uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NhbXBhaWduL2VudGl0aWVzL2NhbXBhaWduLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUF5QixlQUFlLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDdEYsT0FBTyxFQUFFLGVBQWUsRUFBRSxvQkFBb0IsRUFBRSxNQUFNLFVBQVUsQ0FBQztBQUdqRSxNQUFNLE9BQU8sY0FBYztJQUN6QiwwQkFBMEI7SUFDbkIsSUFBSSxHQUEyQixJQUFJLGVBQWUsRUFBRSxDQUFDO0lBQ3JELFdBQVcsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQy9CLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsUUFBUSxHQUFZLEtBQUssQ0FBQztJQUMxQixHQUFHLEdBQVcsRUFBRSxDQUFDO0lBQ2pCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsV0FBVyxHQUFTLElBQUksSUFBSSxFQUFFLENBQUM7SUFDL0IsS0FBSyxHQUFvQixFQUFFLENBQUM7SUFDNUIsSUFBSSxHQUFrQixhQUFhLENBQUMsT0FBTyxDQUFDO0lBQzVDL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2x1c2l2ZTogYm9vbGVhbiA9IGZhbHNlO1xyXG4gIHB1YmxpYyB1c2VkQ291bnQ6IG51bWJlciA9IDA7XHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPENhbXBhaWduRW50aXR5Pikge1xyXG4gICAgaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
@@ -1,4 +0,0 @@
1
- export { CampaignEntity } from './campaign.entity';
2
- export { CampaignRuleEntity } from './campaign-rule.entity';
3
- export { CampaignSponsorshipEntity } from './campaign-sponsorship.entity';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2FtcGFpZ24vZW50aXRpZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ25ELE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHdCQUF3QixDQUFDO0FBQzVELE9BQU8sRUFBRSx5QkFBeUIsRUFBRSxNQUFNLCtCQUErQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgQ2FtcGFpZ25FbnRpdHkgfSBmcm9tICcuL2NhbXBhaWduLmVudGl0eSc7XHJcbmV4cG9ydCB7IENhbXBhaWduUnVsZUVudGl0eSB9IGZyb20gJy4vY2FtcGFpZ24tcnVsZS5lbnRpdHknO1xyXG5leHBvcnQgeyBDYW1wYWlnblNwb25zb3JzaGlwRW50aXR5IH0gZnJvbSAnLi9jYW1wYWlnbi1zcG9uc29yc2hpcC5lbnRpdHknO1xyXG4iXX0=
@@ -1,8 +0,0 @@
1
- export var ECampaignStatus;
2
- (function (ECampaignStatus) {
3
- ECampaignStatus["ACTIVE"] = "ACTIVE";
4
- ECampaignStatus["PLACED"] = "PLACED";
5
- ECampaignStatus["PAUSED"] = "PAUSED";
6
- ECampaignStatus["CONCLUDED"] = "CONCLUDED";
7
- })(ECampaignStatus || (ECampaignStatus = {}));
8
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS1jYW1wYWlnbi1zdGF0dXMuZW51bS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jYW1wYWlnbi9lbnVtcy9lLWNhbXBhaWduLXN0YXR1cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGVBS1g7QUFMRCxXQUFZLGVBQWU7SUFDekIsb0NBQWlCLENBQUE7SUFDakIsb0NBQWlCLENBQUE7SUFDakIsb0NBQWlCLENBQUE7SUFDakIsMENBQXVCLENBQUE7QUFDekIsQ0FBQyxFQUxXLGVBQWUsS0FBZixlQUFlLFFBSzFCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRUNhbXBhaWduU3RhdHVzIHtcclxuICBBQ1RJVkUgPSAnQUNUSVZFJyxcclxuICBQTEFDRUQgPSAnUExBQ0VEJyxcclxuICBQQVVTRUQgPSAnUEFVU0VEJyxcclxuICBDT05DTFVERUQgPSAnQ09OQ0xVREVEJyxcclxufVxyXG4iXX0=
@@ -1,4 +0,0 @@
1
- export { ECampaignStatus } from './e-campaign-status.enum';
2
- export { ECampaignRuleType } from './rule-types.enum';
3
- export { ECampaignTargetTypes } from './target-types.enum';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2FtcGFpZ24vZW51bXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGVBQWUsRUFBRSxNQUFNLDBCQUEwQixDQUFDO0FBQzNELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLG1CQUFtQixDQUFDO0FBQ3RELE9BQU8sRUFBRSxvQkFBb0IsRUFBRSxNQUFNLHFCQUFxQixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgRUNhbXBhaWduU3RhdHVzIH0gZnJvbSAnLi9lLWNhbXBhaWduLXN0YXR1cy5lbnVtJztcclxuZXhwb3J0IHsgRUNhbXBhaWduUnVsZVR5cGUgfSBmcm9tICcuL3J1bGUtdHlwZXMuZW51bSc7XHJcbmV4cG9ydCB7IEVDYW1wYWlnblRhcmdldFR5cGVzIH0gZnJvbSAnLi90YXJnZXQtdHlwZXMuZW51bSc7XHJcbiJdfQ==
@@ -1,14 +0,0 @@
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["SHIFT_START_AT"] = "SHIFT_START_AT";
10
- ECampaignRuleType["SHIFT_END_AT"] = "SHIFT_END_AT";
11
- ECampaignRuleType["START_AT"] = "START_AT";
12
- ECampaignRuleType["END_AT"] = "END_AT";
13
- })(ECampaignRuleType || (ECampaignRuleType = {}));
14
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVsZS10eXBlcy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NhbXBhaWduL2VudW1zL3J1bGUtdHlwZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxpQkFXWDtBQVhELFdBQVksaUJBQWlCO0lBQzNCLDRDQUF1QixDQUFBO0lBQ3ZCLDBDQUFxQixDQUFBO0lBQ3JCLGdEQUEyQixDQUFBO0lBQzNCLDhDQUF5QixDQUFBO0lBQ3pCLG9EQUErQixDQUFBO0lBQy9CLDRDQUF1QixDQUFBO0lBQ3ZCLHNEQUFpQyxDQUFBO0lBQ2pDLGtEQUE2QixDQUFBO0lBQzdCLDBDQUFxQixDQUFBO0lBQ3JCLHNDQUFpQixDQUFBO0FBQ25CLENBQUMsRUFYVyxpQkFBaUIsS0FBakIsaUJBQWlCLFFBVzVCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRUNhbXBhaWduUnVsZVR5cGUge1xyXG4gIEZJUlNUX0JVWSA9ICdGSVJTVF9CVVknLFxyXG4gIEJJUlRIREFZID0gJ0JJUlRIREFZJywgICAgICAgICAgICAgIC8vIHNlIMOpIGFuaXZlcnPDoXJpb1xyXG4gIE9ORV9CWV9VU0VSID0gJ09ORV9CWV9VU0VSJyxcclxuICBPTkVfQllfREFZID0gJ09ORV9CWV9EQVknLFxyXG4gIElOX1BBWU1FTlRfSUQgPSAnSU5fUEFZTUVOVF9JRCcsXHJcbiAgTUlOX1ZBTFVFID0gJ01JTl9WQUxVRScsXHJcbiAgU0hJRlRfU1RBUlRfQVQgPSAnU0hJRlRfU1RBUlRfQVQnLCAgLy8gaG9yw6FyaW8gZGUgaW7DrWNpbyBkbyB1c29cclxuICBTSElGVF9FTkRfQVQgPSAnU0hJRlRfRU5EX0FUJywgICAgICAvLyBob3LDoXJpbyBkZSB0w6lybWlubyBkbyB1c29cclxuICBTVEFSVF9BVCA9ICdTVEFSVF9BVCcsICAgICAgICAgICAgICAvLyBkYXRhIGRlIGluw61jaW8gZG8gdXNvXHJcbiAgRU5EX0FUID0gJ0VORF9BVCcsICAgICAgICAgICAgICAgICAgLy8gZGF0YSBkZSB0w6lybWlubyBkbyB1c29cclxufVxyXG4iXX0=
@@ -1,8 +0,0 @@
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFyZ2V0LXR5cGVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2FtcGFpZ24vZW51bXMvdGFyZ2V0LXR5cGVzLmVudW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsTUFBTSxDQUFOLElBQVksb0JBS1g7QUFMRCxXQUFZLG9CQUFvQjtJQUM5QixxQ0FBYSxDQUFBO0lBQ2IscURBQTZCLENBQUE7SUFDN0IsdUNBQWUsQ0FBQTtJQUNmLDZDQUFxQixDQUFBO0FBQ3ZCLENBQUMsRUFMVyxvQkFBb0IsS0FBcEIsb0JBQW9CLFFBSy9CIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRUNhbXBhaWduVGFyZ2V0VHlwZXMge1xyXG4gIENBUlQgPSAnQ0FSVCcsXHJcbiAgREVMSVZFUllfRkVFID0gJ0RFTElWRVJZX0ZFRScsXHJcbiAgSVRFTVMgPSAnSVRFTVMnLFxyXG4gIENBVEVHT1JZID0gJ0NBVEVHT1JZJyxcclxufVxyXG4iXX0=
@@ -1,4 +0,0 @@
1
- export * from './entities';
2
- export * from './enums';
3
- export * from './interfaces';
4
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY2FtcGFpZ24vaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxZQUFZLENBQUM7QUFDM0IsY0FBYyxTQUFTLENBQUM7QUFDeEIsY0FBYyxjQUFjLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgKiBmcm9tICcuL2VudGl0aWVzJztcbmV4cG9ydCAqIGZyb20gJy4vZW51bXMnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnRlcmZhY2VzJztcblxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYW1wYWlnbi1jdXN0b21lci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jYW1wYWlnbi9pbnRlcmZhY2VzL2ktY2FtcGFpZ24tY3VzdG9tZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElBZGRyZXNzLCBJQ29vcmRzIH0gZnJvbSBcIi4uLy4uL2dlbmVyYWxcIlxyXG5pbXBvcnQgeyBJT3JkZXJUb3RhbCB9IGZyb20gXCIuLi8uLi9vcmRlclwiXHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElDYW1wYWlnb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TWVudVNjaGVkdWxlVjI7XHJcbiAgZGVzY3JpcHRpb246IHN0cmluZztcclxufVxyXG5cclxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYW1wYWlnbi1zcG9uc29yc2hpcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jYW1wYWlnbi9pbnRlcmZhY2VzL2ktY2FtcGFpZ24tc3BvbnNvcnNoaXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSUNhbXBhaWduU3BvbnNvcnNoaXAge1xyXG4gICAgbmFtZTogJ01FUkNIQU5UJyB8IHN0cmluZyxcclxuICAgIHZhbHVlOiBudW1iZXIsXHJcbn1cclxuIl19
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jYW1wYWlnbi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jYW1wYWlnbi9pbnRlcmZhY2VzL2ktY2FtcGFpZ24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEaXNjb3VudFR5cGUsIElNb2J5b0luZm8sIElOYXRpSW5mbyB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5pbXBvcnQgeyBFQ2FtcGFpZ25TdGF0dXMgfSBmcm9tICcuLi9lbnVtcyc7XHJcbmltcG9ydCB7IEVDYW1wYWlnblRhcmdldFR5cGVzIH0gZnJvbSAnLi4vZW51bXMvdGFyZ2V0LXR5cGVzLmVudW0nO1xyXG5pbXBvcnQgeyBJQ2FtcGFpZ25SdWxlIH0gZnJvbSAnL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