import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { TicketSharedDraftStartAttributesFragmentDoc } from '../fragments/ticketSharedDraftStartAttributes.api'; import { ErrorsFragmentDoc } from '../../../../graphql/fragments/errors.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const TicketSharedDraftStartUpdateDocument = gql` mutation ticketSharedDraftStartUpdate($sharedDraftId: ID!, $input: TicketSharedDraftStartInput!) { ticketSharedDraftStartUpdate(input: $input, sharedDraftId: $sharedDraftId) { sharedDraft { ...ticketSharedDraftStartAttributes } errors { ...errors } } } ${TicketSharedDraftStartAttributesFragmentDoc} ${ErrorsFragmentDoc}`; export function useTicketSharedDraftStartUpdateMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(TicketSharedDraftStartUpdateDocument, options); } export type TicketSharedDraftStartUpdateMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;