mdz-enum 1.5.46 → 1.5.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/dist/common/index.d.ts +1 -0
- package/dist/common/index.js +12 -2
- package/dist/integration/index.d.ts +2 -1
- package/dist/integration/index.js +3 -0
- package/dist/marketplace/templates/components/index.d.ts +6 -1
- package/dist/marketplace/templates/components/index.js +7 -1
- package/dist/marketplace/templates/index.d.ts +8 -0
- package/dist/marketplace/templates/index.js +1 -0
- package/package.json +1 -1
package/dist/common/index.d.ts
CHANGED
package/dist/common/index.js
CHANGED
|
@@ -136,6 +136,16 @@ exports.TipoBusca = {
|
|
|
136
136
|
},
|
|
137
137
|
};
|
|
138
138
|
exports.TipoCodigo = {
|
|
139
|
-
ACTIVATION: '
|
|
140
|
-
RECOVERY: '
|
|
139
|
+
ACTIVATION: '0',
|
|
140
|
+
RECOVERY: '1',
|
|
141
|
+
description(val) {
|
|
142
|
+
switch (val) {
|
|
143
|
+
case this.ACTIVATION:
|
|
144
|
+
return 'Código de ativação';
|
|
145
|
+
case this.RECOVERY:
|
|
146
|
+
return 'Código de recuperação';
|
|
147
|
+
default:
|
|
148
|
+
return 'enum not found';
|
|
149
|
+
}
|
|
150
|
+
},
|
|
141
151
|
};
|
|
@@ -3,7 +3,8 @@ export declare const TipoIntegracaoPagamento: {
|
|
|
3
3
|
ModerBank: string;
|
|
4
4
|
SafeTwoPay: string;
|
|
5
5
|
Interno: string;
|
|
6
|
-
|
|
6
|
+
Pagbank: string;
|
|
7
|
+
description(val: string): "enum not found" | "Tuo Bank" | "ModerBank" | "Safe2Pay" | "Interno" | "Pagbank";
|
|
7
8
|
};
|
|
8
9
|
export declare const TipoPagamentoTuo: {
|
|
9
10
|
Boleto: number;
|
|
@@ -6,6 +6,7 @@ exports.TipoIntegracaoPagamento = {
|
|
|
6
6
|
ModerBank: '1',
|
|
7
7
|
SafeTwoPay: '2',
|
|
8
8
|
Interno: '3',
|
|
9
|
+
Pagbank: '4',
|
|
9
10
|
description(val) {
|
|
10
11
|
switch (val) {
|
|
11
12
|
case this.Tuo:
|
|
@@ -16,6 +17,8 @@ exports.TipoIntegracaoPagamento = {
|
|
|
16
17
|
return 'Safe2Pay';
|
|
17
18
|
case this.Interno:
|
|
18
19
|
return 'Interno';
|
|
20
|
+
case this.Pagbank:
|
|
21
|
+
return 'Pagbank';
|
|
19
22
|
default:
|
|
20
23
|
return 'enum not found';
|
|
21
24
|
}
|
|
@@ -235,4 +235,9 @@ declare const COMBINAR_ENTREGA: {
|
|
|
235
235
|
DEFAULT: string;
|
|
236
236
|
VALUES: string[];
|
|
237
237
|
};
|
|
238
|
-
|
|
238
|
+
declare const ENVIAR_PEDIDO_WPP: {
|
|
239
|
+
KEY: string;
|
|
240
|
+
DEFAULT: string;
|
|
241
|
+
VALUES: string[];
|
|
242
|
+
};
|
|
243
|
+
export { PRODUCT_CARD, BUY_BUTTON, BUTTON, FOOTER, HEADER, SUBMENU, CART_BUTTON, COMBINAR_PAYMENT, COMBINAR_ENTREGA, ENVIAR_PEDIDO_WPP, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.COMBINAR_ENTREGA = exports.COMBINAR_PAYMENT = exports.CART_BUTTON = exports.SUBMENU = exports.HEADER = exports.FOOTER = exports.BUTTON = exports.BUY_BUTTON = exports.PRODUCT_CARD = void 0;
|
|
3
|
+
exports.ENVIAR_PEDIDO_WPP = exports.COMBINAR_ENTREGA = exports.COMBINAR_PAYMENT = exports.CART_BUTTON = exports.SUBMENU = exports.HEADER = exports.FOOTER = exports.BUTTON = exports.BUY_BUTTON = exports.PRODUCT_CARD = void 0;
|
|
4
4
|
/**
|
|
5
5
|
* Referencia de aparencia do rodape
|
|
6
6
|
*/
|
|
@@ -250,3 +250,9 @@ const COMBINAR_ENTREGA = {
|
|
|
250
250
|
VALUES: ['true', 'false'],
|
|
251
251
|
};
|
|
252
252
|
exports.COMBINAR_ENTREGA = COMBINAR_ENTREGA;
|
|
253
|
+
const ENVIAR_PEDIDO_WPP = {
|
|
254
|
+
KEY: 'enviar_pedido_wpp',
|
|
255
|
+
DEFAULT: 'false',
|
|
256
|
+
VALUES: ['true', 'false'],
|
|
257
|
+
};
|
|
258
|
+
exports.ENVIAR_PEDIDO_WPP = ENVIAR_PEDIDO_WPP;
|
|
@@ -13,6 +13,9 @@ declare const APPEARANCE_PAGES: {
|
|
|
13
13
|
KEY: string;
|
|
14
14
|
DEFAULT: string;
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* Constante de configuração de aparência das páginas (blocks)
|
|
18
|
+
*/
|
|
16
19
|
HOME_PAGE_CATEGORY_TITLE: {
|
|
17
20
|
KEY: string;
|
|
18
21
|
DEFAULT: string;
|
|
@@ -329,6 +332,11 @@ declare const APPEARANCE_COMPONENTS: {
|
|
|
329
332
|
DEFAULT: string;
|
|
330
333
|
VALUES: string[];
|
|
331
334
|
};
|
|
335
|
+
ENVIAR_PEDIDO_WPP: {
|
|
336
|
+
KEY: string;
|
|
337
|
+
DEFAULT: string;
|
|
338
|
+
VALUES: string[];
|
|
339
|
+
};
|
|
332
340
|
};
|
|
333
341
|
/**
|
|
334
342
|
* Constante de configuração de referencia para elementos gerais (any)
|
|
@@ -30,6 +30,7 @@ const APPEARANCE_COMPONENTS = {
|
|
|
30
30
|
CART_BUTTON: components_1.CART_BUTTON,
|
|
31
31
|
COMBINAR_PAYMENT: components_1.COMBINAR_PAYMENT,
|
|
32
32
|
COMBINAR_ENTREGA: components_1.COMBINAR_ENTREGA,
|
|
33
|
+
ENVIAR_PEDIDO_WPP: components_1.ENVIAR_PEDIDO_WPP,
|
|
33
34
|
};
|
|
34
35
|
exports.APPEARANCE_COMPONENTS = APPEARANCE_COMPONENTS;
|
|
35
36
|
/**
|