cecon-interfaces 1.8.74 → 1.8.75

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.
Files changed (23) hide show
  1. package/dist/esm2022/payio/catalogs/entities/catalog-category.entity.mjs +2 -1
  2. package/dist/esm2022/payio/catalogs/entities/catalog-item.entity.mjs +3 -1
  3. package/dist/esm2022/payio/catalogs/entities/catalog-option-group.entity.mjs +4 -1
  4. package/dist/esm2022/payio/catalogs/entities/catalog-pizza.entity.mjs +3 -1
  5. package/dist/esm2022/payio/catalogs/interfaces/i-catalog-category.mjs +1 -1
  6. package/dist/esm2022/payio/catalogs/interfaces/i-catalog-item.mjs +1 -1
  7. package/dist/esm2022/payio/catalogs/interfaces/i-catalog-option-group.mjs +1 -1
  8. package/dist/esm2022/payio/catalogs/interfaces/i-catalog-pizza.mjs +1 -1
  9. package/dist/fesm2022/cecon-interfaces.mjs +8 -0
  10. package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
  11. package/dist/payio/catalogs/entities/catalog-category.entity.d.ts +1 -0
  12. package/dist/payio/catalogs/entities/catalog-category.entity.js +1 -0
  13. package/dist/payio/catalogs/entities/catalog-item.entity.d.ts +2 -0
  14. package/dist/payio/catalogs/entities/catalog-item.entity.js +2 -0
  15. package/dist/payio/catalogs/entities/catalog-option-group.entity.d.ts +3 -0
  16. package/dist/payio/catalogs/entities/catalog-option-group.entity.js +3 -0
  17. package/dist/payio/catalogs/entities/catalog-pizza.entity.d.ts +8 -6
  18. package/dist/payio/catalogs/entities/catalog-pizza.entity.js +2 -0
  19. package/dist/payio/catalogs/interfaces/i-catalog-category.d.ts +1 -0
  20. package/dist/payio/catalogs/interfaces/i-catalog-item.d.ts +2 -0
  21. package/dist/payio/catalogs/interfaces/i-catalog-option-group.d.ts +5 -2
  22. package/dist/payio/catalogs/interfaces/i-catalog-pizza.d.ts +2 -0
  23. package/package.json +1 -1
@@ -2,6 +2,7 @@ import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioImportStatus } from
2
2
  import { IPayioCatalogCategory, IPayioCatalogItem, IPayioCatalogPizza } from '../interfaces';
