Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ format-check:

format-generated:
pnpm install
pnpm eslint --config eslint.config.generated.mjs --fix packages_generated/**/*.ts
pnpm biome check --linter-enabled=false --write packages_generated/
pnpm eslint --config eslint.config.generated.mjs --fix 'packages_generated/**/*.ts'
pnpm biome format --write packages_generated/

typing:
pnpm run typecheck
Expand Down
3 changes: 2 additions & 1 deletion packages_generated/account/src/v3/api.gen.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.
import {
enrichForPagination,
API as ParentAPI,
enrichForPagination,
urlParams,
validatePathParam,
} from '@scaleway/sdk-client'

import {
marshalContractApiCheckContractSignatureRequest,
marshalContractApiCreateContractSignatureRequest,
Expand Down
2 changes: 1 addition & 1 deletion packages_generated/account/src/v3/marshalling.gen.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.
import randomName from '@scaleway/random-name'
import type { DefaultValues } from '@scaleway/sdk-client'
import {
isJSONObject,
resolveOneOf,
unmarshalArrayOfObject,
unmarshalDate,
} from '@scaleway/sdk-client'
import type { DefaultValues } from '@scaleway/sdk-client'
import type {
CheckContractSignatureResponse,
Contract,
Expand Down
1 change: 1 addition & 0 deletions packages_generated/account/src/v3/types.gen.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.

import type { LanguageCode as StdLanguageCode } from '@scaleway/sdk-std'

export type ContractType =
Expand Down
11 changes: 5 additions & 6 deletions packages_generated/applesilicon/src/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.

import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client'
import {
enrichForPagination,
API as ParentAPI,
enrichForPagination,
toApiLocality,
urlParams,
validatePathParam,
waitForResource,
} from '@scaleway/sdk-client'
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client'
import {
SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES as SERVER_PRIVATE_NETWORK_SERVER_TRANSIENT_STATUSES_APPLESILICON,
SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_APPLESILICON,
Expand All @@ -26,8 +25,8 @@ import {
unmarshalConnectivityDiagnostic,
unmarshalListOSResponse,
unmarshalListServerPrivateNetworksResponse,
unmarshalListServersResponse,
unmarshalListServerTypesResponse,
unmarshalListServersResponse,
unmarshalOS,
unmarshalServer,
unmarshalServerPrivateNetwork,
Expand All @@ -48,10 +47,10 @@ import type {
ListOSRequest,
ListOSResponse,
ListServerPrivateNetworksResponse,
ListServersRequest,
ListServersResponse,
ListServerTypesRequest,
ListServerTypesResponse,
ListServersRequest,
ListServersResponse,
OS,
PrivateNetworkApiAddServerPrivateNetworkRequest,
PrivateNetworkApiDeleteServerPrivateNetworkRequest,
Expand Down
6 changes: 3 additions & 3 deletions packages_generated/applesilicon/src/v1alpha1/index.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ export type {
ListOSResponse,
ListServerPrivateNetworksRequestOrderBy,
ListServerPrivateNetworksResponse,
ListServerTypesRequest,
ListServerTypesResponse,
ListServersRequest,
ListServersRequestOrderBy,
ListServersResponse,
ListServerTypesRequest,
ListServerTypesResponse,
OS,
OSSupportedServerType,
PrivateNetworkApiAddServerPrivateNetworkRequest,
Expand All @@ -53,8 +53,8 @@ export type {
ServerTypeDisk,
ServerTypeGPU,
ServerTypeMemory,
ServerTypeNetwork,
ServerTypeNPU,
ServerTypeNetwork,
ServerTypeStock,
SetServerPrivateNetworksResponse,
StartConnectivityDiagnosticRequest,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.
import randomName from '@scaleway/random-name'
import type { DefaultValues } from '@scaleway/sdk-client'
import {
isJSONObject,
unmarshalArrayOfObject,
unmarshalDate,
} from '@scaleway/sdk-client'
import type { DefaultValues } from '@scaleway/sdk-client'
import type {
BatchCreateServersRequest,
BatchCreateServersRequestBatchInnerCreateServerRequest,
Expand All @@ -18,8 +18,8 @@ import type {
CreateServerRequest,
ListOSResponse,
ListServerPrivateNetworksResponse,
ListServersResponse,
ListServerTypesResponse,
ListServersResponse,
OS,
OSSupportedServerType,
PrivateNetworkApiAddServerPrivateNetworkRequest,
Expand All @@ -33,8 +33,8 @@ import type {
ServerTypeDisk,
ServerTypeGPU,
ServerTypeMemory,
ServerTypeNetwork,
ServerTypeNPU,
ServerTypeNetwork,
SetServerPrivateNetworksResponse,
StartConnectivityDiagnosticRequest,
StartConnectivityDiagnosticResponse,
Expand Down
5 changes: 2 additions & 3 deletions packages_generated/audit_trail/src/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.

import type { ApiLocality } from '@scaleway/sdk-client'
import {
enrichForPagination,
API as ParentAPI,
enrichForPagination,
toApiLocality,
urlParams,
validatePathParam,
} from '@scaleway/sdk-client'
import type { ApiLocality } from '@scaleway/sdk-client'
import {
marshalCreateExportJobRequest,
unmarshalExportJob,
Expand Down
2 changes: 1 addition & 1 deletion packages_generated/audit_trail/src/v1alpha1/index.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ export type {
AppleSiliconServerInfo,
AuthenticationEvent,
AuthenticationEventFailureReason,
AuthenticationEventMethod,
AuthenticationEventMFAType,
AuthenticationEventMethod,
AuthenticationEventOrigin,
AuthenticationEventResult,
BaremetalServerInfo,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.

import type { DefaultValues } from '@scaleway/sdk-client'
import {
isJSONObject,
resolveOneOf,
unmarshalArrayOfObject,
unmarshalDate,
} from '@scaleway/sdk-client'
import type { DefaultValues } from '@scaleway/sdk-client'
import type {
AccountOrganizationInfo,
AccountProjectInfo,
Expand Down
3 changes: 2 additions & 1 deletion packages_generated/autoscaling/src/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.
import {
enrichForPagination,
API as ParentAPI,
enrichForPagination,
urlParams,
validatePathParam,
} from '@scaleway/sdk-client'

import {
marshalCreateInstanceGroupRequest,
marshalCreateInstancePolicyRequest,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.

import type { DefaultValues } from '@scaleway/sdk-client'
import {
isJSONObject,
resolveOneOf,
unmarshalArrayOfObject,
unmarshalDate,
unmarshalMapOfObject,
} from '@scaleway/sdk-client'
import type { DefaultValues } from '@scaleway/sdk-client'
import type {
Capacity,
CreateInstanceGroupRequest,
Expand Down
19 changes: 9 additions & 10 deletions packages_generated/baremetal/src/v1/api.gen.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.

import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client'
import {
enrichForPagination,
API as ParentAPI,
enrichForPagination,
toApiLocality,
urlParams,
validatePathParam,
waitForResource,
} from '@scaleway/sdk-client'
import type { ApiLocality, WaitForOptions } from '@scaleway/sdk-client'
import { SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_BAREMETAL } from './content.gen.js'
import {
marshalAddOptionServerRequest,
Expand All @@ -27,16 +26,16 @@ import {
unmarshalBMCAccess,
unmarshalGetServerMetricsResponse,
unmarshalIP,
unmarshalListOSResponse,
unmarshalListOffersResponse,
unmarshalListOptionsResponse,
unmarshalListOSResponse,
unmarshalListServerEventsResponse,
unmarshalListServerPrivateNetworksResponse,
unmarshalListServersResponse,
unmarshalListSettingsResponse,
unmarshalOS,
unmarshalOffer,
unmarshalOption,
unmarshalOS,
unmarshalSchema,
unmarshalServer,
unmarshalServerPrivateNetwork,
Expand All @@ -51,20 +50,20 @@ import type {
DeleteServerRequest,
GetBMCAccessRequest,
GetDefaultPartitioningSchemaRequest,
GetOSRequest,
GetOfferRequest,
GetOptionRequest,
GetOSRequest,
GetServerMetricsRequest,
GetServerMetricsResponse,
GetServerRequest,
InstallServerRequest,
IP,
InstallServerRequest,
ListOSRequest,
ListOSResponse,
ListOffersRequest,
ListOffersResponse,
ListOptionsRequest,
ListOptionsResponse,
ListOSRequest,
ListOSResponse,
ListServerEventsRequest,
ListServerEventsResponse,
ListServerPrivateNetworksResponse,
Expand All @@ -73,9 +72,9 @@ import type {
ListSettingsRequest,
ListSettingsResponse,
MigrateServerToMonthlyOfferRequest,
OS,
Offer,
Option,
OS,
PrivateNetworkApiAddServerPrivateNetworkRequest,
PrivateNetworkApiDeleteServerPrivateNetworkRequest,
PrivateNetworkApiListServerPrivateNetworksRequest,
Expand Down
16 changes: 8 additions & 8 deletions packages_generated/baremetal/src/v1/index.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,33 +9,33 @@ export * from './marshalling.gen.js'
export type {
AddOptionServerRequest,
BMCAccess,
CertificationOption,
CPU,
CertificationOption,
CreateServerRequest,
CreateServerRequestInstall,
DeleteOptionServerRequest,
DeleteServerRequest,
Disk,
GPU,
GetBMCAccessRequest,
GetDefaultPartitioningSchemaRequest,
GetOSRequest,
GetOfferRequest,
GetOptionRequest,
GetOSRequest,
GetServerMetricsRequest,
GetServerMetricsResponse,
GetServerRequest,
GPU,
InstallServerRequest,
IP,
IPReverseStatus,
IPVersion,
InstallServerRequest,
LicenseOption,
ListOSRequest,
ListOSResponse,
ListOffersRequest,
ListOffersResponse,
ListOptionsRequest,
ListOptionsResponse,
ListOSRequest,
ListOSResponse,
ListServerEventsRequest,
ListServerEventsRequestOrderBy,
ListServerEventsResponse,
Expand All @@ -49,13 +49,13 @@ export type {
ListSettingsResponse,
Memory,
MigrateServerToMonthlyOfferRequest,
OS,
OSOSField,
Offer,
OfferOptionOffer,
OfferStock,
OfferSubscriptionPeriod,
Option,
OS,
OSOSField,
PersistentMemory,
PrivateNetworkApiAddServerPrivateNetworkRequest,
PrivateNetworkApiDeleteServerPrivateNetworkRequest,
Expand Down
15 changes: 7 additions & 8 deletions packages_generated/baremetal/src/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.

import type { DefaultValues } from '@scaleway/sdk-client'
import {
isJSONObject,
resolveOneOf,
Expand All @@ -10,32 +8,33 @@ import {
unmarshalMoney,
unmarshalTimeSeries,
} from '@scaleway/sdk-client'
import type { DefaultValues } from '@scaleway/sdk-client'
import type {
AddOptionServerRequest,
BMCAccess,
CertificationOption,
CPU,
CertificationOption,
CreateServerRequest,
CreateServerRequestInstall,
Disk,
GetServerMetricsResponse,
GPU,
InstallServerRequest,
GetServerMetricsResponse,
IP,
InstallServerRequest,
LicenseOption,
ListOSResponse,
ListOffersResponse,
ListOptionsResponse,
ListOSResponse,
ListServerEventsResponse,
ListServerPrivateNetworksResponse,
ListServersResponse,
ListSettingsResponse,
Memory,
OS,
OSOSField,
Offer,
OfferOptionOffer,
Option,
OS,
OSOSField,
PersistentMemory,
PrivateNetworkApiAddServerPrivateNetworkRequest,
PrivateNetworkApiSetServerPrivateNetworksRequest,
Expand Down
Loading
Loading