@scaleway/sdk-product-catalog 2.4.1 → 2.5.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.
package/README.md CHANGED
@@ -83,6 +83,7 @@ const api = new ProductCatalog.v1.API(client)
83
83
  ## Support
84
84
 
85
85
  We love feedback! Feel free to reach us on:
86
+
86
87
  - [Scaleway Slack community](https://slack.scaleway.com/) - Join us on [#opensource](https://scaleway-community.slack.com/app_redirect?channel=opensource)
87
88
  - [GitHub Issues](https://github.com/scaleway/scaleway-sdk-js/issues)
88
89
 
@@ -93,4 +94,3 @@ This repository is at its early stage and is still in active development. If you
93
94
  ## License
94
95
 
95
96
  This project is Apache 2.0 licensed. See the [LICENSE](https://github.com/scaleway/scaleway-sdk-js/blob/master/LICENSE) file for details.
96
-
@@ -0,0 +1,11 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __exportAll = (all, no_symbols) => {
3
+ let target = {};
4
+ for (var name in all) __defProp(target, name, {
5
+ get: all[name],
6
+ enumerable: true
7
+ });
8
+ if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
9
+ return target;
10
+ };
11
+ export { __exportAll };
package/dist/index.gen.js CHANGED
@@ -1,4 +1,2 @@
1
- import * as index_gen from "./v2alpha1/index.gen.js";
2
- export {
3
- index_gen as ProductCatalogv2alpha1
4
- };
1
+ import { index_gen_exports } from "./v2alpha1/index.gen.js";
2
+ export { index_gen_exports as ProductCatalogv2alpha1 };
@@ -1,47 +1,39 @@
1
- import { API, urlParams, resolveOneOf, enrichForPagination } from "@scaleway/sdk-client";
2
1
  import { unmarshalListPublicCatalogProductsResponse } from "./marshalling.gen.js";
3
- class PublicCatalogAPI extends API {
4
- pageOfListPublicCatalogProducts = (request = {}) => this.client.fetch(
5
- {
6
- method: "GET",
7
- path: `/product-catalog/v2alpha1/public-catalog/products`,
8
- urlParams: urlParams(
9
- ["page", request.page],
10
- ["page_size", request.pageSize ?? this.client.settings.defaultPageSize],
11
- ["product_types", request.productTypes],
12
- ["status", request.status],
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
- ]))
33
- )
34
- },
35
- unmarshalListPublicCatalogProductsResponse
36
- );
37
- /**
38
- * List all available products. List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the `page` number and `page_size` for your query in the request.
39
- *
40
- * @param request - The request {@link PublicCatalogApiListPublicCatalogProductsRequest}
41
- * @returns A Promise of ListPublicCatalogProductsResponse
42
- */
43
- listPublicCatalogProducts = (request = {}) => enrichForPagination("products", this.pageOfListPublicCatalogProducts, request);
44
- }
45
- export {
46
- PublicCatalogAPI
2
+ import { API, enrichForPagination, resolveOneOf, urlParams } from "@scaleway/sdk-client";
3
+ /**
4
+ * Product Catalog API.
5
+ */
6
+ var PublicCatalogAPI = class extends API {
7
+ pageOfListPublicCatalogProducts = (request = {}) => this.client.fetch({
8
+ method: "GET",
9
+ path: `/product-catalog/v2alpha1/public-catalog/products`,
10
+ urlParams: urlParams(["page", request.page], ["page_size", request.pageSize ?? this.client.settings.defaultPageSize], ["product_types", request.productTypes], ["status", request.status], ...Object.entries(resolveOneOf([
11
+ {
12
+ param: "global",
13
+ value: request.global
14
+ },
15
+ {
16
+ default: this.client.settings.defaultRegion,
17
+ param: "region",
18
+ value: request.region
19
+ },
20
+ {
21
+ default: this.client.settings.defaultZone,
22
+ param: "zone",
23
+ value: request.zone
24
+ },
25
+ {
26
+ param: "datacenter",
27
+ value: request.datacenter
28
+ }
29
+ ])))
30
+ }, unmarshalListPublicCatalogProductsResponse);
31
+ /**
32
+ * List all available products. List all available products in the Scaleway catalog. Returns a complete list of products with their corresponding description, locations, prices and properties. You can define the `page` number and `page_size` for your query in the request.
33
+ *
34
+ * @param request - The request {@link PublicCatalogApiListPublicCatalogProductsRequest}
35
+ * @returns A Promise of ListPublicCatalogProductsResponse
36
+ */
37
+ listPublicCatalogProducts = (request = {}) => enrichForPagination("products", this.pageOfListPublicCatalogProducts, request);
47
38
  };
39
+ export { PublicCatalogAPI };
@@ -1,8 +1,10 @@
1
- import { PublicCatalogAPI } from "./api.gen.js";
1
+ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
2
  import { unmarshalListPublicCatalogProductsResponse } from "./marshalling.gen.js";
3
- import * as validationRules_gen from "./validation-rules.gen.js";
4
- export {
5
- PublicCatalogAPI,
6
- validationRules_gen as ValidationRules,
7
- unmarshalListPublicCatalogProductsResponse
8
- };
3
+ import { PublicCatalogAPI } from "./api.gen.js";
4
+ import { validation_rules_gen_exports } from "./validation-rules.gen.js";
5
+ var index_gen_exports = /* @__PURE__ */ __exportAll({
6
+ PublicCatalogAPI: () => PublicCatalogAPI,
7
+ ValidationRules: () => validation_rules_gen_exports,
8
+ unmarshalListPublicCatalogProductsResponse: () => unmarshalListPublicCatalogProductsResponse
9
+ });
10
+ export { index_gen_exports };
@@ -1,456 +1,278 @@
1
1
  import { isJSONObject, unmarshalArrayOfObject, unmarshalDate, unmarshalMoney } from "@scaleway/sdk-client";
2
- const unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical = (data) => {
3
- if (!isJSONObject(data)) {
4
- throw new TypeError(
5
- `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPUPhysical' failed as data isn't a dictionary.`
6
- );
7
- }
8
- return {
9
- benchmark: data.benchmark,
10
- coresPerSocket: data.cores_per_socket,
11
- frequency: data.frequency,
12
- sockets: data.sockets,
13
- threadsPerCore: data.threads_per_core
14
- };
15
- };
16
- const unmarshalPublicCatalogProductPropertiesHardwareCPUVirtual = (data) => {
17
- if (!isJSONObject(data)) {
18
- throw new TypeError(
19
- `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPUVirtual' failed as data isn't a dictionary.`
20
- );
21
- }
22
- return {
23
- count: data.count
24
- };
25
- };
26
- const unmarshalPublicCatalogProductPropertiesHardwareCPU = (data) => {
27
- if (!isJSONObject(data)) {
28
- throw new TypeError(
29
- `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPU' failed as data isn't a dictionary.`
30
- );
31
- }
32
- return {
33
- arch: data.arch,
34
- description: data.description,
35
- physical: data.physical ? unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical(data.physical) : void 0,
36
- threads: data.threads,
37
- type: data.type,
38
- virtual: data.virtual ? unmarshalPublicCatalogProductPropertiesHardwareCPUVirtual(data.virtual) : void 0
39
- };
40
- };
41
- const unmarshalPublicCatalogProductPropertiesHardwareGPU = (data) => {
42
- if (!isJSONObject(data)) {
43
- throw new TypeError(
44
- `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareGPU' failed as data isn't a dictionary.`
45
- );
46
- }
47
- return {
48
- count: data.count,
49
- description: data.description,
50
- type: data.type
51
- };
52
- };
53
- const unmarshalPublicCatalogProductPropertiesHardwareNetwork = (data) => {
54
- if (!isJSONObject(data)) {
55
- throw new TypeError(
56
- `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareNetwork' failed as data isn't a dictionary.`
57
- );
58
- }
59
- return {
60
- description: data.description,
61
- internalBandwidth: data.internal_bandwidth,
62
- maxPublicBandwidth: data.max_public_bandwidth,
63
- publicBandwidth: data.public_bandwidth
64
- };
65
- };
66
- const unmarshalPublicCatalogProductPropertiesHardwareRAM = (data) => {
67
- if (!isJSONObject(data)) {
68
- throw new TypeError(
69
- `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareRAM' failed as data isn't a dictionary.`
70
- );
71
- }
72
- return {
73
- description: data.description,
74
- size: data.size,
75
- type: data.type
76
- };
77
- };
78
- const unmarshalPublicCatalogProductPropertiesHardwareStorage = (data) => {
79
- if (!isJSONObject(data)) {
80
- throw new TypeError(
81
- `Unmarshalling the type 'PublicCatalogProductPropertiesHardwareStorage' failed as data isn't a dictionary.`
82
- );
83
- }
84
- return {
85
- description: data.description,
86
- total: data.total
87
- };
88
- };
89
- const unmarshalPublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType = (data) => {
90
- if (!isJSONObject(data)) {
91
- throw new TypeError(
92
- `Unmarshalling the type 'PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType' failed as data isn't a dictionary.`
93
- );
94
- }
95
- return {};
96
- };
97
- const unmarshalPublicCatalogProductPropertiesKubernetesKosmosControlPlaneType = (data) => {
98
- if (!isJSONObject(data)) {
99
- throw new TypeError(
100
- `Unmarshalling the type 'PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType' failed as data isn't a dictionary.`
101
- );
102
- }
103
- return {};
104
- };
105
- const unmarshalPublicCatalogProductPropertiesKubernetesKosmosNodeType = (data) => {
106
- if (!isJSONObject(data)) {
107
- throw new TypeError(
108
- `Unmarshalling the type 'PublicCatalogProductPropertiesKubernetesKosmosNodeType' failed as data isn't a dictionary.`
109
- );
110
- }
111
- return {};
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
- };
147
- const unmarshalPublicCatalogProductPropertiesObjectStorageClassType = (data) => {
148
- if (!isJSONObject(data)) {
149
- throw new TypeError(
150
- `Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageClassType' failed as data isn't a dictionary.`
151
- );
152
- }
153
- return {
154
- storageClass: data.storage_class
155
- };
156
- };
157
- const unmarshalPublicCatalogProductPropertiesObjectStorageInternetTrafficType = (data) => {
158
- if (!isJSONObject(data)) {
159
- throw new TypeError(
160
- `Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageInternetTrafficType' failed as data isn't a dictionary.`
161
- );
162
- }
163
- return {
164
- trafficType: data.traffic_type
165
- };
166
- };
167
- const unmarshalPublicCatalogProductPropertiesObjectStorageRegionTrafficType = (data) => {
168
- if (!isJSONObject(data)) {
169
- throw new TypeError(
170
- `Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageRegionTrafficType' failed as data isn't a dictionary.`
171
- );
172
- }
173
- return {
174
- regionDestination: data.region_destination
175
- };
176
- };
177
- const unmarshalPublicCatalogProductPropertiesObjectStorageRestoreType = (data) => {
178
- if (!isJSONObject(data)) {
179
- throw new TypeError(
180
- `Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageRestoreType' failed as data isn't a dictionary.`
181
- );
182
- }
183
- return {
184
- restoreType: data.restore_type
185
- };
186
- };
187
- const unmarshalPublicCatalogProductPropertiesAppleSilicon = (data) => {
188
- if (!isJSONObject(data)) {
189
- throw new TypeError(
190
- `Unmarshalling the type 'PublicCatalogProductPropertiesAppleSilicon' failed as data isn't a dictionary.`
191
- );
192
- }
193
- return {
194
- range: data.range,
195
- serverType: data.server_type
196
- };
197
- };
198
- const unmarshalPublicCatalogProductPropertiesBlockStorage = (data) => {
199
- if (!isJSONObject(data)) {
200
- throw new TypeError(
201
- `Unmarshalling the type 'PublicCatalogProductPropertiesBlockStorage' failed as data isn't a dictionary.`
202
- );
203
- }
204
- return {
205
- maxVolumeSize: data.max_volume_size,
206
- minVolumeSize: data.min_volume_size
207
- };
208
- };
209
- const unmarshalPublicCatalogProductPropertiesDedibox = (data) => {
210
- if (!isJSONObject(data)) {
211
- throw new TypeError(
212
- `Unmarshalling the type 'PublicCatalogProductPropertiesDedibox' failed as data isn't a dictionary.`
213
- );
214
- }
215
- return {
216
- offerId: data.offer_id,
217
- range: data.range
218
- };
219
- };
220
- const unmarshalPublicCatalogProductPropertiesElasticMetal = (data) => {
221
- if (!isJSONObject(data)) {
222
- throw new TypeError(
223
- `Unmarshalling the type 'PublicCatalogProductPropertiesElasticMetal' failed as data isn't a dictionary.`
224
- );
225
- }
226
- return {
227
- offerId: data.offer_id,
228
- range: data.range
229
- };
230
- };
231
- const unmarshalPublicCatalogProductPropertiesGenerativeApis = (data) => {
232
- if (!isJSONObject(data)) {
233
- throw new TypeError(
234
- `Unmarshalling the type 'PublicCatalogProductPropertiesGenerativeApis' failed as data isn't a dictionary.`
235
- );
236
- }
237
- return {
238
- consumptionMode: data.consumption_mode,
239
- reasoning: data.reasoning,
240
- supportedApis: data.supported_apis
241
- };
242
- };
243
- const unmarshalPublicCatalogProductPropertiesHardware = (data) => {
244
- if (!isJSONObject(data)) {
245
- throw new TypeError(
246
- `Unmarshalling the type 'PublicCatalogProductPropertiesHardware' failed as data isn't a dictionary.`
247
- );
248
- }
249
- return {
250
- cpu: data.cpu ? unmarshalPublicCatalogProductPropertiesHardwareCPU(data.cpu) : void 0,
251
- gpu: data.gpu ? unmarshalPublicCatalogProductPropertiesHardwareGPU(data.gpu) : void 0,
252
- network: data.network ? unmarshalPublicCatalogProductPropertiesHardwareNetwork(data.network) : void 0,
253
- ram: data.ram ? unmarshalPublicCatalogProductPropertiesHardwareRAM(data.ram) : void 0,
254
- storage: data.storage ? unmarshalPublicCatalogProductPropertiesHardwareStorage(data.storage) : void 0
255
- };
256
- };
257
- const unmarshalPublicCatalogProductPropertiesInstance = (data) => {
258
- if (!isJSONObject(data)) {
259
- throw new TypeError(
260
- `Unmarshalling the type 'PublicCatalogProductPropertiesInstance' failed as data isn't a dictionary.`
261
- );
262
- }
263
- return {
264
- offerId: data.offer_id,
265
- range: data.range,
266
- recommendedReplacementOfferIds: data.recommended_replacement_offer_ids
267
- };
268
- };
269
- const unmarshalPublicCatalogProductPropertiesKeyManager = (data) => {
270
- if (!isJSONObject(data)) {
271
- throw new TypeError(
272
- `Unmarshalling the type 'PublicCatalogProductPropertiesKeyManager' failed as data isn't a dictionary.`
273
- );
274
- }
275
- return {};
276
- };
277
- const unmarshalPublicCatalogProductPropertiesKubernetes = (data) => {
278
- if (!isJSONObject(data)) {
279
- throw new TypeError(
280
- `Unmarshalling the type 'PublicCatalogProductPropertiesKubernetes' failed as data isn't a dictionary.`
281
- );
282
- }
283
- return {
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
287
- };
288
- };
289
- const unmarshalPublicCatalogProductPropertiesLoadBalancer = (data) => {
290
- if (!isJSONObject(data)) {
291
- throw new TypeError(
292
- `Unmarshalling the type 'PublicCatalogProductPropertiesLoadBalancer' failed as data isn't a dictionary.`
293
- );
294
- }
295
- return {};
296
- };
297
- const unmarshalPublicCatalogProductPropertiesManagedInference = (data) => {
298
- if (!isJSONObject(data)) {
299
- throw new TypeError(
300
- `Unmarshalling the type 'PublicCatalogProductPropertiesManagedInference' failed as data isn't a dictionary.`
301
- );
302
- }
303
- return {
304
- instanceGpuName: data.instance_gpu_name
305
- };
306
- };
307
- const unmarshalPublicCatalogProductPropertiesManagedRedisDatabase = (data) => {
308
- if (!isJSONObject(data)) {
309
- throw new TypeError(
310
- `Unmarshalling the type 'PublicCatalogProductPropertiesManagedRedisDatabase' failed as data isn't a dictionary.`
311
- );
312
- }
313
- return {};
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
- };
328
- const unmarshalPublicCatalogProductPropertiesObjectStorage = (data) => {
329
- if (!isJSONObject(data)) {
330
- throw new TypeError(
331
- `Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorage' failed as data isn't a dictionary.`
332
- );
333
- }
334
- return {
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
339
- };
340
- };
341
- const unmarshalPublicCatalogProductPropertiesSecretManager = (data) => {
342
- if (!isJSONObject(data)) {
343
- throw new TypeError(
344
- `Unmarshalling the type 'PublicCatalogProductPropertiesSecretManager' failed as data isn't a dictionary.`
345
- );
346
- }
347
- return {};
348
- };
349
- const unmarshalPublicCatalogProductEnvironmentalImpactEstimation = (data) => {
350
- if (!isJSONObject(data)) {
351
- throw new TypeError(
352
- `Unmarshalling the type 'PublicCatalogProductEnvironmentalImpactEstimation' failed as data isn't a dictionary.`
353
- );
354
- }
355
- return {
356
- kgCo2Equivalent: data.kg_co2_equivalent,
357
- m3WaterUsage: data.m3_water_usage
358
- };
359
- };
360
- const unmarshalPublicCatalogProductLocality = (data) => {
361
- if (!isJSONObject(data)) {
362
- throw new TypeError(
363
- `Unmarshalling the type 'PublicCatalogProductLocality' failed as data isn't a dictionary.`
364
- );
365
- }
366
- return {
367
- datacenter: data.datacenter,
368
- global: data.global,
369
- region: data.region,
370
- zone: data.zone
371
- };
372
- };
373
- const unmarshalPublicCatalogProductPrice = (data) => {
374
- if (!isJSONObject(data)) {
375
- throw new TypeError(
376
- `Unmarshalling the type 'PublicCatalogProductPrice' failed as data isn't a dictionary.`
377
- );
378
- }
379
- return {
380
- retailPrice: data.retail_price ? unmarshalMoney(data.retail_price) : void 0
381
- };
382
- };
383
- const unmarshalPublicCatalogProductProperties = (data) => {
384
- if (!isJSONObject(data)) {
385
- throw new TypeError(
386
- `Unmarshalling the type 'PublicCatalogProductProperties' failed as data isn't a dictionary.`
387
- );
388
- }
389
- return {
390
- appleSilicon: data.apple_silicon ? unmarshalPublicCatalogProductPropertiesAppleSilicon(data.apple_silicon) : void 0,
391
- blockStorage: data.block_storage ? unmarshalPublicCatalogProductPropertiesBlockStorage(data.block_storage) : void 0,
392
- dedibox: data.dedibox ? unmarshalPublicCatalogProductPropertiesDedibox(data.dedibox) : void 0,
393
- elasticMetal: data.elastic_metal ? unmarshalPublicCatalogProductPropertiesElasticMetal(data.elastic_metal) : void 0,
394
- generativeApis: data.generative_apis ? unmarshalPublicCatalogProductPropertiesGenerativeApis(data.generative_apis) : void 0,
395
- hardware: data.hardware ? unmarshalPublicCatalogProductPropertiesHardware(data.hardware) : void 0,
396
- instance: data.instance ? unmarshalPublicCatalogProductPropertiesInstance(data.instance) : void 0,
397
- keyManager: data.key_manager ? unmarshalPublicCatalogProductPropertiesKeyManager(data.key_manager) : void 0,
398
- kubernetes: data.kubernetes ? unmarshalPublicCatalogProductPropertiesKubernetes(data.kubernetes) : void 0,
399
- loadBalancer: data.load_balancer ? unmarshalPublicCatalogProductPropertiesLoadBalancer(data.load_balancer) : 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
405
- };
406
- };
407
- const unmarshalPublicCatalogProductUnitOfMeasure = (data) => {
408
- if (!isJSONObject(data)) {
409
- throw new TypeError(
410
- `Unmarshalling the type 'PublicCatalogProductUnitOfMeasure' failed as data isn't a dictionary.`
411
- );
412
- }
413
- return {
414
- size: data.size,
415
- unit: data.unit
416
- };
417
- };
418
- const unmarshalPublicCatalogProduct = (data) => {
419
- if (!isJSONObject(data)) {
420
- throw new TypeError(
421
- `Unmarshalling the type 'PublicCatalogProduct' failed as data isn't a dictionary.`
422
- );
423
- }
424
- return {
425
- badges: data.badges,
426
- description: data.description,
427
- endOfGrowthAt: unmarshalDate(data.end_of_growth_at),
428
- endOfLifeAt: unmarshalDate(data.end_of_life_at),
429
- endOfSaleAt: unmarshalDate(data.end_of_sale_at),
430
- environmentalImpactEstimation: data.environmental_impact_estimation ? unmarshalPublicCatalogProductEnvironmentalImpactEstimation(data.environmental_impact_estimation) : void 0,
431
- locality: data.locality ? unmarshalPublicCatalogProductLocality(data.locality) : void 0,
432
- price: data.price ? unmarshalPublicCatalogProductPrice(data.price) : void 0,
433
- product: data.product,
434
- productCategory: data.product_category,
435
- properties: data.properties ? unmarshalPublicCatalogProductProperties(data.properties) : void 0,
436
- serviceCategory: data.service_category,
437
- sku: data.sku,
438
- status: data.status,
439
- unitOfMeasure: data.unit_of_measure ? unmarshalPublicCatalogProductUnitOfMeasure(data.unit_of_measure) : void 0,
440
- variant: data.variant
441
- };
2
+ var unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical = (data) => {
3
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPUPhysical' failed as data isn't a dictionary.`);
4
+ return {
5
+ benchmark: data.benchmark,
6
+ coresPerSocket: data.cores_per_socket,
7
+ frequency: data.frequency,
8
+ sockets: data.sockets,
9
+ threadsPerCore: data.threads_per_core
10
+ };
11
+ };
12
+ var unmarshalPublicCatalogProductPropertiesHardwareCPUVirtual = (data) => {
13
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPUVirtual' failed as data isn't a dictionary.`);
14
+ return { count: data.count };
15
+ };
16
+ var unmarshalPublicCatalogProductPropertiesHardwareCPU = (data) => {
17
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardwareCPU' failed as data isn't a dictionary.`);
18
+ return {
19
+ arch: data.arch,
20
+ description: data.description,
21
+ physical: data.physical ? unmarshalPublicCatalogProductPropertiesHardwareCPUPhysical(data.physical) : void 0,
22
+ threads: data.threads,
23
+ type: data.type,
24
+ virtual: data.virtual ? unmarshalPublicCatalogProductPropertiesHardwareCPUVirtual(data.virtual) : void 0
25
+ };
26
+ };
27
+ var unmarshalPublicCatalogProductPropertiesHardwareGPU = (data) => {
28
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardwareGPU' failed as data isn't a dictionary.`);
29
+ return {
30
+ count: data.count,
31
+ description: data.description,
32
+ type: data.type
33
+ };
34
+ };
35
+ var unmarshalPublicCatalogProductPropertiesHardwareNetwork = (data) => {
36
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardwareNetwork' failed as data isn't a dictionary.`);
37
+ return {
38
+ description: data.description,
39
+ internalBandwidth: data.internal_bandwidth,
40
+ maxPublicBandwidth: data.max_public_bandwidth,
41
+ publicBandwidth: data.public_bandwidth
42
+ };
43
+ };
44
+ var unmarshalPublicCatalogProductPropertiesHardwareRAM = (data) => {
45
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardwareRAM' failed as data isn't a dictionary.`);
46
+ return {
47
+ description: data.description,
48
+ size: data.size,
49
+ type: data.type
50
+ };
51
+ };
52
+ var unmarshalPublicCatalogProductPropertiesHardwareStorage = (data) => {
53
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardwareStorage' failed as data isn't a dictionary.`);
54
+ return {
55
+ description: data.description,
56
+ total: data.total
57
+ };
58
+ };
59
+ var unmarshalPublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType = (data) => {
60
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType' failed as data isn't a dictionary.`);
61
+ return {};
62
+ };
63
+ var unmarshalPublicCatalogProductPropertiesKubernetesKosmosControlPlaneType = (data) => {
64
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesKubernetesKosmosControlPlaneType' failed as data isn't a dictionary.`);
65
+ return {};
66
+ };
67
+ var unmarshalPublicCatalogProductPropertiesKubernetesKosmosNodeType = (data) => {
68
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesKubernetesKosmosNodeType' failed as data isn't a dictionary.`);
69
+ return {};
70
+ };
71
+ var unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseManagementType = (data) => {
72
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabaseManagementType' failed as data isn't a dictionary.`);
73
+ return {};
74
+ };
75
+ var unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType = (data) => {
76
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType' failed as data isn't a dictionary.`);
77
+ return {};
78
+ };
79
+ var unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseNodeType = (data) => {
80
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabaseNodeType' failed as data isn't a dictionary.`);
81
+ return {};
82
+ };
83
+ var unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseStorageType = (data) => {
84
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabaseStorageType' failed as data isn't a dictionary.`);
85
+ return { storageClass: data.storage_class };
86
+ };
87
+ var unmarshalPublicCatalogProductPropertiesObjectStorageClassType = (data) => {
88
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageClassType' failed as data isn't a dictionary.`);
89
+ return { storageClass: data.storage_class };
90
+ };
91
+ var unmarshalPublicCatalogProductPropertiesObjectStorageInternetTrafficType = (data) => {
92
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageInternetTrafficType' failed as data isn't a dictionary.`);
93
+ return { trafficType: data.traffic_type };
94
+ };
95
+ var unmarshalPublicCatalogProductPropertiesObjectStorageRegionTrafficType = (data) => {
96
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageRegionTrafficType' failed as data isn't a dictionary.`);
97
+ return { regionDestination: data.region_destination };
98
+ };
99
+ var unmarshalPublicCatalogProductPropertiesObjectStorageRestoreType = (data) => {
100
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorageRestoreType' failed as data isn't a dictionary.`);
101
+ return { restoreType: data.restore_type };
102
+ };
103
+ var unmarshalPublicCatalogProductPropertiesAppleSilicon = (data) => {
104
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesAppleSilicon' failed as data isn't a dictionary.`);
105
+ return {
106
+ range: data.range,
107
+ serverType: data.server_type
108
+ };
109
+ };
110
+ var unmarshalPublicCatalogProductPropertiesBlockStorage = (data) => {
111
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesBlockStorage' failed as data isn't a dictionary.`);
112
+ return {
113
+ maxVolumeSize: data.max_volume_size,
114
+ minVolumeSize: data.min_volume_size
115
+ };
116
+ };
117
+ var unmarshalPublicCatalogProductPropertiesDedibox = (data) => {
118
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesDedibox' failed as data isn't a dictionary.`);
119
+ return {
120
+ offerId: data.offer_id,
121
+ range: data.range
122
+ };
123
+ };
124
+ var unmarshalPublicCatalogProductPropertiesElasticMetal = (data) => {
125
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesElasticMetal' failed as data isn't a dictionary.`);
126
+ return {
127
+ offerId: data.offer_id,
128
+ range: data.range
129
+ };
130
+ };
131
+ var unmarshalPublicCatalogProductPropertiesGenerativeApis = (data) => {
132
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesGenerativeApis' failed as data isn't a dictionary.`);
133
+ return {
134
+ consumptionMode: data.consumption_mode,
135
+ reasoning: data.reasoning,
136
+ supportedApis: data.supported_apis
137
+ };
138
+ };
139
+ var unmarshalPublicCatalogProductPropertiesHardware = (data) => {
140
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesHardware' failed as data isn't a dictionary.`);
141
+ return {
142
+ cpu: data.cpu ? unmarshalPublicCatalogProductPropertiesHardwareCPU(data.cpu) : void 0,
143
+ gpu: data.gpu ? unmarshalPublicCatalogProductPropertiesHardwareGPU(data.gpu) : void 0,
144
+ network: data.network ? unmarshalPublicCatalogProductPropertiesHardwareNetwork(data.network) : void 0,
145
+ ram: data.ram ? unmarshalPublicCatalogProductPropertiesHardwareRAM(data.ram) : void 0,
146
+ storage: data.storage ? unmarshalPublicCatalogProductPropertiesHardwareStorage(data.storage) : void 0
147
+ };
148
+ };
149
+ var unmarshalPublicCatalogProductPropertiesInstance = (data) => {
150
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesInstance' failed as data isn't a dictionary.`);
151
+ return {
152
+ offerId: data.offer_id,
153
+ range: data.range,
154
+ recommendedReplacementOfferIds: data.recommended_replacement_offer_ids
155
+ };
156
+ };
157
+ var unmarshalPublicCatalogProductPropertiesKeyManager = (data) => {
158
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesKeyManager' failed as data isn't a dictionary.`);
159
+ return {};
160
+ };
161
+ var unmarshalPublicCatalogProductPropertiesKubernetes = (data) => {
162
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesKubernetes' failed as data isn't a dictionary.`);
163
+ return {
164
+ kapsuleControlPlane: data.kapsule_control_plane ? unmarshalPublicCatalogProductPropertiesKubernetesKapsuleControlPlaneType(data.kapsule_control_plane) : void 0,
165
+ kosmosControlPlane: data.kosmos_control_plane ? unmarshalPublicCatalogProductPropertiesKubernetesKosmosControlPlaneType(data.kosmos_control_plane) : void 0,
166
+ kosmosNode: data.kosmos_node ? unmarshalPublicCatalogProductPropertiesKubernetesKosmosNodeType(data.kosmos_node) : void 0
167
+ };
168
+ };
169
+ var unmarshalPublicCatalogProductPropertiesLoadBalancer = (data) => {
170
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesLoadBalancer' failed as data isn't a dictionary.`);
171
+ return {};
172
+ };
173
+ var unmarshalPublicCatalogProductPropertiesManagedInference = (data) => {
174
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesManagedInference' failed as data isn't a dictionary.`);
175
+ return { instanceGpuName: data.instance_gpu_name };
176
+ };
177
+ var unmarshalPublicCatalogProductPropertiesManagedRedisDatabase = (data) => {
178
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesManagedRedisDatabase' failed as data isn't a dictionary.`);
179
+ return {};
180
+ };
181
+ var unmarshalPublicCatalogProductPropertiesManagedRelationalDatabase = (data) => {
182
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesManagedRelationalDatabase' failed as data isn't a dictionary.`);
183
+ return {
184
+ management: data.management ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseManagementType(data.management) : void 0,
185
+ multiAz: data.multi_az ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseMultiAzType(data.multi_az) : void 0,
186
+ node: data.node ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseNodeType(data.node) : void 0,
187
+ storage: data.storage ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabaseStorageType(data.storage) : void 0
188
+ };
189
+ };
190
+ var unmarshalPublicCatalogProductPropertiesObjectStorage = (data) => {
191
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesObjectStorage' failed as data isn't a dictionary.`);
192
+ return {
193
+ class: data.class ? unmarshalPublicCatalogProductPropertiesObjectStorageClassType(data.class) : void 0,
194
+ internetTraffic: data.internet_traffic ? unmarshalPublicCatalogProductPropertiesObjectStorageInternetTrafficType(data.internet_traffic) : void 0,
195
+ regionTraffic: data.region_traffic ? unmarshalPublicCatalogProductPropertiesObjectStorageRegionTrafficType(data.region_traffic) : void 0,
196
+ restore: data.restore ? unmarshalPublicCatalogProductPropertiesObjectStorageRestoreType(data.restore) : void 0
197
+ };
198
+ };
199
+ var unmarshalPublicCatalogProductPropertiesSecretManager = (data) => {
200
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPropertiesSecretManager' failed as data isn't a dictionary.`);
201
+ return {};
202
+ };
203
+ var unmarshalPublicCatalogProductEnvironmentalImpactEstimation = (data) => {
204
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductEnvironmentalImpactEstimation' failed as data isn't a dictionary.`);
205
+ return {
206
+ kgCo2Equivalent: data.kg_co2_equivalent,
207
+ m3WaterUsage: data.m3_water_usage
208
+ };
209
+ };
210
+ var unmarshalPublicCatalogProductLocality = (data) => {
211
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductLocality' failed as data isn't a dictionary.`);
212
+ return {
213
+ datacenter: data.datacenter,
214
+ global: data.global,
215
+ region: data.region,
216
+ zone: data.zone
217
+ };
218
+ };
219
+ var unmarshalPublicCatalogProductPrice = (data) => {
220
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductPrice' failed as data isn't a dictionary.`);
221
+ return { retailPrice: data.retail_price ? unmarshalMoney(data.retail_price) : void 0 };
222
+ };
223
+ var unmarshalPublicCatalogProductProperties = (data) => {
224
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductProperties' failed as data isn't a dictionary.`);
225
+ return {
226
+ appleSilicon: data.apple_silicon ? unmarshalPublicCatalogProductPropertiesAppleSilicon(data.apple_silicon) : void 0,
227
+ blockStorage: data.block_storage ? unmarshalPublicCatalogProductPropertiesBlockStorage(data.block_storage) : void 0,
228
+ dedibox: data.dedibox ? unmarshalPublicCatalogProductPropertiesDedibox(data.dedibox) : void 0,
229
+ elasticMetal: data.elastic_metal ? unmarshalPublicCatalogProductPropertiesElasticMetal(data.elastic_metal) : void 0,
230
+ generativeApis: data.generative_apis ? unmarshalPublicCatalogProductPropertiesGenerativeApis(data.generative_apis) : void 0,
231
+ hardware: data.hardware ? unmarshalPublicCatalogProductPropertiesHardware(data.hardware) : void 0,
232
+ instance: data.instance ? unmarshalPublicCatalogProductPropertiesInstance(data.instance) : void 0,
233
+ keyManager: data.key_manager ? unmarshalPublicCatalogProductPropertiesKeyManager(data.key_manager) : void 0,
234
+ kubernetes: data.kubernetes ? unmarshalPublicCatalogProductPropertiesKubernetes(data.kubernetes) : void 0,
235
+ loadBalancer: data.load_balancer ? unmarshalPublicCatalogProductPropertiesLoadBalancer(data.load_balancer) : void 0,
236
+ managedInference: data.managed_inference ? unmarshalPublicCatalogProductPropertiesManagedInference(data.managed_inference) : void 0,
237
+ managedRedisDatabase: data.managed_redis_database ? unmarshalPublicCatalogProductPropertiesManagedRedisDatabase(data.managed_redis_database) : void 0,
238
+ managedRelationalDatabase: data.managed_relational_database ? unmarshalPublicCatalogProductPropertiesManagedRelationalDatabase(data.managed_relational_database) : void 0,
239
+ objectStorage: data.object_storage ? unmarshalPublicCatalogProductPropertiesObjectStorage(data.object_storage) : void 0,
240
+ secretManager: data.secret_manager ? unmarshalPublicCatalogProductPropertiesSecretManager(data.secret_manager) : void 0
241
+ };
242
+ };
243
+ var unmarshalPublicCatalogProductUnitOfMeasure = (data) => {
244
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProductUnitOfMeasure' failed as data isn't a dictionary.`);
245
+ return {
246
+ size: data.size,
247
+ unit: data.unit
248
+ };
249
+ };
250
+ var unmarshalPublicCatalogProduct = (data) => {
251
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'PublicCatalogProduct' failed as data isn't a dictionary.`);
252
+ return {
253
+ badges: data.badges,
254
+ description: data.description,
255
+ endOfGrowthAt: unmarshalDate(data.end_of_growth_at),
256
+ endOfLifeAt: unmarshalDate(data.end_of_life_at),
257
+ endOfSaleAt: unmarshalDate(data.end_of_sale_at),
258
+ environmentalImpactEstimation: data.environmental_impact_estimation ? unmarshalPublicCatalogProductEnvironmentalImpactEstimation(data.environmental_impact_estimation) : void 0,
259
+ locality: data.locality ? unmarshalPublicCatalogProductLocality(data.locality) : void 0,
260
+ price: data.price ? unmarshalPublicCatalogProductPrice(data.price) : void 0,
261
+ product: data.product,
262
+ productCategory: data.product_category,
263
+ properties: data.properties ? unmarshalPublicCatalogProductProperties(data.properties) : void 0,
264
+ serviceCategory: data.service_category,
265
+ sku: data.sku,
266
+ status: data.status,
267
+ unitOfMeasure: data.unit_of_measure ? unmarshalPublicCatalogProductUnitOfMeasure(data.unit_of_measure) : void 0,
268
+ variant: data.variant
269
+ };
442
270
  };
