mdz-enum 1.1.93 → 1.1.94

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.
@@ -16,5 +16,7 @@ export declare const GeneroPessoa: {
16
16
  export declare const TipoOperacaoPessoaContaCorrente: {
17
17
  DevolucaoVenda: string;
18
18
  CompraNotaFiscal: string;
19
- description(val: string): "enum not found" | "Compra" | "Devolução de Venda";
19
+ EstornoSaldoUsado: string;
20
+ EstornoSaldoGerado: string;
21
+ description(val: string): "enum not found" | "Compra" | "Devolução de Venda" | "Estorno de saldo usado" | "Estorno de Saldo Gerado";
20
22
  };
@@ -46,12 +46,18 @@ exports.GeneroPessoa = {
46
46
  exports.TipoOperacaoPessoaContaCorrente = {
47
47
  DevolucaoVenda: '0',
48
48
  CompraNotaFiscal: '1',
49
+ EstornoSaldoUsado: '2',
50
+ EstornoSaldoGerado: '3',
49
51
  description(val) {
50
52
  switch (val) {
51
53
  case this.DevolucaoVenda:
52
54
  return 'Devolução de Venda';
53
55
  case this.CompraNotaFiscal:
54
56
  return 'Compra';
57
+ case this.EstornoSaldoUsado:
58
+ return 'Estorno de saldo usado';
59
+ case this.EstornoSaldoGerado:
60
+ return 'Estorno de Saldo Gerado';
55
61
  default:
56
62
  return 'enum not found';
57
63
  }
@@ -0,0 +1,12 @@
1
+ export declare const SituacaoOrganizacao: {
2
+ Ativo: string;
3
+ Bloqueado: string;
4
+ Cancelado: string;
5
+ description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado";
6
+ };
7
+ export declare const TipoOrganizacao: {
8
+ Cliente: string;
9
+ Parceiro: string;
10
+ Entidade: string;
11
+ description(val: string): "enum not found" | "Cliente" | "Entidade" | "Parceiro";
12
+ };
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TipoOrganizacao = exports.SituacaoOrganizacao = void 0;
4
+ exports.SituacaoOrganizacao = {
5
+ Ativo: '1',
6
+ Bloqueado: '2',
7
+ Cancelado: '3',
8
+ description(val) {
9
+ switch (val) {
10
+ case this.Ativo:
11
+ return 'Ativo';
12
+ case this.Bloqueado:
13
+ return 'Bloqueado';
14
+ case this.Cancelado:
15
+ return 'Cancelado';
16
+ default:
17
+ return 'enum not found';
18
+ }
19
+ },
20
+ };
21
+ exports.TipoOrganizacao = {
22
+ Cliente: '1',
23
+ Parceiro: '2',
24
+ Entidade: '3',
25
+ description(val) {
26
+ switch (val) {
27
+ case this.Cliente:
28
+ return 'Cliente';
29
+ case this.Entidade:
30
+ return 'Entidade';
31
+ case this.Parceiro:
32
+ return 'Parceiro';
33
+ default:
34
+ return 'enum not found';
35
+ }
36
+ },
37
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.1.93",
3
+ "version": "1.1.94",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {