cecon-interfaces 1.6.39 → 1.6.41

Sign up to get free protection for your applications and to get access to all the features.
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.39",
3
+ "version": "1.6.41",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,6 +1,6 @@
1
1
  import { IPayioScheduleSlot } from '../interfaces';
2
2
  export declare class PayioScheduleSlotEntity implements IPayioScheduleSlot {
3
- code: string;
3
+ productCode: string;
4
4
  slot: string;
5
5
  constructor(data?: Partial<PayioScheduleSlotEntity>);
6
6
  }
@@ -6,7 +6,7 @@ var PayioScheduleSlotEntity = /** @class */ (function () {
6
6
  // #region Constructors (1)
7
7
  function PayioScheduleSlotEntity(data) {
8
8
  // #region Properties (2)
9
- this.code = '';
9
+ this.productCode = '';
10
10
  this.slot = '';
11
11
  if (data) {
12
12
  for (var key in data) {
@@ -4,7 +4,7 @@ export declare class PayioScheduleEntity implements IPayioSchedule {
4
4
  active: boolean;
5
5
  createdAt: Date;
6
6
  id: string;
7
- time: PayioScheduleSlotEntity[];
7
+ slots: PayioScheduleSlotEntity[];
8
8
  updatedAt: Date;
9
9
  constructor(data?: Partial<PayioScheduleEntity>);
10
10
  }
@@ -9,7 +9,7 @@ var PayioScheduleEntity = /** @class */ (function () {
9
9
  this.active = true;
10
10
  this.createdAt = new Date();
11
11
  this.id = 'SEG';
12
- this.time = [];
12
+ this.slots = [];
13
13
  this.updatedAt = new Date();
14
14
  if (data) {
15
15
  for (var key in data) {
@@ -1,4 +1,4 @@
1
1
  export interface IPayioScheduleSlot {
2
- code: string;
2
+ productCode: string;
3
3
  slot: string;
4
4
  }
@@ -1,8 +1,8 @@
1
- import { IPayioScheduleSlot } from "./i-schedule-slot";
1
+ import { IPayioScheduleSlot } from './i-schedule-slot';
2
2
  export interface IPayioSchedule {
3
3
  active: boolean;
4
4
  createdAt: Date;
5
- time: IPayioScheduleSlot[];
5
+ slots: IPayioScheduleSlot[];
6
6
  id: string;
7
7
  updatedAt: Date;
8
8
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.6.39",
3
+ "version": "1.6.41",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",