From 48faf58160a10466ad47befd935b17243a68cad7 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Mon, 20 Nov 2023 15:15:39 +0000 Subject: [PATCH] feat: update generated APIs --- .../clients/src/api/instance/v1/marshalling.gen.ts | 1 - packages/clients/src/api/instance/v1/types.gen.ts | 13 ++----------- 2 files changed, 2 insertions(+), 12 deletions(-) diff --git a/packages/clients/src/api/instance/v1/marshalling.gen.ts b/packages/clients/src/api/instance/v1/marshalling.gen.ts index 56c6ea64a..01ca0f59c 100644 --- a/packages/clients/src/api/instance/v1/marshalling.gen.ts +++ b/packages/clients/src/api/instance/v1/marshalling.gen.ts @@ -1831,7 +1831,6 @@ export const marshalCreateVolumeRequest = ( ]), ...resolveOneOf([ { param: 'size', value: request.size }, - { param: 'base_volume', value: request.baseVolume }, { param: 'base_snapshot', value: request.baseSnapshot }, ]), }) diff --git a/packages/clients/src/api/instance/v1/types.gen.ts b/packages/clients/src/api/instance/v1/types.gen.ts index f71c8ce26..238e8e28e 100644 --- a/packages/clients/src/api/instance/v1/types.gen.ts +++ b/packages/clients/src/api/instance/v1/types.gen.ts @@ -1076,22 +1076,13 @@ export type CreateVolumeRequest = { /** * Volume disk size, must be a multiple of 512. * - * One-of ('from'): at most one of 'size', 'baseVolume', 'baseSnapshot' could - * be set. + * One-of ('from'): at most one of 'size', 'baseSnapshot' could be set. */ size?: number - /** - * @deprecated ID of the volume on which this volume will be based. - * - * One-of ('from'): at most one of 'size', 'baseVolume', 'baseSnapshot' could - * be set. - */ - baseVolume?: string /** * ID of the snapshot on which this volume will be based. * - * One-of ('from'): at most one of 'size', 'baseVolume', 'baseSnapshot' could - * be set. + * One-of ('from'): at most one of 'size', 'baseSnapshot' could be set. */ baseSnapshot?: string }