crmbonus-component-wake 1.0.42 → 1.0.43
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/cjs/app-modal_4.cjs.entry.js +1 -1
- package/dist/cjs/crm-bonus.cjs.entry.js +1 -1
- package/dist/cjs/{crmbonus.service-e92b7283.js → crmbonus.service-ad521d7d.js} +3 -3
- package/dist/{esm/crmbonus.service-8324c3ea.js.map → cjs/crmbonus.service-ad521d7d.js.map} +1 -1
- package/dist/cjs/pedido-finalizado.cjs.entry.js +1 -1
- package/dist/collection/services/crmbonus.service.js +2 -2
- package/dist/collection/services/crmbonus.service.js.map +1 -1
- package/dist/components/crm-bonus-form.js +1 -1
- package/dist/components/crm-bonus.js +2 -2
- package/dist/components/{p-6d1a378d.js → p-0ebfe0d3.js} +2 -2
- package/dist/components/{p-6d1a378d.js.map → p-0ebfe0d3.js.map} +1 -1
- package/dist/components/{p-8a7e31bd.js → p-aeaad64e.js} +3 -3
- package/dist/components/p-aeaad64e.js.map +1 -0
- package/dist/components/pedido-finalizado.js +1 -1
- package/dist/crmbonus-component-wake/crmbonus-component-wake.esm.js +1 -1
- package/dist/crmbonus-component-wake/{p-68622d7c.entry.js → p-04db24fc.entry.js} +2 -2
- package/dist/crmbonus-component-wake/{p-4c4f6c05.entry.js → p-60249052.entry.js} +2 -2
- package/dist/crmbonus-component-wake/{p-6006b4d8.entry.js → p-6de2e9c3.entry.js} +2 -2
- package/dist/crmbonus-component-wake/{p-8a7e31bd.js → p-aeaad64e.js} +2 -2
- package/dist/crmbonus-component-wake/{p-8a7e31bd.js.map → p-aeaad64e.js.map} +1 -1
- package/dist/esm/app-modal_4.entry.js +1 -1
- package/dist/esm/crm-bonus.entry.js +1 -1
- package/dist/esm/{crmbonus.service-8324c3ea.js → crmbonus.service-dda2d96b.js} +3 -3
- package/dist/esm/crmbonus.service-dda2d96b.js.map +1 -0
- package/dist/esm/pedido-finalizado.entry.js +1 -1
- package/package.json +1 -1
- package/dist/cjs/crmbonus.service-e92b7283.js.map +0 -1
- package/dist/components/p-8a7e31bd.js.map +0 -1
- /package/dist/crmbonus-component-wake/{p-68622d7c.entry.js.map → p-04db24fc.entry.js.map} +0 -0
- /package/dist/crmbonus-component-wake/{p-4c4f6c05.entry.js.map → p-60249052.entry.js.map} +0 -0
- /package/dist/crmbonus-component-wake/{p-6006b4d8.entry.js.map → p-6de2e9c3.entry.js.map} +0 -0
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-52d8a075.js');
|
6
|
-
const crmbonus_service = require('./crmbonus.service-
|
6
|
+
const crmbonus_service = require('./crmbonus.service-ad521d7d.js');
|
7
7
|
const index$1 = require('./index-861e0cbe.js');
|
8
8
|
|
9
9
|
const appModalCss = ".modal-backdrop{position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0, 0, 0, 0.5);display:none;justify-content:center;align-items:center;z-index:1000}.modal-backdrop.visible{display:flex}.modal{background:white;border-radius:8px;padding:1rem;max-width:500px;width:90%;box-shadow:0 2px 10px rgba(0, 0, 0, 0.3)}.modal-header{display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #ddd;margin-bottom:1rem}.close-button{background:none;border:none;font-size:1.5rem;cursor:pointer}.modal-body{}";
|
@@ -3,7 +3,7 @@
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
4
4
|
|
5
5
|
const index = require('./index-52d8a075.js');
|
6
|
-
const crmbonus_service = require('./crmbonus.service-
|
6
|
+
const crmbonus_service = require('./crmbonus.service-ad521d7d.js');
|
7
7
|
const index$1 = require('./index-861e0cbe.js');
|
8
8
|
|
9
9
|
const crmBonusCss = ".container-button{cursor:pointer;padding:5px 5px 5px 14px;}.section-crm{border:1px solid #dbd4d4;text-align:-webkit-center;margin-bottom:20px}.section-cart-crm{margin-top:10px}.section-cart-crm p{padding:0;margin:0px 0px 0px 15px}.button{top:50%;background-color:#6c6c7e;color:#fff;border:none;padding:15px;min-height:30px;min-width:120px;font-size:20px;cursor:pointer;margin-left:10px;height:70px}.form-container{width:97%;display:flex;justify-content:space-around}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:400;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;-ms-touch-action:manipulation;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:0px}.form-container .btnCrm{background:#00162e;border-color:#00162e;width:30%;color:#fff}.message-alert{font-family:sans-serif;color:#df4d4d;margin-top:5px}";
|
@@ -3764,12 +3764,12 @@ class CrmBonusService {
|
|
3764
3764
|
});
|
3765
3765
|
}
|
3766
3766
|
async getCustomer(userId, store) {
|
3767
|
-
const response = await this.axiosInstance.get(`/
|
3767
|
+
const response = await this.axiosInstance.get(`/store/${store}/customer/${userId}`, { headers: { 'Content-Type': 'application/json' } });
|
3768
3768
|
console.log('response.data', response.data);
|
3769
3769
|
return response.data;
|
3770
3770
|
}
|
3771
3771
|
async updateOrder(updateOrderDTO) {
|
3772
|
-
const response = await this.axiosInstance.patch(`/
|
3772
|
+
const response = await this.axiosInstance.patch(`/checkouts/${updateOrderDTO.cartId}/updateOrder`, {
|
3773
3773
|
orderId: updateOrderDTO.orderId,
|
3774
3774
|
externalId: updateOrderDTO.cartIdCrm
|
3775
3775
|
}, { headers: { 'Content-Type': 'application/json' } });
|
@@ -3801,4 +3801,4 @@ class CrmBonusService {
|
|
3801
3801
|
|
3802
3802
|
exports.CrmBonusService = CrmBonusService;
|
3803
3803
|
|
3804
|
-
//# sourceMappingURL=crmbonus.service-
|
3804
|
+
//# sourceMappingURL=crmbonus.service-ad521d7d.js.map
|