Skip to content

Commit a76961a

Browse files
authored
Merge branch 'main' into v1.6549.0
2 parents cef19bd + 650f417 commit a76961a

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

packages_generated/product_catalog/src/v2alpha1/api.gen.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export class PublicCatalogAPI extends ParentAPI {
2828
'page_size',
2929
request.pageSize ?? this.client.settings.defaultPageSize,
3030
],
31+
['product_types', request.productTypes],
3132
),
3233
},
3334
unmarshalListPublicCatalogProductsResponse,

packages_generated/product_catalog/src/v2alpha1/types.gen.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,13 @@ import type {
66
Zone as ScwZone,
77
} from '@scaleway/sdk-client'
88

9+
export type ListPublicCatalogProductsRequestProductType =
10+
| 'unknown_product_type'
11+
| 'instance'
12+
| 'apple_silicon'
13+
| 'elastic_metal'
14+
| 'dedibox'
15+
916
export type PublicCatalogProductPropertiesHardwareCPUArch =
1017
| 'unknown_arch'
1118
| 'x64'
@@ -375,4 +382,8 @@ export type PublicCatalogApiListPublicCatalogProductsRequest = {
375382
* The number of products per page. Value must be greater or equal to 1.
376383
*/
377384
pageSize?: number
385+
/**
386+
* The list of filtered product categories.
387+
*/
388+
productTypes?: ListPublicCatalogProductsRequestProductType[]
378389
}

0 commit comments

Comments
 (0)