windmill-client 1.848.3 → 1.850.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core/OpenAPI.mjs +1 -1
- package/dist/index.js +7 -3
- package/dist/services.gen.d.ts +2 -1
- package/dist/services.gen.mjs +6 -2
- package/dist/types.gen.d.ts +43 -2
- package/package.json +1 -1
package/dist/core/OpenAPI.mjs
CHANGED
package/dist/index.js
CHANGED
|
@@ -126,7 +126,7 @@ const OpenAPI = {
|
|
|
126
126
|
PASSWORD: void 0,
|
|
127
127
|
TOKEN: getEnv$1("WM_TOKEN"),
|
|
128
128
|
USERNAME: void 0,
|
|
129
|
-
VERSION: "1.
|
|
129
|
+
VERSION: "1.850.0",
|
|
130
130
|
WITH_CREDENTIALS: !getEnv$1("WM_RAW_APP"),
|
|
131
131
|
interceptors: {
|
|
132
132
|
request: new Interceptors(),
|
|
@@ -4691,7 +4691,7 @@ var SettingService = class {
|
|
|
4691
4691
|
* Readable by any authenticated user; every page load reads it. Each value
|
|
4692
4692
|
* is the raw stored setting, or null when unset.
|
|
4693
4693
|
*
|
|
4694
|
-
* @returns unknown the instance_banner, accent_color and
|
|
4694
|
+
* @returns unknown the instance_banner, accent_color, api_base_url and api_base_url_applies_to settings
|
|
4695
4695
|
* @throws ApiError
|
|
4696
4696
|
*/
|
|
4697
4697
|
static getInstanceUi() {
|
|
@@ -18954,6 +18954,7 @@ var HubPublishService = class {
|
|
|
18954
18954
|
* @param data.workspace
|
|
18955
18955
|
* @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
18956
18956
|
* @param data.folder folder scoping the Hub project source (`{workspace}:{folder}`)
|
|
18957
|
+
* @param data.version id of a reviewed project version to export instead of the current one (see the hub's `/projects/{slug}/versions`)
|
|
18957
18958
|
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
18958
18959
|
* @throws ApiError
|
|
18959
18960
|
*/
|
|
@@ -18965,7 +18966,10 @@ var HubPublishService = class {
|
|
|
18965
18966
|
workspace: data.workspace,
|
|
18966
18967
|
slug: data.slug
|
|
18967
18968
|
},
|
|
18968
|
-
query: {
|
|
18969
|
+
query: {
|
|
18970
|
+
folder: data.folder,
|
|
18971
|
+
version: data.version
|
|
18972
|
+
}
|
|
18969
18973
|
});
|
|
18970
18974
|
}
|
|
18971
18975
|
/**
|
package/dist/services.gen.d.ts
CHANGED
|
@@ -2319,7 +2319,7 @@ export declare class SettingService {
|
|
|
2319
2319
|
* Readable by any authenticated user; every page load reads it. Each value
|
|
2320
2320
|
* is the raw stored setting, or null when unset.
|
|
2321
2321
|
*
|
|
2322
|
-
* @returns unknown the instance_banner, accent_color and
|
|
2322
|
+
* @returns unknown the instance_banner, accent_color, api_base_url and api_base_url_applies_to settings
|
|
2323
2323
|
* @throws ApiError
|
|
2324
2324
|
*/
|
|
2325
2325
|
static getInstanceUi(): CancelablePromise<GetInstanceUiResponse>;
|
|
@@ -9789,6 +9789,7 @@ export declare class HubPublishService {
|
|
|
9789
9789
|
* @param data.workspace
|
|
9790
9790
|
* @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
9791
9791
|
* @param data.folder folder scoping the Hub project source (`{workspace}:{folder}`)
|
|
9792
|
+
* @param data.version id of a reviewed project version to export instead of the current one (see the hub's `/projects/{slug}/versions`)
|
|
9792
9793
|
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
9793
9794
|
* @throws ApiError
|
|
9794
9795
|
*/
|
package/dist/services.gen.mjs
CHANGED
|
@@ -4323,7 +4323,7 @@ var SettingService = class {
|
|
|
4323
4323
|
* Readable by any authenticated user; every page load reads it. Each value
|
|
4324
4324
|
* is the raw stored setting, or null when unset.
|
|
4325
4325
|
*
|
|
4326
|
-
* @returns unknown the instance_banner, accent_color and
|
|
4326
|
+
* @returns unknown the instance_banner, accent_color, api_base_url and api_base_url_applies_to settings
|
|
4327
4327
|
* @throws ApiError
|
|
4328
4328
|
*/
|
|
4329
4329
|
static getInstanceUi() {
|
|
@@ -18586,6 +18586,7 @@ var HubPublishService = class {
|
|
|
18586
18586
|
* @param data.workspace
|
|
18587
18587
|
* @param data.slug hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
18588
18588
|
* @param data.folder folder scoping the Hub project source (`{workspace}:{folder}`)
|
|
18589
|
+
* @param data.version id of a reviewed project version to export instead of the current one (see the hub's `/projects/{slug}/versions`)
|
|
18589
18590
|
* @returns string raw Hub response body (status code is passed through from the Hub)
|
|
18590
18591
|
* @throws ApiError
|
|
18591
18592
|
*/
|
|
@@ -18597,7 +18598,10 @@ var HubPublishService = class {
|
|
|
18597
18598
|
workspace: data.workspace,
|
|
18598
18599
|
slug: data.slug
|
|
18599
18600
|
},
|
|
18600
|
-
query: {
|
|
18601
|
+
query: {
|
|
18602
|
+
folder: data.folder,
|
|
18603
|
+
version: data.version
|
|
18604
|
+
}
|
|
18601
18605
|
});
|
|
18602
18606
|
}
|
|
18603
18607
|
/**
|
package/dist/types.gen.d.ts
CHANGED
|
@@ -1045,7 +1045,7 @@ export type AiAgent = {
|
|
|
1045
1045
|
*/
|
|
1046
1046
|
id: string;
|
|
1047
1047
|
/**
|
|
1048
|
-
* The name the AI agent calls this tool by, not a human label. On a flowmodule tool it must match ^[a-zA-Z0-9_]+$ - letters, numbers and underscores only (e.g. 'search_documentation', not 'Search documentation') - and always be set; on an mcp or
|
|
1048
|
+
* The name the AI agent calls this tool by, not a human label. On a flowmodule tool it must match ^[a-zA-Z0-9_]+$ - letters, numbers and underscores only (e.g. 'search_documentation', not 'Search documentation') - and always be set; on an mcp, websearch or question tool it is a plain label. Put the human-readable explanation in 'description'.
|
|
1049
1049
|
*/
|
|
1050
1050
|
summary?: string;
|
|
1051
1051
|
/**
|
|
@@ -1056,6 +1056,10 @@ export type AiAgent = {
|
|
|
1056
1056
|
* Scopes the token of this tool's jobs is restricted to, on top of the agent step's own restriction: a tool can only narrow it.
|
|
1057
1057
|
*/
|
|
1058
1058
|
job_token_scopes?: Array<(string)> | null;
|
|
1059
|
+
/**
|
|
1060
|
+
* Flowmodule and mcp tools only. Each call waits for a person to approve or reject it from the flow's run page or chat, without the agent holding a worker. Calls in the same turn that do not require approval run right away. A rejected call, or one nobody answers within 30 minutes, is reported to the AI as not run.
|
|
1061
|
+
*/
|
|
1062
|
+
requires_approval?: boolean;
|
|
1059
1063
|
/**
|
|
1060
1064
|
* The implementation of a tool. Can be a flow module (script/flow) or an MCP tool reference
|
|
1061
1065
|
*/
|
|
@@ -1077,6 +1081,12 @@ export type AiAgent = {
|
|
|
1077
1081
|
exclude_tools?: Array<(string)>;
|
|
1078
1082
|
} | {
|
|
1079
1083
|
tool_type: 'websearch';
|
|
1084
|
+
} | {
|
|
1085
|
+
tool_type: 'question';
|
|
1086
|
+
/**
|
|
1087
|
+
* Seconds to wait for an answer before the question is reported to the AI as timed out. Defaults to 1800.
|
|
1088
|
+
*/
|
|
1089
|
+
timeout?: number;
|
|
1080
1090
|
};
|
|
1081
1091
|
}>;
|
|
1082
1092
|
type: 'aiagent';
|
|
@@ -1230,6 +1240,27 @@ export type FlowStatusModule = {
|
|
|
1230
1240
|
};
|
|
1231
1241
|
} | {
|
|
1232
1242
|
type: 'web_search';
|
|
1243
|
+
} | {
|
|
1244
|
+
type: 'approval';
|
|
1245
|
+
call_id: string;
|
|
1246
|
+
calls: Array<{
|
|
1247
|
+
function_name: string;
|
|
1248
|
+
arguments: unknown;
|
|
1249
|
+
}>;
|
|
1250
|
+
expires_at: string;
|
|
1251
|
+
} | {
|
|
1252
|
+
type: 'question';
|
|
1253
|
+
call_id: string;
|
|
1254
|
+
question: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* answers the model proposes; a free-text answer is always possible
|
|
1257
|
+
*/
|
|
1258
|
+
choices?: Array<(string)>;
|
|
1259
|
+
/**
|
|
1260
|
+
* whether several choices can be picked together
|
|
1261
|
+
*/
|
|
1262
|
+
multi_select?: boolean;
|
|
1263
|
+
expires_at: string;
|
|
1233
1264
|
} | {
|
|
1234
1265
|
type: 'message';
|
|
1235
1266
|
})>;
|
|
@@ -10605,6 +10636,7 @@ export type GetInstanceUiResponse = {
|
|
|
10605
10636
|
instance_banner?: unknown;
|
|
10606
10637
|
accent_color?: unknown;
|
|
10607
10638
|
api_base_url?: unknown;
|
|
10639
|
+
api_base_url_applies_to?: unknown;
|
|
10608
10640
|
};
|
|
10609
10641
|
export type GetRuffConfigResponse = string;
|
|
10610
10642
|
export type GetLocalResponse = unknown;
|
|
@@ -20011,6 +20043,10 @@ export type GetHubProjectExportData = {
|
|
|
20011
20043
|
* hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
20012
20044
|
*/
|
|
20013
20045
|
slug: string;
|
|
20046
|
+
/**
|
|
20047
|
+
* id of a reviewed project version to export instead of the current one (see the hub's `/projects/{slug}/versions`)
|
|
20048
|
+
*/
|
|
20049
|
+
version?: number;
|
|
20014
20050
|
workspace: string;
|
|
20015
20051
|
};
|
|
20016
20052
|
export type GetHubProjectExportResponse = string;
|
|
@@ -24748,12 +24784,13 @@ export type $OpenApiTs = {
|
|
|
24748
24784
|
get: {
|
|
24749
24785
|
res: {
|
|
24750
24786
|
/**
|
|
24751
|
-
* the instance_banner, accent_color and
|
|
24787
|
+
* the instance_banner, accent_color, api_base_url and api_base_url_applies_to settings
|
|
24752
24788
|
*/
|
|
24753
24789
|
200: {
|
|
24754
24790
|
instance_banner?: unknown;
|
|
24755
24791
|
accent_color?: unknown;
|
|
24756
24792
|
api_base_url?: unknown;
|
|
24793
|
+
api_base_url_applies_to?: unknown;
|
|
24757
24794
|
};
|
|
24758
24795
|
};
|
|
24759
24796
|
};
|
|
@@ -40290,6 +40327,10 @@ export type $OpenApiTs = {
|
|
|
40290
40327
|
* hub project slug (3-50 chars, lowercase alphanumeric and hyphens, no leading/trailing hyphen)
|
|
40291
40328
|
*/
|
|
40292
40329
|
slug: string;
|
|
40330
|
+
/**
|
|
40331
|
+
* id of a reviewed project version to export instead of the current one (see the hub's `/projects/{slug}/versions`)
|
|
40332
|
+
*/
|
|
40333
|
+
version?: number;
|
|
40293
40334
|
workspace: string;
|
|
40294
40335
|
};
|
|
40295
40336
|
res: {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "windmill-client",
|
|
3
3
|
"description": "Windmill SDK client for browsers and Node.js",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.850.0",
|
|
5
5
|
"author": "Ruben Fiszel",
|
|
6
6
|
"license": "Apache 2.0",
|
|
7
7
|
"homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",
|