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.
- package/dist/esm2022/index.mjs +2 -3
- package/dist/esm2022/mobyo/mobyo-api/interfaces/i-order-benefits-v3.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher.mjs +1 -1
- package/dist/esm2022/voucher/entities/index.mjs +3 -1
- package/dist/esm2022/voucher/entities/voucher-rule.entity.mjs +17 -0
- package/dist/esm2022/voucher/entities/voucher-sponsorship.entity.mjs +15 -0
- package/dist/esm2022/voucher/entities/voucher.entity.mjs +17 -39
- package/dist/esm2022/voucher/enums/e-voucher-status.enum.mjs +2 -3
- package/dist/esm2022/voucher/enums/index.mjs +3 -1
- package/dist/esm2022/voucher/enums/rule-types.enum.mjs +14 -0
- package/dist/esm2022/voucher/enums/target-types.enum.mjs +8 -0
- package/dist/esm2022/voucher/interfaces/i-voucher-customer.mjs +2 -0
- package/dist/esm2022/voucher/interfaces/i-voucher-rule.mjs +2 -0
- package/dist/esm2022/voucher/interfaces/i-voucher-sponsorship.mjs +2 -0
- package/dist/esm2022/voucher/interfaces/i-voucher.mjs +1 -1
- package/dist/esm2022/voucher/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +69 -132
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -2
- package/dist/mobyo/mobyo-api/interfaces/i-order-benefits-v3.d.ts +2 -2
- package/dist/mobyo/resumes/vouchers/interfaces/i-resume-voucher.d.ts +2 -2
- package/dist/package.json +1 -1
- package/dist/voucher/entities/index.d.ts +2 -0
- package/dist/voucher/entities/index.js +5 -1
- package/dist/voucher/entities/voucher-rule.entity.d.ts +8 -0
- package/dist/{campaign/entities/campaign-rule.entity.js → voucher/entities/voucher-rule.entity.js} +1 -1
- package/dist/voucher/entities/voucher-sponsorship.entity.d.ts +6 -0
- package/dist/{campaign/entities/campaign-sponsorship.entity.js → voucher/entities/voucher-sponsorship.entity.js} +5 -5
- package/dist/voucher/entities/voucher.entity.d.ts +15 -18
- package/dist/voucher/entities/voucher.entity.js +14 -35
- package/dist/voucher/enums/e-voucher-status.enum.d.ts +2 -3
- package/dist/voucher/enums/e-voucher-status.enum.js +1 -2
- package/dist/voucher/enums/index.d.ts +2 -0
- package/dist/voucher/enums/index.js +5 -1
- package/dist/{campaign → voucher}/enums/rule-types.enum.d.ts +1 -1
- package/dist/voucher/enums/rule-types.enum.js +16 -0
- package/dist/{campaign → voucher}/enums/target-types.enum.d.ts +1 -1
- package/dist/voucher/enums/target-types.enum.js +10 -0
- package/dist/{campaign/interfaces/i-campaign-customer.d.ts → voucher/interfaces/i-voucher-customer.d.ts} +3 -3
- package/dist/{campaign/interfaces/i-campaign-rule.d.ts → voucher/interfaces/i-voucher-rule.d.ts} +3 -3
- package/dist/{campaign/interfaces/i-campaign-sponsorship.d.ts → voucher/interfaces/i-voucher-sponsorship.d.ts} +1 -1
- package/dist/voucher/interfaces/i-voucher.d.ts +16 -15
- package/dist/voucher/interfaces/index.d.ts +3 -0
- package/package.json +1 -1
- package/dist/campaign/entities/campaign-rule.entity.d.ts +0 -8
- package/dist/campaign/entities/campaign-sponsorship.entity.d.ts +0 -6
- package/dist/campaign/entities/campaign.entity.d.ts +0 -25
- package/dist/campaign/entities/campaign.entity.js +0 -38
- package/dist/campaign/entities/index.d.ts +0 -3
- package/dist/campaign/entities/index.js +0 -9
- package/dist/campaign/enums/e-campaign-status.enum.d.ts +0 -6
- package/dist/campaign/enums/e-campaign-status.enum.js +0 -10
- package/dist/campaign/enums/index.d.ts +0 -3
- package/dist/campaign/enums/index.js +0 -9
- package/dist/campaign/enums/rule-types.enum.js +0 -16
- package/dist/campaign/enums/target-types.enum.js +0 -10
- package/dist/campaign/index.d.ts +0 -3
- package/dist/campaign/index.js +0 -19
- package/dist/campaign/interfaces/i-campaign.d.ts +0 -26
- package/dist/campaign/interfaces/i-campaign.js +0 -2
- package/dist/campaign/interfaces/index.d.ts +0 -4
- package/dist/campaign/interfaces/index.js +0 -2
- package/dist/esm2022/campaign/entities/campaign-rule.entity.mjs +0 -17
- package/dist/esm2022/campaign/entities/campaign-sponsorship.entity.mjs +0 -15
- package/dist/esm2022/campaign/entities/campaign.entity.mjs +0 -34
- package/dist/esm2022/campaign/entities/index.mjs +0 -4
- package/dist/esm2022/campaign/enums/e-campaign-status.enum.mjs +0 -8
- package/dist/esm2022/campaign/enums/index.mjs +0 -4
- package/dist/esm2022/campaign/enums/rule-types.enum.mjs +0 -14
- package/dist/esm2022/campaign/enums/target-types.enum.mjs +0 -8
- package/dist/esm2022/campaign/index.mjs +0 -4
- package/dist/esm2022/campaign/interfaces/i-campaign-customer.mjs +0 -2
- package/dist/esm2022/campaign/interfaces/i-campaign-rule.mjs +0 -2
- package/dist/esm2022/campaign/interfaces/i-campaign-sponsorship.mjs +0 -2
- package/dist/esm2022/campaign/interfaces/i-campaign.mjs +0 -2
- package/dist/esm2022/campaign/interfaces/index.mjs +0 -2
- /package/dist/{campaign/interfaces/i-campaign-customer.js → voucher/interfaces/i-voucher-customer.js} +0 -0
- /package/dist/{campaign/interfaces/i-campaign-rule.js → voucher/interfaces/i-voucher-rule.js} +0 -0
- /package/dist/{campaign/interfaces/i-campaign-sponsorship.js → voucher/interfaces/i-voucher-sponsorship.js} +0 -0
package/dist/esm2022/index.mjs
CHANGED
@@ -2,7 +2,6 @@ export * from './app';
|
|
2
2
|
export * from './billing';
|
3
3
|
export * from './billing-order';
|
4
4
|
export * from './bluesoft';
|
5
|
-
export * from './campaign';
|
6
5
|
export * from './clients';
|
7
6
|
export * from './company';
|
8
7
|
export * from './container';
|
@@ -24,6 +23,7 @@ export * from './iugu';
|
|
24
23
|
export * from './lead';
|
25
24
|
export * from './logss';
|
26
25
|
export * from './master';
|
26
|
+
export * from './meli';
|
27
27
|
export * from './member';
|
28
28
|
export * from './mobyo';
|
29
29
|
export * from './monitor';
|
@@ -53,5 +53,4 @@ export * from './viacep';
|
|
53
53
|
export * from './voucher';
|
54
54
|
export * from './wa-server';
|
55
55
|
export * from './withdraw';
|
56
|
-
|
57
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUM7QUFDdEIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLGdCQUFnQixDQUFDO0FBQy9CLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsV0FBVyxDQUFDO0FBQzFCLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsUUFBUSxDQUFDO0FBQ3ZCLGNBQWMsU0FBUyxDQUFDO0FBQ3hCLGNBQWMsVUFBVSxDQUFDO0FBQ3pCLGNBQWMsVUFBV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AnLi9wcm9kdWN0LWdsb2JhbCc7XG5leHBvcnQgKiBmcm9tICcuL3B1YnN1Yic7XG5leHBvcnQgKiBmcm9tICcuL3B1cmNoYXNlcyc7XG5leHBvcnQgKiBmcm9tICcuL3JlcXVlc3RlZC1pdGVtcyc7XG5leHBvcnQgKiBmcm9tICcuL3Jlc3VtZSc7XG5leHBvcnQgKiBmcm9tICcuL3Nwb25zb3InO1xuZXhwb3J0ICogZnJvbSAnLi9zdWJzY3JpcHRpb24tYmFzZSc7XG5leHBvcnQgKiBmcm9tICcuL3N1YnNjcmlwdGlvbi1jb21wYW55JztcbmV4cG9ydCAqIGZyb20gJy4vc3Vic2NyaXB0aW9uLWN1c3RvbWVyJztcbmV4cG9ydCAqIGZyb20gJy4vdG9rZW4nO1xuZXhwb3J0ICogZnJvbSAnLi90b2tlbi1qd3QnO1xuZXhwb3J0ICogZnJvbSAnLi90cmFuc2FjdGlvbic7XG5leHBvcnQgKiBmcm9tICcuL3RyYW5zZmVyLXJlcXVlc3QnO1xuZXhwb3J0ICogZnJvbSAnLi92ZXJpZmllci10b2tlbic7XG5leHBvcnQgKiBmcm9tICcuL3ZpYWNlcCc7XG5leHBvcnQgKiBmcm9tICcuL3ZvdWNoZXInO1xuZXhwb3J0ICogZnJvbSAnLi93YS1zZXJ2ZXInO1xuZXhwb3J0ICogZnJvbSAnLi93aXRoZHJhdyc7XG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1vcmRlci1iZW5lZml0cy12My5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9tb2J5by9tb2J5by1hcGkvaW50ZXJmYWNlcy9pLW9yZGVyLWJlbmVmaXRzLXYzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBFVm91Y2hlclRhcmdldFR5cGVzIH0gZnJvbSAnLi4vLi4vLi4vdm91Y2hlcic7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElTcG9uc29yc2hpcFZhbHVlcyB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgyKVxyXG5cclxuICBuYW1lOiBzdHJpbmc7XHJcblxyXG4gIHZhbHVlOiBudW1iZXI7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMilcclxufVxyXG5leHBvcnQgaW50ZXJmYWNlIElPcmRlckJlbmVmaXRzVjMge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNilcclxuICBzcG9uc29yc2hpcFZhbHVlcz86IElTcG9uc29yc2hpcFZhbHVlc1tdO1xyXG5cclxuICB0YXJnZXQ6IEVWb3VjaGVyVGFyZ2V0VHlwZXM7XHJcblxyXG4gIHZhbHVlOiBudW1iZXI7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNilcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1yZXN1bWUtdm91Y2hlci1pdGVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21vYnlvL3Jlc3VtZXMvdm91Y2hlcnMvaW50ZXJmYWNlcy9pLXJlc3VtZS12b3VjaGVyLWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElDb29yZHMsIElNb2J5b0luZm8sIElOYXRpSW5mbyB9IGZyb20gJy4uLy4uLy4uLy4uL2dlbmVyYWwnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJUmVzdW1lVm91Y2hlckl0ZW0ge1xyXG4gIGNvbmZpcm1lZDogSVJlc3VtZVZvdWNoZXJJdGVtRGV0YWlsO1xyXG4gIGNhbmNlbGxlZDogSVJlc3VtZVZvdWNoZXJJdGVtRGV0YWlsO1xyXG59XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElSZXN1bWVWb3VjaGVySXRlbURldGFpbCB7XHJcbiAgY29yZHM6IElDb29yZHNbXTtcclxuICBjb3VudDogbnVtYmVyOyAvLyB2ZXplcyB1dGlsaXphZG9zXHJcbiAgb3JkZXJJdGVtc0NvdW50OiBudW1iZXI7IC8vIHRvdGFsIGRlIGl0ZW5zIGRlIHRvZG9zIG9zIHBlZGlkb3NcclxuICB0b3RhbEFtb3VudDogbnVtYmVyOyAvLyAgc29tYSBzdWJ0b3RhbCBkb3MgcGVkaWRvc1xyXG4gIHRvdGFsRGlzY291bnQ6IG51bWJlcjsgLy8gdmFsb3IgdG90YWwgZW0gZGVzY29udG9cclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1yZXN1bWUtdm91Y2hlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9tb2J5by9yZXN1bWVzL3ZvdWNoZXJzL2ludGVyZmFjZXMvaS1yZXN1bWUtdm91Y2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSU1vYnlvSW5mbywgSU5hdGlJbmZvIH0gZnJvbSAnLi4vLi4vLi4vLi4vZ2VuZXJhbCc7XHJcbmltcG9ydCB7IEVWb3VjaGVyVGFyZ2V0VHlwZXMgfSBmcm9tICcuLi8uLi8uLi8uLi92b3VjaGVyJztcclxuaW1wb3J0IHsgSVJlc3VtZVZvdWNoZXJJdGVtIH0gZnJvbSAnLi9pLXJlc3VtZS12b3VjaGVyLWl0ZW0nO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJUmVzdW1lVm91Y2hlciB7XHJcbiAgaWQ6IHN0cmluZzsgLy8gcGFkcsOjbyBBQUFBTU1ERFxyXG4gIGNyZWF0ZWRBdDogRGF0ZTtcclxuICB1cGRhdGVkQXQ6IERhdGU7XHJcbiAgaXRlbTogSVJlc3VtZVZvdWNoZXJJdGVtO1xyXG4gIGl0ZW1zOiB7IGlkOiBzdHJpbmc7IGl0ZW06IElSZXN1bWVWb3VjaGVySXRlbSB9W107IC8vIGlkIG5vIHBhZHLDo28gTU0gLSBERCAtIEhIXHJcbiAgdGFyZ2V0VHlwZTogeyBpZDogRVZvdWNoZXJUYXJnZXRUeXBlczsgaXRlbTogSVJlc3VtZVZvdWNoZXJJdGVtIH1bXTtcclxuICBpbmZvOiBJTW9ieW9JbmZvIHwgSU5hdGlJbmZvO1xyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,4 @@
|
|
1
|
+
export { CampaignRuleEntity } from './voucher-rule.entity';
|
2
|
+
export { VoucherSponsorshipEntity } from './voucher-sponsorship.entity';
|
1
3
|
export { VoucherEntity } from './voucher.entity';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUN4RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDYW1wYWlnblJ1bGVFbnRpdHkgfSBmcm9tICcuL3ZvdWNoZXItcnVsZS5lbnRpdHknO1xyXG5leHBvcnQgeyBWb3VjaGVyU3BvbnNvcnNoaXBFbnRpdHkgfSBmcm9tICcuL3ZvdWNoZXItc3BvbnNvcnNoaXAuZW50aXR5JztcclxuZXhwb3J0IHsgVm91Y2hlckVudGl0eSB9IGZyb20gJy4vdm91Y2hlci5lbnRpdHknO1xyXG4iXX0=
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { EVoucherRuleType } from '../enums';
|
2
|
+
export class CampaignRuleEntity {
|
3
|
+
// #region Properties (10)
|
4
|
+
type = EVoucherRuleType.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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm91Y2hlci1ydWxlLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy92b3VjaGVyL2VudGl0aWVzL3ZvdWNoZXItcnVsZS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRzVDLE1BQU0sT0FBTyxrQkFBa0I7SUFDN0IsMEJBQTBCO0lBQ25CLElBQUksR0FBcUIsZ0JBQWdCLENBQUMsU0FBUyxDQUFDO0lBQ3BELEtBQUssR0FBc0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ykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,15 @@
|
|
1
|
+
export class VoucherSponsorshipEntity {
|
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm91Y2hlci1zcG9uc29yc2hpcC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9lbnRpdGllcy92b3VjaGVyLXNwb25zb3JzaGlwLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sd0JBQXdCO0lBQ25DLDBCQUEwQjtJQUNuQixJQUFJLEdBQVcsVUFBVSxDQUFDO0lBQzFCLEtBQUssR0FBVyxDQUFDLENBQUM7SUFFekIsWUFBWSxJQUF3QztRQUNsRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDekM7YUFDRjtTQUNGO0lBQ0gsQ0FBQztDQUdGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVZvdWNoZXJTcG9uc29yc2hpcCB9IGZyb20gJy4uL2ludGVyZmFjZXMnO1xyXG5cclxuZXhwb3J0IGNsYXNzIFZvdWNoZXJTcG9uc29yc2hpcEVudGl0eSBpbXBsZW1lbnRzIElWb3VjaGVyU3BvbnNvcnNoaXAge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTApXHJcbiAgcHVibGljIG5hbWU6IHN0cmluZyA9ICdNRVJDSEFOVCc7XHJcbiAgcHVibGljIHZhbHVlOiBudW1iZXIgPSAwO1xyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxWb3VjaGVyU3BvbnNvcnNoaXBFbnRpdHk+KSB7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
|
@@ -1,47 +1,26 @@
|
|
1
|
-
import { EDiscountType } from '../../general';
|
2
|
-
import { EVoucherStatus } from '../enums';
|
1
|
+
import { EDiscountType, MobyoInfoEntity } from '../../general';
|
2
|
+
import { EVoucherStatus, EVoucherTargetTypes } from '../enums';
|
3
3
|
export class VoucherEntity {
|
4
|
-
// #region Properties (
|
5
|
-
|
6
|
-
|
7
|
-
// valor do desconto (soma do valor de todos os patrocínios - sponsorship)
|
8
|
-
amount = 0;
|
9
|
-
appId = [];
|
10
|
-
// ID da campanha associada (opcional para uso futuro)
|
11
|
-
campaignId = null;
|
12
|
-
// ID da empresa associada ao cupom (opcional)
|
13
|
-
companyId = null;
|
14
|
-
// ID do recipiente ou contexto onde o cupom é válido (opcional)
|
15
|
-
containerId = null;
|
16
|
-
// data de criação do cupom
|
4
|
+
// #region Properties (10)
|
5
|
+
info = new MobyoInfoEntity();
|
6
|
+
concludedAt = new Date();
|
17
7
|
createdAt = new Date();
|
18
|
-
// descrição opcional do cupom
|
19
|
-
description = null;
|
20
|
-
// tipo de desconto: porcentagem ou valor fixo
|
21
|
-
discountType = EDiscountType.FIXED_AMOUNT;
|
22
|
-
// data de validade do cupom
|
23
|
-
expirationDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
|
24
8
|
id = '';
|
25
|
-
|
26
|
-
isPublic = true;
|
27
|
-
// chave única para o cupom
|
9
|
+
isPublic = false;
|
28
10
|
key = '';
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
// informação de patrocínio (opcional)
|
11
|
+
name = '';
|
12
|
+
activatedAt = new Date();
|
13
|
+
rules = [];
|
14
|
+
type = EDiscountType.PERCENT;
|
15
|
+
amount = 0;
|
35
16
|
sponsorship = [];
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
// data da última atualização do cupom
|
17
|
+
status = EVoucherStatus.ACTIVE;
|
18
|
+
targetsId = [];
|
19
|
+
targetType = EVoucherTargetTypes.CART;
|
40
20
|
updatedAt = new Date();
|
41
|
-
|
21
|
+
limit = 0;
|
22
|
+
isExclusive = false;
|
42
23
|
usedCount = 0;
|
43
|
-
// #endregion Properties (21)
|
44
|
-
// #region Constructors (1)
|
45
24
|
constructor(data) {
|
46
25
|
if (data) {
|
47
26
|
for (let key in data) {
|
@@ -51,6 +30,5 @@ export class VoucherEntity {
|
|
51
30
|
}
|
52
31
|
}
|
53
32
|
}
|
54
|
-
partnerId;
|
55
33
|
}
|
56
|
-
//# sourceMappingURL=data:application/json;base64,
|
34
|
+
//# sour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Ghpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -1,9 +1,8 @@
|
|
1
1
|
export var EVoucherStatus;
|
2
2
|
(function (EVoucherStatus) {
|
3
3
|
EVoucherStatus["ACTIVE"] = "ACTIVE";
|
4
|
-
EVoucherStatus["REDEEMED"] = "REDEEMED";
|
5
|
-
EVoucherStatus["EXPIRED"] = "EXPIRED";
|
6
4
|
EVoucherStatus["PLACED"] = "PLACED";
|
7
5
|
EVoucherStatus["PAUSED"] = "PAUSED";
|
6
|
+
EVoucherStatus["CONCLUDED"] = "CONCLUDED";
|
8
7
|
})(EVoucherStatus || (EVoucherStatus = {}));
|
9
|
-
//# sourceMappingURL=data:application/json;base64,
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZS12b3VjaGVyLXN0YXR1cy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3ZvdWNoZXIvZW51bXMvZS12b3VjaGVyLXN0YXR1cy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGNBS1g7QUFMRCxXQUFZLGNBQWM7SUFDeEIsbUNBQWlCLENBQUE7SUFDakIsbUNBQWlCLENBQUE7SUFDakIsbUNBQWlCLENBQUE7SUFDakIseUNBQXVCLENBQUE7QUFDekIsQ0FBQyxFQUxXLGNBQWMsS0FBZCxjQUFjLFFBS3pCIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IGVudW0gRVZvdWNoZXJTdGF0dXMge1xyXG4gIEFDVElWRSA9ICdBQ1RJVkUnLFxyXG4gIFBMQUNFRCA9ICdQTEFDRUQnLFxyXG4gIFBBVVNFRCA9ICdQQVVTRUQnLFxyXG4gIENPTkNMVURFRCA9ICdDT05DTFVERUQnLFxyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,4 @@
|
|
1
1
|
export { EVoucherStatus } from './e-voucher-status.enum';
|
2
|
-
|
2
|
+
export { EVoucherRuleType } from './rule-types.enum';
|
3
|
+
export { EVoucherTargetTypes } from './target-types.enum';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9lbnVtcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsY0FBYyxFQUFFLE1BQU0seUJBQXlCLENBQUM7QUFDekQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sbUJBQW1CLENBQUM7QUFDckQsT0FBTyxFQUFFLG1CQUFtQixFQUFFLE1BQU0scUJBQXFCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBFVm91Y2hlclN0YXR1cyB9IGZyb20gJy4vZS12b3VjaGVyLXN0YXR1cy5lbnVtJztcclxuZXhwb3J0IHsgRVZvdWNoZXJSdWxlVHlwZSB9IGZyb20gJy4vcnVsZS10eXBlcy5lbnVtJztcclxuZXhwb3J0IHsgRVZvdWNoZXJUYXJnZXRUeXBlcyB9IGZyb20gJy4vdGFyZ2V0LXR5cGVzLmVudW0nO1xyXG4iXX0=
|
@@ -0,0 +1,14 @@
|
|
1
|
+
export var EVoucherRuleType;
|
2
|
+
(function (EVoucherRuleType) {
|
3
|
+
EVoucherRuleType["FIRST_BUY"] = "FIRST_BUY";
|
4
|
+
EVoucherRuleType["BIRTHDAY"] = "BIRTHDAY";
|
5
|
+
EVoucherRuleType["ONE_BY_USER"] = "ONE_BY_USER";
|
6
|
+
EVoucherRuleType["ONE_BY_DAY"] = "ONE_BY_DAY";
|
7
|
+
EVoucherRuleType["IN_PAYMENT_ID"] = "IN_PAYMENT_ID";
|
8
|
+
EVoucherRuleType["MIN_VALUE"] = "MIN_VALUE";
|
9
|
+
EVoucherRuleType["SHIFT_START_AT"] = "SHIFT_START_AT";
|
10
|
+
EVoucherRuleType["SHIFT_END_AT"] = "SHIFT_END_AT";
|
11
|
+
EVoucherRuleType["START_AT"] = "START_AT";
|
12
|
+
EVoucherRuleType["END_AT"] = "END_AT";
|
13
|
+
})(EVoucherRuleType || (EVoucherRuleType = {}));
|
14
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicnVsZS10eXBlcy5lbnVtLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3ZvdWNoZXIvZW51bXMvcnVsZS10eXBlcy5lbnVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBTixJQUFZLGdCQVdYO0FBWEQsV0FBWSxnQkFBZ0I7SUFDMUIsMkNBQXVCLENBQUE7SUFDdkIseUNBQXFCLENBQUE7SUFDckIsK0NBQTJCLENBQUE7SUFDM0IsNkNBQXlCLENBQUE7SUFDekIsbURBQStCLENBQUE7SUFDL0IsMkNBQXVCLENBQUE7SUFDdkIscURBQWlDLENBQUE7SUFDakMsaURBQTZCLENBQUE7SUFDN0IseUNBQXFCLENBQUE7SUFDckIscUNBQWlCLENBQUE7QUFDbkIsQ0FBQyxFQVhXLGdCQUFnQixLQUFoQixnQkFBZ0IsUUFXM0IiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgZW51bSBFVm91Y2hlclJ1bGVUeXBlIHtcclxuICBGSVJTVF9CVVkgPSAnRklSU1RfQlVZJyxcclxuICBCSVJUSERBWSA9ICdCSVJUSERBWScsIC8vIHNlIMOpIGFuaXZlcnPDoXJpb1xyXG4gIE9ORV9CWV9VU0VSID0gJ09ORV9CWV9VU0VSJyxcclxuICBPTkVfQllfREFZID0gJ09ORV9CWV9EQVknLFxyXG4gIElOX1BBWU1FTlRfSUQgPSAnSU5fUEFZTUVOVF9JRCcsXHJcbiAgTUlOX1ZBTFVFID0gJ01JTl9WQUxVRScsXHJcbiAgU0hJRlRfU1RBUlRfQVQgPSAnU0hJRlRfU1RBUlRfQVQnLCAvLyBob3LDoXJpbyBkZSBpbsOtY2lvIGRvIHVzb1xyXG4gIFNISUZUX0VORF9BVCA9ICdTSElGVF9FTkRfQVQnLCAvLyBob3LDoXJpbyBkZSB0w6lybWlubyBkbyB1c29cclxuICBTVEFSVF9BVCA9ICdTVEFSVF9BVCcsIC8vIGRhdGEgZGUgaW7DrWNpbyBkbyB1c29cclxuICBFTkRfQVQgPSAnRU5EX0FUJywgLy8gZGF0YSBkZSB0w6lybWlubyBkbyB1c29cclxufVxyXG4iXX0=
|
@@ -0,0 +1,8 @@
|
|
1
|
+
export var EVoucherTargetTypes;
|
2
|
+
(function (EVoucherTargetTypes) {
|
3
|
+
EVoucherTargetTypes["CART"] = "CART";
|
4
|
+
EVoucherTargetTypes["DELIVERY_FEE"] = "DELIVERY_FEE";
|
5
|
+
EVoucherTargetTypes["ITEMS"] = "ITEMS";
|
6
|
+
EVoucherTargetTypes["CATEGORY"] = "CATEGORY";
|
7
|
+
})(EVoucherTargetTypes || (EVoucherTargetTypes = {}));
|
8
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFyZ2V0LXR5cGVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9lbnVtcy90YXJnZXQtdHlwZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxtQkFLWDtBQUxELFdBQVks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tYmVyO1xyXG4gIHRvdGFsOiBJT3JkZXJUb3RhbDtcclxuICBhdmVyYWdlQW1vdW50OiBudW1iZXI7IC8vIHRvdGFsLnN1YlRvdGFsIC8gaXRlbnNDb3VudFxyXG4gIGNyZWF0ZWRBdDogRGF0ZTtcclxuICB1cGRhdGVkQXQ6IERhdGU7XHJcbn1cclxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS12b3VjaGVyLXJ1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9pbnRlcmZhY2VzL2ktdm91Y2hlci1ydWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBJTWVudVNjaGVkdWxlVjIgfSBmcm9tICcuLi8uLi9tb2J5by9tb2J5by1hcGkvaW50ZXJmYWNlcy9pLW1lbnUtc2NoZWR1bGUtdjInO1xyXG5pbXBvcnQgeyBFVm91Y2hlclJ1bGVUeXBlIH0gZnJvbSAnLi4vZW51bXMvcnVsZS10eXBlcy5lbnVtJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSVZvdWNoZXJSdWxlIHtcclxuICB0eXBlOiBFVm91Y2hlclJ1bGVUeXBlO1xyXG4gIHZhbHVlPzogc3RyaW5nIHwgbnVtYmVyIHwgRGF0ZSB8IGJvb2xlYW4gfCBJTWVudVNjaGVkdWxlVjI7XHJcbiAgZGVzY3JpcHRpb246IHN0cmluZztcclxufVxyXG4iXX0=
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS12b3VjaGVyLXNwb25zb3JzaGlwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3ZvdWNoZXIvaW50ZXJmYWNlcy9pLXZvdWNoZXItc3BvbnNvcnNoaXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBpbnRlcmZhY2UgSVZvdWNoZXJTcG9uc29yc2hpcCB7XHJcbiAgbmFtZTogJ01FUkNIQU5UJyB8IHN0cmluZztcclxuICB2YWx1ZTogbnVtYmVyO1xyXG59XHJcbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS12b3VjaGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3ZvdWNoZXIvaW50ZXJmYWNlcy9pLXZvdWNoZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEaXNjb3VudFR5cGUsIElNb2J5b0luZm8sIElOYXRpSW5mbyB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5pbXBvcnQgeyBFVm91Y2hlclN0YXR1cyB9IGZyb20gJy4uL2VudW1zJztcclxuaW1wb3J0IHsgRVZvdWNoZXJUYXJnZXRUeXBlcyB9IGZyb20gJy4uL2VudW1zL3RhcmdldC10eXBlcy5lbnVtJztcclxuaW1wb3J0IHsgSVZvdWNoZXJSdWxlIH0gZnJvbSAnLi9pLXZvdWNoZXItcnVsZSc7XHJcbmltcG9ydCB7IElWb3VjaGVyU3BvbnNvcnNoaXAgfSBmcm9tICcuL2ktdm91Y2hlci1zcG9uc29yc2hpcCc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElWb3VjaGVyIHtcclxuICBpbmZvOiBJTW9ieW9JbmZvIHwgSU5hdGlJbmZvO1xyXG4gIGNvbmNsdWRlZEF0OiBEYXRlO1xyXG4gIGNyZWF0ZWRBdDogRGF0ZTtcclxuICBpZDogc3RyaW5nO1xyXG4gIGlzUHVibGljOiBib29sZWFuO1xyXG4gIGtleTogc3RyaW5nO1xyXG4gIG5hbWU6IHN0cmluZztcclxuICBhY3RpdmF0ZWRBdDogRGF0ZTtcclxuICBydWxlczogSVZvdWNoZXJSdWxlW107XHJcbiAgdHlwZTogRURpc2NvdW50VHlwZTtcclxuICBhbW91bnQ6IG51bWJlcjsgLy8gc29tYSBkb3MgdmFsdWVzIGRvcyBzcG9uc29yc2hpcHNcclxuICBzcG9uc29yc2hpcDogSVZvdWNoZXJTcG9uc29yc2hpcFtdOyAvLyBvIHZhbG9yIHRvdGFsIGRhIGNhbXBhbmhhIG5lY2Vzc2FyaWFtZW50ZSBwcmVjaXNhIGVzdGFyIGFxdWlcclxuICBzdGF0dXM6IEVWb3VjaGVyU3RhdHVzO1xyXG4gIHRhcmdldHNJZDogc3RyaW5nW107XHJcbiAgdGFyZ2V0VHlwZTogRVZvdWNoZXJUYXJnZXRUeXBlcztcclxuICB1cGRhdGVkQXQ6IERhdGU7XHJcbiAgbGltaXQ6IG51bWJlcjtcclxuICBpc0V4Y2x1c2l2ZTogYm9vbGVhbjtcclxuICB1c2VkQ291bnQ6IG51bWJlcjtcclxufVxyXG4iXX0=
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJVm91Y2hlciB9IGZyb20gJy4vaS12b3VjaGVyJztcbmV4cG9ydCB7IElWb3VjaGVyQ3VzdG9tZXIgfSBmcm9tICcuL2ktdm91Y2hlci1jdXN0b21lcic7XG5leHBvcnQgeyBJVm91Y2hlclJ1bGUgfSBmcm9tICcuL2ktdm91Y2hlci1ydWxlJztcbmV4cG9ydCB7IElWb3VjaGVyU3BvbnNvcnNoaXAgfSBmcm9tICcuL2ktdm91Y2hlci1zcG9uc29yc2hpcCc7XG4iXX0=
|
@@ -1879,99 +1879,6 @@ class BillingOrderEntity extends OrderEntity {
|
|
1879
1879
|
}
|
1880
1880
|
}
|
1881
1881
|
|
1882
|
-
var ECampaignStatus;
|
1883
|
-
(function (ECampaignStatus) {
|
1884
|
-
ECampaignStatus["ACTIVE"] = "ACTIVE";
|
1885
|
-
ECampaignStatus["PLACED"] = "PLACED";
|
1886
|
-
ECampaignStatus["PAUSED"] = "PAUSED";
|
1887
|
-
ECampaignStatus["CONCLUDED"] = "CONCLUDED";
|
1888
|
-
})(ECampaignStatus || (ECampaignStatus = {}));
|
1889
|
-
|
1890
|
-
var ECampaignRuleType$1;
|
1891
|
-
(function (ECampaignRuleType) {
|
1892
|
-
ECampaignRuleType["FIRST_BUY"] = "FIRST_BUY";
|
1893
|
-
ECampaignRuleType["BIRTHDAY"] = "BIRTHDAY";
|
1894
|
-
ECampaignRuleType["ONE_BY_USER"] = "ONE_BY_USER";
|
1895
|
-
ECampaignRuleType["ONE_BY_DAY"] = "ONE_BY_DAY";
|
1896
|
-
ECampaignRuleType["IN_PAYMENT_ID"] = "IN_PAYMENT_ID";
|
1897
|
-
ECampaignRuleType["MIN_VALUE"] = "MIN_VALUE";
|
1898
|
-
ECampaignRuleType["SHIFT_START_AT"] = "SHIFT_START_AT";
|
1899
|
-
ECampaignRuleType["SHIFT_END_AT"] = "SHIFT_END_AT";
|
1900
|
-
ECampaignRuleType["START_AT"] = "START_AT";
|
1901
|
-
ECampaignRuleType["END_AT"] = "END_AT";
|
1902
|
-
})(ECampaignRuleType$1 || (ECampaignRuleType$1 = {}));
|
1903
|
-
|
1904
|
-
var ECampaignTargetTypes;
|
1905
|
-
(function (ECampaignTargetTypes) {
|
1906
|
-
ECampaignTargetTypes["CART"] = "CART";
|
1907
|
-
ECampaignTargetTypes["DELIVERY_FEE"] = "DELIVERY_FEE";
|
1908
|
-
ECampaignTargetTypes["ITEMS"] = "ITEMS";
|
1909
|
-
ECampaignTargetTypes["CATEGORY"] = "CATEGORY";
|
1910
|
-
})(ECampaignTargetTypes || (ECampaignTargetTypes = {}));
|
1911
|
-
|
1912
|
-
class CampaignEntity {
|
1913
|
-
// #region Properties (10)
|
1914
|
-
info = new MobyoInfoEntity();
|
1915
|
-
concludedAt = new Date();
|
1916
|
-
createdAt = new Date();
|
1917
|
-
id = '';
|
1918
|
-
isPublic = false;
|
1919
|
-
key = '';
|
1920
|
-
name = '';
|
1921
|
-
activatedAt = new Date();
|
1922
|
-
rules = [];
|
1923
|
-
type = EDiscountType.PERCENT;
|
1924
|
-
amount = 0;
|
1925
|
-
sponsorship = [];
|
1926
|
-
status = ECampaignStatus.ACTIVE;
|
1927
|
-
targetsId = [];
|
1928
|
-
targetType = ECampaignTargetTypes.CART;
|
1929
|
-
updatedAt = new Date();
|
1930
|
-
limit = 0;
|
1931
|
-
isExclusive = false;
|
1932
|
-
usedCount = 0;
|
1933
|
-
constructor(data) {
|
1934
|
-
if (data) {
|
1935
|
-
for (let key in data) {
|
1936
|
-
if (data.hasOwnProperty(key) && key in this) {
|
1937
|
-
this[key] = data[key];
|
1938
|
-
}
|
1939
|
-
}
|
1940
|
-
}
|
1941
|
-
}
|
1942
|
-
}
|
1943
|
-
|
1944
|
-
class CampaignRuleEntity {
|
1945
|
-
// #region Properties (10)
|
1946
|
-
type = ECampaignRuleType$1.MIN_VALUE;
|
1947
|
-
value = 0;
|
1948
|
-
description = '';
|
1949
|
-
constructor(data) {
|
1950
|
-
if (data) {
|
1951
|
-
for (let key in data) {
|
1952
|
-
if (data.hasOwnProperty(key) && key in this) {
|
1953
|
-
this[key] = data[key];
|
1954
|
-
}
|
1955
|
-
}
|
1956
|
-
}
|
1957
|
-
}
|
1958
|
-
}
|
1959
|
-
|
1960
|
-
class CampaignSponsorshipEntity {
|
1961
|
-
// #region Properties (10)
|
1962
|
-
name = 'MERCHANT';
|
1963
|
-
value = 0;
|
1964
|
-
constructor(data) {
|
1965
|
-
if (data) {
|
1966
|
-
for (let key in data) {
|
1967
|
-
if (data.hasOwnProperty(key) && key in this) {
|
1968
|
-
this[key] = data[key];
|
1969
|
-
}
|
1970
|
-
}
|
1971
|
-
}
|
1972
|
-
}
|
1973
|
-
}
|
1974
|
-
|
1975
1882
|
class ClientAplicationCredentialEntity {
|
1976
1883
|
// #region Properties (4)
|
1977
1884
|
refreshToken = null;
|
@@ -5859,54 +5766,85 @@ class VerifierTokenEntity {
|
|
5859
5766
|
var EVoucherStatus;
|
5860
5767
|
(function (EVoucherStatus) {
|
5861
5768
|
EVoucherStatus["ACTIVE"] = "ACTIVE";
|
5862
|
-
EVoucherStatus["REDEEMED"] = "REDEEMED";
|
5863
|
-
EVoucherStatus["EXPIRED"] = "EXPIRED";
|
5864
5769
|
EVoucherStatus["PLACED"] = "PLACED";
|
5865
5770
|
EVoucherStatus["PAUSED"] = "PAUSED";
|
5771
|
+
EVoucherStatus["CONCLUDED"] = "CONCLUDED";
|
5866
5772
|
})(EVoucherStatus || (EVoucherStatus = {}));
|
5867
5773
|
|
5774
|
+
var EVoucherRuleType;
|
5775
|
+
(function (EVoucherRuleType) {
|
5776
|
+
EVoucherRuleType["FIRST_BUY"] = "FIRST_BUY";
|
5777
|
+
EVoucherRuleType["BIRTHDAY"] = "BIRTHDAY";
|
5778
|
+
EVoucherRuleType["ONE_BY_USER"] = "ONE_BY_USER";
|
5779
|
+
EVoucherRuleType["ONE_BY_DAY"] = "ONE_BY_DAY";
|
5780
|
+
EVoucherRuleType["IN_PAYMENT_ID"] = "IN_PAYMENT_ID";
|
5781
|
+
EVoucherRuleType["MIN_VALUE"] = "MIN_VALUE";
|
5782
|
+
EVoucherRuleType["SHIFT_START_AT"] = "SHIFT_START_AT";
|
5783
|
+
EVoucherRuleType["SHIFT_END_AT"] = "SHIFT_END_AT";
|
5784
|
+
EVoucherRuleType["START_AT"] = "START_AT";
|
5785
|
+
EVoucherRuleType["END_AT"] = "END_AT";
|
5786
|
+
})(EVoucherRuleType || (EVoucherRuleType = {}));
|
5787
|
+
|
5788
|
+
var EVoucherTargetTypes;
|
5789
|
+
(function (EVoucherTargetTypes) {
|
5790
|
+
EVoucherTargetTypes["CART"] = "CART";
|
5791
|
+
EVoucherTargetTypes["DELIVERY_FEE"] = "DELIVERY_FEE";
|
5792
|
+
EVoucherTargetTypes["ITEMS"] = "ITEMS";
|
5793
|
+
EVoucherTargetTypes["CATEGORY"] = "CATEGORY";
|
5794
|
+
})(EVoucherTargetTypes || (EVoucherTargetTypes = {}));
|
5795
|
+
|
5796
|
+
class CampaignRuleEntity {
|
5797
|
+
// #region Properties (10)
|
5798
|
+
type = EVoucherRuleType.MIN_VALUE;
|
5799
|
+
value = 0;
|
5800
|
+
description = '';
|
5801
|
+
constructor(data) {
|
5802
|
+
if (data) {
|
5803
|
+
for (let key in data) {
|
5804
|
+
if (data.hasOwnProperty(key) && key in this) {
|
5805
|
+
this[key] = data[key];
|
5806
|
+
}
|
5807
|
+
}
|
5808
|
+
}
|
5809
|
+
}
|
5810
|
+
}
|
5811
|
+
|
5812
|
+
class VoucherSponsorshipEntity {
|
5813
|
+
// #region Properties (10)
|
5814
|
+
name = 'MERCHANT';
|
5815
|
+
value = 0;
|
5816
|
+
constructor(data) {
|
5817
|
+
if (data) {
|
5818
|
+
for (let key in data) {
|
5819
|
+
if (data.hasOwnProperty(key) && key in this) {
|
5820
|
+
this[key] = data[key];
|
5821
|
+
}
|
5822
|
+
}
|
5823
|
+
}
|
5824
|
+
}
|
5825
|
+
}
|
5826
|
+
|
5868
5827
|
class VoucherEntity {
|
5869
|
-
// #region Properties (
|
5870
|
-
|
5871
|
-
|
5872
|
-
// valor do desconto (soma do valor de todos os patrocínios - sponsorship)
|
5873
|
-
amount = 0;
|
5874
|
-
appId = [];
|
5875
|
-
// ID da campanha associada (opcional para uso futuro)
|
5876
|
-
campaignId = null;
|
5877
|
-
// ID da empresa associada ao cupom (opcional)
|
5878
|
-
companyId = null;
|
5879
|
-
// ID do recipiente ou contexto onde o cupom é válido (opcional)
|
5880
|
-
containerId = null;
|
5881
|
-
// data de criação do cupom
|
5828
|
+
// #region Properties (10)
|
5829
|
+
info = new MobyoInfoEntity();
|
5830
|
+
concludedAt = new Date();
|
5882
5831
|
createdAt = new Date();
|
5883
|
-
// descrição opcional do cupom
|
5884
|
-
description = null;
|
5885
|
-
// tipo de desconto: porcentagem ou valor fixo
|
5886
|
-
discountType = EDiscountType.FIXED_AMOUNT;
|
5887
|
-
// data de validade do cupom
|
5888
|
-
expirationDate = new Date(Date.now() + 1000 * 60 * 60 * 24 * 30);
|
5889
5832
|
id = '';
|
5890
|
-
|
5891
|
-
isPublic = true;
|
5892
|
-
// chave única para o cupom
|
5833
|
+
isPublic = false;
|
5893
5834
|
key = '';
|
5894
|
-
|
5895
|
-
|
5896
|
-
|
5897
|
-
|
5898
|
-
|
5899
|
-
// informação de patrocínio (opcional)
|
5835
|
+
name = '';
|
5836
|
+
activatedAt = new Date();
|
5837
|
+
rules = [];
|
5838
|
+
type = EDiscountType.PERCENT;
|
5839
|
+
amount = 0;
|
5900
5840
|
sponsorship = [];
|
5901
|
-
|
5902
|
-
|
5903
|
-
|
5904
|
-
// data da última atualização do cupom
|
5841
|
+
status = EVoucherStatus.ACTIVE;
|
5842
|
+
targetsId = [];
|
5843
|
+
targetType = EVoucherTargetTypes.CART;
|
5905
5844
|
updatedAt = new Date();
|
5906
|
-
|
5845
|
+
limit = 0;
|
5846
|
+
isExclusive = false;
|
5907
5847
|
usedCount = 0;
|
5908
|
-
// #endregion Properties (21)
|
5909
|
-
// #region Constructors (1)
|
5910
5848
|
constructor(data) {
|
5911
5849
|
if (data) {
|
5912
5850
|
for (let key in data) {
|
@@ -5916,7 +5854,6 @@ class VoucherEntity {
|
|
5916
5854
|
}
|
5917
5855
|
}
|
5918
5856
|
}
|
5919
|
-
partnerId;
|
5920
5857
|
}
|
5921
5858
|
|
5922
5859
|
var EWaServerStatus;
|
@@ -5987,5 +5924,5 @@ class WithDrawRequestEntity {
|
|
5987
5924
|
* Generated bundle index. Do not edit.
|
5988
5925
|
*/
|
5989
5926
|
|
5990
|
-
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity,
|
5927
|
+
export { AccountInformationsEntity, AddressEntity, AppEntity, AppInfoEntity, BaseEntity, BillingEntity, BillingOrderEntity, BillingPaymentEntity, BillingTotalEntity, CampaignRuleEntity, CarouselImageEntity, ClientAplicationCredentialEntity, ClientAplicationEntity, ClientEntity, CompanyContactEntity, CompanyCustomDataEntity, CompanyEntity, CompanyRemoteAccessEntity, CompanySettingsEntity, CompanySettingsWaServerEntity, CompanyTrialPlansUsedEntity, ContainerEntity, CoordsEntity, CustomVariableEntity, CustomerCreditLimitEntity, CustomerEntity, CustomerMemberEntity, CustomerMobyoEntity, DelivererMobyoEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DesenfilaConfigEntity, DesenfilaConfigMercadoPagoEntity, DesenfilaContainerOrderEntity, DesenfilaContainerOrderItemEntity, DesenfilaContainerOrderPaymentEntity, DesenfilaContainerOrderPixEntity, DesenfilaEntity, DesenfilaFeeEntity, DesenfilaInfoEntity, DesenfilaMerchantAddressEntity, DesenfilaMerchantEntity, DesenfilaMerchantV2PaymentProviderEntity, DesenfilaTokenEntity, DeviceEntity, EAppCategory, EAppHeaderType, EAppMode, EAppType, EBankSlipStatus, EBillingStatus, EBooleanString, ECompanyKeys, ECompanyMessageType, ECustomerInterval, ECustomerStatus, ECustomerType, EPaymentType as EDeprecatedPaymentType, EDesenfilaFrom, EDiscountType, EDocType, EEventMessage, EEvolutionEvent, EEvolutionInstanceType, EEvolutionIntegrationType, EFcmSkill, EFiscalDocModelCode, EInstallationStatus, EIntervalType, EInvoiceStatus, ELeadOrigin, ELegalEntiy, EMpStatus, EMpStatusDetail, EOperationType, EOrderDeliveryMode, EOrderStatus, EOrderTiming, EOrderType, EOs, EPaymentChannel, EPaymentMethodId, EPaymentMode, EPaymentProvider, EPaymentStatus, EPaymentType$1 as EPaymentType, EPaymentTypeId, EPlanFeatureType, EPlanIdentifier, EPlatform, EPubSub, EPubSubTopicType, EReleaseStatus, EResumeIntervalType, EResumeType, EOperationType as ESponsorIdentifier, ESponsorshipValues, ESubscriptionStatus, ETransactionStatus, EVoucherRuleType, EVoucherStatus, EVoucherTargetTypes, EWaServerStatus, EWithdrawRequestStatus, EventMessageEntity, EvolutionChatWootEntity, EvolutionDatabaseQueueEntity, EvolutionEntity, EvolutionHashEntity, EvolutionInstanceEntity, EvolutionMessageKeyResponseEntity, EvolutionMessageResponseEntity, EvolutionQrcodeEntity, EvolutionTypeBotEntity, EvolutionWebhookEntity, FcmDataReceivedDesenfilaPaymentEntity, FcmDataRequestItemsEntity, FcmTokenMessageEntity, FeatureEntity, FeeDetailEntity, EGtintype as GTINTypeEnum, GeneralResumeTotalEntity, GlobalSettingEntity, GlobalSettingIuguEntity, GlobalSettingMasterEntity, GlobalSettingNatiPayEntity, GlobalSettingTaxesEntity, InstallationAppEntity, InstallationEntity, InviteEntity, InviteStatusEnum, InvoiceBankSlipEntity, InvoiceCreditCardEntity, InvoiceEntity, InvoiceItemEntity, InvoiceLogEntity, InvoicePayerEntity, InvoicePixEntity, IuguAccountEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguChargeCreditCardEntity, IuguCustomerEntity, IuguInvoiceBankSlipEntity, IuguInvoiceEntity, IuguInvoiceStatusEnum, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LastVerificationRequestDataEntity, LeadEntity, LeadStatusEnum, LogsEntity, MasterEntity, MasterV1Entity, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, ECampaignRuleType as MobyoECampaignRuleType, ECompanyMessageChannel as MobyoECompanyMessageChannel, EDeviceAppMode as MobyoEDeviceAppMode, EDeviceAppStatus as MobyoEDeviceAppStatus, EDeviceCheckoutStatus as MobyoEDeviceCheckoutStatus, EDeviceCustomerName as MobyoEDeviceCustomerName, EDeviceMode as MobyoEDeviceMode, EDeviceScreenMode as MobyoEDeviceScreenMode, EDeviceTefType as MobyoEDeviceTefType, EEngineType as MobyoEEngineType, EIuguInvoicesStatus as MobyoEIuguInvoicesStatus, EMemberRules as MobyoEMemberRules, EOrderCancelReasons as MobyoEOrderCancelReasons, EOrderDeliveredBy as MobyoEOrderDeliveredBy, EOrderPaymentId as MobyoEOrderPaymentId, EOrderPaymentMethod as MobyoEOrderPaymentMethod, EOrderV3DeliveryMode as MobyoEOrderV3DeliveryMode, EOrderV3SalesChannel as MobyoEOrderV3SalesChannel, EOrderV3Status as MobyoEOrderV3Status, EOrderV3Timing as MobyoEOrderV3Timing, EOrderV3Type as MobyoEOrderV3Type, EPreferenceAutoReturn as MobyoEPreferenceAutoReturn, EPreparingStatus as MobyoEPreparingStatus, EProductHighlight as MobyoEProductHighlight, EProductSkillV2 as MobyoEProductSkillV2, EQuestionTypes as MobyoEQuestionTypes, ETopics as MobyoETopics, IEntity as MobyoIEntity, IPaymentMethod as MobyoIPaymentMethod, MobyoInfoEntity, MonitorEntity, MottuAddressEntity, MottuEventDeliveryManEntity, MottuEventEntity, MottuEventRequestedByEntity, MottuOrderDelivererEntity, MottuOrderDeliveryManEntity, MottuOrderEntity, MottuOrderPreviewEntity, MottuOrderStoreEntity, MottuStoreEntity, MottuStoreMatrixEntity, MottuStoreResponsibleEntity, NatiGoEntity, NatiInfoEntity, NatiV1CartDesenfilaEntity, NatiV1CartEntity, NatiV1CartItemEntity, NatiWaEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderDeliveryEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderMerchantEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, PartnerEntity, PaymentCardEntity, PaymentCashEntity, PaymentEntity, PaymentMethodEntity, PaymentMethodOptionEntity, PaymentPixEntity, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentTokenDataEntity, PaymentTokenEntity, PaymentWalletEntity, PlanEntity, PlanFeatureEntity, ProductBrandEntity, ProductCompanyEntity, ProductContainerEntity, ProductGlobalEntity, ProductNcmEntity, PubsubSubscriptionChangeStatusEntity, PurchaseEntity, QueryEntity, RabbitEntity, RatingEntity, RequestedItemDataEntity, RequestedItemsEntity, ResumeChildEntity, ResumeEntity, SponsorEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, TransactionBalanceEntity, TransactionEntity, TransactionInfoResumeEntity, TransactionPaymentMethodEntity, TransactionResumeEntity, TransactionTotalEntity, TransferRequestEntity, VerifierTokenEntity, VoucherEntity, VoucherSponsorshipEntity, WaServerEntity, WithDrawRequestEntity };
|
5991
5928
|
//# sourceMappingURL=cecon-interfaces.mjs.map
|