@coveo/platform-client
Version:
The main goal of this package is to provide an easy to configure and straightforward way of querying Coveo Cloud APIs using JavaScript.
9 lines • 443 B
JavaScript
import API from '../../../APICore.js';
import Resource from '../../Resource.js';
export default class SourcesFeedback extends Resource {
static baseUrl = `/rest/organizations/${API.orgPlaceholder}/sources/feedback`;
sendFeedback(feedbackConsumerType, feedbackPayload) {
return this.api.post(this.buildPath(SourcesFeedback.baseUrl, { feedbackConsumerType }), feedbackPayload);
}
}
//# sourceMappingURL=SourcesFeedback.js.map