1234567891011121314151617181920212223242526 |
- 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> = () => 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<Types.TwoFactorMethodInitiateAuthenticationMutation, Types.TwoFactorMethodInitiateAuthenticationMutationVariables> | ReactiveFunction<VueApolloComposable.UseMutationOptions<Types.TwoFactorMethodInitiateAuthenticationMutation, Types.TwoFactorMethodInitiateAuthenticationMutationVariables>> = {}) {
- return VueApolloComposable.useMutation<Types.TwoFactorMethodInitiateAuthenticationMutation, Types.TwoFactorMethodInitiateAuthenticationMutationVariables>(TwoFactorMethodInitiateAuthenticationDocument, options);
- }
- export type TwoFactorMethodInitiateAuthenticationMutationCompositionFunctionResult = VueApolloComposable.UseMutationReturn<Types.TwoFactorMethodInitiateAuthenticationMutation, Types.TwoFactorMethodInitiateAuthenticationMutationVariables>;
|