cecon-interfaces 1.8.93 → 1.8.96
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-item.entity.mjs +4 -2
- package/dist/esm2022/payio/catalogs/enums/index.mjs +2 -1
- package/dist/esm2022/payio/catalogs/enums/measure.enum.mjs +6 -0
- package/dist/esm2022/payio/catalogs/interfaces/i-catalog-item.mjs +1 -1
- package/dist/esm2022/payio/orders/entities/order.entity.mjs +2 -1
- package/dist/esm2022/payio/orders/interfaces/i-order.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +10 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/catalogs/entities/catalog-item.entity.d.ts +3 -1
- package/dist/payio/catalogs/entities/catalog-item.entity.js +2 -0
- package/dist/payio/catalogs/enums/index.d.ts +1 -0
- package/dist/payio/catalogs/enums/index.js +3 -1
- package/dist/payio/catalogs/enums/measure.enum.d.ts +4 -0
- package/dist/payio/catalogs/enums/measure.enum.js +8 -0
- package/dist/payio/catalogs/interfaces/i-catalog-item.d.ts +5 -3
- package/dist/payio/orders/entities/order.entity.d.ts +1 -0
- package/dist/payio/orders/entities/order.entity.js +1 -0
- package/dist/payio/orders/interfaces/i-order.d.ts +1 -0
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioEngines, EPayioImportStatus } from '../enums';
|
1
|
+
import { EPayioCatalogStatus, EPayioEngines, EPayioImportStatus, EPayioMeasure } from '../enums';
|
2
2
|
import { IPayioCatalogItem } from '../interfaces';
|
3
3
|
import { PayioCatalogOptionGroupEntity } from './catalog-option-group.entity';
|
4
4
|
import { PayioCatalogShiftEntity } from './catalog-shift.entity';
|
@@ -20,6 +20,7 @@ export declare class PayioCatalogItemEntity implements IPayioCatalogItem {
|
|
20
20
|
id: string;
|
21
21
|
imagePath: string;
|
22
22
|
index: number;
|
23
|
+
measure: EPayioMeasure;
|
23
24
|
name: string;
|
24
25
|
optionGroups: PayioCatalogOptionGroupEntity[];
|
25
26
|
price: {
|
@@ -27,6 +28,7 @@ export declare class PayioCatalogItemEntity implements IPayioCatalogItem {
|
|
27
28
|
originalValue: number;
|
28
29
|
};
|
29
30
|
productId: string;
|
31
|
+
productionPlaceId: string;
|
30
32
|
sequence: number;
|
31
33
|
serving: string;
|
32
34
|
shifts: PayioCatalogShiftEntity[];
|
@@ -21,10 +21,12 @@ var PayioCatalogItemEntity = /** @class */ (function () {
|
|
21
21
|
this.id = '';
|
22
22
|
this.imagePath = '';
|
23
23
|
this.index = 0;
|
24
|
+
this.measure = enums_1.EPayioMeasure.UN;
|
24
25
|
this.name = '';
|
25
26
|
this.optionGroups = [];
|
26
27
|
this.price = { value: 0, originalValue: 0 };
|
27
28
|
this.productId = '';
|
29
|
+
this.productionPlaceId = '';
|
28
30
|
this.sequence = 0;
|
29
31
|
this.serving = '';
|
30
32
|
this.shifts = [];
|
@@ -3,3 +3,4 @@ export { EPayioCatalogStatus } from './catalog-status.enum';
|
|
3
3
|
export { EPayioCategoryTemplate } from './category-template.enum';
|
4
4
|
export { EPayioImportStatus } from './import-status.enum';
|
5
5
|
export { EPayioEngines } from './engines.enum';
|
6
|
+
export { EPayioMeasure } from './measure.enum';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EPayioEngines = exports.EPayioImportStatus = exports.EPayioCategoryTemplate = exports.EPayioCatalogStatus = exports.EPayioCatalogContext = void 0;
|
3
|
+
exports.EPayioMeasure = 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");
|
@@ -11,3 +11,5 @@ 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
12
|
var engines_enum_1 = require("./engines.enum");
|
13
13
|
Object.defineProperty(exports, "EPayioEngines", { enumerable: true, get: function () { return engines_enum_1.EPayioEngines; } });
|
14
|
+
var measure_enum_1 = require("./measure.enum");
|
15
|
+
Object.defineProperty(exports, "EPayioMeasure", { enumerable: true, get: function () { return measure_enum_1.EPayioMeasure; } });
|
@@ -0,0 +1,8 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioMeasure = void 0;
|
4
|
+
var EPayioMeasure;
|
5
|
+
(function (EPayioMeasure) {
|
6
|
+
EPayioMeasure["UN"] = "UN";
|
7
|
+
EPayioMeasure["KG"] = "KG";
|
8
|
+
})(EPayioMeasure || (exports.EPayioMeasure = EPayioMeasure = {}));
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { EPayioCatalogStatus, EPayioEngines, EPayioImportStatus } from
|
2
|
-
import { IPayioCatalogOptionGroup } from
|
3
|
-
import { IPayioCatalogShift } from
|
1
|
+
import { EPayioCatalogStatus, EPayioEngines, EPayioImportStatus, EPayioMeasure } 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;
|
@@ -20,6 +20,8 @@ export interface IPayioCatalogItem {
|
|
20
20
|
imagePath: string;
|
21
21
|
index: number;
|
22
22
|
name: string;
|
23
|
+
measure: EPayioMeasure;
|
24
|
+
productionPlaceId: string;
|
23
25
|
optionGroups: IPayioCatalogOptionGroup[];
|
24
26
|
price: {
|
25
27
|
value: number;
|