import { CodatBankFeedsCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { CodatBankFeedsError } from "../sdk/models/errors/codatbankfeedserror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../sdk/models/errors/httpclienterrors.js"; import * as errors from "../sdk/models/errors/index.js"; import { ResponseValidationError } from "../sdk/models/errors/responsevalidationerror.js"; import { SDKValidationError } from "../sdk/models/errors/sdkvalidationerror.js"; import * as operations from "../sdk/models/operations/index.js"; import * as shared from "../sdk/models/shared/index.js"; import { APIPromise } from "../sdk/types/async.js"; import { Result } from "../sdk/types/fp.js"; /** * Generate one-time password * * @remarks * The *Generate OTP* endpoint generates a one-time password (OTP) for a bank feed connection. The OTP is returned along with an expiry time, after which it will no longer be valid. * * > **For Sage only** * > * > Only call this endpoint for connections to Sage. Calling it for other integrations will return an error. */ export declare function sourceAccountsGenerateOtp(client: CodatBankFeedsCore, request: operations.GenerateOtpRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=sourceAccountsGenerateOtp.d.ts.map