Skip to content

Commit 0904b33

Browse files
authored
Merge branch 'main' into v1.5558.0
2 parents 641b112 + db22c49 commit 0904b33

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ export const unmarshalAPIKey = (data: unknown): APIKey => {
9090
description: data.description,
9191
editable: data.editable,
9292
expiresAt: unmarshalDate(data.expires_at),
93+
managed: data.managed,
9394
secretKey: data.secret_key,
9495
updatedAt: unmarshalDate(data.updated_at),
9596
userId: data.user_id,
@@ -105,9 +106,11 @@ export const unmarshalApplication = (data: unknown): Application => {
105106

106107
return {
107108
createdAt: unmarshalDate(data.created_at),
109+
deletable: data.deletable,
108110
description: data.description,
109111
editable: data.editable,
110112
id: data.id,
113+
managed: data.managed,
111114
name: data.name,
112115
nbApiKeys: data.nb_api_keys,
113116
organizationId: data.organization_id,
@@ -126,8 +129,11 @@ export const unmarshalGroup = (data: unknown): Group => {
126129
return {
127130
applicationIds: data.application_ids,
128131
createdAt: unmarshalDate(data.created_at),
132+
deletable: data.deletable,
129133
description: data.description,
134+
editable: data.editable,
130135
id: data.id,
136+
managed: data.managed,
131137
name: data.name,
132138
organizationId: data.organization_id,
133139
tags: data.tags,
@@ -166,10 +172,12 @@ export const unmarshalPolicy = (data: unknown): Policy => {
166172
return {
167173
applicationId: data.application_id,
168174
createdAt: unmarshalDate(data.created_at),
175+
deletable: data.deletable,
169176
description: data.description,
170177
editable: data.editable,
171178
groupId: data.group_id,
172179
id: data.id,
180+
managed: data.managed,
173181
name: data.name,
174182
nbPermissionSets: data.nb_permission_sets,
175183
nbRules: data.nb_rules,

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

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,8 @@ export interface APIKey {
169169
defaultProjectId: string
170170
/** Defines whether or not the API key is editable. */
171171
editable: boolean
172+
/** Defines whether or not the API key is managed. */
173+
managed: boolean
172174
/** IP address of the device that created the API key. */
173175
creationIp: string
174176
}
@@ -188,6 +190,10 @@ export interface Application {
188190
organizationId: string
189191
/** Defines whether or not the application is editable. */
190192
editable: boolean
193+
/** Defines whether or not the application is deletable. */
194+
deletable: boolean
195+
/** Defines whether or not the application is managed. */
196+
managed: boolean
191197
/** Number of API keys attributed to the application. */
192198
nbApiKeys: number
193199
/** Tags associated with the user. */
@@ -213,6 +219,12 @@ export interface Group {
213219
applicationIds: string[]
214220
/** Tags associated to the group. */
215221
tags: string[]
222+
/** Defines whether or not the group is editable. */
223+
editable: boolean
224+
/** Defines whether or not the group is deletable. */
225+
deletable: boolean
226+
/** Defines whether or not the group is managed. */
227+
managed: boolean
216228
}
217229

218230
export interface Log {
@@ -264,6 +276,10 @@ export interface Policy {
264276
updatedAt?: Date
265277
/** Defines whether or not a policy is editable. */
266278
editable: boolean
279+
/** Defines whether or not a policy is deletable. */
280+
deletable: boolean
281+
/** Defines whether or not a policy is managed. */
282+
managed: boolean
267283
/** Number of rules of the policy. */
268284
nbRules: number
269285
/** Number of policy scopes. */

0 commit comments

Comments
 (0)