@infrab4a/connect 5.5.2-beta.7 → 5.5.2
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/index.cjs.js
CHANGED
|
@@ -9677,7 +9677,6 @@ class MercadoPagoCardAxiosAdapter {
|
|
|
9677
9677
|
},
|
|
9678
9678
|
});
|
|
9679
9679
|
const errorCode = MercadoPagoErrorHelper.getErrorTypeFromResponse(data.status_detail);
|
|
9680
|
-
console.warn('[MERCADO PAGO] errorCode', data.status_detail, errorCode);
|
|
9681
9680
|
throw new PaymentError('Seu pagamento com cartão não foi autorizado. Para não perder seus produtos, pague com PIX ou outro cartão de crédito', errorCode, {
|
|
9682
9681
|
checkoutId: checkout.id,
|
|
9683
9682
|
userEmail: checkout.user.email,
|
package/index.esm.js
CHANGED
|
@@ -9653,7 +9653,6 @@ class MercadoPagoCardAxiosAdapter {
|
|
|
9653
9653
|
},
|
|
9654
9654
|
});
|
|
9655
9655
|
const errorCode = MercadoPagoErrorHelper.getErrorTypeFromResponse(data.status_detail);
|
|
9656
|
-
console.warn('[MERCADO PAGO] errorCode', data.status_detail, errorCode);
|
|
9657
9656
|
throw new PaymentError('Seu pagamento com cartão não foi autorizado. Para não perder seus produtos, pague com PIX ou outro cartão de crédito', errorCode, {
|
|
9658
9657
|
checkoutId: checkout.id,
|
|
9659
9658
|
userEmail: checkout.user.email,
|
package/package.json
CHANGED
|
@@ -1,11 +1,17 @@
|
|
|
1
1
|
import { BaseModel, GenericIdentifier } from '../../generic/model';
|
|
2
|
-
import { ShopErrorMessages, ShopSameDayNotAvailable } from './types';
|
|
2
|
+
import { LimitOrders, ShopErrorMessages, ShopSameDayNotAvailable } from './types';
|
|
3
3
|
export declare class ShopConfigs extends BaseModel<ShopConfigs> {
|
|
4
4
|
errors?: ShopErrorMessages[];
|
|
5
5
|
antifraude?: {
|
|
6
6
|
enabled: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
week: {
|
|
8
|
+
subscriber: LimitOrders;
|
|
9
|
+
nonSubscriber: LimitOrders;
|
|
10
|
+
};
|
|
11
|
+
day: {
|
|
12
|
+
subscriber: LimitOrders;
|
|
13
|
+
nonSubscriber: LimitOrders;
|
|
14
|
+
};
|
|
9
15
|
};
|
|
10
16
|
sameDayNotAvaliable?: ShopSameDayNotAvailable;
|
|
11
17
|
static get identifiersFields(): GenericIdentifier[];
|
|
@@ -4,6 +4,7 @@ export * from './brands-carousel.type';
|
|
|
4
4
|
export * from './campaign-page';
|
|
5
5
|
export * from './home-data.type';
|
|
6
6
|
export * from './landing-page';
|
|
7
|
+
export * from './limit-orders.type';
|
|
7
8
|
export * from './menu-nav.type';
|
|
8
9
|
export * from './sections.type';
|
|
9
10
|
export * from './shop-banner.type';
|