@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
80 lines • 2.14 kB
TypeScript
import type { payouts } from '../models/payouts.js';
import type { payouts_create } from '../models/payouts_create.js';
import type { payouts_update } from '../models/payouts_update.js';
import type { CancelablePromise } from '../core/CancelablePromise.js';
export declare class PayoutService {
/**
* List payouts
* Retrieve a paginated list of payouts
* @returns any Successful response
* @throws ApiError
*/
static getPayouts({ limit, offset, sort, }: {
/**
* Maximum number of items to return
*/
limit?: number;
/**
* Number of items to skip
*/
offset?: number;
/**
* Sort order (e.g., created_at:desc)
*/
sort?: string;
}): CancelablePromise<{
data?: Array<payouts>;
pagination?: {
limit?: number;
offset?: number;
total?: number;
};
}>;
/**
* Create payout
* Create a new payout
* @returns payouts Successfully created
* @throws ApiError
*/
static postPayouts({ requestBody, }: {
requestBody: payouts_create;
}): CancelablePromise<payouts>;
/**
* Get payout
* Retrieve a specific payout by ID
* @returns payouts Successful response
* @throws ApiError
*/
static getPayouts1({ payoutId, }: {
/**
* The payout ID
*/
payoutId: string;
}): CancelablePromise<payouts>;
/**
* Update payout
* Update a specific payout
* @returns payouts Successfully updated
* @throws ApiError
*/
static patchPayouts({ payoutId, requestBody, }: {
/**
* The payout ID
*/
payoutId: string;
requestBody: payouts_update;
}): CancelablePromise<payouts>;
/**
* Delete payout
* Delete a specific payout
* @returns void
* @throws ApiError
*/
static deletePayouts({ payoutId, }: {
/**
* The payout ID
*/
payoutId: string;
}): CancelablePromise<void>;
}
//# sourceMappingURL=PayoutService.d.ts.map