Skip to content

Commit 066a7e9

Browse files
authored
feat(baremetal): add name filter for ListOffersRequest (#1296)
1 parent a9fa1d2 commit 066a7e9

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

packages/clients/src/api/baremetal/v1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -475,6 +475,7 @@ export class API extends ParentAPI {
475475
method: 'GET',
476476
path: `/baremetal/v1/zones/${validatePathParam('zone', request.zone ?? this.client.settings.defaultZone)}/offers`,
477477
urlParams: urlParams(
478+
['name', request.name],
478479
['page', request.page],
479480
[
480481
'page_size',

packages/clients/src/api/baremetal/v1/types.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,8 @@ export type ListOffersRequest = {
570570
pageSize?: number
571571
/** Subscription period type to filter offers by. */
572572
subscriptionPeriod?: OfferSubscriptionPeriod
573+
/** Offer name to filter offers by. */
574+
name?: string
573575
}
574576

575577
export interface ListOffersResponse {

0 commit comments

Comments
 (0)