diff --git a/packages/clients/src/api/ipam/v1/api.gen.ts b/packages/clients/src/api/ipam/v1/api.gen.ts index f54a17627..4606d1174 100644 --- a/packages/clients/src/api/ipam/v1/api.gen.ts +++ b/packages/clients/src/api/ipam/v1/api.gen.ts @@ -53,10 +53,7 @@ export class API extends ParentAPI { ), headers: jsonContentHeaders, method: 'POST', - path: `/ipam/v1/regions/${validatePathParam( - 'region', - request.region ?? this.client.settings.defaultRegion, - )}/ips`, + path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`, }, unmarshalIP, ) @@ -72,10 +69,7 @@ export class API extends ParentAPI { body: '{}', headers: jsonContentHeaders, method: 'DELETE', - path: `/ipam/v1/regions/${validatePathParam( - 'region', - request.region ?? this.client.settings.defaultRegion, - )}/ips/${validatePathParam('ipId', request.ipId)}`, + path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`, }) /** @@ -88,10 +82,7 @@ export class API extends ParentAPI { this.client.fetch( { method: 'GET', - path: `/ipam/v1/regions/${validatePathParam( - 'region', - request.region ?? this.client.settings.defaultRegion, - )}/ips/${validatePathParam('ipId', request.ipId)}`, + path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`, }, unmarshalIP, ) @@ -110,10 +101,7 @@ export class API extends ParentAPI { ), headers: jsonContentHeaders, method: 'PATCH', - path: `/ipam/v1/regions/${validatePathParam( - 'region', - request.region ?? this.client.settings.defaultRegion, - )}/ips/${validatePathParam('ipId', request.ipId)}`, + path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips/${validatePathParam('ipId', request.ipId)}`, }, unmarshalIP, ) @@ -122,10 +110,7 @@ export class API extends ParentAPI { this.client.fetch( { method: 'GET', - path: `/ipam/v1/regions/${validatePathParam( - 'region', - request.region ?? this.client.settings.defaultRegion, - )}/ips`, + path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`, urlParams: urlParams( ['attached', request.attached], ['is_ipv6', request.isIpv6], diff --git a/packages/clients/src/api/ipam/v1/types.gen.ts b/packages/clients/src/api/ipam/v1/types.gen.ts index 49ff08912..69d0ff623 100644 --- a/packages/clients/src/api/ipam/v1/types.gen.ts +++ b/packages/clients/src/api/ipam/v1/types.gen.ts @@ -115,8 +115,9 @@ export type BookIPRequest = { /** Request an IPv6 instead of an IPv4. */ isIpv6: boolean /** - * Note that only the Private Network source allows you to pick a specific IP. - * If the requested IP is already booked, then the call will fail. + * The requested address should not include the subnet mask (/suffix). Note + * that only the Private Network source allows you to pick a specific IP. If + * the requested IP is already booked, then the call will fail. */ address?: string /** Tags for the IP. */