@scaleway/sdk-product-catalog 2.4.0 → 2.4.1

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.
@@ -7,28 +7,29 @@ class PublicCatalogAPI extends API {
7
7
  path: `/product-catalog/v2alpha1/public-catalog/products`,
8
8
  urlParams: urlParams(
9
9
  ["page", request.page],
10
- [
11
- "page_size",
12
- request.pageSize ?? this.client.settings.defaultPageSize
13
- ],
10
+ ["page_size", request.pageSize ?? this.client.settings.defaultPageSize],
14
11
  ["product_types", request.productTypes],
15
12
  ["status", request.status],
16
- ...Object.entries(
17
- resolveOneOf([
18
- { param: "global", value: request.global },
19
- {
20
- default: this.client.settings.defaultRegion,
21
- param: "region",
22
- value: request.region
23
- },
24
- {
25
- default: this.client.settings.defaultZone,
26
- param: "zone",
27
- value: request.zone
28
- },
29
- { param: "datacenter", value: request.datacenter }
30
- ])
31
- )
13
+ ...Object.entries(resolveOneOf([
14
+ {
15
+ param: "global",
16
+ value: request.global
17
+ },
18
+ {
19
+ default: this.client.settings.defaultRegion,
20
+ param: "region",
21
+ value: request.region
22
+ },
23
+ {
24
+ default: this.client.settings.defaultZone,
25
+ param: "zone",
26
+ value: request.zone
27
+ },
28
+ {
29
+ param: "datacenter",
30
+ value: request.datacenter
31
+ }
32
+ ]))
32
33
  )
33
34
  },
34
35
  unmarshalListPublicCatalogProductsResponse
@@ -39,11 +40,7 @@ class PublicCatalogAPI extends API {
39
40
  * @param request - The request {@link PublicCatalogApiListPublicCatalogProductsRequest}
40
41
  * @returns A Promise of ListPublicCatalogProductsResponse
41
42
  */
42
- listPublicCatalogProducts = (request = {}) => enrichForPagination(
43
- "products",
44
- this.pageOfListPublicCatalogProducts,
45
- request
46
- );
43
+ listPublicCatalogProducts = (request = {}) => enrichForPagination("products", this.pageOfListPublicCatalogProducts, request);
47
44
  }
