windmill-client 1.455.2 → 1.457.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.
@@ -39,7 +39,7 @@ exports.OpenAPI = {
39
39
  PASSWORD: undefined,
40
40
  TOKEN: getEnv("WM_TOKEN"),
41
41
  USERNAME: undefined,
42
- VERSION: '1.455.2',
42
+ VERSION: '1.457.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -1,6 +1,7 @@
1
- export type AiResource = {
1
+ export type AIProvider = 'openai' | 'anthropic' | 'mistral' | 'deepseek' | 'groq' | 'openrouter' | 'customai';
2
+ export type AIResource = {
2
3
  path: string;
3
- provider: string;
4
+ provider: AIProvider;
4
5
  };
5
6
  export type Script = {
6
7
  workspace_id?: string;
@@ -2029,8 +2030,9 @@ export type GetSettingsResponse = {
2029
2030
  customer_id?: string;
2030
2031
  webhook?: string;
2031
2032
  deploy_to?: string;
2032
- ai_resource?: AiResource;
2033
- code_completion_enabled: boolean;
2033
+ ai_resource?: AIResource;
2034
+ code_completion_model?: string;
2035
+ ai_models: Array<(string)>;
2034
2036
  error_handler?: string;
2035
2037
  error_handler_extra_args?: ScriptArgs;
2036
2038
  error_handler_muted_on_cancel: boolean;
@@ -2149,8 +2151,9 @@ export type EditCopilotConfigData = {
2149
2151
  * WorkspaceCopilotConfig
2150
2152
  */
2151
2153
  requestBody: {
2152
- ai_resource?: AiResource;
2153
- code_completion_enabled: boolean;
2154
+ ai_resource?: AIResource;
2155
+ code_completion_model?: string;
2156
+ ai_models: Array<(string)>;
2154
2157
  };
2155
2158
  workspace: string;
2156
2159
  };
@@ -2159,9 +2162,10 @@ export type GetCopilotInfoData = {
2159
2162
  workspace: string;
2160
2163
  };
2161
2164
  export type GetCopilotInfoResponse = {
2162
- ai_provider: string;
2165
+ ai_provider?: AIProvider;
2163
2166
  exists_ai_resource: boolean;
2164
- code_completion_enabled: boolean;
2167
+ code_completion_model?: string;
2168
+ ai_models: Array<(string)>;
2165
2169
  };
2166
2170
  export type EditErrorHandlerData = {
2167
2171
  /**
@@ -7037,8 +7041,9 @@ export type $OpenApiTs = {
7037
7041
  customer_id?: string;
7038
7042
  webhook?: string;
7039
7043
  deploy_to?: string;
7040
- ai_resource?: AiResource;
7041
- code_completion_enabled: boolean;
7044
+ ai_resource?: AIResource;
7045
+ code_completion_model?: string;
7046
+ ai_models: Array<(string)>;
7042
7047
  error_handler?: string;
7043
7048
  error_handler_extra_args?: ScriptArgs;
7044
7049
  error_handler_muted_on_cancel: boolean;
@@ -7259,8 +7264,9 @@ export type $OpenApiTs = {
7259
7264
  * WorkspaceCopilotConfig
7260
7265
  */
7261
7266
  requestBody: {
7262
- ai_resource?: AiResource;
7263
- code_completion_enabled: boolean;
7267
+ ai_resource?: AIResource;
7268
+ code_completion_model?: string;
7269
+ ai_models: Array<(string)>;
7264
7270
  };
7265
7271
  workspace: string;
7266
7272
  };
@@ -7282,9 +7288,10 @@ export type $OpenApiTs = {
7282
7288
  * status
7283
7289
  */
7284
7290
  200: {
7285
- ai_provider: string;
7291
+ ai_provider?: AIProvider;
7286
7292
  exists_ai_resource: boolean;
7287
- code_completion_enabled: boolean;
7293
+ code_completion_model?: string;
7294
+ ai_models: Array<(string)>;
7288
7295
  };
7289
7296
  };
7290
7297
  };
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.455.2",
4
+ "version": "1.457.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {