import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types'; import { ListPayoutsOptions, ListPayoutsResponse, Payout, PayoutCreatedEnvelope, PayoutUpdatedEnvelope } from './index.typings.mjs'; export { AccountInfo, AccountInfoMetadata, ActionEvent, AddressLocation, BaseEventMetadata, CreatePayoutRequest, CreatePayoutResponse, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityDeletedEvent, EntityUpdatedEvent, EventMetadata, GetPayoutGroupByPayoutIdRequest, GetPayoutGroupByPayoutIdResponse, GetPayoutGroupRequest, GetPayoutGroupResponse, GetPayoutRequest, GetPayoutResponse, IdentificationData, IdentificationDataIdOneOf, ListPayoutGroupsRequest, ListPayoutGroupsResponse, ListPayoutsRequest, MessageEnvelope, Money, Paging, PagingMetadata, PayoutFailureCode, PayoutFailureCodeWithLiterals, PayoutFailureReason, PayoutGroup, PayoutStatus, PayoutStatusWithLiterals, RestoreInfo, SortOrder, SortOrderWithLiterals, Sorting, WebhookIdentityType, WebhookIdentityTypeWithLiterals } from './index.typings.mjs'; declare function listPayouts$1(httpClient: HttpClient): ListPayoutsSignature; interface ListPayoutsSignature { /** * Retrieves a paginated list of payouts for the specified Wix Payments account. * * Supports optional filters by account profile and by creation date range. * A newly created payout can take a short time to appear in the results. * * Calls are limited to 100 requests per 10 seconds per caller. Requests * over the limit fail with a `RESOURCE_EXHAUSTED` error and the message * `The request was throttled`. * @param - ID of the Wix Payments account whose payouts to list. Retrieve account * IDs from the Accounts API. */ (accountId: string, options?: ListPayoutsOptions): Promise>; } declare function getPayout$1(httpClient: HttpClient): GetPayoutSignature; interface GetPayoutSignature { /** * Retrieves a single payout by ID. * * Calls are limited to 100 requests per 10 seconds per caller. Requests * over the limit fail with a `RESOURCE_EXHAUSTED` error and the message * `The request was throttled`. * @param - ID of the payout to retrieve. * @param - ID of the Wix Payments account that owns the payout. The payout must * belong to this account. Retrieve account IDs from the Accounts API. * @returns Retrieved payout. */ (payoutId: string, accountId: string): Promise>; } declare const onPayoutCreated$1: EventDefinition; declare const onPayoutUpdated$1: EventDefinition; declare const listPayouts: MaybeContext & typeof listPayouts$1>; declare const getPayout: MaybeContext & typeof getPayout$1>; /** * Triggered when a payout is created. * * The payout is created before the underlying transfer is initiated at the * bank. At this point `status` is `SENT` and `estimatedArrivalDateV2` is set * if the bank rail returned one. `failureReason` and `bankTransferReference` * are not yet populated. */ declare const onPayoutCreated: BuildEventDefinition & typeof onPayoutCreated$1; /** * Triggered when a payout is updated. * * Typical updates include `status` transitioning from `SENT` to `FAILED` * (with `failureReason` being set), `estimatedArrivalDateV2` being refined by * the bank rail, and `bankTransferReference` being populated once the rail * returns it. */ declare const onPayoutUpdated: BuildEventDefinition & typeof onPayoutUpdated$1; export { ListPayoutsOptions, ListPayoutsResponse, Payout, PayoutCreatedEnvelope, PayoutUpdatedEnvelope, getPayout, listPayouts, onPayoutCreated, onPayoutUpdated };