Skip to content

Commit 2cb3572

Browse files
authored
feat(mnq): add field to filter by organization (#166)
1 parent d17cc86 commit 2cb3572

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/clients/src/api/mnq/v1alpha1/api.gen.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,11 @@ export class MnqV1Alpha1GenAPI extends API {
5959
)}/namespaces`,
6060
urlParams: urlParams(
6161
['order_by', request.orderBy ?? 'created_at_asc'],
62+
[
63+
'organization_id',
64+
request.organizationId ??
65+
this.client.settings.defaultOrganizationId,
66+
],
6267
['page', request.page],
6368
[
6469
'page_size',

packages/clients/src/api/mnq/v1alpha1/types.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,7 @@ export type ListNamespacesRequest = {
121121
page?: number
122122
pageSize?: number
123123
orderBy?: ListNamespacesRequestOrderBy
124+
organizationId?: string
124125
}
125126

126127
export type CreateNamespaceRequest = {

0 commit comments

Comments
 (0)