Skip to content

Commit 667fd73

Browse files
authored
feat(webhosting): add control panels field in listHostings request (#1035)
1 parent 054d13a commit 667fd73

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,7 @@ export class API extends ParentAPI {
253253
request.region ?? this.client.settings.defaultRegion,
254254
)}/offers`,
255255
urlParams: urlParams(
256+
['control_panels', request.controlPanels],
256257
['hosting_id', request.hostingId],
257258
['only_options', request.onlyOptions],
258259
['order_by', request.orderBy],

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,8 @@ export type ListOffersRequest = {
342342
* case of wanting to update the plan).
343343
*/
344344
hostingId?: string
345+
/** Name of the control panel to filter for. */
346+
controlPanels?: string[]
345347
}
346348

347349
export interface ListOffersResponse {

0 commit comments

Comments
 (0)