/* eslint-disable */
//@ts-nocheck
import type * as _Types from '../types';

import type { DocumentNode } from 'graphql';
import * as Apollo from '@apollo/client';
const defaultOptions = {} as const;
export type PerformTeamToolActionVariables = _Types.Exact<{
  teamId: _Types.Scalars['ID']['input'];
  toolArgument: _Types.Scalars['String']['input'];
  toolId: _Types.Scalars['ID']['input'];
}>;


export type PerformTeamToolAction = { useTool: { operationDone: boolean | null } | null };


export const PerformTeamToolActionDocument = /*#__PURE__*/ {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"PerformTeamToolAction"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"teamId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toolArgument"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"String"}}}},{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"toolId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"useTool"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"useToolInput"},"value":{"kind":"ObjectValue","fields":[{"kind":"ObjectField","name":{"kind":"Name","value":"teamId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"teamId"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"toolArgument"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toolArgument"}}},{"kind":"ObjectField","name":{"kind":"Name","value":"toolId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"toolId"}}}]}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"operationDone"}}]}}]}}]} as unknown as DocumentNode;
export type PerformTeamToolActionMutationFn = Apollo.MutationFunction<PerformTeamToolAction, PerformTeamToolActionVariables>;

/**
 * __usePerformTeamToolAction__
 *
 * To run a mutation, you first call `usePerformTeamToolAction` within a React component and pass it any options that fit your needs.
 * When your component renders, `usePerformTeamToolAction` returns a tuple that includes:
 * - A mutate function that you can call at any time to execute the mutation
 * - An object with fields that represent the current status of the mutation's execution
 *
 * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
 *
 * @example
 * const [performTeamToolAction, { data, loading, error }] = usePerformTeamToolAction({
 *   variables: {
 *      teamId: // value for 'teamId'
 *      toolArgument: // value for 'toolArgument'
 *      toolId: // value for 'toolId'
 *   },
 * });
 */
export function usePerformTeamToolAction(baseOptions?: Apollo.MutationHookOptions<PerformTeamToolAction, PerformTeamToolActionVariables>) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useMutation<PerformTeamToolAction, PerformTeamToolActionVariables>(PerformTeamToolActionDocument, options);
      }
export type PerformTeamToolActionHookResult = ReturnType<typeof usePerformTeamToolAction>;
export type PerformTeamToolActionMutationResult = Apollo.MutationResult<PerformTeamToolAction>;
export type PerformTeamToolActionMutationOptions = Apollo.BaseMutationOptions<PerformTeamToolAction, PerformTeamToolActionVariables>;