@hpcc-js/comms 2.102.2 → 2.102.3
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/LICENSE +43 -43
- package/README.md +50 -50
- package/dist/index.es6.js +2 -2
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +2 -2
- 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 +2 -2
- 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/package.json +4 -4
- package/src/__package__.ts +3 -3
- package/src/__tests__/dfuXRef.ts +22 -22
- package/src/__tests__/https.ts +69 -69
- package/src/__tests__/workunit.ts +35 -35
- package/src/clienttools/eclMeta.ts +506 -506
- package/src/clienttools/eclcc.ts +628 -628
- package/src/connection.ts +295 -295
- package/src/ecl/activity.ts +82 -82
- package/src/ecl/dfuWorkunit.ts +363 -363
- package/src/ecl/graph.ts +196 -196
- package/src/ecl/logicalFile.ts +195 -195
- package/src/ecl/machine.ts +63 -63
- package/src/ecl/query.ts +252 -252
- package/src/ecl/queryGraph.ts +813 -813
- package/src/ecl/resource.ts +39 -39
- package/src/ecl/result.ts +236 -236
- package/src/ecl/scope.ts +192 -192
- package/src/ecl/sourceFile.ts +34 -34
- package/src/ecl/store.ts +154 -154
- package/src/ecl/targetCluster.ts +149 -149
- package/src/ecl/timer.ts +42 -42
- package/src/ecl/topology.ts +131 -131
- package/src/ecl/workunit.ts +1314 -1314
- package/src/ecl/xsdParser.ts +268 -268
- package/src/espConnection.ts +172 -172
- package/src/index-common.ts +41 -41
- package/src/index.node.ts +68 -68
- package/src/index.ts +3 -3
- package/src/pem/trustwave.ts +909 -909
- package/src/services/fileSpray.ts +48 -48
- package/src/services/wsAccess.ts +8 -8
- package/src/services/wsAccount.ts +27 -27
- package/src/services/wsCloud.ts +73 -73
- package/src/services/wsCodesign.ts +94 -94
- package/src/services/wsDFU.ts +34 -34
- package/src/services/wsDFUXRef.ts +308 -308
- package/src/services/wsDali.ts +40 -40
- package/src/services/wsEcl.ts +123 -123
- package/src/services/wsElk.ts +8 -8
- package/src/services/wsLogaccess.ts +263 -263
- package/src/services/wsMachine.ts +89 -89
- package/src/services/wsPackageProcess.ts +8 -8
- package/src/services/wsResources.ts +8 -8
- package/src/services/wsSMC.ts +24 -24
- package/src/services/wsSasha.ts +7 -7
- package/src/services/wsStore.ts +230 -230
- package/src/services/wsTopology.ts +45 -45
- package/src/services/wsWorkunits.ts +160 -160
- package/src/services/wsdl/FileSpray/v1.23/FileSpray.ts +1008 -1008
- package/src/services/wsdl/FileSpray/v1.25/FileSpray.ts +1040 -1040
- package/src/services/wsdl/FileSpray/v1.26/FileSpray.ts +929 -929
- package/src/services/wsdl/WsCloud/v1/WsCloud.ts +38 -38
- package/src/services/wsdl/WsCloud/v1.02/WsCloud.ts +77 -77
- package/src/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.ts +224 -224
- package/src/services/wsdl/WsDali/v1.04/WsDali.ts +216 -216
- package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +1455 -1455
- package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1465 -1465
- package/src/services/wsdl/WsDfu/v1.65/WsDfu.ts +1244 -1244
- package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +107 -107
- package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +519 -519
- package/src/services/wsdl/WsResources/v1.01/WsResources.ts +119 -119
- package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +665 -665
- package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +670 -670
- package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +856 -856
- package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +885 -885
- package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2944 -2944
- package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +3072 -3072
- package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +3073 -3073
- package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +3134 -3134
- package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +3182 -3182
- package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +3162 -3162
- package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +3153 -3153
- package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +3157 -3157
- package/src/services/wsdl/ws_access/v1.16/ws_access.ts +1086 -1086
- package/src/services/wsdl/ws_access/v1.17/ws_access.ts +1023 -1023
- package/src/services/wsdl/ws_account/v1.05/ws_account.ts +111 -111
- package/src/services/wsdl/ws_account/v1.06/ws_account.ts +109 -109
- package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +100 -100
- package/src/services/wsdl/ws_elk/v1/ws_elk.ts +47 -47
- package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +83 -83
- package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +161 -161
- package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +190 -190
- package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +215 -215
- package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +219 -219
- package/src/services/wsdl/ws_logaccess/v1.08/ws_logaccess.ts +267 -267
- package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +567 -567
- package/src/services/wsdl/wsstore/v1.02/wsstore.ts +250 -250
- package/types/__package__.d.ts +2 -2
- package/types-3.4/__package__.d.ts +2 -2
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
-
import { Service } from "../../../../espConnection";
|
|
3
|
-
|
|
4
|
-
export namespace WsElk {
|
|
5
|
-
|
|
6
|
-
export interface GetConfigDetailsRequest {
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export interface GetConfigDetailsResponse {
|
|
11
|
-
IntegrateKibana: boolean;
|
|
12
|
-
KibanaAddress: string;
|
|
13
|
-
KibanaPort: string;
|
|
14
|
-
KibanaEntryPointURI: string;
|
|
15
|
-
ReportElasticSearchHealth: boolean;
|
|
16
|
-
ElasticSearchAddresses: string;
|
|
17
|
-
ElasticSearchPort: string;
|
|
18
|
-
ReportLogStashHealth: boolean;
|
|
19
|
-
LogStashAddress: string;
|
|
20
|
-
LogStashPort: string;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
export interface ws_elkPingRequest {
|
|
24
|
-
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface ws_elkPingResponse {
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
-
|
|
33
|
-
export class ElkServiceBase extends Service {
|
|
34
|
-
|
|
35
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
36
|
-
super(optsConnection, "ws_elk", "1");
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
GetConfigDetails(request: WsElk.GetConfigDetailsRequest): Promise<WsElk.GetConfigDetailsResponse> {
|
|
40
|
-
return this._connection.send("GetConfigDetails", request);
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
Ping(request: WsElk.ws_elkPingRequest): Promise<WsElk.ws_elkPingResponse> {
|
|
44
|
-
return this._connection.send("Ping", request);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
}
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
|
|
4
|
+
export namespace WsElk {
|
|
5
|
+
|
|
6
|
+
export interface GetConfigDetailsRequest {
|
|
7
|
+
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface GetConfigDetailsResponse {
|
|
11
|
+
IntegrateKibana: boolean;
|
|
12
|
+
KibanaAddress: string;
|
|
13
|
+
KibanaPort: string;
|
|
14
|
+
KibanaEntryPointURI: string;
|
|
15
|
+
ReportElasticSearchHealth: boolean;
|
|
16
|
+
ElasticSearchAddresses: string;
|
|
17
|
+
ElasticSearchPort: string;
|
|
18
|
+
ReportLogStashHealth: boolean;
|
|
19
|
+
LogStashAddress: string;
|
|
20
|
+
LogStashPort: string;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
export interface ws_elkPingRequest {
|
|
24
|
+
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface ws_elkPingResponse {
|
|
28
|
+
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export class ElkServiceBase extends Service {
|
|
34
|
+
|
|
35
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
36
|
+
super(optsConnection, "ws_elk", "1");
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
GetConfigDetails(request: WsElk.GetConfigDetailsRequest): Promise<WsElk.GetConfigDetailsResponse> {
|
|
40
|
+
return this._connection.send("GetConfigDetails", request);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
Ping(request: WsElk.ws_elkPingRequest): Promise<WsElk.ws_elkPingResponse> {
|
|
44
|
+
return this._connection.send("Ping", request);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
}
|
|
@@ -1,83 +1,83 @@
|
|
|
1
|
-
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
-
import { Service } from "../../../../espConnection";
|
|
3
|
-
|
|
4
|
-
type dateTime = string;
|
|
5
|
-
type unsignedInt = number;
|
|
6
|
-
type long = number;
|
|
7
|
-
|
|
8
|
-
export enum LogAccessType {
|
|
9
|
-
All = 0,
|
|
10
|
-
ByJobIdID = 1,
|
|
11
|
-
ByComponent = 2,
|
|
12
|
-
ByLogType = 3,
|
|
13
|
-
ByTargetAudience = 4
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
export namespace WsLogaccess {
|
|
17
|
-
|
|
18
|
-
export interface GetLogAccessInfoRequest {
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
export interface GetLogAccessInfoResponse {
|
|
23
|
-
RemoteLogManagerType: string;
|
|
24
|
-
RemoteLogManagerConnectionString: string;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export interface Range {
|
|
28
|
-
StartDate: dateTime;
|
|
29
|
-
EndDate: dateTime;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export interface Columns {
|
|
33
|
-
Item: string[];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface GetLogsRequest {
|
|
37
|
-
LogCategory?: LogAccessType;
|
|
38
|
-
SearchByValue?: string;
|
|
39
|
-
Range?: {
|
|
40
|
-
StartDate?: dateTime;
|
|
41
|
-
EndDate?: dateTime;
|
|
42
|
-
};
|
|
43
|
-
LogLineLimit?: unsignedInt;
|
|
44
|
-
LogLineStartFrom?: long;
|
|
45
|
-
Columns?: {
|
|
46
|
-
Item?: string[];
|
|
47
|
-
};
|
|
48
|
-
Format?: string;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export interface GetLogsResponse {
|
|
52
|
-
LogLines: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface ws_logaccessPingRequest {
|
|
56
|
-
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export interface ws_logaccessPingResponse {
|
|
60
|
-
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
export class LogaccessServiceBase extends Service {
|
|
66
|
-
|
|
67
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
68
|
-
super(optsConnection, "ws_logaccess", "1");
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse> {
|
|
72
|
-
return this._connection.send("GetLogAccessInfo", request);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse> {
|
|
76
|
-
return this._connection.send("GetLogs", request);
|
|
77
|
-
}
|
|
78
|
-
|
|
79
|
-
Ping(request: WsLogaccess.ws_logaccessPingRequest): Promise<WsLogaccess.ws_logaccessPingResponse> {
|
|
80
|
-
return this._connection.send("Ping", request);
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
}
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
|
|
4
|
+
type dateTime = string;
|
|
5
|
+
type unsignedInt = number;
|
|
6
|
+
type long = number;
|
|
7
|
+
|
|
8
|
+
export enum LogAccessType {
|
|
9
|
+
All = 0,
|
|
10
|
+
ByJobIdID = 1,
|
|
11
|
+
ByComponent = 2,
|
|
12
|
+
ByLogType = 3,
|
|
13
|
+
ByTargetAudience = 4
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export namespace WsLogaccess {
|
|
17
|
+
|
|
18
|
+
export interface GetLogAccessInfoRequest {
|
|
19
|
+
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
export interface GetLogAccessInfoResponse {
|
|
23
|
+
RemoteLogManagerType: string;
|
|
24
|
+
RemoteLogManagerConnectionString: string;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export interface Range {
|
|
28
|
+
StartDate: dateTime;
|
|
29
|
+
EndDate: dateTime;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface Columns {
|
|
33
|
+
Item: string[];
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export interface GetLogsRequest {
|
|
37
|
+
LogCategory?: LogAccessType;
|
|
38
|
+
SearchByValue?: string;
|
|
39
|
+
Range?: {
|
|
40
|
+
StartDate?: dateTime;
|
|
41
|
+
EndDate?: dateTime;
|
|
42
|
+
};
|
|
43
|
+
LogLineLimit?: unsignedInt;
|
|
44
|
+
LogLineStartFrom?: long;
|
|
45
|
+
Columns?: {
|
|
46
|
+
Item?: string[];
|
|
47
|
+
};
|
|
48
|
+
Format?: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export interface GetLogsResponse {
|
|
52
|
+
LogLines: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface ws_logaccessPingRequest {
|
|
56
|
+
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface ws_logaccessPingResponse {
|
|
60
|
+
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class LogaccessServiceBase extends Service {
|
|
66
|
+
|
|
67
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
68
|
+
super(optsConnection, "ws_logaccess", "1");
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse> {
|
|
72
|
+
return this._connection.send("GetLogAccessInfo", request);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse> {
|
|
76
|
+
return this._connection.send("GetLogs", request);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
Ping(request: WsLogaccess.ws_logaccessPingRequest): Promise<WsLogaccess.ws_logaccessPingResponse> {
|
|
80
|
+
return this._connection.send("Ping", request);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
}
|
|
@@ -1,161 +1,161 @@
|
|
|
1
|
-
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
-
import { Service } from "../../../../espConnection";
|
|
3
|
-
|
|
4
|
-
export namespace WsLogaccess {
|
|
5
|
-
|
|
6
|
-
type dateTime = string;
|
|
7
|
-
type unsignedInt = number;
|
|
8
|
-
type long = number;
|
|
9
|
-
|
|
10
|
-
export enum LogAccessType {
|
|
11
|
-
All = 0,
|
|
12
|
-
ByJobIdID = 1,
|
|
13
|
-
ByComponent = 2,
|
|
14
|
-
ByLogType = 3,
|
|
15
|
-
ByTargetAudience = 4,
|
|
16
|
-
BySourceInstance = 5,
|
|
17
|
-
BySourceNode = 6,
|
|
18
|
-
ByFieldName = 7
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
export enum LogAccessFilterOperator {
|
|
22
|
-
NONE = 0,
|
|
23
|
-
AND = 1,
|
|
24
|
-
OR = 2
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
export enum LogSelectColumnMode {
|
|
28
|
-
MIN = 0,
|
|
29
|
-
DEFAULT = 1,
|
|
30
|
-
ALL = 2,
|
|
31
|
-
CUSTOM = 3
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
export interface GetLogAccessInfoRequest {
|
|
35
|
-
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export interface GetLogAccessInfoResponse {
|
|
39
|
-
RemoteLogManagerType: string;
|
|
40
|
-
RemoteLogManagerConnectionString: string;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface leftFilter {
|
|
44
|
-
LogCategory: LogAccessType;
|
|
45
|
-
SearchByValue: string;
|
|
46
|
-
SearchField: string;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export interface rightFilter {
|
|
50
|
-
LogCategory: LogAccessType;
|
|
51
|
-
SearchByValue: string;
|
|
52
|
-
SearchField: string;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export interface rightBinaryFilter {
|
|
56
|
-
BinaryLogFilter: BinaryLogFilter[];
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export interface BinaryLogFilter {
|
|
60
|
-
leftFilter: leftFilter;
|
|
61
|
-
leftBinaryFilter: leftBinaryFilter;
|
|
62
|
-
Operator: LogAccessFilterOperator;
|
|
63
|
-
rightFilter: {
|
|
64
|
-
LogCategory: LogAccessType;
|
|
65
|
-
SearchByValue: string;
|
|
66
|
-
SearchField: string;
|
|
67
|
-
};
|
|
68
|
-
rightBinaryFilter: {
|
|
69
|
-
BinaryLogFilter: BinaryLogFilter[];
|
|
70
|
-
};
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
export interface leftBinaryFilter {
|
|
74
|
-
BinaryLogFilter: BinaryLogFilter[];
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
export interface Filter {
|
|
78
|
-
leftFilter: {
|
|
79
|
-
LogCategory: LogAccessType;
|
|
80
|
-
SearchByValue: string;
|
|
81
|
-
SearchField: string;
|
|
82
|
-
};
|
|
83
|
-
leftBinaryFilter: {
|
|
84
|
-
BinaryLogFilter: BinaryLogFilter[];
|
|
85
|
-
};
|
|
86
|
-
Operator: LogAccessFilterOperator;
|
|
87
|
-
rightFilter: rightFilter;
|
|
88
|
-
rightBinaryFilter: rightBinaryFilter;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
export interface Range {
|
|
92
|
-
StartDate: dateTime;
|
|
93
|
-
EndDate: dateTime;
|
|
94
|
-
}
|
|
95
|
-
|
|
96
|
-
export interface Columns {
|
|
97
|
-
Item: string[];
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
export interface GetLogsRequest {
|
|
101
|
-
Filter?: {
|
|
102
|
-
leftFilter?: {
|
|
103
|
-
LogCategory?: LogAccessType;
|
|
104
|
-
SearchByValue?: string;
|
|
105
|
-
SearchField?: string;
|
|
106
|
-
};
|
|
107
|
-
leftBinaryFilter?: {
|
|
108
|
-
BinaryLogFilter?: BinaryLogFilter[];
|
|
109
|
-
};
|
|
110
|
-
Operator?: LogAccessFilterOperator;
|
|
111
|
-
rightFilter?: rightFilter;
|
|
112
|
-
rightBinaryFilter?: rightBinaryFilter;
|
|
113
|
-
};
|
|
114
|
-
Range?: {
|
|
115
|
-
StartDate?: dateTime;
|
|
116
|
-
EndDate?: dateTime;
|
|
117
|
-
};
|
|
118
|
-
LogLineLimit?: unsignedInt;
|
|
119
|
-
LogLineStartFrom?: long;
|
|
120
|
-
SelectColumnMode?: LogSelectColumnMode;
|
|
121
|
-
Columns?: {
|
|
122
|
-
Item?: string[];
|
|
123
|
-
};
|
|
124
|
-
Format?: string;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
export interface GetLogsResponse {
|
|
128
|
-
LogLines: string;
|
|
129
|
-
LogLineCount: unsignedInt;
|
|
130
|
-
TotalLogLinesAvailable: unsignedInt;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
export interface ws_logaccessPingRequest {
|
|
134
|
-
|
|
135
|
-
}
|
|
136
|
-
|
|
137
|
-
export interface ws_logaccessPingResponse {
|
|
138
|
-
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
export class LogaccessServiceBase extends Service {
|
|
144
|
-
|
|
145
|
-
constructor(optsConnection: IOptions | IConnection) {
|
|
146
|
-
super(optsConnection, "ws_logaccess", "1.02");
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse> {
|
|
150
|
-
return this._connection.send("GetLogAccessInfo", request);
|
|
151
|
-
}
|
|
152
|
-
|
|
153
|
-
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse> {
|
|
154
|
-
return this._connection.send("GetLogs", request);
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
Ping(request: WsLogaccess.ws_logaccessPingRequest): Promise<WsLogaccess.ws_logaccessPingResponse> {
|
|
158
|
-
return this._connection.send("Ping", request);
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
}
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
|
|
4
|
+
export namespace WsLogaccess {
|
|
5
|
+
|
|
6
|
+
type dateTime = string;
|
|
7
|
+
type unsignedInt = number;
|
|
8
|
+
type long = number;
|
|
9
|
+
|
|
10
|
+
export enum LogAccessType {
|
|
11
|
+
All = 0,
|
|
12
|
+
ByJobIdID = 1,
|
|
13
|
+
ByComponent = 2,
|
|
14
|
+
ByLogType = 3,
|
|
15
|
+
ByTargetAudience = 4,
|
|
16
|
+
BySourceInstance = 5,
|
|
17
|
+
BySourceNode = 6,
|
|
18
|
+
ByFieldName = 7
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
export enum LogAccessFilterOperator {
|
|
22
|
+
NONE = 0,
|
|
23
|
+
AND = 1,
|
|
24
|
+
OR = 2
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export enum LogSelectColumnMode {
|
|
28
|
+
MIN = 0,
|
|
29
|
+
DEFAULT = 1,
|
|
30
|
+
ALL = 2,
|
|
31
|
+
CUSTOM = 3
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
export interface GetLogAccessInfoRequest {
|
|
35
|
+
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export interface GetLogAccessInfoResponse {
|
|
39
|
+
RemoteLogManagerType: string;
|
|
40
|
+
RemoteLogManagerConnectionString: string;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export interface leftFilter {
|
|
44
|
+
LogCategory: LogAccessType;
|
|
45
|
+
SearchByValue: string;
|
|
46
|
+
SearchField: string;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export interface rightFilter {
|
|
50
|
+
LogCategory: LogAccessType;
|
|
51
|
+
SearchByValue: string;
|
|
52
|
+
SearchField: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface rightBinaryFilter {
|
|
56
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface BinaryLogFilter {
|
|
60
|
+
leftFilter: leftFilter;
|
|
61
|
+
leftBinaryFilter: leftBinaryFilter;
|
|
62
|
+
Operator: LogAccessFilterOperator;
|
|
63
|
+
rightFilter: {
|
|
64
|
+
LogCategory: LogAccessType;
|
|
65
|
+
SearchByValue: string;
|
|
66
|
+
SearchField: string;
|
|
67
|
+
};
|
|
68
|
+
rightBinaryFilter: {
|
|
69
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export interface leftBinaryFilter {
|
|
74
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
export interface Filter {
|
|
78
|
+
leftFilter: {
|
|
79
|
+
LogCategory: LogAccessType;
|
|
80
|
+
SearchByValue: string;
|
|
81
|
+
SearchField: string;
|
|
82
|
+
};
|
|
83
|
+
leftBinaryFilter: {
|
|
84
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
85
|
+
};
|
|
86
|
+
Operator: LogAccessFilterOperator;
|
|
87
|
+
rightFilter: rightFilter;
|
|
88
|
+
rightBinaryFilter: rightBinaryFilter;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export interface Range {
|
|
92
|
+
StartDate: dateTime;
|
|
93
|
+
EndDate: dateTime;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
export interface Columns {
|
|
97
|
+
Item: string[];
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
export interface GetLogsRequest {
|
|
101
|
+
Filter?: {
|
|
102
|
+
leftFilter?: {
|
|
103
|
+
LogCategory?: LogAccessType;
|
|
104
|
+
SearchByValue?: string;
|
|
105
|
+
SearchField?: string;
|
|
106
|
+
};
|
|
107
|
+
leftBinaryFilter?: {
|
|
108
|
+
BinaryLogFilter?: BinaryLogFilter[];
|
|
109
|
+
};
|
|
110
|
+
Operator?: LogAccessFilterOperator;
|
|
111
|
+
rightFilter?: rightFilter;
|
|
112
|
+
rightBinaryFilter?: rightBinaryFilter;
|
|
113
|
+
};
|
|
114
|
+
Range?: {
|
|
115
|
+
StartDate?: dateTime;
|
|
116
|
+
EndDate?: dateTime;
|
|
117
|
+
};
|
|
118
|
+
LogLineLimit?: unsignedInt;
|
|
119
|
+
LogLineStartFrom?: long;
|
|
120
|
+
SelectColumnMode?: LogSelectColumnMode;
|
|
121
|
+
Columns?: {
|
|
122
|
+
Item?: string[];
|
|
123
|
+
};
|
|
124
|
+
Format?: string;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
export interface GetLogsResponse {
|
|
128
|
+
LogLines: string;
|
|
129
|
+
LogLineCount: unsignedInt;
|
|
130
|
+
TotalLogLinesAvailable: unsignedInt;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
export interface ws_logaccessPingRequest {
|
|
134
|
+
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
export interface ws_logaccessPingResponse {
|
|
138
|
+
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
export class LogaccessServiceBase extends Service {
|
|
144
|
+
|
|
145
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
146
|
+
super(optsConnection, "ws_logaccess", "1.02");
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse> {
|
|
150
|
+
return this._connection.send("GetLogAccessInfo", request);
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse> {
|
|
154
|
+
return this._connection.send("GetLogs", request);
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
Ping(request: WsLogaccess.ws_logaccessPingRequest): Promise<WsLogaccess.ws_logaccessPingResponse> {
|
|
158
|
+
return this._connection.send("Ping", request);
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
}
|