mdz-enum 1.1.49 → 1.1.50

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.
@@ -54,7 +54,8 @@ export declare const SituacaoDocumentoFinanceiro: {
54
54
  Aberto: string;
55
55
  Quitado: string;
56
56
  Estornado: string;
57
- description(val: string): "enum not found" | "Aberto" | "Quitado" | "Estornado";
57
+ Vencido: string;
58
+ description(val: string): "enum not found" | "Aberto" | "Quitado" | "Estornado" | "Vencido";
58
59
  };
59
60
  export declare const TipoDataDocumentoFinanceiro: {
60
61
  Emissao: string;
@@ -98,7 +99,7 @@ export declare const SituacaoBoleto: {
98
99
  Pago: string;
99
100
  Cancelado: string;
100
101
  Vencido: string;
101
- description(val: string): "Cancelado" | "Pendente" | "enum not found" | "Pago" | "Vencido";
102
+ description(val: string): "Cancelado" | "Pendente" | "enum not found" | "Vencido" | "Pago";
102
103
  };
103
104
  export declare const SituacaoConciliacao: {
104
105
  NaoConciliado: string;
@@ -155,6 +155,7 @@ exports.SituacaoDocumentoFinanceiro = {
155
155
  Aberto: '0',
156
156
  Quitado: '1',
157
157
  Estornado: '2',
158
+ Vencido: '3',
158
159
  description(val) {
159
160
  switch (val) {
160
161
  case this.Aberto:
@@ -163,6 +164,8 @@ exports.SituacaoDocumentoFinanceiro = {
163
164
  return 'Quitado';
164
165
  case this.Estornado:
165
166
  return 'Estornado';
167
+ case this.Vencido:
168
+ return 'Vencido';
166
169
  default:
167
170
  return 'enum not found';
168
171
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.1.49",
3
+ "version": "1.1.50",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {