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