import type { payment_GetPaymentsResponse } from '../models/payment_GetPaymentsResponse'; import type { CancelablePromise } from '../core/CancelablePromise'; export declare class PaymentsService { /** * List payments * * Returns a paginated list of payments for the portal. When invoiceId is * supplied, only payments for that invoice are returned. Requires * internal-user privileges. * * @param invoiceId Filter payments by invoice ID * @param limit Maximum number of records to return. * @param nextToken Pagination cursor returned by a previous request. * * @example * await assembly.listPayments(); */ static listPayments({ invoiceId, limit, nextToken, }: { /** * Filter payments by invoice ID */ invoiceId?: string; /** * Maximum number of records to return. */ limit?: number; /** * Pagination cursor returned by a previous request. */ nextToken?: string; }): CancelablePromise; }