From 3e6adf7d66ae590ce7727471696a493ee07ce4fa Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 21 Feb 2024 15:23:24 +0000 Subject: [PATCH] feat: update generated APIs --- packages/clients/src/api/vpcgw/v1/api.gen.ts | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/packages/clients/src/api/vpcgw/v1/api.gen.ts b/packages/clients/src/api/vpcgw/v1/api.gen.ts index 2af8e9609..5529dc338 100644 --- a/packages/clients/src/api/vpcgw/v1/api.gen.ts +++ b/packages/clients/src/api/vpcgw/v1/api.gen.ts @@ -270,18 +270,14 @@ export class API extends ParentAPI { * calls after the first will return no error but have no effect. * * @param request - The request {@link EnableIPMobilityRequest} - * @returns A Promise of Gateway */ enableIPMobility = (request: Readonly) => - this.client.fetch( - { - body: '{}', - headers: jsonContentHeaders, - method: 'POST', - path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`, - }, - unmarshalGateway, - ) + this.client.fetch({ + body: '{}', + headers: jsonContentHeaders, + method: 'POST', + path: `/vpc-gw/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/gateways/${validatePathParam('gatewayId', request.gatewayId)}/enable-ip-mobility`, + }) protected pageOfListGatewayNetworks = ( request: Readonly = {},