UNPKG

@oystehr/sdk

Version:

Oystehr SDK

23 lines (19 loc) 614 B
'use strict'; var client = require('../../client/client.cjs'); // AUTOGENERATED -- DO NOT EDIT class Version extends client.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); } } exports.Version = Version; //# sourceMappingURL=version.cjs.map