From 9896995b350f56c10ad9e5cead22ec5347dc0508 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 28 Mar 2023 14:19:06 +0000 Subject: [PATCH] feat: update generated APIs --- packages/clients/src/api/secret/v1alpha1/marshalling.gen.ts | 1 + packages/clients/src/api/secret/v1alpha1/types.gen.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/packages/clients/src/api/secret/v1alpha1/marshalling.gen.ts b/packages/clients/src/api/secret/v1alpha1/marshalling.gen.ts index 378822a4b..b52595acb 100644 --- a/packages/clients/src/api/secret/v1alpha1/marshalling.gen.ts +++ b/packages/clients/src/api/secret/v1alpha1/marshalling.gen.ts @@ -112,6 +112,7 @@ export const marshalCreateSecretVersionRequest = ( ): Record => ({ data: request.data, description: request.description, + disable_previous: request.disablePrevious, }) export const marshalUpdateSecretRequest = ( diff --git a/packages/clients/src/api/secret/v1alpha1/types.gen.ts b/packages/clients/src/api/secret/v1alpha1/types.gen.ts index 325789015..d4a4d4577 100644 --- a/packages/clients/src/api/secret/v1alpha1/types.gen.ts +++ b/packages/clients/src/api/secret/v1alpha1/types.gen.ts @@ -191,6 +191,11 @@ export type CreateSecretVersionRequest = { data: string /** Description of the version. */ description?: string + /** + * Disable the previous secret version. If there is no previous version or if + * the previous version was already disabled, does nothing. + */ + disablePrevious: boolean } export type GetSecretVersionRequest = {