@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
package/v1alpha1/audit.pb.ts
CHANGED
|
@@ -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"})
|
package/v1alpha1/openapi.pb.ts
CHANGED
package/v1alpha1/user.pb.ts
CHANGED
package/v1alpha1/workspace.pb.ts
CHANGED
|
@@ -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 = {
|