@scaleway/sdk-product-catalog 2.14.0 → 2.16.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.
@@ -1,4 +1,4 @@
1
1
  export { PublicCatalogAPI, } from './api.gen.js';
2
2
  export * from './marshalling.gen.js';
3
- export type { ListPublicCatalogProductsRequestProductType, ListPublicCatalogProductsRequestStatus, ListPublicCatalogProductsResponse, PublicCatalogApiListPublicCatalogProductsRequest, PublicCatalogProduct, PublicCatalogProductEnvironmentalImpactEstimation, PublicCatalogProductLocality, PublicCatalogProductPrice, PublicCatalogProductProductBadge, PublicCatalogProductProperties, PublicCatalogProductPropertiesApacheKafka, PublicCatalogProductPropertiesAppleSilicon, PublicCatalogProductPropertiesBlockStorage, PublicCatalogProductPropertiesDedibox, PublicCatalogProductPropertiesElasticMetal, PublicCatalogProductPropertiesGenerativeApis, PublicCatalogProductPropertiesGenerativeApisConsumptionMode, PublicCatalogProductPropertiesGenerativeApisTask, PublicCatalogProductPropertiesGenerativeApisTokenType, PublicCatalogProductPropertiesHardware, PublicCatalogProductPropertiesHardwareCPU, PublicCatalogProductPropertiesHardwareCPUArch, PublicCatalogProductPropertiesHardwareCPUPhysical, PublicCatalogProductPropertiesHardwareCPUVirtual, PublicCatalogProductPropertiesHardwareGPU, PublicCatalogProductPropertiesHardwareNetwork, PublicCatalogProductPropertiesHardwareRAM, PublicCatalogProductPropertiesHardwareStorage, PublicCatalogProductPropertiesInstance, PublicCatalogProductPropertiesKeyManager, PublicCatalogProductPropertiesKubernetes, PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosNodeType, PublicCatalogProductPropertiesLoadBalancer, PublicCatalogProductPropertiesLoadBalancerIPV4Type, PublicCatalogProductPropertiesLoadBalancerNodeType, PublicCatalogProductPropertiesManagedInference, PublicCatalogProductPropertiesManagedInferenceManagedInferenceCustomModelStorage, PublicCatalogProductPropertiesManagedInferenceManagedInferenceDeployment, PublicCatalogProductPropertiesManagedMongoDB, PublicCatalogProductPropertiesManagedMongoDBManagementType, PublicCatalogProductPropertiesManagedMongoDBNodeType, PublicCatalogProductPropertiesManagedMongoDBStorageType, PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass, PublicCatalogProductPropertiesManagedRedisDatabase, PublicCatalogProductPropertiesManagedRelationalDatabase, PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType, PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType, PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass, PublicCatalogProductPropertiesObjectStorage, PublicCatalogProductPropertiesObjectStorageClassType, PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass, PublicCatalogProductPropertiesObjectStorageInternetTrafficType, PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType, PublicCatalogProductPropertiesObjectStorageRegionTrafficType, PublicCatalogProductPropertiesObjectStorageRestoreType, PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType, PublicCatalogProductPropertiesOpenSearch, PublicCatalogProductPropertiesSecretManager, PublicCatalogProductPropertiesServerlessContainers, PublicCatalogProductPropertiesServerlessFunctions, PublicCatalogProductPropertiesServerlessJobs, PublicCatalogProductStatus, PublicCatalogProductUnitOfMeasure, PublicCatalogProductUnitOfMeasureCountableUnit, } from './types.gen.js';
3
+ export type { ListPublicCatalogProductsRequestProductType, ListPublicCatalogProductsRequestStatus, ListPublicCatalogProductsResponse, PublicCatalogApiListPublicCatalogProductsRequest, PublicCatalogProduct, PublicCatalogProductEnvironmentalImpactEstimation, PublicCatalogProductLocality, PublicCatalogProductPrice, PublicCatalogProductProductBadge, PublicCatalogProductProperties, PublicCatalogProductPropertiesApacheKafka, PublicCatalogProductPropertiesAppleSilicon, PublicCatalogProductPropertiesBlockStorage, PublicCatalogProductPropertiesDedibox, PublicCatalogProductPropertiesElasticMetal, PublicCatalogProductPropertiesGenerativeApis, PublicCatalogProductPropertiesGenerativeApisConsumptionMode, PublicCatalogProductPropertiesGenerativeApisTask, PublicCatalogProductPropertiesGenerativeApisTokenType, PublicCatalogProductPropertiesHardware, PublicCatalogProductPropertiesHardwareCPU, PublicCatalogProductPropertiesHardwareCPUArch, PublicCatalogProductPropertiesHardwareCPUPhysical, PublicCatalogProductPropertiesHardwareCPUVirtual, PublicCatalogProductPropertiesHardwareGPU, PublicCatalogProductPropertiesHardwareNetwork, PublicCatalogProductPropertiesHardwareRAM, PublicCatalogProductPropertiesHardwareRAMECCType, PublicCatalogProductPropertiesHardwareStorage, PublicCatalogProductPropertiesInstance, PublicCatalogProductPropertiesKeyManager, PublicCatalogProductPropertiesKubernetes, PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosNodeType, PublicCatalogProductPropertiesLoadBalancer, PublicCatalogProductPropertiesLoadBalancerIPV4Type, PublicCatalogProductPropertiesLoadBalancerNodeType, PublicCatalogProductPropertiesManagedInference, PublicCatalogProductPropertiesManagedInferenceManagedInferenceCustomModelStorage, PublicCatalogProductPropertiesManagedInferenceManagedInferenceDeployment, PublicCatalogProductPropertiesManagedMongoDB, PublicCatalogProductPropertiesManagedMongoDBManagementType, PublicCatalogProductPropertiesManagedMongoDBNodeType, PublicCatalogProductPropertiesManagedMongoDBStorageType, PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass, PublicCatalogProductPropertiesManagedRedisDatabase, PublicCatalogProductPropertiesManagedRelationalDatabase, PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType, PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType, PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass, PublicCatalogProductPropertiesObjectStorage, PublicCatalogProductPropertiesObjectStorageClassType, PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass, PublicCatalogProductPropertiesObjectStorageInternetTrafficType, PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType, PublicCatalogProductPropertiesObjectStorageRegionTrafficType, PublicCatalogProductPropertiesObjectStorageRestoreType, PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType, PublicCatalogProductPropertiesOpenSearch, PublicCatalogProductPropertiesSecretManager, PublicCatalogProductPropertiesServerlessContainers, PublicCatalogProductPropertiesServerlessFunctions, PublicCatalogProductPropertiesServerlessJobs, PublicCatalogProductStatus, PublicCatalogProductUnitOfMeasure, PublicCatalogProductUnitOfMeasureCountableUnit, } from './types.gen.js';
4
4
  export * as ValidationRules from './validation-rules.gen.js';
