@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
31 lines • 779 B
JavaScript
/**
* AccountsService
* AUTO-GENERATED - Do not edit manually
*
* Account balances - view organization account balances and SPI account information
*/
import { request } from '../core/request.js';
export class AccountsService {
/**
* List accounts
* Account balances - view organization account balances and SPI account information
*/
static async list(options) {
return await request({
method: 'GET',
url: '/accounts',
query: options,
});
}
/**
* Get a single account
*/
static async get(id) {
return await request({
method: 'GET',
url: '/accounts/{id}',
path: { id },
});
}
}
//# sourceMappingURL=AccountsService.js.map