@hpcc-js/comms 2.90.0 → 2.91.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/index.es6.js +36 -17
  2. package/dist/index.es6.js.map +1 -1
  3. package/dist/index.js +37 -18
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/index.node.js +37 -18
  8. package/dist/index.node.js.map +1 -1
  9. package/dist/index.node.min.js +1 -1
  10. package/dist/index.node.min.js.map +1 -1
  11. package/lib-es6/__package__.js +2 -2
  12. package/lib-es6/__package__.js.map +1 -1
  13. package/lib-es6/ecl/workunit.js +5 -0
  14. package/lib-es6/ecl/workunit.js.map +1 -1
  15. package/lib-es6/services/fileSpray.js +1 -1
  16. package/lib-es6/services/wsWorkunits.js +5 -1
  17. package/lib-es6/services/wsWorkunits.js.map +1 -1
  18. package/lib-es6/services/wsdl/FileSpray/v1.26/FileSpray.js +119 -0
  19. package/lib-es6/services/wsdl/FileSpray/v1.26/FileSpray.js.map +1 -0
  20. package/lib-es6/services/wsdl/WsWorkunits/v1.98/WsWorkunits.js +370 -0
  21. package/lib-es6/services/wsdl/WsWorkunits/v1.98/WsWorkunits.js.map +1 -0
  22. package/package.json +3 -3
  23. package/src/__package__.ts +2 -2
  24. package/src/ecl/workunit.ts +14 -0
  25. package/src/services/fileSpray.ts +1 -1
  26. package/src/services/wsWorkunits.ts +8 -1
  27. package/src/services/wsdl/FileSpray/v1.26/FileSpray.ts +1061 -0
  28. package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +3182 -0
  29. package/types/__package__.d.ts +2 -2
  30. package/types/__package__.d.ts.map +1 -1
  31. package/types/ecl/workunit.d.ts +1 -0
  32. package/types/ecl/workunit.d.ts.map +1 -1
  33. package/types/services/fileSpray.d.ts +1 -1
  34. package/types/services/wsWorkunits.d.ts +3 -1
  35. package/types/services/wsWorkunits.d.ts.map +1 -1
  36. package/types/services/wsdl/FileSpray/v1.26/FileSpray.d.ts +870 -0
  37. package/types/services/wsdl/FileSpray/v1.26/FileSpray.d.ts.map +1 -0
  38. package/types/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts +2623 -0
  39. package/types/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts.map +1 -0
  40. package/types-3.4/__package__.d.ts +2 -2
  41. package/types-3.4/ecl/workunit.d.ts +1 -0
  42. package/types-3.4/services/fileSpray.d.ts +1 -1
  43. package/types-3.4/services/wsWorkunits.d.ts +3 -1
  44. package/types-3.4/services/wsdl/FileSpray/v1.26/FileSpray.d.ts +870 -0
  45. package/types-3.4/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts +2623 -0
package/dist/index.js CHANGED
@@ -648,8 +648,8 @@
648
648
  }
649
649
 
650
650
  var PKG_NAME = "@hpcc-js/comms";
651
- var PKG_VERSION = "2.90.0";
652
- var BUILD_VERSION = "2.104.40";
651
+ var PKG_VERSION = "2.91.1";
652
+ var BUILD_VERSION = "2.105.3";
653
653
 