@@ -20,6 +20,7 @@ const unmarshalPublicCatalogProductPropertiesHardwareCPU = (data) => {
20
20
  arch: data.arch,
21
21
  description: data.description,
22
22
  physical: data.physical ? unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical(data.physical) : void 0,
23
+ shared: data.shared,
23
24
  threads: data.threads,
24
25
  type: data.type,
25
26
  virtual: data.virtual ? unmarshalPublicCatalogProductPropertiesHardwareCPUVirtual(data.virtual) : void 0
@@ -46,6 +47,7 @@ const unmarshalPublicCatalogProductPropertiesHardwareRAM = (data) => {
46
47
  if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardwareRAM' failed as data isn't a dictionary.`);
47
48
  return {
48
49
  description: data.description,
50
+ eccType: data.ecc_type ? data.ecc_type : void 0,
49
51
  size: data.size,
50
52
  type: data.type
51
53
  };
@@ -6,6 +6,7 @@ export type PublicCatalogProductPropertiesGenerativeApisConsumptionMode = 'unkno
6
6
  export type PublicCatalogProductPropertiesGenerativeApisTask = 'unknown_task' | 'chat' | 'embeddings' | 'vision' | 'audio_transcription' | 'code';
7
7
  export type PublicCatalogProductPropertiesGenerativeApisTokenType = 'unknown_token_type' | 'input_token' | 'output_token' | 'input_duration';
8
8
  export type PublicCatalogProductPropertiesHardwareCPUArch = 'unknown_arch' | 'x64' | 'arm64' | 'riscv' | 'apple_silicon';
9
+ export type PublicCatalogProductPropertiesHardwareRAMECCType = 'unknown_ecc_type' | 'standard' | 'on_die';
9
10
  export type PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass = 'unknown_storage_class' | 'sbs_5k' | 'sbs_5k_snapshot' | 'sbs_15k' | 'sbs_15k_snapshot';
10
11
  export type PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass = 'unknown_storage_class' | 'block_ssd' | 'block_ssd_snapshot' | 'local_ssd' | 'sbs_5k' | 'sbs_5k_snapshot' | 'sbs_15k' | 'sbs_15k_snapshot' | 'backup';
11
12
  export type PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass = 'unknown_storage_class' | 'standard' | 'glacier' | 'onezone_ia';
@@ -70,6 +71,10 @@ export interface PublicCatalogProductPropertiesHardwareCPU {
70
71
  * The total number of threads.
71
72
  */
72
73
  threads: number;
74
+ /**
75
+ * Indicates whether the CPU is shared or not.
76
+ */
77
+ shared: boolean;
73
78
  }
74
79
  export interface PublicCatalogProductPropertiesHardwareGPU {
75
80
  /**
@@ -116,6 +121,10 @@ export interface PublicCatalogProductPropertiesHardwareRAM {
116
121
  * The type of the RAM.
117
122
  */
118
123
  type: string;
124
+ /**
125
+ * ECC type.
126
+ */
127
+ eccType?: PublicCatalogProductPropertiesHardwareRAMECCType;
119
128
  }
120
129
  export interface PublicCatalogProductPropertiesHardwareStorage {
121
130
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-product-catalog",
3
- "version": "2.14.0",
3
+ "version": "2.16.0",
4
4
  "description": "Scaleway SDK product-catalog",
5
5
  "license": "Apache-2.0",
6
6
  "repository": {
@@ -32,14 +32,14 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@scaleway/random-name": "5.1.4",
35
- "@scaleway/sdk-std": "2.4.2"
35
+ "@scaleway/sdk-std": "2.4.3"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@repo/configs": "^0.1.1",
39
- "@scaleway/sdk-client": "^2.4.0"
39
+ "@scaleway/sdk-client": "^2.4.1"
40
40
  },
41
41
  "peerDependencies": {
42
- "@scaleway/sdk-client": "^2.4.0"
42
+ "@scaleway/sdk-client": "^2.4.1"
43
43
  },
44
44
  "engines": {
45
45
  "node": ">=20.20.2"