@hpcc-js/comms 3.15.5 → 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.
Files changed (53) hide show
  1. package/dist/browser/index.js +1 -1
  2. package/dist/browser/index.js.map +1 -1
  3. package/dist/browser/index.umd.cjs +1 -1
  4. package/dist/browser/index.umd.cjs.map +1 -1
  5. package/dist/node/index.cjs +9 -9
  6. package/dist/node/index.cjs.map +4 -4
  7. package/dist/node/index.js +9 -9
  8. package/dist/node/index.js.map +4 -4
  9. package/package.json +13 -11
  10. package/src/ecl/scope.ts +1 -2
  11. package/src/ecl/workunit.ts +1 -0
  12. package/src/services/fileSpray.ts +1 -26
  13. package/src/services/wsPackageProcess.ts +1 -1
  14. package/src/services/wsWorkunits.ts +1 -1
  15. package/src/services/wsdl/FileSpray/v1.27/FileSpray.ts +538 -538
  16. package/src/services/wsdl/FileSpray/v1.29/FileSpray.ts +946 -0
  17. package/src/services/wsdl/WsCloud/v1.02/WsCloud.ts +21 -21
  18. package/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts +70 -69
  19. package/src/services/wsdl/WsDali/v1.07/WsDali.ts +72 -72
  20. package/src/services/wsdl/WsDfu/v1.68/WsDfu.ts +1301 -0
  21. package/src/services/wsdl/WsESDLConfig/v1.5/WsESDLConfig.ts +366 -0
  22. package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +32 -32
  23. package/src/services/wsdl/WsPackageProcess/v1.08/WsPackageProcess.ts +503 -0
  24. package/src/services/wsdl/WsSasha/v1.01/WsSasha.ts +18 -18
  25. package/src/services/wsdl/WsTopology/v1.33/WsTopology.ts +383 -383
  26. package/src/services/wsdl/WsWorkunits/v2.05/WsWorkunits.ts +3177 -0
  27. package/src/services/wsdl/WsWorkunits/v2.08/WsWorkunits.ts +3179 -0
  28. package/src/services/wsdl/ws_access/v1.17/ws_access.ts +319 -319
  29. package/src/services/wsdl/ws_account/v1.07/ws_account.ts +39 -39
  30. package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +26 -26
  31. package/src/services/wsdl/ws_elk/v1/ws_elk.ts +14 -14
  32. package/src/services/wsdl/ws_machine/v1.19/ws_machine.ts +215 -215
  33. package/src/services/wsdl/wsstore/v1.02/wsstore.ts +72 -72
  34. package/types/ecl/workunit.d.ts +1 -0
  35. package/types/services/fileSpray.d.ts +1 -14
  36. package/types/services/wsPackageProcess.d.ts +1 -1
  37. package/types/services/wsWorkunits.d.ts +1 -1
  38. package/types/services/wsdl/FileSpray/v1.29/FileSpray.d.ts +751 -0
  39. package/types/services/wsdl/WsCloud/v1.02/WsCloud.d.ts +18 -18
  40. package/types/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.d.ts +58 -57
  41. package/types/services/wsdl/WsDali/v1.07/WsDali.d.ts +42 -42
  42. package/types/services/wsdl/WsPackageProcess/{v1.07 → v1.08}/WsPackageProcess.d.ts +121 -118
  43. package/types/services/wsdl/WsSasha/v1.01/WsSasha.d.ts +13 -13
  44. package/types/services/wsdl/WsTopology/v1.33/WsTopology.d.ts +360 -360
  45. package/types/services/wsdl/WsWorkunits/v2.08/WsWorkunits.d.ts +2573 -0
  46. package/types/services/wsdl/ws_access/v1.17/ws_access.d.ts +268 -268
  47. package/types/services/wsdl/ws_account/v1.07/ws_account.d.ts +34 -34
  48. package/types/services/wsdl/ws_codesign/v1.1/ws_codesign.d.ts +22 -22
  49. package/types/services/wsdl/ws_elk/v1/ws_elk.d.ts +12 -12
  50. package/types/services/wsdl/ws_machine/v1.19/ws_machine.d.ts +205 -205
  51. package/types/services/wsdl/wsstore/v1.02/wsstore.d.ts +61 -61
  52. package/types/services/wsdl/FileSpray/v1.27/FileSpray.d.ts +0 -736
  53. package/types/services/wsdl/WsWorkunits/v2.04/WsWorkunits.d.ts +0 -2565
