cecon-interfaces 1.4.31 → 1.5.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/mobyo/resumes/vouchers/entities/index.mjs +4 -0
- package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.mjs +17 -0
- package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.mjs +15 -0
- package/dist/esm2022/mobyo/resumes/vouchers/entities/resume-voucher.entity.mjs +21 -0
- package/dist/esm2022/mobyo/resumes/vouchers/index.mjs +2 -1
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/i-resume-voucher-item.mjs +1 -1
- package/dist/esm2022/mobyo/resumes/vouchers/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +51 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/mobyo/resumes/vouchers/entities/index.d.ts +3 -0
- package/dist/mobyo/resumes/vouchers/entities/index.js +9 -0
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.d.ts +10 -0
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item-detail.entity.js +21 -0
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.d.ts +7 -0
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher-item.entity.js +19 -0
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher.entity.d.ts +20 -0
- package/dist/mobyo/resumes/vouchers/entities/resume-voucher.entity.js +25 -0
- package/dist/mobyo/resumes/vouchers/index.d.ts +1 -0
- package/dist/mobyo/resumes/vouchers/index.js +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
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; } });
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ICoords } from '../../../../general';
|
2
|
+
import { IResumeVoucherItemDetail } from '../interfaces';
|
3
|
+
export declare class ResumeVoucherItemDetailEntity implements IResumeVoucherItemDetail {
|
4
|
+
cords: ICoords[];
|
5
|
+
count: number;
|
6
|
+
orderItemsCount: number;
|
7
|
+
totalAmount: number;
|
8
|
+
totalDiscount: number;
|
9
|
+
constructor(data?: Partial<ResumeVoucherItemDetailEntity>);
|
10
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeVoucherItemDetailEntity = void 0;
|
4
|
+
var ResumeVoucherItemDetailEntity = /** @class */ (function () {
|
5
|
+
function ResumeVoucherItemDetailEntity(data) {
|
6
|
+
this.cords = [];
|
7
|
+
this.count = 0;
|
8
|
+
this.orderItemsCount = 0;
|
9
|
+
this.totalAmount = 0;
|
10
|
+
this.totalDiscount = 0;
|
11
|
+
if (data) {
|
12
|
+
for (var key in data) {
|
13
|
+
if (data.hasOwnProperty(key) && key in this) {
|
14
|
+
this[key] = data[key];
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
return ResumeVoucherItemDetailEntity;
|
20
|
+
}());
|
21
|
+
exports.ResumeVoucherItemDetailEntity = ResumeVoucherItemDetailEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { IResumeVoucherItem } from '../interfaces';
|
2
|
+
import { ResumeVoucherItemDetailEntity } from './resume-voucher-item-detail.entity';
|
3
|
+
export declare class ResumeVoucherItemEntity implements IResumeVoucherItem {
|
4
|
+
confirmed: ResumeVoucherItemDetailEntity;
|
5
|
+
cancelled: ResumeVoucherItemDetailEntity;
|
6
|
+
constructor(data?: Partial<ResumeVoucherItemEntity>);
|
7
|
+
}
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeVoucherItemEntity = void 0;
|
4
|
+
var resume_voucher_item_detail_entity_1 = require("./resume-voucher-item-detail.entity");
|
5
|
+
var ResumeVoucherItemEntity = /** @class */ (function () {
|
6
|
+
function ResumeVoucherItemEntity(data) {
|
7
|
+
this.confirmed = new resume_voucher_item_detail_entity_1.ResumeVoucherItemDetailEntity();
|
8
|
+
this.cancelled = new resume_voucher_item_detail_entity_1.ResumeVoucherItemDetailEntity();
|
9
|
+
if (data) {
|
10
|
+
for (var key in data) {
|
11
|
+
if (data.hasOwnProperty(key) && key in this) {
|
12
|
+
this[key] = data[key];
|
13
|
+
}
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
return ResumeVoucherItemEntity;
|
18
|
+
}());
|
19
|
+
exports.ResumeVoucherItemEntity = ResumeVoucherItemEntity;
|
@@ -0,0 +1,20 @@
|
|
1
|
+
import { IMobyoInfo, INatiInfo } from '../../../../general';
|
2
|
+
import { EVoucherTargetTypes } from '../../../../voucher';
|
3
|
+
import { IResumeVoucher } from '../interfaces';
|
4
|
+
import { ResumeVoucherItemEntity } from './resume-voucher-item.entity';
|
5
|
+
export declare class ResumeVoucherEntity implements IResumeVoucher {
|
6
|
+
id: string;
|
7
|
+
createdAt: Date;
|
8
|
+
updatedAt: Date;
|
9
|
+
item: ResumeVoucherItemEntity;
|
10
|
+
items: {
|
11
|
+
id: string;
|
12
|
+
item: ResumeVoucherItemEntity;
|
13
|
+
}[];
|
14
|
+
targetType: {
|
15
|
+
id: EVoucherTargetTypes;
|
16
|
+
item: ResumeVoucherItemEntity;
|
17
|
+
}[];
|
18
|
+
info: IMobyoInfo | INatiInfo;
|
19
|
+
constructor(data?: Partial<ResumeVoucherEntity>);
|
20
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeVoucherEntity = void 0;
|
4
|
+
var general_1 = require("../../../../general");
|
5
|
+
var resume_voucher_item_entity_1 = require("./resume-voucher-item.entity");
|
6
|
+
var ResumeVoucherEntity = /** @class */ (function () {
|
7
|
+
function ResumeVoucherEntity(data) {
|
8
|
+
this.id = ''; // padrão AAAAMMDD
|
9
|
+
this.createdAt = new Date();
|
10
|
+
this.updatedAt = new Date();
|
11
|
+
this.item = new resume_voucher_item_entity_1.ResumeVoucherItemEntity();
|
12
|
+
this.items = []; // id no padrão MM - DD - HH
|
13
|
+
this.targetType = [];
|
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 ResumeVoucherEntity;
|
24
|
+
}());
|
25
|
+
exports.ResumeVoucherEntity = ResumeVoucherEntity;
|
@@ -14,4 +14,5 @@ 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("./entities"), exports);
|
17
18
|
__exportStar(require("./interfaces"), exports);
|
package/dist/package.json
CHANGED