654
654
  /******************************************************************************
655
655
  Copyright (c) Microsoft Corporation.
@@ -1153,7 +1153,7 @@
1153
1153
  var FileSprayServiceBase = /** @class */ (function (_super) {
1154
1154
  __extends(FileSprayServiceBase, _super);
1155
1155
  function FileSprayServiceBase(optsConnection) {
1156
- return _super.call(this, optsConnection, "FileSpray", "1.25") || this;
1156
+ return _super.call(this, optsConnection, "FileSpray", "1.26") || this;
1157
1157
  }
1158
1158
  FileSprayServiceBase.prototype.AbortDFUWorkunit = function (request) {
1159
1159
  return this._connection.send("AbortDFUWorkunit", request, "json", false, undefined, "AbortDFUWorkunitResponse");
@@ -1218,6 +1218,9 @@
1218
1218
  FileSprayServiceBase.prototype.GetDFUWorkunits = function (request) {
1219
1219
  return this._connection.send("GetDFUWorkunits", request, "json", false, undefined, "GetDFUWorkunitsResponse");
1220
1220
  };
1221
+ FileSprayServiceBase.prototype.GetRemoteTargets = function (request) {
1222
+ return this._connection.send("GetRemoteTargets", request, "json", false, undefined, "GetRemoteTargetsResponse");
1223
+ };
1221
1224
  FileSprayServiceBase.prototype.GetSprayTargets = function (request) {
1222
1225
  return this._connection.send("GetSprayTargets", request, "json", false, undefined, "GetSprayTargetsResponse");
1223
1226
  };
@@ -2800,7 +2803,7 @@
2800
2803
  return TopologyService;
2801
2804
  }(TopologyServiceBase));
2802
2805
 
2803
- var WsWorkunits;
2806
+ exports.WsWorkunits = void 0;
2804
2807
  (function (WsWorkunits) {
2805
2808
  (function (ECLWUActions) {
2806
2809
  ECLWUActions["Abort"] = "Abort";
@@ -2816,6 +2819,26 @@
2816
2819
  ECLWUActions["SetToFailed"] = "SetToFailed";
2817
2820
  ECLWUActions["Archive"] = "Archive";
2818
2821
  })(WsWorkunits.ECLWUActions || (WsWorkunits.ECLWUActions = {}));
2822
+ (function (LogSelectColumnMode) {
2823
+ LogSelectColumnMode[LogSelectColumnMode["MIN"] = 0] = "MIN";
2824
+ LogSelectColumnMode[LogSelectColumnMode["DEFAULT"] = 1] = "DEFAULT";
2825
+ LogSelectColumnMode[LogSelectColumnMode["ALL"] = 2] = "ALL";
2826
+ LogSelectColumnMode[LogSelectColumnMode["CUSTOM"] = 3] = "CUSTOM";
2827
+ })(WsWorkunits.LogSelectColumnMode || (WsWorkunits.LogSelectColumnMode = {}));
2828
+ (function (SortDirection) {
2829
+ SortDirection[SortDirection["ASC"] = 0] = "ASC";
2830
+ SortDirection[SortDirection["DSC"] = 1] = "DSC";
2831
+ })(WsWorkunits.SortDirection || (WsWorkunits.SortDirection = {}));
2832
+ (function (LogEventClass) {
2833
+ LogEventClass["ALL"] = "ALL";
2834
+ LogEventClass["DIS"] = "DIS";
2835
+ LogEventClass["ERR"] = "ERR";
2836
+ LogEventClass["WRN"] = "WRN";
2837
+ LogEventClass["INF"] = "INF";
2838
+ LogEventClass["PRO"] = "PRO";
2839
+ LogEventClass["MET"] = "MET";
2840
+ LogEventClass["EVT"] = "EVT";
2841
+ })(WsWorkunits.LogEventClass || (WsWorkunits.LogEventClass = {}));
2819
2842
  (function (EclDefinitionActions) {
2820
2843
  EclDefinitionActions["SyntaxCheck"] = "SyntaxCheck";
2821
2844
  EclDefinitionActions["Deploy"] = "Deploy";
@@ -2826,12 +2849,6 @@
2826
2849
  ErrorMessageFormat["json"] = "json";
2827
2850
  ErrorMessageFormat["text"] = "text";
2828
2851
  })(WsWorkunits.ErrorMessageFormat || (WsWorkunits.ErrorMessageFormat = {}));
2829
- (function (LogSelectColumnMode) {
2830
- LogSelectColumnMode[LogSelectColumnMode["MIN"] = 0] = "MIN";
2831
- LogSelectColumnMode[LogSelectColumnMode["DEFAULT"] = 1] = "DEFAULT";
2832
- LogSelectColumnMode[LogSelectColumnMode["ALL"] = 2] = "ALL";
2833
- LogSelectColumnMode[LogSelectColumnMode["CUSTOM"] = 3] = "CUSTOM";
2834
- })(WsWorkunits.LogSelectColumnMode || (WsWorkunits.LogSelectColumnMode = {}));
2835
2852
  (function (LogAccessLogFormat) {
2836
2853
  LogAccessLogFormat[LogAccessLogFormat["XML"] = 0] = "XML";
2837
2854
  LogAccessLogFormat[LogAccessLogFormat["JSON"] = 1] = "JSON";
@@ -2886,11 +2903,11 @@
2886
2903
  WUQueryActivationMode[WUQueryActivationMode["ActivateQuerySuspendPrevious"] = 2] = "ActivateQuerySuspendPrevious";
2887
2904
  WUQueryActivationMode[WUQueryActivationMode["ActivateQueryDeletePrevious"] = 3] = "ActivateQueryDeletePrevious";
2888
2905
  })(WsWorkunits.WUQueryActivationMode || (WsWorkunits.WUQueryActivationMode = {}));
2889
- })(WsWorkunits || (WsWorkunits = {}));
2906
+ })(exports.WsWorkunits || (exports.WsWorkunits = {}));
2890
2907
  var WorkunitsServiceBase = /** @class */ (function (_super) {
2891
2908
  __extends(WorkunitsServiceBase, _super);
2892
2909
  function WorkunitsServiceBase(optsConnection) {
2893
- return _super.call(this, optsConnection, "WsWorkunits", "1.95") || this;
2910
+ return _super.call(this, optsConnection, "WsWorkunits", "1.98") || this;
2894
2911
  }
2895
2912
  WorkunitsServiceBase.prototype.GVCAjaxGraph = function (request) {
2896
2913
  return this._connection.send("GVCAjaxGraph", request, "json", false, undefined, "GVCAjaxGraphResponse");
@@ -3138,12 +3155,6 @@
3138
3155
  return WorkunitsServiceBase;
3139
3156
  }(Service));
3140
3157
 
3141
- /*
3142
- Response structures generated via:
3143
- * http://localhost:8010/WsWorkunits/WUInfo?reqjson_
3144
- * http://localhost:8010/WsWorkunits/WUInfo?respjson_
3145
- * http://json2ts.com/
3146
- */
3147
3158
  exports.WUStateID = void 0;
3148
3159
  (function (WUStateID) {
3149
3160
  WUStateID[WUStateID["Unknown"] = 0] = "Unknown";
@@ -3306,6 +3317,9 @@
3306
3317
  function WorkunitsServiceEx() {
3307
3318
  return _super !== null && _super.apply(this, arguments) || this;
3308
3319
  }
3320
+ WorkunitsServiceEx.prototype.WUPublishWorkunitEx = function (request) {
3321
+ return this._connection.send("WUPublishWorkunit", request);
3322
+ };
3309
3323
  return WorkunitsServiceEx;
3310
3324
  }(WorkunitsServiceBase));
3311
3325
 
@@ -7066,6 +7080,11 @@
7066
7080
  Wait: 5000
7067
7081
  });
7068
7082
  };
7083
+ Workunit.prototype.publishEx = function (request) {
7084
+ var service = new WorkunitsServiceEx({ baseUrl: "" });
7085
+ var publishRequest = __assign({ Wuid: this.Wuid, Cluster: this.Cluster, JobName: this.Jobname, AllowForeignFiles: true, Activate: 1, Wait: 5000 }, request);
7086
+ return service.WUPublishWorkunitEx(publishRequest);
7087
+ };
7069
7088
  Workunit.prototype.WUCDebug = function (command, opts) {
7070
7089
  if (opts === void 0) { opts = {}; }
7071
7090
  var optsStr = "";