mdz-enum 1.1.33 → 1.1.35

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.
@@ -69,5 +69,6 @@ export declare const TipoGrupoComissao: {
69
69
  };
70
70
  export declare const MotivoPedido: {
71
71
  SemEstoque: string;
72
- description(val: string): "enum not found" | "Sem Estoque";
72
+ ausenciaPagamento: string;
73
+ description(val: string): "enum not found" | "Sem Estoque" | "Ausencia de pagamento";
73
74
  };
@@ -199,10 +199,13 @@ exports.TipoGrupoComissao = {
199
199
  };
200
200
  exports.MotivoPedido = {
201
201
  SemEstoque: '0',
202
+ ausenciaPagamento: '1',
202
203
  description(val) {
203
204
  switch (val) {
204
205
  case this.SemEstoque:
205
206
  return 'Sem Estoque';
207
+ case this.ausenciaPagamento:
208
+ return 'Ausencia de pagamento';
206
209
  default:
207
210
  return 'enum not found';
208
211
  }
@@ -15,5 +15,6 @@ export declare const GeneroPessoa: {
15
15
  };
16
16
  export declare const TipoOperacaoPessoaContaCorrente: {
17
17
  DevolucaoVenda: string;
18
- description(val: string): "enum not found" | "Devolução de Venda";
18
+ CompraNotaFiscal: string;
19
+ description(val: string): "enum not found" | "Compra" | "Devolução de Venda";
19
20
  };
@@ -45,10 +45,13 @@ exports.GeneroPessoa = {
45
45
  };
46
46
  exports.TipoOperacaoPessoaContaCorrente = {
47
47
  DevolucaoVenda: '0',
48
+ CompraNotaFiscal: '1',
48
49
  description(val) {
49
50
  switch (val) {
50
51
  case this.DevolucaoVenda:
51
52
  return 'Devolução de Venda';
53
+ case this.CompraNotaFiscal:
54
+ return 'Compra';
52
55
  default:
53
56
  return 'enum not found';
54
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.1.33",
3
+ "version": "1.1.35",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {