arky-sdk 0.3.11 → 0.3.12

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
@@ -772,7 +772,12 @@ var createReservationApi = (apiConfig) => {
772
772
  return {
773
773
  // ===== RESERVATIONS =====
774
774
  async createReservation(params, options) {
775
- return apiConfig.httpClient.post(`/v1/reservations`, params, {
775
+ const payload = {
776
+ businessId: apiConfig.businessId,
777
+ market: apiConfig.market,
778
+ ...params
779
+ };
780
+ return apiConfig.httpClient.post(`/v1/reservations`, payload, {
776
781
  successMessage: "Reservation created successfully",
777
782
  errorMessage: "Failed to create reservation",
778
783
  ...options