arky-sdk 0.7.7 → 0.7.8

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
@@ -952,6 +952,14 @@ var createBookingApi = (apiConfig) => {
952
952
  options
953
953
  );
954
954
  },
955
+ async getAvailability(params, options) {
956
+ const { businessId, ...query } = params;
957
+ const targetBusinessId = businessId || apiConfig.businessId;
958
+ return apiConfig.httpClient.get(
959
+ `/v1/businesses/${targetBusinessId}/bookings/availability`,
960
+ { ...options, params: query }
961
+ );
962
+ },
955
963
  async createService(params, options) {
956
964
  const { businessId, ...payload } = params;
957
965
  const targetBusinessId = businessId || apiConfig.businessId;