From 0d1141f27081e5349b3346b9ae9108355f1fa472 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 24 Sep 2025 14:18:36 +0000 Subject: [PATCH] feat: update generated APIs --- .../audit_trail/src/v1alpha1/index.gen.ts | 7 +++++- .../s2s_vpn/src/v1alpha1/api.gen.ts | 1 + .../s2s_vpn/src/v1alpha1/marshalling.gen.ts | 11 +++++++-- .../s2s_vpn/src/v1alpha1/types.gen.ts | 24 +++++++++++++++---- .../tem/src/v1alpha1/index.gen.ts | 3 +++ 5 files changed, 39 insertions(+), 7 deletions(-) diff --git a/packages_generated/audit_trail/src/v1alpha1/index.gen.ts b/packages_generated/audit_trail/src/v1alpha1/index.gen.ts index ea4d0ec03..1d4afc0cf 100644 --- a/packages_generated/audit_trail/src/v1alpha1/index.gen.ts +++ b/packages_generated/audit_trail/src/v1alpha1/index.gen.ts @@ -17,7 +17,6 @@ export type { BaremetalSettingInfo, Event, EventPrincipal, - EventSystem, InstanceServerInfo, IpamIpInfo, KeyManagerKeyInfo, @@ -28,6 +27,10 @@ export type { ListAuthenticationEventsRequest, ListAuthenticationEventsRequestOrderBy, ListAuthenticationEventsResponse, + ListCombinedEventsRequest, + ListCombinedEventsRequestOrderBy, + ListCombinedEventsResponse, + ListCombinedEventsResponseCombinedEvent, ListEventsRequest, ListEventsRequestOrderBy, ListEventsResponse, @@ -46,5 +49,7 @@ export type { ResourceType, SecretManagerSecretInfo, SecretManagerSecretVersionInfo, + SystemEvent, + SystemEventKind, } from './types.gen' export * as ValidationRules from './validation-rules.gen' diff --git a/packages_generated/s2s_vpn/src/v1alpha1/api.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/api.gen.ts index c3a602aa5..5d73319d4 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/api.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/api.gen.ts @@ -252,6 +252,7 @@ export class API extends ParentAPI { path: `/s2s-vpn/v1alpha1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/connections`, urlParams: urlParams( ['customer_gateway_ids', request.customerGatewayIds], + ['is_ipv6', request.isIpv6], ['name', request.name], ['order_by', request.orderBy], ['page', request.page], diff --git a/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts index b4ca68b1e..60895cb49 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/marshalling.gen.ts @@ -94,6 +94,7 @@ export const unmarshalConnection = (data: unknown): Connection => { unmarshalConnectionCipher, ), initiationPolicy: data.initiation_policy, + isIpv6: data.is_ipv6, name: data.name, organizationId: data.organization_id, projectId: data.project_id, @@ -101,8 +102,13 @@ export const unmarshalConnection = (data: unknown): Connection => { routePropagationEnabled: data.route_propagation_enabled, status: data.status, tags: data.tags, - tunnelStatusIpv4: data.tunnel_status_ipv4, - tunnelStatusIpv6: data.tunnel_status_ipv6, + tunnelStatus: data.tunnel_status, + tunnelStatusIpv4: data.tunnel_status_ipv4 + ? data.tunnel_status_ipv4 + : undefined, + tunnelStatusIpv6: data.tunnel_status_ipv6 + ? data.tunnel_status_ipv6 + : undefined, updatedAt: unmarshalDate(data.updated_at), vpnGatewayId: data.vpn_gateway_id, } as Connection @@ -377,6 +383,7 @@ export const marshalCreateConnectionRequest = ( marshalConnectionCipher(elt, defaults), ), initiation_policy: request.initiationPolicy, + is_ipv6: request.isIpv6, name: request.name, project_id: request.projectId ?? defaults.defaultProjectId, tags: request.tags, diff --git a/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts b/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts index 6d6a57ffb..776af9286 100644 --- a/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts +++ b/packages_generated/s2s_vpn/src/v1alpha1/types.gen.ts @@ -145,6 +145,10 @@ export interface Connection { * Status of the connection. */ status: ConnectionStatus + /** + * IP version of the IPSec Tunnel. + */ + isIpv6: boolean /** * Who initiates the IPsec tunnel. */ @@ -170,13 +174,17 @@ export interface Connection { */ customerGatewayId: string /** - * Status of the IPv4 IPsec tunnel. + * Status of the IPsec tunnel. + */ + tunnelStatus: TunnelStatus + /** + * @deprecated Status of the IPv4 IPsec tunnel. */ - tunnelStatusIpv4: TunnelStatus + tunnelStatusIpv4?: TunnelStatus /** - * Status of the IPv6 IPsec tunnel. + * @deprecated Status of the IPv6 IPsec tunnel. */ - tunnelStatusIpv6: TunnelStatus + tunnelStatusIpv6?: TunnelStatus /** * Status of the BGP IPv4 session. */ @@ -395,6 +403,10 @@ export type CreateConnectionRequest = { * List of tags to apply to the connection. */ tags?: string[] + /** + * Defines IP version of the IPSec Tunnel. + */ + isIpv6: boolean /** * Who initiates the IPsec tunnel. */ @@ -713,6 +725,10 @@ export type ListConnectionsRequest = { * Connection statuses to filter for. */ statuses?: ConnectionStatus[] + /** + * Filter connections with IP version of IPSec tunnel. + */ + isIpv6?: boolean /** * Filter for connections using these routing policies. */ diff --git a/packages_generated/tem/src/v1alpha1/index.gen.ts b/packages_generated/tem/src/v1alpha1/index.gen.ts index a3169b328..803bb5a88 100644 --- a/packages_generated/tem/src/v1alpha1/index.gen.ts +++ b/packages_generated/tem/src/v1alpha1/index.gen.ts @@ -29,7 +29,10 @@ export type { DomainLastStatusRecordStatus, DomainLastStatusSpfRecord, DomainRecords, + DomainRecordsDKIM, DomainRecordsDMARC, + DomainRecordsMX, + DomainRecordsSPF, DomainReputation, DomainReputationStatus, DomainStatistics,