@hpcc-js/comms 2.102.0 → 2.102.2

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 (103) hide show
  1. package/LICENSE +43 -43
  2. package/README.md +50 -50
  3. package/dist/index.es6.js +2 -2
  4. package/dist/index.es6.js.map +1 -1
  5. package/dist/index.js +2 -2
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.min.js +1 -1
  8. package/dist/index.min.js.map +1 -1
  9. package/dist/index.node.js +2 -2
  10. package/dist/index.node.js.map +1 -1
  11. package/dist/index.node.min.js +1 -1
  12. package/dist/index.node.min.js.map +1 -1
  13. package/lib-es6/__package__.js +2 -2
  14. package/package.json +7 -7
  15. package/src/__package__.ts +3 -3
  16. package/src/__tests__/dfuXRef.ts +22 -22
  17. package/src/__tests__/https.ts +69 -69
  18. package/src/__tests__/workunit.ts +35 -35
  19. package/src/clienttools/eclMeta.ts +506 -506
  20. package/src/clienttools/eclcc.ts +628 -628
  21. package/src/connection.ts +295 -295
  22. package/src/ecl/activity.ts +82 -82
  23. package/src/ecl/dfuWorkunit.ts +363 -363
  24. package/src/ecl/graph.ts +196 -196
  25. package/src/ecl/logicalFile.ts +195 -195
  26. package/src/ecl/machine.ts +63 -63
  27. package/src/ecl/query.ts +252 -252
  28. package/src/ecl/queryGraph.ts +813 -813
  29. package/src/ecl/resource.ts +39 -39
  30. package/src/ecl/result.ts +236 -236
  31. package/src/ecl/scope.ts +192 -192
  32. package/src/ecl/sourceFile.ts +34 -34
  33. package/src/ecl/store.ts +154 -154
  34. package/src/ecl/targetCluster.ts +149 -149
  35. package/src/ecl/timer.ts +42 -42
  36. package/src/ecl/topology.ts +131 -131
  37. package/src/ecl/workunit.ts +1314 -1314
  38. package/src/ecl/xsdParser.ts +268 -268
  39. package/src/espConnection.ts +172 -172
  40. package/src/index-common.ts +41 -41
  41. package/src/index.node.ts +68 -68
  42. package/src/index.ts +3 -3
  43. package/src/pem/trustwave.ts +909 -909
  44. package/src/services/fileSpray.ts +48 -48
  45. package/src/services/wsAccess.ts +8 -8
  46. package/src/services/wsAccount.ts +27 -27
  47. package/src/services/wsCloud.ts +73 -73
  48. package/src/services/wsCodesign.ts +94 -94
  49. package/src/services/wsDFU.ts +34 -34
  50. package/src/services/wsDFUXRef.ts +308 -308
  51. package/src/services/wsDali.ts +40 -40
  52. package/src/services/wsEcl.ts +123 -123
  53. package/src/services/wsElk.ts +8 -8
  54. package/src/services/wsLogaccess.ts +263 -263
  55. package/src/services/wsMachine.ts +89 -89
  56. package/src/services/wsPackageProcess.ts +8 -8
  57. package/src/services/wsResources.ts +8 -8
  58. package/src/services/wsSMC.ts +24 -24
  59. package/src/services/wsSasha.ts +7 -7
  60. package/src/services/wsStore.ts +230 -230
  61. package/src/services/wsTopology.ts +45 -45
  62. package/src/services/wsWorkunits.ts +160 -160
  63. package/src/services/wsdl/FileSpray/v1.23/FileSpray.ts +1008 -1008
  64. package/src/services/wsdl/FileSpray/v1.25/FileSpray.ts +1040 -1040
  65. package/src/services/wsdl/FileSpray/v1.26/FileSpray.ts +929 -929
  66. package/src/services/wsdl/WsCloud/v1/WsCloud.ts +38 -38
  67. package/src/services/wsdl/WsCloud/v1.02/WsCloud.ts +77 -77
  68. package/src/services/wsdl/WsDFUXRef/v1.02/WsDFUXRef.ts +224 -224
  69. package/src/services/wsdl/WsDali/v1.04/WsDali.ts +216 -216
  70. package/src/services/wsdl/WsDfu/v1.62/WsDfu.ts +1455 -1455
  71. package/src/services/wsdl/WsDfu/v1.63/WsDfu.ts +1465 -1465
  72. package/src/services/wsdl/WsDfu/v1.65/WsDfu.ts +1244 -1244
  73. package/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +107 -107
  74. package/src/services/wsdl/WsPackageProcess/v1.04/WsPackageProcess.ts +519 -519
  75. package/src/services/wsdl/WsResources/v1.01/WsResources.ts +119 -119
  76. package/src/services/wsdl/WsSMC/v1.24/WsSMC.ts +665 -665
  77. package/src/services/wsdl/WsSMC/v1.27/WsSMC.ts +670 -670
  78. package/src/services/wsdl/WsTopology/v1.31/WsTopology.ts +856 -856
  79. package/src/services/wsdl/WsTopology/v1.32/WsTopology.ts +885 -885
  80. package/src/services/wsdl/WsWorkunits/v1.88/WsWorkunits.ts +2944 -2944
  81. package/src/services/wsdl/WsWorkunits/v1.94/WsWorkunits.ts +3072 -3072
  82. package/src/services/wsdl/WsWorkunits/v1.95/WsWorkunits.ts +3073 -3073
  83. package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +3134 -3134
  84. package/src/services/wsdl/WsWorkunits/v1.98/WsWorkunits.ts +3182 -3182
  85. package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +3162 -3162
  86. package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +3153 -3153
  87. package/src/services/wsdl/WsWorkunits/v2.02/WsWorkunits.ts +3157 -3157
  88. package/src/services/wsdl/ws_access/v1.16/ws_access.ts +1086 -1086
  89. package/src/services/wsdl/ws_access/v1.17/ws_access.ts +1023 -1023
  90. package/src/services/wsdl/ws_account/v1.05/ws_account.ts +111 -111
  91. package/src/services/wsdl/ws_account/v1.06/ws_account.ts +109 -109
  92. package/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +100 -100
  93. package/src/services/wsdl/ws_elk/v1/ws_elk.ts +47 -47
  94. package/src/services/wsdl/ws_logaccess/v1/ws_logaccess.ts +83 -83
  95. package/src/services/wsdl/ws_logaccess/v1.02/ws_logaccess.ts +161 -161
  96. package/src/services/wsdl/ws_logaccess/v1.03/ws_logaccess.ts +190 -190
  97. package/src/services/wsdl/ws_logaccess/v1.04/ws_logaccess.ts +215 -215
  98. package/src/services/wsdl/ws_logaccess/v1.05/ws_logaccess.ts +219 -219
  99. package/src/services/wsdl/ws_logaccess/v1.08/ws_logaccess.ts +267 -267
  100. package/src/services/wsdl/ws_machine/v1.17/ws_machine.ts +567 -567
  101. package/src/services/wsdl/wsstore/v1.02/wsstore.ts +250 -250
  102. package/types/__package__.d.ts +2 -2
  103. package/types-3.4/__package__.d.ts +2 -2
