mdz-enum 1.2.47 → 1.2.48

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.
@@ -7,12 +7,13 @@ export declare const SituacaoOrganizacao: {
7
7
  description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado" | "Ativacao Solicitada" | "Cancelamento Solicitado";
8
8
  };
9
9
  export declare const SituacaoAtivacao: {
10
- Inativo: string;
10
+ Cancelado: string;
11
11
  Ativo: string;
12
12
  Bloqueado: string;
13
13
  CancelamentoSolicitado: string;
14
14
  PagamentoPendente: string;
15
- description(val: string): "enum not found" | "Inativo" | "Ativo" | "Bloqueado" | "Cancelamento Solicitado" | "Pagamento Pendente";
15
+ Inativo: string;
16
+ description(val: string): "Cancelado" | "enum not found" | "Inativo" | "Ativo" | "Bloqueado" | "Cancelamento Solicitado" | "Pagamento Pendente";
16
17
  };
17
18
  export declare const TipoTicket: {
18
19
  CancelamentoAplicativo: string;
@@ -25,23 +25,26 @@ exports.SituacaoOrganizacao = {
25
25
  },
26
26
  };
27
27
  exports.SituacaoAtivacao = {
28
- Inativo: '0',
28
+ Cancelado: '0',
29
29
  Ativo: '1',
30
30
  Bloqueado: '2',
31
31
  CancelamentoSolicitado: '3',
32
32
  PagamentoPendente: '4',
33
+ Inativo: '5',
33
34
  description(val) {
34
35
  switch (val) {
35
36
  case this.Ativo:
36
37
  return 'Ativo';
37
38
  case this.Bloqueado:
38
39
  return 'Bloqueado';
39
- case this.Inativo:
40
- return 'Inativo';
40
+ case this.Cancelado:
41
+ return 'Cancelado';
41
42
  case this.CancelamentoSolicitado:
42
43
  return 'Cancelamento Solicitado';
43
44
  case this.PagamentoPendente:
44
45
  return 'Pagamento Pendente';
46
+ case this.Inativo:
47
+ return 'Inativo';
45
48
  default:
46
49
  return 'enum not found';
47
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.2.47",
3
+ "version": "1.2.48",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {