@hpcc-js/comms 2.90.0 → 2.91.0

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 (33) hide show
  1. package/dist/index.es6.js +32 -16
  2. package/dist/index.es6.js.map +1 -1
  3. package/dist/index.js +33 -17
  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 +33 -17
  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/ecl/workunit.js +5 -0
  13. package/lib-es6/ecl/workunit.js.map +1 -1
  14. package/lib-es6/services/wsWorkunits.js +5 -1
  15. package/lib-es6/services/wsWorkunits.js.map +1 -1
  16. package/lib-es6/services/wsdl/WsWorkunits/v1.98/WsWorkunits.js +370 -0
  17. package/lib-es6/services/wsdl/WsWorkunits/v1.98/WsWorkunits.js.map +1 -0
  18. package/package.json +3 -3
  19. package/src/__package__.ts +2 -2
  20. package/src/ecl/workunit.ts +14 -0
  21. package/src/services/wsWorkunits.ts +8 -1
  22. package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +3182 -0
  23. package/types/__package__.d.ts +2 -2
  24. package/types/ecl/workunit.d.ts +1 -0
  25. package/types/ecl/workunit.d.ts.map +1 -1
  26. package/types/services/wsWorkunits.d.ts +3 -1
  27. package/types/services/wsWorkunits.d.ts.map +1 -1
  28. package/types/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts +2623 -0
  29. package/types/services/wsdl/WsWorkunits/v1.98/WsWorkunits.d.ts.map +1 -0
  30. package/types-3.4/__package__.d.ts +2 -2
  31. package/types-3.4/ecl/workunit.d.ts +1 -0
  32. package/types-3.4/services/wsWorkunits.d.ts +3 -1
  33. 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.0";
652
+ var BUILD_VERSION = "2.104.42";
653
653
 
