From f2b9eb677cf070910e7e608cfd045be530d3eb6d Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Wed, 11 Dec 2024 14:37:55 +0000 Subject: [PATCH] feat: update generated APIs --- packages/clients/src/api/ipam/v1/api.gen.ts | 1 + packages/clients/src/api/ipam/v1/types.gen.ts | 22 ++++++++++--------- 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/packages/clients/src/api/ipam/v1/api.gen.ts b/packages/clients/src/api/ipam/v1/api.gen.ts index bf197e9c0..d85d2a744 100644 --- a/packages/clients/src/api/ipam/v1/api.gen.ts +++ b/packages/clients/src/api/ipam/v1/api.gen.ts @@ -131,6 +131,7 @@ export class API extends ParentAPI { path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`, urlParams: urlParams( ['attached', request.attached], + ['ip_ids', request.ipIds], ['is_ipv6', request.isIpv6], ['mac_address', request.macAddress], ['order_by', request.orderBy], diff --git a/packages/clients/src/api/ipam/v1/types.gen.ts b/packages/clients/src/api/ipam/v1/types.gen.ts index 318eba17d..7b70af257 100644 --- a/packages/clients/src/api/ipam/v1/types.gen.ts +++ b/packages/clients/src/api/ipam/v1/types.gen.ts @@ -225,6 +225,11 @@ export type ListIPsRequest = { vpcId?: string /** Defines whether to filter only for IPs which are attached to a resource. */ attached?: boolean + /** + * Attached resource name to filter for, only IPs attached to a resource with + * this string within their name will be returned. + */ + resourceName?: string /** * Resource ID to filter for. Only IPs attached to this resource will be * returned. @@ -240,6 +245,11 @@ export type ListIPsRequest = { * will be returned. */ resourceType?: ResourceType + /** + * Resource types to filter for. Only IPs attached to these types of resources + * will be returned. + */ + resourceTypes?: ResourceType[] /** * MAC address to filter for. Only IPs attached to a resource with this MAC * address will be returned. @@ -257,16 +267,8 @@ export type ListIPsRequest = { organizationId?: string /** Defines whether to filter only for IPv4s or IPv6s. */ isIpv6?: boolean - /** - * Attached resource name to filter for, only IPs attached to a resource with - * this string within their name will be returned. - */ - resourceName?: string - /** - * Resource types to filter for. Only IPs attached to these types of resources - * will be returned. - */ - resourceTypes?: ResourceType[] + /** IP IDs to filter for. Only IPs with these UUIDs will be returned. */ + ipIds?: string[] } export interface ListIPsResponse {