import * as z from "zod/v3"; import { Result as SafeParseResult } from "../types/fp.js"; import { SDKValidationError } from "./errors/sdkvalidationerror.js"; export type BankAccountValidationBatchValidateResponseItem = { /** * The original AccountNumber passed to validate, excluding any non numeric characters. */ originalAccountNumber?: string | undefined; /** * The original SortCode passed to validate, excluding any non numeric characters. */ originalSortCode?: string | undefined; /** * Indicates whether the account number and sortcode are valid. */ isCorrect?: boolean | undefined; /** * Indicates whether the branch associated with this account can accept direct debits. */ isDirectDebitCapable?: boolean | undefined; /** * More detail about the outcome of the validation process. Describes reasons validation failed or changes made to pass validation. DetailsChanged indicates that the account and sortcode should be changed for BACs submission (check CorrectedAccountNumber and CorrectedSortCode). CautiousOK is set where the sortcode exists but no validation rules are set for the bank (very rare). */ statusInformation?: string | undefined; /** * The correct version of the SortCode. This will be 6 digits long with no hyphens. It may differ from the original sortcode. */ correctedSortCode?: string | undefined; /** * The correct version of the AccountNumber. This will be 8 digits long and in the form expected for BACs submission. */ correctedAccountNumber?: string | undefined; /** * The correctly formatted IBAN for the account. */ iban?: string | undefined; /** * The name of the banking institution. */ bank?: string | undefined; /** * The banking institution's BIC, also know as the SWIFT BIC. */ bankBIC?: string | undefined; /** * The name of the account holding branch. */ branch?: string | undefined; /** * The branch's BIC. */ branchBIC?: string | undefined; /** * Line 1 of the branch's contact address. NB: This is the address to be used for BACs enquiries and may be a contact centre rather than the branch's address. */ contactAddressLine1?: string | undefined; /** * Line 2 of the branch's contact address. */ contactAddressLine2?: string | undefined; /** * The branch's contact post town. */ contactPostTown?: string | undefined; /** * The branch's contact postcode. */ contactPostcode?: string | undefined; /** * The branch's contact phone number. */ contactPhone?: string | undefined; /** * The branch's contact fax number. */ contactFax?: string | undefined; }; export type BankAccountValidationBatchValidateResponse = { items?: Array | undefined; }; /** @internal */ export declare const BankAccountValidationBatchValidateResponseItem$inboundSchema: z.ZodType; export declare function bankAccountValidationBatchValidateResponseItemFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const BankAccountValidationBatchValidateResponse$inboundSchema: z.ZodType; export declare function bankAccountValidationBatchValidateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=bankaccountvalidationbatchvalidateresponse.d.ts.map