@kontent-ai/management-sdk
Version:
Official Kontent.ai management SDK
20 lines • 700 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AddCustomAppQuery = void 0;
const base_query_1 = require("../base-query");
class AddCustomAppQuery extends base_query_1.BaseQuery {
constructor(config, queryService, data) {
super(config, queryService);
this.config = config;
this.queryService = queryService;
this.data = data;
}
toPromise() {
return this.queryService.addCustomAppAsync(this.getUrl(), this.data, this.queryConfig);
}
getAction() {
return this.apiEndpoints.addCustomApp();
}
}
exports.AddCustomAppQuery = AddCustomAppQuery;
//# sourceMappingURL=add-custom-app-query.class.js.map