arky-sdk 0.3.103 → 0.3.105

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.js CHANGED
@@ -935,13 +935,9 @@ var createEshopApi = (apiConfig) => {
935
935
  const payload = {
936
936
  businessId: apiConfig.businessId,
937
937
  market: apiConfig.market,
938
- items: params.items,
939
- location: params.location,
940
- paymentMethod: params.paymentMethod,
941
- promoCode: params.promoCode,
942
- shippingMethodId: params.shippingMethodId
938
+ ...params
943
939
  };
944
- return apiConfig.httpClient.post(`/v1/payments/quote`, payload, options);
940
+ return apiConfig.httpClient.post(`/v1/orders/quote`, payload, options);
945
941
  },
946
942
  async checkout(params, options) {
947
943
  const payload = {
@@ -1037,9 +1033,7 @@ var createReservationApi = (apiConfig) => {
1037
1033
  const payload = {
1038
1034
  businessId: apiConfig.businessId,
1039
1035
  market: apiConfig.market,
1040
- items: params.items,
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
  },