cecon-interfaces 1.4.31 → 1.5.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (26) hide show
  1. package/dist/esm2022/mobyo/resumes/vouchers/entities/index.mjs +4 -0
  2. package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.mjs +17 -0
  3. package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.mjs +15 -0
  4. package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher.entity.mjs +21 -0
  5. package/dist/esm2022/mobyo/resumes/vouchers/index.mjs +2 -1
  6. package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.mjs +1 -1
  7. package/dist/esm2022/mobyo/resumes/vouchers/interfaces/index.mjs +1 -1
  8. package/dist/esm2022/voucher/entities/voucher.entity.mjs +4 -4
  9. package/dist/esm2022/voucher/interfaces/i-voucher.mjs +1 -1
  10. package/dist/fesm2022/cecon-interfaces.mjs +54 -4
  11. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  12. package/dist/mobyo/resumes/vouchers/entities/index.d.ts +3 -0
  13. package/dist/mobyo/resumes/vouchers/entities/index.js +9 -0
  14. package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.d.ts +10 -0
  15. package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.js +21 -0
  16. package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.d.ts +7 -0
  17. package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.js +19 -0
  18. package/dist/mobyo/resumes/vouchers/entities/resume-voucher.entity.d.ts +20 -0
  19. package/dist/mobyo/resumes/vouchers/entities/resume-voucher.entity.js +25 -0
  20. package/dist/mobyo/resumes/vouchers/index.d.ts +1 -0
  21. package/dist/mobyo/resumes/vouchers/index.js +1 -0
  22. package/dist/package.json +1 -1
  23. package/dist/voucher/entities/voucher.entity.d.ts +2 -2
  24. package/dist/voucher/entities/voucher.entity.js +3 -3
  25. package/dist/voucher/interfaces/i-voucher.d.ts +2 -2
  26. package/package.json +1 -1
