From efaf8c688c9fe3d13e8c0262cb7815c971076fc2 Mon Sep 17 00:00:00 2001 From: Scaleway Bot Date: Fri, 15 Sep 2023 13:25:34 +0200 Subject: [PATCH] feat(instance): added field type for ListIpsRequest (#870) --- packages/clients/src/api/instance/v1/api.gen.ts | 1 + packages/clients/src/api/instance/v1/types.gen.ts | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/packages/clients/src/api/instance/v1/api.gen.ts b/packages/clients/src/api/instance/v1/api.gen.ts index e8c935c16..8243fc0ce 100644 --- a/packages/clients/src/api/instance/v1/api.gen.ts +++ b/packages/clients/src/api/instance/v1/api.gen.ts @@ -1420,6 +1420,7 @@ export class API extends ParentAPI { ? request.tags.join(',') : undefined, ], + ['type', request.type], ), }, unmarshalListIpsResponse, diff --git a/packages/clients/src/api/instance/v1/types.gen.ts b/packages/clients/src/api/instance/v1/types.gen.ts index e6a97f1f1..0d637ecc0 100644 --- a/packages/clients/src/api/instance/v1/types.gen.ts +++ b/packages/clients/src/api/instance/v1/types.gen.ts @@ -1636,6 +1636,11 @@ export type ListIpsRequest = { perPage?: number /** A positive integer to choose the page to return. */ page?: number + /** + * Filter on the IP Mobility IP type (whose value should be either 'nat', + * 'routed_ipv4' or 'routed_ipv6'). + */ + type?: string } export type CreateIpRequest = {