mdz-enum 1.6.67 → 1.6.69
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.
- package/dist/people/index.d.ts +3 -1
- package/dist/people/index.js +7 -1
- package/dist/platform/index.d.ts +1 -3
- package/dist/platform/index.js +0 -6
- package/package.json +32 -32
package/dist/people/index.d.ts
CHANGED
|
@@ -58,5 +58,7 @@ export declare const OrigemPessoa: {
|
|
|
58
58
|
Instagram: string;
|
|
59
59
|
WhatsApp: string;
|
|
60
60
|
Facebook: string;
|
|
61
|
-
|
|
61
|
+
Radio: string;
|
|
62
|
+
CarroDeSom: string;
|
|
63
|
+
description(val: string): "enum not found" | "Pedido" | "PDV" | "ERP" | "E-commerce" | "Marketplace" | "Indicação" | "Instagram" | "WhatsApp" | "Facebook" | "Rádio" | "Carro de Som";
|
|
62
64
|
};
|
package/dist/people/index.js
CHANGED
|
@@ -101,7 +101,7 @@ exports.SituacaoValeCredito = {
|
|
|
101
101
|
default:
|
|
102
102
|
return 'enum not found';
|
|
103
103
|
}
|
|
104
|
-
}
|
|
104
|
+
},
|
|
105
105
|
};
|
|
106
106
|
exports.TipoPessoaClassificacao = {
|
|
107
107
|
Cliente: '0',
|
|
@@ -153,6 +153,8 @@ exports.OrigemPessoa = {
|
|
|
153
153
|
Instagram: '6',
|
|
154
154
|
WhatsApp: '7',
|
|
155
155
|
Facebook: '8',
|
|
156
|
+
Radio: '9',
|
|
157
|
+
CarroDeSom: '10',
|
|
156
158
|
description(val) {
|
|
157
159
|
switch (val) {
|
|
158
160
|
case this.Erp:
|
|
@@ -173,6 +175,10 @@ exports.OrigemPessoa = {
|
|
|
173
175
|
return 'WhatsApp';
|
|
174
176
|
case this.Facebook:
|
|
175
177
|
return 'Facebook';
|
|
178
|
+
case this.Radio:
|
|
179
|
+
return 'Rádio';
|
|
180
|
+
case this.CarroDeSom:
|
|
181
|
+
return 'Carro de Som';
|
|
176
182
|
default:
|
|
177
183
|
return 'enum not found';
|
|
178
184
|
}
|
package/dist/platform/index.d.ts
CHANGED
|
@@ -139,11 +139,9 @@ export declare const Aplicativos: {
|
|
|
139
139
|
NFSeNacional: number;
|
|
140
140
|
Eva: number;
|
|
141
141
|
VeroPOS: number;
|
|
142
|
-
EvaFree: number;
|
|
143
|
-
EvaAnalytics: number;
|
|
144
142
|
EvaGrowth: number;
|
|
145
143
|
Nuvemshop: number;
|
|
146
|
-
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
|
|
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
145
|
};
|
|
148
146
|
export declare const IsDemonstracao: {
|
|
149
147
|
Demonstracao: boolean;
|
package/dist/platform/index.js
CHANGED
|
@@ -368,8 +368,6 @@ exports.Aplicativos = {
|
|
|
368
368
|
NFSeNacional: 21,
|
|
369
369
|
Eva: 22,
|
|
370
370
|
VeroPOS: 22,
|
|
371
|
-
EvaFree: 23,
|
|
372
|
-
EvaAnalytics: 24,
|
|
373
371
|
EvaGrowth: 25,
|
|
374
372
|
Nuvemshop: 70,
|
|
375
373
|
description(val) {
|
|
@@ -414,10 +412,6 @@ exports.Aplicativos = {
|
|
|
414
412
|
return 'EVA';
|
|
415
413
|
case this.VeroPOS:
|
|
416
414
|
return 'Vero POS';
|
|
417
|
-
case this.EvaFree:
|
|
418
|
-
return 'EVA Free';
|
|
419
|
-
case this.EvaAnalytics:
|
|
420
|
-
return 'EVA Analytics';
|
|
421
415
|
case this.EvaGrowth:
|
|
422
416
|
return 'EVA Growth';
|
|
423
417
|
default:
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mdz-enum",
|
|
3
|
-
"version": "1.6.
|
|
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.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
|
+
}
|