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.cjs
CHANGED
|
@@ -937,11 +937,7 @@ var createEshopApi = (apiConfig) => {
|
|
|
937
937
|
const payload = {
|
|
938
938
|
businessId: apiConfig.businessId,
|
|
939
939
|
market: apiConfig.market,
|
|
940
|
-
|
|
941
|
-
location: params.location,
|
|
942
|
-
paymentMethod: params.paymentMethod,
|
|
943
|
-
promoCode: params.promoCode,
|
|
944
|
-
shippingMethodId: params.shippingMethodId
|
|
940
|
+
...params
|
|
945
941
|
};
|
|
946
942
|
return apiConfig.httpClient.post(`/v1/payments/quote`, payload, options);
|
|
947
943
|
},
|
|
@@ -1039,9 +1035,7 @@ var createReservationApi = (apiConfig) => {
|
|
|
1039
1035
|
const payload = {
|
|
1040
1036
|
businessId: apiConfig.businessId,
|
|
1041
1037
|
market: apiConfig.market,
|
|
1042
|
-
|
|
1043
|
-
paymentMethod: params.paymentMethod,
|
|
1044
|
-
promoCode: params.promoCode
|
|
1038
|
+
...params
|
|
1045
1039
|
};
|
|
1046
1040
|
return apiConfig.httpClient.post(`/v1/reservations/quote`, payload, options);
|
|
1047
1041
|
},
|