import { ScriptApi } from "https://deno.land/x/windmill@v1.35.0/mod.ts";
Constructors
new
ScriptApi(configuration: Configuration,
requestFactory?: ScriptApiRequestFactory,
responseProcessor?: ScriptApiResponseProcessor,
Methods
denoToJsonschema(body: string, _options?: Configuration): Promise<MainArgSignature>
inspect deno code to infer jsonschema of arguments
getHubScriptContentByPath(path: string, _options?: Configuration): Promise<string>
get hub script content by path
listScripts(): Promise<Array<Script>>
workspace: string,
page?: number,
perPage?: number,
orderDesc?: boolean,
createdBy?: string,
pathStart?: string,
pathExact?: string,
firstParentHash?: string,
lastParentHash?: string,
parentHash?: string,
showArchived?: boolean,
isTemplate?: boolean,
isTrigger?: boolean,
_options?: Configuration,
list all available scripts
pythonToJsonschema(body: string, _options?: Configuration): Promise<MainArgSignature>
inspect python code to infer jsonschema of arguments