UNPKG

@hpcc-js/comms

Version:
34 lines 1.53 kB
import { __extends } from "tslib"; import { Service } from "../../../../espConnection"; export var WsSasha; (function (WsSasha) { var WUTypes; (function (WUTypes) { WUTypes["ECL"] = "ECL"; WUTypes["DFU"] = "DFU"; })(WUTypes = WsSasha.WUTypes || (WsSasha.WUTypes = {})); })(WsSasha || (WsSasha = {})); var SashaServiceBase = /** @class */ (function (_super) { __extends(SashaServiceBase, _super); function SashaServiceBase(optsConnection) { return _super.call(this, optsConnection, "WSSasha", "1.01") || this; } SashaServiceBase.prototype.ArchiveWU = function (request) { return this._connection.send("ArchiveWU", request, "json", false, undefined, "ResultResponse"); }; SashaServiceBase.prototype.GetVersion = function (request) { return this._connection.send("GetVersion", request, "json", false, undefined, "ResultResponse"); }; SashaServiceBase.prototype.ListWU = function (request) { return this._connection.send("ListWU", request, "json", false, undefined, "ResultResponse"); }; SashaServiceBase.prototype.Ping = function (request) { return this._connection.send("Ping", request, "json", false, undefined, "WSSashaPingResponse"); }; SashaServiceBase.prototype.RestoreWU = function (request) { return this._connection.send("RestoreWU", request, "json", false, undefined, "ResultResponse"); }; return SashaServiceBase; }(Service)); export { SashaServiceBase }; //# sourceMappingURL=WsSasha.js.map