From e06a7a9c705b0d353330e68075ec574c37262d0a Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Tue, 15 Oct 2024 09:39:29 +0200 Subject: [PATCH] feat(iam): add visible and deletable on product api keys (#1483) Co-authored-by: Jonathan R. --- packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts | 1 + packages/clients/src/api/iam/v1alpha1/types.gen.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts b/packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts index ebf9e954f..711dc84db 100644 --- a/packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts +++ b/packages/clients/src/api/iam/v1alpha1/marshalling.gen.ts @@ -87,6 +87,7 @@ export const unmarshalAPIKey = (data: unknown): APIKey => { createdAt: unmarshalDate(data.created_at), creationIp: data.creation_ip, defaultProjectId: data.default_project_id, + deletable: data.deletable, description: data.description, editable: data.editable, expiresAt: unmarshalDate(data.expires_at), diff --git a/packages/clients/src/api/iam/v1alpha1/types.gen.ts b/packages/clients/src/api/iam/v1alpha1/types.gen.ts index 0072d8089..8d648097f 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 deletable. */ + deletable: boolean /** Defines whether or not the API key is managed. */ managed: boolean /** IP address of the device that created the API key. */