cecon-interfaces 1.6.38 → 1.6.39

Sign up to get free protection for your applications and to get access to all the features.
Files changed (28) hide show
  1. package/dist/esm2022/payio/index.mjs +2 -1
  2. package/dist/esm2022/payio/schedules/entities/index.mjs +3 -0
  3. package/dist/esm2022/payio/schedules/entities/schedule-slot.entity.mjs +17 -0
  4. package/dist/esm2022/payio/schedules/entities/schedule.entity.mjs +20 -0
  5. package/dist/esm2022/payio/schedules/index.mjs +3 -0
  6. package/dist/esm2022/payio/schedules/interfaces/i-schedule-slot.mjs +2 -0
  7. package/dist/esm2022/payio/schedules/interfaces/i-schedule.mjs +2 -0
  8. package/dist/esm2022/payio/schedules/interfaces/index.mjs +2 -0
  9. package/dist/fesm2022/cecon-interfaces.mjs +38 -1
  10. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  11. package/dist/package.json +1 -1
  12. package/dist/payio/index.d.ts +1 -0
  13. package/dist/payio/index.js +1 -0
  14. package/dist/payio/schedules/entities/index.d.ts +2 -0
  15. package/dist/payio/schedules/entities/index.js +7 -0
  16. package/dist/payio/schedules/entities/schedule-slot.entity.d.ts +6 -0
  17. package/dist/payio/schedules/entities/schedule-slot.entity.js +21 -0
  18. package/dist/payio/schedules/entities/schedule.entity.d.ts +10 -0
  19. package/dist/payio/schedules/entities/schedule.entity.js +24 -0
  20. package/dist/payio/schedules/index.d.ts +2 -0
  21. package/dist/payio/schedules/index.js +18 -0
  22. package/dist/payio/schedules/interfaces/i-schedule-slot.d.ts +4 -0
  23. package/dist/payio/schedules/interfaces/i-schedule-slot.js +2 -0
  24. package/dist/payio/schedules/interfaces/i-schedule.d.ts +8 -0
  25. package/dist/payio/schedules/interfaces/i-schedule.js +2 -0
  26. package/dist/payio/schedules/interfaces/index.d.ts +2 -0
  27. package/dist/payio/schedules/interfaces/index.js +2 -0
  28. package/package.json +1 -1
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.38",
3
+ "version": "1.6.39",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -10,5 +10,6 @@ export * from './plan';
10
10
  export * from './products';
11
11
  export * from './resume-companies';
12
12
  export * from './resume-queues';
13
+ export * from './schedules';
13
14
  export * from './subscriptions';
14
15
  export * from './tokens';
@@ -26,5 +26,6 @@ __exportStar(require("./plan"), exports);
26
26
  __exportStar(require("./products"), exports);
27
27
  __exportStar(require("./resume-companies"), exports);
28
28
  __exportStar(require("./resume-queues"), exports);
29
+ __exportStar(require("./schedules"), exports);
29
30
  __exportStar(require("./subscriptions"), exports);
30
31
  __exportStar(require("./tokens"), exports);
@@ -0,0 +1,2 @@
1
+ export { PayioScheduleSlotEntity } from './schedule-slot.entity';
2
+ export { PayioScheduleEntity } from './schedule.entity';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioScheduleEntity = exports.PayioScheduleSlotEntity = void 0;
4
+ var schedule_slot_entity_1 = require("./schedule-slot.entity");
5
+ Object.defineProperty(exports, "PayioScheduleSlotEntity", { enumerable: true, get: function () { return schedule_slot_entity_1.PayioScheduleSlotEntity; } });
6
+ var schedule_entity_1 = require("./schedule.entity");
7
+ Object.defineProperty(exports, "PayioScheduleEntity", { enumerable: true, get: function () { return schedule_entity_1.PayioScheduleEntity; } });
@@ -0,0 +1,6 @@
1
+ import { IPayioScheduleSlot } from '../interfaces';
2
+ export declare class PayioScheduleSlotEntity implements IPayioScheduleSlot {
3
+ code: string;
4
+ slot: string;
5
+ constructor(data?: Partial<PayioScheduleSlotEntity>);
6
+ }
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioScheduleSlotEntity = void 0;
4
+ var PayioScheduleSlotEntity = /** @class */ (function () {
5
+ // #endregion Properties (2)
6
+ // #region Constructors (1)
7
+ function PayioScheduleSlotEntity(data) {
8
+ // #region Properties (2)
9
+ this.code = '';
10
+ this.slot = '';
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 PayioScheduleSlotEntity;
20
+ }());
21
+ exports.PayioScheduleSlotEntity = PayioScheduleSlotEntity;
@@ -0,0 +1,10 @@
1
+ import { IPayioSchedule } from '../interfaces';
2
+ import { PayioScheduleSlotEntity } from './schedule-slot.entity';
3
+ export declare class PayioScheduleEntity implements IPayioSchedule {
4
+ active: boolean;
5
+ createdAt: Date;
6
+ id: string;
7
+ time: PayioScheduleSlotEntity[];
8
+ updatedAt: Date;
9
+ constructor(data?: Partial<PayioScheduleEntity>);
10
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PayioScheduleEntity = void 0;
4
+ var PayioScheduleEntity = /** @class */ (function () {
5
+ // #endregion Properties (5)
6
+ // #region Constructors (1)
7
+ function PayioScheduleEntity(data) {
8
+ // #region Properties (5)
9
+ this.active = true;
10
+ this.createdAt = new Date();
11
+ this.id = 'SEG';
12
+ this.time = [];
13
+ this.updatedAt = new Date();
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 PayioScheduleEntity;
23
+ }());
24
+ exports.PayioScheduleEntity = PayioScheduleEntity;
@@ -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,4 @@
1
+ export interface IPayioScheduleSlot {
2
+ code: string;
3
+ slot: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,8 @@
1
+ import { IPayioScheduleSlot } from "./i-schedule-slot";
2
+ export interface IPayioSchedule {
3
+ active: boolean;
4
+ createdAt: Date;
5
+ time: IPayioScheduleSlot[];
6
+ id: string;
7
+ updatedAt: Date;
8
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1,2 @@
1
+ export { IPayioSchedule } from './i-schedule';
2
+ export { IPayioScheduleSlot } from './i-schedule-slot';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.38",
3
+ "version": "1.6.39",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",