mdz-enum 1.1.24 → 1.1.26

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.
@@ -58,14 +58,14 @@ export declare const ModeloEtiqueta: {
58
58
  };
59
59
  export declare const ParametroEtiquetaProduto: {
60
60
  Sku: string;
61
- DescricaoProduto: string;
62
- CodigoBarras: string;
61
+ Nome: string;
62
+ Barra: string;
63
63
  Marca: string;
64
- Variacao: string;
65
- PrecoVarejo: string;
66
- PrecoAtacado: string;
67
- PrecoVarProm: string;
68
- PrecoAtacProm: string;
64
+ Grade: string;
65
+ Pv: string;
66
+ Pa: string;
67
+ Pvp: string;
68
+ Pap: string;
69
69
  description(val: string): "enum not found" | "Sku" | "Descrição" | "Codigo de Barras" | "Marca" | "Variação" | "Preço Varejo" | "Preço Atacado" | "Preço Varejo Promocional" | "Preço Atacado Promocional";
70
70
  };
71
71
  export declare const ModeloPimaco: {
@@ -168,33 +168,33 @@ exports.ModeloEtiqueta = {
168
168
  };
169
169
  exports.ParametroEtiquetaProduto = {
170
170
  Sku: '1',
171
- DescricaoProduto: '2',
172
- CodigoBarras: '3',
171
+ Nome: '2',
172
+ Barra: '3',
173
173
  Marca: '4',
174
- Variacao: '5',
175
- PrecoVarejo: '6',
176
- PrecoAtacado: '7',
177
- PrecoVarProm: '8',
178
- PrecoAtacProm: '9',
174
+ Grade: '5',
175
+ Pv: '6',
176
+ Pa: '7',
177
+ Pvp: '8',
178
+ Pap: '9',
179
179
  description(val) {
180
180
  switch (val) {
181
181
  case this.Sku:
182
182
  return 'Sku';
183
- case this.DescricaoProduto:
183
+ case this.Nome:
184
184
  return 'Descrição';
185
- case this.CodigoBarras:
185
+ case this.Barra:
186
186
  return 'Codigo de Barras';
187
187
  case this.Marca:
188
188
  return 'Marca';
189
- case this.Variacao:
189
+ case this.Grade:
190
190
  return 'Variação';
191
- case this.PrecoVarejo:
191
+ case this.Pv:
192
192
  return 'Preço Varejo';
193
- case this.PrecoAtacado:
193
+ case this.Pa:
194
194
  return 'Preço Atacado';
195
- case this.PrecoVarProm:
195
+ case this.Pvp:
196
196
  return 'Preço Varejo Promocional';
197
- case this.PrecoAtacProm:
197
+ case this.Pap:
198
198
  return 'Preço Atacado Promocional';
199
199
  default:
200
200
  return 'enum not found';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.1.24",
3
+ "version": "1.1.26",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,12 +0,0 @@
1
- export declare const SituacaoOrganizacao: {
2
- Ativo: string;
3
- Bloqueado: string;
4
- Cancelado: string;
5
- description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado";
6
- };
7
- export declare const TipoOrganizacao: {
8
- Cliente: string;
9
- Parceiro: string;
10
- Entidade: string;
11
- description(val: string): "enum not found" | "Cliente" | "Entidade" | "Parceiro";
12
- };
@@ -1,37 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TipoOrganizacao = exports.SituacaoOrganizacao = void 0;
4
- exports.SituacaoOrganizacao = {
5
- Ativo: '1',
6
- Bloqueado: '2',
7
- Cancelado: '3',
8
- description(val) {
9
- switch (val) {
10
- case this.Ativo:
11
- return 'Ativo';
12
- case this.Bloqueado:
13
- return 'Bloqueado';
14
- case this.Cancelado:
15
- return 'Cancelado';
16
- default:
17
- return 'enum not found';
18
- }
19
- },
20
- };
21
- exports.TipoOrganizacao = {
22
- Cliente: '1',
23
- Parceiro: '2',
24
- Entidade: '3',
25
- description(val) {
26
- switch (val) {
27
- case this.Cliente:
28
- return 'Cliente';
29
- case this.Entidade:
30
- return 'Entidade';
31
- case this.Parceiro:
32
- return 'Parceiro';
33
- default:
34
- return 'enum not found';
35
- }
36
- },
37
- };