3
3
  export declare class PayioCatalogCategoryEntity implements IPayioCatalogCategory {
4
4
  autoImportStatus: EPayioImportStatus;
5
+ catalogId: string;
5
6
  createdAt: Date;
6
7
  id: string;
7
8
  ifoodId: string | null;
@@ -6,6 +6,7 @@ var catalog_pizza_entity_1 = require("./catalog-pizza.entity");
6
6
  var PayioCatalogCategoryEntity = /** @class */ (function () {
7
7
  function PayioCatalogCategoryEntity(data) {
8
8
  this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED;
9
+ this.catalogId = '';
9
10
  this.createdAt = new Date();
10
11
  this.id = '';
11
12
  this.ifoodId = null;
@@ -4,6 +4,8 @@ import { PayioCatalogOptionGroupEntity } from './catalog-option-group.entity';
4
4
  import { PayioCatalogShiftEntity } from './catalog-shift.entity';
5
5
  export declare class PayioCatalogItemEntity implements IPayioCatalogItem {
6
6
  autoImportStatus: EPayioImportStatus;
7
+ catalogId: string;
8
+ categoryId: string;
7
9
  contextModifiers: string[];
8
10
  createdAt: Date;
9
11
  customizationModifiers: string[];
@@ -5,6 +5,8 @@ var enums_1 = require("../enums");
5
5
  var PayioCatalogItemEntity = /** @class */ (function () {
6
6
  function PayioCatalogItemEntity(data) {
7
7
  this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED;
8
+ this.catalogId = '';
9
+ this.categoryId = '';
8
10
  this.contextModifiers = [];
9
11
  this.createdAt = new Date();
10
12
  this.customizationModifiers = [];
@@ -3,10 +3,13 @@ import { IPayioCatalogOptionGroup } from '../interfaces';
3
3
  import { PayioCatalogOptionEntity } from './catalog-option.entity';
4
4
  export declare class PayioCatalogOptionGroupEntity implements IPayioCatalogOptionGroup {
5
5
  autoImportStatus: EPayioImportStatus;
6
+ catalogId: string;
7
+ categoryId: string;
6
8
  createdAt: Date;
7
9
  id: string;
8
10
  ifoodId: string | null;
9
11
  index: number;
12
+ itemId: string;
10
13
  max: number;
11
14
  min: number;
12
15
  name: string;
@@ -5,10 +5,13 @@ var enums_1 = require("../enums");
5
5
  var PayioCatalogOptionGroupEntity = /** @class */ (function () {
6
6
  function PayioCatalogOptionGroupEntity(data) {
7
7
  this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED;
8
+ this.catalogId = '';
9
+ this.categoryId = '';
8
10
  this.createdAt = new Date();
9
11
  this.id = '';
10
12
  this.ifoodId = null;
11
13
  this.index = 0;
14
+ this.itemId = '';
12
15
  this.max = 0;
13
16
  this.min = 0;
14
17
  this.name = '';
@@ -1,10 +1,12 @@
1
- import { IPayioCatalogPizza } from '../interfaces';
2
- import { PayioCatalogPizzaCrustEntity } from './catalog-pizza-crust.entity';
3
- import { PayioCatalogPizzaEdgeEntity } from './catalog-pizza-edge.entity';
4
- import { PayioCatalogPizzaSizeEntity } from './catalog-pizza-size.entity';
5
- import { PayioCatalogPizzaToppingEntity } from './catalog-pizza-topping.entity';
6
- import { PayioCatalogShiftEntity } from './catalog-shift.entity';
1
+ import { IPayioCatalogPizza } from "../interfaces";
2
+ import { PayioCatalogPizzaCrustEntity } from "./catalog-pizza-crust.entity";
3
+ import { PayioCatalogPizzaEdgeEntity } from "./catalog-pizza-edge.entity";
4
+ import { PayioCatalogPizzaSizeEntity } from "./catalog-pizza-size.entity";
5
+ import { PayioCatalogPizzaToppingEntity } from "./catalog-pizza-topping.entity";
6
+ import { PayioCatalogShiftEntity } from "./catalog-shift.entity";
7
7
  export declare class PayioCatalogPizzaEntity implements IPayioCatalogPizza {
8
+ catalogId: string;
9
+ categoryId: string;
8
10
  createdAt: Date;
9
11
  crusts: PayioCatalogPizzaCrustEntity[];
10
12
  edges: PayioCatalogPizzaEdgeEntity[];
@@ -3,6 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PayioCatalogPizzaEntity = void 0;
4
4
  var PayioCatalogPizzaEntity = /** @class */ (function () {
5
5
  function PayioCatalogPizzaEntity(data) {
6
+ this.catalogId = '';
7
+ this.categoryId = '';
6
8
  this.createdAt = new Date();
7
9
  this.crusts = [];
8
10
  this.edges = [];
@@ -6,6 +6,7 @@ export interface IPayioCatalogCategory {
6
6
  createdAt: Date;
7
7
  id: string;
8
8
  ifoodId: string | null;
9
+ catalogId: string;
9
10
  index: number;
10
11
  items?: IPayioCatalogItem[];
11
12
  name: string;
@@ -3,6 +3,8 @@ import { IPayioCatalogOptionGroup } from './i-catalog-option-group';
3
3
  import { IPayioCatalogShift } from './i-catalog-shift';
4
4
  export interface IPayioCatalogItem {
5
5
  autoImportStatus: EPayioImportStatus;
6
+ catalogId: string;
7
+ categoryId: string;
6
8
  contextModifiers: string[];
7
9
  createdAt: Date;
8
10
  customizationModifiers: string[];
@@ -1,10 +1,13 @@
1
- import { EPayioCatalogStatus, EPayioImportStatus } from "../enums";
2
- import { IPayioCatalogOption } from "./i-catalog-option";
1
+ import { EPayioCatalogStatus, EPayioImportStatus } from '../enums';
2
+ import { IPayioCatalogOption } from './i-catalog-option';
3
3
  export interface IPayioCatalogOptionGroup {
4
4
  autoImportStatus: EPayioImportStatus;
5
5
  createdAt: Date;
6
6
  id: string;
7
7
  ifoodId: string | null;
8
+ catalogId: string;
9
+ categoryId: string;
10
+ itemId: string;
8
11
  index: number;
9
12
  max: number;
10
13
  min: number;
@@ -9,6 +9,8 @@ export interface IPayioCatalogPizza {
9
9
  edges: IPayioCatalogPizzaEdge[];
10
10
  id: string;
11
11
  ifoodId: string | null;
12
+ catalogId: string;
13
+ categoryId: string;
12
14
  shifts: IPayioCatalogShift[];
13
15
  sizes: IPayioCatalogPizzaSize[];
14
16
  toppings: IPayioCatalogPizzaTopping[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.8.74",
3
+ "version": "1.8.75",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",