@daocloud-proto/ghippo 0.7.24 → 0.7.27

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.7.24",
3
+ "version":"0.7.27",
4
4
  "description": "",
5
5
  "author": "",
6
6
  "license": "ISC"
@@ -23,8 +23,8 @@ export type ListAuditRequest = {
23
23
  type?: string
24
24
  status?: StatusType
25
25
  search?: string
26
- timeType?: TimeType
27
- timeCount?: number
26
+ start?: string
27
+ end?: string
28
28
  page?: number
29
29
  pageSize?: number
30
30
  }
@@ -5,8 +5,21 @@
5
5
  */
6
6
 
7
7
  import * as fm from "../fetch.pb"
8
+
9
+ export enum PasswordPolicyType {
10
+ MinimumLengthLabel = "MinimumLengthLabel",
11
+ NotRecentlyUsedLabel = "NotRecentlyUsedLabel",
12
+ NotUsernameLabel = "NotUsernameLabel",
13
+ NotEmailLabel = "NotEmailLabel",
14
+ DigitsLabel = "DigitsLabel",
15
+ UppercaseCharactersLabel = "UppercaseCharactersLabel",
16
+ LowercaseCharactersLabel = "LowercaseCharactersLabel",
17
+ SpecialCharactersLabel = "SpecialCharactersLabel",
18
+ ExpirePasswordLabel = "ExpirePasswordLabel",
19
+ }
20
+
8
21
  export type PasswordPolicyInfo = {
9
- type?: string
22
+ type?: PasswordPolicyType
10
23
  value?: string
11
24
  }
12
25
 
@@ -93,7 +93,6 @@ export type UnbindResourceFromWorkspaceResponse = {
93
93
  }
94
94
 
95
95
  export type CreateWorkspaceRequest = {
96
- name?: string
97
96
  alias?: string
98
97
  parentFolderId?: number
99
98
  }
@@ -161,8 +160,6 @@ export type FolderTree = {
161
160
  }
162
161
 
163
162
  export type ListFolderTreeRequest = {
164
- page?: number
165
- pageSize?: number
166
163
  }
167
164
 
168
165
  export type ListFolderTreeResponse = {
@@ -254,23 +251,17 @@ export type ListMembersRolesResourcesResponse = {
254
251
  pagination?: Pagination
255
252
  }
256
253
 
257
- export type SubResourceInfo = {
258
- type?: string
259
- names?: string[]
260
- }
261
-
262
254
  export type ResourceInfo = {
263
255
  name?: string
264
256
  type?: string
265
257
  gproduct?: string
266
- subresource?: SubResourceInfo
258
+ scope?: string
267
259
  }
268
260
 
269
261
  export type ListResourcesRequest = {
270
262
  page?: number
271
263
  pageSize?: number
272
264
  name?: string
273
- parent?: boolean
274
265
  type?: string
275
266
  }
276
267
 
@@ -279,33 +270,25 @@ export type ListResourcesResponse = {
279
270
  pagination?: Pagination
280
271
  }
281
272
 
282
- export type ResourceType = {
283
- parent?: boolean
284
- name?: string
285
- }
286
-
287
273
  export type ListResourceTypesRequest = {
288
274
  }
289
275
 
290
276
  export type ListResourceTypesResponse = {
291
- items?: ResourceType[]
292
- pagination?: Pagination
277
+ items?: string[]
293
278
  }
294
279
 
295
280
  export type ListExclusiveResourceTypesRequest = {
296
281
  }
297
282
 
298
283
  export type ListExclusiveResourceTypesResponse = {
299
- items?: ResourceType[]
300
- pagination?: Pagination
284
+ items?: string[]
301
285
  }
302
286
 
303
287
  export type ListSharedResourceTypesRequest = {
304
288
  }
305
289
 
306
290
  export type ListSharedResourceTypesResponse = {
307
- items?: ResourceType[]
308
- pagination?: Pagination
291
+ items?: string[]
309
292
  }
310
293
 
311
294
  export type Resource = {