@daocloud-proto/ghippo 0.9.13 → 0.9.16

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.9.13",
3
+ "version":"0.9.16",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -80,6 +80,14 @@ export type ExportAuditUrlResponse = {
80
80
  url?: string
81
81
  }
82
82
 
83
+ export type GetAutoClearAuditTimeRequest = {
84
+ }
85
+
86
+ export type GetAutoClearAuditTimeResponse = {
87
+ kubeDays?: number
88
+ ghippoDays?: number
89
+ }
90
+
83
91
  export class Audit {
84
92
  static ListAudit(req: ListAuditRequest, initReq?: fm.InitReq): Promise<ListAuditResponse> {
85
93
  return fm.fetchReq<ListAuditRequest, ListAuditResponse>(`/apis/ghippo.io/v1alpha1/audits?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
@@ -93,4 +101,7 @@ export class Audit {
93
101
  static ExportAuditUrl(req: ExportAuditUrlRequest, initReq?: fm.InitReq): Promise<ExportAuditUrlResponse> {
94
102
  return fm.fetchReq<ExportAuditUrlRequest, ExportAuditUrlResponse>(`/apis/ghippo.io/v1alpha1/audits/export?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
95
103
  }
104
+ static GetAutoClearAuditTime(req: GetAutoClearAuditTimeRequest, initReq?: fm.InitReq): Promise<GetAutoClearAuditTimeResponse> {
105
+ return fm.fetchReq<GetAutoClearAuditTimeRequest, GetAutoClearAuditTimeResponse>(`/apis/ghippo.io/v1alpha1/audits/clear?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
106
+ }
96
107
  }
@@ -128,6 +128,7 @@ export type ListMembersRolesByWorkspaceRequest = {
128
128
  page?: number
129
129
  pageSize?: number
130
130
  workspaceId?: number
131
+ memberName?: string
131
132
  }
132
133
 
133
134
  export type ListMembersRolesByWorkspaceResponse = {