cecon-interfaces 1.8.90 → 1.8.93
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/payload/enums/token-type.enum.mjs +2 -1
- package/dist/esm2022/payio/schedules/entities/schedule-product.entity.mjs +2 -8
- package/dist/esm2022/payio/schedules/enums/skill.enum.mjs +5 -4
- package/dist/esm2022/payio/schedules/interfaces/i-schedule-product.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +6 -10
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/payload/enums/token-type.enum.d.ts +2 -1
- package/dist/payio/payload/enums/token-type.enum.js +1 -0
- package/dist/payio/schedules/entities/schedule-product.entity.d.ts +0 -6
- package/dist/payio/schedules/entities/schedule-product.entity.js +1 -7
- package/dist/payio/schedules/enums/skill.enum.d.ts +4 -3
- package/dist/payio/schedules/enums/skill.enum.js +4 -3
- package/dist/payio/schedules/interfaces/i-schedule-product.d.ts +1 -32
- package/package.json +1 -1
- package/readme.md +6 -3
@@ -10,4 +10,5 @@ var EPayioJwtTokenType;
|
|
10
10
|
EPayioJwtTokenType["CHECKOUT"] = "CHECKOUT";
|
11
11
|
EPayioJwtTokenType["DEVICE"] = "DEVICE";
|
12
12
|
EPayioJwtTokenType["ACCESS_TOKEN"] = "ACCESS_TOKEN";
|
13
|
+
EPayioJwtTokenType["DEVELOPER_APP"] = "DEVELOPER_APP";
|
13
14
|
})(EPayioJwtTokenType || (exports.EPayioJwtTokenType = EPayioJwtTokenType = {}));
|
@@ -3,14 +3,8 @@ import { IPayioScheduleProduct } from '../interfaces/i-schedule-product';
|
|
3
3
|
export declare class PayioScheduleProductEntity implements IPayioScheduleProduct {
|
4
4
|
code: string;
|
5
5
|
description: string;
|
6
|
-
exceededWeightMessageText: string | null;
|
7
|
-
exceededWeightPrice: number;
|
8
|
-
helpYourSelf: boolean;
|
9
|
-
id: string;
|
10
6
|
price: number;
|
11
7
|
skill: EPayioScheduleSkill;
|
12
8
|
unit: string;
|
13
|
-
weightLimitMessage: number;
|
14
|
-
weightLimitPrice: number;
|
15
9
|
constructor(data?: Partial<PayioScheduleProductEntity>);
|
16
10
|
}
|
@@ -6,15 +6,9 @@ var PayioScheduleProductEntity = /** @class */ (function () {
|
|
6
6
|
function PayioScheduleProductEntity(data) {
|
7
7
|
this.code = '';
|
8
8
|
this.description = '';
|
9
|
-
this.exceededWeightMessageText = '';
|
10
|
-
this.exceededWeightPrice = 0;
|
11
|
-
this.helpYourSelf = false;
|
12
|
-
this.id = '';
|
13
9
|
this.price = 0;
|
14
|
-
this.skill = enums_1.EPayioScheduleSkill.
|
10
|
+
this.skill = enums_1.EPayioScheduleSkill.NORMAL;
|
15
11
|
this.unit = 'KG';
|
16
|
-
this.weightLimitMessage = 0;
|
17
|
-
this.weightLimitPrice = 0;
|
18
12
|
if (data) {
|
19
13
|
for (var key in data) {
|
20
14
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,5 +1,6 @@
|
|
1
1
|
export declare enum EPayioScheduleSkill {
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
COMA_A_VONTADE = "all_you_can_eat",
|
3
|
+
POR_PESO = "by_weight",
|
4
|
+
NORMAL = "default",
|
5
|
+
PRECO_MANUAL = "manual_price"
|
5
6
|
}
|
@@ -3,7 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.EPayioScheduleSkill = void 0;
|
4
4
|
var EPayioScheduleSkill;
|
5
5
|
(function (EPayioScheduleSkill) {
|
6
|
-
EPayioScheduleSkill["
|
7
|
-
EPayioScheduleSkill["
|
8
|
-
EPayioScheduleSkill["
|
6
|
+
EPayioScheduleSkill["COMA_A_VONTADE"] = "all_you_can_eat";
|
7
|
+
EPayioScheduleSkill["POR_PESO"] = "by_weight";
|
8
|
+
EPayioScheduleSkill["NORMAL"] = "default";
|
9
|
+
EPayioScheduleSkill["PRECO_MANUAL"] = "manual_price";
|
9
10
|
})(EPayioScheduleSkill || (exports.EPayioScheduleSkill = EPayioScheduleSkill = {}));
|
@@ -2,38 +2,7 @@ import { EPayioScheduleSkill } from '../enums';
|
|
2
2
|
export interface IPayioScheduleProduct {
|
3
3
|
code: string;
|
4
4
|
description: string;
|
5
|
-
/**
|
6
|
-
* @deprecated
|
7
|
-
* Preço fixo aplicado ao exceder o limite de peso
|
8
|
-
*/
|
9
|
-
exceededWeightMessageText: string | null;
|
10
|
-
/**
|
11
|
-
* @deprecated
|
12
|
-
* Limite de peso para enviar mensagem
|
13
|
-
*/
|
14
|
-
exceededWeightPrice: number;
|
15
|
-
skill: EPayioScheduleSkill;
|
16
|
-
/**
|
17
|
-
* @deprecated
|
18
|
-
*/
|
19
|
-
helpYourSelf: boolean;
|
20
|
-
/**
|
21
|
-
* @deprecated
|
22
|
-
*/
|
23
|
-
id: string;
|
24
|
-
/**
|
25
|
-
* Texto associado à mensagem sonora
|
26
|
-
*/
|
27
5
|
price: number;
|
6
|
+
skill: EPayioScheduleSkill;
|
28
7
|
unit: string;
|
29
|
-
/**
|
30
|
-
* @deprecated
|
31
|
-
* Limite máximo de peso para aplicar regras
|
32
|
-
*/
|
33
|
-
weightLimitMessage: number;
|
34
|
-
/**
|
35
|
-
* @deprecated
|
36
|
-
* Preço fixo aplicado ao exceder o limite de peso
|
37
|
-
*/
|
38
|
-
weightLimitPrice: number;
|
39
8
|
}
|
package/package.json
CHANGED
package/readme.md
CHANGED
@@ -4,9 +4,12 @@ Compilar & publicar:
|
|
4
4
|
|
5
5
|
ATENÇAO, sempre mudar a versão do package.json
|
6
6
|
|
7
|
-
|
8
|
-
npm run
|
9
|
-
|
7
|
+
// primeiro
|
8
|
+
npm run packagr
|
9
|
+
// segundo
|
10
|
+
npm run build
|
11
|
+
// terceiro
|
12
|
+
npm publish
|
10
13
|
|
11
14
|
|
12
15
|
*Não esqueça de dar push no github*
|