@hpcc-js/comms 2.82.0 → 2.82.2
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 +644 -47
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +645 -46
- 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 +645 -46
- 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 +528 -0
- package/lib-es6/ecl/dfuWorkunit.js.map +1 -0
- package/lib-es6/ecl/workunit.js +2 -2
- package/lib-es6/ecl/workunit.js.map +1 -1
- package/lib-es6/index-common.js +1 -0
- package/lib-es6/index-common.js.map +1 -1
- package/lib-es6/services/fileSpray.js +9 -0
- package/lib-es6/services/fileSpray.js.map +1 -1
- package/lib-es6/services/wsLogaccess.js +75 -27
- package/lib-es6/services/wsLogaccess.js.map +1 -1
- package/lib-es6/services/wsdl/WsWorkunits/v1.95/WsWorkunits.js +3 -0
- package/lib-es6/services/wsdl/WsWorkunits/v1.95/WsWorkunits.js.map +1 -1
- package/lib-es6/services/wsdl/ws_logaccess/v1.04/ws_logaccess.js +85 -0
- package/lib-es6/services/wsdl/ws_logaccess/v1.04/ws_logaccess.js.map +1 -0
- package/package.json +6 -6
- package/src/__package__.ts +2 -2
- package/src/ecl/dfuWorkunit.ts +306 -0
- package/src/ecl/workunit.ts +2 -2
- package/src/index-common.ts +1 -0
- package/src/services/fileSpray.ts +108 -0
- package/src/services/wsLogaccess.ts +70 -26
- package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +106 -60
- package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +215 -0
- package/types/__package__.d.ts +2 -2
- package/types/connection.d.ts +5 -5
- package/types/connection.d.ts.map +1 -1
- package/types/ecl/activity.d.ts +3 -3
- package/types/ecl/activity.d.ts.map +1 -1
- package/types/ecl/dfuWorkunit.d.ts +95 -0
- package/types/ecl/dfuWorkunit.d.ts.map +1 -0
- package/types/ecl/result.d.ts +3 -3
- package/types/ecl/result.d.ts.map +1 -1
- package/types/ecl/targetCluster.d.ts +2 -2
- package/types/ecl/targetCluster.d.ts.map +1 -1
- package/types/ecl/workunit.d.ts +4 -4
- package/types/ecl/workunit.d.ts.map +1 -1
- package/types/espConnection.d.ts +1 -1
- package/types/espConnection.d.ts.map +1 -1
- package/types/index-common.d.ts +1 -0
- package/types/index-common.d.ts.map +1 -1
- package/types/services/fileSpray.d.ts +95 -0
- package/types/services/fileSpray.d.ts.map +1 -1
- package/types/services/wsDFU.d.ts +1 -1
- package/types/services/wsDFU.d.ts.map +1 -1
- package/types/services/wsEcl.d.ts +5 -5
- package/types/services/wsEcl.d.ts.map +1 -1
- package/types/services/wsLogaccess.d.ts +3 -3
- package/types/services/wsLogaccess.d.ts.map +1 -1
- package/types/services/wsdl/FileSpray/v1.23/FileSpray.d.ts +5 -5
- package/types/services/wsdl/FileSpray/v1.23/FileSpray.d.ts.map +1 -1
- package/types/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts +2 -2
- package/types/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts.map +1 -1
- package/types/services/wsdl/WsDfu/v1.62/WsDfu.d.ts +4 -4
- package/types/services/wsdl/WsDfu/v1.62/WsDfu.d.ts.map +1 -1
- package/types/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts +2 -2
- package/types/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts.map +1 -1
- package/types/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts +1 -1
- package/types/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts.map +1 -1
- package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts +1 -1
- package/types/services/wsdl/WsResources/v1.01/WsResources.d.ts.map +1 -1
- package/types/services/wsdl/WsSMC/v1.24/WsSMC.d.ts +3 -3
- package/types/services/wsdl/WsSMC/v1.24/WsSMC.d.ts.map +1 -1
- package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +4 -4
- package/types/services/wsdl/WsTopology/v1.31/WsTopology.d.ts.map +1 -1
- package/types/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts +8 -8
- package/types/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts.map +1 -1
- package/types/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts +92 -54
- package/types/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts.map +1 -1
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts +4 -4
- package/types/services/wsdl/ws_access/v1.16/ws_access.d.ts.map +1 -1
- package/types/services/wsdl/ws_account/v1.05/ws_account.d.ts +1 -1
- package/types/services/wsdl/ws_account/v1.05/ws_account.d.ts.map +1 -1
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +1 -1
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts.map +1 -1
- package/types/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts +3 -3
- package/types/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts.map +1 -1
- package/types/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts +171 -0
- package/types/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts.map +1 -0
- package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +3 -3
- package/types/services/wsdl/ws_machine/v1.17/ws_machine.d.ts.map +1 -1
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +1 -1
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts.map +1 -1
- package/types-3.4/__package__.d.ts +2 -2
- package/types-3.4/connection.d.ts +5 -5
- package/types-3.4/ecl/activity.d.ts +3 -3
- package/types-3.4/ecl/dfuWorkunit.d.ts +95 -0
- package/types-3.4/ecl/result.d.ts +3 -3
- package/types-3.4/ecl/targetCluster.d.ts +2 -2
- package/types-3.4/ecl/workunit.d.ts +4 -4
- package/types-3.4/espConnection.d.ts +1 -1
- package/types-3.4/index-common.d.ts +1 -0
- package/types-3.4/services/fileSpray.d.ts +95 -0
- package/types-3.4/services/wsDFU.d.ts +1 -1
- package/types-3.4/services/wsEcl.d.ts +5 -5
- package/types-3.4/services/wsLogaccess.d.ts +3 -3
- package/types-3.4/services/wsdl/FileSpray/v1.23/FileSpray.d.ts +5 -5
- package/types-3.4/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.d.ts +2 -2
- package/types-3.4/services/wsdl/WsDfu/v1.62/WsDfu.d.ts +4 -4
- package/types-3.4/services/wsdl/WsFileIO/v1.01/WsFileIO.d.ts +2 -2
- package/types-3.4/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.d.ts +1 -1
- package/types-3.4/services/wsdl/WsResources/v1.01/WsResources.d.ts +1 -1
- package/types-3.4/services/wsdl/WsSMC/v1.24/WsSMC.d.ts +3 -3
- package/types-3.4/services/wsdl/WsTopology/v1.31/WsTopology.d.ts +4 -4
- package/types-3.4/services/wsdl/WsWorkunits/v1.88/WsWorkunits.d.ts +8 -8
- package/types-3.4/services/wsdl/WsWorkunits/v1.95/WsWorkunits.d.ts +92 -54
- package/types-3.4/services/wsdl/ws_access/v1.16/ws_access.d.ts +4 -4
- package/types-3.4/services/wsdl/ws_account/v1.05/ws_account.d.ts +1 -1
- package/types-3.4/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +1 -1
- package/types-3.4/services/wsdl/ws_logaccess/v1/ws_logaccess.d.ts +3 -3
- package/types-3.4/services/wsdl/ws_logaccess/v1.04/ws_logaccess.d.ts +171 -0
- package/types-3.4/services/wsdl/ws_machine/v1.17/ws_machine.d.ts +3 -3
- package/types-3.4/services/wsdl/wsstore/v1.02/wsstore.d.ts +1 -1
|
@@ -4,12 +4,12 @@ import { Service } from "../../../../espConnection";
|
|
|
4
4
|
export namespace WsWorkunits {
|
|
5
5
|
|
|
6
6
|
export type int = number;
|
|
7
|
+
export type double = number;
|
|
8
|
+
export type long = number;
|
|
9
|
+
export type nonNegativeInteger = number;
|
|
7
10
|
export type unsignedInt = number;
|
|
8
11
|
export type base64Binary = string;
|
|
9
|
-
export type nonNegativeInteger = number;
|
|
10
12
|
export type dateTime = string;
|
|
11
|
-
export type long = number;
|
|
12
|
-
export type double = number;
|
|
13
13
|
export type integer = number;
|
|
14
14
|
|
|
15
15
|
export enum ECLWUActions {
|
|
@@ -217,6 +217,100 @@ export namespace WsWorkunits {
|
|
|
217
217
|
Result: string;
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
+
export interface PropertyOptions {
|
|
221
|
+
IncludeName: boolean;
|
|
222
|
+
IncludeRawValue: boolean;
|
|
223
|
+
IncludeFormatted: boolean;
|
|
224
|
+
IncludeMeasure: boolean;
|
|
225
|
+
IncludeCreator: boolean;
|
|
226
|
+
IncludeCreatorType: boolean;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
export interface WUAnalyseHotspot {
|
|
230
|
+
Wuid: string;
|
|
231
|
+
RootScope: string;
|
|
232
|
+
OptOnlyActive: boolean;
|
|
233
|
+
OnlyCriticalPath: boolean;
|
|
234
|
+
IncludeProperties: boolean;
|
|
235
|
+
IncludeStatistics: boolean;
|
|
236
|
+
ThresholdPercent: double;
|
|
237
|
+
PropertyOptions: {
|
|
238
|
+
IncludeName: boolean;
|
|
239
|
+
IncludeRawValue: boolean;
|
|
240
|
+
IncludeFormatted: boolean;
|
|
241
|
+
IncludeMeasure: boolean;
|
|
242
|
+
IncludeCreator: boolean;
|
|
243
|
+
IncludeCreatorType: boolean;
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
export interface Property {
|
|
248
|
+
Name: string;
|
|
249
|
+
RawValue: string;
|
|
250
|
+
Formatted: string;
|
|
251
|
+
Measure: string;
|
|
252
|
+
Creator: string;
|
|
253
|
+
CreatorType: string;
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
export interface Properties {
|
|
257
|
+
Property: Property[];
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
export interface Note {
|
|
261
|
+
Source: string;
|
|
262
|
+
Message: string;
|
|
263
|
+
ErrorCode: nonNegativeInteger;
|
|
264
|
+
Severity: string;
|
|
265
|
+
Cost: nonNegativeInteger;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
export interface Notes {
|
|
269
|
+
Note: Note[];
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export interface Activity {
|
|
273
|
+
ScopeName: string;
|
|
274
|
+
Id: string;
|
|
275
|
+
ScopeType: string;
|
|
276
|
+
Properties: {
|
|
277
|
+
Property: Property[];
|
|
278
|
+
};
|
|
279
|
+
Notes: {
|
|
280
|
+
Note: Note[];
|
|
281
|
+
};
|
|
282
|
+
SinkActivity: string;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export interface Activities {
|
|
286
|
+
Activity: Activity[];
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
export interface Dependency {
|
|
290
|
+
ScopeName: string;
|
|
291
|
+
Id: string;
|
|
292
|
+
ScopeType: string;
|
|
293
|
+
Properties: Properties;
|
|
294
|
+
Notes: Notes;
|
|
295
|
+
SinkActivity: string;
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
export interface Dependencies {
|
|
299
|
+
Dependency: Dependency[];
|
|
300
|
+
}
|
|
301
|
+
|
|
302
|
+
export interface WUAnalyseHotspotResponse {
|
|
303
|
+
Exceptions: Exceptions;
|
|
304
|
+
RootScope: string;
|
|
305
|
+
RootTime: long;
|
|
306
|
+
Activities: {
|
|
307
|
+
Activity: Activity[];
|
|
308
|
+
};
|
|
309
|
+
Dependencies: {
|
|
310
|
+
Dependency: Dependency[];
|
|
311
|
+
};
|
|
312
|
+
}
|
|
313
|
+
|
|
220
314
|
export interface WUCDebug {
|
|
221
315
|
Wuid: string;
|
|
222
316
|
Command: string;
|
|
@@ -326,28 +420,13 @@ export namespace WsWorkunits {
|
|
|
326
420
|
ECLException: ECLException[];
|
|
327
421
|
}
|
|
328
422
|
|
|
329
|
-
export interface ECLAttribute {
|
|
330
|
-
ModuleName: string;
|
|
331
|
-
AttributeName: string;
|
|
332
|
-
IsLocked: boolean;
|
|
333
|
-
IsCheckedOut: boolean;
|
|
334
|
-
IsSandbox: boolean;
|
|
335
|
-
IsOrphaned: boolean;
|
|
336
|
-
}
|
|
337
|
-
|
|
338
|
-
export interface Dependencies {
|
|
339
|
-
ECLAttribute: ECLAttribute[];
|
|
340
|
-
}
|
|
341
|
-
|
|
342
423
|
export interface WUCompileECLResponse {
|
|
343
424
|
Exceptions: Exceptions;
|
|
344
425
|
Complexity: string;
|
|
345
426
|
Errors: {
|
|
346
427
|
ECLException: ECLException[];
|
|
347
428
|
};
|
|
348
|
-
Dependencies:
|
|
349
|
-
ECLAttribute: ECLAttribute[];
|
|
350
|
-
};
|
|
429
|
+
Dependencies: Dependencies;
|
|
351
430
|
}
|
|
352
431
|
|
|
353
432
|
export interface WUCopyLogicalFiles {
|
|
@@ -1008,10 +1087,6 @@ export namespace WsWorkunits {
|
|
|
1008
1087
|
ScopeTypes: ScopeTypes;
|
|
1009
1088
|
}
|
|
1010
1089
|
|
|
1011
|
-
export interface Properties {
|
|
1012
|
-
Property: string[];
|
|
1013
|
-
}
|
|
1014
|
-
|
|
1015
1090
|
export interface Extra {
|
|
1016
1091
|
scopeType: string;
|
|
1017
1092
|
Properties: Properties;
|
|
@@ -1030,9 +1105,7 @@ export namespace WsWorkunits {
|
|
|
1030
1105
|
AllNotes: boolean;
|
|
1031
1106
|
MinVersion: string;
|
|
1032
1107
|
Measure: string;
|
|
1033
|
-
Properties:
|
|
1034
|
-
Property: string[];
|
|
1035
|
-
};
|
|
1108
|
+
Properties: Properties;
|
|
1036
1109
|
ExtraProperties: {
|
|
1037
1110
|
Extra: Extra[];
|
|
1038
1111
|
};
|
|
@@ -1045,15 +1118,6 @@ export namespace WsWorkunits {
|
|
|
1045
1118
|
IncludeScopeType: boolean;
|
|
1046
1119
|
}
|
|
1047
1120
|
|
|
1048
|
-
export interface PropertyOptions {
|
|
1049
|
-
IncludeName: boolean;
|
|
1050
|
-
IncludeRawValue: boolean;
|
|
1051
|
-
IncludeFormatted: boolean;
|
|
1052
|
-
IncludeMeasure: boolean;
|
|
1053
|
-
IncludeCreator: boolean;
|
|
1054
|
-
IncludeCreatorType: boolean;
|
|
1055
|
-
}
|
|
1056
|
-
|
|
1057
1121
|
export interface WUDetails {
|
|
1058
1122
|
WUID: string;
|
|
1059
1123
|
ScopeFilter: {
|
|
@@ -1084,9 +1148,7 @@ export namespace WsWorkunits {
|
|
|
1084
1148
|
AllNotes: boolean;
|
|
1085
1149
|
MinVersion: string;
|
|
1086
1150
|
Measure: string;
|
|
1087
|
-
Properties:
|
|
1088
|
-
Property: string[];
|
|
1089
|
-
};
|
|
1151
|
+
Properties: Properties;
|
|
1090
1152
|
ExtraProperties: {
|
|
1091
1153
|
Extra: Extra[];
|
|
1092
1154
|
};
|
|
@@ -1098,14 +1160,7 @@ export namespace WsWorkunits {
|
|
|
1098
1160
|
IncludeId: boolean;
|
|
1099
1161
|
IncludeScopeType: boolean;
|
|
1100
1162
|
};
|
|
1101
|
-
PropertyOptions:
|
|
1102
|
-
IncludeName: boolean;
|
|
1103
|
-
IncludeRawValue: boolean;
|
|
1104
|
-
IncludeFormatted: boolean;
|
|
1105
|
-
IncludeMeasure: boolean;
|
|
1106
|
-
IncludeCreator: boolean;
|
|
1107
|
-
IncludeCreatorType: boolean;
|
|
1108
|
-
};
|
|
1163
|
+
PropertyOptions: PropertyOptions;
|
|
1109
1164
|
}
|
|
1110
1165
|
|
|
1111
1166
|
export interface WUDetailsResponse {
|
|
@@ -1123,17 +1178,6 @@ export namespace WsWorkunits {
|
|
|
1123
1178
|
Measure: string[];
|
|
1124
1179
|
}
|
|
1125
1180
|
|
|
1126
|
-
export interface Activity {
|
|
1127
|
-
Kind: unsignedInt;
|
|
1128
|
-
Name: string;
|
|
1129
|
-
IsSink: boolean;
|
|
1130
|
-
IsSource: boolean;
|
|
1131
|
-
}
|
|
1132
|
-
|
|
1133
|
-
export interface Activities {
|
|
1134
|
-
Activity: Activity[];
|
|
1135
|
-
}
|
|
1136
|
-
|
|
1137
1181
|
export interface WUDetailsMetaResponse {
|
|
1138
1182
|
Exceptions: Exceptions;
|
|
1139
1183
|
Properties: Properties;
|
|
@@ -1141,9 +1185,7 @@ export namespace WsWorkunits {
|
|
|
1141
1185
|
Measures: {
|
|
1142
1186
|
Measure: string[];
|
|
1143
1187
|
};
|
|
1144
|
-
Activities:
|
|
1145
|
-
Activity: Activity[];
|
|
1146
|
-
};
|
|
1188
|
+
Activities: Activities;
|
|
1147
1189
|
}
|
|
1148
1190
|
|
|
1149
1191
|
export interface EclDefinitions {
|
|
@@ -2724,6 +2766,10 @@ export class WorkunitsServiceBase extends Service {
|
|
|
2724
2766
|
return this._connection.send("WUAddLocalFileToWorkunit", request, "json", false, undefined, "WUAddLocalFileToWorkunitResponse");
|
|
2725
2767
|
}
|
|
2726
2768
|
|
|
2769
|
+
WUAnalyseHotspot(request: WsWorkunits.WUAnalyseHotspot): Promise<WsWorkunits.WUAnalyseHotspotResponse> {
|
|
2770
|
+
return this._connection.send("WUAnalyseHotspot", request, "json", false, undefined, "WUAnalyseHotspotResponse");
|
|
2771
|
+
}
|
|
2772
|
+
|
|
2727
2773
|
WUCDebug(request: WsWorkunits.WUCDebug): Promise<WsWorkunits.WUDebugResponse> {
|
|
2728
2774
|
return this._connection.send("WUCDebug", request, "json", false, undefined, "WUDebugResponse");
|
|
2729
2775
|
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection";
|
|
2
|
+
import { Service } from "../../../../espConnection";
|
|
3
|
+
|
|
4
|
+
export namespace WsLogaccess {
|
|
5
|
+
|
|
6
|
+
export type dateTime = string;
|
|
7
|
+
export type unsignedInt = number;
|
|
8
|
+
export type long = number;
|
|
9
|
+
|
|
10
|
+
export enum LogColumnType {
|
|
11
|
+
global = "global",
|
|
12
|
+
workunits = "workunits",
|
|
13
|
+
components = "components",
|
|
14
|
+
audience = "audience",
|
|
15
|
+
class = "class",
|
|
16
|
+
instance = "instance",
|
|
17
|
+
node = "node",
|
|
18
|
+
message = "message",
|
|
19
|
+
logid = "logid",
|
|
20
|
+
processid = "processid",
|
|
21
|
+
threadid = "threadid",
|
|
22
|
+
timestamp = "timestamp"
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export enum LogColumnValueType {
|
|
26
|
+
string = "string",
|
|
27
|
+
numeric = "numeric",
|
|
28
|
+
datetime = "datetime",
|
|
29
|
+
enum = "enum"
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export enum LogAccessType {
|
|
33
|
+
All = 0,
|
|
34
|
+
ByJobID = 1,
|
|
35
|
+
ByComponent = 2,
|
|
36
|
+
ByLogType = 3,
|
|
37
|
+
ByTargetAudience = 4,
|
|
38
|
+
BySourceInstance = 5,
|
|
39
|
+
BySourceNode = 6,
|
|
40
|
+
ByFieldName = 7
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
export enum LogAccessFilterOperator {
|
|
44
|
+
NONE = 0,
|
|
45
|
+
AND = 1,
|
|
46
|
+
OR = 2
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
export enum LogSelectColumnMode {
|
|
50
|
+
MIN = 0,
|
|
51
|
+
DEFAULT = 1,
|
|
52
|
+
ALL = 2,
|
|
53
|
+
CUSTOM = 3
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export enum SortColumType {
|
|
57
|
+
ByDate = 0,
|
|
58
|
+
ByJobID = 1,
|
|
59
|
+
ByComponent = 2,
|
|
60
|
+
ByLogType = 3,
|
|
61
|
+
ByTargetAudience = 4,
|
|
62
|
+
BySourceInstance = 5,
|
|
63
|
+
BySourceNode = 6,
|
|
64
|
+
ByFieldName = 7
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
export enum SortDirection {
|
|
68
|
+
ASC = 0,
|
|
69
|
+
DSC = 1
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
export interface GetLogAccessInfoRequest {
|
|
73
|
+
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
export interface EnumeratedValues {
|
|
77
|
+
Item: string[];
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
export interface Column {
|
|
81
|
+
Name: string;
|
|
82
|
+
LogType: LogColumnType;
|
|
83
|
+
EnumeratedValues: {
|
|
84
|
+
Item: string[];
|
|
85
|
+
};
|
|
86
|
+
ColumnMode: string;
|
|
87
|
+
ColumnType: LogColumnValueType;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface Columns {
|
|
91
|
+
Column: Column[];
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
export interface GetLogAccessInfoResponse {
|
|
95
|
+
Columns: {
|
|
96
|
+
Column: Column[];
|
|
97
|
+
};
|
|
98
|
+
RemoteLogManagerType: string;
|
|
99
|
+
RemoteLogManagerConnectionString: string;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export interface leftFilter {
|
|
103
|
+
LogCategory: LogAccessType;
|
|
104
|
+
SearchByValue: string;
|
|
105
|
+
SearchField: string;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export interface rightFilter {
|
|
109
|
+
LogCategory: LogAccessType;
|
|
110
|
+
SearchByValue: string;
|
|
111
|
+
SearchField: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface rightBinaryFilter {
|
|
115
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface BinaryLogFilter {
|
|
119
|
+
leftFilter: leftFilter;
|
|
120
|
+
leftBinaryFilter: leftBinaryFilter;
|
|
121
|
+
Operator: LogAccessFilterOperator;
|
|
122
|
+
rightFilter: {
|
|
123
|
+
LogCategory: LogAccessType;
|
|
124
|
+
SearchByValue: string;
|
|
125
|
+
SearchField: string;
|
|
126
|
+
};
|
|
127
|
+
rightBinaryFilter: {
|
|
128
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
129
|
+
};
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
export interface leftBinaryFilter {
|
|
133
|
+
BinaryLogFilter: BinaryLogFilter[];
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
export interface Filter {
|
|
137
|
+
leftFilter: leftFilter;
|
|
138
|
+
leftBinaryFilter: leftBinaryFilter;
|
|
139
|
+
Operator: LogAccessFilterOperator;
|
|
140
|
+
rightFilter: rightFilter;
|
|
141
|
+
rightBinaryFilter: rightBinaryFilter;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
export interface Range {
|
|
145
|
+
StartDate: dateTime;
|
|
146
|
+
EndDate: dateTime;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
export interface SortCondition {
|
|
150
|
+
BySortType: SortColumType;
|
|
151
|
+
ColumnName: string;
|
|
152
|
+
Direction: SortDirection;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export interface SortBy {
|
|
156
|
+
SortCondition: SortCondition[];
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
export interface GetLogsRequest {
|
|
160
|
+
Filter?: {
|
|
161
|
+
leftFilter?: leftFilter;
|
|
162
|
+
leftBinaryFilter?: leftBinaryFilter;
|
|
163
|
+
Operator?: LogAccessFilterOperator;
|
|
164
|
+
rightFilter?: rightFilter;
|
|
165
|
+
rightBinaryFilter?: rightBinaryFilter;
|
|
166
|
+
};
|
|
167
|
+
Range?: {
|
|
168
|
+
StartDate?: dateTime;
|
|
169
|
+
EndDate?: dateTime;
|
|
170
|
+
};
|
|
171
|
+
LogLineLimit?: unsignedInt;
|
|
172
|
+
LogLineStartFrom?: long;
|
|
173
|
+
SelectColumnMode?: LogSelectColumnMode;
|
|
174
|
+
Columns?: Columns;
|
|
175
|
+
Format?: string;
|
|
176
|
+
SortBy?: {
|
|
177
|
+
SortCondition?: SortCondition[];
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
export interface GetLogsResponse {
|
|
182
|
+
LogLines: string;
|
|
183
|
+
LogLineCount: unsignedInt;
|
|
184
|
+
TotalLogLinesAvailable: unsignedInt;
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
export interface ws_logaccessPingRequest {
|
|
188
|
+
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
export interface ws_logaccessPingResponse {
|
|
192
|
+
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
export class LogaccessServiceBase extends Service {
|
|
198
|
+
|
|
199
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
200
|
+
super(optsConnection, "ws_logaccess", "1.04");
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
GetLogAccessInfo(request: WsLogaccess.GetLogAccessInfoRequest): Promise<WsLogaccess.GetLogAccessInfoResponse> {
|
|
204
|
+
return this._connection.send("GetLogAccessInfo", request, "json", false, undefined, "GetLogAccessInfoResponse");
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
GetLogs(request: WsLogaccess.GetLogsRequest): Promise<WsLogaccess.GetLogsResponse> {
|
|
208
|
+
return this._connection.send("GetLogs", request, "json", false, undefined, "GetLogsResponse");
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
Ping(request: WsLogaccess.ws_logaccessPingRequest): Promise<WsLogaccess.ws_logaccessPingResponse> {
|
|
212
|
+
return this._connection.send("Ping", request, "json", false, undefined, "ws_logaccessPingResponse");
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
}
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export declare const PKG_VERSION = "2.82.
|
|
3
|
-
export declare const BUILD_VERSION = "2.104.
|
|
2
|
+
export declare const PKG_VERSION = "2.82.2";
|
|
3
|
+
export declare const BUILD_VERSION = "2.104.20";
|
|
4
4
|
//# sourceMappingURL=__package__.d.ts.map
|
package/types/connection.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
1
|
+
export type RequestType = "post" | "get" | "jsonp";
|
|
2
|
+
export type ResponseType = "json" | "text";
|
|
3
|
+
export type IOptionsSend = (options: IOptions, action: string, request: any, responseType: ResponseType, defaultSend: SendFunc, header?: any) => Promise<any>;
|
|
4
4
|
export interface IOptions {
|
|
5
5
|
baseUrl: string;
|
|
6
6
|
type?: RequestType;
|
|
@@ -25,7 +25,7 @@ export declare function deserializeResponse(body: string): any;
|
|
|
25
25
|
export declare function jsonp(opts: IOptions, action: string, request?: any, responseType?: ResponseType, header?: any): Promise<any>;
|
|
26
26
|
export declare function post(opts: IOptions, action: string, request: any, responseType?: ResponseType, header?: any): Promise<any>;
|
|
27
27
|
export declare function get(opts: IOptions, action: string, request: any, responseType?: ResponseType, header?: any): Promise<any>;
|
|
28
|
-
export
|
|
28
|
+
export type SendFunc = (opts: IOptions, action: string, request: any, responseType: ResponseType, header?: any) => Promise<any>;
|
|
29
29
|
export declare function send(opts: IOptions, action: string, request: any, responseType?: ResponseType, header?: any): Promise<any>;
|
|
30
30
|
export declare function hookSend(newSend?: SendFunc): SendFunc;
|
|
31
31
|
export declare class Connection implements IConnection {
|
|
@@ -37,7 +37,7 @@ export declare class Connection implements IConnection {
|
|
|
37
37
|
send(action: string, request: any, responseType?: ResponseType, header?: any): Promise<any>;
|
|
38
38
|
clone(): Connection;
|
|
39
39
|
}
|
|
40
|
-
export
|
|
40
|
+
export type IConnectionFactory = (opts: IOptions) => IConnection;
|
|
41
41
|
export declare let createConnection: IConnectionFactory;
|
|
42
42
|
export declare function setTransportFactory(newFunc: IConnectionFactory): IConnectionFactory;
|
|
43
43
|
//# sourceMappingURL=connection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../src/connection.ts"],"names":[],"mappings":"AAIA,
|
|
1
|
+
{"version":3,"file":"connection.d.ts","sourceRoot":"","sources":["../src/connection.ts"],"names":[],"mappings":"AAIA,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,KAAK,GAAG,OAAO,CAAC;AACnD,MAAM,MAAM,YAAY,GAAG,MAAM,GAAG,MAAM,CAAC;AAE3C,MAAM,MAAM,YAAY,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,EAAE,YAAY,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,CAAC,EAAE,GAAG,KAAK,OAAO,CAAC,GAAG,CAAC,CAAC;AAC9J,MAAM,WAAW,QAAQ;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,YAAY,CAAC;IACxB,aAAa,CAAC,EAAE,OAAO,CAAC;CAC3B;AACD,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,GAAG,GAAG,MAAM,IAAI,QAAQ,CAElE;AAWD,MAAM,WAAW,WAAW;IACxB,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC;IACjC,IAAI,IAAI,QAAQ,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAEhB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,CAAC,EAAE,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC;IAC9E,KAAK,IAAI,WAAW,CAAC;CACxB;A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AAQ,GAAG,QAAQ,CAMrD;AAED,qBAAa,UAAW,YAAW,WAAW;IAC1C,SAAS,CAAC,KAAK,EAAE,QAAQ,CAAC;IAC1B,IAAI,OAAO,WAAiC;gBAEhC,IAAI,EAAE,QAAQ;IAK1B,IAAI,CAAC,CAAC,EAAE,OAAO,CAAC,QAAQ,CAAC,GAAG,IAAI;IAChC,IAAI,IAAI,QAAQ;IAOhB,IAAI,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,GAAG,EAAE,YAAY,GAAE,YAAqB,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,GAAG,CAAC;IAOnG,KAAK;CAGR;AAED,MAAM,MAAM,kBAAkB,GAAG,CAAC,IAAI,EAAE,QAAQ,KAAK,WAAW,CAAC;AACjE,eAAO,IAAI,gBAAgB,EAAE,kBAE5B,CAAC;AAEF,wBAAgB,mBAAmB,CAAC,OAAO,EAAE,kBAAkB,GAAG,kBAAkB,CAInF"}
|
package/types/ecl/activity.d.ts
CHANGED
|
@@ -4,8 +4,8 @@ import { WsSMC, SMCService } from "../services/wsSMC";
|
|
|
4
4
|
import { Workunit } from "./workunit";
|
|
5
5
|
export interface ActivityEx {
|
|
6
6
|
}
|
|
7
|
-
export
|
|
8
|
-
export
|
|
7
|
+
export type UActivityState = WsSMC.ActivityResponse & ActivityEx;
|
|
8
|
+
export type IActivityState = WsSMC.ActivityResponse | ActivityEx;
|
|
9
9
|
export declare class Activity extends StateObject<UActivityState, IActivityState> implements UActivityState {
|
|
10
10
|
protected connection: SMCService;
|
|
11
11
|
get properties(): UActivityState;
|
|
@@ -34,7 +34,7 @@ export declare class Activity extends StateObject<UActivityState, IActivityState
|
|
|
34
34
|
protected constructor(optsConnection: IOptions | IConnection | SMCService);
|
|
35
35
|
runningWorkunits(clusterName?: string): Workunit[];
|
|
36
36
|
setBanner(request: Partial<WsSMC.SetBanner>): Promise<Activity>;
|
|
37
|
-
lazyRefresh:
|
|
37
|
+
lazyRefresh: () => Promise<this>;
|
|
38
38
|
refresh(): Promise<this>;
|
|
39
39
|
}
|
|
40
40
|
//# sourceMappingURL=activity.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/ecl/activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,MAAM,WAAW,UAAU;CAC1B;AAED,
|
|
1
|
+
{"version":3,"file":"activity.d.ts","sourceRoot":"","sources":["../../src/ecl/activity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,WAAW,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAItC,MAAM,WAAW,UAAU;CAC1B;AAED,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,gBAAgB,GAAG,UAAU,CAAC;AACjE,MAAM,MAAM,cAAc,GAAG,KAAK,CAAC,gBAAgB,GAAG,UAAU,CAAC;AACjE,qBAAa,QAAS,SAAQ,WAAW,CAAC,cAAc,EAAE,cAAc,CAAE,YAAW,cAAc;IAC/F,SAAS,CAAC,UAAU,EAAE,UAAU,CAAC;IAEjC,IAAI,UAAU,IAAI,cAAc,CAAuB;IACvD,IAAI,UAAU,IAAI,KAAK,CAAC,UAAU,CAAmC;IACrE,IAAI,KAAK,IAAI,MAAM,CAA8B;IACjD,IAAI,eAAe,IAAI,KAAK,CAAC,eAAe,CAAwC;IACpF,IAAI,gBAA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/util";
|
|
2
|
+
import { IConnection, IOptions } from "../connection";
|
|
3
|
+
import { WsSMC } from "../services/wsSMC";
|
|
4
|
+
import { FileSpray, SprayFixedEx, FileSprayService, SprayVariableEx } from "../services/fileSpray";
|
|
5
|
+
import * as WsTopology from "../services/wsTopology";
|
|
6
|
+
export declare class DFUWorkunitCache extends Cache<{
|
|
7
|
+
BaseUrl: string;
|
|
8
|
+
ID: string;
|
|
9
|
+
}, DFUWorkunit> {
|
|
10
|
+
constructor();
|
|
11
|
+
}
|
|
12
|
+
export type DFUWorkunitEvents = "finished" | StateEvents;
|
|
13
|
+
export type UDFUWorkunitState = FileSpray.DFUWorkunit;
|
|
14
|
+
export type IDFUWorkunitState = FileSpray.DFUWorkunit | WsSMC.ActiveWorkunit;
|
|
15
|
+
export declare class DFUWorkunit extends StateObject<UDFUWorkunitState, IDFUWorkunitState> implements FileSpray.DFUWorkunit {
|
|
16
|
+
connection: FileSprayService;
|
|
17
|
+
topologyConnection: WsTopology.TopologyService;
|
|
18
|
+
get BaseUrl(): string;
|
|
19
|
+
get properties(): FileSpray.DFUWorkunit;
|
|
20
|
+
get ID(): string;
|
|
21
|
+
get DFUServerName(): string;
|
|
22
|
+
get ClusterName(): string;
|
|
23
|
+
get JobName(): string;
|
|
24
|
+
get Queue(): string;
|
|
25
|
+
get User(): string;
|
|
26
|
+
get isProtected(): boolean;
|
|
27
|
+
get Command(): number;
|
|
28
|
+
get CommandMessage(): string;
|
|
29
|
+
get PercentDone(): number;
|
|
30
|
+
get SecsLeft(): number;
|
|
31
|
+
get ProgressMessage(): string;
|
|
32
|
+
get SummaryMessage(): string;
|
|
33
|
+
get State(): number;
|
|
34
|
+
get SourceLogicalName(): string;
|
|
35
|
+
get SourceIP(): string;
|
|
36
|
+
get SourceFilePath(): string;
|
|
37
|
+
get SourceDali(): string;
|
|
38
|
+
get SourceRecordSize(): number;
|
|
39
|
+
get SourceFormat(): number;
|
|
40
|
+
get RowTag(): string;
|
|
41
|
+
get SourceNumParts(): number;
|
|
42
|
+
get SourceDirectory(): string;
|
|
43
|
+
get DestLogicalName(): string;
|
|
44
|
+
get DestGroupName(): string;
|
|
45
|
+
get DestDirectory(): string;
|
|
46
|
+
get DestIP(): string;
|
|
47
|
+
get DestFilePath(): string;
|
|
48
|
+
get DestFormat(): number;
|
|
49
|
+
get DestNumParts(): number;
|
|
50
|
+
get DestRecordSize(): number;
|
|
51
|
+
get Replicate(): boolean;
|
|
52
|
+
get Overwrite(): boolean;
|
|
53
|
+
get Compress(): boolean;
|
|
54
|
+
get SourceCsvSeparate(): string;
|
|
55
|
+
get SourceCsvQuote(): string;
|
|
56
|
+
get SourceCsvTerminate(): string;
|
|
57
|
+
get SourceCsvEscape(): string;
|
|
58
|
+
get TimeStarted(): string;
|
|
59
|
+
get TimeStopped(): string;
|
|
60
|
+
get StateMessage(): string;
|
|
61
|
+
get MonitorEventName(): string;
|
|
62
|
+
get MonitorSub(): boolean;
|
|
63
|
+
get MonitorShotLimit(): number;
|
|
64
|
+
get SourceDiffKeyName(): string;
|
|
65
|
+
get DestDiffKeyName(): string;
|
|
66
|
+
get Archived(): boolean;
|
|
67
|
+
get encrypt(): string;
|
|
68
|
+
get decrypt(): string;
|
|
69
|
+
get failIfNoSourceFile(): boolean;
|
|
70
|
+
get recordStructurePresent(): boolean;
|
|
71
|
+
get quotedTerminator(): boolean;
|
|
72
|
+
get preserveCompression(): boolean;
|
|
73
|
+
get expireDays(): number;
|
|
74
|
+
get PreserveFileParts(): boolean;
|
|
75
|
+
get FileAccessCost(): number;
|
|
76
|
+
static create(optsConnection: IOptions | IConnection, dfuServerQueue: string): Promise<DFUWorkunit>;
|
|
77
|
+
static attach(optsConnection: IOptions | IConnection, wuid: string, state?: IDFUWorkunitState): DFUWorkunit;
|
|
78
|
+
static sprayFixed(server: IOptions | IConnection, request: Partial<SprayFixedEx>): Promise<DFUWorkunit>;
|
|
79
|
+
static sprayVariable(server: IOptions | IConnection, request: Partial<SprayVariableEx>): Promise<DFUWorkunit>;
|
|
80
|
+
static despray(server: IOptions | IConnection, request: Partial<FileSpray.Despray>): Promise<DFUWorkunit>;
|
|
81
|
+
isComplete(): boolean;
|
|
82
|
+
isFailed(): boolean;
|
|
83
|
+
isDeleted(): boolean;
|
|
84
|
+
isRunning(): boolean;
|
|
85
|
+
refresh(full?: boolean): Promise<this>;
|
|
86
|
+
protected _monitor(): void;
|
|
87
|
+
protected _monitorTimeoutDuration(): number;
|
|
88
|
+
on(eventID: DFUWorkunitEvents, propIDorCallback: StateCallback | keyof UDFUWorkunitState, callback?: StatePropCallback): this;
|
|
89
|
+
watchUntilComplete(callback?: StateCallback): Promise<this>;
|
|
90
|
+
watchUntilRunning(callback?: StateCallback): Promise<this>;
|
|
91
|
+
protected constructor(optsConnection: IOptions | IConnection, wuid?: string);
|
|
92
|
+
clearState(wuid?: string): void;
|
|
93
|
+
protected GetDFUWorkunit(_request?: Partial<FileSpray.GetDFUWorkunit>): Promise<FileSpray.GetDFUWorkunitResponse>;
|
|
94
|
+
}
|
|
95
|
+
//# sourceMappingURL=dfuWorkunit.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dfuWorkunit.d.ts","sourceRoot":"","sources":["../../src/ecl/dfuWorkunit.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAwB,aAAa,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACxH,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAEtD,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnG,OAAO,KAAK,UAAU,MAAM,wBAAwB,CAAC;AAiBrD,qBAAa,gBAAiB,SAAQ,KAAK,CAAC;IAAE,OAAO,EAAE,MAAM,CAAC;IAAC,EAAE,EAA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AAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAc3D,iBAAiB,CAAC,QAAQ,CAAC,EAAE,aAAa,GAAG,OAAO,CAAC,IAAI,CAAC;IAe1D,SAAS,aAAa,cAAc,EAAE,QAAQ,GAAG,WAAW,EAAE,IAAI,CAAC,EAAE,MAAM;IAO3E,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM;IAQxB,SAAS,CAAC,cAAc,CAAC,QAAQ,GAAE,OAAO,CAAC,SAAS,CAAC,cAAc,CAAM,GAAG,OAAO,CAAC,SAAS,CAAC,sBAAsB,CAAC;CAqBxH"}
|
package/types/ecl/result.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare class GlobalResultCache extends Cache<{
|
|
|
10
10
|
}, Result> {
|
|
11
11
|
constructor();
|
|
12
12
|
}
|
|
13
|
-
export
|
|
13
|
+
export type ResultFilter = {
|
|
14
14
|
[key: string]: string | number;
|
|
15
15
|
};
|
|
16
16
|
export interface ECLResultEx extends WUInfo.ECLResult {
|
|
@@ -21,8 +21,8 @@ export interface ECLResultEx extends WUInfo.ECLResult {
|
|
|
21
21
|
NodeGroup?: string;
|
|
22
22
|
ResultViews: string[];
|
|
23
23
|
}
|
|
24
|
-
export
|
|
25
|
-
export
|
|
24
|
+
export type UResulState = ECLResultEx & WsDfu.DFULogicalFile;
|
|
25
|
+
export type IResulState = ECLResultEx | WsDfu.DFULogicalFile;
|
|
26
26
|
export declare class Result extends StateObject<UResulState, IResulState> implements ECLResultEx {
|
|
27
27
|
protected connection: WorkunitsService;
|
|
28
28
|
get BaseUrl(): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"result.d.ts","sourceRoot":"","sources":["../../src/ecl/result.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAU,WAAW,EAAE,MAAM,eAAe,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACtD,OAAO,EAAE,KAAK,EAAE,M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