mdz-enum 1.1.63 → 1.1.64

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.
@@ -1,14 +1,17 @@
1
1
  export declare const TipoSolicitacao: {
2
2
  SPED: string;
3
3
  SINTEGRA: string;
4
- description(val: string): "enum not found" | "SPED" | "SINTEGRA";
4
+ ProcessarNF: string;
5
+ GerarInfoBalanca: string;
6
+ description(val: string): "enum not found" | "SPED" | "SINTEGRA" | "Processar NFe" | "Gerar informações de balança";
5
7
  };
6
8
  export declare const SituacaoSolicitacao: {
7
9
  EmEspera: string;
8
10
  EmFila: string;
9
11
  EmProcessamento: string;
10
12
  Concluida: string;
11
- description(val: string): "Concluída" | "enum not found" | "Em Processamento" | "Em Espera" | "Em Fila";
13
+ ConcluidaComErro: string;
14
+ description(val: string): "Concluída" | "enum not found" | "Em processamento" | "Em espera" | "Em fila" | "Concluída com erro";
12
15
  };
13
16
  export declare const SituacaoFila: {
14
17
  AguardandoProcessamento: string;
@@ -4,12 +4,18 @@ exports.TipoHistoricoSolicitacao = exports.SituacaoFila = exports.SituacaoSolici
4
4
  exports.TipoSolicitacao = {
5
5
  SPED: '1',
6
6
  SINTEGRA: '2',
7
+ ProcessarNF: '3',
8
+ GerarInfoBalanca: '4',
7
9
  description(val) {
8
10
  switch (val) {
9
11
  case this.SPED:
10
12
  return 'SPED';
11
13
  case this.SINTEGRA:
12
14
  return 'SINTEGRA';
15
+ case this.ProcessarNF:
16
+ return 'Processar NFe';
17
+ case this.GerarInfoBalanca:
18
+ return 'Gerar informações de balança';
13
19
  default:
14
20
  return 'enum not found';
15
21
  }
@@ -20,16 +26,19 @@ exports.SituacaoSolicitacao = {
20
26
  EmFila: '2',
21
27
  EmProcessamento: '3',
22
28
  Concluida: '4',
29
+ ConcluidaComErro: '5',
23
30
  description(val) {
24
31
  switch (val) {
25
32
  case this.EmEspera:
26
- return 'Em Espera';
33
+ return 'Em espera';
27
34
  case this.EmFila:
28
- return 'Em Fila';
35
+ return 'Em fila';
29
36
  case this.EmProcessamento:
30
- return 'Em Processamento';
37
+ return 'Em processamento';
31
38
  case this.Concluida:
32
39
  return 'Concluída';
40
+ case this.ConcluidaComErro:
41
+ return 'Concluída com erro';
33
42
  default:
34
43
  return 'enum not found';
35
44
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.1.63",
3
+ "version": "1.1.64",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {