@daocloud-proto/hydra 0.18.0-dev-20 → 0.18.0-dev-22

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.
@@ -92,6 +92,8 @@ export type APIKey = {
92
92
  quotaLimitedModels?: string[]
93
93
  allowedIps?: string[]
94
94
  blockedIps?: string[]
95
+ accountId?: string
96
+ subaccountId?: string
95
97
  }
96
98
 
97
99
  export type AllAPIKeyStatus = {
@@ -0,0 +1,34 @@
1
+ /* eslint-disable */
2
+ // @ts-nocheck
3
+ /*
4
+ * This file is a generated Typescript file for GRPC Gateway, DO NOT MODIFY
5
+ */
6
+
7
+ import * as HydraCommonCommon from "../../../common/common.pb"
8
+ import * as fm from "../../../fetch.pb"
9
+ export type ListWSPersistentVolumeClaimsRequest = {
10
+ workspace?: number
11
+ cluster?: string
12
+ page?: HydraCommonCommon.Pagination
13
+ }
14
+
15
+ export type PersistentVolumeClaim = {
16
+ name?: string
17
+ namespace?: string
18
+ storageClassName?: string
19
+ phase?: string
20
+ capacity?: string
21
+ accessModes?: string[]
22
+ createdAt?: string
23
+ }
24
+
25
+ export type ListWSPersistentVolumeClaimsResponse = {
26
+ items?: PersistentVolumeClaim[]
27
+ page?: HydraCommonCommon.Pagination
28
+ }
29
+
30
+ export class WSPersistentVolumeClaimService {
31
+ static ListWSPersistentVolumeClaims(req: ListWSPersistentVolumeClaimsRequest, initReq?: fm.InitReq): Promise<ListWSPersistentVolumeClaimsResponse> {
32
+ return fm.fetchReq<ListWSPersistentVolumeClaimsRequest, ListWSPersistentVolumeClaimsResponse>(`/apis/hydra.io/v1alpha1/workspaces/${req["workspace"]}/clusters/${req["cluster"]}/persistentvolumeclaims?${fm.renderURLSearchParams(req, ["workspace", "cluster"])}`, {...initReq, method: "GET"})
33
+ }
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/hydra",
3
- "version": "v0.18.0-dev-20",
3
+ "version": "v0.18.0-dev-22",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"