Skip to content

Commit 8c8cc57

Browse files
committed
feat: update generated APIs
1 parent 89c9c84 commit 8c8cc57

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export type IpState =
2121
| 'pending'
2222
| 'error'
2323

24-
export type IpType = 'unknown_iptype' | 'nat' | 'routed_ipv4' | 'routed_ipv6'
24+
export type IpType = 'unknown_iptype' | 'routed_ipv4' | 'routed_ipv6'
2525

2626
export type ListServersRequestOrder =
2727
| 'creation_date_desc'
@@ -866,10 +866,7 @@ export type CreateIpRequest = {
866866
tags?: string[]
867867
/** UUID of the Instance you want to attach the IP to. */
868868
server?: string
869-
/**
870-
* IP type to reserve (either 'routed_ipv4' or 'routed_ipv6', use of 'nat' is
871-
* deprecated).
872-
*/
869+
/** IP type to reserve (either 'routed_ipv4' or 'routed_ipv6'). */
873870
type?: IpType
874871
}
875872

@@ -1437,7 +1434,7 @@ export type ListIpsRequest = {
14371434
page?: number
14381435
/**
14391436
* Filter on the IP Mobility IP type (whose value should be either
1440-
* 'routed_ipv4', 'routed_ipv6' or 'nat').
1437+
* 'routed_ipv4' or 'routed_ipv6').
14411438
*/
14421439
type?: string
14431440
}
@@ -1884,7 +1881,7 @@ export type UpdateIpRequest = {
18841881
ip: string
18851882
/** Reverse domain name. */
18861883
reverse?: string | null
1887-
/** Convert a 'nat' IP to a 'routed_ipv4'. */
1884+
/** Should have no effect. */
18881885
type?: IpType
18891886
/** An array of keywords you want to tag this IP with. */
18901887
tags?: string[]

0 commit comments

Comments
 (0)