@oystehr/sdk
Version:
Oystehr SDK
21 lines (18 loc) • 685 B
JavaScript
import { SDKResource } from '../../client/client.js';
// AUTOGENERATED -- DO NOT EDIT
class Messaging extends SDKResource {
constructor(config) {
super(config);
}
#baseUrlThunk() {
return this.config.services?.['projectApiUrl'] ?? 'https://project-api.zapehr.com/v1';
}
/**
* Get an information about the Messaging services configuration. This information includes phone number, phone number type and also rate limits of each service.
*/
getMessagingConfig(request) {
return this.request('/messaging/config', 'get', this.#baseUrlThunk.bind(this))(request);
}
}
export { Messaging };
//# sourceMappingURL=messaging.js.map