Skip to content

Commit f2b9eb6

Browse files
committed
feat: update generated APIs
1 parent 2406e7d commit f2b9eb6

File tree

2 files changed

+13
-10
lines changed

2 files changed

+13
-10
lines changed

packages/clients/src/api/ipam/v1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ export class API extends ParentAPI {
131131
path: `/ipam/v1/regions/${validatePathParam('region', request.region ?? this.client.settings.defaultRegion)}/ips`,
132132
urlParams: urlParams(
133133
['attached', request.attached],
134+
['ip_ids', request.ipIds],
134135
['is_ipv6', request.isIpv6],
135136
['mac_address', request.macAddress],
136137
['order_by', request.orderBy],

packages/clients/src/api/ipam/v1/types.gen.ts

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -225,6 +225,11 @@ export type ListIPsRequest = {
225225
vpcId?: string
226226
/** Defines whether to filter only for IPs which are attached to a resource. */
227227
attached?: boolean
228+
/**
229+
* Attached resource name to filter for, only IPs attached to a resource with
230+
* this string within their name will be returned.
231+
*/
232+
resourceName?: string
228233
/**
229234
* Resource ID to filter for. Only IPs attached to this resource will be
230235
* returned.
@@ -240,6 +245,11 @@ export type ListIPsRequest = {
240245
* will be returned.
241246
*/
242247
resourceType?: ResourceType
248+
/**
249+
* Resource types to filter for. Only IPs attached to these types of resources
250+
* will be returned.
251+
*/
252+
resourceTypes?: ResourceType[]
243253
/**
244254
* MAC address to filter for. Only IPs attached to a resource with this MAC
245255
* address will be returned.
@@ -257,16 +267,8 @@ export type ListIPsRequest = {
257267
organizationId?: string
258268
/** Defines whether to filter only for IPv4s or IPv6s. */
259269
isIpv6?: boolean
260-
/**
261-
* Attached resource name to filter for, only IPs attached to a resource with
262-
* this string within their name will be returned.
263-
*/
264-
resourceName?: string
265-
/**
266-
* Resource types to filter for. Only IPs attached to these types of resources
267-
* will be returned.
268-
*/
269-
resourceTypes?: ResourceType[]
270+
/** IP IDs to filter for. Only IPs with these UUIDs will be returned. */
271+
ipIds?: string[]
270272
}
271273

272274
export interface ListIPsResponse {

0 commit comments

Comments
 (0)