@@ -1148,6 +1148,20 @@ export type UpdateMcpIntegrationInstanceConfigurationWorkflowMutationVariables =
11481148
11491149export type UpdateMcpIntegrationInstanceConfigurationWorkflowMutation = { updateMcpIntegrationInstanceConfigurationWorkflow : { id : string , mcpIntegrationInstanceConfigurationId : any , integrationInstanceConfigurationWorkflowId : any , parameters : any } | null } ;
11501150
1151+ export type AiDefaultModelQueryVariables = Exact < {
1152+ environment : string | number ;
1153+ } > ;
1154+
1155+
1156+ export type AiDefaultModelQuery = { aiDefaultModel : { provider : string , model : string } | null } ;
1157+
1158+ export type AiProviderCatalogQueryVariables = Exact < {
1159+ environment : string | number ;
1160+ } > ;
1161+
1162+
1163+ export type AiProviderCatalogQuery = { aiProviderCatalog : Array < { key : string , name : string , icon : string | null , enabled : boolean , supportsModelById : boolean , models : Array < { name : string , label : string } > } > } ;
1164+
11511165export type ApiConnectorQueryVariables = Exact < {
11521166 id : string | number ;
11531167} > ;
@@ -5820,6 +5834,63 @@ export const useUpdateMcpIntegrationInstanceConfigurationWorkflowMutation = <
58205834 }
58215835 ) } ;
58225836
5837+ export const AiDefaultModelDocument = new TypedDocumentString ( `
5838+ query aiDefaultModel($environment: ID!) {
5839+ aiDefaultModel(environment: $environment) {
5840+ provider
5841+ model
5842+ }
5843+ }
5844+ ` ) ;
5845+
5846+ export const useAiDefaultModelQuery = <
5847+ TData = AiDefaultModelQuery ,
5848+ TError = unknown
5849+ > (
5850+ variables : AiDefaultModelQueryVariables ,
5851+ options ?: Omit < UseQueryOptions < AiDefaultModelQuery , TError , TData > , 'queryKey' > & { queryKey ?: UseQueryOptions < AiDefaultModelQuery , TError , TData > [ 'queryKey' ] }
5852+ ) => {
5853+
5854+ return useQuery < AiDefaultModelQuery , TError , TData > (
5855+ {
5856+ queryKey : [ 'aiDefaultModel' , variables ] ,
5857+ queryFn : fetcher < AiDefaultModelQuery , AiDefaultModelQueryVariables > ( AiDefaultModelDocument , variables ) ,
5858+ ...options
5859+ }
5860+ ) } ;
5861+
5862+ export const AiProviderCatalogDocument = new TypedDocumentString ( `
5863+ query aiProviderCatalog($environment: ID!) {
5864+ aiProviderCatalog(environment: $environment) {
5865+ key
5866+ name
5867+ icon
5868+ enabled
5869+ supportsModelById
5870+ models {
5871+ name
5872+ label
5873+ }
5874+ }
5875+ }
5876+ ` ) ;
5877+
5878+ export const useAiProviderCatalogQuery = <
5879+ TData = AiProviderCatalogQuery ,
5880+ TError = unknown
5881+ > (
5882+ variables : AiProviderCatalogQueryVariables ,
5883+ options ?: Omit < UseQueryOptions < AiProviderCatalogQuery , TError , TData > , 'queryKey' > & { queryKey ?: UseQueryOptions < AiProviderCatalogQuery , TError , TData > [ 'queryKey' ] }
5884+ ) => {
5885+
5886+ return useQuery < AiProviderCatalogQuery , TError , TData > (
5887+ {
5888+ queryKey : [ 'aiProviderCatalog' , variables ] ,
5889+ queryFn : fetcher < AiProviderCatalogQuery , AiProviderCatalogQueryVariables > ( AiProviderCatalogDocument , variables ) ,
5890+ ...options
5891+ }
5892+ ) } ;
5893+
58235894export const ApiConnectorDocument = new TypedDocumentString ( `
58245895 query apiConnector($id: ID!) {
58255896 apiConnector(id: $id) {
0 commit comments