@scaleway/sdk-product-catalog 2.7.1 → 2.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file is automatically generated
|
|
3
|
+
* PLEASE DO NOT EDIT HERE
|
|
4
|
+
*/
|
|
5
|
+
export type Metadata = {
|
|
6
|
+
name: string;
|
|
7
|
+
namespace: string;
|
|
8
|
+
displayName: string;
|
|
9
|
+
versions: string[];
|
|
10
|
+
};
|
|
11
|
+
export declare const pkgMetadata: Metadata;
|
|
12
|
+
export default pkgMetadata;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import metadata_gen_default from "./metadata2.gen.js";
|
|
2
|
+
//#region src/metadata.gen.ts
|
|
3
|
+
/**
|
|
4
|
+
* This file is automatically generated
|
|
5
|
+
* PLEASE DO NOT EDIT HERE
|
|
6
|
+
*/
|
|
7
|
+
var pkgMetadata = metadata_gen_default;
|
|
8
|
+
//#endregion
|
|
9
|
+
export { pkgMetadata as default, pkgMetadata };
|
package/dist/v2alpha1/api.gen.js
CHANGED
|
@@ -8,7 +8,7 @@ var PublicCatalogAPI = class extends API {
|
|
|
8
8
|
pageOfListPublicCatalogProducts = (request = {}) => this.client.fetch({
|
|
9
9
|
method: "GET",
|
|
10
10
|
path: `/product-catalog/v2alpha1/public-catalog/products`,
|
|
11
|
-
urlParams: urlParams(["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["product_types", request.productTypes], ["status", request.status], ...Object.entries(resolveOneOf([
|
|
11
|
+
urlParams: urlParams(["api_ids", request.apiIds], ["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["product_types", request.productTypes], ["status", request.status], ...Object.entries(resolveOneOf([
|
|
12
12
|
{
|
|
13
13
|
param: "global",
|
|
14
14
|
value: request.global
|
|
@@ -642,4 +642,8 @@ export type PublicCatalogApiListPublicCatalogProductsRequest = {
|
|
|
642
642
|
* The lists of filtered product status, if empty only products with status public_beta, general_availability, preview, end_of_new_features, end_of_growth, end_of_deployment, end_of_support, end_of_sale, end_of_life or retired will be returned.
|
|
643
643
|
*/
|
|
644
644
|
status?: ListPublicCatalogProductsRequestStatus[];
|
|
645
|
+
/**
|
|
646
|
+
* Filter products by API IDs. Each ID is matched against product-specific identifiers: `dedibox.offer_id` (converted to string), `elastic_metal.offer_id`, `apple_silicon.server_type`, `instance.offer_id`, and `load_balancer.node.offer_id`. Products that do not support API ID filtering are excluded from the results. If empty, no filtering is applied.
|
|
647
|
+
*/
|
|
648
|
+
apiIds?: string[];
|
|
645
649
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-product-catalog",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.9.0",
|
|
4
4
|
"description": "Scaleway SDK product-catalog",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"files": [
|
|
@@ -16,6 +16,14 @@
|
|
|
16
16
|
"./*": {
|
|
17
17
|
"types": "./dist/*/index.gen.d.ts",
|
|
18
18
|
"default": "./dist/*/index.gen.js"
|
|
19
|
+
},
|
|
20
|
+
"./metadata": {
|
|
21
|
+
"types": "./dist/metadata.gen.d.ts",
|
|
22
|
+
"default": "./dist/metadata.gen.js"
|
|
23
|
+
},
|
|
24
|
+
"./*/metadata": {
|
|
25
|
+
"types": "./dist/*/metadata.gen.d.ts",
|
|
26
|
+
"default": "./dist/*/metadata.gen.js"
|
|
19
27
|
}
|
|
20
28
|
},
|
|
21
29
|
"repository": {
|
|
@@ -27,7 +35,7 @@
|
|
|
27
35
|
},
|
|
28
36
|
"dependencies": {
|
|
29
37
|
"@scaleway/random-name": "5.1.4",
|
|
30
|
-
"@scaleway/sdk-std": "2.
|
|
38
|
+
"@scaleway/sdk-std": "2.3.0"
|
|
31
39
|
},
|
|
32
40
|
"peerDependencies": {
|
|
33
41
|
"@scaleway/sdk-client": "^2.2.2"
|