654
654
  /******************************************************************************
655
655
  Copyright (c) Microsoft Corporation.
@@ -2800,7 +2800,7 @@
2800
2800
  return TopologyService;
2801
2801
  }(TopologyServiceBase));
2802
2802
 
2803
- var WsWorkunits;
2803
+ exports.WsWorkunits = void 0;
2804
2804
  (function (WsWorkunits) {
2805
2805
  (function (ECLWUActions) {
2806
2806
  ECLWUActions["Abort"] = "Abort";
@@ -2816,6 +2816,26 @@
2816
2816
  ECLWUActions["SetToFailed"] = "SetToFailed";
2817
2817
  ECLWUActions["Archive"] = "Archive";
2818
2818
  })(WsWorkunits.ECLWUActions || (WsWorkunits.ECLWUActions = {}));
2819
+ (function (LogSelectColumnMode) {
2820
+ LogSelectColumnMode[LogSelectColumnMode["MIN"] = 0] = "MIN";
2821
+ LogSelectColumnMode[LogSelectColumnMode["DEFAULT"] = 1] = "DEFAULT";
2822
+ LogSelectColumnMode[LogSelectColumnMode["ALL"] = 2] = "ALL";
2823
+ LogSelectColumnMode[LogSelectColumnMode["CUSTOM"] = 3] = "CUSTOM";
2824
+ })(WsWorkunits.LogSelectColumnMode || (WsWorkunits.LogSelectColumnMode = {}));
2825
+ (function (SortDirection) {
2826
+ SortDirection[SortDirection["ASC"] = 0] = "ASC";
2827
+ SortDirection[SortDirection["DSC"] = 1] = "DSC";
2828
+ })(WsWorkunits.SortDirection || (WsWorkunits.SortDirection = {}));
2829
+ (function (LogEventClass) {
2830
+ LogEventClass["ALL"] = "ALL";
2831
+ LogEventClass["DIS"] = "DIS";
2832
+ LogEventClass["ERR"] = "ERR";
2833
+ LogEventClass["WRN"] = "WRN";
2834
+ LogEventClass["INF"] = "INF";
2835
+ LogEventClass["PRO"] = "PRO";
2836
+ LogEventClass["MET"] = "MET";
2837
+ LogEventClass["EVT"] = "EVT";
2838
+ })(WsWorkunits.LogEventClass || (WsWorkunits.LogEventClass = {}));
2819
2839
  (function (EclDefinitionActions) {
2820
2840
  EclDefinitionActions["SyntaxCheck"] = "SyntaxCheck";
2821
2841
  EclDefinitionActions["Deploy"] = "Deploy";
@@ -2826,12 +2846,6 @@
2826
2846
  ErrorMessageFormat["json"] = "json";
2827
2847
  ErrorMessageFormat["text"] = "text";
2828
2848
  })(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
2849
  (function (LogAccessLogFormat) {
2836
2850
  LogAccessLogFormat[LogAccessLogFormat["XML"] = 0] = "XML";
2837
2851
  LogAccessLogFormat[LogAccessLogFormat["JSON"] = 1] = "JSON";
@@ -2886,11 +2900,11 @@
2886
2900
  WUQueryActivationMode[WUQueryActivationMode["ActivateQuerySuspendPrevious"] = 2] = "ActivateQuerySuspendPrevious";
2887
2901
  WUQueryActivationMode[WUQueryActivationMode["ActivateQueryDeletePrevious"] = 3] = "ActivateQueryDeletePrevious";
2888
2902
  })(WsWorkunits.WUQueryActivationMode || (WsWorkunits.WUQueryActivationMode = {}));
2889
- })(WsWorkunits || (WsWorkunits = {}));
2903
+ })(exports.WsWorkunits || (exports.WsWorkunits = {}));
2890
2904
  var WorkunitsServiceBase = /** @class */ (function (_super) {
2891
2905
  __extends(WorkunitsServiceBase, _super);
2892
2906
  function WorkunitsServiceBase(optsConnection) {
2893
- return _super.call(this, optsConnection, "WsWorkunits", "1.95") || this;
2907
+ return _super.call(this, optsConnection, "WsWorkunits", "1.98") || this;
2894
2908
  }
2895
2909
  WorkunitsServiceBase.prototype.GVCAjaxGraph = function (request) {
2896
2910
  return this._connection.send("GVCAjaxGraph", request, "json", false, undefined, "GVCAjaxGraphResponse");
@@ -3138,12 +3152,6 @@
3138
3152
  return WorkunitsServiceBase;
3139
3153
  }(Service));
3140
3154
 
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
3155
  exports.WUStateID = void 0;
3148
3156
  (function (WUStateID) {
3149
3157
  WUStateID[WUStateID["Unknown"] = 0] = "Unknown";
@@ -3306,6 +3314,9 @@
3306
3314
  function WorkunitsServiceEx() {
3307
3315
  return _super !== null && _super.apply(this, arguments) || this;
3308
3316
  }
3317
+ WorkunitsServiceEx.prototype.WUPublishWorkunitEx = function (request) {
3318
+ return this._connection.send("WUPublishWorkunit", request);
3319
+ };
3309
3320
  return WorkunitsServiceEx;
3310
3321
  }(WorkunitsServiceBase));
3311
3322
 
@@ -7066,6 +7077,11 @@
7066
7077
  Wait: 5000
7067
7078
  });
7068
7079
  };
7080
+ Workunit.prototype.publishEx = function (request) {
7081
+ var service = new WorkunitsServiceEx({ baseUrl: "" });
7082
+ var publishRequest = __assign({ Wuid: this.Wuid, Cluster: this.Cluster, JobName: this.Jobname, AllowForeignFiles: true, Activate: 1, Wait: 5000 }, request);
7083
+ return service.WUPublishWorkunitEx(publishRequest);
7084
+ };
7069
7085
  Workunit.prototype.WUCDebug = function (command, opts) {
7070
7086
  if (opts === void 0) { opts = {}; }
7071
7087
  var optsStr = "";