mdz-enum 1.6.77 → 1.6.78
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/README.MD +7 -7
- package/dist/commercial/index.d.ts +2 -1
- package/dist/commercial/index.js +3 -0
- package/dist/people/index.d.ts +2 -1
- package/dist/people/index.js +3 -0
- package/package.json +32 -32
package/README.MD
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
# mdz-enum
|
|
2
|
-
|
|
3
|
-
Gerenciador de enumerados e classes.
|
|
4
|
-
|
|
5
|
-
VESÃO DE SOFTWARE: vide `package.json`
|
|
6
|
-
|
|
7
|
-
NODE: `14.18.1`
|
|
1
|
+
# mdz-enum
|
|
2
|
+
|
|
3
|
+
Gerenciador de enumerados e classes.
|
|
4
|
+
|
|
5
|
+
VESÃO DE SOFTWARE: vide `package.json`
|
|
6
|
+
|
|
7
|
+
NODE: `14.18.1`
|
|
@@ -28,7 +28,8 @@ export declare const OrigemPedido: {
|
|
|
28
28
|
MagazineLuiza: string;
|
|
29
29
|
Amazon: string;
|
|
30
30
|
Shopee: string;
|
|
31
|
-
|
|
31
|
+
Integracao: string;
|
|
32
|
+
description(val: string): "enum not found" | "PDV" | "Erp" | "Ecommerce" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Integração";
|
|
32
33
|
};
|
|
33
34
|
export declare const TipoFrete: {
|
|
34
35
|
ContratacaoContaRemetente: string;
|
package/dist/commercial/index.js
CHANGED
|
@@ -72,6 +72,7 @@ exports.OrigemPedido = {
|
|
|
72
72
|
MagazineLuiza: '5',
|
|
73
73
|
Amazon: '6',
|
|
74
74
|
Shopee: '7',
|
|
75
|
+
Integracao: '8',
|
|
75
76
|
description(val) {
|
|
76
77
|
switch (val) {
|
|
77
78
|
case this.Erp:
|
|
@@ -90,6 +91,8 @@ exports.OrigemPedido = {
|
|
|
90
91
|
return 'Amazon';
|
|
91
92
|
case this.Shopee:
|
|
92
93
|
return 'Shopee';
|
|
94
|
+
case this.Integracao:
|
|
95
|
+
return 'Integração';
|
|
93
96
|
default:
|
|
94
97
|
return 'enum not found';
|
|
95
98
|
}
|
package/dist/people/index.d.ts
CHANGED
|
@@ -60,5 +60,6 @@ export declare const OrigemPessoa: {
|
|
|
60
60
|
Facebook: string;
|
|
61
61
|
Radio: string;
|
|
62
62
|
CarroDeSom: string;
|
|
63
|
-
|
|
63
|
+
Integracao: string;
|
|
64
|
+
description(val: string): "enum not found" | "Pedido" | "PDV" | "Integração" | "ERP" | "E-commerce" | "Marketplace" | "Indicação" | "Instagram" | "WhatsApp" | "Facebook" | "Rádio" | "Carro de Som";
|
|
64
65
|
};
|
package/dist/people/index.js
CHANGED
|
@@ -155,6 +155,7 @@ exports.OrigemPessoa = {
|
|
|
155
155
|
Facebook: '8',
|
|
156
156
|
Radio: '9',
|
|
157
157
|
CarroDeSom: '10',
|
|
158
|
+
Integracao: '11',
|
|
158
159
|
description(val) {
|
|
159
160
|
switch (val) {
|
|
160
161
|
case this.Erp:
|
|
@@ -179,6 +180,8 @@ exports.OrigemPessoa = {
|
|
|
179
180
|
return 'Rádio';
|
|
180
181
|
case this.CarroDeSom:
|
|
181
182
|
return 'Carro de Som';
|
|
183
|
+
case this.Integracao:
|
|
184
|
+
return 'Integração';
|
|
182
185
|
default:
|
|
183
186
|
return 'enum not found';
|
|
184
187
|
}
|
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.78",
|
|
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
|
+
}
|