@lomi./sdk
Version:
Official TypeScript SDK for the lomi. API
31 lines • 868 B
JavaScript
/**
* OrganizationsService
* AUTO-GENERATED - Do not edit manually
*
* Organization metrics - view MRR, ARR, total revenue, merchant lifetime value, and other organization metrics
*/
import { request } from '../core/request.js';
export class OrganizationsService {
/**
* List organizations
* Organization metrics - view MRR, ARR, total revenue, merchant lifetime value, and other organization metrics
*/
static async list(options) {
return await request({
method: 'GET',
url: '/organizations',
query: options,
});
}
/**
* Get a single organization
*/
static async get(id) {
return await request({
method: 'GET',
url: '/organizations/{id}',
path: { id },
});
}
}
//# sourceMappingURL=OrganizationsService.js.map