@oystehr/sdk
Version:
Oystehr SDK
21 lines (18 loc) • 589 B
JavaScript
import { SDKResource } from '../../client/client.js';
// AUTOGENERATED -- DO NOT EDIT
class Version extends SDKResource {
constructor(config) {
super(config);
}
#baseUrlThunk() {
return this.config.services?.['projectApiUrl'] ?? 'https://project-api.zapehr.com/v1';
}
/**
* Get project API version. This endpoint is public so there are no access policy requirements.
*/
get(request) {
return this.request('/version', 'get', this.#baseUrlThunk.bind(this))(request);
}
}
export { Version };
//# sourceMappingURL=version.js.map