From f4e040e216ef644533381474148b212d9976a8fc Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 28 Oct 2025 14:46:19 +0000 Subject: [PATCH] feat: update generated APIs --- .../s2s_vpn/src/v1alpha1/marshalling.gen.ts | 2 ++ .../s2s_vpn/src/v1alpha1/types.gen.ts | 16 ++++++++++++---- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts index cac7ab6cb..7f9fc6a7d 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts @@ -100,6 +100,8 @@ export const unmarshalConnection = (data: unknown): Connection => { projectId: data.project_id, region: data.region, routePropagationEnabled: data.route_propagation_enabled, + secretId: data.secret_id, + secretRevision: data.secret_revision, status: data.status, tags: data.tags, tunnelStatus: data.tunnel_status, diff --git a/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts index 15955e76a..a3c9ff089 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts @@ -156,6 +156,14 @@ export interface Connection { * Who initiates the IPsec tunnel. */ initiationPolicy: ConnectionInitiationPolicy + /** + * ID of the secret in Secret Manager which contains the PSK. + */ + secretId: string + /** + * Version number of the secret in Secret Manager which contains the PSK. + */ + secretRevision: number /** * List of IKE v2 ciphers proposed for the IPsec tunnel. */ @@ -450,9 +458,9 @@ export interface CreateConnectionResponse { */ connection?: Connection /** - * New PSK generated for this connection. + * @deprecated Deprecated, use secret_id & secret_revision fields. */ - preSharedKey: string + preSharedKey?: string } export type CreateCustomerGatewayRequest = { @@ -940,9 +948,9 @@ export interface RenewConnectionPskResponse { */ connection?: Connection /** - * New PSK generated for this connection. + * @deprecated Deprecated, use secret_id & secret_revision fields. */ - preSharedKey: string + preSharedKey?: string } export type SetRoutingPolicyRequest = {