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 = {