import * as Types from '#shared/graphql/types.ts'; import gql from 'graphql-tag'; import { ErrorsFragmentDoc } from '../fragments/errors.api'; import * as VueApolloComposable from '@vue/apollo-composable'; import * as VueCompositionApi from 'vue'; export type ReactiveFunction = () => TParam; export const TwoFactorMethodInitiateAuthenticationDocument = gql` mutation twoFactorMethodInitiateAuthentication($login: String!, $password: String!, $twoFactorMethod: EnumTwoFactorAuthenticationMethod!) { twoFactorMethodInitiateAuthentication( login: $login password: $password twoFactorMethod: $twoFactorMethod ) { initiationData errors { ...errors } } } ${ErrorsFragmentDoc}`; export function useTwoFactorMethodInitiateAuthenticationMutation(options: VueApolloComposable.UseMutationOptions | ReactiveFunction> = {}) { return VueApolloComposable.useMutation(TwoFactorMethodInitiateAuthenticationDocument, options); } export type TwoFactorMethodInitiateAuthenticationMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn;