cecon-interfaces 1.8.75 → 1.8.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,5 +1,5 @@
1
- import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioImportStatus } from '../enums';
2
- import { IPayioCatalogCategory, IPayioCatalogItem, IPayioCatalogPizza } from '../interfaces';
1
+ import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioImportStatus } from "../enums";
2
+ import { IPayioCatalogCategory, IPayioCatalogItem, IPayioCatalogPizza } from "../interfaces";
3
3
  export declare class PayioCatalogCategoryEntity implements IPayioCatalogCategory {
4
4
  autoImportStatus: EPayioImportStatus;
5
5
  catalogId: string;
@@ -1,7 +1,7 @@
1
- import { EPayioCatalogContext, EPayioCatalogStatus } from "../enums";
2
- import { EPayioImportStatus } from "../enums/import-status.enum";
3
- import { IPayioCatalog } from "../interfaces";
4
- import { PayioCatalogCategoryEntity } from "./catalog-category.entity";
1
+ import { EPayioCatalogContext, EPayioCatalogStatus, EPayioEngines } from '../enums';
2
+ import { EPayioImportStatus } from '../enums/import-status.enum';
3
+ import { IPayioCatalog } from '../interfaces';
4
+ import { PayioCatalogCategoryEntity } from './catalog-category.entity';
5
5
  export declare class PayioCatalogEntity implements IPayioCatalog {
6
6
  active: boolean;
7
7
  autoImportStatus: EPayioImportStatus;
@@ -10,9 +10,10 @@ export declare class PayioCatalogEntity implements IPayioCatalog {
10
10
  containerId: string | null;
11
11
  context: EPayioCatalogContext[];
12
12
  createdAt: Date;
13
+ engine: EPayioEngines;
13
14
  id: string;
14
- ifoodId: string | null;
15
15
  name: string;
16
+ reference: string | null;
16
17
  sandbox: boolean;
17
18
  status: EPayioCatalogStatus;
18
19
  tags: string[];
@@ -12,9 +12,10 @@ var PayioCatalogEntity = /** @class */ (function () {
12
12
  this.containerId = null;
13
13
  this.context = [enums_1.EPayioCatalogContext.DEFAULT];
14
14
  this.createdAt = new Date();
15
+ this.engine = enums_1.EPayioEngines.NONE;
15
16
  this.id = '';
16
- this.ifoodId = null;
17
17
  this.name = '';
18
+ this.reference = null;
18
19
  this.sandbox = false;
19
20
  this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
20
21
  this.tags = [];
@@ -0,0 +1,6 @@
1
+ export declare enum EPayioEngines {
2
+ IFOOD = "IFOOD",
3
+ RAPPI = "RAPPI",
4
+ NINENINE = "99-FOOD",
5
+ NONE = "NONE"
6
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EPayioEngines = void 0;
4
+ var EPayioEngines;
5
+ (function (EPayioEngines) {
6
+ EPayioEngines["IFOOD"] = "IFOOD";
7
+ EPayioEngines["RAPPI"] = "RAPPI";
8
+ EPayioEngines["NINENINE"] = "99-FOOD";
9
+ EPayioEngines["NONE"] = "NONE";
10
+ })(EPayioEngines || (exports.EPayioEngines = EPayioEngines = {}));
@@ -2,3 +2,4 @@ export { EPayioCatalogContext } from './catalog-context.enum';
2
2
  export { EPayioCatalogStatus } from './catalog-status.enum';
3
3
  export { EPayioCategoryTemplate } from './category-template.enum';
4
4
  export { EPayioImportStatus } from './import-status.enum';
5
+ export { EPayioEngines } from './engines.enum';
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.EPayioImportStatus = exports.EPayioCategoryTemplate = exports.EPayioCatalogStatus = exports.EPayioCatalogContext = void 0;
3
+ exports.EPayioEngines = exports.EPayioImportStatus = exports.EPayioCategoryTemplate = exports.EPayioCatalogStatus = exports.EPayioCatalogContext = void 0;
4
4
  var catalog_context_enum_1 = require("./catalog-context.enum");
5
5
  Object.defineProperty(exports, "EPayioCatalogContext", { enumerable: true, get: function () { return catalog_context_enum_1.EPayioCatalogContext; } });
6
6
  var catalog_status_enum_1 = require("./catalog-status.enum");
@@ -9,3 +9,5 @@ var category_template_enum_1 = require("./category-template.enum");
9
9
  Object.defineProperty(exports, "EPayioCategoryTemplate", { enumerable: true, get: function () { return category_template_enum_1.EPayioCategoryTemplate; } });
10
10
  var import_status_enum_1 = require("./import-status.enum");
11
11
  Object.defineProperty(exports, "EPayioImportStatus", { enumerable: true, get: function () { return import_status_enum_1.EPayioImportStatus; } });
12
+ var engines_enum_1 = require("./engines.enum");
13
+ Object.defineProperty(exports, "EPayioEngines", { enumerable: true, get: function () { return engines_enum_1.EPayioEngines; } });
@@ -1,6 +1,6 @@
1
- import { EPayioCatalogContext, EPayioCatalogStatus } from "../enums";
2
- import { EPayioImportStatus } from "../enums/import-status.enum";
3
- import { IPayioCatalogCategory } from "./i-catalog-category";
1
+ import { EPayioCatalogContext, EPayioCatalogStatus, EPayioEngines } from '../enums';
2
+ import { EPayioImportStatus } from '../enums/import-status.enum';
3
+ import { IPayioCatalogCategory } from './i-catalog-category';
4
4
  export interface IPayioCatalog {
5
5
  active: boolean;
6
6
  autoImportStatus: EPayioImportStatus;
@@ -9,9 +9,10 @@ export interface IPayioCatalog {
9
9
  containerId: string | null;
10
10
  context: EPayioCatalogContext[];
11
11
  createdAt: Date;
12
+ engine: EPayioEngines;
12
13
  id: string;
13
- ifoodId: string | null;
14
14
  name: string;
15
+ reference: string | null;
15
16
  sandbox: boolean;
16
17
  status: EPayioCatalogStatus;
17
18
  tags: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.8.75",
3
+ "version": "1.8.76",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",