@sawport/react-sdk 1.2.0-alpha.2 → 1.2.1-alpha.0

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
@@ -89156,7 +89156,7 @@ const PhoneInput = forwardRef((_a, forwardedRef) => {
89156
89156
  })] })), [selectValue, suffixIcon, countryCode, query, disabled, disableParentheses, disableDropdown, onDropdownVisibleChange, minWidth, searchNotFound, countries2, countriesList, setFieldValue, setValue, prefixCls, enableSearch, searchPlaceholder]);
89157
89157
  return jsx("div", { className: `${prefixCls}-phone-input-wrapper`, ref: (node2) => setMinWidth((node2 === null || node2 === void 0 ? void 0 : node2.offsetWidth) || 0), children: jsx(Input, Object.assign({ ref: ref2, inputMode: "tel", value, onInput, onChange, onKeyDown, addonBefore: dropdownRender(countriesSelect), disabled }, antInputProps)) });
89158
89158
  });
89159
- const calendars = (params) => api("/calendars", params);
89159
+ const calendars = (params) => api(`/calendars/customer/${params.customer}`, params);
89160
89160
  const viewCalendar = (id2, params) => api("/calendars/" + id2, params);
89161
89161
  const updateCalendar = (id2, params) => api("/calendars/" + id2, params, "put");
89162
89162
  const schedule = (params) => api("/calendars", params, "post");