windmill-client 1.298.0 → 1.299.1

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.
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OpenAPI = void 0;
4
4
  exports.OpenAPI = {
5
5
  BASE: '/api',
6
- VERSION: '1.298.0',
6
+ VERSION: '1.299.1',
7
7
  WITH_CREDENTIALS: false,
8
8
  CREDENTIALS: 'include',
9
9
  TOKEN: undefined,
@@ -506,4 +506,12 @@ export declare class WorkspaceService {
506
506
  static getLargeFileStorageConfig({ workspace, }: {
507
507
  workspace: string;
508
508
  }): CancelablePromise<LargeFileStorage>;
509
+ /**
510
+ * get usage
511
+ * @returns number usage
512
+ * @throws ApiError
513
+ */
514
+ static getWorkspaceUsage({ workspace, }: {
515
+ workspace: string;
516
+ }): CancelablePromise<number>;
509
517
  }
@@ -605,5 +605,19 @@ class WorkspaceService {
605
605
  },
606
606
  });
607
607
  }
608
+ /**
609
+ * get usage
610
+ * @returns number usage
611
+ * @throws ApiError
612
+ */
613
+ static getWorkspaceUsage({ workspace, }) {
614
+ return (0, request_1.request)(OpenAPI_1.OpenAPI, {
615
+ method: 'GET',
616
+ url: '/w/{workspace}/workspaces/usage',
617
+ path: {
618
+ 'workspace': workspace,
619
+ },
620
+ });
621
+ }
608
622
  }
609
623
  exports.WorkspaceService = WorkspaceService;
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.298.0",
4
+ "version": "1.299.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "devDependencies": {