windmill-client 1.298.0 → 1.299.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.js
CHANGED
|
@@ -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;
|