@oystehr/sdk
Version:
Oystehr SDK
23 lines (19 loc) • 712 B
JavaScript
;
var client = require('../../client/client.cjs');
// AUTOGENERATED -- DO NOT EDIT
class Messaging extends client.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);
}
}
exports.Messaging = Messaging;
//# sourceMappingURL=messaging.cjs.map