cecon-interfaces 1.8.78 → 1.8.79
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/general/enums/from.enum.mjs +1 -1
- package/dist/esm2022/payio/catalogs/entities/catalog-category.entity.mjs +4 -2
- package/dist/esm2022/payio/catalogs/entities/catalog-item.entity.mjs +4 -2
- package/dist/esm2022/payio/catalogs/entities/catalog-option-group.entity.mjs +4 -2
- package/dist/esm2022/payio/catalogs/entities/catalog-pizza.entity.mjs +2 -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/fesm2022/cecon-interfaces.mjs +6 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/catalogs/entities/catalog-category.entity.d.ts +5 -3
- package/dist/payio/catalogs/entities/catalog-category.entity.js +2 -0
- package/dist/payio/catalogs/entities/catalog-item.entity.d.ts +6 -4
- package/dist/payio/catalogs/entities/catalog-item.entity.js +2 -0
- package/dist/payio/catalogs/entities/catalog-option-group.entity.d.ts +5 -3
- package/dist/payio/catalogs/entities/catalog-option-group.entity.js +2 -0
- package/dist/payio/catalogs/entities/catalog-pizza.entity.d.ts +7 -9
- package/dist/payio/catalogs/entities/catalog-pizza.entity.js +0 -2
- package/dist/payio/catalogs/interfaces/i-catalog-category.d.ts +5 -3
- package/dist/payio/catalogs/interfaces/i-catalog-item.d.ts +2 -0
- package/dist/payio/catalogs/interfaces/i-catalog-option-group.d.ts +4 -2
- package/dist/payio/catalogs/interfaces/i-catalog-pizza.d.ts +0 -2
- package/package.json +1 -1
@@ -1,9 +1,11 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioEngines, EPayioImportStatus } from
|
2
|
-
import { IPayioCatalogCategory, IPayioCatalogItem } from
|
3
|
-
import { PayioCatalogPizzaEntity } from
|
1
|
+
import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioEngines, EPayioImportStatus } from "../enums";
|
2
|
+
import { IPayioCatalogCategory, IPayioCatalogItem } from "../interfaces";
|
3
|
+
import { PayioCatalogPizzaEntity } from "./catalog-pizza.entity";
|
4
4
|
export declare class PayioCatalogCategoryEntity implements IPayioCatalogCategory {
|
5
5
|
autoImportStatus: EPayioImportStatus;
|
6
6
|
catalogId: string;
|
7
|
+
companyId: string;
|
8
|
+
containerId: string | null;
|
7
9
|
createdAt: Date;
|
8
10
|
engine: EPayioEngines;
|
9
11
|
externalReference: string | null;
|
@@ -6,6 +6,8 @@ var PayioCatalogCategoryEntity = /** @class */ (function () {
|
|
6
6
|
function PayioCatalogCategoryEntity(data) {
|
7
7
|
this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED;
|
8
8
|
this.catalogId = '';
|
9
|
+
this.companyId = '';
|
10
|
+
this.containerId = null;
|
9
11
|
this.createdAt = new Date();
|
10
12
|
this.engine = enums_1.EPayioEngines.NONE;
|
11
13
|
this.externalReference = null;
|
@@ -1,11 +1,13 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioEngines, 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;
|
8
8
|
categoryId: string;
|
9
|
+
companyId: string;
|
10
|
+
containerId: string | null;
|
9
11
|
contextModifiers: string[];
|
10
12
|
createdAt: Date;
|
11
13
|
customizationModifiers: string[];
|
@@ -7,6 +7,8 @@ var PayioCatalogItemEntity = /** @class */ (function () {
|
|
7
7
|
this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED;
|
8
8
|
this.catalogId = '';
|
9
9
|
this.categoryId = '';
|
10
|
+
this.companyId = '';
|
11
|
+
this.containerId = null;
|
10
12
|
this.contextModifiers = [];
|
11
13
|
this.createdAt = new Date();
|
12
14
|
this.customizationModifiers = [];
|
@@ -1,10 +1,12 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioEngines, 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
|
+
companyId: string;
|
9
|
+
containerId: string | null;
|
8
10
|
createdAt: Date;
|
9
11
|
engine: EPayioEngines;
|
10
12
|
externalReference: string | null;
|
@@ -7,6 +7,8 @@ var PayioCatalogOptionGroupEntity = /** @class */ (function () {
|
|
7
7
|
this.autoImportStatus = enums_1.EPayioImportStatus.DISABLED;
|
8
8
|
this.catalogId = '';
|
9
9
|
this.categoryId = '';
|
10
|
+
this.companyId = '';
|
11
|
+
this.containerId = null;
|
10
12
|
this.createdAt = new Date();
|
11
13
|
this.engine = enums_1.EPayioEngines.NONE;
|
12
14
|
this.externalReference = null;
|
@@ -1,13 +1,11 @@
|
|
1
|
-
import { EPayioEngines } from
|
2
|
-
import { IPayioCatalogPizza } from
|
3
|
-
import { PayioCatalogPizzaCrustEntity } from
|
4
|
-
import { PayioCatalogPizzaEdgeEntity } from
|
5
|
-
import { PayioCatalogPizzaSizeEntity } from
|
6
|
-
import { PayioCatalogPizzaToppingEntity } from
|
7
|
-
import { PayioCatalogShiftEntity } from
|
1
|
+
import { EPayioEngines } from '../enums';
|
2
|
+
import { IPayioCatalogPizza } from '../interfaces';
|
3
|
+
import { PayioCatalogPizzaCrustEntity } from './catalog-pizza-crust.entity';
|
4
|
+
import { PayioCatalogPizzaEdgeEntity } from './catalog-pizza-edge.entity';
|
5
|
+
import { PayioCatalogPizzaSizeEntity } from './catalog-pizza-size.entity';
|
6
|
+
import { PayioCatalogPizzaToppingEntity } from './catalog-pizza-topping.entity';
|
7
|
+
import { PayioCatalogShiftEntity } from './catalog-shift.entity';
|
8
8
|
export declare class PayioCatalogPizzaEntity implements IPayioCatalogPizza {
|
9
|
-
catalogId: string;
|
10
|
-
categoryId: string;
|
11
9
|
createdAt: Date;
|
12
10
|
crusts: PayioCatalogPizzaCrustEntity[];
|
13
11
|
edges: PayioCatalogPizzaEdgeEntity[];
|
@@ -4,8 +4,6 @@ exports.PayioCatalogPizzaEntity = void 0;
|
|
4
4
|
var enums_1 = require("../enums");
|
5
5
|
var PayioCatalogPizzaEntity = /** @class */ (function () {
|
6
6
|
function PayioCatalogPizzaEntity(data) {
|
7
|
-
this.catalogId = '';
|
8
|
-
this.categoryId = '';
|
9
7
|
this.createdAt = new Date();
|
10
8
|
this.crusts = [];
|
11
9
|
this.edges = [];
|
@@ -1,9 +1,11 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioCategoryTemplate, EPayioEngines, 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
6
|
catalogId: string;
|
7
|
+
companyId: string;
|
8
|
+
containerId: string | null;
|
7
9
|
createdAt: Date;
|
8
10
|
engine: EPayioEngines;
|
9
11
|
externalReference: string | null;
|
@@ -1,9 +1,11 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioEngines, 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
5
|
catalogId: string;
|
6
6
|
categoryId: string;
|
7
|
+
companyId: string;
|
8
|
+
containerId: string | null;
|
7
9
|
createdAt: Date;
|
8
10
|
engine: EPayioEngines;
|
9
11
|
externalReference: string | null;
|
@@ -5,8 +5,6 @@ import { IPayioCatalogPizzaSize } from './i-catalog-pizza-size';
|
|
5
5
|
import { IPayioCatalogPizzaTopping } from './i-catalog-pizza-topping';
|
6
6
|
import { IPayioCatalogShift } from './i-catalog-shift';
|
7
7
|
export interface IPayioCatalogPizza {
|
8
|
-
catalogId: string;
|
9
|
-
categoryId: string;
|
10
8
|
createdAt: Date;
|
11
9
|
crusts: IPayioCatalogPizzaCrust[];
|
12
10
|
edges: IPayioCatalogPizzaEdge[];
|