@@ -1,519 +1,519 @@
1
- import { IConnection, IOptions } from "../../../../connection";
2
- import { Service } from "../../../../espConnection";
3
-
4
- type int = number;
5
-
6
- export namespace WsPackageProcess {
7
-
8
- export interface ActivatePackageRequest {
9
- Target?: string;
10
- PackageMap?: string;
11
- Process?: string;
12
- GlobalScope?: boolean;
13
- }
14
-
15
- export interface Exception {
16
- Code: string;
17
- Audience: string;
18
- Source: string;
19
- Message: string;
20
- }
21
-
22
- export interface Exceptions {
23
- Source: string;
24
- Exception: Exception[];
25
- }
26
-
27
- export interface status {
28
- Code: int;
29
- Description: string;
30
- }
31
-
32
- export interface ActivatePackageResponse {
33
- Exceptions: {
34
- Source: string;
35
- Exception: Exception[];
36
- };
37
- status: {
38
- Code: int;
39
- Description: string;
40
- };
41
- }
42
-
43
- export interface AddPackageRequest {
44
- Info?: string;
45
- Activate?: boolean;
46
- OverWrite?: boolean;
47
- Target?: string;
48
- PackageMap?: string;
49
- Process?: string;
50
- DaliIp?: string;
51
- GlobalScope?: boolean;
52
- SourceProcess?: string;
53
- AllowForeignFiles?: boolean;
54
- PreloadAllPackages?: boolean;
55
- ReplacePackageMap?: boolean;
56
- UpdateSuperFiles?: boolean;
57
- UpdateCloneFrom?: boolean;
58
- AppendCluster?: boolean;
59
- }
60
-
61
- export interface FilesNotFound {
62
- File: string[];
63
- }
64
-
65
- export interface AddPackageResponse {
66
- Exceptions: Exceptions;
67
- status: status;
68
- FilesNotFound: {
69
- File: string[];
70
- };
71
- }
72
-
73
- export interface AddPartToPackageMapRequest {
74
- Target?: string;
75
- Process?: string;
76
- PackageMap?: string;
77
- GlobalScope?: boolean;
78
- PartName?: string;
79
- Content?: string;
80
- DeletePrevious?: boolean;
81
- DaliIp?: string;
82
- SourceProcess?: string;
83
- AllowForeignFiles?: boolean;
84
- PreloadAllPackages?: boolean;
85
- UpdateSuperFiles?: boolean;
86
- UpdateCloneFrom?: boolean;
87
- AppendCluster?: boolean;
88
- }
89
-
90
- export interface AddPartToPackageMapResponse {
91
- Exceptions: Exceptions;
92
- status: status;
93
- FilesNotFound: FilesNotFound;
94
- }
95
-
96
- export interface CopyPackageMapRequest {
97
- SourcePath?: string;
98
- RemoteUserName?: string;
99
- RemotePassword?: string;
100
- Target?: string;
101
- Process?: string;
102
- PMID?: string;
103
- Activate?: boolean;
104
- DaliIp?: string;
105
- GlobalScope?: boolean;
106
- SourceProcess?: string;
107
- PreloadAllPackages?: boolean;
108
- ReplacePackageMap?: boolean;
109
- UpdateSuperFiles?: boolean;
110
- UpdateCloneFrom?: boolean;
111
- AppendCluster?: boolean;
112
- }
113
-
114
- export interface CopyPackageMapResponse {
115
- Exceptions: Exceptions;
116
- status: status;
117
- FilesNotFound: FilesNotFound;
118
- }
119
-
120
- export interface DeActivatePackageRequest {
121
- Target?: string;
122
- PackageMap?: string;
123
- Process?: string;
124
- GlobalScope?: boolean;
125
- }
126
-
127
- export interface DeActivatePackageResponse {
128
- Exceptions: Exceptions;
129
- status: status;
130
- }
131
-
132
- export interface PackageMap {
133
- Id: string;
134
- Target: string;
135
- Process: string;
136
- }
137
-
138
- export interface PackageMaps {
139
- PackageMap: PackageMap[];
140
- }
141
-
142
- export interface DeletePackageRequest {
143
- Target?: string;
144
- PackageMap?: string;
145
- Process?: string;
146
- GlobalScope?: boolean;
147
- PackageMaps?: {
148
- PackageMap?: PackageMap[];
149
- };
150
- }
151
-
152
- export interface DeletePackageResponse {
153
- Exceptions: Exceptions;
154
- status: status;
155
- }
156
-
157
- export interface EchoRequest {
158
- Request?: string;
159
- }
160
-
161
- export interface EchoResponse {
162
- Response: string;
163
- }
164
-
165
- export interface GetPackageRequest {
166
- Target?: string;
167
- Process?: string;
168
- }
169
-
170
- export interface GetPackageResponse {
171
- Exceptions: Exceptions;
172
- status: status;
173
- Info: string;
174
- }
175
-
176
- export interface GetPackageMapByIdRequest {
177
- PackageMapId?: string;
178
- }
179
-
180
- export interface GetPackageMapByIdResponse {
181
- Exceptions: Exceptions;
182
- status: status;
183
- Info: string;
184
- }
185
-
186
- export interface GetPackageMapSelectOptionsRequest {
187
- IncludeTargets?: boolean;
188
- IncludeProcesses?: boolean;
189
- IncludeProcessFilters?: boolean;
190
- }
191
-
192
- export interface Processes {
193
- Item: string[];
194
- }
195
-
196
- export interface TargetData {
197
- Name: string;
198
- Type: string;
199
- Processes: {
200
- Item: string[];
201
- };
202
- }
203
-
204
- export interface Targets {
205
- TargetData: TargetData[];
206
- }
207
-
208
- export interface ProcessFilters {
209
- Item: string[];
210
- }
211
-
212
- export interface GetPackageMapSelectOptionsResponse {
213
- Exceptions: Exceptions;
214
- status: status;
215
- Targets: {
216
- TargetData: TargetData[];
217
- };
218
- ProcessFilters: {
219
- Item: string[];
220
- };
221
- }
222
-
223
- export interface GetPartFromPackageMapRequest {
224
- Target?: string;
225
- PackageMap?: string;
226
- GlobalScope?: boolean;
227
- PartName?: string;
228
- }
229
-
230
- export interface GetPartFromPackageMapResponse {
231
- Exceptions: Exceptions;
232
- status: status;
233
- Content: string;
234
- }
235
-
236
- export interface GetQueryFileMappingRequest {
237
- Target?: string;
238
- PMID?: string;
239
- QueryName?: string;
240
- GlobalScope?: boolean;
241
- }
242
-
243
- export interface UnmappedFiles {
244
- File: string[];
245
- }
246
-
247
- export interface SubFiles {
248
- File: string[];
249
- }
250
-
251
- export interface SuperFile {
252
- Name: string;
253
- SubFiles: {
254
- File: string[];
255
- };
256
- }
257
-
258
- export interface SuperFiles {
259
- SuperFile: SuperFile[];
260
- }
261
-
262
- export interface GetQueryFileMappingResponse {
263
- Exceptions: Exceptions;
264
- UnmappedFiles: {
265
- File: string[];
266
- };
267
- SuperFiles: {
268
- SuperFile: SuperFile[];
269
- };
270
- }
271
-
272
- export interface ListPackageRequest {
273
- Target?: string;
274
- Process?: string;
275
- }
276
-
277
- export interface PackageListData {
278
- Id: string;
279
- Queries: string;
280
- }
281
-
282
- export interface PkgListData {
283
- PackageListData: PackageListData[];
284
- }
285
-
286
- export interface PackageListMapData {
287
- Id: string;
288
- Target: string;
289
- Process: string;
290
- PkgListData: {
291
- PackageListData: PackageListData[];
292
- };
293
- Active: boolean;
294
- Description: string;
295
- }
296
-
297
- export interface PkgListMapData {
298
- PackageListMapData: PackageListMapData[];
299
- }
300
-
301
- export interface ListPackageResponse {
302
- Exceptions: Exceptions;
303
- status: status;
304
- PkgListMapData: {
305
- PackageListMapData: PackageListMapData[];
306
- };
307
- }
308
-
309
- export interface ListPackagesRequest {
310
- Target?: string;
311
- Process?: string;
312
- ProcessFilter?: string;
313
- }
314
-
315
- export interface PackageMapList {
316
- PackageListMapData: PackageListMapData[];
317
- }
318
-
319
- export interface ListPackagesResponse {
320
- Exceptions: Exceptions;
321
- status: status;
322
- PackageMapList: {
323
- PackageListMapData: PackageListMapData[];
324
- };
325
- }
326
-
327
- export interface WsPackageProcessPingRequest {
328
-
329
- }
330
-
331
- export interface WsPackageProcessPingResponse {
332
-
333
- }
334
-
335
- export interface RemovePartFromPackageMapRequest {
336
- Target?: string;
337
- PackageMap?: string;
338
- GlobalScope?: boolean;
339
- PartName?: string;
340
- }
341
-
342
- export interface RemovePartFromPackageMapResponse {
343
- Exceptions: Exceptions;
344
- status: status;
345
- }
346
-
347
- export interface QueriesToVerify {
348
- Item: string[];
349
- }
350
-
351
- export interface QueriesToIgnore {
352
- Item: string[];
353
- }
354
-
355
- export interface ValidatePackageRequest {
356
- Info?: string;
357
- Target?: string;
358
- Process?: string;
359
- Active?: boolean;
360
- PMID?: string;
361
- QueryIdToVerify?: string;
362
- QueriesToVerify?: {
363
- Item?: string[];
364
- };
365
- QueriesToIgnore?: {
366
- Item?: string[];
367
- };
368
- CheckDFS?: boolean;
369
- GlobalScope?: boolean;
370
- IgnoreWarnings?: boolean;
371
- IgnoreOptionalFiles?: boolean;
372
- }
373
-
374
- export interface Warnings {
375
- Item: string[];
376
- }
377
-
378
- export interface Errors {
379
- Item: string[];
380
- }
381
-
382
- export interface Unmatched {
383
- Item: string[];
384
- }
385
-
386
- export interface packages {
387
- Unmatched: {
388
- Item: string[];
389
- };
390
- }
391
-
392
- export interface queries {
393
- Unmatched: Unmatched;
394
- }
395
-
396
- export interface NotInDFS {
397
- File: string[];
398
- }
399
-
400
- export interface files {
401
- Unmatched: Unmatched;
402
- NotInDFS: {
403
- File: string[];
404
- };
405
- }
406
-
407
- export interface Result {
408
- Target: string;
409
- PMID: string;
410
- Warnings: {
411
- Item: string[];
412
- };
413
- Errors: {
414
- Item: string[];
415
- };
416
- packages: {
417
- Unmatched: {
418
- Item: string[];
419
- };
420
- };
421
- queries: {
422
- Unmatched: Unmatched;
423
- };
424
- files: {
425
- Unmatched: Unmatched;
426
- NotInDFS: {
427
- File: string[];
428
- };
429
- };
430
- }
431
-
432
- export interface Results {
433
- Result: Result[];
434
- }
435
-
436
- export interface ValidatePackageResponse {
437
- Exceptions: Exceptions;
438
- Results: {
439
- Result: Result[];
440
- };
441
- }
442
-
443
- }
444
-
445
- export class PackageProcessServiceBase extends Service {
446
-
447
- constructor(optsConnection: IOptions | IConnection) {
448
- super(optsConnection, "WsPackageProcess", "1.04");
449
- }
450
-
451
- ActivatePackage(request: WsPackageProcess.ActivatePackageRequest): Promise<WsPackageProcess.ActivatePackageResponse> {
452
- return this._connection.send("ActivatePackage", request);
453
- }
454
-
455
- AddPackage(request: WsPackageProcess.AddPackageRequest): Promise<WsPackageProcess.AddPackageResponse> {
456
- return this._connection.send("AddPackage", request);
457
- }
458
-
459
- AddPartToPackageMap(request: WsPackageProcess.AddPartToPackageMapRequest): Promise<WsPackageProcess.AddPartToPackageMapResponse> {
460
- return this._connection.send("AddPartToPackageMap", request);
461
- }
462
-
463
- CopyPackageMap(request: WsPackageProcess.CopyPackageMapRequest): Promise<WsPackageProcess.CopyPackageMapResponse> {
464
- return this._connection.send("CopyPackageMap", request);
465
- }
466
-
467
- DeActivatePackage(request: WsPackageProcess.DeActivatePackageRequest): Promise<WsPackageProcess.DeActivatePackageResponse> {
468
- return this._connection.send("DeActivatePackage", request);
469
- }
470
-
471
- DeletePackage(request: WsPackageProcess.DeletePackageRequest): Promise<WsPackageProcess.DeletePackageResponse> {
472
- return this._connection.send("DeletePackage", request);
473
- }
474
-
475
- Echo(request: WsPackageProcess.EchoRequest): Promise<WsPackageProcess.EchoResponse> {
476
- return this._connection.send("Echo", request);
477
- }
478
-
479
- GetPackage(request: WsPackageProcess.GetPackageRequest): Promise<WsPackageProcess.GetPackageResponse> {
480
- return this._connection.send("GetPackage", request);
481
- }
482
-
483
- GetPackageMapById(request: WsPackageProcess.GetPackageMapByIdRequest): Promise<WsPackageProcess.GetPackageMapByIdResponse> {
484
- return this._connection.send("GetPackageMapById", request);
485
- }
486
-
487
- GetPackageMapSelectOptions(request: WsPackageProcess.GetPackageMapSelectOptionsRequest): Promise<WsPackageProcess.GetPackageMapSelectOptionsResponse> {
488
- return this._connection.send("GetPackageMapSelectOptions", request);
489
- }
490
-
491
- GetPartFromPackageMap(request: WsPackageProcess.GetPartFromPackageMapRequest): Promise<WsPackageProcess.GetPartFromPackageMapResponse> {
492
- return this._connection.send("GetPartFromPackageMap", request);
493
- }
494
-
495
- GetQueryFileMapping(request: WsPackageProcess.GetQueryFileMappingRequest): Promise<WsPackageProcess.GetQueryFileMappingResponse> {
496
- return this._connection.send("GetQueryFileMapping", request);
497
- }
498
-
499
- ListPackage(request: WsPackageProcess.ListPackageRequest): Promise<WsPackageProcess.ListPackageResponse> {
500
- return this._connection.send("ListPackage", request);
501
- }
502
-
503
- ListPackages(request: WsPackageProcess.ListPackagesRequest): Promise<WsPackageProcess.ListPackagesResponse> {
504
- return this._connection.send("ListPackages", request);
505
- }
506
-
507
- Ping(request: WsPackageProcess.WsPackageProcessPingRequest): Promise<WsPackageProcess.WsPackageProcessPingResponse> {
508
- return this._connection.send("Ping", request);
509
- }
510
-
511
- RemovePartFromPackageMap(request: WsPackageProcess.RemovePartFromPackageMapRequest): Promise<WsPackageProcess.RemovePartFromPackageMapResponse> {
512
- return this._connection.send("RemovePartFromPackageMap", request);
513
- }
514
-
515
- ValidatePackage(request: WsPackageProcess.ValidatePackageRequest): Promise<WsPackageProcess.ValidatePackageResponse> {
516
- return this._connection.send("ValidatePackage", request);
517
- }
518
-
519
- }
1
+ import { IConnection, IOptions } from "../../../../connection";
2
+ import { Service } from "../../../../espConnection";
3
+
4
+ type int = number;
5
+
6
+ export namespace WsPackageProcess {
7
+
8
+ export interface ActivatePackageRequest {
9
+ Target?: string;
10
+ PackageMap?: string;
11
+ Process?: string;
12
+ GlobalScope?: boolean;
13
+ }
14
+
15
+ export interface Exception {
16
+ Code: string;
17
+ Audience: string;
18
+ Source: string;
19
+ Message: string;
20
+ }
21
+
22
+ export interface Exceptions {
23
+ Source: string;
24
+ Exception: Exception[];
25
+ }
26
+
27
+ export interface status {
28
+ Code: int;
29
+ Description: string;
30
+ }
31
+
32
+ export interface ActivatePackageResponse {
33
+ Exceptions: {
34
+ Source: string;
35
+ Exception: Exception[];
36
+ };
37
+ status: {
38
+ Code: int;
39
+ Description: string;
40
+ };
41
+ }
42
+
43
+ export interface AddPackageRequest {
44
+ Info?: string;
45
+ Activate?: boolean;
46
+ OverWrite?: boolean;
47
+ Target?: string;
48
+ PackageMap?: string;
49
+ Process?: string;
50
+ DaliIp?: string;
51
+ GlobalScope?: boolean;
52
+ SourceProcess?: string;
53
+ AllowForeignFiles?: boolean;
54
+ PreloadAllPackages?: boolean;
55
+ ReplacePackageMap?: boolean;
56
+ UpdateSuperFiles?: boolean;
57
+ UpdateCloneFrom?: boolean;
58
+ AppendCluster?: boolean;
59
+ }
60
+
61
+ export interface FilesNotFound {
62
+ File: string[];
63
+ }
64
+
65
+ export interface AddPackageResponse {
66
+ Exceptions: Exceptions;
67
+ status: status;
68
+ FilesNotFound: {
69
+ File: string[];
70
+ };
71
+ }
72
+
73
+ export interface AddPartToPackageMapRequest {
74
+ Target?: string;
75
+ Process?: string;
76
+ PackageMap?: string;
77
+ GlobalScope?: boolean;
78
+ PartName?: string;
79
+ Content?: string;
80
+ DeletePrevious?: boolean;
81
+ DaliIp?: string;
82
+ SourceProcess?: string;
83
+ AllowForeignFiles?: boolean;
84
+ PreloadAllPackages?: boolean;
85
+ UpdateSuperFiles?: boolean;
86
+ UpdateCloneFrom?: boolean;
87
+ AppendCluster?: boolean;
88
+ }
89
+
90
+ export interface AddPartToPackageMapResponse {
91
+ Exceptions: Exceptions;
92
+ status: status;
93
+ FilesNotFound: FilesNotFound;
94
+ }
95
+
96
+ export interface CopyPackageMapRequest {
97
+ SourcePath?: string;
98
+ RemoteUserName?: string;
99
+ RemotePassword?: string;
100
+ Target?: string;
101
+ Process?: string;
102
+ PMID?: string;
103
+ Activate?: boolean;
104
+ DaliIp?: string;
105
+ GlobalScope?: boolean;
106
+ SourceProcess?: string;
107
+ PreloadAllPackages?: boolean;
108
+ ReplacePackageMap?: boolean;
109
+ UpdateSuperFiles?: boolean;
110
+ UpdateCloneFrom?: boolean;
111
+ AppendCluster?: boolean;
112
+ }
113
+
114
+ export interface CopyPackageMapResponse {
115
+ Exceptions: Exceptions;
116
+ status: status;
117
+ FilesNotFound: FilesNotFound;
118
+ }
119
+
120
+ export interface DeActivatePackageRequest {
121
+ Target?: string;
122
+ PackageMap?: string;
123
+ Process?: string;
124
+ GlobalScope?: boolean;
125
+ }
126
+
127
+ export interface DeActivatePackageResponse {
128
+ Exceptions: Exceptions;
129
+ status: status;
130
+ }
131
+
132
+ export interface PackageMap {
133
+ Id: string;
134
+ Target: string;
135
+ Process: string;
136
+ }
137
+
138
+ export interface PackageMaps {
139
+ PackageMap: PackageMap[];
140
+ }
141
+
142
+ export interface DeletePackageRequest {
143
+ Target?: string;
144
+ PackageMap?: string;
145
+ Process?: string;
146
+ GlobalScope?: boolean;
147
+ PackageMaps?: {
148
+ PackageMap?: PackageMap[];
149
+ };
150
+ }
151
+
152
+ export interface DeletePackageResponse {
153
+ Exceptions: Exceptions;
154
+ status: status;
155
+ }
156
+
157
+ export interface EchoRequest {
158
+ Request?: string;
159
+ }
160
+
161
+ export interface EchoResponse {
162
+ Response: string;
163
+ }
164
+
165
+ export interface GetPackageRequest {
166
+ Target?: string;
167
+ Process?: string;
168
+ }
169
+
170
+ export interface GetPackageResponse {
171
+ Exceptions: Exceptions;
172
+ status: status;
173
+ Info: string;
174
+ }
175
+
176
+ export interface GetPackageMapByIdRequest {
177
+ PackageMapId?: string;
178
+ }
179
+
180
+ export interface GetPackageMapByIdResponse {
181
+ Exceptions: Exceptions;
182
+ status: status;
183
+ Info: string;
184
+ }
185
+
186
+ export interface GetPackageMapSelectOptionsRequest {
187
+ IncludeTargets?: boolean;
188
+ IncludeProcesses?: boolean;
189
+ IncludeProcessFilters?: boolean;
190
+ }
191
+
192
+ export interface Processes {
193
+ Item: string[];
194
+ }
195
+
196
+ export interface TargetData {
197
+ Name: string;
198
+ Type: string;
199
+ Processes: {
200
+ Item: string[];
201
+ };
202
+ }
203
+
204
+ export interface Targets {
205
+ TargetData: TargetData[];
206
+ }
207
+
208
+ export interface ProcessFilters {
209
+ Item: string[];
210
+ }
211
+
212
+ export interface GetPackageMapSelectOptionsResponse {
213
+ Exceptions: Exceptions;
214
+ status: status;
215
+ Targets: {
216
+ TargetData: TargetData[];
217
+ };
218
+ ProcessFilters: {
219
+ Item: string[];
220
+ };
221
+ }
222
+
223
+ export interface GetPartFromPackageMapRequest {
224
+ Target?: string;
225
+ PackageMap?: string;
226
+ GlobalScope?: boolean;
227
+ PartName?: string;
228
+ }
229
+
230
+ export interface GetPartFromPackageMapResponse {
231
+ Exceptions: Exceptions;
232
+ status: status;
233
+ Content: string;
234
+ }
235
+
236
+ export interface GetQueryFileMappingRequest {
237
+ Target?: string;
238
+ PMID?: string;
239
+ QueryName?: string;
240
+ GlobalScope?: boolean;
241
+ }
242
+
243
+ export interface UnmappedFiles {
244
+ File: string[];
245
+ }
246
+
247
+ export interface SubFiles {
248
+ File: string[];
249
+ }
250
+
251
+ export interface SuperFile {
252
+ Name: string;
253
+ SubFiles: {
254
+ File: string[];
255
+ };
256
+ }
257
+
258
+ export interface SuperFiles {
259
+ SuperFile: SuperFile[];
260
+ }
261
+
262
+ export interface GetQueryFileMappingResponse {
263
+ Exceptions: Exceptions;
264
+ UnmappedFiles: {
265
+ File: string[];
266
+ };
267
+ SuperFiles: {
268
+ SuperFile: SuperFile[];
269
+ };
270
+ }
271
+
272
+ export interface ListPackageRequest {
273
+ Target?: string;
274
+ Process?: string;
275
+ }
276
+
277
+ export interface PackageListData {
278
+ Id: string;
279
+ Queries: string;
280
+ }
281
+
282
+ export interface PkgListData {
283
+ PackageListData: PackageListData[];
284
+ }
285
+
286
+ export interface PackageListMapData {
287
+ Id: string;
288
+ Target: string;
289
+ Process: string;
290
+ PkgListData: {
291
+ PackageListData: PackageListData[];
292
+ };
293
+ Active: boolean;
294
+ Description: string;
295
+ }
296
+
297
+ export interface PkgListMapData {
298
+ PackageListMapData: PackageListMapData[];
299
+ }
300
+
301
+ export interface ListPackageResponse {
302
+ Exceptions: Exceptions;
303
+ status: status;
304
+ PkgListMapData: {
305
+ PackageListMapData: PackageListMapData[];
306
+ };
307
+ }
308
+
309
+ export interface ListPackagesRequest {
310
+ Target?: string;
311
+ Process?: string;
312
+ ProcessFilter?: string;
313
+ }
314
+
315
+ export interface PackageMapList {
316
+ PackageListMapData: PackageListMapData[];
317
+ }
318
+
319
+ export interface ListPackagesResponse {
320
+ Exceptions: Exceptions;
321
+ status: status;
322
+ PackageMapList: {
323
+ PackageListMapData: PackageListMapData[];
324
+ };
325
+ }
326
+
327
+ export interface WsPackageProcessPingRequest {
328
+
329
+ }
330
+
331
+ export interface WsPackageProcessPingResponse {
332
+
333
+ }
334
+
335
+ export interface RemovePartFromPackageMapRequest {
336
+ Target?: string;
337
+ PackageMap?: string;
338
+ GlobalScope?: boolean;
339
+ PartName?: string;
340
+ }
341
+
342
+ export interface RemovePartFromPackageMapResponse {
343
+ Exceptions: Exceptions;
344
+ status: status;
345
+ }
346
+
347
+ export interface QueriesToVerify {
348
+ Item: string[];
349
+ }
350
+
351
+ export interface QueriesToIgnore {
352
+ Item: string[];
353
+ }
354
+
355
+ export interface ValidatePackageRequest {
356
+ Info?: string;
357
+ Target?: string;
358
+ Process?: string;
359
+ Active?: boolean;
360
+ PMID?: string;
361
+ QueryIdToVerify?: string;
362
+ QueriesToVerify?: {
363
+ Item?: string[];
364
+ };
365
+ QueriesToIgnore?: {
366
+ Item?: string[];
367
+ };
368
+ CheckDFS?: boolean;
369
+ GlobalScope?: boolean;
370
+ IgnoreWarnings?: boolean;
371
+ IgnoreOptionalFiles?: boolean;
372
+ }
373
+
374
+ export interface Warnings {
375
+ Item: string[];
376
+ }
377
+
378
+ export interface Errors {
379
+ Item: string[];
380
+ }
381
+
382
+ export interface Unmatched {
383
+ Item: string[];
384
+ }
385
+
386
+ export interface packages {
387
+ Unmatched: {
388
+ Item: string[];
389
+ };
390
+ }
391
+
392
+ export interface queries {
393
+ Unmatched: Unmatched;
394
+ }
395
+
396
+ export interface NotInDFS {
397
+ File: string[];
398
+ }
399
+
400
+ export interface files {
401
+ Unmatched: Unmatched;
402
+ NotInDFS: {
403
+ File: string[];
404
+ };
405
+ }
406
+
407
+ export interface Result {
408
+ Target: string;
409
+ PMID: string;
410
+ Warnings: {
411
+ Item: string[];
412
+ };
413
+ Errors: {
414
+ Item: string[];
415
+ };
416
+ packages: {
417
+ Unmatched: {
418
+ Item: string[];
419
+ };
420
+ };
421
+ queries: {
422
+ Unmatched: Unmatched;
423
+ };
424
+ files: {
425
+ Unmatched: Unmatched;
426
+ NotInDFS: {
427
+ File: string[];
428
+ };
429
+ };
430
+ }
431
+
432
+ export interface Results {
433
+ Result: Result[];
434
+ }
435
+
436
+ export interface ValidatePackageResponse {
437
+ Exceptions: Exceptions;
438
+ Results: {
439
+ Result: Result[];
440
+ };
441
+ }
442
+
443
+ }
444
+
445
+ export class PackageProcessServiceBase extends Service {
446
+
447
+ constructor(optsConnection: IOptions | IConnection) {
448
+ super(optsConnection, "WsPackageProcess", "1.04");
449
+ }
450
+
451
+ ActivatePackage(request: WsPackageProcess.ActivatePackageRequest): Promise<WsPackageProcess.ActivatePackageResponse> {
452
+ return this._connection.send("ActivatePackage", request);
453
+ }
454
+
455
+ AddPackage(request: WsPackageProcess.AddPackageRequest): Promise<WsPackageProcess.AddPackageResponse> {
456
+ return this._connection.send("AddPackage", request);
457
+ }
458
+
459
+ AddPartToPackageMap(request: WsPackageProcess.AddPartToPackageMapRequest): Promise<WsPackageProcess.AddPartToPackageMapResponse> {
460
+ return this._connection.send("AddPartToPackageMap", request);
461
+ }
462
+
463
+ CopyPackageMap(request: WsPackageProcess.CopyPackageMapRequest): Promise<WsPackageProcess.CopyPackageMapResponse> {
464
+ return this._connection.send("CopyPackageMap", request);
465
+ }
466
+
467
+ DeActivatePackage(request: WsPackageProcess.DeActivatePackageRequest): Promise<WsPackageProcess.DeActivatePackageResponse> {
468
+ return this._connection.send("DeActivatePackage", request);
469
+ }
470
+
471
+ DeletePackage(request: WsPackageProcess.DeletePackageRequest): Promise<WsPackageProcess.DeletePackageResponse> {
472
+ return this._connection.send("DeletePackage", request);
473
+ }
474
+
475
+ Echo(request: WsPackageProcess.EchoRequest): Promise<WsPackageProcess.EchoResponse> {
476
+ return this._connection.send("Echo", request);
477
+ }
478
+
479
+ GetPackage(request: WsPackageProcess.GetPackageRequest): Promise<WsPackageProcess.GetPackageResponse> {
480
+ return this._connection.send("GetPackage", request);
481
+ }
482
+
483
+ GetPackageMapById(request: WsPackageProcess.GetPackageMapByIdRequest): Promise<WsPackageProcess.GetPackageMapByIdResponse> {
484
+ return this._connection.send("GetPackageMapById", request);
485
+ }
486
+
487
+ GetPackageMapSelectOptions(request: WsPackageProcess.GetPackageMapSelectOptionsRequest): Promise<WsPackageProcess.GetPackageMapSelectOptionsResponse> {
488
+ return this._connection.send("GetPackageMapSelectOptions", request);
489
+ }
490
+
491
+ GetPartFromPackageMap(request: WsPackageProcess.GetPartFromPackageMapRequest): Promise<WsPackageProcess.GetPartFromPackageMapResponse> {
492
+ return this._connection.send("GetPartFromPackageMap", request);
493
+ }
494
+
495
+ GetQueryFileMapping(request: WsPackageProcess.GetQueryFileMappingRequest): Promise<WsPackageProcess.GetQueryFileMappingResponse> {
496
+ return this._connection.send("GetQueryFileMapping", request);
497
+ }
498
+
499
+ ListPackage(request: WsPackageProcess.ListPackageRequest): Promise<WsPackageProcess.ListPackageResponse> {
500
+ return this._connection.send("ListPackage", request);
501
+ }
502
+
503
+ ListPackages(request: WsPackageProcess.ListPackagesRequest): Promise<WsPackageProcess.ListPackagesResponse> {
504
+ return this._connection.send("ListPackages", request);
505
+ }
506
+
507
+ Ping(request: WsPackageProcess.WsPackageProcessPingRequest): Promise<WsPackageProcess.WsPackageProcessPingResponse> {
508
+ return this._connection.send("Ping", request);
509
+ }
510
+
511
+ RemovePartFromPackageMap(request: WsPackageProcess.RemovePartFromPackageMapRequest): Promise<WsPackageProcess.RemovePartFromPackageMapResponse> {
512
+ return this._connection.send("RemovePartFromPackageMap", request);
513
+ }
514
+
515
+ ValidatePackage(request: WsPackageProcess.ValidatePackageRequest): Promise<WsPackageProcess.ValidatePackageResponse> {
516
+ return this._connection.send("ValidatePackage", request);
517
+ }
518
+
519
+ }