48
45
  export {
49
46
  PublicCatalogAPI
@@ -1,4 +1,4 @@
1
- export { PublicCatalogAPI } from './api.gen.js';
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, PublicCatalogProductPropertiesAppleSilicon, PublicCatalogProductPropertiesBlockStorage, PublicCatalogProductPropertiesDedibox, PublicCatalogProductPropertiesElasticMetal, PublicCatalogProductPropertiesGenerativeApis, PublicCatalogProductPropertiesGenerativeApisConsumptionMode, PublicCatalogProductPropertiesHardware, PublicCatalogProductPropertiesHardwareCPU, PublicCatalogProductPropertiesHardwareCPUArch, PublicCatalogProductPropertiesHardwareCPUPhysical, PublicCatalogProductPropertiesHardwareCPUVirtual, PublicCatalogProductPropertiesHardwareGPU, PublicCatalogProductPropertiesHardwareNetwork, PublicCatalogProductPropertiesHardwareRAM, PublicCatalogProductPropertiesHardwareStorage, PublicCatalogProductPropertiesInstance, PublicCatalogProductPropertiesKeyManager, PublicCatalogProductPropertiesKubernetes, PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosNodeType, PublicCatalogProductPropertiesLoadBalancer, PublicCatalogProductPropertiesManagedInference, PublicCatalogProductPropertiesManagedRedisDatabase, PublicCatalogProductPropertiesObjectStorage, PublicCatalogProductPropertiesObjectStorageClassType, PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass, PublicCatalogProductPropertiesObjectStorageInternetTrafficType, PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType, PublicCatalogProductPropertiesObjectStorageRegionTrafficType, PublicCatalogProductPropertiesObjectStorageRestoreType, PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType, PublicCatalogProductPropertiesSecretManager, PublicCatalogProductStatus, PublicCatalogProductUnitOfMeasure, PublicCatalogProductUnitOfMeasureCountableUnit, } from './types.gen.js';
3
+ export type { ListPublicCatalogProductsRequestProductType, ListPublicCatalogProductsRequestStatus, ListPublicCatalogProductsResponse, PublicCatalogApiListPublicCatalogProductsRequest, PublicCatalogProduct, PublicCatalogProductEnvironmentalImpactEstimation, PublicCatalogProductLocality, PublicCatalogProductPrice, PublicCatalogProductProductBadge, PublicCatalogProductProperties, PublicCatalogProductPropertiesAppleSilicon, PublicCatalogProductPropertiesBlockStorage, PublicCatalogProductPropertiesDedibox, PublicCatalogProductPropertiesElasticMetal, PublicCatalogProductPropertiesGenerativeApis, PublicCatalogProductPropertiesGenerativeApisConsumptionMode, PublicCatalogProductPropertiesHardware, PublicCatalogProductPropertiesHardwareCPU, PublicCatalogProductPropertiesHardwareCPUArch, PublicCatalogProductPropertiesHardwareCPUPhysical, PublicCatalogProductPropertiesHardwareCPUVirtual, PublicCatalogProductPropertiesHardwareGPU, PublicCatalogProductPropertiesHardwareNetwork, PublicCatalogProductPropertiesHardwareRAM, PublicCatalogProductPropertiesHardwareStorage, PublicCatalogProductPropertiesInstance, PublicCatalogProductPropertiesKeyManager, PublicCatalogProductPropertiesKubernetes, PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType, PublicCatalogProductPropertiesKubernetesKosmosNodeType, PublicCatalogProductPropertiesLoadBalancer, PublicCatalogProductPropertiesManagedInference, PublicCatalogProductPropertiesManagedRedisDatabase, PublicCatalogProductPropertiesManagedRelationalDatabase, PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType, PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType, PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType, PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass, PublicCatalogProductPropertiesObjectStorage, PublicCatalogProductPropertiesObjectStorageClassType, PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass, PublicCatalogProductPropertiesObjectStorageInternetTrafficType, PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType, PublicCatalogProductPropertiesObjectStorageRegionTrafficType, PublicCatalogProductPropertiesObjectStorageRestoreType, PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType, PublicCatalogProductPropertiesSecretManager, PublicCatalogProductStatus, PublicCatalogProductUnitOfMeasure, PublicCatalogProductUnitOfMeasureCountableUnit, } from './types.gen.js';
4
4
  export * as ValidationRules from './validation-rules.gen.js';
@@ -32,9 +32,7 @@ const unmarshalPublicCatalogProductPropertiesHardwareCPU = (data) => {
32
32
  return {
33
33
  arch: data.arch,
34
34
  description: data.description,
35
- physical: data.physical ? unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical(
36
- data.physical
37
- ) : void 0,
35
+ physical: data.physical ? unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical(data.physical) : void 0,
38
36
  threads: data.threads,
39
37
  type: data.type,
40
38
  virtual: data.virtual ? unmarshalPublicCatalogProductPropertiesHardwareCPUVirtual(data.virtual) : void 0
@@ -112,6 +110,40 @@ const unmarshalPublicCatalogProductPropertiesKubernetesKosmosNodeType = (data) =
112
110
  }
113
111
  return {};
114
112
  };
