import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const AutocompleteSearchTicketDocument = gql` query autocompleteSearchTicket($input: AutocompleteSearchTicketInput!) { autocompleteSearchTicket(input: $input) { value label labelPlaceholder heading headingPlaceholder disabled icon ticket { id number internalId state { id name } stateColorCode } } } `; export function useAutocompleteSearchTicketQuery(variables: Types.AutocompleteSearchTicketQueryVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useQuery(AutocompleteSearchTicketDocument, variables, options); } export function useAutocompleteSearchTicketLazyQuery(variables?: Types.AutocompleteSearchTicketQueryVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useLazyQuery(AutocompleteSearchTicketDocument, variables, options); } export type AutocompleteSearchTicketQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn;