@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
53 lines • 1.61 kB
TypeScript
import type { meter_balances } from '../models/meter_balances.js';
import type { CancelablePromise } from '../core/CancelablePromise.js';
export declare class MeterBalancesService {
/**
* List meter balances
* Meter balances - view current usage balances
* @returns any Successful response with paginated data
* @throws ApiError
*/
static listMeterBalances({ limit, offset, sort, }: {
/**
* Maximum number of items to return (1-100)
*/
limit?: number;
/**
* Number of items to skip for pagination
*/
offset?: number;
/**
* Sort order. Format: `field:direction` (e.g., `created_at:desc`)
*/
sort?: string;
}): CancelablePromise<{
data?: Array<meter_balances>;
pagination?: {
/**
* Number of items per page
*/
limit?: number;
/**
* Number of items skipped
*/
offset?: number;
/**
* Total number of items available
*/
total?: number;
};
}>;
/**
* Retrieve meter balance
* Retrieve a specific meter balance by its unique identifier.
* @returns meter_balances Meter_balance retrieved successfully
* @throws ApiError
*/
static retrieveMeterBalance({ balanceId, }: {
/**
* Unique identifier for the meter balance
*/
balanceId: string;
}): CancelablePromise<meter_balances>;
}
//# sourceMappingURL=MeterBalancesService.d.ts.map