mdz-enum 1.1.97 → 1.1.99

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.
@@ -51,8 +51,8 @@ export declare const Uf: {
51
51
  DF: string;
52
52
  AN: string;
53
53
  EX: string;
54
- description(val: string): "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Rio Grande do Norte" | "Paraíba" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Minas Gerais" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Rio Grande do Sul" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | undefined;
55
- shortDescription(val: string): "RO" | "AC" | "AM" | "RR" | "PA" | "AP" | "TO" | "MA" | "RN" | "PB" | "PE" | "AL" | "SE" | "BA" | "MG" | "ES" | "RJ" | "SP" | "PR" | "SC" | "RS" | "MS" | "MT" | "GO" | "DF" | undefined;
54
+ description(val: string): "Rondônia" | "Acre" | "Amazonas" | "Roraima" | "Pará" | "Amapá" | "Tocantins" | "Maranhão" | "Rio Grande do Norte" | "Paraíba" | "Pernambuco" | "Alagoas" | "Sergipe" | "Bahia" | "Minas Gerais" | "Espírito Santo" | "Rio de Janeiro" | "São Paulo" | "Paraná" | "Santa Catarina" | "Rio Grande do Sul" | "Mato Grosso do Sul" | "Mato Grosso" | "Goiás" | "Distrito Federal" | "Piauí" | "Ceará" | undefined;
55
+ shortDescription(val: string): "PI" | "CE" | "RO" | "AC" | "AM" | "RR" | "PA" | "AP" | "TO" | "MA" | "RN" | "PB" | "PE" | "AL" | "SE" | "BA" | "MG" | "ES" | "RJ" | "SP" | "PR" | "SC" | "RS" | "MS" | "MT" | "GO" | "DF" | undefined;
56
56
  };
57
57
  export declare const ProporcaoImagem: {
58
58
  '1/1': string;
@@ -146,10 +146,18 @@ exports.Uf = {
146
146
  return 'Goiás';
147
147
  case this.DF:
148
148
  return 'Distrito Federal';
149
+ case this.PI:
150
+ return 'Piauí';
151
+ case this.CE:
152
+ return 'Ceará';
149
153
  }
150
154
  },
151
155
  shortDescription(val) {
152
156
  switch (val) {
157
+ case this.PI:
158
+ return 'PI';
159
+ case this.CE:
160
+ return 'CE';
153
161
  case this.RO:
154
162
  return 'RO';
155
163
  case this.AC:
@@ -4,7 +4,7 @@ export declare const TipoRelatorio: {
4
4
  description(val: string): "enum not found" | "Resumido" | "Detalhado";
5
5
  };
6
6
  export declare const AgrupamentoRelatorio: {
7
- Pessoa: string;
7
+ Cliente: string;
8
8
  Data: string;
9
9
  Produto: string;
10
10
  Documento: string;
@@ -12,5 +12,5 @@ export declare const AgrupamentoRelatorio: {
12
12
  Categoria: string;
13
13
  Marca: string;
14
14
  Filial: string;
15
- description(val: string): "enum not found" | "Produto" | "Marca" | "Pessoa" | "Data" | "Documento" | "Vendedor" | "Categoria" | "Filial";
15
+ description(val: string): "enum not found" | "Cliente" | "Produto" | "Marca" | "Data" | "Documento" | "Vendedor" | "Categoria" | "Filial";
16
16
  };
@@ -16,7 +16,7 @@ exports.TipoRelatorio = {
16
16
  },
17
17
  };
18
18
  exports.AgrupamentoRelatorio = {
19
- Pessoa: '1',
19
+ Cliente: '1',
20
20
  Data: '2',
21
21
  Produto: '3',
22
22
  Documento: '4',
@@ -26,8 +26,8 @@ exports.AgrupamentoRelatorio = {
26
26
  Filial: '8',
27
27
  description(val) {
28
28
  switch (val) {
29
- case this.Pessoa:
30
- return 'Pessoa';
29
+ case this.Cliente:
30
+ return 'Cliente';
31
31
  case this.Data:
32
32
  return 'Data';
33
33
  case this.Produto:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.1.97",
3
+ "version": "1.1.99",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -1,12 +0,0 @@
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
- };
@@ -1,37 +0,0 @@
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
- };