Skip to content

Commit 2d389d7

Browse files
authored
Merge branch 'main' into v1.6461.0
2 parents 68efd5b + d9e79e7 commit 2d389d7

File tree

6 files changed

+2073
-5696
lines changed

6 files changed

+2073
-5696
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
"turbo": "2.5.1",
8585
"typedoc": "0.27.6",
8686
"typescript": "5.8.3",
87-
"vite": "6.3.3",
87+
"vite": "6.3.4",
8888
"vitest": "3.1.2"
8989
},
9090
"packageManager": "[email protected]"

packages_generated/file/src/v1alpha1/api.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ This can be modified using the `order_by` field.
175175

176176
/**
177177
* Update filesystem properties. Update the technical details of a filesystem, such as its name, tags or its new size.
178-
You can only resize a filesystem to a larger size.
179178
*
180179
* @param request - The request {@link UpdateFileSystemRequest}
181180
* @returns A Promise of FileSystem

packages_generated/product_catalog/src/v2alpha1/index.gen.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ export type {
99
PublicCatalogProductEnvironmentalImpactEstimation,
1010
PublicCatalogProductLocality,
1111
PublicCatalogProductPrice,
12-
PublicCatalogProductPriceUnitOfMeasure,
13-
PublicCatalogProductPriceUnitOfMeasureCountableUnit,
1412
PublicCatalogProductProperties,
1513
PublicCatalogProductPropertiesAppleSilicon,
1614
PublicCatalogProductPropertiesDedibox,

packages_generated/product_catalog/src/v2alpha1/marshalling.gen.ts

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import type {
1111
PublicCatalogProductEnvironmentalImpactEstimation,
1212
PublicCatalogProductLocality,
1313
PublicCatalogProductPrice,
14-
PublicCatalogProductPriceUnitOfMeasure,
1514
PublicCatalogProductProperties,
1615
PublicCatalogProductPropertiesAppleSilicon,
1716
PublicCatalogProductPropertiesDedibox,
@@ -149,21 +148,6 @@ const unmarshalPublicCatalogProductPropertiesHardwareStorage = (
149148
} as PublicCatalogProductPropertiesHardwareStorage
150149
}
151150

152-
const unmarshalPublicCatalogProductPriceUnitOfMeasure = (
153-
data: unknown,
154-
): PublicCatalogProductPriceUnitOfMeasure => {
155-
if (!isJSONObject(data)) {
156-
throw new TypeError(
157-
`Unmarshalling the type 'PublicCatalogProductPriceUnitOfMeasure' failed as data isn't a dictionary.`,
158-
)
159-
}
160-
161-
return {
162-
size: data.size,
163-
unit: data.unit,
164-
} as PublicCatalogProductPriceUnitOfMeasure
165-
}
166-
167151
const unmarshalPublicCatalogProductPropertiesAppleSilicon = (
168152
data: unknown,
169153
): PublicCatalogProductPropertiesAppleSilicon => {
@@ -293,9 +277,6 @@ const unmarshalPublicCatalogProductPrice = (
293277
retailPrice: data.retail_price
294278
? unmarshalMoney(data.retail_price)
295279
: undefined,
296-
unitOfMeasure: data.unit_of_measure
297-
? unmarshalPublicCatalogProductPriceUnitOfMeasure(data.unit_of_measure)
298-
: undefined,
299280
} as PublicCatalogProductPrice
300281
}
301282

packages_generated/product_catalog/src/v2alpha1/types.gen.ts

Lines changed: 0 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -6,34 +6,6 @@ import type {
66
Zone as ScwZone,
77
} from '@scaleway/sdk-client'
88

9-
export type PublicCatalogProductPriceUnitOfMeasureCountableUnit =
10-
| 'unknown_countable_unit'
11-
| 'chunk'
12-
| 'core'
13-
| 'currency'
14-
| 'device'
15-
| 'domain'
16-
| 'email'
17-
| 'gb_s'
18-
| 'gigabyte'
19-
| 'hour'
20-
| 'iops_gigabyte'
21-
| 'ip'
22-
| 'month'
23-
| 'node'
24-
| 'plan'
25-
| 'query'
26-
| 'request'
27-
| 'session'
28-
| 'vcpu_s'
29-
| 'version'
30-
| 'year'
31-
| 'key'
32-
| 'token'
33-
| 'minute'
34-
| 'setup'
35-
| 'day'
36-
379
export type PublicCatalogProductPropertiesHardwareCPUArch =
3810
| 'unknown_arch'
3911
| 'x64'
@@ -190,17 +162,6 @@ export interface PublicCatalogProductPropertiesHardwareStorage {
190162
total: number
191163
}
192164

193-
export interface PublicCatalogProductPriceUnitOfMeasure {
194-
/**
195-
* The unit of measure.
196-
*/
197-
unit: PublicCatalogProductPriceUnitOfMeasureCountableUnit
198-
/**
199-
* The size of the unit.
200-
*/
201-
size: number
202-
}
203-
204165
export interface PublicCatalogProductPropertiesAppleSilicon {
205166
/**
206167
* The range of the Apple Silicon server.
@@ -289,10 +250,6 @@ export interface PublicCatalogProductPrice {
289250
* The retail price of the product.
290251
*/
291252
retailPrice?: Money
292-
/**
293-
* @deprecated The unit of measure of the price (deprecated).
294-
*/
295-
unitOfMeasure?: PublicCatalogProductPriceUnitOfMeasure
296253
}
297254

298255
export interface PublicCatalogProductProperties {

0 commit comments

Comments
 (0)