windmill-client
Advanced tools
Comparing version 1.168.3 to 1.169.0
@@ -6,3 +6,3 @@ "use strict"; | ||
BASE: '/api', | ||
VERSION: '1.168.3', | ||
VERSION: '1.169.0', | ||
WITH_CREDENTIALS: false, | ||
@@ -9,0 +9,0 @@ CREDENTIALS: 'include', |
@@ -46,2 +46,23 @@ import type { NewScript } from '../models/NewScript'; | ||
/** | ||
* query hub scripts by similarity | ||
* @returns any script details | ||
* @throws ApiError | ||
*/ | ||
static queryHubScripts({ text, kind, limit, }: { | ||
/** | ||
* query text | ||
*/ | ||
text: string; | ||
/** | ||
* query scripts kind | ||
*/ | ||
kind?: string; | ||
/** | ||
* query limit | ||
*/ | ||
limit?: number; | ||
}): CancelablePromise<Array<{ | ||
id: string; | ||
}>>; | ||
/** | ||
* list all available scripts | ||
@@ -48,0 +69,0 @@ * @returns Script All available scripts |
@@ -47,2 +47,18 @@ "use strict"; | ||
/** | ||
* query hub scripts by similarity | ||
* @returns any script details | ||
* @throws ApiError | ||
*/ | ||
static queryHubScripts({ text, kind, limit, }) { | ||
return (0, request_1.request)(OpenAPI_1.OpenAPI, { | ||
method: 'GET', | ||
url: '/scripts/hub/query', | ||
query: { | ||
'text': text, | ||
'kind': kind, | ||
'limit': limit, | ||
}, | ||
}); | ||
} | ||
/** | ||
* list all available scripts | ||
@@ -49,0 +65,0 @@ * @returns Script All available scripts |
{ | ||
"name": "windmill-client", | ||
"description": "Windmill SDK client for browsers and Node.js", | ||
"version": "1.168.3", | ||
"version": "1.169.0", | ||
"author": "Ruben Fiszel", | ||
@@ -6,0 +6,0 @@ "license": "Apache 2.0", |
344413
10586