@hpcc-js/comms 3.15.6 → 3.15.7

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.
@@ -14,6 +14,19 @@ export declare namespace FileSpray {
14
14
  SetToFailed = "SetToFailed",
15
15
  Archive = "Archive"
16
16
  }
17
+ enum DFUCommand {
18
+ copy = "copy",
19
+ remove = "remove",
20
+ move = "move",
21
+ rename = "rename",
22
+ replicate = "replicate",
23
+ import = "import",
24
+ export = "export",
25
+ monitor = "monitor",
26
+ copymerge = "copymerge",
27
+ supercopy = "supercopy",
28
+ publish = "publish"
29
+ }
17
30
  interface AbortDFUWorkunit {
18
31
  wuid?: string;
19
32
  }
@@ -63,6 +76,7 @@ export declare namespace FileSpray {
63
76
  DFUServerQueue?: string;
64
77
  ExpireDays?: int;
65
78
  KeyCompression?: string;
79
+ DestNumParts?: int;
66
80
  }
67
81
  interface CopyResponse {
68
82
  Exceptions?: Exceptions;
@@ -369,7 +383,8 @@ export declare namespace FileSpray {
369
383
  Owner?: string;
370
384
  Cluster?: string;
371
385
  StateReq?: string;
372
- Type?: string;
386
+ Command?: DFUCommand;
387
+ Archived?: boolean;
373
388
  Jobname?: string;
374
389
  PageSize?: long;
375
390
  CurrentPage?: int;
@@ -449,7 +464,7 @@ export declare namespace FileSpray {
449
464
  interface GetDFUWorkunitsResponse {
450
465
  Exceptions?: Exceptions;
451
466
  results?: results;
452
- Type?: string;
467
+ Command?: DFUCommand;
453
468
  Owner?: string;
454
469
  Cluster?: string;
455
470
  StateReq?: string;
@@ -713,6 +713,7 @@ export declare namespace WsWorkunits {
713
713
  CompileCost?: double;
714
714
  NoAccess?: boolean;
715
715
  ECLWUProcessList?: ECLWUProcessList;
716
+ FailureDesc?: string;
716
717
  }
717
718
  interface WUCreateResponse {
718
719
  Exceptions?: Exceptions;
@@ -1758,6 +1759,7 @@ export declare namespace WsWorkunits {
1758
1759
  CompileCost?: double;
1759
1760
  NoAccess?: boolean;
1760
1761
  ECLWUProcessList?: ECLWUProcessList;
1762
+ FailureDesc?: string;
1761
1763
  }
1762
1764
  interface Workunits2 {
1763
1765
  ECLWorkunit?: ECLWorkunit[];
@@ -23,106 +23,106 @@ export declare namespace WsMachine {
23
23
  interface GetComponentStatusRequest {
24
24
  }
25
25
  interface Exception {
26
- Code: string;
27
- Audience: string;
28
- Source: string;
29
- Message: string;
26
+ Code?: string;
27
+ Audience?: string;
28
+ Source?: string;
29
+ Message?: string;
30
30
  }
31
31
  interface Exceptions {
32
- Source: string;
33
- Exception: Exception[];
32
+ Source?: string;
33
+ Exception?: Exception[];
34
34
  }
35
35
  interface StatusReport {
36
- StatusID: int;
37
- Status: string;
38
- StatusDetails: string;
39
- Reporter: string;
40
- TimeReported: long;
41
- TimeReportedStr: string;
42
- TimeCached: string;
43
- URL: string;
36
+ StatusID?: int;
37
+ Status?: string;
38
+ StatusDetails?: string;
39
+ Reporter?: string;
40
+ TimeReported?: long;
41
+ TimeReportedStr?: string;
42
+ TimeCached?: string;
43
+ URL?: string;
44
44
  }
45
45
  interface StatusReports {
46
- StatusReport: StatusReport[];
46
+ StatusReport?: StatusReport[];
47
47
  }
48
48
  interface ComponentStatus {
49
- ComponentTypeID: int;
50
- ComponentType: string;
51
- EndPoint: string;
52
- StatusID: int;
53
- Status: string;
54
- TimeReported: long;
55
- TimeReportedStr: string;
56
- Reporter: string;
57
- StatusReports: StatusReports;
49
+ ComponentTypeID?: int;
50
+ ComponentType?: string;
51
+ EndPoint?: string;
52
+ StatusID?: int;
53
+ Status?: string;
54
+ TimeReported?: long;
55
+ TimeReportedStr?: string;
56
+ Reporter?: string;
57
+ StatusReports?: StatusReports;
58
58
  }
59
59
  interface ComponentStatusList {
60
- ComponentStatus: ComponentStatus[];
60
+ ComponentStatus?: ComponentStatus[];
61
61
  }
62
62
  interface GetComponentStatusResponse {
63
- Exceptions: Exceptions;
64
- StatusCode: int;
65
- Status: string;
66
- ComponentType: string;
67
- EndPoint: string;
68
- ComponentStatusID: int;
69
- ComponentStatus: string;
70
- TimeReported: long;
71
- TimeReportedStr: string;
72
- Reporter: string;
73
- StatusReport: StatusReport;
74
- ComponentStatusList: ComponentStatusList;
63
+ Exceptions?: Exceptions;
64
+ StatusCode?: int;
65
+ Status?: string;
66
+ ComponentType?: string;
67
+ EndPoint?: string;
68
+ ComponentStatusID?: int;
69
+ ComponentStatus?: string;
70
+ TimeReported?: long;
71
+ TimeReportedStr?: string;
72
+ Reporter?: string;
73
+ StatusReport?: StatusReport;
74
+ ComponentStatusList?: ComponentStatusList;
75
75
  }
76
76
  interface Component {
77
- Type: string;
78
- Name: string;
77
+ Type?: string;
78
+ Name?: string;
79
79
  }
80
80
  interface Components {
81
- Component: Component[];
81
+ Component?: Component[];
82
82
  }
83
83
  interface GetComponentUsageRequest {
84
84
  Components?: Components;
85
85
  BypassCachedResult?: boolean;
86
86
  }
87
87
  interface DiskUsage {
88
- Name: string;
89
- Path: string;
90
- Description: string;
91
- InUse: long;
92
- Available: long;
93
- PercentAvailable: int;
94
- Exception: string;
88
+ Name?: string;
89
+ Path?: string;
90
+ Description?: string;
91
+ InUse?: long;
92
+ Available?: long;
93
+ PercentAvailable?: int;
94
+ Exception?: string;
95
95
  }
96
96
  interface DiskUsages {
97
- DiskUsage: DiskUsage[];
97
+ DiskUsage?: DiskUsage[];
98
98
  }
99
99
  interface MachineUsage {
100
- Name: string;
101
- NetAddress: string;
102
- Description: string;
103
- Exception: string;
104
- DiskUsages: DiskUsages;
100
+ Name?: string;
101
+ NetAddress?: string;
102
+ Description?: string;
103
+ Exception?: string;
104
+ DiskUsages?: DiskUsages;
105
105
  }
106
106
  interface MachineUsages {
107
- MachineUsage: MachineUsage[];
107
+ MachineUsage?: MachineUsage[];
108
108
  }
109
109
  interface ComponentUsage {
110
- Type: string;
111
- Name: string;
112
- Description: string;
113
- Exception: string;
114
- MachineUsages: MachineUsages;
110
+ Type?: string;
111
+ Name?: string;
112
+ Description?: string;
113
+ Exception?: string;
114
+ MachineUsages?: MachineUsages;
115
115
  }
116
116
  interface ComponentUsages {
117
- ComponentUsage: ComponentUsage[];
117
+ ComponentUsage?: ComponentUsage[];
118
118
  }
119
119
  interface GetComponentUsageResponse {
120
- Exceptions: Exceptions;
121
- ComponentUsages: ComponentUsages;
122
- UsageTime: string;
120
+ Exceptions?: Exceptions;
121
+ ComponentUsages?: ComponentUsages;
122
+ UsageTime?: string;
123
123
  }
124
124
  interface Addresses {
125
- Item: string[];
125
+ Item?: string[];
126
126
  }
127
127
  interface GetMachineInfoRequest {
128
128
  Addresses?: Addresses;
@@ -148,129 +148,129 @@ export declare namespace WsMachine {
148
148
  SecurityString?: string;
149
149
  }
150
150
  interface RequestInfo {
151
- Addresses: Addresses;
152
- SortBy: string;
153
- ClusterType: TpMachineType;
154
- Cluster: string;
155
- OldIP: string;
156
- Path: string;
157
- AddProcessesToFilter: string;
158
- ApplyProcessFilter: boolean;
159
- GetProcessorInfo: boolean;
160
- GetStorageInfo: boolean;
161
- LocalFileSystemsOnly: boolean;
162
- GetSoftwareInfo: boolean;
163
- MemThreshold: int;
164
- DiskThreshold: int;
165
- CpuThreshold: int;
166
- AutoRefresh: int;
167
- MemThresholdType: ThresholdType;
168
- DiskThresholdType: ThresholdType;
169
- SecurityString: string;
170
- UserName: string;
171
- Password: string;
172
- EnableSNMP: boolean;
151
+ Addresses?: Addresses;
152
+ SortBy?: string;
153
+ ClusterType?: TpMachineType;
154
+ Cluster?: string;
155
+ OldIP?: string;
156
+ Path?: string;
157
+ AddProcessesToFilter?: string;
158
+ ApplyProcessFilter?: boolean;
159
+ GetProcessorInfo?: boolean;
160
+ GetStorageInfo?: boolean;
161
+ LocalFileSystemsOnly?: boolean;
162
+ GetSoftwareInfo?: boolean;
163
+ MemThreshold?: int;
164
+ DiskThreshold?: int;
165
+ CpuThreshold?: int;
166
+ AutoRefresh?: int;
167
+ MemThresholdType?: ThresholdType;
168
+ DiskThresholdType?: ThresholdType;
169
+ SecurityString?: string;
170
+ UserName?: string;
171
+ Password?: string;
172
+ EnableSNMP?: boolean;
173
173
  }
174
174
  interface Columns {
175
- Item: string[];
175
+ Item?: string[];
176
176
  }
177
177
  interface ProcessorInfo {
178
- Type: string;
179
- Load: int;
178
+ Type?: string;
179
+ Load?: int;
180
180
  }
181
181
  interface Processors {
182
- ProcessorInfo: ProcessorInfo[];
182
+ ProcessorInfo?: ProcessorInfo[];
183
183
  }
184
184
  interface StorageInfo {
185
- Description: string;
186
- Type: string;
187
- Available: long;
188
- PercentAvail: int;
189
- Total: long;
190
- Failures: int;
185
+ Description?: string;
186
+ Type?: string;
187
+ Available?: long;
188
+ PercentAvail?: int;
189
+ Total?: long;
190
+ Failures?: int;
191
191
  }
192
192
  interface Storage {
193
- StorageInfo: StorageInfo[];
193
+ StorageInfo?: StorageInfo[];
194
194
  }
195
195
  interface SWRunInfo {
196
- Name: string;
197
- Instances: int;
198
- State: int;
196
+ Name?: string;
197
+ Instances?: int;
198
+ State?: int;
199
199
  }
200
200
  interface Running {
201
- SWRunInfo: SWRunInfo[];
201
+ SWRunInfo?: SWRunInfo[];
202
202
  }
203
203
  interface PhysicalMemory {
204
- Description: string;
205
- Type: string;
206
- Available: long;
207
- PercentAvail: int;
208
- Total: long;
209
- Failures: int;
204
+ Description?: string;
205
+ Type?: string;
206
+ Available?: long;
207
+ PercentAvail?: int;
208
+ Total?: long;
209
+ Failures?: int;
210
210
  }
211
211
  interface VirtualMemory {
212
- Description: string;
213
- Type: string;
214
- Available: long;
215
- PercentAvail: int;
216
- Total: long;
217
- Failures: int;
212
+ Description?: string;
213
+ Type?: string;
214
+ Available?: long;
215
+ PercentAvail?: int;
216
+ Total?: long;
217
+ Failures?: int;
218
218
  }
219
219
  interface ComponentInfo {
220
- Condition: int;
221
- State: int;
222
- UpTime: string;
220
+ Condition?: int;
221
+ State?: int;
222
+ UpTime?: string;
223
223
  }
224
224
  interface MachineInfoEx {
225
- Address: string;
226
- ConfigAddress: string;
227
- Name: string;
228
- ProcessType: string;
229
- DisplayType: string;
230
- Description: string;
231
- AgentVersion: string;
232
- Contact: string;
233
- Location: string;
234
- UpTime: string;
235
- ComponentName: string;
236
- ComponentPath: string;
237
- RoxieState: string;
238
- RoxieStateDetails: string;
239
- OS: int;
240
- ProcessNumber: int;
241
- Channels: unsignedInt;
242
- Processors: Processors;
243
- Storage: Storage;
244
- Running: Running;
245
- PhysicalMemory: PhysicalMemory;
246
- VirtualMemory: VirtualMemory;
247
- ComponentInfo: ComponentInfo;
248
- Exception: string;
225
+ Address?: string;
226
+ ConfigAddress?: string;
227
+ Name?: string;
228
+ ProcessType?: string;
229
+ DisplayType?: string;
230
+ Description?: string;
231
+ AgentVersion?: string;
232
+ Contact?: string;
233
+ Location?: string;
234
+ UpTime?: string;
235
+ ComponentName?: string;
236
+ ComponentPath?: string;
237
+ RoxieState?: string;
238
+ RoxieStateDetails?: string;
239
+ OS?: int;
240
+ ProcessNumber?: int;
241
+ Channels?: unsignedInt;
242
+ Processors?: Processors;
243
+ Storage?: Storage;
244
+ Running?: Running;
245
+ PhysicalMemory?: PhysicalMemory;
246
+ VirtualMemory?: VirtualMemory;
247
+ ComponentInfo?: ComponentInfo;
248
+ Exception?: string;
249
249
  }
250
250
  interface Machines {
251
- MachineInfoEx: MachineInfoEx[];
251
+ MachineInfoEx?: MachineInfoEx[];
252
252
  }
253
253
  interface GetMachineInfoResponse {
254
- Exceptions: Exceptions;
255
- RequestInfo: RequestInfo;
256
- Columns: Columns;
257
- Machines: Machines;
258
- TimeStamp: string;
259
- UserName: string;
260
- Password: string;
261
- AcceptLanguage: string;
254
+ Exceptions?: Exceptions;
255
+ RequestInfo?: RequestInfo;
256
+ Columns?: Columns;
257
+ Machines?: Machines;
258
+ TimeStamp?: string;
259
+ UserName?: string;
260
+ Password?: string;
261
+ AcceptLanguage?: string;
262
262
  }
263
263
  interface GetMachineInfoRequestEx {
264
- Addresses: Addresses;
265
- ClusterType: TpMachineType;
264
+ Addresses?: Addresses;
265
+ ClusterType?: TpMachineType;
266
266
  }
267
267
  interface GetMachineInfoResponseEx {
268
- Exceptions: Exceptions;
269
- AcceptLanguage: string;
270
- Machines: Machines;
268
+ Exceptions?: Exceptions;
269
+ AcceptLanguage?: string;
270
+ Machines?: Machines;
271
271
  }
272
272
  interface ShowColumns {
273
- Item: string[];
273
+ Item?: string[];
274
274
  }
275
275
  interface MetricsRequest {
276
276
  SecurityString?: string;
@@ -282,38 +282,38 @@ export declare namespace WsMachine {
282
282
  AutoUpdate?: boolean;
283
283
  }
284
284
  interface MetricsResponse {
285
- Exceptions: Exceptions;
286
- FieldInformation: string;
287
- Metrics: string;
288
- AutoRefresh: int;
289
- Cluster: string;
290
- SelectAllChecked: boolean;
291
- AutoUpdate: boolean;
292
- AcceptLanguage: string;
285
+ Exceptions?: Exceptions;
286
+ FieldInformation?: string;
287
+ Metrics?: string;
288
+ AutoRefresh?: int;
289
+ Cluster?: string;
290
+ SelectAllChecked?: boolean;
291
+ AutoUpdate?: boolean;
292
+ AcceptLanguage?: string;
293
293
  }
294
294
  interface NodeGroups {
295
- Item: string[];
295
+ Item?: string[];
296
296
  }
297
297
  interface GetNodeGroupUsageRequest {
298
298
  NodeGroups?: NodeGroups;
299
299
  BypassCachedResult?: boolean;
300
300
  }
301
301
  interface NodeGroupUsage {
302
- Name: string;
303
- Description: string;
304
- Exception: string;
305
- ComponentUsages: ComponentUsages;
302
+ Name?: string;
303
+ Description?: string;
304
+ Exception?: string;
305
+ ComponentUsages?: ComponentUsages;
306
306
  }
307
307
  interface NodeGroupUsages {
308
- NodeGroupUsage: NodeGroupUsage[];
308
+ NodeGroupUsage?: NodeGroupUsage[];
309
309
  }
310
310
  interface GetNodeGroupUsageResponse {
311
- Exceptions: Exceptions;
312
- NodeGroupUsages: NodeGroupUsages;
313
- UsageTime: string;
311
+ Exceptions?: Exceptions;
312
+ NodeGroupUsages?: NodeGroupUsages;
313
+ UsageTime?: string;
314
314
  }
315
315
  interface TargetClusters {
316
- Item: string[];
316
+ Item?: string[];
317
317
  }
318
318
  interface GetTargetClusterInfoRequest {
319
319
  TargetClusters?: TargetClusters;
@@ -331,41 +331,41 @@ export declare namespace WsMachine {
331
331
  DiskThresholdType?: ThresholdType;
332
332
  }
333
333
  interface Processes {
334
- MachineInfoEx: MachineInfoEx[];
334
+ MachineInfoEx?: MachineInfoEx[];
335
335
  }
336
336
  interface TargetClusterInfo {
337
- Name: string;
338
- Type: string;
339
- Processes: Processes;
337
+ Name?: string;
338
+ Type?: string;
339
+ Processes?: Processes;
340
340
  }
341
341
  interface TargetClusterInfoList {
342
- TargetClusterInfo: TargetClusterInfo[];
342
+ TargetClusterInfo?: TargetClusterInfo[];
343
343
  }
344
344
  interface GetTargetClusterInfoResponse {
345
- Exceptions: Exceptions;
346
- Columns: Columns;
347
- RequestInfo: RequestInfo;
348
- TargetClusterInfoList: TargetClusterInfoList;
349
- TimeStamp: string;
350
- AcceptLanguage: string;
345
+ Exceptions?: Exceptions;
346
+ Columns?: Columns;
347
+ RequestInfo?: RequestInfo;
348
+ TargetClusterInfoList?: TargetClusterInfoList;
349
+ TimeStamp?: string;
350
+ AcceptLanguage?: string;
351
351
  }
352
352
  interface GetTargetClusterUsageRequest {
353
353
  TargetClusters?: TargetClusters;
354
354
  BypassCachedResult?: boolean;
355
355
  }
356
356
  interface TargetClusterUsage {
357
- Name: string;
358
- Description: string;
359
- Exception: string;
360
- ComponentUsages: ComponentUsages;
357
+ Name?: string;
358
+ Description?: string;
359
+ Exception?: string;
360
+ ComponentUsages?: ComponentUsages;
361
361
  }
362
362
  interface TargetClusterUsages {
363
- TargetClusterUsage: TargetClusterUsage[];
363
+ TargetClusterUsage?: TargetClusterUsage[];
364
364
  }
365
365
  interface GetTargetClusterUsageResponse {
366
- Exceptions: Exceptions;
367
- TargetClusterUsages: TargetClusterUsages;
368
- UsageTime: string;
366
+ Exceptions?: Exceptions;
367
+ TargetClusterUsages?: TargetClusterUsages;
368
+ UsageTime?: string;
369
369
  }
370
370
  interface ws_machinePingRequest {
371
371
  }
@@ -376,21 +376,21 @@ export declare namespace WsMachine {
376
376
  ComponentStatusList?: ComponentStatusList;
377
377
  }
378
378
  interface UpdateComponentStatusResponse {
379
- Exceptions: Exceptions;
380
- StatusCode: int;
381
- Status: string;
379
+ Exceptions?: Exceptions;
380
+ StatusCode?: int;
381
+ Status?: string;
382
382
  }
383
383
  }
384
384
  export declare class MachineServiceBase extends Service {
385
385
  constructor(optsConnection: IOptions | IConnection);
386
- GetComponentStatus(request: Partial<WsMachine.GetComponentStatusRequest>): Promise<WsMachine.GetComponentStatusResponse>;
387
- GetComponentUsage(request: Partial<WsMachine.GetComponentUsageRequest>): Promise<WsMachine.GetComponentUsageResponse>;
388
- GetMachineInfo(request: Partial<WsMachine.GetMachineInfoRequest>): Promise<WsMachine.GetMachineInfoResponse>;
389
- GetMachineInfoEx(request: Partial<WsMachine.GetMachineInfoRequestEx>): Promise<WsMachine.GetMachineInfoResponseEx>;
390
- GetMetrics(request: Partial<WsMachine.MetricsRequest>): Promise<WsMachine.MetricsResponse>;
391
- GetNodeGroupUsage(request: Partial<WsMachine.GetNodeGroupUsageRequest>): Promise<WsMachine.GetNodeGroupUsageResponse>;
392
- GetTargetClusterInfo(request: Partial<WsMachine.GetTargetClusterInfoRequest>): Promise<WsMachine.GetTargetClusterInfoResponse>;
393
- GetTargetClusterUsage(request: Partial<WsMachine.GetTargetClusterUsageRequest>): Promise<WsMachine.GetTargetClusterUsageResponse>;
394
- Ping(request: Partial<WsMachine.ws_machinePingRequest>): Promise<WsMachine.ws_machinePingResponse>;
395
- UpdateComponentStatus(request: Partial<WsMachine.UpdateComponentStatusRequest>): Promise<WsMachine.UpdateComponentStatusResponse>;
386
+ GetComponentStatus(request: Partial<WsMachine.GetComponentStatusRequest>, abortSignal?: AbortSignal): Promise<WsMachine.GetComponentStatusResponse>;
387
+ GetComponentUsage(request: Partial<WsMachine.GetComponentUsageRequest>, abortSignal?: AbortSignal): Promise<WsMachine.GetComponentUsageResponse>;
388
+ GetMachineInfo(request: Partial<WsMachine.GetMachineInfoRequest>, abortSignal?: AbortSignal): Promise<WsMachine.GetMachineInfoResponse>;
389
+ GetMachineInfoEx(request: Partial<WsMachine.GetMachineInfoRequestEx>, abortSignal?: AbortSignal): Promise<WsMachine.GetMachineInfoResponseEx>;
390
+ GetMetrics(request: Partial<WsMachine.MetricsRequest>, abortSignal?: AbortSignal): Promise<WsMachine.MetricsResponse>;
391
+ GetNodeGroupUsage(request: Partial<WsMachine.GetNodeGroupUsageRequest>, abortSignal?: AbortSignal): Promise<WsMachine.GetNodeGroupUsageResponse>;
392
+ GetTargetClusterInfo(request: Partial<WsMachine.GetTargetClusterInfoRequest>, abortSignal?: AbortSignal): Promise<WsMachine.GetTargetClusterInfoResponse>;
393
+ GetTargetClusterUsage(request: Partial<WsMachine.GetTargetClusterUsageRequest>, abortSignal?: AbortSignal): Promise<WsMachine.GetTargetClusterUsageResponse>;
394
+ Ping(request: Partial<WsMachine.ws_machinePingRequest>, abortSignal?: AbortSignal): Promise<WsMachine.ws_machinePingResponse>;
395
+ UpdateComponentStatus(request: Partial<WsMachine.UpdateComponentStatusRequest>, abortSignal?: AbortSignal): Promise<WsMachine.UpdateComponentStatusResponse>;
396
396
  }