@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
44 lines • 1.23 kB
TypeScript
import type { transactions } from '../models/transactions.js';
import type { CancelablePromise } from '../core/CancelablePromise.js';
export declare class TransactionService {
/**
* List transactions
* Retrieve a paginated list of transactions
* @returns any Successful response
* @throws ApiError
*/
static getTransactions({ 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<transactions>;
pagination?: {
limit?: number;
offset?: number;
total?: number;
};
}>;
/**
* Get transaction
* Retrieve a specific transaction by ID
* @returns transactions Successful response
* @throws ApiError
*/
static getTransactions1({ transactionId, }: {
/**
* The transaction ID
*/
transactionId: string;
}): CancelablePromise<transactions>;
}
//# sourceMappingURL=TransactionService.d.ts.map