import"./p-DKrliuRO.js";import{q as s,r as a,s as t}from"./p-XYtO9j3w.js";const e=s=>t().get("/api/channel/profile-selection",{params:s}),r=async a=>{const{data:t}=await s().get(`api/shop/${a}/shop-profile-setting`);return t},i=async s=>{const{data:t}=await a().get(`api/shop/${s}/shop-profile-setting`);return t},o=async a=>{const{business_profile_id:t,shop_profile_setting_id:e,...r}=a,{data:i,status:o}=await s().get(`api/shop/${t}/${e}/zwiz/new-reservation-summary-customer-ids`,{params:r});if(200===o)return i;throw new Error("Failed to getNewReservationSummaryCustomerIds")},n=async s=>{const{business_profile_id:t,...e}=s,{data:r,status:i}=await a().get(`api/shop/${t}/customer/get-customer-ids`,{params:e});if(200===i)return r;throw new Error("Failed to getNewReservationSummaryCustomerIds")},p=async a=>{const{businessId:t,shopId:e}=a,{data:r,status:i}=await s().get(`api/shop-service/${t}/${e}/branch`,{headers:{"accept-language":""}});if(200===i)return r;throw new Error("Failed to getBranches")},c=async a=>{const{businessId:t,shopId:e}=a,{data:r,status:i}=await s().get(`api/shop-service/${t}/${e}/all-service-list`,{headers:{"accept-language":""}});if(200===i)return r;throw new Error("Failed to getAllServiceList")};export{n as a,o as b,r as c,p as d,c as e,i as f,e as g}