import * as Types from "../../../__generated__/types.js";
import * as gm from "graphql-modules";
export namespace ProviderCredentialsModule {
  interface DefinedFields {
    ProviderCredentialStatus: 'id' | 'provider' | 'configuredAt';
    ProviderCredentialResult: 'id' | 'provider' | 'configuredAt';
    ProviderCredentialDeleteResult: 'id' | 'provider' | 'success';
    Query: 'providerCredentials';
    Mutation: 'setGreenInvoiceCredentials' | 'setDeelCredentials' | 'deleteProviderCredentials';
  };
  
  interface DefinedEnumValues {
    ProviderKey: 'GREEN_INVOICE' | 'DEEL';
  };
  
  export type ProviderKey = DefinedEnumValues['ProviderKey'];
  export type ProviderCredentialStatus = Pick<Types.ProviderCredentialStatus, DefinedFields['ProviderCredentialStatus']>;
  export type DateTime = Types.DateTime;
  export type ProviderCredentialResult = Pick<Types.ProviderCredentialResult, DefinedFields['ProviderCredentialResult']>;
  export type ProviderCredentialDeleteResult = Pick<Types.ProviderCredentialDeleteResult, DefinedFields['ProviderCredentialDeleteResult']>;
  export type SetProviderCredentialsResult = Types.SetProviderCredentialsResult;
  export type CommonError = Types.CommonError;
  export type DeleteProviderCredentialsResult = Types.DeleteProviderCredentialsResult;
  export type Query = Pick<Types.Query, DefinedFields['Query']>;
  export type Mutation = Pick<Types.Mutation, DefinedFields['Mutation']>;
  
  export type ProviderCredentialStatusResolvers = Pick<Types.ProviderCredentialStatusResolvers, DefinedFields['ProviderCredentialStatus']>;
  export type ProviderCredentialResultResolvers = Pick<Types.ProviderCredentialResultResolvers, DefinedFields['ProviderCredentialResult'] | '__isTypeOf'>;
  export type ProviderCredentialDeleteResultResolvers = Pick<Types.ProviderCredentialDeleteResultResolvers, DefinedFields['ProviderCredentialDeleteResult'] | '__isTypeOf'>;
  export type QueryResolvers = Pick<Types.QueryResolvers, DefinedFields['Query']>;
  export type MutationResolvers = Pick<Types.MutationResolvers, DefinedFields['Mutation']>;
  
  export interface Resolvers {
    ProviderCredentialStatus?: ProviderCredentialStatusResolvers;
    ProviderCredentialResult?: ProviderCredentialResultResolvers;
    ProviderCredentialDeleteResult?: ProviderCredentialDeleteResultResolvers;
    Query?: QueryResolvers;
    Mutation?: MutationResolvers;
  };
  
  export interface MiddlewareMap {
    '*'?: {
      '*'?: gm.Middleware[];
    };
    ProviderCredentialStatus?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      provider?: gm.Middleware[];
      configuredAt?: gm.Middleware[];
    };
    ProviderCredentialResult?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      provider?: gm.Middleware[];
      configuredAt?: gm.Middleware[];
    };
    ProviderCredentialDeleteResult?: {
      '*'?: gm.Middleware[];
      id?: gm.Middleware[];
      provider?: gm.Middleware[];
      success?: gm.Middleware[];
    };
    Query?: {
      '*'?: gm.Middleware[];
      providerCredentials?: gm.Middleware[];
    };
    Mutation?: {
      '*'?: gm.Middleware[];
      setGreenInvoiceCredentials?: gm.Middleware[];
      setDeelCredentials?: gm.Middleware[];
      deleteProviderCredentials?: gm.Middleware[];
    };
  };
}