import{am as o}from"./index-DlNZgIG9.js";const a=new Set(["CALL","EMAIL","WHATSAPP","SMS","VIDEO_CALL"]);function n(t){return t!=null&&a.has(t)}function u(t){return!n(t)}const l=o.injectEndpoints({endpoints:t=>({saveFollowUpAttachmentS3:t.mutation({query:e=>({url:"follow-up/attachment/save-s3",method:"POST",body:e})}),getFollowUpAttachments:t.query({query:e=>`follow-up/attachment/by-follow-up/${e}`}),deleteFollowUpAttachment:t.mutation({query:e=>({url:`follow-up/attachment/${e}`,method:"DELETE"})})}),overrideExisting:!1}),{useSaveFollowUpAttachmentS3Mutation:m,useGetFollowUpAttachmentsQuery:r,useLazyGetFollowUpAttachmentsQuery:c,useDeleteFollowUpAttachmentMutation:p}=l;export{m as a,p as b,c,n as i,u as r,r as u};
