mdz-enum 1.6.46 → 1.6.48
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/finance/index.d.ts +2 -1
- package/dist/finance/index.js +3 -0
- package/package.json +33 -33
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`
|
|
@@ -146,7 +146,8 @@ export declare const SituacaoEntrega: {
|
|
|
146
146
|
EmSeparacao: string;
|
|
147
147
|
Recusado: string;
|
|
148
148
|
Cancelado: string;
|
|
149
|
-
|
|
149
|
+
Concluido: string;
|
|
150
|
+
description(val: string): "enum not found" | "Aguardando envio" | "Objeto postado" | "Objeto em transporte" | "Objeto entregue" | "Entrega a combinar" | "Entrega em separação" | "Entrega recusada" | "Entrega Cancelada" | "Entrega Concluida";
|
|
150
151
|
};
|
|
151
152
|
export declare const SituacaoEtiqueta: {
|
|
152
153
|
Pendente: string;
|
package/dist/commercial/index.js
CHANGED
|
@@ -409,6 +409,7 @@ exports.SituacaoEntrega = {
|
|
|
409
409
|
EmSeparacao: '5',
|
|
410
410
|
Recusado: '6',
|
|
411
411
|
Cancelado: '7',
|
|
412
|
+
Concluido: '8',
|
|
412
413
|
description(val) {
|
|
413
414
|
switch (val) {
|
|
414
415
|
case this.Aguardando:
|
|
@@ -427,6 +428,8 @@ exports.SituacaoEntrega = {
|
|
|
427
428
|
return 'Entrega recusada';
|
|
428
429
|
case this.Cancelado:
|
|
429
430
|
return 'Entrega Cancelada';
|
|
431
|
+
case this.Concluido:
|
|
432
|
+
return 'Entrega Concluida';
|
|
430
433
|
default:
|
|
431
434
|
return 'enum not found';
|
|
432
435
|
}
|
package/dist/finance/index.d.ts
CHANGED
|
@@ -13,10 +13,11 @@ export declare const MeioPagamento: {
|
|
|
13
13
|
PIX: string;
|
|
14
14
|
TransferenciaBancaria: string;
|
|
15
15
|
Cashback: string;
|
|
16
|
+
PixCobranca: string;
|
|
16
17
|
SemPagamento: string;
|
|
17
18
|
PagamentoPosterior: string;
|
|
18
19
|
Outros: string;
|
|
19
|
-
description(val: string): "enum not found" | "Outros" | "Dinheiro" | "Cheque" | "Cartão de Crédito" | "Cartão de Débito" | "Crédito Loja" | "Vale Alimentação" | "Vale Refeição" | "Vale Presente" | "Vale Combustível" | "Boleto Bancário" | "Depósito Bancário" | "PIX" | "Transferência Bancária" | "Cashback" | "Sem Pagamento" | "Pagamento Posterior";
|
|
20
|
+
description(val: string): "enum not found" | "Outros" | "Dinheiro" | "Cheque" | "Cartão de Crédito" | "Cartão de Débito" | "Crédito Loja" | "Vale Alimentação" | "Vale Refeição" | "Vale Presente" | "Vale Combustível" | "Boleto Bancário" | "Depósito Bancário" | "PIX" | "Pix Cobrança" | "Transferência Bancária" | "Cashback" | "Sem Pagamento" | "Pagamento Posterior";
|
|
20
21
|
};
|
|
21
22
|
export declare const IndicadorFormaPagamento: {
|
|
22
23
|
PagamentoAVista: string;
|
package/dist/finance/index.js
CHANGED
|
@@ -17,6 +17,7 @@ exports.MeioPagamento = {
|
|
|
17
17
|
PIX: '17',
|
|
18
18
|
TransferenciaBancaria: '18',
|
|
19
19
|
Cashback: '19',
|
|
20
|
+
PixCobranca: '50',
|
|
20
21
|
SemPagamento: '90',
|
|
21
22
|
PagamentoPosterior: '91',
|
|
22
23
|
Outros: '99',
|
|
@@ -46,6 +47,8 @@ exports.MeioPagamento = {
|
|
|
46
47
|
return 'Depósito Bancário';
|
|
47
48
|
case this.PIX:
|
|
48
49
|
return 'PIX';
|
|
50
|
+
case this.PixCobranca:
|
|
51
|
+
return 'Pix Cobrança';
|
|
49
52
|
case this.TransferenciaBancaria:
|
|
50
53
|
return 'Transferência Bancária';
|
|
51
54
|
case this.Cashback:
|
package/package.json
CHANGED
|
@@ -1,33 +1,33 @@
|
|
|
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
|
-
}
|
|
33
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "mdz-enum",
|
|
3
|
+
"version": "1.6.48",
|
|
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
|
+
}
|
|
33
|
+
|