@hpcc-js/comms 2.91.2 → 2.92.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.
Files changed (87) hide show
  1. package/dist/index.es6.js +101 -110
  2. package/dist/index.es6.js.map +1 -1
  3. package/dist/index.js +116 -125
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist/index.node.js +116 -125
  8. package/dist/index.node.js.map +1 -1
  9. package/dist/index.node.min.js +1 -1
  10. package/dist/index.node.min.js.map +1 -1
  11. package/lib-es6/__package__.js +2 -2
  12. package/lib-es6/__tests__/workunit.js +1 -1
  13. package/lib-es6/__tests__/workunit.js.map +1 -1
  14. package/lib-es6/ecl/dfuWorkunit.js +11 -5
  15. package/lib-es6/ecl/dfuWorkunit.js.map +1 -1
  16. package/lib-es6/ecl/graph.js.map +1 -1
  17. package/lib-es6/ecl/query.js +14 -9
  18. package/lib-es6/ecl/query.js.map +1 -1
  19. package/lib-es6/ecl/result.js +2 -1
  20. package/lib-es6/ecl/result.js.map +1 -1
  21. package/lib-es6/ecl/scope.js +5 -0
  22. package/lib-es6/ecl/scope.js.map +1 -1
  23. package/lib-es6/ecl/sourceFile.js.map +1 -1
  24. package/lib-es6/ecl/timer.js +10 -0
  25. package/lib-es6/ecl/timer.js.map +1 -1
  26. package/lib-es6/ecl/workunit.js +44 -40
  27. package/lib-es6/ecl/workunit.js.map +1 -1
  28. package/lib-es6/services/wsLogaccess.js +1 -1
  29. package/lib-es6/services/wsWorkunits.js +14 -60
  30. package/lib-es6/services/wsWorkunits.js.map +1 -1
  31. package/lib-es6/services/wsdl/WsWorkunits/v1.97/WsWorkunits.js +376 -0
  32. package/lib-es6/services/wsdl/WsWorkunits/v1.97/WsWorkunits.js.map +1 -0
  33. package/lib-es6/services/wsdl/WsWorkunits/v1.99/WsWorkunits.js +376 -0
  34. package/lib-es6/services/wsdl/WsWorkunits/v1.99/WsWorkunits.js.map +1 -0
  35. package/lib-es6/services/wsdl/WsWorkunits/v2/WsWorkunits.js +376 -0
  36. package/lib-es6/services/wsdl/WsWorkunits/v2/WsWorkunits.js.map +1 -0
  37. package/package.json +8 -7
  38. package/src/__package__.ts +2 -2
  39. package/src/__tests__/workunit.ts +1 -1
  40. package/src/ecl/dfuWorkunit.ts +7 -2
  41. package/src/ecl/graph.ts +4 -4
  42. package/src/ecl/query.ts +17 -16
  43. package/src/ecl/result.ts +36 -17
  44. package/src/ecl/scope.ts +10 -9
  45. package/src/ecl/sourceFile.ts +5 -5
  46. package/src/ecl/timer.ts +6 -4
  47. package/src/ecl/workunit.ts +87 -87
  48. package/src/services/wsWorkunits.ts +41 -2661
  49. package/src/services/wsdl/WsWorkunits/v1.97/WsWorkunits.ts +3134 -0
  50. package/src/services/wsdl/WsWorkunits/v1.99/WsWorkunits.ts +3162 -0
  51. package/src/services/wsdl/WsWorkunits/v2/WsWorkunits.ts +3165 -0
  52. package/types/__package__.d.ts +2 -2
  53. package/types/ecl/dfuWorkunit.d.ts.map +1 -1
  54. package/types/ecl/graph.d.ts +4 -4
  55. package/types/ecl/graph.d.ts.map +1 -1
  56. package/types/ecl/query.d.ts +16 -15
  57. package/types/ecl/query.d.ts.map +1 -1
  58. package/types/ecl/result.d.ts +26 -7
  59. package/types/ecl/result.d.ts.map +1 -1
  60. package/types/ecl/scope.d.ts +10 -9
  61. package/types/ecl/scope.d.ts.map +1 -1
  62. package/types/ecl/sourceFile.d.ts +5 -5
  63. package/types/ecl/sourceFile.d.ts.map +1 -1
  64. package/types/ecl/timer.d.ts +6 -4
  65. package/types/ecl/timer.d.ts.map +1 -1
  66. package/types/ecl/workunit.d.ts +66 -65
  67. package/types/ecl/workunit.d.ts.map +1 -1
  68. package/types/services/wsWorkunits.d.ts +17 -2256
  69. package/types/services/wsWorkunits.d.ts.map +1 -1
  70. package/types/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts +2529 -0
  71. package/types/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts.map +1 -0
  72. package/types/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts +2555 -0
  73. package/types/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts.map +1 -0
  74. package/types/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts +2558 -0
  75. package/types/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts.map +1 -0
  76. package/types-3.4/__package__.d.ts +2 -2
  77. package/types-3.4/ecl/graph.d.ts +4 -4
  78. package/types-3.4/ecl/query.d.ts +16 -15
  79. package/types-3.4/ecl/result.d.ts +26 -7
  80. package/types-3.4/ecl/scope.d.ts +10 -9
  81. package/types-3.4/ecl/sourceFile.d.ts +5 -5
  82. package/types-3.4/ecl/timer.d.ts +6 -4
  83. package/types-3.4/ecl/workunit.d.ts +66 -65
  84. package/types-3.4/services/wsWorkunits.d.ts +17 -2256
  85. package/types-3.4/services/wsdl/WsWorkunits/v1.97/WsWorkunits.d.ts +2529 -0
  86. package/types-3.4/services/wsdl/WsWorkunits/v1.99/WsWorkunits.d.ts +2555 -0
  87. package/types-3.4/services/wsdl/WsWorkunits/v2/WsWorkunits.d.ts +2558 -0
@@ -1,7 +1,7 @@
1
1
  import { deepMixin, xml2json, XMLNode } from "@hpcc-js/util";
2
- import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v1.98/WsWorkunits";
2
+ import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2/WsWorkunits";
3
3
  import { IConnection, IOptions } from "../connection";
4
- import { ESPConnection, Service } from "../espConnection";
4
+ import { ESPConnection } from "../espConnection";
5
5
 
