cecon-interfaces 1.9.75 → 1.9.76

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,6 @@
1
- import { IPayioCatalogOptionGroup } from "../interfaces";
2
- import { PayioCatalogOptionEntity } from "./catalog-option.entity";
3
- export declare class PayioCatalogOptionGroupEntity implements IPayioCatalogOptionGroup {
4
- catalogId: string;
5
- categoryId: string;
1
+ import { IPayioOptionGroup } from '../interfaces';
2
+ import { PayioOptionEntity } from './catalog-option.entity';
3
+ export declare class PayioOptionGroupEntity implements IPayioOptionGroup {
6
4
  companyId: string;
7
5
  containerId: string | null;
8
6
  createdAt: Date;
@@ -11,8 +9,8 @@ export declare class PayioCatalogOptionGroupEntity implements IPayioCatalogOptio
11
9
  max: number;
12
10
  min: number;
13
11
  name: string;
14
- options: PayioCatalogOptionEntity[];
12
+ options: PayioOptionEntity[];
15
13
  tags: string[];
16
14
  updatedAt: Date;
17
- constructor(data?: Partial<PayioCatalogOptionGroupEntity>);
15
+ constructor(data?: Partial<PayioOptionGroupEntity>);
18
16
  }
@@ -1,10 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PayioCatalogOptionGroupEntity = void 0;
4
- var PayioCatalogOptionGroupEntity = /** @class */ (function () {
5
- function PayioCatalogOptionGroupEntity(data) {
6
- this.catalogId = '';
7
- this.categoryId = '';
3
+ exports.PayioOptionGroupEntity = void 0;
4
+ var PayioOptionGroupEntity = /** @class */ (function () {
5
+ function PayioOptionGroupEntity(data) {
8
6
  this.companyId = '';
9
7
  this.containerId = null;
10
8
  this.createdAt = new Date();
@@ -24,6 +22,6 @@ var PayioCatalogOptionGroupEntity = /** @class */ (function () {
24
22
  }
25
23
  }
26
24
  }
27
- return PayioCatalogOptionGroupEntity;
25
+ return PayioOptionGroupEntity;
28
26
  }());
29
- exports.PayioCatalogOptionGroupEntity = PayioCatalogOptionGroupEntity;
27
+ exports.PayioOptionGroupEntity = PayioOptionGroupEntity;
@@ -1,5 +1,5 @@
1
- import { IPayioCatalogOption } from '../interfaces/i-catalog-option';
2
- export declare class PayioCatalogOptionEntity implements IPayioCatalogOption {
1
+ import { IPayioOption } from '../interfaces/i-catalog-option';
2
+ export declare class PayioOptionEntity implements IPayioOption {
3
3
  description: string;
4
4
  externalCode: string;
5
5
  id: string;
@@ -9,5 +9,5 @@ export declare class PayioCatalogOptionEntity implements IPayioCatalogOption {
9
9
  price: {
10
10
  value: number;
11
11
  };
12
- constructor(data?: Partial<PayioCatalogOptionEntity>);
12
+ constructor(data?: Partial<PayioOptionEntity>);
13
13
  }
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PayioCatalogOptionEntity = void 0;
4
- var PayioCatalogOptionEntity = /** @class */ (function () {
5
- function PayioCatalogOptionEntity(data) {
3
+ exports.PayioOptionEntity = void 0;
4
+ var PayioOptionEntity = /** @class */ (function () {
5
+ function PayioOptionEntity(data) {
6
6
  this.description = '';
7
7
  this.externalCode = '';
8
8
  this.id = '';
@@ -18,6 +18,6 @@ var PayioCatalogOptionEntity = /** @class */ (function () {
18
18
  }
19
19
  }
20
20
  }
21
- return PayioCatalogOptionEntity;
21
+ return PayioOptionEntity;
22
22
  }());
23
- exports.PayioCatalogOptionEntity = PayioCatalogOptionEntity;
23
+ exports.PayioOptionEntity = PayioOptionEntity;
@@ -1,2 +1,2 @@
1
- export { PayioCatalogOptionGroupEntity } from './catalog-option-group.entity';
2
- export { PayioCatalogOptionEntity } from './catalog-option.entity';
1
+ export { PayioOptionGroupEntity } from './catalog-option-group.entity';
2
+ export { PayioOptionEntity } from './catalog-option.entity';
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PayioCatalogOptionEntity = exports.PayioCatalogOptionGroupEntity = void 0;
3
+ exports.PayioOptionEntity = exports.PayioOptionGroupEntity = void 0;
4
4
  var catalog_option_group_entity_1 = require("./catalog-option-group.entity");
5
- Object.defineProperty(exports, "PayioCatalogOptionGroupEntity", { enumerable: true, get: function () { return catalog_option_group_entity_1.PayioCatalogOptionGroupEntity; } });
5
+ Object.defineProperty(exports, "PayioOptionGroupEntity", { enumerable: true, get: function () { return catalog_option_group_entity_1.PayioOptionGroupEntity; } });
6
6
  var catalog_option_entity_1 = require("./catalog-option.entity");
7
- Object.defineProperty(exports, "PayioCatalogOptionEntity", { enumerable: true, get: function () { return catalog_option_entity_1.PayioCatalogOptionEntity; } });
7
+ Object.defineProperty(exports, "PayioOptionEntity", { enumerable: true, get: function () { return catalog_option_entity_1.PayioOptionEntity; } });
@@ -1,7 +1,5 @@
1
- import { IPayioCatalogOption } from "./i-catalog-option";
2
- export interface IPayioCatalogOptionGroup {
3
- catalogId: string;
4
- categoryId: string;
1
+ import { IPayioOption } from './i-catalog-option';
2
+ export interface IPayioOptionGroup {
5
3
  companyId: string;
6
4
  containerId: string | null;
7
5
  createdAt: Date;
@@ -10,7 +8,7 @@ export interface IPayioCatalogOptionGroup {
10
8
  max: number;
11
9
  min: number;
12
10
  name: string;
13
- options: IPayioCatalogOption[];
11
+ options: IPayioOption[];
14
12
  tags: string[];
15
13
  updatedAt: Date;
16
14
  }
@@ -1,4 +1,4 @@
1
- export interface IPayioCatalogOption {
1
+ export interface IPayioOption {
2
2
  description: string;
3
3
  externalCode: string;
4
4
  id: string;
@@ -1,2 +1,2 @@
1
- export { IPayioCatalogOption } from './i-catalog-option';
2
- export { IPayioCatalogOptionGroup } from './i-catalog-option-group';
1
+ export { IPayioOption } from './i-catalog-option';
2
+ export { IPayioOptionGroup } from './i-catalog-option-group';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.9.75",
3
+ "version": "1.9.76",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",