cecon-interfaces 1.1.4 → 1.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/resume/entities/index.mjs +8 -0
- package/dist/esm2022/resume/entities/resume-collection.entity.mjs +19 -0
- package/dist/esm2022/resume/entities/resume-day.entity.mjs +21 -0
- package/dist/esm2022/resume/entities/resume-hour.entity.mjs +19 -0
- package/dist/esm2022/resume/entities/resume-month.entity.mjs +21 -0
- package/dist/esm2022/resume/entities/resume-total.entity.mjs +20 -0
- package/dist/esm2022/resume/entities/resume-year.entity.mjs +20 -0
- package/dist/esm2022/resume/entities/resume.entity.mjs +17 -0
- package/dist/esm2022/resume/index.mjs +3 -0
- package/dist/esm2022/resume/interfaces/i-resume-collection.mjs +2 -0
- package/dist/esm2022/resume/interfaces/i-resume-day.mjs +2 -0
- package/dist/esm2022/resume/interfaces/i-resume-hour.mjs +2 -0
- package/dist/esm2022/resume/interfaces/i-resume-month.mjs +2 -0
- package/dist/esm2022/resume/interfaces/i-resume-total.mjs +2 -0
- package/dist/esm2022/resume/interfaces/i-resume-year.mjs +2 -0
- package/dist/esm2022/resume/interfaces/i-resume.mjs +2 -0
- package/dist/esm2022/resume/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +138 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/package.json +1 -1
- package/dist/resume/entities/index.d.ts +7 -0
- package/dist/resume/entities/index.js +17 -0
- package/dist/resume/entities/resume-collection.entity.d.ts +8 -0
- package/dist/resume/entities/resume-collection.entity.js +23 -0
- package/dist/resume/entities/resume-day.entity.d.ts +11 -0
- package/dist/resume/entities/resume-day.entity.js +25 -0
- package/dist/resume/entities/resume-hour.entity.d.ts +8 -0
- package/dist/resume/entities/resume-hour.entity.js +23 -0
- package/dist/resume/entities/resume-month.entity.d.ts +11 -0
- package/dist/resume/entities/resume-month.entity.js +25 -0
- package/dist/resume/entities/resume-total.entity.d.ts +10 -0
- package/dist/resume/entities/resume-total.entity.js +24 -0
- package/dist/resume/entities/resume-year.entity.d.ts +10 -0
- package/dist/resume/entities/resume-year.entity.js +24 -0
- package/dist/resume/entities/resume.entity.d.ts +8 -0
- package/dist/resume/entities/resume.entity.js +21 -0
- package/dist/resume/index.d.ts +2 -0
- package/dist/resume/index.js +18 -0
- package/dist/resume/interfaces/i-resume-collection.d.ts +6 -0
- package/dist/resume/interfaces/i-resume-collection.js +2 -0
- package/dist/resume/interfaces/i-resume-day.d.ts +9 -0
- package/dist/resume/interfaces/i-resume-day.js +2 -0
- package/dist/resume/interfaces/i-resume-hour.d.ts +6 -0
- package/dist/resume/interfaces/i-resume-hour.js +2 -0
- package/dist/resume/interfaces/i-resume-month.d.ts +9 -0
- package/dist/resume/interfaces/i-resume-month.js +2 -0
- package/dist/resume/interfaces/i-resume-total.d.ts +8 -0
- package/dist/resume/interfaces/i-resume-total.js +2 -0
- package/dist/resume/interfaces/i-resume-year.d.ts +8 -0
- package/dist/resume/interfaces/i-resume-year.js +2 -0
- package/dist/resume/interfaces/i-resume.d.ts +6 -0
- package/dist/resume/interfaces/i-resume.js +2 -0
- package/dist/resume/interfaces/index.d.ts +7 -0
- package/dist/resume/interfaces/index.js +2 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -31,6 +31,7 @@ __exportStar(require("./order"), exports);
|
|
31
31
|
__exportStar(require("./partner"), exports);
|
32
32
|
__exportStar(require("./plan"), exports);
|
33
33
|
__exportStar(require("./purchases"), exports);
|
34
|
+
__exportStar(require("./resume"), exports);
|
34
35
|
__exportStar(require("./subscription"), exports);
|
35
36
|
__exportStar(require("./token"), exports);
|
36
37
|
__exportStar(require("./viacep"), exports);
|
package/dist/package.json
CHANGED
@@ -0,0 +1,7 @@
|
|
1
|
+
export { ResumeCollectionEntity } from './resume-collection.entity';
|
2
|
+
export { ResumeDayEntity } from './resume-day.entity';
|
3
|
+
export { ResumeHourEntity } from './resume-hour.entity';
|
4
|
+
export { ResumeMonthEntity } from './resume-month.entity';
|
5
|
+
export { ResumeTotalEntity } from './resume-total.entity';
|
6
|
+
export { ResumeYearEntity } from './resume-year.entity';
|
7
|
+
export { ResumeEntity } from './resume.entity';
|
@@ -0,0 +1,17 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeEntity = exports.ResumeYearEntity = exports.ResumeTotalEntity = exports.ResumeMonthEntity = exports.ResumeHourEntity = exports.ResumeDayEntity = exports.ResumeCollectionEntity = void 0;
|
4
|
+
var resume_collection_entity_1 = require("./resume-collection.entity");
|
5
|
+
Object.defineProperty(exports, "ResumeCollectionEntity", { enumerable: true, get: function () { return resume_collection_entity_1.ResumeCollectionEntity; } });
|
6
|
+
var resume_day_entity_1 = require("./resume-day.entity");
|
7
|
+
Object.defineProperty(exports, "ResumeDayEntity", { enumerable: true, get: function () { return resume_day_entity_1.ResumeDayEntity; } });
|
8
|
+
var resume_hour_entity_1 = require("./resume-hour.entity");
|
9
|
+
Object.defineProperty(exports, "ResumeHourEntity", { enumerable: true, get: function () { return resume_hour_entity_1.ResumeHourEntity; } });
|
10
|
+
var resume_month_entity_1 = require("./resume-month.entity");
|
11
|
+
Object.defineProperty(exports, "ResumeMonthEntity", { enumerable: true, get: function () { return resume_month_entity_1.ResumeMonthEntity; } });
|
12
|
+
var resume_total_entity_1 = require("./resume-total.entity");
|
13
|
+
Object.defineProperty(exports, "ResumeTotalEntity", { enumerable: true, get: function () { return resume_total_entity_1.ResumeTotalEntity; } });
|
14
|
+
var resume_year_entity_1 = require("./resume-year.entity");
|
15
|
+
Object.defineProperty(exports, "ResumeYearEntity", { enumerable: true, get: function () { return resume_year_entity_1.ResumeYearEntity; } });
|
16
|
+
var resume_entity_1 = require("./resume.entity");
|
17
|
+
Object.defineProperty(exports, "ResumeEntity", { enumerable: true, get: function () { return resume_entity_1.ResumeEntity; } });
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeCollectionEntity = void 0;
|
4
|
+
var ResumeCollectionEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function ResumeCollectionEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.actived = 0;
|
10
|
+
this.deactived = 0;
|
11
|
+
this.name = '';
|
12
|
+
this.total = 0;
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return ResumeCollectionEntity;
|
22
|
+
}());
|
23
|
+
exports.ResumeCollectionEntity = ResumeCollectionEntity;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { IResumeDay } from '../interfaces';
|
2
|
+
import { ResumeHourEntity } from './resume-hour.entity';
|
3
|
+
export declare class ResumeDayEntity implements IResumeDay {
|
4
|
+
average: number;
|
5
|
+
count: number;
|
6
|
+
day: number;
|
7
|
+
dayName: string;
|
8
|
+
months: ResumeHourEntity[];
|
9
|
+
total: number;
|
10
|
+
constructor(data?: Partial<ResumeDayEntity>);
|
11
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeDayEntity = void 0;
|
4
|
+
var ResumeDayEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (5)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function ResumeDayEntity(data) {
|
8
|
+
// #region Properties (5)
|
9
|
+
this.average = 0;
|
10
|
+
this.count = 0;
|
11
|
+
this.day = new Date().getUTCDate();
|
12
|
+
this.dayName = new Date().toLocaleString('pt-BR', { weekday: 'long' });
|
13
|
+
this.months = [];
|
14
|
+
this.total = 0;
|
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 ResumeDayEntity;
|
24
|
+
}());
|
25
|
+
exports.ResumeDayEntity = ResumeDayEntity;
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeHourEntity = void 0;
|
4
|
+
var ResumeHourEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function ResumeHourEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.average = 0;
|
10
|
+
this.count = 0;
|
11
|
+
this.hour = 0;
|
12
|
+
this.total = 0;
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return ResumeHourEntity;
|
22
|
+
}());
|
23
|
+
exports.ResumeHourEntity = ResumeHourEntity;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import { IResumeMonth } from '../interfaces';
|
2
|
+
import { ResumeDayEntity } from './resume-day.entity';
|
3
|
+
export declare class ResumeMonthEntity implements IResumeMonth {
|
4
|
+
average: number;
|
5
|
+
count: number;
|
6
|
+
days: ResumeDayEntity[];
|
7
|
+
month: number;
|
8
|
+
monthName: string;
|
9
|
+
total: number;
|
10
|
+
constructor(data?: Partial<ResumeMonthEntity>);
|
11
|
+
}
|
@@ -0,0 +1,25 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeMonthEntity = void 0;
|
4
|
+
var ResumeMonthEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (5)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function ResumeMonthEntity(data) {
|
8
|
+
// #region Properties (5)
|
9
|
+
this.average = 0;
|
10
|
+
this.count = 0;
|
11
|
+
this.days = [];
|
12
|
+
this.month = new Date().getUTCMonth();
|
13
|
+
this.monthName = new Date().toLocaleString('pt-BR', { month: 'long' });
|
14
|
+
this.total = 0;
|
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 ResumeMonthEntity;
|
24
|
+
}());
|
25
|
+
exports.ResumeMonthEntity = ResumeMonthEntity;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { IResumeTotal } from '../interfaces';
|
2
|
+
import { ResumeYearEntity } from './resume-year.entity';
|
3
|
+
export declare class ResumeTotalEntity implements IResumeTotal {
|
4
|
+
average: number;
|
5
|
+
collectionName: string;
|
6
|
+
count: number;
|
7
|
+
total: number;
|
8
|
+
years: ResumeYearEntity[];
|
9
|
+
constructor(data?: Partial<ResumeTotalEntity>);
|
10
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeTotalEntity = void 0;
|
4
|
+
var ResumeTotalEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (5)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function ResumeTotalEntity(data) {
|
8
|
+
// #region Properties (5)
|
9
|
+
this.average = 0;
|
10
|
+
this.collectionName = '';
|
11
|
+
this.count = 0;
|
12
|
+
this.total = 0;
|
13
|
+
this.years = [];
|
14
|
+
if (data) {
|
15
|
+
for (var key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
return ResumeTotalEntity;
|
23
|
+
}());
|
24
|
+
exports.ResumeTotalEntity = ResumeTotalEntity;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { IResumeYear } from '../interfaces';
|
2
|
+
import { ResumeMonthEntity } from './resume-month.entity';
|
3
|
+
export declare class ResumeYearEntity implements IResumeYear {
|
4
|
+
average: number;
|
5
|
+
count: number;
|
6
|
+
months: ResumeMonthEntity[];
|
7
|
+
year: number;
|
8
|
+
total: number;
|
9
|
+
constructor(data?: Partial<ResumeYearEntity>);
|
10
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeYearEntity = void 0;
|
4
|
+
var ResumeYearEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (5)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function ResumeYearEntity(data) {
|
8
|
+
// #region Properties (5)
|
9
|
+
this.average = 0;
|
10
|
+
this.count = 0;
|
11
|
+
this.months = [];
|
12
|
+
this.year = new Date().getUTCFullYear();
|
13
|
+
this.total = 0;
|
14
|
+
if (data) {
|
15
|
+
for (var key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
return ResumeYearEntity;
|
23
|
+
}());
|
24
|
+
exports.ResumeYearEntity = ResumeYearEntity;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { IResume } from '../interfaces';
|
2
|
+
import { ResumeCollectionEntity } from './resume-collection.entity';
|
3
|
+
import { ResumeTotalEntity } from './resume-total.entity';
|
4
|
+
export declare class ResumeEntity implements IResume {
|
5
|
+
counts: ResumeCollectionEntity[];
|
6
|
+
totals: ResumeTotalEntity[];
|
7
|
+
constructor(data?: Partial<ResumeEntity>);
|
8
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ResumeEntity = void 0;
|
4
|
+
var ResumeEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (2)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function ResumeEntity(data) {
|
8
|
+
// #region Properties (2)
|
9
|
+
this.counts = [];
|
10
|
+
this.totals = [];
|
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 ResumeEntity;
|
20
|
+
}());
|
21
|
+
exports.ResumeEntity = ResumeEntity;
|
@@ -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,7 @@
|
|
1
|
+
export { IResume } from './i-resume';
|
2
|
+
export { IResumeCollection } from './i-resume-collection';
|
3
|
+
export { IResumeDay } from './i-resume-day';
|
4
|
+
export { IResumeHour } from './i-resume-hour';
|
5
|
+
export { IResumeMonth } from './i-resume-month';
|
6
|
+
export { IResumeTotal } from './i-resume-total';
|
7
|
+
export { IResumeYear } from './i-resume-year';
|