windmill-client 1.818.0 → 1.819.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.
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.818.0",
32
+ VERSION: "1.819.0",
33
33
  WITH_CREDENTIALS: !getEnv("WM_RAW_APP"),
34
34
  interceptors: {
35
35
  request: new Interceptors(),
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.818.0",
129
+ VERSION: "1.819.0",
130
130
  WITH_CREDENTIALS: !getEnv$1("WM_RAW_APP"),
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -8888,7 +8888,8 @@ var WorkspaceDependenciesService = class {
8888
8888
  url: "/w/{workspace}/workspace_dependencies/create",
8889
8889
  path: { workspace: data.workspace },
8890
8890
  body: data.requestBody,
8891
- mediaType: "application/json"
8891
+ mediaType: "application/json",
8892
+ errors: { 400: "the body's workspace_id does not match the workspace in the path" }
8892
8893
  });
8893
8894
  }
8894
8895
  /**
@@ -12145,7 +12146,7 @@ var PathAutocompleteService = class {
12145
12146
  * Returns the flat list of all item paths visible to the caller across
12146
12147
  * scripts, flows, apps, raw apps, variables, and resources. Intended to
12147
12148
  * feed an entirely client-side path autocomplete UI: the frontend fetches
12148
- * once (server caches per workspace for 60s) and performs all prefix/segment
12149
+ * once (server caches per caller for 60s) and performs all prefix/segment
12149
12150
  * computation locally. Capped at 20,000 paths (5,000 per table).
12150
12151
  *
12151
12152
  * @param data The data for the request.
@@ -6190,7 +6190,7 @@ export declare class PathAutocompleteService {
6190
6190
  * Returns the flat list of all item paths visible to the caller across
6191
6191
  * scripts, flows, apps, raw apps, variables, and resources. Intended to
6192
6192
  * feed an entirely client-side path autocomplete UI: the frontend fetches
6193
- * once (server caches per workspace for 60s) and performs all prefix/segment
6193
+ * once (server caches per caller for 60s) and performs all prefix/segment
6194
6194
  * computation locally. Capped at 20,000 paths (5,000 per table).
6195
6195
  *
6196
6196
  * @param data The data for the request.
@@ -8520,7 +8520,8 @@ var WorkspaceDependenciesService = class {
8520
8520
  url: "/w/{workspace}/workspace_dependencies/create",
8521
8521
  path: { workspace: data.workspace },
8522
8522
  body: data.requestBody,
8523
- mediaType: "application/json"
8523
+ mediaType: "application/json",
8524
+ errors: { 400: "the body's workspace_id does not match the workspace in the path" }
8524
8525
  });
8525
8526
  }
8526
8527
  /**
@@ -11777,7 +11778,7 @@ var PathAutocompleteService = class {
11777
11778
  * Returns the flat list of all item paths visible to the caller across
11778
11779
  * scripts, flows, apps, raw apps, variables, and resources. Intended to
11779
11780
  * feed an entirely client-side path autocomplete UI: the frontend fetches
11780
- * once (server caches per workspace for 60s) and performs all prefix/segment
11781
+ * once (server caches per caller for 60s) and performs all prefix/segment
11781
11782
  * computation locally. Capped at 20,000 paths (5,000 per table).
11782
11783
  *
11783
11784
  * @param data The data for the request.
@@ -2164,6 +2164,9 @@ export type WorkspaceDependencies = {
2164
2164
  created_at: string;
2165
2165
  };
2166
2166
  export type NewWorkspaceDependencies = {
2167
+ /**
2168
+ * must equal the workspace in the request path
2169
+ */
2167
2170
  workspace_id: string;
2168
2171
  language: ScriptLang;
2169
2172
  name?: string;
@@ -28358,6 +28361,10 @@ export type $OpenApiTs = {
28358
28361
  * workspace dependencies created
28359
28362
  */
28360
28363
  201: string;
28364
+ /**
28365
+ * the body's workspace_id does not match the workspace in the path
28366
+ */
28367
+ 400: unknown;
28361
28368
  };
28362
28369
  };
28363
28370
  };
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.818.0",
4
+ "version": "1.819.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",