cecon-interfaces 1.5.6 → 1.5.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (98) hide show
  1. package/dist/99-interfaces/interfaces/dtos/i-token.d.ts +1 -0
  2. package/dist/esm2022/99-interfaces/interfaces/dtos/i-token.mjs +1 -1
  3. package/dist/esm2022/mobyo/resumes/customers/entities/index.mjs +2 -0
  4. package/dist/esm2022/mobyo/resumes/customers/entities/resume.entity.mjs +21 -0
  5. package/dist/esm2022/mobyo/resumes/customers/index.mjs +3 -0
  6. package/dist/esm2022/mobyo/resumes/customers/interfaces/i-resume.mjs +2 -0
  7. package/dist/esm2022/mobyo/resumes/customers/interfaces/index.mjs +2 -0
  8. package/dist/esm2022/mobyo/resumes/entities/index.mjs +4 -0
  9. package/dist/esm2022/mobyo/resumes/entities/resume-engines.entity.mjs +21 -0
  10. package/dist/esm2022/mobyo/resumes/entities/resume-item-detail.entity.mjs +20 -0
  11. package/dist/esm2022/mobyo/resumes/entities/resume-item.entity.mjs +18 -0
  12. package/dist/esm2022/mobyo/resumes/index.mjs +6 -1
  13. package/dist/esm2022/mobyo/resumes/interfaces/i-resume-engines.mjs +2 -0
  14. package/dist/esm2022/mobyo/resumes/interfaces/i-resume-item-detail.mjs +2 -0
  15. package/dist/esm2022/mobyo/resumes/interfaces/i-resume-item.mjs +2 -0
  16. package/dist/esm2022/mobyo/resumes/interfaces/index.mjs +2 -0
  17. package/dist/esm2022/mobyo/resumes/orders/entities/index.mjs +2 -0
  18. package/dist/esm2022/mobyo/resumes/orders/entities/resume.entity.mjs +21 -0
  19. package/dist/esm2022/mobyo/resumes/orders/index.mjs +3 -0
  20. package/dist/esm2022/mobyo/resumes/orders/interfaces/i-resume.mjs +2 -0
  21. package/dist/esm2022/mobyo/resumes/orders/interfaces/index.mjs +2 -0
  22. package/dist/esm2022/mobyo/resumes/products/entities/index.mjs +2 -0
  23. package/dist/esm2022/mobyo/resumes/products/entities/resume.entity.mjs +21 -0
  24. package/dist/esm2022/mobyo/resumes/products/index.mjs +3 -0
  25. package/dist/esm2022/mobyo/resumes/products/interfaces/i-resume.mjs +2 -0
  26. package/dist/esm2022/mobyo/resumes/products/interfaces/index.mjs +2 -0
  27. package/dist/esm2022/mobyo/resumes/vouchers/entities/index.mjs +2 -4
  28. package/dist/esm2022/mobyo/resumes/vouchers/entities/resume.entity.mjs +21 -0
  29. package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume.mjs +2 -0
  30. package/dist/esm2022/mobyo/resumes/vouchers/interfaces/index.mjs +1 -1
  31. package/dist/fesm2022/cecon-interfaces.mjs +88 -6
  32. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  33. package/dist/mobyo/resumes/customers/entities/index.d.ts +1 -0
  34. package/dist/mobyo/resumes/customers/entities/index.js +5 -0
  35. package/dist/mobyo/resumes/customers/entities/resume.entity.d.ts +17 -0
  36. package/dist/mobyo/resumes/customers/entities/resume.entity.js +25 -0
  37. package/dist/mobyo/resumes/customers/index.d.ts +2 -0
  38. package/dist/mobyo/resumes/customers/index.js +18 -0
  39. package/dist/mobyo/resumes/customers/interfaces/i-resume.d.ts +14 -0
  40. package/dist/mobyo/resumes/customers/interfaces/index.d.ts +1 -0
  41. package/dist/mobyo/resumes/entities/index.d.ts +3 -0
  42. package/dist/mobyo/resumes/entities/index.js +9 -0
  43. package/dist/mobyo/resumes/entities/resume-engines.entity.d.ts +9 -0
  44. package/dist/mobyo/resumes/entities/resume-engines.entity.js +25 -0
  45. package/dist/mobyo/resumes/entities/resume-item-detail.entity.d.ts +10 -0
  46. package/dist/mobyo/resumes/{vouchers/entities/resume-voucher-item-detail.entity.js → entities/resume-item-detail.entity.js} +8 -5
  47. package/dist/mobyo/resumes/entities/resume-item.entity.d.ts +7 -0
  48. package/dist/mobyo/resumes/entities/resume-item.entity.js +22 -0
  49. package/dist/mobyo/resumes/index.d.ts +5 -0
  50. package/dist/mobyo/resumes/index.js +5 -0
  51. package/dist/mobyo/resumes/interfaces/i-resume-engines.d.ts +8 -0
  52. package/dist/mobyo/resumes/interfaces/i-resume-engines.js +2 -0
  53. package/dist/mobyo/resumes/interfaces/i-resume-item-detail.d.ts +8 -0
  54. package/dist/mobyo/resumes/interfaces/i-resume-item-detail.js +2 -0
  55. package/dist/mobyo/resumes/interfaces/i-resume-item.d.ts +5 -0
  56. package/dist/mobyo/resumes/interfaces/i-resume-item.js +2 -0
  57. package/dist/mobyo/resumes/interfaces/index.d.ts +3 -0
  58. package/dist/mobyo/resumes/interfaces/index.js +2 -0
  59. package/dist/mobyo/resumes/orders/entities/index.d.ts +1 -0
  60. package/dist/mobyo/resumes/orders/entities/index.js +5 -0
  61. package/dist/mobyo/resumes/orders/entities/resume.entity.d.ts +17 -0
  62. package/dist/mobyo/resumes/orders/entities/resume.entity.js +25 -0
  63. package/dist/mobyo/resumes/orders/index.d.ts +2 -0
  64. package/dist/mobyo/resumes/orders/index.js +18 -0
  65. package/dist/mobyo/resumes/orders/interfaces/i-resume.d.ts +14 -0
  66. package/dist/mobyo/resumes/orders/interfaces/i-resume.js +2 -0
  67. package/dist/mobyo/resumes/orders/interfaces/index.d.ts +1 -0
  68. package/dist/mobyo/resumes/orders/interfaces/index.js +2 -0
  69. package/dist/mobyo/resumes/products/entities/index.d.ts +1 -0
  70. package/dist/mobyo/resumes/products/entities/index.js +5 -0
  71. package/dist/mobyo/resumes/products/entities/resume.entity.d.ts +17 -0
  72. package/dist/mobyo/resumes/products/entities/resume.entity.js +25 -0
  73. package/dist/mobyo/resumes/products/index.d.ts +2 -0
  74. package/dist/mobyo/resumes/products/index.js +18 -0
  75. package/dist/mobyo/resumes/products/interfaces/i-resume.d.ts +14 -0
  76. package/dist/mobyo/resumes/products/interfaces/i-resume.js +2 -0
  77. package/dist/mobyo/resumes/products/interfaces/index.d.ts +1 -0
  78. package/dist/mobyo/resumes/products/interfaces/index.js +2 -0
  79. package/dist/mobyo/resumes/vouchers/entities/index.d.ts +1 -3
  80. package/dist/mobyo/resumes/vouchers/entities/index.js +3 -7
  81. package/dist/mobyo/resumes/vouchers/entities/{resume-voucher.entity.d.ts → resume.entity.d.ts} +4 -4
  82. package/dist/mobyo/resumes/vouchers/entities/{resume-voucher.entity.js → resume.entity.js} +2 -2
  83. package/dist/mobyo/resumes/vouchers/interfaces/{i-resume-voucher.d.ts → i-resume.d.ts} +4 -4
  84. package/dist/mobyo/resumes/vouchers/interfaces/i-resume.js +2 -0
  85. package/dist/mobyo/resumes/vouchers/interfaces/index.d.ts +1 -2
  86. package/dist/package.json +1 -1
  87. package/package.json +1 -1
  88. package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.mjs +0 -17
  89. package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.mjs +0 -15
  90. package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher.entity.mjs +0 -21
  91. package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.mjs +0 -2
  92. package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher.mjs +0 -2
  93. package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.d.ts +0 -10
  94. package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.d.ts +0 -7
  95. package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.js +0 -19
  96. package/dist/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.d.ts +0 -12
  97. /package/dist/mobyo/resumes/{vouchers/interfaces/i-resume-voucher-item.js → customers/interfaces/i-resume.js} +0 -0
  98. /package/dist/mobyo/resumes/{vouchers/interfaces/i-resume-voucher.js → customers/interfaces/index.js} +0 -0
