@hpcc-js/comms
Version:
hpcc-js - Communications
27 lines • 1.03 kB
JavaScript
import { __extends } from "tslib";
import { AccountServiceBase } from "./wsdl/ws_account/v1.06/ws_account";
var AccountService = /** @class */ (function (_super) {
__extends(AccountService, _super);
function AccountService() {
return _super !== null && _super.apply(this, arguments) || this;
}
AccountService.prototype.VerifyUser = function (request) {
return this._connection.send("VerifyUser", request)
.catch(function (e) {
// old client version warning ---
if (e.isESPExceptions && e.Exception.some(function (exception) { return exception.Code === 20043; })) {
return {
retcode: 20043,
Exceptions: {
Source: "wsAccount",
Exception: e.Exception
}
};
}
throw e;
});
};
return AccountService;
}(AccountServiceBase));
export { AccountService };
//# sourceMappingURL=wsAccount.js.map