mdz-enum 1.7.35 → 1.7.36
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/commercial/index.d.ts +2 -1
- package/dist/commercial/index.js +3 -0
- package/package.json +32 -32
|
@@ -38,7 +38,8 @@ export declare const OrigemPedido: {
|
|
|
38
38
|
Integracao: string;
|
|
39
39
|
Vitrine: string;
|
|
40
40
|
TikTokShop: string;
|
|
41
|
-
|
|
41
|
+
ModershopApp: string;
|
|
42
|
+
description(val: string): "enum not found" | "PDV" | "Erp" | "Ecommerce" | "Mercado Livre" | "Tray" | "Magazine Luiza" | "Amazon" | "Shopee" | "Vitrine" | "Integração" | "TikTok Shop" | "App";
|
|
42
43
|
};
|
|
43
44
|
export declare const TipoFrete: {
|
|
44
45
|
ContratacaoContaRemetente: string;
|
package/dist/commercial/index.js
CHANGED
|
@@ -96,6 +96,7 @@ exports.OrigemPedido = {
|
|
|
96
96
|
Integracao: '8',
|
|
97
97
|
Vitrine: '9',
|
|
98
98
|
TikTokShop: '10',
|
|
99
|
+
ModershopApp: '11',
|
|
99
100
|
description(val) {
|
|
100
101
|
switch (val) {
|
|
101
102
|
case this.Erp:
|
|
@@ -120,6 +121,8 @@ exports.OrigemPedido = {
|
|
|
120
121
|
return 'Integração';
|
|
121
122
|
case this.TikTokShop:
|
|
122
123
|
return 'TikTok Shop';
|
|
124
|
+
case this.ModershopApp:
|
|
125
|
+
return 'App';
|
|
123
126
|
default:
|
|
124
127
|
return 'enum not found';
|
|
125
128
|
}
|
package/package.json
CHANGED
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "mdz-enum",
|
|
3
|
-
"version": "1.7.
|
|
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
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "mdz-enum",
|
|
3
|
+
"version": "1.7.36",
|
|
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
|
+
|