dc-management-sdk-js
Version:
Amplience Dynamic Content Management SDK
50 lines • 3.21 kB
JavaScript
;
var __extends = (this && this.__extends) || (function () {
var extendStatics = function (d, b) {
extendStatics = Object.setPrototypeOf ||
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
return extendStatics(d, b);
};
return function (d, b) {
if (typeof b !== "function" && b !== null)
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
extendStatics(d, b);
function __() { this.constructor = d; }
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
};
})();
Object.defineProperty(exports, "__esModule", { value: true });
exports.SearchIndexTopSearchesCollection = exports.SearchIndexTopSearches = exports.SearchesOrderBy = void 0;
var HalResource_1 = require("../hal/models/HalResource");
var EmbeddedCollection_1 = require("./EmbeddedCollection");
var SearchesOrderBy;
(function (SearchesOrderBy) {
SearchesOrderBy["SEARCH_COUNT"] = "searchCount";
SearchesOrderBy["CLICK_THROUGH_RATE"] = "clickThroughRate";
SearchesOrderBy["CONVERSION_RATE"] = "conversionRate";
SearchesOrderBy["AVERAGE_CLICK_POSITION"] = "averageClickPosition";
})(SearchesOrderBy || (exports.SearchesOrderBy = SearchesOrderBy = {}));
/**
* Class representing search analytics for an Algolia Search Index
*/
var SearchIndexTopSearches = /** @class */ (function (_super) {
__extends(SearchIndexTopSearches, _super);
function SearchIndexTopSearches() {
return _super !== null && _super.apply(this, arguments) || this;
}
return SearchIndexTopSearches;
}(HalResource_1.HalResource));
exports.SearchIndexTopSearches = SearchIndexTopSearches;
/**
* @hidden
*/
var SearchIndexTopSearchesCollection = /** @class */ (function (_super) {
__extends(SearchIndexTopSearchesCollection, _super);
function SearchIndexTopSearchesCollection(data) {
return _super.call(this, 'top-searches', SearchIndexTopSearches, data) || this;
}
return SearchIndexTopSearchesCollection;
}(EmbeddedCollection_1.EmbeddedCollection));
exports.SearchIndexTopSearchesCollection = SearchIndexTopSearchesCollection;
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2VhcmNoSW5kZXhUb3BTZWFyY2hlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvbW9kZWwvU2VhcmNoSW5kZXhUb3BTZWFyY2hlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7QUFBQSx5REFBd0Q7QUFDeEQsMkRBQTBEO0FBRTFELElBQVksZUFLWDtBQUxELFdBQVksZUFBZTtJQUN6QiwrQ0FBNEIsQ0FBQTtJQUM1QiwwREFBdUMsQ0FBQTtJQUN2QyxxREFBa0MsQ0FBQTtJQUNsQyxrRUFBK0MsQ0FBQTtBQUNqRCxDQUFDLEVBTFcsZUFBZSwrQkFBZixlQUFlLFFBSzFCO0FBRUQ7O0dBRUc7QUFDSDtJQUE0QywwQ0FBVztJQUF2RDs7SUE2Q0EsQ0FBQztJQUFELDZCQUFDO0FBQUQsQ0FBQyxBQTdDRCxDQUE0Qyx5QkFBVyxHQTZDdEQ7QUE3Q1ksd0RBQXNCO0FBK0NuQzs7R0FFRztBQUNIO0lBQXNELG9EQUEwQztJQUM5RiwwQ0FBWSxJQUFVO1FBQ3BCLE9BQUEsTUFBSyxZQUFDLGNBQWMsRUFBRSxzQkFBc0IsRUFBRSxJQUFJLENBQUMsU0FBQztJQUN0RCxDQUFDO0lBQ0gsdUNBQUM7QUFBRCxDQUFDLEFBSkQsQ0FBc0QsdUNBQWtCLEdBSXZFO0FBSlksNEVBQWdDIn0=