import type { Language } from '../../language/Language'; import type { CountryCode } from '../../types/datasets/country-code'; import type { components, operations } from './transferInstruments.contract'; export type GetBankVerificationProviderResponse = components['schemas']['BankAggregatorProviderResponse'][]; export type BankVerificationVendor = GetBankVerificationProviderResponse[number]; export type GetBankVerificationQueryParams = operations['getBankVerificationProviders']['parameters']['query'] & { country: CountryCode; locale: Language['locale']; }; export type QueryKeyBankVerificationProviders = [ 'bankVerificationProviders', GetBankVerificationQueryParams ]; export type CreateTrustedTransferInstrumentResponse = components['schemas']['BankVerificationResponse']; export type CreateTrustedTransferInstrumentRequest = components['schemas']['CreateTrustedTransferInstrumentRequest']; export type BankVerificationErrorRequest = components['schemas']['BankVerificationErrorRequest']; export type BankVerificationErrorResponse = components['schemas']['BankVerificationResponse']; export type GetTransferInstrumentResponse = components['schemas']['TransferInstrumentOverview'][]; export type TransferInstrumentReference = components['schemas']['TransferInstrumentOverview']; export type TransferInstrumentReferenceWithStatusId = Omit & { status: NonNullable; transferInstrument: Omit & { id: string; }; };