cecon-interfaces 1.0.84 → 1.0.88

Sign up to get free protection for your applications and to get access to all the features.
Files changed (54) hide show
  1. package/dist/esm2022/general/entities/custom-variable.entity.mjs +17 -0
  2. package/dist/esm2022/general/entities/index.mjs +2 -1
  3. package/dist/esm2022/general/interfaces/i-custom-variable.mjs +3 -0
  4. package/dist/esm2022/general/interfaces/index.mjs +1 -1
  5. package/dist/esm2022/invoice/entities/invoice-item.entity.mjs +3 -3
  6. package/dist/esm2022/invoice/entities/invoice.entity.mjs +12 -7
  7. package/dist/esm2022/invoice/interfaces/i-invoice-item.mjs +1 -1
  8. package/dist/esm2022/invoice/interfaces/i-invoice.mjs +1 -1
  9. package/dist/esm2022/plan/interfaces/i-plan.mjs +1 -1
  10. package/dist/esm2022/subscription/entities/index.mjs +3 -2
  11. package/dist/esm2022/subscription/entities/subscription-item.entity.mjs +20 -0
  12. package/dist/esm2022/subscription/entities/subscription-log.entity.mjs +19 -0
  13. package/dist/esm2022/subscription/entities/subscription.entity.mjs +21 -15
  14. package/dist/esm2022/subscription/interfaces/i-subscription-item.mjs +2 -0
  15. package/dist/esm2022/subscription/interfaces/i-subscription-log.mjs +2 -0
  16. package/dist/esm2022/subscription/interfaces/i-subscription.mjs +1 -1
  17. package/dist/esm2022/subscription/interfaces/index.mjs +1 -1
  18. package/dist/fesm2022/cecon-interfaces.mjs +75 -29
  19. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  20. package/dist/general/entities/custom-variable.entity.d.ts +5 -0
  21. package/dist/general/entities/custom-variable.entity.js +21 -0
  22. package/dist/general/entities/index.d.ts +1 -0
  23. package/dist/general/entities/index.js +3 -1
  24. package/dist/general/interfaces/i-custom-variable.d.ts +4 -0
  25. package/dist/general/interfaces/i-custom-variable.js +3 -0
  26. package/dist/general/interfaces/index.d.ts +1 -0
  27. package/dist/invoice/entities/invoice-item.entity.d.ts +2 -2
  28. package/dist/invoice/entities/invoice-item.entity.js +2 -2
  29. package/dist/invoice/entities/invoice.entity.d.ts +8 -3
  30. package/dist/invoice/entities/invoice.entity.js +11 -6
  31. package/dist/invoice/interfaces/i-invoice-item.d.ts +2 -2
  32. package/dist/invoice/interfaces/i-invoice.d.ts +11 -6
  33. package/dist/package.json +1 -1
  34. package/dist/plan/interfaces/i-plan.d.ts +5 -5
  35. package/dist/subscription/entities/index.d.ts +2 -1
  36. package/dist/subscription/entities/index.js +5 -3
  37. package/dist/subscription/entities/subscription-item.entity.d.ts +9 -0
  38. package/dist/subscription/entities/subscription-item.entity.js +24 -0
  39. package/dist/subscription/entities/subscription-log.entity.d.ts +8 -0
  40. package/dist/subscription/entities/subscription-log.entity.js +23 -0
  41. package/dist/subscription/entities/subscription.entity.d.ts +17 -9
  42. package/dist/subscription/entities/subscription.entity.js +18 -12
  43. package/dist/subscription/interfaces/i-subscription-item.d.ts +7 -0
  44. package/dist/subscription/interfaces/i-subscription-log.d.ts +6 -0
  45. package/dist/subscription/interfaces/i-subscription-log.js +2 -0
  46. package/dist/subscription/interfaces/i-subscription.d.ts +14 -6
  47. package/dist/subscription/interfaces/index.d.ts +2 -1
  48. package/package.json +1 -1
  49. package/dist/esm2022/subscription/entities/subscription-invoice-history.entity.mjs +0 -22
  50. package/dist/esm2022/subscription/interfaces/i-subscription-invoice-history.mjs +0 -2
  51. package/dist/subscription/entities/subscription-invoice-history.entity.d.ts +0 -11
  52. package/dist/subscription/entities/subscription-invoice-history.entity.js +0 -26
  53. package/dist/subscription/interfaces/i-subscription-invoice-history.d.ts +0 -9
  54. /package/dist/subscription/interfaces/{i-subscription-invoice-history.js → i-subscription-item.js} +0 -0
