Skip to content

Commit 7c03a12

Browse files
authored
Merge branch 'main' into v1.6243.0
2 parents c8df4a7 + 3b966b1 commit 7c03a12

File tree

38 files changed

+1324
-268
lines changed

38 files changed

+1324
-268
lines changed

packages/clients/CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,27 @@
33
All notable changes to this project will be documented in this file.
44
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
55

6+
## [2.70.0](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2025-03-17)
7+
8+
### Features
9+
10+
- **account:** add project customization endpoint ([#1919](https://github.com/scaleway/scaleway-sdk-js/issues/1919)) ([c9aa3ed](https://github.com/scaleway/scaleway-sdk-js/commit/c9aa3ed4cc82c23f58fd664b80569bd00ddd8042))
11+
- **cockpit:** update naming OB-276 ([#1912](https://github.com/scaleway/scaleway-sdk-js/issues/1912)) ([3508637](https://github.com/scaleway/scaleway-sdk-js/commit/350863757290b04dc79296aed02194329b477b84))
12+
- **iam:** add status filter to ListUsersRequest ([#1896](https://github.com/scaleway/scaleway-sdk-js/issues/1896)) ([b59e4a0](https://github.com/scaleway/scaleway-sdk-js/commit/b59e4a00277549e041788aba5a9d0b54b7266cd3))
13+
- **iam:** add type filter to ListUsersRequest ([#1908](https://github.com/scaleway/scaleway-sdk-js/issues/1908)) ([f48638f](https://github.com/scaleway/scaleway-sdk-js/commit/f48638f2df92fc0d5691e87424af41ec9803f401))
14+
- **iam:** increase rule condition max len to 1024 characters ([#1898](https://github.com/scaleway/scaleway-sdk-js/issues/1898)) ([5a8f85e](https://github.com/scaleway/scaleway-sdk-js/commit/5a8f85eeb60752a626194c09d610627f0c581377))
15+
- **inference:** add support v1 ([#1900](https://github.com/scaleway/scaleway-sdk-js/issues/1900)) ([e83dc3f](https://github.com/scaleway/scaleway-sdk-js/commit/e83dc3fa6e53f674809fac119d534f79e79ca5af))
16+
- **inference:** add support v1 ([#1906](https://github.com/scaleway/scaleway-sdk-js/issues/1906)) ([a7fd417](https://github.com/scaleway/scaleway-sdk-js/commit/a7fd4179aef11f46373c6ee47cb5154bdce5601c))
17+
- **instance:** add GPU information in ServerType ([#1897](https://github.com/scaleway/scaleway-sdk-js/issues/1897)) ([0a4ad01](https://github.com/scaleway/scaleway-sdk-js/commit/0a4ad01de99b928bc15f1ba7af4e03de8a973291))
18+
- **tem:** generate offers cli ([#1918](https://github.com/scaleway/scaleway-sdk-js/issues/1918)) ([7aae721](https://github.com/scaleway/scaleway-sdk-js/commit/7aae72111c6d97374a0504a969fc899fc9c1a66e))
19+
- **webhosting:** replace domain conf options ([#1909](https://github.com/scaleway/scaleway-sdk-js/issues/1909)) ([db74be4](https://github.com/scaleway/scaleway-sdk-js/commit/db74be4e9a50b3134d588022195d6535289de84d))
20+
21+
### Bug Fixes
22+
23+
- **apple_silicon:** document commitment type values and usage ([#1895](https://github.com/scaleway/scaleway-sdk-js/issues/1895)) ([7eede9b](https://github.com/scaleway/scaleway-sdk-js/commit/7eede9bef4c34dc686b836b69730d7c36bbd0658))
24+
- **iam:** enforce max page value ([#1904](https://github.com/scaleway/scaleway-sdk-js/issues/1904)) ([1b23828](https://github.com/scaleway/scaleway-sdk-js/commit/1b23828f1bcb18182d894f0def09e79412fe865b))
25+
- **iam:** move Connection out of GetUserConnectionResponse ([#1907](https://github.com/scaleway/scaleway-sdk-js/issues/1907)) ([d8bfebb](https://github.com/scaleway/scaleway-sdk-js/commit/d8bfebbb2399a718045df3ca88520dfe82cdd319))
26+
627
## [2.69.0](https://github.com/scaleway/scaleway-sdk-js/compare/@scaleway/[email protected]...@scaleway/[email protected]) (2025-03-10)
728

829
### Features

packages/clients/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@scaleway/sdk",
3-
"version": "2.69.0",
3+
"version": "2.70.0",
44
"license": "Apache-2.0",
55
"description": "Scaleway SDK.",
66
"keywords": [

packages/clients/src/api/account/v3/api.gen.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,14 @@ import {
1010
marshalContractApiCheckContractSignatureRequest,
1111
marshalContractApiCreateContractSignatureRequest,
1212
marshalProjectApiCreateProjectRequest,
13+
marshalProjectApiSetProjectQualificationRequest,
1314
marshalProjectApiUpdateProjectRequest,
1415
unmarshalCheckContractSignatureResponse,
1516
unmarshalContractSignature,
1617
unmarshalListContractSignaturesResponse,
1718
unmarshalListProjectsResponse,
1819
unmarshalProject,
20+
unmarshalProjectQualification,
1921
} from './marshalling.gen'
2022
import type {
2123
CheckContractSignatureResponse,
@@ -32,7 +34,9 @@ import type {
3234
ProjectApiDeleteProjectRequest,
3335
ProjectApiGetProjectRequest,
3436
ProjectApiListProjectsRequest,
37+
ProjectApiSetProjectQualificationRequest,
3538
ProjectApiUpdateProjectRequest,
39+
ProjectQualification,
3640
} from './types.gen'
3741

3842
const jsonContentHeaders = {
@@ -288,4 +292,31 @@ export class ProjectAPI extends ParentAPI {
288292
},
289293
unmarshalProject,
290294
)
295+
296+
/**
297+
* Set project use case. Set the project use case for a new or existing
298+
* Project, specified by its Project ID. You can customize the use case, sub
299+
* use case, and architecture type you want to use in the Project.
300+
*
301+
* @param request - The request
302+
* {@link ProjectApiSetProjectQualificationRequest}
303+
* @returns A Promise of ProjectQualification
304+
*/
305+
setProjectQualification = (
306+
request: Readonly<ProjectApiSetProjectQualificationRequest> = {},
307+
) =>
308+
this.client.fetch<ProjectQualification>(
309+
{
310+
body: JSON.stringify(
311+
marshalProjectApiSetProjectQualificationRequest(
312+
request,
313+
this.client.settings,
314+
),
315+
),
316+
headers: jsonContentHeaders,
317+
method: 'POST',
318+
path: `/account/v3/projects/${validatePathParam('projectId', request.projectId ?? this.client.settings.defaultProjectId)}/project-qualification`,
319+
},
320+
unmarshalProjectQualification,
321+
)
291322
}

packages/clients/src/api/account/v3/index.gen.ts

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,21 @@ export type {
2020
ProjectApiDeleteProjectRequest,
2121
ProjectApiGetProjectRequest,
2222
ProjectApiListProjectsRequest,
23+
ProjectApiSetProjectQualificationRequest,
2324
ProjectApiUpdateProjectRequest,
25+
ProjectQualification,
26+
Qualification,
27+
QualificationAiMachine,
28+
QualificationArchitectureType,
29+
QualificationArchiveData,
30+
QualificationContainer,
31+
QualificationDeploySoftware,
32+
QualificationHostApplication,
33+
QualificationHostApplicationSubUseCase,
34+
QualificationHostWebsite,
35+
QualificationHostWebsiteSubUseCase,
36+
QualificationOtherUseCase,
37+
QualificationSetScalewayEnvironment,
38+
QualificationShareData,
2439
} from './types.gen'
2540
export * as ValidationRules from './validation-rules.gen'

0 commit comments

Comments
 (0)