6
6
  /*
7
7
  Response structures generated via:
@@ -36,2595 +36,35 @@ export enum WUStateID {
36
36
  NotFound = 999
37
37
  }
38
38
 
39
- export namespace WUInfo {
40
- export interface Request {
41
- Wuid: string;
42
- TruncateEclTo64k?: boolean;
43
- Type?: string;
44
- IncludeExceptions?: boolean;
45
- IncludeGraphs?: boolean;
46
- IncludeSourceFiles?: boolean;
47
- IncludeResults?: boolean;
48
- IncludeResultsViewNames?: boolean;
49
- IncludeVariables?: boolean;
50
- IncludeTimers?: boolean;
51
- IncludeDebugValues?: boolean;
52
- IncludeApplicationValues?: boolean;
53
- IncludeWorkflows?: boolean;
54
- IncludeXmlSchemas?: boolean;
55
- IncludeResourceURLs?: boolean;
56
- IncludeECL?: boolean;
57
- IncludeHelpers?: boolean;
58
- IncludeAllowedClusters?: boolean;
59
- IncludeTotalClusterTime?: boolean;
60
- IncludeServiceNames?: boolean;
61
- SuppressResultSchemas?: boolean;
62
- ThorSlaveIP?: string;
63
- }
64
-
65
- export interface Exception {
66
- Code: string;
67
- Audience: string;
68
- Source: string;
69
- Message: string;
70
- }
71
-
72
- export interface Exceptions {
73
- Source: string;
74
- Exception: Exception[];
75
- }
76
-
77
- export interface Query {
78
- Text: string;
79
- Cpp: string;
80
- ResTxt: string;
81
- Dll: string;
82
- ThorLog: string;
83
- QueryMainDefinition: string;
84
- }
85
-
86
- export interface ECLHelpFile {
87
- Name: string;
88
- Type: string;
89
- IPAddress: string;
90
- Description: string;
91
- FileSize: number;
92
- PID: number;
93
- minActivityId: number;
94
- maxActivityId: number;
95
- }
96
-
97
- export interface Helpers {
98
- ECLHelpFile: ECLHelpFile[];
99
- }
100
-
101
- export interface ECLException {
102
- Source: string;
103
- Severity: string;
104
- Code: number;
105
- Message: string;
106
- FileName: string;
107
- LineNo: number;
108
- Column: number;
109
- Activity: number;
110
- Scope?: string;
111
- Priority?: number;
112
- }
113
-
114
- export interface Exceptions2 {
115
- ECLException: ECLException[];
116
- }
117
-
118
- export interface ECLGraph {
119
- Name: string;
120
- Label: string;
121
- Type: string;
122
- Running: boolean;
123
- Complete: boolean;
124
- Failed: boolean;
125
- RunningId: number;
126
- WhenStarted: string;
127
- WhenFinished: string;
128
- }
129
-
130
- export interface Graphs {
131
- ECLGraph: ECLGraph[];
132
- }
133
-
134
- export interface ECLSourceFiles {
135
- ECLSourceFile: any[];
136
- }
137
-
138
- export interface ECLSourceFile {
139
- FileCluster: string;
140
- Name: string;
141
- IsSuperFile: boolean;
142
- Subs: number;
143
- Count: number;
144
- ECLSourceFiles: ECLSourceFiles;
145
- }
146
-
147
- export interface SourceFiles {
148
- ECLSourceFile: ECLSourceFile[];
149
- }
150
-
151
- export interface ECLSchemaItem {
152
- ColumnName: string;
153
- ColumnType: string;
154
- ColumnTypeCode: number;
155
- isConditional: boolean;
156
- }
157
-
158
- export interface ECLSchemas {
159
- ECLSchemaItem: ECLSchemaItem[];
160
- }
161
-
162
- export interface ECLResult {
163
- Name: string;
164
- Sequence: number;
165
- Value: string;
166
- Link: string;
167
- FileName: string;
168
- IsSupplied: boolean;
169
- ShowFileContent: boolean;
170
- Total: number;
171
- ECLSchemas: ECLSchemas;
172
- XmlSchema: string;
173
- }
174
-
175
- export interface Results {
176
- ECLResult: ECLResult[];
177
- }
178
-
179
- export interface ECLSchemaItem2 {
180
- ColumnName: string;
181
- ColumnType: string;
182
- ColumnTypeCode: number;
183
- isConditional: boolean;
184
- }
185
-
186
- export interface ECLSchemas2 {
187
- ECLSchemaItem: ECLSchemaItem2[];
188
- }
189
-
190
- export interface ECLResult2 {
191
- Name: string;
192
- Sequence: number;
193
- Value: string;
194
- Link: string;
195
- FileName: string;
196
- IsSupplied: boolean;
197
- ShowFileContent: boolean;
198
- Total: number;
199
- ECLSchemas: ECLSchemas2;
200
- XmlSchema: string;
201
- }
202
-
203
- export interface Variables {
204
- ECLResult: ECLResult2[];
205
- }
206
-
207
- export interface ECLTimer {
208
- Name: string;
209
- Value: string;
210
- count: number;
211
- GraphName: string;
212
- SubGraphId: number;
213
- Timestamp?: number;
214
- When?: string;
215
- }
216
-
217
- export interface Timers {
218
- ECLTimer: ECLTimer[];
219
- }
220
-
221
- export interface DebugValue {
222
- Name: string;
223
- Value: string;
224
- }
225
-
226
- export interface DebugValues {
227
- DebugValue: DebugValue[];
228
- }
229
-
230
- export interface ApplicationValue {
231
- Application: string;
232
- Name: string;
233
- Value: string;
234
- }
235
-
236
- export interface ApplicationValues {
237
- ApplicationValue: ApplicationValue[];
238
- }
239
-
240
- export interface ECLWorkflow {
241
- WFID: string;
242
- EventName: string;
243
- EventText: string;
244
- Count: number;
245
- CountRemaining: number;
246
- }
247
-
248
- export interface Workflows {
249
- ECLWorkflow: ECLWorkflow[];
250
- }
251
-
252
- export interface ECLTimingData {
253
- Name: string;
254
- GraphNum: number;
255
- SubGraphNum: number;
256
- GID: number;
257
- Min: number;
258
- MS: number;
259
- }
260
-
261
- export interface TimingData {
262
- ECLTimingData: ECLTimingData[];
263
- }
264
-
265
- export interface AllowedClusters {
266
- AllowedCluster: string[];
267
- }
268
-
269
- export interface ThorLogInfo {
270
- ProcessName: string;
271
- ClusterGroup: string;
272
- LogDate: string;
273
- NumberSlaves: number;
274
- }
275
-
276
- export interface ThorLogList {
277
- ThorLogInfo: ThorLogInfo[];
278
- }
279
-
280
- export interface ResourceURLs {
281
- URL: string[];
282
- }
283
-
284
- export interface ServiceNames {
285
- Item: string[];
286
- }
287
-
288
- export interface Workunit {
289
- Wuid: string;
290
- Owner: string;
291
- Cluster: string;
292
- RoxieCluster: string;
293
- Jobname: string;
294
- Queue: string;
295
- StateID: number;
296
- State: string;
297
- StateEx: string;
298
- Description: string;
299
- Protected: boolean;
300
- Active: boolean;
301
- Action: number;
302
- ActionEx: string;
303
- DateTimeScheduled: string;
304
- PriorityClass: number;
305
- PriorityLevel: number;
306
- Scope: string;
307
- Snapshot: string;
308
- ResultLimit: number;
309
- Archived: boolean;
310
- IsPausing: boolean;
311
- ThorLCR: boolean;
312
- EventSchedule: number;
313
- HaveSubGraphTimings?: boolean;
314
- TotalClusterTime: string;
315
- AbortBy: string;
316
- AbortTime: string;
317
- Query: Query;
318
- Helpers: Helpers;
319
- Exceptions: Exceptions2;
320
- Graphs: Graphs;
321
- SourceFiles: SourceFiles;
322
- Results: Results;
323
- Variables: Variables;
324
- Timers: Timers;
325
- DebugValues: DebugValues;
326
- ApplicationValues: ApplicationValues;
327
- Workflows: Workflows;
328
- TimingData: TimingData;
329
- AllowedClusters: AllowedClusters;
330
- ErrorCount: number;
331
- WarningCount: number;
332
- InfoCount: number;
333
- AlertCount: number;
334
- GraphCount: number;
335
- SourceFileCount: number;
336
- ResultCount: number;
337
- VariableCount: number;
338
- TimerCount: number;
339
- HasDebugValue: boolean;
340
- ApplicationValueCount: number;
341
- XmlParams: string;
342
- AccessFlag: number;
343
- ClusterFlag: number;
344
- HelpersDesc: string;
345
- GraphsDesc: string;
346
- SourceFilesDesc: string;
347
- ResultsDesc: string;
348
- VariablesDesc: string;
349
- TimersDesc: string;
350
- DebugValuesDesc: string;
351
- ApplicationValuesDesc: string;
352
- WorkflowsDesc: string;
353
- HasArchiveQuery: boolean;
354
- ThorLogList: ThorLogList;
355
- ResourceURLs: ResourceURLs;
356
- ResultViewCount: number;
357
- ResourceURLCount: number;
358
- DebugValueCount: number;
359
- WorkflowCount: number;
360
- HelpersCount: number;
361
- ServiceNames?: ServiceNames;
362
- CompileCost?: number;
363
- ExecuteCost?: number;
364
- FileAccessCost?: number;
365
- }
366
-
367
- export interface ResultViews {
368
- View: string[];
369
- }
370
-
371
- export interface Response {
372
- Exceptions: Exceptions;
373
- Workunit: Workunit;
374
- AutoRefresh: number;
375
- CanCompile: boolean;
376
- ThorSlaveIP: string;
377
- ResultViews: ResultViews;
378
- SecMethod: string;
379
- }
380
- }
381
-
382
- export function isECLResult(_: any): _ is WUInfo.ECLResult {
383
- return typeof (_ as WUInfo.ECLResult).Name === "string";
384
- }
385
-
386
- export namespace WUQuery {
387
- export interface ApplicationValue {
388
- Application: string;
389
- Name: string;
390
- Value: string;
391
- }
392
-
393
- export interface Request {
394
- Wuid?: string;
395
- Type?: string;
396
- Cluster?: string;
397
- RoxieCluster?: string;
398
- Owner?: string;
399
- State?: string;
400
- StartDate?: string;
401
- EndDate?: string;
402
- ECL?: string;
403
- Jobname?: string;
404
- LogicalFile?: string;
405
- LogicalFileSearchType?: string;
406
- ApplicationValues?: {
407
- ApplicationValue: ApplicationValue[]
408
- };
409
- After?: string;
410
- Before?: string;
411
- Count?: number;
412
- PageSize?: number;
413
- PageStartFrom?: number;
414
- PageEndAt?: number;
415
- LastNDays?: number;
416
- Sortby?: string;
417
- Descending?: boolean;
418
- CacheHint?: string;
419
- }
420
-
421
- export interface Exception {
422
- Code: string;
423
- Audience: string;
424
- Source: string;
425
- Message: string;
426
- }
427
-
428
- export interface Exceptions {
429
- Source: string;
430
- Exception: Exception[];
431
- }
432
-
433
- export interface Query {
434
- Text: string;
435
- Cpp: string;
436
- ResTxt: string;
437
- Dll: string;
438
- ThorLog: string;
439
- QueryMainDefinition: string;
440
- }
441
-
442
- export interface ECLHelpFile {
443
- Name: string;
444
- Type: string;
445
- IPAddress: string;
446
- Description: string;
447
- FileSize: number;
448
- PID: number;
449
- minActivityId: number;
450
- maxActivityId: number;
451
- }
452
-
453
- export interface Helpers {
454
- ECLHelpFile: ECLHelpFile[];
455
- }
456
-
457
- export interface ECLException {
458
- Source: string;
459
- Severity: string;
460
- Code: number;
461
- Message: string;
462
- FileName: string;
463
- LineNo: number;
464
- Column: number;
465
- Activity: number;
466
- }
467
-
468
- export interface Exceptions2 {
469
- ECLException: ECLException[];
470
- }
471
-
472
- export interface ECLGraph {
473
- Name: string;
474
- Label: string;
475
- Type: string;
476
- Running: boolean;
477
- Complete: boolean;
478
- Failed: boolean;
479
- RunningId: number;
480
- WhenStarted: string;
481
- WhenFinished: string;
482
- }
483
-
484
- export interface Graphs {
485
- ECLGraph: ECLGraph[];
486
- }
487
-
488
- export interface ECLSourceFiles {
489
- ECLSourceFile: any[];
490
- }
491
-
492
- export interface ECLSourceFile {
493
- FileCluster: string;
494
- Name: string;
495
- IsSuperFile: boolean;
496
- Subs: number;
497
- Count: number;
498
- ECLSourceFiles: ECLSourceFiles;
499
- }
500
-
501
- export interface SourceFiles {
502
- ECLSourceFile: ECLSourceFile[];
503
- }
504
-
505
- export interface ECLSchemaItem {
506
- ColumnName: string;
507
- ColumnType: string;
508
- ColumnTypeCode: number;
509
- isConditional: boolean;
510
- }
511
-
512
- export interface ECLSchemas {
513
- ECLSchemaItem: ECLSchemaItem[];
514
- }
515
-
516
- export interface ECLResult {
517
- Name: string;
518
- Sequence: number;
519
- Value: string;
520
- Link: string;
521
- FileName: string;
522
- IsSupplied: boolean;
523
- ShowFileContent: boolean;
524
- Total: number;
525
- ECLSchemas: ECLSchemas;
526
- XmlSchema: string;
527
- }
528
-
529
- export interface Results {
530
- ECLResult: ECLResult[];
531
- }
532
-
533
- export interface ECLSchemaItem2 {
534
- ColumnName: string;
535
- ColumnType: string;
536
- ColumnTypeCode: number;
537
- isConditional: boolean;
538
- }
539
-
540
- export interface ECLSchemas2 {
541
- ECLSchemaItem: ECLSchemaItem2[];
542
- }
543
-
544
- export interface ECLResult2 {
545
- Name: string;
546
- Sequence: number;
547
- Value: string;
548
- Link: string;
549
- FileName: string;
550
- IsSupplied: boolean;
551
- ShowFileContent: boolean;
552
- Total: number;
553
- ECLSchemas: ECLSchemas2;
554
- XmlSchema: string;
555
- }
556
-
557
- export interface Variables {
558
- ECLResult: ECLResult2[];
559
- }
560
-
561
- export interface ECLTimer {
562
- Name: string;
563
- Value: string;
564
- count: number;
565
- GraphName: string;
566
- SubGraphId: number;
567
- }
568
-
569
- export interface Timers {
570
- ECLTimer: ECLTimer[];
571
- }
572
-
573
- export interface DebugValue {
574
- Name: string;
575
- Value: string;
576
- }
577
-
578
- export interface DebugValues {
579
- DebugValue: DebugValue[];
580
- }
581
-
582
- export interface ApplicationValue {
583
- Application: string;
584
- Name: string;
585
- Value: string;
586
- }
587
-
588
- export interface ApplicationValues {
589
- ApplicationValue: ApplicationValue[];
590
- }
591
-
592
- export interface ECLWorkflow {
593
- WFID: string;
594
- EventName: string;
595
- EventText: string;
596
- Count: number;
597
- CountRemaining: number;
598
- }
599
-
600
- export interface Workflows {
601
- ECLWorkflow: ECLWorkflow[];
602
- }
603
-
604
- export interface ECLTimingData {
605
- Name: string;
606
- GraphNum: number;
607
- SubGraphNum: number;
608
- GID: number;
609
- Min: number;
610
- MS: number;
611
- }
612
-
613
- export interface TimingData {
614
- ECLTimingData: ECLTimingData[];
615
- }
616
-
617
- export interface AllowedClusters {
618
- AllowedCluster: string[];
619
- }
620
-
621
- export interface ThorLogInfo {
622
- ProcessName: string;
623
- ClusterGroup: string;
624
- LogDate: string;
625
- NumberSlaves: number;
626
- }
627
-
628
- export interface ThorLogList {
629
- ThorLogInfo: ThorLogInfo[];
630
- }
631
-
632
- export interface ResourceURLs {
633
- URL: string[];
634
- }
635
-
636
- export interface ECLWorkunit {
637
- Wuid: string;
638
- Owner: string;
639
- Cluster: string;
640
- RoxieCluster: string;
641
- Jobname: string;
642
- Queue: string;
643
- StateID: number;
644
- State: string;
645
- StateEx: string;
646
- Description: string;
647
- Protected: boolean;
648
- Active: boolean;
649
- Action: number;
650
- ActionEx: string;
651
- DateTimeScheduled: string;
652
- PriorityClass: number;
653
- PriorityLevel: number;
654
- Scope: string;
655
- Snapshot: string;
656
- ResultLimit: number;
657
- Archived: boolean;
658
- IsPausing: boolean;
659
- ThorLCR: boolean;
660
- EventSchedule: number;
661
- HaveSubGraphTimings: boolean;
662
- TotalClusterTime: string;
663
- AbortBy: string;
664
- AbortTime: string;
665
- Query: Query;
666
- Helpers: Helpers;
667
- Exceptions: Exceptions2;
668
- Graphs: Graphs;
669
- SourceFiles: SourceFiles;
670
- Results: Results;
671
- Variables: Variables;
672
- Timers: Timers;
673
- DebugValues: DebugValues;
674
- ApplicationValues: ApplicationValues;
675
- Workflows: Workflows;
676
- TimingData: TimingData;
677
- AllowedClusters: AllowedClusters;
678
- ErrorCount: number;
679
- WarningCount: number;
680
- InfoCount: number;
681
- AlertCount: number;
682
- GraphCount: number;
683
- SourceFileCount: number;
684
- ResultCount: number;
685
- VariableCount: number;
686
- TimerCount: number;
687
- HasDebugValue: boolean;
688
- ApplicationValueCount: number;
689
- XmlParams: string;
690
- AccessFlag: number;
691
- ClusterFlag: number;
692
- HelpersDesc: string;
693
- GraphsDesc: string;
694
- SourceFilesDesc: string;
695
- ResultsDesc: string;
696
- VariablesDesc: string;
697
- TimersDesc: string;
698
- DebugValuesDesc: string;
699
- ApplicationValuesDesc: string;
700
- WorkflowsDesc: string;
701
- HasArchiveQuery: boolean;
702
- ThorLogList: ThorLogList;
703
- ResourceURLs: ResourceURLs;
704
- ResultViewCount: number;
705
- ResourceURLCount: number;
706
- DebugValueCount: number;
707
- WorkflowCount: number;
708
- HelpersCount: number;
709
- CompileCost?: number;
710
- ExecuteCost?: number;
711
- FileAccessCost?: number;
712
- }
713
-
714
- export interface Workunits {
715
- ECLWorkunit: ECLWorkunit[];
716
- }
717
-
718
- export interface Response {
719
- Exceptions: Exceptions;
720
- Type: string;
721
- Cluster: string;
722
- RoxieCluster: string;
723
- Owner: string;
724
- State: string;
725
- StartDate: string;
726
- EndDate: string;
727
- ECL: string;
728
- Jobname: string;
729
- LogicalFile: string;
730
- LogicalFileSearchType: string;
731
- Current: string;
732
- Next: string;
733
- Count: number;
734
- PageSize: number;
735
- PrevPage: number;
736
- NextPage: number;
737
- LastPage: number;
738
- NumWUs: number;
739
- First: boolean;
740
- PageStartFrom: number;
741
- PageEndAt: number;
742
- LastNDays: number;
743
- Sortby: string;
744
- Descending: boolean;
745
- BasicQuery: string;
746
- Filters: string;
747
- CacheHint: number;
748
- Workunits: Workunits;
749
- }
750
- }
751
-
752
- export namespace WUCreate {
753
- export interface Exception {
754
- Code: string;
755
- Audience: string;
756
- Source: string;
757
- Message: string;
758
- }
759
-
760
- export interface Exceptions {
761
- Source: string;
762
- Exception: Exception[];
763
- }
764
-
765
- export interface Query {
766
- Text: string;
767
- Cpp: string;
768
- ResTxt: string;
769
- Dll: string;
770
- ThorLog: string;
771
- QueryMainDefinition: string;
772
- }
773
-
774
- export interface ECLHelpFile {
775
- Name: string;
776
- Type: string;
777
- IPAddress: string;
778
- Description: string;
779
- FileSize: number;
780
- PID: number;
781
- minActivityId: number;
782
- maxActivityId: number;
783
- }
784
-
785
- export interface Helpers {
786
- ECLHelpFile: ECLHelpFile[];
787
- }
788
-
789
- export interface ECLException {
790
- Source: string;
791
- Severity: string;
792
- Code: number;
793
- Message: string;
794
- FileName: string;
795
- LineNo: number;
796
- Column: number;
797
- Activity: number;
798
- }
799
-
800
- export interface Exceptions2 {
801
- ECLException: ECLException[];
802
- }
803
-
804
- export interface ECLGraph {
805
- Name: string;
806
- Label: string;
807
- Type: string;
808
- Running: boolean;
809
- Complete: boolean;
810
- Failed: boolean;
811
- RunningId: number;
812
- WhenStarted: string;
813
- WhenFinished: string;
814
- }
815
-
816
- export interface Graphs {
817
- ECLGraph: ECLGraph[];
818
- }
819
-
820
- export interface ECLSourceFiles {
821
- ECLSourceFile: any[];
822
- }
823
-
824
- export interface ECLSourceFile {
825
- FileCluster: string;
826
- Name: string;
827
- IsSuperFile: boolean;
828
- Subs: number;
829
- Count: number;
830
- ECLSourceFiles: ECLSourceFiles;
831
- }
832
-
833
- export interface SourceFiles {
834
- ECLSourceFile: ECLSourceFile[];
835
- }
836
-
837
- export interface ECLSchemaItem {
838
- ColumnName: string;
839
- ColumnType: string;
840
- ColumnTypeCode: number;
841
- isConditional: boolean;
842
- }
843
-
844
- export interface ECLSchemas {
845
- ECLSchemaItem: ECLSchemaItem[];
846
- }
847
-
848
- export interface ECLResult {
849
- Name: string;
850
- Sequence: number;
851
- Value: string;
852
- Link: string;
853
- FileName: string;
854
- IsSupplied: boolean;
855
- ShowFileContent: boolean;
856
- Total: number;
857
- ECLSchemas: ECLSchemas;
858
- XmlSchema: string;
859
- }
860
-
861
- export interface Results {
862
- ECLResult: ECLResult[];
863
- }
864
-
865
- export interface ECLSchemaItem2 {
866
- ColumnName: string;
867
- ColumnType: string;
868
- ColumnTypeCode: number;
869
- isConditional: boolean;
870
- }
871
-
872
- export interface ECLSchemas2 {
873
- ECLSchemaItem: ECLSchemaItem2[];
874
- }
875
-
876
- export interface ECLResult2 {
877
- Name: string;
878
- Sequence: number;
879
- Value: string;
880
- Link: string;
881
- FileName: string;
882
- IsSupplied: boolean;
883
- ShowFileContent: boolean;
884
- Total: number;
885
- ECLSchemas: ECLSchemas2;
886
- XmlSchema: string;
887
- }
888
-
889
- export interface Variables {
890
- ECLResult: ECLResult2[];
891
- }
892
-
893
- export interface ECLTimer {
894
- Name: string;
895
- Value: string;
896
- count: number;
897
- GraphName: string;
898
- SubGraphId: number;
899
- }
900
-
901
- export interface Timers {
902
- ECLTimer: ECLTimer[];
903
- }
904
-
905
- export interface DebugValue {
906
- Name: string;
907
- Value: string;
908
- }
909
-
910
- export interface DebugValues {
911
- DebugValue: DebugValue[];
912
- }
913
-
914
- export interface ApplicationValue {
915
- Application: string;
916
- Name: string;
917
- Value: string;
918
- }
919
-
920
- export interface ApplicationValues {
921
- ApplicationValue: ApplicationValue[];
922
- }
923
-
924
- export interface ECLWorkflow {
925
- WFID: string;
926
- EventName: string;
927
- EventText: string;
928
- Count: number;
929
- CountRemaining: number;
930
- }
931
-
932
- export interface Workflows {
933
- ECLWorkflow: ECLWorkflow[];
934
- }
935
-
936
- export interface ECLTimingData {
937
- Name: string;
938
- GraphNum: number;
939
- SubGraphNum: number;
940
- GID: number;
941
- Min: number;
942
- MS: number;
943
- }
944
-
945
- export interface TimingData {
946
- ECLTimingData: ECLTimingData[];
947
- }
948
-
949
- export interface AllowedClusters {
950
- AllowedCluster: string[];
951
- }
952
-
953
- export interface ThorLogInfo {
954
- ProcessName: string;
955
- ClusterGroup: string;
956
- LogDate: string;
957
- NumberSlaves: number;
958
- }
959
-
960
- export interface ThorLogList {
961
- ThorLogInfo: ThorLogInfo[];
962
- }
963
-
964
- export interface ResourceURLs {
965
- URL: string[];
966
- }
967
-
968
- export interface Workunit {
969
- Wuid: string;
970
- Owner: string;
971
- Cluster: string;
972
- RoxieCluster: string;
973
- Jobname: string;
974
- Queue: string;
975
- StateID: number;
976
- State: string;
977
- StateEx: string;
978
- Description: string;
979
- Protected: boolean;
980
- Active: boolean;
981
- Action: number;
982
- ActionEx: string;
983
- DateTimeScheduled: string;
984
- PriorityClass: number;
985
- PriorityLevel: number;
986
- Scope: string;
987
- Snapshot: string;
988
- ResultLimit: number;
989
- Archived: boolean;
990
- IsPausing: boolean;
991
- ThorLCR: boolean;
992
- EventSchedule: number;
993
- HaveSubGraphTimings: boolean;
994
- TotalClusterTime: string;
995
- AbortBy: string;
996
- AbortTime: string;
997
- Query: Query;
998
- Helpers: Helpers;
999
- Exceptions: Exceptions2;
1000
- Graphs: Graphs;
1001
- SourceFiles: SourceFiles;
1002
- Results: Results;
1003
- Variables: Variables;
1004
- Timers: Timers;
1005
- DebugValues: DebugValues;
1006
- ApplicationValues: ApplicationValues;
1007
- Workflows: Workflows;
1008
- TimingData: TimingData;
1009
- AllowedClusters: AllowedClusters;
1010
- ErrorCount: number;
1011
- WarningCount: number;
1012
- InfoCount: number;
1013
- AlertCount: number;
1014
- GraphCount: number;
1015
- SourceFileCount: number;
1016
- ResultCount: number;
1017
- VariableCount: number;
1018
- TimerCount: number;
1019
- HasDebugValue: boolean;
1020
- ApplicationValueCount: number;
1021
- XmlParams: string;
1022
- AccessFlag: number;
1023
- ClusterFlag: number;
1024
- HelpersDesc: string;
1025
- GraphsDesc: string;
1026
- SourceFilesDesc: string;
1027
- ResultsDesc: string;
1028
- VariablesDesc: string;
1029
- TimersDesc: string;
1030
- DebugValuesDesc: string;
1031
- ApplicationValuesDesc: string;
1032
- WorkflowsDesc: string;
1033
- HasArchiveQuery: boolean;
1034
- ThorLogList: ThorLogList;
1035
- ResourceURLs: ResourceURLs;
1036
- ResultViewCount: number;
1037
- ResourceURLCount: number;
1038
- DebugValueCount: number;
1039
- WorkflowCount: number;
1040
- HelpersCount: number;
1041
- }
1042
-
1043
- export interface Response {
1044
- Exceptions: Exceptions;
1045
- Workunit: Workunit;
1046
- }
1047
- }
1048
-
1049
- export namespace WUListQueries {
1050
- export interface Request {
1051
- QueryID: string;
1052
- QueryName: string;
1053
- }
1054
-
1055
- export interface Exception {
1056
- Code: string;
1057
- Audience: string;
1058
- Source: string;
1059
- Message: string;
1060
- }
1061
-
1062
- export interface Exceptions {
1063
- Source: string;
1064
- Exception: Exception[];
1065
- }
1066
-
1067
- export interface ClusterQueryState {
1068
- Cluster: string;
1069
- State: string;
1070
- Errors: string;
1071
- MixedNodeStates: boolean;
1072
- }
1073
-
1074
- export interface Clusters {
1075
- ClusterQueryState: ClusterQueryState[];
1076
- }
1077
-
1078
- export interface QuerySetQuery {
1079
- Id: string;
1080
- Name: string;
1081
- Wuid: string;
1082
- Dll: string;
1083
- Suspended: boolean;
1084
- Clusters: Clusters;
1085
- memoryLimit: string;
1086
- timeLimit: number;
1087
- warnTimeLimit: number;
1088
- priority: string;
1089
- Comment: string;
1090
- QuerySetId: string;
1091
- IsLibrary: boolean;
1092
- Activated: boolean;
1093
- PublishedBy: string;
1094
- snapshot: string;
1095
- }
1096
-
1097
- export interface QuerysetQueries {
1098
- QuerySetQuery: QuerySetQuery[];
1099
- }
1100
-
1101
- export interface Response {
1102
- Exceptions: Exceptions;
1103
- NumberOfQueries: number;
1104
- CacheHint: number;
1105
- QuerysetQueries: QuerysetQueries;
1106
- }
1107
- }
1108
-
1109
- export namespace WUPushEvent {
1110
- export interface Request {
1111
- EventName: string;
1112
- EventText: string;
1113
- }
1114
-
1115
- export interface Exception {
1116
- Code: string;
1117
- Audience: string;
1118
- Source: string;
1119
- Message: string;
1120
- }
1121
-
1122
- export interface Exceptions {
1123
- Source: string;
1124
- Exception: Exception[];
1125
- }
1126
-
1127
- export interface Response {
1128
- Exceptions: Exceptions;
1129
- }
1130
- }
1131
-
1132
- export namespace WUUpdate {
1133
- export enum Action {
1134
- Unknown = 0,
1135
- Compile,
1136
- Check,
1137
- Run,
1138
- ExecuteExisting,
1139
- Pause,
1140
- PauseNow,
1141
- Resume,
1142
- Debug,
1143
- __size
1144
- }
1145
-
1146
- export interface Request {
1147
- Wuid: string;
1148
- State?: string;
1149
- StateOrig?: string;
1150
- Jobname?: string;
1151
- JobnameOrig?: string;
1152
- QueryText?: string;
1153
- Action?: Action;
1154
- Description?: string;
1155
- DescriptionOrig?: string;
1156
- AddDrilldownFields?: boolean;
1157
- ResultLimit?: number;
1158
- Protected?: boolean;
1159
- ProtectedOrig?: boolean;
1160
- PriorityClass?: string;
1161
- PriorityLevel?: string;
1162
- Scope?: string;
1163
- ScopeOrig?: string;
1164
- ClusterSelection?: string;
1165
- ClusterOrig?: string;
1166
- XmlParams?: string;
1167
- ThorSlaveIP?: string;
1168
- QueryMainDefinition?: string;
1169
- DebugValues?: DebugValues;
1170
- ApplicationValues?: ApplicationValues;
1171
- }
1172
-
1173
- export interface Exception {
1174
- Code: string;
1175
- Audience: string;
1176
- Source: string;
1177
- Message: string;
1178
- }
1179
-
1180
- export interface Exceptions {
1181
- Source: string;
1182
- Exception: Exception[];
1183
- }
1184
-
1185
- export interface Query {
1186
- Text: string;
1187
- Cpp: string;
1188
- ResTxt: string;
1189
- Dll: string;
1190
- ThorLog: string;
1191
- QueryMainDefinition: string;
1192
- }
1193
-
1194
- export interface ECLHelpFile {
1195
- Name: string;
1196
- Type: string;
1197
- IPAddress: string;
1198
- Description: string;
1199
- FileSize: number;
1200
- PID: number;
1201
- minActivityId: number;
1202
- maxActivityId: number;
1203
- }
1204
-
1205
- export interface Helpers {
1206
- ECLHelpFile: ECLHelpFile[];
1207
- }
1208
-
1209
- export interface ECLException {
1210
- Source: string;
1211
- Severity: string;
1212
- Code: number;
1213
- Message: string;
1214
- FileName: string;
1215
- LineNo: number;
1216
- Column: number;
1217
- Activity: number;
1218
- }
1219
-
1220
- export interface Exceptions2 {
1221
- ECLException: ECLException[];
1222
- }
1223
-
1224
- export interface ECLGraph {
1225
- Name: string;
1226
- Label: string;
1227
- Type: string;
1228
- Running: boolean;
1229
- Complete: boolean;
1230
- Failed: boolean;
1231
- RunningId: number;
1232
- WhenStarted: string;
1233
- WhenFinished: string;
1234
- }
1235
-
1236
- export interface Graphs {
1237
- ECLGraph: ECLGraph[];
1238
- }
1239
-
1240
- export interface ECLSourceFiles {
1241
- ECLSourceFile: any[];
1242
- }
1243
-
1244
- export interface ECLSourceFile {
1245
- FileCluster: string;
1246
- Name: string;
1247
- IsSuperFile: boolean;
1248
- Subs: number;
1249
- Count: number;
1250
- ECLSourceFiles: ECLSourceFiles;
1251
- }
1252
-
1253
- export interface SourceFiles {
1254
- ECLSourceFile: ECLSourceFile[];
1255
- }
1256
-
1257
- export interface ECLSchemaItem {
1258
- ColumnName: string;
1259
- ColumnType: string;
1260
- ColumnTypeCode: number;
1261
- isConditional: boolean;
1262
- }
1263
-
1264
- export interface ECLSchemas {
1265
- ECLSchemaItem: ECLSchemaItem[];
1266
- }
1267
-
1268
- export interface ECLResult {
1269
- Name: string;
1270
- Sequence: number;
1271
- Value: string;
1272
- Link: string;
1273
- FileName: string;
1274
- IsSupplied: boolean;
1275
- ShowFileContent: boolean;
1276
- Total: number;
1277
- ECLSchemas: ECLSchemas;
1278
- XmlSchema: string;
1279
- }
1280
-
1281
- export interface Results {
1282
- ECLResult: ECLResult[];
1283
- }
1284
-
1285
- export interface ECLSchemaItem2 {
1286
- ColumnName: string;
1287
- ColumnType: string;
1288
- ColumnTypeCode: number;
1289
- isConditional: boolean;
1290
- }
1291
-
1292
- export interface ECLSchemas2 {
1293
- ECLSchemaItem: ECLSchemaItem2[];
1294
- }
1295
-
1296
- export interface ECLResult2 {
1297
- Name: string;
1298
- Sequence: number;
1299
- Value: string;
1300
- Link: string;
1301
- FileName: string;
1302
- IsSupplied: boolean;
1303
- ShowFileContent: boolean;
1304
- Total: number;
1305
- ECLSchemas: ECLSchemas2;
1306
- XmlSchema: string;
1307
- }
1308
-
1309
- export interface Variables {
1310
- ECLResult: ECLResult2[];
1311
- }
1312
-
1313
- export interface ECLTimer {
1314
- Name: string;
1315
- Value: string;
1316
- count: number;
1317
- GraphName: string;
1318
- SubGraphId: number;
1319
- }
1320
-
1321
- export interface Timers {
1322
- ECLTimer: ECLTimer[];
1323
- }
1324
-
1325
- export interface DebugValue {
1326
- Name: string;
1327
- Value: string;
1328
- }
1329
-
1330
- export interface DebugValues {
1331
- DebugValue: DebugValue[];
1332
- }
1333
-
1334
- export interface ApplicationValue {
1335
- Application: string;
1336
- Name: string;
1337
- Value: string;
1338
- }
1339
-
1340
- export interface ApplicationValues {
1341
- ApplicationValue: ApplicationValue[];
1342
- }
1343
-
1344
- export interface ECLWorkflow {
1345
- WFID: string;
1346
- EventName: string;
1347
- EventText: string;
1348
- Count: number;
1349
- CountRemaining: number;
1350
- }
1351
-
1352
- export interface Workflows {
1353
- ECLWorkflow: ECLWorkflow[];
1354
- }
1355
-
1356
- export interface ECLTimingData {
1357
- Name: string;
1358
- GraphNum: number;
1359
- SubGraphNum: number;
1360
- GID: number;
1361
- Min: number;
1362
- MS: number;
1363
- }
1364
-
1365
- export interface TimingData {
1366
- ECLTimingData: ECLTimingData[];
1367
- }
1368
-
1369
- export interface AllowedClusters {
1370
- AllowedCluster: string[];
1371
- }
1372
-
1373
- export interface ThorLogInfo {
1374
- ProcessName: string;
1375
- ClusterGroup: string;
1376
- LogDate: string;
1377
- NumberSlaves: number;
1378
- }
1379
-
1380
- export interface ThorLogList {
1381
- ThorLogInfo: ThorLogInfo[];
1382
- }
1383
-
1384
- export interface ResourceURLs {
1385
- URL: string[];
1386
- }
1387
-
1388
- export interface Workunit {
1389
- Wuid: string;
1390
- Owner: string;
1391
- Cluster: string;
1392
- RoxieCluster: string;
1393
- Jobname: string;
1394
- Queue: string;
1395
- StateID: number;
1396
- State: string;
1397
- StateEx: string;
1398
- Description: string;
1399
- Protected: boolean;
1400
- Active: boolean;
1401
- Action: number;
1402
- ActionEx: string;
1403
- DateTimeScheduled: string;
1404
- PriorityClass: number;
1405
- PriorityLevel: number;
1406
- Scope: string;
1407
- Snapshot: string;
1408
- ResultLimit: number;
1409
- Archived: boolean;
1410
- IsPausing: boolean;
1411
- ThorLCR: boolean;
1412
- EventSchedule: number;
1413
- HaveSubGraphTimings: boolean;
1414
- TotalClusterTime: string;
1415
- AbortBy: string;
1416
- AbortTime: string;
1417
- Query: Query;
1418
- Helpers: Helpers;
1419
- Exceptions: Exceptions2;
1420
- Graphs: Graphs;
1421
- SourceFiles: SourceFiles;
1422
- Results: Results;
1423
- Variables: Variables;
1424
- Timers: Timers;
1425
- DebugValues: DebugValues;
1426
- ApplicationValues: ApplicationValues;
1427
- Workflows: Workflows;
1428
- TimingData: TimingData;
1429
- AllowedClusters: AllowedClusters;
1430
- ErrorCount: number;
1431
- WarningCount: number;
1432
- InfoCount: number;
1433
- AlertCount: number;
1434
- GraphCount: number;
1435
- SourceFileCount: number;
1436
- ResultCount: number;
1437
- VariableCount: number;
1438
- TimerCount: number;
1439
- HasDebugValue: boolean;
1440
- ApplicationValueCount: number;
1441
- XmlParams: string;
1442
- AccessFlag: number;
1443
- ClusterFlag: number;
1444
- HelpersDesc: string;
1445
- GraphsDesc: string;
1446
- SourceFilesDesc: string;
1447
- ResultsDesc: string;
1448
- VariablesDesc: string;
1449
- TimersDesc: string;
1450
- DebugValuesDesc: string;
1451
- ApplicationValuesDesc: string;
1452
- WorkflowsDesc: string;
1453
- HasArchiveQuery: boolean;
1454
- ThorLogList: ThorLogList;
1455
- ResourceURLs: ResourceURLs;
1456
- ResultViewCount: number;
1457
- ResourceURLCount: number;
1458
- DebugValueCount: number;
1459
- WorkflowCount: number;
1460
- HelpersCount: number;
1461
- }
1462
-
1463
- export interface Response {
1464
- Exceptions: Exceptions;
1465
- Workunit: Workunit;
1466
- }
1467
- }
1468
-
1469
- export namespace WUSubmit {
1470
- export interface Request {
1471
- Wuid: string;
1472
- Cluster: string;
1473
- Queue?: string;
1474
- Snapshot?: string;
1475
- MaxRunTime?: number;
1476
- BlockTillFinishTimer?: boolean;
1477
- SyntaxCheck?: boolean;
1478
- NotifyCluster?: boolean;
1479
- }
1480
-
1481
- export interface Exception {
1482
- Code: string;
1483
- Audience: string;
1484
- Source: string;
1485
- Message: string;
1486
- }
1487
-
1488
- export interface Exceptions {
1489
- Source: string;
1490
- Exception: Exception[];
1491
- }
1492
-
1493
- export interface Response {
1494
- Exceptions: Exceptions;
1495
- }
1496
- }
1497
-
1498
- export namespace WUResubmit {
1499
- export interface Request {
1500
- Wuids: string[];
1501
- ResetWorkflow: boolean;
1502
- CloneWorkunit: boolean;
1503
- BlockTillFinishTimer?: number;
1504
- }
1505
-
1506
- export interface Exception {
1507
- Code: string;
1508
- Audience: string;
1509
- Source: string;
1510
- Message: string;
1511
- }
1512
-
1513
- export interface Exceptions {
1514
- Source: string;
1515
- Exception: Exception[];
1516
- }
1517
-
1518
- export interface WU {
1519
- WUID: string;
1520
- ParentWUID: string;
1521
- }
1522
-
1523
- export interface WUs {
1524
- WU: WU[];
1525
- }
1526
-
1527
- export interface Response {
1528
- Exceptions: Exceptions;
1529
- WUs: WUs;
1530
- }
1531
- }
1532
-
1533
- export namespace WUQueryDetails {
1534
- export interface Request {
1535
- QueryId: string;
1536
- QuerySet: string;
1537
- IncludeStateOnClusters: boolean;
1538
- IncludeSuperFiles: boolean;
1539
- IncludeWsEclAddresses: boolean;
1540
- CheckAllNodes: boolean;
1541
- }
1542
-
1543
- export interface Exception {
1544
- Code: string;
1545
- Audience: string;
1546
- Source: string;
1547
- Message: string;
1548
- }
1549
-
1550
- export interface Exceptions {
1551
- Source: string;
1552
- Exception: Exception[];
1553
- }
1554
-
1555
- export interface ClusterQueryState {
1556
- Cluster: string;
1557
- State: string;
1558
- Errors: string;
1559
- MixedNodeStates: boolean;
1560
- }
1561
-
1562
- export interface Clusters {
1563
- ClusterQueryState: ClusterQueryState[];
1564
- }
1565
-
1566
- export interface LogicalFiles {
1567
- Item: string[];
1568
- }
1569
-
1570
- export interface SubFiles {
1571
- File: string[];
1572
- }
1573
-
1574
- export interface SuperFiles2 {
1575
- SuperFile: any[];
1576
- }
1577
-
1578
- export interface SuperFile {
1579
- Name: string;
1580
- SubFiles: SubFiles;
1581
- SuperFiles: SuperFiles2;
1582
- }
1583
-
1584
- export interface SuperFiles {
1585
- SuperFile: SuperFile[];
1586
- }
1587
-
1588
- export interface LibrariesUsed {
1589
- Item: string[];
1590
- }
1591
-
1592
- export interface WsEclAddresses {
1593
- Address: string[];
1594
- }
1595
-
1596
- export interface ECLGraph {
1597
- Name: string;
1598
- Label: string;
1599
- Type: string;
1600
- Running: boolean;
1601
- Complete: boolean;
1602
- Failed: boolean;
1603
- RunningId: number;
1604
- WhenStarted: string;
1605
- WhenFinished: string;
1606
- }
1607
-
1608
- export interface WUGraphs {
1609
- ECLGraph: ECLGraph[];
1610
- }
1611
-
1612
- export interface ECLTimer {
1613
- Name: string;
1614
- Value: string;
1615
- count: number;
1616
- GraphName: string;
1617
- SubGraphId: number;
1618
- }
1619
-
1620
- export interface WUTimers {
1621
- ECLTimer: ECLTimer[];
1622
- }
1623
-
1624
- export interface Response {
1625
- Exceptions: Exceptions;
1626
- QueryId: string;
1627
- QuerySet: string;
1628
- QueryName: string;
1629
- Wuid: string;
1630
- Dll: string;
1631
- Suspended: boolean;
1632
- Activated: boolean;
1633
- SuspendedBy: string;
1634
- Clusters: Clusters;
1635
- PublishedBy: string;
1636
- Comment: string;
1637
- LogicalFiles: LogicalFiles;
1638
- SuperFiles: SuperFiles;
1639
- IsLibrary: boolean;
1640
- Priority: string;
1641
- WUSnapShot: string;
1642
- CompileTime: string;
1643
- LibrariesUsed: LibrariesUsed;
1644
- CountGraphs: number;
1645
- ResourceURLCount: number;
1646
- WsEclAddresses: WsEclAddresses;
1647
- WUGraphs: WUGraphs;
1648
- WUTimers: WUTimers;
1649
- }
1650
- }
1651
-
1652
- export namespace WUAction {
1653
- export type Type = "SetToFailed" | "Pause" | "PauseNow" | "Resume" | "Abort" | "Delete" | "Restore" | "Deschedule" | "Reschedule" | "Protect" | "Unprotect";
1654
- export interface Request {
1655
- Wuids: string[];
1656
- WUActionType: Type;
1657
- Cluster?: string;
1658
- Owner?: string;
1659
- State?: string;
1660
- StartDate?: string;
1661
- EndDate?: string;
1662
- ECL?: string;
1663
- Jobname?: string;
1664
- Test?: string;
1665
- CurrentPage?: number;
1666
- PageSize?: number;
1667
- Sortby?: number;
1668
- Descending?: boolean;
1669
- EventServer?: string;
1670
- EventName?: string;
1671
- PageFrom?: number;
1672
- BlockTillFinishTimer?: number;
1673
- }
1674
-
1675
- export interface Exception {
1676
- Code: string;
1677
- Audience: string;
1678
- Source: string;
1679
- Message: string;
1680
- }
1681
-
1682
- export interface Exceptions {
1683
- Source: string;
1684
- Exception: Exception[];
1685
- }
1686
-
1687
- export interface WUActionResult {
1688
- Wuid: string;
1689
- Action: string;
1690
- Result: string;
1691
- }
1692
-
1693
- export interface ActionResults {
1694
- WUActionResult: WUActionResult[];
1695
- }
1696
-
1697
- export interface Response {
1698
- Exceptions: Exceptions;
1699
- ActionResults: ActionResults;
1700
- }
1701
- }
1702
-
1703
- export namespace WUGetZAPInfo {
1704
- export interface Request {
1705
- WUID: string;
1706
- }
1707
-
1708
- export interface Exception {
1709
- Code: string;
1710
- Audience: string;
1711
- Source: string;
1712
- Message: string;
1713
- }
1714
-
1715
- export interface Exceptions {
1716
- Source: string;
1717
- Exception: Exception[];
1718
- }
1719
-
1720
- export interface Response {
1721
- Exceptions: Exceptions;
1722
- WUID: string;
1723
- ESPIPAddress?: string;
1724
- ESPApplication?: string;
1725
- ThorIPAddress?: string;
1726
- ThorProcesses?: string;
1727
- BuildVersion: string;
1728
- Archive: string;
1729
- }
1730
- }
1731
-
1732
- export namespace WUShowScheduled {
1733
- export interface Request {
1734
- Cluster: string;
1735
- EventName: string;
1736
- PushEventName: string;
1737
- PushEventText: string;
1738
- State: string;
1739
- }
1740
-
1741
- export interface Exception {
1742
- Code: string;
1743
- Audience: string;
1744
- Source: string;
1745
- Message: string;
1746
- }
1747
-
1748
- export interface Exceptions {
1749
- Source: string;
1750
- Exception: Exception[];
1751
- }
1752
-
1753
- export interface ServerInfo {
1754
- Name: string;
1755
- NetAddress: string;
1756
- }
1757
-
1758
- export interface Clusters {
1759
- ServerInfo: ServerInfo[];
1760
- }
1761
-
1762
- export interface ScheduledWU {
1763
- Wuid: string;
1764
- Cluster: string;
1765
- EventName: string;
1766
- EventText: string;
1767
- JobName: string;
1768
- StateID: number;
1769
- State: string;
1770
- Owner: string;
1771
- }
1772
-
1773
- export interface Workunits {
1774
- ScheduledWU: ScheduledWU[];
1775
- }
1776
-
1777
- export interface Response {
1778
- Exceptions: Exceptions;
1779
- ClusterSelected: number;
1780
- EventName: string;
1781
- PushEventName: string;
1782
- PushEventText: string;
1783
- Query: string;
1784
- Clusters: Clusters;
1785
- Workunits: Workunits;
1786
- }
1787
- }
1788
-
1789
- export namespace WUQuerySetQueryAction {
1790
- export interface Request {
1791
- Action: string;
1792
- QuerySetName: string;
1793
- Queries: any[];
1794
- }
1795
-
1796
- export interface Exception {
1797
- Code: string;
1798
- Audience: string;
1799
- Source: string;
1800
- Message: string;
1801
- }
1802
-
1803
- export interface Exceptions {
1804
- Source: string;
1805
- Exception: Exception[];
1806
- }
1807
-
1808
- export interface Result {
1809
- QueryId: string;
1810
- Suspended: boolean;
1811
- Success: boolean;
1812
- Code: number;
1813
- Message: string;
1814
- }
1815
-
1816
- export interface Results {
1817
- Result: Result[];
1818
- }
1819
-
1820
- export interface Response {
1821
- Exceptions: Exceptions;
1822
- Action: string;
1823
- QuerySetName: string;
1824
- Results: Results;
1825
- }
1826
- }
1827
-
1828
- export namespace WUQuerySetAliasAction {
1829
- export interface Request {
1830
- Action: string;
1831
- QuerySetName: string;
1832
- Queries: any[];
1833
- }
1834
-
1835
- export interface Exception {
1836
- Code: string;
1837
- Audience: string;
1838
- Source: string;
1839
- Message: string;
1840
- }
1841
-
1842
- export interface Exceptions {
1843
- Source: string;
1844
- Exception: Exception[];
1845
- }
1846
-
1847
- export interface Result {
1848
- Name: string;
1849
- Success: boolean;
1850
- Code: number;
1851
- Message: string;
1852
- }
1853
-
1854
- export interface Results {
1855
- Result: Result[];
1856
- }
1857
-
1858
- export interface Response {
1859
- Exceptions: Exceptions;
1860
- Action: string;
1861
- QuerySetName: string;
1862
- Results: Results;
1863
- }
1864
- }
1865
-
1866
- export namespace WUQueryFiles {
1867
- export interface Request {
1868
- Target: string;
1869
- QueryId: string;
1870
- }
1871
-
1872
- export interface Exception {
1873
- Code: string;
1874
- Audience: string;
1875
- Source: string;
1876
- Message: string;
1877
- }
1878
-
1879
- export interface Exceptions {
1880
- Source: string;
1881
- Exception: Exception[];
1882
- }
1883
-
1884
- export interface File {
1885
- Error: string;
1886
- LogicalName: string;
1887
- }
1888
-
1889
- export interface Files {
1890
- File: File[];
1891
- }
1892
-
1893
- export interface SubFiles {
1894
- File: string[];
1895
- }
1896
-
1897
- export interface SuperFile {
1898
- Name: string;
1899
- SubFiles: SubFiles;
1900
- SuperFiles: SuperFiles;
1901
- }
1902
-
1903
- export interface SuperFiles {
1904
- SuperFile: SuperFile[];
1905
- }
1906
-
1907
- export interface QueryUsingFile {
1908
- Id: string;
1909
- Package: string;
1910
- }
1911
-
1912
- export interface Queries {
1913
- QueryUsingFile: QueryUsingFile[];
1914
- }
1915
-
1916
- export interface Response {
1917
- Exceptions: Exceptions;
1918
- Files: Files;
1919
- SuperFiles: SuperFiles;
1920
- Queries: Queries;
1921
- }
1922
- }
1923
-
1924
- export namespace WUPublishWorkunit {
1925
- export interface Request {
1926
- Wuid: string;
1927
- Cluster: string;
1928
- JobName: string;
1929
- Activate: boolean;
1930
- NotifyCluster?: boolean;
1931
- Wait?: number;
1932
- NoReload?: boolean;
1933
- UpdateWorkUnitName?: boolean;
1934
- memoryLimit?: string;
1935
- TimeLimit?: string;
1936
- WarnTimeLimit?: string;
1937
- Priority?: string;
1938
- RemoteDali?: string;
1939
- Comment?: string;
1940
- DontCopyFiles?: boolean;
1941
- SourceProcess?: string;
1942
- AllowForeignFiles: boolean;
1943
- UpdateDfs?: boolean;
1944
- UpdateSuperFiles?: boolean;
1945
- UpdateCloneFrom?: boolean;
1946
- AppendCluster?: boolean;
1947
- }
1948
-
1949
- export interface Exception {
1950
- Code: string;
1951
- Audience: string;
1952
- Source: string;
1953
- Message: string;
1954
- }
1955
-
1956
- export interface Exceptions {
1957
- Source: string;
1958
- Exception: Exception[];
1959
- }
1960
-
1961
- export interface Clusters {
1962
- Item: string[];
1963
- }
1964
-
1965
- export interface WULogicalFileCopyInfo {
1966
- IsIndex: boolean;
1967
- LogicalName: string;
1968
- DfuCopyWuid: string;
1969
- DfuCopyError: string;
1970
- Clusters: Clusters;
1971
- }
1972
-
1973
- export interface OnCluster {
1974
- WULogicalFileCopyInfo: WULogicalFileCopyInfo[];
1975
- }
1976
-
1977
- export interface Clusters2 {
1978
- Item: string[];
1979
- }
1980
-
1981
- export interface WULogicalFileCopyInfo2 {
1982
- IsIndex: boolean;
1983
- LogicalName: string;
1984
- DfuCopyWuid: string;
1985
- DfuCopyError: string;
1986
- Clusters: Clusters2;
1987
- }
1988
-
1989
- export interface NotOnCluster {
1990
- WULogicalFileCopyInfo: WULogicalFileCopyInfo2[];
1991
- }
1992
-
1993
- export interface Clusters3 {
1994
- Item: string[];
1995
- }
1996
-
1997
- export interface WULogicalFileCopyInfo3 {
1998
- IsIndex: boolean;
1999
- LogicalName: string;
2000
- DfuCopyWuid: string;
2001
- DfuCopyError: string;
2002
- Clusters: Clusters3;
2003
- }
2004
-
2005
- export interface Foreign {
2006
- WULogicalFileCopyInfo: WULogicalFileCopyInfo3[];
2007
- }
2008
-
2009
- export interface Clusters4 {
2010
- Item: string[];
2011
- }
2012
-
2013
- export interface WULogicalFileCopyInfo4 {
2014
- IsIndex: boolean;
2015
- LogicalName: string;
2016
- DfuCopyWuid: string;
2017
- DfuCopyError: string;
2018
- Clusters: Clusters4;
2019
- }
2020
-
2021
- export interface NotFound {
2022
- WULogicalFileCopyInfo: WULogicalFileCopyInfo4[];
2023
- }
2024
-
2025
- export interface Cluster {
2026
- ClusterName: string;
2027
- OnCluster: OnCluster;
2028
- NotOnCluster: NotOnCluster;
2029
- Foreign: Foreign;
2030
- NotFound: NotFound;
2031
- }
2032
-
2033
- export interface ClusterFiles {
2034
- Cluster: Cluster[];
2035
- }
2036
-
2037
- export interface File {
2038
- Error: string;
2039
- LogicalName: string;
2040
- }
2041
-
2042
- export interface FileErrors {
2043
- File: File[];
2044
- }
2045
-
2046
- export interface Response {
2047
- Exceptions: Exceptions;
2048
- Wuid: string;
2049
- Result: string;
2050
- QuerySet: string;
2051
- QueryName: string;
2052
- QueryId: string;
2053
- ReloadFailed: boolean;
2054
- Suspended: boolean;
2055
- ErrorMessage: string;
2056
- ClusterFiles: ClusterFiles;
2057
- FileErrors: FileErrors;
2058
- }
2059
- }
2060
-
2061
- export namespace WUGetGraph {
2062
-
2063
- export interface Request {
2064
- Wuid: string;
2065
- GraphName: string;
2066
- SubGraphId: string;
2067
- }
2068
-
2069
- export interface Exception {
2070
- Code: string;
2071
- Audience: string;
2072
- Source: string;
2073
- Message: string;
2074
- }
2075
-
2076
- export interface Exceptions {
2077
- Source: string;
2078
- Exception: Exception[];
2079
- }
2080
-
2081
- export interface ECLGraphEx {
2082
- Name: string;
2083
- Label: string;
2084
- Type: string;
2085
- Graph: string;
2086
- Running: boolean;
2087
- RunningId: number;
2088
- Complete: boolean;
2089
- Failed: boolean;
2090
- }
2091
-
2092
- export interface Graphs {
2093
- ECLGraphEx: ECLGraphEx[];
2094
- }
2095
-
2096
- export interface Response {
2097
- Exceptions: Exceptions;
2098
- Graphs: Graphs;
2099
- }
2100
- }
2101
-
2102
- export namespace WUResult {
2103
- export interface Request {
2104
- Wuid?: string;
2105
- Sequence?: number;
2106
- ResultName?: string;
2107
- LogicalName?: string;
2108
- Cluster?: string;
2109
- SuppressXmlSchema?: boolean;
2110
- BypassCachedResult?: boolean;
2111
- FilterBy?: any;
2112
- Start: number;
2113
- Count: number;
2114
- }
2115
-
2116
- export interface Exception {
2117
- Code: string;
2118
- Audience: string;
2119
- Source: string;
2120
- Message: string;
2121
- }
2122
-
2123
- export interface Exceptions {
2124
- Source: string;
2125
- Exception: Exception[];
2126
- }
2127
-
2128
- export interface XmlSchema {
2129
- "@name": string;
2130
- xml: string;
2131
- }
2132
-
2133
- export interface Result {
2134
- XmlSchema: XmlSchema;
2135
- "@xmlSchema": string;
2136
- Row: any[];
2137
- }
2138
-
2139
- export interface Response {
2140
- Exceptions: Exceptions;
2141
- Wuid: string;
2142
- Sequence: number;
2143
- LogicalName: string;
2144
- Cluster: string;
2145
- Name: string;
2146
- Start: number;
2147
- Requested: number;
2148
- Count: number;
2149
- Total: number;
2150
- Result: Result;
2151
- }
2152
- }
2153
-
2154
- export namespace WUQueryGetGraph {
2155
- export interface Request {
2156
- Target: string;
2157
- QueryId: string;
2158
- GraphName: string;
2159
- SubGraphId: string;
2160
- }
2161
-
2162
- export interface Exception {
2163
- Code: string;
2164
- Audience: string;
2165
- Source: string;
2166
- Message: string;
2167
- }
2168
-
2169
- export interface Exceptions {
2170
- Source: string;
2171
- Exception: Exception[];
2172
- }
2173
-
2174
- export interface ECLGraphEx {
2175
- Name: string;
2176
- Label: string;
2177
- Type: string;
2178
- Graph: string;
2179
- Running: boolean;
2180
- RunningId: number;
2181
- Complete: boolean;
2182
- Failed: boolean;
2183
- }
2184
-
2185
- export interface Graphs {
2186
- ECLGraphEx: ECLGraphEx[];
2187
- }
2188
-
2189
- export interface Response {
2190
- Exceptions: Exceptions;
2191
- Graphs: Graphs;
2192
- }
2193
- }
2194
-
2195
- export interface WUFileRequest {
2196
- Wuid: string;
2197
- Type: string;
2198
- Name?: string;
2199
- Option?: string;
2200
- SlaveIP?: string;
2201
- IPAddress?: string;
2202
- Description?: string;
2203
- QuerySet?: string;
2204
- Query?: string;
2205
- Process?: string;
2206
- ClusterGroup?: string;
2207
- LogDate?: string;
2208
- SlaveNumber?: number;
2209
- SizeLimit?: number;
2210
- PlainText?: string;
2211
- }
2212
-
2213
- export namespace WUGetStats {
2214
- export interface Request {
2215
- WUID: string;
2216
- CreatorType: string;
2217
- Creator: string;
2218
- ScopeType: string;
2219
- Scope: string;
2220
- Kind: string;
2221
- Measure: string;
2222
- MinScopeDepth: number;
2223
- MaxScopeDepth: number;
2224
- IncludeGraphs: boolean;
2225
- CreateDescriptions: boolean;
2226
- MinValue: number;
2227
- MaxValue: number;
2228
- Filter: string;
2229
- }
2230
-
2231
- export interface Exception {
2232
- Code: string;
2233
- Audience: string;
2234
- Source: string;
2235
- Message: string;
2236
- }
2237
-
2238
- export interface Exceptions {
2239
- Source: string;
2240
- Exception: Exception[];
2241
- }
2242
-
2243
- export interface WUStatisticItem {
2244
- Creator: string;
2245
- CreatorType: string;
2246
- Scope: string;
2247
- ScopeType: string;
2248
- Description: string;
2249
- TimeStamp: string;
2250
- Measure: string;
2251
- Kind: string;
2252
- Value: string;
2253
- RawValue: number;
2254
- Count: number;
2255
- Max: number;
2256
- Wuid: string;
2257
- }
2258
-
2259
- export interface Statistics {
2260
- WUStatisticItem: WUStatisticItem[];
2261
- }
2262
-
2263
- export interface Response {
2264
- Exceptions: Exceptions;
2265
- WUID: string;
2266
- Statistics: Statistics;
2267
- }
2268
- }
2269
-
2270
- export namespace WUCDebug {
2271
- export interface Request {
2272
- Wuid: string;
2273
- Command: string;
2274
- }
2275
-
2276
- export interface Exception {
2277
- Code: string;
2278
- Audience: string;
2279
- Source: string;
2280
- Message: string;
2281
- }
2282
-
2283
- export interface Exceptions {
2284
- Source: string;
2285
- Exception: Exception[];
2286
- }
2287
-
2288
- export interface Response {
2289
- Exceptions: Exceptions;
2290
- Result: string;
2291
- }
2292
- }
2293
-
2294
- export namespace WUDetailsMeta {
2295
- export interface Request {
2296
- }
2297
-
2298
- export interface Exception {
2299
- Code: string;
2300
- Audience: string;
2301
- Source: string;
2302
- Message: string;
2303
- }
2304
-
2305
- export interface Exceptions {
2306
- Source: string;
2307
- Exception: Exception[];
2308
- }
2309
-
2310
- export interface Property {
2311
- Name: string;
2312
- ValueType: string;
2313
- }
2314
-
2315
- export interface Properties {
2316
- Property: Property[];
2317
- }
2318
-
2319
- export interface ScopeTypes {
2320
- ScopeType: string[];
2321
- }
2322
-
2323
- export interface Measures {
2324
- Measure: string[];
2325
- }
2326
-
2327
- export interface Activity {
2328
- Kind: number;
2329
- Name: string;
2330
- IsSink: boolean;
2331
- IsSource: boolean;
2332
- }
2333
-
2334
- export interface Activities {
2335
- Activity: Activity[];
2336
- }
2337
-
2338
- export interface Response {
2339
- Exceptions: Exceptions;
2340
- Properties: Properties;
2341
- ScopeTypes: ScopeTypes;
2342
- Measures: Measures;
2343
- Activities: Activities;
2344
- }
2345
- }
2346
-
2347
- export namespace WUDetails {
2348
- export namespace RequestNS {
2349
-
2350
- export interface Scopes {
2351
- Scope: string[];
2352
- }
2353
-
2354
- export interface Ids {
2355
- id: string[];
2356
- }
2357
-
2358
- export interface ScopeTypes {
2359
- ScopeType: string[];
2360
- }
2361
-
2362
- export interface PropertyFilter {
2363
- Name?: string;
2364
- ExactValue?: string;
2365
- MinValue?: string;
2366
- MaxValue?: string;
2367
- }
2368
-
2369
- export interface PropertyFilters {
2370
- PropertyFilter: PropertyFilter[];
2371
- }
2372
-
2373
- export interface ScopeFilter {
2374
- MaxDepth?: number;
2375
- Scopes?: Scopes;
2376
- Ids?: string[];
2377
- ScopeTypes?: string[];
2378
- PropertyFilters?: PropertyFilters;
2379
- }
2380
-
2381
- export interface ScopeTypes2 {
2382
- ScopeType: string[];
2383
- }
2384
-
2385
- export interface NestedFilter {
2386
- Depth?: number;
2387
- ScopeTypes: string[];
2388
- }
2389
-
2390
- export interface Properties {
2391
- Property: string[];
2392
- }
2393
-
2394
- export interface Properties2 {
2395
- Property: string[];
2396
- }
2397
-
2398
- export interface Extra {
2399
- scopeType: string;
2400
- Properties: Properties2;
2401
- }
2402
-
2403
- export interface ExtraProperties {
2404
- Extra: Extra[];
2405
- }
2406
-
2407
- export interface PropertiesToReturn {
2408
- AllStatistics?: boolean;
2409
- AllAttributes?: boolean;
2410
- AllHints?: boolean;
2411
- AllScopes?: boolean;
2412
- AllProperties?: boolean;
2413
- AllNotes?: boolean;
2414
- MinVersion?: string;
2415
- Measure?: string;
2416
- Properties?: string[];
2417
- ExtraProperties?: ExtraProperties;
2418
- }
2419
-
2420
- export interface ScopeOptions {
2421
- IncludeMatchedScopesInResults?: boolean;
2422
- IncludeScope?: boolean;
2423
- IncludeId?: boolean;
2424
- IncludeScopeType?: boolean;
2425
- }
2426
-
2427
- export interface PropertyOptions {
2428
- IncludeName?: boolean;
2429
- IncludeRawValue?: boolean;
2430
- IncludeFormatted?: boolean;
2431
- IncludeMeasure?: boolean;
2432
- IncludeCreator?: boolean;
2433
- IncludeCreatorType?: boolean;
2434
- }
2435
- }
2436
-
2437
- export interface Request {
2438
- WUID: string;
2439
- ScopeFilter?: RequestNS.ScopeFilter;
2440
- NestedFilter?: RequestNS.NestedFilter;
2441
- PropertiesToReturn: RequestNS.PropertiesToReturn;
2442
- Filter?: string;
2443
- ScopeOptions: RequestNS.ScopeOptions;
2444
- PropertyOptions: RequestNS.PropertyOptions;
2445
- }
2446
-
2447
- export interface Exception {
2448
- Code: string;
2449
- Audience: string;
2450
- Source: string;
2451
- Message: string;
2452
- }
2453
-
2454
- export interface Exceptions {
2455
- Source: string;
2456
- Exception: Exception[];
2457
- }
2458
-
2459
- export interface Property {
2460
- Name: string;
2461
- RawValue: string;
2462
- Formatted: string;
2463
- Measure: string;
2464
- Creator: string;
2465
- CreatorType: string;
2466
- }
2467
-
2468
- export interface Properties {
2469
- Property: Property[];
2470
- }
2471
-
2472
- export interface Note {
2473
- Source: string;
2474
- Message: string;
2475
- ErrorCode: number;
2476
- Severity: string;
2477
- Cost: number;
2478
- }
2479
-
2480
- export interface Notes {
2481
- Note: Note[];
2482
- }
2483
-
2484
- export interface Scope {
2485
- ScopeName: string;
2486
- Id: string;
2487
- ScopeType: string;
2488
- Properties: Properties;
2489
- Notes: Notes;
2490
- }
2491
-
2492
- export interface Scopes {
2493
- Scope: Scope[];
2494
- }
2495
-
2496
- export interface Response {
2497
- Exceptions: Exceptions;
2498
- MaxVersion: string;
2499
- WUID: string;
2500
- Scopes: Scopes;
39
+ export namespace WUUpdate {
40
+ export enum Action {
41
+ Unknown = 0,
42
+ Compile,
43
+ Check,
44
+ Run,
45
+ ExecuteExisting,
46
+ Pause,
47
+ PauseNow,
48
+ Resume,
49
+ Debug,
50
+ __size
2501
51
  }
2502
52
  }
2503
-
2504
- export function isWUQueryECLWorkunit(_: WUQuery.ECLWorkunit | WUInfo.Workunit): _ is WUQuery.ECLWorkunit {
2505
- return (_ as WUQuery.ECLWorkunit).TotalClusterTime !== undefined;
2506
- }
2507
-
2508
- export function isWUInfoWorkunit(_: WUQuery.ECLWorkunit | WUInfo.Workunit): _ is WUInfo.Workunit {
2509
- return (_ as WUInfo.Workunit).StateEx !== undefined;
53
+ export function isECLResult(_: any): _ is WsWorkunits.ECLResult {
54
+ return typeof (_ as WsWorkunits.ECLResult).Name === "string";
2510
55
  }
2511
56
 
2512
- export namespace Ping {
2513
- export interface Response {
2514
- result: boolean;
2515
- error?: any;
2516
- }
57
+ export function isWUQueryECLWorkunit(_: WsWorkunits.ECLWorkunit | WsWorkunits.Workunit): _ is WsWorkunits.ECLWorkunit {
58
+ return (_ as WsWorkunits.ECLWorkunit).TotalClusterTime !== undefined;
2517
59
  }
2518
60
 
2519
- export namespace WUQueryGetSummaryStats {
2520
-
2521
- export interface Request {
2522
- Target: string;
2523
- QueryId: string;
2524
- FromTime?: string;
2525
- ToTime?: string;
2526
- IncludeRawStats?: boolean;
2527
- }
2528
-
2529
- export interface Exception {
2530
- Code: string;
2531
- Audience: string;
2532
- Source: string;
2533
- Message: string;
2534
- }
2535
-
2536
- export interface Exceptions {
2537
- Source: string;
2538
- Exception: Exception[];
2539
- }
2540
-
2541
- export interface QuerySummaryStat {
2542
- Endpoint: string;
2543
- Status: string;
2544
- StartTime: string;
2545
- EndTime: string;
2546
- CountTotal: number;
2547
- CountFailed: number;
2548
- AverageSlavesReplyLen: number;
2549
- AverageBytesOut: number;
2550
- SizeAvgPeakMemory: number;
2551
- TimeAvgTotalExecuteMinutes: number;
2552
- TimeMinTotalExecuteMinutes: number;
2553
- TimeMaxTotalExecuteMinutes: number;
2554
- Percentile97: number;
2555
- Percentile97Estimate: boolean;
2556
- }
2557
-
2558
- export interface StatsList {
2559
- QuerySummaryStats: QuerySummaryStat[];
2560
- }
2561
-
2562
- export interface QuerySummaryStat2 {
2563
- Endpoint: string;
2564
- Status: string;
2565
- StartTime: string;
2566
- EndTime: string;
2567
- CountTotal: number;
2568
- CountFailed: number;
2569
- AverageSlavesReplyLen: number;
2570
- AverageBytesOut: number;
2571
- SizeAvgPeakMemory: number;
2572
- TimeAvgTotalExecuteMinutes: number;
2573
- TimeMinTotalExecuteMinutes: number;
2574
- TimeMaxTotalExecuteMinutes: number;
2575
- Percentile97: number;
2576
- Percentile97Estimate: boolean;
2577
- }
2578
-
2579
- export interface AggregateQueryStatsList {
2580
- QuerySummaryStats: QuerySummaryStat2[];
2581
- }
2582
-
2583
- export interface QueryStatsRecord {
2584
- StartTime: string;
2585
- ElapsedTimeMs: number;
2586
- MemoryUsed: number;
2587
- BytesOut: number;
2588
- SlavesReplyLen: number;
2589
- Failed: boolean;
2590
- }
2591
-
2592
- export interface QueryStatsRecordList {
2593
- QueryStatsRecord: QueryStatsRecord[];
2594
- }
2595
-
2596
- export interface QueryStat {
2597
- ID: string;
2598
- AggregateQueryStatsList: AggregateQueryStatsList;
2599
- QueryStatsRecordList: QueryStatsRecordList;
2600
- }
2601
-
2602
- export interface QueryStatsList2 {
2603
- QueryStats: QueryStat[];
2604
- }
2605
-
2606
- export interface EndpointQueryStat {
2607
- Endpoint: string;
2608
- Status: string;
2609
- QueryStatsList: QueryStatsList2;
2610
- }
2611
-
2612
- export interface QueryStatsList {
2613
- EndpointQueryStats: EndpointQueryStat[];
2614
- }
2615
-
2616
- export interface Response {
2617
- Exceptions: Exceptions;
2618
- StatsList: StatsList;
2619
- QueryStatsList: QueryStatsList;
2620
- }
2621
-
61
+ export function isWUInfoWorkunit(_: WsWorkunits.ECLWorkunit | WsWorkunits.Workunit): _ is WsWorkunits.Workunit {
62
+ return (_ as WsWorkunits.Workunit).StateEx !== undefined;
2622
63
  }
2623
-
2624
- export class WorkunitsService extends Service {
64
+ export class WorkunitsService extends WorkunitsServiceBase {
2625
65
 
2626
66
  constructor(optsConnection: IOptions | IConnection) {
2627
- super(optsConnection, "WsWorkunits", "1.95");
67
+ super(optsConnection);
2628
68
  }
2629
69
 
2630
70
  opts() {
@@ -2635,7 +75,7 @@ export class WorkunitsService extends Service {
2635
75
  return this._connection.clone();
2636
76
  }
2637
77
 
2638
- Ping(): Promise<Ping.Response> {
78
+ Ping(): Promise<WsWorkunits.WsWorkunitsPingResponse> {
2639
79
  return this._connection.send("Ping", {}, "json", false, undefined, "WsWorkunitsPingResponse").then((response) => {
2640
80
  return { result: true };
2641
81
  }).catch((e: Error) => {
@@ -2643,14 +83,14 @@ export class WorkunitsService extends Service {
2643
83
  });
2644
84
  }
2645
85
 
2646
- WUQuery(request: WUQuery.Request = {}): Promise<WUQuery.Response> {
2647
- return this._connection.send("WUQuery", request).then((response) => {
86
+ WUQuery(request: Partial<WsWorkunits.WUQuery> = {}): Promise<WsWorkunits.WUQueryResponse> {
87
+ return super.WUQuery(request).then((response) => {
2648
88
  return deepMixin({ Workunits: { ECLWorkunit: [] } }, response);
2649
89
  });
2650
90
  }
2651
91
 
2652
- WUInfo(_request: WUInfo.Request): Promise<WUInfo.Response> {
2653
- const request: WUInfo.Request = {
92
+ WUInfo(_request: Partial<WsWorkunits.WUInfo>): Promise<WsWorkunits.WUInfoResponse> {
93
+ const request: Partial<WsWorkunits.WUInfo> = {
2654
94
  Wuid: "",
2655
95
  TruncateEclTo64k: true,
2656
96
  IncludeExceptions: false,
@@ -2673,104 +113,44 @@ export class WorkunitsService extends Service {
2673
113
  SuppressResultSchemas: true,
2674
114
  ..._request
2675
115
  };
2676
- return this._connection.send("WUInfo", request);
116
+ return super.WUInfo(request);
2677
117
  }
2678
118
 
2679
- WUCreate(): Promise<WUCreate.Response> {
2680
- return this._connection.send("WUCreate");
119
+ WUCreate(): Promise<WsWorkunits.WUCreateResponse> {
120
+ return super.WUCreate({});
2681
121
  }
2682
122
 
2683
- WUUpdate(request: WUUpdate.Request): Promise<WUUpdate.Response> {
123
+ WUUpdate(request: Partial<WsWorkunits.WUUpdate>): Promise<WsWorkunits.WUUpdateResponse> {
2684
124
  return this._connection.send("WUUpdate", request, "json", true);
2685
125
  }
2686
126
 
2687
- WUSubmit(request: WUSubmit.Request): Promise<WUSubmit.Response> {
2688
- return this._connection.send("WUSubmit", request);
2689
- }
2690
-
2691
- WUResubmit(request: WUResubmit.Request): Promise<WUResubmit.Response> {
127
+ WUResubmit(request: WsWorkunits.WUResubmit): Promise<WsWorkunits.WUResubmitResponse> {
2692
128
  this._connection.toESPStringArray(request, "Wuids");
2693
- return this._connection.send("WUResubmit", request);
2694
- }
2695
-
2696
- WUQueryDetails(request: WUQueryDetails.Request): Promise<WUQueryDetails.Response> {
2697
- return this._connection.send("WUQueryDetails", request);
2698
- }
2699
-
2700
- WUListQueries(request: WUListQueries.Request): Promise<WUListQueries.Response> {
2701
- return this._connection.send("WUListQueries", request);
2702
- }
2703
-
2704
- WUPushEvent(request: WUPushEvent.Request): Promise<WUPushEvent.Response> {
2705
- return this._connection.send("WUPushEvent", request);
129
+ return super.WUResubmit(request);
2706
130
  }
2707
131
 
2708
- WUAction(request: WUAction.Request): Promise<WUAction.Response> {
132
+ WUAction(request: Partial<WsWorkunits.WUAction>): Promise<WsWorkunits.WUActionResponse> {
2709
133
  (request as any).ActionType = request.WUActionType; // v5.x compatibility
2710
- return this._connection.send("WUAction", request);
2711
- }
2712
-
2713
- WUGetZAPInfo(request: WUGetZAPInfo.Request): Promise<WUGetZAPInfo.Response> {
2714
- return this._connection.send("WUGetZAPInfo", request);
2715
- }
2716
-
2717
- WUShowScheduled(request: WUShowScheduled.Request): Promise<WUShowScheduled.Response> {
2718
- return this._connection.send("WUShowScheduled", request);
2719
- }
2720
-
2721
- WUQuerySetAliasAction(request: WUQuerySetAliasAction.Request): Promise<WUQuerySetAliasAction.Response> {
2722
- return this._connection.send("WUQuerySetAliasAction", request);
2723
- }
2724
-
2725
- WUQuerySetQueryAction(request: WUQuerySetQueryAction.Request): Promise<WUQuerySetQueryAction.Response> {
2726
- return this._connection.send("WUQuerySetQueryAction", request);
2727
- }
2728
-
2729
- WUPublishWorkunit(request: WUPublishWorkunit.Request): Promise<WUPublishWorkunit.Response> {
2730
- return this._connection.send("WUPublishWorkunit", request);
2731
- }
2732
-
2733
- WUQueryFiles(request: WUQueryFiles.Request): Promise<WUQueryFiles.Response> {
2734
- return this._connection.send("WUQueryFiles", request);
2735
- }
2736
-
2737
- WUGetGraph(request: WUGetGraph.Request): Promise<WUGetGraph.Response> {
2738
- return this._connection.send("WUGetGraph", request);
134
+ return super.WUAction(request);
2739
135
  }
2740
136
 
2741
- WUResult(request: WUResult.Request, abortSignal?: AbortSignal): Promise<WUResult.Response> {
137
+ WUResult(request: Partial<WsWorkunits.WUResult>, abortSignal?: AbortSignal): Promise<WsWorkunits.WUResultResponse> {
2742
138
  return this._connection.send("WUResult", request, "json", false, abortSignal);
2743
139
  }
2744
140
 
2745
- WUQueryGetGraph(request: WUQueryGetGraph.Request): Promise<WUQueryGetGraph.Response> {
2746
- return this._connection.send("WUQueryGetGraph", request);
2747
- }
2748
-
2749
- WUFile(request: WUFileRequest): Promise<string> {
141
+ WUFileEx(request: Partial<WsWorkunits.WUFile>): Promise<string> {
2750
142
  return this._connection.send("WUFile", request, "text");
2751
143
  }
2752
144
 
2753
- WUGetStats(request: WUGetStats.Request): Promise<WUGetStats.Response> {
2754
- return this._connection.send("WUGetStats", request);
2755
- }
2756
-
2757
- WUQueryGetSummaryStats(request: WUQueryGetSummaryStats.Request): Promise<WUQueryGetSummaryStats.Response> {
2758
- return this._connection.send("WUQueryGetSummaryStats", request);
2759
- }
2760
-
2761
- private _WUDetailsMetaPromise: Promise<WUDetailsMeta.Response>;
2762
- WUDetailsMeta(request: WUDetailsMeta.Request): Promise<WUDetailsMeta.Response> {
145
+ private _WUDetailsMetaPromise: Promise<WsWorkunits.WUDetailsMetaResponse>;
146
+ WUDetailsMeta(request: WsWorkunits.WUDetailsMeta): Promise<WsWorkunits.WUDetailsMetaResponse> {
2763
147
  if (!this._WUDetailsMetaPromise) {
2764
- this._WUDetailsMetaPromise = this._connection.send("WUDetailsMeta", request);
148
+ this._WUDetailsMetaPromise = super.WUDetailsMeta(request);
2765
149
  }
2766
150
  return this._WUDetailsMetaPromise;
2767
151
  }
2768
152
 
2769
- WUDetails(request: WUDetails.Request): Promise<WUDetails.Response> {
2770
- return this._connection.send("WUDetails", request);
2771
- }
2772
-
2773
- WUCDebug(request: WUCDebug.Request): Promise<XMLNode | null> {
153
+ WUCDebugEx(request: WsWorkunits.WUCDebug): Promise<XMLNode | null> {
2774
154
  return this._connection.send("WUCDebug", request, undefined, undefined, undefined, "WUDebug").then((response) => {
2775
155
  const retVal = xml2json(response.Result);
2776
156
  const children = retVal.children();