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 AutocompleteSearchMergeTicketDocument = gql` query autocompleteSearchMergeTicket($input: AutocompleteSearchMergeTicketInput!) { autocompleteSearchMergeTicket(input: $input) { value label labelPlaceholder heading headingPlaceholder disabled icon ticket { id number internalId state { id name } stateColorCode } } } `; export function useAutocompleteSearchMergeTicketQuery(variables: Types.AutocompleteSearchMergeTicketQueryVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useQuery(AutocompleteSearchMergeTicketDocument, variables, options); } export function useAutocompleteSearchMergeTicketLazyQuery(variables?: Types.AutocompleteSearchMergeTicketQueryVariables | VueCompositionApi.Ref | ReactiveFunction, options: VueApolloComposable.UseQueryOptions | VueCompositionApi.Ref> | ReactiveFunction> = {}) { return VueApolloComposable.useLazyQuery(AutocompleteSearchMergeTicketDocument, variables, options); } export type AutocompleteSearchMergeTicketQueryCompositionFunctionResult = VueApolloComposable.UseQueryReturn;