Skip to content

Commit e8e133b

Browse files
authored
feat(lb): generate ip_type for ListIpsRequest (#1081)
1 parent efb630a commit e8e133b

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -413,6 +413,7 @@ export class ZonedAPI extends ParentAPI {
413413
)}/ips`,
414414
urlParams: urlParams(
415415
['ip_address', request.ipAddress],
416+
['ip_type', request.ipType],
416417
['organization_id', request.organizationId],
417418
['page', request.page],
418419
[
@@ -1839,6 +1840,7 @@ export class API extends ParentAPI {
18391840
)}/ips`,
18401841
urlParams: urlParams(
18411842
['ip_address', request.ipAddress],
1843+
['ip_type', request.ipType],
18421844
['organization_id', request.organizationId],
18431845
['page', request.page],
18441846
[

packages/clients/src/api/lb/v1/index.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ export type {
8080
ListFrontendsRequestOrderBy,
8181
ListFrontendsResponse,
8282
ListIPsRequest,
83+
ListIpsRequestIpType,
8384
ListIpsResponse,
8485
ListLbPrivateNetworksRequest,
8586
ListLbPrivateNetworksResponse,

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ export type ListFrontendsRequestOrderBy =
8080
| 'name_asc'
8181
| 'name_desc'
8282

83+
export type ListIpsRequestIpType = 'all' | 'ipv4' | 'ipv6'
84+
8385
export type ListLbsRequestOrderBy =
8486
| 'created_at_asc'
8587
| 'created_at_desc'
@@ -1436,6 +1438,8 @@ export type ListIPsRequest = {
14361438
* will be returned.
14371439
*/
14381440
projectId?: string
1441+
/** IP type to filter for. */
1442+
ipType?: ListIpsRequestIpType
14391443
}
14401444

14411445
export interface ListIpsResponse {
@@ -2511,6 +2515,8 @@ export type ZonedApiListIPsRequest = {
25112515
* will be returned.
25122516
*/
25132517
projectId?: string
2518+
/** IP type to filter for. */
2519+
ipType?: ListIpsRequestIpType
25142520
}
25152521

25162522
export type ZonedApiListLbPrivateNetworksRequest = {

0 commit comments

Comments
 (0)