mdz-enum 1.0.34 → 1.0.35

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.
@@ -0,0 +1,10 @@
1
+ export declare const TipoCaixaOperacao: {
2
+ Abertura: string;
3
+ Entrada: string;
4
+ Saida: string;
5
+ Recebimento: string;
6
+ Nota: string;
7
+ Pedido: string;
8
+ Consignacao: string;
9
+ description(val: string): "Pedido" | "enum not found" | "Consignação" | "Entrada" | "Saída" | "Abertura" | "Recebimento" | "Nota";
10
+ };
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TipoCaixaOperacao = void 0;
4
+ exports.TipoCaixaOperacao = {
5
+ Abertura: '0',
6
+ Entrada: '1',
7
+ Saida: '2',
8
+ Recebimento: '3',
9
+ Nota: '4',
10
+ Pedido: '5',
11
+ Consignacao: '6',
12
+ description(val) {
13
+ switch (val) {
14
+ case this.Abertura:
15
+ return 'Abertura';
16
+ case this.Entrada:
17
+ return 'Entrada';
18
+ case this.Saida:
19
+ return 'Saída';
20
+ case this.Recebimento:
21
+ return 'Recebimento';
22
+ case this.Nota:
23
+ return 'Nota';
24
+ case this.Pedido:
25
+ return 'Pedido';
26
+ case this.Consignacao:
27
+ return 'Consignação';
28
+ default:
29
+ return 'enum not found';
30
+ }
31
+ },
32
+ };
@@ -0,0 +1,5 @@
1
+ export declare const TipoPermissao: {
2
+ Visualizacao: string;
3
+ Funcao: string;
4
+ description(val: string): "enum not found" | "Visualização" | "Função";
5
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mdz-enum",
3
- "version": "1.0.34",
3
+ "version": "1.0.35",
4
4
  "description": "Enumerados Moderniza",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {