@hpcc-js/comms 3.8.0 → 3.9.0
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 +53 -56
- package/dist/node/index.cjs.map +4 -4
- package/dist/node/index.js +53 -56
- package/dist/node/index.js.map +4 -4
- package/package.json +6 -7
- 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
|
@@ -1,9 +1,25 @@
|
|
|
1
1
|
import { IConnection, IOptions } from "../../../../connection.ts";
|
|
2
2
|
import { Service } from "../../../../espConnection.ts";
|
|
3
|
-
type int = number;
|
|
4
|
-
type long = number;
|
|
5
|
-
type unsignedInt = number;
|
|
6
3
|
export declare namespace WsMachine {
|
|
4
|
+
type int = number;
|
|
5
|
+
type long = number;
|
|
6
|
+
type unsignedInt = number;
|
|
7
|
+
enum ThresholdType {
|
|
8
|
+
THRESHOLD_PERCENTAGE = 0,
|
|
9
|
+
THRESHOLD_MB = 1
|
|
10
|
+
}
|
|
11
|
+
enum TpMachineType {
|
|
12
|
+
ALLNODES = "ALLNODES",
|
|
13
|
+
THORMACHINES = "THORMACHINES",
|
|
14
|
+
HOLEMACHINES = "HOLEMACHINES",
|
|
15
|
+
ROXIEMACHINES = "ROXIEMACHINES",
|
|
16
|
+
MACHINES = "MACHINES",
|
|
17
|
+
AVAILABLEMACHINES = "AVAILABLEMACHINES",
|
|
18
|
+
DROPZONE = "DROPZONE",
|
|
19
|
+
STANDBYNNODE = "STANDBYNNODE",
|
|
20
|
+
THORSPARENODES = "THORSPARENODES",
|
|
21
|
+
HOLESTANDBYNODES = "HOLESTANDBYNODES"
|
|
22
|
+
}
|
|
7
23
|
interface GetComponentStatusRequest {
|
|
8
24
|
}
|
|
9
25
|
interface Exception {
|
|
@@ -38,18 +54,13 @@ export declare namespace WsMachine {
|
|
|
38
54
|
TimeReported: long;
|
|
39
55
|
TimeReportedStr: string;
|
|
40
56
|
Reporter: string;
|
|
41
|
-
StatusReports:
|
|
42
|
-
StatusReport: StatusReport[];
|
|
43
|
-
};
|
|
57
|
+
StatusReports: StatusReports;
|
|
44
58
|
}
|
|
45
59
|
interface ComponentStatusList {
|
|
46
60
|
ComponentStatus: ComponentStatus[];
|
|
47
61
|
}
|
|
48
62
|
interface GetComponentStatusResponse {
|
|
49
|
-
Exceptions:
|
|
50
|
-
Source: string;
|
|
51
|
-
Exception: Exception[];
|
|
52
|
-
};
|
|
63
|
+
Exceptions: Exceptions;
|
|
53
64
|
StatusCode: int;
|
|
54
65
|
Status: string;
|
|
55
66
|
ComponentType: string;
|
|
@@ -59,19 +70,8 @@ export declare namespace WsMachine {
|
|
|
59
70
|
TimeReported: long;
|
|
60
71
|
TimeReportedStr: string;
|
|
61
72
|
Reporter: string;
|
|
62
|
-
StatusReport:
|
|
63
|
-
|
|
64
|
-
Status: string;
|
|
65
|
-
StatusDetails: string;
|
|
66
|
-
Reporter: string;
|
|
67
|
-
TimeReported: long;
|
|
68
|
-
TimeReportedStr: string;
|
|
69
|
-
TimeCached: string;
|
|
70
|
-
URL: string;
|
|
71
|
-
};
|
|
72
|
-
ComponentStatusList: {
|
|
73
|
-
ComponentStatus: ComponentStatus[];
|
|
74
|
-
};
|
|
73
|
+
StatusReport: StatusReport;
|
|
74
|
+
ComponentStatusList: ComponentStatusList;
|
|
75
75
|
}
|
|
76
76
|
interface Component {
|
|
77
77
|
Type: string;
|
|
@@ -81,9 +81,7 @@ export declare namespace WsMachine {
|
|
|
81
81
|
Component: Component[];
|
|
82
82
|
}
|
|
83
83
|
interface GetComponentUsageRequest {
|
|
84
|
-
Components?:
|
|
85
|
-
Component?: Component[];
|
|
86
|
-
};
|
|
84
|
+
Components?: Components;
|
|
87
85
|
BypassCachedResult?: boolean;
|
|
88
86
|
}
|
|
89
87
|
interface DiskUsage {
|
|
@@ -103,9 +101,7 @@ export declare namespace WsMachine {
|
|
|
103
101
|
NetAddress: string;
|
|
104
102
|
Description: string;
|
|
105
103
|
Exception: string;
|
|
106
|
-
DiskUsages:
|
|
107
|
-
DiskUsage: DiskUsage[];
|
|
108
|
-
};
|
|
104
|
+
DiskUsages: DiskUsages;
|
|
109
105
|
}
|
|
110
106
|
interface MachineUsages {
|
|
111
107
|
MachineUsage: MachineUsage[];
|
|
@@ -115,28 +111,23 @@ export declare namespace WsMachine {
|
|
|
115
111
|
Name: string;
|
|
116
112
|
Description: string;
|
|
117
113
|
Exception: string;
|
|
118
|
-
MachineUsages:
|
|
119
|
-
MachineUsage: MachineUsage[];
|
|
120
|
-
};
|
|
114
|
+
MachineUsages: MachineUsages;
|
|
121
115
|
}
|
|
122
116
|
interface ComponentUsages {
|
|
123
117
|
ComponentUsage: ComponentUsage[];
|
|
124
118
|
}
|
|
125
119
|
interface GetComponentUsageResponse {
|
|
126
120
|
Exceptions: Exceptions;
|
|
127
|
-
ComponentUsages:
|
|
128
|
-
ComponentUsage: ComponentUsage[];
|
|
129
|
-
};
|
|
121
|
+
ComponentUsages: ComponentUsages;
|
|
130
122
|
UsageTime: string;
|
|
131
123
|
}
|
|
132
124
|
interface Addresses {
|
|
133
125
|
Item: string[];
|
|
134
126
|
}
|
|
135
127
|
interface GetMachineInfoRequest {
|
|
136
|
-
Addresses?:
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
ClusterType?: string;
|
|
128
|
+
Addresses?: Addresses;
|
|
129
|
+
SortBy?: string;
|
|
130
|
+
ClusterType?: TpMachineType;
|
|
140
131
|
Cluster?: string;
|
|
141
132
|
OldIP?: string;
|
|
142
133
|
Path?: string;
|
|
@@ -150,15 +141,16 @@ export declare namespace WsMachine {
|
|
|
150
141
|
DiskThreshold?: int;
|
|
151
142
|
CpuThreshold?: int;
|
|
152
143
|
AutoRefresh?: int;
|
|
153
|
-
MemThresholdType?:
|
|
154
|
-
DiskThresholdType?:
|
|
144
|
+
MemThresholdType?: ThresholdType;
|
|
145
|
+
DiskThresholdType?: ThresholdType;
|
|
155
146
|
UserName?: string;
|
|
156
147
|
Password?: string;
|
|
157
148
|
SecurityString?: string;
|
|
158
149
|
}
|
|
159
150
|
interface RequestInfo {
|
|
160
151
|
Addresses: Addresses;
|
|
161
|
-
|
|
152
|
+
SortBy: string;
|
|
153
|
+
ClusterType: TpMachineType;
|
|
162
154
|
Cluster: string;
|
|
163
155
|
OldIP: string;
|
|
164
156
|
Path: string;
|
|
@@ -172,8 +164,8 @@ export declare namespace WsMachine {
|
|
|
172
164
|
DiskThreshold: int;
|
|
173
165
|
CpuThreshold: int;
|
|
174
166
|
AutoRefresh: int;
|
|
175
|
-
MemThresholdType:
|
|
176
|
-
DiskThresholdType:
|
|
167
|
+
MemThresholdType: ThresholdType;
|
|
168
|
+
DiskThresholdType: ThresholdType;
|
|
177
169
|
SecurityString: string;
|
|
178
170
|
UserName: string;
|
|
179
171
|
Password: string;
|
|
@@ -247,36 +239,12 @@ export declare namespace WsMachine {
|
|
|
247
239
|
OS: int;
|
|
248
240
|
ProcessNumber: int;
|
|
249
241
|
Channels: unsignedInt;
|
|
250
|
-
Processors:
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
Running: {
|
|
257
|
-
SWRunInfo: SWRunInfo[];
|
|
258
|
-
};
|
|
259
|
-
PhysicalMemory: {
|
|
260
|
-
Description: string;
|
|
261
|
-
Type: string;
|
|
262
|
-
Available: long;
|
|
263
|
-
PercentAvail: int;
|
|
264
|
-
Total: long;
|
|
265
|
-
Failures: int;
|
|
266
|
-
};
|
|
267
|
-
VirtualMemory: {
|
|
268
|
-
Description: string;
|
|
269
|
-
Type: string;
|
|
270
|
-
Available: long;
|
|
271
|
-
PercentAvail: int;
|
|
272
|
-
Total: long;
|
|
273
|
-
Failures: int;
|
|
274
|
-
};
|
|
275
|
-
ComponentInfo: {
|
|
276
|
-
Condition: int;
|
|
277
|
-
State: int;
|
|
278
|
-
UpTime: string;
|
|
279
|
-
};
|
|
242
|
+
Processors: Processors;
|
|
243
|
+
Storage: Storage;
|
|
244
|
+
Running: Running;
|
|
245
|
+
PhysicalMemory: PhysicalMemory;
|
|
246
|
+
VirtualMemory: VirtualMemory;
|
|
247
|
+
ComponentInfo: ComponentInfo;
|
|
280
248
|
Exception: string;
|
|
281
249
|
}
|
|
282
250
|
interface Machines {
|
|
@@ -284,35 +252,9 @@ export declare namespace WsMachine {
|
|
|
284
252
|
}
|
|
285
253
|
interface GetMachineInfoResponse {
|
|
286
254
|
Exceptions: Exceptions;
|
|
287
|
-
RequestInfo:
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
Cluster: string;
|
|
291
|
-
OldIP: string;
|
|
292
|
-
Path: string;
|
|
293
|
-
AddProcessesToFilter: string;
|
|
294
|
-
ApplyProcessFilter: boolean;
|
|
295
|
-
GetProcessorInfo: boolean;
|
|
296
|
-
GetStorageInfo: boolean;
|
|
297
|
-
LocalFileSystemsOnly: boolean;
|
|
298
|
-
GetSoftwareInfo: boolean;
|
|
299
|
-
MemThreshold: int;
|
|
300
|
-
DiskThreshold: int;
|
|
301
|
-
CpuThreshold: int;
|
|
302
|
-
AutoRefresh: int;
|
|
303
|
-
MemThresholdType: string;
|
|
304
|
-
DiskThresholdType: string;
|
|
305
|
-
SecurityString: string;
|
|
306
|
-
UserName: string;
|
|
307
|
-
Password: string;
|
|
308
|
-
EnableSNMP: boolean;
|
|
309
|
-
};
|
|
310
|
-
Columns: {
|
|
311
|
-
Item: string[];
|
|
312
|
-
};
|
|
313
|
-
Machines: {
|
|
314
|
-
MachineInfoEx: MachineInfoEx[];
|
|
315
|
-
};
|
|
255
|
+
RequestInfo: RequestInfo;
|
|
256
|
+
Columns: Columns;
|
|
257
|
+
Machines: Machines;
|
|
316
258
|
TimeStamp: string;
|
|
317
259
|
UserName: string;
|
|
318
260
|
Password: string;
|
|
@@ -320,7 +262,7 @@ export declare namespace WsMachine {
|
|
|
320
262
|
}
|
|
321
263
|
interface GetMachineInfoRequestEx {
|
|
322
264
|
Addresses: Addresses;
|
|
323
|
-
ClusterType:
|
|
265
|
+
ClusterType: TpMachineType;
|
|
324
266
|
}
|
|
325
267
|
interface GetMachineInfoResponseEx {
|
|
326
268
|
Exceptions: Exceptions;
|
|
@@ -333,9 +275,7 @@ export declare namespace WsMachine {
|
|
|
333
275
|
interface MetricsRequest {
|
|
334
276
|
SecurityString?: string;
|
|
335
277
|
Addresses?: Addresses;
|
|
336
|
-
ShowColumns?:
|
|
337
|
-
Item?: string[];
|
|
338
|
-
};
|
|
278
|
+
ShowColumns?: ShowColumns;
|
|
339
279
|
AutoRefresh?: int;
|
|
340
280
|
SelectAllChecked?: boolean;
|
|
341
281
|
Cluster?: string;
|
|
@@ -355,9 +295,7 @@ export declare namespace WsMachine {
|
|
|
355
295
|
Item: string[];
|
|
356
296
|
}
|
|
357
297
|
interface GetNodeGroupUsageRequest {
|
|
358
|
-
NodeGroups?:
|
|
359
|
-
Item?: string[];
|
|
360
|
-
};
|
|
298
|
+
NodeGroups?: NodeGroups;
|
|
361
299
|
BypassCachedResult?: boolean;
|
|
362
300
|
}
|
|
363
301
|
interface NodeGroupUsage {
|
|
@@ -371,18 +309,14 @@ export declare namespace WsMachine {
|
|
|
371
309
|
}
|
|
372
310
|
interface GetNodeGroupUsageResponse {
|
|
373
311
|
Exceptions: Exceptions;
|
|
374
|
-
NodeGroupUsages:
|
|
375
|
-
NodeGroupUsage: NodeGroupUsage[];
|
|
376
|
-
};
|
|
312
|
+
NodeGroupUsages: NodeGroupUsages;
|
|
377
313
|
UsageTime: string;
|
|
378
314
|
}
|
|
379
315
|
interface TargetClusters {
|
|
380
316
|
Item: string[];
|
|
381
317
|
}
|
|
382
318
|
interface GetTargetClusterInfoRequest {
|
|
383
|
-
TargetClusters?:
|
|
384
|
-
Item?: string[];
|
|
385
|
-
};
|
|
319
|
+
TargetClusters?: TargetClusters;
|
|
386
320
|
AddProcessesToFilter?: string;
|
|
387
321
|
ApplyProcessFilter?: boolean;
|
|
388
322
|
GetProcessorInfo?: boolean;
|
|
@@ -393,8 +327,8 @@ export declare namespace WsMachine {
|
|
|
393
327
|
DiskThreshold?: int;
|
|
394
328
|
CpuThreshold?: int;
|
|
395
329
|
AutoRefresh?: int;
|
|
396
|
-
MemThresholdType?:
|
|
397
|
-
DiskThresholdType?:
|
|
330
|
+
MemThresholdType?: ThresholdType;
|
|
331
|
+
DiskThresholdType?: ThresholdType;
|
|
398
332
|
}
|
|
399
333
|
interface Processes {
|
|
400
334
|
MachineInfoEx: MachineInfoEx[];
|
|
@@ -402,9 +336,7 @@ export declare namespace WsMachine {
|
|
|
402
336
|
interface TargetClusterInfo {
|
|
403
337
|
Name: string;
|
|
404
338
|
Type: string;
|
|
405
|
-
Processes:
|
|
406
|
-
MachineInfoEx: MachineInfoEx[];
|
|
407
|
-
};
|
|
339
|
+
Processes: Processes;
|
|
408
340
|
}
|
|
409
341
|
interface TargetClusterInfoList {
|
|
410
342
|
TargetClusterInfo: TargetClusterInfo[];
|
|
@@ -413,9 +345,7 @@ export declare namespace WsMachine {
|
|
|
413
345
|
Exceptions: Exceptions;
|
|
414
346
|
Columns: Columns;
|
|
415
347
|
RequestInfo: RequestInfo;
|
|
416
|
-
TargetClusterInfoList:
|
|
417
|
-
TargetClusterInfo: TargetClusterInfo[];
|
|
418
|
-
};
|
|
348
|
+
TargetClusterInfoList: TargetClusterInfoList;
|
|
419
349
|
TimeStamp: string;
|
|
420
350
|
AcceptLanguage: string;
|
|
421
351
|
}
|
|
@@ -434,9 +364,7 @@ export declare namespace WsMachine {
|
|
|
434
364
|
}
|
|
435
365
|
interface GetTargetClusterUsageResponse {
|
|
436
366
|
Exceptions: Exceptions;
|
|
437
|
-
TargetClusterUsages:
|
|
438
|
-
TargetClusterUsage: TargetClusterUsage[];
|
|
439
|
-
};
|
|
367
|
+
TargetClusterUsages: TargetClusterUsages;
|
|
440
368
|
UsageTime: string;
|
|
441
369
|
}
|
|
442
370
|
interface ws_machinePingRequest {
|
|
@@ -455,15 +383,14 @@ export declare namespace WsMachine {
|
|
|
455
383
|
}
|
|
456
384
|
export declare class MachineServiceBase extends Service {
|
|
457
385
|
constructor(optsConnection: IOptions | IConnection);
|
|
458
|
-
GetComponentStatus(request: WsMachine.GetComponentStatusRequest): Promise<WsMachine.GetComponentStatusResponse>;
|
|
459
|
-
GetComponentUsage(request: WsMachine.GetComponentUsageRequest): Promise<WsMachine.GetComponentUsageResponse>;
|
|
460
|
-
GetMachineInfo(request: WsMachine.GetMachineInfoRequest): Promise<WsMachine.GetMachineInfoResponse>;
|
|
461
|
-
GetMachineInfoEx(request: WsMachine.GetMachineInfoRequestEx): Promise<WsMachine.GetMachineInfoResponseEx>;
|
|
462
|
-
GetMetrics(request: WsMachine.MetricsRequest): Promise<WsMachine.MetricsResponse>;
|
|
463
|
-
GetNodeGroupUsage(request: WsMachine.GetNodeGroupUsageRequest): Promise<WsMachine.GetNodeGroupUsageResponse>;
|
|
464
|
-
GetTargetClusterInfo(request: WsMachine.GetTargetClusterInfoRequest): Promise<WsMachine.GetTargetClusterInfoResponse>;
|
|
465
|
-
GetTargetClusterUsage(request: WsMachine.GetTargetClusterUsageRequest): Promise<WsMachine.GetTargetClusterUsageResponse>;
|
|
466
|
-
Ping(request: WsMachine.ws_machinePingRequest): Promise<WsMachine.ws_machinePingResponse>;
|
|
467
|
-
UpdateComponentStatus(request: WsMachine.UpdateComponentStatusRequest): Promise<WsMachine.UpdateComponentStatusResponse>;
|
|
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>;
|
|
468
396
|
}
|
|
469
|
-
export {};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
import { IConnection, IOptions } from "../../../../connection.ts";
|
|
2
|
+
import { Service } from "../../../../espConnection.ts";
|
|
3
|
+
export declare namespace Wsstore {
|
|
4
|
+
type int = number;
|
|
5
|
+
interface CreateStoreRequest {
|
|
6
|
+
Name?: string;
|
|
7
|
+
Type?: string;
|
|
8
|
+
Description?: string;
|
|
9
|
+
MaxValueSize?: int;
|
|
10
|
+
}
|
|
11
|
+
interface Exception {
|
|
12
|
+
Code: string;
|
|
13
|
+
Audience: string;
|
|
14
|
+
Source: string;
|
|
15
|
+
Message: string;
|
|
16
|
+
}
|
|
17
|
+
interface Exceptions {
|
|
18
|
+
Source: string;
|
|
19
|
+
Exception: Exception[];
|
|
20
|
+
}
|
|
21
|
+
interface CreateStoreResponse {
|
|
22
|
+
Exceptions: Exceptions;
|
|
23
|
+
Name: string;
|
|
24
|
+
Type: string;
|
|
25
|
+
Description: string;
|
|
26
|
+
Owner: string;
|
|
27
|
+
Success: boolean;
|
|
28
|
+
}
|
|
29
|
+
interface DeleteRequest {
|
|
30
|
+
StoreName?: string;
|
|
31
|
+
Namespace?: string;
|
|
32
|
+
Key?: string;
|
|
33
|
+
UserSpecific?: boolean;
|
|
34
|
+
TargetUser?: string;
|
|
35
|
+
}
|
|
36
|
+
interface DeleteResponse {
|
|
37
|
+
Exceptions: Exceptions;
|
|
38
|
+
Success: boolean;
|
|
39
|
+
}
|
|
40
|
+
interface DeleteNamespaceRequest {
|
|
41
|
+
StoreName?: string;
|
|
42
|
+
Namespace?: string;
|
|
43
|
+
UserSpecific?: boolean;
|
|
44
|
+
TargetUser?: string;
|
|
45
|
+
}
|
|
46
|
+
interface DeleteNamespaceResponse {
|
|
47
|
+
Exceptions: Exceptions;
|
|
48
|
+
Success: boolean;
|
|
49
|
+
}
|
|
50
|
+
interface FetchRequest {
|
|
51
|
+
StoreName?: string;
|
|
52
|
+
Namespace?: string;
|
|
53
|
+
Key?: string;
|
|
54
|
+
UserSpecific?: boolean;
|
|
55
|
+
}
|
|
56
|
+
interface FetchResponse {
|
|
57
|
+
Exceptions: Exceptions;
|
|
58
|
+
Value: string;
|
|
59
|
+
}
|
|
60
|
+
interface FetchAllRequest {
|
|
61
|
+
StoreName?: string;
|
|
62
|
+
Namespace?: string;
|
|
63
|
+
UserSpecific?: boolean;
|
|
64
|
+
}
|
|
65
|
+
interface Pair {
|
|
66
|
+
Key: string;
|
|
67
|
+
Value: string;
|
|
68
|
+
}
|
|
69
|
+
interface Pairs {
|
|
70
|
+
Pair: Pair[];
|
|
71
|
+
}
|
|
72
|
+
interface FetchAllResponse {
|
|
73
|
+
Exceptions: Exceptions;
|
|
74
|
+
Namespace: string;
|
|
75
|
+
Pairs: Pairs;
|
|
76
|
+
}
|
|
77
|
+
interface FetchKeyMDRequest {
|
|
78
|
+
StoreName?: string;
|
|
79
|
+
Namespace?: string;
|
|
80
|
+
Key?: string;
|
|
81
|
+
UserSpecific?: boolean;
|
|
82
|
+
}
|
|
83
|
+
interface FetchKeyMDResponse {
|
|
84
|
+
Exceptions: Exceptions;
|
|
85
|
+
StoreName: string;
|
|
86
|
+
Namespace: string;
|
|
87
|
+
Key: string;
|
|
88
|
+
Pairs: Pairs;
|
|
89
|
+
}
|
|
90
|
+
interface ListKeysRequest {
|
|
91
|
+
StoreName?: string;
|
|
92
|
+
Namespace?: string;
|
|
93
|
+
UserSpecific?: boolean;
|
|
94
|
+
}
|
|
95
|
+
interface KeySet {
|
|
96
|
+
Key: string[];
|
|
97
|
+
}
|
|
98
|
+
interface ListKeysResponse {
|
|
99
|
+
Exceptions: Exceptions;
|
|
100
|
+
StoreName: string;
|
|
101
|
+
Namespace: string;
|
|
102
|
+
KeySet: KeySet;
|
|
103
|
+
}
|
|
104
|
+
interface ListNamespacesRequest {
|
|
105
|
+
StoreName?: string;
|
|
106
|
+
UserSpecific?: boolean;
|
|
107
|
+
}
|
|
108
|
+
interface Namespaces {
|
|
109
|
+
Namespace: string[];
|
|
110
|
+
}
|
|
111
|
+
interface ListNamespacesResponse {
|
|
112
|
+
Exceptions: Exceptions;
|
|
113
|
+
StoreName: string;
|
|
114
|
+
Namespaces: Namespaces;
|
|
115
|
+
}
|
|
116
|
+
interface ListStoresRequest {
|
|
117
|
+
NameFilter?: string;
|
|
118
|
+
TypeFilter?: string;
|
|
119
|
+
OwnerFilter?: string;
|
|
120
|
+
}
|
|
121
|
+
interface Store {
|
|
122
|
+
Name: string;
|
|
123
|
+
Type: string;
|
|
124
|
+
Description: string;
|
|
125
|
+
Owner: string;
|
|
126
|
+
CreateTime: string;
|
|
127
|
+
MaxValSize: string;
|
|
128
|
+
IsDefault: boolean;
|
|
129
|
+
}
|
|
130
|
+
interface Stores {
|
|
131
|
+
Store: Store[];
|
|
132
|
+
}
|
|
133
|
+
interface ListStoresResponse {
|
|
134
|
+
Exceptions: Exceptions;
|
|
135
|
+
Stores: Stores;
|
|
136
|
+
}
|
|
137
|
+
interface wsstorePingRequest {
|
|
138
|
+
}
|
|
139
|
+
interface wsstorePingResponse {
|
|
140
|
+
}
|
|
141
|
+
interface SetRequest {
|
|
142
|
+
StoreName?: string;
|
|
143
|
+
Namespace?: string;
|
|
144
|
+
Key?: string;
|
|
145
|
+
Value?: string;
|
|
146
|
+
UserSpecific?: boolean;
|
|
147
|
+
}
|
|
148
|
+
interface SetResponse {
|
|
149
|
+
Exceptions: Exceptions;
|
|
150
|
+
Success: boolean;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
export declare class storeServiceBase extends Service {
|
|
154
|
+
constructor(optsConnection: IOptions | IConnection);
|
|
155
|
+
CreateStore(request: Partial<Wsstore.CreateStoreRequest>): Promise<Wsstore.CreateStoreResponse>;
|
|
156
|
+
Delete(request: Partial<Wsstore.DeleteRequest>): Promise<Wsstore.DeleteResponse>;
|
|
157
|
+
DeleteNamespace(request: Partial<Wsstore.DeleteNamespaceRequest>): Promise<Wsstore.DeleteNamespaceResponse>;
|
|
158
|
+
Fetch(request: Partial<Wsstore.FetchRequest>): Promise<Wsstore.FetchResponse>;
|
|
159
|
+
FetchAll(request: Partial<Wsstore.FetchAllRequest>): Promise<Wsstore.FetchAllResponse>;
|
|
160
|
+
FetchKeyMetadata(request: Partial<Wsstore.FetchKeyMDRequest>): Promise<Wsstore.FetchKeyMDResponse>;
|
|
161
|
+
ListKeys(request: Partial<Wsstore.ListKeysRequest>): Promise<Wsstore.ListKeysResponse>;
|
|
162
|
+
ListNamespaces(request: Partial<Wsstore.ListNamespacesRequest>): Promise<Wsstore.ListNamespacesResponse>;
|
|
163
|
+
ListStores(request: Partial<Wsstore.ListStoresRequest>): Promise<Wsstore.ListStoresResponse>;
|
|
164
|
+
Ping(request: Partial<Wsstore.wsstorePingRequest>): Promise<Wsstore.wsstorePingResponse>;
|
|
165
|
+
Set(request: Partial<Wsstore.SetRequest>): Promise<Wsstore.SetResponse>;
|
|
166
|
+
}
|