Skip to content

Commit 62c11d5

Browse files
authored
Merge branch 'main' into feat/auto-generate-package-readme
2 parents c487b93 + 95e31a5 commit 62c11d5

File tree

24 files changed

+388
-33
lines changed

24 files changed

+388
-33
lines changed

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,9 @@ generate-packages:
4646
generate-global-sdk-package:
4747
pnpm run generateGlobalSdkPackage
4848

49+
setup-new-products:
50+
pnpm run setupNewProducts
51+
4952
publish: install-dependencies
5053
pnpm run build
5154
pnpm lerna changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"generateAlias": "pnpm dlx tsx ./scripts/generateAlias.ts",
1515
"generatePackages": "pnpm dlx tsx ./scripts/generatePackages.ts",
1616
"generateGlobalSdkPackage": "pnpm dlx tsx ./scripts/updateGlobalSdkPackage.ts",
17+
"setupNewProducts": "pnpm dlx tsx ./scripts/setupNewProducts.ts",
1718
"prebuild": "pnpm run generatePackages && pnpm run generateAlias && pnpm format",
1819
"build:packages": "pnpm turbo run build",
1920
"fix-import-extensions": "pnpm dlx tsx ./scripts/fix-import-extensions.ts",

packages_generated/account/src/v3/api.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
urlParams,
77
validatePathParam,
88
} from '@scaleway/sdk-client'
9-
109
import {
1110
marshalContractApiCheckContractSignatureRequest,
1211
marshalContractApiCreateContractSignatureRequest,

packages_generated/account/src/v3/types.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
3-
43
import type { LanguageCode as StdLanguageCode } from '@scaleway/sdk-std'
54

65
export type ContractType =

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
urlParams,
77
validatePathParam,
88
} from '@scaleway/sdk-client'
9-
109
import {
1110
marshalCreateInstanceGroupRequest,
1211
marshalCreateInstancePolicyRequest,

packages_generated/baremetal/src/v1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,8 @@ export const unmarshalOS = (data: unknown): OS => {
367367

368368
return {
369369
allowed: data.allowed,
370+
cloudInitSupported: data.cloud_init_supported,
371+
cloudInitVersion: data.cloud_init_version,
370372
customPartitioningSupported: data.custom_partitioning_supported,
371373
enabled: data.enabled,
372374
id: data.id,

packages_generated/baremetal/src/v1/types.gen.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -671,6 +671,14 @@ export interface OS {
671671
* Defines if custom partitioning is supported by this OS.
672672
*/
673673
customPartitioningSupported: boolean
674+
/**
675+
* Defines if cloud-init is supported by this OS.
676+
*/
677+
cloudInitSupported: boolean
678+
/**
679+
* Defines the cloud-init API version used by this OS.
680+
*/
681+
cloudInitVersion?: string
674682
/**
675683
* Zone in which is the OS is available.
676684
*/

packages_generated/billing/src/v2beta1/api.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ import {
77
urlParams,
88
validatePathParam,
99
} from '@scaleway/sdk-client'
10-
1110
import {
1211
unmarshalDiscount,
1312
unmarshalInvoice,

packages_generated/billing/src/v2beta1/marshalling.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
unmarshalDate,
77
unmarshalMoney,
88
} from '@scaleway/sdk-client'
9-
109
import type {
1110
Discount,
1211
DiscountCoupon,
@@ -115,6 +114,7 @@ const unmarshalListConsumptionsResponseConsumption = (
115114
return {
116115
billedQuantity: data.billed_quantity,
117116
categoryName: data.category_name,
117+
consumerId: data.consumer_id,
118118
productName: data.product_name,
119119
projectId: data.project_id,
120120
resourceName: data.resource_name,

packages_generated/billing/src/v2beta1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,10 @@ export interface ListConsumptionsResponseConsumption {
130130
* Consumed quantity.
131131
*/
132132
billedQuantity: string
133+
/**
134+
* Organization ID of the consumer for this consumption.
135+
*/
136+
consumerId: string
133137
}
134138

135139
export interface Discount {

0 commit comments

Comments
 (0)