Skip to content

Commit 7ed8bf5

Browse files
feat(mnq): allow filtering nats credentials listing by project id (#1630)
Co-authored-by: Laure-di <[email protected]>
1 parent 26ad3e7 commit 7ed8bf5

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -259,6 +259,7 @@ export class NatsAPI extends ParentAPI {
259259
'page_size',
260260
request.pageSize ?? this.client.settings.defaultPageSize,
261261
],
262+
['project_id', request.projectId],
262263
),
263264
},
264265
unmarshalListNatsCredentialsResponse,

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ export type NatsApiListNatsCredentialsRequest = {
278278
* config.
279279
*/
280280
region?: Region
281+
/** Include only NATS accounts in this Project. */
282+
projectId?: string
281283
/** Include only credentials for this NATS account. */
282284
natsAccountId?: string
283285
/** Page number to return. */

0 commit comments

Comments
 (0)