gigya-node
Version:
Gigya SDK for NodeJS
96 lines • 3.53 kB
JavaScript
;
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !exports.hasOwnProperty(p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.IDX = void 0;
__exportStar(require("./interfaces/gigya-response"), exports);
__exportStar(require("./interfaces/base-params"), exports);
var IDX = /** @class */ (function () {
function IDX(gigya) {
this.gigya = gigya;
}
/**
* The method creates a single dataflow and saves it in the system.
*
* @see http://developers.gigya.com/display/GD/idx.createDataflow+REST
*/
IDX.prototype.createDataflow = function (params, options) {
return this.gigya.request('idx.createDataflow', params, options);
};
/**
* The method retrieves a dataflow by ID.
*
* @see http://developers.gigya.com/display/GD/idx.getDataflow+REST
*/
IDX.prototype.getDataflow = function (params, options) {
return this.gigya.request('idx.getDataflow', params, options);
};
/**
* This method modifies an existing dataflow.
*
* @see http://developers.gigya.com/display/GD/idx.setDataflow+REST
*/
IDX.prototype.setDataflow = function (params, options) {
return this.gigya.request('idx.setDataflow', params, options);
};
/**
* The method deletes a Dataflow by ID.
*
* @see http://developers.gigya.com/display/GD/idx.deleteDataflow+REST
*/
IDX.prototype.deleteDataflow = function (params, options) {
return this.gigya.request('idx.deleteDataflow', params, options);
};
/**
* The method schedules a dataflow to execute.
*
* @see http://developers.gigya.com/display/GD/idx.createScheduling+REST
*/
IDX.prototype.createScheduling = function (params, options) {
return this.gigya.request('idx.createScheduling', params, options);
};
/**
* The method retrieves a scheduling.
*
* @see http://developers.gigya.com/display/GD/idx.getScheduling+REST
*/
IDX.prototype.getScheduling = function (params, options) {
return this.gigya.request('idx.getScheduling', params, options);
};
/**
* The method modifies an existing scheduling.
*
* @see http://developers.gigya.com/display/GD/idx.setScheduling+REST
*/
IDX.prototype.setScheduling = function (params, options) {
return this.gigya.request('idx.setScheduling', params, options);
};
/**
* The method deletes a scheduling.
*
* @see http://developers.gigya.com/display/GD/idx.deleteScheduling+REST
*/
IDX.prototype.deleteScheduling = function (params, options) {
return this.gigya.request('idx.deleteScheduling', params, options);
};
/**
* Searches and retrieves data from the ETL service using an SQL-like query.
*
* @see http://developers.gigya.com/display/GD/idx.search+REST
*/
IDX.prototype.search = function (params, options) {
return this.gigya.request('idx.search', params, options);
};
return IDX;
}());
exports.IDX = IDX;
exports.default = IDX;
//# sourceMappingURL=idx.js.map