@@ -0,0 +1 @@
1
+ export { ResumeCustomerEntity } from './resume.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeCustomerEntity = void 0;
4
+ var resume_entity_1 = require("./resume.entity");
5
+ Object.defineProperty(exports, "ResumeCustomerEntity", { enumerable: true, get: function () { return resume_entity_1.ResumeCustomerEntity; } });
@@ -0,0 +1,17 @@
1
+ import { IMobyoInfo, INatiInfo } from '../../../../general';
2
+ import { ResumeItemEntity } from '../../entities';
3
+ import { IResumeEngine } from '../../interfaces';
4
+ import { IResumeCustomer } from '../interfaces';
5
+ export declare class ResumeCustomerEntity implements IResumeCustomer {
6
+ id: string;
7
+ createdAt: Date;
8
+ updatedAt: Date;
9
+ item: ResumeItemEntity;
10
+ items: {
11
+ id: string;
12
+ item: ResumeItemEntity;
13
+ }[];
14
+ engines: IResumeEngine[];
15
+ info: IMobyoInfo | INatiInfo;
16
+ constructor(data?: Partial<ResumeCustomerEntity>);
17
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeCustomerEntity = void 0;
4
+ var general_1 = require("../../../../general");
5
+ var entities_1 = require("../../entities");
6
+ var ResumeCustomerEntity = /** @class */ (function () {
7
+ function ResumeCustomerEntity(data) {
8
+ this.id = ''; // padrão AAAAMMDD
9
+ this.createdAt = new Date();
10
+ this.updatedAt = new Date();
11
+ this.item = new entities_1.ResumeItemEntity();
12
+ this.items = []; // id no padrão MM - DD - HH
13
+ this.engines = [];
14
+ this.info = new general_1.MobyoInfoEntity();
15
+ if (data) {
16
+ for (var key in data) {
17
+ if (data.hasOwnProperty(key) && key in this) {
18
+ this[key] = data[key];
19
+ }
20
+ }
21
+ }
22
+ }
23
+ return ResumeCustomerEntity;
24
+ }());
25
+ exports.ResumeCustomerEntity = ResumeCustomerEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,14 @@
1
+ import { IMobyoInfo, INatiInfo } from '../../../../general';
2
+ import { IResumeEngine, IResumeItem } from '../../interfaces';
3
+ export interface IResumeCustomer {
4
+ id: string;
5
+ createdAt: Date;
6
+ updatedAt: Date;
7
+ item: IResumeItem;
8
+ items: {
9
+ id: string;
10
+ item: IResumeItem;
11
+ }[];
12
+ engines: IResumeEngine[];
13
+ info: IMobyoInfo | INatiInfo;
14
+ }
@@ -0,0 +1 @@
1
+ export { IResumeCustomer } from './i-resume';
@@ -0,0 +1,3 @@
1
+ export { ResumeEnginesEntity } from './resume-engines.entity';
2
+ export { ResumeItemDetailEntity } from './resume-item-detail.entity';
3
+ export { ResumeItemEntity } from './resume-item.entity';
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeItemEntity = exports.ResumeItemDetailEntity = exports.ResumeEnginesEntity = void 0;
4
+ var resume_engines_entity_1 = require("./resume-engines.entity");
5
+ Object.defineProperty(exports, "ResumeEnginesEntity", { enumerable: true, get: function () { return resume_engines_entity_1.ResumeEnginesEntity; } });
6
+ var resume_item_detail_entity_1 = require("./resume-item-detail.entity");
7
+ Object.defineProperty(exports, "ResumeItemDetailEntity", { enumerable: true, get: function () { return resume_item_detail_entity_1.ResumeItemDetailEntity; } });
8
+ var resume_item_entity_1 = require("./resume-item.entity");
9
+ Object.defineProperty(exports, "ResumeItemEntity", { enumerable: true, get: function () { return resume_item_entity_1.ResumeItemEntity; } });
@@ -0,0 +1,9 @@
1
+ import { MobyoEEngineType } from '../../mobyo-api';
2
+ import { IResumeEngine, IResumeItem } from '../interfaces';
3
+ export declare class ResumeEnginesEntity implements IResumeEngine {
4
+ id: string;
5
+ item: IResumeItem;
6
+ name: string;
7
+ type: MobyoEEngineType;
8
+ constructor(data?: Partial<ResumeEnginesEntity>);
9
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeEnginesEntity = void 0;
4
+ var mobyo_api_1 = require("../../mobyo-api");
5
+ var resume_item_entity_1 = require("./resume-item.entity");
6
+ var ResumeEnginesEntity = /** @class */ (function () {
7
+ // #endregion Properties (4)
8
+ // #region Constructors (1)
9
+ function ResumeEnginesEntity(data) {
10
+ // #region Properties (4)
11
+ this.id = '';
12
+ this.item = new resume_item_entity_1.ResumeItemEntity();
13
+ this.name = '';
14
+ this.type = mobyo_api_1.MobyoEEngineType.mobyo;
15
+ if (data) {
16
+ for (var key in data) {
17
+ if (data.hasOwnProperty(key) && key in this) {
18
+ this[key] = data[key];
19
+ }
20
+ }
21
+ }
22
+ }
23
+ return ResumeEnginesEntity;
24
+ }());
25
+ exports.ResumeEnginesEntity = ResumeEnginesEntity;
@@ -0,0 +1,10 @@
1
+ import { ICoords } from '../../../general';
2
+ import { IResumeItemDetail } from '../interfaces';
3
+ export declare class ResumeItemDetailEntity implements IResumeItemDetail {
4
+ cords: ICoords[];
5
+ count: number;
6
+ orderItemsCount: number;
7
+ totalAmount: number;
8
+ totalDiscount: number;
9
+ constructor(data?: Partial<ResumeItemDetailEntity>);
10
+ }
@@ -1,8 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeVoucherItemDetailEntity = void 0;
4
- var ResumeVoucherItemDetailEntity = /** @class */ (function () {
5
- function ResumeVoucherItemDetailEntity(data) {
3
+ exports.ResumeItemDetailEntity = void 0;
4
+ var ResumeItemDetailEntity = /** @class */ (function () {
5
+ // #endregion Properties (5)
6
+ // #region Constructors (1)
7
+ function ResumeItemDetailEntity(data) {
8
+ // #region Properties (5)
6
9
  this.cords = [];
7
10
  this.count = 0;
8
11
  this.orderItemsCount = 0;
@@ -16,6 +19,6 @@ var ResumeVoucherItemDetailEntity = /** @class */ (function () {
16
19
  }
17
20
  }
18
21
  }
19
- return ResumeVoucherItemDetailEntity;
22
+ return ResumeItemDetailEntity;
20
23
  }());
21
- exports.ResumeVoucherItemDetailEntity = ResumeVoucherItemDetailEntity;
24
+ exports.ResumeItemDetailEntity = ResumeItemDetailEntity;
@@ -0,0 +1,7 @@
1
+ import { IResumeItem } from '../interfaces';
2
+ import { ResumeItemDetailEntity } from './resume-item-detail.entity';
3
+ export declare class ResumeItemEntity implements IResumeItem {
4
+ cancelled: ResumeItemDetailEntity;
5
+ confirmed: ResumeItemDetailEntity;
6
+ constructor(data?: Partial<ResumeItemEntity>);
7
+ }
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeItemEntity = void 0;
4
+ var resume_item_detail_entity_1 = require("./resume-item-detail.entity");
5
+ var ResumeItemEntity = /** @class */ (function () {
6
+ // #endregion Properties (2)
7
+ // #region Constructors (1)
8
+ function ResumeItemEntity(data) {
9
+ // #region Properties (2)
10
+ this.cancelled = new resume_item_detail_entity_1.ResumeItemDetailEntity();
11
+ this.confirmed = new resume_item_detail_entity_1.ResumeItemDetailEntity();
12
+ if (data) {
13
+ for (var key in data) {
14
+ if (data.hasOwnProperty(key) && key in this) {
15
+ this[key] = data[key];
16
+ }
17
+ }
18
+ }
19
+ }
20
+ return ResumeItemEntity;
21
+ }());
22
+ exports.ResumeItemEntity = ResumeItemEntity;
@@ -1 +1,6 @@
1
+ export * from './customers';
2
+ export * from './entities';
3
+ export * from './interfaces';
4
+ export * from './orders';
5
+ export * from './products';
1
6
  export * from './vouchers';
@@ -14,4 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./customers"), exports);
18
+ __exportStar(require("./entities"), exports);
19
+ __exportStar(require("./interfaces"), exports);
20
+ __exportStar(require("./orders"), exports);
21
+ __exportStar(require("./products"), exports);
17
22
  __exportStar(require("./vouchers"), exports);
@@ -0,0 +1,8 @@
1
+ import { EEngineType } from '../../mobyo-api/enum/engine-type.enum';
2
+ import { IResumeItem } from './i-resume-item';
3
+ export interface IResumeEngine {
4
+ id: string;
5
+ name: string;
6
+ type: EEngineType;
7
+ item: IResumeItem;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { ICoords } from '../../../general';
2
+ export interface IResumeItemDetail {
3
+ cords: ICoords[];
4
+ count: number;
5
+ orderItemsCount: number;
6
+ totalAmount: number;
7
+ totalDiscount: number;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,5 @@
1
+ import { IResumeItemDetail } from './i-resume-item-detail';
2
+ export interface IResumeItem {
3
+ confirmed: IResumeItemDetail;
4
+ cancelled: IResumeItemDetail;
5
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,3 @@
1
+ export { IResumeEngine } from './i-resume-engines';
2
+ export { IResumeItem } from './i-resume-item';
3
+ export { IResumeItemDetail } from './i-resume-item-detail';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { ResumeOrderEntity } from './resume.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeOrderEntity = void 0;
4
+ var resume_entity_1 = require("./resume.entity");
5
+ Object.defineProperty(exports, "ResumeOrderEntity", { enumerable: true, get: function () { return resume_entity_1.ResumeOrderEntity; } });
@@ -0,0 +1,17 @@
1
+ import { IMobyoInfo, INatiInfo } from '../../../../general';
2
+ import { ResumeItemEntity } from '../../entities';
3
+ import { IResumeEngine } from '../../interfaces';
4
+ import { IResumeOrder } from '../interfaces/i-resume';
5
+ export declare class ResumeOrderEntity implements IResumeOrder {
6
+ id: string;
7
+ createdAt: Date;
8
+ updatedAt: Date;
9
+ item: ResumeItemEntity;
10
+ items: {
11
+ id: string;
12
+ item: ResumeItemEntity;
13
+ }[];
14
+ engines: IResumeEngine[];
15
+ info: IMobyoInfo | INatiInfo;
16
+ constructor(data?: Partial<ResumeOrderEntity>);
17
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeOrderEntity = void 0;
4
+ var general_1 = require("../../../../general");
5
+ var entities_1 = require("../../entities");
6
+ var ResumeOrderEntity = /** @class */ (function () {
7
+ function ResumeOrderEntity(data) {
8
+ this.id = ''; // padrão AAAAMMDD
9
+ this.createdAt = new Date();
10
+ this.updatedAt = new Date();
11
+ this.item = new entities_1.ResumeItemEntity();
12
+ this.items = []; // id no padrão MM - DD - HH
13
+ this.engines = [];
14
+ this.info = new general_1.MobyoInfoEntity();
15
+ if (data) {
16
+ for (var key in data) {
17
+ if (data.hasOwnProperty(key) && key in this) {
18
+ this[key] = data[key];
19
+ }
20
+ }
21
+ }
22
+ }
23
+ return ResumeOrderEntity;
24
+ }());
25
+ exports.ResumeOrderEntity = ResumeOrderEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,14 @@
1
+ import { IMobyoInfo, INatiInfo } from '../../../../general';
2
+ import { IResumeEngine, IResumeItem } from '../../interfaces';
3
+ export interface IResumeOrder {
4
+ id: string;
5
+ createdAt: Date;
6
+ updatedAt: Date;
7
+ item: IResumeItem;
8
+ items: {
9
+ id: string;
10
+ item: IResumeItem;
11
+ }[];
12
+ engines: IResumeEngine[];
13
+ info: IMobyoInfo | INatiInfo;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IResumeOrder } from './i-resume';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { ResumeProductEntity } from './resume.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeProductEntity = void 0;
4
+ var resume_entity_1 = require("./resume.entity");
5
+ Object.defineProperty(exports, "ResumeProductEntity", { enumerable: true, get: function () { return resume_entity_1.ResumeProductEntity; } });
@@ -0,0 +1,17 @@
1
+ import { IMobyoInfo, INatiInfo } from '../../../../general';
2
+ import { ResumeItemEntity } from '../../entities';
3
+ import { IResumeEngine } from '../../interfaces';
4
+ import { IResumeProduct } from '../interfaces/i-resume';
5
+ export declare class ResumeProductEntity implements IResumeProduct {
6
+ id: string;
7
+ createdAt: Date;
8
+ updatedAt: Date;
9
+ item: ResumeItemEntity;
10
+ items: {
11
+ id: string;
12
+ item: ResumeItemEntity;
13
+ }[];
14
+ engines: IResumeEngine[];
15
+ info: IMobyoInfo | INatiInfo;
16
+ constructor(data?: Partial<ResumeProductEntity>);
17
+ }
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResumeProductEntity = void 0;
4
+ var general_1 = require("../../../../general");
5
+ var entities_1 = require("../../entities");
6
+ var ResumeProductEntity = /** @class */ (function () {
7
+ function ResumeProductEntity(data) {
8
+ this.id = ''; // padrão AAAAMMDD
9
+ this.createdAt = new Date();
10
+ this.updatedAt = new Date();
11
+ this.item = new entities_1.ResumeItemEntity();
12
+ this.items = []; // id no padrão MM - DD - HH
13
+ this.engines = [];
14
+ this.info = new general_1.MobyoInfoEntity();
15
+ if (data) {
16
+ for (var key in data) {
17
+ if (data.hasOwnProperty(key) && key in this) {
18
+ this[key] = data[key];
19
+ }
20
+ }
21
+ }
22
+ }
23
+ return ResumeProductEntity;
24
+ }());
25
+ exports.ResumeProductEntity = ResumeProductEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,14 @@
1
+ import { IMobyoInfo, INatiInfo } from '../../../../general';
2
+ import { IResumeEngine, IResumeItem } from '../../interfaces';
3
+ export interface IResumeProduct {
4
+ id: string;
5
+ createdAt: Date;
6
+ updatedAt: Date;
7
+ item: IResumeItem;
8
+ items: {
9
+ id: string;
10
+ item: IResumeItem;
11
+ }[];
12
+ engines: IResumeEngine[];
13
+ info: IMobyoInfo | INatiInfo;
14
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IResumeProduct } from './i-resume';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1 @@
1
- export { ResumeVoucherItemDetailEntity } from './resume-voucher-item-detail.entity';
2
- export { ResumeVoucherItemEntity } from './resume-voucher-item.entity';
3
- export { ResumeVoucherEntity } from './resume-voucher.entity';
1
+ export { ResumeVoucherEntity } from './resume.entity';
@@ -1,9 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResumeVoucherEntity = exports.ResumeVoucherItemEntity = exports.ResumeVoucherItemDetailEntity = void 0;
4
- var resume_voucher_item_detail_entity_1 = require("./resume-voucher-item-detail.entity");
5
- Object.defineProperty(exports, "ResumeVoucherItemDetailEntity", { enumerable: true, get: function () { return resume_voucher_item_detail_entity_1.ResumeVoucherItemDetailEntity; } });
6
- var resume_voucher_item_entity_1 = require("./resume-voucher-item.entity");
7
- Object.defineProperty(exports, "ResumeVoucherItemEntity", { enumerable: true, get: function () { return resume_voucher_item_entity_1.ResumeVoucherItemEntity; } });
8
- var resume_voucher_entity_1 = require("./resume-voucher.entity");
9
- Object.defineProperty(exports, "ResumeVoucherEntity", { enumerable: true, get: function () { return resume_voucher_entity_1.ResumeVoucherEntity; } });
3
+ exports.ResumeVoucherEntity = void 0;
4
+ var resume_entity_1 = require("./resume.entity");
5
+ Object.defineProperty(exports, "ResumeVoucherEntity", { enumerable: true, get: function () { return resume_entity_1.ResumeVoucherEntity; } });
@@ -1,19 +1,19 @@
1
1
  import { IMobyoInfo, INatiInfo } from '../../../../general';
2
2
  import { EVoucherTargetTypes } from '../../../../voucher';
3
+ import { ResumeItemEntity } from '../../entities';
3
4
  import { IResumeVoucher } from '../interfaces';
4
- import { ResumeVoucherItemEntity } from './resume-voucher-item.entity';
5
5
  export declare class ResumeVoucherEntity implements IResumeVoucher {
6
6
  id: string;
7
7
  createdAt: Date;
8
8
  updatedAt: Date;
9
- item: ResumeVoucherItemEntity;
9
+ item: ResumeItemEntity;
10
10
  items: {
11
11
  id: string;
12
- item: ResumeVoucherItemEntity;
12
+ item: ResumeItemEntity;
13
13
  }[];
14
14
  targetType: {
15
15
  id: EVoucherTargetTypes;
16
- item: ResumeVoucherItemEntity;
16
+ item: ResumeItemEntity;
17
17
  }[];
18
18
  info: IMobyoInfo | INatiInfo;
19
19
  constructor(data?: Partial<ResumeVoucherEntity>);
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ResumeVoucherEntity = void 0;
4
4
  var general_1 = require("../../../../general");
5
- var resume_voucher_item_entity_1 = require("./resume-voucher-item.entity");
5
+ var entities_1 = require("../../entities");
6
6
  var ResumeVoucherEntity = /** @class */ (function () {
7
7
  function ResumeVoucherEntity(data) {
8
8
  this.id = ''; // padrão AAAAMMDD
9
9
  this.createdAt = new Date();
10
10
  this.updatedAt = new Date();
11
- this.item = new resume_voucher_item_entity_1.ResumeVoucherItemEntity();
11
+ this.item = new entities_1.ResumeItemEntity();
12
12
  this.items = []; // id no padrão MM - DD - HH
13
13
  this.targetType = [];
14
14
  this.info = new general_1.MobyoInfoEntity();
@@ -1,18 +1,18 @@
1
1
  import { IMobyoInfo, INatiInfo } from '../../../../general';
2
2
  import { EVoucherTargetTypes } from '../../../../voucher';
3
- import { IResumeVoucherItem } from './i-resume-voucher-item';
3
+ import { IResumeItem } from '../../interfaces';
4
4
  export interface IResumeVoucher {
5
5
  id: string;
6
6
  createdAt: Date;
7
7
  updatedAt: Date;
8
- item: IResumeVoucherItem;
8
+ item: IResumeItem;
9
9
  items: {
10
10
  id: string;
11
- item: IResumeVoucherItem;
11
+ item: IResumeItem;
12
12
  }[];
13
13
  targetType: {
14
14
  id: EVoucherTargetTypes;
15
- item: IResumeVoucherItem;
15
+ item: IResumeItem;
16
16
  }[];
17
17
  info: IMobyoInfo | INatiInfo;
18
18
  }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,2 +1 @@
1
- export { IResumeVoucher } from './i-resume-voucher';
2
- export { IResumeVoucherItem, IResumeVoucherItemDetail } from './i-resume-voucher-item';
1
+ export { IResumeVoucher } from './i-resume';
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.06",
3
+ "version": "1.5.08",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.5.06",
3
+ "version": "1.5.08",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",