UNPKG

@lomi./sdk

Version:

Official TypeScript SDK for the lomi. API

46 lines 1.47 kB
import { OpenAPI } from '../core/OpenAPI.js'; import { request as __request } from '../core/request.js'; export class SpiAccountAliaseService { /** * List spi_account_aliases * Retrieve a paginated list of spi_account_aliases * @returns any Successful response * @throws ApiError */ static getSpiAccountAliases({ limit = 20, offset, sort, }) { return __request(OpenAPI, { method: 'GET', url: '/spi_account_aliases', query: { 'limit': limit, 'offset': offset, 'sort': sort, }, errors: { 401: `Unauthorized - Invalid or missing API key`, 500: `Internal server error`, }, }); } /** * Get spi_account_aliase * Retrieve a specific spi_account_aliase by ID * @returns spi_account_aliases Successful response * @throws ApiError */ static getSpiAccountAliases1({ aliasId, }) { return __request(OpenAPI, { method: 'GET', url: '/spi_account_aliases/{alias_id}', path: { 'alias_id': aliasId, }, errors: { 401: `Unauthorized - Invalid or missing API key`, 404: `Not found - Resource does not exist`, 500: `Internal server error`, }, }); } } //# sourceMappingURL=SpiAccountAliaseService.js.map