mdz-enum 1.0.78 → 1.0.81
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.
|
@@ -14,7 +14,8 @@ export declare const OperacaoPedido: {
|
|
|
14
14
|
export declare const OrigemPedido: {
|
|
15
15
|
Erp: string;
|
|
16
16
|
Ecommerce: string;
|
|
17
|
-
|
|
17
|
+
MercadoLivre: string;
|
|
18
|
+
description(val: string): "enum not found" | "Erp" | "Ecommerce" | "Mercado Livre";
|
|
18
19
|
};
|
|
19
20
|
export declare const TipoFrete: {
|
|
20
21
|
ContratacaoContaRemetente: string;
|
|
@@ -41,6 +42,6 @@ export declare const SituacaoProdutoMarketplace: {
|
|
|
41
42
|
Publicado: string;
|
|
42
43
|
Erro: string;
|
|
43
44
|
Pausado: string;
|
|
44
|
-
|
|
45
|
+
Fechado: string;
|
|
45
46
|
description(val: string): "enum not found" | "Pendente a envio" | "Publicado" | "Erro" | "Pausado" | "Fechado";
|
|
46
47
|
};
|
package/dist/commercial/index.js
CHANGED
|
@@ -41,12 +41,15 @@ exports.OperacaoPedido = {
|
|
|
41
41
|
exports.OrigemPedido = {
|
|
42
42
|
Erp: '0',
|
|
43
43
|
Ecommerce: '1',
|
|
44
|
+
MercadoLivre: '2',
|
|
44
45
|
description(val) {
|
|
45
46
|
switch (val) {
|
|
46
47
|
case this.Erp:
|
|
47
48
|
return 'Erp';
|
|
48
49
|
case this.Ecommerce:
|
|
49
50
|
return 'Ecommerce';
|
|
51
|
+
case this.MercadoLivre:
|
|
52
|
+
return 'Mercado Livre';
|
|
50
53
|
default:
|
|
51
54
|
return 'enum not found';
|
|
52
55
|
}
|
|
@@ -114,7 +117,7 @@ exports.SituacaoProdutoMarketplace = {
|
|
|
114
117
|
Publicado: '2',
|
|
115
118
|
Erro: '3',
|
|
116
119
|
Pausado: '4',
|
|
117
|
-
|
|
120
|
+
Fechado: '5',
|
|
118
121
|
description(val) {
|
|
119
122
|
switch (val) {
|
|
120
123
|
case this.Pendente:
|
|
@@ -125,7 +128,7 @@ exports.SituacaoProdutoMarketplace = {
|
|
|
125
128
|
return 'Erro';
|
|
126
129
|
case this.Pausado:
|
|
127
130
|
return 'Pausado';
|
|
128
|
-
case this.
|
|
131
|
+
case this.Fechado:
|
|
129
132
|
return 'Fechado';
|
|
130
133
|
default:
|
|
131
134
|
return 'enum not found';
|
|
@@ -5,8 +5,8 @@ export declare const TipoAtributo: {
|
|
|
5
5
|
};
|
|
6
6
|
export declare const TipoProduto: {
|
|
7
7
|
Simples: string;
|
|
8
|
-
|
|
9
|
-
description(val: string): "enum not found" | "Simples" | "
|
|
8
|
+
ComGrade: string;
|
|
9
|
+
description(val: string): "enum not found" | "Simples" | "Com Grade";
|
|
10
10
|
};
|
|
11
11
|
export declare const TipoValoracao: {
|
|
12
12
|
PrecoAquisicao: string;
|
package/dist/logistics/index.js
CHANGED
|
@@ -17,13 +17,13 @@ exports.TipoAtributo = {
|
|
|
17
17
|
};
|
|
18
18
|
exports.TipoProduto = {
|
|
19
19
|
Simples: '0',
|
|
20
|
-
|
|
20
|
+
ComGrade: '1',
|
|
21
21
|
description(val) {
|
|
22
22
|
switch (val) {
|
|
23
23
|
case this.Simples:
|
|
24
24
|
return 'Simples';
|
|
25
|
-
case this.
|
|
26
|
-
return '
|
|
25
|
+
case this.ComGrade:
|
|
26
|
+
return 'Com Grade';
|
|
27
27
|
default:
|
|
28
28
|
return 'enum not found';
|
|
29
29
|
}
|
package/package.json
CHANGED
package/src/commercial/index.ts
CHANGED
|
@@ -49,6 +49,7 @@ export const OperacaoPedido = {
|
|
|
49
49
|
export const OrigemPedido = {
|
|
50
50
|
Erp: '0',
|
|
51
51
|
Ecommerce: '1',
|
|
52
|
+
MercadoLivre: '2',
|
|
52
53
|
|
|
53
54
|
description(val: string) {
|
|
54
55
|
switch (val) {
|
|
@@ -58,6 +59,9 @@ export const OrigemPedido = {
|
|
|
58
59
|
case this.Ecommerce:
|
|
59
60
|
return 'Ecommerce'
|
|
60
61
|
|
|
62
|
+
case this.MercadoLivre:
|
|
63
|
+
return 'Mercado Livre'
|
|
64
|
+
|
|
61
65
|
default:
|
|
62
66
|
return 'enum not found'
|
|
63
67
|
}
|
|
@@ -143,7 +147,7 @@ export const SituacaoProdutoMarketplace = {
|
|
|
143
147
|
Publicado: '2',
|
|
144
148
|
Erro: '3',
|
|
145
149
|
Pausado: '4',
|
|
146
|
-
|
|
150
|
+
Fechado: '5',
|
|
147
151
|
|
|
148
152
|
description(val: string) {
|
|
149
153
|
switch (val) {
|
|
@@ -159,7 +163,7 @@ export const SituacaoProdutoMarketplace = {
|
|
|
159
163
|
case this.Pausado:
|
|
160
164
|
return 'Pausado'
|
|
161
165
|
|
|
162
|
-
case this.
|
|
166
|
+
case this.Fechado:
|
|
163
167
|
return 'Fechado'
|
|
164
168
|
|
|
165
169
|
default:
|
package/src/logistics/index.ts
CHANGED
|
@@ -18,15 +18,15 @@ export const TipoAtributo = {
|
|
|
18
18
|
|
|
19
19
|
export const TipoProduto = {
|
|
20
20
|
Simples: '0',
|
|
21
|
-
|
|
21
|
+
ComGrade: '1',
|
|
22
22
|
|
|
23
23
|
description(val: string) {
|
|
24
24
|
switch (val) {
|
|
25
25
|
case this.Simples:
|
|
26
26
|
return 'Simples'
|
|
27
27
|
|
|
28
|
-
case this.
|
|
29
|
-
return '
|
|
28
|
+
case this.ComGrade:
|
|
29
|
+
return 'Com Grade'
|
|
30
30
|
|
|
31
31
|
default:
|
|
32
32
|
return 'enum not found'
|