mdz-enum 1.6.69 → 1.6.72

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.
@@ -4,7 +4,8 @@ export declare const EvaOrigemMensagem: {
4
4
  Automacao: string;
5
5
  PosVenda: string;
6
6
  Aniversario: string;
7
- description(val: string): "enum not found" | "Manual" | "Campanha" | "Automação" | "Pós-venda" | "Aniversário";
7
+ Conversa: string;
8
+ description(val: string): "enum not found" | "Manual" | "Campanha" | "Automação" | "Pós-venda" | "Aniversário" | "Conversa";
8
9
  };
9
10
  export declare const EvaSituacaoMensagem: {
10
11
  Pendente: string;
package/dist/eva/index.js CHANGED
@@ -7,6 +7,7 @@ exports.EvaOrigemMensagem = {
7
7
  Automacao: '2',
8
8
  PosVenda: '3',
9
9
  Aniversario: '4',
10
+ Conversa: '5',
10
11
  description(val) {
11
12
  switch (val) {
12
13
  case this.Manual:
@@ -19,6 +20,8 @@ exports.EvaOrigemMensagem = {
19
20
  return 'Pós-venda';
20
21
  case this.Aniversario:
21
22
  return 'Aniversário';
23
+ case this.Conversa:
24
+ return 'Conversa';
22
25
  default:
23
26
  return 'enum not found';
24
27
  }
@@ -137,11 +137,14 @@ export declare const Aplicativos: {
137
137
  TEFDestaxa: number;
138
138
  GestaoContabil: number;
139
139
  NFSeNacional: number;
140
- Eva: number;
141
140
  VeroPOS: number;
141
+ Eva: number;
142
142
  EvaGrowth: number;
143
+ EvaMensagens100: number;
144
+ EvaMensagens500: number;
145
+ EvaMensagens1000: number;
143
146
  Nuvemshop: number;
144
- 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)" | "EVA" | "Vero POS" | "EVA Growth";
147
+ 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 Growth" | "EVA 100 mensagens" | "EVA 500 mensagens" | "EVA 1.000 mensagens";
145
148
  };
146
149
  export declare const IsDemonstracao: {
147
150
  Demonstracao: boolean;
@@ -212,5 +215,6 @@ export declare const TipoMovimentoMensagem: {
212
215
  Consumo: string;
213
216
  Ajuste: string;
214
217
  Estorno: string;
215
- description(val: string): "enum not found" | "Compra de pacote" | "Consumo" | "Ajuste manual" | "Estorno";
218
+ Franquia: string;
219
+ description(val: string): "enum not found" | "Compra de pacote" | "Consumo" | "Ajuste manual" | "Estorno" | "Franquia mensal";
216
220
  };
@@ -366,9 +366,12 @@ exports.Aplicativos = {
366
366
  TEFDestaxa: 19,
367
367
  GestaoContabil: 20,
368
368
  NFSeNacional: 21,
369
- Eva: 22,
370
369
  VeroPOS: 22,
370
+ Eva: 24,
371
371
  EvaGrowth: 25,
372
+ EvaMensagens100: 26,
373
+ EvaMensagens500: 27,
374
+ EvaMensagens1000: 28,
372
375
  Nuvemshop: 70,
373
376
  description(val) {
374
377
  switch (val) {
@@ -408,12 +411,18 @@ exports.Aplicativos = {
408
411
  return 'Gestão Contábil';
409
412
  case this.NFSeNacional:
410
413
  return 'NFSe (Ambiente Nacional)';
411
- case this.Eva:
412
- return 'EVA';
413
414
  case this.VeroPOS:
414
415
  return 'Vero POS';
416
+ case this.Eva:
417
+ return 'EVA';
415
418
  case this.EvaGrowth:
416
419
  return 'EVA Growth';
420
+ case this.EvaMensagens100:
421
+ return 'EVA 100 mensagens';
422
+ case this.EvaMensagens500:
423
+ return 'EVA 500 mensagens';
424
+ case this.EvaMensagens1000:
425
+ return 'EVA 1.000 mensagens';
417
426
  default:
418
427
  return 'enum not found';
419
428
  }
@@ -609,6 +618,7 @@ exports.TipoMovimentoMensagem = {
609
618
  Consumo: '2',
610
619
  Ajuste: '3',
611
620
  Estorno: '4',
621
+ Franquia: '5',
612
622
  description(val) {
613
623
  switch (val) {
614
624
  case this.Compra:
@@ -619,6 +629,8 @@ exports.TipoMovimentoMensagem = {
619
629
  return 'Ajuste manual';
620
630
  case this.Estorno:
621
631
  return 'Estorno';
632
+ case this.Franquia:
633
+ return 'Franquia mensal';
622
634
  default:
623
635
  return 'enum not found';
624
636
  }
package/package.json CHANGED
@@ -1,32 +1,32 @@
1
- {
2
- "name": "mdz-enum",
3
- "version": "1.6.69",
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
- "dependencies": {}
32
- }
1
+ {
2
+ "name": "mdz-enum",
3
+ "version": "1.6.72",
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
+ "dependencies": {}
32
+ }