UNPKG

@dodi-smart/nuki-graphql-api

Version:
25 lines 661 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.CompanyService = void 0; class CompanyService { constructor(httpRequest) { this.httpRequest = httpRequest; } /** * Get an list of companies * @returns Company successful operation * @throws ApiError */ getCompanies() { return this.httpRequest.request({ method: 'GET', url: '/company', errors: { 401: `Not authorized`, 403: `Not allowed`, }, }); } } exports.CompanyService = CompanyService; //# sourceMappingURL=CompanyService.js.map