mdz-enum 1.0.77 → 1.0.80

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.
@@ -40,5 +40,7 @@ export declare const SituacaoProdutoMarketplace: {
40
40
  Pendente: string;
41
41
  Publicado: string;
42
42
  Erro: string;
43
- description(val: string): "enum not found" | "Pendente a envio" | "Publicado" | "Erro";
43
+ Pausado: string;
44
+ Fechado: string;
45
+ description(val: string): "enum not found" | "Pendente a envio" | "Publicado" | "Erro" | "Pausado" | "Fechado";
44
46
  };
@@ -113,6 +113,8 @@ exports.SituacaoProdutoMarketplace = {
113
113
  Pendente: '1',
114
114
  Publicado: '2',
115
115
  Erro: '3',
116
+ Pausado: '4',
117
+ Fechado: '5',
116
118
  description(val) {
117
119
  switch (val) {
118
120
  case this.Pendente:
@@ -121,6 +123,10 @@ exports.SituacaoProdutoMarketplace = {
121
123
  return 'Publicado';
122
124
  case this.Erro:
123
125
  return 'Erro';
126
+ case this.Pausado:
127
+ return 'Pausado';
128
+ case this.Fechado:
129
+ return 'Fechado';
124
130
  default:
125
131
  return 'enum not found';
126
132
  }
@@ -80,7 +80,7 @@ export declare const SituacaoCaixa: {
80
80
  Aberto: string;
81
81
  Fechado: string;
82
82
  FechadoComDiferenca: string;
83
- description(val: string): "enum not found" | "Aberto" | "Fechado" | "Fechado com Diferença";
83
+ description(val: string): "enum not found" | "Fechado" | "Aberto" | "Fechado com Diferença";
84
84
  };
85
85
  export declare const TipoValorConfiguracaoBoleto: {
86
86
  Percentual: string;
@@ -5,8 +5,8 @@ export declare const TipoAtributo: {
5
5
  };
6
6
  export declare const TipoProduto: {
7
7
  Simples: string;
8
- Avancado: string;
9
- description(val: string): "enum not found" | "Simples" | "Avançado";
8
+ ComGrade: string;
9
+ description(val: string): "enum not found" | "Simples" | "Com Grade";
10
10
  };
11
11
  export declare const TipoValoracao: {
12
12
  PrecoAquisicao: string;
@@ -17,13 +17,13 @@ exports.TipoAtributo = {
17
17
  };
18
18
  exports.TipoProduto = {
19
19
  Simples: '0',
20
- Avancado: '1',
20
+ ComGrade: '1',
21
21
  description(val) {
22
22
  switch (val) {
23
23
  case this.Simples:
24
24
  return 'Simples';
25
- case this.Avancado:
26
- return 'Avançado';
25
+ case this.ComGrade:
26
+ return 'Com Grade';
27
27
  default:
28
28
  return 'enum not found';
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.0.77",
3
+ "version": "1.0.80",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -142,6 +142,8 @@ export const SituacaoProdutoMarketplace = {
142
142
  Pendente: '1',
143
143
  Publicado: '2',
144
144
  Erro: '3',
145
+ Pausado: '4',
146
+ Fechado: '5',
145
147
 
146
148
  description(val: string) {
147
149
  switch (val) {
@@ -154,6 +156,12 @@ export const SituacaoProdutoMarketplace = {
154
156
  case this.Erro:
155
157
  return 'Erro'
156
158
 
159
+ case this.Pausado:
160
+ return 'Pausado'
161
+
162
+ case this.Fechado:
163
+ return 'Fechado'
164
+
157
165
  default:
158
166
  return 'enum not found'
159
167
  }
@@ -18,15 +18,15 @@ export const TipoAtributo = {
18
18
 
19
19
  export const TipoProduto = {
20
20
  Simples: '0',
21
- Avancado: '1',
21
+ ComGrade: '1',
22
22
 
23
23
  description(val: string) {
24
24
  switch (val) {
25
25
  case this.Simples:
26
26
  return 'Simples'
27
27
 
28
- case this.Avancado:
29
- return 'Avançado'
28
+ case this.ComGrade:
29
+ return 'Com Grade'
30
30
 
31
31
  default:
32
32
  return 'enum not found'