@daocloud-proto/ghippo 0.8.29 → 0.9.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@daocloud-proto/ghippo",
3
- "version":"0.8.29",
3
+ "version":"0.9.0",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -85,7 +85,7 @@ export class Audit {
85
85
  return fm.fetchReq<GetAuditRequest, GetAuditResponse>(`/apis/ghippo.io/v1alpha1/audits/${req["id"]}?${fm.renderURLSearchParams(req, ["id"])}`, {...initReq, method: "GET"})
86
86
  }
87
87
  static ClearAudit(req: ClearAuditRequest, initReq?: fm.InitReq): Promise<ClearAuditResponse> {
88
- return fm.fetchReq<ClearAuditRequest, ClearAuditResponse>(`/apis/ghippo.io/v1alpha1/audits`, {...initReq, method: "DELETE"})
88
+ return fm.fetchReq<ClearAuditRequest, ClearAuditResponse>(`/apis/ghippo.io/v1alpha1/audits/${req["days"]}`, {...initReq, method: "DELETE"})
89
89
  }
90
90
  static ExportAuditUrl(req: ExportAuditUrlRequest, initReq?: fm.InitReq): Promise<ExportAuditUrlResponse> {
91
91
  return fm.fetchReq<ExportAuditUrlRequest, ExportAuditUrlResponse>(`/apis/ghippo.io/v1alpha1/audits/export?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
@@ -76,6 +76,8 @@ export type GProductLicenseInfo = {
76
76
  virtualUsedCpu?: string
77
77
  virtualMaxCpu?: string
78
78
  expiredAt?: string
79
+ usedNode?: string
80
+ maxNode?: string
79
81
  }
80
82
 
81
83
  export class GProducts {
@@ -15,9 +15,9 @@ export type CertsResponse = {
15
15
  export type Key = {
16
16
  kid?: string
17
17
  kty?: string
18
- alg?: string
19
18
  e?: string
20
19
  n?: string
20
+ alg?: string
21
21
  use?: string
22
22
  }
23
23
 
@@ -50,8 +50,8 @@ export type GetUserResponse = {
50
50
 
51
51
  export type CreateUserRequest = {
52
52
  name?: string
53
- description?: string
54
53
  password?: string
54
+ description?: string
55
55
  temporary?: boolean
56
56
  }
57
57
 
@@ -50,6 +50,8 @@ export type ListExclusiveResourcesByWorkspaceRequest = {
50
50
  page?: number
51
51
  pageSize?: number
52
52
  workspaceId?: number
53
+ resourceName?: string
54
+ resourceType?: string
53
55
  }
54
56
 
55
57
  export type ListExclusiveResourcesByWorkspaceResponse = {
@@ -61,6 +63,7 @@ export type ListSharedResourcesByWorkspaceRequest = {
61
63
  page?: number
62
64
  pageSize?: number
63
65
  workspaceId?: number
66
+ resourceName?: string
64
67
  }
65
68
 
66
69
  export type ListSharedResourcesByWorkspaceResponse = {