PageSourceSearch

https://app.cogram.com/static/js/gmail.DU7LUNfO.js

js cogram.com collected 2026-10-02 08:03:23 UTC 6,903 bytes, 5 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="92a12562-49e8-5cf0-8641-63ad1e042cac")}catch(e){}}();
3import{r as e}from"./axios-instance.gM_qJJ36.js";import{i as t,o as n}from"./core.toyMLC-Q.js";import{t as r}from"./rtk-query-react.modern.CiH3HaI_.js";var i=class{static{this.GetConnection=()=>e.get(`/integrations/unanet-ae`)}static{this.UpsertConnection=t=>e.post(`/integrations/unanet-ae`,t)}static{this.DeleteConnection=()=>e.delete(`/integrations/unanet-ae`)}static{this.TestConnection=t=>e.post(`/integrations/unanet-ae/test-connection`,t)}static{this.ListDatabases=t=>e.post(`/integrations/unanet-ae/list-databases`,t)}static{this.SyncNow=()=>e.post(`/integrations/unanet-ae/sync`)}static{this.SetWebhook=t=>e.post(`/integrations/unanet-ae/webhook`,{enabled:t})}static{this.RegenerateWebhook=()=>e.post(`/integrations/unanet-ae/webhook/regenerate`)}static{this.GetMyCredential=()=>e.get(`/integrations/unanet-ae/me`)}static{this.SetMyCredential=t=>e.put(`/integrations/unanet-ae/me`,t)}static{this.DeleteMyCredential=()=>e.delete(`/integrations/unanet-ae/me`)}static{this.TestMyCredential=()=>e.post(`/integrations/unanet-ae/me/test-connection`)}static{this.GetMyAvailability=()=>e.get(`/integrations/unanet-ae/me/availability`)}},a=r({reducerPath:`unanetAeApi`,baseQuery:t(),keepUnusedDataFor:60,tagTypes:[`UnanetAeConnection`,`UnanetAeMe`],endpoints:e=>({getUnanetAeConnection:e.query({queryFn:n(async()=>{let{data:e}=await i.GetConnection();return{data:e}}),providesTags:[`UnanetAeConnection`]}),upsertUnanetAeConnection:e.mutation({queryFn:n(async e=>{let{data:t}=await i.UpsertConnection(e);return{data:t}}),invalidatesTags:[`UnanetAeConnection`,`UnanetAeMe`]}),deleteUnanetAeConnection:e.mutation({queryFn:n(async()=>(await i.DeleteConnection(),{data:null})),invalidatesTags:[`UnanetAeConnection`,`UnanetAeMe`]}),testUnanetAeConnection:e.mutation({queryFn:n(async e=>{let{data:t}=await i.TestConnection(e);return{data:t}})}),listUnanetAeDatabases:e.mutation({queryFn:n(async e=>{let{data:t}=await i.ListDatabases(e);return{data:t}})}),syncUnanetAeNow:e.mutation({queryFn:n(async()=>{let{data:e}=await i.SyncNow();return{data:e}})}),setUnanetAeWebhook:e.mutation({queryFn:n(async e=>{let{data:t}=await i.SetWebhook(e);return{data:t}}),invalidatesTags:[`UnanetAeConnection`]}),regenerateUnanetAeWebhook:e.mutation({queryFn:n(async()=>{let{data:e}=await i.RegenerateWebhook();return{data:e}}),invalidatesTags:[`UnanetAeConnection`]}),getMyUnanetAeCredential:e.query({queryFn:n(async()=>{let{data:e}=await i.GetMyCredential();return{data:e}}),providesTags:[`UnanetAeMe`]}),getMyUnanetAeAvailability:e.query({queryFn:n(async()=>{let{data:e}=await i.GetMyAvailability();return{data:e}}),providesTags:[`UnanetAeMe`]}),setMyUnanetAeCredential:e.mutation({queryFn:n(async e=>{let{data:t}=await i.SetMyCredential(e);return{data:t}}),invalidatesTags:[`UnanetAeMe`]}),deleteMyUnanetAeCredential:e.mutation({queryFn:n(async()=>(await i.DeleteMyCredential(),{data:null})),invalidatesTags:[`UnanetAeMe`]}),testMyUnanetAeCredential:e.mutation({queryFn:n(async()=>{let{data:e}=await i.TestMyCredential();return{data:e}}),invalidatesTags:[`UnanetAeMe`]})})}),{useGetUnanetAeConnectionQuery:o,useUpsertUnanetAeConnectionMutation:s,useDeleteUnanetAeConnectionMutation:c,useTestUnanetAeConnectionMutation:l,useListUnanetAeDatabasesMutation:u,useSyncUnanetAeNowMutation:d,useSetUnanetAeWebhookMutation:f,useRegenerateUnanetAeWebhookMutation:p,useGetMyUnanetAeCredentialQuery:m,useGetMyUnanetAeAvailabilityQuery:h,useSetMyUnanetAeCredentialMutation:g,useDeleteMyUnanetAeCredentialMutation:_,useTestMyUnanetAeCredentialMutation:v}=a,y=`/gmail-email`,b=`/gmail-admin`,x=`/gmail-add-on`,S=class{static async getConnectionStatus(){let{data:t}=await e.get(`${y}/connection-status`);return t}static async getAuthUrl(){let{data:t}=await e.get(`${y}/get-auth-url`);return t.auth_url}static async disconnect(){await e.delete(`${y}/oauth`)}static async getSettings(){let{data:t}=await e.get(`${y}/settings`);return t}static async updateSettings(t){let{data:n}=await e.patch(`${y}/settings`,t);return n}static async getPolicy(){let{data:t}=await e.get(`${y}/policy`);return t}static async getAdminSettings(t){let{data:n}=await e.get(`${b}/organizations/${t}
3/gmail-settings`);return n}static async updateAdminSettings(t,n){let{data:r}=await e.patch(`${b}/organizations/${t}/gmail-settings`,n);return r}static async getPanel(t){let{data:n}=await e.get(`${x}/panel/${t}`);return n}static async getAddOnProjects(t){let{data:n}=await e.get(`${x}/projects`,{params:t?{search:t}:void 0});return n}static async sendEmailAction(t){await e.patch(`${x}/projects/${t.projectId}/email-actions`,{internet_message_id:t.internetMessageId,action:t.action,gmail_message_id:t.gmailMessageId})}},C=r({reducerPath:`gmailApi`,baseQuery:t(),keepUnusedDataFor:5,tagTypes:[`GmailConnection`,`GmailSettings`,`GmailPolicy`,`GmailAdminSettings`,`GmailPanel`],endpoints:e=>({getGmailConnectionStatus:e.query({providesTags:[`GmailConnection`],queryFn:n(async()=>({data:await S.getConnectionStatus()}))}),getGmailSettings:e.query({providesTags:[`GmailSettings`],queryFn:n(async()=>({data:await S.getSettings()}))}),updateGmailSettings:e.mutation({invalidatesTags:[`GmailSettings`],queryFn:n(async e=>({data:await S.updateSettings(e)}))}),getGmailPolicy:e.query({providesTags:[`GmailPolicy`],queryFn:n(async()=>({data:await S.getPolicy()}))}),disconnectGmail:e.mutation({invalidatesTags:[`GmailConnection`,`GmailSettings`],queryFn:n(async()=>(await S.disconnect(),{data:void 0}))}),getGmailAdminSettings:e.query({providesTags:[`GmailAdminSettings`],queryFn:n(async e=>({data:await S.getAdminSettings(e)}))}),updateGmailAdminSettings:e.mutation({invalidatesTags:[`GmailAdminSettings`],queryFn:n(async e=>({data:await S.updateAdminSettings(e.orgId,e.policy)}))}),getGmailPanel:e.query({providesTags:[`GmailPanel`],queryFn:n(async e=>({data:await S.getPanel(e)}))}),getGmailAddOnProjects:e.query({queryFn:n(async e=>({data:await S.getAddOnProjects(e)}))}),gmailEmailAction:e.mutation({invalidatesTags:[`GmailPanel`],queryFn:n(async e=>(await S.sendEmailAction(e),{data:void 0}))})})}),{useGetGmailConnectionStatusQuery:w,useGetGmailSettingsQuery:T,useUpdateGmailSettingsMutation:E,useGetGmailPolicyQuery:D,useDisconnectGmailMutation:O,useGetGmailAdminSettingsQuery:k,useUpdateGmailAdminSettingsMutation:A,useGetGmailPanelQuery:j,useGetGmailAddOnProjectsQuery:M,useGmailEmailActionMutation:N}=C;export{s as C,l as S,p as _,D as a,d as b,E as c,_ as d,c as f,u as g,o as h,w as i,S as l,m,O as n,T as o,h as p,k as r,A as s,C as t,a as u,g as v,v as x,f as y};
4//# sourceMappingURL=gmail.DU7LUNfO.js.map
5//# debugId=92a12562-49e8-5cf0-8641-63ad1e042cac

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.