@hpcc-js/comms 2.84.3 → 2.84.5
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 +127 -164
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +207 -208
- 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 +141 -178
- 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/dfuWorkunit.js +2 -2
- package/lib-es6/ecl/dfuWorkunit.js.map +1 -1
- package/lib-es6/ecl/workunit.js +6 -1
- package/lib-es6/ecl/workunit.js.map +1 -1
- package/lib-es6/services/fileSpray.js +3 -0
- package/lib-es6/services/fileSpray.js.map +1 -1
- package/lib-es6/services/wsLogaccess.js +17 -70
- package/lib-es6/services/wsLogaccess.js.map +1 -1
- package/lib-es6/services/wsdl/ws_logaccess/v1.05/ws_logaccess.js +88 -0
- package/lib-es6/services/wsdl/ws_logaccess/v1.05/ws_logaccess.js.map +1 -0
- package/package.json +11 -11
- package/src/__package__.ts +2 -2
- package/src/ecl/dfuWorkunit.ts +4 -4
- package/src/ecl/workunit.ts +4 -0
- package/src/services/fileSpray.ts +4 -0
- package/src/services/wsLogaccess.ts +27 -80
- package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +219 -0
- package/types/__package__.d.ts +2 -2
- package/types/ecl/dfuWorkunit.d.ts +2 -2
- package/types/ecl/dfuWorkunit.d.ts.map +1 -1
- package/types/ecl/workunit.d.ts.map +1 -1
- package/types/services/fileSpray.d.ts +1 -0
- package/types/services/fileSpray.d.ts.map +1 -1
- package/types/services/wsLogaccess.d.ts +13 -11
- package/types/services/wsLogaccess.d.ts.map +1 -1
- package/types/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts +175 -0
- package/types/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts.map +1 -0
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/ecl/dfuWorkunit.d.ts +2 -2
- package/types-3.4/services/fileSpray.d.ts +1 -0
- package/types-3.4/services/wsLogaccess.d.ts +13 -11
- package/types-3.4/services/wsdl/ws_logaccess/v1.05/ws_logaccess.d.ts +175 -0
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
export declare namespace WsLogaccess {
|
|
4
|
+
type dateTime = string;
|
|
5
|
+
type unsignedInt = number;
|
|
6
|
+
type long = number;
|
|
7
|
+
enum LogColumnType {
|
|
8
|
+
global = "global",
|
|
9
|
+
workunits = "workunits",
|
|
10
|
+
components = "components",
|
|
11
|
+
audience = "audience",
|
|
12
|
+
class = "class",
|
|
13
|
+
instance = "instance",
|
|
14
|
+
node = "node",
|
|
15
|
+
message = "message",
|
|
16
|
+
logid = "logid",
|
|
17
|
+
processid = "processid",
|
|
18
|
+
threadid = "threadid",
|
|
19
|
+
timestamp = "timestamp",
|
|
20
|
+
pod = "pod"
|
|
21
|
+
}
|
|
22
|
+
enum LogColumnValueType {
|
|
23
|
+
string = "string",
|
|
24
|
+
numeric = "numeric",
|
|
25
|
+
datetime = "datetime",
|
|
26
|
+
enum = "enum"
|
|
27
|
+
}
|
|
28
|
+
enum LogAccessType {
|
|
29
|
+
All = 0,
|
|
30
|
+
ByJobID = 1,
|
|
31
|
+
ByComponent = 2,
|
|
32
|
+
ByLogType = 3,
|
|
33
|
+
ByTargetAudience = 4,
|
|
34
|
+
BySourceInstance = 5,
|
|
35
|
+
BySourceNode = 6,
|
|
36
|
+
ByFieldName = 7,
|
|
37
|
+
ByPod = 8
|
|
38
|
+
}
|
|
39
|
+
enum LogAccessFilterOperator {
|
|
40
|
+
NONE = 0,
|
|
41
|
+
AND = 1,
|
|
42
|
+
OR = 2
|
|
43
|
+
}
|
|
44
|
+
enum LogSelectColumnMode {
|
|
45
|
+
MIN = 0,
|
|
46
|
+
DEFAULT = 1,
|
|
47
|
+
ALL = 2,
|
|
48
|
+
CUSTOM = 3
|
|
49
|
+
}
|
|
50
|
+
enum SortColumType {
|
|
51
|
+
ByDate = 0,
|
|
52
|
+
ByJobID = 1,
|
|
53
|
+
ByComponent = 2,
|
|
54
|
+
ByLogType = 3,
|
|
55
|
+
ByTargetAudience = 4,
|
|
56
|
+
BySourceInstance = 5,
|
|
57
|
+
BySourceNode = 6,
|
|
58
|
+
ByFieldName = 7,
|
|
59
|
+
ByPod = 8
|
|
60
|
+
}
|
|
61
|
+
enum SortDirection {
|
|
62
|
+
ASC = 0,
|
|
63
|
+
DSC = 1
|
|
64
|
+
}
|
|
65
|
+
interface GetLogAccessInfoRequest {
|
|
66
|
+
}
|
|
67
|
+
interface EnumeratedValues {
|
|
68
|
+
Item: string[];
|
|
69
|
+
}
|
|
70
|
+
interface Column {
|
|
71
|
+
Name: string;
|
|
72
|
+
LogType: LogColumnType;
|
|
73
|
+
EnumeratedValues: {
|
|
74
|
+
Item: string[];
|
|
75
|
+
};
|
|
76
|
+
ColumnMode: LogSelectColumnMode;
|
|
77
|
+
ColumnType: LogColumnValueType;
|
|
78
|
+
}
|
|
79
|
+
interface Columns {
|
|
80
|
+
Column: Column[];
|
|
81
|
+
}
|
|
82
|
+
interface GetLogAccessInfoResponse {
|
|
83
|
+
Columns: {
|
|
84
|
+
Column: Column[];
|
|
85
|
+
};
|
|
86
|
+
RemoteLogManagerType: string;
|
|
87
|
+
RemoteLogManagerConnectionString: string;
|
|
88
|
+
SupportsResultPaging: boolean;
|
|
89
|
+
}
|
|
90
|
+
interface leftFilter {
|
|
91
|
+
LogCategory: LogAccessType;
|
|
92
|
+
SearchByValue: string;
|
|
93
|
+
SearchField: string;
|
|
94
|
+
}
|
|
95
|
+
interface rightFilter {
|
|
96
|
+
LogCategory: LogAccessType;
|
|
97
|
+
SearchByValue: string;
|
|
98
|
+
SearchField: string;
|
|
99
|
+
}
|
|
100
|
+
interface rightBinaryFilter {
|
|
101
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
102
|
+
}
|
|
103
|
+
interface BinaryLogFilter {
|
|
104
|
+
leftFilter: leftFilter;
|
|
105
|
+
leftBinaryFilter: leftBinaryFilter;
|
|
106
|
+
Operator: LogAccessFilterOperator;
|
|
107
|
+
rightFilter: {
|
|
108
|
+
LogCategory: LogAccessType;
|
|
109
|
+
SearchByValue: string;
|
|
110
|
+
SearchField: string;
|
|
111
|
+
};
|
|
112
|
+
rightBinaryFilter: {
|
|
113
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
interface leftBinaryFilter {
|
|
117
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
118
|
+
}
|
|
119
|
+
interface Filter {
|
|
120
|
+
leftFilter: leftFilter;
|
|
121
|
+
leftBinaryFilter: leftBinaryFilter;
|
|
122
|
+
Operator: LogAccessFilterOperator;
|
|
123
|
+
rightFilter: rightFilter;
|
|
124
|
+
rightBinaryFilter: rightBinaryFilter;
|
|
125
|
+
}
|
|
126
|
+
interface Range {
|
|
127
|
+
StartDate: dateTime;
|
|
128
|
+
EndDate: dateTime;
|
|
129
|
+
}
|
|
130
|
+
interface SortCondition {
|
|
131
|
+
BySortType: SortColumType;
|
|
132
|
+
ColumnName: string;
|
|
133
|
+
Direction: SortDirection;
|
|
134
|
+
}
|
|
135
|
+
interface SortBy {
|
|
136
|
+
SortCondition: SortCondition[];
|
|
137
|
+
}
|
|
138
|
+
interface GetLogsRequest {
|
|
139
|
+
Filter?: {
|
|
140
|
+
leftFilter?: leftFilter;
|
|
141
|
+
leftBinaryFilter?: leftBinaryFilter;
|
|
142
|
+
Operator?: LogAccessFilterOperator;
|
|
143
|
+
rightFilter?: rightFilter;
|
|
144
|
+
rightBinaryFilter?: rightBinaryFilter;
|
|
145
|
+
};
|
|
146
|
+
Range?: {
|
|
147
|
+
StartDate?: dateTime;
|
|
148
|
+
EndDate?: dateTime;
|
|
149
|
+
};
|
|
150
|
+
LogLineLimit?: unsignedInt;
|
|
151
|
+
LogLineStartFrom?: long;
|
|
152
|
+
SelectColumnMode?: LogSelectColumnMode;
|
|
153
|
+
Columns?: Columns;
|
|
154
|
+
Format?: string;
|
|
155
|
+
SortBy?: {
|
|
156
|
+
SortCondition?: SortCondition[];
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
interface GetLogsResponse {
|
|
160
|
+
LogLines: string;
|
|
161
|
+
LogLineCount: unsignedInt;
|
|
162
|
+
TotalLogLinesAvailable: unsignedInt;
|
|
163
|
+
}
|
|
164
|
+
interface ws_logaccessPingRequest {
|
|
165
|
+
}
|
|
166
|
+
interface ws_logaccessPingResponse {
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
export declare class LogaccessServiceBase extends Service {
|
|
170
|
+
constructor(optsConnection: IOptions | IConnection);
|
|
171
|
+
GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse>;
|
|
172
|
+
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse>;
|
|
173
|
+
Ping(request: WsLogaccess.ws_logaccessPingRequest): Promise<WsLogaccess.ws_logaccessPingResponse>;
|
|
174
|
+
}
|
|
175
|
+
//# sourceMappingURL=ws_logaccess.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ws_logaccess.d.ts","sourceRoot":"","sources":["../../../../../src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAC/D,OAAO,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAEpD,yBAAiB,WAAW,CAAC;IAEzB,KAAY,QAAQ,GAAG,MAAM,CAAC;IAC9B,KAAY,WAAW,GAAG,M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CAAC,cAAc,GAAG,OAAO,CAAC,WAAW,CAAC,eAAe,CAAC;IAIlF,IAAI,CAAC,OAAO,EAAE,WAAW,CAAC,uBAAuB,GAAG,OAAO,CAAC,WAAW,CAAC,wBAAwB,CAAC;CAIpG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export declare const PKG_VERSION = "2.84.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.84.5";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.31";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
|
@@ -88,10 +88,10 @@ export declare class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWork
|
|
|
88
88
|
abort(): Promise<FileSpray.AbortDFUWorkunitResponse>;
|
|
89
89
|
delete(): Promise<FileSpray.DFUWorkunitsActionResponse>;
|
|
90
90
|
refresh(full?: boolean): Promise<this>;
|
|
91
|
-
fetchXML(callback?: void): Promise<
|
|
91
|
+
fetchXML(callback?: void): Promise<string>;
|
|
92
92
|
protected _monitor(): void;
|
|
93
93
|
protected _monitorTimeoutDuration(): number;
|
|
94
|
-
protected DFUWUFile(_request?: Partial<FileSpray.DFUWUFileRequest>): Promise<
|
|
94
|
+
protected DFUWUFile(_request?: Partial<FileSpray.DFUWUFileRequest>): Promise<string>;
|
|
95
95
|
protected DFUWUAction(actionType: FileSpray.DFUWUActions): Promise<FileSpray.DFUWorkunitsActionResponse>;
|
|
96
96
|
on(eventID: DFUWorkunitEvents, propIDorCallback: StateCallback | keyof UDFUWorkunitState, callback?: StatePropCallback): this;
|
|
97
97
|
watchUntilComplete(callback?: StateCallback): Promise<this>;
|
|
@@ -6,6 +6,7 @@ export interface UpdateDFUWorkunitEx extends UpdateDFUWorkunitMinusWU {
|
|
|
6
6
|
wu?: Partial<UpdateDFUWorkunitWU>;
|
|
7
7
|
}
|
|
8
8
|
export declare class FileSprayService extends FileSprayServiceBase {
|
|
9
|
+
DFUWUFileEx(request: FileSpray.DFUWUFileRequest): Promise<string>;
|
|
9
10
|
SprayFixedEx(request: Partial<FileSpray.SprayFixed>): Promise<FileSpray.SprayFixedResponse>;
|
|
10
11
|
SprayVariableEx(request: Partial<FileSpray.SprayVariable>): Promise<FileSpray.SprayResponse>;
|
|
11
12
|
DesprayEx(request: Partial<FileSpray.Despray>): Promise<FileSpray.DesprayResponse>;
|
|
@@ -1,15 +1,16 @@
|
|
|
1
|
-
import { LogaccessServiceBase, WsLogaccess } from "./wsdl/ws_logaccess/v1.
|
|
1
|
+
import { LogaccessServiceBase, WsLogaccess } from "./wsdl/ws_logaccess/v1.05/ws_logaccess";
|
|
2
2
|
export { WsLogaccess };
|
|
3
3
|
export interface GetLogsExRequest {
|
|
4
4
|
audience?: string;
|
|
5
5
|
class?: string[];
|
|
6
|
-
|
|
6
|
+
workunits?: string;
|
|
7
7
|
message?: string;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
processid?: string;
|
|
9
|
+
logid?: string;
|
|
10
|
+
threadid?: string;
|
|
11
11
|
timestamp?: string;
|
|
12
|
-
|
|
12
|
+
components?: string;
|
|
13
|
+
instance?: string;
|
|
13
14
|
StartDate?: Date;
|
|
14
15
|
EndDate?: Date;
|
|
15
16
|
LogLineStartFrom: number;
|
|
@@ -32,13 +33,14 @@ export declare const enum TargetAudience {
|
|
|
32
33
|
export interface LogLine {
|
|
33
34
|
audience?: string;
|
|
34
35
|
class?: string;
|
|
35
|
-
|
|
36
|
+
workunits?: string;
|
|
36
37
|
message?: string;
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
processid?: number;
|
|
39
|
+
logid?: string;
|
|
40
|
+
threadid?: number;
|
|
40
41
|
timestamp?: string;
|
|
41
|
-
|
|
42
|
+
components?: string;
|
|
43
|
+
instance?: string;
|
|
42
44
|
}
|
|
43
45
|
export interface GetLogsExResponse {
|
|
44
46
|
lines: LogLine[];
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
export declare namespace WsLogaccess {
|
|
4
|
+
type dateTime = string;
|
|
5
|
+
type unsignedInt = number;
|
|
6
|
+
type long = number;
|
|
7
|
+
enum LogColumnType {
|
|
8
|
+
global = "global",
|
|
9
|
+
workunits = "workunits",
|
|
10
|
+
components = "components",
|
|
11
|
+
audience = "audience",
|
|
12
|
+
class = "class",
|
|
13
|
+
instance = "instance",
|
|
14
|
+
node = "node",
|
|
15
|
+
message = "message",
|
|
16
|
+
logid = "logid",
|
|
17
|
+
processid = "processid",
|
|
18
|
+
threadid = "threadid",
|
|
19
|
+
timestamp = "timestamp",
|
|
20
|
+
pod = "pod"
|
|
21
|
+
}
|
|
22
|
+
enum LogColumnValueType {
|
|
23
|
+
string = "string",
|
|
24
|
+
numeric = "numeric",
|
|
25
|
+
datetime = "datetime",
|
|
26
|
+
enum = "enum"
|
|
27
|
+
}
|
|
28
|
+
enum LogAccessType {
|
|
29
|
+
All = 0,
|
|
30
|
+
ByJobID = 1,
|
|
31
|
+
ByComponent = 2,
|
|
32
|
+
ByLogType = 3,
|
|
33
|
+
ByTargetAudience = 4,
|
|
34
|
+
BySourceInstance = 5,
|
|
35
|
+
BySourceNode = 6,
|
|
36
|
+
ByFieldName = 7,
|
|
37
|
+
ByPod = 8
|
|
38
|
+
}
|
|
39
|
+
enum LogAccessFilterOperator {
|
|
40
|
+
NONE = 0,
|
|
41
|
+
AND = 1,
|
|
42
|
+
OR = 2
|
|
43
|
+
}
|
|
44
|
+
enum LogSelectColumnMode {
|
|
45
|
+
MIN = 0,
|
|
46
|
+
DEFAULT = 1,
|
|
47
|
+
ALL = 2,
|
|
48
|
+
CUSTOM = 3
|
|
49
|
+
}
|
|
50
|
+
enum SortColumType {
|
|
51
|
+
ByDate = 0,
|
|
52
|
+
ByJobID = 1,
|
|
53
|
+
ByComponent = 2,
|
|
54
|
+
ByLogType = 3,
|
|
55
|
+
ByTargetAudience = 4,
|
|
56
|
+
BySourceInstance = 5,
|
|
57
|
+
BySourceNode = 6,
|
|
58
|
+
ByFieldName = 7,
|
|
59
|
+
ByPod = 8
|
|
60
|
+
}
|
|
61
|
+
enum SortDirection {
|
|
62
|
+
ASC = 0,
|
|
63
|
+
DSC = 1
|
|
64
|
+
}
|
|
65
|
+
interface GetLogAccessInfoRequest {
|
|
66
|
+
}
|
|
67
|
+
interface EnumeratedValues {
|
|
68
|
+
Item: string[];
|
|
69
|
+
}
|
|
70
|
+
interface Column {
|
|
71
|
+
Name: string;
|
|
72
|
+
LogType: LogColumnType;
|
|
73
|
+
EnumeratedValues: {
|
|
74
|
+
Item: string[];
|
|
75
|
+
};
|
|
76
|
+
ColumnMode: LogSelectColumnMode;
|
|
77
|
+
ColumnType: LogColumnValueType;
|
|
78
|
+
}
|
|
79
|
+
interface Columns {
|
|
80
|
+
Column: Column[];
|
|
81
|
+
}
|
|
82
|
+
interface GetLogAccessInfoResponse {
|
|
83
|
+
Columns: {
|
|
84
|
+
Column: Column[];
|
|
85
|
+
};
|
|
86
|
+
RemoteLogManagerType: string;
|
|
87
|
+
RemoteLogManagerConnectionString: string;
|
|
88
|
+
SupportsResultPaging: boolean;
|
|
89
|
+
}
|
|
90
|
+
interface leftFilter {
|
|
91
|
+
LogCategory: LogAccessType;
|
|
92
|
+
SearchByValue: string;
|
|
93
|
+
SearchField: string;
|
|
94
|
+
}
|
|
95
|
+
interface rightFilter {
|
|
96
|
+
LogCategory: LogAccessType;
|
|
97
|
+
SearchByValue: string;
|
|
98
|
+
SearchField: string;
|
|
99
|
+
}
|
|
100
|
+
interface rightBinaryFilter {
|
|
101
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
102
|
+
}
|
|
103
|
+
interface BinaryLogFilter {
|
|
104
|
+
leftFilter: leftFilter;
|
|
105
|
+
leftBinaryFilter: leftBinaryFilter;
|
|
106
|
+
Operator: LogAccessFilterOperator;
|
|
107
|
+
rightFilter: {
|
|
108
|
+
LogCategory: LogAccessType;
|
|
109
|
+
SearchByValue: string;
|
|
110
|
+
SearchField: string;
|
|
111
|
+
};
|
|
112
|
+
rightBinaryFilter: {
|
|
113
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
114
|
+
};
|
|
115
|
+
}
|
|
116
|
+
interface leftBinaryFilter {
|
|
117
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
118
|
+
}
|
|
119
|
+
interface Filter {
|
|
120
|
+
leftFilter: leftFilter;
|
|
121
|
+
leftBinaryFilter: leftBinaryFilter;
|
|
122
|
+
Operator: LogAccessFilterOperator;
|
|
123
|
+
rightFilter: rightFilter;
|
|
124
|
+
rightBinaryFilter: rightBinaryFilter;
|
|
125
|
+
}
|
|
126
|
+
interface Range {
|
|
127
|
+
StartDate: dateTime;
|
|
128
|
+
EndDate: dateTime;
|
|
129
|
+
}
|
|
130
|
+
interface SortCondition {
|
|
131
|
+
BySortType: SortColumType;
|
|
132
|
+
ColumnName: string;
|
|
133
|
+
Direction: SortDirection;
|
|
134
|
+
}
|
|
135
|
+
interface SortBy {
|
|
136
|
+
SortCondition: SortCondition[];
|
|
137
|
+
}
|
|
138
|
+
interface GetLogsRequest {
|
|
139
|
+
Filter?: {
|
|
140
|
+
leftFilter?: leftFilter;
|
|
141
|
+
leftBinaryFilter?: leftBinaryFilter;
|
|
142
|
+
Operator?: LogAccessFilterOperator;
|
|
143
|
+
rightFilter?: rightFilter;
|
|
144
|
+
rightBinaryFilter?: rightBinaryFilter;
|
|
145
|
+
};
|
|
146
|
+
Range?: {
|
|
147
|
+
StartDate?: dateTime;
|
|
148
|
+
EndDate?: dateTime;
|
|
149
|
+
};
|
|
150
|
+
LogLineLimit?: unsignedInt;
|
|
151
|
+
LogLineStartFrom?: long;
|
|
152
|
+
SelectColumnMode?: LogSelectColumnMode;
|
|
153
|
+
Columns?: Columns;
|
|
154
|
+
Format?: string;
|
|
155
|
+
SortBy?: {
|
|
156
|
+
SortCondition?: SortCondition[];
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
interface GetLogsResponse {
|
|
160
|
+
LogLines: string;
|
|
161
|
+
LogLineCount: unsignedInt;
|
|
162
|
+
TotalLogLinesAvailable: unsignedInt;
|
|
163
|
+
}
|
|
164
|
+
interface ws_logaccessPingRequest {
|
|
165
|
+
}
|
|
166
|
+
interface ws_logaccessPingResponse {
|
|
167
|
+
}
|
|
168
|
+
}
|
|
169
|
+
export declare class LogaccessServiceBase extends Service {
|
|
170
|
+
constructor(optsConnection: IOptions | IConnection);
|
|
171
|
+
GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse>;
|
|
172
|
+
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse>;
|
|
173
|
+
Ping(request: WsLogaccess.ws_logaccessPingRequest): Promise<WsLogaccess.ws_logaccessPingResponse>;
|
|
174
|
+
}
|
|
175
|
+
//# sourceMappingURL=ws_logaccess.d.ts.map
|