1234567891011121314151617181920212223242526 |
- import * as Types from '../../../../graphql/types';
- import gql from 'graphql-tag';
- import { TicketAttributesFragmentDoc } from '../../../../../apps/mobile/pages/ticket/graphql/fragments/ticketAttributes.api';
- import { ErrorsFragmentDoc } from '../../../../graphql/fragments/errors.api';
- import * as VueApolloComposable from '@vue/apollo-composable';
- import * as VueCompositionApi from 'vue';
- export type ReactiveFunction<TParam> = () => TParam;
- export const TicketCustomerUpdateDocument = gql`
- mutation ticketCustomerUpdate($ticketId: ID!, $input: TicketCustomerUpdateInput!) {
- ticketCustomerUpdate(ticketId: $ticketId, input: $input) {
- ticket {
- ...ticketAttributes
- }
- errors {
- ...errors
- }
- }
- }
- ${TicketAttributesFragmentDoc}
- ${ErrorsFragmentDoc}`;
- export function useTicketCustomerUpdateMutation(options: VueApolloComposable.UseMutationOptions<Types.TicketCustomerUpdateMutation, Types.TicketCustomerUpdateMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.TicketCustomerUpdateMutation, Types.TicketCustomerUpdateMutationVariables>> = {}) {
- return VueApolloComposable.useMutation<Types.TicketCustomerUpdateMutation, Types.TicketCustomerUpdateMutationVariables>(TicketCustomerUpdateDocument, options);
- }
- export type TicketCustomerUpdateMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.TicketCustomerUpdateMutation, Types.TicketCustomerUpdateMutationVariables>;
|