import{T as a,U as g,W as n,di as u,p,cl as y,X as c,a_ as f,z as l,A as m}from"./index-dP1W1_bd.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)),y(c("monitoringTime")))(e)})})}),{useGetFgMonitoringConfigByEntityQuery:d,useTriggerMonitoringJobMutation:M,useGetFgMonitoringResultQuery:j,endpoints:q,util:E}=T;export{j as a,q as b,M as c,E as f,d as u};
