@kontent-ai/management-sdk
Version:
Official Kontent.ai management SDK
19 lines • 735 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CheckWebSpotlightStatusQuery = void 0;
const base_query_1 = require("../base-query");
class CheckWebSpotlightStatusQuery extends base_query_1.BaseQuery {
constructor(config, queryService) {
super(config, queryService);
this.config = config;
this.queryService = queryService;
}
toPromise() {
return this.queryService.checkWebSpotlightStatusAsync(this.getUrl(), this.queryConfig);
}
getAction() {
return this.apiEndpoints.checkWebSpotlightStatus();
}
}
exports.CheckWebSpotlightStatusQuery = CheckWebSpotlightStatusQuery;
//# sourceMappingURL=check-web-spotlight-status-query.class.js.map