import"./p-DKrliuRO.js";import{q as s,r as a,s as e}from"./p-CTyRvZ3_.js";const t=s=>e().get("/api/channel/profile-selection",{params:s}),r=async a=>{const{data:e}=await s().get(`api/shop/${a}/shop-profile-setting`);return e},i=async s=>{const{data:e}=await a().get(`api/shop/${s}/shop-profile-setting`);return e},o=async a=>{const{business_profile_id:e,shop_profile_setting_id:t,...r}=a,{data:i,status:o}=await s().get(`api/shop/${e}/${t}/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:e,...t}=s,{data:r,status:i}=await a().get(`api/shop/${e}/customer/get-customer-ids`,{params:t});if(200===i)return r;throw new Error("Failed to getNewReservationSummaryCustomerIds")},p=async a=>{const{businessId:e,shopId:t}=a,{data:r,status:i}=await s().get(`api/shop-service/${e}/${t}/branch`,{headers:{"accept-language":""}});if(200===i)return r;throw new Error("Failed to getBranches")},c=async a=>{const{businessId:e,shopId:t}=a,{data:r,status:i}=await s().get(`api/shop-service/${e}/${t}/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,t as g}