import{K as a,M as g,O as n,cT as u,f as p,cH as c,U as y,cF as f,A as l,B as m}from"./index-CK33qGU_.js";const T=a.injectEndpoints({endpoints:o=>({getFgMonitoringConfigByEntity:o.query({query:({pId:e,fsId:t,fgId:r})=>({url:`
          project/${e}/
          featurestores/${t}/
          featuregroups/${r}/
          featuremonitoring/config/entity/
        `.replace(/\s/g,"")}),providesTags:g.cacheByIdArgProperty(n.ProjectTags.FGMonitoringConfig,"fgId")}),triggerMonitoringJob:o.mutation({query:({pId:e,name:t})=>({url:`project/${e}/jobs/${t}/executions`,headers:{"Content-Type":"text/plain"},method:"POST"}),invalidatesTags:(e,t,{pId:r,name:i})=>[n.ProjectTags.JobExecutions,{type:n.ProjectTags.Job,id:`${r}-${i}`}]}),getFgMonitoringResult:o.query({query:({pId:e,fsId:t,fgId:r,configId:i,query:s})=>({url:u.stringifyUrl({url:`
           project/${e}/
           featurestores/${t}/
           featuregroups/${r}/
           featuremonitoring/result/byconfig/${i}
        `.replace(/\s/g,""),query:s})}),transformResponse:(e,t,{featureName:r})=>p(m([],"items"),f(l("featureName",r)),c(y("monitoringTime")))(e)})})}),{useGetFgMonitoringConfigByEntityQuery:$,useTriggerMonitoringJobMutation:d,useGetFgMonitoringResultQuery:j,endpoints:q,util:F}=T;export{j as a,q as b,d as c,F as f,$ as u};
