cecon-interfaces 1.8.76 → 1.8.78
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.
- package/dist/esm2022/payio/catalogs/entities/catalog-category.entity.mjs +5 -5
- package/dist/esm2022/payio/catalogs/entities/catalog-item.entity.mjs +4 -3
- package/dist/esm2022/payio/catalogs/entities/catalog-option-group.entity.mjs +4 -3
- package/dist/esm2022/payio/catalogs/entities/catalog-option.entity.mjs +2 -2
- package/dist/esm2022/payio/catalogs/entities/catalog-pizza.entity.mjs +4 -2
- package/dist/esm2022/payio/catalogs/entities/catalog.entity.mjs +4 -4
- package/dist/esm2022/payio/catalogs/interfaces/i-catalog-category.mjs +1 -1
- package/dist/esm2022/payio/catalogs/interfaces/i-catalog-item.mjs +1 -1
- package/dist/esm2022/payio/catalogs/interfaces/i-catalog-option-group.mjs +1 -1
- package/dist/esm2022/payio/catalogs/interfaces/i-catalog-pizza.mjs +1 -1
- package/dist/esm2022/payio/catalogs/interfaces/i-catalog.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +32 -28
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/catalogs/entities/catalog-category.entity.d.ts +6 -4
- package/dist/payio/catalogs/entities/catalog-category.entity.js +3 -3
- package/dist/payio/catalogs/entities/catalog-item.entity.d.ts +6 -5
- package/dist/payio/catalogs/entities/catalog-item.entity.js +2 -1
- package/dist/payio/catalogs/entities/catalog-option-group.entity.d.ts +5 -4
- package/dist/payio/catalogs/entities/catalog-option-group.entity.js +2 -1
- package/dist/payio/catalogs/entities/catalog-option.entity.d.ts +2 -2
- package/dist/payio/catalogs/entities/catalog-pizza.entity.d.ts +3 -1
- package/dist/payio/catalogs/entities/catalog-pizza.entity.js +3 -1
- package/dist/payio/catalogs/entities/catalog.entity.d.ts +5 -5
- package/dist/payio/catalogs/entities/catalog.entity.js +1 -1
- package/dist/payio/catalogs/interfaces/i-catalog-category.d.ts +6 -5
- package/dist/payio/catalogs/interfaces/i-catalog-item.d.ts +5 -4
- package/dist/payio/catalogs/interfaces/i-catalog-option-group.d.ts +7 -6
- package/dist/payio/catalogs/interfaces/i-catalog-pizza.d.ts +5 -3
- package/dist/payio/catalogs/interfaces/i-catalog.d.ts +4 -4
- package/package.json +1 -1
@@ -1,15 +1,17 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioImportStatus } from
|
2
|
-
import { IPayioCatalogCategory, IPayioCatalogItem
|
1
|
+
import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioEngines, EPayioImportStatus } from '../enums';
|
2
|
+
import { IPayioCatalogCategory, IPayioCatalogItem } from '../interfaces';
|
3
|
+
import { PayioCatalogPizzaEntity } from './catalog-pizza.entity';
|
3
4
|
export declare class PayioCatalogCategoryEntity implements IPayioCatalogCategory {
|
4
5
|
autoImportStatus: EPayioImportStatus;
|
5
6
|
catalogId: string;
|
6
7
|
createdAt: Date;
|
8
|
+
engine: EPayioEngines;
|
9
|
+
externalReference: string | null;
|
7
10
|
id: string;
|
8
|
-
ifoodId: string | null;
|
9
11
|
index: number;
|
10
12
|
items?: IPayioCatalogItem[];
|
11
13
|
name: string;
|
12
|
-
pizza?:
|
14
|
+
pizza?: PayioCatalogPizzaEntity;
|
13
15
|
sequence: number;
|
14
16
|
status: EPayioCatalogStatus;
|
15
17
|
tags: string[];
|
@@ -2,18 +2,18 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioCatalogCategoryEntity = void 0;
|
4
4
|
var enums_1 = require("../enums");
|
5
|
-
var catalog_pizza_entity_1 = require("./catalog-pizza.entity");
|
6
5
|
var PayioCatalogCategoryEntity = /** @class */ (function () {
|
7
6
|
function PayioCatalogCategoryEntity(data) {
|
8
7
|
this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED;
|
9
8
|
this.catalogId = '';
|
10
9
|
this.createdAt = new Date();
|
10
|
+
this.engine = enums_1.EPayioEngines.NONE;
|
11
|
+
this.externalReference = null;
|
11
12
|
this.id = '';
|
12
|
-
this.ifoodId = null;
|
13
13
|
this.index = 0;
|
14
14
|
this.items = [];
|
15
15
|
this.name = '';
|
16
|
-
this.pizza =
|
16
|
+
this.pizza = undefined;
|
17
17
|
this.sequence = 0;
|
18
18
|
this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
|
19
19
|
this.tags = [];
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioImportStatus } from
|
2
|
-
import { IPayioCatalogItem } from
|
3
|
-
import { PayioCatalogOptionGroupEntity } from
|
4
|
-
import { PayioCatalogShiftEntity } from
|
1
|
+
import { EPayioCatalogStatus, EPayioEngines, EPayioImportStatus } from "../enums";
|
2
|
+
import { IPayioCatalogItem } from "../interfaces";
|
3
|
+
import { PayioCatalogOptionGroupEntity } from "./catalog-option-group.entity";
|
4
|
+
import { PayioCatalogShiftEntity } from "./catalog-shift.entity";
|
5
5
|
export declare class PayioCatalogItemEntity implements IPayioCatalogItem {
|
6
6
|
autoImportStatus: EPayioImportStatus;
|
7
7
|
catalogId: string;
|
@@ -11,10 +11,11 @@ export declare class PayioCatalogItemEntity implements IPayioCatalogItem {
|
|
11
11
|
customizationModifiers: string[];
|
12
12
|
description: string;
|
13
13
|
dietaryRestrictions: string[];
|
14
|
+
engine: EPayioEngines;
|
14
15
|
externalCode: string;
|
16
|
+
externalReference: string | null;
|
15
17
|
hasOptionGroups: boolean;
|
16
18
|
id: string;
|
17
|
-
ifoodId: string | null;
|
18
19
|
imagePath: string;
|
19
20
|
index: number;
|
20
21
|
name: string;
|
@@ -12,10 +12,11 @@ var PayioCatalogItemEntity = /** @class */ (function () {
|
|
12
12
|
this.customizationModifiers = [];
|
13
13
|
this.description = '';
|
14
14
|
this.dietaryRestrictions = [];
|
15
|
+
this.engine = enums_1.EPayioEngines.NONE;
|
15
16
|
this.externalCode = '';
|
17
|
+
this.externalReference = null;
|
16
18
|
this.hasOptionGroups = false;
|
17
19
|
this.id = '';
|
18
|
-
this.ifoodId = null;
|
19
20
|
this.imagePath = '';
|
20
21
|
this.index = 0;
|
21
22
|
this.name = '';
|
@@ -1,13 +1,14 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioImportStatus } from
|
2
|
-
import { IPayioCatalogOptionGroup } from
|
3
|
-
import { PayioCatalogOptionEntity } from
|
1
|
+
import { EPayioCatalogStatus, EPayioEngines, EPayioImportStatus } from "../enums";
|
2
|
+
import { IPayioCatalogOptionGroup } from "../interfaces";
|
3
|
+
import { PayioCatalogOptionEntity } from "./catalog-option.entity";
|
4
4
|
export declare class PayioCatalogOptionGroupEntity implements IPayioCatalogOptionGroup {
|
5
5
|
autoImportStatus: EPayioImportStatus;
|
6
6
|
catalogId: string;
|
7
7
|
categoryId: string;
|
8
8
|
createdAt: Date;
|
9
|
+
engine: EPayioEngines;
|
10
|
+
externalReference: string | null;
|
9
11
|
id: string;
|
10
|
-
ifoodId: string | null;
|
11
12
|
index: number;
|
12
13
|
itemId: string;
|
13
14
|
max: number;
|
@@ -8,8 +8,9 @@ var PayioCatalogOptionGroupEntity = /** @class */ (function () {
|
|
8
8
|
this.catalogId = '';
|
9
9
|
this.categoryId = '';
|
10
10
|
this.createdAt = new Date();
|
11
|
+
this.engine = enums_1.EPayioEngines.NONE;
|
12
|
+
this.externalReference = null;
|
11
13
|
this.id = '';
|
12
|
-
this.ifoodId = null;
|
13
14
|
this.index = 0;
|
14
15
|
this.itemId = '';
|
15
16
|
this.max = 0;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import { EPayioCatalogStatus } from
|
2
|
-
import { IPayioCatalogOption } from
|
1
|
+
import { EPayioCatalogStatus } from "../enums";
|
2
|
+
import { IPayioCatalogOption } from "../interfaces/i-catalog-option";
|
3
3
|
export declare class PayioCatalogOptionEntity implements IPayioCatalogOption {
|
4
4
|
description: string;
|
5
5
|
externalCode: string;
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EPayioEngines } from "../enums";
|
1
2
|
import { IPayioCatalogPizza } from "../interfaces";
|
2
3
|
import { PayioCatalogPizzaCrustEntity } from "./catalog-pizza-crust.entity";
|
3
4
|
import { PayioCatalogPizzaEdgeEntity } from "./catalog-pizza-edge.entity";
|
@@ -10,8 +11,9 @@ export declare class PayioCatalogPizzaEntity implements IPayioCatalogPizza {
|
|
10
11
|
createdAt: Date;
|
11
12
|
crusts: PayioCatalogPizzaCrustEntity[];
|
12
13
|
edges: PayioCatalogPizzaEdgeEntity[];
|
14
|
+
engine: EPayioEngines;
|
15
|
+
externalReference: string | null;
|
13
16
|
id: string;
|
14
|
-
ifoodId: string | null;
|
15
17
|
shifts: PayioCatalogShiftEntity[];
|
16
18
|
sizes: PayioCatalogPizzaSizeEntity[];
|
17
19
|
toppings: PayioCatalogPizzaToppingEntity[];
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioCatalogPizzaEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
4
5
|
var PayioCatalogPizzaEntity = /** @class */ (function () {
|
5
6
|
function PayioCatalogPizzaEntity(data) {
|
6
7
|
this.catalogId = '';
|
@@ -8,8 +9,9 @@ var PayioCatalogPizzaEntity = /** @class */ (function () {
|
|
8
9
|
this.createdAt = new Date();
|
9
10
|
this.crusts = [];
|
10
11
|
this.edges = [];
|
12
|
+
this.engine = enums_1.EPayioEngines.NONE;
|
13
|
+
this.externalReference = null;
|
11
14
|
this.id = '';
|
12
|
-
this.ifoodId = null;
|
13
15
|
this.shifts = [];
|
14
16
|
this.sizes = [];
|
15
17
|
this.toppings = [];
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { EPayioCatalogContext, EPayioCatalogStatus, EPayioEngines } from
|
2
|
-
import { EPayioImportStatus } from
|
3
|
-
import { IPayioCatalog } from
|
4
|
-
import { PayioCatalogCategoryEntity } from
|
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;
|
@@ -11,9 +11,9 @@ export declare class PayioCatalogEntity implements IPayioCatalog {
|
|
11
11
|
context: EPayioCatalogContext[];
|
12
12
|
createdAt: Date;
|
13
13
|
engine: EPayioEngines;
|
14
|
+
externalReference: string | null;
|
14
15
|
id: string;
|
15
16
|
name: string;
|
16
|
-
reference: string | null;
|
17
17
|
sandbox: boolean;
|
18
18
|
status: EPayioCatalogStatus;
|
19
19
|
tags: string[];
|
@@ -13,9 +13,9 @@ var PayioCatalogEntity = /** @class */ (function () {
|
|
13
13
|
this.context = [enums_1.EPayioCatalogContext.DEFAULT];
|
14
14
|
this.createdAt = new Date();
|
15
15
|
this.engine = enums_1.EPayioEngines.NONE;
|
16
|
+
this.externalReference = null;
|
16
17
|
this.id = '';
|
17
18
|
this.name = '';
|
18
|
-
this.reference = null;
|
19
19
|
this.sandbox = false;
|
20
20
|
this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
|
21
21
|
this.tags = [];
|
@@ -1,12 +1,13 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioImportStatus } from
|
2
|
-
import { IPayioCatalogItem } from
|
3
|
-
import { IPayioCatalogPizza } from
|
1
|
+
import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioEngines, EPayioImportStatus } from "../enums";
|
2
|
+
import { IPayioCatalogItem } from "./i-catalog-item";
|
3
|
+
import { IPayioCatalogPizza } from "./i-catalog-pizza";
|
4
4
|
export interface IPayioCatalogCategory {
|
5
5
|
autoImportStatus: EPayioImportStatus;
|
6
|
+
catalogId: string;
|
6
7
|
createdAt: Date;
|
8
|
+
engine: EPayioEngines;
|
9
|
+
externalReference: string | null;
|
7
10
|
id: string;
|
8
|
-
ifoodId: string | null;
|
9
|
-
catalogId: string;
|
10
11
|
index: number;
|
11
12
|
items?: IPayioCatalogItem[];
|
12
13
|
name: string;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioImportStatus } from
|
2
|
-
import { IPayioCatalogOptionGroup } from
|
3
|
-
import { IPayioCatalogShift } from
|
1
|
+
import { EPayioCatalogStatus, EPayioEngines, EPayioImportStatus } from "../enums";
|
2
|
+
import { IPayioCatalogOptionGroup } from "./i-catalog-option-group";
|
3
|
+
import { IPayioCatalogShift } from "./i-catalog-shift";
|
4
4
|
export interface IPayioCatalogItem {
|
5
5
|
autoImportStatus: EPayioImportStatus;
|
6
6
|
catalogId: string;
|
@@ -10,10 +10,11 @@ export interface IPayioCatalogItem {
|
|
10
10
|
customizationModifiers: string[];
|
11
11
|
description: string;
|
12
12
|
dietaryRestrictions: string[];
|
13
|
+
engine: EPayioEngines;
|
13
14
|
externalCode: string;
|
15
|
+
externalReference: string | null;
|
14
16
|
hasOptionGroups: boolean;
|
15
17
|
id: string;
|
16
|
-
ifoodId: string | null;
|
17
18
|
imagePath: string;
|
18
19
|
index: number;
|
19
20
|
name: string;
|
@@ -1,14 +1,15 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioImportStatus } from
|
2
|
-
import { IPayioCatalogOption } from
|
1
|
+
import { EPayioCatalogStatus, EPayioEngines, EPayioImportStatus } from "../enums";
|
2
|
+
import { IPayioCatalogOption } from "./i-catalog-option";
|
3
3
|
export interface IPayioCatalogOptionGroup {
|
4
4
|
autoImportStatus: EPayioImportStatus;
|
5
|
-
createdAt: Date;
|
6
|
-
id: string;
|
7
|
-
ifoodId: string | null;
|
8
5
|
catalogId: string;
|
9
6
|
categoryId: string;
|
10
|
-
|
7
|
+
createdAt: Date;
|
8
|
+
engine: EPayioEngines;
|
9
|
+
externalReference: string | null;
|
10
|
+
id: string;
|
11
11
|
index: number;
|
12
|
+
itemId: string;
|
12
13
|
max: number;
|
13
14
|
min: number;
|
14
15
|
name: string;
|
@@ -1,16 +1,18 @@
|
|
1
|
+
import { EPayioEngines } from '../enums';
|
1
2
|
import { IPayioCatalogPizzaCrust } from './i-catalog-pizza-crust';
|
2
3
|
import { IPayioCatalogPizzaEdge } from './i-catalog-pizza-edge';
|
3
4
|
import { IPayioCatalogPizzaSize } from './i-catalog-pizza-size';
|
4
5
|
import { IPayioCatalogPizzaTopping } from './i-catalog-pizza-topping';
|
5
6
|
import { IPayioCatalogShift } from './i-catalog-shift';
|
6
7
|
export interface IPayioCatalogPizza {
|
8
|
+
catalogId: string;
|
9
|
+
categoryId: string;
|
7
10
|
createdAt: Date;
|
8
11
|
crusts: IPayioCatalogPizzaCrust[];
|
9
12
|
edges: IPayioCatalogPizzaEdge[];
|
13
|
+
engine: EPayioEngines;
|
14
|
+
externalReference: string | null;
|
10
15
|
id: string;
|
11
|
-
ifoodId: string | null;
|
12
|
-
catalogId: string;
|
13
|
-
categoryId: string;
|
14
16
|
shifts: IPayioCatalogShift[];
|
15
17
|
sizes: IPayioCatalogPizzaSize[];
|
16
18
|
toppings: IPayioCatalogPizzaTopping[];
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { EPayioCatalogContext, EPayioCatalogStatus, EPayioEngines } from
|
2
|
-
import { EPayioImportStatus } from
|
3
|
-
import { IPayioCatalogCategory } from
|
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;
|
@@ -10,9 +10,9 @@ export interface IPayioCatalog {
|
|
10
10
|
context: EPayioCatalogContext[];
|
11
11
|
createdAt: Date;
|
12
12
|
engine: EPayioEngines;
|
13
|
+
externalReference: string | null;
|
13
14
|
id: string;
|
14
15
|
name: string;
|
15
|
-
reference: string | null;
|
16
16
|
sandbox: boolean;
|
17
17
|
status: EPayioCatalogStatus;
|
18
18
|
tags: string[];
|