From 4442e6b4ea8b5d34e3bd6b80fb2a254e340017fd Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Thu, 12 Sep 2024 10:21:46 +0000 Subject: [PATCH] feat: update generated APIs --- packages/clients/src/api/vpc/v2/marshalling.gen.ts | 1 + packages/clients/src/api/vpc/v2/types.gen.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/clients/src/api/vpc/v2/marshalling.gen.ts b/packages/clients/src/api/vpc/v2/marshalling.gen.ts index ca5b2a640..8e7e2723c 100644 --- a/packages/clients/src/api/vpc/v2/marshalling.gen.ts +++ b/packages/clients/src/api/vpc/v2/marshalling.gen.ts @@ -83,6 +83,7 @@ export const unmarshalRoute = (data: unknown): Route => { description: data.description, destination: data.destination, id: data.id, + isReadOnly: data.is_read_only, nexthopPrivateNetworkId: data.nexthop_private_network_id, nexthopResourceId: data.nexthop_resource_id, region: data.region, diff --git a/packages/clients/src/api/vpc/v2/types.gen.ts b/packages/clients/src/api/vpc/v2/types.gen.ts index 12ba8bb1f..635aa30f1 100644 --- a/packages/clients/src/api/vpc/v2/types.gen.ts +++ b/packages/clients/src/api/vpc/v2/types.gen.ts @@ -77,6 +77,8 @@ export interface Route { createdAt?: Date /** Date the Route was last modified. */ updatedAt?: Date + /** Defines whether the route can be modified or deleted by the user. */ + isReadOnly: boolean /** Region of the Route. */ region: Region }