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.
- package/dist/99-interfaces/interfaces/dtos/i-token.d.ts +1 -0
- package/dist/esm2022/99-interfaces/interfaces/dtos/i-token.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/customers/entities/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/customers/entities/resume.entity.mjs +21 -0
- package/dist/esm2022/mobyo/resumes/customers/index.mjs +3 -0
- package/dist/esm2022/mobyo/resumes/customers/interfaces/i-resume.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/customers/interfaces/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/entities/index.mjs +4 -0
- package/dist/esm2022/mobyo/resumes/entities/resume-engines.entity.mjs +21 -0
- package/dist/esm2022/mobyo/resumes/entities/resume-item-detail.entity.mjs +20 -0
- package/dist/esm2022/mobyo/resumes/entities/resume-item.entity.mjs +18 -0
- package/dist/esm2022/mobyo/resumes/index.mjs +6 -1
- package/dist/esm2022/mobyo/resumes/interfaces/i-resume-engines.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/interfaces/i-resume-item-detail.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/interfaces/i-resume-item.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/interfaces/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/orders/entities/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/orders/entities/resume.entity.mjs +21 -0
- package/dist/esm2022/mobyo/resumes/orders/index.mjs +3 -0
- package/dist/esm2022/mobyo/resumes/orders/interfaces/i-resume.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/orders/interfaces/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/products/entities/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/products/entities/resume.entity.mjs +21 -0
- package/dist/esm2022/mobyo/resumes/products/index.mjs +3 -0
- package/dist/esm2022/mobyo/resumes/products/interfaces/i-resume.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/products/interfaces/index.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/vouchers/entities/index.mjs +2 -4
- package/dist/esm2022/mobyo/resumes/vouchers/entities/resume.entity.mjs +21 -0
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume.mjs +2 -0
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +88 -6
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/resumes/customers/entities/index.d.ts +1 -0
- package/dist/mobyo/resumes/customers/entities/index.js +5 -0
- package/dist/mobyo/resumes/customers/entities/resume.entity.d.ts +17 -0
- package/dist/mobyo/resumes/customers/entities/resume.entity.js +25 -0
- package/dist/mobyo/resumes/customers/index.d.ts +2 -0
- package/dist/mobyo/resumes/customers/index.js +18 -0
- package/dist/mobyo/resumes/customers/interfaces/i-resume.d.ts +14 -0
- package/dist/mobyo/resumes/customers/interfaces/index.d.ts +1 -0
- package/dist/mobyo/resumes/entities/index.d.ts +3 -0
- package/dist/mobyo/resumes/entities/index.js +9 -0
- package/dist/mobyo/resumes/entities/resume-engines.entity.d.ts +9 -0
- package/dist/mobyo/resumes/entities/resume-engines.entity.js +25 -0
- package/dist/mobyo/resumes/entities/resume-item-detail.entity.d.ts +10 -0
- package/dist/mobyo/resumes/{vouchers/entities/resume-voucher-item-detail.entity.js → entities/resume-item-detail.entity.js} +8 -5
- package/dist/mobyo/resumes/entities/resume-item.entity.d.ts +7 -0
- package/dist/mobyo/resumes/entities/resume-item.entity.js +22 -0
- package/dist/mobyo/resumes/index.d.ts +5 -0
- package/dist/mobyo/resumes/index.js +5 -0
- package/dist/mobyo/resumes/interfaces/i-resume-engines.d.ts +8 -0
- package/dist/mobyo/resumes/interfaces/i-resume-engines.js +2 -0
- package/dist/mobyo/resumes/interfaces/i-resume-item-detail.d.ts +8 -0
- package/dist/mobyo/resumes/interfaces/i-resume-item-detail.js +2 -0
- package/dist/mobyo/resumes/interfaces/i-resume-item.d.ts +5 -0
- package/dist/mobyo/resumes/interfaces/i-resume-item.js +2 -0
- package/dist/mobyo/resumes/interfaces/index.d.ts +3 -0
- package/dist/mobyo/resumes/interfaces/index.js +2 -0
- package/dist/mobyo/resumes/orders/entities/index.d.ts +1 -0
- package/dist/mobyo/resumes/orders/entities/index.js +5 -0
- package/dist/mobyo/resumes/orders/entities/resume.entity.d.ts +17 -0
- package/dist/mobyo/resumes/orders/entities/resume.entity.js +25 -0
- package/dist/mobyo/resumes/orders/index.d.ts +2 -0
- package/dist/mobyo/resumes/orders/index.js +18 -0
- package/dist/mobyo/resumes/orders/interfaces/i-resume.d.ts +14 -0
- package/dist/mobyo/resumes/orders/interfaces/i-resume.js +2 -0
- package/dist/mobyo/resumes/orders/interfaces/index.d.ts +1 -0
- package/dist/mobyo/resumes/orders/interfaces/index.js +2 -0
- package/dist/mobyo/resumes/products/entities/index.d.ts +1 -0
- package/dist/mobyo/resumes/products/entities/index.js +5 -0
- package/dist/mobyo/resumes/products/entities/resume.entity.d.ts +17 -0
- package/dist/mobyo/resumes/products/entities/resume.entity.js +25 -0
- package/dist/mobyo/resumes/products/index.d.ts +2 -0
- package/dist/mobyo/resumes/products/index.js +18 -0
- package/dist/mobyo/resumes/products/interfaces/i-resume.d.ts +14 -0
- package/dist/mobyo/resumes/products/interfaces/i-resume.js +2 -0
- package/dist/mobyo/resumes/products/interfaces/index.d.ts +1 -0
- package/dist/mobyo/resumes/products/interfaces/index.js +2 -0
- package/dist/mobyo/resumes/vouchers/entities/index.d.ts +1 -3
- package/dist/mobyo/resumes/vouchers/entities/index.js +3 -7
- package/dist/mobyo/resumes/vouchers/entities/{resume-voucher.entity.d.ts → resume.entity.d.ts} +4 -4
- package/dist/mobyo/resumes/vouchers/entities/{resume-voucher.entity.js → resume.entity.js} +2 -2
- package/dist/mobyo/resumes/vouchers/interfaces/{i-resume-voucher.d.ts → i-resume.d.ts} +4 -4
- package/dist/mobyo/resumes/vouchers/interfaces/i-resume.js +2 -0
- package/dist/mobyo/resumes/vouchers/interfaces/index.d.ts +1 -2
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.mjs +0 -17
- package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.mjs +0 -15
- package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher.entity.mjs +0 -21
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.mjs +0 -2
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher.mjs +0 -2
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.d.ts +0 -10
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.d.ts +0 -7
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.js +0 -19
- package/dist/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.d.ts +0 -12
- /package/dist/mobyo/resumes/{vouchers/interfaces/i-resume-voucher-item.js → customers/interfaces/i-resume.js} +0 -0
- /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,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,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.
|
4
|
-
var
|
5
|
-
|
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
|
22
|
+
return ResumeItemDetailEntity;
|
20
23
|
}());
|
21
|
-
exports.
|
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;
|
@@ -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 @@
|
|
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,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 @@
|
|
1
|
+
export { IResumeOrder } from './i-resume';
|
@@ -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,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 @@
|
|
1
|
+
export { IResumeProduct } from './i-resume';
|
@@ -1,3 +1 @@
|
|
1
|
-
export {
|
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 =
|
4
|
-
var
|
5
|
-
Object.defineProperty(exports, "
|
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; } });
|
package/dist/mobyo/resumes/vouchers/entities/{resume-voucher.entity.d.ts → resume.entity.d.ts}
RENAMED
@@ -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:
|
9
|
+
item: ResumeItemEntity;
|
10
10
|
items: {
|
11
11
|
id: string;
|
12
|
-
item:
|
12
|
+
item: ResumeItemEntity;
|
13
13
|
}[];
|
14
14
|
targetType: {
|
15
15
|
id: EVoucherTargetTypes;
|
16
|
-
item:
|
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
|
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
|
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 {
|
3
|
+
import { IResumeItem } from '../../interfaces';
|
4
4
|
export interface IResumeVoucher {
|
5
5
|
id: string;
|
6
6
|
createdAt: Date;
|
7
7
|
updatedAt: Date;
|
8
|
-
item:
|
8
|
+
item: IResumeItem;
|
9
9
|
items: {
|
10
10
|
id: string;
|
11
|
-
item:
|
11
|
+
item: IResumeItem;
|
12
12
|
}[];
|
13
13
|
targetType: {
|
14
14
|
id: EVoucherTargetTypes;
|
15
|
-
item:
|
15
|
+
item: IResumeItem;
|
16
16
|
}[];
|
17
17
|
info: IMobyoInfo | INatiInfo;
|
18
18
|
}
|
@@ -1,2 +1 @@
|
|
1
|
-
export { IResumeVoucher } from './i-resume
|
2
|
-
export { IResumeVoucherItem, IResumeVoucherItemDetail } from './i-resume-voucher-item';
|
1
|
+
export { IResumeVoucher } from './i-resume';
|
package/dist/package.json
CHANGED