113
+ const unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseManagementType = (data) => {
114
+ if (!isJSONObject(data)) {
115
+ throw new TypeError(
116
+ `Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType' failed as data isn't a dictionary.`
117
+ );
118
+ }
119
+ return {};
120
+ };
121
+ const unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType = (data) => {
122
+ if (!isJSONObject(data)) {
123
+ throw new TypeError(
124
+ `Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType' failed as data isn't a dictionary.`
125
+ );
126
+ }
127
+ return {};
128
+ };
129
+ const unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseNodeType = (data) => {
130
+ if (!isJSONObject(data)) {
131
+ throw new TypeError(
132
+ `Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType' failed as data isn't a dictionary.`
133
+ );
134
+ }
135
+ return {};
136
+ };
137
+ const unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseStorageType = (data) => {
138
+ if (!isJSONObject(data)) {
139
+ throw new TypeError(
140
+ `Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType' failed as data isn't a dictionary.`
141
+ );
142
+ }
143
+ return {
144
+ storageClass: data.storage_class
145
+ };
146
+ };
115
147
  const unmarshalPublicCatalogProductPropertiesObjectStorageClassType = (data) => {
116
148
  if (!isJSONObject(data)) {
117
149
  throw new TypeError(
@@ -249,15 +281,9 @@ const unmarshalPublicCatalogProductPropertiesKubernetes = (data) => {
249
281
  );
250
282
  }
251
283
  return {
252
- kapsuleControlPlane: data.kapsule_control_plane ? unmarshalPublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType(
253
- data.kapsule_control_plane
254
- ) : void 0,
255
- kosmosControlPlane: data.kosmos_control_plane ? unmarshalPublicCatalogProductPropertiesKubernetesKosmosControlPlaneType(
256
- data.kosmos_control_plane
257
- ) : void 0,
258
- kosmosNode: data.kosmos_node ? unmarshalPublicCatalogProductPropertiesKubernetesKosmosNodeType(
259
- data.kosmos_node
260
- ) : void 0
284
+ kapsuleControlPlane: data.kapsule_control_plane ? unmarshalPublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType(data.kapsule_control_plane) : void 0,
285
+ kosmosControlPlane: data.kosmos_control_plane ? unmarshalPublicCatalogProductPropertiesKubernetesKosmosControlPlaneType(data.kosmos_control_plane) : void 0,
286
+ kosmosNode: data.kosmos_node ? unmarshalPublicCatalogProductPropertiesKubernetesKosmosNodeType(data.kosmos_node) : void 0
261
287
  };
262
288
  };
263
289
  const unmarshalPublicCatalogProductPropertiesLoadBalancer = (data) => {
@@ -286,6 +312,19 @@ const unmarshalPublicCatalogProductPropertiesManagedRedisDatabase = (data) => {
286
312
  }
287
313
  return {};
288
314
  };
315
+ const unmarshalPublicCatalogProductPropertiesManagedRelationalDatabase = (data) => {
316
+ if (!isJSONObject(data)) {
317
+ throw new TypeError(
318
+ `Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabase' failed as data isn't a dictionary.`
319
+ );
320
+ }
321
+ return {
322
+ management: data.management ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseManagementType(data.management) : void 0,
323
+ multiAz: data.multi_az ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType(data.multi_az) : void 0,
324
+ node: data.node ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseNodeType(data.node) : void 0,
325
+ storage: data.storage ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseStorageType(data.storage) : void 0
326
+ };
327
+ };
289
328
  const unmarshalPublicCatalogProductPropertiesObjectStorage = (data) => {
290
329
  if (!isJSONObject(data)) {
291
330
  throw new TypeError(
@@ -293,18 +332,10 @@ const unmarshalPublicCatalogProductPropertiesObjectStorage = (data) => {
293
332
  );
294
333
  }
295
334
  return {
296
- class: data.class ? unmarshalPublicCatalogProductPropertiesObjectStorageClassType(
297
- data.class
298
- ) : void 0,
299
- internetTraffic: data.internet_traffic ? unmarshalPublicCatalogProductPropertiesObjectStorageInternetTrafficType(
300
- data.internet_traffic
301
- ) : void 0,
302
- regionTraffic: data.region_traffic ? unmarshalPublicCatalogProductPropertiesObjectStorageRegionTrafficType(
303
- data.region_traffic
304
- ) : void 0,
305
- restore: data.restore ? unmarshalPublicCatalogProductPropertiesObjectStorageRestoreType(
306
- data.restore
307
- ) : void 0
335
+ class: data.class ? unmarshalPublicCatalogProductPropertiesObjectStorageClassType(data.class) : void 0,
336
+ internetTraffic: data.internet_traffic ? unmarshalPublicCatalogProductPropertiesObjectStorageInternetTrafficType(data.internet_traffic) : void 0,
337
+ regionTraffic: data.region_traffic ? unmarshalPublicCatalogProductPropertiesObjectStorageRegionTrafficType(data.region_traffic) : void 0,
338
+ restore: data.restore ? unmarshalPublicCatalogProductPropertiesObjectStorageRestoreType(data.restore) : void 0
308
339
  };
309
340
  };
310
341
  const unmarshalPublicCatalogProductPropertiesSecretManager = (data) => {
@@ -360,26 +391,17 @@ const unmarshalPublicCatalogProductProperties = (data) => {
360
391
  blockStorage: data.block_storage ? unmarshalPublicCatalogProductPropertiesBlockStorage(data.block_storage) : void 0,
361
392
  dedibox: data.dedibox ? unmarshalPublicCatalogProductPropertiesDedibox(data.dedibox) : void 0,
362
393
  elasticMetal: data.elastic_metal ? unmarshalPublicCatalogProductPropertiesElasticMetal(data.elastic_metal) : void 0,
363
- generativeApis: data.generative_apis ? unmarshalPublicCatalogProductPropertiesGenerativeApis(
364
- data.generative_apis
365
- ) : void 0,
394
+ generativeApis: data.generative_apis ? unmarshalPublicCatalogProductPropertiesGenerativeApis(data.generative_apis) : void 0,
366
395
  hardware: data.hardware ? unmarshalPublicCatalogProductPropertiesHardware(data.hardware) : void 0,
367
396
  instance: data.instance ? unmarshalPublicCatalogProductPropertiesInstance(data.instance) : void 0,
368
397
  keyManager: data.key_manager ? unmarshalPublicCatalogProductPropertiesKeyManager(data.key_manager) : void 0,
369
398
  kubernetes: data.kubernetes ? unmarshalPublicCatalogProductPropertiesKubernetes(data.kubernetes) : void 0,
370
399
  loadBalancer: data.load_balancer ? unmarshalPublicCatalogProductPropertiesLoadBalancer(data.load_balancer) : void 0,
371
- managedInference: data.managed_inference ? unmarshalPublicCatalogProductPropertiesManagedInference(
372
- data.managed_inference
373
- ) : void 0,
374
- managedRedisDatabase: data.managed_redis_database ? unmarshalPublicCatalogProductPropertiesManagedRedisDatabase(
375
- data.managed_redis_database
376
- ) : void 0,
377
- objectStorage: data.object_storage ? unmarshalPublicCatalogProductPropertiesObjectStorage(
378
- data.object_storage
379
- ) : void 0,
380
- secretManager: data.secret_manager ? unmarshalPublicCatalogProductPropertiesSecretManager(
381
- data.secret_manager
382
- ) : void 0
400
+ managedInference: data.managed_inference ? unmarshalPublicCatalogProductPropertiesManagedInference(data.managed_inference) : void 0,
401
+ managedRedisDatabase: data.managed_redis_database ? unmarshalPublicCatalogProductPropertiesManagedRedisDatabase(data.managed_redis_database) : void 0,
402
+ managedRelationalDatabase: data.managed_relational_database ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabase(data.managed_relational_database) : void 0,
403
+ objectStorage: data.object_storage ? unmarshalPublicCatalogProductPropertiesObjectStorage(data.object_storage) : void 0,
404
+ secretManager: data.secret_manager ? unmarshalPublicCatalogProductPropertiesSecretManager(data.secret_manager) : void 0
383
405
  };
384
406
  };
385
407
  const unmarshalPublicCatalogProductUnitOfMeasure = (data) => {
@@ -405,9 +427,7 @@ const unmarshalPublicCatalogProduct = (data) => {
405
427
  endOfGrowthAt: unmarshalDate(data.end_of_growth_at),
406
428
  endOfLifeAt: unmarshalDate(data.end_of_life_at),
407
429
  endOfSaleAt: unmarshalDate(data.end_of_sale_at),
408
- environmentalImpactEstimation: data.environmental_impact_estimation ? unmarshalPublicCatalogProductEnvironmentalImpactEstimation(
409
- data.environmental_impact_estimation
410
- ) : void 0,
430
+ environmentalImpactEstimation: data.environmental_impact_estimation ? unmarshalPublicCatalogProductEnvironmentalImpactEstimation(data.environmental_impact_estimation) : void 0,
411
431
  locality: data.locality ? unmarshalPublicCatalogProductLocality(data.locality) : void 0,
412
432
  price: data.price ? unmarshalPublicCatalogProductPrice(data.price) : void 0,
413
433
  product: data.product,
@@ -427,10 +447,7 @@ const unmarshalListPublicCatalogProductsResponse = (data) => {
427
447
  );
428
448
  }
429
449
  return {
430
- products: unmarshalArrayOfObject(
431
- data.products,
432
- unmarshalPublicCatalogProduct
433
- ),
450
+ products: unmarshalArrayOfObject(data.products, unmarshalPublicCatalogProduct),
434
451
  totalCount: data.total_count
435
452
  };
436
453
  };
@@ -1,9 +1,10 @@
1
1
  import type { Money, Region as ScwRegion, Zone as ScwZone } from '@scaleway/sdk-client';
2
- export type ListPublicCatalogProductsRequestProductType = 'unknown_product_type' | 'instance' | 'apple_silicon' | 'elastic_metal' | 'dedibox' | 'block_storage' | 'object_storage' | 'managed_inference' | 'generative_apis' | 'load_balancer' | 'secret_manager' | 'key_manager' | 'managed_redis_database' | 'kubernetes';
2
+ export type ListPublicCatalogProductsRequestProductType = 'unknown_product_type' | 'instance' | 'apple_silicon' | 'elastic_metal' | 'dedibox' | 'block_storage' | 'object_storage' | 'managed_inference' | 'generative_apis' | 'load_balancer' | 'secret_manager' | 'key_manager' | 'managed_redis_database' | 'kubernetes' | 'managed_relational_database';
3
3
  export type ListPublicCatalogProductsRequestStatus = 'unknown_status' | 'public_beta' | 'preview' | 'general_availability' | 'end_of_new_features' | 'end_of_growth' | 'end_of_deployment' | 'end_of_support' | 'end_of_sale' | 'end_of_life' | 'retired';
4
4
  export type PublicCatalogProductProductBadge = 'unknown_product_badge' | 'new_product' | 'best_seller' | 'best_value' | 'popular';
5
5
  export type PublicCatalogProductPropertiesGenerativeApisConsumptionMode = 'unknown_consumption_mode' | 'realtime' | 'batch';
6
6
  export type PublicCatalogProductPropertiesHardwareCPUArch = 'unknown_arch' | 'x64' | 'arm64' | 'riscv' | 'apple_silicon';
7
+ export type PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass = 'unknown_storage_class' | 'block_ssd' | 'block_ssd_snapshot' | 'local_ssd' | 'sbs_5k' | 'sbs_5k_snapshot' | 'sbs_15k' | 'sbs_15k_snapshot' | 'backup';
7
8
  export type PublicCatalogProductPropertiesObjectStorageClassTypeStorageClass = 'unknown_storage_class' | 'standard' | 'glacier' | 'onezone_ia';
8
9
  export type PublicCatalogProductPropertiesObjectStorageInternetTrafficTypeTrafficType = 'unknown_traffic_type' | 'ingress' | 'egress';
9
10
  export type PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType = 'unknown_restore_type' | 'standard';
@@ -129,6 +130,18 @@ export interface PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType
129
130
  }
130
131
  export interface PublicCatalogProductPropertiesKubernetesKosmosNodeType {
131
132
  }
133
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType {
134
+ }
135
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType {
136
+ }
137
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType {
138
+ }
139
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType {
140
+ /**
141
+ * The type of Storage class.
142
+ */
143
+ storageClass: PublicCatalogProductPropertiesManagedRelationalDatabaseStorageTypeStorageClass;
144
+ }
132
145
  export interface PublicCatalogProductPropertiesObjectStorageClassType {
133
146
  /**
134
147
  * The storage class.
@@ -266,6 +279,32 @@ export interface PublicCatalogProductPropertiesManagedInference {
266
279
  }
267
280
  export interface PublicCatalogProductPropertiesManagedRedisDatabase {
268
281
  }
282
+ export interface PublicCatalogProductPropertiesManagedRelationalDatabase {
283
+ /**
284
+ * The properties related to Relational Database Management type.
285
+ *
286
+ * One-of ('type'): at most one of 'management', 'node', 'storage', 'multiAz' could be set.
287
+ */
288
+ management?: PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType;
289
+ /**
290
+ * The properties related to Relational Database Nodes.
291
+ *
292
+ * One-of ('type'): at most one of 'management', 'node', 'storage', 'multiAz' could be set.
293
+ */
294
+ node?: PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType;
295
+ /**
296
+ * The properties related to Relational Database Storage type.
297
+ *
298
+ * One-of ('type'): at most one of 'management', 'node', 'storage', 'multiAz' could be set.
299
+ */
300
+ storage?: PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType;
301
+ /**
302
+ * The properties related to Relational Database Multi AZ type.
303
+ *
304
+ * One-of ('type'): at most one of 'management', 'node', 'storage', 'multiAz' could be set.
305
+ */
306
+ multiAz?: PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType;
307
+ }
269
308
  export interface PublicCatalogProductPropertiesObjectStorage {
270
309
  /**
271
310
  * The properties related to Object Storage class.
@@ -338,79 +377,85 @@ export interface PublicCatalogProductProperties {
338
377
  /**
339
378
  * The properties of Dedibox products.
340
379
  *
341
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
380
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
342
381
  */
343
382
  dedibox?: PublicCatalogProductPropertiesDedibox;
344
383
  /**
345
384
  * The properties of Elastic Metal products.
346
385
  *
347
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
386
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
348
387
  */
349
388
  elasticMetal?: PublicCatalogProductPropertiesElasticMetal;
350
389
  /**
351
390
  * The properties of Apple Silicon products.
352
391
  *
353
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
392
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
354
393
  */
355
394
  appleSilicon?: PublicCatalogProductPropertiesAppleSilicon;
356
395
  /**
357
396
  * The properties of Instance products.
358
397
  *
359
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
398
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
360
399
  */
361
400
  instance?: PublicCatalogProductPropertiesInstance;
362
401
  /**
363
402
  * The properties of Block Storage products.
364
403
  *
365
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
404
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
366
405
  */
367
406
  blockStorage?: PublicCatalogProductPropertiesBlockStorage;
368
407
  /**
369
408
  * The properties of Object Storage products.
370
409
  *
371
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
410
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
372
411
  */
373
412
  objectStorage?: PublicCatalogProductPropertiesObjectStorage;
374
413
  /**
375
414
  * The properties of Managed Inference products.
376
415
  *
377
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
416
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
378
417
  */
379
418
  managedInference?: PublicCatalogProductPropertiesManagedInference;
380
419
  /**
381
420
  * The properties of Generative APIs products.
382
421
  *
383
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
422
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
384
423
  */
385
424
  generativeApis?: PublicCatalogProductPropertiesGenerativeApis;
386
425
  /**
387
426
  * The properties of Load Balancer products.
388
427
  *
389
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
428
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
390
429
  */
391
430
  loadBalancer?: PublicCatalogProductPropertiesLoadBalancer;
392
431
  /**
393
432
  *
394
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
433
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
395
434
  */
396
435
  secretManager?: PublicCatalogProductPropertiesSecretManager;
397
436
  /**
398
437
  * The properties of Managed Redis Database products.
399
438
  *
400
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
439
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
401
440
  */
402
441
  managedRedisDatabase?: PublicCatalogProductPropertiesManagedRedisDatabase;
403
442
  /**
404
443
  *
405
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
444
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
406
445
  */
407
446
  keyManager?: PublicCatalogProductPropertiesKeyManager;
408
447
  /**
409
448
  * The properties of Kubernetes products.
410
449
  *
411
- * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes' could be set.
450
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
412
451
  */
413
452
  kubernetes?: PublicCatalogProductPropertiesKubernetes;
453
+ /**
454
+ * The properties of Managed Relational Database products.
455
+ *
456
+ * One-of ('properties'): at most one of 'dedibox', 'elasticMetal', 'appleSilicon', 'instance', 'blockStorage', 'objectStorage', 'managedInference', 'generativeApis', 'loadBalancer', 'secretManager', 'managedRedisDatabase', 'keyManager', 'kubernetes', 'managedRelationalDatabase' could be set.
457
+ */
458
+ managedRelationalDatabase?: PublicCatalogProductPropertiesManagedRelationalDatabase;
414
459
  }
415
460
  export interface PublicCatalogProductUnitOfMeasure {
416
461
  unit: PublicCatalogProductUnitOfMeasureCountableUnit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-product-catalog",
3
- "version": "2.4.0",
3
+ "version": "2.4.1",
4
4
  "description": "Scaleway SDK product-catalog",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -27,7 +27,7 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@scaleway/random-name": "5.1.2",
30
- "@scaleway/sdk-std": "2.1.0"
30
+ "@scaleway/sdk-std": "2.1.1"
31
31
  },
32
32
  "peerDependencies": {
33
33
  "@scaleway/sdk-client": "^2.1.0"