arky-sdk 0.3.103 → 0.3.104
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/index.cjs +2 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -8
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -935,11 +935,7 @@ var createEshopApi = (apiConfig) => {
|
|
|
935
935
|
const payload = {
|
|
936
936
|
businessId: apiConfig.businessId,
|
|
937
937
|
market: apiConfig.market,
|
|
938
|
-
|
|
939
|
-
location: params.location,
|
|
940
|
-
paymentMethod: params.paymentMethod,
|
|
941
|
-
promoCode: params.promoCode,
|
|
942
|
-
shippingMethodId: params.shippingMethodId
|
|
938
|
+
...params
|
|
943
939
|
};
|
|
944
940
|
return apiConfig.httpClient.post(`/v1/payments/quote`, payload, options);
|
|
945
941
|
},
|
|
@@ -1037,9 +1033,7 @@ var createReservationApi = (apiConfig) => {
|
|
|
1037
1033
|
const payload = {
|
|
1038
1034
|
businessId: apiConfig.businessId,
|
|
1039
1035
|
market: apiConfig.market,
|
|
1040
|
-
|
|
1041
|
-
paymentMethod: params.paymentMethod,
|
|
1042
|
-
promoCode: params.promoCode
|
|
1036
|
+
...params
|
|
1043
1037
|
};
|
|
1044
1038
|
return apiConfig.httpClient.post(`/v1/reservations/quote`, payload, options);
|
|
1045
1039
|
},
|