443
271
  const unmarshalListPublicCatalogProductsResponse = (data) => {
444
- if (!isJSONObject(data)) {
445
- throw new TypeError(
446
- `Unmarshalling the type 'ListPublicCatalogProductsResponse' failed as data isn't a dictionary.`
447
- );
448
- }
449
- return {
450
- products: unmarshalArrayOfObject(data.products, unmarshalPublicCatalogProduct),
451
- totalCount: data.total_count
452
- };
453
- };
454
- export {
455
- unmarshalListPublicCatalogProductsResponse
272
+ if (!isJSONObject(data)) throw new TypeError(`Unmarshalling the type 'ListPublicCatalogProductsResponse' failed as data isn't a dictionary.`);
273
+ return {
274
+ products: unmarshalArrayOfObject(data.products, unmarshalPublicCatalogProduct),
275
+ totalCount: data.total_count
276
+ };
456
277
  };
278
+ export { unmarshalListPublicCatalogProductsResponse };
@@ -1,11 +1,7 @@
1
+ import { __exportAll } from "../_virtual/_rolldown/runtime.js";
2
+ var validation_rules_gen_exports = /* @__PURE__ */ __exportAll({ PublicCatalogApiListPublicCatalogProductsRequest: () => PublicCatalogApiListPublicCatalogProductsRequest });
1
3
  const PublicCatalogApiListPublicCatalogProductsRequest = {
2
- page: {
3
- greaterThanOrEqual: 1
4
- },
5
- pageSize: {
6
- greaterThanOrEqual: 1
7
- }
8
- };
9
- export {
10
- PublicCatalogApiListPublicCatalogProductsRequest
4
+ page: { greaterThanOrEqual: 1 },
5
+ pageSize: { greaterThanOrEqual: 1 }
11
6
  };
7
+ export { validation_rules_gen_exports };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@scaleway/sdk-product-catalog",
3
- "version": "2.4.1",
3
+ "version": "2.5.0",
4
4
  "description": "Scaleway SDK product-catalog",
5
5
  "license": "Apache-2.0",
6
6
  "files": [
@@ -27,13 +27,13 @@
27
27
  },
28
28
  "dependencies": {
29
29
  "@scaleway/random-name": "5.1.2",
30
- "@scaleway/sdk-std": "2.1.1"
30
+ "@scaleway/sdk-std": "2.2.0"
31
31
  },
32
32
  "peerDependencies": {
33
- "@scaleway/sdk-client": "^2.1.0"
33
+ "@scaleway/sdk-client": "^2.2.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@scaleway/sdk-client": "^2.1.0"
36
+ "@scaleway/sdk-client": "^2.2.0"
37
37
  },
38
38
  "scripts": {
39
39
  "package:check": "pnpm publint",