mdz-enum 1.2.31 → 1.2.33

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.
@@ -147,13 +147,13 @@ export declare const OperacaoNotaFiscal: {
147
147
  description(val: string): "enum not found" | "Entrada" | "Saída";
148
148
  };
149
149
  export declare const ModeloNotaFiscal: {
150
- NF: string;
150
+ PreVenda: string;
151
151
  NFProdutor: string;
152
152
  NFe: string;
153
153
  NFCe: string;
154
154
  SAT: string;
155
- description(val: string): "enum not found" | "Nota Fiscal" | "Nota Fiscal de produtor rural" | "Nota Fisca Eletrônica" | "Nota Fiscal de Consumidor Eletrônica" | "SAT";
156
- shortDescription(val: string): "enum not found" | "SAT" | "NF" | "NFP" | "NFe" | "NFCe";
155
+ description(val: string): "enum not found" | "Pré Venda" | "Nota Fiscal de produtor rural" | "Nota Fisca Eletrônica" | "Nota Fiscal de Consumidor Eletrônica" | "SAT";
156
+ shortDescription(val: string): "enum not found" | "SAT" | "PV" | "NFP" | "NFe" | "NFCe";
157
157
  };
158
158
  export declare const IdentificadorLocalDestino: {
159
159
  OperacaoInterna: string;
@@ -438,15 +438,15 @@ exports.OperacaoNotaFiscal = {
438
438
  },
439
439
  };
440
440
  exports.ModeloNotaFiscal = {
441
- NF: '01',
441
+ PreVenda: '01',
442
442
  NFProdutor: '04',
443
443
  NFe: '55',
444
444
  NFCe: '65',
445
445
  SAT: '59',
446
446
  description(val) {
447
447
  switch (val) {
448
- case this.NF:
449
- return 'Nota Fiscal';
448
+ case this.PreVenda:
449
+ return 'Pré Venda';
450
450
  case this.NFProdutor:
451
451
  return 'Nota Fiscal de produtor rural';
452
452
  case this.NFe:
@@ -461,8 +461,8 @@ exports.ModeloNotaFiscal = {
461
461
  },
462
462
  shortDescription(val) {
463
463
  switch (val) {
464
- case this.NF:
465
- return 'NF';
464
+ case this.PreVenda:
465
+ return 'PV';
466
466
  case this.NFProdutor:
467
467
  return 'NFP';
468
468
  case this.NFe:
@@ -3,7 +3,8 @@ export declare const SituacaoOrganizacao: {
3
3
  Ativo: string;
4
4
  Bloqueado: string;
5
5
  AtivacaoSolicitada: string;
6
- description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado" | "Ativacao Solicitada";
6
+ CancelamentoSolicitado: string;
7
+ description(val: string): "Cancelado" | "enum not found" | "Ativo" | "Bloqueado" | "Ativacao Solicitada" | "Cancelamento Solicitado";
7
8
  };
8
9
  export declare const SituacaoAtivacao: {
9
10
  Cancelado: string;
@@ -6,6 +6,7 @@ exports.SituacaoOrganizacao = {
6
6
  Ativo: '1',
7
7
  Bloqueado: '2',
8
8
  AtivacaoSolicitada: '3',
9
+ CancelamentoSolicitado: '4',
9
10
  description(val) {
10
11
  switch (val) {
11
12
  case this.Ativo:
@@ -16,6 +17,8 @@ exports.SituacaoOrganizacao = {
16
17
  return 'Cancelado';
17
18
  case this.AtivacaoSolicitada:
18
19
  return 'Ativacao Solicitada';
20
+ case this.CancelamentoSolicitado:
21
+ return 'Cancelamento Solicitado';
19
22
  default:
20
23
  return 'enum not found';
21
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.2.31",
3
+ "version": "1.2.33",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {