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.
@@ -5,5 +5,6 @@ export declare enum EPayioJwtTokenType {
5
5
  CHECKIN = "CHECKIN",
6
6
  CHECKOUT = "CHECKOUT",
7
7
  DEVICE = "DEVICE",
8
- ACCESS_TOKEN = "ACCESS_TOKEN"
8
+ ACCESS_TOKEN = "ACCESS_TOKEN",
9
+ DEVELOPER_APP = "DEVELOPER_APP"
9
10
  }
@@ -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.PRODUCT_BY_WEIGHT;
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
- ALL_YOU_CAN_EAT = "all_you_can_eat",
3
- PRODUCT_BY_WEIGHT = "product_by_weight",
4
- PRODUCT = "product"
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["ALL_YOU_CAN_EAT"] = "all_you_can_eat";
7
- EPayioScheduleSkill["PRODUCT_BY_WEIGHT"] = "product_by_weight";
8
- EPayioScheduleSkill["PRODUCT"] = "product";
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.8.90",
3
+ "version": "1.8.93",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
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
- npm run packagr // primeiro
8
- npm run build // segundo
9
- npm publish // terceiro
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*