mdz-enum 1.3.1 → 1.3.3

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.
@@ -115,7 +115,8 @@ export declare const SituacaoOperacao: {
115
115
  Pendente: string;
116
116
  Processado: string;
117
117
  EmProcessamento: string;
118
- description(val: string): "enum not found" | "Pendente" | "Em processamento" | "Processado" | "Em edição";
118
+ Erro: string;
119
+ description(val: string): "enum not found" | "Pendente" | "Erro" | "Em processamento" | "Processado" | "Em edição";
119
120
  };
120
121
  export declare const SituacaoPagamento: {
121
122
  Pendente: string;
@@ -327,6 +327,7 @@ exports.SituacaoOperacao = {
327
327
  Pendente: '2',
328
328
  Processado: '3',
329
329
  EmProcessamento: '4',
330
+ Erro: '5',
330
331
  description(val) {
331
332
  switch (val) {
332
333
  case this.EmEdicao:
@@ -337,6 +338,8 @@ exports.SituacaoOperacao = {
337
338
  return 'Processado';
338
339
  case this.EmProcessamento:
339
340
  return 'Em processamento';
341
+ case this.Erro:
342
+ return 'Erro';
340
343
  default:
341
344
  return 'enum not found';
342
345
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.3.1",
3
+ "version": "1.3.3",
4
4
  "description": "Enumerados ModerShop",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {