Skip to content

Commit 06fd658

Browse files
committed
feat: update generated APIs
1 parent e848cb9 commit 06fd658

File tree

163 files changed

+3410
-1704
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

163 files changed

+3410
-1704
lines changed

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

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,33 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import {
4-
enrichForPagination,
54
API as ParentAPI,
5+
enrichForPagination,
6+
resolveOneOf,
7+
unmarshalServiceInfo,
68
urlParams,
79
validatePathParam,
10+
waitForResource,
11+
toApiLocality,
12+
} from '@scaleway/sdk-client'
13+
import type {
14+
Zone as ScwZone,
15+
Region as ScwRegion,
16+
ServiceInfo,
17+
WaitForOptions,
18+
ApiLocality,
819
} from '@scaleway/sdk-client'
920
import {
21+
unmarshalCheckContractSignatureResponse,
1022
marshalContractApiCheckContractSignatureRequest,
1123
marshalContractApiCreateContractSignatureRequest,
12-
marshalProjectApiCreateProjectRequest,
13-
marshalProjectApiSetProjectQualificationRequest,
14-
marshalProjectApiUpdateProjectRequest,
15-
unmarshalCheckContractSignatureResponse,
1624
unmarshalContractSignature,
1725
unmarshalListContractSignaturesResponse,
1826
unmarshalListProjectsResponse,
1927
unmarshalProject,
28+
marshalProjectApiCreateProjectRequest,
29+
marshalProjectApiSetProjectQualificationRequest,
30+
marshalProjectApiUpdateProjectRequest,
2031
unmarshalProjectQualification,
2132
} from './marshalling.gen.js'
2233
import type {

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

Lines changed: 28 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,32 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import randomName from '@scaleway/random-name'
4-
import type { DefaultValues } from '@scaleway/sdk-client'
54
import {
65
isJSONObject,
6+
marshalBlobToScwFile,
7+
marshalDecimal,
8+
marshalMoney,
9+
marshalScwFile,
10+
marshalTimeSeries,
711
resolveOneOf,
812
unmarshalArrayOfObject,
913
unmarshalDate,
14+
unmarshalDecimal,
15+
unmarshalMapOfObject,
16+
unmarshalMoney,
17+
unmarshalScwFile,
18+
unmarshalServiceInfo,
19+
unmarshalTimeSeries,
20+
unmarshalTimeSeriesPoint,
21+
} from '@scaleway/sdk-client'
22+
import type {
23+
Zone as ScwZone,
24+
Region as ScwRegion,
25+
DefaultValues,
1026
} from '@scaleway/sdk-client'
1127
import type {
12-
CheckContractSignatureResponse,
1328
Contract,
14-
ContractApiCheckContractSignatureRequest,
15-
ContractApiCreateContractSignatureRequest,
1629
ContractSignature,
17-
ListContractSignaturesResponse,
18-
ListProjectsResponse,
19-
Project,
20-
ProjectApiCreateProjectRequest,
21-
ProjectApiSetProjectQualificationRequest,
22-
ProjectApiUpdateProjectRequest,
23-
ProjectQualification,
24-
Qualification,
2530
QualificationAiMachine,
2631
QualificationArchiveData,
2732
QualificationContainer,
@@ -31,6 +36,17 @@ import type {
3136
QualificationOtherUseCase,
3237
QualificationSetScalewayEnvironment,
3338
QualificationShareData,
39+
Qualification,
40+
Project,
41+
CheckContractSignatureResponse,
42+
ListContractSignaturesResponse,
43+
ListProjectsResponse,
44+
ProjectQualification,
45+
ContractApiCheckContractSignatureRequest,
46+
ContractApiCreateContractSignatureRequest,
47+
ProjectApiCreateProjectRequest,
48+
ProjectApiSetProjectQualificationRequest,
49+
ProjectApiUpdateProjectRequest,
3450
} from './types.gen.js'
3551

3652
const unmarshalContract = (data: unknown): Contract => {

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
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+
import type {
4+
Decimal,
5+
Money,
6+
ServiceInfo,
7+
Region as ScwRegion,
8+
ScwFile,
9+
TimeSeries,
10+
Zone as ScwZone,
11+
} from '@scaleway/sdk-client'
312
import type { LanguageCode as StdLanguageCode } from '@scaleway/sdk-std'
413

514
export type ContractType =

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

Lines changed: 21 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,47 @@
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-
4-
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client'
53
import {
6-
enrichForPagination,
74
API as ParentAPI,
8-
toApiLocality,
5+
enrichForPagination,
6+
resolveOneOf,
7+
unmarshalServiceInfo,
98
urlParams,
109
validatePathParam,
1110
waitForResource,
11+
toApiLocality,
12+
} from '@scaleway/sdk-client'
13+
import type {
14+
Zone as ScwZone,
15+
Region as ScwRegion,
16+
ServiceInfo,
17+
WaitForOptions,
18+
ApiLocality,
1219
} from '@scaleway/sdk-client'
1320
import {
1421
SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES_APPLESILICON,
22+
SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_TRANSIENT_STATUSES_APPLESILICON,
1523
SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_APPLESILICON,
1624
} from './content.gen.js'
1725
import {
1826
marshalBatchCreateServersRequest,
19-
marshalCreateServerRequest,
20-
marshalPrivateNetworkApiAddServerPrivateNetworkRequest,
21-
marshalPrivateNetworkApiSetServerPrivateNetworksRequest,
22-
marshalReinstallServerRequest,
23-
marshalStartConnectivityDiagnosticRequest,
24-
marshalUpdateServerRequest,
2527
unmarshalBatchCreateServersResponse,
2628
unmarshalConnectivityDiagnostic,
29+
marshalCreateServerRequest,
2730
unmarshalListOSResponse,
2831
unmarshalListServerPrivateNetworksResponse,
29-
unmarshalListServersResponse,
3032
unmarshalListServerTypesResponse,
33+
unmarshalListServersResponse,
3134
unmarshalOS,
35+
marshalPrivateNetworkApiAddServerPrivateNetworkRequest,
36+
marshalPrivateNetworkApiSetServerPrivateNetworksRequest,
37+
marshalReinstallServerRequest,
3238
unmarshalServer,
3339
unmarshalServerPrivateNetwork,
3440
unmarshalServerType,
3541
unmarshalSetServerPrivateNetworksResponse,
42+
marshalStartConnectivityDiagnosticRequest,
3643
unmarshalStartConnectivityDiagnosticResponse,
44+
marshalUpdateServerRequest,
3745
} from './marshalling.gen.js'
3846
import type {
3947
BatchCreateServersRequest,
@@ -48,10 +56,10 @@ import type {
4856
ListOSRequest,
4957
ListOSResponse,
5058
ListServerPrivateNetworksResponse,
51-
ListServersRequest,
52-
ListServersResponse,
5359
ListServerTypesRequest,
5460
ListServerTypesResponse,
61+
ListServersRequest,
62+
ListServersResponse,
5563
OS,
5664
PrivateNetworkApiAddServerPrivateNetworkRequest,
5765
PrivateNetworkApiDeleteServerPrivateNetworkRequest,

packages_generated/applesilicon/src/v1alpha1/index.gen.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ export type {
2727
ListOSResponse,
2828
ListServerPrivateNetworksRequestOrderBy,
2929
ListServerPrivateNetworksResponse,
30+
ListServerTypesRequest,
31+
ListServerTypesResponse,
3032
ListServersRequest,
3133
ListServersRequestOrderBy,
3234
ListServersResponse,
33-
ListServerTypesRequest,
34-
ListServerTypesResponse,
3535
OS,
3636
OSSupportedServerType,
3737
PrivateNetworkApiAddServerPrivateNetworkRequest,
@@ -53,8 +53,8 @@ export type {
5353
ServerTypeDisk,
5454
ServerTypeGPU,
5555
ServerTypeMemory,
56-
ServerTypeNetwork,
5756
ServerTypeNPU,
57+
ServerTypeNetwork,
5858
ServerTypeStock,
5959
SetServerPrivateNetworksResponse,
6060
StartConnectivityDiagnosticRequest,

packages_generated/applesilicon/src/v1alpha1/marshalling.gen.ts

Lines changed: 37 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,60 @@
11
// This file was automatically generated. DO NOT EDIT.
22
// If you have any remark or suggestion do not hesitate to open an issue.
33
import randomName from '@scaleway/random-name'
4-
import type { DefaultValues } from '@scaleway/sdk-client'
54
import {
65
isJSONObject,
6+
marshalBlobToScwFile,
7+
marshalDecimal,
8+
marshalMoney,
9+
marshalScwFile,
10+
marshalTimeSeries,
11+
resolveOneOf,
712
unmarshalArrayOfObject,
813
unmarshalDate,
14+
unmarshalDecimal,
15+
unmarshalMapOfObject,
16+
unmarshalMoney,
17+
unmarshalScwFile,
18+
unmarshalServiceInfo,
19+
unmarshalTimeSeries,
20+
unmarshalTimeSeriesPoint,
21+
} from '@scaleway/sdk-client'
22+
import type {
23+
Zone as ScwZone,
24+
Region as ScwRegion,
25+
DefaultValues,
926
} from '@scaleway/sdk-client'
1027
import type {
11-
BatchCreateServersRequest,
12-
BatchCreateServersRequestBatchInnerCreateServerRequest,
13-
BatchCreateServersResponse,
14-
Commitment,
15-
CommitmentTypeValue,
16-
ConnectivityDiagnostic,
17-
ConnectivityDiagnosticServerHealth,
18-
CreateServerRequest,
19-
ListOSResponse,
20-
ListServerPrivateNetworksResponse,
21-
ListServersResponse,
22-
ListServerTypesResponse,
23-
OS,
2428
OSSupportedServerType,
25-
PrivateNetworkApiAddServerPrivateNetworkRequest,
26-
PrivateNetworkApiSetServerPrivateNetworksRequest,
27-
ReinstallServerRequest,
29+
OS,
30+
Commitment,
2831
RunnerConfiguration,
2932
Server,
3033
ServerPrivateNetwork,
31-
ServerType,
3234
ServerTypeCPU,
3335
ServerTypeDisk,
3436
ServerTypeGPU,
3537
ServerTypeMemory,
36-
ServerTypeNetwork,
3738
ServerTypeNPU,
39+
ServerTypeNetwork,
40+
ServerType,
41+
BatchCreateServersResponse,
42+
ConnectivityDiagnosticServerHealth,
43+
ConnectivityDiagnostic,
44+
ListOSResponse,
45+
ListServerPrivateNetworksResponse,
46+
ListServerTypesResponse,
47+
ListServersResponse,
3848
SetServerPrivateNetworksResponse,
39-
StartConnectivityDiagnosticRequest,
4049
StartConnectivityDiagnosticResponse,
50+
BatchCreateServersRequestBatchInnerCreateServerRequest,
51+
BatchCreateServersRequest,
52+
CreateServerRequest,
53+
PrivateNetworkApiAddServerPrivateNetworkRequest,
54+
PrivateNetworkApiSetServerPrivateNetworksRequest,
55+
ReinstallServerRequest,
56+
StartConnectivityDiagnosticRequest,
57+
CommitmentTypeValue,
4158
UpdateServerRequest,
4259
} from './types.gen.js'
4360

packages_generated/applesilicon/src/v1alpha1/types.gen.ts

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,14 @@
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-
import type { Zone as ScwZone } from '@scaleway/sdk-client'
3+
import type {
4+
Decimal,
5+
Money,
6+
ServiceInfo,
7+
Region as ScwRegion,
8+
ScwFile,
9+
TimeSeries,
10+
Zone as ScwZone,
11+
} from '@scaleway/sdk-client'
412

513
export type CommitmentType = 'duration_24h' | 'renewed_monthly' | 'none'
614

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

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
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-
4-
import type { ApiLocality } from '@scaleway/sdk-client'
53
import {
6-
enrichForPagination,
74
API as ParentAPI,
8-
toApiLocality,
5+
enrichForPagination,
6+
resolveOneOf,
7+
unmarshalServiceInfo,
98
urlParams,
109
validatePathParam,
10+
waitForResource,
11+
toApiLocality,
12+
} from '@scaleway/sdk-client'
13+
import type {
14+
Zone as ScwZone,
15+
Region as ScwRegion,
16+
ServiceInfo,
17+
WaitForOptions,
18+
ApiLocality,
1119
} from '@scaleway/sdk-client'
1220
import {
1321
marshalCreateExportJobRequest,

packages_generated/audit_trail/src/v1alpha1/index.gen.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ export type {
99
AppleSiliconServerInfo,
1010
AuthenticationEvent,
1111
AuthenticationEventFailureReason,
12-
AuthenticationEventMethod,
1312
AuthenticationEventMFAType,
13+
AuthenticationEventMethod,
1414
AuthenticationEventOrigin,
1515
AuthenticationEventResult,
1616
BaremetalServerInfo,

0 commit comments

Comments
 (0)