PageSourceSearch

https://cdn.airia.ai/2.995.4/assets/deployments-Bj0oRfWi.js

js airia.ai collected 2026-10-05 11:50:33 UTC 6,141 bytes, 2 lines download raw bytes

1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`2.995.4`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`3e905915-867e-4ad9-bf28-dbaa71fc5fab`,e._sentryDebugIdIdentifier=`sentry-dbid-3e905915-867e-4ad9-bf28-dbaa71fc5fab`)}catch{}})();import{w as e}from"./authRedirect-Bli9udZP.js";import{F as t,Ft as n,G as r,K as i,P as a,X as o,Y as s,Z as c,bt as l,k as u}from"./vendor-router-ChM0-8kW.js";import{r as d}from"./axios-D9JydIQX.js";import"./axios-CReXKatJ.js";import{t as f}from"./queryKeys-ONu8Xu7S.js";var p=i({userPromptId:o().uuid(),name:o(),message:o(),description:o().nullable()}),m=u([`StandardChat`,`ImageOnly`,`FileOnly`]),h=i({id:o(),pipelineId:o(),pipelineName:o(),deploymentName:o(),deploymentIconUrl:o().nullable(),agentUnicodeIcon:o().nullable().optional(),icon:o().nullable().optional(),description:o().nullable(),userPrompts:a(p).nullable(),conversationType:m,projectId:o().nullable(),dataSources:a(i({id:o(),name:o(),selectedFilesForIngestion:a(o()).nullable().optional(),selectedFoldersForIngestion:a(o()).nullable().optional()})).nullable(),isPinned:t().catch(!1),tags:a(o()).nullable().optional(),pipelineUserId:o().nullable().optional()}).transform(e=>({...e,icon:e.agentUnicodeIcon??e.deploymentIconUrl??null})),g=i({deploymentId:o(),pipelineId:o(),pipelineName:o().nullable().optional(),pipelineProjectId:o().uuid().nullable().optional(),deploymentName:o(),deploymentIconUrl:o().nullable(),agentUnicodeIcon:o().nullable(),icon:o().nullable().optional(),description:o().nullable(),userPrompts:a(p).nullable(),projectId:o().uuid(),dataSources:a(i({id:o().uuid(),name:o(),selectedFilesForIngestion:a(o()).nullable().optional(),selectedFoldersForIngestion:a(o()).nullable().optional()})).nullable(),tags:a(o()).nullable(),isRecommended:t(),isPinned:t(),conversationType:m,pipelineUserId:o().nullable().optional(),aboutDeploymentMetadata:i({version:r(),videoUrl:o()}).nullish(),deploymentPrompt:u([`Artifact`,`Citation`]).nullish(),behaviours:a(u([`Voice`,`Iterate`,`IterateFiles`,`IterateCsv`,`IterateDatasourceFiles`,`IterateDatasourceFileContent`])).nullable(),supportedInputModes:a(u([`FileUpload`,`Whiteboard`,`Code`,`Math`])).optional(),isDeployedViaAssistants:t().optional(),isSeeded:t(),isScheduled:t().optional(),hasAnyPausedSchedule:t().optional(),libraryAgentId:o().uuid().nullable(),displayConsumptionInfo:t().optional(),hasVisionSupport:t().optional(),ownerDisplayName:o().nullable().optional(),greetingMessage:o().nullish(),isEndUserPrivate:t().optional(),deploymentType:o().optional(),browserExtensionConfig:i({type:o(),quickActions:a(i({id:o(),displayName:o(),quickActionType:c([o(),r()]),initialMessage:o().optional(),assignedAgent:i({deploymentId:o(),agentName:o(),agentUrl:o(),isConfigurable:t()}).optional(),targetDomains:a(o()).optional()}))}).optional().nullable()}).transform(e=>({...e,icon:e.agentUnicodeIcon||e.deploymentIconUrl||null})),_=a(g);s(o(),a(h));var v=i({deploymentId:o(),pipelineId:o(),pipelineUserId:o().nullable().optional(),deploymentName:o(),description:o().nullable().optional(),tags:a(o()).nullable().optional(),libraryAgentId:o().nullable().optional(),agentUnicodeIcon:o().nullable().optional(),deploymentIconUrl:o().nullable().optional()}).transform(e=>({...e,icon:e.agentUnicodeIcon||e.deploymentIconUrl||null})),y=async()=>{let t=await e.get(`/v2/Deployments/paged`,{params:{pageNumber:1,pageSize:1e4}});try{return i({items:_,totalCount:r()}).parse(t.data).items}catch{return[]}},b=async()=>{let t=await e.get(`/v2/Deployments/list`);try{return a(v).parse(t.data)}catch{return[]}},x=async t=>{try{let n=await e.get(`/v2/Deployments/by-pipeline/${encodeURIComponent(t)}`);return v.parse(n.data)}catch(e){if(d(e)&&e.response?.status===404)return null;throw e}},S=async t=>{if(t.length===0)return[];if(t.length>150)throw Error(`getDeploymentsByIds: ${t.length} ids exceeds the 150-id cap — fall back to getDeploymentsLite for larger/unbounded sets.`);let n=await e.get(`/v2/Deployments/by-ids`,{params:{ids:t.join(`,`)}});try{return a(v).parse(n.data)}catch{return[]}},C=async({data:n})=>{let{pageNumber:a,pageSize:o}=n,s=await e.get(`/v2/Deployments/recently-used?pageNumber=${a}&pageSize=${o}&includeTotalCount=false`);
1return i({items:_,totalCount:r().nullable(),hasMore:t().nullish()}).parse(s.data)},w=async()=>{let t=await e.get(`/v2/Deployments/pinned`);return _.parse(t.data)},T=async({data:t})=>{let{pageNumber:n=1,pageSize:a=10,sortDirection:o=`asc`,sortBy:s,filter:c,filterableColumns:l,isRecommended:u,isScheduled:d,tags:f}=t,p=new URLSearchParams({pageNumber:n.toString(),pageSize:a.toString(),sortDirection:o});s&&p.append(`sortBy`,s),c&&p.append(`filter`,c),u&&p.append(`isRecommended`,u.toString()),d&&p.append(`isScheduled`,d.toString()),l&&l.length===1&&p.append(`filterableColumns`,l.join(`,`)),f&&f.length>0&&f.forEach(e=>p.append(`tags`,e));let m=await e.get(`/v2/Deployments/paged?${p.toString()}`);return i({items:_,totalCount:r()}).parse(m.data)},E=async()=>{let t=await e.get(`/v2/Deployments/tags`);return a(o()).parse(t.data)},D=l({queryKey:f.deployments.all,queryFn:()=>y()}),O=l({queryKey:f.deployments.lite,queryFn:()=>b(),staleTime:3e5,gcTime:3e5}),k=e=>l({queryKey:f.deployments.byIds(e),queryFn:()=>S(e),enabled:e.length>0&&e.length<=150,staleTime:3e5,gcTime:3e5,placeholderData:n}),A=l({queryKey:f.deployments.recent,queryFn:()=>C({data:{pageSize:10,pageNumber:1}})}),j=l({queryKey:f.deployments.tags,queryFn:()=>E()}),M=(e={})=>l({queryKey:f.deployments.pinned,queryFn:()=>w(),enabled:e.enabled??!0,staleTime:3e5,gcTime:6e5,select:e.select}),N=e=>l({queryKey:f.deployments.paged(e),queryFn:()=>T({data:e})}),P=async({data:t})=>{let n=await e.get(`/v2/Deployments/${t}`);return await g.parseAsync(n.data)},F=async({data:t})=>{await e.post(`/v1/Deployments/pin/${t}`)},I=async({data:t})=>{await e.post(`/v1/Deployments/unpin/${t}`)};export{O as a,E as c,A as d,N as f,I as h,k as i,C as l,M as m,D as n,P as o,F as p,j as r,x as s,g as t,T as u};
2//# sourceMappingURL=deployments-Bj0oRfWi.js.map

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.