@scaleway/sdk-product-catalog 2.16.0 → 2.17.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, 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';
|
|
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, PublicCatalogProductPropertiesServerlessContainersCPUType, PublicCatalogProductPropertiesServerlessContainersMemoryType, PublicCatalogProductPropertiesServerlessFunctions, PublicCatalogProductPropertiesServerlessFunctionsConsumptionType, PublicCatalogProductPropertiesServerlessFunctionsFreeTierType, PublicCatalogProductPropertiesServerlessFunctionsProvisionType, PublicCatalogProductPropertiesServerlessFunctionsRequestType, PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource, PublicCatalogProductPropertiesServerlessJobs, PublicCatalogProductPropertiesServerlessJobsCPUType, PublicCatalogProductPropertiesServerlessJobsMemoryType, PublicCatalogProductStatus, PublicCatalogProductUnitOfMeasure, PublicCatalogProductUnitOfMeasureCountableUnit, } from './types.gen.js';
|
|
4
4
|
export * as ValidationRules from './validation-rules.gen.js';
|
|
@@ -135,6 +135,45 @@ const unmarshalPublicCatalogProductPropertiesObjectStorageRestoreType = (data) =
|
|
|
135
135
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageRestoreType' failed as data isn't a dictionary.`);
|
|
136
136
|
return { restoreType: data.restore_type };
|
|
137
137
|
};
|
|
138
|
+
const unmarshalPublicCatalogProductPropertiesServerlessContainersCPUType = (data) => {
|
|
139
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessContainersCPUType' failed as data isn't a dictionary.`);
|
|
140
|
+
return { mvcpuCounts: data.mvcpu_counts };
|
|
141
|
+
};
|
|
142
|
+
const unmarshalPublicCatalogProductPropertiesServerlessContainersMemoryType = (data) => {
|
|
143
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessContainersMemoryType' failed as data isn't a dictionary.`);
|
|
144
|
+
return { sizes: data.sizes };
|
|
145
|
+
};
|
|
146
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsConsumptionType = (data) => {
|
|
147
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsConsumptionType' failed as data isn't a dictionary.`);
|
|
148
|
+
return {};
|
|
149
|
+
};
|
|
150
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsFreeTierType = (data) => {
|
|
151
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsFreeTierType' failed as data isn't a dictionary.`);
|
|
152
|
+
return {};
|
|
153
|
+
};
|
|
154
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsProvisionType = (data) => {
|
|
155
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsProvisionType' failed as data isn't a dictionary.`);
|
|
156
|
+
return {};
|
|
157
|
+
};
|
|
158
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsRequestType = (data) => {
|
|
159
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsRequestType' failed as data isn't a dictionary.`);
|
|
160
|
+
return {};
|
|
161
|
+
};
|
|
162
|
+
const unmarshalPublicCatalogProductPropertiesServerlessFunctionsRuntimeResource = (data) => {
|
|
163
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource' failed as data isn't a dictionary.`);
|
|
164
|
+
return {
|
|
165
|
+
memorySize: data.memory_size,
|
|
166
|
+
mvcpuCount: data.mvcpu_count
|
|
167
|
+
};
|
|
168
|
+
};
|
|
169
|
+
const unmarshalPublicCatalogProductPropertiesServerlessJobsCPUType = (data) => {
|
|
170
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessJobsCPUType' failed as data isn't a dictionary.`);
|
|
171
|
+
return { mvcpuCounts: data.mvcpu_counts };
|
|
172
|
+
};
|
|
173
|
+
const unmarshalPublicCatalogProductPropertiesServerlessJobsMemoryType = (data) => {
|
|
174
|
+
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessJobsMemoryType' failed as data isn't a dictionary.`);
|
|
175
|
+
return { sizes: data.sizes };
|
|
176
|
+
};
|
|
138
177
|
const unmarshalPublicCatalogProductPropertiesApacheKafka = (data) => {
|
|
139
178
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesApacheKafka' failed as data isn't a dictionary.`);
|
|
140
179
|
return {};
|
|
@@ -264,15 +303,27 @@ const unmarshalPublicCatalogProductPropertiesSecretManager = (data) => {
|
|
|
264
303
|
};
|
|
265
304
|
const unmarshalPublicCatalogProductPropertiesServerlessContainers = (data) => {
|
|
266
305
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessContainers' failed as data isn't a dictionary.`);
|
|
267
|
-
return {
|
|
306
|
+
return {
|
|
307
|
+
cpu: data.cpu ? unmarshalPublicCatalogProductPropertiesServerlessContainersCPUType(data.cpu) : void 0,
|
|
308
|
+
memory: data.memory ? unmarshalPublicCatalogProductPropertiesServerlessContainersMemoryType(data.memory) : void 0
|
|
309
|
+
};
|
|
268
310
|
};
|
|
269
311
|
const unmarshalPublicCatalogProductPropertiesServerlessFunctions = (data) => {
|
|
270
312
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessFunctions' failed as data isn't a dictionary.`);
|
|
271
|
-
return {
|
|
313
|
+
return {
|
|
314
|
+
consumption: data.consumption ? unmarshalPublicCatalogProductPropertiesServerlessFunctionsConsumptionType(data.consumption) : void 0,
|
|
315
|
+
freeTier: data.free_tier ? unmarshalPublicCatalogProductPropertiesServerlessFunctionsFreeTierType(data.free_tier) : void 0,
|
|
316
|
+
provision: data.provision ? unmarshalPublicCatalogProductPropertiesServerlessFunctionsProvisionType(data.provision) : void 0,
|
|
317
|
+
request: data.request ? unmarshalPublicCatalogProductPropertiesServerlessFunctionsRequestType(data.request) : void 0,
|
|
318
|
+
resources: unmarshalArrayOfObject(data.resources, unmarshalPublicCatalogProductPropertiesServerlessFunctionsRuntimeResource)
|
|
319
|
+
};
|
|
272
320
|
};
|
|
273
321
|
const unmarshalPublicCatalogProductPropertiesServerlessJobs = (data) => {
|
|
274
322
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesServerlessJobs' failed as data isn't a dictionary.`);
|
|
275
|
-
return {
|
|
323
|
+
return {
|
|
324
|
+
cpu: data.cpu ? unmarshalPublicCatalogProductPropertiesServerlessJobsCPUType(data.cpu) : void 0,
|
|
325
|
+
memory: data.memory ? unmarshalPublicCatalogProductPropertiesServerlessJobsMemoryType(data.memory) : void 0
|
|
326
|
+
};
|
|
276
327
|
};
|
|
277
328
|
const unmarshalPublicCatalogProductEnvironmentalImpactEstimation = (data) => {
|
|
278
329
|
if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductEnvironmentalImpactEstimation' failed as data isn't a dictionary.`);
|
|
@@ -4,7 +4,7 @@ export type ListPublicCatalogProductsRequestStatus = 'unknown_status' | 'public_
|
|
|
4
4
|
export type PublicCatalogProductProductBadge = 'unknown_product_badge' | 'new_product' | 'best_seller' | 'best_value' | 'popular' | 'no_kvm';
|
|
5
5
|
export type PublicCatalogProductPropertiesGenerativeApisConsumptionMode = 'unknown_consumption_mode' | 'realtime' | 'batch';
|
|
6
6
|
export type PublicCatalogProductPropertiesGenerativeApisTask = 'unknown_task' | 'chat' | 'embeddings' | 'vision' | 'audio_transcription' | 'code';
|
|
7
|
-
export type PublicCatalogProductPropertiesGenerativeApisTokenType = 'unknown_token_type' | 'input_token' | 'output_token' | 'input_duration';
|
|
7
|
+
export type PublicCatalogProductPropertiesGenerativeApisTokenType = 'unknown_token_type' | 'input_token' | 'output_token' | 'input_duration' | 'input_cached_token';
|
|
8
8
|
export type PublicCatalogProductPropertiesHardwareCPUArch = 'unknown_arch' | 'x64' | 'arm64' | 'riscv' | 'apple_silicon';
|
|
9
9
|
export type PublicCatalogProductPropertiesHardwareRAMECCType = 'unknown_ecc_type' | 'standard' | 'on_die';
|
|
10
10
|
export type PublicCatalogProductPropertiesManagedMongoDBStorageTypeStorageClass = 'unknown_storage_class' | 'sbs_5k' | 'sbs_5k_snapshot' | 'sbs_15k' | 'sbs_15k_snapshot';
|
|
@@ -212,6 +212,48 @@ export interface PublicCatalogProductPropertiesObjectStorageRestoreType {
|
|
|
212
212
|
*/
|
|
213
213
|
restoreType: PublicCatalogProductPropertiesObjectStorageRestoreTypeRestoreType;
|
|
214
214
|
}
|
|
215
|
+
export interface PublicCatalogProductPropertiesServerlessContainersCPUType {
|
|
216
|
+
/**
|
|
217
|
+
* The list of available number of milli-vCPUs.
|
|
218
|
+
*/
|
|
219
|
+
mvcpuCounts: number[];
|
|
220
|
+
}
|
|
221
|
+
export interface PublicCatalogProductPropertiesServerlessContainersMemoryType {
|
|
222
|
+
/**
|
|
223
|
+
* The list of available memory size in bytes.
|
|
224
|
+
*/
|
|
225
|
+
sizes: number[];
|
|
226
|
+
}
|
|
227
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsConsumptionType {
|
|
228
|
+
}
|
|
229
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsFreeTierType {
|
|
230
|
+
}
|
|
231
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsProvisionType {
|
|
232
|
+
}
|
|
233
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsRequestType {
|
|
234
|
+
}
|
|
235
|
+
export interface PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource {
|
|
236
|
+
/**
|
|
237
|
+
* The memory size in bytes.
|
|
238
|
+
*/
|
|
239
|
+
memorySize: number;
|
|
240
|
+
/**
|
|
241
|
+
* The number of milli-vCPUs.
|
|
242
|
+
*/
|
|
243
|
+
mvcpuCount: number;
|
|
244
|
+
}
|
|
245
|
+
export interface PublicCatalogProductPropertiesServerlessJobsCPUType {
|
|
246
|
+
/**
|
|
247
|
+
* The list of available number of milli-vCPUs.
|
|
248
|
+
*/
|
|
249
|
+
mvcpuCounts: number[];
|
|
250
|
+
}
|
|
251
|
+
export interface PublicCatalogProductPropertiesServerlessJobsMemoryType {
|
|
252
|
+
/**
|
|
253
|
+
* The list of available memory size in bytes.
|
|
254
|
+
*/
|
|
255
|
+
sizes: number[];
|
|
256
|
+
}
|
|
215
257
|
export interface PublicCatalogProductPropertiesApacheKafka {
|
|
216
258
|
}
|
|
217
259
|
export interface PublicCatalogProductPropertiesAppleSilicon {
|
|
@@ -432,10 +474,62 @@ export interface PublicCatalogProductPropertiesOpenSearch {
|
|
|
432
474
|
export interface PublicCatalogProductPropertiesSecretManager {
|
|
433
475
|
}
|
|
434
476
|
export interface PublicCatalogProductPropertiesServerlessContainers {
|
|
477
|
+
/**
|
|
478
|
+
* The properties related to Serverless containers memory products.
|
|
479
|
+
*
|
|
480
|
+
* One-of ('type'): at most one of 'memory', 'cpu' could be set.
|
|
481
|
+
*/
|
|
482
|
+
memory?: PublicCatalogProductPropertiesServerlessContainersMemoryType;
|
|
483
|
+
/**
|
|
484
|
+
* The properties related to Serverless containers CPU products.
|
|
485
|
+
*
|
|
486
|
+
* One-of ('type'): at most one of 'memory', 'cpu' could be set.
|
|
487
|
+
*/
|
|
488
|
+
cpu?: PublicCatalogProductPropertiesServerlessContainersCPUType;
|
|
435
489
|
}
|
|
436
490
|
export interface PublicCatalogProductPropertiesServerlessFunctions {
|
|
491
|
+
/**
|
|
492
|
+
* The serverless functions runtime resources sorted by memory size and then by milli-vCPU count.
|
|
493
|
+
*/
|
|
494
|
+
resources: PublicCatalogProductPropertiesServerlessFunctionsRuntimeResource[];
|
|
495
|
+
/**
|
|
496
|
+
* The properties related to Serverless functions consumption products.
|
|
497
|
+
*
|
|
498
|
+
* One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
|
|
499
|
+
*/
|
|
500
|
+
consumption?: PublicCatalogProductPropertiesServerlessFunctionsConsumptionType;
|
|
501
|
+
/**
|
|
502
|
+
* The properties related to Serverless functions request products.
|
|
503
|
+
*
|
|
504
|
+
* One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
|
|
505
|
+
*/
|
|
506
|
+
request?: PublicCatalogProductPropertiesServerlessFunctionsRequestType;
|
|
507
|
+
/**
|
|
508
|
+
* The properties related to Serverless functions provision products.
|
|
509
|
+
*
|
|
510
|
+
* One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
|
|
511
|
+
*/
|
|
512
|
+
provision?: PublicCatalogProductPropertiesServerlessFunctionsProvisionType;
|
|
513
|
+
/**
|
|
514
|
+
* The properties related to Serverless functions free tier products.
|
|
515
|
+
*
|
|
516
|
+
* One-of ('type'): at most one of 'consumption', 'request', 'provision', 'freeTier' could be set.
|
|
517
|
+
*/
|
|
518
|
+
freeTier?: PublicCatalogProductPropertiesServerlessFunctionsFreeTierType;
|
|
437
519
|
}
|
|
438
520
|
export interface PublicCatalogProductPropertiesServerlessJobs {
|
|
521
|
+
/**
|
|
522
|
+
* The properties related to Serverless containers memory products.
|
|
523
|
+
*
|
|
524
|
+
* One-of ('type'): at most one of 'memory', 'cpu' could be set.
|
|
525
|
+
*/
|
|
526
|
+
memory?: PublicCatalogProductPropertiesServerlessJobsMemoryType;
|
|
527
|
+
/**
|
|
528
|
+
* The properties related to Serverless containers CPU products.
|
|
529
|
+
*
|
|
530
|
+
* One-of ('type'): at most one of 'memory', 'cpu' could be set.
|
|
531
|
+
*/
|
|
532
|
+
cpu?: PublicCatalogProductPropertiesServerlessJobsCPUType;
|
|
439
533
|
}
|
|
440
534
|
export interface PublicCatalogProductEnvironmentalImpactEstimation {
|
|
441
535
|
kgCo2Equivalent?: number;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@scaleway/sdk-product-catalog",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
4
4
|
"description": "Scaleway SDK product-catalog",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"repository": {
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"@scaleway/sdk-std": "2.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
38
|
+
"@scaleway/sdk-client": "^2.4.1",
|
|
39
|
+
"@repo/configs": "^0.1.1"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@scaleway/sdk-client": "^2.4.1"
|