@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
@@ -13,24 +13,24 @@ export namespace Wsstore {
13
13
  }
14
14
 
15
15
  export interface Exception {
16
- Code: string;
17
- Audience: string;
18
- Source: string;
19
- Message: string;
16
+ Code?: string;
17
+ Audience?: string;
18
+ Source?: string;
19
+ Message?: string;
20
20
  }
21
21
 
22
22
  export interface Exceptions {
23
- Source: string;
24
- Exception: Exception[];
23
+ Source?: string;
24
+ Exception?: Exception[];
25
25
  }
26
26
 
27
27
  export interface CreateStoreResponse {
28
- Exceptions: Exceptions;
29
- Name: string;
30
- Type: string;
31
- Description: string;
32
- Owner: string;
33
- Success: boolean;
28
+ Exceptions?: Exceptions;
29
+ Name?: string;
30
+ Type?: string;
31
+ Description?: string;
32
+ Owner?: string;
33
+ Success?: boolean;
34
34
  }
35
35
 
36
36
  export interface DeleteRequest {
@@ -42,8 +42,8 @@ export namespace Wsstore {
42
42
  }
43
43
 
44
44
  export interface DeleteResponse {
45
- Exceptions: Exceptions;
46
- Success: boolean;
45
+ Exceptions?: Exceptions;
46
+ Success?: boolean;
47
47
  }
48
48
 
49
49
  export interface DeleteNamespaceRequest {
@@ -54,8 +54,8 @@ export namespace Wsstore {
54
54
  }
55
55
 
56
56
  export interface DeleteNamespaceResponse {
57
- Exceptions: Exceptions;
58
- Success: boolean;
57
+ Exceptions?: Exceptions;
58
+ Success?: boolean;
59
59
  }
60
60
 
61
61
  export interface FetchRequest {
@@ -66,8 +66,8 @@ export namespace Wsstore {
66
66
  }
67
67
 
68
68
  export interface FetchResponse {
69
- Exceptions: Exceptions;
70
- Value: string;
69
+ Exceptions?: Exceptions;
70
+ Value?: string;
71
71
  }
72
72
 
73
73
  export interface FetchAllRequest {
@@ -77,18 +77,18 @@ export namespace Wsstore {
77
77
  }
78
78
 
79
79
  export interface Pair {
80
- Key: string;
81
- Value: string;
80
+ Key?: string;
81
+ Value?: string;
82
82
  }
83
83
 
84
84
  export interface Pairs {
85
- Pair: Pair[];
85
+ Pair?: Pair[];
86
86
  }
87
87
 
88
88
  export interface FetchAllResponse {
89
- Exceptions: Exceptions;
90
- Namespace: string;
91
- Pairs: Pairs;
89
+ Exceptions?: Exceptions;
90
+ Namespace?: string;
91
+ Pairs?: Pairs;
92
92
  }
93
93
 
94
94
  export interface FetchKeyMDRequest {
@@ -99,11 +99,11 @@ export namespace Wsstore {
99
99
  }
100
100
 
101
101
  export interface FetchKeyMDResponse {
102
- Exceptions: Exceptions;
103
- StoreName: string;
104
- Namespace: string;
105
- Key: string;
106
- Pairs: Pairs;
102
+ Exceptions?: Exceptions;
103
+ StoreName?: string;
104
+ Namespace?: string;
105
+ Key?: string;
106
+ Pairs?: Pairs;
107
107
  }
108
108
 
109
109
  export interface ListKeysRequest {
@@ -113,14 +113,14 @@ export namespace Wsstore {
113
113
  }
114
114
 
115
115
  export interface KeySet {
116
- Key: string[];
116
+ Key?: string[];
117
117
  }
118
118
 
119
119
  export interface ListKeysResponse {
120
- Exceptions: Exceptions;
121
- StoreName: string;
122
- Namespace: string;
123
- KeySet: KeySet;
120
+ Exceptions?: Exceptions;
121
+ StoreName?: string;
122
+ Namespace?: string;
123
+ KeySet?: KeySet;
124
124
  }
125
125
 
126
126
  export interface ListNamespacesRequest {
@@ -129,13 +129,13 @@ export namespace Wsstore {
129
129
  }
130
130
 
131
131
  export interface Namespaces {
132
- Namespace: string[];
132
+ Namespace?: string[];
133
133
  }
134
134
 
135
135
  export interface ListNamespacesResponse {
136
- Exceptions: Exceptions;
137
- StoreName: string;
138
- Namespaces: Namespaces;
136
+ Exceptions?: Exceptions;
137
+ StoreName?: string;
138
+ Namespaces?: Namespaces;
139
139
  }
140
140
 
141
141
  export interface ListStoresRequest {
@@ -145,22 +145,22 @@ export namespace Wsstore {
145
145
  }
146
146
 
147
147
  export interface Store {
148
- Name: string;
149
- Type: string;
150
- Description: string;
151
- Owner: string;
152
- CreateTime: string;
153
- MaxValSize: string;
154
- IsDefault: boolean;
148
+ Name?: string;
149
+ Type?: string;
150
+ Description?: string;
151
+ Owner?: string;
152
+ CreateTime?: string;
153
+ MaxValSize?: string;
154
+ IsDefault?: boolean;
155
155
  }
156
156
 
157
157
  export interface Stores {
158
- Store: Store[];
158
+ Store?: Store[];
159
159
  }
160
160
 
161
161
  export interface ListStoresResponse {
162
- Exceptions: Exceptions;
163
- Stores: Stores;
162
+ Exceptions?: Exceptions;
163
+ Stores?: Stores;
164
164
  }
165
165
 
166
166
  export interface wsstorePingRequest {
@@ -180,8 +180,8 @@ export namespace Wsstore {
180
180
  }
181
181
 
182
182
  export interface SetResponse {
183
- Exceptions: Exceptions;
184
- Success: boolean;
183
+ Exceptions?: Exceptions;
184
+ Success?: boolean;
185
185
  }
186
186
 
187
187
  }
@@ -192,48 +192,48 @@ export class storeServiceBase extends Service {
192
192
  super(optsConnection, "wsstore", "1.02");
193
193
  }
194
194
 
195
- CreateStore(request: Partial<Wsstore.CreateStoreRequest>): Promise<Wsstore.CreateStoreResponse> {
196
- return this._connection.send("CreateStore", request, "json", false, undefined, "CreateStoreResponse");
195
+ CreateStore(request: Wsstore.CreateStoreRequest, abortSignal?: AbortSignal): Promise<Wsstore.CreateStoreResponse> {
196
+ return this._connection.send("CreateStore", request, "json", false, abortSignal, "CreateStoreResponse");
197
197
  }
198
198
 
199
- Delete(request: Partial<Wsstore.DeleteRequest>): Promise<Wsstore.DeleteResponse> {
200
- return this._connection.send("Delete", request, "json", false, undefined, "DeleteResponse");
199
+ Delete(request: Wsstore.DeleteRequest, abortSignal?: AbortSignal): Promise<Wsstore.DeleteResponse> {
200
+ return this._connection.send("Delete", request, "json", false, abortSignal, "DeleteResponse");
201
201
  }
202
202
 
203
- DeleteNamespace(request: Partial<Wsstore.DeleteNamespaceRequest>): Promise<Wsstore.DeleteNamespaceResponse> {
204
- return this._connection.send("DeleteNamespace", request, "json", false, undefined, "DeleteNamespaceResponse");
203
+ DeleteNamespace(request: Wsstore.DeleteNamespaceRequest, abortSignal?: AbortSignal): Promise<Wsstore.DeleteNamespaceResponse> {
204
+ return this._connection.send("DeleteNamespace", request, "json", false, abortSignal, "DeleteNamespaceResponse");
205
205
  }
206
206
 
207
- Fetch(request: Partial<Wsstore.FetchRequest>): Promise<Wsstore.FetchResponse> {
208
- return this._connection.send("Fetch", request, "json", false, undefined, "FetchResponse");
207
+ Fetch(request: Wsstore.FetchRequest, abortSignal?: AbortSignal): Promise<Wsstore.FetchResponse> {
208
+ return this._connection.send("Fetch", request, "json", false, abortSignal, "FetchResponse");
209
209
  }
210
210
 
211
- FetchAll(request: Partial<Wsstore.FetchAllRequest>): Promise<Wsstore.FetchAllResponse> {
212
- return this._connection.send("FetchAll", request, "json", false, undefined, "FetchAllResponse");
211
+ FetchAll(request: Wsstore.FetchAllRequest, abortSignal?: AbortSignal): Promise<Wsstore.FetchAllResponse> {
212
+ return this._connection.send("FetchAll", request, "json", false, abortSignal, "FetchAllResponse");
213
213
  }
214
214
 
215
- FetchKeyMetadata(request: Partial<Wsstore.FetchKeyMDRequest>): Promise<Wsstore.FetchKeyMDResponse> {
216
- return this._connection.send("FetchKeyMetadata", request, "json", false, undefined, "FetchKeyMDResponse");
215
+ FetchKeyMetadata(request: Wsstore.FetchKeyMDRequest, abortSignal?: AbortSignal): Promise<Wsstore.FetchKeyMDResponse> {
216
+ return this._connection.send("FetchKeyMetadata", request, "json", false, abortSignal, "FetchKeyMDResponse");
217
217
  }
218
218
 
219
- ListKeys(request: Partial<Wsstore.ListKeysRequest>): Promise<Wsstore.ListKeysResponse> {
220
- return this._connection.send("ListKeys", request, "json", false, undefined, "ListKeysResponse");
219
+ ListKeys(request: Wsstore.ListKeysRequest, abortSignal?: AbortSignal): Promise<Wsstore.ListKeysResponse> {
220
+ return this._connection.send("ListKeys", request, "json", false, abortSignal, "ListKeysResponse");
221
221
  }
222
222
 
223
- ListNamespaces(request: Partial<Wsstore.ListNamespacesRequest>): Promise<Wsstore.ListNamespacesResponse> {
224
- return this._connection.send("ListNamespaces", request, "json", false, undefined, "ListNamespacesResponse");
223
+ ListNamespaces(request: Wsstore.ListNamespacesRequest, abortSignal?: AbortSignal): Promise<Wsstore.ListNamespacesResponse> {
224
+ return this._connection.send("ListNamespaces", request, "json", false, abortSignal, "ListNamespacesResponse");
225
225
  }
226
226
 
227
- ListStores(request: Partial<Wsstore.ListStoresRequest>): Promise<Wsstore.ListStoresResponse> {
228
- return this._connection.send("ListStores", request, "json", false, undefined, "ListStoresResponse");
227
+ ListStores(request: Wsstore.ListStoresRequest, abortSignal?: AbortSignal): Promise<Wsstore.ListStoresResponse> {
228
+ return this._connection.send("ListStores", request, "json", false, abortSignal, "ListStoresResponse");
229
229
  }
230
230
 
231
- Ping(request: Partial<Wsstore.wsstorePingRequest>): Promise<Wsstore.wsstorePingResponse> {
232
- return this._connection.send("Ping", request, "json", false, undefined, "wsstorePingResponse");
231
+ Ping(request: Wsstore.wsstorePingRequest, abortSignal?: AbortSignal): Promise<Wsstore.wsstorePingResponse> {
232
+ return this._connection.send("Ping", request, "json", false, abortSignal, "wsstorePingResponse");
233
233
  }
234
234
 
235
- Set(request: Partial<Wsstore.SetRequest>): Promise<Wsstore.SetResponse> {
236
- return this._connection.send("Set", request, "json", false, undefined, "SetResponse");
235
+ Set(request: Wsstore.SetRequest, abortSignal?: AbortSignal): Promise<Wsstore.SetResponse> {
236
+ return this._connection.send("Set", request, "json", false, abortSignal, "SetResponse");
237
237
  }
238
238
 
239
239
  }
@@ -174,6 +174,7 @@ export declare class Workunit extends StateObject<UWorkunitState, IWorkunitState
174
174
  get NoAccess(): boolean;
175
175
  get ECLWUProcessList(): WsWorkunits.ECLWUProcessList;
176
176
  get CostSavingPotential(): number;
177
+ get FailureDesc(): string;
177
178
  static create(optsConnection: IOptions | IConnection): Promise<Workunit>;
178
179
  static attach(optsConnection: IOptions | IConnection, wuid: string, state?: IWorkunitState): Workunit;
179
180
  static existsLocal(baseUrl: string, wuid: string): boolean;
@@ -1,4 +1,4 @@
1
- import { FileSprayServiceBase, FileSpray } from "./wsdl/FileSpray/v1.27/FileSpray.ts";
1
+ import { FileSprayServiceBase, FileSpray } from "./wsdl/FileSpray/v1.29/FileSpray.ts";
2
2
  export { FileSpray };
3
3
  type UpdateDFUWorkunitMinusWU = Omit<FileSpray.UpdateDFUWorkunit, "wu">;
4
4
  type UpdateDFUWorkunitWU = FileSpray.UpdateDFUWorkunit["wu"];
@@ -14,19 +14,6 @@ export declare enum FileSprayStates {
14
14
  aborting = 8,
15
15
  notfound = 999
16
16
  }
17
- export declare enum DFUWUTypes {
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
- }
30
17
  export interface UpdateDFUWorkunitEx extends UpdateDFUWorkunitMinusWU {
31
18
  wu?: Partial<UpdateDFUWorkunitWU>;
32
19
  }
@@ -1,4 +1,4 @@
1
- import { PackageProcessServiceBase, WsPackageProcess } from "./wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts";
1
+ import { PackageProcessServiceBase, WsPackageProcess } from "./wsdl/WsPackageProcess/v1.08/WsPackageProcess.ts";
2
2
  export { type WsPackageProcess };
3
3
  export declare class PackageProcessService extends PackageProcessServiceBase {
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import { XMLNode } from "@hpcc-js/util";
2
- import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.04/WsWorkunits.ts";
2
+ import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.08/WsWorkunits.ts";
3
3
  import { IConnection, IOptions } from "../connection.ts";
4
4
  export { WsWorkunits };
5
5
  export declare enum WUStateID {