import{P as a,Q as g,T as n,dq as u,f as p,dg as y,U as f,de as c,D as l,E as d}from"./index-C1DmWO_C.js";const m=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(d([],"items"),c(l("featureName",r)),y(f("monitoringTime")))(e)})})}),{useGetFgMonitoringConfigByEntityQuery:$,useTriggerMonitoringJobMutation:M,useGetFgMonitoringResultQuery:j,endpoints:q,util:E}=m;export{j as a,q as b,M as c,E as f,$ as u};
