cecon-interfaces 1.4.27 → 1.4.30
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/order/entities/benefits.entity.mjs +2 -1
- package/dist/esm2022/order/interfaces/i-benefits.mjs +1 -1
- package/dist/esm2022/voucher/entities/index.mjs +4 -1
- package/dist/esm2022/voucher/entities/voucher-customer.entity.mjs +25 -0
- 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 +93 -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/order/entities/benefits.entity.d.ts +1 -0
- package/dist/order/entities/benefits.entity.js +1 -0
- package/dist/order/interfaces/i-benefits.d.ts +1 -0
- package/dist/package.json +1 -1
- package/dist/voucher/entities/index.d.ts +3 -0
- package/dist/voucher/entities/index.js +7 -1
- package/dist/voucher/entities/voucher-customer.entity.d.ts +17 -0
- package/dist/voucher/entities/voucher-customer.entity.js +29 -0
- 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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsY0FBYyxPQUFPLENBQUM7QUFDdEIsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxpQkFBaUIsQ0FBQztBQUNoQyxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLFdBQVcsQ0FBQztBQUMxQixjQUFjLGFBQWEsQ0FBQztBQUM1QixjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLG1CQUFtQixDQUFDO0FBQ2xDLGNBQWMsc0JBQXNCLENBQUM7QUFDckMsY0FBYyxtQkFBbUIsQ0FBQztBQUNsQyxjQUFjLFVBQVUsQ0FBQztBQUN6QixjQUFjLGlCQUFpQixDQUFDO0FBQ2hDLGNBQWMsYUFBYSxDQUFDO0FBQzVCLGNBQWMscUJBQXFCLENBQUM7QUFDcEMsY0FBYyxXQUFXLENBQUM7QUFDMUIsY0FBYyxXQUFXLENBQUM7QUFDMUIs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;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==
|
@@ -2,6 +2,7 @@ export class OrderBenefitsEntity {
|
|
2
2
|
// #region Properties (6)
|
3
3
|
description = '';
|
4
4
|
id = '';
|
5
|
+
referenceId = '';
|
5
6
|
sponsorshipValues = [];
|
6
7
|
target = '';
|
7
8
|
targetId = '';
|
@@ -18,4 +19,4 @@ export class OrderBenefitsEntity {
|
|
18
19
|
}
|
19
20
|
}
|
20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9yZGVyQmVuZWZpdHNFbnRpdHkge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDYpXG5cbiAgcHVibGljIGRlc2NyaXB0aW9uOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIGlkOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIHJlZmVyZW5jZUlkOiBzdHJpbmcgPSAnJztcbiAgcHVibGljIHNwb25zb3JzaGlwVmFsdWVzOiBTcG9uc29yc2hpcFZhbHVlRW50aXR5W10gPSBbXTtcbiAgcHVibGljIHRhcmdldDogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyB0YXJnZXRJZDogc3RyaW5nID0gJyc7XG4gIHB1YmxpYyB2YWx1ZTogbnVtYmVyID0gMDtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDYpXG5cbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8T3JkZXJCZW5lZml0c0VudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1iZW5lZml0cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9vcmRlci9pbnRlcmZhY2VzL2ktYmVuZWZpdHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElTcG9uc29yc2hpcFZhbHVlIH0gZnJvbSAnLi4vLi4vZ2VuZXJhbC9pbnRlcmZhY2VzJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSU9yZGVyQmVuZWZpdHMge1xyXG4gIC8vICNyZWdpb24gUHJvcGVydGllcyAoNilcclxuXHJcbiAgZGVzY3JpcHRpb246IHN0cmluZztcclxuICBpZDogc3RyaW5nO1xyXG4gIHJlZmVyZW5jZUlkOiBzdHJpbmc7XHJcbiAgc3BvbnNvcnNoaXBWYWx1ZXM6IElTcG9uc29yc2hpcFZhbHVlW107XHJcbiAgdGFyZ2V0OiBzdHJpbmc7XHJcbiAgdGFyZ2V0SWQ6IHN0cmluZztcclxuICB2YWx1ZTogbnVtYmVyO1xyXG5cclxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDYpXHJcbn1cclxuIl19
|
@@ -1,2 +1,5 @@
|
|
1
|
+
export { CampaignRuleEntity } from './voucher-rule.entity';
|
2
|
+
export { VoucherSponsorshipEntity } from './voucher-sponsorship.entity';
|
1
3
|
export { VoucherEntity } from './voucher.entity';
|
2
|
-
|
4
|
+
export { VoucherCustomerEntity } from './voucher-customer.entity';
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUMzRCxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUN4RSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxFQUFFLHFCQUFxQixFQUFFLE1BQU0sMkJBQTJCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDYW1wYWlnblJ1bGVFbnRpdHkgfSBmcm9tICcuL3ZvdWNoZXItcnVsZS5lbnRpdHknO1xyXG5leHBvcnQgeyBWb3VjaGVyU3BvbnNvcnNoaXBFbnRpdHkgfSBmcm9tICcuL3ZvdWNoZXItc3BvbnNvcnNoaXAuZW50aXR5JztcclxuZXhwb3J0IHsgVm91Y2hlckVudGl0eSB9IGZyb20gJy4vdm91Y2hlci5lbnRpdHknO1xyXG5leHBvcnQgeyBWb3VjaGVyQ3VzdG9tZXJFbnRpdHkgfSBmcm9tICcuL3ZvdWNoZXItY3VzdG9tZXIuZW50aXR5JztcclxuIl19
|
@@ -0,0 +1,25 @@
|
|
1
|
+
import { AddressEntity, CoordsEntity } from '../../general';
|
2
|
+
import { OrderTotalEntity } from '../../order';
|
3
|
+
export class VoucherCustomerEntity {
|
4
|
+
customerId = '';
|
5
|
+
cords = new CoordsEntity();
|
6
|
+
address = new AddressEntity();
|
7
|
+
phoneNumber = '';
|
8
|
+
meta = ''; // JSON meta
|
9
|
+
id = '';
|
10
|
+
itensCount = 0;
|
11
|
+
total = new OrderTotalEntity();
|
12
|
+
averageAmount = 0; // total.subTotal / itensCount
|
13
|
+
createdAt = new Date();
|
14
|
+
updatedAt = new Date();
|
15
|
+
constructor(data) {
|
16
|
+
if (data) {
|
17
|
+
for (let key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm91Y2hlci1jdXN0b21lci5lbnRpdHkuanMiLCJzb3VyY2VSb290Ijo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BhcnRpYWw8Vm91Y2hlckN1c3RvbWVyRW50aXR5Pikge1xyXG4gICAgaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm91Y2hlci1ydWxlLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy92b3VjaGVyL2VudGl0aWVzL3ZvdWNoZXItcnVsZS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBRzVDLE1BQU0sT0FBTyxrQkFBa0I7SUFDN0IsMEJBQTBCO0lBQ25CLElBQUksR0FBcUIsZ0JBQWdCLENBQUMsU0FBUyxDQUFDO0l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mJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -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/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5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidGFyZ2V0LXR5cGVzLmVudW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvdm91Y2hlci9lbnVtcy90YXJnZXQtdHlwZXMuZW51bS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQU4sSUFBWSxt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gaXRlbnNDb3VudDogbnVtYmVyO1xyXG4gIHRvdGFsOiBJT3JkZXJUb3RhbDtcclxuICBhdmVyYWdlQW1vdW50OiBudW1iZXI7IC8vIHRvdGFsLnN1YlRvdGFsIC8gaXRlbnNDb3VudFxyXG4gIGNyZWF0ZWRBdDogRGF0ZTtcclxuICB1cGRhdGVkQXQ6IERhdGU7XHJcbn1cclxuIl19
|
@@ -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=
|