@hpcc-js/comms
Version:
hpcc-js - Communications
1,041 lines (919 loc) • 30 kB
text/typescript
import { IConnection, IOptions } from "../../../../connection.ts";
import { Service } from "../../../../espConnection.ts";
export namespace FileSpray {
export type int = number;
export type double = number;
export type base64Binary = string;
export type long = number;
export type dateTime = string;
export enum DFUWUActions {
Delete = "Delete",
Protect = "Protect",
Unprotect = "Unprotect",
Restore = "Restore",
SetToFailed = "SetToFailed",
Archive = "Archive"
}
export interface AbortDFUWorkunit {
wuid: string;
}
export interface Exception {
Code: string;
Audience: string;
Source: string;
Message: string;
}
export interface Exceptions {
Source: string;
Exception: Exception[];
}
export interface AbortDFUWorkunitResponse {
Exceptions: {
Source: string;
Exception: Exception[];
};
}
export interface Copy {
sourceLogicalName: string;
destGroup: string;
destGroupRoxie: string;
destLogicalName: string;
sourceDali: string;
srcusername: string;
srcpassword: string;
overwrite: 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;
}
export interface CopyResponse {
Exceptions: Exceptions;
result: string;
}
export interface CreateDFUPublisherWorkunit {
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;
}
export interface CreateDFUPublisherWorkunitResponse {
Exceptions: Exceptions;
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;
};
}
export interface CreateDFUWorkunit {
DFUServerQueue: string;
}
export interface CreateDFUWorkunitResponse {
Exceptions: Exceptions;
result: result;
}
export interface DFUWUFileRequest {
Wuid?: string;
Type?: string;
PlainText?: string;
}
export interface DFUWUFileResponse {
Exceptions: Exceptions;
file: string;
}
export interface DFUWUSearchRequest {
}
export interface ClusterNames {
ClusterName: string[];
}
export interface DFUWUSearchResponse {
Exceptions: Exceptions;
ClusterNames: {
ClusterName: string[];
};
}
export interface wuids {
Item: string[];
}
export interface DFUWorkunitsActionRequest {
wuids?: {
Item?: string[];
};
Type?: DFUWUActions;
}
export interface DFUActionResult {
ID: string;
Action: string;
Result: string;
}
export interface DFUActionResults {
DFUActionResult: DFUActionResult[];
}
export interface DFUWorkunitsActionResponse {
Exceptions: Exceptions;
FirstColumn: string;
DFUActionResults: {
DFUActionResult: DFUActionResult[];
};
}
export interface DeleteDFUWorkunit {
wuid: string;
}
export interface DeleteDFUWorkunitResponse {
Exceptions: Exceptions;
result: boolean;
}
export interface DeleteDFUWorkunits {
wuids: wuids;
}
export interface DeleteDFUWorkunitsResponse {
Exceptions: Exceptions;
}
export interface Names {
Item: string[];
}
export interface DeleteDropZoneFilesRequest {
DropZoneName?: string;
NetAddress?: string;
Path?: string;
OS?: string;
Names?: {
Item?: string[];
};
}
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;
}
export interface DesprayResponse {
Exceptions: Exceptions;
wuid: string;
}
export interface DfuMonitorRequest {
EventName?: string;
LogicalName?: string;
Ip?: string;
Filename?: string;
Sub?: boolean;
ShotLimit?: int;
}
export interface DfuMonitorResponse {
Exceptions: Exceptions;
wuid: string;
}
export interface DropZoneFileSearchRequest {
DropZoneName?: string;
Server?: string;
ECLWatchVisibleOnly?: boolean;
NameFilter?: string;
}
export interface PhysicalFileStruct {
name: string;
Server: string;
isDir: boolean;
filesize: long;
modifiedtime: string;
Path: string;
Files: Files;
}
export interface Files {
PhysicalFileStruct: PhysicalFileStruct[];
}
export interface DropZoneFileSearchResponse {
Exceptions: Exceptions;
Files: {
PhysicalFileStruct: PhysicalFileStruct[];
};
Warning: string;
}
export interface DropZoneFilesRequest {
DropZoneName?: string;
NetAddress?: string;
Path?: string;
OS?: string;
Subfolder?: string;
ECLWatchVisibleOnly?: boolean;
DirectoryOnly?: boolean;
}
export interface DropZone {
Name: string;
NetAddress: string;
Path: string;
Computer: string;
Linux: string;
}
export interface DropZones {
DropZone: DropZone[];
}
export interface DropZoneFilesResponse {
Exceptions: Exceptions;
DropZoneName: string;
NetAddress: string;
Path: string;
OS: int;
ECLWatchVisibleOnly: boolean;
DropZones: {
DropZone: DropZone[];
};
Files: Files;
}
export interface EchoDateTime {
dt: dateTime;
}
export interface EchoDateTimeResponse {
result: dateTime;
}
export interface FileListRequest {
DropZoneName?: string;
Netaddr?: string;
Path?: string;
Mask?: string;
OS?: string;
DirectoryOnly?: boolean;
}
export interface files {
PhysicalFileStruct: PhysicalFileStruct[];
}
export interface FileListResponse {
Exceptions: Exceptions;
Netaddr: string;
Path: string;
Mask: string;
OS: int;
DirectoryOnly: boolean;
AcceptLanguage: string;
files: {
PhysicalFileStruct: PhysicalFileStruct[];
};
}
export interface GetDFUExceptions {
wuid: string;
}
export interface GetDFUExceptionsResponse {
Exceptions: Exceptions;
result: result;
}
export interface ProgressRequest {
wuid?: string;
}
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;
}
export interface GetDFUServerQueuesRequest {
DFUServerName?: string;
}
export interface GetDFUServerQueuesResponse {
Exceptions: Exceptions;
Names: Names;
}
export interface GetDFUWorkunit {
wuid: string;
}
export interface GetDFUWorkunitResponse {
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;
}
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;
}
export interface results {
DFUWorkunit: DFUWorkunit[];
}
export interface GetDFUWorkunitsResponse {
Exceptions: Exceptions;
results: {
DFUWorkunit: DFUWorkunit[];
};
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 GetSprayTargetsRequest {
}
export interface GroupNode {
Name: string;
ClusterType: string;
ReplicateOutputs: boolean;
}
export interface GroupNodes {
GroupNode: GroupNode[];
}
export interface GetSprayTargetsResponse {
Exceptions: Exceptions;
GroupNodes: {
GroupNode: GroupNode[];
};
}
export interface OpenSaveRequest {
Location?: string;
Path?: string;
Name?: string;
Type?: string;
DateTime?: string;
BinaryFile?: boolean;
}
export interface OpenSaveResponse {
Exceptions: Exceptions;
Location: string;
Path: string;
Name: string;
Type: string;
DateTime: string;
Viewable: boolean;
}
export interface FileSprayPingRequest {
}
export interface FileSprayPingResponse {
}
export interface Rename {
srcname: string;
dstname: string;
overwrite: boolean;
DFUServerQueue: string;
}
export interface RenameResponse {
Exceptions: Exceptions;
wuid: string;
}
export interface Replicate {
sourceLogicalName: string;
replicateOffset: int;
cluster: string;
repeatLast: boolean;
onlyRepeated: boolean;
DFUServerQueue: string;
}
export interface ReplicateResponse {
Exceptions: Exceptions;
wuid: string;
}
export interface ShowResultRequest {
Result?: string;
}
export interface ShowResultResponse {
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;
}
export interface SprayFixedResponse {
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;
}
export interface SprayResponse {
Exceptions: Exceptions;
wuid: string;
}
export interface SubmitDFUWorkunit {
wuid: string;
}
export interface SubmitDFUWorkunitResponse {
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;
}
export interface UpdateDFUWorkunit {
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;
};
ClusterOrig: string;
JobNameOrig: string;
isProtectedOrig: boolean;
StateOrig: int;
}
export interface UpdateDFUWorkunitResponse {
Exceptions: Exceptions;
}
}
export class FileSprayServiceBase extends Service {
constructor(optsConnection: IOptions | IConnection) {
super(optsConnection, "FileSpray", "1.25");
}
AbortDFUWorkunit(request: FileSpray.AbortDFUWorkunit): Promise<FileSpray.AbortDFUWorkunitResponse> {
return this._connection.send("AbortDFUWorkunit", request, "json", false, undefined, "AbortDFUWorkunitResponse");
}
Copy(request: FileSpray.Copy): Promise<FileSpray.CopyResponse> {
return this._connection.send("Copy", request, "json", false, undefined, "CopyResponse");
}
CreateDFUPublisherWorkunit(request: FileSpray.CreateDFUPublisherWorkunit): Promise<FileSpray.CreateDFUPublisherWorkunitResponse> {
return this._connection.send("CreateDFUPublisherWorkunit", request, "json", false, undefined, "CreateDFUPublisherWorkunitResponse");
}
CreateDFUWorkunit(request: FileSpray.CreateDFUWorkunit): Promise<FileSpray.CreateDFUWorkunitResponse> {
return this._connection.send("CreateDFUWorkunit", request, "json", false, undefined, "CreateDFUWorkunitResponse");
}
DFUWUFile(request: FileSpray.DFUWUFileRequest): Promise<FileSpray.DFUWUFileResponse> {
return this._connection.send("DFUWUFile", request, "json", false, undefined, "DFUWUFileResponse");
}
DFUWUSearch(request: FileSpray.DFUWUSearchRequest): Promise<FileSpray.DFUWUSearchResponse> {
return this._connection.send("DFUWUSearch", request, "json", false, undefined, "DFUWUSearchResponse");
}
DFUWorkunitsAction(request: FileSpray.DFUWorkunitsActionRequest): Promise<FileSpray.DFUWorkunitsActionResponse> {
return this._connection.send("DFUWorkunitsAction", request, "json", false, undefined, "DFUWorkunitsActionResponse");
}
DeleteDFUWorkunit(request: FileSpray.DeleteDFUWorkunit): Promise<FileSpray.DeleteDFUWorkunitResponse> {
return this._connection.send("DeleteDFUWorkunit", request, "json", false, undefined, "DeleteDFUWorkunitResponse");
}
DeleteDFUWorkunits(request: FileSpray.DeleteDFUWorkunits): Promise<FileSpray.DeleteDFUWorkunitsResponse> {
return this._connection.send("DeleteDFUWorkunits", request, "json", false, undefined, "DeleteDFUWorkunitsResponse");
}
DeleteDropZoneFiles(request: FileSpray.DeleteDropZoneFilesRequest): Promise<FileSpray.DFUWorkunitsActionResponse> {
return this._connection.send("DeleteDropZoneFiles", request, "json", false, undefined, "DFUWorkunitsActionResponse");
}
Despray(request: FileSpray.Despray): Promise<FileSpray.DesprayResponse> {
return this._connection.send("Despray", request, "json", false, undefined, "DesprayResponse");
}
DfuMonitor(request: FileSpray.DfuMonitorRequest): Promise<FileSpray.DfuMonitorResponse> {
return this._connection.send("DfuMonitor", request, "json", false, undefined, "DfuMonitorResponse");
}
DropZoneFileSearch(request: FileSpray.DropZoneFileSearchRequest): Promise<FileSpray.DropZoneFileSearchResponse> {
return this._connection.send("DropZoneFileSearch", request, "json", false, undefined, "DropZoneFileSearchResponse");
}
DropZoneFiles(request: FileSpray.DropZoneFilesRequest): Promise<FileSpray.DropZoneFilesResponse> {
return this._connection.send("DropZoneFiles", request, "json", false, undefined, "DropZoneFilesResponse");
}
EchoDateTime(request: FileSpray.EchoDateTime): Promise<FileSpray.EchoDateTimeResponse> {
return this._connection.send("EchoDateTime", request, "json", false, undefined, "EchoDateTimeResponse");
}
FileList(request: FileSpray.FileListRequest): Promise<FileSpray.FileListResponse> {
return this._connection.send("FileList", request, "json", false, undefined, "FileListResponse");
}
GetDFUExceptions(request: FileSpray.GetDFUExceptions): Promise<FileSpray.GetDFUExceptionsResponse> {
return this._connection.send("GetDFUExceptions", request, "json", false, undefined, "GetDFUExceptionsResponse");
}
GetDFUProgress(request: FileSpray.ProgressRequest): Promise<FileSpray.ProgressResponse> {
return this._connection.send("GetDFUProgress", request, "json", false, undefined, "ProgressResponse");
}
GetDFUServerQueues(request: FileSpray.GetDFUServerQueuesRequest): Promise<FileSpray.GetDFUServerQueuesResponse> {
return this._connection.send("GetDFUServerQueues", request, "json", false, undefined, "GetDFUServerQueuesResponse");
}
GetDFUWorkunit(request: FileSpray.GetDFUWorkunit): Promise<FileSpray.GetDFUWorkunitResponse> {
return this._connection.send("GetDFUWorkunit", request, "json", false, undefined, "GetDFUWorkunitResponse");
}
GetDFUWorkunits(request: FileSpray.GetDFUWorkunits): Promise<FileSpray.GetDFUWorkunitsResponse> {
return this._connection.send("GetDFUWorkunits", request, "json", false, undefined, "GetDFUWorkunitsResponse");
}
GetSprayTargets(request: FileSpray.GetSprayTargetsRequest): Promise<FileSpray.GetSprayTargetsResponse> {
return this._connection.send("GetSprayTargets", request, "json", false, undefined, "GetSprayTargetsResponse");
}
OpenSave(request: FileSpray.OpenSaveRequest): Promise<FileSpray.OpenSaveResponse> {
return this._connection.send("OpenSave", request, "json", false, undefined, "OpenSaveResponse");
}
Ping(request: FileSpray.FileSprayPingRequest): Promise<FileSpray.FileSprayPingResponse> {
return this._connection.send("Ping", request, "json", false, undefined, "FileSprayPingResponse");
}
Rename(request: FileSpray.Rename): Promise<FileSpray.RenameResponse> {
return this._connection.send("Rename", request, "json", false, undefined, "RenameResponse");
}
Replicate(request: FileSpray.Replicate): Promise<FileSpray.ReplicateResponse> {
return this._connection.send("Replicate", request, "json", false, undefined, "ReplicateResponse");
}
ShowResult(request: FileSpray.ShowResultRequest): Promise<FileSpray.ShowResultResponse> {
return this._connection.send("ShowResult", request, "json", false, undefined, "ShowResultResponse");
}
SprayFixed(request: FileSpray.SprayFixed): Promise<FileSpray.SprayFixedResponse> {
return this._connection.send("SprayFixed", request, "json", false, undefined, "SprayFixedResponse");
}
SprayVariable(request: FileSpray.SprayVariable): Promise<FileSpray.SprayResponse> {
return this._connection.send("SprayVariable", request, "json", false, undefined, "SprayResponse");
}
SubmitDFUWorkunit(request: FileSpray.SubmitDFUWorkunit): Promise<FileSpray.SubmitDFUWorkunitResponse> {
return this._connection.send("SubmitDFUWorkunit", request, "json", false, undefined, "SubmitDFUWorkunitResponse");
}
UpdateDFUWorkunit(request: FileSpray.UpdateDFUWorkunit): Promise<FileSpray.UpdateDFUWorkunitResponse> {
return this._connection.send("UpdateDFUWorkunit", request, "json", false, undefined, "UpdateDFUWorkunitResponse");
}
}