import{l as E}from"./index-Cc987VYg.js";import{t as R}from"./api-utils-SNhvzubv.js";const c="/ar/denial-categories",r="/ar/denial-reasons",n="/ar/claim-denials",A="/ar/denial-appeals",$={getAll:async()=>{const{data:a}=await E.get(`${c}/`);return a.data||a},getById:async a=>{const{data:t}=await E.get(`${c}/${a}/`);return t.data||t}},T={getAll:async a=>{const{data:t}=await E.get(`${r}/`,{params:R(a)});return t.data||t},getById:async a=>{const{data:t}=await E.get(`${r}/${a}/`);return t.data||t},create:async a=>{const{data:t}=await E.post(`${r}/`,a);return t.data||t},update:async(a,t)=>{const{data:s}=await E.put(`${r}/${a}/`,t);return s.data||s},delete:async a=>{await E.delete(`${r}/${a}/`)},getByCategory:async a=>{const t=a?{category:a}:{},{data:s}=await E.get(`${r}/by_category/`,{params:t});return s.data||s}},L={getAll:async a=>{const{data:t}=await E.get(`${n}/`,{params:R(a)});return t.data||t},getById:async a=>{const{data:t}=await E.get(`${n}/${a}/`);return t.data||t},create:async a=>{const{data:t}=await E.post(`${n}/`,a);return t.data||t},update:async(a,t)=>{const{data:s}=await E.put(`${n}/${a}/`,t);return s.data||s},delete:async a=>{await E.delete(`${n}/${a}/`)},assign:async(a,t)=>{const{data:s}=await E.post(`${n}/${a}/assign/`,{user_id:t});return s.data||s},resolve:async(a,t,s)=>{const{data:e}=await E.post(`${n}/${a}/resolve/`,{resolution_method:t,recovered_amount:s});return e.data||e},getDashboard:async()=>{const{data:a}=await E.get(`${n}/dashboard/`);return a.data||a}},F={getAll:async a=>{const{data:t}=await E.get(`${A}/`,{params:R(a)});return t.data||t},getById:async a=>{const{data:t}=await E.get(`${A}/${a}/`);return t.data||t},create:async a=>{const{data:t}=await E.post(`${A}/`,a);return t.data||t},update:async(a,t)=>{const{data:s}=await E.put(`${A}/${a}/`,t);return s.data||s},delete:async a=>{await E.delete(`${A}/${a}/`)},submit:async(a,t,s)=>{const{data:e}=await E.post(`${A}/${a}/submit/`,{submission_method:t,confirmation_number:s});return e.data||e},recordResponse:async(a,t,s,e)=>{const{data:d}=await E.post(`${A}/${a}/record_response/`,{outcome:t,response_summary:s,approved_amount:e});return d.data||d}};var I=(a=>(a.SERVICE="SERVICE",a.PROCEDURE="PROCEDURE",a.CONSUMABLE="CONSUMABLE",a.MEDICINE="MEDICINE",a.EQUIPMENT="EQUIPMENT",a.ROOM="ROOM",a.PACKAGE="PACKAGE",a))(I||{});const O={SERVICE:"Service",PROCEDURE:"Procedure",CONSUMABLE:"Consumable",MEDICINE:"Medicine",EQUIPMENT:"Equipment Rental",ROOM:"Room/Bed",PACKAGE:"Package/Bundle"};Object.values(I).map(a=>({value:a,label:O[a]}));var o=(a=>(a.STANDARD="STANDARD",a.AVERAGE="AVERAGE",a.FIFO="FIFO",a.LIFO="LIFO",a.ACTIVITY_BASED="ACTIVITY_BASED",a.SPECIFIC="SPECIFIC",a))(o||{});const u={STANDARD:"Standard Costing",AVERAGE:"Weighted Average",FIFO:"First In First Out",LIFO:"Last In First Out",ACTIVITY_BASED:"Activity-Based Costing",SPECIFIC:"Specific Identification"};Object.values(o).map(a=>({value:a,label:u[a]}));var C=(a=>(a.COST_PLUS="COST_PLUS",a.MARKUP="MARKUP",a.MARKET_BASED="MARKET_BASED",a.CONTRACT_BASED="CONTRACT_BASED",a.FIXED="FIXED",a.TIERED="TIERED",a))(C||{});const N={COST_PLUS:"Cost Plus Margin",MARKUP:"Markup Percentage",MARKET_BASED:"Market Based",CONTRACT_BASED:"Contract Based",FIXED:"Fixed Price",TIERED:"Tiered Pricing"};Object.values(C).map(a=>({value:a,label:N[a]}));var S=(a=>(a.STANDARD="STANDARD",a.CORPORATE="CORPORATE",a.GOVERNMENT="GOVERNMENT",a.INSURANCE="INSURANCE",a.VIP="VIP",a.STAFF="STAFF",a.EMERGENCY="EMERGENCY",a.CHARITY="CHARITY",a))(S||{});const D={STANDARD:"Standard/Retail",CORPORATE:"Corporate",GOVERNMENT:"Government",INSURANCE:"Insurance",VIP:"VIP",STAFF:"Staff",EMERGENCY:"Emergency",CHARITY:"Charity"};Object.values(S).map(a=>({value:a,label:D[a]}));var _=(a=>(a.SELF_PAY="SELF_PAY",a.PRIVATE_INSURANCE="PRIVATE_INSURANCE",a.MEDICARE="MEDICARE",a.MEDICAID="MEDICAID",a.GOVERNMENT="GOVERNMENT",a.WORKERS_COMP="WORKERS_COMP",a.OTHER="OTHER",a))(_||{});export{O as I,_ as P,$ as a,T as b,L as c,F as d,N as e};
