mdz-enum 1.7.13 → 1.7.15

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.
@@ -30,7 +30,8 @@ export declare const OrigemPedido: {
30
30
  Shopee: string;
31
31
  Integracao: string;
32
32
  Vitrine: string;
33
- description(val: string): "enum not found" | "PDV" | "Erp" | "Ecommerce" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Vitrine" | "Integração";
33
+ TikTokShop: string;
34
+ description(val: string): "enum not found" | "PDV" | "Erp" | "Ecommerce" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Vitrine" | "Integração" | "TikTok Shop";
34
35
  };
35
36
  export declare const TipoFrete: {
36
37
  ContratacaoContaRemetente: string;
@@ -74,6 +74,7 @@ exports.OrigemPedido = {
74
74
  Shopee: '7',
75
75
  Integracao: '8',
76
76
  Vitrine: '9',
77
+ TikTokShop: '10',
77
78
  description(val) {
78
79
  switch (val) {
79
80
  case this.Erp:
@@ -96,6 +97,8 @@ exports.OrigemPedido = {
96
97
  return 'Vitrine';
97
98
  case this.Integracao:
98
99
  return 'Integração';
100
+ case this.TikTokShop:
101
+ return 'TikTok Shop';
99
102
  default:
100
103
  return 'enum not found';
101
104
  }
@@ -207,7 +207,7 @@ export declare const Aplicativos: {
207
207
  EvaMensagens1000: number;
208
208
  Nuvemshop: number;
209
209
  TikTokShop: number;
210
- description(val: number): "enum not found" | "TEF" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Marketplace" | "Modershop" | "Modershop Light" | "Modershop PDV" | "Loja Virtual" | "Sped" | "Cake ERP" | "Módulo Ótica" | "Nuvemshop" | "TEF Destaxa" | "Gestão Contábil" | "NFSe (Ambiente Nacional)" | "Vero POS" | "EVA" | "EVA Pro" | "EVA 100 mensagens" | "EVA 500 mensagens" | "EVA 1.000 mensagens" | "TikTok Shop";
210
+ description(val: number): "enum not found" | "TEF" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "TikTok Shop" | "Marketplace" | "Modershop" | "Modershop Light" | "Modershop PDV" | "Loja Virtual" | "Sped" | "Cake ERP" | "Módulo Ótica" | "Nuvemshop" | "TEF Destaxa" | "Gestão Contábil" | "NFSe (Ambiente Nacional)" | "Vero POS" | "EVA" | "EVA Pro" | "EVA 100 mensagens" | "EVA 500 mensagens" | "EVA 1.000 mensagens";
211
211
  };
212
212
  export declare const IsDemonstracao: {
213
213
  Demonstracao: boolean;
@@ -28,7 +28,8 @@ export declare const AgrupamentoRelatorio: {
28
28
  TipoMovimentacao: string;
29
29
  EnderecoEstoque: string;
30
30
  Lancamento: string;
31
- description(val: string): "Vendedor" | "enum not found" | "Consignação" | "Produto" | "Cliente" | "Data" | "Operação" | "Marca" | "Fornecedor" | "Documento" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo" | "Preço" | "Meio de Pagamento" | "Operadora Cartão" | "Coleção" | "Lote" | "Validade" | "Objeto" | "Situação" | "Tipo de Movimentação" | "Endereço de Estoque" | "Lançamento";
31
+ Cfop: string;
32
+ description(val: string): "Vendedor" | "enum not found" | "Consignação" | "Produto" | "Cliente" | "Data" | "Operação" | "Marca" | "Fornecedor" | "Documento" | "Categoria" | "Filial" | "Plano de Contas" | "Centro de Custo" | "Preço" | "Meio de Pagamento" | "Operadora Cartão" | "Coleção" | "Lote" | "Validade" | "Objeto" | "Situação" | "Tipo de Movimentação" | "Endereço de Estoque" | "Lançamento" | "CFOP";
32
33
  };
33
34
  export declare const TipoPosicaoConsignacao: {
34
35
  Posicao: string;
@@ -40,6 +40,7 @@ exports.AgrupamentoRelatorio = {
40
40
  TipoMovimentacao: '22',
41
41
  EnderecoEstoque: '23',
42
42
  Lancamento: '24',
43
+ Cfop: '25',
43
44
  description(val) {
44
45
  switch (val) {
45
46
  case this.Cliente:
@@ -90,6 +91,8 @@ exports.AgrupamentoRelatorio = {
90
91
  return 'Endereço de Estoque';
91
92
  case this.Lancamento:
92
93
  return 'Lançamento';
94
+ case this.Cfop:
95
+ return 'CFOP';
93
96
  default:
94
97
  return 'enum not found';
95
98
  }
package/package.json CHANGED
@@ -1,31 +1,32 @@
1
- {
2
- "name": "mdz-enum",
3
- "version": "1.7.13",
4
- "description": "Enumerados ModerShop",
5
- "main": "dist/index.js",
6
- "scripts": {
7
- "test": "echo \"Error: no test specified\" && exit 1",
8
- "publicar": "tsc && git add . && git commit -m \"commit automatico\" && git push origin main && npm publish"
9
- },
10
- "files": [
11
- "dist",
12
- "package.json",
13
- "README.md"
14
- ],
15
- "repository": {
16
- "type": "git",
17
- "url": "https://github.com/moderniza-modershop/mdz-enum"
18
- },
19
- "keywords": [],
20
- "author": "willian.moderniza",
21
- "license": "ISC",
22
- "bugs": {
23
- "url": "https://github.com/moderniza-dev/mdz-enum/issues"
24
- },
25
- "homepage": "https://github.com/moderniza-dev/mdz-enum#readme",
26
- "devDependencies": {
27
- "@types/node": "^16.9.1",
28
- "ts-node": "^10.2.1",
29
- "typescript": "^4.4.3"
30
- }
31
- }
1
+ {
2
+ "name": "mdz-enum",
3
+ "version": "1.7.15",
4
+ "description": "Enumerados ModerShop",
5
+ "main": "dist/index.js",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1",
8
+ "publicar": "tsc && git add . && git commit -m \"commit automatico\" && git push origin main && npm publish"
9
+ },
10
+ "files": [
11
+ "dist",
12
+ "package.json",
13
+ "README.md"
14
+ ],
15
+ "repository": {
16
+ "type": "git",
17
+ "url": "https://github.com/moderniza-modershop/mdz-enum"
18
+ },
19
+ "keywords": [],
20
+ "author": "willian.moderniza",
21
+ "license": "ISC",
22
+ "bugs": {
23
+ "url": "https://github.com/moderniza-dev/mdz-enum/issues"
24
+ },
25
+ "homepage": "https://github.com/moderniza-dev/mdz-enum#readme",
26
+ "devDependencies": {
27
+ "@types/node": "^16.9.1",
28
+ "ts-node": "^10.2.1",
29
+ "typescript": "^4.4.3"
30
+ }
31
+ }
32
+