import { ObjectScriptApi } from "https://deno.land/x/windmill@v1.38.3/windmill-api/types/ObjectParamAPI.ts";
Constructors
new
ObjectScriptApi(configuration: Configuration,
requestFactory?: ScriptApiRequestFactory,
responseProcessor?: ScriptApiResponseProcessor,
Properties
private
api: ObservableScriptApiMethods
archiveScriptByHash(param: ScriptApiArchiveScriptByHashRequest, options?: Configuration): Promise<Script>
archive script by hash
archiveScriptByPath(param: ScriptApiArchiveScriptByPathRequest, options?: Configuration): Promise<string>
archive script by path
createScript(param: ScriptApiCreateScriptRequest, options?: Configuration): Promise<string>
create script
deleteScriptByHash(param: ScriptApiDeleteScriptByHashRequest, options?: Configuration): Promise<Script>
delete script by hash (erase content but keep hash)
denoToJsonschema(param: ScriptApiDenoToJsonschemaRequest, options?: Configuration): Promise<MainArgSignature>
inspect deno code to infer jsonschema of arguments
existsScriptByPath(param: ScriptApiExistsScriptByPathRequest, options?: Configuration): Promise<boolean>
exists script by path
getHubScriptContentByPath(param: ScriptApiGetHubScriptContentByPathRequest, options?: Configuration): Promise<string>
get hub script content by path
getScriptByHash(param: ScriptApiGetScriptByHashRequest, options?: Configuration): Promise<Script>
get script by hash
getScriptByPath(param: ScriptApiGetScriptByPathRequest, options?: Configuration): Promise<Script>
get script by path
getScriptDeploymentStatus(param: ScriptApiGetScriptDeploymentStatusRequest, options?: Configuration): Promise<InlineResponse2005>
get script deployment status
goToJsonschema(param: ScriptApiGoToJsonschemaRequest, options?: Configuration): Promise<MainArgSignature>
inspect go code to infer jsonschema of arguments
listHubScripts(param?: ScriptApiListHubScriptsRequest, options?: Configuration): Promise<InlineResponse2002>
list all available hub scripts
listScripts(param: ScriptApiListScriptsRequest, options?: Configuration): Promise<Array<Script>>
list all available scripts
pythonToJsonschema(param: ScriptApiPythonToJsonschemaRequest, options?: Configuration): Promise<MainArgSignature>
inspect python code to infer jsonschema of arguments
rawScriptByHash(param: ScriptApiRawScriptByHashRequest, options?: Configuration): Promise<string>
raw script by hash
rawScriptByPath(param: ScriptApiRawScriptByPathRequest, options?: Configuration): Promise<string>
raw script by path