@@ -0,0 +1,4 @@
1
+ export { ResumeVoucherItemDetailEntity } from './resume-voucher-item-detail.entity';
2
+ export { ResumeVoucherItemEntity } from './resume-voucher-item.entity';
3
+ export { ResumeVoucherEntity } from './resume-voucher.entity';
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9ieW8vcmVzdW1lcy92b3VjaGVycy9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsNkJBQTZCLEVBQUUsTUFBTSxxQ0FBcUMsQ0FBQztBQUNwRixPQUFPLEVBQUUsdUJBQXVCLEVBQUUsTUFBTSw4QkFBOEIsQ0FBQztBQUN2RSxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IFJlc3VtZVZvdWNoZXJJdGVtRGV0YWlsRW50aXR5IH0gZnJvbSAnLi9yZXN1bWUtdm91Y2hlci1pdGVtLWRldGFpbC5lbnRpdHknO1xuZXhwb3J0IHsgUmVzdW1lVm91Y2hlckl0ZW1FbnRpdHkgfSBmcm9tICcuL3Jlc3VtZS12b3VjaGVyLWl0ZW0uZW50aXR5JztcbmV4cG9ydCB7IFJlc3VtZVZvdWNoZXJFbnRpdHkgfSBmcm9tICcuL3Jlc3VtZS12b3VjaGVyLmVudGl0eSc7XG4iXX0=
@@ -0,0 +1,17 @@
1
+ export class ResumeVoucherItemDetailEntity {
2
+ cords = [];
3
+ count = 0;
4
+ orderItemsCount = 0;
5
+ totalAmount = 0;
6
+ totalDiscount = 0;
7
+ constructor(data) {
8
+ if (data) {
9
+ for (let key in data) {
10
+ if (data.hasOwnProperty(key)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dW1lVm91Y2hlckl0ZW1EZXRhaWxFbnRpdHkgaW1wbGVtZW50cyBJUmVzdW1lVm91Y2hlckl0ZW1EZXRhaWwge1xyXG4gIGNvcmRzOiBJQ29vcmRzW10gPSBbXTtcclxuICBjb3VudDogbnVtYmVyID0gMDtcclxuICBvcmRlckl0ZW1zQ291bnQ6IG51bWJlciA9IDA7XHJcbiAgdG90YWxBbW91bnQ6IG51bWJlciA9IDA7XHJcbiAgdG90YWxEaXNjb3VudDogbnVtYmVyID0gMDtcclxuXHJcbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8UmVzdW1lVm91Y2hlckl0ZW1EZXRhaWxFbnRpdHk+KSB7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcblxyXG4gIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxyXG59XHJcbiJdfQ==
@@ -0,0 +1,15 @@
1
+ import { ResumeVoucherItemDetailEntity } from './resume-voucher-item-detail.entity';
2
+ export class ResumeVoucherItemEntity {
3
+ confirmed = new ResumeVoucherItemDetailEntity();
4
+ cancelled = new ResumeVoucherItemDetailEntity();
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,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdW1lLXZvdWNoZXItaXRlbS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8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bnRpdHkoKTtcclxuICBwdWJsaWMgY2FuY2VsbGVkOiBSZXN1bWVWb3VjaGVySXRlbURldGFpbEVudGl0eSA9IG5ldyBSZXN1bWVWb3VjaGVySXRlbURldGFpbEVudGl0eSgpO1xyXG5cclxuICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxSZXN1bWVWb3VjaGVySXRlbUVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
@@ -0,0 +1,21 @@
1
+ import { MobyoInfoEntity } from '../../../../general';
2
+ import { ResumeVoucherItemEntity } from './resume-voucher-item.entity';
3
+ export class ResumeVoucherEntity {
4
+ id = ''; // padrão AAAAMMDD
5
+ createdAt = new Date();
6
+ updatedAt = new Date();
7
+ item = new ResumeVoucherItemEntity();
8
+ items = []; // id no padrão MM - DD - HH
9
+ targetType = [];
10
+ info = new MobyoInfoEntity();
11
+ constructor(data) {
12
+ if (data) {
13
+ for (let key in data) {
14
+ if (data.hasOwnProperty(key) && key in this) {
15
+ this[key] = data[key];
16
+ }
17
+ }
18
+ }
19
+ }
20
+ }
21
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdW1lLXZvdWNoZXIuZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL21vYnlvL3Jlc3VtZXMvdm91Y2hlcnMvZ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KGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
@@ -1,2 +1,3 @@
1
+ export * from './entities';
1
2
  export * from './interfaces';
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbW9ieW8vcmVzdW1lcy92b3VjaGVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vaW50ZXJmYWNlcyc7Il19
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbW9ieW8vcmVzdW1lcy92b3VjaGVycy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZW50aXRpZXMnO1xyXG5leHBvcnQgKiBmcm9tICcuL2ludGVyZmFjZXMnO1xyXG4iXX0=
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1yZXN1bWUtdm91Y2hlci1pdGVtLmp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ZXJmYWNlcy9pLXJlc3VtZS12b3VjaGVyLWl0ZW0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElDb29yZHMgfSBmcm9tICcuLi8uLi8uLi8uLi9nZW5lcmFsJztcclxuXHJcbmV4cG9ydCBpbnRlcmZhY2UgSVJlc3VtZVZvdWNoZXJJdGVtIHtcclxuICBjb25maXJtZWQ6IElSZXN1bWVWb3VjaGVySXRlbURldGFpbDtcclxuICBjYW5jZWxsZWQ6IElSZXN1bWVWb3VjaGVySXRlbURldGFpbDtcclxufVxyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJUmVzdW1lVm91Y2hlckl0ZW1EZXRhaWwge1xyXG4gIGNvcmRzOiBJQ29vcmRzW107XHJcbiAgY291bnQ6IG51bWJlcjsgLy8gdmV6ZXMgdXRpbGl6YWRvc1xyXG4gIG9yZGVySXRlbXNDb3VudDogbnVtYmVyOyAvLyB0b3RhbCBkZSBpdGVucyBkZSB0b2RvcyBvcyBwZWRpZG9zXHJcbiAgdG90YWxBbW91bnQ6IG51bWJlcjsgLy8gIHNvbWEgc3VidG90YWwgZG9zIHBlZGlkb3NcclxuICB0b3RhbERpc2NvdW50OiBudW1iZXI7IC8vIHZhbG9yIHRvdGFsIGVtIGRlc2NvbnRvXHJcbn1cclxuIl19
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9ieW8vcmVzdW1lcy92b3VjaGVycy9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQge0lSZXN1bWVWb3VjaGVyfSBmcm9tICcuL2ktcmVzdW1lLXZvdWNoZXInO1xyXG5leHBvcnQge0lSZXN1bWVWb3VjaGVySXRlbSwgSVJlc3VtZVZvdWNoZXJJdGVtRGV0YWlsfSBmcm9tICcuL2ktcmVzdW1lLXZvdWNoZXItaXRlbSc7Il19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbW9ieW8vcmVzdW1lcy92b3VjaGVycy9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJUmVzdW1lVm91Y2hlciB9IGZyb20gJy4vaS1yZXN1bWUtdm91Y2hlcic7XHJcbmV4cG9ydCB7IElSZXN1bWVWb3VjaGVySXRlbSwgSVJlc3VtZVZvdWNoZXJJdGVtRGV0YWlsIH0gZnJvbSAnLi9pLXJlc3VtZS12b3VjaGVyLWl0ZW0nO1xyXG4iXX0=
@@ -3,18 +3,18 @@ import { EVoucherStatus, EVoucherTargetTypes } from '../enums';
3
3
  export class VoucherEntity {
4
4
  // #region Properties (10)
5
5
  info = new MobyoInfoEntity();
6
- concludedAt = new Date();
6
+ concludedAt = null;
7
7
  createdAt = new Date();
8
8
  id = '';
9
9
  isPublic = false;
10
10
  key = '';
11
11
  name = '';
12
- activatedAt = new Date();
12
+ activatedAt = null;
13
13
  rules = [];
14
14
  type = EDiscountType.PERCENT;
15
15
  amount = 0;
16
16
  sponsorship = [];
17
- status = EVoucherStatus.ACTIVE;
17
+ status = EVoucherStatus.PLACED;
18
18
  targetsId = [];
19
19
  targetType = EVoucherTargetTypes.CART;
20
20
  updatedAt = new Date();
@@ -31,4 +31,4 @@ export class VoucherEntity {
31
31
  }
32
32
  }
33
33
  }
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidm91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GVyRW50aXR5Pikge1xyXG4gICAgaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS12b3VjaGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3ZvdWNoZXIvaW50ZXJmYWNlcy9pLXZvdWNoZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEVEaXNjb3VudFR5cGUsIElNb2J5b0luZm8sIElOYXRpSW5mbyB9IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5pbXBvcnQgeyBFVm91Y2hlclN0YXR1cyB9IGZyb20gJy4uL2VudW1zJztcclxuaW1wb3J0IHsgRVZvdWNoZXJUYXJnZXRUeXBlcyB9IGZyb20gJy4uL2VudW1zL3RhcmdldC10eXBlcy5lbnVtJztcclxuaW1wb3J0IHsgSVZvdWNoZXJSdWxlIH0gZnJvbSAnLi9pLXZvdWNoZXItcnVsZSc7XHJcbmltcG9ydCB7IElWb3VjaGVyU3BvbnNvcnNoaXAgfSBmcm9tICcuL2ktdm91Y2hlci1zcG9uc29yc2hpcCc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElWb3VjaGVyIHtcclxuICBpbmZvOiBJTW9ieW9Jbm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ICBsaW1pdDogbnVtYmVyO1xyXG4gIGlzRXhjbHVzaXZlOiBib29sZWFuO1xyXG4gIHVzZWRDb3VudDogbnVtYmVyO1xyXG59XHJcbiJdfQ==
@@ -1468,18 +1468,18 @@ class VoucherSponsorshipEntity {
1468
1468
  class VoucherEntity {
1469
1469
  // #region Properties (10)
1470
1470
  info = new MobyoInfoEntity();
1471
- concludedAt = new Date();
1471
+ concludedAt = null;
1472
1472
  createdAt = new Date();
1473
1473
  id = '';
1474
1474
  isPublic = false;
1475
1475
  key = '';
1476
1476
  name = '';
1477
- activatedAt = new Date();
1477
+ activatedAt = null;
1478
1478
  rules = [];
1479
1479
  type = EDiscountType.PERCENT;
1480
1480
  amount = 0;
1481
1481
  sponsorship = [];
1482
- status = EVoucherStatus.ACTIVE;
1482
+ status = EVoucherStatus.PLACED;
1483
1483
  targetsId = [];
1484
1484
  targetType = EVoucherTargetTypes.CART;
1485
1485
  updatedAt = new Date();
@@ -4466,6 +4466,56 @@ class DelivererMobyoEntity {
4466
4466
  }
4467
4467
  }
4468
4468
 
4469
+ class ResumeVoucherItemDetailEntity {
4470
+ cords = [];
4471
+ count = 0;
4472
+ orderItemsCount = 0;
4473
+ totalAmount = 0;
4474
+ totalDiscount = 0;
4475
+ constructor(data) {
4476
+ if (data) {
4477
+ for (let key in data) {
4478
+ if (data.hasOwnProperty(key) && key in this) {
4479
+ this[key] = data[key];
4480
+ }
4481
+ }
4482
+ }
4483
+ }
4484
+ }
4485
+
4486
+ class ResumeVoucherItemEntity {
4487
+ confirmed = new ResumeVoucherItemDetailEntity();
4488
+ cancelled = new ResumeVoucherItemDetailEntity();
4489
+ constructor(data) {
4490
+ if (data) {
4491
+ for (let key in data) {
4492
+ if (data.hasOwnProperty(key) && key in this) {
4493
+ this[key] = data[key];
4494
+ }
4495
+ }
4496
+ }
4497
+ }
4498
+ }
4499
+
4500
+ class ResumeVoucherEntity {
4501
+ id = ''; // padrão AAAAMMDD
4502
+ createdAt = new Date();
4503
+ updatedAt = new Date();
4504
+ item = new ResumeVoucherItemEntity();
4505
+ items = []; // id no padrão MM - DD - HH
4506
+ targetType = [];
4507
+ info = new MobyoInfoEntity();
4508
+ constructor(data) {
4509
+ if (data) {
4510
+ for (let key in data) {
4511
+ if (data.hasOwnProperty(key) && key in this) {
4512
+ this[key] = data[key];
4513
+ }
4514
+ }
4515
+ }
4516
+ }
4517
+ }
4518
+
4469
4519
  class MonitorEntity {
4470
4520
  // #region Properties (9)
4471
4521
  id = '';
@@ -5947,5 +5997,5 @@ class WithDrawRequestEntity {
5947
5997
  * Generated bundle index. Do not edit.
5948
5998
  */
5949
5999
 
5950
- 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, VoucherCustomerEntity, VoucherEntity, VoucherSponsorshipEntity, WaServerEntity, WithDrawRequestEntity };
6000
+ 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, ResumeVoucherEntity, ResumeVoucherItemDetailEntity, ResumeVoucherItemEntity, SponsorEntity, SponsorshipValueEntity, SubscriptionBaseEntity, SubscriptionBaseItemEntity, SubscriptionBaseLogEntity, SubscriptionCompanyEntity, SubscriptionCompanyProfileEntity, SubscriptionCustomerEntity, SubscriptionCustomerProfileEntity, TokenEntity, TransactionBalanceEntity, TransactionEntity, TransactionInfoResumeEntity, TransactionPaymentMethodEntity, TransactionResumeEntity, TransactionTotalEntity, TransferRequestEntity, VerifierTokenEntity, VoucherCustomerEntity, VoucherEntity, VoucherSponsorshipEntity, WaServerEntity, WithDrawRequestEntity };
5951
6001
  //# sourceMappingURL=cecon-interfaces.mjs.map