Skip to content

Commit

Permalink
feat(mnq): allow filtering nats credentials listing by project id (#1630
Browse files Browse the repository at this point in the history
)

Co-authored-by: Laure-di <62625835+Laure-di@users.noreply.github.com>
  • Loading branch information
scaleway-bot and Laure-di authored Dec 5, 2024
1 parent 26ad3e7 commit 7ed8bf5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/clients/src/api/mnq/v1beta1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -259,6 +259,7 @@ export class NatsAPI extends ParentAPI {
'page_size',
request.pageSize ?? this.client.settings.defaultPageSize,
],
['project_id', request.projectId],
),
},
unmarshalListNatsCredentialsResponse,
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/mnq/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,8 @@ export type NatsApiListNatsCredentialsRequest = {
* config.
*/
region?: Region
/** Include only NATS accounts in this Project. */
projectId?: string
/** Include only credentials for this NATS account. */
natsAccountId?: string
/** Page number to return. */
Expand Down

0 comments on commit 7ed8bf5

Please sign in to comment.