@hpcc-js/comms
Version:
hpcc-js - Communications
1,961 lines (1,960 loc) • 55.4 kB
TypeScript
import { XMLNode } from "@hpcc-js/util";
import { IConnection, IOptions } from "../connection";
import { ESPConnection } from "../espConnection";
export declare enum WUStateID {
Unknown = 0,
Compiled = 1,
Running = 2,
Completed = 3,
Failed = 4,
Archived = 5,
Aborting = 6,
Aborted = 7,
Blocked = 8,
Submitted = 9,
Scheduled = 10,
Compiling = 11,
Wait = 12,
UploadingFiled = 13,
DebugPaused = 14,
DebugRunning = 15,
Paused = 16,
LAST = 17,
NotFound = 999
}
export declare namespace WUInfo {
interface Request {
Wuid: string;
TruncateEclTo64k?: boolean;
Type?: string;
IncludeExceptions?: boolean;
IncludeGraphs?: boolean;
IncludeSourceFiles?: boolean;
IncludeResults?: boolean;
IncludeResultsViewNames?: boolean;
IncludeVariables?: boolean;
IncludeTimers?: boolean;
IncludeDebugValues?: boolean;
IncludeApplicationValues?: boolean;
IncludeWorkflows?: boolean;
IncludeXmlSchemas?: boolean;
IncludeResourceURLs?: boolean;
SuppressResultSchemas?: boolean;
ThorSlaveIP?: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Query {
Text: string;
Cpp: string;
ResTxt: string;
Dll: string;
ThorLog: string;
QueryMainDefinition: string;
}
interface ECLHelpFile {
Name: string;
Type: string;
IPAddress: string;
Description: string;
FileSize: number;
PID: number;
minActivityId: number;
maxActivityId: number;
}
interface Helpers {
ECLHelpFile: ECLHelpFile[];
}
interface ECLException {
Source: string;
Severity: string;
Code: number;
Message: string;
FileName: string;
LineNo: number;
Column: number;
Activity: number;
}
interface Exceptions2 {
ECLException: ECLException[];
}
interface ECLGraph {
Name: string;
Label: string;
Type: string;
Running: boolean;
Complete: boolean;
Failed: boolean;
RunningId: number;
WhenStarted: string;
WhenFinished: string;
}
interface Graphs {
ECLGraph: ECLGraph[];
}
interface ECLSourceFiles {
ECLSourceFile: any[];
}
interface ECLSourceFile {
FileCluster: string;
Name: string;
IsSuperFile: boolean;
Subs: number;
Count: number;
ECLSourceFiles: ECLSourceFiles;
}
interface SourceFiles {
ECLSourceFile: ECLSourceFile[];
}
interface ECLSchemaItem {
ColumnName: string;
ColumnType: string;
ColumnTypeCode: number;
isConditional: boolean;
}
interface ECLSchemas {
ECLSchemaItem: ECLSchemaItem[];
}
interface ECLResult {
Name: string;
Sequence: number;
Value: string;
Link: string;
FileName: string;
IsSupplied: boolean;
ShowFileContent: boolean;
Total: number;
ECLSchemas: ECLSchemas;
XmlSchema: string;
}
interface Results {
ECLResult: ECLResult[];
}
interface ECLSchemaItem2 {
ColumnName: string;
ColumnType: string;
ColumnTypeCode: number;
isConditional: boolean;
}
interface ECLSchemas2 {
ECLSchemaItem: ECLSchemaItem2[];
}
interface ECLResult2 {
Name: string;
Sequence: number;
Value: string;
Link: string;
FileName: string;
IsSupplied: boolean;
ShowFileContent: boolean;
Total: number;
ECLSchemas: ECLSchemas2;
XmlSchema: string;
}
interface Variables {
ECLResult: ECLResult2[];
}
interface ECLTimer {
Name: string;
Value: string;
count: number;
GraphName: string;
SubGraphId: number;
}
interface Timers {
ECLTimer: ECLTimer[];
}
interface DebugValue {
Name: string;
Value: string;
}
interface DebugValues {
DebugValue: DebugValue[];
}
interface ApplicationValue {
Application: string;
Name: string;
Value: string;
}
interface ApplicationValues {
ApplicationValue: ApplicationValue[];
}
interface ECLWorkflow {
WFID: string;
EventName: string;
EventText: string;
Count: number;
CountRemaining: number;
}
interface Workflows {
ECLWorkflow: ECLWorkflow[];
}
interface ECLTimingData {
Name: string;
GraphNum: number;
SubGraphNum: number;
GID: number;
Min: number;
MS: number;
}
interface TimingData {
ECLTimingData: ECLTimingData[];
}
interface AllowedClusters {
AllowedCluster: string[];
}
interface ThorLogInfo {
ProcessName: string;
ClusterGroup: string;
LogDate: string;
NumberSlaves: number;
}
interface ThorLogList {
ThorLogInfo: ThorLogInfo[];
}
interface ResourceURLs {
URL: string[];
}
interface Workunit {
Wuid: string;
Owner: string;
Cluster: string;
RoxieCluster: string;
Jobname: string;
Queue: string;
StateID: number;
State: string;
StateEx: string;
Description: string;
Protected: boolean;
Active: boolean;
Action: number;
ActionEx: string;
DateTimeScheduled: string;
PriorityClass: number;
PriorityLevel: number;
Scope: string;
Snapshot: string;
ResultLimit: number;
Archived: boolean;
IsPausing: boolean;
ThorLCR: boolean;
EventSchedule: number;
HaveSubGraphTimings: boolean;
TotalClusterTime: string;
AbortBy: string;
AbortTime: string;
Query: Query;
Helpers: Helpers;
Exceptions: Exceptions2;
Graphs: Graphs;
SourceFiles: SourceFiles;
Results: Results;
Variables: Variables;
Timers: Timers;
DebugValues: DebugValues;
ApplicationValues: ApplicationValues;
Workflows: Workflows;
TimingData: TimingData;
AllowedClusters: AllowedClusters;
ErrorCount: number;
WarningCount: number;
InfoCount: number;
AlertCount: number;
GraphCount: number;
SourceFileCount: number;
ResultCount: number;
VariableCount: number;
TimerCount: number;
HasDebugValue: boolean;
ApplicationValueCount: number;
XmlParams: string;
AccessFlag: number;
ClusterFlag: number;
HelpersDesc: string;
GraphsDesc: string;
SourceFilesDesc: string;
ResultsDesc: string;
VariablesDesc: string;
TimersDesc: string;
DebugValuesDesc: string;
ApplicationValuesDesc: string;
WorkflowsDesc: string;
HasArchiveQuery: boolean;
ThorLogList: ThorLogList;
ResourceURLs: ResourceURLs;
ResultViewCount: number;
ResourceURLCount: number;
DebugValueCount: number;
WorkflowCount: number;
HelpersCount: number;
}
interface ResultViews {
View: string[];
}
interface Response {
Exceptions: Exceptions;
Workunit: Workunit;
AutoRefresh: number;
CanCompile: boolean;
ThorSlaveIP: string;
ResultViews: ResultViews;
SecMethod: string;
}
}
export declare namespace WUQuery {
interface ApplicationValue {
Application: string;
Name: string;
Value: string;
}
interface Request {
Wuid?: string;
Type?: string;
Cluster?: string;
RoxieCluster?: string;
Owner?: string;
State?: string;
StartDate?: string;
EndDate?: string;
ECL?: string;
Jobname?: string;
LogicalFile?: string;
LogicalFileSearchType?: string;
ApplicationValues?: {
ApplicationValue: ApplicationValue[];
};
After?: string;
Before?: string;
Count?: number;
PageSize?: number;
PageStartFrom?: number;
PageEndAt?: number;
LastNDays?: number;
Sortby?: string;
Descending?: boolean;
CacheHint?: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Query {
Text: string;
Cpp: string;
ResTxt: string;
Dll: string;
ThorLog: string;
QueryMainDefinition: string;
}
interface ECLHelpFile {
Name: string;
Type: string;
IPAddress: string;
Description: string;
FileSize: number;
PID: number;
minActivityId: number;
maxActivityId: number;
}
interface Helpers {
ECLHelpFile: ECLHelpFile[];
}
interface ECLException {
Source: string;
Severity: string;
Code: number;
Message: string;
FileName: string;
LineNo: number;
Column: number;
Activity: number;
}
interface Exceptions2 {
ECLException: ECLException[];
}
interface ECLGraph {
Name: string;
Label: string;
Type: string;
Running: boolean;
Complete: boolean;
Failed: boolean;
RunningId: number;
WhenStarted: string;
WhenFinished: string;
}
interface Graphs {
ECLGraph: ECLGraph[];
}
interface ECLSourceFiles {
ECLSourceFile: any[];
}
interface ECLSourceFile {
FileCluster: string;
Name: string;
IsSuperFile: boolean;
Subs: number;
Count: number;
ECLSourceFiles: ECLSourceFiles;
}
interface SourceFiles {
ECLSourceFile: ECLSourceFile[];
}
interface ECLSchemaItem {
ColumnName: string;
ColumnType: string;
ColumnTypeCode: number;
isConditional: boolean;
}
interface ECLSchemas {
ECLSchemaItem: ECLSchemaItem[];
}
interface ECLResult {
Name: string;
Sequence: number;
Value: string;
Link: string;
FileName: string;
IsSupplied: boolean;
ShowFileContent: boolean;
Total: number;
ECLSchemas: ECLSchemas;
XmlSchema: string;
}
interface Results {
ECLResult: ECLResult[];
}
interface ECLSchemaItem2 {
ColumnName: string;
ColumnType: string;
ColumnTypeCode: number;
isConditional: boolean;
}
interface ECLSchemas2 {
ECLSchemaItem: ECLSchemaItem2[];
}
interface ECLResult2 {
Name: string;
Sequence: number;
Value: string;
Link: string;
FileName: string;
IsSupplied: boolean;
ShowFileContent: boolean;
Total: number;
ECLSchemas: ECLSchemas2;
XmlSchema: string;
}
interface Variables {
ECLResult: ECLResult2[];
}
interface ECLTimer {
Name: string;
Value: string;
count: number;
GraphName: string;
SubGraphId: number;
}
interface Timers {
ECLTimer: ECLTimer[];
}
interface DebugValue {
Name: string;
Value: string;
}
interface DebugValues {
DebugValue: DebugValue[];
}
interface ApplicationValue {
Application: string;
Name: string;
Value: string;
}
interface ApplicationValues {
ApplicationValue: ApplicationValue[];
}
interface ECLWorkflow {
WFID: string;
EventName: string;
EventText: string;
Count: number;
CountRemaining: number;
}
interface Workflows {
ECLWorkflow: ECLWorkflow[];
}
interface ECLTimingData {
Name: string;
GraphNum: number;
SubGraphNum: number;
GID: number;
Min: number;
MS: number;
}
interface TimingData {
ECLTimingData: ECLTimingData[];
}
interface AllowedClusters {
AllowedCluster: string[];
}
interface ThorLogInfo {
ProcessName: string;
ClusterGroup: string;
LogDate: string;
NumberSlaves: number;
}
interface ThorLogList {
ThorLogInfo: ThorLogInfo[];
}
interface ResourceURLs {
URL: string[];
}
interface ECLWorkunit {
Wuid: string;
Owner: string;
Cluster: string;
RoxieCluster: string;
Jobname: string;
Queue: string;
StateID: number;
State: string;
StateEx: string;
Description: string;
Protected: boolean;
Active: boolean;
Action: number;
ActionEx: string;
DateTimeScheduled: string;
PriorityClass: number;
PriorityLevel: number;
Scope: string;
Snapshot: string;
ResultLimit: number;
Archived: boolean;
IsPausing: boolean;
ThorLCR: boolean;
EventSchedule: number;
HaveSubGraphTimings: boolean;
TotalClusterTime: string;
AbortBy: string;
AbortTime: string;
Query: Query;
Helpers: Helpers;
Exceptions: Exceptions2;
Graphs: Graphs;
SourceFiles: SourceFiles;
Results: Results;
Variables: Variables;
Timers: Timers;
DebugValues: DebugValues;
ApplicationValues: ApplicationValues;
Workflows: Workflows;
TimingData: TimingData;
AllowedClusters: AllowedClusters;
ErrorCount: number;
WarningCount: number;
InfoCount: number;
AlertCount: number;
GraphCount: number;
SourceFileCount: number;
ResultCount: number;
VariableCount: number;
TimerCount: number;
HasDebugValue: boolean;
ApplicationValueCount: number;
XmlParams: string;
AccessFlag: number;
ClusterFlag: number;
HelpersDesc: string;
GraphsDesc: string;
SourceFilesDesc: string;
ResultsDesc: string;
VariablesDesc: string;
TimersDesc: string;
DebugValuesDesc: string;
ApplicationValuesDesc: string;
WorkflowsDesc: string;
HasArchiveQuery: boolean;
ThorLogList: ThorLogList;
ResourceURLs: ResourceURLs;
ResultViewCount: number;
ResourceURLCount: number;
DebugValueCount: number;
WorkflowCount: number;
HelpersCount: number;
}
interface Workunits {
ECLWorkunit: ECLWorkunit[];
}
interface Response {
Exceptions: Exceptions;
Type: string;
Cluster: string;
RoxieCluster: string;
Owner: string;
State: string;
StartDate: string;
EndDate: string;
ECL: string;
Jobname: string;
LogicalFile: string;
LogicalFileSearchType: string;
Current: string;
Next: string;
Count: number;
PageSize: number;
PrevPage: number;
NextPage: number;
LastPage: number;
NumWUs: number;
First: boolean;
PageStartFrom: number;
PageEndAt: number;
LastNDays: number;
Sortby: string;
Descending: boolean;
BasicQuery: string;
Filters: string;
CacheHint: number;
Workunits: Workunits;
}
}
export declare namespace WUCreate {
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Query {
Text: string;
Cpp: string;
ResTxt: string;
Dll: string;
ThorLog: string;
QueryMainDefinition: string;
}
interface ECLHelpFile {
Name: string;
Type: string;
IPAddress: string;
Description: string;
FileSize: number;
PID: number;
minActivityId: number;
maxActivityId: number;
}
interface Helpers {
ECLHelpFile: ECLHelpFile[];
}
interface ECLException {
Source: string;
Severity: string;
Code: number;
Message: string;
FileName: string;
LineNo: number;
Column: number;
Activity: number;
}
interface Exceptions2 {
ECLException: ECLException[];
}
interface ECLGraph {
Name: string;
Label: string;
Type: string;
Running: boolean;
Complete: boolean;
Failed: boolean;
RunningId: number;
WhenStarted: string;
WhenFinished: string;
}
interface Graphs {
ECLGraph: ECLGraph[];
}
interface ECLSourceFiles {
ECLSourceFile: any[];
}
interface ECLSourceFile {
FileCluster: string;
Name: string;
IsSuperFile: boolean;
Subs: number;
Count: number;
ECLSourceFiles: ECLSourceFiles;
}
interface SourceFiles {
ECLSourceFile: ECLSourceFile[];
}
interface ECLSchemaItem {
ColumnName: string;
ColumnType: string;
ColumnTypeCode: number;
isConditional: boolean;
}
interface ECLSchemas {
ECLSchemaItem: ECLSchemaItem[];
}
interface ECLResult {
Name: string;
Sequence: number;
Value: string;
Link: string;
FileName: string;
IsSupplied: boolean;
ShowFileContent: boolean;
Total: number;
ECLSchemas: ECLSchemas;
XmlSchema: string;
}
interface Results {
ECLResult: ECLResult[];
}
interface ECLSchemaItem2 {
ColumnName: string;
ColumnType: string;
ColumnTypeCode: number;
isConditional: boolean;
}
interface ECLSchemas2 {
ECLSchemaItem: ECLSchemaItem2[];
}
interface ECLResult2 {
Name: string;
Sequence: number;
Value: string;
Link: string;
FileName: string;
IsSupplied: boolean;
ShowFileContent: boolean;
Total: number;
ECLSchemas: ECLSchemas2;
XmlSchema: string;
}
interface Variables {
ECLResult: ECLResult2[];
}
interface ECLTimer {
Name: string;
Value: string;
count: number;
GraphName: string;
SubGraphId: number;
}
interface Timers {
ECLTimer: ECLTimer[];
}
interface DebugValue {
Name: string;
Value: string;
}
interface DebugValues {
DebugValue: DebugValue[];
}
interface ApplicationValue {
Application: string;
Name: string;
Value: string;
}
interface ApplicationValues {
ApplicationValue: ApplicationValue[];
}
interface ECLWorkflow {
WFID: string;
EventName: string;
EventText: string;
Count: number;
CountRemaining: number;
}
interface Workflows {
ECLWorkflow: ECLWorkflow[];
}
interface ECLTimingData {
Name: string;
GraphNum: number;
SubGraphNum: number;
GID: number;
Min: number;
MS: number;
}
interface TimingData {
ECLTimingData: ECLTimingData[];
}
interface AllowedClusters {
AllowedCluster: string[];
}
interface ThorLogInfo {
ProcessName: string;
ClusterGroup: string;
LogDate: string;
NumberSlaves: number;
}
interface ThorLogList {
ThorLogInfo: ThorLogInfo[];
}
interface ResourceURLs {
URL: string[];
}
interface Workunit {
Wuid: string;
Owner: string;
Cluster: string;
RoxieCluster: string;
Jobname: string;
Queue: string;
StateID: number;
State: string;
StateEx: string;
Description: string;
Protected: boolean;
Active: boolean;
Action: number;
ActionEx: string;
DateTimeScheduled: string;
PriorityClass: number;
PriorityLevel: number;
Scope: string;
Snapshot: string;
ResultLimit: number;
Archived: boolean;
IsPausing: boolean;
ThorLCR: boolean;
EventSchedule: number;
HaveSubGraphTimings: boolean;
TotalClusterTime: string;
AbortBy: string;
AbortTime: string;
Query: Query;
Helpers: Helpers;
Exceptions: Exceptions2;
Graphs: Graphs;
SourceFiles: SourceFiles;
Results: Results;
Variables: Variables;
Timers: Timers;
DebugValues: DebugValues;
ApplicationValues: ApplicationValues;
Workflows: Workflows;
TimingData: TimingData;
AllowedClusters: AllowedClusters;
ErrorCount: number;
WarningCount: number;
InfoCount: number;
AlertCount: number;
GraphCount: number;
SourceFileCount: number;
ResultCount: number;
VariableCount: number;
TimerCount: number;
HasDebugValue: boolean;
ApplicationValueCount: number;
XmlParams: string;
AccessFlag: number;
ClusterFlag: number;
HelpersDesc: string;
GraphsDesc: string;
SourceFilesDesc: string;
ResultsDesc: string;
VariablesDesc: string;
TimersDesc: string;
DebugValuesDesc: string;
ApplicationValuesDesc: string;
WorkflowsDesc: string;
HasArchiveQuery: boolean;
ThorLogList: ThorLogList;
ResourceURLs: ResourceURLs;
ResultViewCount: number;
ResourceURLCount: number;
DebugValueCount: number;
WorkflowCount: number;
HelpersCount: number;
}
interface Response {
Exceptions: Exceptions;
Workunit: Workunit;
}
}
export declare namespace WUListQueries {
interface Request {
QueryID: string;
QueryName: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface ClusterQueryState {
Cluster: string;
State: string;
Errors: string;
MixedNodeStates: boolean;
}
interface Clusters {
ClusterQueryState: ClusterQueryState[];
}
interface QuerySetQuery {
Id: string;
Name: string;
Wuid: string;
Dll: string;
Suspended: boolean;
Clusters: Clusters;
memoryLimit: string;
timeLimit: number;
warnTimeLimit: number;
priority: string;
Comment: string;
QuerySetId: string;
IsLibrary: boolean;
Activated: boolean;
PublishedBy: string;
snapshot: string;
}
interface QuerysetQueries {
QuerySetQuery: QuerySetQuery[];
}
interface Response {
Exceptions: Exceptions;
NumberOfQueries: number;
CacheHint: number;
QuerysetQueries: QuerysetQueries;
}
}
export declare namespace WUPushEvent {
interface Request {
EventName: string;
EventText: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Response {
Exceptions: Exceptions;
}
}
export declare namespace WUUpdate {
enum Action {
Unknown = 0,
Compile = 1,
Check = 2,
Run = 3,
ExecuteExisting = 4,
Pause = 5,
PauseNow = 6,
Resume = 7,
Debug = 8,
__size = 9
}
interface Request {
Wuid: string;
State?: string;
StateOrig?: string;
Jobname?: string;
JobnameOrig?: string;
QueryText?: string;
Action?: Action;
Description?: string;
DescriptionOrig?: string;
AddDrilldownFields?: boolean;
ResultLimit?: number;
Protected?: boolean;
ProtectedOrig?: boolean;
PriorityClass?: string;
PriorityLevel?: string;
Scope?: string;
ScopeOrig?: string;
ClusterSelection?: string;
ClusterOrig?: string;
XmlParams?: string;
ThorSlaveIP?: string;
QueryMainDefinition?: string;
DebugValues?: DebugValues;
ApplicationValues?: ApplicationValues;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Query {
Text: string;
Cpp: string;
ResTxt: string;
Dll: string;
ThorLog: string;
QueryMainDefinition: string;
}
interface ECLHelpFile {
Name: string;
Type: string;
IPAddress: string;
Description: string;
FileSize: number;
PID: number;
minActivityId: number;
maxActivityId: number;
}
interface Helpers {
ECLHelpFile: ECLHelpFile[];
}
interface ECLException {
Source: string;
Severity: string;
Code: number;
Message: string;
FileName: string;
LineNo: number;
Column: number;
Activity: number;
}
interface Exceptions2 {
ECLException: ECLException[];
}
interface ECLGraph {
Name: string;
Label: string;
Type: string;
Running: boolean;
Complete: boolean;
Failed: boolean;
RunningId: number;
WhenStarted: string;
WhenFinished: string;
}
interface Graphs {
ECLGraph: ECLGraph[];
}
interface ECLSourceFiles {
ECLSourceFile: any[];
}
interface ECLSourceFile {
FileCluster: string;
Name: string;
IsSuperFile: boolean;
Subs: number;
Count: number;
ECLSourceFiles: ECLSourceFiles;
}
interface SourceFiles {
ECLSourceFile: ECLSourceFile[];
}
interface ECLSchemaItem {
ColumnName: string;
ColumnType: string;
ColumnTypeCode: number;
isConditional: boolean;
}
interface ECLSchemas {
ECLSchemaItem: ECLSchemaItem[];
}
interface ECLResult {
Name: string;
Sequence: number;
Value: string;
Link: string;
FileName: string;
IsSupplied: boolean;
ShowFileContent: boolean;
Total: number;
ECLSchemas: ECLSchemas;
XmlSchema: string;
}
interface Results {
ECLResult: ECLResult[];
}
interface ECLSchemaItem2 {
ColumnName: string;
ColumnType: string;
ColumnTypeCode: number;
isConditional: boolean;
}
interface ECLSchemas2 {
ECLSchemaItem: ECLSchemaItem2[];
}
interface ECLResult2 {
Name: string;
Sequence: number;
Value: string;
Link: string;
FileName: string;
IsSupplied: boolean;
ShowFileContent: boolean;
Total: number;
ECLSchemas: ECLSchemas2;
XmlSchema: string;
}
interface Variables {
ECLResult: ECLResult2[];
}
interface ECLTimer {
Name: string;
Value: string;
count: number;
GraphName: string;
SubGraphId: number;
}
interface Timers {
ECLTimer: ECLTimer[];
}
interface DebugValue {
Name: string;
Value: string;
}
interface DebugValues {
DebugValue: DebugValue[];
}
interface ApplicationValue {
Application: string;
Name: string;
Value: string;
}
interface ApplicationValues {
ApplicationValue: ApplicationValue[];
}
interface ECLWorkflow {
WFID: string;
EventName: string;
EventText: string;
Count: number;
CountRemaining: number;
}
interface Workflows {
ECLWorkflow: ECLWorkflow[];
}
interface ECLTimingData {
Name: string;
GraphNum: number;
SubGraphNum: number;
GID: number;
Min: number;
MS: number;
}
interface TimingData {
ECLTimingData: ECLTimingData[];
}
interface AllowedClusters {
AllowedCluster: string[];
}
interface ThorLogInfo {
ProcessName: string;
ClusterGroup: string;
LogDate: string;
NumberSlaves: number;
}
interface ThorLogList {
ThorLogInfo: ThorLogInfo[];
}
interface ResourceURLs {
URL: string[];
}
interface Workunit {
Wuid: string;
Owner: string;
Cluster: string;
RoxieCluster: string;
Jobname: string;
Queue: string;
StateID: number;
State: string;
StateEx: string;
Description: string;
Protected: boolean;
Active: boolean;
Action: number;
ActionEx: string;
DateTimeScheduled: string;
PriorityClass: number;
PriorityLevel: number;
Scope: string;
Snapshot: string;
ResultLimit: number;
Archived: boolean;
IsPausing: boolean;
ThorLCR: boolean;
EventSchedule: number;
HaveSubGraphTimings: boolean;
TotalClusterTime: string;
AbortBy: string;
AbortTime: string;
Query: Query;
Helpers: Helpers;
Exceptions: Exceptions2;
Graphs: Graphs;
SourceFiles: SourceFiles;
Results: Results;
Variables: Variables;
Timers: Timers;
DebugValues: DebugValues;
ApplicationValues: ApplicationValues;
Workflows: Workflows;
TimingData: TimingData;
AllowedClusters: AllowedClusters;
ErrorCount: number;
WarningCount: number;
InfoCount: number;
AlertCount: number;
GraphCount: number;
SourceFileCount: number;
ResultCount: number;
VariableCount: number;
TimerCount: number;
HasDebugValue: boolean;
ApplicationValueCount: number;
XmlParams: string;
AccessFlag: number;
ClusterFlag: number;
HelpersDesc: string;
GraphsDesc: string;
SourceFilesDesc: string;
ResultsDesc: string;
VariablesDesc: string;
TimersDesc: string;
DebugValuesDesc: string;
ApplicationValuesDesc: string;
WorkflowsDesc: string;
HasArchiveQuery: boolean;
ThorLogList: ThorLogList;
ResourceURLs: ResourceURLs;
ResultViewCount: number;
ResourceURLCount: number;
DebugValueCount: number;
WorkflowCount: number;
HelpersCount: number;
}
interface Response {
Exceptions: Exceptions;
Workunit: Workunit;
}
}
export declare namespace WUSubmit {
interface Request {
Wuid: string;
Cluster: string;
Queue?: string;
Snapshot?: string;
MaxRunTime?: number;
BlockTillFinishTimer?: boolean;
SyntaxCheck?: boolean;
NotifyCluster?: boolean;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Response {
Exceptions: Exceptions;
}
}
export declare namespace WUResubmit {
interface Request {
Wuids: string[];
ResetWorkflow: boolean;
CloneWorkunit: boolean;
BlockTillFinishTimer?: number;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface WU {
WUID: string;
ParentWUID: string;
}
interface WUs {
WU: WU[];
}
interface Response {
Exceptions: Exceptions;
WUs: WUs;
}
}
export declare namespace WUQueryDetails {
interface Request {
QueryId: string;
QuerySet: string;
IncludeStateOnClusters: boolean;
IncludeSuperFiles: boolean;
IncludeWsEclAddresses: boolean;
CheckAllNodes: boolean;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface ClusterQueryState {
Cluster: string;
State: string;
Errors: string;
MixedNodeStates: boolean;
}
interface Clusters {
ClusterQueryState: ClusterQueryState[];
}
interface LogicalFiles {
Item: string[];
}
interface SubFiles {
File: string[];
}
interface SuperFiles2 {
SuperFile: any[];
}
interface SuperFile {
Name: string;
SubFiles: SubFiles;
SuperFiles: SuperFiles2;
}
interface SuperFiles {
SuperFile: SuperFile[];
}
interface LibrariesUsed {
Item: string[];
}
interface WsEclAddresses {
Address: string[];
}
interface ECLGraph {
Name: string;
Label: string;
Type: string;
Running: boolean;
Complete: boolean;
Failed: boolean;
RunningId: number;
WhenStarted: string;
WhenFinished: string;
}
interface WUGraphs {
ECLGraph: ECLGraph[];
}
interface ECLTimer {
Name: string;
Value: string;
count: number;
GraphName: string;
SubGraphId: number;
}
interface WUTimers {
ECLTimer: ECLTimer[];
}
interface Response {
Exceptions: Exceptions;
QueryId: string;
QuerySet: string;
QueryName: string;
Wuid: string;
Dll: string;
Suspended: boolean;
Activated: boolean;
SuspendedBy: string;
Clusters: Clusters;
PublishedBy: string;
Comment: string;
LogicalFiles: LogicalFiles;
SuperFiles: SuperFiles;
IsLibrary: boolean;
Priority: string;
WUSnapShot: string;
CompileTime: string;
LibrariesUsed: LibrariesUsed;
CountGraphs: number;
ResourceURLCount: number;
WsEclAddresses: WsEclAddresses;
WUGraphs: WUGraphs;
WUTimers: WUTimers;
}
}
export declare namespace WUAction {
type Type = "SetToFailed" | "Pause" | "PauseNow" | "Resume" | "Abort" | "Delete" | "Restore" | "Deschedule" | "Reschedule";
interface Request {
Wuids: string[];
WUActionType: Type;
Cluster?: string;
Owner?: string;
State?: string;
StartDate?: string;
EndDate?: string;
ECL?: string;
Jobname?: string;
Test?: string;
CurrentPage?: number;
PageSize?: number;
Sortby?: number;
Descending?: boolean;
EventServer?: string;
EventName?: string;
PageFrom?: number;
BlockTillFinishTimer?: number;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface WUActionResult {
Wuid: string;
Action: string;
Result: string;
}
interface ActionResults {
WUActionResult: WUActionResult[];
}
interface Response {
Exceptions: Exceptions;
ActionResults: ActionResults;
}
}
export declare namespace WUGetZAPInfo {
interface Request {
WUID: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Response {
Exceptions: Exceptions;
WUID: string;
ESPIPAddress: string;
ThorIPAddress: string;
BuildVersion: string;
Archive: string;
}
}
export declare namespace WUShowScheduled {
interface Request {
Cluster: string;
EventName: string;
PushEventName: string;
PushEventText: string;
State: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface ServerInfo {
Name: string;
NetAddress: string;
}
interface Clusters {
ServerInfo: ServerInfo[];
}
interface ScheduledWU {
Wuid: string;
Cluster: string;
EventName: string;
EventText: string;
JobName: string;
StateID: number;
State: string;
Owner: string;
}
interface Workunits {
ScheduledWU: ScheduledWU[];
}
interface Response {
Exceptions: Exceptions;
ClusterSelected: number;
EventName: string;
PushEventName: string;
PushEventText: string;
Query: string;
Clusters: Clusters;
Workunits: Workunits;
}
}
export declare namespace WUQuerySetQueryAction {
interface Request {
Action: string;
QuerySetName: string;
Queries: any[];
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Result {
QueryId: string;
Suspended: boolean;
Success: boolean;
Code: number;
Message: string;
}
interface Results {
Result: Result[];
}
interface Response {
Exceptions: Exceptions;
Action: string;
QuerySetName: string;
Results: Results;
}
}
export declare namespace WUQuerySetAliasAction {
interface Request {
Action: string;
QuerySetName: string;
Queries: any[];
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Result {
Name: string;
Success: boolean;
Code: number;
Message: string;
}
interface Results {
Result: Result[];
}
interface Response {
Exceptions: Exceptions;
Action: string;
QuerySetName: string;
Results: Results;
}
}
export declare namespace WUPublishWorkunit {
interface Request {
Wuid: string;
Cluster: string;
JobName: string;
Activate: string;
NotifyCluster: boolean;
Wait: number;
NoReload: boolean;
UpdateWorkUnitName: boolean;
memoryLimit: string;
TimeLimit: string;
WarnTimeLimit: string;
Priority: string;
RemoteDali: string;
Comment: string;
DontCopyFiles: boolean;
SourceProcess: string;
AllowForeignFiles: boolean;
UpdateDfs: boolean;
UpdateSuperFiles: boolean;
UpdateCloneFrom: boolean;
AppendCluster: boolean;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Clusters {
Item: string[];
}
interface WULogicalFileCopyInfo {
IsIndex: boolean;
LogicalName: string;
DfuCopyWuid: string;
DfuCopyError: string;
Clusters: Clusters;
}
interface OnCluster {
WULogicalFileCopyInfo: WULogicalFileCopyInfo[];
}
interface Clusters2 {
Item: string[];
}
interface WULogicalFileCopyInfo2 {
IsIndex: boolean;
LogicalName: string;
DfuCopyWuid: string;
DfuCopyError: string;
Clusters: Clusters2;
}
interface NotOnCluster {
WULogicalFileCopyInfo: WULogicalFileCopyInfo2[];
}
interface Clusters3 {
Item: string[];
}
interface WULogicalFileCopyInfo3 {
IsIndex: boolean;
LogicalName: string;
DfuCopyWuid: string;
DfuCopyError: string;
Clusters: Clusters3;
}
interface Foreign {
WULogicalFileCopyInfo: WULogicalFileCopyInfo3[];
}
interface Clusters4 {
Item: string[];
}
interface WULogicalFileCopyInfo4 {
IsIndex: boolean;
LogicalName: string;
DfuCopyWuid: string;
DfuCopyError: string;
Clusters: Clusters4;
}
interface NotFound {
WULogicalFileCopyInfo: WULogicalFileCopyInfo4[];
}
interface Cluster {
ClusterName: string;
OnCluster: OnCluster;
NotOnCluster: NotOnCluster;
Foreign: Foreign;
NotFound: NotFound;
}
interface ClusterFiles {
Cluster: Cluster[];
}
interface File {
Error: string;
LogicalName: string;
}
interface FileErrors {
File: File[];
}
interface Response {
Exceptions: Exceptions;
Wuid: string;
Result: string;
QuerySet: string;
QueryName: string;
QueryId: string;
ReloadFailed: boolean;
Suspended: boolean;
ErrorMessage: string;
ClusterFiles: ClusterFiles;
FileErrors: FileErrors;
}
}
export declare namespace WUGetGraph {
interface Request {
Wuid: string;
GraphName: string;
SubGraphId: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface ECLGraphEx {
Name: string;
Label: string;
Type: string;
Graph: string;
Running: boolean;
RunningId: number;
Complete: boolean;
Failed: boolean;
}
interface Graphs {
ECLGraphEx: ECLGraphEx[];
}
interface Response {
Exceptions: Exceptions;
Graphs: Graphs;
}
}
export declare namespace WUResult {
interface Request {
Wuid?: string;
Sequence?: number;
ResultName?: string;
LogicalName?: string;
Cluster?: string;
SuppressXmlSchema?: boolean;
BypassCachedResult?: boolean;
FilterBy?: any;
Start: number;
Count: number;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface XmlSchema {
"@name": string;
xml: string;
}
interface Result {
XmlSchema: XmlSchema;
"@xmlSchema": string;
Row: any[];
}
interface Response {
Exceptions: Exceptions;
Wuid: string;
Sequence: number;
LogicalName: string;
Cluster: string;
Name: string;
Start: number;
Requested: number;
Count: number;
Total: number;
Result: Result;
}
}
export declare namespace WUQueryGetGraph {
interface Request {
Target: string;
QueryId: string;
GraphName: string;
SubGraphId: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface ECLGraphEx {
Name: string;
Label: string;
Type: string;
Graph: string;
Running: boolean;
RunningId: number;
Complete: boolean;
Failed: boolean;
}
interface Graphs {
ECLGraphEx: ECLGraphEx[];
}
interface Response {
Exceptions: Exceptions;
Graphs: Graphs;
}
}
export interface WUFileRequest {
Name: string;
Wuid: string;
Type: string;
Option: string;
SlaveIP: string;
IPAddress: string;
Description: string;
QuerySet: string;
Query: string;
Process: string;
ClusterGroup: string;
LogDate: string;
SlaveNumber: number;
SizeLimit: number;
PlainText: string;
}
export declare namespace WUGetStats {
interface Request {
WUID: string;
CreatorType: string;
Creator: string;
ScopeType: string;
Scope: string;
Kind: string;
Measure: string;
MinScopeDepth: number;
MaxScopeDepth: number;
IncludeGraphs: boolean;
CreateDescriptions: boolean;
MinValue: number;
MaxValue: number;
Filter: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface WUStatisticItem {
Creator: string;
CreatorType: string;
Scope: string;
ScopeType: string;
Description: string;
TimeStamp: string;
Measure: string;
Kind: string;
Value: string;
RawValue: number;
Count: number;
Max: number;
Wuid: string;
}
interface Statistics {
WUStatisticItem: WUStatisticItem[];
}
interface Response {
Exceptions: Exceptions;
WUID: string;
Statistics: Statistics;
}
}
export declare namespace WUCDebug {
interface Request {
Wuid: string;
Command: string;
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Response {
Exceptions: Exceptions;
Result: string;
}
}
export declare namespace WUDetailsMeta {
interface Request {
}
interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
interface Exceptions {
Source: string;
Exception: Exception[];
}
interface Attributes {
Attribute: string[];
}
interface ScopeTypes {
ScopeType: string[];
}
interface Measures {
Measure: string[];
}
interface Response {
Exceptions: Exceptions;
Attributes: Attributes;
ScopeTypes: ScopeTypes;
Measures: Measures;
}
}
export declare namespace WUDetails {
namespace RequestNS {
interface Scopes {
Scope: string[];
}
interface Ids {