@@ -0,0 +1,17 @@
1
+ export class CustomVariableEntity {
2
+ // #region Properties (2)
3
+ name = "";
4
+ value = "";
5
+ // #endregion Properties (2)
6
+ // #region Constructors (1)
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
+ //# source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GlmIChkYXRhKSB7XG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICB9XG4gICAgICB9XG4gICAgfVxuICB9XG5cbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG59XG4iXX0=
@@ -2,6 +2,7 @@ export { AddressEntity } from './address.entity';
2
2
  export { BaseEntity } from './base.entity';
3
3
  export { CarouselImageEntity } from './carousel-image.entity';
4
4
  export { CoordsEntity } from './coords.entity';
5
+ export { CustomVariableEntity } from './custom-variable.entity';
5
6
  export { DeliveryAreaEntity } from './delivery-area.entity';
6
7
  export { DeliveryAreaFixedEntity } from './dellivery-area-fixed.entity';
7
8
  export { MessagerChannelEntity } from './messager-channel.entity';
@@ -13,4 +14,4 @@ export { PaymentProviderEntity } from './payment-provider.entity';
13
14
  export { PaymentTokenDataEntity } from './payment-token-data.entity';
14
15
  export { PaymentTokenEntity } from './payment-token.entity';
15
16
  export { RatingEntity } from './rating.entity';
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsYUFBYSxFQUFFLE1BQU0sa0JBQWtCLENBQUM7QUFDakQsT0FBTyxFQUFFLFVBQVUsRUFBRSxNQUFNLGVBQWUsQ0FBQztBQUMzQyxPQUFPLEVBQUUsbUJBQW1CLEVBQUUsTUFBTSx5QkFBeUIsQ0FBQztBQUM5RCxPQUFPLEVBQUUsWUFBWSxFQU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bmV4cG9ydCB7IFBheW1lbnRUb2tlbkVudGl0eSB9IGZyb20gJy4vcGF5bWVudC10b2tlbi5lbnRpdHknO1xuZXhwb3J0IHsgUmF0aW5nRW50aXR5IH0gZnJvbSAnLi9yYXRpbmcuZW50aXR5JztcblxuIl19
@@ -0,0 +1,3 @@
1
+ // src/models/base.entity.ts
2
+ export {};
3
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jdXN0b20tdmFyaWFibGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbnRlcmZhY2VzL2ktY3VzdG9tLXZhcmlhYmxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLDRCQUE0QiIsInNvdXJjZXNDb250ZW50IjpbIi8vIHNyYy9tb2RlbHMvYmFzZS5lbnRpdHkudHNcblxuZXhwb3J0IGludGVyZmFjZSBJQ3VzdG9tVmFyaWFibGUge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDIpXG5cbiAgbmFtZTogc3RyaW5nO1xuICB2YWx1ZTogc3RyaW5nO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMilcbn1cbiJdfQ==
@@ -1,3 +1,3 @@
1
1
  // index.ts
2
2
  export {};
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvZ2VuZXJhbC9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFdBQVciLCJzb3VyY2VzQ29udGVudCI6WyIvLyBpbmRleC50c1xuXG5leHBvcnQgeyBJQWRkcmVzcyB9IGZyb20gJy4vaS1hZGRyZXNzJztcbmV4cG9ydCB7IElCYXNlIH0gZnJvb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va2VuIH0gZnJvbSAnLi9pLXBheW1lbnQtdG9rZW4nO1xuZXhwb3J0IHsgSVBheW1lbnRUb2tlbkRhdGEgfSBmcm9tICcuL2ktcGF5bWVudC10b2tlbi1kYXRhJztcbmV4cG9ydCB7IElSYXRpbmcgfSBmcm9tICcuL2ktcmF0aW5nJztcblxuIl19
@@ -1,11 +1,11 @@
1
1
  export class InvoiceItemEntity {
2
2
  // #region Properties (8)
3
+ addition = 0;
3
4
  description = '';
4
- discounts = 0;
5
+ discount = 0;
5
6
  id = '';
6
7
  quantity = 1;
7
8
  sku = '';
8
- taxes = 0;
9
9
  totalPrice = 0;
10
10
  unitPrice = 0;
11
11
  // #endregion Properties (8)
@@ -20,4 +20,4 @@ export class InvoiceItemEntity {
20
20
  }
21
21
  }
22
22
  }
