/* 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 GetEmailAddressesVariables = _Types.Exact<{
  threadId: _Types.Scalars['ID']['input'];
}>;


export type GetEmailAddresses = { emailAddresses: Array<string | null> | null };


export const GetEmailAddressesDocument = /*#__PURE__*/ {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"query","name":{"kind":"Name","value":"GetEmailAddresses"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"threadId"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ID"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"emailAddresses"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"threadId"},"value":{"kind":"Variable","name":{"kind":"Name","value":"threadId"}}}]}]}}]} as unknown as DocumentNode;

/**
 * __useGetEmailAddresses__
 *
 * To run a query within a React component, call `useGetEmailAddresses` and pass it any options that fit your needs.
 * When your component renders, `useGetEmailAddresses` returns an object from Apollo Client that contains loading, error, and data properties
 * you can use to render your UI.
 *
 * @param baseOptions options that will be passed into the query, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options;
 *
 * @example
 * const { data, loading, error } = useGetEmailAddresses({
 *   variables: {
 *      threadId: // value for 'threadId'
 *   },
 * });
 */
export function useGetEmailAddresses(baseOptions: Apollo.QueryHookOptions<GetEmailAddresses, GetEmailAddressesVariables> & ({ variables: GetEmailAddressesVariables; skip?: boolean; } | { skip: boolean; }) ) {
        const options = {...defaultOptions, ...baseOptions}
        return Apollo.useQuery<GetEmailAddresses, GetEmailAddressesVariables>(GetEmailAddressesDocument, options);
      }
export function useGetEmailAddressesLazyQuery(baseOptions?: Apollo.LazyQueryHookOptions<GetEmailAddresses, GetEmailAddressesVariables>) {
          const options = {...defaultOptions, ...baseOptions}
          return Apollo.useLazyQuery<GetEmailAddresses, GetEmailAddressesVariables>(GetEmailAddressesDocument, options);
        }
export function useGetEmailAddressesSuspenseQuery(baseOptions?: Apollo.SuspenseQueryHookOptions<GetEmailAddresses, GetEmailAddressesVariables>) {
          const options = {...defaultOptions, ...baseOptions}
          return Apollo.useSuspenseQuery<GetEmailAddresses, GetEmailAddressesVariables>(GetEmailAddressesDocument, options);
        }
export type GetEmailAddressesHookResult = ReturnType<typeof useGetEmailAddresses>;
export type GetEmailAddressesLazyQueryHookResult = ReturnType<typeof useGetEmailAddressesLazyQuery>;
export type GetEmailAddressesSuspenseQueryHookResult = ReturnType<typeof useGetEmailAddressesSuspenseQuery>;
export type GetEmailAddressesQueryResult = Apollo.QueryResult<GetEmailAddresses, GetEmailAddressesVariables>;