diff --git a/packages/comms/package.json b/packages/comms/package.json index 3e89df2ea1..5c455f36ad 100644 --- a/packages/comms/package.json +++ b/packages/comms/package.json @@ -59,7 +59,7 @@ "wsdl-dfu": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsDfu?wsdl --outDir=./src/services/wsdl", "wsdl-dfuxref": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsDFUXRef?wsdl --outDir=./src/services/wsdl", "wsdl-elk": "node ./lib-esm/index.js -k --url=http://localhost:8010/ws_elk?wsdl --outDir=./src/services/wsdl", - "wsdl-esdlconfig": "node ./lib-esm/index.js -k --url=http://localhost:8010/ws_esdlconfig?wsdl --outDir=./src/services/wsdl", + "wsdl-esdlconfig": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsEsdlconfig?wsdl --outDir=./src/services/wsdl", "wsdl-fileio": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsFileIO?wsdl --outDir=./src/services/wsdl", "wsdl-filespray": "node ./lib-esm/index.js -k --url=http://localhost:8010/FileSpray?wsdl --outDir=./src/services/wsdl", "wsdl-logaccess": "node ./lib-esm/index.js -k --url=http://localhost:8010/ws_logaccess?wsdl --outDir=./src/services/wsdl", @@ -67,7 +67,7 @@ "wsdl-packageprocess": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsPackageProcess?wsdl --outDir=./src/services/wsdl", "wsdl-sasha": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsSasha?wsdl --outDir=./src/services/wsdl", "wsdl-smc": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsSMC?wsdl --outDir=./src/services/wsdl", - "wsdl-resources": "node ./lib-esm/index.js -k --url=http://localhost:8010/ws_resources?wsdl --outDir=./src/services/wsdl", + "wsdl-resources": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsResources?wsdl --outDir=./src/services/wsdl", "wsdl-store": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsStore?wsdl --outDir=./src/services/wsdl", "wsdl-topology": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsTopology?wsdl --outDir=./src/services/wsdl", "wsdl-workunits": "node ./lib-esm/index.js -k --url=http://localhost:8010/WsWorkunits?wsdl --outDir=./src/services/wsdl", @@ -110,4 +110,4 @@ "esp", "HPCC-Platform" ] -} +} \ No newline at end of file diff --git a/packages/comms/src/services/wsPackageProcess.ts b/packages/comms/src/services/wsPackageProcess.ts index 2aead15682..1f9dabf478 100644 --- a/packages/comms/src/services/wsPackageProcess.ts +++ b/packages/comms/src/services/wsPackageProcess.ts @@ -1,4 +1,4 @@ -import { PackageProcessServiceBase, WsPackageProcess } from "./wsdl/WsPackageProcess/v1.07/WsPackageProcess.ts"; +import { PackageProcessServiceBase, WsPackageProcess } from "./wsdl/WsPackageProcess/v1.08/WsPackageProcess.ts"; export { type WsPackageProcess diff --git a/packages/comms/src/services/wsWorkunits.ts b/packages/comms/src/services/wsWorkunits.ts index 308aeb747e..4cc6495641 100644 --- a/packages/comms/src/services/wsWorkunits.ts +++ b/packages/comms/src/services/wsWorkunits.ts @@ -1,5 +1,5 @@ import { deepMixin, xml2json, XMLNode } from "@hpcc-js/util"; -import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.04/WsWorkunits.ts"; +import { WsWorkunits, WorkunitsServiceBase } from "./wsdl/WsWorkunits/v2.05/WsWorkunits.ts"; import { IConnection, IOptions } from "../connection.ts"; export { diff --git a/packages/comms/src/services/wsdl/FileSpray/v1.27/FileSpray.ts b/packages/comms/src/services/wsdl/FileSpray/v1.27/FileSpray.ts index cff5939c76..c364815544 100644 --- a/packages/comms/src/services/wsdl/FileSpray/v1.27/FileSpray.ts +++ b/packages/comms/src/services/wsdl/FileSpray/v1.27/FileSpray.ts @@ -19,142 +19,142 @@ export namespace FileSpray { } export interface AbortDFUWorkunit { - wuid: string; + wuid?: string; } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface AbortDFUWorkunitResponse { - Exceptions: Exceptions; + Exceptions?: Exceptions; } export interface Copy { - sourceLogicalName: string; - destGroup: string; - destGroupRoxie: string; - destLogicalName: string; - sourceDali: string; - srcusername: string; - srcpassword: string; - overwrite: boolean; - ensure: boolean; - replicate: boolean; - ReplicateOffset: int; - maxConnections: int; - throttle: int; - transferBufferSize: int; - nosplit: boolean; - norecover: boolean; - compress: boolean; - Wrap: boolean; - Multicopy: boolean; - SourceDiffKeyName: string; - DestDiffKeyName: string; - superCopy: boolean; - push: boolean; - pull: boolean; - ifnewer: boolean; - noCommon: boolean; - encrypt: string; - decrypt: string; - preserveCompression: boolean; - DFUServerQueue: string; - ExpireDays: int; - KeyCompression: string; + sourceLogicalName?: string; + destGroup?: string; + destGroupRoxie?: string; + destLogicalName?: string; + sourceDali?: string; + srcusername?: string; + srcpassword?: string; + overwrite?: boolean; + ensure?: boolean; + replicate?: boolean; + ReplicateOffset?: int; + maxConnections?: int; + throttle?: int; + transferBufferSize?: int; + nosplit?: boolean; + norecover?: boolean; + compress?: boolean; + Wrap?: boolean; + Multicopy?: boolean; + SourceDiffKeyName?: string; + DestDiffKeyName?: string; + superCopy?: boolean; + push?: boolean; + pull?: boolean; + ifnewer?: boolean; + noCommon?: boolean; + encrypt?: string; + decrypt?: string; + preserveCompression?: boolean; + DFUServerQueue?: string; + ExpireDays?: int; + KeyCompression?: string; } export interface CopyResponse { - Exceptions: Exceptions; - result: string; + Exceptions?: Exceptions; + result?: string; } export interface CreateDFUPublisherWorkunit { - DFUServerQueue: string; + DFUServerQueue?: string; } export interface result { - ID: string; - DFUServerName: string; - ClusterName: string; - JobName: string; - Queue: string; - User: string; - isProtected: boolean; - Command: int; - CommandMessage: string; - PercentDone: int; - SecsLeft: int; - ProgressMessage: string; - SummaryMessage: string; - State: int; - SourceLogicalName: string; - SourceIP: string; - SourceFilePath: string; - SourceDali: string; - SourceRecordSize: int; - SourceFormat: int; - RowTag: string; - SourceNumParts: int; - SourceDirectory: string; - DestLogicalName: string; - DestGroupName: string; - DestDirectory: string; - DestIP: string; - DestFilePath: string; - DestFormat: int; - DestNumParts: int; - DestRecordSize: int; - Replicate: boolean; - Overwrite: boolean; - Compress: boolean; - SourceCsvSeparate: string; - SourceCsvQuote: string; - SourceCsvTerminate: string; - SourceCsvEscape: string; - TimeStarted: string; - TimeStopped: string; - StateMessage: string; - MonitorEventName: string; - MonitorSub: boolean; - MonitorShotLimit: int; - SourceDiffKeyName: string; - DestDiffKeyName: string; - Archived: boolean; - encrypt: string; - decrypt: string; - failIfNoSourceFile: boolean; - recordStructurePresent: boolean; - quotedTerminator: boolean; - preserveCompression: boolean; - expireDays: int; - PreserveFileParts: boolean; - FileAccessCost: double; - KbPerSecAve: int; - KbPerSec: int; + ID?: string; + DFUServerName?: string; + ClusterName?: string; + JobName?: string; + Queue?: string; + User?: string; + isProtected?: boolean; + Command?: int; + CommandMessage?: string; + PercentDone?: int; + SecsLeft?: int; + ProgressMessage?: string; + SummaryMessage?: string; + State?: int; + SourceLogicalName?: string; + SourceIP?: string; + SourceFilePath?: string; + SourceDali?: string; + SourceRecordSize?: int; + SourceFormat?: int; + RowTag?: string; + SourceNumParts?: int; + SourceDirectory?: string; + DestLogicalName?: string; + DestGroupName?: string; + DestDirectory?: string; + DestIP?: string; + DestFilePath?: string; + DestFormat?: int; + DestNumParts?: int; + DestRecordSize?: int; + Replicate?: boolean; + Overwrite?: boolean; + Compress?: boolean; + SourceCsvSeparate?: string; + SourceCsvQuote?: string; + SourceCsvTerminate?: string; + SourceCsvEscape?: string; + TimeStarted?: string; + TimeStopped?: string; + StateMessage?: string; + MonitorEventName?: string; + MonitorSub?: boolean; + MonitorShotLimit?: int; + SourceDiffKeyName?: string; + DestDiffKeyName?: string; + Archived?: boolean; + encrypt?: string; + decrypt?: string; + failIfNoSourceFile?: boolean; + recordStructurePresent?: boolean; + quotedTerminator?: boolean; + preserveCompression?: boolean; + expireDays?: int; + PreserveFileParts?: boolean; + FileAccessCost?: double; + KbPerSecAve?: int; + KbPerSec?: int; } export interface CreateDFUPublisherWorkunitResponse { - Exceptions: Exceptions; - result: result; + Exceptions?: Exceptions; + result?: result; } export interface CreateDFUWorkunit { - DFUServerQueue: string; + DFUServerQueue?: string; } export interface CreateDFUWorkunitResponse { - Exceptions: Exceptions; - result: result; + Exceptions?: Exceptions; + result?: result; } export interface DFUWUFileRequest { @@ -164,8 +164,8 @@ export namespace FileSpray { } export interface DFUWUFileResponse { - Exceptions: Exceptions; - file: string; + Exceptions?: Exceptions; + file?: string; } export interface DFUWUSearchRequest { @@ -173,16 +173,16 @@ export namespace FileSpray { } export interface ClusterNames { - ClusterName: string[]; + ClusterName?: string[]; } export interface DFUWUSearchResponse { - Exceptions: Exceptions; - ClusterNames: ClusterNames; + Exceptions?: Exceptions; + ClusterNames?: ClusterNames; } export interface wuids { - Item: string[]; + Item?: string[]; } export interface DFUWorkunitsActionRequest { @@ -191,40 +191,40 @@ export namespace FileSpray { } export interface DFUActionResult { - ID: string; - Action: string; - Result: string; + ID?: string; + Action?: string; + Result?: string; } export interface DFUActionResults { - DFUActionResult: DFUActionResult[]; + DFUActionResult?: DFUActionResult[]; } export interface DFUWorkunitsActionResponse { - Exceptions: Exceptions; - FirstColumn: string; - DFUActionResults: DFUActionResults; + Exceptions?: Exceptions; + FirstColumn?: string; + DFUActionResults?: DFUActionResults; } export interface DeleteDFUWorkunit { - wuid: string; + wuid?: string; } export interface DeleteDFUWorkunitResponse { - Exceptions: Exceptions; - result: boolean; + Exceptions?: Exceptions; + result?: boolean; } export interface DeleteDFUWorkunits { - wuids: wuids; + wuids?: wuids; } export interface DeleteDFUWorkunitsResponse { - Exceptions: Exceptions; + Exceptions?: Exceptions; } export interface Names { - Item: string[]; + Item?: string[]; } export interface DeleteDropZoneFilesRequest { @@ -236,30 +236,30 @@ export namespace FileSpray { } export interface Despray { - destGroup: string; - sourceLogicalName: string; - destIP: string; - destPath: string; - destPlane: string; - dstxml: base64Binary; - overwrite: boolean; - maxConnections: int; - throttle: int; - transferBufferSize: int; - splitprefix: string; - norecover: boolean; - wrap: boolean; - multiCopy: boolean; - SingleConnection: boolean; - DFUServerQueue: string; - compress: boolean; - encrypt: string; - decrypt: string; + destGroup?: string; + sourceLogicalName?: string; + destIP?: string; + destPath?: string; + destPlane?: string; + dstxml?: base64Binary; + overwrite?: boolean; + maxConnections?: int; + throttle?: int; + transferBufferSize?: int; + splitprefix?: string; + norecover?: boolean; + wrap?: boolean; + multiCopy?: boolean; + SingleConnection?: boolean; + DFUServerQueue?: string; + compress?: boolean; + encrypt?: string; + decrypt?: string; } export interface DesprayResponse { - Exceptions: Exceptions; - wuid: string; + Exceptions?: Exceptions; + wuid?: string; } export interface DfuMonitorRequest { @@ -272,8 +272,8 @@ export namespace FileSpray { } export interface DfuMonitorResponse { - Exceptions: Exceptions; - wuid: string; + Exceptions?: Exceptions; + wuid?: string; } export interface DropZoneFileSearchRequest { @@ -284,23 +284,23 @@ export namespace FileSpray { } export interface PhysicalFileStruct { - name: string; - Server: string; - isDir: boolean; - filesize: long; - modifiedtime: string; - Path: string; - Files: Files; + name?: string; + Server?: string; + isDir?: boolean; + filesize?: long; + modifiedtime?: string; + Path?: string; + Files?: Files; } export interface Files { - PhysicalFileStruct: PhysicalFileStruct[]; + PhysicalFileStruct?: PhysicalFileStruct[]; } export interface DropZoneFileSearchResponse { - Exceptions: Exceptions; - Files: Files; - Warning: string; + Exceptions?: Exceptions; + Files?: Files; + Warning?: string; } export interface DropZoneFilesRequest { @@ -314,34 +314,34 @@ export namespace FileSpray { } export interface DropZone { - Name: string; - NetAddress: string; - Path: string; - Computer: string; - Linux: string; + Name?: string; + NetAddress?: string; + Path?: string; + Computer?: string; + Linux?: string; } export interface DropZones { - DropZone: DropZone[]; + DropZone?: DropZone[]; } export interface DropZoneFilesResponse { - Exceptions: Exceptions; - DropZoneName: string; - NetAddress: string; - Path: string; - OS: int; - ECLWatchVisibleOnly: boolean; - DropZones: DropZones; - Files: Files; + Exceptions?: Exceptions; + DropZoneName?: string; + NetAddress?: string; + Path?: string; + OS?: int; + ECLWatchVisibleOnly?: boolean; + DropZones?: DropZones; + Files?: Files; } export interface EchoDateTime { - dt: dateTime; + dt?: dateTime; } export interface EchoDateTimeResponse { - result: dateTime; + result?: dateTime; } export interface FileListRequest { @@ -354,36 +354,36 @@ export namespace FileSpray { } export interface files { - PhysicalFileStruct: PhysicalFileStruct[]; + PhysicalFileStruct?: PhysicalFileStruct[]; } export interface FileListResponse { - Exceptions: Exceptions; - Netaddr: string; - Path: string; - Mask: string; - OS: int; - DirectoryOnly: boolean; - AcceptLanguage: string; - files: files; + Exceptions?: Exceptions; + Netaddr?: string; + Path?: string; + Mask?: string; + OS?: int; + DirectoryOnly?: boolean; + AcceptLanguage?: string; + files?: files; } export interface GetDFUExceptions { - wuid: string; + wuid?: string; } export interface DFUException { - Code: int; - Message: string; + Code?: int; + Message?: string; } export interface result2 { - DFUException: DFUException[]; + DFUException?: DFUException[]; } export interface GetDFUExceptionsResponse { - Exceptions: Exceptions; - result: result2; + Exceptions?: Exceptions; + result?: result2; } export interface ProgressRequest { @@ -391,17 +391,17 @@ export namespace FileSpray { } export interface ProgressResponse { - Exceptions: Exceptions; - wuid: string; - PercentDone: int; - SecsLeft: int; - KbPerSecAve: int; - KbPerSec: int; - SlavesDone: int; - TimeTaken: string; - ProgressMessage: string; - SummaryMessage: string; - State: string; + Exceptions?: Exceptions; + wuid?: string; + PercentDone?: int; + SecsLeft?: int; + KbPerSecAve?: int; + KbPerSec?: int; + SlavesDone?: int; + TimeTaken?: string; + ProgressMessage?: string; + SummaryMessage?: string; + State?: string; } export interface GetDFUServerQueuesRequest { @@ -409,125 +409,125 @@ export namespace FileSpray { } export interface GetDFUServerQueuesResponse { - Exceptions: Exceptions; - Names: Names; + Exceptions?: Exceptions; + Names?: Names; } export interface GetDFUWorkunit { - wuid: string; + wuid?: string; } export interface GetDFUWorkunitResponse { - Exceptions: Exceptions; - result: result; - AutoRefresh: int; + Exceptions?: Exceptions; + result?: result; + AutoRefresh?: int; } export interface GetDFUWorkunits { - Wuid: string; - Owner: string; - Cluster: string; - StateReq: string; - Type: string; - Jobname: string; - PageSize: long; - CurrentPage: int; - PageStartFrom: long; - Sortby: string; - Descending: boolean; - CacheHint: long; - ParentWuid: string; - PublisherWuid: string; - includeProgressMessages: boolean; - includeTimings: boolean; - includeTransferRate: boolean; + Wuid?: string; + Owner?: string; + Cluster?: string; + StateReq?: string; + Type?: string; + Jobname?: string; + PageSize?: long; + CurrentPage?: int; + PageStartFrom?: long; + Sortby?: string; + Descending?: boolean; + CacheHint?: long; + ParentWuid?: string; + PublisherWuid?: string; + includeProgressMessages?: boolean; + includeTimings?: boolean; + includeTransferRate?: boolean; } export interface DFUWorkunit { - ID: string; - DFUServerName: string; - ClusterName: string; - JobName: string; - Queue: string; - User: string; - isProtected: boolean; - Command: int; - CommandMessage: string; - PercentDone: int; - SecsLeft: int; - ProgressMessage: string; - SummaryMessage: string; - State: int; - SourceLogicalName: string; - SourceIP: string; - SourceFilePath: string; - SourceDali: string; - SourceRecordSize: int; - SourceFormat: int; - RowTag: string; - SourceNumParts: int; - SourceDirectory: string; - DestLogicalName: string; - DestGroupName: string; - DestDirectory: string; - DestIP: string; - DestFilePath: string; - DestFormat: int; - DestNumParts: int; - DestRecordSize: int; - Replicate: boolean; - Overwrite: boolean; - Compress: boolean; - SourceCsvSeparate: string; - SourceCsvQuote: string; - SourceCsvTerminate: string; - SourceCsvEscape: string; - TimeStarted: string; - TimeStopped: string; - StateMessage: string; - MonitorEventName: string; - MonitorSub: boolean; - MonitorShotLimit: int; - SourceDiffKeyName: string; - DestDiffKeyName: string; - Archived: boolean; - encrypt: string; - decrypt: string; - failIfNoSourceFile: boolean; - recordStructurePresent: boolean; - quotedTerminator: boolean; - preserveCompression: boolean; - expireDays: int; - PreserveFileParts: boolean; - FileAccessCost: double; - KbPerSecAve: int; - KbPerSec: int; + ID?: string; + DFUServerName?: string; + ClusterName?: string; + JobName?: string; + Queue?: string; + User?: string; + isProtected?: boolean; + Command?: int; + CommandMessage?: string; + PercentDone?: int; + SecsLeft?: int; + ProgressMessage?: string; + SummaryMessage?: string; + State?: int; + SourceLogicalName?: string; + SourceIP?: string; + SourceFilePath?: string; + SourceDali?: string; + SourceRecordSize?: int; + SourceFormat?: int; + RowTag?: string; + SourceNumParts?: int; + SourceDirectory?: string; + DestLogicalName?: string; + DestGroupName?: string; + DestDirectory?: string; + DestIP?: string; + DestFilePath?: string; + DestFormat?: int; + DestNumParts?: int; + DestRecordSize?: int; + Replicate?: boolean; + Overwrite?: boolean; + Compress?: boolean; + SourceCsvSeparate?: string; + SourceCsvQuote?: string; + SourceCsvTerminate?: string; + SourceCsvEscape?: string; + TimeStarted?: string; + TimeStopped?: string; + StateMessage?: string; + MonitorEventName?: string; + MonitorSub?: boolean; + MonitorShotLimit?: int; + SourceDiffKeyName?: string; + DestDiffKeyName?: string; + Archived?: boolean; + encrypt?: string; + decrypt?: string; + failIfNoSourceFile?: boolean; + recordStructurePresent?: boolean; + quotedTerminator?: boolean; + preserveCompression?: boolean; + expireDays?: int; + PreserveFileParts?: boolean; + FileAccessCost?: double; + KbPerSecAve?: int; + KbPerSec?: int; } export interface results { - DFUWorkunit: DFUWorkunit[]; + DFUWorkunit?: DFUWorkunit[]; } export interface GetDFUWorkunitsResponse { - Exceptions: Exceptions; - results: results; - Type: string; - Owner: string; - Cluster: string; - StateReq: string; - PageSize: long; - PrevPage: long; - NextPage: long; - LastPage: long; - NumWUs: long; - PageStartFrom: long; - PageEndAt: long; - First: boolean; - Sortby: string; - Descending: boolean; - BasicQuery: string; - Filters: string; - CacheHint: long; + Exceptions?: Exceptions; + results?: results; + Type?: string; + Owner?: string; + Cluster?: string; + StateReq?: string; + PageSize?: long; + PrevPage?: long; + NextPage?: long; + LastPage?: long; + NumWUs?: long; + PageStartFrom?: long; + PageEndAt?: long; + First?: boolean; + Sortby?: string; + Descending?: boolean; + BasicQuery?: string; + Filters?: string; + CacheHint?: long; } export interface GetRemoteTargetsRequest { @@ -535,13 +535,13 @@ export namespace FileSpray { } export interface TargetNames { - Item: string[]; + Item?: string[]; } export interface GetRemoteTargetsResponse { - Exceptions: Exceptions; - TargetNames: TargetNames; - AllowForeign: boolean; + Exceptions?: Exceptions; + TargetNames?: TargetNames; + AllowForeign?: boolean; } export interface GetSprayTargetsRequest { @@ -549,18 +549,18 @@ export namespace FileSpray { } export interface GroupNode { - Name: string; - ClusterType: string; - ReplicateOutputs: boolean; + Name?: string; + ClusterType?: string; + ReplicateOutputs?: boolean; } export interface GroupNodes { - GroupNode: GroupNode[]; + GroupNode?: GroupNode[]; } export interface GetSprayTargetsResponse { - Exceptions: Exceptions; - GroupNodes: GroupNodes; + Exceptions?: Exceptions; + GroupNodes?: GroupNodes; } export interface OpenSaveRequest { @@ -573,13 +573,13 @@ export namespace FileSpray { } export interface OpenSaveResponse { - Exceptions: Exceptions; - Location: string; - Path: string; - Name: string; - Type: string; - DateTime: string; - Viewable: boolean; + Exceptions?: Exceptions; + Location?: string; + Path?: string; + Name?: string; + Type?: string; + DateTime?: string; + Viewable?: boolean; } export interface FileSprayPingRequest { @@ -591,29 +591,29 @@ export namespace FileSpray { } export interface Rename { - srcname: string; - dstname: string; - overwrite: boolean; - DFUServerQueue: string; + srcname?: string; + dstname?: string; + overwrite?: boolean; + DFUServerQueue?: string; } export interface RenameResponse { - Exceptions: Exceptions; - wuid: string; + Exceptions?: Exceptions; + wuid?: string; } export interface Replicate { - sourceLogicalName: string; - replicateOffset: int; - cluster: string; - repeatLast: boolean; - onlyRepeated: boolean; - DFUServerQueue: string; + sourceLogicalName?: string; + replicateOffset?: int; + cluster?: string; + repeatLast?: boolean; + onlyRepeated?: boolean; + DFUServerQueue?: string; } export interface ReplicateResponse { - Exceptions: Exceptions; - wuid: string; + Exceptions?: Exceptions; + wuid?: string; } export interface ShowResultRequest { @@ -621,174 +621,174 @@ export namespace FileSpray { } export interface ShowResultResponse { - Exceptions: Exceptions; - Result: string; + Exceptions?: Exceptions; + Result?: string; } export interface SprayFixed { - sourceIP: string; - sourcePlane: string; - sourcePath: string; - srcxml: base64Binary; - sourceFormat: string; - sourceRecordSize: int; - destGroup: string; - destLogicalName: string; - destNumParts: int; - overwrite: boolean; - replicate: boolean; - ReplicateOffset: int; - maxConnections: int; - throttle: int; - transferBufferSize: int; - prefix: string; - nosplit: boolean; - norecover: boolean; - compress: boolean; - push: boolean; - pull: boolean; - noCommon: boolean; - encrypt: string; - decrypt: string; - wrap: boolean; - failIfNoSourceFile: boolean; - recordStructurePresent: boolean; - quotedTerminator: boolean; - expireDays: int; - DFUServerQueue: string; + sourceIP?: string; + sourcePlane?: string; + sourcePath?: string; + srcxml?: base64Binary; + sourceFormat?: string; + sourceRecordSize?: int; + destGroup?: string; + destLogicalName?: string; + destNumParts?: int; + overwrite?: boolean; + replicate?: boolean; + ReplicateOffset?: int; + maxConnections?: int; + throttle?: int; + transferBufferSize?: int; + prefix?: string; + nosplit?: boolean; + norecover?: boolean; + compress?: boolean; + push?: boolean; + pull?: boolean; + noCommon?: boolean; + encrypt?: string; + decrypt?: string; + wrap?: boolean; + failIfNoSourceFile?: boolean; + recordStructurePresent?: boolean; + quotedTerminator?: boolean; + expireDays?: int; + DFUServerQueue?: string; } export interface SprayFixedResponse { - Exceptions: Exceptions; - wuid: string; + Exceptions?: Exceptions; + wuid?: string; } export interface SprayVariable { - sourceIP: string; - sourcePlane: string; - sourcePath: string; - srcxml: base64Binary; - sourceMaxRecordSize: int; - sourceFormat: int; - NoSourceCsvSeparator: boolean; - sourceCsvSeparate: string; - sourceCsvTerminate: string; - sourceCsvQuote: string; - sourceCsvEscape: string; - sourceRowTag: string; - destGroup: string; - destLogicalName: string; - destNumParts: int; - overwrite: boolean; - replicate: boolean; - ReplicateOffset: int; - maxConnections: int; - throttle: int; - transferBufferSize: int; - prefix: string; - nosplit: boolean; - norecover: boolean; - compress: boolean; - push: boolean; - pull: boolean; - noCommon: boolean; - encrypt: string; - decrypt: string; - failIfNoSourceFile: boolean; - recordStructurePresent: boolean; - quotedTerminator: boolean; - sourceRowPath: string; - isJSON: boolean; - expireDays: int; - DFUServerQueue: string; - srcUsername: string; - srcPassword: string; + sourceIP?: string; + sourcePlane?: string; + sourcePath?: string; + srcxml?: base64Binary; + sourceMaxRecordSize?: int; + sourceFormat?: int; + NoSourceCsvSeparator?: boolean; + sourceCsvSeparate?: string; + sourceCsvTerminate?: string; + sourceCsvQuote?: string; + sourceCsvEscape?: string; + sourceRowTag?: string; + destGroup?: string; + destLogicalName?: string; + destNumParts?: int; + overwrite?: boolean; + replicate?: boolean; + ReplicateOffset?: int; + maxConnections?: int; + throttle?: int; + transferBufferSize?: int; + prefix?: string; + nosplit?: boolean; + norecover?: boolean; + compress?: boolean; + push?: boolean; + pull?: boolean; + noCommon?: boolean; + encrypt?: string; + decrypt?: string; + failIfNoSourceFile?: boolean; + recordStructurePresent?: boolean; + quotedTerminator?: boolean; + sourceRowPath?: string; + isJSON?: boolean; + expireDays?: int; + DFUServerQueue?: string; + srcUsername?: string; + srcPassword?: string; } export interface SprayResponse { - Exceptions: Exceptions; - wuid: string; + Exceptions?: Exceptions; + wuid?: string; } export interface SubmitDFUWorkunit { - wuid: string; + wuid?: string; } export interface SubmitDFUWorkunitResponse { - Exceptions: Exceptions; + Exceptions?: Exceptions; } export interface wu { - ID: string; - DFUServerName: string; - ClusterName: string; - JobName: string; - Queue: string; - User: string; - isProtected: boolean; - Command: int; - CommandMessage: string; - PercentDone: int; - SecsLeft: int; - ProgressMessage: string; - SummaryMessage: string; - State: int; - SourceLogicalName: string; - SourceIP: string; - SourceFilePath: string; - SourceDali: string; - SourceRecordSize: int; - SourceFormat: int; - RowTag: string; - SourceNumParts: int; - SourceDirectory: string; - DestLogicalName: string; - DestGroupName: string; - DestDirectory: string; - DestIP: string; - DestFilePath: string; - DestFormat: int; - DestNumParts: int; - DestRecordSize: int; - Replicate: boolean; - Overwrite: boolean; - Compress: boolean; - SourceCsvSeparate: string; - SourceCsvQuote: string; - SourceCsvTerminate: string; - SourceCsvEscape: string; - TimeStarted: string; - TimeStopped: string; - StateMessage: string; - MonitorEventName: string; - MonitorSub: boolean; - MonitorShotLimit: int; - SourceDiffKeyName: string; - DestDiffKeyName: string; - Archived: boolean; - encrypt: string; - decrypt: string; - failIfNoSourceFile: boolean; - recordStructurePresent: boolean; - quotedTerminator: boolean; - preserveCompression: boolean; - expireDays: int; - PreserveFileParts: boolean; - FileAccessCost: double; - KbPerSecAve: int; - KbPerSec: int; + ID?: string; + DFUServerName?: string; + ClusterName?: string; + JobName?: string; + Queue?: string; + User?: string; + isProtected?: boolean; + Command?: int; + CommandMessage?: string; + PercentDone?: int; + SecsLeft?: int; + ProgressMessage?: string; + SummaryMessage?: string; + State?: int; + SourceLogicalName?: string; + SourceIP?: string; + SourceFilePath?: string; + SourceDali?: string; + SourceRecordSize?: int; + SourceFormat?: int; + RowTag?: string; + SourceNumParts?: int; + SourceDirectory?: string; + DestLogicalName?: string; + DestGroupName?: string; + DestDirectory?: string; + DestIP?: string; + DestFilePath?: string; + DestFormat?: int; + DestNumParts?: int; + DestRecordSize?: int; + Replicate?: boolean; + Overwrite?: boolean; + Compress?: boolean; + SourceCsvSeparate?: string; + SourceCsvQuote?: string; + SourceCsvTerminate?: string; + SourceCsvEscape?: string; + TimeStarted?: string; + TimeStopped?: string; + StateMessage?: string; + MonitorEventName?: string; + MonitorSub?: boolean; + MonitorShotLimit?: int; + SourceDiffKeyName?: string; + DestDiffKeyName?: string; + Archived?: boolean; + encrypt?: string; + decrypt?: string; + failIfNoSourceFile?: boolean; + recordStructurePresent?: boolean; + quotedTerminator?: boolean; + preserveCompression?: boolean; + expireDays?: int; + PreserveFileParts?: boolean; + FileAccessCost?: double; + KbPerSecAve?: int; + KbPerSec?: int; } export interface UpdateDFUWorkunit { - wu: wu; - ClusterOrig: string; - JobNameOrig: string; - isProtectedOrig: boolean; - StateOrig: int; + wu?: wu; + ClusterOrig?: string; + JobNameOrig?: string; + isProtectedOrig?: boolean; + StateOrig?: int; } export interface UpdateDFUWorkunitResponse { - Exceptions: Exceptions; + Exceptions?: Exceptions; } } @@ -799,132 +799,132 @@ export class FileSprayServiceBase extends Service { super(optsConnection, "FileSpray", "1.27"); } - AbortDFUWorkunit(request: Partial): Promise { - return this._connection.send("AbortDFUWorkunit", request, "json", false, undefined, "AbortDFUWorkunitResponse"); + AbortDFUWorkunit(request: FileSpray.AbortDFUWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("AbortDFUWorkunit", request, "json", false, abortSignal, "AbortDFUWorkunitResponse"); } - Copy(request: Partial): Promise { - return this._connection.send("Copy", request, "json", false, undefined, "CopyResponse"); + Copy(request: FileSpray.Copy, abortSignal?: AbortSignal): Promise { + return this._connection.send("Copy", request, "json", false, abortSignal, "CopyResponse"); } - CreateDFUPublisherWorkunit(request: Partial): Promise { - return this._connection.send("CreateDFUPublisherWorkunit", request, "json", false, undefined, "CreateDFUPublisherWorkunitResponse"); + CreateDFUPublisherWorkunit(request: FileSpray.CreateDFUPublisherWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("CreateDFUPublisherWorkunit", request, "json", false, abortSignal, "CreateDFUPublisherWorkunitResponse"); } - CreateDFUWorkunit(request: Partial): Promise { - return this._connection.send("CreateDFUWorkunit", request, "json", false, undefined, "CreateDFUWorkunitResponse"); + CreateDFUWorkunit(request: FileSpray.CreateDFUWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("CreateDFUWorkunit", request, "json", false, abortSignal, "CreateDFUWorkunitResponse"); } - DFUWUFile(request: Partial): Promise { - return this._connection.send("DFUWUFile", request, "json", false, undefined, "DFUWUFileResponse"); + DFUWUFile(request: FileSpray.DFUWUFileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUWUFile", request, "json", false, abortSignal, "DFUWUFileResponse"); } - DFUWUSearch(request: Partial): Promise { - return this._connection.send("DFUWUSearch", request, "json", false, undefined, "DFUWUSearchResponse"); + DFUWUSearch(request: FileSpray.DFUWUSearchRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUWUSearch", request, "json", false, abortSignal, "DFUWUSearchResponse"); } - DFUWorkunitsAction(request: Partial): Promise { - return this._connection.send("DFUWorkunitsAction", request, "json", false, undefined, "DFUWorkunitsActionResponse"); + DFUWorkunitsAction(request: FileSpray.DFUWorkunitsActionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUWorkunitsAction", request, "json", false, abortSignal, "DFUWorkunitsActionResponse"); } - DeleteDFUWorkunit(request: Partial): Promise { - return this._connection.send("DeleteDFUWorkunit", request, "json", false, undefined, "DeleteDFUWorkunitResponse"); + DeleteDFUWorkunit(request: FileSpray.DeleteDFUWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteDFUWorkunit", request, "json", false, abortSignal, "DeleteDFUWorkunitResponse"); } - DeleteDFUWorkunits(request: Partial): Promise { - return this._connection.send("DeleteDFUWorkunits", request, "json", false, undefined, "DeleteDFUWorkunitsResponse"); + DeleteDFUWorkunits(request: FileSpray.DeleteDFUWorkunits, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteDFUWorkunits", request, "json", false, abortSignal, "DeleteDFUWorkunitsResponse"); } - DeleteDropZoneFiles(request: Partial): Promise { - return this._connection.send("DeleteDropZoneFiles", request, "json", false, undefined, "DFUWorkunitsActionResponse"); + DeleteDropZoneFiles(request: FileSpray.DeleteDropZoneFilesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteDropZoneFiles", request, "json", false, abortSignal, "DFUWorkunitsActionResponse"); } - Despray(request: Partial): Promise { - return this._connection.send("Despray", request, "json", false, undefined, "DesprayResponse"); + Despray(request: FileSpray.Despray, abortSignal?: AbortSignal): Promise { + return this._connection.send("Despray", request, "json", false, abortSignal, "DesprayResponse"); } - DfuMonitor(request: Partial): Promise { - return this._connection.send("DfuMonitor", request, "json", false, undefined, "DfuMonitorResponse"); + DfuMonitor(request: FileSpray.DfuMonitorRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DfuMonitor", request, "json", false, abortSignal, "DfuMonitorResponse"); } - DropZoneFileSearch(request: Partial): Promise { - return this._connection.send("DropZoneFileSearch", request, "json", false, undefined, "DropZoneFileSearchResponse"); + DropZoneFileSearch(request: FileSpray.DropZoneFileSearchRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DropZoneFileSearch", request, "json", false, abortSignal, "DropZoneFileSearchResponse"); } - DropZoneFiles(request: Partial): Promise { - return this._connection.send("DropZoneFiles", request, "json", false, undefined, "DropZoneFilesResponse"); + DropZoneFiles(request: FileSpray.DropZoneFilesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DropZoneFiles", request, "json", false, abortSignal, "DropZoneFilesResponse"); } - EchoDateTime(request: Partial): Promise { - return this._connection.send("EchoDateTime", request, "json", false, undefined, "EchoDateTimeResponse"); + EchoDateTime(request: FileSpray.EchoDateTime, abortSignal?: AbortSignal): Promise { + return this._connection.send("EchoDateTime", request, "json", false, abortSignal, "EchoDateTimeResponse"); } - FileList(request: Partial): Promise { - return this._connection.send("FileList", request, "json", false, undefined, "FileListResponse"); + FileList(request: FileSpray.FileListRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("FileList", request, "json", false, abortSignal, "FileListResponse"); } - GetDFUExceptions(request: Partial): Promise { - return this._connection.send("GetDFUExceptions", request, "json", false, undefined, "GetDFUExceptionsResponse"); + GetDFUExceptions(request: FileSpray.GetDFUExceptions, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetDFUExceptions", request, "json", false, abortSignal, "GetDFUExceptionsResponse"); } - GetDFUProgress(request: Partial): Promise { - return this._connection.send("GetDFUProgress", request, "json", false, undefined, "ProgressResponse"); + GetDFUProgress(request: FileSpray.ProgressRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetDFUProgress", request, "json", false, abortSignal, "ProgressResponse"); } - GetDFUServerQueues(request: Partial): Promise { - return this._connection.send("GetDFUServerQueues", request, "json", false, undefined, "GetDFUServerQueuesResponse"); + GetDFUServerQueues(request: FileSpray.GetDFUServerQueuesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetDFUServerQueues", request, "json", false, abortSignal, "GetDFUServerQueuesResponse"); } - GetDFUWorkunit(request: Partial): Promise { - return this._connection.send("GetDFUWorkunit", request, "json", false, undefined, "GetDFUWorkunitResponse"); + GetDFUWorkunit(request: FileSpray.GetDFUWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetDFUWorkunit", request, "json", false, abortSignal, "GetDFUWorkunitResponse"); } - GetDFUWorkunits(request: Partial): Promise { - return this._connection.send("GetDFUWorkunits", request, "json", false, undefined, "GetDFUWorkunitsResponse"); + GetDFUWorkunits(request: FileSpray.GetDFUWorkunits, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetDFUWorkunits", request, "json", false, abortSignal, "GetDFUWorkunitsResponse"); } - GetRemoteTargets(request: Partial): Promise { - return this._connection.send("GetRemoteTargets", request, "json", false, undefined, "GetRemoteTargetsResponse"); + GetRemoteTargets(request: FileSpray.GetRemoteTargetsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetRemoteTargets", request, "json", false, abortSignal, "GetRemoteTargetsResponse"); } - GetSprayTargets(request: Partial): Promise { - return this._connection.send("GetSprayTargets", request, "json", false, undefined, "GetSprayTargetsResponse"); + GetSprayTargets(request: FileSpray.GetSprayTargetsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetSprayTargets", request, "json", false, abortSignal, "GetSprayTargetsResponse"); } - OpenSave(request: Partial): Promise { - return this._connection.send("OpenSave", request, "json", false, undefined, "OpenSaveResponse"); + OpenSave(request: FileSpray.OpenSaveRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("OpenSave", request, "json", false, abortSignal, "OpenSaveResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "FileSprayPingResponse"); + Ping(request: FileSpray.FileSprayPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "FileSprayPingResponse"); } - Rename(request: Partial): Promise { - return this._connection.send("Rename", request, "json", false, undefined, "RenameResponse"); + Rename(request: FileSpray.Rename, abortSignal?: AbortSignal): Promise { + return this._connection.send("Rename", request, "json", false, abortSignal, "RenameResponse"); } - Replicate(request: Partial): Promise { - return this._connection.send("Replicate", request, "json", false, undefined, "ReplicateResponse"); + Replicate(request: FileSpray.Replicate, abortSignal?: AbortSignal): Promise { + return this._connection.send("Replicate", request, "json", false, abortSignal, "ReplicateResponse"); } - ShowResult(request: Partial): Promise { - return this._connection.send("ShowResult", request, "json", false, undefined, "ShowResultResponse"); + ShowResult(request: FileSpray.ShowResultRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ShowResult", request, "json", false, abortSignal, "ShowResultResponse"); } - SprayFixed(request: Partial): Promise { - return this._connection.send("SprayFixed", request, "json", false, undefined, "SprayFixedResponse"); + SprayFixed(request: FileSpray.SprayFixed, abortSignal?: AbortSignal): Promise { + return this._connection.send("SprayFixed", request, "json", false, abortSignal, "SprayFixedResponse"); } - SprayVariable(request: Partial): Promise { - return this._connection.send("SprayVariable", request, "json", false, undefined, "SprayResponse"); + SprayVariable(request: FileSpray.SprayVariable, abortSignal?: AbortSignal): Promise { + return this._connection.send("SprayVariable", request, "json", false, abortSignal, "SprayResponse"); } - SubmitDFUWorkunit(request: Partial): Promise { - return this._connection.send("SubmitDFUWorkunit", request, "json", false, undefined, "SubmitDFUWorkunitResponse"); + SubmitDFUWorkunit(request: FileSpray.SubmitDFUWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("SubmitDFUWorkunit", request, "json", false, abortSignal, "SubmitDFUWorkunitResponse"); } - UpdateDFUWorkunit(request: Partial): Promise { - return this._connection.send("UpdateDFUWorkunit", request, "json", false, undefined, "UpdateDFUWorkunitResponse"); + UpdateDFUWorkunit(request: FileSpray.UpdateDFUWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("UpdateDFUWorkunit", request, "json", false, abortSignal, "UpdateDFUWorkunitResponse"); } } diff --git a/packages/comms/src/services/wsdl/WsCloud/v1.02/WsCloud.ts b/packages/comms/src/services/wsdl/WsCloud/v1.02/WsCloud.ts index 4f1bdbd48b..851842a97f 100644 --- a/packages/comms/src/services/wsdl/WsCloud/v1.02/WsCloud.ts +++ b/packages/comms/src/services/wsdl/WsCloud/v1.02/WsCloud.ts @@ -10,32 +10,32 @@ export namespace WsCloud { } export interface Port { - ContainerPort: int; - Name: string; - Protocol: string; + ContainerPort?: int; + Name?: string; + Protocol?: string; } export interface Ports { - Port: Port[]; + Port?: Port[]; } export interface Pod { - Name: string; - Status: string; - CreationTimestamp: string; - ContainerName: string; - ContainerCount: int; - ContainerReadyCount: int; - ContainerRestartCount: int; - Ports: Ports; + Name?: string; + Status?: string; + CreationTimestamp?: string; + ContainerName?: string; + ContainerCount?: int; + ContainerReadyCount?: int; + ContainerRestartCount?: int; + Ports?: Ports; } export interface Pods { - Pod: Pod[]; + Pod?: Pod[]; } export interface GetPODsResponse { - Pods: Pods; + Pods?: Pods; } export interface GetServicesRequest { @@ -43,7 +43,7 @@ export namespace WsCloud { } export interface GetServicesResponse { - Result: string; + Result?: string; } export interface WsCloudPingRequest { @@ -62,16 +62,16 @@ export class CloudServiceBase extends Service { super(optsConnection, "WsCloud", "1.02"); } - GetPODs(request: Partial): Promise { - return this._connection.send("GetPODs", request, "json", false, undefined, "GetPODsResponse"); + GetPODs(request: WsCloud.GetPODsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetPODs", request, "json", false, abortSignal, "GetPODsResponse"); } - GetServices(request: Partial): Promise { - return this._connection.send("GetServices", request, "json", false, undefined, "GetServicesResponse"); + GetServices(request: WsCloud.GetServicesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetServices", request, "json", false, abortSignal, "GetServicesResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "WsCloudPingResponse"); + Ping(request: WsCloud.WsCloudPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WsCloudPingResponse"); } } diff --git a/packages/comms/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts b/packages/comms/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts index 0d71b6b12a..afa0b3250d 100644 --- a/packages/comms/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts +++ b/packages/comms/src/services/wsdl/WsDFUXRef/v1.04/WsDFUXRef.ts @@ -7,7 +7,7 @@ export namespace WsDFUXRef { export type long = number; export interface XRefFiles { - Item: string[]; + Item?: string[]; } export interface DFUXRefArrayActionRequest { @@ -19,15 +19,16 @@ export namespace WsDFUXRef { } export interface DFUXRefArrayActionResponse { - DFUXRefArrayActionResult: string; + DFUXRefArrayActionResult?: string; } export interface DFUXRefBuildRequest { Cluster?: string; + FilterScopes?: string; } export interface DFUXRefBuildResponse { - DFUXRefActionResult: string; + DFUXRefActionResult?: string; } export interface DFUXRefBuildCancelRequest { @@ -35,7 +36,7 @@ export namespace WsDFUXRef { } export interface DFUXRefBuildCancelResponse { - DFUXRefBuildCancelResult: string; + DFUXRefBuildCancelResult?: string; } export interface DFUXRefCleanDirectoriesRequest { @@ -43,19 +44,19 @@ export namespace WsDFUXRef { } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface DFUXRefCleanDirectoriesResponse { - Exceptions: Exceptions; + Exceptions?: Exceptions; } export interface DFUXRefDirectoriesQueryRequest { @@ -63,7 +64,7 @@ export namespace WsDFUXRef { } export interface DFUXRefDirectoriesQueryResponse { - DFUXRefDirectoriesQueryResult: string; + DFUXRefDirectoriesQueryResult?: string; } export interface DFUXRefFoundFilesQueryRequest { @@ -71,7 +72,7 @@ export namespace WsDFUXRef { } export interface DFUXRefFoundFilesQueryResponse { - DFUXRefFoundFilesQueryResult: string; + DFUXRefFoundFilesQueryResult?: string; } export interface DFUXRefListRequest { @@ -79,7 +80,7 @@ export namespace WsDFUXRef { } export interface DFUXRefListResponse { - DFUXRefListResult: string; + DFUXRefListResult?: string; } export interface DFUXRefLostFilesQueryRequest { @@ -87,7 +88,7 @@ export namespace WsDFUXRef { } export interface DFUXRefLostFilesQueryResponse { - DFUXRefLostFilesQueryResult: string; + DFUXRefLostFilesQueryResult?: string; } export interface DFUXRefMessagesQueryRequest { @@ -95,7 +96,7 @@ export namespace WsDFUXRef { } export interface DFUXRefMessagesQueryResponse { - DFUXRefMessagesQueryResult: string; + DFUXRefMessagesQueryResult?: string; } export interface DFUXRefOrphanFilesQueryRequest { @@ -103,15 +104,15 @@ export namespace WsDFUXRef { } export interface DFUXRefOrphanFilesQueryResponse { - DFUXRefOrphanFilesQueryResult: string; + DFUXRefOrphanFilesQueryResult?: string; } export interface ProcessClusterList { - Item: string[]; + Item?: string[]; } export interface CheckPlanes { - Item: string[]; + Item?: string[]; } export interface DFUXRefUnusedFilesRequest { @@ -123,41 +124,41 @@ export namespace WsDFUXRef { } export interface UnusedFiles { - File: string[]; + File?: string[]; } export interface DFULogicalFile { - Prefix: string; - ClusterName: string; - Directory: string; - Description: string; - Parts: string; - Name: string; - Owner: string; - Totalsize: string; - RecordCount: string; - Modified: string; - LongSize: string; - LongRecordCount: string; - isSuperfile: boolean; - isZipfile: boolean; - isDirectory: boolean; - Replicate: boolean; - IntSize: long; - IntRecordCount: long; - FromRoxieCluster: boolean; - BrowseData: boolean; + Prefix?: string; + ClusterName?: string; + Directory?: string; + Description?: string; + Parts?: string; + Name?: string; + Owner?: string; + Totalsize?: string; + RecordCount?: string; + Modified?: string; + LongSize?: string; + LongRecordCount?: string; + isSuperfile?: boolean; + isZipfile?: boolean; + isDirectory?: boolean; + Replicate?: boolean; + IntSize?: long; + IntRecordCount?: long; + FromRoxieCluster?: boolean; + BrowseData?: boolean; } export interface UnusedFilesWithDetails { - DFULogicalFile: DFULogicalFile[]; + DFULogicalFile?: DFULogicalFile[]; } export interface DFUXRefUnusedFilesResponse { - Exceptions: Exceptions; - UnusedFileCount: unsignedInt; - UnusedFiles: UnusedFiles; - UnusedFilesWithDetails: UnusedFilesWithDetails; + Exceptions?: Exceptions; + UnusedFileCount?: unsignedInt; + UnusedFiles?: UnusedFiles; + UnusedFilesWithDetails?: UnusedFilesWithDetails; } export interface WsDFUXRefPingRequest { @@ -176,52 +177,52 @@ export class DFUXRefServiceBase extends Service { super(optsConnection, "WsDFUXRef", "1.04"); } - DFUXRefArrayAction(request: Partial): Promise { - return this._connection.send("DFUXRefArrayAction", request, "json", false, undefined, "DFUXRefArrayActionResponse"); + DFUXRefArrayAction(request: WsDFUXRef.DFUXRefArrayActionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefArrayAction", request, "json", false, abortSignal, "DFUXRefArrayActionResponse"); } - DFUXRefBuild(request: Partial): Promise { - return this._connection.send("DFUXRefBuild", request, "json", false, undefined, "DFUXRefBuildResponse"); + DFUXRefBuild(request: WsDFUXRef.DFUXRefBuildRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefBuild", request, "json", false, abortSignal, "DFUXRefBuildResponse"); } - DFUXRefBuildCancel(request: Partial): Promise { - return this._connection.send("DFUXRefBuildCancel", request, "json", false, undefined, "DFUXRefBuildCancelResponse"); + DFUXRefBuildCancel(request: WsDFUXRef.DFUXRefBuildCancelRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefBuildCancel", request, "json", false, abortSignal, "DFUXRefBuildCancelResponse"); } - DFUXRefCleanDirectories(request: Partial): Promise { - return this._connection.send("DFUXRefCleanDirectories", request, "json", false, undefined, "DFUXRefCleanDirectoriesResponse"); + DFUXRefCleanDirectories(request: WsDFUXRef.DFUXRefCleanDirectoriesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefCleanDirectories", request, "json", false, abortSignal, "DFUXRefCleanDirectoriesResponse"); } - DFUXRefDirectories(request: Partial): Promise { - return this._connection.send("DFUXRefDirectories", request, "json", false, undefined, "DFUXRefDirectoriesQueryResponse"); + DFUXRefDirectories(request: WsDFUXRef.DFUXRefDirectoriesQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefDirectories", request, "json", false, abortSignal, "DFUXRefDirectoriesQueryResponse"); } - DFUXRefFoundFiles(request: Partial): Promise { - return this._connection.send("DFUXRefFoundFiles", request, "json", false, undefined, "DFUXRefFoundFilesQueryResponse"); + DFUXRefFoundFiles(request: WsDFUXRef.DFUXRefFoundFilesQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefFoundFiles", request, "json", false, abortSignal, "DFUXRefFoundFilesQueryResponse"); } - DFUXRefList(request: Partial): Promise { - return this._connection.send("DFUXRefList", request, "json", false, undefined, "DFUXRefListResponse"); + DFUXRefList(request: WsDFUXRef.DFUXRefListRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefList", request, "json", false, abortSignal, "DFUXRefListResponse"); } - DFUXRefLostFiles(request: Partial): Promise { - return this._connection.send("DFUXRefLostFiles", request, "json", false, undefined, "DFUXRefLostFilesQueryResponse"); + DFUXRefLostFiles(request: WsDFUXRef.DFUXRefLostFilesQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefLostFiles", request, "json", false, abortSignal, "DFUXRefLostFilesQueryResponse"); } - DFUXRefMessages(request: Partial): Promise { - return this._connection.send("DFUXRefMessages", request, "json", false, undefined, "DFUXRefMessagesQueryResponse"); + DFUXRefMessages(request: WsDFUXRef.DFUXRefMessagesQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefMessages", request, "json", false, abortSignal, "DFUXRefMessagesQueryResponse"); } - DFUXRefOrphanFiles(request: Partial): Promise { - return this._connection.send("DFUXRefOrphanFiles", request, "json", false, undefined, "DFUXRefOrphanFilesQueryResponse"); + DFUXRefOrphanFiles(request: WsDFUXRef.DFUXRefOrphanFilesQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefOrphanFiles", request, "json", false, abortSignal, "DFUXRefOrphanFilesQueryResponse"); } - DFUXRefUnusedFiles(request: Partial): Promise { - return this._connection.send("DFUXRefUnusedFiles", request, "json", false, undefined, "DFUXRefUnusedFilesResponse"); + DFUXRefUnusedFiles(request: WsDFUXRef.DFUXRefUnusedFilesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUXRefUnusedFiles", request, "json", false, abortSignal, "DFUXRefUnusedFilesResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "WsDFUXRefPingResponse"); + Ping(request: WsDFUXRef.WsDFUXRefPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WsDFUXRefPingResponse"); } } diff --git a/packages/comms/src/services/wsdl/WsDali/v1.07/WsDali.ts b/packages/comms/src/services/wsdl/WsDali/v1.07/WsDali.ts index b21cf9d0cc..ba5ab3e063 100644 --- a/packages/comms/src/services/wsdl/WsDali/v1.07/WsDali.ts +++ b/packages/comms/src/services/wsdl/WsDali/v1.07/WsDali.ts @@ -11,20 +11,20 @@ export namespace WsDali { } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface ResultResponse { - Exceptions: Exceptions; - Result: string; + Exceptions?: Exceptions; + Result?: string; } export interface ClearTraceTransactionsRequest { @@ -36,8 +36,8 @@ export namespace WsDali { } export interface CountResponse { - Exceptions: Exceptions; - Result: unsignedInt; + Exceptions?: Exceptions; + Result?: unsignedInt; } export interface DFSCheckRequest { @@ -49,8 +49,8 @@ export namespace WsDali { } export interface BooleanResponse { - Exceptions: Exceptions; - Result: boolean; + Exceptions?: Exceptions; + Result?: boolean; } export interface DFSLSRequest { @@ -179,124 +179,124 @@ export class DaliServiceBase extends Service { super(optsConnection, "WSDali", "1.07"); } - Add(request: Partial): Promise { - return this._connection.send("Add", request, "json", false, undefined, "ResultResponse"); + Add(request: WsDali.AddRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Add", request, "json", false, abortSignal, "ResultResponse"); } - ClearTraceTransactions(request: Partial): Promise { - return this._connection.send("ClearTraceTransactions", request, "json", false, undefined, "ResultResponse"); + ClearTraceTransactions(request: WsDali.ClearTraceTransactionsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ClearTraceTransactions", request, "json", false, abortSignal, "ResultResponse"); } - Count(request: Partial): Promise { - return this._connection.send("Count", request, "json", false, undefined, "CountResponse"); + Count(request: WsDali.CountRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Count", request, "json", false, abortSignal, "CountResponse"); } - DFSCheck(request: Partial): Promise { - return this._connection.send("DFSCheck", request, "json", false, undefined, "ResultResponse"); + DFSCheck(request: WsDali.DFSCheckRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFSCheck", request, "json", false, abortSignal, "ResultResponse"); } - DFSExists(request: Partial): Promise { - return this._connection.send("DFSExists", request, "json", false, undefined, "BooleanResponse"); + DFSExists(request: WsDali.DFSExistsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFSExists", request, "json", false, abortSignal, "BooleanResponse"); } - DFSLS(request: Partial): Promise { - return this._connection.send("DFSLS", request, "json", false, undefined, "ResultResponse"); + DFSLS(request: WsDali.DFSLSRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFSLS", request, "json", false, abortSignal, "ResultResponse"); } - Delete(request: Partial): Promise { - return this._connection.send("Delete", request, "json", false, undefined, "ResultResponse"); + Delete(request: WsDali.DeleteRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Delete", request, "json", false, abortSignal, "ResultResponse"); } - DisconnectClientConnection(request: Partial): Promise { - return this._connection.send("DisconnectClientConnection", request, "json", false, undefined, "ResultResponse"); + DisconnectClientConnection(request: WsDali.DisconnectClientConnectionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DisconnectClientConnection", request, "json", false, abortSignal, "ResultResponse"); } - GetClients(request: Partial): Promise { - return this._connection.send("GetClients", request, "json", false, undefined, "ResultResponse"); + GetClients(request: WsDali.GetClientsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetClients", request, "json", false, abortSignal, "ResultResponse"); } - GetConnections(request: Partial): Promise { - return this._connection.send("GetConnections", request, "json", false, undefined, "ResultResponse"); + GetConnections(request: WsDali.GetConnectionsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetConnections", request, "json", false, abortSignal, "ResultResponse"); } - GetDFSCSV(request: Partial): Promise { - return this._connection.send("GetDFSCSV", request, "json", false, undefined, "ResultResponse"); + GetDFSCSV(request: WsDali.GetDFSCSVRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetDFSCSV", request, "json", false, abortSignal, "ResultResponse"); } - GetDFSMap(request: Partial): Promise { - return this._connection.send("GetDFSMap", request, "json", false, undefined, "ResultResponse"); + GetDFSMap(request: WsDali.GetDFSMapRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetDFSMap", request, "json", false, abortSignal, "ResultResponse"); } - GetDFSParents(request: Partial): Promise { - return this._connection.send("GetDFSParents", request, "json", false, undefined, "ResultResponse"); + GetDFSParents(request: WsDali.GetDFSParentsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetDFSParents", request, "json", false, abortSignal, "ResultResponse"); } - GetLogicalFile(request: Partial): Promise { - return this._connection.send("GetLogicalFile", request, "json", false, undefined, "ResultResponse"); + GetLogicalFile(request: WsDali.GetLogicalFileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetLogicalFile", request, "json", false, abortSignal, "ResultResponse"); } - GetLogicalFilePart(request: Partial): Promise { - return this._connection.send("GetLogicalFilePart", request, "json", false, undefined, "ResultResponse"); + GetLogicalFilePart(request: WsDali.GetLogicalFilePartRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetLogicalFilePart", request, "json", false, abortSignal, "ResultResponse"); } - GetProtectedList(request: Partial): Promise { - return this._connection.send("GetProtectedList", request, "json", false, undefined, "ResultResponse"); + GetProtectedList(request: WsDali.GetProtectedListRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetProtectedList", request, "json", false, abortSignal, "ResultResponse"); } - GetSDSStats(request: Partial): Promise { - return this._connection.send("GetSDSStats", request, "json", false, undefined, "ResultResponse"); + GetSDSStats(request: WsDali.GetSDSStatsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetSDSStats", request, "json", false, abortSignal, "ResultResponse"); } - GetSDSSubscribers(request: Partial): Promise { - return this._connection.send("GetSDSSubscribers", request, "json", false, undefined, "ResultResponse"); + GetSDSSubscribers(request: WsDali.GetSDSSubscribersRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetSDSSubscribers", request, "json", false, abortSignal, "ResultResponse"); } - GetValue(request: Partial): Promise { - return this._connection.send("GetValue", request, "json", false, undefined, "ResultResponse"); + GetValue(request: WsDali.GetValueRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetValue", request, "json", false, abortSignal, "ResultResponse"); } - Import(request: Partial): Promise { - return this._connection.send("Import", request, "json", false, undefined, "ResultResponse"); + Import(request: WsDali.ImportRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Import", request, "json", false, abortSignal, "ResultResponse"); } - ListSDSLocks(request: Partial): Promise { - return this._connection.send("ListSDSLocks", request, "json", false, undefined, "ResultResponse"); + ListSDSLocks(request: WsDali.ListSDSLocksRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListSDSLocks", request, "json", false, abortSignal, "ResultResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "WSDaliPingResponse"); + Ping(request: WsDali.WSDaliPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WSDaliPingResponse"); } - SaveSDSStore(request: Partial): Promise { - return this._connection.send("SaveSDSStore", request, "json", false, undefined, "ResultResponse"); + SaveSDSStore(request: WsDali.SaveSDSStoreRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SaveSDSStore", request, "json", false, abortSignal, "ResultResponse"); } - SetLogicalFilePartAttr(request: Partial): Promise { - return this._connection.send("SetLogicalFilePartAttr", request, "json", false, undefined, "ResultResponse"); + SetLogicalFilePartAttr(request: WsDali.SetLogicalFilePartAttrRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SetLogicalFilePartAttr", request, "json", false, abortSignal, "ResultResponse"); } - SetProtected(request: Partial): Promise { - return this._connection.send("SetProtected", request, "json", false, undefined, "ResultResponse"); + SetProtected(request: WsDali.SetProtectedRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SetProtected", request, "json", false, abortSignal, "ResultResponse"); } - SetTraceSlowTransactions(request: Partial): Promise { - return this._connection.send("SetTraceSlowTransactions", request, "json", false, undefined, "ResultResponse"); + SetTraceSlowTransactions(request: WsDali.SetTraceSlowTransactionsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SetTraceSlowTransactions", request, "json", false, abortSignal, "ResultResponse"); } - SetTraceTransactions(request: Partial): Promise { - return this._connection.send("SetTraceTransactions", request, "json", false, undefined, "ResultResponse"); + SetTraceTransactions(request: WsDali.SetTraceTransactionsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SetTraceTransactions", request, "json", false, abortSignal, "ResultResponse"); } - SetUnprotected(request: Partial): Promise { - return this._connection.send("SetUnprotected", request, "json", false, undefined, "ResultResponse"); + SetUnprotected(request: WsDali.SetUnprotectedRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SetUnprotected", request, "json", false, abortSignal, "ResultResponse"); } - SetValue(request: Partial): Promise { - return this._connection.send("SetValue", request, "json", false, undefined, "ResultResponse"); + SetValue(request: WsDali.SetValueRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SetValue", request, "json", false, abortSignal, "ResultResponse"); } - UnlockSDSLock(request: Partial): Promise { - return this._connection.send("UnlockSDSLock", request, "json", false, undefined, "ResultResponse"); + UnlockSDSLock(request: WsDali.UnlockSDSLockRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UnlockSDSLock", request, "json", false, abortSignal, "ResultResponse"); } } diff --git a/packages/comms/src/services/wsdl/WsDfu/v1.68/WsDfu.ts b/packages/comms/src/services/wsdl/WsDfu/v1.68/WsDfu.ts new file mode 100644 index 0000000000..cfd5a474d3 --- /dev/null +++ b/packages/comms/src/services/wsdl/WsDfu/v1.68/WsDfu.ts @@ -0,0 +1,1301 @@ +import { IConnection, IOptions } from "../../../../connection.ts"; +import { Service } from "../../../../espConnection.ts"; + +export namespace WsDfu { + + export type base64Binary = string; + export type long = number; + export type int = number; + export type double = number; + + export enum DFUArrayActions { + Delete = "Delete", + AddToSuperfile = "Add To Superfile", + ChangeProtection = "Change Protection", + ChangeRestriction = "Change Restriction" + } + + export enum DFUChangeProtection { + NoChange = 0, + Protect = 1, + Unprotect = 2, + UnprotectAll = 3 + } + + export enum DFUChangeRestriction { + NoChange = 0, + Restrict = 1, + Unrestricted = 2 + } + + export enum DFUDefFileFormat { + xml = "xml", + def = "def" + } + + export enum FileAccessRole { + Token = "Token", + Engine = "Engine", + External = "External" + } + + export enum SecAccessType { + None = "None", + Access = "Access", + Read = "Read", + Write = "Write", + Full = "Full" + } + + export enum DFUFileType { + Flat = "Flat", + Index = "Index", + Xml = "Xml", + Csv = "Csv", + Json = "Json", + IndexLocal = "IndexLocal", + IndexPartitioned = "IndexPartitioned", + Unset = "Unset" + } + + export interface AddRequest { + dstname?: string; + xmlmap?: base64Binary; + dstcluster?: string; + } + + export interface Exception { + Code?: string; + Audience?: string; + Source?: string; + Message?: string; + } + + export interface Exceptions { + Source?: string; + Exception?: Exception[]; + } + + export interface AddResponse { + Exceptions?: Exceptions; + } + + export interface AddRemoteRequest { + dstname?: string; + srcname?: string; + srcdali?: string; + srcusername?: string; + srcpassword?: string; + } + + export interface AddRemoteResponse { + Exceptions?: Exceptions; + } + + export interface names { + Item?: string[]; + } + + export interface AddtoSuperfileRequest { + Superfile?: string; + Subfiles?: string; + names?: names; + ExistingFile?: boolean; + BackToPage?: string; + } + + export interface SubfileNames { + SubfileName?: string[]; + } + + export interface AddtoSuperfileResponse { + Exceptions?: Exceptions; + Subfiles?: string; + BackToPage?: string; + SubfileNames?: SubfileNames; + } + + export interface LogicalFiles { + Item?: string[]; + } + + export interface DFUArrayActionRequest { + Type?: DFUArrayActions; + NoDelete?: boolean; + BackToPage?: string; + LogicalFiles?: LogicalFiles; + removeFromSuperfiles?: boolean; + removeRecursively?: boolean; + Protect?: DFUChangeProtection; + Restrict?: DFUChangeRestriction; + } + + export interface DFUActionInfo { + FileName?: string; + NodeGroup?: string; + ActionResult?: string; + Failed?: boolean; + } + + export interface ActionResults { + DFUActionInfo?: DFUActionInfo[]; + } + + export interface DFUArrayActionResponse { + Exceptions?: Exceptions; + BackToPage?: string; + RedirectTo?: string; + ActionResults?: ActionResults; + } + + export interface DFUBrowseDataRequest { + LogicalName?: string; + FilterBy?: string; + ShowColumns?: string; + SchemaOnly?: boolean; + StartForGoback?: long; + CountForGoback?: int; + ChooseFile?: int; + Cluster?: string; + ClusterType?: string; + ParentName?: string; + Start?: long; + Count?: int; + DisableUppercaseTranslation?: boolean; + } + + export interface DFUDataColumn { + ColumnID?: int; + ColumnLabel?: string; + ColumnType?: string; + ColumnValue?: string; + ColumnSize?: int; + MaxSize?: int; + ColumnEclType?: string; + ColumnRawSize?: int; + IsNaturalColumn?: boolean; + IsKeyedColumn?: boolean; + DataColumns?: DataColumns; + } + + export interface DataColumns { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface ColumnHidden { + ColumnID?: int; + ColumnLabel?: string; + ColumnType?: string; + ColumnValue?: string; + ColumnSize?: int; + MaxSize?: int; + ColumnEclType?: string; + ColumnRawSize?: int; + IsNaturalColumn?: boolean; + IsKeyedColumn?: boolean; + DataColumns?: DataColumns; + } + + export interface ColumnsHidden { + ColumnHidden?: ColumnHidden[]; + } + + export interface DFUBrowseDataResponse { + Exceptions?: Exceptions; + Name?: string; + LogicalName?: string; + FilterBy?: string; + FilterForGoBack?: string; + ColumnsHidden?: ColumnsHidden; + ColumnCount?: int; + StartForGoback?: long; + CountForGoback?: int; + ChooseFile?: int; + SchemaOnly?: boolean; + Cluster?: string; + ClusterType?: string; + ParentName?: string; + Start?: long; + Count?: long; + PageSize?: long; + Total?: long; + Result?: string; + MsgToDisplay?: string; + DisableUppercaseTranslation?: boolean; + } + + export interface DFUDefFileRequest { + Name?: string; + Format?: DFUDefFileFormat; + } + + export interface DFUDefFileResponse { + Exceptions?: Exceptions; + defFile?: base64Binary; + } + + export interface RequestBase { + Name?: string; + Cluster?: string; + JobId?: string; + ExpirySeconds?: int; + AccessRole?: FileAccessRole; + AccessType?: SecAccessType; + ReturnJsonTypeInfo?: boolean; + ReturnBinTypeInfo?: boolean; + } + + export interface DFUFileAccessRequest { + RequestBase?: RequestBase; + } + + export interface DFUPartLocation { + LocationIndex?: int; + Host?: string; + } + + export interface FileLocations { + DFUPartLocation?: DFUPartLocation[]; + } + + export interface DFUFileCopy { + CopyIndex?: int; + LocationIndex?: int; + Path?: string; + } + + export interface Copies { + DFUFileCopy?: DFUFileCopy[]; + } + + export interface DFUFilePart { + PartIndex?: int; + Copies?: Copies; + TopLevelKey?: boolean; + } + + export interface FileParts { + DFUFilePart?: DFUFilePart[]; + } + + export interface AccessInfo { + MetaInfoBlob?: string; + ExpiryTime?: string; + NumParts?: int; + FileLocations?: FileLocations; + FileParts?: FileParts; + RecordTypeInfoJson?: string; + fileAccessPort?: int; + fileAccessSSL?: boolean; + } + + export interface DFUFileAccessResponse { + Exceptions?: Exceptions; + AccessInfo?: AccessInfo; + Type?: DFUFileType; + } + + export interface DFUFileAccessV2Request { + Name?: string; + Cluster?: string; + RequestId?: string; + ExpirySeconds?: int; + ReturnTextResponse?: boolean; + SessionId?: long; + LockTimeoutMs?: int; + } + + export interface PartLocations { + Item?: string[]; + } + + export interface DFUFileCreateRequest { + ECLRecordDefinition?: string; + PartLocations?: PartLocations; + RequestBase?: RequestBase; + } + + export interface DFUFileCreateResponse { + Exceptions?: Exceptions; + FileId?: string; + Warning?: string; + AccessInfo?: AccessInfo; + } + + export interface DFUFileCreateV2Request { + Name?: string; + Cluster?: string; + Type?: DFUFileType; + ECLRecordDefinition?: string; + RequestId?: string; + ExpirySeconds?: int; + ReturnTextResponse?: boolean; + Compressed?: boolean; + SessionId?: long; + LockTimeoutMs?: int; + } + + export interface DFUFilePublishRequest { + FileId?: string; + Overwrite?: boolean; + FileDescriptorBlob?: base64Binary; + SessionId?: long; + LockTimeoutMs?: int; + ECLRecordDefinition?: string; + RecordCount?: long; + FileSize?: long; + } + + export interface DFUFilePublishResponse { + Exceptions?: Exceptions; + } + + export interface DFUFileRenameItem { + OldName?: string; + NewName?: string; + } + + export interface FileRenames { + DFUFileRenameItem?: DFUFileRenameItem[]; + } + + export interface DFUFileRenameRequest { + FileRenames?: FileRenames; + } + + export interface DFUFileRenameResult { + OldName?: string; + NewName?: string; + Success?: boolean; + Message?: string; + } + + export interface Results { + DFUFileRenameResult?: DFUFileRenameResult[]; + } + + export interface DFUFileRenameResponse { + Exceptions?: Exceptions; + Results?: Results; + } + + export interface DFUFileViewRequest { + Scope?: string; + IncludeSuperOwner?: boolean; + } + + export interface DFULogicalFile { + Prefix?: string; + NodeGroup?: string; + Directory?: string; + Description?: string; + Parts?: string; + Name?: string; + Owner?: string; + Totalsize?: string; + RecordCount?: string; + Modified?: string; + LongSize?: string; + LongRecordCount?: string; + isSuperfile?: boolean; + isDirectory?: boolean; + Replicate?: boolean; + IntSize?: long; + IntRecordCount?: long; + FromRoxieCluster?: boolean; + BrowseData?: boolean; + IsCompressed?: boolean; + ContentType?: string; + CompressedFileSize?: long; + SuperOwners?: string; + Persistent?: boolean; + IsProtected?: boolean; + KeyType?: string; + NumOfSubfiles?: int; + Accessed?: string; + AtRestCost?: double; + AccessCost?: double; + MinSkew?: long; + MaxSkew?: long; + MinSkewPart?: long; + MaxSkewPart?: long; + } + + export interface DFULogicalFiles { + DFULogicalFile?: DFULogicalFile[]; + } + + export interface DFUFileViewResponse { + Exceptions?: Exceptions; + Scope?: string; + NumFiles?: int; + DFULogicalFiles?: DFULogicalFiles; + } + + export interface DFUGetDataColumnsRequest { + OpenLogicalName?: string; + LogicalName?: string; + FilterBy?: string; + ShowColumns?: string; + ChooseFile?: int; + Cluster?: string; + ClusterType?: string; + StartIndex?: long; + EndIndex?: long; + } + + export interface DFUDataKeyedColumns1 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns2 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns3 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns4 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns5 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns6 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns7 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns8 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns9 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns10 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns11 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns12 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns13 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns14 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns15 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns16 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns17 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns18 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns19 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataKeyedColumns20 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns1 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns2 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns3 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns4 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns5 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns6 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns7 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns8 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns9 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns10 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns11 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns12 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns13 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns14 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns15 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns16 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns17 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns18 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns19 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUDataNonKeyedColumns20 { + DFUDataColumn?: DFUDataColumn[]; + } + + export interface DFUGetDataColumnsResponse { + Exceptions?: Exceptions; + LogicalName?: string; + StartIndex?: long; + EndIndex?: long; + DFUDataKeyedColumns1?: DFUDataKeyedColumns1; + DFUDataKeyedColumns2?: DFUDataKeyedColumns2; + DFUDataKeyedColumns3?: DFUDataKeyedColumns3; + DFUDataKeyedColumns4?: DFUDataKeyedColumns4; + DFUDataKeyedColumns5?: DFUDataKeyedColumns5; + DFUDataKeyedColumns6?: DFUDataKeyedColumns6; + DFUDataKeyedColumns7?: DFUDataKeyedColumns7; + DFUDataKeyedColumns8?: DFUDataKeyedColumns8; + DFUDataKeyedColumns9?: DFUDataKeyedColumns9; + DFUDataKeyedColumns10?: DFUDataKeyedColumns10; + DFUDataKeyedColumns11?: DFUDataKeyedColumns11; + DFUDataKeyedColumns12?: DFUDataKeyedColumns12; + DFUDataKeyedColumns13?: DFUDataKeyedColumns13; + DFUDataKeyedColumns14?: DFUDataKeyedColumns14; + DFUDataKeyedColumns15?: DFUDataKeyedColumns15; + DFUDataKeyedColumns16?: DFUDataKeyedColumns16; + DFUDataKeyedColumns17?: DFUDataKeyedColumns17; + DFUDataKeyedColumns18?: DFUDataKeyedColumns18; + DFUDataKeyedColumns19?: DFUDataKeyedColumns19; + DFUDataKeyedColumns20?: DFUDataKeyedColumns20; + DFUDataNonKeyedColumns1?: DFUDataNonKeyedColumns1; + DFUDataNonKeyedColumns2?: DFUDataNonKeyedColumns2; + DFUDataNonKeyedColumns3?: DFUDataNonKeyedColumns3; + DFUDataNonKeyedColumns4?: DFUDataNonKeyedColumns4; + DFUDataNonKeyedColumns5?: DFUDataNonKeyedColumns5; + DFUDataNonKeyedColumns6?: DFUDataNonKeyedColumns6; + DFUDataNonKeyedColumns7?: DFUDataNonKeyedColumns7; + DFUDataNonKeyedColumns8?: DFUDataNonKeyedColumns8; + DFUDataNonKeyedColumns9?: DFUDataNonKeyedColumns9; + DFUDataNonKeyedColumns10?: DFUDataNonKeyedColumns10; + DFUDataNonKeyedColumns11?: DFUDataNonKeyedColumns11; + DFUDataNonKeyedColumns12?: DFUDataNonKeyedColumns12; + DFUDataNonKeyedColumns13?: DFUDataNonKeyedColumns13; + DFUDataNonKeyedColumns14?: DFUDataNonKeyedColumns14; + DFUDataNonKeyedColumns15?: DFUDataNonKeyedColumns15; + DFUDataNonKeyedColumns16?: DFUDataNonKeyedColumns16; + DFUDataNonKeyedColumns17?: DFUDataNonKeyedColumns17; + DFUDataNonKeyedColumns18?: DFUDataNonKeyedColumns18; + DFUDataNonKeyedColumns19?: DFUDataNonKeyedColumns19; + DFUDataNonKeyedColumns20?: DFUDataNonKeyedColumns20; + RowCount?: long; + ShowColumns?: string; + ChooseFile?: int; + Cluster?: string; + ClusterType?: string; + } + + export interface DFUGetFileMetaDataRequest { + LogicalFileName?: string; + ClusterName?: string; + IncludeXmlSchema?: boolean; + AddHeaderInXmlSchema?: boolean; + IncludeXmlXPathSchema?: boolean; + AddHeaderInXmlXPathSchema?: boolean; + } + + export interface DFUGetFileMetaDataResponse { + Exceptions?: Exceptions; + TotalColumnCount?: int; + KeyedColumnCount?: int; + DataColumns?: DataColumns; + XmlSchema?: string; + XmlXPathSchema?: string; + TotalResultRows?: long; + } + + export interface DFUMetaInquiryRequest { + + } + + export interface DFUMetaFieldInfo { + Name?: string; + Type?: string; + } + + export interface Fields { + DFUMetaFieldInfo?: DFUMetaFieldInfo[]; + } + + export interface DFUMetaInquiryResponse { + Exceptions?: Exceptions; + Fields?: Fields; + } + + export interface DFUInfoRequest { + Name?: string; + Cluster?: string; + UpdateDescription?: boolean; + QuerySet?: string; + Query?: string; + FileDesc?: string; + IncludeJsonTypeInfo?: boolean; + IncludeBinTypeInfo?: boolean; + Protect?: DFUChangeProtection; + Restrict?: DFUChangeRestriction; + ForceIndexInfo?: boolean; + } + + export interface Stat { + MinSkew?: string; + MaxSkew?: string; + MinSkewInt64?: long; + MaxSkewInt64?: long; + MinSkewPart?: long; + MaxSkewPart?: long; + } + + export interface DFUPart { + Id?: int; + Copy?: int; + Ip?: string; + Partsize?: string; + PartSizeInt64?: long; + CompressedSize?: long; + } + + export interface DFUFileParts { + DFUPart?: DFUPart[]; + } + + export interface DFUFilePartsOnCluster { + Cluster?: string; + BaseDir?: string; + ReplicateDir?: string; + Replicate?: boolean; + CanReplicate?: boolean; + DFUFileParts?: DFUFileParts; + } + + export interface DFUFilePartsOnClusters { + DFUFilePartsOnCluster?: DFUFilePartsOnCluster[]; + } + + export interface subfiles { + Item?: string[]; + } + + export interface Superfiles { + DFULogicalFile?: DFULogicalFile[]; + } + + export interface DFUFileProtect { + Owner?: string; + Modified?: string; + } + + export interface ProtectList { + DFUFileProtect?: DFUFileProtect[]; + } + + export interface Graphs { + ECLGraph?: string[]; + } + + export interface FieldNames { + Item?: string[]; + } + + export interface Partition { + FieldMask?: long; + FieldNames?: FieldNames; + } + + export interface DFUFileBloom { + FieldMask?: long; + FieldNames?: FieldNames; + Limit?: long; + Probability?: string; + } + + export interface Blooms { + DFUFileBloom?: DFUFileBloom[]; + } + + export interface ExtendedIndexInfo { + IsLeafCountEstimated?: boolean; + NumLeafNodes?: long; + NumBlobNodes?: long; + NumBranchNodes?: long; + SizeDiskLeaves?: long; + SizeDiskBlobs?: long; + SizeDiskBranches?: long; + SizeOriginalData?: long; + SizeOriginalBranches?: long; + SizeMemoryLeaves?: long; + SizeMemoryBranches?: long; + BranchCompressionPercent?: double; + DataCompressionPercent?: double; + } + + export interface FileDetail { + Name?: string; + Filename?: string; + Prefix?: string; + NodeGroup?: string; + NumParts?: int; + Description?: string; + Dir?: string; + PathMask?: string; + Filesize?: string; + FileSizeInt64?: long; + RecordSize?: string; + RecordCount?: string; + RecordSizeInt64?: long; + RecordCountInt64?: long; + Wuid?: string; + Owner?: string; + JobName?: string; + Persistent?: string; + Format?: string; + MaxRecordSize?: string; + CsvSeparate?: string; + CsvQuote?: string; + CsvTerminate?: string; + CsvEscape?: string; + Modified?: string; + Ecl?: string; + Stat?: Stat; + DFUFilePartsOnClusters?: DFUFilePartsOnClusters; + isSuperfile?: boolean; + ShowFileContent?: boolean; + subfiles?: subfiles; + Superfiles?: Superfiles; + ProtectList?: ProtectList; + FromRoxieCluster?: boolean; + Graphs?: Graphs; + UserPermission?: string; + ContentType?: string; + CompressedFileSize?: long; + PercentCompressed?: string; + IsCompressed?: boolean; + IsRestricted?: boolean; + BrowseData?: boolean; + jsonInfo?: string; + binInfo?: base64Binary; + PackageID?: string; + Partition?: Partition; + Blooms?: Blooms; + ExpireDays?: int; + KeyType?: string; + AtRestCost?: double; + AccessCost?: double; + ExpirationDate?: string; + ExtendedIndexInfo?: ExtendedIndexInfo; + CompressionType?: string; + } + + export interface DFUInfoResponse { + Exceptions?: Exceptions; + FileDetail?: FileDetail; + } + + export interface DFUQueryRequest { + Prefix?: string; + NodeGroup?: string; + ContentType?: string; + InvertContent?: boolean; + LogicalName?: string; + Owner?: string; + StartDate?: string; + EndDate?: string; + FileType?: string; + FileSizeFrom?: long; + FileSizeTo?: long; + FirstN?: int; + PageSize?: int; + PageStartFrom?: int; + Sortby?: string; + Fields?: string; + Descending?: boolean; + OneLevelDirFileReturn?: boolean; + CacheHint?: long; + MaxNumberOfFiles?: int; + IncludeSuperOwner?: boolean; + StartAccessedTime?: string; + EndAccessedTime?: string; + MaxSkewFrom?: long; + MaxSkewTo?: long; + MinSkewFrom?: long; + MinSkewTo?: long; + } + + export interface DFUQueryResponse { + Exceptions?: Exceptions; + DFULogicalFiles?: DFULogicalFiles; + Prefix?: string; + NodeGroup?: string; + LogicalName?: string; + Description?: string; + Owner?: string; + StartDate?: string; + EndDate?: string; + FileType?: string; + FileSizeFrom?: long; + FileSizeTo?: long; + FirstN?: int; + PageSize?: int; + PageStartFrom?: long; + LastPageFrom?: long; + PageEndAt?: long; + PrevPageFrom?: long; + NextPageFrom?: long; + NumFiles?: long; + Sortby?: string; + Descending?: boolean; + BasicQuery?: string; + ParametersForPaging?: string; + Filters?: string; + CacheHint?: long; + IsSubsetOfFiles?: boolean; + Warning?: string; + } + + export interface DFURecordTypeInfoRequest { + Name?: string; + IncludeJsonTypeInfo?: boolean; + IncludeBinTypeInfo?: boolean; + } + + export interface DFURecordTypeInfoResponse { + jsonInfo?: string; + binInfo?: base64Binary; + } + + export interface DFUSearchRequest { + ShowExample?: string; + } + + export interface ClusterNames { + ClusterName?: string[]; + } + + export interface FileTypes { + FileType?: string[]; + } + + export interface DFUSearchResponse { + Exceptions?: Exceptions; + ShowExample?: string; + ClusterNames?: ClusterNames; + FileTypes?: FileTypes; + } + + export interface DFUSearchDataRequest { + Cluster?: string; + ClusterType?: string; + OpenLogicalName?: string; + FilterBy?: string; + ShowColumns?: string; + ChooseFile?: int; + StartIndex?: long; + EndIndex?: long; + LogicalName?: string; + ParentName?: string; + StartForGoback?: long; + CountForGoback?: int; + Start?: long; + Count?: int; + File?: string; + Key?: string; + SchemaOnly?: boolean; + RoxieSelections?: boolean; + DisableUppercaseTranslation?: boolean; + SelectedKey?: string; + } + + export interface DFUSearchDataResponse { + Exceptions?: Exceptions; + OpenLogicalName?: string; + LogicalName?: string; + ParentName?: string; + StartIndex?: long; + EndIndex?: long; + DFUDataKeyedColumns1?: DFUDataKeyedColumns1; + DFUDataKeyedColumns2?: DFUDataKeyedColumns2; + DFUDataKeyedColumns3?: DFUDataKeyedColumns3; + DFUDataKeyedColumns4?: DFUDataKeyedColumns4; + DFUDataKeyedColumns5?: DFUDataKeyedColumns5; + DFUDataKeyedColumns6?: DFUDataKeyedColumns6; + DFUDataKeyedColumns7?: DFUDataKeyedColumns7; + DFUDataKeyedColumns8?: DFUDataKeyedColumns8; + DFUDataKeyedColumns9?: DFUDataKeyedColumns9; + DFUDataKeyedColumns10?: DFUDataKeyedColumns10; + DFUDataKeyedColumns11?: DFUDataKeyedColumns11; + DFUDataKeyedColumns12?: DFUDataKeyedColumns12; + DFUDataKeyedColumns13?: DFUDataKeyedColumns13; + DFUDataKeyedColumns14?: DFUDataKeyedColumns14; + DFUDataKeyedColumns15?: DFUDataKeyedColumns15; + DFUDataKeyedColumns16?: DFUDataKeyedColumns16; + DFUDataKeyedColumns17?: DFUDataKeyedColumns17; + DFUDataKeyedColumns18?: DFUDataKeyedColumns18; + DFUDataKeyedColumns19?: DFUDataKeyedColumns19; + DFUDataKeyedColumns20?: DFUDataKeyedColumns20; + DFUDataNonKeyedColumns1?: DFUDataNonKeyedColumns1; + DFUDataNonKeyedColumns2?: DFUDataNonKeyedColumns2; + DFUDataNonKeyedColumns3?: DFUDataNonKeyedColumns3; + DFUDataNonKeyedColumns4?: DFUDataNonKeyedColumns4; + DFUDataNonKeyedColumns5?: DFUDataNonKeyedColumns5; + DFUDataNonKeyedColumns6?: DFUDataNonKeyedColumns6; + DFUDataNonKeyedColumns7?: DFUDataNonKeyedColumns7; + DFUDataNonKeyedColumns8?: DFUDataNonKeyedColumns8; + DFUDataNonKeyedColumns9?: DFUDataNonKeyedColumns9; + DFUDataNonKeyedColumns10?: DFUDataNonKeyedColumns10; + DFUDataNonKeyedColumns11?: DFUDataNonKeyedColumns11; + DFUDataNonKeyedColumns12?: DFUDataNonKeyedColumns12; + DFUDataNonKeyedColumns13?: DFUDataNonKeyedColumns13; + DFUDataNonKeyedColumns14?: DFUDataNonKeyedColumns14; + DFUDataNonKeyedColumns15?: DFUDataNonKeyedColumns15; + DFUDataNonKeyedColumns16?: DFUDataNonKeyedColumns16; + DFUDataNonKeyedColumns17?: DFUDataNonKeyedColumns17; + DFUDataNonKeyedColumns18?: DFUDataNonKeyedColumns18; + DFUDataNonKeyedColumns19?: DFUDataNonKeyedColumns19; + DFUDataNonKeyedColumns20?: DFUDataNonKeyedColumns20; + RowCount?: long; + ShowColumns?: string; + ChooseFile?: int; + Name?: string; + FilterBy?: string; + FilterForGoBack?: string; + ColumnsHidden?: ColumnsHidden; + ColumnCount?: int; + StartForGoback?: long; + CountForGoback?: int; + Start?: long; + Count?: long; + PageSize?: long; + Total?: long; + Result?: string; + MsgToDisplay?: string; + Cluster?: string; + ClusterType?: string; + File?: string; + Key?: string; + SchemaOnly?: boolean; + RoxieSelections?: boolean; + DisableUppercaseTranslation?: boolean; + AutoUppercaseTranslation?: boolean; + SelectedKey?: string; + } + + export interface DFUSpaceRequest { + CountBy?: string; + ScopeUnder?: string; + OwnerUnder?: string; + Interval?: string; + StartDate?: string; + EndDate?: string; + } + + export interface DFUSpaceItem { + Name?: string; + NumOfFiles?: string; + NumOfFilesUnknown?: string; + TotalSize?: string; + LargestFile?: string; + LargestSize?: string; + SmallestFile?: string; + SmallestSize?: string; + NumOfFilesInt64?: long; + NumOfFilesUnknownInt64?: long; + TotalSizeInt64?: long; + LargestSizeInt64?: long; + SmallestSizeInt64?: long; + } + + export interface DFUSpaceItems { + DFUSpaceItem?: DFUSpaceItem[]; + } + + export interface DFUSpaceResponse { + Exceptions?: Exceptions; + CountBy?: string; + ScopeUnder?: string; + OwnerUnder?: string; + Interval?: string; + StartDate?: string; + EndDate?: string; + DFUSpaceItems?: DFUSpaceItems; + } + + export interface EclRecordTypeInfoRequest { + Ecl?: string; + IncludeJsonTypeInfo?: boolean; + IncludeBinTypeInfo?: boolean; + } + + export interface EclRecordTypeInfoResponse { + jsonInfo?: string; + binInfo?: base64Binary; + } + + export interface EraseHistoryRequest { + Name?: string; + } + + export interface Origin { + Name?: string; + Operation?: string; + Timestamp?: string; + IP?: string; + Path?: string; + Owner?: string; + Workunit?: string; + } + + export interface History { + Origin?: Origin[]; + } + + export interface EraseHistoryResponse { + Exceptions?: Exceptions; + History?: History; + } + + export interface ListHistoryRequest { + Name?: string; + } + + export interface ListHistoryResponse { + Exceptions?: Exceptions; + History?: History; + } + + export interface WsDfuPingRequest { + + } + + export interface WsDfuPingResponse { + + } + + export interface SavexmlRequest { + name?: string; + } + + export interface SavexmlResponse { + Exceptions?: Exceptions; + xmlmap?: base64Binary; + } + + export interface SuperfileActionRequest { + action?: string; + superfile?: string; + subfiles?: subfiles; + before?: string; + delete?: boolean; + removeSuperfile?: boolean; + } + + export interface SuperfileActionResponse { + Exceptions?: Exceptions; + superfile?: string; + retcode?: int; + } + + export interface SuperfileListRequest { + superfile?: string; + } + + export interface SuperfileListResponse { + Exceptions?: Exceptions; + superfile?: string; + subfiles?: subfiles; + } + +} + +export class DfuServiceBase extends Service { + + constructor(optsConnection: IOptions | IConnection) { + super(optsConnection, "WsDfu", "1.68"); + } + + Add(request: WsDfu.AddRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Add", request, "json", false, abortSignal, "AddResponse"); + } + + AddRemote(request: WsDfu.AddRemoteRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AddRemote", request, "json", false, abortSignal, "AddRemoteResponse"); + } + + AddtoSuperfile(request: WsDfu.AddtoSuperfileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AddtoSuperfile", request, "json", false, abortSignal, "AddtoSuperfileResponse"); + } + + DFUArrayAction(request: WsDfu.DFUArrayActionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUArrayAction", request, "json", false, abortSignal, "DFUArrayActionResponse"); + } + + DFUBrowseData(request: WsDfu.DFUBrowseDataRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUBrowseData", request, "json", false, abortSignal, "DFUBrowseDataResponse"); + } + + DFUDefFile(request: WsDfu.DFUDefFileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUDefFile", request, "json", false, abortSignal, "DFUDefFileResponse"); + } + + DFUFileAccess(request: WsDfu.DFUFileAccessRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUFileAccess", request, "json", false, abortSignal, "DFUFileAccessResponse"); + } + + DFUFileAccessV2(request: WsDfu.DFUFileAccessV2Request, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUFileAccessV2", request, "json", false, abortSignal, "DFUFileAccessResponse"); + } + + DFUFileCreate(request: WsDfu.DFUFileCreateRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUFileCreate", request, "json", false, abortSignal, "DFUFileCreateResponse"); + } + + DFUFileCreateV2(request: WsDfu.DFUFileCreateV2Request, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUFileCreateV2", request, "json", false, abortSignal, "DFUFileCreateResponse"); + } + + DFUFilePublish(request: WsDfu.DFUFilePublishRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUFilePublish", request, "json", false, abortSignal, "DFUFilePublishResponse"); + } + + DFUFileRename(request: WsDfu.DFUFileRenameRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUFileRename", request, "json", false, abortSignal, "DFUFileRenameResponse"); + } + + DFUFileView(request: WsDfu.DFUFileViewRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUFileView", request, "json", false, abortSignal, "DFUFileViewResponse"); + } + + DFUGetDataColumns(request: WsDfu.DFUGetDataColumnsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUGetDataColumns", request, "json", false, abortSignal, "DFUGetDataColumnsResponse"); + } + + DFUGetFileMetaData(request: WsDfu.DFUGetFileMetaDataRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUGetFileMetaData", request, "json", false, abortSignal, "DFUGetFileMetaDataResponse"); + } + + DFUGetMetaInquiry(request: WsDfu.DFUMetaInquiryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUGetMetaInquiry", request, "json", false, abortSignal, "DFUMetaInquiryResponse"); + } + + DFUInfo(request: WsDfu.DFUInfoRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUInfo", request, "json", false, abortSignal, "DFUInfoResponse"); + } + + DFUQuery(request: WsDfu.DFUQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUQuery", request, "json", false, abortSignal, "DFUQueryResponse"); + } + + DFURecordTypeInfo(request: WsDfu.DFURecordTypeInfoRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFURecordTypeInfo", request, "json", false, abortSignal, "DFURecordTypeInfoResponse"); + } + + DFUSearch(request: WsDfu.DFUSearchRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUSearch", request, "json", false, abortSignal, "DFUSearchResponse"); + } + + DFUSearchData(request: WsDfu.DFUSearchDataRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUSearchData", request, "json", false, abortSignal, "DFUSearchDataResponse"); + } + + DFUSpace(request: WsDfu.DFUSpaceRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DFUSpace", request, "json", false, abortSignal, "DFUSpaceResponse"); + } + + EclRecordTypeInfo(request: WsDfu.EclRecordTypeInfoRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("EclRecordTypeInfo", request, "json", false, abortSignal, "EclRecordTypeInfoResponse"); + } + + EraseHistory(request: WsDfu.EraseHistoryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("EraseHistory", request, "json", false, abortSignal, "EraseHistoryResponse"); + } + + ListHistory(request: WsDfu.ListHistoryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListHistory", request, "json", false, abortSignal, "ListHistoryResponse"); + } + + Ping(request: WsDfu.WsDfuPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WsDfuPingResponse"); + } + + Savexml(request: WsDfu.SavexmlRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Savexml", request, "json", false, abortSignal, "SavexmlResponse"); + } + + SuperfileAction(request: WsDfu.SuperfileActionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SuperfileAction", request, "json", false, abortSignal, "SuperfileActionResponse"); + } + + SuperfileList(request: WsDfu.SuperfileListRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SuperfileList", request, "json", false, abortSignal, "SuperfileListResponse"); + } + +} diff --git a/packages/comms/src/services/wsdl/WsESDLConfig/v1.5/WsESDLConfig.ts b/packages/comms/src/services/wsdl/WsESDLConfig/v1.5/WsESDLConfig.ts new file mode 100644 index 0000000000..f8f827001f --- /dev/null +++ b/packages/comms/src/services/wsdl/WsESDLConfig/v1.5/WsESDLConfig.ts @@ -0,0 +1,366 @@ +import { IConnection, IOptions } from "../../../../connection.ts"; +import { Service } from "../../../../espConnection.ts"; + +export namespace WsESDLConfig { + + export type int = number; + + export interface ConfigureESDLBindingLogTransformRequest { + EsdlBindingId?: string; + LogTransformName?: string; + Overwrite?: boolean; + Encoded?: boolean; + Config?: string; + EchoBinding?: boolean; + } + + export interface Exception { + Code?: string; + Audience?: string; + Source?: string; + Message?: string; + } + + export interface Exceptions { + Source?: string; + Exception?: Exception[]; + } + + export interface status { + Code?: int; + Description?: string; + } + + export interface Attribute { + Name?: string; + Value?: string; + } + + export interface Attributes { + Attribute?: Attribute[]; + } + + export interface Method { + Name?: string; + Attributes?: Attributes; + Elements?: string; + XML?: string; + } + + export interface Methods { + Method?: Method[]; + } + + export interface Service { + Methods?: Methods; + Name?: string; + } + + export interface Services { + Service?: Service[]; + } + + export interface History { + PublishBy?: string; + CreatedTime?: string; + LastEditBy?: string; + LastEditTime?: string; + } + + export interface Definition { + Name?: string; + Seq?: int; + Id?: string; + Interface?: string; + Services?: Services; + History?: History; + } + + export interface Configuration { + Methods?: Methods; + } + + export interface ESDLBinding { + Definition?: Definition; + Configuration?: Configuration; + History?: History; + } + + export interface ConfigureESDLBindingLogTransformResponse { + Exceptions?: Exceptions; + EspProcName?: string; + EspBindingName?: string; + EsdlDefinitionID?: string; + EsdlServiceName?: string; + status?: status; + ESDLBinding?: ESDLBinding; + } + + export interface MethodStructure { + Name?: string; + Attributes?: Attributes; + Elements?: string; + XML?: string; + } + + export interface ConfigureESDLBindingMethodRequest { + EsdlBindingId?: string; + MethodName?: string; + Overwrite?: boolean; + Config?: string; + MethodStructure?: MethodStructure; + EchoBinding?: boolean; + } + + export interface ConfigureESDLBindingMethodResponse { + Exceptions?: Exceptions; + EspProcName?: string; + EspBindingName?: string; + EsdlDefinitionID?: string; + EsdlServiceName?: string; + status?: status; + ESDLBinding?: ESDLBinding; + } + + export interface DeleteESDLBindingRequest { + Id?: string; + EspProcess?: string; + EspBinding?: string; + } + + export interface DeleteESDLRegistryEntryResponse { + Exceptions?: Exceptions; + DeletedTree?: string; + status?: status; + } + + export interface DeleteESDLDefinitionRequest { + Id?: string; + Name?: string; + Version?: string; + } + + export interface EchoRequest { + Request?: string; + } + + export interface EchoResponse { + Response?: string; + } + + export interface GetESDLBindingRequest { + EsdlBindingId?: string; + IncludeInterfaceDefinition?: boolean; + ReportMethodsAvailable?: boolean; + } + + export interface GetESDLBindingResponse { + Exceptions?: Exceptions; + ServiceName?: string; + EspProcName?: string; + BindingName?: string; + EspPort?: string; + ConfigXML?: string; + ESDLBinding?: ESDLBinding; + status?: status; + } + + export interface GetESDLDefinitionRequest { + Id?: string; + Name?: string; + Seq?: int; + ServiceName?: string; + ReportMethodsAvailable?: boolean; + } + + export interface GetESDLDefinitionResponse { + Exceptions?: Exceptions; + status?: status; + Definition?: Definition; + } + + export interface ListDESDLEspBindingsReq { + IncludeESDLBindingInfo?: boolean; + } + + export interface TpBindingEx { + TpBindingEx?: TpBindingEx[]; + } + + export interface ESPServer { + Name?: string; + Description?: string; + Build?: string; + Type?: string; + Path?: string; + LogDirectory?: string; + TpBindingEx?: TpBindingEx; + } + + export interface ESPServers { + ESPServer?: ESPServer[]; + } + + export interface ListDESDLEspBindingsResp { + ESPServers?: ESPServers; + } + + export interface ListESDLBindingsRequest { + + } + + export interface Binding { + Id?: string; + EspProcess?: string; + Port?: int; + History?: History; + } + + export interface Bindings { + Binding?: Binding[]; + } + + export interface Port { + Value?: int; + Bindings?: Bindings; + } + + export interface Ports { + Port?: Port[]; + } + + export interface EspProcess { + Name?: string; + Ports?: Ports; + } + + export interface EspProcesses { + EspProcess?: EspProcess[]; + } + + export interface ListESDLBindingsResponse { + Exceptions?: Exceptions; + BindingsXML?: string; + EspProcesses?: EspProcesses; + } + + export interface ListESDLDefinitionsRequest { + + } + + export interface Definitions { + Definition?: Definition[]; + } + + export interface ListESDLDefinitionsResponse { + Exceptions?: Exceptions; + Definitions?: Definitions; + } + + export interface WsESDLConfigPingRequest { + + } + + export interface WsESDLConfigPingResponse { + + } + + export interface PublishESDLBindingRequest { + EspProcName?: string; + EspBindingName?: string; + EspPort?: string; + EsdlDefinitionID?: string; + EsdlServiceName?: string; + Overwrite?: boolean; + Config?: string; + Methods?: Methods; + EchoBinding?: boolean; + } + + export interface PublishESDLBindingResponse { + Exceptions?: Exceptions; + EsdlDefinitionID?: string; + Overwrite?: boolean; + EspProcName?: string; + EspPort?: string; + status?: status; + ESDLBinding?: ESDLBinding; + } + + export interface PublishESDLDefinitionRequest { + ServiceName?: string; + XMLDefinition?: string; + DeletePrevious?: boolean; + EchoDefinition?: boolean; + } + + export interface PublishESDLDefinitionResponse { + Exceptions?: Exceptions; + ServiceName?: string; + EsdlVersion?: int; + DeletePrevious?: boolean; + status?: status; + Definition?: Definition; + } + +} + +export class ESDLConfigServiceBase extends Service { + + constructor(optsConnection: IOptions | IConnection) { + super(optsConnection, "WsESDLConfig", "1.5"); + } + + ConfigureESDLBindingLogTransform(request: WsESDLConfig.ConfigureESDLBindingLogTransformRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ConfigureESDLBindingLogTransform", request, "json", false, abortSignal, "ConfigureESDLBindingLogTransformResponse"); + } + + ConfigureESDLBindingMethod(request: WsESDLConfig.ConfigureESDLBindingMethodRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ConfigureESDLBindingMethod", request, "json", false, abortSignal, "ConfigureESDLBindingMethodResponse"); + } + + DeleteESDLBinding(request: WsESDLConfig.DeleteESDLBindingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteESDLBinding", request, "json", false, abortSignal, "DeleteESDLRegistryEntryResponse"); + } + + DeleteESDLDefinition(request: WsESDLConfig.DeleteESDLDefinitionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteESDLDefinition", request, "json", false, abortSignal, "DeleteESDLRegistryEntryResponse"); + } + + Echo(request: WsESDLConfig.EchoRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Echo", request, "json", false, abortSignal, "EchoResponse"); + } + + GetESDLBinding(request: WsESDLConfig.GetESDLBindingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetESDLBinding", request, "json", false, abortSignal, "GetESDLBindingResponse"); + } + + GetESDLDefinition(request: WsESDLConfig.GetESDLDefinitionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetESDLDefinition", request, "json", false, abortSignal, "GetESDLDefinitionResponse"); + } + + ListDESDLEspBindings(request: WsESDLConfig.ListDESDLEspBindingsReq, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListDESDLEspBindings", request, "json", false, abortSignal, "ListDESDLEspBindingsResp"); + } + + ListESDLBindings(request: WsESDLConfig.ListESDLBindingsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListESDLBindings", request, "json", false, abortSignal, "ListESDLBindingsResponse"); + } + + ListESDLDefinitions(request: WsESDLConfig.ListESDLDefinitionsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListESDLDefinitions", request, "json", false, abortSignal, "ListESDLDefinitionsResponse"); + } + + Ping(request: WsESDLConfig.WsESDLConfigPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WsESDLConfigPingResponse"); + } + + PublishESDLBinding(request: WsESDLConfig.PublishESDLBindingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("PublishESDLBinding", request, "json", false, abortSignal, "PublishESDLBindingResponse"); + } + + PublishESDLDefinition(request: WsESDLConfig.PublishESDLDefinitionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("PublishESDLDefinition", request, "json", false, abortSignal, "PublishESDLDefinitionResponse"); + } + +} diff --git a/packages/comms/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts b/packages/comms/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts index 22a2ad4ac7..8276ce39d0 100644 --- a/packages/comms/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts +++ b/packages/comms/src/services/wsdl/WsFileIO/v1.01/WsFileIO.ts @@ -14,23 +14,23 @@ export namespace WsFileIO { } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface CreateFileResponse { - Exceptions: Exceptions; - DestDropZone: string; - DestRelativePath: string; - Overwrite: boolean; - Result: string; + Exceptions?: Exceptions; + DestDropZone?: string; + DestRelativePath?: string; + Overwrite?: boolean; + Result?: string; } export interface WsFileIOPingRequest { @@ -50,13 +50,13 @@ export namespace WsFileIO { } export interface ReadFileDataResponse { - Exceptions: Exceptions; - Data: base64Binary; - DestDropZone: string; - DestRelativePath: string; - Offset: long; - DataSize: long; - Result: string; + Exceptions?: Exceptions; + Data?: base64Binary; + DestDropZone?: string; + DestRelativePath?: string; + Offset?: long; + DataSize?: long; + Result?: string; } export interface WriteFileDataRequest { @@ -69,12 +69,12 @@ export namespace WsFileIO { } export interface WriteFileDataResponse { - Exceptions: Exceptions; - DestDropZone: string; - DestRelativePath: string; - Offset: long; - Append: boolean; - Result: string; + Exceptions?: Exceptions; + DestDropZone?: string; + DestRelativePath?: string; + Offset?: long; + Append?: boolean; + Result?: string; } } @@ -85,20 +85,20 @@ export class FileIOServiceBase extends Service { super(optsConnection, "WsFileIO", "1.01"); } - CreateFile(request: Partial): Promise { - return this._connection.send("CreateFile", request, "json", false, undefined, "CreateFileResponse"); + CreateFile(request: WsFileIO.CreateFileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("CreateFile", request, "json", false, abortSignal, "CreateFileResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "WsFileIOPingResponse"); + Ping(request: WsFileIO.WsFileIOPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WsFileIOPingResponse"); } - ReadFileData(request: Partial): Promise { - return this._connection.send("ReadFileData", request, "json", false, undefined, "ReadFileDataResponse"); + ReadFileData(request: WsFileIO.ReadFileDataRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ReadFileData", request, "json", false, abortSignal, "ReadFileDataResponse"); } - WriteFileData(request: Partial): Promise { - return this._connection.send("WriteFileData", request, "json", false, undefined, "WriteFileDataResponse"); + WriteFileData(request: WsFileIO.WriteFileDataRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("WriteFileData", request, "json", false, abortSignal, "WriteFileDataResponse"); } } diff --git a/packages/comms/src/services/wsdl/WsPackageProcess/v1.08/WsPackageProcess.ts b/packages/comms/src/services/wsdl/WsPackageProcess/v1.08/WsPackageProcess.ts new file mode 100644 index 0000000000..625d47ad14 --- /dev/null +++ b/packages/comms/src/services/wsdl/WsPackageProcess/v1.08/WsPackageProcess.ts @@ -0,0 +1,503 @@ +import { IConnection, IOptions } from "../../../../connection.ts"; +import { Service } from "../../../../espConnection.ts"; + +export namespace WsPackageProcess { + + export type int = number; + export type nonNegativeInteger = number; + + export interface ActivatePackageRequest { + Target?: string; + PackageMap?: string; + Process?: string; + GlobalScope?: boolean; + } + + export interface Exception { + Code?: string; + Audience?: string; + Source?: string; + Message?: string; + } + + export interface Exceptions { + Source?: string; + Exception?: Exception[]; + } + + export interface status { + Code?: int; + Description?: string; + } + + export interface ActivatePackageResponse { + Exceptions?: Exceptions; + status?: status; + } + + export interface AddPackageRequest { + Info?: string; + Activate?: boolean; + OverWrite?: boolean; + Target?: string; + PackageMap?: string; + Process?: string; + DaliIp?: string; + GlobalScope?: boolean; + SourceProcess?: string; + AllowForeignFiles?: boolean; + PreloadAllPackages?: boolean; + ReplacePackageMap?: boolean; + UpdateSuperFiles?: boolean; + UpdateCloneFrom?: boolean; + AppendCluster?: boolean; + DfuCopyFiles?: boolean; + DfuQueue?: string; + DfuWait?: nonNegativeInteger; + DfuOverwrite?: boolean; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + KeyCompression?: string; + DfuTargetPlane?: string; + } + + export interface FilesNotFound { + File?: string[]; + } + + export interface AddPackageResponse { + Exceptions?: Exceptions; + status?: status; + FilesNotFound?: FilesNotFound; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface AddPartToPackageMapRequest { + Target?: string; + Process?: string; + PackageMap?: string; + GlobalScope?: boolean; + PartName?: string; + Content?: string; + DeletePrevious?: boolean; + DaliIp?: string; + SourceProcess?: string; + AllowForeignFiles?: boolean; + PreloadAllPackages?: boolean; + UpdateSuperFiles?: boolean; + UpdateCloneFrom?: boolean; + AppendCluster?: boolean; + DfuCopyFiles?: boolean; + DfuQueue?: string; + DfuWait?: nonNegativeInteger; + DfuOverwrite?: boolean; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + KeyCompression?: string; + DfuTargetPlane?: string; + } + + export interface AddPartToPackageMapResponse { + Exceptions?: Exceptions; + status?: status; + FilesNotFound?: FilesNotFound; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface CopyPackageMapRequest { + SourcePath?: string; + RemoteUserName?: string; + RemotePassword?: string; + Target?: string; + Process?: string; + PMID?: string; + Activate?: boolean; + DaliIp?: string; + GlobalScope?: boolean; + SourceProcess?: string; + PreloadAllPackages?: boolean; + ReplacePackageMap?: boolean; + UpdateSuperFiles?: boolean; + UpdateCloneFrom?: boolean; + AppendCluster?: boolean; + DfuCopyFiles?: boolean; + DfuQueue?: string; + DfuWait?: nonNegativeInteger; + DfuOverwrite?: boolean; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + KeyCompression?: string; + DfuTargetPlane?: string; + } + + export interface CopyPackageMapResponse { + Exceptions?: Exceptions; + status?: status; + FilesNotFound?: FilesNotFound; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface DeActivatePackageRequest { + Target?: string; + PackageMap?: string; + Process?: string; + GlobalScope?: boolean; + } + + export interface DeActivatePackageResponse { + Exceptions?: Exceptions; + status?: status; + } + + export interface PackageMap { + Id?: string; + Target?: string; + Process?: string; + } + + export interface PackageMaps { + PackageMap?: PackageMap[]; + } + + export interface DeletePackageRequest { + Target?: string; + PackageMap?: string; + Process?: string; + GlobalScope?: boolean; + PackageMaps?: PackageMaps; + } + + export interface DeletePackageResponse { + Exceptions?: Exceptions; + status?: status; + } + + export interface EchoRequest { + Request?: string; + } + + export interface EchoResponse { + Response?: string; + } + + export interface GetPackageRequest { + Target?: string; + Process?: string; + } + + export interface GetPackageResponse { + Exceptions?: Exceptions; + status?: status; + Info?: string; + } + + export interface GetPackageMapByIdRequest { + PackageMapId?: string; + } + + export interface GetPackageMapByIdResponse { + Exceptions?: Exceptions; + status?: status; + Info?: string; + } + + export interface GetPackageMapSelectOptionsRequest { + IncludeTargets?: boolean; + IncludeProcesses?: boolean; + IncludeProcessFilters?: boolean; + } + + export interface Processes { + Item?: string[]; + } + + export interface TargetData { + Name?: string; + Type?: string; + Processes?: Processes; + } + + export interface Targets { + TargetData?: TargetData[]; + } + + export interface ProcessFilters { + Item?: string[]; + } + + export interface GetPackageMapSelectOptionsResponse { + Exceptions?: Exceptions; + status?: status; + Targets?: Targets; + ProcessFilters?: ProcessFilters; + } + + export interface GetPartFromPackageMapRequest { + Target?: string; + PackageMap?: string; + GlobalScope?: boolean; + PartName?: string; + } + + export interface GetPartFromPackageMapResponse { + Exceptions?: Exceptions; + status?: status; + Content?: string; + } + + export interface GetQueryFileMappingRequest { + Target?: string; + PMID?: string; + QueryName?: string; + GlobalScope?: boolean; + } + + export interface UnmappedFiles { + File?: string[]; + } + + export interface SubFiles { + File?: string[]; + } + + export interface SuperFile { + Name?: string; + SubFiles?: SubFiles; + } + + export interface SuperFiles { + SuperFile?: SuperFile[]; + } + + export interface GetQueryFileMappingResponse { + Exceptions?: Exceptions; + UnmappedFiles?: UnmappedFiles; + SuperFiles?: SuperFiles; + } + + export interface ListPackageRequest { + Target?: string; + Process?: string; + } + + export interface PackageListData { + Id?: string; + Queries?: string; + } + + export interface PkgListData { + PackageListData?: PackageListData[]; + } + + export interface PackageListMapData { + Id?: string; + Target?: string; + Process?: string; + PkgListData?: PkgListData; + Active?: boolean; + Description?: string; + } + + export interface PkgListMapData { + PackageListMapData?: PackageListMapData[]; + } + + export interface ListPackageResponse { + Exceptions?: Exceptions; + status?: status; + PkgListMapData?: PkgListMapData; + } + + export interface ListPackagesRequest { + Target?: string; + Process?: string; + ProcessFilter?: string; + } + + export interface PackageMapList { + PackageListMapData?: PackageListMapData[]; + } + + export interface ListPackagesResponse { + Exceptions?: Exceptions; + status?: status; + PackageMapList?: PackageMapList; + } + + export interface WsPackageProcessPingRequest { + + } + + export interface WsPackageProcessPingResponse { + + } + + export interface RemovePartFromPackageMapRequest { + Target?: string; + PackageMap?: string; + GlobalScope?: boolean; + PartName?: string; + } + + export interface RemovePartFromPackageMapResponse { + Exceptions?: Exceptions; + status?: status; + } + + export interface QueriesToVerify { + Item?: string[]; + } + + export interface QueriesToIgnore { + Item?: string[]; + } + + export interface ValidatePackageRequest { + Info?: string; + Target?: string; + Process?: string; + Active?: boolean; + PMID?: string; + QueryIdToVerify?: string; + QueriesToVerify?: QueriesToVerify; + QueriesToIgnore?: QueriesToIgnore; + CheckDFS?: boolean; + GlobalScope?: boolean; + IgnoreWarnings?: boolean; + IgnoreOptionalFiles?: boolean; + } + + export interface Warnings { + Item?: string[]; + } + + export interface Errors { + Item?: string[]; + } + + export interface Unmatched { + Item?: string[]; + } + + export interface packages { + Unmatched?: Unmatched; + } + + export interface queries { + Unmatched?: Unmatched; + } + + export interface NotInDFS { + File?: string[]; + } + + export interface files { + Unmatched?: Unmatched; + NotInDFS?: NotInDFS; + } + + export interface Result { + Target?: string; + PMID?: string; + Warnings?: Warnings; + Errors?: Errors; + packages?: packages; + queries?: queries; + files?: files; + } + + export interface Results { + Result?: Result[]; + } + + export interface ValidatePackageResponse { + Exceptions?: Exceptions; + Results?: Results; + } + +} + +export class PackageProcessServiceBase extends Service { + + constructor(optsConnection: IOptions | IConnection) { + super(optsConnection, "WsPackageProcess", "1.08"); + } + + ActivatePackage(request: WsPackageProcess.ActivatePackageRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ActivatePackage", request, "json", false, abortSignal, "ActivatePackageResponse"); + } + + AddPackage(request: WsPackageProcess.AddPackageRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AddPackage", request, "json", false, abortSignal, "AddPackageResponse"); + } + + AddPartToPackageMap(request: WsPackageProcess.AddPartToPackageMapRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AddPartToPackageMap", request, "json", false, abortSignal, "AddPartToPackageMapResponse"); + } + + CopyPackageMap(request: WsPackageProcess.CopyPackageMapRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("CopyPackageMap", request, "json", false, abortSignal, "CopyPackageMapResponse"); + } + + DeActivatePackage(request: WsPackageProcess.DeActivatePackageRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeActivatePackage", request, "json", false, abortSignal, "DeActivatePackageResponse"); + } + + DeletePackage(request: WsPackageProcess.DeletePackageRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeletePackage", request, "json", false, abortSignal, "DeletePackageResponse"); + } + + Echo(request: WsPackageProcess.EchoRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Echo", request, "json", false, abortSignal, "EchoResponse"); + } + + GetPackage(request: WsPackageProcess.GetPackageRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetPackage", request, "json", false, abortSignal, "GetPackageResponse"); + } + + GetPackageMapById(request: WsPackageProcess.GetPackageMapByIdRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetPackageMapById", request, "json", false, abortSignal, "GetPackageMapByIdResponse"); + } + + GetPackageMapSelectOptions(request: WsPackageProcess.GetPackageMapSelectOptionsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetPackageMapSelectOptions", request, "json", false, abortSignal, "GetPackageMapSelectOptionsResponse"); + } + + GetPartFromPackageMap(request: WsPackageProcess.GetPartFromPackageMapRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetPartFromPackageMap", request, "json", false, abortSignal, "GetPartFromPackageMapResponse"); + } + + GetQueryFileMapping(request: WsPackageProcess.GetQueryFileMappingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetQueryFileMapping", request, "json", false, abortSignal, "GetQueryFileMappingResponse"); + } + + ListPackage(request: WsPackageProcess.ListPackageRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListPackage", request, "json", false, abortSignal, "ListPackageResponse"); + } + + ListPackages(request: WsPackageProcess.ListPackagesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListPackages", request, "json", false, abortSignal, "ListPackagesResponse"); + } + + Ping(request: WsPackageProcess.WsPackageProcessPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WsPackageProcessPingResponse"); + } + + RemovePartFromPackageMap(request: WsPackageProcess.RemovePartFromPackageMapRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("RemovePartFromPackageMap", request, "json", false, abortSignal, "RemovePartFromPackageMapResponse"); + } + + ValidatePackage(request: WsPackageProcess.ValidatePackageRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ValidatePackage", request, "json", false, abortSignal, "ValidatePackageResponse"); + } + +} diff --git a/packages/comms/src/services/wsdl/WsSasha/v1.01/WsSasha.ts b/packages/comms/src/services/wsdl/WsSasha/v1.01/WsSasha.ts index 3dd1dd963e..0008278d7d 100644 --- a/packages/comms/src/services/wsdl/WsSasha/v1.01/WsSasha.ts +++ b/packages/comms/src/services/wsdl/WsSasha/v1.01/WsSasha.ts @@ -17,20 +17,20 @@ export namespace WsSasha { } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface ResultResponse { - Exceptions: Exceptions; - Result: string; + Exceptions?: Exceptions; + Result?: string; } export interface GetVersionRequest { @@ -77,24 +77,24 @@ export class SashaServiceBase extends Service { super(optsConnection, "WSSasha", "1.01"); } - ArchiveWU(request: Partial): Promise { - return this._connection.send("ArchiveWU", request, "json", false, undefined, "ResultResponse"); + ArchiveWU(request: Partial, abortSignal?: AbortSignal): Promise { + return this._connection.send("ArchiveWU", request, "json", false, abortSignal, "ResultResponse"); } - GetVersion(request: Partial): Promise { - return this._connection.send("GetVersion", request, "json", false, undefined, "ResultResponse"); + GetVersion(request: Partial, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetVersion", request, "json", false, abortSignal, "ResultResponse"); } - ListWU(request: Partial): Promise { - return this._connection.send("ListWU", request, "json", false, undefined, "ResultResponse"); + ListWU(request: Partial, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListWU", request, "json", false, abortSignal, "ResultResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "WSSashaPingResponse"); + Ping(request: Partial, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WSSashaPingResponse"); } - RestoreWU(request: Partial): Promise { - return this._connection.send("RestoreWU", request, "json", false, undefined, "ResultResponse"); + RestoreWU(request: Partial, abortSignal?: AbortSignal): Promise { + return this._connection.send("RestoreWU", request, "json", false, abortSignal, "ResultResponse"); } } diff --git a/packages/comms/src/services/wsdl/WsTopology/v1.33/WsTopology.ts b/packages/comms/src/services/wsdl/WsTopology/v1.33/WsTopology.ts index 2846a47fbe..d84201d85d 100644 --- a/packages/comms/src/services/wsdl/WsTopology/v1.33/WsTopology.ts +++ b/packages/comms/src/services/wsdl/WsTopology/v1.33/WsTopology.ts @@ -47,20 +47,20 @@ export namespace WsTopology { } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface SystemLogResponse { - Exceptions: Exceptions; - thefile: base64Binary; + Exceptions?: Exceptions; + thefile?: base64Binary; } export interface TpClusterInfoRequest { @@ -68,19 +68,19 @@ export namespace WsTopology { } export interface TpQueue { - Name: string; - WorkUnit: string; + Name?: string; + WorkUnit?: string; } export interface TpQueues { - TpQueue: TpQueue[]; + TpQueue?: TpQueue[]; } export interface TpClusterInfoResponse { - Exceptions: Exceptions; - Name: string; - WorkUnit: string; - TpQueues: TpQueues; + Exceptions?: Exceptions; + Name?: string; + WorkUnit?: string; + TpQueues?: TpQueues; } export interface TpClusterQueryRequest { @@ -88,52 +88,52 @@ export namespace WsTopology { } export interface TpMachine { - Name: string; - Netaddress: string; - ConfigNetaddress: string; - Domain: string; - Directory: string; - Type: string; - Available: string; - OS: int; - Path: string; - Port: int; - ProcessNumber: int; - Channels: unsignedInt; + Name?: string; + Netaddress?: string; + ConfigNetaddress?: string; + Domain?: string; + Directory?: string; + Type?: string; + Available?: string; + OS?: int; + Path?: string; + Port?: int; + ProcessNumber?: int; + Channels?: unsignedInt; } export interface TpMachines { - TpMachine: TpMachine[]; + TpMachine?: TpMachine[]; } export interface TpCluster { - Type: string; - Name: string; - QueueName: string; - Build: string; - Directory: string; - LogDirectory: string; - Desc: string; - Path: string; - DataModel: string; - OS: int; - HasThorSpareProcess: boolean; - TpMachines: TpMachines; + Type?: string; + Name?: string; + QueueName?: string; + Build?: string; + Directory?: string; + LogDirectory?: string; + Desc?: string; + Path?: string; + DataModel?: string; + OS?: int; + HasThorSpareProcess?: boolean; + TpMachines?: TpMachines; } export interface TpClusters { - TpCluster: TpCluster[]; + TpCluster?: TpCluster[]; } export interface TpClusterQueryResponse { - Exceptions: Exceptions; - EnableSNMP: boolean; - AcceptLanguage: string; - TpClusters: TpClusters; + Exceptions?: Exceptions; + EnableSNMP?: boolean; + AcceptLanguage?: string; + TpClusters?: TpClusters; } export interface ComponentNames { - Item: string[]; + Item?: string[]; } export interface TpComponentConfigurationRequest { @@ -141,18 +141,18 @@ export namespace WsTopology { } export interface Result { - ComponentName: string; - Configuration: string; + ComponentName?: string; + Configuration?: string; } export interface Results { - Result: Result[]; + Result?: Result[]; } export interface TpComponentConfigurationResponse { - Exceptions: Exceptions; - ConfigFormat: TpConfigResponseFormat; - Results: Results; + Exceptions?: Exceptions; + ConfigFormat?: TpConfigResponseFormat; + Results?: Results; } export interface TpConfiguredComponentsRequest { @@ -160,12 +160,12 @@ export namespace WsTopology { } export interface ConfiguredComponents { - Item: string[]; + Item?: string[]; } export interface TpConfiguredComponentsResponse { - Exceptions: Exceptions; - ConfiguredComponents: ConfiguredComponents; + Exceptions?: Exceptions; + ConfiguredComponents?: ConfiguredComponents; } export interface TpDropZoneQueryRequest { @@ -174,22 +174,22 @@ export namespace WsTopology { } export interface TpDropZone { - Name: string; - Description: string; - Build: string; - Path: string; - ECLWatchVisible: boolean; - UMask: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Path?: string; + ECLWatchVisible?: boolean; + UMask?: string; + TpMachines?: TpMachines; } export interface TpDropZones { - TpDropZone: TpDropZone[]; + TpDropZone?: TpDropZone[]; } export interface TpDropZoneQueryResponse { - Exceptions: Exceptions; - TpDropZones: TpDropZones; + Exceptions?: Exceptions; + TpDropZones?: TpDropZones; } export interface TpGetComponentFileRequest { @@ -203,8 +203,8 @@ export namespace WsTopology { } export interface TpGetComponentFileResponse { - Exceptions: Exceptions; - FileContents: base64Binary; + Exceptions?: Exceptions; + FileContents?: base64Binary; } export interface TpGetServicePluginsRequest { @@ -212,19 +212,19 @@ export namespace WsTopology { } export interface Plugin { - ShortName: string; - LongName: string; - FolderName: string; - WidgetName: string; + ShortName?: string; + LongName?: string; + FolderName?: string; + WidgetName?: string; } export interface Plugins { - Plugin: Plugin[]; + Plugin?: Plugin[]; } export interface TpGetServicePluginsResponse { - Exceptions: Exceptions; - Plugins: Plugins; + Exceptions?: Exceptions; + Plugins?: Plugins; } export interface TpGroupQueryRequest { @@ -232,18 +232,18 @@ export namespace WsTopology { } export interface TpGroup { - Name: string; - Kind: string; - ReplicateOutputs: boolean; + Name?: string; + Kind?: string; + ReplicateOutputs?: boolean; } export interface TpGroups { - TpGroup: TpGroup[]; + TpGroup?: TpGroup[]; } export interface TpGroupQueryResponse { - Exceptions: Exceptions; - TpGroups: TpGroups; + Exceptions?: Exceptions; + TpGroups?: TpGroups; } export interface TpListLogFilesRequest { @@ -252,21 +252,21 @@ export namespace WsTopology { } export interface LogFileStruct { - Name: string; - Path: string; - Host: string; - IsDir: boolean; - FileSize: long; - Modifiedtime: string; + Name?: string; + Path?: string; + Host?: string; + IsDir?: boolean; + FileSize?: long; + Modifiedtime?: string; } export interface Files { - LogFileStruct: LogFileStruct[]; + LogFileStruct?: LogFileStruct[]; } export interface TpListLogFilesResponse { - Exceptions: Exceptions; - Files: Files; + Exceptions?: Exceptions; + Files?: Files; } export interface TpListTargetClustersRequest { @@ -274,18 +274,18 @@ export namespace WsTopology { } export interface TpClusterNameType { - Name: string; - Type: string; - IsDefault: boolean; + Name?: string; + Type?: string; + IsDefault?: boolean; } export interface TargetClusters { - TpClusterNameType: TpClusterNameType[]; + TpClusterNameType?: TpClusterNameType[]; } export interface TpListTargetClustersResponse { - Exceptions: Exceptions; - TargetClusters: TargetClusters; + Exceptions?: Exceptions; + TargetClusters?: TargetClusters; } export interface TpLogFileRequest { @@ -305,32 +305,32 @@ export namespace WsTopology { } export interface LogFieldNames { - Item: string[]; + Item?: string[]; } export interface TpLogFileResponse { - Exceptions: Exceptions; - Name: string; - Type: string; - StartDate: string; - EndDate: string; - LastHours: int; - FirstRows: int; - LastRows: int; - Reversely: boolean; - Zip: boolean; - FilterType: int; - LogData: string; - HasDate: boolean; - FileSize: long; - PageFrom: long; - PageTo: long; - PageNumber: int; - PrevPage: int; - NextPage: int; - TotalPages: int; - AcceptLanguage: string; - LogFieldNames: LogFieldNames; + Exceptions?: Exceptions; + Name?: string; + Type?: string; + StartDate?: string; + EndDate?: string; + LastHours?: int; + FirstRows?: int; + LastRows?: int; + Reversely?: boolean; + Zip?: boolean; + FilterType?: int; + LogData?: string; + HasDate?: boolean; + FileSize?: long; + PageFrom?: long; + PageTo?: long; + PageNumber?: int; + PrevPage?: int; + NextPage?: int; + TotalPages?: int; + AcceptLanguage?: string; + LogFieldNames?: LogFieldNames; } export interface TpLogicalClusterQueryRequest { @@ -339,21 +339,21 @@ export namespace WsTopology { } export interface TpLogicalCluster { - Name: string; - Queue: string; - LanguageVersion: string; - Process: string; - Type: string; - QueriesOnly: boolean; + Name?: string; + Queue?: string; + LanguageVersion?: string; + Process?: string; + Type?: string; + QueriesOnly?: boolean; } export interface TpLogicalClusters { - TpLogicalCluster: TpLogicalCluster[]; + TpLogicalCluster?: TpLogicalCluster[]; } export interface TpLogicalClusterQueryResponse { - Exceptions: Exceptions; - TpLogicalClusters: TpLogicalClusters; + Exceptions?: Exceptions; + TpLogicalClusters?: TpLogicalClusters; } export interface TpMachineInfoRequest { @@ -362,23 +362,23 @@ export namespace WsTopology { } export interface MachineInfo { - Name: string; - Netaddress: string; - ConfigNetaddress: string; - Domain: string; - Directory: string; - Type: string; - Available: string; - OS: int; - Path: string; - Port: int; - ProcessNumber: int; - Channels: unsignedInt; + Name?: string; + Netaddress?: string; + ConfigNetaddress?: string; + Domain?: string; + Directory?: string; + Type?: string; + Available?: string; + OS?: int; + Path?: string; + Port?: int; + ProcessNumber?: int; + Channels?: unsignedInt; } export interface TpMachineInfoResponse { - Exceptions: Exceptions; - MachineInfo: MachineInfo; + Exceptions?: Exceptions; + MachineInfo?: MachineInfo; } export interface TpMachineQueryRequest { @@ -391,23 +391,23 @@ export namespace WsTopology { } export interface TpMachineQueryResponse { - Exceptions: Exceptions; - EnablePreflightInfo: boolean; - HasThorSpareProcess: boolean; - Type: TpMachineType; - Cluster: string; - OldIP: string; - LogDirectory: string; - Path: string; - MemThreshold: int; - DiskThreshold: int; - CpuThreshold: int; - MemThresholdType: string; - DiskThresholdType: string; - PreflightProcessFilter: string; - EnableSNMP: boolean; - AcceptLanguage: string; - TpMachines: TpMachines; + Exceptions?: Exceptions; + EnablePreflightInfo?: boolean; + HasThorSpareProcess?: boolean; + Type?: TpMachineType; + Cluster?: string; + OldIP?: string; + LogDirectory?: string; + Path?: string; + MemThreshold?: int; + DiskThreshold?: int; + CpuThreshold?: int; + MemThresholdType?: string; + DiskThresholdType?: string; + PreflightProcessFilter?: string; + EnableSNMP?: boolean; + AcceptLanguage?: string; + TpMachines?: TpMachines; } export interface TpServiceQueryRequest { @@ -415,237 +415,237 @@ export namespace WsTopology { } export interface TpDali { - Name: string; - Description: string; - Build: string; - BackupComputer: string; - BackupDirectory: string; - Type: string; - Path: string; - LogDirectory: string; - AuditLogDirectory: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + BackupComputer?: string; + BackupDirectory?: string; + Type?: string; + Path?: string; + LogDirectory?: string; + AuditLogDirectory?: string; + TpMachines?: TpMachines; } export interface TpDalis { - TpDali: TpDali[]; + TpDali?: TpDali[]; } export interface TpDfuServer { - Name: string; - Description: string; - Build: string; - Queue: string; - Type: string; - Path: string; - LogDirectory: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Queue?: string; + Type?: string; + Path?: string; + LogDirectory?: string; + TpMachines?: TpMachines; } export interface TpDfuServers { - TpDfuServer: TpDfuServer[]; + TpDfuServer?: TpDfuServer[]; } export interface TpDkcSlave { - Name: string; - Description: string; - Build: string; - Path: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Path?: string; + TpMachines?: TpMachines; } export interface TpDkcSlaves { - TpDkcSlave: TpDkcSlave[]; + TpDkcSlave?: TpDkcSlave[]; } export interface TpEclAgent { - Name: string; - Description: string; - Build: string; - Type: string; - Path: string; - DaliServer: string; - LogDir: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Type?: string; + Path?: string; + DaliServer?: string; + LogDir?: string; + TpMachines?: TpMachines; } export interface TpEclAgents { - TpEclAgent: TpEclAgent[]; + TpEclAgent?: TpEclAgent[]; } export interface TpEclServer { - Name: string; - Description: string; - Build: string; - LogDirectory: string; - Type: string; - Path: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + LogDirectory?: string; + Type?: string; + Path?: string; + TpMachines?: TpMachines; } export interface TpEclServers { - TpEclServer: TpEclServer[]; + TpEclServer?: TpEclServer[]; } export interface TpEclCCServers { - TpEclServer: TpEclServer[]; + TpEclServer?: TpEclServer[]; } export interface TpEclScheduler { - Name: string; - Description: string; - Build: string; - LogDirectory: string; - Type: string; - Path: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + LogDirectory?: string; + Type?: string; + Path?: string; + TpMachines?: TpMachines; } export interface TpEclSchedulers { - TpEclScheduler: TpEclScheduler[]; + TpEclScheduler?: TpEclScheduler[]; } export interface TpBinding { - Name: string; - Service: string; - ServiceType: string; - BindingType: string; - ServiceBuildSet: string; - Port: string; - Protocol: string; + Name?: string; + Service?: string; + ServiceType?: string; + BindingType?: string; + ServiceBuildSet?: string; + Port?: string; + Protocol?: string; } export interface TpBindings { - TpBinding: TpBinding[]; + TpBinding?: TpBinding[]; } export interface TpEspServer { - Name: string; - Description: string; - Build: string; - Type: string; - Path: string; - LogDirectory: string; - TpMachines: TpMachines; - TpBindings: TpBindings; + Name?: string; + Description?: string; + Build?: string; + Type?: string; + Path?: string; + LogDirectory?: string; + TpMachines?: TpMachines; + TpBindings?: TpBindings; } export interface TpEspServers { - TpEspServer: TpEspServer[]; + TpEspServer?: TpEspServer[]; } export interface TpFTSlave { - Name: string; - Description: string; - Build: string; - Path: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Path?: string; + TpMachines?: TpMachines; } export interface TpFTSlaves { - TpFTSlave: TpFTSlave[]; + TpFTSlave?: TpFTSlave[]; } export interface TpGenesisServer { - Name: string; - Description: string; - Build: string; - Path: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Path?: string; + TpMachines?: TpMachines; } export interface TpGenesisServers { - TpGenesisServer: TpGenesisServer[]; + TpGenesisServer?: TpGenesisServer[]; } export interface TpLdapServer { - Name: string; - Description: string; - Build: string; - Path: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Path?: string; + TpMachines?: TpMachines; } export interface TpLdapServers { - TpLdapServer: TpLdapServer[]; + TpLdapServer?: TpLdapServer[]; } export interface TpMySqlServer { - Name: string; - Description: string; - Build: string; - Path: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Path?: string; + TpMachines?: TpMachines; } export interface TpMySqlServers { - TpMySqlServer: TpMySqlServer[]; + TpMySqlServer?: TpMySqlServer[]; } export interface TpSashaServer { - Name: string; - Description: string; - Build: string; - Path: string; - LogDirectory: string; - TpMachines: TpMachines; + Name?: string; + Description?: string; + Build?: string; + Path?: string; + LogDirectory?: string; + TpMachines?: TpMachines; } export interface TpSashaServers { - TpSashaServer: TpSashaServer[]; + TpSashaServer?: TpSashaServer[]; } export interface TpSparkThor { - Name: string; - Build: string; - ThorClusterName: string; - ThorPath: string; - SparkExecutorCores: unsignedInt; - SparkExecutorMemory: long; - SparkMasterPort: unsignedInt; - SparkMasterWebUIPort: unsignedInt; - SparkWorkerCores: unsignedInt; - SparkWorkerMemory: long; - SparkWorkerPort: unsignedInt; - LogDirectory: string; - Path: string; - TpMachines: TpMachines; + Name?: string; + Build?: string; + ThorClusterName?: string; + ThorPath?: string; + SparkExecutorCores?: unsignedInt; + SparkExecutorMemory?: long; + SparkMasterPort?: unsignedInt; + SparkMasterWebUIPort?: unsignedInt; + SparkWorkerCores?: unsignedInt; + SparkWorkerMemory?: long; + SparkWorkerPort?: unsignedInt; + LogDirectory?: string; + Path?: string; + TpMachines?: TpMachines; } export interface TpSparkThors { - TpSparkThor: TpSparkThor[]; + TpSparkThor?: TpSparkThor[]; } export interface ServiceList { - TpDalis: TpDalis; - TpDfuServers: TpDfuServers; - TpDkcSlaves: TpDkcSlaves; - TpDropZones: TpDropZones; - TpEclAgents: TpEclAgents; - TpEclServers: TpEclServers; - TpEclCCServers: TpEclCCServers; - TpEclSchedulers: TpEclSchedulers; - TpEspServers: TpEspServers; - TpFTSlaves: TpFTSlaves; - TpGenesisServers: TpGenesisServers; - TpLdapServers: TpLdapServers; - TpMySqlServers: TpMySqlServers; - TpSashaServers: TpSashaServers; - TpSparkThors: TpSparkThors; + TpDalis?: TpDalis; + TpDfuServers?: TpDfuServers; + TpDkcSlaves?: TpDkcSlaves; + TpDropZones?: TpDropZones; + TpEclAgents?: TpEclAgents; + TpEclServers?: TpEclServers; + TpEclCCServers?: TpEclCCServers; + TpEclSchedulers?: TpEclSchedulers; + TpEspServers?: TpEspServers; + TpFTSlaves?: TpFTSlaves; + TpGenesisServers?: TpGenesisServers; + TpLdapServers?: TpLdapServers; + TpMySqlServers?: TpMySqlServers; + TpSashaServers?: TpSashaServers; + TpSparkThors?: TpSparkThors; } export interface TpServiceQueryResponse { - Exceptions: Exceptions; - MemThreshold: int; - DiskThreshold: int; - CpuThreshold: int; - EncapsulatedSystem: boolean; - EnableSNMP: boolean; - PreflightProcessFilter: string; - AcceptLanguage: string; - MemThresholdType: string; - DiskThresholdType: string; - ServiceList: ServiceList; + Exceptions?: Exceptions; + MemThreshold?: int; + DiskThreshold?: int; + CpuThreshold?: int; + EncapsulatedSystem?: boolean; + EnableSNMP?: boolean; + PreflightProcessFilter?: string; + AcceptLanguage?: string; + MemThresholdType?: string; + DiskThresholdType?: string; + ServiceList?: ServiceList; } export interface TpSetMachineStatusRequest { @@ -654,8 +654,8 @@ export namespace WsTopology { } export interface TpSetMachineStatusResponse { - Exceptions: Exceptions; - TpSetMachineStatusResult: boolean; + Exceptions?: Exceptions; + TpSetMachineStatusResult?: boolean; } export interface TpSwapNodeRequest { @@ -665,8 +665,8 @@ export namespace WsTopology { } export interface TpSwapNodeResponse { - Exceptions: Exceptions; - TpSwapNodeResult: boolean; + Exceptions?: Exceptions; + TpSwapNodeResult?: boolean; } export interface TpTargetClusterQueryRequest { @@ -676,31 +676,31 @@ export namespace WsTopology { } export interface TpTargetCluster { - Name: string; - Prefix: string; - Type: string; - TpClusters: TpClusters; - TpEclCCServers: TpEclCCServers; - TpEclServers: TpEclServers; - TpEclAgents: TpEclAgents; - TpEclSchedulers: TpEclSchedulers; + Name?: string; + Prefix?: string; + Type?: string; + TpClusters?: TpClusters; + TpEclCCServers?: TpEclCCServers; + TpEclServers?: TpEclServers; + TpEclAgents?: TpEclAgents; + TpEclSchedulers?: TpEclSchedulers; } export interface TpTargetClusters { - TpTargetCluster: TpTargetCluster[]; + TpTargetCluster?: TpTargetCluster[]; } export interface TpTargetClusterQueryResponse { - Exceptions: Exceptions; - ShowDetails: boolean; - MemThreshold: int; - DiskThreshold: int; - CpuThreshold: int; - MemThresholdType: string; - DiskThresholdType: string; - PreflightProcessFilter: string; - AcceptLanguage: string; - TpTargetClusters: TpTargetClusters; + Exceptions?: Exceptions; + ShowDetails?: boolean; + MemThreshold?: int; + DiskThreshold?: int; + CpuThreshold?: int; + MemThresholdType?: string; + DiskThresholdType?: string; + PreflightProcessFilter?: string; + AcceptLanguage?: string; + TpTargetClusters?: TpTargetClusters; } export interface TpThorStatusRequest { @@ -708,19 +708,19 @@ export namespace WsTopology { } export interface TpThorStatusResponse { - Exceptions: Exceptions; - Name: string; - Queue: string; - Group: string; - ThorMasterIPAddress: string; - Port: int; - StartTime: string; - LogFile: string; - Wuid: string; - Graph: string; - SubGraph: int; - SubGraphDuration: int; - AutoRefresh: int; + Exceptions?: Exceptions; + Name?: string; + Queue?: string; + Group?: string; + ThorMasterIPAddress?: string; + Port?: int; + StartTime?: string; + LogFile?: string; + Wuid?: string; + Graph?: string; + SubGraph?: int; + SubGraphDuration?: int; + AutoRefresh?: int; } export interface TpXMLFileRequest { @@ -728,8 +728,8 @@ export namespace WsTopology { } export interface TpXMLFileResponse { - Exceptions: Exceptions; - thefile: base64Binary; + Exceptions?: Exceptions; + thefile?: base64Binary; } } @@ -740,96 +740,96 @@ export class TopologyServiceBase extends Service { super(optsConnection, "WsTopology", "1.33"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "WsTopologyPingResponse"); + Ping(request: WsTopology.WsTopologyPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WsTopologyPingResponse"); } - SystemLog(request: Partial): Promise { - return this._connection.send("SystemLog", request, "json", false, undefined, "SystemLogResponse"); + SystemLog(request: WsTopology.SystemLogRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("SystemLog", request, "json", false, abortSignal, "SystemLogResponse"); } - TpClusterInfo(request: Partial): Promise { - return this._connection.send("TpClusterInfo", request, "json", false, undefined, "TpClusterInfoResponse"); + TpClusterInfo(request: WsTopology.TpClusterInfoRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpClusterInfo", request, "json", false, abortSignal, "TpClusterInfoResponse"); } - TpClusterQuery(request: Partial): Promise { - return this._connection.send("TpClusterQuery", request, "json", false, undefined, "TpClusterQueryResponse"); + TpClusterQuery(request: WsTopology.TpClusterQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpClusterQuery", request, "json", false, abortSignal, "TpClusterQueryResponse"); } - TpComponentConfiguration(request: Partial): Promise { - return this._connection.send("TpComponentConfiguration", request, "json", false, undefined, "TpComponentConfigurationResponse"); + TpComponentConfiguration(request: WsTopology.TpComponentConfigurationRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpComponentConfiguration", request, "json", false, abortSignal, "TpComponentConfigurationResponse"); } - TpConfiguredComponents(request: Partial): Promise { - return this._connection.send("TpConfiguredComponents", request, "json", false, undefined, "TpConfiguredComponentsResponse"); + TpConfiguredComponents(request: WsTopology.TpConfiguredComponentsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpConfiguredComponents", request, "json", false, abortSignal, "TpConfiguredComponentsResponse"); } - TpDropZoneQuery(request: Partial): Promise { - return this._connection.send("TpDropZoneQuery", request, "json", false, undefined, "TpDropZoneQueryResponse"); + TpDropZoneQuery(request: WsTopology.TpDropZoneQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpDropZoneQuery", request, "json", false, abortSignal, "TpDropZoneQueryResponse"); } - TpGetComponentFile(request: Partial): Promise { - return this._connection.send("TpGetComponentFile", request, "json", false, undefined, "TpGetComponentFileResponse"); + TpGetComponentFile(request: WsTopology.TpGetComponentFileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpGetComponentFile", request, "json", false, abortSignal, "TpGetComponentFileResponse"); } - TpGetServicePlugins(request: Partial): Promise { - return this._connection.send("TpGetServicePlugins", request, "json", false, undefined, "TpGetServicePluginsResponse"); + TpGetServicePlugins(request: WsTopology.TpGetServicePluginsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpGetServicePlugins", request, "json", false, abortSignal, "TpGetServicePluginsResponse"); } - TpGroupQuery(request: Partial): Promise { - return this._connection.send("TpGroupQuery", request, "json", false, undefined, "TpGroupQueryResponse"); + TpGroupQuery(request: WsTopology.TpGroupQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpGroupQuery", request, "json", false, abortSignal, "TpGroupQueryResponse"); } - TpListLogFiles(request: Partial): Promise { - return this._connection.send("TpListLogFiles", request, "json", false, undefined, "TpListLogFilesResponse"); + TpListLogFiles(request: WsTopology.TpListLogFilesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpListLogFiles", request, "json", false, abortSignal, "TpListLogFilesResponse"); } - TpListTargetClusters(request: Partial): Promise { - return this._connection.send("TpListTargetClusters", request, "json", false, undefined, "TpListTargetClustersResponse"); + TpListTargetClusters(request: WsTopology.TpListTargetClustersRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpListTargetClusters", request, "json", false, abortSignal, "TpListTargetClustersResponse"); } - TpLogFile(request: Partial): Promise { - return this._connection.send("TpLogFile", request, "json", false, undefined, "TpLogFileResponse"); + TpLogFile(request: WsTopology.TpLogFileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpLogFile", request, "json", false, abortSignal, "TpLogFileResponse"); } - TpLogFileDisplay(request: Partial): Promise { - return this._connection.send("TpLogFileDisplay", request, "json", false, undefined, "TpLogFileResponse"); + TpLogFileDisplay(request: WsTopology.TpLogFileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpLogFileDisplay", request, "json", false, abortSignal, "TpLogFileResponse"); } - TpLogicalClusterQuery(request: Partial): Promise { - return this._connection.send("TpLogicalClusterQuery", request, "json", false, undefined, "TpLogicalClusterQueryResponse"); + TpLogicalClusterQuery(request: WsTopology.TpLogicalClusterQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpLogicalClusterQuery", request, "json", false, abortSignal, "TpLogicalClusterQueryResponse"); } - TpMachineInfo(request: Partial): Promise { - return this._connection.send("TpMachineInfo", request, "json", false, undefined, "TpMachineInfoResponse"); + TpMachineInfo(request: WsTopology.TpMachineInfoRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpMachineInfo", request, "json", false, abortSignal, "TpMachineInfoResponse"); } - TpMachineQuery(request: Partial): Promise { - return this._connection.send("TpMachineQuery", request, "json", false, undefined, "TpMachineQueryResponse"); + TpMachineQuery(request: WsTopology.TpMachineQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpMachineQuery", request, "json", false, abortSignal, "TpMachineQueryResponse"); } - TpServiceQuery(request: Partial): Promise { - return this._connection.send("TpServiceQuery", request, "json", false, undefined, "TpServiceQueryResponse"); + TpServiceQuery(request: WsTopology.TpServiceQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpServiceQuery", request, "json", false, abortSignal, "TpServiceQueryResponse"); } - TpSetMachineStatus(request: Partial): Promise { - return this._connection.send("TpSetMachineStatus", request, "json", false, undefined, "TpSetMachineStatusResponse"); + TpSetMachineStatus(request: WsTopology.TpSetMachineStatusRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpSetMachineStatus", request, "json", false, abortSignal, "TpSetMachineStatusResponse"); } - TpSwapNode(request: Partial): Promise { - return this._connection.send("TpSwapNode", request, "json", false, undefined, "TpSwapNodeResponse"); + TpSwapNode(request: WsTopology.TpSwapNodeRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpSwapNode", request, "json", false, abortSignal, "TpSwapNodeResponse"); } - TpTargetClusterQuery(request: Partial): Promise { - return this._connection.send("TpTargetClusterQuery", request, "json", false, undefined, "TpTargetClusterQueryResponse"); + TpTargetClusterQuery(request: WsTopology.TpTargetClusterQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpTargetClusterQuery", request, "json", false, abortSignal, "TpTargetClusterQueryResponse"); } - TpThorStatus(request: Partial): Promise { - return this._connection.send("TpThorStatus", request, "json", false, undefined, "TpThorStatusResponse"); + TpThorStatus(request: WsTopology.TpThorStatusRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpThorStatus", request, "json", false, abortSignal, "TpThorStatusResponse"); } - TpXMLFile(request: Partial): Promise { - return this._connection.send("TpXMLFile", request, "json", false, undefined, "TpXMLFileResponse"); + TpXMLFile(request: WsTopology.TpXMLFileRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("TpXMLFile", request, "json", false, abortSignal, "TpXMLFileResponse"); } } diff --git a/packages/comms/src/services/wsdl/WsWorkunits/v2.05/WsWorkunits.ts b/packages/comms/src/services/wsdl/WsWorkunits/v2.05/WsWorkunits.ts new file mode 100644 index 0000000000..4636663f04 --- /dev/null +++ b/packages/comms/src/services/wsdl/WsWorkunits/v2.05/WsWorkunits.ts @@ -0,0 +1,3177 @@ +import { IConnection, IOptions } from "../../../../connection.ts"; +import { Service } from "../../../../espConnection.ts"; + +export namespace WsWorkunits { + + export type int = number; + export type double = number; + export type long = number; + export type nonNegativeInteger = number; + export type uint64 = number; + export type unsignedInt = number; + export type base64Binary = string; + export type dateTime = string; + export type integer = number; + + export enum ECLWUActions { + Abort = "Abort", + Delete = "Delete", + Deschedule = "Deschedule", + Reschedule = "Reschedule", + Pause = "Pause", + PauseNow = "PauseNow", + Protect = "Protect", + Unprotect = "Unprotect", + Restore = "Restore", + Resume = "Resume", + SetToFailed = "SetToFailed", + Archive = "Archive" + } + + export enum LogSelectColumnMode { + MIN = 0, + DEFAULT = 1, + ALL = 2, + CUSTOM = 3 + } + + export enum SortDirection { + ASC = 0, + DSC = 1 + } + + export enum LogEventClass { + ALL = "ALL", + DIS = "DIS", + ERR = "ERR", + WRN = "WRN", + INF = "INF", + PRO = "PRO", + MET = "MET", + EVT = "EVT" + } + + export enum WUDetailsAttrValueType { + Single = "Single", + List = "List", + Multi = "Multi" + } + + export enum EclDefinitionActions { + SyntaxCheck = "SyntaxCheck", + Deploy = "Deploy", + Publish = "Publish" + } + + export enum ErrorMessageFormat { + xml = "xml", + json = "json", + text = "text" + } + + export enum LogAccessLogFormat { + XML = 0, + JSON = 1, + CSV = 2 + } + + export enum WUExceptionSeverity { + info = "info", + warning = "warning", + error = "error", + alert = "alert" + } + + export enum WUQueryFilterSuspendedType { + Allqueries = "All queries", + Notsuspended = "Not suspended", + Suspended = "Suspended", + Suspendedbyuser = "Suspended by user", + Suspendedbyfirstnode = "Suspended by first node", + Suspendedbyanynode = "Suspended by any node" + } + + export enum WUQuerySetFilterType { + All = "All", + Id = "Id", + Name = "Name", + Alias = "Alias", + Status = "Status" + } + + export enum WUProtectFilter { + All = "All", + Protected = "Protected", + NotProtected = "NotProtected" + } + + export enum QuerySetAliasActionTypes { + Deactivate = "Deactivate" + } + + export enum QuerysetImportActivation { + None = "None", + ActivateImportedActive = "ActivateImportedActive" + } + + export enum QuerySetQueryActionTypes { + Suspend = "Suspend", + Unsuspend = "Unsuspend", + ToggleSuspend = "ToggleSuspend", + Activate = "Activate", + Delete = "Delete", + DeleteQueriesAndWUs = "DeleteQueriesAndWUs", + RemoveAllAliases = "RemoveAllAliases", + ResetQueryStats = "ResetQueryStats" + } + + export enum WUQueryActivationMode { + DoNotActivateQuery = 0, + ActivateQuery = 1, + ActivateQuerySuspendPrevious = 2, + ActivateQueryDeletePrevious = 3 + } + + export interface GVCAjaxGraph { + Name?: string; + GraphName?: string; + SubGraphId?: int; + SubGraphOnly?: boolean; + } + + export interface GVCAjaxGraphResponse { + Name?: string; + GraphName?: string; + GraphType?: string; + SubGraphId?: int; + SubGraphOnly?: boolean; + } + + export interface Ping { + + } + + export interface WsWorkunitsPingResponse { + + } + + export interface Wuids { + Item?: string[]; + } + + export interface WUAbort { + Wuids?: Wuids; + BlockTillFinishTimer?: int; + } + + export interface Exception { + Code?: string; + Audience?: string; + Source?: string; + Message?: string; + } + + export interface Exceptions { + Source?: string; + Exception?: Exception[]; + } + + export interface WUActionResult { + Wuid?: string; + Action?: string; + Result?: string; + } + + export interface ActionResults { + WUActionResult?: WUActionResult[]; + } + + export interface WUAbortResponse { + Exceptions?: Exceptions; + ActionResults?: ActionResults; + } + + export interface WUAction { + Wuids?: Wuids; + WUActionType?: ECLWUActions; + Cluster?: string; + Owner?: string; + State?: string; + StartDate?: string; + EndDate?: string; + ECL?: string; + Jobname?: string; + Test?: string; + CurrentPage?: string; + PageSize?: string; + Sortby?: string; + Descending?: boolean; + EventServer?: string; + EventName?: string; + PageFrom?: string; + BlockTillFinishTimer?: int; + } + + export interface WUActionResponse { + Exceptions?: Exceptions; + ActionResults?: ActionResults; + } + + export interface WUAddLocalFileToWorkunit { + Wuid?: string; + Name?: string; + Val?: string; + DefVal?: string; + Type?: int; + Length?: int; + } + + export interface WUAddLocalFileToWorkunitResponse { + Exceptions?: Exceptions; + Wuid?: string; + Name?: string; + Result?: string; + } + + export interface PropertyOptions { + IncludeName?: boolean; + IncludeRawValue?: boolean; + IncludeFormatted?: boolean; + IncludeMeasure?: boolean; + IncludeCreator?: boolean; + IncludeCreatorType?: boolean; + } + + export interface WUAnalyseHotspot { + Wuid?: string; + RootScope?: string; + OptOnlyActive?: boolean; + OnlyCriticalPath?: boolean; + IncludeProperties?: boolean; + IncludeStatistics?: boolean; + ThresholdPercent?: double; + PropertyOptions?: PropertyOptions; + } + + export interface Property { + Name?: string; + RawValue?: string; + Formatted?: string; + Measure?: string; + Creator?: string; + CreatorType?: string; + } + + export interface Properties { + Property?: Property[]; + } + + export interface Note { + Source?: string; + Message?: string; + ErrorCode?: nonNegativeInteger; + Severity?: string; + Cost?: nonNegativeInteger; + Id?: uint64; + } + + export interface Notes { + Note?: Note[]; + } + + export interface Activity { + ScopeName?: string; + Id?: string; + ScopeType?: string; + Properties?: Properties; + Notes?: Notes; + SinkActivity?: string; + } + + export interface Activities { + Activity?: Activity[]; + } + + export interface Dependency { + ScopeName?: string; + Id?: string; + ScopeType?: string; + Properties?: Properties; + Notes?: Notes; + SinkActivity?: string; + } + + export interface Dependencies { + Dependency?: Dependency[]; + } + + export interface WUAnalyseHotspotResponse { + Exceptions?: Exceptions; + RootScope?: string; + RootTime?: long; + Activities?: Activities; + Dependencies?: Dependencies; + } + + export interface WUCDebug { + Wuid?: string; + Command?: string; + } + + export interface WUDebugResponse { + Exceptions?: Exceptions; + Result?: string; + } + + export interface WUCheckFeatures { + IncludeFullVersion?: boolean; + } + + export interface Deployment { + UseCompression?: boolean; + } + + export interface WUCheckFeaturesResponse { + Exceptions?: Exceptions; + BuildVersionMajor?: int; + BuildVersionMinor?: int; + BuildVersionPoint?: int; + maxRequestEntityLength?: unsignedInt; + Deployment?: Deployment; + BuildVersion?: string; + BuildMaturity?: string; + BuildTagTimestamp?: string; + } + + export interface WUClusterJobQueueLOG { + Cluster?: string; + StartDate?: string; + EndDate?: string; + } + + export interface WUClusterJobQueueLOGResponse { + Exceptions?: Exceptions; + thefile?: base64Binary; + } + + export interface WUClusterJobQueueXLS { + Cluster?: string; + StartDate?: string; + EndDate?: string; + ShowType?: string; + } + + export interface WUClusterJobQueueXLSResponse { + Exceptions?: Exceptions; + Result?: base64Binary; + } + + export interface WUClusterJobSummaryXLS { + Cluster?: string; + StartDate?: string; + EndDate?: string; + ShowAll?: boolean; + BusinessStartTime?: string; + BusinessEndTime?: string; + } + + export interface WUClusterJobSummaryXLSResponse { + Exceptions?: Exceptions; + Result?: base64Binary; + } + + export interface WUClusterJobXLS { + Cluster?: string; + StartDate?: string; + EndDate?: string; + ShowAll?: boolean; + BusinessStartTime?: string; + BusinessEndTime?: string; + } + + export interface WUClusterJobXLSResponse { + Exceptions?: Exceptions; + Result?: base64Binary; + } + + export interface WUCompileECL { + ECL?: string; + ModuleName?: string; + AttributeName?: string; + Queue?: string; + Cluster?: string; + Snapshot?: string; + IncludeDependencies?: boolean; + IncludeComplexity?: boolean; + TimeToWait?: int; + } + + export interface ECLException { + Severity?: string; + Source?: string; + Code?: int; + Message?: string; + Column?: int; + LineNo?: int; + FileName?: string; + Activity?: int; + Scope?: string; + Priority?: int; + Cost?: double; + } + + export interface Errors { + ECLException?: ECLException[]; + } + + export interface ECLAttribute { + ModuleName?: string; + AttributeName?: string; + IsLocked?: boolean; + IsCheckedOut?: boolean; + IsSandbox?: boolean; + IsOrphaned?: boolean; + } + + export interface Dependencies2 { + ECLAttribute?: ECLAttribute[]; + } + + export interface WUCompileECLResponse { + Exceptions?: Exceptions; + Complexity?: string; + Errors?: Errors; + Dependencies?: Dependencies2; + } + + export interface WUCopyLogicalFiles { + Wuid?: string; + Cluster?: string; + CopyLocal?: boolean; + } + + export interface Clusters { + Item?: string[]; + } + + export interface WULogicalFileCopyInfo { + IsIndex?: boolean; + LogicalName?: string; + DfuCopyWuid?: string; + DfuCopyError?: string; + Clusters?: Clusters; + } + + export interface OnCluster { + WULogicalFileCopyInfo?: WULogicalFileCopyInfo[]; + } + + export interface NotOnCluster { + WULogicalFileCopyInfo?: WULogicalFileCopyInfo[]; + } + + export interface Foreign { + WULogicalFileCopyInfo?: WULogicalFileCopyInfo[]; + } + + export interface NotFound { + WULogicalFileCopyInfo?: WULogicalFileCopyInfo[]; + } + + export interface Cluster { + ClusterName?: string; + OnCluster?: OnCluster; + NotOnCluster?: NotOnCluster; + Foreign?: Foreign; + NotFound?: NotFound; + } + + export interface ClusterFiles { + Cluster?: Cluster[]; + } + + export interface WUCopyLogicalFilesResponse { + Exceptions?: Exceptions; + Wuid?: string; + ClusterFiles?: ClusterFiles; + } + + export interface WUCopyQuerySet { + Source?: string; + Target?: string; + ActiveOnly?: boolean; + CloneActiveState?: boolean; + AllowForeignFiles?: boolean; + DfsServer?: string; + CopyFiles?: boolean; + OverwriteDfs?: boolean; + SourceProcess?: string; + UpdateSuperFiles?: boolean; + UpdateCloneFrom?: boolean; + AppendCluster?: boolean; + IncludeFileErrors?: boolean; + SourceSSL?: boolean; + DfuCopyFiles?: boolean; + DfuQueue?: string; + DfuWait?: nonNegativeInteger; + DfuOverwrite?: boolean; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + KeyCompression?: string; + DfuTargetPlane?: string; + } + + export interface CopiedQueries { + QueryId?: string[]; + } + + export interface ExistingQueries { + QueryId?: string[]; + } + + export interface File { + Error?: string; + LogicalName?: string; + } + + export interface FileErrors { + File?: File[]; + } + + export interface WUCopyQuerySetResponse { + Exceptions?: Exceptions; + CopiedQueries?: CopiedQueries; + ExistingQueries?: ExistingQueries; + FileErrors?: FileErrors; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface WUCreate { + + } + + export interface Query { + Text?: string; + Cpp?: string; + ResTxt?: string; + Dll?: string; + ThorLog?: string; + QueryMainDefinition?: string; + } + + export interface ECLHelpFile { + Name?: string; + Type?: string; + IPAddress?: string; + Description?: string; + FileSize?: long; + PID?: unsignedInt; + minActivityId?: unsignedInt; + maxActivityId?: unsignedInt; + IsAvailable?: boolean; + } + + export interface Helpers { + ECLHelpFile?: ECLHelpFile[]; + } + + export interface Exceptions2 { + ECLException?: ECLException[]; + } + + export interface ECLGraph { + Name?: string; + Label?: string; + Type?: string; + Running?: boolean; + Complete?: boolean; + Failed?: boolean; + RunningId?: long; + WhenStarted?: string; + WhenFinished?: string; + } + + export interface Graphs { + ECLGraph?: ECLGraph[]; + } + + export interface ECLSourceFiles { + ECLSourceFile?: ECLSourceFile[]; + } + + export interface ECLSourceFile { + FileCluster?: string; + Name?: string; + IsSuperFile?: boolean; + Subs?: int; + Count?: int; + ECLSourceFiles?: ECLSourceFiles; + } + + export interface SourceFiles { + ECLSourceFile?: ECLSourceFile[]; + } + + export interface ECLSchemaItem { + ColumnName?: string; + ColumnType?: string; + ColumnTypeCode?: int; + isConditional?: boolean; + } + + export interface ECLSchemas { + ECLSchemaItem?: ECLSchemaItem[]; + } + + export interface ECLResult { + Name?: string; + Sequence?: int; + Value?: string; + Link?: string; + FileName?: string; + IsSupplied?: boolean; + ShowFileContent?: boolean; + Total?: long; + ECLSchemas?: ECLSchemas; + XmlSchema?: string; + } + + export interface Results { + ECLResult?: ECLResult[]; + } + + export interface Variables { + ECLResult?: ECLResult[]; + } + + export interface ECLTimer { + Name?: string; + Value?: string; + count?: int; + GraphName?: string; + SubGraphId?: int; + Timestamp?: long; + When?: string; + } + + export interface Timers { + ECLTimer?: ECLTimer[]; + } + + export interface DebugValue { + Name?: string; + Value?: string; + } + + export interface DebugValues { + DebugValue?: DebugValue[]; + } + + export interface ApplicationValue { + Application?: string; + Name?: string; + Value?: string; + } + + export interface ApplicationValues { + ApplicationValue?: ApplicationValue[]; + } + + export interface ECLWorkflow { + WFID?: string; + EventName?: string; + EventText?: string; + Count?: int; + CountRemaining?: int; + } + + export interface Workflows { + ECLWorkflow?: ECLWorkflow[]; + } + + export interface ECLTimingData { + Name?: string; + GraphNum?: int; + SubGraphNum?: int; + GID?: int; + Min?: int; + MS?: int; + } + + export interface TimingData { + ECLTimingData?: ECLTimingData[]; + } + + export interface AllowedClusters { + AllowedCluster?: string[]; + } + + export interface ThorLogInfo { + ProcessName?: string; + ClusterGroup?: string; + LogDate?: string; + NumberSlaves?: int; + } + + export interface ThorLogList { + ThorLogInfo?: ThorLogInfo[]; + } + + export interface ResourceURLs { + URL?: string[]; + } + + export interface ServiceNames { + Item?: string[]; + } + + export interface Graphs2 { + Graph?: string[]; + } + + export interface ECLWUProcess { + Name?: string; + Type?: string; + PodName?: string; + ContainerName?: string; + Graphs?: Graphs2; + InstanceNumber?: int; + Sequence?: string; + Log?: string; + PID?: string; + Pattern?: string; + Max?: int; + } + + export interface ECLWUProcessList { + ECLWUProcess?: ECLWUProcess[]; + } + + export interface Workunit { + Wuid?: string; + Owner?: string; + Cluster?: string; + RoxieCluster?: string; + Jobname?: string; + Queue?: string; + StateID?: int; + State?: string; + StateEx?: string; + Description?: string; + Protected?: boolean; + Active?: boolean; + Action?: int; + ActionEx?: string; + DateTimeScheduled?: dateTime; + PriorityClass?: int; + PriorityLevel?: int; + Scope?: string; + Snapshot?: string; + ResultLimit?: int; + Archived?: boolean; + IsPausing?: boolean; + ThorLCR?: boolean; + EventSchedule?: int; + 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?: int; + WarningCount?: int; + InfoCount?: int; + AlertCount?: int; + GraphCount?: int; + SourceFileCount?: int; + ResultCount?: int; + VariableCount?: int; + TimerCount?: int; + HasDebugValue?: boolean; + ApplicationValueCount?: int; + XmlParams?: string; + AccessFlag?: int; + ClusterFlag?: int; + 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?: int; + ResourceURLCount?: int; + DebugValueCount?: int; + WorkflowCount?: int; + HelpersCount?: int; + ServiceNames?: ServiceNames; + ExecuteCost?: double; + FileAccessCost?: double; + CostSavingPotential?: double; + CompileCost?: double; + NoAccess?: boolean; + ECLWUProcessList?: ECLWUProcessList; + } + + export interface WUCreateResponse { + Exceptions?: Exceptions; + Workunit?: Workunit; + } + + export interface WUCreateAndUpdate { + Wuid?: string; + State?: int; + StateOrig?: int; + Jobname?: string; + JobnameOrig?: string; + QueryText?: string; + Action?: int; + Description?: string; + DescriptionOrig?: string; + AddDrilldownFields?: boolean; + ResultLimit?: int; + Protected?: boolean; + ProtectedOrig?: boolean; + PriorityClass?: int; + PriorityLevel?: int; + Scope?: string; + ScopeOrig?: string; + ClusterSelection?: string; + ClusterOrig?: string; + XmlParams?: string; + ThorSlaveIP?: string; + QueryMainDefinition?: string; + DebugValues?: DebugValues; + ApplicationValues?: ApplicationValues; + } + + export interface WUUpdateResponse { + Exceptions?: Exceptions; + Workunit?: Workunit; + } + + export interface AbsoluteTimeRange { + StartDate?: dateTime; + EndDate?: dateTime; + } + + export interface CustomColumns { + Item?: string[]; + } + + export interface ComponentsFilter { + Item?: string[]; + } + + export interface LogFilter { + WildcardFilter?: string; + AbsoluteTimeRange?: AbsoluteTimeRange; + RelativeTimeRangeBuffer?: unsignedInt; + LineLimit?: unsignedInt; + LineStartFrom?: long; + SelectColumnMode?: LogSelectColumnMode; + CustomColumns?: CustomColumns; + ComponentsFilter?: ComponentsFilter; + Format?: string; + sortByTimeDirection?: SortDirection; + LogEventType?: LogEventClass; + } + + export interface WUCreateZAPInfo { + Wuid?: string; + ESPApplication?: string; + ThorProcesses?: string; + BuildVersion?: string; + ProblemDescription?: string; + WhatChanged?: string; + WhereSlow?: string; + ZAPFileName?: string; + IncludeThorSlaveLog?: string; + ZAPPassword?: string; + SendEmail?: boolean; + AttachZAPReportToEmail?: boolean; + EmailFrom?: string; + EmailSubject?: string; + EmailBody?: string; + LogFilter?: LogFilter; + IncludeRelatedLogs?: boolean; + IncludePerComponentLogs?: boolean; + } + + export interface WUCreateZAPInfoResponse { + Exceptions?: Exceptions; + thefile?: base64Binary; + ZAPFileName?: string; + } + + export interface WUDelete { + Wuids?: Wuids; + BlockTillFinishTimer?: int; + } + + export interface WUDeleteResponse { + Exceptions?: Exceptions; + ActionResults?: ActionResults; + } + + export interface NamedValue { + Name?: string; + Value?: string; + } + + export interface DebugValues2 { + NamedValue?: NamedValue[]; + } + + export interface WUDeployWorkunit { + Cluster?: string; + Name?: string; + Wait?: int; + ObjType?: string; + FileName?: string; + Object?: base64Binary; + ResultLimit?: int; + QueryMainDefinition?: string; + Snapshot?: string; + DebugValues?: DebugValues2; + Protect?: boolean; + } + + export interface WUDeployWorkunitResponse { + Exceptions?: Exceptions; + Workunit?: Workunit; + } + + export interface PropertyFilter { + Name?: string; + ExactValue?: string; + MinValue?: string; + MaxValue?: string; + } + + export interface PropertyFilters { + PropertyFilter?: PropertyFilter[]; + } + + export interface ScopeFilter { + MaxDepth?: integer; + Scopes?: string[]; + Ids?: string[]; + ScopeTypes?: string[]; + PropertyFilters?: PropertyFilters; + } + + export interface NestedFilter { + Depth?: unsignedInt; + ScopeTypes?: string[]; + } + + export interface Extra { + scopeType?: string; + Properties?: string[]; + } + + export interface ExtraProperties { + Extra?: Extra[]; + } + + export interface PropertiesToReturn { + AllStatistics?: boolean; + AllAttributes?: boolean; + AllHints?: boolean; + AllScopes?: boolean; + AllProperties?: boolean; + AllNotes?: boolean; + MinVersion?: uint64; + Measure?: string; + Properties?: string[]; + ExtraProperties?: ExtraProperties; + } + + export interface ScopeOptions { + IncludeMatchedScopesInResults?: boolean; + IncludeScope?: boolean; + IncludeId?: boolean; + IncludeScopeType?: boolean; + } + + export interface WUDetails { + WUID?: string; + ScopeFilter?: ScopeFilter; + NestedFilter?: NestedFilter; + PropertiesToReturn?: PropertiesToReturn; + Filter?: string; + ScopeOptions?: ScopeOptions; + PropertyOptions?: PropertyOptions; + } + + export interface Scope { + ScopeName?: string; + Id?: string; + ScopeType?: string; + Properties?: Properties; + Notes?: Notes; + SinkActivity?: string; + } + + export interface Scopes { + Scope?: Scope[]; + } + + export interface WUDetailsResponse { + Exceptions?: Exceptions; + MaxVersion?: uint64; + WUID?: string; + Scopes?: Scopes; + } + + export interface WUDetailsMeta { + + } + + export interface Property2 { + Name?: string; + ValueType?: WUDetailsAttrValueType; + Description?: string; + } + + export interface Properties2 { + Property?: Property2[]; + } + + export interface ScopeTypes { + ScopeType?: string[]; + } + + export interface Measures { + Measure?: string[]; + } + + export interface Activity2 { + Kind?: unsignedInt; + Name?: string; + IsSink?: boolean; + IsSource?: boolean; + } + + export interface Activities2 { + Activity?: Activity2[]; + } + + export interface WUDetailsMetaResponse { + Exceptions?: Exceptions; + Properties?: Properties2; + ScopeTypes?: ScopeTypes; + Measures?: Measures; + Activities?: Activities2; + } + + export interface EclDefinitions { + Item?: string[]; + } + + export interface WUEclDefinitionAction { + EclDefinitions?: EclDefinitions; + ActionType?: EclDefinitionActions; + Target?: string; + RemoteDali?: string; + SourceProcess?: string; + Priority?: string; + Comment?: string; + MemoryLimit?: string; + DeletePrevious?: boolean; + SuspendPrevious?: boolean; + NoActivate?: boolean; + NoReload?: boolean; + DontCopyFiles?: boolean; + AllowForeign?: boolean; + UpdateDfs?: boolean; + UpdateSuperfiles?: boolean; + UpdateCloneFrom?: boolean; + DontAppendCluster?: boolean; + MsToWait?: int; + TimeLimit?: int; + WarnTimeLimit?: int; + DfuCopyFiles?: boolean; + DfuOverwrite?: boolean; + DfuQueue?: string; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + DfuTargetPlane?: string; + } + + export interface WUEclDefinitionActionResult { + EclDefinition?: string; + Action?: string; + WUID?: string; + QueryID?: string; + Result?: string; + } + + export interface ActionResults2 { + WUEclDefinitionActionResult?: WUEclDefinitionActionResult[]; + } + + export interface WUEclDefinitionActionResponse { + Exceptions?: Exceptions; + ActionResults?: ActionResults2; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface WUExport { + Cluster?: string; + Owner?: string; + State?: string; + StartDate?: string; + EndDate?: string; + Jobname?: string; + } + + export interface WUExportResponse { + Exceptions?: Exceptions; + ExportData?: base64Binary; + } + + export interface LogColumns { + Item?: string[]; + } + + export interface WUFile { + Name?: string; + Wuid?: string; + Type?: string; + Option?: int; + SlaveIP?: string; + IPAddress?: string; + Description?: string; + QuerySet?: string; + Query?: string; + Process?: string; + ClusterGroup?: string; + LogDate?: string; + SlaveNumber?: int; + SizeLimit?: long; + ErrorMessageFormat?: ErrorMessageFormat; + PlainText?: string; + MaxLogRecords?: unsignedInt; + LogSelectColumnMode?: LogSelectColumnMode; + LogFormat?: LogAccessLogFormat; + LogSearchTimeBuffSecs?: unsignedInt; + LogColumns?: LogColumns; + } + + export interface WULogFileResponse { + Exceptions?: Exceptions; + Wuid?: string; + QuerySet?: string; + QueryName?: string; + QueryId?: string; + FileName?: string; + DaliServer?: string; + thefile?: base64Binary; + } + + export interface WUFullResult { + Wuid?: string; + NoRootTag?: boolean; + ExceptionSeverity?: WUExceptionSeverity; + } + + export interface WUFullResultResponse { + Exceptions?: Exceptions; + Wuid?: string; + Results?: string; + } + + export interface WUGVCGraphInfo { + Wuid?: string; + Name?: string; + GID?: string; + BatchWU?: int; + SubgraphId?: int; + } + + export interface WUGVCGraphInfoResponse { + Exceptions?: Exceptions; + Wuid?: string; + Name?: string; + GID?: string; + Running?: boolean; + TheGraph?: string; + BatchWU?: int; + } + + export interface WUGetArchiveFile { + WUID?: string; + ModuleName?: string; + FileName?: string; + Path?: string; + } + + export interface WUGetArchiveFileResponse { + Exceptions?: Exceptions; + File?: string; + Message?: string; + } + + export interface WUGetDependancyTrees { + Cluster?: string; + Queue?: string; + Snapshot?: string; + Items?: string; + TimeoutMilliSec?: string; + } + + export interface WUGetDependancyTreesResponse { + Exceptions?: Exceptions; + Errors?: Errors; + DependancyTrees?: base64Binary; + } + + export interface WUGetGraph { + Wuid?: string; + GraphName?: string; + SubGraphId?: string; + } + + export interface ECLGraphEx { + Name?: string; + Label?: string; + Type?: string; + Graph?: string; + Running?: boolean; + RunningId?: long; + Complete?: boolean; + Failed?: boolean; + } + + export interface Graphs3 { + ECLGraphEx?: ECLGraphEx[]; + } + + export interface WUGetGraphResponse { + Exceptions?: Exceptions; + Graphs?: Graphs3; + } + + export interface WUGetGraphNameAndTypes { + Wuid?: string; + Type?: string; + } + + export interface GraphNameAndType { + Name?: string; + Type?: string; + } + + export interface GraphNameAndTypes { + GraphNameAndType?: GraphNameAndType[]; + } + + export interface WUGetGraphNameAndTypesResponse { + Exceptions?: Exceptions; + GraphNameAndTypes?: GraphNameAndTypes; + } + + export interface WUGetNumFileToCopy { + ClusterName?: string; + TargetName?: string; + PageSize?: long; + PageStartFrom?: long; + Sortby?: string; + Descending?: boolean; + CacheHint?: long; + } + + export interface Endpoint { + URL?: string; + Status?: string; + NumQueryFileToCopy?: int; + } + + export interface Endpoints { + Endpoint?: Endpoint[]; + } + + export interface WUGetNumFileToCopyResponse { + Exceptions?: Exceptions; + Endpoints?: Endpoints; + CacheHint?: long; + Total?: long; + } + + export interface WUGetPlugins { + + } + + export interface Plugins { + WUEclPluginsInFolder?: WUEclPluginsInFolder[]; + } + + export interface WUEclPluginsInFolder { + Path?: string; + Plugins?: Plugins; + } + + export interface WUGetPluginsResponse { + Exceptions?: Exceptions; + Plugins?: Plugins; + } + + export interface WUGetStats { + WUID?: string; + CreatorType?: string; + Creator?: string; + ScopeType?: string; + Scope?: string; + Kind?: string; + Measure?: string; + MinScopeDepth?: unsignedInt; + MaxScopeDepth?: unsignedInt; + IncludeGraphs?: boolean; + CreateDescriptions?: boolean; + MinValue?: long; + MaxValue?: long; + Filter?: string; + } + + export interface WUStatisticItem { + Creator?: string; + CreatorType?: string; + Scope?: string; + ScopeType?: string; + Description?: string; + TimeStamp?: string; + Measure?: string; + Kind?: string; + Value?: string; + RawValue?: long; + Count?: long; + Max?: long; + Wuid?: string; + } + + export interface Statistics { + WUStatisticItem?: WUStatisticItem[]; + } + + export interface WUGetStatsResponse { + Exceptions?: Exceptions; + WUID?: string; + Statistics?: Statistics; + } + + export interface WUGetThorJobList { + Cluster?: string; + StartDate?: string; + EndDate?: string; + MaxJobsToReturn?: unsignedInt; + } + + export interface ECLJob { + Wuid?: string; + Graph?: string; + State?: string; + StartedDate?: string; + FinishedDate?: string; + Cluster?: string; + GraphNum?: string; + SubGraphNum?: string; + NumOfRuns?: string; + Duration?: int; + } + + export interface JobList { + ECLJob?: ECLJob[]; + } + + export interface InProgressJobList { + ECLJob?: ECLJob[]; + } + + export interface WUGetThorJobListResponse { + Exceptions?: Exceptions; + JobList?: JobList; + InProgressJobList?: InProgressJobList; + Warning?: string; + } + + export interface WUGetThorJobQueue { + Cluster?: string; + StartDate?: string; + EndDate?: string; + MaxJobQueueItemsToReturn?: unsignedInt; + } + + export interface ThorQueue { + DT?: string; + RunningWUs?: string; + QueuedWUs?: string; + WaitingThors?: string; + ConnectedThors?: string; + IdledThors?: string; + RunningWU1?: string; + RunningWU2?: string; + } + + export interface QueueList { + ThorQueue?: ThorQueue[]; + } + + export interface WUGetThorJobQueueResponse { + Exceptions?: Exceptions; + LongestQueue?: int; + MaxThorConnected?: int; + QueueList?: QueueList; + Warning?: string; + } + + export interface WUGetZAPInfo { + WUID?: string; + } + + export interface WUGetZAPInfoResponse { + Exceptions?: Exceptions; + WUID?: string; + ESPApplication?: string; + ThorProcesses?: string; + BuildVersion?: string; + Archive?: string; + EmailTo?: string; + EmailFrom?: string; + Message?: string; + IsContainerized?: boolean; + } + + export interface WUGraphInfo { + Wuid?: string; + Name?: string; + GID?: string; + BatchWU?: int; + } + + export interface WUGraphInfoResponse { + Exceptions?: Exceptions; + Wuid?: string; + Name?: string; + GID?: string; + BatchWU?: int; + Running?: boolean; + } + + export interface WUGraphTiming { + Wuid?: string; + } + + export interface WUGraphTimingResponse { + Exceptions?: Exceptions; + Workunit?: Workunit; + } + + export interface WUInfo { + 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; + IncludeECL?: boolean; + IncludeHelpers?: boolean; + IncludeAllowedClusters?: boolean; + IncludeTotalClusterTime?: boolean; + IncludeServiceNames?: boolean; + IncludeProcesses?: boolean; + SuppressResultSchemas?: boolean; + ThorSlaveIP?: string; + } + + export interface ResultViews { + View?: string[]; + } + + export interface WUInfoResponse { + Exceptions?: Exceptions; + Workunit?: Workunit; + AutoRefresh?: int; + CanCompile?: boolean; + ThorSlaveIP?: string; + ResultViews?: ResultViews; + SecMethod?: string; + } + + export interface WUInfoDetails { + 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; + IncludeECL?: boolean; + IncludeHelpers?: boolean; + IncludeAllowedClusters?: boolean; + IncludeTotalClusterTime?: boolean; + IncludeServiceNames?: boolean; + IncludeProcesses?: boolean; + SuppressResultSchemas?: boolean; + ThorSlaveIP?: string; + } + + export interface WUJobList { + Cluster?: string; + Process?: string; + StartDate?: string; + EndDate?: string; + ShowAll?: boolean; + BusinessStartHour?: int; + BusinessEndHour?: int; + } + + export interface Jobs { + ECLJob?: ECLJob[]; + } + + export interface WUJobListResponse { + Exceptions?: Exceptions; + StartDate?: string; + EndDate?: string; + Jobs?: Jobs; + } + + export interface WULightWeightQuery { + Wuid?: string; + Type?: string; + Cluster?: string; + Owner?: string; + JobName?: string; + StartDate?: string; + EndDate?: string; + BeforeWU?: string; + AfterWU?: string; + State?: string; + ApplicationValues?: ApplicationValues; + PageStartFrom?: long; + PageSize?: unsignedInt; + SortBy?: string; + Descending?: boolean; + CacheHint?: long; + } + + export interface ECLWorkunitLW { + Wuid?: string; + Owner?: string; + JobName?: string; + WuScope?: string; + ClusterName?: string; + State?: int; + StateDesc?: string; + Action?: int; + ActionDesc?: string; + Priority?: int; + PriorityDesc?: string; + PriorityLevel?: int; + IsProtected?: boolean; + DateTimeScheduled?: dateTime; + TotalClusterTime?: unsignedInt; + ApplicationValues?: ApplicationValues; + NoAccess?: boolean; + } + + export interface Workunits { + ECLWorkunitLW?: ECLWorkunitLW[]; + } + + export interface WULightWeightQueryResponse { + Exceptions?: Exceptions; + NumWUs?: int; + CacheHint?: long; + Workunits?: Workunits; + } + + export interface WUListArchiveFiles { + WUID?: string; + } + + export interface ArchiveModules { + ArchiveModule?: ArchiveModule[]; + } + + export interface File2 { + Name?: string; + Key?: string; + SourcePath?: string; + Path?: string; + } + + export interface Files { + File?: File2[]; + } + + export interface ArchiveModule { + Name?: string; + FullName?: string; + Flags?: unsignedInt; + Key?: string; + Plugin?: string; + SourcePath?: string; + Version?: string; + Path?: string; + ArchiveModules?: ArchiveModules; + Files?: Files; + } + + export interface WUListArchiveFilesResponse { + Exceptions?: Exceptions; + ArchiveModules?: ArchiveModules; + Files?: Files; + Message?: string; + } + + export interface WUListLocalFileRequired { + Wuid?: string; + } + + export interface LogicalFileUpload { + Type?: int; + Source?: string; + Destination?: string; + EventTag?: string; + } + + export interface LocalFileUploads { + LogicalFileUpload?: LogicalFileUpload[]; + } + + export interface WUListLocalFileRequiredResponse { + Exceptions?: Exceptions; + LocalFileUploads?: LocalFileUploads; + } + + export interface WUListQueries { + QuerySetName?: string; + ClusterName?: string; + LibraryName?: string; + MemoryLimitLow?: long; + MemoryLimitHigh?: long; + TimeLimitLow?: nonNegativeInteger; + TimeLimitHigh?: nonNegativeInteger; + WarnTimeLimitLow?: nonNegativeInteger; + WarnTimeLimitHigh?: nonNegativeInteger; + PriorityLow?: nonNegativeInteger; + PriorityHigh?: nonNegativeInteger; + Activated?: boolean; + SuspendedFilter?: WUQueryFilterSuspendedType; + WUID?: string; + QueryID?: string; + QueryName?: string; + PublishedBy?: string; + PageSize?: nonNegativeInteger; + PageStartFrom?: nonNegativeInteger; + Sortby?: string; + Descending?: boolean; + CacheHint?: long; + FileName?: string; + CheckAllNodes?: boolean; + } + + export interface ClusterQueryState { + Cluster?: string; + State?: string; + Errors?: string; + MixedNodeStates?: boolean; + } + + export interface Clusters2 { + ClusterQueryState?: ClusterQueryState[]; + } + + export interface QuerySetQuery { + Id?: string; + Name?: string; + Wuid?: string; + Dll?: string; + Suspended?: boolean; + Clusters?: Clusters2; + memoryLimit?: string; + timeLimit?: nonNegativeInteger; + warnTimeLimit?: nonNegativeInteger; + priority?: string; + Comment?: string; + QuerySetId?: string; + IsLibrary?: boolean; + Activated?: boolean; + PublishedBy?: string; + snapshot?: string; + PriorityID?: int; + } + + export interface QuerysetQueries { + QuerySetQuery?: QuerySetQuery[]; + } + + export interface WUListQueriesResponse { + Exceptions?: Exceptions; + NumberOfQueries?: int; + CacheHint?: long; + QuerysetQueries?: QuerysetQueries; + } + + export interface WUListQueriesUsingFile { + Target?: string; + Process?: string; + FileName?: string; + } + + export interface QueryUsingFile { + Id?: string; + Package?: string; + } + + export interface Queries { + QueryUsingFile?: QueryUsingFile[]; + } + + export interface TargetQueriesUsingFile { + Target?: string; + PackageMap?: string; + Queries?: Queries; + } + + export interface Targets { + TargetQueriesUsingFile?: TargetQueriesUsingFile[]; + } + + export interface WUListQueriesUsingFileResponse { + Exceptions?: Exceptions; + Process?: string; + FileName?: string; + Targets?: Targets; + } + + export interface WUMultiQuerysetDetails { + ClusterName?: string; + QuerySetName?: string; + Filter?: string; + FilterType?: WUQuerySetFilterType; + CheckAllNodes?: boolean; + } + + export interface Queries2 { + QuerySetQuery?: QuerySetQuery[]; + } + + export interface QuerySetAlias { + Id?: string; + Name?: string; + } + + export interface Aliases { + QuerySetAlias?: QuerySetAlias[]; + } + + export interface WUQuerySetDetail { + QuerySetName?: string; + Queries?: Queries2; + Aliases?: Aliases; + } + + export interface Querysets { + WUQuerySetDetail?: WUQuerySetDetail[]; + } + + export interface WUMultiQuerySetDetailsResponse { + Exceptions?: Exceptions; + ClusterName?: string; + Querysets?: Querysets; + } + + export interface WUProcessGraph { + Wuid?: string; + Name?: string; + } + + export interface WUProcessGraphResponse { + Exceptions?: Exceptions; + theGraph?: string; + } + + export interface WUProtect { + Wuids?: Wuids; + Protect?: boolean; + } + + export interface WUProtectResponse { + Exceptions?: Exceptions; + ActionResults?: ActionResults; + } + + export interface WUPublishWorkunit { + Wuid?: string; + Cluster?: string; + QueryName?: string; + WorkUnitJobName?: string; + JobName?: string; + Activate?: int; + NotifyCluster?: boolean; + Wait?: int; + NoReload?: boolean; + UpdateWorkUnitName?: boolean; + memoryLimit?: string; + TimeLimit?: nonNegativeInteger; + WarnTimeLimit?: nonNegativeInteger; + Priority?: string; + RemoteDali?: string; + Comment?: string; + DontCopyFiles?: boolean; + SourceProcess?: string; + AllowForeignFiles?: boolean; + UpdateDfs?: boolean; + UpdateSuperFiles?: boolean; + UpdateCloneFrom?: boolean; + AppendCluster?: boolean; + IncludeFileErrors?: boolean; + DfuCopyFiles?: boolean; + DfuQueue?: string; + DfuWait?: nonNegativeInteger; + DfuOverwrite?: boolean; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + KeyCompression?: string; + DfuTargetPlane?: string; + } + + export interface WUPublishWorkunitResponse { + Exceptions?: Exceptions; + Wuid?: string; + Result?: string; + QuerySet?: string; + QueryName?: string; + QueryId?: string; + ReloadFailed?: boolean; + Suspended?: boolean; + ErrorMessage?: string; + ClusterFiles?: ClusterFiles; + FileErrors?: FileErrors; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface WUPushEvent { + EventName?: string; + EventText?: string; + } + + export interface WUPushEventResponse { + Exceptions?: Exceptions; + } + + export interface WUQuery { + 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?: ApplicationValues; + BeforeWU?: string; + AfterWU?: string; + TotalClusterTimeThresholdMilliSec?: unsignedInt; + Count?: int; + PageSize?: long; + PageStartFrom?: long; + PageEndAt?: long; + Protected?: WUProtectFilter; + MinimumExecuteCost?: double; + MinimumFileAccessCost?: double; + MinimumCompileCost?: double; + Sortby?: string; + Descending?: boolean; + CacheHint?: long; + } + + export interface ECLWorkunit { + Wuid?: string; + Owner?: string; + Cluster?: string; + RoxieCluster?: string; + Jobname?: string; + Queue?: string; + StateID?: int; + State?: string; + StateEx?: string; + Description?: string; + Protected?: boolean; + Active?: boolean; + Action?: int; + ActionEx?: string; + DateTimeScheduled?: dateTime; + PriorityClass?: int; + PriorityLevel?: int; + Scope?: string; + Snapshot?: string; + ResultLimit?: int; + Archived?: boolean; + IsPausing?: boolean; + ThorLCR?: boolean; + EventSchedule?: int; + 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?: int; + WarningCount?: int; + InfoCount?: int; + AlertCount?: int; + GraphCount?: int; + SourceFileCount?: int; + ResultCount?: int; + VariableCount?: int; + TimerCount?: int; + HasDebugValue?: boolean; + ApplicationValueCount?: int; + XmlParams?: string; + AccessFlag?: int; + ClusterFlag?: int; + 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?: int; + ResourceURLCount?: int; + DebugValueCount?: int; + WorkflowCount?: int; + HelpersCount?: int; + ServiceNames?: ServiceNames; + ExecuteCost?: double; + FileAccessCost?: double; + CostSavingPotential?: double; + CompileCost?: double; + NoAccess?: boolean; + ECLWUProcessList?: ECLWUProcessList; + } + + export interface Workunits2 { + ECLWorkunit?: ECLWorkunit[]; + } + + export interface WUQueryResponse { + 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?: int; + PageSize?: long; + PrevPage?: long; + NextPage?: long; + LastPage?: long; + NumWUs?: int; + First?: boolean; + PageStartFrom?: long; + PageEndAt?: long; + Sortby?: string; + Descending?: boolean; + BasicQuery?: string; + Filters?: string; + CacheHint?: long; + Workunits?: Workunits2; + } + + export interface WUQueryConfig { + Target?: string; + QueryId?: string; + Wait?: int; + NoReload?: boolean; + memoryLimit?: string; + TimeLimit?: nonNegativeInteger; + WarnTimeLimit?: nonNegativeInteger; + Priority?: string; + Comment?: string; + } + + export interface Result { + QueryId?: string; + } + + export interface Results2 { + Result?: Result[]; + } + + export interface WUQueryConfigResponse { + Exceptions?: Exceptions; + ReloadFailed?: boolean; + Results?: Results2; + } + + export interface WUQueryDetails { + QueryId?: string; + QuerySet?: string; + IncludeStateOnClusters?: boolean; + IncludeSuperFiles?: boolean; + IncludeWsEclAddresses?: boolean; + CheckAllNodes?: boolean; + IncludeWUDetails?: boolean; + IncludeWUQueryFiles?: boolean; + } + + export interface LogicalFiles { + Item?: string[]; + } + + export interface SubFiles { + File?: string[]; + } + + export interface SuperFiles { + SuperFile?: SuperFile[]; + } + + export interface SuperFile { + Name?: string; + SubFiles?: SubFiles; + SuperFiles?: SuperFiles; + } + + export interface LibrariesUsed { + Item?: string[]; + } + + export interface WsEclAddresses { + Address?: string[]; + } + + export interface WUGraphs { + ECLGraph?: ECLGraph[]; + } + + export interface WUTimers { + ECLTimer?: ECLTimer[]; + } + + export interface WUQueryDetailsResponse { + Exceptions?: Exceptions; + QueryId?: string; + QuerySet?: string; + QueryName?: string; + Wuid?: string; + Dll?: string; + Suspended?: boolean; + Activated?: boolean; + SuspendedBy?: string; + Clusters?: Clusters2; + PublishedBy?: string; + Comment?: string; + LogicalFiles?: LogicalFiles; + SuperFiles?: SuperFiles; + IsLibrary?: boolean; + Priority?: string; + PriorityID?: int; + WUSnapShot?: string; + CompileTime?: string; + LibrariesUsed?: LibrariesUsed; + CountGraphs?: int; + ResourceURLCount?: int; + WsEclAddresses?: WsEclAddresses; + WUGraphs?: WUGraphs; + WUTimers?: WUTimers; + } + + export interface WUQueryDetailsLightWeight { + QueryId?: string; + QuerySet?: string; + IncludeWUDetails?: boolean; + IncludeWUQueryFiles?: boolean; + IncludeSuperFiles?: boolean; + IncludeWsEclAddresses?: boolean; + IncludeStateOnClusters?: boolean; + CheckAllNodes?: boolean; + } + + export interface WUQueryFiles { + Target?: string; + QueryId?: string; + } + + export interface File3 { + FileName?: string; + FileSize?: long; + NumberOfParts?: unsignedInt; + } + + export interface Files2 { + File?: File3[]; + } + + export interface Query2 { + QueryId?: string; + Files?: Files2; + SuperFiles?: SuperFiles; + } + + export interface Queries3 { + Query?: Query2[]; + } + + export interface WUQueryFilesResponse { + Exceptions?: Exceptions; + Files?: Files2; + SuperFiles?: SuperFiles; + Queries?: Queries3; + } + + export interface WUQueryGetGraph { + Target?: string; + QueryId?: string; + GraphName?: string; + SubGraphId?: string; + } + + export interface WUQueryGetGraphResponse { + Exceptions?: Exceptions; + Graphs?: Graphs3; + } + + export interface WUQueryGetSummaryStats { + Target?: string; + QueryId?: string; + FromTime?: string; + ToTime?: string; + IncludeRawStats?: boolean; + } + + export interface QuerySummaryStats { + Endpoint?: string; + Status?: string; + StartTime?: string; + EndTime?: string; + CountTotal?: int; + CountFailed?: int; + AverageSlavesReplyLen?: int; + AverageBytesOut?: long; + SizeAvgPeakMemory?: long; + TimeAvgTotalExecuteMinutes?: long; + TimeMinTotalExecuteMinutes?: long; + TimeMaxTotalExecuteMinutes?: long; + Percentile97?: long; + Percentile97Estimate?: boolean; + } + + export interface StatsList { + QuerySummaryStats?: QuerySummaryStats[]; + } + + export interface AggregateQueryStatsList { + QuerySummaryStats?: QuerySummaryStats[]; + } + + export interface QueryStatsRecord { + StartTime?: string; + ElapsedTimeMs?: long; + MemoryUsed?: long; + BytesOut?: long; + SlavesReplyLen?: int; + Failed?: boolean; + } + + export interface QueryStatsRecordList { + QueryStatsRecord?: QueryStatsRecord[]; + } + + export interface QueryStats { + ID?: string; + AggregateQueryStatsList?: AggregateQueryStatsList; + QueryStatsRecordList?: QueryStatsRecordList; + } + + export interface QueryStatsList { + EndpointQueryStats?: EndpointQueryStats[]; + } + + export interface EndpointQueryStats { + Endpoint?: string; + Status?: string; + QueryStatsList?: QueryStatsList; + } + + export interface WUQueryGetSummaryStatsResponse { + Exceptions?: Exceptions; + StatsList?: StatsList; + QueryStatsList?: QueryStatsList; + } + + export interface Alias { + Name?: string; + } + + export interface Aliases2 { + Alias?: Alias[]; + } + + export interface WUQuerysetAliasAction { + Action?: QuerySetAliasActionTypes; + QuerySetName?: string; + Aliases?: Aliases2; + } + + export interface Result2 { + Name?: string; + Success?: boolean; + Code?: int; + Message?: string; + } + + export interface Results3 { + Result?: Result2[]; + } + + export interface WUQuerySetAliasActionResponse { + Exceptions?: Exceptions; + Action?: QuerySetAliasActionTypes; + QuerySetName?: string; + Results?: Results3; + } + + export interface WUQuerysetCopyQuery { + Source?: string; + Target?: string; + Cluster?: string; + DaliServer?: string; + Activate?: int; + Overwrite?: boolean; + DontCopyFiles?: boolean; + Wait?: int; + NoReload?: boolean; + memoryLimit?: string; + TimeLimit?: nonNegativeInteger; + WarnTimeLimit?: nonNegativeInteger; + priority?: string; + Comment?: string; + SourceProcess?: string; + DestName?: string; + AllowForeignFiles?: boolean; + UpdateSuperFiles?: boolean; + UpdateCloneFrom?: boolean; + AppendCluster?: boolean; + IncludeFileErrors?: boolean; + SourceSSL?: boolean; + DfuCopyFiles?: boolean; + DfuQueue?: string; + DfuWait?: nonNegativeInteger; + DfuOverwrite?: boolean; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + KeyCompression?: string; + DfuTargetPlane?: string; + } + + export interface WUQuerySetCopyQueryResponse { + Exceptions?: Exceptions; + QueryId?: string; + FileErrors?: FileErrors; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface WUQuerysetDetails { + QuerySetName?: string; + Filter?: string; + ClusterName?: string; + FilterType?: WUQuerySetFilterType; + CheckAllNodes?: boolean; + } + + export interface QuerysetAliases { + QuerySetAlias?: QuerySetAlias[]; + } + + export interface ClusterNames { + Item?: string[]; + } + + export interface WUQuerySetDetailsResponse { + Exceptions?: Exceptions; + QuerySetName?: string; + QuerysetQueries?: QuerysetQueries; + QuerysetAliases?: QuerysetAliases; + ClusterName?: string; + Filter?: string; + FilterType?: WUQuerySetFilterType; + ClusterNames?: ClusterNames; + } + + export interface WUQuerysetExport { + Target?: string; + Compress?: boolean; + ActiveOnly?: boolean; + Protect?: boolean; + } + + export interface WUQuerysetExportResponse { + Exceptions?: Exceptions; + Target?: string; + Compressed?: boolean; + Data?: base64Binary; + } + + export interface WUQuerysetImport { + Target?: string; + QueryMask?: string; + Replace?: boolean; + ActiveOnly?: boolean; + Activation?: QuerysetImportActivation; + Compressed?: boolean; + Data?: base64Binary; + AllowForeignFiles?: boolean; + DfsServer?: string; + CopyFiles?: boolean; + OverwriteDfs?: boolean; + SourceProcess?: string; + UpdateSuperFiles?: boolean; + UpdateCloneFrom?: boolean; + AppendCluster?: boolean; + IncludeFileErrors?: boolean; + DfuCopyFiles?: boolean; + DfuQueue?: string; + DfuWait?: nonNegativeInteger; + DfuOverwrite?: boolean; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + KeyCompression?: string; + DfuTargetPlane?: string; + } + + export interface ImportedQueries { + QueryId?: string[]; + } + + export interface MissingWuids { + QueryId?: string[]; + } + + export interface WUQuerysetImportResponse { + Exceptions?: Exceptions; + Target?: string; + ClearedExisting?: boolean; + Success?: boolean; + ImportedQueries?: ImportedQueries; + ExistingQueries?: ExistingQueries; + MissingWuids?: MissingWuids; + FileErrors?: FileErrors; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface ClientState { + Suspended?: string; + } + + export interface Query3 { + QueryId?: string; + Activated?: boolean; + SuspendedByUser?: boolean; + ClientState?: ClientState; + } + + export interface Queries4 { + Query?: Query3[]; + } + + export interface WUQuerysetQueryAction { + Action?: QuerySetQueryActionTypes; + QuerySetName?: string; + Queries?: Queries4; + } + + export interface Result3 { + QueryId?: string; + WUID?: string; + Suspended?: boolean; + Success?: boolean; + Code?: int; + Message?: string; + } + + export interface Results4 { + Result?: Result3[]; + } + + export interface WUQuerySetQueryActionResponse { + Exceptions?: Exceptions; + Action?: QuerySetQueryActionTypes; + QuerySetName?: string; + Results?: Results4; + } + + export interface WUQuerysets { + test?: boolean; + } + + export interface QuerySet { + QuerySetName?: string; + } + + export interface Querysets2 { + QuerySet?: QuerySet[]; + } + + export interface WUQuerysetsResponse { + Exceptions?: Exceptions; + Querysets?: Querysets2; + } + + export interface WURecreateQuery { + Target?: string; + QueryId?: string; + DebugValues?: DebugValues2; + DestTarget?: string; + Republish?: boolean; + Activate?: WUQueryActivationMode; + NoReload?: boolean; + MemoryLimit?: string; + TimeLimit?: nonNegativeInteger; + WarnTimeLimit?: nonNegativeInteger; + Priority?: string; + Comment?: string; + RemoteDali?: string; + DontCopyFiles?: boolean; + SourceProcess?: string; + AllowForeignFiles?: boolean; + UpdateDfs?: boolean; + UpdateSuperFiles?: boolean; + UpdateCloneFrom?: boolean; + AppendCluster?: boolean; + IncludeFileErrors?: boolean; + Wait?: int; + DfuCopyFiles?: boolean; + DfuQueue?: string; + DfuWait?: nonNegativeInteger; + DfuOverwrite?: boolean; + OnlyCopyFiles?: boolean; + StopIfFilesCopied?: boolean; + DfuPublisherWuid?: string; + RemoteStorage?: string; + KeyCompression?: string; + DfuTargetPlane?: string; + } + + export interface WURecreateQueryResponse { + Exceptions?: Exceptions; + Wuid?: string; + QuerySet?: string; + QueryName?: string; + QueryId?: string; + MemoryLimit?: string; + TimeLimit?: nonNegativeInteger; + WarnTimeLimit?: nonNegativeInteger; + Priority?: string; + Comment?: string; + ReloadFailed?: boolean; + Suspended?: boolean; + ErrorMessage?: string; + FileErrors?: FileErrors; + DfuPublisherWuid?: string; + DfuPublisherState?: string; + } + + export interface WUResubmit { + Wuids?: Wuids; + BlockTillFinishTimer?: int; + ResetWorkflow?: boolean; + CloneWorkunit?: boolean; + } + + export interface WU { + WUID?: string; + ParentWUID?: string; + } + + export interface WUs { + WU?: WU[]; + } + + export interface WUResubmitResponse { + Exceptions?: Exceptions; + WUs?: WUs; + } + + export interface FilterBy { + NamedValue?: NamedValue[]; + } + + export interface WUResult { + Wuid?: string; + Sequence?: int; + ResultName?: string; + LogicalName?: string; + Cluster?: string; + SuppressXmlSchema?: boolean; + BypassCachedResult?: boolean; + FilterBy?: FilterBy; + Start?: long; + Count?: int; + } + + export interface WUResultResponse { + Exceptions?: Exceptions; + Wuid?: string; + Sequence?: int; + LogicalName?: string; + Cluster?: string; + Name?: string; + Start?: long; + Requested?: int; + Count?: int; + Total?: long; + Result?: string; + } + + export interface WUResultBin { + LogicalName?: string; + Wuid?: string; + ResultName?: string; + Sequence?: int; + Format?: string; + Cluster?: string; + FilterBy?: FilterBy; + Start?: long; + Count?: int; + } + + export interface WUResultBinResponse { + Exceptions?: Exceptions; + Wuid?: string; + Sequence?: int; + Name?: string; + Start?: long; + Count?: int; + Requested?: int; + Total?: long; + Result?: base64Binary; + Format?: string; + } + + export interface WUResultSummary { + Wuid?: string; + Sequence?: int; + } + + export interface Result4 { + Name?: string; + Sequence?: int; + Value?: string; + Link?: string; + FileName?: string; + IsSupplied?: boolean; + ShowFileContent?: boolean; + Total?: long; + ECLSchemas?: ECLSchemas; + XmlSchema?: string; + } + + export interface WUResultSummaryResponse { + Exceptions?: Exceptions; + Wuid?: string; + Sequence?: int; + Format?: int; + Result?: Result4; + } + + export interface WUResultView { + Wuid?: string; + ViewName?: string; + Sequence?: int; + ResultName?: string; + } + + export interface WUResultViewResponse { + Exceptions?: Exceptions; + Wuid?: string; + ViewName?: string; + Result?: string; + } + + export interface Variables2 { + NamedValue?: NamedValue[]; + } + + export interface WURun { + QuerySet?: string; + Query?: string; + Wuid?: string; + CloneWorkunit?: boolean; + Cluster?: string; + Wait?: int; + Input?: string; + NoRootTag?: boolean; + DebugValues?: DebugValues2; + Variables?: Variables2; + ApplicationValues?: ApplicationValues; + ExceptionSeverity?: WUExceptionSeverity; + } + + export interface WURunResponse { + Exceptions?: Exceptions; + Wuid?: string; + State?: string; + Results?: string; + } + + export interface WUSchedule { + Wuid?: string; + Cluster?: string; + Queue?: string; + Snapshot?: string; + When?: dateTime; + MaxRunTime?: int; + } + + export interface WUScheduleResponse { + Exceptions?: Exceptions; + } + + export interface WUShowScheduled { + Cluster?: string; + EventName?: string; + PushEventName?: string; + PushEventText?: string; + State?: string; + JobName?: string; + Owner?: string; + EventText?: string; + } + + export interface ServerInfo { + Name?: string; + NetAddress?: string; + } + + export interface Clusters3 { + ServerInfo?: ServerInfo[]; + } + + export interface ScheduledWU { + Wuid?: string; + Cluster?: string; + EventName?: string; + EventText?: string; + JobName?: string; + StateID?: int; + State?: string; + Owner?: string; + } + + export interface Workunits3 { + ScheduledWU?: ScheduledWU[]; + } + + export interface WUShowScheduledResponse { + Exceptions?: Exceptions; + ClusterSelected?: int; + EventName?: string; + PushEventName?: string; + PushEventText?: string; + Query?: string; + Clusters?: Clusters3; + Workunits?: Workunits3; + } + + export interface WUSubmit { + Wuid?: string; + Cluster?: string; + Queue?: string; + Snapshot?: string; + MaxRunTime?: int; + MaxCost?: int; + BlockTillFinishTimer?: int; + SyntaxCheck?: boolean; + NotifyCluster?: boolean; + } + + export interface WUSubmitResponse { + Exceptions?: Exceptions; + } + + export interface WUSyntaxCheckECL { + ECL?: string; + ModuleName?: string; + AttributeName?: string; + Queue?: string; + Cluster?: string; + Snapshot?: string; + TimeToWait?: int; + PersistWorkunit?: boolean; + DebugValues?: DebugValues; + } + + export interface WUSyntaxCheckResponse { + Exceptions?: Exceptions; + Errors?: Errors; + Message?: string; + } + + export interface WUUpdate { + Wuid?: string; + State?: int; + StateOrig?: int; + Jobname?: string; + JobnameOrig?: string; + QueryText?: string; + Action?: int; + Description?: string; + DescriptionOrig?: string; + AddDrilldownFields?: boolean; + ResultLimit?: int; + Protected?: boolean; + ProtectedOrig?: boolean; + PriorityClass?: int; + PriorityLevel?: int; + Scope?: string; + ScopeOrig?: string; + ClusterSelection?: string; + ClusterOrig?: string; + XmlParams?: string; + ThorSlaveIP?: string; + QueryMainDefinition?: string; + DebugValues?: DebugValues; + ApplicationValues?: ApplicationValues; + } + + export interface WUUpdateQueryEntry { + QuerySet?: string; + QueryId?: string; + Comment?: string; + } + + export interface WUUpdateQueryEntryResponse { + Exceptions?: Exceptions; + } + + export interface WUWaitCompiled { + Wuid?: string; + Wait?: int; + ReturnOnWait?: boolean; + } + + export interface WUWaitResponse { + Exceptions?: Exceptions; + StateID?: int; + } + + export interface WUWaitComplete { + Wuid?: string; + Wait?: int; + ReturnOnWait?: boolean; + } + +} + +export class WorkunitsServiceBase extends Service { + + constructor(optsConnection: IOptions | IConnection) { + super(optsConnection, "WsWorkunits", "2.05"); + } + + GVCAjaxGraph(request: WsWorkunits.GVCAjaxGraph, abortSignal?: AbortSignal): Promise { + return this._connection.send("GVCAjaxGraph", request, "json", false, abortSignal, "GVCAjaxGraphResponse"); + } + + Ping(request: WsWorkunits.Ping, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "WsWorkunitsPingResponse"); + } + + WUAbort(request: WsWorkunits.WUAbort, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUAbort", request, "json", false, abortSignal, "WUAbortResponse"); + } + + WUAction(request: WsWorkunits.WUAction, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUAction", request, "json", false, abortSignal, "WUActionResponse"); + } + + WUAddLocalFileToWorkunit(request: WsWorkunits.WUAddLocalFileToWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUAddLocalFileToWorkunit", request, "json", false, abortSignal, "WUAddLocalFileToWorkunitResponse"); + } + + WUAnalyseHotspot(request: WsWorkunits.WUAnalyseHotspot, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUAnalyseHotspot", request, "json", false, abortSignal, "WUAnalyseHotspotResponse"); + } + + WUCDebug(request: WsWorkunits.WUCDebug, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUCDebug", request, "json", false, abortSignal, "WUDebugResponse"); + } + + WUCheckFeatures(request: WsWorkunits.WUCheckFeatures, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUCheckFeatures", request, "json", false, abortSignal, "WUCheckFeaturesResponse"); + } + + WUClusterJobQueueLOG(request: WsWorkunits.WUClusterJobQueueLOG, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUClusterJobQueueLOG", request, "json", false, abortSignal, "WUClusterJobQueueLOGResponse"); + } + + WUClusterJobQueueXLS(request: WsWorkunits.WUClusterJobQueueXLS, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUClusterJobQueueXLS", request, "json", false, abortSignal, "WUClusterJobQueueXLSResponse"); + } + + WUClusterJobSummaryXLS(request: WsWorkunits.WUClusterJobSummaryXLS, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUClusterJobSummaryXLS", request, "json", false, abortSignal, "WUClusterJobSummaryXLSResponse"); + } + + WUClusterJobXLS(request: WsWorkunits.WUClusterJobXLS, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUClusterJobXLS", request, "json", false, abortSignal, "WUClusterJobXLSResponse"); + } + + WUCompileECL(request: WsWorkunits.WUCompileECL, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUCompileECL", request, "json", false, abortSignal, "WUCompileECLResponse"); + } + + WUCopyLogicalFiles(request: WsWorkunits.WUCopyLogicalFiles, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUCopyLogicalFiles", request, "json", false, abortSignal, "WUCopyLogicalFilesResponse"); + } + + WUCopyQuerySet(request: WsWorkunits.WUCopyQuerySet, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUCopyQuerySet", request, "json", false, abortSignal, "WUCopyQuerySetResponse"); + } + + WUCreate(request: WsWorkunits.WUCreate, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUCreate", request, "json", false, abortSignal, "WUCreateResponse"); + } + + WUCreateAndUpdate(request: WsWorkunits.WUCreateAndUpdate, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUCreateAndUpdate", request, "json", false, abortSignal, "WUUpdateResponse"); + } + + WUCreateZAPInfo(request: WsWorkunits.WUCreateZAPInfo, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUCreateZAPInfo", request, "json", false, abortSignal, "WUCreateZAPInfoResponse"); + } + + WUDelete(request: WsWorkunits.WUDelete, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUDelete", request, "json", false, abortSignal, "WUDeleteResponse"); + } + + WUDeployWorkunit(request: WsWorkunits.WUDeployWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUDeployWorkunit", request, "json", false, abortSignal, "WUDeployWorkunitResponse"); + } + + WUDetails(request: WsWorkunits.WUDetails, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUDetails", request, "json", false, abortSignal, "WUDetailsResponse"); + } + + WUDetailsMeta(request: WsWorkunits.WUDetailsMeta, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUDetailsMeta", request, "json", false, abortSignal, "WUDetailsMetaResponse"); + } + + WUEclDefinitionAction(request: WsWorkunits.WUEclDefinitionAction, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUEclDefinitionAction", request, "json", false, abortSignal, "WUEclDefinitionActionResponse"); + } + + WUExport(request: WsWorkunits.WUExport, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUExport", request, "json", false, abortSignal, "WUExportResponse"); + } + + WUFile(request: WsWorkunits.WUFile, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUFile", request, "json", false, abortSignal, "WULogFileResponse"); + } + + WUFullResult(request: WsWorkunits.WUFullResult, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUFullResult", request, "json", false, abortSignal, "WUFullResultResponse"); + } + + WUGVCGraphInfo(request: WsWorkunits.WUGVCGraphInfo, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGVCGraphInfo", request, "json", false, abortSignal, "WUGVCGraphInfoResponse"); + } + + WUGetArchiveFile(request: WsWorkunits.WUGetArchiveFile, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetArchiveFile", request, "json", false, abortSignal, "WUGetArchiveFileResponse"); + } + + WUGetDependancyTrees(request: WsWorkunits.WUGetDependancyTrees, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetDependancyTrees", request, "json", false, abortSignal, "WUGetDependancyTreesResponse"); + } + + WUGetGraph(request: WsWorkunits.WUGetGraph, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetGraph", request, "json", false, abortSignal, "WUGetGraphResponse"); + } + + WUGetGraphNameAndTypes(request: WsWorkunits.WUGetGraphNameAndTypes, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetGraphNameAndTypes", request, "json", false, abortSignal, "WUGetGraphNameAndTypesResponse"); + } + + WUGetNumFileToCopy(request: WsWorkunits.WUGetNumFileToCopy, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetNumFileToCopy", request, "json", false, abortSignal, "WUGetNumFileToCopyResponse"); + } + + WUGetPlugins(request: WsWorkunits.WUGetPlugins, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetPlugins", request, "json", false, abortSignal, "WUGetPluginsResponse"); + } + + WUGetStats(request: WsWorkunits.WUGetStats, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetStats", request, "json", false, abortSignal, "WUGetStatsResponse"); + } + + WUGetThorJobList(request: WsWorkunits.WUGetThorJobList, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetThorJobList", request, "json", false, abortSignal, "WUGetThorJobListResponse"); + } + + WUGetThorJobQueue(request: WsWorkunits.WUGetThorJobQueue, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetThorJobQueue", request, "json", false, abortSignal, "WUGetThorJobQueueResponse"); + } + + WUGetZAPInfo(request: WsWorkunits.WUGetZAPInfo, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGetZAPInfo", request, "json", false, abortSignal, "WUGetZAPInfoResponse"); + } + + WUGraphInfo(request: WsWorkunits.WUGraphInfo, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGraphInfo", request, "json", false, abortSignal, "WUGraphInfoResponse"); + } + + WUGraphTiming(request: WsWorkunits.WUGraphTiming, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUGraphTiming", request, "json", false, abortSignal, "WUGraphTimingResponse"); + } + + WUInfo(request: WsWorkunits.WUInfo, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUInfo", request, "json", false, abortSignal, "WUInfoResponse"); + } + + WUInfoDetails(request: WsWorkunits.WUInfoDetails, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUInfoDetails", request, "json", false, abortSignal, "WUInfoResponse"); + } + + WUJobList(request: WsWorkunits.WUJobList, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUJobList", request, "json", false, abortSignal, "WUJobListResponse"); + } + + WULightWeightQuery(request: WsWorkunits.WULightWeightQuery, abortSignal?: AbortSignal): Promise { + return this._connection.send("WULightWeightQuery", request, "json", false, abortSignal, "WULightWeightQueryResponse"); + } + + WUListArchiveFiles(request: WsWorkunits.WUListArchiveFiles, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUListArchiveFiles", request, "json", false, abortSignal, "WUListArchiveFilesResponse"); + } + + WUListLocalFileRequired(request: WsWorkunits.WUListLocalFileRequired, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUListLocalFileRequired", request, "json", false, abortSignal, "WUListLocalFileRequiredResponse"); + } + + WUListQueries(request: WsWorkunits.WUListQueries, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUListQueries", request, "json", false, abortSignal, "WUListQueriesResponse"); + } + + WUListQueriesUsingFile(request: WsWorkunits.WUListQueriesUsingFile, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUListQueriesUsingFile", request, "json", false, abortSignal, "WUListQueriesUsingFileResponse"); + } + + WUMultiQuerysetDetails(request: WsWorkunits.WUMultiQuerysetDetails, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUMultiQuerysetDetails", request, "json", false, abortSignal, "WUMultiQuerySetDetailsResponse"); + } + + WUProcessGraph(request: WsWorkunits.WUProcessGraph, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUProcessGraph", request, "json", false, abortSignal, "WUProcessGraphResponse"); + } + + WUProtect(request: WsWorkunits.WUProtect, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUProtect", request, "json", false, abortSignal, "WUProtectResponse"); + } + + WUPublishWorkunit(request: WsWorkunits.WUPublishWorkunit, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUPublishWorkunit", request, "json", false, abortSignal, "WUPublishWorkunitResponse"); + } + + WUPushEvent(request: WsWorkunits.WUPushEvent, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUPushEvent", request, "json", false, abortSignal, "WUPushEventResponse"); + } + + WUQuery(request: WsWorkunits.WUQuery, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQuery", request, "json", false, abortSignal, "WUQueryResponse"); + } + + WUQueryConfig(request: WsWorkunits.WUQueryConfig, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQueryConfig", request, "json", false, abortSignal, "WUQueryConfigResponse"); + } + + WUQueryDetails(request: WsWorkunits.WUQueryDetails, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQueryDetails", request, "json", false, abortSignal, "WUQueryDetailsResponse"); + } + + WUQueryDetailsLightWeight(request: WsWorkunits.WUQueryDetailsLightWeight, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQueryDetailsLightWeight", request, "json", false, abortSignal, "WUQueryDetailsResponse"); + } + + WUQueryFiles(request: WsWorkunits.WUQueryFiles, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQueryFiles", request, "json", false, abortSignal, "WUQueryFilesResponse"); + } + + WUQueryGetGraph(request: WsWorkunits.WUQueryGetGraph, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQueryGetGraph", request, "json", false, abortSignal, "WUQueryGetGraphResponse"); + } + + WUQueryGetSummaryStats(request: WsWorkunits.WUQueryGetSummaryStats, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQueryGetSummaryStats", request, "json", false, abortSignal, "WUQueryGetSummaryStatsResponse"); + } + + WUQuerysetAliasAction(request: WsWorkunits.WUQuerysetAliasAction, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQuerysetAliasAction", request, "json", false, abortSignal, "WUQuerySetAliasActionResponse"); + } + + WUQuerysetCopyQuery(request: WsWorkunits.WUQuerysetCopyQuery, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQuerysetCopyQuery", request, "json", false, abortSignal, "WUQuerySetCopyQueryResponse"); + } + + WUQuerysetDetails(request: WsWorkunits.WUQuerysetDetails, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQuerysetDetails", request, "json", false, abortSignal, "WUQuerySetDetailsResponse"); + } + + WUQuerysetExport(request: WsWorkunits.WUQuerysetExport, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQuerysetExport", request, "json", false, abortSignal, "WUQuerysetExportResponse"); + } + + WUQuerysetImport(request: WsWorkunits.WUQuerysetImport, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQuerysetImport", request, "json", false, abortSignal, "WUQuerysetImportResponse"); + } + + WUQuerysetQueryAction(request: WsWorkunits.WUQuerysetQueryAction, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQuerysetQueryAction", request, "json", false, abortSignal, "WUQuerySetQueryActionResponse"); + } + + WUQuerysets(request: WsWorkunits.WUQuerysets, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUQuerysets", request, "json", false, abortSignal, "WUQuerysetsResponse"); + } + + WURecreateQuery(request: WsWorkunits.WURecreateQuery, abortSignal?: AbortSignal): Promise { + return this._connection.send("WURecreateQuery", request, "json", false, abortSignal, "WURecreateQueryResponse"); + } + + WUResubmit(request: WsWorkunits.WUResubmit, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUResubmit", request, "json", false, abortSignal, "WUResubmitResponse"); + } + + WUResult(request: WsWorkunits.WUResult, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUResult", request, "json", false, abortSignal, "WUResultResponse"); + } + + WUResultBin(request: WsWorkunits.WUResultBin, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUResultBin", request, "json", false, abortSignal, "WUResultBinResponse"); + } + + WUResultSummary(request: WsWorkunits.WUResultSummary, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUResultSummary", request, "json", false, abortSignal, "WUResultSummaryResponse"); + } + + WUResultView(request: WsWorkunits.WUResultView, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUResultView", request, "json", false, abortSignal, "WUResultViewResponse"); + } + + WURun(request: WsWorkunits.WURun, abortSignal?: AbortSignal): Promise { + return this._connection.send("WURun", request, "json", false, abortSignal, "WURunResponse"); + } + + WUSchedule(request: WsWorkunits.WUSchedule, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUSchedule", request, "json", false, abortSignal, "WUScheduleResponse"); + } + + WUShowScheduled(request: WsWorkunits.WUShowScheduled, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUShowScheduled", request, "json", false, abortSignal, "WUShowScheduledResponse"); + } + + WUSubmit(request: WsWorkunits.WUSubmit, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUSubmit", request, "json", false, abortSignal, "WUSubmitResponse"); + } + + WUSyntaxCheckECL(request: WsWorkunits.WUSyntaxCheckECL, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUSyntaxCheckECL", request, "json", false, abortSignal, "WUSyntaxCheckResponse"); + } + + WUUpdate(request: WsWorkunits.WUUpdate, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUUpdate", request, "json", false, abortSignal, "WUUpdateResponse"); + } + + WUUpdateQueryEntry(request: WsWorkunits.WUUpdateQueryEntry, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUUpdateQueryEntry", request, "json", false, abortSignal, "WUUpdateQueryEntryResponse"); + } + + WUWaitCompiled(request: WsWorkunits.WUWaitCompiled, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUWaitCompiled", request, "json", false, abortSignal, "WUWaitResponse"); + } + + WUWaitComplete(request: WsWorkunits.WUWaitComplete, abortSignal?: AbortSignal): Promise { + return this._connection.send("WUWaitComplete", request, "json", false, abortSignal, "WUWaitResponse"); + } + +} diff --git a/packages/comms/src/services/wsdl/ws_access/v1.17/ws_access.ts b/packages/comms/src/services/wsdl/ws_access/v1.17/ws_access.ts index c2ce58491e..4fb040617e 100644 --- a/packages/comms/src/services/wsdl/ws_access/v1.17/ws_access.ts +++ b/packages/comms/src/services/wsdl/ws_access/v1.17/ws_access.ts @@ -48,46 +48,46 @@ export namespace WsAccess { } export interface BasednNames { - Item: string[]; + Item?: string[]; } export interface Permission { - BasednName: string; - rname: string; - prefix: string; - ResourceName: string; - PermissionName: string; - allow_access: boolean; - allow_read: boolean; - allow_write: boolean; - allow_full: boolean; - deny_access: boolean; - deny_read: boolean; - deny_write: boolean; - deny_full: boolean; + BasednName?: string; + rname?: string; + prefix?: string; + ResourceName?: string; + PermissionName?: string; + allow_access?: boolean; + allow_read?: boolean; + allow_write?: boolean; + allow_full?: boolean; + deny_access?: boolean; + deny_read?: boolean; + deny_write?: boolean; + deny_full?: boolean; } export interface Permissions { - Permission: Permission[]; + Permission?: Permission[]; } export interface GroupPermission { - GroupName: string; - BasednNames: BasednNames; - Permissions: Permissions; + GroupName?: string; + BasednNames?: BasednNames; + Permissions?: Permissions; } export interface GroupPermissions { - GroupPermission: GroupPermission[]; + GroupPermission?: GroupPermission[]; } export interface AccountPermissionsResponse { - AccountName: string; - IsGroup: boolean; - IncludeGroup: boolean; - BasednNames: BasednNames; - Permissions: Permissions; - GroupPermissions: GroupPermissions; + AccountName?: string; + IsGroup?: boolean; + IncludeGroup?: boolean; + BasednNames?: BasednNames; + Permissions?: Permissions; + GroupPermissions?: GroupPermissions; } export interface AccountPermissionsV2Request { @@ -98,9 +98,9 @@ export namespace WsAccess { } export interface AccountPermissionsV2Response { - BasednNames: BasednNames; - Permissions: Permissions; - GroupPermissions: GroupPermissions; + BasednNames?: BasednNames; + Permissions?: Permissions; + GroupPermissions?: GroupPermissions; } export interface AddUserRequest { @@ -114,8 +114,8 @@ export namespace WsAccess { } export interface AddUserResponse { - retcode: int; - retmsg: string; + retcode?: int; + retmsg?: string; } export interface AddViewRequest { @@ -124,8 +124,8 @@ export namespace WsAccess { } export interface AddViewResponse { - viewname: string; - description: string; + viewname?: string; + description?: string; } export interface AddViewColumnRequest { @@ -135,9 +135,9 @@ export namespace WsAccess { } export interface AddViewColumnResponse { - viewname: string; - filename: string; - columnname: string; + viewname?: string; + filename?: string; + columnname?: string; } export interface AddViewMemberRequest { @@ -147,9 +147,9 @@ export namespace WsAccess { } export interface AddViewMemberResponse { - viewname: string; - membername: string; - membertype: ViewMemberType; + viewname?: string; + membername?: string; + membertype?: ViewMemberType; } export interface ClearPermissionsCacheRequest { @@ -157,7 +157,7 @@ export namespace WsAccess { } export interface ClearPermissionsCacheResponse { - retcode: int; + retcode?: int; } export interface DeleteViewRequest { @@ -165,7 +165,7 @@ export namespace WsAccess { } export interface DeleteViewResponse { - viewname: string; + viewname?: string; } export interface DeleteViewColumnRequest { @@ -175,9 +175,9 @@ export namespace WsAccess { } export interface DeleteViewColumnResponse { - viewname: string; - filename: string; - columnname: string; + viewname?: string; + filename?: string; + columnname?: string; } export interface DeleteViewMemberRequest { @@ -187,9 +187,9 @@ export namespace WsAccess { } export interface DeleteViewMemberResponse { - viewname: string; - membername: string; - membertype: ViewMemberType; + viewname?: string; + membername?: string; + membertype?: ViewMemberType; } export interface DisableScopeScansRequest { @@ -197,13 +197,13 @@ export namespace WsAccess { } export interface scopeScansStatus { - isEnabled: boolean; - retcode: int; - retmsg: string; + isEnabled?: boolean; + retcode?: int; + retmsg?: string; } export interface DisableScopeScansResponse { - scopeScansStatus: scopeScansStatus; + scopeScansStatus?: scopeScansStatus; } export interface EnableScopeScansRequest { @@ -211,7 +211,7 @@ export namespace WsAccess { } export interface EnableScopeScansResponse { - scopeScansStatus: scopeScansStatus; + scopeScansStatus?: scopeScansStatus; } export interface FilePermissionRequest { @@ -221,41 +221,41 @@ export namespace WsAccess { } export interface User { - username: string; - fullname: string; - passwordexpiration: string; - employeeID: string; - employeeNumber: string; + username?: string; + fullname?: string; + passwordexpiration?: string; + employeeID?: string; + employeeNumber?: string; } export interface Users { - User: User[]; + User?: User[]; } export interface Group { - name: string; - deletable: boolean; - groupOwner: string; - groupDesc: string; + name?: string; + deletable?: boolean; + groupOwner?: string; + groupDesc?: string; } export interface Groups { - Group: Group[]; + Group?: Group[]; } export interface FilePermissionResponse { - NoSecMngr: boolean; - FileName: string; - UserName: string; - GroupName: string; - toomany: boolean; - Users: Users; - Groups: Groups; - UserPermission: string; + NoSecMngr?: boolean; + FileName?: string; + UserName?: string; + GroupName?: string; + toomany?: boolean; + Users?: Users; + Groups?: Groups; + UserPermission?: string; } export interface groupnames { - Item: string[]; + Item?: string[]; } export interface GroupActionRequest { @@ -265,10 +265,10 @@ export namespace WsAccess { } export interface GroupActionResponse { - Groupnames: string; - Permissions: Permissions; - retcode: int; - retmsg: string; + Groupnames?: string; + Permissions?: Permissions; + retcode?: int; + retmsg?: string; } export interface GroupAddRequest { @@ -278,9 +278,9 @@ export namespace WsAccess { } export interface GroupAddResponse { - groupname: string; - retcode: int; - retmsg: string; + groupname?: string; + retcode?: int; + retmsg?: string; } export interface GroupEditRequest { @@ -288,12 +288,12 @@ export namespace WsAccess { } export interface GroupEditResponse { - groupname: string; - Users: Users; + groupname?: string; + Users?: Users; } export interface usernames { - Item: string[]; + Item?: string[]; } export interface GroupMemberEditRequest { @@ -303,10 +303,10 @@ export namespace WsAccess { } export interface GroupMemberEditResponse { - groupname: string; - action: string; - retcode: int; - retmsg: string; + groupname?: string; + action?: string; + retcode?: int; + retmsg?: string; } export interface GroupMemberEditInputRequest { @@ -315,9 +315,9 @@ export namespace WsAccess { } export interface GroupMemberEditInputResponse { - groupname: string; - toomany: boolean; - Users: Users; + groupname?: string; + toomany?: boolean; + Users?: Users; } export interface GroupMemberQueryRequest { @@ -330,10 +330,10 @@ export namespace WsAccess { } export interface GroupMemberQueryResponse { - NoSecMngr: boolean; - Users: Users; - TotalUsers: long; - CacheHint: long; + NoSecMngr?: boolean; + Users?: Users; + TotalUsers?: long; + CacheHint?: long; } export interface GroupQueryRequest { @@ -345,10 +345,10 @@ export namespace WsAccess { } export interface GroupQueryResponse { - NoSecMngr: boolean; - Groups: Groups; - TotalGroups: long; - CacheHint: long; + NoSecMngr?: boolean; + Groups?: Groups; + TotalGroups?: long; + CacheHint?: long; } export interface GroupRequest { @@ -356,8 +356,8 @@ export namespace WsAccess { } export interface GroupResponse { - NoSecMngr: boolean; - Groups: Groups; + NoSecMngr?: boolean; + Groups?: Groups; } export interface PermissionActionRequest { @@ -381,10 +381,10 @@ export namespace WsAccess { } export interface PermissionActionResponse { - AccountName: string; - IsGroup: boolean; - retcode: int; - retmsg: string; + AccountName?: string; + IsGroup?: boolean; + retcode?: int; + retmsg?: string; } export interface BasednsRequest { @@ -392,24 +392,24 @@ export namespace WsAccess { } export interface Basedn { - name: string; - basedn: string; - rtype: string; - rtitle: string; - templatename: string; + name?: string; + basedn?: string; + rtype?: string; + rtitle?: string; + templatename?: string; } export interface Basedns { - Basedn: Basedn[]; + Basedn?: Basedn[]; } export interface BasednsResponse { - NoSecMngr: boolean; - Basedns: Basedns; + NoSecMngr?: boolean; + Basedns?: Basedns; } export interface names { - Item: string[]; + Item?: string[]; } export interface PermissionsResetRequest { @@ -429,8 +429,8 @@ export namespace WsAccess { } export interface PermissionsResetResponse { - retcode: int; - retmsg: string; + retcode?: int; + retmsg?: string; } export interface ws_accessPingRequest { @@ -446,7 +446,7 @@ export namespace WsAccess { } export interface QueryScopeScansEnabledResponse { - scopeScansStatus: scopeScansStatus; + scopeScansStatus?: scopeScansStatus; } export interface QueryUserViewColumnsRequest { @@ -454,18 +454,18 @@ export namespace WsAccess { } export interface ViewColumn { - viewname: string; - filename: string; - columnname: string; + viewname?: string; + filename?: string; + columnname?: string; } export interface viewcolumns { - ViewColumn: ViewColumn[]; + ViewColumn?: ViewColumn[]; } export interface QueryUserViewColumnsResponse { - username: string; - viewcolumns: viewcolumns; + username?: string; + viewcolumns?: viewcolumns; } export interface QueryViewColumnsRequest { @@ -473,8 +473,8 @@ export namespace WsAccess { } export interface QueryViewColumnsResponse { - viewname: string; - viewcolumns: viewcolumns; + viewname?: string; + viewcolumns?: viewcolumns; } export interface QueryViewMembersRequest { @@ -482,18 +482,18 @@ export namespace WsAccess { } export interface ViewMember { - viewname: string; - name: string; - membertype: ViewMemberType; + viewname?: string; + name?: string; + membertype?: ViewMemberType; } export interface viewmembers { - ViewMember: ViewMember[]; + ViewMember?: ViewMember[]; } export interface QueryViewMembersResponse { - viewname: string; - viewmembers: viewmembers; + viewname?: string; + viewmembers?: viewmembers; } export interface QueryViewsRequest { @@ -501,16 +501,16 @@ export namespace WsAccess { } export interface View { - viewname: string; - description: string; + viewname?: string; + description?: string; } export interface views { - View: View[]; + View?: View[]; } export interface QueryViewsResponse { - views: views; + views?: views; } export interface ResourceAddRequest { @@ -521,8 +521,8 @@ export namespace WsAccess { } export interface ResourceAddResponse { - retcode: int; - retmsg: string; + retcode?: int; + retmsg?: string; } export interface ResourceDeleteRequest { @@ -533,8 +533,8 @@ export namespace WsAccess { } export interface ResourceDeleteResponse { - retcode: int; - retmsg: string; + retcode?: int; + retmsg?: string; } export interface ResourcePermissionQueryRequest { @@ -550,28 +550,28 @@ export namespace WsAccess { } export interface Permission2 { - account_name: string; - escaped_account_name: string; - account_type: int; - allow_access: boolean; - allow_read: boolean; - allow_write: boolean; - allow_full: boolean; - deny_access: boolean; - deny_read: boolean; - deny_write: boolean; - deny_full: boolean; + account_name?: string; + escaped_account_name?: string; + account_type?: int; + allow_access?: boolean; + allow_read?: boolean; + allow_write?: boolean; + allow_full?: boolean; + deny_access?: boolean; + deny_read?: boolean; + deny_write?: boolean; + deny_full?: boolean; } export interface Permissions2 { - Permission: Permission2[]; + Permission?: Permission2[]; } export interface ResourcePermissionQueryResponse { - NoSecMngr: boolean; - Permissions: Permissions2; - TotalResourcePermissions: long; - CacheHint: long; + NoSecMngr?: boolean; + Permissions?: Permissions2; + TotalResourcePermissions?: long; + CacheHint?: long; } export interface ResourcePermissionsRequest { @@ -581,7 +581,7 @@ export namespace WsAccess { } export interface ResourcePermissionsResponse { - Permissions: Permissions2; + Permissions?: Permissions2; } export interface ResourceQueryRequest { @@ -596,20 +596,20 @@ export namespace WsAccess { } export interface Resource { - name: string; - description: string; - isSpecial: boolean; + name?: string; + description?: string; + isSpecial?: boolean; } export interface Resources { - Resource: Resource[]; + Resource?: Resource[]; } export interface ResourceQueryResponse { - NoSecMngr: boolean; - Resources: Resources; - TotalResources: long; - CacheHint: long; + NoSecMngr?: boolean; + Resources?: Resources; + TotalResources?: long; + CacheHint?: long; } export interface ResourcesRequest { @@ -620,11 +620,11 @@ export namespace WsAccess { } export interface ResourcesResponse { - Resources: Resources; - default_basedn: string; - default_name: string; - toomany: boolean; - scopeScansStatus: scopeScansStatus; + Resources?: Resources; + default_basedn?: string; + default_name?: string; + toomany?: boolean; + scopeScansStatus?: scopeScansStatus; } export interface UserAccountExportRequest { @@ -633,7 +633,7 @@ export namespace WsAccess { } export interface UserAccountExportResponse { - Result: base64Binary; + Result?: base64Binary; } export interface UserActionRequest { @@ -643,9 +643,9 @@ export namespace WsAccess { } export interface UserActionResponse { - action: string; - retcode: int; - retmsg: string; + action?: string; + retcode?: int; + retmsg?: string; } export interface UserEditRequest { @@ -653,9 +653,9 @@ export namespace WsAccess { } export interface UserEditResponse { - username: string; - isLDAPAdmin: boolean; - Groups: Groups; + username?: string; + isLDAPAdmin?: boolean; + Groups?: Groups; } export interface UserGroupEditRequest { @@ -665,10 +665,10 @@ export namespace WsAccess { } export interface UserGroupEditResponse { - username: string; - action: string; - retcode: int; - retmsg: string; + username?: string; + action?: string; + retcode?: int; + retmsg?: string; } export interface UserGroupEditInputRequest { @@ -676,8 +676,8 @@ export namespace WsAccess { } export interface UserGroupEditInputResponse { - username: string; - Groups: Groups; + username?: string; + Groups?: Groups; } export interface UserInfoEditRequest { @@ -689,9 +689,9 @@ export namespace WsAccess { } export interface UserInfoEditResponse { - username: string; - retcode: int; - retmsg: string; + username?: string; + retcode?: int; + retmsg?: string; } export interface UserInfoEditInputRequest { @@ -699,12 +699,12 @@ export namespace WsAccess { } export interface UserInfoEditInputResponse { - username: string; - firstname: string; - lastname: string; - employeeID: string; - PasswordExpiration: string; - employeeNumber: string; + username?: string; + firstname?: string; + lastname?: string; + employeeID?: string; + PasswordExpiration?: string; + employeeNumber?: string; } export interface UserPosixRequest { @@ -717,9 +717,9 @@ export namespace WsAccess { } export interface UserPosixResponse { - username: string; - retcode: int; - retmsg: string; + username?: string; + retcode?: int; + retmsg?: string; } export interface UserPosixInputRequest { @@ -727,12 +727,12 @@ export namespace WsAccess { } export interface UserPosixInputResponse { - username: string; - posixenabled: boolean; - gidnumber: string; - uidnumber: string; - homedirectory: string; - loginshell: string; + username?: string; + posixenabled?: boolean; + gidnumber?: string; + uidnumber?: string; + homedirectory?: string; + loginshell?: string; } export interface UserQueryRequest { @@ -745,10 +745,10 @@ export namespace WsAccess { } export interface UserQueryResponse { - NoSecMngr: boolean; - Users: Users; - TotalUsers: long; - CacheHint: long; + NoSecMngr?: boolean; + Users?: Users; + TotalUsers?: long; + CacheHint?: long; } export interface UserResetPassRequest { @@ -758,9 +758,9 @@ export namespace WsAccess { } export interface UserResetPassResponse { - username: string; - retcode: int; - retmsg: string; + username?: string; + retcode?: int; + retmsg?: string; } export interface UserResetPassInputRequest { @@ -768,7 +768,7 @@ export namespace WsAccess { } export interface UserResetPassInputResponse { - username: string; + username?: string; } export interface UserSudoersRequest { @@ -780,9 +780,9 @@ export namespace WsAccess { } export interface UserSudoersResponse { - username: string; - retcode: int; - retmsg: string; + username?: string; + retcode?: int; + retmsg?: string; } export interface UserSudoersInputRequest { @@ -790,11 +790,11 @@ export namespace WsAccess { } export interface UserSudoersInputResponse { - username: string; - insudoers: boolean; - sudoHost: string; - sudoCommand: string; - sudoOption: string; + username?: string; + insudoers?: boolean; + sudoHost?: string; + sudoCommand?: string; + sudoOption?: string; } export interface UserRequest { @@ -802,10 +802,10 @@ export namespace WsAccess { } export interface UserResponse { - NoSecMngr: boolean; - toomany: boolean; - posixok: boolean; - Users: Users; + NoSecMngr?: boolean; + toomany?: boolean; + posixok?: boolean; + Users?: Users; } } @@ -816,208 +816,208 @@ export class AccessServiceBase extends Service { super(optsConnection, "ws_access", "1.17"); } - AccountPermissions(request: Partial): Promise { - return this._connection.send("AccountPermissions", request, "json", false, undefined, "AccountPermissionsResponse"); + AccountPermissions(request: WsAccess.AccountPermissionsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AccountPermissions", request, "json", false, abortSignal, "AccountPermissionsResponse"); } - AccountPermissionsV2(request: Partial): Promise { - return this._connection.send("AccountPermissionsV2", request, "json", false, undefined, "AccountPermissionsV2Response"); + AccountPermissionsV2(request: WsAccess.AccountPermissionsV2Request, abortSignal?: AbortSignal): Promise { + return this._connection.send("AccountPermissionsV2", request, "json", false, abortSignal, "AccountPermissionsV2Response"); } - AddUser(request: Partial): Promise { - return this._connection.send("AddUser", request, "json", false, undefined, "AddUserResponse"); + AddUser(request: WsAccess.AddUserRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AddUser", request, "json", false, abortSignal, "AddUserResponse"); } - AddView(request: Partial): Promise { - return this._connection.send("AddView", request, "json", false, undefined, "AddViewResponse"); + AddView(request: WsAccess.AddViewRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AddView", request, "json", false, abortSignal, "AddViewResponse"); } - AddViewColumn(request: Partial): Promise { - return this._connection.send("AddViewColumn", request, "json", false, undefined, "AddViewColumnResponse"); + AddViewColumn(request: WsAccess.AddViewColumnRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AddViewColumn", request, "json", false, abortSignal, "AddViewColumnResponse"); } - AddViewMember(request: Partial): Promise { - return this._connection.send("AddViewMember", request, "json", false, undefined, "AddViewMemberResponse"); + AddViewMember(request: WsAccess.AddViewMemberRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("AddViewMember", request, "json", false, abortSignal, "AddViewMemberResponse"); } - ClearPermissionsCache(request: Partial): Promise { - return this._connection.send("ClearPermissionsCache", request, "json", false, undefined, "ClearPermissionsCacheResponse"); + ClearPermissionsCache(request: WsAccess.ClearPermissionsCacheRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ClearPermissionsCache", request, "json", false, abortSignal, "ClearPermissionsCacheResponse"); } - DeleteView(request: Partial): Promise { - return this._connection.send("DeleteView", request, "json", false, undefined, "DeleteViewResponse"); + DeleteView(request: WsAccess.DeleteViewRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteView", request, "json", false, abortSignal, "DeleteViewResponse"); } - DeleteViewColumn(request: Partial): Promise { - return this._connection.send("DeleteViewColumn", request, "json", false, undefined, "DeleteViewColumnResponse"); + DeleteViewColumn(request: WsAccess.DeleteViewColumnRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteViewColumn", request, "json", false, abortSignal, "DeleteViewColumnResponse"); } - DeleteViewMember(request: Partial): Promise { - return this._connection.send("DeleteViewMember", request, "json", false, undefined, "DeleteViewMemberResponse"); + DeleteViewMember(request: WsAccess.DeleteViewMemberRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteViewMember", request, "json", false, abortSignal, "DeleteViewMemberResponse"); } - DisableScopeScans(request: Partial): Promise { - return this._connection.send("DisableScopeScans", request, "json", false, undefined, "DisableScopeScansResponse"); + DisableScopeScans(request: WsAccess.DisableScopeScansRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DisableScopeScans", request, "json", false, abortSignal, "DisableScopeScansResponse"); } - EnableScopeScans(request: Partial): Promise { - return this._connection.send("EnableScopeScans", request, "json", false, undefined, "EnableScopeScansResponse"); + EnableScopeScans(request: WsAccess.EnableScopeScansRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("EnableScopeScans", request, "json", false, abortSignal, "EnableScopeScansResponse"); } - FilePermission(request: Partial): Promise { - return this._connection.send("FilePermission", request, "json", false, undefined, "FilePermissionResponse"); + FilePermission(request: WsAccess.FilePermissionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("FilePermission", request, "json", false, abortSignal, "FilePermissionResponse"); } - GroupAction(request: Partial): Promise { - return this._connection.send("GroupAction", request, "json", false, undefined, "GroupActionResponse"); + GroupAction(request: WsAccess.GroupActionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GroupAction", request, "json", false, abortSignal, "GroupActionResponse"); } - GroupAdd(request: Partial): Promise { - return this._connection.send("GroupAdd", request, "json", false, undefined, "GroupAddResponse"); + GroupAdd(request: WsAccess.GroupAddRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GroupAdd", request, "json", false, abortSignal, "GroupAddResponse"); } - GroupEdit(request: Partial): Promise { - return this._connection.send("GroupEdit", request, "json", false, undefined, "GroupEditResponse"); + GroupEdit(request: WsAccess.GroupEditRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GroupEdit", request, "json", false, abortSignal, "GroupEditResponse"); } - GroupMemberEdit(request: Partial): Promise { - return this._connection.send("GroupMemberEdit", request, "json", false, undefined, "GroupMemberEditResponse"); + GroupMemberEdit(request: WsAccess.GroupMemberEditRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GroupMemberEdit", request, "json", false, abortSignal, "GroupMemberEditResponse"); } - GroupMemberEditInput(request: Partial): Promise { - return this._connection.send("GroupMemberEditInput", request, "json", false, undefined, "GroupMemberEditInputResponse"); + GroupMemberEditInput(request: WsAccess.GroupMemberEditInputRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GroupMemberEditInput", request, "json", false, abortSignal, "GroupMemberEditInputResponse"); } - GroupMemberQuery(request: Partial): Promise { - return this._connection.send("GroupMemberQuery", request, "json", false, undefined, "GroupMemberQueryResponse"); + GroupMemberQuery(request: WsAccess.GroupMemberQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GroupMemberQuery", request, "json", false, abortSignal, "GroupMemberQueryResponse"); } - GroupQuery(request: Partial): Promise { - return this._connection.send("GroupQuery", request, "json", false, undefined, "GroupQueryResponse"); + GroupQuery(request: WsAccess.GroupQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GroupQuery", request, "json", false, abortSignal, "GroupQueryResponse"); } - Groups(request: Partial): Promise { - return this._connection.send("Groups", request, "json", false, undefined, "GroupResponse"); + Groups(request: WsAccess.GroupRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Groups", request, "json", false, abortSignal, "GroupResponse"); } - PermissionAction(request: Partial): Promise { - return this._connection.send("PermissionAction", request, "json", false, undefined, "PermissionActionResponse"); + PermissionAction(request: WsAccess.PermissionActionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("PermissionAction", request, "json", false, abortSignal, "PermissionActionResponse"); } - Permissions(request: Partial): Promise { - return this._connection.send("Permissions", request, "json", false, undefined, "BasednsResponse"); + Permissions(request: WsAccess.BasednsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Permissions", request, "json", false, abortSignal, "BasednsResponse"); } - PermissionsReset(request: Partial): Promise { - return this._connection.send("PermissionsReset", request, "json", false, undefined, "PermissionsResetResponse"); + PermissionsReset(request: WsAccess.PermissionsResetRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("PermissionsReset", request, "json", false, abortSignal, "PermissionsResetResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "ws_accessPingResponse"); + Ping(request: WsAccess.ws_accessPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "ws_accessPingResponse"); } - QueryScopeScansEnabled(request: Partial): Promise { - return this._connection.send("QueryScopeScansEnabled", request, "json", false, undefined, "QueryScopeScansEnabledResponse"); + QueryScopeScansEnabled(request: WsAccess.QueryScopeScansEnabledRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("QueryScopeScansEnabled", request, "json", false, abortSignal, "QueryScopeScansEnabledResponse"); } - QueryUserViewColumns(request: Partial): Promise { - return this._connection.send("QueryUserViewColumns", request, "json", false, undefined, "QueryUserViewColumnsResponse"); + QueryUserViewColumns(request: WsAccess.QueryUserViewColumnsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("QueryUserViewColumns", request, "json", false, abortSignal, "QueryUserViewColumnsResponse"); } - QueryViewColumns(request: Partial): Promise { - return this._connection.send("QueryViewColumns", request, "json", false, undefined, "QueryViewColumnsResponse"); + QueryViewColumns(request: WsAccess.QueryViewColumnsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("QueryViewColumns", request, "json", false, abortSignal, "QueryViewColumnsResponse"); } - QueryViewMembers(request: Partial): Promise { - return this._connection.send("QueryViewMembers", request, "json", false, undefined, "QueryViewMembersResponse"); + QueryViewMembers(request: WsAccess.QueryViewMembersRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("QueryViewMembers", request, "json", false, abortSignal, "QueryViewMembersResponse"); } - QueryViews(request: Partial): Promise { - return this._connection.send("QueryViews", request, "json", false, undefined, "QueryViewsResponse"); + QueryViews(request: WsAccess.QueryViewsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("QueryViews", request, "json", false, abortSignal, "QueryViewsResponse"); } - ResourceAdd(request: Partial): Promise { - return this._connection.send("ResourceAdd", request, "json", false, undefined, "ResourceAddResponse"); + ResourceAdd(request: WsAccess.ResourceAddRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ResourceAdd", request, "json", false, abortSignal, "ResourceAddResponse"); } - ResourceDelete(request: Partial): Promise { - return this._connection.send("ResourceDelete", request, "json", false, undefined, "ResourceDeleteResponse"); + ResourceDelete(request: WsAccess.ResourceDeleteRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ResourceDelete", request, "json", false, abortSignal, "ResourceDeleteResponse"); } - ResourcePermissionQuery(request: Partial): Promise { - return this._connection.send("ResourcePermissionQuery", request, "json", false, undefined, "ResourcePermissionQueryResponse"); + ResourcePermissionQuery(request: WsAccess.ResourcePermissionQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ResourcePermissionQuery", request, "json", false, abortSignal, "ResourcePermissionQueryResponse"); } - ResourcePermissions(request: Partial): Promise { - return this._connection.send("ResourcePermissions", request, "json", false, undefined, "ResourcePermissionsResponse"); + ResourcePermissions(request: WsAccess.ResourcePermissionsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ResourcePermissions", request, "json", false, abortSignal, "ResourcePermissionsResponse"); } - ResourceQuery(request: Partial): Promise { - return this._connection.send("ResourceQuery", request, "json", false, undefined, "ResourceQueryResponse"); + ResourceQuery(request: WsAccess.ResourceQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ResourceQuery", request, "json", false, abortSignal, "ResourceQueryResponse"); } - Resources(request: Partial): Promise { - return this._connection.send("Resources", request, "json", false, undefined, "ResourcesResponse"); + Resources(request: WsAccess.ResourcesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Resources", request, "json", false, abortSignal, "ResourcesResponse"); } - UserAccountExport(request: Partial): Promise { - return this._connection.send("UserAccountExport", request, "json", false, undefined, "UserAccountExportResponse"); + UserAccountExport(request: WsAccess.UserAccountExportRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserAccountExport", request, "json", false, abortSignal, "UserAccountExportResponse"); } - UserAction(request: Partial): Promise { - return this._connection.send("UserAction", request, "json", false, undefined, "UserActionResponse"); + UserAction(request: WsAccess.UserActionRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserAction", request, "json", false, abortSignal, "UserActionResponse"); } - UserEdit(request: Partial): Promise { - return this._connection.send("UserEdit", request, "json", false, undefined, "UserEditResponse"); + UserEdit(request: WsAccess.UserEditRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserEdit", request, "json", false, abortSignal, "UserEditResponse"); } - UserGroupEdit(request: Partial): Promise { - return this._connection.send("UserGroupEdit", request, "json", false, undefined, "UserGroupEditResponse"); + UserGroupEdit(request: WsAccess.UserGroupEditRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserGroupEdit", request, "json", false, abortSignal, "UserGroupEditResponse"); } - UserGroupEditInput(request: Partial): Promise { - return this._connection.send("UserGroupEditInput", request, "json", false, undefined, "UserGroupEditInputResponse"); + UserGroupEditInput(request: WsAccess.UserGroupEditInputRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserGroupEditInput", request, "json", false, abortSignal, "UserGroupEditInputResponse"); } - UserInfoEdit(request: Partial): Promise { - return this._connection.send("UserInfoEdit", request, "json", false, undefined, "UserInfoEditResponse"); + UserInfoEdit(request: WsAccess.UserInfoEditRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserInfoEdit", request, "json", false, abortSignal, "UserInfoEditResponse"); } - UserInfoEditInput(request: Partial): Promise { - return this._connection.send("UserInfoEditInput", request, "json", false, undefined, "UserInfoEditInputResponse"); + UserInfoEditInput(request: WsAccess.UserInfoEditInputRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserInfoEditInput", request, "json", false, abortSignal, "UserInfoEditInputResponse"); } - UserPosix(request: Partial): Promise { - return this._connection.send("UserPosix", request, "json", false, undefined, "UserPosixResponse"); + UserPosix(request: WsAccess.UserPosixRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserPosix", request, "json", false, abortSignal, "UserPosixResponse"); } - UserPosixInput(request: Partial): Promise { - return this._connection.send("UserPosixInput", request, "json", false, undefined, "UserPosixInputResponse"); + UserPosixInput(request: WsAccess.UserPosixInputRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserPosixInput", request, "json", false, abortSignal, "UserPosixInputResponse"); } - UserQuery(request: Partial): Promise { - return this._connection.send("UserQuery", request, "json", false, undefined, "UserQueryResponse"); + UserQuery(request: WsAccess.UserQueryRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserQuery", request, "json", false, abortSignal, "UserQueryResponse"); } - UserResetPass(request: Partial): Promise { - return this._connection.send("UserResetPass", request, "json", false, undefined, "UserResetPassResponse"); + UserResetPass(request: WsAccess.UserResetPassRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserResetPass", request, "json", false, abortSignal, "UserResetPassResponse"); } - UserResetPassInput(request: Partial): Promise { - return this._connection.send("UserResetPassInput", request, "json", false, undefined, "UserResetPassInputResponse"); + UserResetPassInput(request: WsAccess.UserResetPassInputRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserResetPassInput", request, "json", false, abortSignal, "UserResetPassInputResponse"); } - UserSudoers(request: Partial): Promise { - return this._connection.send("UserSudoers", request, "json", false, undefined, "UserSudoersResponse"); + UserSudoers(request: WsAccess.UserSudoersRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserSudoers", request, "json", false, abortSignal, "UserSudoersResponse"); } - UserSudoersInput(request: Partial): Promise { - return this._connection.send("UserSudoersInput", request, "json", false, undefined, "UserSudoersInputResponse"); + UserSudoersInput(request: WsAccess.UserSudoersInputRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UserSudoersInput", request, "json", false, abortSignal, "UserSudoersInputResponse"); } - Users(request: Partial): Promise { - return this._connection.send("Users", request, "json", false, undefined, "UserResponse"); + Users(request: WsAccess.UserRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Users", request, "json", false, abortSignal, "UserResponse"); } } diff --git a/packages/comms/src/services/wsdl/ws_account/v1.07/ws_account.ts b/packages/comms/src/services/wsdl/ws_account/v1.07/ws_account.ts index 6e38efbab0..d27da3cc81 100644 --- a/packages/comms/src/services/wsdl/ws_account/v1.07/ws_account.ts +++ b/packages/comms/src/services/wsdl/ws_account/v1.07/ws_account.ts @@ -10,37 +10,37 @@ export namespace WsAccount { } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface Groups { - Group: string[]; + Group?: string[]; } export interface MyAccountResponse { - Exceptions: Exceptions; - username: string; - firstName: string; - lastName: string; - passwordExpiration: string; - passwordDaysRemaining: int; - passwordExpirationWarningDays: int; - employeeID: string; - distinguishedName: string; - accountType: string; - passwordNeverExpires: boolean; - passwordIsExpired: boolean; - CanUpdatePassword: boolean; - accountStatus: int; - Groups: Groups; + Exceptions?: Exceptions; + username?: string; + firstName?: string; + lastName?: string; + passwordExpiration?: string; + passwordDaysRemaining?: int; + passwordExpirationWarningDays?: int; + employeeID?: string; + distinguishedName?: string; + accountType?: string; + passwordNeverExpires?: boolean; + passwordIsExpired?: boolean; + CanUpdatePassword?: boolean; + accountStatus?: int; + Groups?: Groups; } export interface ws_accountPingRequest { @@ -59,9 +59,9 @@ export namespace WsAccount { } export interface UpdateUserResponse { - Exceptions: Exceptions; - retcode: int; - message: string; + Exceptions?: Exceptions; + retcode?: int; + message?: string; } export interface UpdateUserInputRequest { @@ -69,8 +69,8 @@ export namespace WsAccount { } export interface UpdateUserInputResponse { - Exceptions: Exceptions; - username: string; + Exceptions?: Exceptions; + username?: string; } export interface VerifyUserRequest { @@ -79,8 +79,8 @@ export namespace WsAccount { } export interface VerifyUserResponse { - Exceptions: Exceptions; - retcode: int; + Exceptions?: Exceptions; + retcode?: int; } } @@ -91,24 +91,24 @@ export class AccountServiceBase extends Service { super(optsConnection, "ws_account", "1.07"); } - MyAccount(request: Partial): Promise { - return this._connection.send("MyAccount", request, "json", false, undefined, "MyAccountResponse"); + MyAccount(request: WsAccount.MyAccountRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("MyAccount", request, "json", false, abortSignal, "MyAccountResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "ws_accountPingResponse"); + Ping(request: WsAccount.ws_accountPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "ws_accountPingResponse"); } - UpdateUser(request: Partial): Promise { - return this._connection.send("UpdateUser", request, "json", false, undefined, "UpdateUserResponse"); + UpdateUser(request: WsAccount.UpdateUserRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UpdateUser", request, "json", false, abortSignal, "UpdateUserResponse"); } - UpdateUserInput(request: Partial): Promise { - return this._connection.send("UpdateUserInput", request, "json", false, undefined, "UpdateUserInputResponse"); + UpdateUserInput(request: WsAccount.UpdateUserInputRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("UpdateUserInput", request, "json", false, abortSignal, "UpdateUserInputResponse"); } - VerifyUser(request: Partial): Promise { - return this._connection.send("VerifyUser", request, "json", false, undefined, "VerifyUserResponse"); + VerifyUser(request: WsAccount.VerifyUserRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("VerifyUser", request, "json", false, abortSignal, "VerifyUserResponse"); } } diff --git a/packages/comms/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts b/packages/comms/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts index c9a8835348..76a1905b70 100644 --- a/packages/comms/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts +++ b/packages/comms/src/services/wsdl/ws_codesign/v1.1/ws_codesign.ts @@ -14,24 +14,24 @@ export namespace WsCodesign { } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface UserIDs { - Item: string[]; + Item?: string[]; } export interface ListUserIDsResponse { - Exceptions: Exceptions; - UserIDs: UserIDs; + Exceptions?: Exceptions; + UserIDs?: UserIDs; } export interface ws_codesignPingRequest { @@ -50,10 +50,10 @@ export namespace WsCodesign { } export interface SignResponse { - Exceptions: Exceptions; - RetCode: int; - ErrMsg: string; - SignedText: string; + Exceptions?: Exceptions; + RetCode?: int; + ErrMsg?: string; + SignedText?: string; } export interface VerifyRequest { @@ -61,11 +61,11 @@ export namespace WsCodesign { } export interface VerifyResponse { - Exceptions: Exceptions; - RetCode: int; - ErrMsg: string; - IsVerified: boolean; - SignedBy: string; + Exceptions?: Exceptions; + RetCode?: int; + ErrMsg?: string; + IsVerified?: boolean; + SignedBy?: string; } } @@ -76,20 +76,20 @@ export class CodesignServiceBase extends Service { super(optsConnection, "ws_codesign", "1.1"); } - ListUserIDs(request: Partial): Promise { - return this._connection.send("ListUserIDs", request, "json", false, undefined, "ListUserIDsResponse"); + ListUserIDs(request: WsCodesign.ListUserIDsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListUserIDs", request, "json", false, abortSignal, "ListUserIDsResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "ws_codesignPingResponse"); + Ping(request: WsCodesign.ws_codesignPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "ws_codesignPingResponse"); } - Sign(request: Partial): Promise { - return this._connection.send("Sign", request, "json", false, undefined, "SignResponse"); + Sign(request: WsCodesign.SignRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Sign", request, "json", false, abortSignal, "SignResponse"); } - Verify(request: Partial): Promise { - return this._connection.send("Verify", request, "json", false, undefined, "VerifyResponse"); + Verify(request: WsCodesign.VerifyRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Verify", request, "json", false, abortSignal, "VerifyResponse"); } } diff --git a/packages/comms/src/services/wsdl/ws_elk/v1/ws_elk.ts b/packages/comms/src/services/wsdl/ws_elk/v1/ws_elk.ts index b4a3de9171..1a2210b702 100644 --- a/packages/comms/src/services/wsdl/ws_elk/v1/ws_elk.ts +++ b/packages/comms/src/services/wsdl/ws_elk/v1/ws_elk.ts @@ -8,16 +8,16 @@ export namespace WsElk { } export interface GetConfigDetailsResponse { - IntegrateKibana: boolean; - KibanaAddress: string; - KibanaPort: string; - KibanaEntryPointURI: string; - ReportElasticSearchHealth: boolean; - ElasticSearchAddresses: string; - ElasticSearchPort: string; - ReportLogStashHealth: boolean; - LogStashAddress: string; - LogStashPort: string; + IntegrateKibana?: boolean; + KibanaAddress?: string; + KibanaPort?: string; + KibanaEntryPointURI?: string; + ReportElasticSearchHealth?: boolean; + ElasticSearchAddresses?: string; + ElasticSearchPort?: string; + ReportLogStashHealth?: boolean; + LogStashAddress?: string; + LogStashPort?: string; } export interface ws_elkPingRequest { @@ -36,12 +36,12 @@ export class ElkServiceBase extends Service { super(optsConnection, "ws_elk", "1"); } - GetConfigDetails(request: Partial): Promise { - return this._connection.send("GetConfigDetails", request, "json", false, undefined, "GetConfigDetailsResponse"); + GetConfigDetails(request: WsElk.GetConfigDetailsRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("GetConfigDetails", request, "json", false, abortSignal, "GetConfigDetailsResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "ws_elkPingResponse"); + Ping(request: WsElk.ws_elkPingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "ws_elkPingResponse"); } } diff --git a/packages/comms/src/services/wsdl/wsstore/v1.02/wsstore.ts b/packages/comms/src/services/wsdl/wsstore/v1.02/wsstore.ts index 61429b1782..5ca82531a4 100644 --- a/packages/comms/src/services/wsdl/wsstore/v1.02/wsstore.ts +++ b/packages/comms/src/services/wsdl/wsstore/v1.02/wsstore.ts @@ -13,24 +13,24 @@ export namespace Wsstore { } export interface Exception { - Code: string; - Audience: string; - Source: string; - Message: string; + Code?: string; + Audience?: string; + Source?: string; + Message?: string; } export interface Exceptions { - Source: string; - Exception: Exception[]; + Source?: string; + Exception?: Exception[]; } export interface CreateStoreResponse { - Exceptions: Exceptions; - Name: string; - Type: string; - Description: string; - Owner: string; - Success: boolean; + Exceptions?: Exceptions; + Name?: string; + Type?: string; + Description?: string; + Owner?: string; + Success?: boolean; } export interface DeleteRequest { @@ -42,8 +42,8 @@ export namespace Wsstore { } export interface DeleteResponse { - Exceptions: Exceptions; - Success: boolean; + Exceptions?: Exceptions; + Success?: boolean; } export interface DeleteNamespaceRequest { @@ -54,8 +54,8 @@ export namespace Wsstore { } export interface DeleteNamespaceResponse { - Exceptions: Exceptions; - Success: boolean; + Exceptions?: Exceptions; + Success?: boolean; } export interface FetchRequest { @@ -66,8 +66,8 @@ export namespace Wsstore { } export interface FetchResponse { - Exceptions: Exceptions; - Value: string; + Exceptions?: Exceptions; + Value?: string; } export interface FetchAllRequest { @@ -77,18 +77,18 @@ export namespace Wsstore { } export interface Pair { - Key: string; - Value: string; + Key?: string; + Value?: string; } export interface Pairs { - Pair: Pair[]; + Pair?: Pair[]; } export interface FetchAllResponse { - Exceptions: Exceptions; - Namespace: string; - Pairs: Pairs; + Exceptions?: Exceptions; + Namespace?: string; + Pairs?: Pairs; } export interface FetchKeyMDRequest { @@ -99,11 +99,11 @@ export namespace Wsstore { } export interface FetchKeyMDResponse { - Exceptions: Exceptions; - StoreName: string; - Namespace: string; - Key: string; - Pairs: Pairs; + Exceptions?: Exceptions; + StoreName?: string; + Namespace?: string; + Key?: string; + Pairs?: Pairs; } export interface ListKeysRequest { @@ -113,14 +113,14 @@ export namespace Wsstore { } export interface KeySet { - Key: string[]; + Key?: string[]; } export interface ListKeysResponse { - Exceptions: Exceptions; - StoreName: string; - Namespace: string; - KeySet: KeySet; + Exceptions?: Exceptions; + StoreName?: string; + Namespace?: string; + KeySet?: KeySet; } export interface ListNamespacesRequest { @@ -129,13 +129,13 @@ export namespace Wsstore { } export interface Namespaces { - Namespace: string[]; + Namespace?: string[]; } export interface ListNamespacesResponse { - Exceptions: Exceptions; - StoreName: string; - Namespaces: Namespaces; + Exceptions?: Exceptions; + StoreName?: string; + Namespaces?: Namespaces; } export interface ListStoresRequest { @@ -145,22 +145,22 @@ export namespace Wsstore { } export interface Store { - Name: string; - Type: string; - Description: string; - Owner: string; - CreateTime: string; - MaxValSize: string; - IsDefault: boolean; + Name?: string; + Type?: string; + Description?: string; + Owner?: string; + CreateTime?: string; + MaxValSize?: string; + IsDefault?: boolean; } export interface Stores { - Store: Store[]; + Store?: Store[]; } export interface ListStoresResponse { - Exceptions: Exceptions; - Stores: Stores; + Exceptions?: Exceptions; + Stores?: Stores; } export interface wsstorePingRequest { @@ -180,8 +180,8 @@ export namespace Wsstore { } export interface SetResponse { - Exceptions: Exceptions; - Success: boolean; + Exceptions?: Exceptions; + Success?: boolean; } } @@ -192,48 +192,48 @@ export class storeServiceBase extends Service { super(optsConnection, "wsstore", "1.02"); } - CreateStore(request: Partial): Promise { - return this._connection.send("CreateStore", request, "json", false, undefined, "CreateStoreResponse"); + CreateStore(request: Wsstore.CreateStoreRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("CreateStore", request, "json", false, abortSignal, "CreateStoreResponse"); } - Delete(request: Partial): Promise { - return this._connection.send("Delete", request, "json", false, undefined, "DeleteResponse"); + Delete(request: Wsstore.DeleteRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Delete", request, "json", false, abortSignal, "DeleteResponse"); } - DeleteNamespace(request: Partial): Promise { - return this._connection.send("DeleteNamespace", request, "json", false, undefined, "DeleteNamespaceResponse"); + DeleteNamespace(request: Wsstore.DeleteNamespaceRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("DeleteNamespace", request, "json", false, abortSignal, "DeleteNamespaceResponse"); } - Fetch(request: Partial): Promise { - return this._connection.send("Fetch", request, "json", false, undefined, "FetchResponse"); + Fetch(request: Wsstore.FetchRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Fetch", request, "json", false, abortSignal, "FetchResponse"); } - FetchAll(request: Partial): Promise { - return this._connection.send("FetchAll", request, "json", false, undefined, "FetchAllResponse"); + FetchAll(request: Wsstore.FetchAllRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("FetchAll", request, "json", false, abortSignal, "FetchAllResponse"); } - FetchKeyMetadata(request: Partial): Promise { - return this._connection.send("FetchKeyMetadata", request, "json", false, undefined, "FetchKeyMDResponse"); + FetchKeyMetadata(request: Wsstore.FetchKeyMDRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("FetchKeyMetadata", request, "json", false, abortSignal, "FetchKeyMDResponse"); } - ListKeys(request: Partial): Promise { - return this._connection.send("ListKeys", request, "json", false, undefined, "ListKeysResponse"); + ListKeys(request: Wsstore.ListKeysRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListKeys", request, "json", false, abortSignal, "ListKeysResponse"); } - ListNamespaces(request: Partial): Promise { - return this._connection.send("ListNamespaces", request, "json", false, undefined, "ListNamespacesResponse"); + ListNamespaces(request: Wsstore.ListNamespacesRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListNamespaces", request, "json", false, abortSignal, "ListNamespacesResponse"); } - ListStores(request: Partial): Promise { - return this._connection.send("ListStores", request, "json", false, undefined, "ListStoresResponse"); + ListStores(request: Wsstore.ListStoresRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("ListStores", request, "json", false, abortSignal, "ListStoresResponse"); } - Ping(request: Partial): Promise { - return this._connection.send("Ping", request, "json", false, undefined, "wsstorePingResponse"); + Ping(request: Wsstore.wsstorePingRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Ping", request, "json", false, abortSignal, "wsstorePingResponse"); } - Set(request: Partial): Promise { - return this._connection.send("Set", request, "json", false, undefined, "SetResponse"); + Set(request: Wsstore.SetRequest, abortSignal?: AbortSignal): Promise { + return this._connection.send("Set", request, "json", false, abortSignal, "SetResponse"); } } diff --git a/packages/comms/utils/index.ts b/packages/comms/utils/index.ts index 06a6fbacce..aadd4224ba 100644 --- a/packages/comms/utils/index.ts +++ b/packages/comms/utils/index.ts @@ -10,7 +10,36 @@ import * as tsfmt from "typescript-formatter"; import { Case, changeCase } from "./util"; import { hashSum } from "@hpcc-js/util"; -type JsonObj = { [name: string]: any }; +interface SoapSchema { + elements?: Record; + complexTypes?: Record; + types?: Record; +} + +interface WsdlNode { + name?: string; + children?: WsdlNode[]; + $name?: string; + $type?: string; + $minOccurs?: string; + $description?: string; +} + +interface SoapBinding { + methods: Record; +} + +interface ServiceMethod { + url: string; + version: string | null; + name: string; + input: string; + output: string; +} const lines: string[] = []; @@ -19,8 +48,9 @@ const cwd = process.cwd(); const args = minimist(process.argv.slice(2)); const keepGoing = args.k === true || args["keep-going"] === true; -const knownTypes: { [name: string]: [string, any] } = {}; -const parsedTypes: JsonObj = {}; +const knownTypes: { [name: string]: [string, Record | undefined] } = {}; +const parsedTypes: Record = {}; +const parsedOptionals: { [name: string]: Set } = {}; const primitiveMap: { [key: string]: string } = { "int": "number", @@ -35,11 +65,11 @@ const primitiveMap: { [key: string]: string } = { }; const knownPrimitives: string[] = []; -const parsedEnums: JsonObj = {}; +const parsedEnums: Record = {}; -const debug = args?.debug ?? false; -const printToConsole = args?.print ?? false; -const outDir = args?.outDir ? args?.outDir : "./temp/wsdl"; +const debug: boolean = !!args?.debug; +const printToConsole: boolean = !!args?.print; +const outDir: string = args?.outDir ?? "./temp/wsdl"; const ignoredWords = ["targetNSAlias", "targetNamespace"]; @@ -48,13 +78,39 @@ const tsFmtOpts = { editorconfig: true, vscode: true, vscodeFile: null, tsfmt: false, tsfmtFile: null }; -function printDbg(...args: any[]) { +function printDbg(...args: unknown[]) { if (debug) { console.log(...args); } } -function wsdlToTs(uri: string) { +/** + * Recursively collect element names from a node-soap schema node that have minOccurs="0". + * Descends into sequence / all / choice / complexContent / extension / restriction. + */ +function extractOptionalFieldNames(node: WsdlNode | undefined): Set { + const result = new Set(); + if (!node?.children) return result; + for (const child of node.children) { + if (child.name === "sequence" || child.name === "all" || child.name === "choice") { + for (const el of (child.children || [])) { + if (el.name === "element" && el.$name && el.$minOccurs === "0") { + result.add(el.$name); + } + } + } else if ( + child.name === "complexContent" || + child.name === "extension" || + child.name === "restriction" || + child.name === "complexType" + ) { + extractOptionalFieldNames(child).forEach(f => result.add(f)); + } + } + return result; +} + +function wsdlToTs(uri: string): Promise<[soap.WSDL, any]> { return new Promise((resolve, reject) => { soap.createClient(uri, {}, (err, client) => { if (err) reject(err); @@ -62,7 +118,7 @@ function wsdlToTs(uri: string) { }); }).then(client => { const wsdlDescr = client.describe(); - return [client.wsdl, wsdlDescr]; + return [client.wsdl, wsdlDescr] as [soap.WSDL, any]; }); } @@ -87,7 +143,7 @@ if (args.help) { process.exit(0); } -function parseEnum(enumString: string, enumEl) { +function parseEnum(enumString: string, enumEl: WsdlNode) { const enumParts = enumString.split("|"); printDbg(`parsing enum parts ${enumParts[0]}`, enumParts); return { @@ -97,8 +153,8 @@ function parseEnum(enumString: string, enumEl) { const member = v.split(" ").join(""); if (enumParts[1].replace(/xsd:/, "") === "int") { let memberName = ""; - enumEl.children.filter(el => el.name === "annotation")[0].children.forEach(el => { - memberName = changeCase(el.children[idx].$description, Case.PascalCase).replace(/[ ,]/g, ""); + enumEl.children?.filter((el: WsdlNode) => el.name === "annotation")[0]?.children?.forEach((el: WsdlNode) => { + memberName = changeCase(el.children?.[idx]?.$description ?? "", Case.PascalCase).replace(/[ ,]/g, ""); }); return `${memberName} = ${member}`; } @@ -107,7 +163,50 @@ function parseEnum(enumString: string, enumEl) { }; } -function parseTypeDefinition(operation: JsonObj, opName: string, types, isResponse: boolean) { +/** + * Look up a type definition node in the WSDL schema. Types can live in + * schema.elements, schema.complexTypes, or schema.types. + */ +function schemaLookup(schema: SoapSchema, name: string): WsdlNode { + return (schema.elements?.[name] ?? schema.complexTypes?.[name] ?? schema.types?.[name]) as WsdlNode; +} + +/** + * Given a schema node (element or complexType), find the schema info for a child element by name. + * Returns either: + * - { typeName: string } when the child has a $type attribute (e.g. "tns:TimeRange" -> "TimeRange") + * - { inlineNode: WsdlNode } when the child has an inline anonymous complexType definition + * - undefined when not found + */ +function findChildElementSchema(node: WsdlNode, childName: string): { typeName: string } | { inlineNode: WsdlNode } | undefined { + if (!node?.children) return undefined; + for (const child of node.children) { + if (child.name === "all" || child.name === "sequence" || child.name === "choice") { + for (const el of (child.children || [])) { + if (el.name === "element" && el.$name === childName) { + if (el.$type) { + return { typeName: el.$type.replace(/^tns:/, "") }; + } + // Inline anonymous complexType — return the element node itself + // (it contains the complexType as a child) + return { inlineNode: el }; + } + } + } else if ( + child.name === "complexType" || + child.name === "complexContent" || + child.name === "extension" || + child.name === "restriction" + ) { + const result = findChildElementSchema(child, childName); + if (result) return result; + } + } + return undefined; +} + +function parseTypeDefinition(operation: Record, opName: string, schema: SoapSchema, isResponse: boolean, schemaNodeOverride?: WsdlNode): [string, Record | undefined] { + const types = schema.types ?? {}; const hashId = hashSum({ opName, operation }); if (knownTypes[hashId]) { return knownTypes[hashId]; @@ -118,17 +217,25 @@ function parseTypeDefinition(operation: JsonObj, opName: string, types, isRespon newPropName = `${opName}${i++}`; } knownTypes[hashId] = [newPropName, undefined]; - const typeDefn: JsonObj = {}; + const typeDefn: Record = {}; + const parentSchemaNode = schemaNodeOverride ?? schemaLookup(schema, opName); printDbg(`processing ${opName}`, operation); for (const prop in operation) { const propName = (!prop.endsWith("[]")) ? prop : prop.slice(0, -2); if (typeof operation[prop] === "object") { - const op = operation[prop]; + const op = operation[prop] as Record; const keys = Object.keys(op); if (!isResponse && keys?.length === 1 && keys[0].indexOf("[]") >= 0 && Object.values(op)[0] === "xsd:string") { typeDefn[propName] = "string[]"; } else { - const [newPropName, defn] = parseTypeDefinition(op, propName, types, isResponse); + const childSchema = findChildElementSchema(parentSchemaNode, propName); + let childOverride: WsdlNode | undefined; + if (childSchema && "typeName" in childSchema) { + childOverride = schemaLookup(schema, childSchema.typeName); + } else if (childSchema && "inlineNode" in childSchema) { + childOverride = childSchema.inlineNode; + } + const [newPropName] = parseTypeDefinition(op, propName, schema, isResponse, childOverride); if (prop.endsWith("[]")) { typeDefn[propName] = newPropName + "[]"; } else { @@ -137,15 +244,16 @@ function parseTypeDefinition(operation: JsonObj, opName: string, types, isRespon } } else { if (ignoredWords.indexOf(prop) < 0) { - const primitiveType = operation[prop].replace(/xsd:/gi, ""); + const propValue = operation[prop] as string; + const primitiveType = propValue.replace(/xsd:/gi, ""); if (prop.indexOf("[]") > 0) { typeDefn[prop.slice(0, -2)] = primitiveType + "[]"; - } else if (operation[prop].match(/[.*\|.*\|.*]/)) { + } else if (propValue.match(/[.*\|.*\|.*]/)) { // note: the above regex is matching the node soap stringified // structure of enums, parsed by client.describe(), // e.g.: SomeEnumIdentifier|xsd:int|1,2,3,4 - const enumTypeName = operation[prop].split("|")[0]; - const { type, enumType, values } = parseEnum(operation[prop], types[enumTypeName]); + const enumTypeName = propValue.split("|")[0]; + const { type, enumType, values } = parseEnum(propValue, types[enumTypeName] as WsdlNode); parsedEnums[type] = values; typeDefn[prop] = type; } else { @@ -159,6 +267,7 @@ function parseTypeDefinition(operation: JsonObj, opName: string, types, isRespon } knownTypes[hashId] = [newPropName, typeDefn]; parsedTypes[newPropName] = typeDefn; + parsedOptionals[newPropName] = extractOptionalFieldNames(parentSchemaNode); return [newPropName, typeDefn]; } } @@ -166,7 +275,7 @@ function parseTypeDefinition(operation: JsonObj, opName: string, types, isRespon wsdlToTs(args.url) .then(clientObjs => { const [wsdl, descr] = clientObjs; - const bindings = wsdl.definitions.bindings; + const bindings: Record = wsdl.definitions.bindings; const wsdlNS = wsdl.definitions.$targetNamespace; let namespace = ""; let origNS = ""; @@ -180,17 +289,22 @@ wsdlToTs(args.url) const binding = service[op]; for (const svc in binding) { const operation = binding[svc]; - const types = wsdl.definitions.schemas[wsdlNS].types; + const schema = wsdl.definitions.schemas[wsdlNS]; const request = operation["input"]; const reqName = bindings[op].methods[svc].input.$name; const response = operation["output"]; const respName = bindings[op].methods[svc].output.$name; - parseTypeDefinition(request, reqName, types, false); - parseTypeDefinition(response, respName, types, true); + if (!reqName || !respName) { + console.error(`Skipping method ${svc}: missing input/output name`); + continue; + } + parseTypeDefinition(request, reqName, schema, false); + parseTypeDefinition(response, respName, schema, true); } } } + lines.push("\n"); lines.push(`export namespace ${namespace} {\n`); @@ -208,14 +322,18 @@ wsdlToTs(args.url) for (const type in parsedTypes) { lines.push(`export interface ${type} {\n`); - let typeString = JSON.stringify(parsedTypes[type], null, 4) // convert object to string - .replace(/"/g, "") // remove double-quotes from JSON keys & values - .replace(/,?\n/g, ";\n") // replace comma delimiters with semi-colons - .replace(/\{;/g, "{"); // correct lines where ; added erroneously - - if (type.endsWith("Request")) { - typeString = typeString.replace(/:/g, "?:"); // make request properties optional - } + const optionalSet = parsedOptionals[type] ?? new Set(); + let typeString = JSON.stringify(parsedTypes[type], null, 4) // convert object to string + .replace(/"/g, "") // remove double-quotes from JSON keys & values + .replace(/,?\n/g, ";\n") // replace comma delimiters with semi-colons + .replace(/\{;/g, "{") // correct lines where ; added erroneously + .split("\n").map(line => { // mark minOccurs="0" fields as optional + const match = line.match(/^(\s+)(\w+):/); + if (match && optionalSet.has(match[2])) { + return line.replace(match[2] + ":", match[2] + "?:"); + } + return line; + }).join("\n"); lines.push(typeString.substring(1, typeString.length - 1) + "\n"); lines.push("}\n"); } @@ -226,7 +344,7 @@ wsdlToTs(args.url) lines.push(`export class ${namespace.replace("Ws", "")}ServiceBase extends Service {\n`); - const methods: JsonObj = []; + const methods: ServiceMethod[] = []; for (const service in bindings) { const binding = bindings[service]; @@ -236,6 +354,10 @@ wsdlToTs(args.url) const url = `https://example.org/${soapAction}`; const inputName = binding.methods[method].input["$name"]; const outputName = binding.methods[method].output["$name"]; + if (!inputName || !outputName) { + console.error(`Skipping method ${method}: missing input/output name`); + continue; + } methods.push({ url: soapAction, version: new URL(url).searchParams.get("ver_"), @@ -260,8 +382,8 @@ wsdlToTs(args.url) lines.push("\n\n"); methods.forEach(method => { - lines.push(`${method.name}(request: Partial<${namespace}.${method.input}>): Promise<${namespace}.${method.output}> {`); - lines.push(`\treturn this._connection.send("${method.name}", request, "json", false, undefined, "${method.output}");`); + lines.push(`${method.name}(request: ${namespace}.${method.input}, abortSignal?: AbortSignal): Promise<${namespace}.${method.output}> {`); + lines.push(`\treturn this._connection.send("${method.name}", request, "json", false, abortSignal, "${method.output}");`); lines.push("}\n"); }); }