windmill-client 1.558.1 → 1.560.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.558.1',
42
+ VERSION: '1.560.0',
43
43
  WITH_CREDENTIALS: true,
44
44
  interceptors: {
45
45
  request: new Interceptors(),
@@ -589,6 +589,7 @@ export declare class WorkspaceService {
589
589
  * delete workspace (require super admin)
590
590
  * @param data The data for the request.
591
591
  * @param data.workspace
592
+ * @param data.onlyDeleteForks
592
593
  * @returns string status
593
594
  * @throws ApiError
594
595
  */
@@ -1152,6 +1152,7 @@ class WorkspaceService {
1152
1152
  * delete workspace (require super admin)
1153
1153
  * @param data The data for the request.
1154
1154
  * @param data.workspace
1155
+ * @param data.onlyDeleteForks
1155
1156
  * @returns string status
1156
1157
  * @throws ApiError
1157
1158
  */
@@ -1161,6 +1162,9 @@ class WorkspaceService {
1161
1162
  url: '/workspaces/delete/{workspace}',
1162
1163
  path: {
1163
1164
  workspace: data.workspace
1165
+ },
1166
+ query: {
1167
+ only_delete_forks: data.onlyDeleteForks
1164
1168
  }
1165
1169
  });
1166
1170
  }
@@ -2897,6 +2897,7 @@ export type UnarchiveWorkspaceData = {
2897
2897
  };
2898
2898
  export type UnarchiveWorkspaceResponse = string;
2899
2899
  export type DeleteWorkspaceData = {
2900
+ onlyDeleteForks?: boolean;
2900
2901
  workspace: string;
2901
2902
  };
2902
2903
  export type DeleteWorkspaceResponse = string;
@@ -9418,6 +9419,7 @@ export type $OpenApiTs = {
9418
9419
  '/workspaces/delete/{workspace}': {
9419
9420
  delete: {
9420
9421
  req: {
9422
+ onlyDeleteForks?: boolean;
9421
9423
  workspace: string;
9422
9424
  };
9423
9425
  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.558.1",
4
+ "version": "1.560.0",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {