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"; /** * Update source account * * @remarks * The _Update source account_ endpoint updates a single source account for a single data connection connected to a single company. * * ### Tips and pitfalls * * * This endpoint makes it possible to update the `accountName`, `status`, and `balance` fields. * * The `status` field can only be updated to 'disconnected'. * * The `balance` field can only be updated on accounts that are **not** 'connected'. * * Updates made here apply exclusively to source accounts and will not affect target accounts in the accounting software. */ export declare function sourceAccountsUpdate(client: CodatBankFeedsCore, request: operations.UpdateSourceAccountRequest, options?: RequestOptions): APIPromise>; //# sourceMappingURL=sourceAccountsUpdate.d.ts.map