@daocloud-proto/ghippo 0.10.0 → 0.10.2

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.10.0",
3
+ "version":"0.10.2",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -88,6 +88,13 @@ export type GetAutoClearAuditTimeResponse = {
88
88
  ghippoDays?: number
89
89
  }
90
90
 
91
+ export type GetLimitRangeTimeRequest = {
92
+ }
93
+
94
+ export type GetLimitRangeTimeResponse = {
95
+ day?: number
96
+ }
97
+
91
98
  export class Audit {
92
99
  static ListAudit(req: ListAuditRequest, initReq?: fm.InitReq): Promise<ListAuditResponse> {
93
100
  return fm.fetchReq<ListAuditRequest, ListAuditResponse>(`/apis/ghippo.io/v1alpha1/audits?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
@@ -104,4 +111,7 @@ export class Audit {
104
111
  static GetAutoClearAuditTime(req: GetAutoClearAuditTimeRequest, initReq?: fm.InitReq): Promise<GetAutoClearAuditTimeResponse> {
105
112
  return fm.fetchReq<GetAutoClearAuditTimeRequest, GetAutoClearAuditTimeResponse>(`/apis/ghippo.io/v1alpha1/audits/clear?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
106
113
  }
114
+ static GetLimitRangeTime(req: GetLimitRangeTimeRequest, initReq?: fm.InitReq): Promise<GetLimitRangeTimeResponse> {
115
+ return fm.fetchReq<GetLimitRangeTimeRequest, GetLimitRangeTimeResponse>(`/apis/ghippo.io/v1alpha1/audits/limit-range?${fm.renderURLSearchParams(req, [])}`, {...initReq, method: "GET"})
116
+ }
107
117
  }
@@ -26,6 +26,7 @@ export type UpdateGProductLicensesRequest = {
26
26
 
27
27
  export type UpdateGProductLicensesResponse = {
28
28
  message?: string
29
+ licenses?: GProductLicense[]
29
30
  }
30
31
 
31
32
  export type GetGProductLicenseYamlRequest = {
@@ -37,6 +37,7 @@ export type GroupInfo = {
37
37
  userCount?: number
38
38
  description?: string
39
39
  createdAt?: string
40
+ canAuthorize?: boolean
40
41
  }
41
42
 
42
43
  export type GroupRequest = {
@@ -46,6 +46,7 @@ export type GetUserResponse = {
46
46
  createdAt?: string
47
47
  updatedAt?: string
48
48
  lastLoginAt?: string
49
+ canAuthorize?: boolean
49
50
  }
50
51
 
51
52
  export type CreateUserRequest = {
@@ -376,6 +376,7 @@ export type User = {
376
376
  lastname?: string
377
377
  source?: string
378
378
  enabled?: boolean
379
+ canAuthorize?: boolean
379
380
  }
380
381
 
381
382
  export type FolderListGroupsRequest = {
@@ -396,6 +397,7 @@ export type Group = {
396
397
  userCount?: number
397
398
  description?: string
398
399
  createdAt?: string
400
+ canAuthorize?: boolean
399
401
  }
400
402
 
401
403
  export class Workspace {