@hpcc-js/comms 2.78.1 → 2.79.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.
- package/dist/index.es6.js +563 -132
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +565 -129
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/index.node.js +567 -131
- package/dist/index.node.js.map +1 -1
- package/dist/index.node.min.js +1 -1
- package/dist/index.node.min.js.map +1 -1
- package/lib-es6/__package__.js +2 -2
- package/lib-es6/ecl/logicalFile.js +5 -0
- package/lib-es6/ecl/logicalFile.js.map +1 -1
- package/lib-es6/ecl/result.js +11 -10
- package/lib-es6/ecl/result.js.map +1 -1
- package/lib-es6/services/wsDFU.js +6 -2
- package/lib-es6/services/wsDFU.js.map +1 -1
- package/lib-es6/services/wsLogaccess.js +71 -27
- package/lib-es6/services/wsLogaccess.js.map +1 -1
- package/lib-es6/services/wsWorkunits.js +9 -0
- package/lib-es6/services/wsWorkunits.js.map +1 -1
- package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js +80 -77
- package/lib-es6/services/wsdl/WsDfu/v1.63/WsDfu.js.map +1 -1
- package/lib-es6/services/wsdl/WsWorkunits/v1.94/WsWorkunits.js +354 -0
- package/lib-es6/services/wsdl/WsWorkunits/v1.94/WsWorkunits.js.map +1 -0
- package/lib-es6/services/wsdl/ws_logaccess/v1.03/ws_logaccess.js +63 -0
- package/lib-es6/services/wsdl/ws_logaccess/v1.03/ws_logaccess.js.map +1 -0
- package/package.json +8 -8
- package/src/__package__.ts +2 -2
- package/src/ecl/logicalFile.ts +4 -3
- package/src/ecl/result.ts +11 -10
- package/src/services/wsDFU.ts +9 -10
- package/src/services/wsLogaccess.ts +91 -30
- package/src/services/wsWorkunits.ts +4 -0
- package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1219 -1217
- package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +3072 -0
- package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +190 -0
- package/types/__package__.d.ts +2 -2
- package/types/ecl/logicalFile.d.ts +4 -3
- package/types/ecl/logicalFile.d.ts.map +1 -1
- package/types/ecl/result.d.ts +2 -1
- package/types/ecl/result.d.ts.map +1 -1
- package/types/services/wsDFU.d.ts +7 -2
- package/types/services/wsDFU.d.ts.map +1 -1
- package/types/services/wsLogaccess.d.ts +17 -13
- package/types/services/wsLogaccess.d.ts.map +1 -1
- package/types/services/wsWorkunits.d.ts +3 -0
- package/types/services/wsWorkunits.d.ts.map +1 -1
- package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +49 -48
- package/types/services/wsdl/WsDfu/v1.63/WsDfu.d.ts.map +1 -1
- package/types/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts +2520 -0
- package/types/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts.map +1 -0
- package/types/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts +150 -0
- package/types/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts.map +1 -0
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/logicalFile.d.ts +4 -3
- package/types-3.4/ecl/result.d.ts +2 -1
- package/types-3.4/services/wsDFU.d.ts +7 -2
- package/types-3.4/services/wsLogaccess.d.ts +17 -13
- package/types-3.4/services/wsWorkunits.d.ts +3 -0
- package/types-3.4/services/wsdl/WsDfu/v1.63/WsDfu.d.ts +49 -48
- package/types-3.4/services/wsdl/WsWorkunits/v1.94/WsWorkunits.d.ts +2520 -0
- package/types-3.4/services/wsdl/ws_logaccess/v1.03/ws_logaccess.d.ts +150 -0
package/dist/index.js
CHANGED
|
@@ -611,10 +611,10 @@
|
|
|
611
611
|
}
|
|
612
612
|
|
|
613
613
|
var PKG_NAME = "@hpcc-js/comms";
|
|
614
|
-
var PKG_VERSION = "2.
|
|
615
|
-
var BUILD_VERSION = "2.
|
|
614
|
+
var PKG_VERSION = "2.79.1";
|
|
615
|
+
var BUILD_VERSION = "2.104.2";
|
|
616
616
|
|
|
617
|
-
|
|
617
|
+
/******************************************************************************
|
|
618
618
|
Copyright (c) Microsoft Corporation.
|
|
619
619
|
|
|
620
620
|
Permission to use, copy, modify, and/or distribute this software for any
|
|
@@ -1577,145 +1577,145 @@
|
|
|
1577
1577
|
return DaliService;
|
|
1578
1578
|
}(DaliServiceBase));
|
|
1579
1579
|
|
|
1580
|
-
exports.
|
|
1581
|
-
(function (
|
|
1582
|
-
DFUArrayActions
|
|
1583
|
-
|
|
1584
|
-
|
|
1585
|
-
|
|
1586
|
-
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
|
|
1592
|
-
|
|
1593
|
-
|
|
1594
|
-
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
DFUChangeRestriction
|
|
1599
|
-
|
|
1600
|
-
|
|
1601
|
-
|
|
1602
|
-
DFUDefFileFormat
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
FileAccessRole
|
|
1608
|
-
|
|
1609
|
-
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
SecAccessType
|
|
1615
|
-
|
|
1616
|
-
|
|
1617
|
-
|
|
1618
|
-
|
|
1619
|
-
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
DFUFileType
|
|
1625
|
-
|
|
1626
|
-
DFUFileType["IndexLocal"] = "IndexLocal";
|
|
1627
|
-
DFUFileType["IndexPartitioned"] = "IndexPartitioned";
|
|
1628
|
-
DFUFileType["Unset"] = "Unset";
|
|
1629
|
-
})(exports.DFUFileType || (exports.DFUFileType = {}));
|
|
1580
|
+
exports.WsDfu = void 0;
|
|
1581
|
+
(function (WsDfu) {
|
|
1582
|
+
(function (DFUArrayActions) {
|
|
1583
|
+
DFUArrayActions["Delete"] = "Delete";
|
|
1584
|
+
DFUArrayActions["AddToSuperfile"] = "AddToSuperfile";
|
|
1585
|
+
DFUArrayActions["ChangeProtection"] = "ChangeProtection";
|
|
1586
|
+
DFUArrayActions["ChangeRestriction"] = "ChangeRestriction";
|
|
1587
|
+
})(WsDfu.DFUArrayActions || (WsDfu.DFUArrayActions = {}));
|
|
1588
|
+
(function (DFUChangeProtection) {
|
|
1589
|
+
DFUChangeProtection[DFUChangeProtection["NoChange"] = 0] = "NoChange";
|
|
1590
|
+
DFUChangeProtection[DFUChangeProtection["Protect"] = 1] = "Protect";
|
|
1591
|
+
DFUChangeProtection[DFUChangeProtection["Unprotect"] = 2] = "Unprotect";
|
|
1592
|
+
DFUChangeProtection[DFUChangeProtection["UnprotectAll"] = 3] = "UnprotectAll";
|
|
1593
|
+
})(WsDfu.DFUChangeProtection || (WsDfu.DFUChangeProtection = {}));
|
|
1594
|
+
(function (DFUChangeRestriction) {
|
|
1595
|
+
DFUChangeRestriction[DFUChangeRestriction["NoChange"] = 0] = "NoChange";
|
|
1596
|
+
DFUChangeRestriction[DFUChangeRestriction["Restrict"] = 1] = "Restrict";
|
|
1597
|
+
DFUChangeRestriction[DFUChangeRestriction["Unrestricted"] = 2] = "Unrestricted";
|
|
1598
|
+
})(WsDfu.DFUChangeRestriction || (WsDfu.DFUChangeRestriction = {}));
|
|
1599
|
+
(function (DFUDefFileFormat) {
|
|
1600
|
+
DFUDefFileFormat["xml"] = "xml";
|
|
1601
|
+
DFUDefFileFormat["def"] = "def";
|
|
1602
|
+
})(WsDfu.DFUDefFileFormat || (WsDfu.DFUDefFileFormat = {}));
|
|
1603
|
+
(function (FileAccessRole) {
|
|
1604
|
+
FileAccessRole["Token"] = "Token";
|
|
1605
|
+
FileAccessRole["Engine"] = "Engine";
|
|
1606
|
+
FileAccessRole["External"] = "External";
|
|
1607
|
+
})(WsDfu.FileAccessRole || (WsDfu.FileAccessRole = {}));
|
|
1608
|
+
(function (SecAccessType) {
|
|
1609
|
+
SecAccessType["None"] = "None";
|
|
1610
|
+
SecAccessType["Access"] = "Access";
|
|
1611
|
+
SecAccessType["Read"] = "Read";
|
|
1612
|
+
SecAccessType["Write"] = "Write";
|
|
1613
|
+
SecAccessType["Full"] = "Full";
|
|
1614
|
+
})(WsDfu.SecAccessType || (WsDfu.SecAccessType = {}));
|
|
1615
|
+
(function (DFUFileType) {
|
|
1616
|
+
DFUFileType["Flat"] = "Flat";
|
|
1617
|
+
DFUFileType["Index"] = "Index";
|
|
1618
|
+
DFUFileType["Xml"] = "Xml";
|
|
1619
|
+
DFUFileType["Csv"] = "Csv";
|
|
1620
|
+
DFUFileType["Json"] = "Json";
|
|
1621
|
+
DFUFileType["IndexLocal"] = "IndexLocal";
|
|
1622
|
+
DFUFileType["IndexPartitioned"] = "IndexPartitioned";
|
|
1623
|
+
DFUFileType["Unset"] = "Unset";
|
|
1624
|
+
})(WsDfu.DFUFileType || (WsDfu.DFUFileType = {}));
|
|
1625
|
+
})(exports.WsDfu || (exports.WsDfu = {}));
|
|
1630
1626
|
var DfuServiceBase = /** @class */ (function (_super) {
|
|
1631
1627
|
__extends(DfuServiceBase, _super);
|
|
1632
1628
|
function DfuServiceBase(optsConnection) {
|
|
1633
1629
|
return _super.call(this, optsConnection, "WsDfu", "1.63") || this;
|
|
1634
1630
|
}
|
|
1635
1631
|
DfuServiceBase.prototype.Add = function (request) {
|
|
1636
|
-
return this._connection.send("Add", request);
|
|
1632
|
+
return this._connection.send("Add", request, "json", false, undefined, "AddResponse");
|
|
1637
1633
|
};
|
|
1638
1634
|
DfuServiceBase.prototype.AddRemote = function (request) {
|
|
1639
|
-
return this._connection.send("AddRemote", request);
|
|
1635
|
+
return this._connection.send("AddRemote", request, "json", false, undefined, "AddRemoteResponse");
|
|
1640
1636
|
};
|
|
1641
1637
|
DfuServiceBase.prototype.AddtoSuperfile = function (request) {
|
|
1642
|
-
return this._connection.send("AddtoSuperfile", request);
|
|
1638
|
+
return this._connection.send("AddtoSuperfile", request, "json", false, undefined, "AddtoSuperfileResponse");
|
|
1643
1639
|
};
|
|
1644
1640
|
DfuServiceBase.prototype.DFUArrayAction = function (request) {
|
|
1645
|
-
return this._connection.send("DFUArrayAction", request);
|
|
1641
|
+
return this._connection.send("DFUArrayAction", request, "json", false, undefined, "DFUArrayActionResponse");
|
|
1646
1642
|
};
|
|
1647
1643
|
DfuServiceBase.prototype.DFUBrowseData = function (request) {
|
|
1648
|
-
return this._connection.send("DFUBrowseData", request);
|
|
1644
|
+
return this._connection.send("DFUBrowseData", request, "json", false, undefined, "DFUBrowseDataResponse");
|
|
1649
1645
|
};
|
|
1650
1646
|
DfuServiceBase.prototype.DFUDefFile = function (request) {
|
|
1651
|
-
return this._connection.send("DFUDefFile", request);
|
|
1647
|
+
return this._connection.send("DFUDefFile", request, "json", false, undefined, "DFUDefFileResponse");
|
|
1652
1648
|
};
|
|
1653
1649
|
DfuServiceBase.prototype.DFUFileAccess = function (request) {
|
|
1654
|
-
return this._connection.send("DFUFileAccess", request);
|
|
1650
|
+
return this._connection.send("DFUFileAccess", request, "json", false, undefined, "DFUFileAccessResponse");
|
|
1655
1651
|
};
|
|
1656
1652
|
DfuServiceBase.prototype.DFUFileAccessV2 = function (request) {
|
|
1657
|
-
return this._connection.send("DFUFileAccessV2", request);
|
|
1653
|
+
return this._connection.send("DFUFileAccessV2", request, "json", false, undefined, "DFUFileAccessResponse");
|
|
1658
1654
|
};
|
|
1659
1655
|
DfuServiceBase.prototype.DFUFileCreate = function (request) {
|
|
1660
|
-
return this._connection.send("DFUFileCreate", request);
|
|
1656
|
+
return this._connection.send("DFUFileCreate", request, "json", false, undefined, "DFUFileCreateResponse");
|
|
1661
1657
|
};
|
|
1662
1658
|
DfuServiceBase.prototype.DFUFileCreateV2 = function (request) {
|
|
1663
|
-
return this._connection.send("DFUFileCreateV2", request);
|
|
1659
|
+
return this._connection.send("DFUFileCreateV2", request, "json", false, undefined, "DFUFileCreateResponse");
|
|
1664
1660
|
};
|
|
1665
1661
|
DfuServiceBase.prototype.DFUFilePublish = function (request) {
|
|
1666
|
-
return this._connection.send("DFUFilePublish", request);
|
|
1662
|
+
return this._connection.send("DFUFilePublish", request, "json", false, undefined, "DFUFilePublishResponse");
|
|
1667
1663
|
};
|
|
1668
1664
|
DfuServiceBase.prototype.DFUFileView = function (request) {
|
|
1669
|
-
return this._connection.send("DFUFileView", request);
|
|
1665
|
+
return this._connection.send("DFUFileView", request, "json", false, undefined, "DFUFileViewResponse");
|
|
1670
1666
|
};
|
|
1671
1667
|
DfuServiceBase.prototype.DFUGetDataColumns = function (request) {
|
|
1672
|
-
return this._connection.send("DFUGetDataColumns", request);
|
|
1668
|
+
return this._connection.send("DFUGetDataColumns", request, "json", false, undefined, "DFUGetDataColumnsResponse");
|
|
1673
1669
|
};
|
|
1674
1670
|
DfuServiceBase.prototype.DFUGetFileMetaData = function (request) {
|
|
1675
|
-
return this._connection.send("DFUGetFileMetaData", request);
|
|
1671
|
+
return this._connection.send("DFUGetFileMetaData", request, "json", false, undefined, "DFUGetFileMetaDataResponse");
|
|
1676
1672
|
};
|
|
1677
1673
|
DfuServiceBase.prototype.DFUInfo = function (request) {
|
|
1678
|
-
return this._connection.send("DFUInfo", request);
|
|
1674
|
+
return this._connection.send("DFUInfo", request, "json", false, undefined, "DFUInfoResponse");
|
|
1679
1675
|
};
|
|
1680
1676
|
DfuServiceBase.prototype.DFUQuery = function (request) {
|
|
1681
|
-
return this._connection.send("DFUQuery", request);
|
|
1677
|
+
return this._connection.send("DFUQuery", request, "json", false, undefined, "DFUQueryResponse");
|
|
1682
1678
|
};
|
|
1683
1679
|
DfuServiceBase.prototype.DFURecordTypeInfo = function (request) {
|
|
1684
|
-
return this._connection.send("DFURecordTypeInfo", request);
|
|
1680
|
+
return this._connection.send("DFURecordTypeInfo", request, "json", false, undefined, "DFURecordTypeInfoResponse");
|
|
1685
1681
|
};
|
|
1686
1682
|
DfuServiceBase.prototype.DFUSearch = function (request) {
|
|
1687
|
-
return this._connection.send("DFUSearch", request);
|
|
1683
|
+
return this._connection.send("DFUSearch", request, "json", false, undefined, "DFUSearchResponse");
|
|
1688
1684
|
};
|
|
1689
1685
|
DfuServiceBase.prototype.DFUSearchData = function (request) {
|
|
1690
|
-
return this._connection.send("DFUSearchData", request);
|
|
1686
|
+
return this._connection.send("DFUSearchData", request, "json", false, undefined, "DFUSearchDataResponse");
|
|
1691
1687
|
};
|
|
1692
1688
|
DfuServiceBase.prototype.DFUSpace = function (request) {
|
|
1693
|
-
return this._connection.send("DFUSpace", request);
|
|
1689
|
+
return this._connection.send("DFUSpace", request, "json", false, undefined, "DFUSpaceResponse");
|
|
1694
1690
|
};
|
|
1695
1691
|
DfuServiceBase.prototype.EclRecordTypeInfo = function (request) {
|
|
1696
|
-
return this._connection.send("EclRecordTypeInfo", request);
|
|
1692
|
+
return this._connection.send("EclRecordTypeInfo", request, "json", false, undefined, "EclRecordTypeInfoResponse");
|
|
1697
1693
|
};
|
|
1698
1694
|
DfuServiceBase.prototype.EraseHistory = function (request) {
|
|
1699
|
-
return this._connection.send("EraseHistory", request);
|
|
1695
|
+
return this._connection.send("EraseHistory", request, "json", false, undefined, "EraseHistoryResponse");
|
|
1700
1696
|
};
|
|
1701
1697
|
DfuServiceBase.prototype.ListHistory = function (request) {
|
|
1702
|
-
return this._connection.send("ListHistory", request);
|
|
1698
|
+
return this._connection.send("ListHistory", request, "json", false, undefined, "ListHistoryResponse");
|
|
1703
1699
|
};
|
|
1704
1700
|
DfuServiceBase.prototype.Ping = function (request) {
|
|
1705
|
-
return this._connection.send("Ping", request);
|
|
1701
|
+
return this._connection.send("Ping", request, "json", false, undefined, "WsDfuPingResponse");
|
|
1706
1702
|
};
|
|
1707
1703
|
DfuServiceBase.prototype.Savexml = function (request) {
|
|
1708
|
-
return this._connection.send("Savexml", request);
|
|
1704
|
+
return this._connection.send("Savexml", request, "json", false, undefined, "SavexmlResponse");
|
|
1709
1705
|
};
|
|
1710
1706
|
DfuServiceBase.prototype.SuperfileAction = function (request) {
|
|
1711
|
-
return this._connection.send("SuperfileAction", request);
|
|
1707
|
+
return this._connection.send("SuperfileAction", request, "json", false, undefined, "SuperfileActionResponse");
|
|
1712
1708
|
};
|
|
1713
1709
|
DfuServiceBase.prototype.SuperfileList = function (request) {
|
|
1714
|
-
return this._connection.send("SuperfileList", request);
|
|
1710
|
+
return this._connection.send("SuperfileList", request, "json", false, undefined, "SuperfileListResponse");
|
|
1715
1711
|
};
|
|
1716
1712
|
return DfuServiceBase;
|
|
1717
1713
|
}(Service));
|
|
1718
1714
|
|
|
1715
|
+
var DFUArrayActions = exports.WsDfu.DFUArrayActions;
|
|
1716
|
+
var DFUDefFileFormat = exports.WsDfu.DFUDefFileFormat;
|
|
1717
|
+
var DFUChangeProtection = exports.WsDfu.DFUChangeProtection;
|
|
1718
|
+
var DFUChangeRestriction = exports.WsDfu.DFUChangeRestriction;
|
|
1719
1719
|
var DFUService = /** @class */ (function (_super) {
|
|
1720
1720
|
__extends(DFUService, _super);
|
|
1721
1721
|
function DFUService() {
|
|
@@ -1903,7 +1903,7 @@
|
|
|
1903
1903
|
(function (WsLogaccess) {
|
|
1904
1904
|
(function (LogAccessType) {
|
|
1905
1905
|
LogAccessType[LogAccessType["All"] = 0] = "All";
|
|
1906
|
-
LogAccessType[LogAccessType["
|
|
1906
|
+
LogAccessType[LogAccessType["ByJobID"] = 1] = "ByJobID";
|
|
1907
1907
|
LogAccessType[LogAccessType["ByComponent"] = 2] = "ByComponent";
|
|
1908
1908
|
LogAccessType[LogAccessType["ByLogType"] = 3] = "ByLogType";
|
|
1909
1909
|
LogAccessType[LogAccessType["ByTargetAudience"] = 4] = "ByTargetAudience";
|
|
@@ -1922,47 +1922,88 @@
|
|
|
1922
1922
|
LogSelectColumnMode[LogSelectColumnMode["ALL"] = 2] = "ALL";
|
|
1923
1923
|
LogSelectColumnMode[LogSelectColumnMode["CUSTOM"] = 3] = "CUSTOM";
|
|
1924
1924
|
})(WsLogaccess.LogSelectColumnMode || (WsLogaccess.LogSelectColumnMode = {}));
|
|
1925
|
+
(function (SortColumType) {
|
|
1926
|
+
SortColumType[SortColumType["ByDate"] = 0] = "ByDate";
|
|
1927
|
+
SortColumType[SortColumType["ByJobID"] = 1] = "ByJobID";
|
|
1928
|
+
SortColumType[SortColumType["ByComponent"] = 2] = "ByComponent";
|
|
1929
|
+
SortColumType[SortColumType["ByLogType"] = 3] = "ByLogType";
|
|
1930
|
+
SortColumType[SortColumType["ByTargetAudience"] = 4] = "ByTargetAudience";
|
|
1931
|
+
SortColumType[SortColumType["BySourceInstance"] = 5] = "BySourceInstance";
|
|
1932
|
+
SortColumType[SortColumType["BySourceNode"] = 6] = "BySourceNode";
|
|
1933
|
+
SortColumType[SortColumType["ByFieldName"] = 7] = "ByFieldName";
|
|
1934
|
+
})(WsLogaccess.SortColumType || (WsLogaccess.SortColumType = {}));
|
|
1935
|
+
(function (SortDirection) {
|
|
1936
|
+
SortDirection[SortDirection["ASC"] = 0] = "ASC";
|
|
1937
|
+
SortDirection[SortDirection["DSC"] = 1] = "DSC";
|
|
1938
|
+
})(WsLogaccess.SortDirection || (WsLogaccess.SortDirection = {}));
|
|
1925
1939
|
})(exports.WsLogaccess || (exports.WsLogaccess = {}));
|
|
1926
1940
|
var LogaccessServiceBase = /** @class */ (function (_super) {
|
|
1927
1941
|
__extends(LogaccessServiceBase, _super);
|
|
1928
1942
|
function LogaccessServiceBase(optsConnection) {
|
|
1929
|
-
return _super.call(this, optsConnection, "ws_logaccess", "1.
|
|
1943
|
+
return _super.call(this, optsConnection, "ws_logaccess", "1.03") || this;
|
|
1930
1944
|
}
|
|
1931
1945
|
LogaccessServiceBase.prototype.GetLogAccessInfo = function (request) {
|
|
1932
|
-
return this._connection.send("GetLogAccessInfo", request);
|
|
1946
|
+
return this._connection.send("GetLogAccessInfo", request, "json", false, undefined, "GetLogAccessInfoResponse");
|
|
1933
1947
|
};
|
|
1934
1948
|
LogaccessServiceBase.prototype.GetLogs = function (request) {
|
|
1935
|
-
return this._connection.send("GetLogs", request);
|
|
1949
|
+
return this._connection.send("GetLogs", request, "json", false, undefined, "GetLogsResponse");
|
|
1936
1950
|
};
|
|
1937
1951
|
LogaccessServiceBase.prototype.Ping = function (request) {
|
|
1938
|
-
return this._connection.send("Ping", request);
|
|
1952
|
+
return this._connection.send("Ping", request, "json", false, undefined, "ws_logaccessPingResponse");
|
|
1939
1953
|
};
|
|
1940
1954
|
return LogaccessServiceBase;
|
|
1941
1955
|
}(Service));
|
|
1942
1956
|
|
|
1943
1957
|
var logger$1 = util.scopedLogger("@hpcc-js/comms/services/wsLogaccess.ts");
|
|
1944
|
-
|
|
1945
|
-
(function (
|
|
1946
|
-
|
|
1947
|
-
|
|
1948
|
-
|
|
1949
|
-
|
|
1950
|
-
|
|
1951
|
-
|
|
1952
|
-
|
|
1953
|
-
|
|
1954
|
-
|
|
1955
|
-
})(
|
|
1956
|
-
var
|
|
1957
|
-
for (var key in
|
|
1958
|
-
if (
|
|
1959
|
-
|
|
1958
|
+
var ElasticKnownColumns;
|
|
1959
|
+
(function (ElasticKnownColumns) {
|
|
1960
|
+
ElasticKnownColumns["audience"] = "hpcc.log.audience";
|
|
1961
|
+
ElasticKnownColumns["class"] = "hpcc.log.class";
|
|
1962
|
+
ElasticKnownColumns["containerName"] = "kubernetes.container.name";
|
|
1963
|
+
ElasticKnownColumns["jobId"] = "hpcc.log.jobid";
|
|
1964
|
+
ElasticKnownColumns["message"] = "hpcc.log.message";
|
|
1965
|
+
ElasticKnownColumns["procId"] = "hpcc.log.procid";
|
|
1966
|
+
ElasticKnownColumns["sequence"] = "hpcc.log.sequence";
|
|
1967
|
+
ElasticKnownColumns["threadId"] = "hpcc.log.threadid";
|
|
1968
|
+
ElasticKnownColumns["timestamp"] = "hpcc.log.timestamp";
|
|
1969
|
+
})(ElasticKnownColumns || (ElasticKnownColumns = {}));
|
|
1970
|
+
var RElasticKnownColumns = {};
|
|
1971
|
+
for (var key in ElasticKnownColumns) {
|
|
1972
|
+
if (ElasticKnownColumns.hasOwnProperty(key)) {
|
|
1973
|
+
RElasticKnownColumns[ElasticKnownColumns[key]] = key;
|
|
1974
|
+
}
|
|
1975
|
+
}
|
|
1976
|
+
var elasticToLogLine = function (line) {
|
|
1977
|
+
var retVal = {};
|
|
1978
|
+
for (var key in RElasticKnownColumns) {
|
|
1979
|
+
retVal[RElasticKnownColumns[key]] = line === null || line === void 0 ? void 0 : line.fields[0][key];
|
|
1980
|
+
}
|
|
1981
|
+
return retVal;
|
|
1982
|
+
};
|
|
1983
|
+
var AzureKnownColumns;
|
|
1984
|
+
(function (AzureKnownColumns) {
|
|
1985
|
+
AzureKnownColumns["audience"] = "hpcc_log_audience";
|
|
1986
|
+
AzureKnownColumns["class"] = "hpcc_log_class";
|
|
1987
|
+
AzureKnownColumns["containerID"] = "ContainerID";
|
|
1988
|
+
AzureKnownColumns["containerName"] = "ContainerID";
|
|
1989
|
+
AzureKnownColumns["jobId"] = "hpcc_log_jobid";
|
|
1990
|
+
AzureKnownColumns["message"] = "hpcc_log_message";
|
|
1991
|
+
AzureKnownColumns["procId"] = "";
|
|
1992
|
+
AzureKnownColumns["sequence"] = "hpcc_log_sequence";
|
|
1993
|
+
AzureKnownColumns["threadId"] = "hpcc_log_threadid";
|
|
1994
|
+
AzureKnownColumns["timestamp"] = "hpcc_log_timestamp";
|
|
1995
|
+
})(AzureKnownColumns || (AzureKnownColumns = {}));
|
|
1996
|
+
var RAzureKnownColumns = {};
|
|
1997
|
+
for (var key in AzureKnownColumns) {
|
|
1998
|
+
if (AzureKnownColumns.hasOwnProperty(key)) {
|
|
1999
|
+
RAzureKnownColumns[AzureKnownColumns[key]] = key;
|
|
1960
2000
|
}
|
|
1961
2001
|
}
|
|
1962
|
-
var
|
|
2002
|
+
var azureToLogLine = function (line) {
|
|
2003
|
+
var _a;
|
|
1963
2004
|
var retVal = {};
|
|
1964
|
-
for (var key in
|
|
1965
|
-
retVal[
|
|
2005
|
+
for (var key in RAzureKnownColumns) {
|
|
2006
|
+
retVal[RAzureKnownColumns[key]] = (_a = line === null || line === void 0 ? void 0 : line.fields[0][key]) !== null && _a !== void 0 ? _a : "";
|
|
1966
2007
|
}
|
|
1967
2008
|
return retVal;
|
|
1968
2009
|
};
|
|
@@ -1972,7 +2013,11 @@
|
|
|
1972
2013
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1973
2014
|
}
|
|
1974
2015
|
LogaccessService.prototype.GetLogAccessInfo = function (request) {
|
|
1975
|
-
|
|
2016
|
+
if (request === void 0) { request = {}; }
|
|
2017
|
+
if (!this._logAccessInfo) {
|
|
2018
|
+
this._logAccessInfo = _super.prototype.GetLogAccessInfo.call(this, request);
|
|
2019
|
+
}
|
|
2020
|
+
return this._logAccessInfo;
|
|
1976
2021
|
};
|
|
1977
2022
|
LogaccessService.prototype.GetLogs = function (request) {
|
|
1978
2023
|
return _super.prototype.GetLogs.call(this, request);
|
|
@@ -1999,10 +2044,10 @@
|
|
|
1999
2044
|
};
|
|
2000
2045
|
var filters = [];
|
|
2001
2046
|
for (var key in request) {
|
|
2002
|
-
if (key in
|
|
2047
|
+
if (key in ElasticKnownColumns) {
|
|
2003
2048
|
filters.push({
|
|
2004
2049
|
LogCategory: exports.WsLogaccess.LogAccessType.ByFieldName,
|
|
2005
|
-
SearchField:
|
|
2050
|
+
SearchField: ElasticKnownColumns[key],
|
|
2006
2051
|
SearchByValue: request[key]
|
|
2007
2052
|
});
|
|
2008
2053
|
}
|
|
@@ -2030,13 +2075,26 @@
|
|
|
2030
2075
|
getLogsRequest.Range.StartDate = request.StartDate.toISOString();
|
|
2031
2076
|
getLogsRequest.Range.EndDate = request.EndDate.toISOString();
|
|
2032
2077
|
}
|
|
2033
|
-
return this.GetLogs(getLogsRequest).then(function (
|
|
2034
|
-
var
|
|
2078
|
+
return Promise.all([this.GetLogAccessInfo(), this.GetLogs(getLogsRequest)]).then(function (_a) {
|
|
2079
|
+
var _b, _c, _d, _e;
|
|
2080
|
+
var info = _a[0], response = _a[1];
|
|
2035
2081
|
try {
|
|
2036
2082
|
var logLines = JSON.parse(response.LogLines);
|
|
2083
|
+
var lines = [];
|
|
2084
|
+
switch (info.RemoteLogManagerType) {
|
|
2085
|
+
case "azureloganalyticscurl":
|
|
2086
|
+
lines = (_c = (_b = logLines.lines) === null || _b === void 0 ? void 0 : _b.map(azureToLogLine)) !== null && _c !== void 0 ? _c : [];
|
|
2087
|
+
break;
|
|
2088
|
+
case "elasticstack":
|
|
2089
|
+
lines = (_e = (_d = logLines.lines) === null || _d === void 0 ? void 0 : _d.map(elasticToLogLine)) !== null && _e !== void 0 ? _e : [];
|
|
2090
|
+
break;
|
|
2091
|
+
default:
|
|
2092
|
+
logger$1.warning("Unknown RemoteLogManagerType: ".concat(info.RemoteLogManagerType));
|
|
2093
|
+
lines = [];
|
|
2094
|
+
}
|
|
2037
2095
|
return {
|
|
2038
|
-
lines:
|
|
2039
|
-
total:
|
|
2096
|
+
lines: lines,
|
|
2097
|
+
total: response.TotalLogLinesAvailable || 10000
|
|
2040
2098
|
};
|
|
2041
2099
|
}
|
|
2042
2100
|
catch (e) {
|
|
@@ -2498,6 +2556,344 @@
|
|
|
2498
2556
|
return TopologyService;
|
|
2499
2557
|
}(Service));
|
|
2500
2558
|
|
|
2559
|
+
var WsWorkunits;
|
|
2560
|
+
(function (WsWorkunits) {
|
|
2561
|
+
(function (ECLWUActions) {
|
|
2562
|
+
ECLWUActions["Abort"] = "Abort";
|
|
2563
|
+
ECLWUActions["Delete"] = "Delete";
|
|
2564
|
+
ECLWUActions["Deschedule"] = "Deschedule";
|
|
2565
|
+
ECLWUActions["Reschedule"] = "Reschedule";
|
|
2566
|
+
ECLWUActions["Pause"] = "Pause";
|
|
2567
|
+
ECLWUActions["PauseNow"] = "PauseNow";
|
|
2568
|
+
ECLWUActions["Protect"] = "Protect";
|
|
2569
|
+
ECLWUActions["Unprotect"] = "Unprotect";
|
|
2570
|
+
ECLWUActions["Restore"] = "Restore";
|
|
2571
|
+
ECLWUActions["Resume"] = "Resume";
|
|
2572
|
+
ECLWUActions["SetToFailed"] = "SetToFailed";
|
|
2573
|
+
ECLWUActions["Archive"] = "Archive";
|
|
2574
|
+
})(WsWorkunits.ECLWUActions || (WsWorkunits.ECLWUActions = {}));
|
|
2575
|
+
(function (EclDefinitionActions) {
|
|
2576
|
+
EclDefinitionActions["SyntaxCheck"] = "SyntaxCheck";
|
|
2577
|
+
EclDefinitionActions["Deploy"] = "Deploy";
|
|
2578
|
+
EclDefinitionActions["Publish"] = "Publish";
|
|
2579
|
+
})(WsWorkunits.EclDefinitionActions || (WsWorkunits.EclDefinitionActions = {}));
|
|
2580
|
+
(function (ErrorMessageFormat) {
|
|
2581
|
+
ErrorMessageFormat["xml"] = "xml";
|
|
2582
|
+
ErrorMessageFormat["json"] = "json";
|
|
2583
|
+
ErrorMessageFormat["text"] = "text";
|
|
2584
|
+
})(WsWorkunits.ErrorMessageFormat || (WsWorkunits.ErrorMessageFormat = {}));
|
|
2585
|
+
(function (LogSelectColumnMode) {
|
|
2586
|
+
LogSelectColumnMode[LogSelectColumnMode["MIN"] = 0] = "MIN";
|
|
2587
|
+
LogSelectColumnMode[LogSelectColumnMode["DEFAULT"] = 1] = "DEFAULT";
|
|
2588
|
+
LogSelectColumnMode[LogSelectColumnMode["ALL"] = 2] = "ALL";
|
|
2589
|
+
LogSelectColumnMode[LogSelectColumnMode["CUSTOM"] = 3] = "CUSTOM";
|
|
2590
|
+
})(WsWorkunits.LogSelectColumnMode || (WsWorkunits.LogSelectColumnMode = {}));
|
|
2591
|
+
(function (LogAccessLogFormat) {
|
|
2592
|
+
LogAccessLogFormat[LogAccessLogFormat["XML"] = 0] = "XML";
|
|
2593
|
+
LogAccessLogFormat[LogAccessLogFormat["JSON"] = 1] = "JSON";
|
|
2594
|
+
LogAccessLogFormat[LogAccessLogFormat["CSV"] = 2] = "CSV";
|
|
2595
|
+
})(WsWorkunits.LogAccessLogFormat || (WsWorkunits.LogAccessLogFormat = {}));
|
|
2596
|
+
(function (WUExceptionSeverity) {
|
|
2597
|
+
WUExceptionSeverity["info"] = "info";
|
|
2598
|
+
WUExceptionSeverity["warning"] = "warning";
|
|
2599
|
+
WUExceptionSeverity["error"] = "error";
|
|
2600
|
+
WUExceptionSeverity["alert"] = "alert";
|
|
2601
|
+
})(WsWorkunits.WUExceptionSeverity || (WsWorkunits.WUExceptionSeverity = {}));
|
|
2602
|
+
(function (WUQueryFilterSuspendedType) {
|
|
2603
|
+
WUQueryFilterSuspendedType["Allqueries"] = "Allqueries";
|
|
2604
|
+
WUQueryFilterSuspendedType["Notsuspended"] = "Notsuspended";
|
|
2605
|
+
WUQueryFilterSuspendedType["Suspended"] = "Suspended";
|
|
2606
|
+
WUQueryFilterSuspendedType["Suspendedbyuser"] = "Suspendedbyuser";
|
|
2607
|
+
WUQueryFilterSuspendedType["Suspendedbyfirstnode"] = "Suspendedbyfirstnode";
|
|
2608
|
+
WUQueryFilterSuspendedType["Suspendedbyanynode"] = "Suspendedbyanynode";
|
|
2609
|
+
})(WsWorkunits.WUQueryFilterSuspendedType || (WsWorkunits.WUQueryFilterSuspendedType = {}));
|
|
2610
|
+
(function (WUQuerySetFilterType) {
|
|
2611
|
+
WUQuerySetFilterType["All"] = "All";
|
|
2612
|
+
WUQuerySetFilterType["Id"] = "Id";
|
|
2613
|
+
WUQuerySetFilterType["Name"] = "Name";
|
|
2614
|
+
WUQuerySetFilterType["Alias"] = "Alias";
|
|
2615
|
+
WUQuerySetFilterType["Status"] = "Status";
|
|
2616
|
+
})(WsWorkunits.WUQuerySetFilterType || (WsWorkunits.WUQuerySetFilterType = {}));
|
|
2617
|
+
(function (WUProtectFilter) {
|
|
2618
|
+
WUProtectFilter["All"] = "All";
|
|
2619
|
+
WUProtectFilter["Protected"] = "Protected";
|
|
2620
|
+
WUProtectFilter["NotProtected"] = "NotProtected";
|
|
2621
|
+
})(WsWorkunits.WUProtectFilter || (WsWorkunits.WUProtectFilter = {}));
|
|
2622
|
+
(function (QuerySetAliasActionTypes) {
|
|
2623
|
+
QuerySetAliasActionTypes["Deactivate"] = "Deactivate";
|
|
2624
|
+
})(WsWorkunits.QuerySetAliasActionTypes || (WsWorkunits.QuerySetAliasActionTypes = {}));
|
|
2625
|
+
(function (QuerysetImportActivation) {
|
|
2626
|
+
QuerysetImportActivation["None"] = "None";
|
|
2627
|
+
QuerysetImportActivation["ActivateImportedActive"] = "ActivateImportedActive";
|
|
2628
|
+
})(WsWorkunits.QuerysetImportActivation || (WsWorkunits.QuerysetImportActivation = {}));
|
|
2629
|
+
(function (QuerySetQueryActionTypes) {
|
|
2630
|
+
QuerySetQueryActionTypes["Suspend"] = "Suspend";
|
|
2631
|
+
QuerySetQueryActionTypes["Unsuspend"] = "Unsuspend";
|
|
2632
|
+
QuerySetQueryActionTypes["ToggleSuspend"] = "ToggleSuspend";
|
|
2633
|
+
QuerySetQueryActionTypes["Activate"] = "Activate";
|
|
2634
|
+
QuerySetQueryActionTypes["Delete"] = "Delete";
|
|
2635
|
+
QuerySetQueryActionTypes["DeleteQueriesAndWUs"] = "DeleteQueriesAndWUs";
|
|
2636
|
+
QuerySetQueryActionTypes["RemoveAllAliases"] = "RemoveAllAliases";
|
|
2637
|
+
QuerySetQueryActionTypes["ResetQueryStats"] = "ResetQueryStats";
|
|
2638
|
+
})(WsWorkunits.QuerySetQueryActionTypes || (WsWorkunits.QuerySetQueryActionTypes = {}));
|
|
2639
|
+
(function (WUQueryActivationMode) {
|
|
2640
|
+
WUQueryActivationMode[WUQueryActivationMode["Donotactivatequery"] = 0] = "Donotactivatequery";
|
|
2641
|
+
WUQueryActivationMode[WUQueryActivationMode["Activatequery"] = 1] = "Activatequery";
|
|
2642
|
+
WUQueryActivationMode[WUQueryActivationMode["Activatequerysuspendprevious"] = 2] = "Activatequerysuspendprevious";
|
|
2643
|
+
WUQueryActivationMode[WUQueryActivationMode["Activatequerydeleteprevious"] = 3] = "Activatequerydeleteprevious";
|
|
2644
|
+
})(WsWorkunits.WUQueryActivationMode || (WsWorkunits.WUQueryActivationMode = {}));
|
|
2645
|
+
})(WsWorkunits || (WsWorkunits = {}));
|
|
2646
|
+
var WorkunitsServiceBase = /** @class */ (function (_super) {
|
|
2647
|
+
__extends(WorkunitsServiceBase, _super);
|
|
2648
|
+
function WorkunitsServiceBase(optsConnection) {
|
|
2649
|
+
return _super.call(this, optsConnection, "WsWorkunits", "1.94") || this;
|
|
2650
|
+
}
|
|
2651
|
+
WorkunitsServiceBase.prototype.GVCAjaxGraph = function (request) {
|
|
2652
|
+
return this._connection.send("GVCAjaxGraph", request, "json", false, undefined, "GVCAjaxGraphResponse");
|
|
2653
|
+
};
|
|
2654
|
+
WorkunitsServiceBase.prototype.Ping = function (request) {
|
|
2655
|
+
return this._connection.send("Ping", request, "json", false, undefined, "WsWorkunitsPingResponse");
|
|
2656
|
+
};
|
|
2657
|
+
WorkunitsServiceBase.prototype.WUAbort = function (request) {
|
|
2658
|
+
return this._connection.send("WUAbort", request, "json", false, undefined, "WUAbortResponse");
|
|
2659
|
+
};
|
|
2660
|
+
WorkunitsServiceBase.prototype.WUAction = function (request) {
|
|
2661
|
+
return this._connection.send("WUAction", request, "json", false, undefined, "WUActionResponse");
|
|
2662
|
+
};
|
|
2663
|
+
WorkunitsServiceBase.prototype.WUAddLocalFileToWorkunit = function (request) {
|
|
2664
|
+
return this._connection.send("WUAddLocalFileToWorkunit", request, "json", false, undefined, "WUAddLocalFileToWorkunitResponse");
|
|
2665
|
+
};
|
|
2666
|
+
WorkunitsServiceBase.prototype.WUAnalyseHotspot = function (request) {
|
|
2667
|
+
return this._connection.send("WUAnalyseHotspot", request, "json", false, undefined, "WUAnalyseHotspotResponse");
|
|
2668
|
+
};
|
|
2669
|
+
WorkunitsServiceBase.prototype.WUCDebug = function (request) {
|
|
2670
|
+
return this._connection.send("WUCDebug", request, "json", false, undefined, "WUDebugResponse");
|
|
2671
|
+
};
|
|
2672
|
+
WorkunitsServiceBase.prototype.WUCheckFeatures = function (request) {
|
|
2673
|
+
return this._connection.send("WUCheckFeatures", request, "json", false, undefined, "WUCheckFeaturesResponse");
|
|
2674
|
+
};
|
|
2675
|
+
WorkunitsServiceBase.prototype.WUClusterJobQueueLOG = function (request) {
|
|
2676
|
+
return this._connection.send("WUClusterJobQueueLOG", request, "json", false, undefined, "WUClusterJobQueueLOGResponse");
|
|
2677
|
+
};
|
|
2678
|
+
WorkunitsServiceBase.prototype.WUClusterJobQueueXLS = function (request) {
|
|
2679
|
+
return this._connection.send("WUClusterJobQueueXLS", request, "json", false, undefined, "WUClusterJobQueueXLSResponse");
|
|
2680
|
+
};
|
|
2681
|
+
WorkunitsServiceBase.prototype.WUClusterJobSummaryXLS = function (request) {
|
|
2682
|
+
return this._connection.send("WUClusterJobSummaryXLS", request, "json", false, undefined, "WUClusterJobSummaryXLSResponse");
|
|
2683
|
+
};
|
|
2684
|
+
WorkunitsServiceBase.prototype.WUClusterJobXLS = function (request) {
|
|
2685
|
+
return this._connection.send("WUClusterJobXLS", request, "json", false, undefined, "WUClusterJobXLSResponse");
|
|
2686
|
+
};
|
|
2687
|
+
WorkunitsServiceBase.prototype.WUCompileECL = function (request) {
|
|
2688
|
+
return this._connection.send("WUCompileECL", request, "json", false, undefined, "WUCompileECLResponse");
|
|
2689
|
+
};
|
|
2690
|
+
WorkunitsServiceBase.prototype.WUCopyLogicalFiles = function (request) {
|
|
2691
|
+
return this._connection.send("WUCopyLogicalFiles", request, "json", false, undefined, "WUCopyLogicalFilesResponse");
|
|
2692
|
+
};
|
|
2693
|
+
WorkunitsServiceBase.prototype.WUCopyQuerySet = function (request) {
|
|
2694
|
+
return this._connection.send("WUCopyQuerySet", request, "json", false, undefined, "WUCopyQuerySetResponse");
|
|
2695
|
+
};
|
|
2696
|
+
WorkunitsServiceBase.prototype.WUCreate = function (request) {
|
|
2697
|
+
return this._connection.send("WUCreate", request, "json", false, undefined, "WUCreateResponse");
|
|
2698
|
+
};
|
|
2699
|
+
WorkunitsServiceBase.prototype.WUCreateAndUpdate = function (request) {
|
|
2700
|
+
return this._connection.send("WUCreateAndUpdate", request, "json", false, undefined, "WUUpdateResponse");
|
|
2701
|
+
};
|
|
2702
|
+
WorkunitsServiceBase.prototype.WUCreateZAPInfo = function (request) {
|
|
2703
|
+
return this._connection.send("WUCreateZAPInfo", request, "json", false, undefined, "WUCreateZAPInfoResponse");
|
|
2704
|
+
};
|
|
2705
|
+
WorkunitsServiceBase.prototype.WUDelete = function (request) {
|
|
2706
|
+
return this._connection.send("WUDelete", request, "json", false, undefined, "WUDeleteResponse");
|
|
2707
|
+
};
|
|
2708
|
+
WorkunitsServiceBase.prototype.WUDeployWorkunit = function (request) {
|
|
2709
|
+
return this._connection.send("WUDeployWorkunit", request, "json", false, undefined, "WUDeployWorkunitResponse");
|
|
2710
|
+
};
|
|
2711
|
+
WorkunitsServiceBase.prototype.WUDetails = function (request) {
|
|
2712
|
+
return this._connection.send("WUDetails", request, "json", false, undefined, "WUDetailsResponse");
|
|
2713
|
+
};
|
|
2714
|
+
WorkunitsServiceBase.prototype.WUDetailsMeta = function (request) {
|
|
2715
|
+
return this._connection.send("WUDetailsMeta", request, "json", false, undefined, "WUDetailsMetaResponse");
|
|
2716
|
+
};
|
|
2717
|
+
WorkunitsServiceBase.prototype.WUEclDefinitionAction = function (request) {
|
|
2718
|
+
return this._connection.send("WUEclDefinitionAction", request, "json", false, undefined, "WUEclDefinitionActionResponse");
|
|
2719
|
+
};
|
|
2720
|
+
WorkunitsServiceBase.prototype.WUExport = function (request) {
|
|
2721
|
+
return this._connection.send("WUExport", request, "json", false, undefined, "WUExportResponse");
|
|
2722
|
+
};
|
|
2723
|
+
WorkunitsServiceBase.prototype.WUFile = function (request) {
|
|
2724
|
+
return this._connection.send("WUFile", request, "json", false, undefined, "WULogFileResponse");
|
|
2725
|
+
};
|
|
2726
|
+
WorkunitsServiceBase.prototype.WUFullResult = function (request) {
|
|
2727
|
+
return this._connection.send("WUFullResult", request, "json", false, undefined, "WUFullResultResponse");
|
|
2728
|
+
};
|
|
2729
|
+
WorkunitsServiceBase.prototype.WUGVCGraphInfo = function (request) {
|
|
2730
|
+
return this._connection.send("WUGVCGraphInfo", request, "json", false, undefined, "WUGVCGraphInfoResponse");
|
|
2731
|
+
};
|
|
2732
|
+
WorkunitsServiceBase.prototype.WUGetArchiveFile = function (request) {
|
|
2733
|
+
return this._connection.send("WUGetArchiveFile", request, "json", false, undefined, "WUGetArchiveFileResponse");
|
|
2734
|
+
};
|
|
2735
|
+
WorkunitsServiceBase.prototype.WUGetDependancyTrees = function (request) {
|
|
2736
|
+
return this._connection.send("WUGetDependancyTrees", request, "json", false, undefined, "WUGetDependancyTreesResponse");
|
|
2737
|
+
};
|
|
2738
|
+
WorkunitsServiceBase.prototype.WUGetGraph = function (request) {
|
|
2739
|
+
return this._connection.send("WUGetGraph", request, "json", false, undefined, "WUGetGraphResponse");
|
|
2740
|
+
};
|
|
2741
|
+
WorkunitsServiceBase.prototype.WUGetGraphNameAndTypes = function (request) {
|
|
2742
|
+
return this._connection.send("WUGetGraphNameAndTypes", request, "json", false, undefined, "WUGetGraphNameAndTypesResponse");
|
|
2743
|
+
};
|
|
2744
|
+
WorkunitsServiceBase.prototype.WUGetNumFileToCopy = function (request) {
|
|
2745
|
+
return this._connection.send("WUGetNumFileToCopy", request, "json", false, undefined, "WUGetNumFileToCopyResponse");
|
|
2746
|
+
};
|
|
2747
|
+
WorkunitsServiceBase.prototype.WUGetPlugins = function (request) {
|
|
2748
|
+
return this._connection.send("WUGetPlugins", request, "json", false, undefined, "WUGetPluginsResponse");
|
|
2749
|
+
};
|
|
2750
|
+
WorkunitsServiceBase.prototype.WUGetStats = function (request) {
|
|
2751
|
+
return this._connection.send("WUGetStats", request, "json", false, undefined, "WUGetStatsResponse");
|
|
2752
|
+
};
|
|
2753
|
+
WorkunitsServiceBase.prototype.WUGetThorJobList = function (request) {
|
|
2754
|
+
return this._connection.send("WUGetThorJobList", request, "json", false, undefined, "WUGetThorJobListResponse");
|
|
2755
|
+
};
|
|
2756
|
+
WorkunitsServiceBase.prototype.WUGetThorJobQueue = function (request) {
|
|
2757
|
+
return this._connection.send("WUGetThorJobQueue", request, "json", false, undefined, "WUGetThorJobQueueResponse");
|
|
2758
|
+
};
|
|
2759
|
+
WorkunitsServiceBase.prototype.WUGetZAPInfo = function (request) {
|
|
2760
|
+
return this._connection.send("WUGetZAPInfo", request, "json", false, undefined, "WUGetZAPInfoResponse");
|
|
2761
|
+
};
|
|
2762
|
+
WorkunitsServiceBase.prototype.WUGraphInfo = function (request) {
|
|
2763
|
+
return this._connection.send("WUGraphInfo", request, "json", false, undefined, "WUGraphInfoResponse");
|
|
2764
|
+
};
|
|
2765
|
+
WorkunitsServiceBase.prototype.WUGraphTiming = function (request) {
|
|
2766
|
+
return this._connection.send("WUGraphTiming", request, "json", false, undefined, "WUGraphTimingResponse");
|
|
2767
|
+
};
|
|
2768
|
+
WorkunitsServiceBase.prototype.WUInfo = function (request) {
|
|
2769
|
+
return this._connection.send("WUInfo", request, "json", false, undefined, "WUInfoResponse");
|
|
2770
|
+
};
|
|
2771
|
+
WorkunitsServiceBase.prototype.WUInfoDetails = function (request) {
|
|
2772
|
+
return this._connection.send("WUInfoDetails", request, "json", false, undefined, "WUInfoResponse");
|
|
2773
|
+
};
|
|
2774
|
+
WorkunitsServiceBase.prototype.WUJobList = function (request) {
|
|
2775
|
+
return this._connection.send("WUJobList", request, "json", false, undefined, "WUJobListResponse");
|
|
2776
|
+
};
|
|
2777
|
+
WorkunitsServiceBase.prototype.WULightWeightQuery = function (request) {
|
|
2778
|
+
return this._connection.send("WULightWeightQuery", request, "json", false, undefined, "WULightWeightQueryResponse");
|
|
2779
|
+
};
|
|
2780
|
+
WorkunitsServiceBase.prototype.WUListArchiveFiles = function (request) {
|
|
2781
|
+
return this._connection.send("WUListArchiveFiles", request, "json", false, undefined, "WUListArchiveFilesResponse");
|
|
2782
|
+
};
|
|
2783
|
+
WorkunitsServiceBase.prototype.WUListLocalFileRequired = function (request) {
|
|
2784
|
+
return this._connection.send("WUListLocalFileRequired", request, "json", false, undefined, "WUListLocalFileRequiredResponse");
|
|
2785
|
+
};
|
|
2786
|
+
WorkunitsServiceBase.prototype.WUListQueries = function (request) {
|
|
2787
|
+
return this._connection.send("WUListQueries", request, "json", false, undefined, "WUListQueriesResponse");
|
|
2788
|
+
};
|
|
2789
|
+
WorkunitsServiceBase.prototype.WUListQueriesUsingFile = function (request) {
|
|
2790
|
+
return this._connection.send("WUListQueriesUsingFile", request, "json", false, undefined, "WUListQueriesUsingFileResponse");
|
|
2791
|
+
};
|
|
2792
|
+
WorkunitsServiceBase.prototype.WUMultiQuerysetDetails = function (request) {
|
|
2793
|
+
return this._connection.send("WUMultiQuerysetDetails", request, "json", false, undefined, "WUMultiQuerySetDetailsResponse");
|
|
2794
|
+
};
|
|
2795
|
+
WorkunitsServiceBase.prototype.WUProcessGraph = function (request) {
|
|
2796
|
+
return this._connection.send("WUProcessGraph", request, "json", false, undefined, "WUProcessGraphResponse");
|
|
2797
|
+
};
|
|
2798
|
+
WorkunitsServiceBase.prototype.WUProtect = function (request) {
|
|
2799
|
+
return this._connection.send("WUProtect", request, "json", false, undefined, "WUProtectResponse");
|
|
2800
|
+
};
|
|
2801
|
+
WorkunitsServiceBase.prototype.WUPublishWorkunit = function (request) {
|
|
2802
|
+
return this._connection.send("WUPublishWorkunit", request, "json", false, undefined, "WUPublishWorkunitResponse");
|
|
2803
|
+
};
|
|
2804
|
+
WorkunitsServiceBase.prototype.WUPushEvent = function (request) {
|
|
2805
|
+
return this._connection.send("WUPushEvent", request, "json", false, undefined, "WUPushEventResponse");
|
|
2806
|
+
};
|
|
2807
|
+
WorkunitsServiceBase.prototype.WUQuery = function (request) {
|
|
2808
|
+
return this._connection.send("WUQuery", request, "json", false, undefined, "WUQueryResponse");
|
|
2809
|
+
};
|
|
2810
|
+
WorkunitsServiceBase.prototype.WUQueryConfig = function (request) {
|
|
2811
|
+
return this._connection.send("WUQueryConfig", request, "json", false, undefined, "WUQueryConfigResponse");
|
|
2812
|
+
};
|
|
2813
|
+
WorkunitsServiceBase.prototype.WUQueryDetails = function (request) {
|
|
2814
|
+
return this._connection.send("WUQueryDetails", request, "json", false, undefined, "WUQueryDetailsResponse");
|
|
2815
|
+
};
|
|
2816
|
+
WorkunitsServiceBase.prototype.WUQueryDetailsLightWeight = function (request) {
|
|
2817
|
+
return this._connection.send("WUQueryDetailsLightWeight", request, "json", false, undefined, "WUQueryDetailsResponse");
|
|
2818
|
+
};
|
|
2819
|
+
WorkunitsServiceBase.prototype.WUQueryFiles = function (request) {
|
|
2820
|
+
return this._connection.send("WUQueryFiles", request, "json", false, undefined, "WUQueryFilesResponse");
|
|
2821
|
+
};
|
|
2822
|
+
WorkunitsServiceBase.prototype.WUQueryGetGraph = function (request) {
|
|
2823
|
+
return this._connection.send("WUQueryGetGraph", request, "json", false, undefined, "WUQueryGetGraphResponse");
|
|
2824
|
+
};
|
|
2825
|
+
WorkunitsServiceBase.prototype.WUQueryGetSummaryStats = function (request) {
|
|
2826
|
+
return this._connection.send("WUQueryGetSummaryStats", request, "json", false, undefined, "WUQueryGetSummaryStatsResponse");
|
|
2827
|
+
};
|
|
2828
|
+
WorkunitsServiceBase.prototype.WUQuerysetAliasAction = function (request) {
|
|
2829
|
+
return this._connection.send("WUQuerysetAliasAction", request, "json", false, undefined, "WUQuerySetAliasActionResponse");
|
|
2830
|
+
};
|
|
2831
|
+
WorkunitsServiceBase.prototype.WUQuerysetCopyQuery = function (request) {
|
|
2832
|
+
return this._connection.send("WUQuerysetCopyQuery", request, "json", false, undefined, "WUQuerySetCopyQueryResponse");
|
|
2833
|
+
};
|
|
2834
|
+
WorkunitsServiceBase.prototype.WUQuerysetDetails = function (request) {
|
|
2835
|
+
return this._connection.send("WUQuerysetDetails", request, "json", false, undefined, "WUQuerySetDetailsResponse");
|
|
2836
|
+
};
|
|
2837
|
+
WorkunitsServiceBase.prototype.WUQuerysetExport = function (request) {
|
|
2838
|
+
return this._connection.send("WUQuerysetExport", request, "json", false, undefined, "WUQuerysetExportResponse");
|
|
2839
|
+
};
|
|
2840
|
+
WorkunitsServiceBase.prototype.WUQuerysetImport = function (request) {
|
|
2841
|
+
return this._connection.send("WUQuerysetImport", request, "json", false, undefined, "WUQuerysetImportResponse");
|
|
2842
|
+
};
|
|
2843
|
+
WorkunitsServiceBase.prototype.WUQuerysetQueryAction = function (request) {
|
|
2844
|
+
return this._connection.send("WUQuerysetQueryAction", request, "json", false, undefined, "WUQuerySetQueryActionResponse");
|
|
2845
|
+
};
|
|
2846
|
+
WorkunitsServiceBase.prototype.WUQuerysets = function (request) {
|
|
2847
|
+
return this._connection.send("WUQuerysets", request, "json", false, undefined, "WUQuerysetsResponse");
|
|
2848
|
+
};
|
|
2849
|
+
WorkunitsServiceBase.prototype.WURecreateQuery = function (request) {
|
|
2850
|
+
return this._connection.send("WURecreateQuery", request, "json", false, undefined, "WURecreateQueryResponse");
|
|
2851
|
+
};
|
|
2852
|
+
WorkunitsServiceBase.prototype.WUResubmit = function (request) {
|
|
2853
|
+
return this._connection.send("WUResubmit", request, "json", false, undefined, "WUResubmitResponse");
|
|
2854
|
+
};
|
|
2855
|
+
WorkunitsServiceBase.prototype.WUResult = function (request) {
|
|
2856
|
+
return this._connection.send("WUResult", request, "json", false, undefined, "WUResultResponse");
|
|
2857
|
+
};
|
|
2858
|
+
WorkunitsServiceBase.prototype.WUResultBin = function (request) {
|
|
2859
|
+
return this._connection.send("WUResultBin", request, "json", false, undefined, "WUResultBinResponse");
|
|
2860
|
+
};
|
|
2861
|
+
WorkunitsServiceBase.prototype.WUResultSummary = function (request) {
|
|
2862
|
+
return this._connection.send("WUResultSummary", request, "json", false, undefined, "WUResultSummaryResponse");
|
|
2863
|
+
};
|
|
2864
|
+
WorkunitsServiceBase.prototype.WUResultView = function (request) {
|
|
2865
|
+
return this._connection.send("WUResultView", request, "json", false, undefined, "WUResultViewResponse");
|
|
2866
|
+
};
|
|
2867
|
+
WorkunitsServiceBase.prototype.WURun = function (request) {
|
|
2868
|
+
return this._connection.send("WURun", request, "json", false, undefined, "WURunResponse");
|
|
2869
|
+
};
|
|
2870
|
+
WorkunitsServiceBase.prototype.WUSchedule = function (request) {
|
|
2871
|
+
return this._connection.send("WUSchedule", request, "json", false, undefined, "WUScheduleResponse");
|
|
2872
|
+
};
|
|
2873
|
+
WorkunitsServiceBase.prototype.WUShowScheduled = function (request) {
|
|
2874
|
+
return this._connection.send("WUShowScheduled", request, "json", false, undefined, "WUShowScheduledResponse");
|
|
2875
|
+
};
|
|
2876
|
+
WorkunitsServiceBase.prototype.WUSubmit = function (request) {
|
|
2877
|
+
return this._connection.send("WUSubmit", request, "json", false, undefined, "WUSubmitResponse");
|
|
2878
|
+
};
|
|
2879
|
+
WorkunitsServiceBase.prototype.WUSyntaxCheckECL = function (request) {
|
|
2880
|
+
return this._connection.send("WUSyntaxCheckECL", request, "json", false, undefined, "WUSyntaxCheckResponse");
|
|
2881
|
+
};
|
|
2882
|
+
WorkunitsServiceBase.prototype.WUUpdate = function (request) {
|
|
2883
|
+
return this._connection.send("WUUpdate", request, "json", false, undefined, "WUUpdateResponse");
|
|
2884
|
+
};
|
|
2885
|
+
WorkunitsServiceBase.prototype.WUUpdateQueryEntry = function (request) {
|
|
2886
|
+
return this._connection.send("WUUpdateQueryEntry", request, "json", false, undefined, "WUUpdateQueryEntryResponse");
|
|
2887
|
+
};
|
|
2888
|
+
WorkunitsServiceBase.prototype.WUWaitCompiled = function (request) {
|
|
2889
|
+
return this._connection.send("WUWaitCompiled", request, "json", false, undefined, "WUWaitResponse");
|
|
2890
|
+
};
|
|
2891
|
+
WorkunitsServiceBase.prototype.WUWaitComplete = function (request) {
|
|
2892
|
+
return this._connection.send("WUWaitComplete", request, "json", false, undefined, "WUWaitResponse");
|
|
2893
|
+
};
|
|
2894
|
+
return WorkunitsServiceBase;
|
|
2895
|
+
}(Service));
|
|
2896
|
+
|
|
2501
2897
|
/*
|
|
2502
2898
|
Response structures generated via:
|
|
2503
2899
|
* http://localhost:8010/WsWorkunits/WUInfo?reqjson_
|
|
@@ -2661,6 +3057,13 @@
|
|
|
2661
3057
|
};
|
|
2662
3058
|
return WorkunitsService;
|
|
2663
3059
|
}(Service));
|
|
3060
|
+
var WorkunitsServiceEx = /** @class */ (function (_super) {
|
|
3061
|
+
__extends(WorkunitsServiceEx, _super);
|
|
3062
|
+
function WorkunitsServiceEx() {
|
|
3063
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
3064
|
+
}
|
|
3065
|
+
return WorkunitsServiceEx;
|
|
3066
|
+
}(WorkunitsServiceBase));
|
|
2664
3067
|
|
|
2665
3068
|
var t0 = new Date,
|
|
2666
3069
|
t1 = new Date;
|
|
@@ -2748,6 +3151,7 @@
|
|
|
2748
3151
|
});
|
|
2749
3152
|
|
|
2750
3153
|
var timeDay = day;
|
|
3154
|
+
day.range;
|
|
2751
3155
|
|
|
2752
3156
|
function weekday(i) {
|
|
2753
3157
|
return newInterval(function(date) {
|
|
@@ -2762,11 +3166,19 @@
|
|
|
2762
3166
|
|
|
2763
3167
|
var sunday = weekday(0);
|
|
2764
3168
|
var monday = weekday(1);
|
|
2765
|
-
weekday(2);
|
|
2766
|
-
weekday(3);
|
|
3169
|
+
var tuesday = weekday(2);
|
|
3170
|
+
var wednesday = weekday(3);
|
|
2767
3171
|
var thursday = weekday(4);
|
|
2768
|
-
weekday(5);
|
|
2769
|
-
weekday(6);
|
|
3172
|
+
var friday = weekday(5);
|
|
3173
|
+
var saturday = weekday(6);
|
|
3174
|
+
|
|
3175
|
+
sunday.range;
|
|
3176
|
+
monday.range;
|
|
3177
|
+
tuesday.range;
|
|
3178
|
+
wednesday.range;
|
|
3179
|
+
thursday.range;
|
|
3180
|
+
friday.range;
|
|
3181
|
+
saturday.range;
|
|
2770
3182
|
|
|
2771
3183
|
var year = newInterval(function(date) {
|
|
2772
3184
|
date.setMonth(0, 1);
|
|
@@ -2791,6 +3203,7 @@
|
|
|
2791
3203
|
};
|
|
2792
3204
|
|
|
2793
3205
|
var timeYear = year;
|
|
3206
|
+
year.range;
|
|
2794
3207
|
|
|
2795
3208
|
var utcDay = newInterval(function(date) {
|
|
2796
3209
|
date.setUTCHours(0, 0, 0, 0);
|
|
@@ -2803,6 +3216,7 @@
|
|
|
2803
3216
|
});
|
|
2804
3217
|
|
|
2805
3218
|
var utcDay$1 = utcDay;
|
|
3219
|
+
utcDay.range;
|
|
2806
3220
|
|
|
2807
3221
|
function utcWeekday(i) {
|
|
2808
3222
|
return newInterval(function(date) {
|
|
@@ -2817,11 +3231,19 @@
|
|
|
2817
3231
|
|
|
2818
3232
|
var utcSunday = utcWeekday(0);
|
|
2819
3233
|
var utcMonday = utcWeekday(1);
|
|
2820
|
-
utcWeekday(2);
|
|
2821
|
-
utcWeekday(3);
|
|
3234
|
+
var utcTuesday = utcWeekday(2);
|
|
3235
|
+
var utcWednesday = utcWeekday(3);
|
|
2822
3236
|
var utcThursday = utcWeekday(4);
|
|
2823
|
-
utcWeekday(5);
|
|
2824
|
-
utcWeekday(6);
|
|
3237
|
+
var utcFriday = utcWeekday(5);
|
|
3238
|
+
var utcSaturday = utcWeekday(6);
|
|
3239
|
+
|
|
3240
|
+
utcSunday.range;
|
|
3241
|
+
utcMonday.range;
|
|
3242
|
+
utcTuesday.range;
|
|
3243
|
+
utcWednesday.range;
|
|
3244
|
+
utcThursday.range;
|
|
3245
|
+
utcFriday.range;
|
|
3246
|
+
utcSaturday.range;
|
|
2825
3247
|
|
|
2826
3248
|
var utcYear = newInterval(function(date) {
|
|
2827
3249
|
date.setUTCMonth(0, 1);
|
|
@@ -2846,6 +3268,7 @@
|
|
|
2846
3268
|
};
|
|
2847
3269
|
|
|
2848
3270
|
var utcYear$1 = utcYear;
|
|
3271
|
+
utcYear.range;
|
|
2849
3272
|
|
|
2850
3273
|
function localDate(d) {
|
|
2851
3274
|
if (0 <= d.y && d.y < 100) {
|
|
@@ -3551,6 +3974,8 @@
|
|
|
3551
3974
|
|
|
3552
3975
|
function defaultLocale(definition) {
|
|
3553
3976
|
locale = formatLocale(definition);
|
|
3977
|
+
locale.format;
|
|
3978
|
+
locale.parse;
|
|
3554
3979
|
utcFormat = locale.utcFormat;
|
|
3555
3980
|
utcParse = locale.utcParse;
|
|
3556
3981
|
return locale;
|
|
@@ -4283,18 +4708,19 @@
|
|
|
4283
4708
|
Result.prototype.isComplete = function () {
|
|
4284
4709
|
return this.Total !== -1;
|
|
4285
4710
|
};
|
|
4286
|
-
Result.prototype.fetchXMLSchema = function () {
|
|
4711
|
+
Result.prototype.fetchXMLSchema = function (refresh) {
|
|
4287
4712
|
var _this = this;
|
|
4288
|
-
if (
|
|
4289
|
-
|
|
4713
|
+
if (refresh === void 0) { refresh = false; }
|
|
4714
|
+
if (!this._fetchXMLSchemaPromise || refresh) {
|
|
4715
|
+
this._fetchXMLSchemaPromise = this.WUResult().then(function (response) {
|
|
4716
|
+
if (util.exists("Result.XmlSchema.xml", response)) {
|
|
4717
|
+
_this.xsdSchema = parseXSD(response.Result.XmlSchema.xml);
|
|
4718
|
+
return _this.xsdSchema;
|
|
4719
|
+
}
|
|
4720
|
+
return null;
|
|
4721
|
+
});
|
|
4290
4722
|
}
|
|
4291
|
-
return this.
|
|
4292
|
-
if (util.exists("Result.XmlSchema.xml", response)) {
|
|
4293
|
-
_this.xsdSchema = parseXSD(response.Result.XmlSchema.xml);
|
|
4294
|
-
return _this.xsdSchema;
|
|
4295
|
-
}
|
|
4296
|
-
return null;
|
|
4297
|
-
});
|
|
4723
|
+
return this._fetchXMLSchemaPromise;
|
|
4298
4724
|
};
|
|
4299
4725
|
Result.prototype.refresh = function () {
|
|
4300
4726
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -6563,6 +6989,11 @@
|
|
|
6563
6989
|
enumerable: false,
|
|
6564
6990
|
configurable: true
|
|
6565
6991
|
});
|
|
6992
|
+
Object.defineProperty(LogicalFile.prototype, "ExpirationDate", {
|
|
6993
|
+
get: function () { return this.get("ExpirationDate"); },
|
|
6994
|
+
enumerable: false,
|
|
6995
|
+
configurable: true
|
|
6996
|
+
});
|
|
6566
6997
|
Object.defineProperty(LogicalFile.prototype, "properties", {
|
|
6567
6998
|
get: function () { return this.get(); },
|
|
6568
6999
|
enumerable: false,
|
|
@@ -7533,6 +7964,10 @@
|
|
|
7533
7964
|
exports.CloudService = CloudService;
|
|
7534
7965
|
exports.CodesignService = CodesignService;
|
|
7535
7966
|
exports.Connection = Connection;
|
|
7967
|
+
exports.DFUArrayActions = DFUArrayActions;
|
|
7968
|
+
exports.DFUChangeProtection = DFUChangeProtection;
|
|
7969
|
+
exports.DFUChangeRestriction = DFUChangeRestriction;
|
|
7970
|
+
exports.DFUDefFileFormat = DFUDefFileFormat;
|
|
7536
7971
|
exports.DFUService = DFUService;
|
|
7537
7972
|
exports.DFUXRefService = DFUXRefService;
|
|
7538
7973
|
exports.DaliService = DaliService;
|
|
@@ -7579,6 +8014,7 @@
|
|
|
7579
8014
|
exports.Workunit = Workunit;
|
|
7580
8015
|
exports.WorkunitCache = WorkunitCache;
|
|
7581
8016
|
exports.WorkunitsService = WorkunitsService;
|
|
8017
|
+
exports.WorkunitsServiceEx = WorkunitsServiceEx;
|
|
7582
8018
|
exports.XGMMLEdge = XGMMLEdge;
|
|
7583
8019
|
exports.XGMMLGraph = XGMMLGraph;
|
|
7584
8020
|
exports.XGMMLSubgraph = XGMMLSubgraph;
|