23
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS1pdGVtLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9pbnZvaWNlL2VudGl0aWVzL2ludm9pY2UtaXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLGlCQUFpQjtJQUMxQix5QkFBeUI7SUFFbEIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBQ3RCLEVBQUUsR0FBVyxFQUFFLENBQUM7SUFDaEIsUUFBUSxHQUFXLENBQUMsQ0FBQztJQUNyQixHQUFHLEdBQVcsRUFBRSxDQUFDO0lBQ2pCLEtBQUssR0FBVyxDQUFDLENBQUM7SUFDbEIsVUFBVSxHQUFXLENBQUMsQ0FBQztJQUN2QixTQUFTLEdBQVcsQ0FBQyxDQUFDO0lBRTdCLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFpQztRQUN6QyxJQUFJLElBQ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ICAgICAgICAgICB9XG4gICAgICAgICAgICB9XG4gICAgICAgIH1cbiAgICB9XG5cbiAgICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
@@ -1,23 +1,28 @@
1
1
  import { InvoiceStatusEnum } from '../enums';
2
2
  export class InvoiceEntity {
3
- // #region Properties (16)
3
+ // #region Properties (21)
4
+ addition = 0;
4
5
  companyId = '';
5
6
  containerId = '';
6
7
  createdAt = new Date();
7
- discounts = 0;
8
- dueDateAt = new Date();
8
+ discount = 0;
9
+ dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
10
+ ensureDueOnWorkday = true;
11
+ expiresIn = 5;
9
12
  id = '';
10
- invoiceNumber = '';
11
13
  items = [];
12
14
  notes = '';
13
- paidDateAt = new Date();
15
+ paidAt = new Date();
14
16
  paymentMethod = [];
17
+ providerInvoiceNumber = '';
18
+ providerInvoiceUrl = '';
15
19
  status = InvoiceStatusEnum.PENDING;
20
+ subscriptionId = '';
16
21
  subtotal = 0;
17
22
  taxes = 0;
18
23
  total = 0;
19
24
  updatedAt = new Date();
20
- // #endregion Properties (16)
25
+ // #endregion Properties (21)
21
26
  // #region Constructors (1)
22
27
  constructor(data) {
23
28
  if (data) {
@@ -29,4 +34,4 @@ export class InvoiceEntity {
29
34
  }
30
35
  }
31
36
  }
32
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFLN0MsTUFBTSxPQUFPLGFBQWE7SUFDdEIsMEJBQTBCO0lBRW5CLFNBQVMsR0FBVyx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1xuICAgIHB1YmxpYyB0b3RhbDogbnVtYmVyID0gMDtcbiAgICBwdWJsaWMgdXBkYXRlZEF0OiBEYXRlID0gbmV3IERhdGUoKTtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMTYpXG5cbiAgICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcblxuICAgIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPEludm9pY2VFbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
37
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW52b2ljZS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9lbnRpdGllcy9pbnZvaWNlLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxVQUFVLENBQUM7QUFLN0MsTUFBTSxPQUFPLGFBQWE7SUFDdEIsMEJBQTBCO0lBRW5CLFFBQVEsR0FBVyxDQUFDLENBQUM7SUFDckIsU0FBUyxHQUFXLEVBQUUsQ0FBQztJQUN2QixXQUFXLEdBQVcsRUFBRSxDQUFDO0lBQ3pCLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO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1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9pbnRlcmZhY2VzL2ktaW52b2ljZS1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElJbnZvaWNlSXRlbSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg4KVxuXG4gICAgZGVzY3JpcHRpb246IHN0cmluZztcbiAgICBkaXNjb3VudHM6IG51bWJlcjtcbiAgICBpZDogc3RyaW5nO1xuICAgIHF1YW50aXR5OiBudW1iZXI7XG4gICAgc2t1OiBzdHJpbmc7XG4gICAgdGF4ZXM6IG51bWJlcjtcbiAgICB0b3RhbFByaWNlOiBudW1iZXI7XG4gICAgdW5pdFByaWNlOiBudW1iZXI7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDgpXG59XG4iXX0=
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLWl0ZW0uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvaW52b2ljZS9pbnRlcmZhY2VzL2ktaW52b2ljZS1pdGVtLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElJbnZvaWNlSXRlbSB7XG4gICAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICg4KVxuXG4gICAgYWRkaXRpb246IG51bWJlcjtcbiAgICBkZXNjcmlwdGlvbjogc3RyaW5nO1xuICAgIGRpc2NvdW50OiBudW1iZXI7XG4gICAgaWQ6IHN0cmluZztcbiAgICBxdWFudGl0eTogbnVtYmVyO1xuICAgIHNrdTogc3RyaW5nO1xuICAgIHRvdGFsUHJpY2U6IG51bWJlcjtcbiAgICB1bml0UHJpY2U6IG51bWJlcjtcblxuICAgIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoOClcbn1cbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1pbnZvaWNlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2ludm9pY2UvaW50ZXJmYWNlcy9pLWludm9pY2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEludm9pY2VTdGF0dXNFbnVtIH0gZnJvbSAnLi4vZW51bXMnO1xuaW1wb3J0IHsgSUludm9pY2VJdGVtIH0gZnJvbSAnLi9pLWludm9pY2UtaXRlbSc7XG5pbXBvcnQgeyBJSW52b2ljZVBheW1lbnRNZXRob2QgfSBmcm9tICcuL2ktaW52b2ljZS1wYXltZW50LW1ldGhvZCc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUludm9pY2Uge1xuICAgIC8vICNyZWdpb24gUHJvcGVydGllcyAoMTYpXG5cbiAgICBjb21wYW55SWQ6IHN0cmluZztcbiAgICBjb250YWluZXJJZDogc3RyaW5nO1xuICAgIGNyZWF0ZWRBdDogRGF0ZTtcbiAgICBkaXNjb3VudHM6IG51bWJlcjtcbiAgICBkdWVEYXRlQXQ6IERhdGU7XG4gICAgaWQ6IHN0cmluZztcbiAgICBpbnZvaWNlTnVtYmVyOiBzdHJpbmc7XG4gICAgaXRlbXM6IElJbnZvaWNlSXRlbVtdO1xuICAgIG5vdGVzOiBzdHJpbmc7XG4gICAgcGFpZERhdGVBdDogRGF0ZTtcbiAgICBwYXltZW50TWV0aG9kOiBJSW52b2ljZV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Rlczogc3RyaW5nO1xuICBwYWlkQXQ6IERhdGU7XG4gIHBheW1lbnRNZXRob2Q6IElJbnZvaWNlUGF5bWVudE1ldGhvZFtdO1xuICBwcm92aWRlckludm9pY2VOdW1iZXI6IHN0cmluZztcbiAgcHJvdmlkZXJJbnZvaWNlVXJsOiBzdHJpbmc7XG4gIHN0YXR1czogSW52b2ljZVN0YXR1c0VudW07XG4gIHN1YnNjcmlwdGlvbklkOiBzdHJpbmc7XG4gIHN1YnRvdGFsOiBudW1iZXI7XG4gIHRheGVzOiBudW1iZXI7XG4gIHRvdGFsOiBudW1iZXI7XG4gIHVwZGF0ZWRBdDogRGF0ZTtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDIxKVxufVxuIl19
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1wbGFuLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3BsYW4vaW50ZXJmYWNlcy9pLXBsYW4udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEludGVydmFsVHlwZUVudW0gfSBmcm9tICcuLi8uLi9nZW5lcmFsL2VudW1zJztcbmltcG9ydCB7IFBsYW5JZGVudGlmaWVyRW51bSB9IGZyb20gJy4uL2VudW1zL3BsYW5zLWlkZW50aWZpZXIuZW51bSc7XG5pbXBvcnQgeyBJUGxhbkZlYXR1cmUgfSBmcm9tICcuL2ktZmVhdHVyZSc7XG5cbmV4cG9ydCBpbnRlcmZhY2UgSVBsYW4ge1xuICAgIGlkOiBzdHJpbmc7XG4gICAgbmFtZTogc3RyaW5nO1xuICAgIGlkZW50aWZpZXI6IFBsYW5JZGVudGlmaWVyRW51bTtcbiAgICBpbnRlcnZhbDogbnVtYmVyO1xuICAgIGludGVydmFsVHlwZTogSW50ZXJ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X0=
@@ -1,3 +1,4 @@
1
- export { SubscriptionInvoiceHistoryEntity } from './subscription-invoice-history.entity';
1
+ export { SubscriptionItemEntity } from './subscription-item.entity';
2
+ export { SubscriptionLogEntity } from './subscription-log.entity';
2
3
  export { SubscriptionEntity } from './subscription.entity';
3
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBQ3pGLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgU3Vic2NyaXB0aW9uSW52b2ljZUhpc3RvcnlFbnRpdHkgfSBmcm9tICcuL3N1YnNjcmlwdGlvbi1pbnZvaWNlLWhpc3RvcnkuZW50aXR5JztcbmV4cG9ydCB7IFN1YnNjcmlwdGlvbkVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLmVudGl0eSc7XG5cblxuXG4iXX0=
4
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxzQkFBc0IsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3BFLE9BQU8sRUFBRSxxQkFBcUIsRUFBRSxNQUFNLDJCQUEyQixDQUFDO0FBQ2xFLE9BQU8sRUFBRSxrQkFBa0IsRUFBRSxNQUFNLHVCQUF1QixDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgU3Vic2NyaXB0aW9uSXRlbUVudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLWl0ZW0uZW50aXR5JztcbmV4cG9ydCB7IFN1YnNjcmlwdGlvbkxvZ0VudGl0eSB9IGZyb20gJy4vc3Vic2NyaXB0aW9uLWxvZy5lbnRpdHknO1xuZXhwb3J0IHsgU3Vic2NyaXB0aW9uRW50aXR5IH0gZnJvbSAnLi9zdWJzY3JpcHRpb24uZW50aXR5JztcbiJdfQ==
@@ -0,0 +1,20 @@
1
+ export class SubscriptionItemEntity {
2
+ // #region Properties (5)
3
+ description = "";
4
+ quantity = 1;
5
+ recurrent = true;
6
+ totalPrice = 0;
7
+ unitPrice = 0;
8
+ // #endregion Properties (5)
9
+ // #region Constructors (1)
10
+ constructor(data) {
11
+ if (data) {
12
+ for (let key in data) {
13
+ if (data.hasOwnProperty(key) && key in this) {
14
+ this[key] = data[key];
15
+ }
16
+ }
17
+ }
18
+ }
19
+ }
20
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWl0ZW0uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9lbnRpdGllcy9zdWJzY3JpcHRpb24taXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLHNCQUFzQjtJQUNqQyx5QkFBeUI7SUFFbEIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixRQUFRLEdBQVcsQ0FBQyxDQUFDO0lBQ3JCLFNBQVMsR0FBWSxJQUFJLENBQUM7SUFDMUIsVUFBVSxHQUFXLENBQUMsQ0FBQztJQUN2QixTQUFTLEdBQVcsQ0FBQyxDQUFDO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3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
@@ -0,0 +1,19 @@
1
+ export class SubscriptionLogEntity {
2
+ // #region Properties (4)
3
+ createdAt = new Date();
4
+ description = "";
5
+ id = "";
6
+ notes = "";
7
+ // #endregion Properties (4)
8
+ // #region Constructors (1)
9
+ constructor(data) {
10
+ if (data) {
11
+ for (let key in data) {
12
+ if (data.hasOwnProperty(key) && key in this) {
13
+ this[key] = data[key];
14
+ }
15
+ }
16
+ }
17
+ }
18
+ }
19
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLWxvZy5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2VudGl0aWVzL3N1YnNjcmlwdGlvbi1sb2cuZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE1BQU0sT0FBTyxxQkFBcUI7SUFDaEMseUJBQXlCO0lBRWxCLFNBQVMsR0FBUyxJQUFJLElBQUksRUFBRSxDQUFDO0lBQzdCLFdBQVcsR0FBVyxFQUFFLENBQUM7SUFDekIsRUFBRSxHQUFXLEVBQUUsQ0FBQztJQUNoQixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBRTFCLDRCQUE0QjtJQUU1QiwyQkFBMkI7SUFFM0IsWUFBWSxJQUFxQztRQUMvQyxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRy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 +1,30 @@
1
- import { IntervalTypeEnum } from '../../general';
2
- import { SubscriptionStatusEnum } from '../enums';
1
+ import { IntervalTypeEnum } from "../../general";
2
+ import { SubscriptionStatusEnum } from "../enums";
3
3
  export class SubscriptionEntity {
4
- // #region Properties (14)
5
- cancellationReason = '';
4
+ // #region Properties (22)
5
+ cancellationReason = "";
6
+ companyId = "";
7
+ companyName = "";
8
+ containerId = "";
6
9
  createdAt = new Date();
7
- companyId = '';
8
- containerId = '';
9
- partnerId = '';
10
- endDate = new Date();
11
- id = '';
10
+ customVariable = [];
11
+ expiresAt = new Date();
12
+ features = [];
13
+ id = "";
12
14
  interval = 0;
13
15
  intervalType = IntervalTypeEnum.MONTHS;
14
- invoiceHistory = [];
15
- notes = '';
16
- planId = '';
16
+ items = [];
17
+ logs = [];
18
+ notes = "";
19
+ partnerId = "";
20
+ planId = "";
21
+ planName = "";
17
22
  renewPaymentDate = new Date();
18
- startDate = new Date();
23
+ renovatedAt = new Date();
24
+ startsAt = new Date();
19
25
  status = SubscriptionStatusEnum.PENDING;
20
26
  updatedAt = new Date();
21
- // #endregion Properties (14)
27
+ // #endregion Properties (22)
22
28
  // #region Constructors (1)
23
29
  constructor(data) {
24
30
  if (data) {
@@ -30,4 +36,4 @@ export class SubscriptionEntity {
30
36
  }
31
37
  }
32
38
  }
33
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc3Vic2NyaXB0aW9uLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDakQsT0FBTyxFQUFFLHNCQUFzQixFQUFFLE1BQU0sVUFBVSxDQUFDO0FBSW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lFbnRpdHlbXSA9IFtdO1xuICAgIHB1YmxpYyBub3Rlczogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHBsYW5JZDogc3RyaW5nID0gJyc7XG4gICAgcHVibGljIHJlbmV3UGF5bWVudERhdGU6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICAgIHB1YmxpYyBzdGFydERhdGU6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICAgIHB1YmxpYyBzdGF0dXM6IFN1YnNjcmlwdGlvblN0YXR1c0VudW0gPSBTdWJzY3JpcHRpb25TdGF0dXNFbnVtLlBFTkRJTkc7XG4gICAgcHVibGljIHVwZGF0ZWRBdDogRGF0ZSA9IG5ldyBEYXRlKCk7XG5cbiAgICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDE0KVxuXG4gICAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXG5cbiAgICBjb25zdHJ1Y3RvcihkYXRhPzogUGFydGlhbDxTdWJzY3JpcHRpb25FbnRpdHk+KSB7XG4gICAgICAgIGlmIChkYXRhKSB7XG4gICAgICAgICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xuICAgICAgICAgICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAgICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xuICAgICAgICAgICAgICAgIH1cbiAgICAgICAgICAgIH1cbiAgICAgICAgfVxuICAgIH1cblxuICAgIC8vICNlbmRyZWdpb24gQ29uc3RydWN0b3JzICgxKVxufVxuIl19
39
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic3Vic2NyaXB0aW9uLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9zdWJzY3JpcHRpb24vZW50aXRpZXMvc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zdHJpbmc7XG4gIHF1YW50aXR5OiBudW1iZXI7XG4gIHJlY3VycmVudDogYm9vbGVhbjtcbiAgdG90YWxQcmljZTogbnVtYmVyO1xuICB1bml0UHJpY2U6IG51bWJlcjtcblxuICAvLyAjZW5kcmVnaW9uIFByb3BlcnRpZXMgKDUpXG59XG4iXX0=
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24tbG9nLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL3N1YnNjcmlwdGlvbi9pbnRlcmZhY2VzL2ktc3Vic2NyaXB0aW9uLWxvZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIiwic291cmNlc0NvbnRlbnQiOlsiXG5leHBvcnQgaW50ZXJmYWNlIElTdWJzY3JpcHRpb25Mb2cge1xuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDQpXG5cbiAgY3JlYXRlZEF0OiBEYXRlO1xuICBkZXNjcmlwdGlvbjogc3RyaW5nO1xuICBpZDogc3RyaW5nO1xuICBub3Rlczogc3RyaW5nO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNClcbn1cbiJdfQ==
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1zdWJzY3JpcHRpb24uanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaS1zdWJzY3JpcHRpb24udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IEludGVydmFsVHlwZUVudW0gfSBmcm9tIFwiLi4vLi4vZ2VuZXJhbFwiO1xuaW1wb3J0I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GFuTmFtZTogc3RyaW5nO1xuICByZW5ld1BheW1lbnREYXRlOiBEYXRlO1xuICByZW5vdmF0ZWRBdDogRGF0ZTtcbiAgc3RhcnRzQXQ6IERhdGU7XG4gIHN0YXR1czogU3Vic2NyaXB0aW9uU3RhdHVzRW51bTtcbiAgdXBkYXRlZEF0OiBEYXRlO1xuXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoMjIpXG59XG4iXX0=
@@ -1,2 +1,2 @@
1
1
  export {};
2
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElTdWJzY3JpcHRpb24gfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uJztcbmV4cG9ydCB7IElTdWJzY3JpcHRpb25JbnZvaWNlSGlzdG9yeSB9IGZyb20gJy4vaS1zdWJzY3JpcHRpb24taW52b2ljZS1oaXN0b3J5JztcblxuIl19
2
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvc3Vic2NyaXB0aW9uL2ludGVyZmFjZXMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCB7IElTdWJzY3JpcHRpb24gfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uJztcbmV4cG9ydCB7IElTdWJzY3JpcHRpb25JdGVtIH0gZnJvbSAnLi9pLXN1YnNjcmlwdGlvbi1pdGVtJztcbmV4cG9ydCB7IElTdWJzY3JpcHRpb25Mb2cgfSBmcm9tICcuL2ktc3Vic2NyaXB0aW9uLWxvZyc7XG5cbiJdfQ==
@@ -78,6 +78,23 @@ class CarouselImageEntity {
78
78
  }
79
79
  }
80
80
 
81
+ class CustomVariableEntity {
82
+ // #region Properties (2)
83
+ name = "";
84
+ value = "";
85
+ // #endregion Properties (2)
86
+ // #region Constructors (1)
87
+ constructor(data) {
88
+ if (data) {
89
+ for (let key in data) {
90
+ if (data.hasOwnProperty(key) && key in this) {
91
+ this[key] = data[key];
92
+ }
93
+ }
94
+ }
95
+ }
96
+ }
97
+
81
98
  class DeliveryAreaEntity {
82
99
  // #region Properties (8)
83
100
  deliveryFee = 0;
@@ -835,12 +852,12 @@ class InviteEntity {
835
852
 
836
853
  class InvoiceItemEntity {
837
854
  // #region Properties (8)
855
+ addition = 0;
838
856
  description = '';
839
- discounts = 0;
857
+ discount = 0;
840
858
  id = '';
841
859
  quantity = 1;
842
860
  sku = '';
843
- taxes = 0;
844
861
  totalPrice = 0;
845
862
  unitPrice = 0;
846
863
  // #endregion Properties (8)
@@ -901,24 +918,29 @@ var InvoiceStatusEnum;
901
918
  })(InvoiceStatusEnum || (InvoiceStatusEnum = {}));
902
919
 
903
920
  class InvoiceEntity {
904
- // #region Properties (16)
921
+ // #region Properties (21)
922
+ addition = 0;
905
923
  companyId = '';
906
924
  containerId = '';
907
925
  createdAt = new Date();
908
- discounts = 0;
909
- dueDateAt = new Date();
926
+ discount = 0;
927
+ dueDateAt = new Date(Date.now() + 3 * 24 * 60 * 60 * 1000);
928
+ ensureDueOnWorkday = true;
929
+ expiresIn = 5;
910
930
  id = '';
911
- invoiceNumber = '';
912
931
  items = [];
913
932
  notes = '';
914
- paidDateAt = new Date();
933
+ paidAt = new Date();
915
934
  paymentMethod = [];
935
+ providerInvoiceNumber = '';
936
+ providerInvoiceUrl = '';
916
937
  status = InvoiceStatusEnum.PENDING;
938
+ subscriptionId = '';
917
939
  subtotal = 0;
918
940
  taxes = 0;
919
941
  total = 0;
920
942
  updatedAt = new Date();
921
- // #endregion Properties (16)
943
+ // #endregion Properties (21)
922
944
  // #region Constructors (1)
923
945
  constructor(data) {
924
946
  if (data) {
@@ -2089,15 +2111,33 @@ class PurchaseEntity extends OrderEntity {
2089
2111
  }
2090
2112
  }
2091
2113
 
2092
- class SubscriptionInvoiceHistoryEntity {
2093
- // #region Properties (6)
2094
- amount = 0;
2114
+ class SubscriptionItemEntity {
2115
+ // #region Properties (5)
2116
+ description = "";
2117
+ quantity = 1;
2118
+ recurrent = true;
2119
+ totalPrice = 0;
2120
+ unitPrice = 0;
2121
+ // #endregion Properties (5)
2122
+ // #region Constructors (1)
2123
+ constructor(data) {
2124
+ if (data) {
2125
+ for (let key in data) {
2126
+ if (data.hasOwnProperty(key) && key in this) {
2127
+ this[key] = data[key];
2128
+ }
2129
+ }
2130
+ }
2131
+ }
2132
+ }
2133
+
2134
+ class SubscriptionLogEntity {
2135
+ // #region Properties (4)
2095
2136
  createdAt = new Date();
2096
- dueDate = new Date();
2097
- invoiceId = '';
2098
- paidDate = new Date();
2099
- status = OrderStatusEnum.PENDING;
2100
- // #endregion Properties (6)
2137
+ description = "";
2138
+ id = "";
2139
+ notes = "";
2140
+ // #endregion Properties (4)
2101
2141
  // #region Constructors (1)
2102
2142
  constructor(data) {
2103
2143
  if (data) {
@@ -2126,24 +2166,30 @@ var SubscriptionStatusEnum;
2126
2166
  })(SubscriptionStatusEnum || (SubscriptionStatusEnum = {}));
2127
2167
 
2128
2168
  class SubscriptionEntity {
2129
- // #region Properties (14)
2130
- cancellationReason = '';
2169
+ // #region Properties (22)
2170
+ cancellationReason = "";
2171
+ companyId = "";
2172
+ companyName = "";
2173
+ containerId = "";
2131
2174
  createdAt = new Date();
2132
- companyId = '';
2133
- containerId = '';
2134
- partnerId = '';
2135
- endDate = new Date();
2136
- id = '';
2175
+ customVariable = [];
2176
+ expiresAt = new Date();
2177
+ features = [];
2178
+ id = "";
2137
2179
  interval = 0;
2138
2180
  intervalType = IntervalTypeEnum.MONTHS;
2139
- invoiceHistory = [];
2140
- notes = '';
2141
- planId = '';
2181
+ items = [];
2182
+ logs = [];
2183
+ notes = "";
2184
+ partnerId = "";
2185
+ planId = "";
2186
+ planName = "";
2142
2187
  renewPaymentDate = new Date();
2143
- startDate = new Date();
2188
+ renovatedAt = new Date();
2189
+ startsAt = new Date();
2144
2190
  status = SubscriptionStatusEnum.PENDING;
2145
2191
  updatedAt = new Date();
2146
- // #endregion Properties (14)
2192
+ // #endregion Properties (22)
2147
2193
  // #region Constructors (1)
2148
2194
  constructor(data) {
2149
2195
  if (data) {
@@ -2187,5 +2233,5 @@ class TokenEntity {
2187
2233
  * Generated bundle index. Do not edit.
2188
2234
  */
2189
2235
 
2190
- export { AccountInformationsEntity, AddressEntity, AppCategoryEnum, AppEntity, AppHeaderTypeEnum, AppInfoEntity, AppModeEnum, AppTypeEnum, BaseEntity, BooleanStringEnum, CarouselImageEntity, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, ContainerEntity, CoordsEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, FeatureEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceEntity, InvoiceItemEntity, InvoicePaymentMethodEntity, InvoiceStatusEnum, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PlanEntity, PlanFeatureEntity, PlanIdentifierEnum, PlatfomrEnum, PurchaseEntity, RatingEntity, SponsorshipValuesEntity, SubscriptionEntity, SubscriptionInvoiceHistoryEntity, SubscriptionStatusEnum, TokenEntity };
2236
+ export { AccountInformationsEntity, AddressEntity, AppCategoryEnum, AppEntity, AppHeaderTypeEnum, AppInfoEntity, AppModeEnum, AppTypeEnum, BaseEntity, BooleanStringEnum, CarouselImageEntity, CompanyEntity, CompanyKeysEnum, CompanyMessageTypeEnum, ContainerEntity, CoordsEntity, CustomVariableEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, DeviceEntity, DocTypeEnum, FeatureEntity, InstallationEntity, IntervalTypeEnum, InviteEntity, InviteStatusEnum, InvoiceEntity, InvoiceItemEntity, InvoicePaymentMethodEntity, InvoiceStatusEnum, IuguAccountEntity, LastVerificationRequestDataEntity as IuguAccountLastVerificationRequestDataEntity, IuguAutoAdvanceEnum, IuguBankEnum, IuguCustomerEntity, IuguPaymentTokenDataEntity, IuguPaymentTokenEntity, LeadEntity, LeadOriginEnum, LeadStatusEnum, LegalEntiyEnum, MemberEntity, MemberRulesEnum, MemberTypeEnum, MessagerChannelEntity, MetadataEntity, MobyoApiConfigEntity, NatiGoEntity, NotificationActionEntity, NotificationActionTypeEnum, NotificationCategoryEnum, NotificationEntity, NotificationPriorityEnum, NotificationStatusEnum, OrderAdditionalFeeEntity, OrderBenefitsEntity, OrderCancellationEntity, OrderCustomerEntity, OrderEntity, OrderItemCompositionEntity, OrderItemEntity, OrderItemOptionEntity, OrderPaymentCardEntity, OrderPaymentCashEntity, OrderPaymentEntity, OrderPaymentMethodEntity, OrderPaymentPixEntity, OrderPaymentWalletEntity, OrderScaleEntity, OrderScaleItemEntity, OrderStatusEnum, OrderTotalEntity, OrdersCustomerPhoneEntity, OriginEntity, OsEnum, PartnerEntity, PaymentChannelEnum, PaymentMethodEntity, PaymentModeEnum, PaymentProviderAgentEntity, PaymentProviderEntity, PaymentProviderEnum, PaymentStatusEnum, PaymentTokenDataEntity, PaymentTokenEntity, PaymentTypeEnum, PlanEntity, PlanFeatureEntity, PlanIdentifierEnum, PlatfomrEnum, PurchaseEntity, RatingEntity, SponsorshipValuesEntity, SubscriptionEntity, SubscriptionItemEntity, SubscriptionLogEntity, SubscriptionStatusEnum, TokenEntity };
2191
2237
  //# sourceMappingURL=cecon-interfaces.mjs.map