Skip to content

Commit 2f4a741

Browse files
authored
feat(block): add organization_id filter in listings (#1022)
1 parent 47ea035 commit 2f4a741

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export class API extends ParentAPI {
9999
urlParams: urlParams(
100100
['name', request.name],
101101
['order_by', request.orderBy],
102+
['organization_id', request.organizationId],
102103
['page', request.page],
103104
[
104105
'page_size',
@@ -241,6 +242,7 @@ export class API extends ParentAPI {
241242
urlParams: urlParams(
242243
['name', request.name],
243244
['order_by', request.orderBy],
245+
['organization_id', request.organizationId],
244246
['page', request.page],
245247
[
246248
'page_size',

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -266,6 +266,8 @@ export type ListSnapshotsRequest = {
266266
orderBy?: ListSnapshotsRequestOrderBy
267267
/** Filter by Project ID. */
268268
projectId?: string
269+
/** Filter by Organization ID. */
270+
organizationId?: string
269271
/** Page number. */
270272
page?: number
271273
/**
@@ -312,6 +314,8 @@ export type ListVolumesRequest = {
312314
orderBy?: ListVolumesRequestOrderBy
313315
/** Filter by Project ID. */
314316
projectId?: string
317+
/** Filter by Organization ID. */
318+
organizationId?: string
315319
/** Page number. */
316320
page?: number
317321
/**

0 commit comments

Comments
 (0)