File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
packages_generated/product_catalog/src/v2alpha1 Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff 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 ,
Original file line number Diff line number Diff line change 33export { PublicCatalogAPI } from './api.gen'
44export * from './marshalling.gen'
55export type {
6+ ListPublicCatalogProductsRequestProductType ,
67 ListPublicCatalogProductsResponse ,
78 PublicCatalogApiListPublicCatalogProductsRequest ,
89 PublicCatalogProduct ,
Original file line number Diff line number Diff 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+
916export 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}
You can’t perform that action at this time.
0 commit comments