@@ -0,0 +1,366 @@
1
+ import { IConnection, IOptions } from "../../../../connection.ts";
2
+ import { Service } from "../../../../espConnection.ts";
3
+
4
+ export namespace WsESDLConfig {
5
+
6
+ export type int = number;
7
+
8
+ export interface ConfigureESDLBindingLogTransformRequest {
9
+ EsdlBindingId?: string;
10
+ LogTransformName?: string;
11
+ Overwrite?: boolean;
12
+ Encoded?: boolean;
13
+ Config?: string;
14
+ EchoBinding?: boolean;
15
+ }
16
+
17
+ export interface Exception {
18
+ Code?: string;
19
+ Audience?: string;
20
+ Source?: string;
21
+ Message?: string;
22
+ }
23
+
24
+ export interface Exceptions {
25
+ Source?: string;
26
+ Exception?: Exception[];
27
+ }
28
+
29
+ export interface status {
30
+ Code?: int;
31
+ Description?: string;
32
+ }
33
+
34
+ export interface Attribute {
35
+ Name?: string;
36
+ Value?: string;
37
+ }
38
+
39
+ export interface Attributes {
40
+ Attribute?: Attribute[];
41
+ }
42
+
43
+ export interface Method {
44
+ Name?: string;
45
+ Attributes?: Attributes;
46
+ Elements?: string;
47
+ XML?: string;
48
+ }
49
+
50
+ export interface Methods {
51
+ Method?: Method[];
52
+ }
53
+
54
+ export interface Service {
55
+ Methods?: Methods;
56
+ Name?: string;
57
+ }
58
+
59
+ export interface Services {
60
+ Service?: Service[];
61
+ }
62
+
63
+ export interface History {
64
+ PublishBy?: string;
65
+ CreatedTime?: string;
66
+ LastEditBy?: string;
67
+ LastEditTime?: string;
68
+ }
69
+
70
+ export interface Definition {
71
+ Name?: string;
72
+ Seq?: int;
73
+ Id?: string;
74
+ Interface?: string;
75
+ Services?: Services;
76
+ History?: History;
77
+ }
78
+
79
+ export interface Configuration {
80
+ Methods?: Methods;
81
+ }
82
+
83
+ export interface ESDLBinding {
84
+ Definition?: Definition;
85
+ Configuration?: Configuration;
86
+ History?: History;
87
+ }
88
+
89
+ export interface ConfigureESDLBindingLogTransformResponse {
90
+ Exceptions?: Exceptions;
91
+ EspProcName?: string;
92
+ EspBindingName?: string;
93
+ EsdlDefinitionID?: string;
94
+ EsdlServiceName?: string;
95
+ status?: status;
96
+ ESDLBinding?: ESDLBinding;
97
+ }
98
+
99
+ export interface MethodStructure {
100
+ Name?: string;
101
+ Attributes?: Attributes;
102
+ Elements?: string;
103
+ XML?: string;
104
+ }
105
+
106
+ export interface ConfigureESDLBindingMethodRequest {
107
+ EsdlBindingId?: string;
108
+ MethodName?: string;
109
+ Overwrite?: boolean;
110
+ Config?: string;
111
+ MethodStructure?: MethodStructure;
112
+ EchoBinding?: boolean;
113
+ }
114
+
115
+ export interface ConfigureESDLBindingMethodResponse {
116
+ Exceptions?: Exceptions;
117
+ EspProcName?: string;
118
+ EspBindingName?: string;
119
+ EsdlDefinitionID?: string;
120
+ EsdlServiceName?: string;
121
+ status?: status;
122
+ ESDLBinding?: ESDLBinding;
123
+ }
124
+
125
+ export interface DeleteESDLBindingRequest {
126
+ Id?: string;
127
+ EspProcess?: string;
128
+ EspBinding?: string;
129
+ }
130
+
131
+ export interface DeleteESDLRegistryEntryResponse {
132
+ Exceptions?: Exceptions;
133
+ DeletedTree?: string;
134
+ status?: status;
135
+ }
136
+
137
+ export interface DeleteESDLDefinitionRequest {
138
+ Id?: string;
139
+ Name?: string;
140
+ Version?: string;
141
+ }
142
+
143
+ export interface EchoRequest {
144
+ Request?: string;
145
+ }
146
+
147
+ export interface EchoResponse {
148
+ Response?: string;
149
+ }
150
+
151
+ export interface GetESDLBindingRequest {
152
+ EsdlBindingId?: string;
153
+ IncludeInterfaceDefinition?: boolean;
154
+ ReportMethodsAvailable?: boolean;
155
+ }
156
+
157
+ export interface GetESDLBindingResponse {
158
+ Exceptions?: Exceptions;
159
+ ServiceName?: string;
160
+ EspProcName?: string;
161
+ BindingName?: string;
162
+ EspPort?: string;
163
+ ConfigXML?: string;
164
+ ESDLBinding?: ESDLBinding;
165
+ status?: status;
166
+ }
167
+
168
+ export interface GetESDLDefinitionRequest {
169
+ Id?: string;
170
+ Name?: string;
171
+ Seq?: int;
172
+ ServiceName?: string;
173
+ ReportMethodsAvailable?: boolean;
174
+ }
175
+
176
+ export interface GetESDLDefinitionResponse {
177
+ Exceptions?: Exceptions;
178
+ status?: status;
179
+ Definition?: Definition;
180
+ }
181
+
182
+ export interface ListDESDLEspBindingsReq {
183
+ IncludeESDLBindingInfo?: boolean;
184
+ }
185
+
186
+ export interface TpBindingEx {
187
+ TpBindingEx?: TpBindingEx[];
188
+ }
189
+
190
+ export interface ESPServer {
191
+ Name?: string;
192
+ Description?: string;
193
+ Build?: string;
194
+ Type?: string;
195
+ Path?: string;
196
+ LogDirectory?: string;
197
+ TpBindingEx?: TpBindingEx;
198
+ }
199
+
200
+ export interface ESPServers {
201
+ ESPServer?: ESPServer[];
202
+ }
203
+
204
+ export interface ListDESDLEspBindingsResp {
205
+ ESPServers?: ESPServers;
206
+ }
207
+
208
+ export interface ListESDLBindingsRequest {
209
+
210
+ }
211
+
212
+ export interface Binding {
213
+ Id?: string;
214
+ EspProcess?: string;
215
+ Port?: int;
216
+ History?: History;
217
+ }
218
+
219
+ export interface Bindings {
220
+ Binding?: Binding[];
221
+ }
222
+
223
+ export interface Port {
224
+ Value?: int;
225
+ Bindings?: Bindings;
226
+ }
227
+
228
+ export interface Ports {
229
+ Port?: Port[];
230
+ }
231
+
232
+ export interface EspProcess {
233
+ Name?: string;
234
+ Ports?: Ports;
235
+ }
236
+
237
+ export interface EspProcesses {
238
+ EspProcess?: EspProcess[];
239
+ }
240
+
241
+ export interface ListESDLBindingsResponse {
242
+ Exceptions?: Exceptions;
243
+ BindingsXML?: string;
244
+ EspProcesses?: EspProcesses;
245
+ }
246
+
247
+ export interface ListESDLDefinitionsRequest {
248
+
249
+ }
250
+
251
+ export interface Definitions {
252
+ Definition?: Definition[];
253
+ }
254
+
255
+ export interface ListESDLDefinitionsResponse {
256
+ Exceptions?: Exceptions;
257
+ Definitions?: Definitions;
258
+ }
259
+
260
+ export interface WsESDLConfigPingRequest {
261
+
262
+ }
263
+
264
+ export interface WsESDLConfigPingResponse {
265
+
266
+ }
267
+
268
+ export interface PublishESDLBindingRequest {
269
+ EspProcName?: string;
270
+ EspBindingName?: string;
271
+ EspPort?: string;
272
+ EsdlDefinitionID?: string;
273
+ EsdlServiceName?: string;
274
+ Overwrite?: boolean;
275
+ Config?: string;
276
+ Methods?: Methods;
277
+ EchoBinding?: boolean;
278
+ }
279
+
280
+ export interface PublishESDLBindingResponse {
281
+ Exceptions?: Exceptions;
282
+ EsdlDefinitionID?: string;
283
+ Overwrite?: boolean;
284
+ EspProcName?: string;
285
+ EspPort?: string;
286
+ status?: status;
287
+ ESDLBinding?: ESDLBinding;
288
+ }
289
+
290
+ export interface PublishESDLDefinitionRequest {
291
+ ServiceName?: string;
292
+ XMLDefinition?: string;
293
+ DeletePrevious?: boolean;
294
+ EchoDefinition?: boolean;
295
+ }
296
+
297
+ export interface PublishESDLDefinitionResponse {
298
+ Exceptions?: Exceptions;
299
+ ServiceName?: string;
300
+ EsdlVersion?: int;
301
+ DeletePrevious?: boolean;
302
+ status?: status;
303
+ Definition?: Definition;
304
+ }
305
+
306
+ }
307
+
308
+ export class ESDLConfigServiceBase extends Service {
309
+
310
+ constructor(optsConnection: IOptions | IConnection) {
311
+ super(optsConnection, "WsESDLConfig", "1.5");
312
+ }
313
+
314
+ ConfigureESDLBindingLogTransform(request: WsESDLConfig.ConfigureESDLBindingLogTransformRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.ConfigureESDLBindingLogTransformResponse> {
315
+ return this._connection.send("ConfigureESDLBindingLogTransform", request, "json", false, abortSignal, "ConfigureESDLBindingLogTransformResponse");
316
+ }
317
+
318
+ ConfigureESDLBindingMethod(request: WsESDLConfig.ConfigureESDLBindingMethodRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.ConfigureESDLBindingMethodResponse> {
319
+ return this._connection.send("ConfigureESDLBindingMethod", request, "json", false, abortSignal, "ConfigureESDLBindingMethodResponse");
320
+ }
321
+
322
+ DeleteESDLBinding(request: WsESDLConfig.DeleteESDLBindingRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.DeleteESDLRegistryEntryResponse> {
323
+ return this._connection.send("DeleteESDLBinding", request, "json", false, abortSignal, "DeleteESDLRegistryEntryResponse");
324
+ }
325
+
326
+ DeleteESDLDefinition(request: WsESDLConfig.DeleteESDLDefinitionRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.DeleteESDLRegistryEntryResponse> {
327
+ return this._connection.send("DeleteESDLDefinition", request, "json", false, abortSignal, "DeleteESDLRegistryEntryResponse");
328
+ }
329
+
330
+ Echo(request: WsESDLConfig.EchoRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.EchoResponse> {
331
+ return this._connection.send("Echo", request, "json", false, abortSignal, "EchoResponse");
332
+ }
333
+
334
+ GetESDLBinding(request: WsESDLConfig.GetESDLBindingRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.GetESDLBindingResponse> {
335
+ return this._connection.send("GetESDLBinding", request, "json", false, abortSignal, "GetESDLBindingResponse");
336
+ }
337
+
338
+ GetESDLDefinition(request: WsESDLConfig.GetESDLDefinitionRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.GetESDLDefinitionResponse> {
339
+ return this._connection.send("GetESDLDefinition", request, "json", false, abortSignal, "GetESDLDefinitionResponse");
340
+ }
341
+
342
+ ListDESDLEspBindings(request: WsESDLConfig.ListDESDLEspBindingsReq, abortSignal?: AbortSignal): Promise<WsESDLConfig.ListDESDLEspBindingsResp> {
343
+ return this._connection.send("ListDESDLEspBindings", request, "json", false, abortSignal, "ListDESDLEspBindingsResp");
344
+ }
345
+
346
+ ListESDLBindings(request: WsESDLConfig.ListESDLBindingsRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.ListESDLBindingsResponse> {
347
+ return this._connection.send("ListESDLBindings", request, "json", false, abortSignal, "ListESDLBindingsResponse");
348
+ }
349
+
350
+ ListESDLDefinitions(request: WsESDLConfig.ListESDLDefinitionsRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.ListESDLDefinitionsResponse> {
351
+ return this._connection.send("ListESDLDefinitions", request, "json", false, abortSignal, "ListESDLDefinitionsResponse");
352
+ }
353
+
354
+ Ping(request: WsESDLConfig.WsESDLConfigPingRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.WsESDLConfigPingResponse> {
355
+ return this._connection.send("Ping", request, "json", false, abortSignal, "WsESDLConfigPingResponse");
356
+ }
357
+
358
+ PublishESDLBinding(request: WsESDLConfig.PublishESDLBindingRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.PublishESDLBindingResponse> {
359
+ return this._connection.send("PublishESDLBinding", request, "json", false, abortSignal, "PublishESDLBindingResponse");
360
+ }
361
+
362
+ PublishESDLDefinition(request: WsESDLConfig.PublishESDLDefinitionRequest, abortSignal?: AbortSignal): Promise<WsESDLConfig.PublishESDLDefinitionResponse> {
363
+ return this._connection.send("PublishESDLDefinition", request, "json", false, abortSignal, "PublishESDLDefinitionResponse");
364
+ }
365
+
366
+ }
@@ -14,23 +14,23 @@ export namespace WsFileIO {
14
14
  }
15
15
 
16
16
  export interface Exception {
17
- Code: string;
18
- Audience: string;
19
- Source: string;
20
- Message: string;
17
+ Code?: string;
18
+ Audience?: string;
19
+ Source?: string;
20
+ Message?: string;
21
21
  }
22
22
 
23
23
  export interface Exceptions {
24
- Source: string;
25
- Exception: Exception[];
24
+ Source?: string;
25
+ Exception?: Exception[];
26
26
  }
27
27
 
28
28
  export interface CreateFileResponse {
29
- Exceptions: Exceptions;
30
- DestDropZone: string;
31
- DestRelativePath: string;
32
- Overwrite: boolean;
33
- Result: string;
29
+ Exceptions?: Exceptions;
30
+ DestDropZone?: string;
31
+ DestRelativePath?: string;
32
+ Overwrite?: boolean;
33
+ Result?: string;
34
34
  }
35
35
 
36
36
  export interface WsFileIOPingRequest {
@@ -50,13 +50,13 @@ export namespace WsFileIO {
50
50
  }
51
51
 
52
52
  export interface ReadFileDataResponse {
53
- Exceptions: Exceptions;
54
- Data: base64Binary;
55
- DestDropZone: string;
56
- DestRelativePath: string;
57
- Offset: long;
58
- DataSize: long;
59
- Result: string;
53
+ Exceptions?: Exceptions;
54
+ Data?: base64Binary;
55
+ DestDropZone?: string;
56
+ DestRelativePath?: string;
57
+ Offset?: long;
58
+ DataSize?: long;
59
+ Result?: string;
60
60
  }
61
61
 
62
62
  export interface WriteFileDataRequest {
@@ -69,12 +69,12 @@ export namespace WsFileIO {
69
69
  }
70
70
 
71
71
  export interface WriteFileDataResponse {
72
- Exceptions: Exceptions;
73
- DestDropZone: string;
74
- DestRelativePath: string;
75
- Offset: long;
76
- Append: boolean;
77
- Result: string;
72
+ Exceptions?: Exceptions;
73
+ DestDropZone?: string;
74
+ DestRelativePath?: string;
75
+ Offset?: long;
76
+ Append?: boolean;
77
+ Result?: string;
78
78
  }
79
79
 
80
80
  }
@@ -85,20 +85,20 @@ export class FileIOServiceBase extends Service {
85
85
  super(optsConnection, "WsFileIO", "1.01");
86
86
  }
87
87
 
88
- CreateFile(request: Partial<WsFileIO.CreateFileRequest>): Promise<WsFileIO.CreateFileResponse> {
89
- return this._connection.send("CreateFile", request, "json", false, undefined, "CreateFileResponse");
88
+ CreateFile(request: WsFileIO.CreateFileRequest, abortSignal?: AbortSignal): Promise<WsFileIO.CreateFileResponse> {
89
+ return this._connection.send("CreateFile", request, "json", false, abortSignal, "CreateFileResponse");
90
90
  }
91
91
 
92
- Ping(request: Partial<WsFileIO.WsFileIOPingRequest>): Promise<WsFileIO.WsFileIOPingResponse> {
93
- return this._connection.send("Ping", request, "json", false, undefined, "WsFileIOPingResponse");
92
+ Ping(request: WsFileIO.WsFileIOPingRequest, abortSignal?: AbortSignal): Promise<WsFileIO.WsFileIOPingResponse> {
93
+ return this._connection.send("Ping", request, "json", false, abortSignal, "WsFileIOPingResponse");
94
94
  }
95
95
 
96
- ReadFileData(request: Partial<WsFileIO.ReadFileDataRequest>): Promise<WsFileIO.ReadFileDataResponse> {
97
- return this._connection.send("ReadFileData", request, "json", false, undefined, "ReadFileDataResponse");
96
+ ReadFileData(request: WsFileIO.ReadFileDataRequest, abortSignal?: AbortSignal): Promise<WsFileIO.ReadFileDataResponse> {
97
+ return this._connection.send("ReadFileData", request, "json", false, abortSignal, "ReadFileDataResponse");
98
98
  }
99
99
 
100
- WriteFileData(request: Partial<WsFileIO.WriteFileDataRequest>): Promise<WsFileIO.WriteFileDataResponse> {
101
- return this._connection.send("WriteFileData", request, "json", false, undefined, "WriteFileDataResponse");
100
+ WriteFileData(request: WsFileIO.WriteFileDataRequest, abortSignal?: AbortSignal): Promise<WsFileIO.WriteFileDataResponse> {
101
+ return this._connection.send("WriteFileData", request, "json", false, abortSignal, "WriteFileDataResponse");
102
102
  }
103
103
 
104
104
  }