mdz-enum 1.0.61 → 1.0.62

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.
@@ -28,7 +28,7 @@ export declare const TipoFrete: {
28
28
  export declare const SituacaoPromocao: {
29
29
  Ativo: string;
30
30
  Inativo: string;
31
- description(val: string): "enum not found" | "Ativo" | "Inativo";
31
+ description(val: string): "enum not found" | "Ativa" | "Inativa";
32
32
  };
33
33
  export declare const TipoDescontoPromocao: {
34
34
  Valor: string;
@@ -84,9 +84,9 @@ exports.SituacaoPromocao = {
84
84
  description(val) {
85
85
  switch (val) {
86
86
  case this.Ativo:
87
- return 'Ativo';
87
+ return 'Ativa';
88
88
  case this.Inativo:
89
- return 'Inativo';
89
+ return 'Inativa';
90
90
  default:
91
91
  return 'enum not found';
92
92
  }
@@ -1,7 +1,7 @@
1
1
  export declare const Situacao: {
2
2
  Inativo: string;
3
3
  Ativo: string;
4
- description(val: string): "enum not found" | "Ativo" | "Inativo";
4
+ description(val: string): "enum not found" | "Inativo" | "Ativo";
5
5
  };
6
6
  export declare const TipoCompartilhamento: {
7
7
  NotaFiscal: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.0.61",
3
+ "version": "1.0.62",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -105,10 +105,10 @@ export const SituacaoPromocao = {
105
105
  description(val: string) {
106
106
  switch (val) {
107
107
  case this.Ativo:
108
- return 'Ativo'
108
+ return 'Ativa'
109
109
 
110
110
  case this.Inativo:
111
- return 'Inativo'
111
+ return 'Inativa'
112
112
 
113
113
  default:
114
114
  return 'enum not found'