cecon-interfaces 1.8.65 → 1.8.66
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 +2 -1
- package/dist/esm2022/payio/catalogs/entities/catalog-item.entity.mjs +2 -1
- package/dist/esm2022/payio/catalogs/entities/catalog-option-group.entity.mjs +2 -1
- package/dist/esm2022/payio/catalogs/entities/catalog.entity.mjs +2 -2
- 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.mjs +1 -1
- package/dist/esm2022/payio/schedules/entities/schedule-product.entity.mjs +3 -4
- package/dist/esm2022/payio/schedules/entities/schedule-slot.entity.mjs +3 -4
- package/dist/esm2022/payio/schedules/enums/index.mjs +2 -0
- package/dist/esm2022/payio/schedules/enums/skill.enum.mjs +7 -0
- package/dist/esm2022/payio/schedules/index.mjs +2 -1
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-product.mjs +1 -1
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-slots.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +15 -8
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/catalogs/entities/catalog-category.entity.d.ts +1 -0
- package/dist/payio/catalogs/entities/catalog-category.entity.js +1 -0
- package/dist/payio/catalogs/entities/catalog-item.entity.d.ts +1 -0
- package/dist/payio/catalogs/entities/catalog-item.entity.js +1 -0
- package/dist/payio/catalogs/entities/catalog-option-group.entity.d.ts +1 -0
- package/dist/payio/catalogs/entities/catalog-option-group.entity.js +1 -0
- package/dist/payio/catalogs/entities/catalog.entity.d.ts +1 -1
- package/dist/payio/catalogs/entities/catalog.entity.js +1 -0
- package/dist/payio/catalogs/interfaces/i-catalog-category.d.ts +1 -0
- package/dist/payio/catalogs/interfaces/i-catalog-item.d.ts +1 -0
- package/dist/payio/catalogs/interfaces/i-catalog-option-group.d.ts +2 -1
- package/dist/payio/catalogs/interfaces/i-catalog.d.ts +1 -1
- package/dist/payio/schedules/entities/schedule-product.entity.d.ts +2 -0
- package/dist/payio/schedules/entities/schedule-product.entity.js +2 -3
- package/dist/payio/schedules/entities/schedule-slot.entity.d.ts +2 -0
- package/dist/payio/schedules/entities/schedule-slot.entity.js +1 -3
- package/dist/payio/schedules/enums/index.d.ts +1 -0
- package/dist/payio/schedules/enums/index.js +5 -0
- package/dist/payio/schedules/enums/skill.enum.d.ts +5 -0
- package/dist/payio/schedules/enums/skill.enum.js +9 -0
- package/dist/payio/schedules/index.d.ts +1 -0
- package/dist/payio/schedules/index.js +1 -0
- package/dist/payio/schedules/interfaces/i-schedule-product.d.ts +27 -0
- package/dist/payio/schedules/interfaces/i-schedule-slots.d.ts +1 -0
- package/package.json +1 -1
@@ -13,6 +13,7 @@ var PayioCatalogCategoryEntity = /** @class */ (function () {
|
|
13
13
|
this.sequence = 0;
|
14
14
|
this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
|
15
15
|
this.template = enums_1.EPayioCategoryTemplate.DEFAULT;
|
16
|
+
this.tags = [];
|
16
17
|
if (data) {
|
17
18
|
for (var key in data) {
|
18
19
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -21,6 +21,7 @@ var PayioCatalogItemEntity = /** @class */ (function () {
|
|
21
21
|
this.serving = '';
|
22
22
|
this.shifts = [];
|
23
23
|
this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
|
24
|
+
this.tags = [];
|
24
25
|
if (data) {
|
25
26
|
for (var key in data) {
|
26
27
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -12,6 +12,7 @@ var PayioCatalogOptionGroupEntity = /** @class */ (function () {
|
|
12
12
|
this.options = [];
|
13
13
|
this.sequence = 0;
|
14
14
|
this.status = enums_1.EPayioCatalogStatus.AVAILABLE;
|
15
|
+
this.tags = [];
|
15
16
|
if (data) {
|
16
17
|
for (var key in data) {
|
17
18
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -3,7 +3,7 @@ import { IPayioCatalog } from '../interfaces';
|
|
3
3
|
import { PayioCatalogCategoryEntity } from './catalog-category.entity';
|
4
4
|
export declare class PayioCatalogEntity implements IPayioCatalog {
|
5
5
|
active: boolean;
|
6
|
-
categories
|
6
|
+
categories: PayioCatalogCategoryEntity[];
|
7
7
|
companyId: string;
|
8
8
|
containerId: string | null;
|
9
9
|
context: EPayioCatalogContext[];
|
@@ -5,6 +5,7 @@ var enums_1 = require("../enums");
|
|
5
5
|
var PayioCatalogEntity = /** @class */ (function () {
|
6
6
|
function PayioCatalogEntity(data) {
|
7
7
|
this.active = true;
|
8
|
+
this.categories = [];
|
8
9
|
this.companyId = '';
|
9
10
|
this.containerId = null;
|
10
11
|
this.context = [enums_1.EPayioCatalogContext.DEFAULT];
|
@@ -1,3 +1,4 @@
|
|
1
|
+
import { EPayioScheduleSkill } from '../enums';
|
1
2
|
import { IPayioScheduleProduct } from '../interfaces/i-schedule-product';
|
2
3
|
export declare class PayioScheduleProductEntity implements IPayioScheduleProduct {
|
3
4
|
code: string;
|
@@ -7,6 +8,7 @@ export declare class PayioScheduleProductEntity implements IPayioScheduleProduct
|
|
7
8
|
helpYourSelf: boolean;
|
8
9
|
id: string;
|
9
10
|
price: number;
|
11
|
+
skill: EPayioScheduleSkill;
|
10
12
|
unit: string;
|
11
13
|
weightLimitMessage: number;
|
12
14
|
weightLimitPrice: number;
|
@@ -1,11 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioScheduleProductEntity = void 0;
|
4
|
+
var enums_1 = require("../enums");
|
4
5
|
var PayioScheduleProductEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (11)
|
6
|
-
// #region Constructors (1)
|
7
6
|
function PayioScheduleProductEntity(data) {
|
8
|
-
// #region Properties (11)
|
9
7
|
this.code = '';
|
10
8
|
this.description = '';
|
11
9
|
this.exceededWeightMessageText = '';
|
@@ -13,6 +11,7 @@ var PayioScheduleProductEntity = /** @class */ (function () {
|
|
13
11
|
this.helpYourSelf = false;
|
14
12
|
this.id = '';
|
15
13
|
this.price = 0;
|
14
|
+
this.skill = enums_1.EPayioScheduleSkill.PRODUCT_BY_WEIGHT;
|
16
15
|
this.unit = 'KG';
|
17
16
|
this.weightLimitMessage = 0;
|
18
17
|
this.weightLimitPrice = 0;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
import { IPayioScheduleSlot } from '../interfaces';
|
2
2
|
export declare class PayioScheduleSlotEntity implements IPayioScheduleSlot {
|
3
|
+
catalogId: string;
|
3
4
|
productCode: string;
|
5
|
+
productId?: string | undefined;
|
4
6
|
time: string;
|
5
7
|
constructor(data?: Partial<PayioScheduleSlotEntity>);
|
6
8
|
}
|
@@ -2,10 +2,8 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioScheduleSlotEntity = void 0;
|
4
4
|
var PayioScheduleSlotEntity = /** @class */ (function () {
|
5
|
-
// #endregion Properties (2)
|
6
|
-
// #region Constructors (1)
|
7
5
|
function PayioScheduleSlotEntity(data) {
|
8
|
-
|
6
|
+
this.catalogId = '';
|
9
7
|
this.productCode = '';
|
10
8
|
this.time = '';
|
11
9
|
if (data) {
|
@@ -0,0 +1 @@
|
|
1
|
+
export { EPayioScheduleSkill } from './skill.enum';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioScheduleSkill = void 0;
|
4
|
+
var skill_enum_1 = require("./skill.enum");
|
5
|
+
Object.defineProperty(exports, "EPayioScheduleSkill", { enumerable: true, get: function () { return skill_enum_1.EPayioScheduleSkill; } });
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPayioScheduleSkill = void 0;
|
4
|
+
var EPayioScheduleSkill;
|
5
|
+
(function (EPayioScheduleSkill) {
|
6
|
+
EPayioScheduleSkill["ALL_YOU_CAN_EAT"] = "all_you_can_eat";
|
7
|
+
EPayioScheduleSkill["PRODUCT_BY_WEIGHT"] = "product_by_weight";
|
8
|
+
EPayioScheduleSkill["PRODUCT"] = "product";
|
9
|
+
})(EPayioScheduleSkill || (exports.EPayioScheduleSkill = EPayioScheduleSkill = {}));
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
18
19
|
__exportStar(require("./interfaces"), exports);
|
@@ -1,12 +1,39 @@
|
|
1
|
+
import { EPayioScheduleSkill } from '../enums';
|
1
2
|
export interface IPayioScheduleProduct {
|
2
3
|
code: string;
|
3
4
|
description: string;
|
5
|
+
/**
|
6
|
+
* @deprecated
|
7
|
+
* Preço fixo aplicado ao exceder o limite de peso
|
8
|
+
*/
|
4
9
|
exceededWeightMessageText: string | null;
|
10
|
+
/**
|
11
|
+
* @deprecated
|
12
|
+
* Limite de peso para enviar mensagem
|
13
|
+
*/
|
5
14
|
exceededWeightPrice: number;
|
15
|
+
skill: EPayioScheduleSkill;
|
16
|
+
/**
|
17
|
+
* @deprecated
|
18
|
+
*/
|
6
19
|
helpYourSelf: boolean;
|
20
|
+
/**
|
21
|
+
* @deprecated
|
22
|
+
*/
|
7
23
|
id: string;
|
24
|
+
/**
|
25
|
+
* Texto associado à mensagem sonora
|
26
|
+
*/
|
8
27
|
price: number;
|
9
28
|
unit: string;
|
29
|
+
/**
|
30
|
+
* @deprecated
|
31
|
+
* Limite máximo de peso para aplicar regras
|
32
|
+
*/
|
10
33
|
weightLimitMessage: number;
|
34
|
+
/**
|
35
|
+
* @deprecated
|
36
|
+
* Preço fixo aplicado ao exceder o limite de peso
|
37
|
+
*/
|
11
38
|
weightLimitPrice: number;
|
12
39
|
}
|