Skip to content

Commit 5e9c196

Browse files
authored
fix(iam): add global BearerType type (#446)
1 parent f9a18f3 commit 5e9c196

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

packages/clients/src/api/iam/v1alpha1/index.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export type {
55
APIKey,
66
AddGroupMemberRequest,
77
Application,
8+
BearerType,
89
ClonePolicyRequest,
910
CreateAPIKeyRequest,
1011
CreateApplicationRequest,
@@ -25,7 +26,6 @@ export type {
2526
GetUserRequest,
2627
Group,
2728
ListAPIKeysRequest,
28-
ListAPIKeysRequestBearerType,
2929
ListAPIKeysRequestOrderBy,
3030
ListAPIKeysResponse,
3131
ListApplicationsRequest,

packages/clients/src/api/iam/v1alpha1/types.gen.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33

4-
export type ListAPIKeysRequestBearerType =
5-
| 'unknown_bearer_type'
6-
| 'user'
7-
| 'application'
4+
export type BearerType = 'unknown_bearer_type' | 'user' | 'application'
85

96
export type ListAPIKeysRequestOrderBy =
107
| 'created_at_asc'
@@ -758,7 +755,7 @@ export type ListAPIKeysRequest = {
758755
/** Filter out by bearer ID */
759756
bearerId?: string
760757
/** Filter out by type of bearer */
761-
bearerType?: ListAPIKeysRequestBearerType
758+
bearerType?: BearerType
762759
}
763760

764761
export type CreateAPIKeyRequest = {

0 commit comments

Comments
 (0)