@hpcc-js/comms 3.8.1 → 3.9.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/browser/index.js +175 -86
- package/dist/browser/index.js.map +1 -1
- package/dist/browser/index.umd.cjs +1 -1
- package/dist/browser/index.umd.cjs.map +1 -1
- package/dist/node/index.cjs +13 -195
- package/dist/node/index.cjs.map +4 -4
- package/dist/node/index.js +13 -195
- package/dist/node/index.js.map +4 -4
- package/package.json +4 -5
- package/src/__package__.ts +2 -2
- package/src/ecl/logicalFile.ts +1 -0
- package/src/ecl/store.ts +1 -1
- package/src/index.node.ts +1 -1
- package/src/services/fileSpray.ts +1 -1
- package/src/services/wsCodesign.ts +7 -83
- package/src/services/wsDFU.ts +1 -1
- package/src/services/wsDFUXRef.ts +3 -304
- package/src/services/wsMachine.ts +1 -1
- package/src/services/wsPackageProcess.ts +1 -1
- package/src/services/wsSMC.ts +1 -1
- package/src/services/wsStore.ts +7 -205
- package/src/services/wsTopology.ts +1 -1
- package/src/services/wsWorkunits.ts +0 -8
- package/src/services/wsdl/FileSpray/v1.27/FileSpray.ts +930 -0
- package/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts +227 -0
- package/src/services/wsdl/WsDfu/v1.66/WsDfu.ts +1267 -0
- package/src/services/wsdl/WsDfu/v1.67/WsDfu.ts +1268 -0
- package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +12 -15
- package/src/services/wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts +500 -0
- package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +43 -122
- package/src/services/wsdl/WsSMC/v1.28/WsSMC.ts +645 -0
- package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +65 -164
- package/src/services/wsdl/WsTopology/v1.33/WsTopology.ts +835 -0
- package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +6 -1
- package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +15 -20
- package/src/services/wsdl/ws_elk/v1/ws_elk.ts +4 -4
- package/src/services/wsdl/ws_machine/v1.18/ws_machine.ts +497 -0
- package/src/services/wsdl/ws_machine/v1.19/ws_machine.ts +497 -0
- package/src/services/wsdl/wsstore/v1.02/wsstore.ts +29 -40
- package/types/__package__.d.ts +2 -2
- package/types/ecl/logicalFile.d.ts +1 -0
- package/types/services/fileSpray.d.ts +1 -1
- package/types/services/wsCodesign.d.ts +5 -55
- package/types/services/wsDFU.d.ts +1 -1
- package/types/services/wsDFUXRef.d.ts +3 -218
- package/types/services/wsMachine.d.ts +1 -1
- package/types/services/wsPackageProcess.d.ts +1 -1
- package/types/services/wsSMC.d.ts +1 -1
- package/types/services/wsStore.d.ts +5 -145
- package/types/services/wsTopology.d.ts +1 -1
- package/types/services/wsdl/FileSpray/{v1.26 → v1.27}/FileSpray.d.ts +1 -0
- package/types/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.d.ts +147 -0
- package/types/services/wsdl/WsDfu/{v1.65 → v1.67}/WsDfu.d.ts +16 -0
- package/types/services/wsdl/WsPackageProcess/{v1.04 → v1.07}/WsPackageProcess.d.ts +75 -95
- package/types/services/wsdl/WsSMC/{v1.27 → v1.28}/WsSMC.d.ts +84 -122
- package/types/services/wsdl/WsTopology/{v1.32 → v1.33}/WsTopology.d.ts +97 -164
- package/types/services/wsdl/WsWorkunits/v2.02/WsWorkunits.d.ts +6 -1
- package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +60 -0
- package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts +2 -2
- package/types/services/wsdl/ws_machine/{v1.17 → v1.19}/ws_machine.d.ts +65 -138
- package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +166 -0
|
@@ -0,0 +1,497 @@
|
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection.ts";
|
|
2
|
+
import { Service } from "../../../../espConnection.ts";
|
|
3
|
+
|
|
4
|
+
export namespace WsMachine {
|
|
5
|
+
|
|
6
|
+
export type int = number;
|
|
7
|
+
export type long = number;
|
|
8
|
+
export type unsignedInt = number;
|
|
9
|
+
|
|
10
|
+
export enum ThresholdType {
|
|
11
|
+
THRESHOLD_PERCENTAGE = 0,
|
|
12
|
+
THRESHOLD_MB = 1
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export enum TpMachineType {
|
|
16
|
+
ALLNODES = "ALLNODES",
|
|
17
|
+
THORMACHINES = "THORMACHINES",
|
|
18
|
+
HOLEMACHINES = "HOLEMACHINES",
|
|
19
|
+
ROXIEMACHINES = "ROXIEMACHINES",
|
|
20
|
+
MACHINES = "MACHINES",
|
|
21
|
+
AVAILABLEMACHINES = "AVAILABLEMACHINES",
|
|
22
|
+
DROPZONE = "DROPZONE",
|
|
23
|
+
STANDBYNNODE = "STANDBYNNODE",
|
|
24
|
+
THORSPARENODES = "THORSPARENODES",
|
|
25
|
+
HOLESTANDBYNODES = "HOLESTANDBYNODES"
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export interface GetComponentStatusRequest {
|
|
29
|
+
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export interface Exception {
|
|
33
|
+
Code: string;
|
|
34
|
+
Audience: string;
|
|
35
|
+
Source: string;
|
|
36
|
+
Message: string;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export interface Exceptions {
|
|
40
|
+
Source: string;
|
|
41
|
+
Exception: Exception[];
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
export interface StatusReport {
|
|
45
|
+
StatusID: int;
|
|
46
|
+
Status: string;
|
|
47
|
+
StatusDetails: string;
|
|
48
|
+
Reporter: string;
|
|
49
|
+
TimeReported: long;
|
|
50
|
+
TimeReportedStr: string;
|
|
51
|
+
TimeCached: string;
|
|
52
|
+
URL: string;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
export interface StatusReports {
|
|
56
|
+
StatusReport: StatusReport[];
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
export interface ComponentStatus {
|
|
60
|
+
ComponentTypeID: int;
|
|
61
|
+
ComponentType: string;
|
|
62
|
+
EndPoint: string;
|
|
63
|
+
StatusID: int;
|
|
64
|
+
Status: string;
|
|
65
|
+
TimeReported: long;
|
|
66
|
+
TimeReportedStr: string;
|
|
67
|
+
Reporter: string;
|
|
68
|
+
StatusReports: StatusReports;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
export interface ComponentStatusList {
|
|
72
|
+
ComponentStatus: ComponentStatus[];
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export interface GetComponentStatusResponse {
|
|
76
|
+
Exceptions: Exceptions;
|
|
77
|
+
StatusCode: int;
|
|
78
|
+
Status: string;
|
|
79
|
+
ComponentType: string;
|
|
80
|
+
EndPoint: string;
|
|
81
|
+
ComponentStatusID: int;
|
|
82
|
+
ComponentStatus: string;
|
|
83
|
+
TimeReported: long;
|
|
84
|
+
TimeReportedStr: string;
|
|
85
|
+
Reporter: string;
|
|
86
|
+
StatusReport: StatusReport;
|
|
87
|
+
ComponentStatusList: ComponentStatusList;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
export interface Component {
|
|
91
|
+
Type: string;
|
|
92
|
+
Name: string;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export interface Components {
|
|
96
|
+
Component: Component[];
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
export interface GetComponentUsageRequest {
|
|
100
|
+
Components?: Components;
|
|
101
|
+
BypassCachedResult?: boolean;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
export interface DiskUsage {
|
|
105
|
+
Name: string;
|
|
106
|
+
Path: string;
|
|
107
|
+
Description: string;
|
|
108
|
+
InUse: long;
|
|
109
|
+
Available: long;
|
|
110
|
+
PercentAvailable: int;
|
|
111
|
+
Exception: string;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
export interface DiskUsages {
|
|
115
|
+
DiskUsage: DiskUsage[];
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface MachineUsage {
|
|
119
|
+
Name: string;
|
|
120
|
+
NetAddress: string;
|
|
121
|
+
Description: string;
|
|
122
|
+
Exception: string;
|
|
123
|
+
DiskUsages: DiskUsages;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
export interface MachineUsages {
|
|
127
|
+
MachineUsage: MachineUsage[];
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
export interface ComponentUsage {
|
|
131
|
+
Type: string;
|
|
132
|
+
Name: string;
|
|
133
|
+
Description: string;
|
|
134
|
+
Exception: string;
|
|
135
|
+
MachineUsages: MachineUsages;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
export interface ComponentUsages {
|
|
139
|
+
ComponentUsage: ComponentUsage[];
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
export interface GetComponentUsageResponse {
|
|
143
|
+
Exceptions: Exceptions;
|
|
144
|
+
ComponentUsages: ComponentUsages;
|
|
145
|
+
UsageTime: string;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
export interface Addresses {
|
|
149
|
+
Item: string[];
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
export interface GetMachineInfoRequest {
|
|
153
|
+
Addresses?: Addresses;
|
|
154
|
+
SortBy?: string;
|
|
155
|
+
ClusterType?: TpMachineType;
|
|
156
|
+
Cluster?: string;
|
|
157
|
+
OldIP?: string;
|
|
158
|
+
Path?: string;
|
|
159
|
+
AddProcessesToFilter?: string;
|
|
160
|
+
ApplyProcessFilter?: boolean;
|
|
161
|
+
GetProcessorInfo?: boolean;
|
|
162
|
+
GetStorageInfo?: boolean;
|
|
163
|
+
LocalFileSystemsOnly?: boolean;
|
|
164
|
+
GetSoftwareInfo?: boolean;
|
|
165
|
+
MemThreshold?: int;
|
|
166
|
+
DiskThreshold?: int;
|
|
167
|
+
CpuThreshold?: int;
|
|
168
|
+
AutoRefresh?: int;
|
|
169
|
+
MemThresholdType?: ThresholdType;
|
|
170
|
+
DiskThresholdType?: ThresholdType;
|
|
171
|
+
UserName?: string;
|
|
172
|
+
Password?: string;
|
|
173
|
+
SecurityString?: string;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
export interface RequestInfo {
|
|
177
|
+
Addresses: Addresses;
|
|
178
|
+
SortBy: string;
|
|
179
|
+
ClusterType: TpMachineType;
|
|
180
|
+
Cluster: string;
|
|
181
|
+
OldIP: string;
|
|
182
|
+
Path: string;
|
|
183
|
+
AddProcessesToFilter: string;
|
|
184
|
+
ApplyProcessFilter: boolean;
|
|
185
|
+
GetProcessorInfo: boolean;
|
|
186
|
+
GetStorageInfo: boolean;
|
|
187
|
+
LocalFileSystemsOnly: boolean;
|
|
188
|
+
GetSoftwareInfo: boolean;
|
|
189
|
+
MemThreshold: int;
|
|
190
|
+
DiskThreshold: int;
|
|
191
|
+
CpuThreshold: int;
|
|
192
|
+
AutoRefresh: int;
|
|
193
|
+
MemThresholdType: ThresholdType;
|
|
194
|
+
DiskThresholdType: ThresholdType;
|
|
195
|
+
SecurityString: string;
|
|
196
|
+
UserName: string;
|
|
197
|
+
Password: string;
|
|
198
|
+
EnableSNMP: boolean;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
export interface Columns {
|
|
202
|
+
Item: string[];
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export interface ProcessorInfo {
|
|
206
|
+
Type: string;
|
|
207
|
+
Load: int;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
export interface Processors {
|
|
211
|
+
ProcessorInfo: ProcessorInfo[];
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
export interface StorageInfo {
|
|
215
|
+
Description: string;
|
|
216
|
+
Type: string;
|
|
217
|
+
Available: long;
|
|
218
|
+
PercentAvail: int;
|
|
219
|
+
Total: long;
|
|
220
|
+
Failures: int;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
export interface Storage {
|
|
224
|
+
StorageInfo: StorageInfo[];
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
export interface SWRunInfo {
|
|
228
|
+
Name: string;
|
|
229
|
+
Instances: int;
|
|
230
|
+
State: int;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export interface Running {
|
|
234
|
+
SWRunInfo: SWRunInfo[];
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
export interface PhysicalMemory {
|
|
238
|
+
Description: string;
|
|
239
|
+
Type: string;
|
|
240
|
+
Available: long;
|
|
241
|
+
PercentAvail: int;
|
|
242
|
+
Total: long;
|
|
243
|
+
Failures: int;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
export interface VirtualMemory {
|
|
247
|
+
Description: string;
|
|
248
|
+
Type: string;
|
|
249
|
+
Available: long;
|
|
250
|
+
PercentAvail: int;
|
|
251
|
+
Total: long;
|
|
252
|
+
Failures: int;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
export interface ComponentInfo {
|
|
256
|
+
Condition: int;
|
|
257
|
+
State: int;
|
|
258
|
+
UpTime: string;
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
export interface MachineInfoEx {
|
|
262
|
+
Address: string;
|
|
263
|
+
ConfigAddress: string;
|
|
264
|
+
Name: string;
|
|
265
|
+
ProcessType: string;
|
|
266
|
+
DisplayType: string;
|
|
267
|
+
Description: string;
|
|
268
|
+
AgentVersion: string;
|
|
269
|
+
Contact: string;
|
|
270
|
+
Location: string;
|
|
271
|
+
UpTime: string;
|
|
272
|
+
ComponentName: string;
|
|
273
|
+
ComponentPath: string;
|
|
274
|
+
RoxieState: string;
|
|
275
|
+
RoxieStateDetails: string;
|
|
276
|
+
OS: int;
|
|
277
|
+
ProcessNumber: int;
|
|
278
|
+
Channels: unsignedInt;
|
|
279
|
+
Processors: Processors;
|
|
280
|
+
Storage: Storage;
|
|
281
|
+
Running: Running;
|
|
282
|
+
PhysicalMemory: PhysicalMemory;
|
|
283
|
+
VirtualMemory: VirtualMemory;
|
|
284
|
+
ComponentInfo: ComponentInfo;
|
|
285
|
+
Exception: string;
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export interface Machines {
|
|
289
|
+
MachineInfoEx: MachineInfoEx[];
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
export interface GetMachineInfoResponse {
|
|
293
|
+
Exceptions: Exceptions;
|
|
294
|
+
RequestInfo: RequestInfo;
|
|
295
|
+
Columns: Columns;
|
|
296
|
+
Machines: Machines;
|
|
297
|
+
TimeStamp: string;
|
|
298
|
+
UserName: string;
|
|
299
|
+
Password: string;
|
|
300
|
+
AcceptLanguage: string;
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
export interface GetMachineInfoRequestEx {
|
|
304
|
+
Addresses: Addresses;
|
|
305
|
+
ClusterType: TpMachineType;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export interface GetMachineInfoResponseEx {
|
|
309
|
+
Exceptions: Exceptions;
|
|
310
|
+
AcceptLanguage: string;
|
|
311
|
+
Machines: Machines;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
export interface ShowColumns {
|
|
315
|
+
Item: string[];
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
export interface MetricsRequest {
|
|
319
|
+
SecurityString?: string;
|
|
320
|
+
Addresses?: Addresses;
|
|
321
|
+
ShowColumns?: ShowColumns;
|
|
322
|
+
AutoRefresh?: int;
|
|
323
|
+
SelectAllChecked?: boolean;
|
|
324
|
+
Cluster?: string;
|
|
325
|
+
AutoUpdate?: boolean;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
export interface MetricsResponse {
|
|
329
|
+
Exceptions: Exceptions;
|
|
330
|
+
FieldInformation: string;
|
|
331
|
+
Metrics: string;
|
|
332
|
+
AutoRefresh: int;
|
|
333
|
+
Cluster: string;
|
|
334
|
+
SelectAllChecked: boolean;
|
|
335
|
+
AutoUpdate: boolean;
|
|
336
|
+
AcceptLanguage: string;
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export interface NodeGroups {
|
|
340
|
+
Item: string[];
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
export interface GetNodeGroupUsageRequest {
|
|
344
|
+
NodeGroups?: NodeGroups;
|
|
345
|
+
BypassCachedResult?: boolean;
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
export interface NodeGroupUsage {
|
|
349
|
+
Name: string;
|
|
350
|
+
Description: string;
|
|
351
|
+
Exception: string;
|
|
352
|
+
ComponentUsages: ComponentUsages;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export interface NodeGroupUsages {
|
|
356
|
+
NodeGroupUsage: NodeGroupUsage[];
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
export interface GetNodeGroupUsageResponse {
|
|
360
|
+
Exceptions: Exceptions;
|
|
361
|
+
NodeGroupUsages: NodeGroupUsages;
|
|
362
|
+
UsageTime: string;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export interface TargetClusters {
|
|
366
|
+
Item: string[];
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
export interface GetTargetClusterInfoRequest {
|
|
370
|
+
TargetClusters?: TargetClusters;
|
|
371
|
+
AddProcessesToFilter?: string;
|
|
372
|
+
ApplyProcessFilter?: boolean;
|
|
373
|
+
GetProcessorInfo?: boolean;
|
|
374
|
+
GetStorageInfo?: boolean;
|
|
375
|
+
LocalFileSystemsOnly?: boolean;
|
|
376
|
+
GetSoftwareInfo?: boolean;
|
|
377
|
+
MemThreshold?: int;
|
|
378
|
+
DiskThreshold?: int;
|
|
379
|
+
CpuThreshold?: int;
|
|
380
|
+
AutoRefresh?: int;
|
|
381
|
+
MemThresholdType?: ThresholdType;
|
|
382
|
+
DiskThresholdType?: ThresholdType;
|
|
383
|
+
}
|
|
384
|
+
|
|
385
|
+
export interface Processes {
|
|
386
|
+
MachineInfoEx: MachineInfoEx[];
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
export interface TargetClusterInfo {
|
|
390
|
+
Name: string;
|
|
391
|
+
Type: string;
|
|
392
|
+
Processes: Processes;
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
export interface TargetClusterInfoList {
|
|
396
|
+
TargetClusterInfo: TargetClusterInfo[];
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
export interface GetTargetClusterInfoResponse {
|
|
400
|
+
Exceptions: Exceptions;
|
|
401
|
+
Columns: Columns;
|
|
402
|
+
RequestInfo: RequestInfo;
|
|
403
|
+
TargetClusterInfoList: TargetClusterInfoList;
|
|
404
|
+
TimeStamp: string;
|
|
405
|
+
AcceptLanguage: string;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
export interface GetTargetClusterUsageRequest {
|
|
409
|
+
TargetClusters?: TargetClusters;
|
|
410
|
+
BypassCachedResult?: boolean;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export interface TargetClusterUsage {
|
|
414
|
+
Name: string;
|
|
415
|
+
Description: string;
|
|
416
|
+
Exception: string;
|
|
417
|
+
ComponentUsages: ComponentUsages;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
export interface TargetClusterUsages {
|
|
421
|
+
TargetClusterUsage: TargetClusterUsage[];
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
export interface GetTargetClusterUsageResponse {
|
|
425
|
+
Exceptions: Exceptions;
|
|
426
|
+
TargetClusterUsages: TargetClusterUsages;
|
|
427
|
+
UsageTime: string;
|
|
428
|
+
}
|
|
429
|
+
|
|
430
|
+
export interface ws_machinePingRequest {
|
|
431
|
+
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
export interface ws_machinePingResponse {
|
|
435
|
+
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
export interface UpdateComponentStatusRequest {
|
|
439
|
+
Reporter?: string;
|
|
440
|
+
ComponentStatusList?: ComponentStatusList;
|
|
441
|
+
}
|
|
442
|
+
|
|
443
|
+
export interface UpdateComponentStatusResponse {
|
|
444
|
+
Exceptions: Exceptions;
|
|
445
|
+
StatusCode: int;
|
|
446
|
+
Status: string;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
}
|
|
450
|
+
|
|
451
|
+
export class MachineServiceBase extends Service {
|
|
452
|
+
|
|
453
|
+
constructor(optsConnection: IOptions | IConnection) {
|
|
454
|
+
super(optsConnection, "ws_machine", "1.19");
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
GetComponentStatus(request: Partial<WsMachine.GetComponentStatusRequest>): Promise<WsMachine.GetComponentStatusResponse> {
|
|
458
|
+
return this._connection.send("GetComponentStatus", request, "json", false, undefined, "GetComponentStatusResponse");
|
|
459
|
+
}
|
|
460
|
+
|
|
461
|
+
GetComponentUsage(request: Partial<WsMachine.GetComponentUsageRequest>): Promise<WsMachine.GetComponentUsageResponse> {
|
|
462
|
+
return this._connection.send("GetComponentUsage", request, "json", false, undefined, "GetComponentUsageResponse");
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
GetMachineInfo(request: Partial<WsMachine.GetMachineInfoRequest>): Promise<WsMachine.GetMachineInfoResponse> {
|
|
466
|
+
return this._connection.send("GetMachineInfo", request, "json", false, undefined, "GetMachineInfoResponse");
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
GetMachineInfoEx(request: Partial<WsMachine.GetMachineInfoRequestEx>): Promise<WsMachine.GetMachineInfoResponseEx> {
|
|
470
|
+
return this._connection.send("GetMachineInfoEx", request, "json", false, undefined, "GetMachineInfoResponseEx");
|
|
471
|
+
}
|
|
472
|
+
|
|
473
|
+
GetMetrics(request: Partial<WsMachine.MetricsRequest>): Promise<WsMachine.MetricsResponse> {
|
|
474
|
+
return this._connection.send("GetMetrics", request, "json", false, undefined, "MetricsResponse");
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
GetNodeGroupUsage(request: Partial<WsMachine.GetNodeGroupUsageRequest>): Promise<WsMachine.GetNodeGroupUsageResponse> {
|
|
478
|
+
return this._connection.send("GetNodeGroupUsage", request, "json", false, undefined, "GetNodeGroupUsageResponse");
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
GetTargetClusterInfo(request: Partial<WsMachine.GetTargetClusterInfoRequest>): Promise<WsMachine.GetTargetClusterInfoResponse> {
|
|
482
|
+
return this._connection.send("GetTargetClusterInfo", request, "json", false, undefined, "GetTargetClusterInfoResponse");
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
GetTargetClusterUsage(request: Partial<WsMachine.GetTargetClusterUsageRequest>): Promise<WsMachine.GetTargetClusterUsageResponse> {
|
|
486
|
+
return this._connection.send("GetTargetClusterUsage", request, "json", false, undefined, "GetTargetClusterUsageResponse");
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
Ping(request: Partial<WsMachine.ws_machinePingRequest>): Promise<WsMachine.ws_machinePingResponse> {
|
|
490
|
+
return this._connection.send("Ping", request, "json", false, undefined, "ws_machinePingResponse");
|
|
491
|
+
}
|
|
492
|
+
|
|
493
|
+
UpdateComponentStatus(request: Partial<WsMachine.UpdateComponentStatusRequest>): Promise<WsMachine.UpdateComponentStatusResponse> {
|
|
494
|
+
return this._connection.send("UpdateComponentStatus", request, "json", false, undefined, "UpdateComponentStatusResponse");
|
|
495
|
+
}
|
|
496
|
+
|
|
497
|
+
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IConnection, IOptions } from "../../../../connection.ts";
|
|
2
2
|
import { Service } from "../../../../espConnection.ts";
|
|
3
3
|
|
|
4
|
-
type int = number;
|
|
5
|
-
|
|
6
4
|
export namespace Wsstore {
|
|
7
5
|
|
|
6
|
+
export type int = number;
|
|
7
|
+
|
|
8
8
|
export interface CreateStoreRequest {
|
|
9
9
|
Name?: string;
|
|
10
10
|
Type?: string;
|
|
@@ -25,10 +25,7 @@ export namespace Wsstore {
|
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
export interface CreateStoreResponse {
|
|
28
|
-
Exceptions:
|
|
29
|
-
Source: string;
|
|
30
|
-
Exception: Exception[];
|
|
31
|
-
};
|
|
28
|
+
Exceptions: Exceptions;
|
|
32
29
|
Name: string;
|
|
33
30
|
Type: string;
|
|
34
31
|
Description: string;
|
|
@@ -91,9 +88,7 @@ export namespace Wsstore {
|
|
|
91
88
|
export interface FetchAllResponse {
|
|
92
89
|
Exceptions: Exceptions;
|
|
93
90
|
Namespace: string;
|
|
94
|
-
Pairs:
|
|
95
|
-
Pair: Pair[];
|
|
96
|
-
};
|
|
91
|
+
Pairs: Pairs;
|
|
97
92
|
}
|
|
98
93
|
|
|
99
94
|
export interface FetchKeyMDRequest {
|
|
@@ -125,9 +120,7 @@ export namespace Wsstore {
|
|
|
125
120
|
Exceptions: Exceptions;
|
|
126
121
|
StoreName: string;
|
|
127
122
|
Namespace: string;
|
|
128
|
-
KeySet:
|
|
129
|
-
Key: string[];
|
|
130
|
-
};
|
|
123
|
+
KeySet: KeySet;
|
|
131
124
|
}
|
|
132
125
|
|
|
133
126
|
export interface ListNamespacesRequest {
|
|
@@ -142,9 +135,7 @@ export namespace Wsstore {
|
|
|
142
135
|
export interface ListNamespacesResponse {
|
|
143
136
|
Exceptions: Exceptions;
|
|
144
137
|
StoreName: string;
|
|
145
|
-
Namespaces:
|
|
146
|
-
Namespace: string[];
|
|
147
|
-
};
|
|
138
|
+
Namespaces: Namespaces;
|
|
148
139
|
}
|
|
149
140
|
|
|
150
141
|
export interface ListStoresRequest {
|
|
@@ -169,9 +160,7 @@ export namespace Wsstore {
|
|
|
169
160
|
|
|
170
161
|
export interface ListStoresResponse {
|
|
171
162
|
Exceptions: Exceptions;
|
|
172
|
-
Stores:
|
|
173
|
-
Store: Store[];
|
|
174
|
-
};
|
|
163
|
+
Stores: Stores;
|
|
175
164
|
}
|
|
176
165
|
|
|
177
166
|
export interface wsstorePingRequest {
|
|
@@ -203,48 +192,48 @@ export class storeServiceBase extends Service {
|
|
|
203
192
|
super(optsConnection, "wsstore", "1.02");
|
|
204
193
|
}
|
|
205
194
|
|
|
206
|
-
CreateStore(request: Wsstore.CreateStoreRequest): Promise<Wsstore.CreateStoreResponse> {
|
|
207
|
-
return this._connection.send("CreateStore", request);
|
|
195
|
+
CreateStore(request: Partial<Wsstore.CreateStoreRequest>): Promise<Wsstore.CreateStoreResponse> {
|
|
196
|
+
return this._connection.send("CreateStore", request, "json", false, undefined, "CreateStoreResponse");
|
|
208
197
|
}
|
|
209
198
|
|
|
210
|
-
Delete(request: Wsstore.DeleteRequest): Promise<Wsstore.DeleteResponse> {
|
|
211
|
-
return this._connection.send("Delete", request);
|
|
199
|
+
Delete(request: Partial<Wsstore.DeleteRequest>): Promise<Wsstore.DeleteResponse> {
|
|
200
|
+
return this._connection.send("Delete", request, "json", false, undefined, "DeleteResponse");
|
|
212
201
|
}
|
|
213
202
|
|
|
214
|
-
DeleteNamespace(request: Wsstore.DeleteNamespaceRequest): Promise<Wsstore.DeleteNamespaceResponse> {
|
|
215
|
-
return this._connection.send("DeleteNamespace", request);
|
|
203
|
+
DeleteNamespace(request: Partial<Wsstore.DeleteNamespaceRequest>): Promise<Wsstore.DeleteNamespaceResponse> {
|
|
204
|
+
return this._connection.send("DeleteNamespace", request, "json", false, undefined, "DeleteNamespaceResponse");
|
|
216
205
|
}
|
|
217
206
|
|
|
218
|
-
Fetch(request: Wsstore.FetchRequest): Promise<Wsstore.FetchResponse> {
|
|
219
|
-
return this._connection.send("Fetch", request);
|
|
207
|
+
Fetch(request: Partial<Wsstore.FetchRequest>): Promise<Wsstore.FetchResponse> {
|
|
208
|
+
return this._connection.send("Fetch", request, "json", false, undefined, "FetchResponse");
|
|
220
209
|
}
|
|
221
210
|
|
|
222
|
-
FetchAll(request: Wsstore.FetchAllRequest): Promise<Wsstore.FetchAllResponse> {
|
|
223
|
-
return this._connection.send("FetchAll", request);
|
|
211
|
+
FetchAll(request: Partial<Wsstore.FetchAllRequest>): Promise<Wsstore.FetchAllResponse> {
|
|
212
|
+
return this._connection.send("FetchAll", request, "json", false, undefined, "FetchAllResponse");
|
|
224
213
|
}
|
|
225
214
|
|
|
226
|
-
FetchKeyMetadata(request: Wsstore.FetchKeyMDRequest): Promise<Wsstore.FetchKeyMDResponse> {
|
|
227
|
-
return this._connection.send("FetchKeyMetadata", request);
|
|
215
|
+
FetchKeyMetadata(request: Partial<Wsstore.FetchKeyMDRequest>): Promise<Wsstore.FetchKeyMDResponse> {
|
|
216
|
+
return this._connection.send("FetchKeyMetadata", request, "json", false, undefined, "FetchKeyMDResponse");
|
|
228
217
|
}
|
|
229
218
|
|
|
230
|
-
ListKeys(request: Wsstore.ListKeysRequest): Promise<Wsstore.ListKeysResponse> {
|
|
231
|
-
return this._connection.send("ListKeys", request);
|
|
219
|
+
ListKeys(request: Partial<Wsstore.ListKeysRequest>): Promise<Wsstore.ListKeysResponse> {
|
|
220
|
+
return this._connection.send("ListKeys", request, "json", false, undefined, "ListKeysResponse");
|
|
232
221
|
}
|
|
233
222
|
|
|
234
|
-
ListNamespaces(request: Wsstore.ListNamespacesRequest): Promise<Wsstore.ListNamespacesResponse> {
|
|
235
|
-
return this._connection.send("ListNamespaces", request);
|
|
223
|
+
ListNamespaces(request: Partial<Wsstore.ListNamespacesRequest>): Promise<Wsstore.ListNamespacesResponse> {
|
|
224
|
+
return this._connection.send("ListNamespaces", request, "json", false, undefined, "ListNamespacesResponse");
|
|
236
225
|
}
|
|
237
226
|
|
|
238
|
-
ListStores(request: Wsstore.ListStoresRequest): Promise<Wsstore.ListStoresResponse> {
|
|
239
|
-
return this._connection.send("ListStores", request);
|
|
227
|
+
ListStores(request: Partial<Wsstore.ListStoresRequest>): Promise<Wsstore.ListStoresResponse> {
|
|
228
|
+
return this._connection.send("ListStores", request, "json", false, undefined, "ListStoresResponse");
|
|
240
229
|
}
|
|
241
230
|
|
|
242
|
-
Ping(request: Wsstore.wsstorePingRequest): Promise<Wsstore.wsstorePingResponse> {
|
|
243
|
-
return this._connection.send("Ping", request);
|
|
231
|
+
Ping(request: Partial<Wsstore.wsstorePingRequest>): Promise<Wsstore.wsstorePingResponse> {
|
|
232
|
+
return this._connection.send("Ping", request, "json", false, undefined, "wsstorePingResponse");
|
|
244
233
|
}
|
|
245
234
|
|
|
246
|
-
Set(request: Wsstore.SetRequest): Promise<Wsstore.SetResponse> {
|
|
247
|
-
return this._connection.send("Set", request);
|
|
235
|
+
Set(request: Partial<Wsstore.SetRequest>): Promise<Wsstore.SetResponse> {
|
|
236
|
+
return this._connection.send("Set", request, "json", false, undefined, "SetResponse");
|
|
248
237
|
}
|
|
249
238
|
|
|
250
239
|
}
|
package/types/__package__.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare const PKG_NAME = "@hpcc-js/comms";
|
|
2
|
-
export declare const PKG_VERSION = "3.
|
|
3
|
-
export declare const BUILD_VERSION = "3.
|
|
2
|
+
export declare const PKG_VERSION = "3.9.0";
|
|
3
|
+
export declare const BUILD_VERSION = "3.12.0";
|
|
@@ -77,6 +77,7 @@ export declare class LogicalFile extends StateObject<FileDetailEx, FileDetailEx>
|
|
|
77
77
|
get StateID(): number;
|
|
78
78
|
get ExpirationDate(): string;
|
|
79
79
|
get ExtendedIndexInfo(): WsDfu.ExtendedIndexInfo;
|
|
80
|
+
get CompressionType(): string;
|
|
80
81
|
get properties(): FileDetailEx;
|
|
81
82
|
static attach(optsConnection: IOptions | IConnection | DFUService, Cluster: string, Name: string, state?: FileDetailEx): LogicalFile;
|
|
82
83
|
protected constructor(optsConnection: IOptions | IConnection | DFUService, Cluster: string, Name: string);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FileSprayServiceBase, FileSpray } from "./wsdl/FileSpray/v1.
|
|
1
|
+
import { FileSprayServiceBase, FileSpray } from "./wsdl/FileSpray/v1.27/FileSpray.ts";
|
|
2
2
|
export { FileSpray };
|
|
3
3
|
type UpdateDFUWorkunitMinusWU = Omit<FileSpray.UpdateDFUWorkunit, "wu">;
|
|
4
4
|
type UpdateDFUWorkunitWU = FileSpray.UpdateDFUWorkunit["wu"];
|