@dodi-smart/nuki-graphql-api
Version:
Nuki GraphQL API
25 lines • 661 B
JavaScript
;
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