diff --git a/packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts b/packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts index c23a3d777..ebf9e954f 100644 --- a/packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts +++ b/packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts @@ -90,6 +90,7 @@ export const unmarshalAPIKey = (data: unknown): APIKey => { description: data.description, editable: data.editable, expiresAt: unmarshalDate(data.expires_at), + managed: data.managed, secretKey: data.secret_key, updatedAt: unmarshalDate(data.updated_at), userId: data.user_id, @@ -105,9 +106,11 @@ export const unmarshalApplication = (data: unknown): Application => { return { createdAt: unmarshalDate(data.created_at), + deletable: data.deletable, description: data.description, editable: data.editable, id: data.id, + managed: data.managed, name: data.name, nbApiKeys: data.nb_api_keys, organizationId: data.organization_id, @@ -126,8 +129,11 @@ export const unmarshalGroup = (data: unknown): Group => { return { applicationIds: data.application_ids, createdAt: unmarshalDate(data.created_at), + deletable: data.deletable, description: data.description, + editable: data.editable, id: data.id, + managed: data.managed, name: data.name, organizationId: data.organization_id, tags: data.tags, @@ -166,10 +172,12 @@ export const unmarshalPolicy = (data: unknown): Policy => { return { applicationId: data.application_id, createdAt: unmarshalDate(data.created_at), + deletable: data.deletable, description: data.description, editable: data.editable, groupId: data.group_id, id: data.id, + managed: data.managed, name: data.name, nbPermissionSets: data.nb_permission_sets, nbRules: data.nb_rules, diff --git a/packages/clients/src/api/iam/v1alpha1/types.gen.ts b/packages/clients/src/api/iam/v1alpha1/types.gen.ts index c66b1ada3..0072d8089 100644 --- a/packages/clients/src/api/iam/v1alpha1/types.gen.ts +++ b/packages/clients/src/api/iam/v1alpha1/types.gen.ts @@ -169,6 +169,8 @@ export interface APIKey { defaultProjectId: string /** Defines whether or not the API key is editable. */ editable: boolean + /** Defines whether or not the API key is managed. */ + managed: boolean /** IP address of the device that created the API key. */ creationIp: string } @@ -188,6 +190,10 @@ export interface Application { organizationId: string /** Defines whether or not the application is editable. */ editable: boolean + /** Defines whether or not the application is deletable. */ + deletable: boolean + /** Defines whether or not the application is managed. */ + managed: boolean /** Number of API keys attributed to the application. */ nbApiKeys: number /** Tags associated with the user. */ @@ -213,6 +219,12 @@ export interface Group { applicationIds: string[] /** Tags associated to the group. */ tags: string[] + /** Defines whether or not the group is editable. */ + editable: boolean + /** Defines whether or not the group is deletable. */ + deletable: boolean + /** Defines whether or not the group is managed. */ + managed: boolean } export interface Log { @@ -264,6 +276,10 @@ export interface Policy { updatedAt?: Date /** Defines whether or not a policy is editable. */ editable: boolean + /** Defines whether or not a policy is deletable. */ + deletable: boolean + /** Defines whether or not a policy is managed. */ + managed: boolean /** Number of rules of the policy. */ nbRules: number /** Number of policy scopes. */