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
2 changes: 1 addition & 1 deletion packages/clients/src/api/account/v3/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
enrichForPagination,
urlParams,
validatePathParam,
} from '../../../bridge'
} from '@scaleway/sdk-client'
import {
marshalContractApiCheckContractSignatureRequest,
marshalContractApiCreateContractSignatureRequest,
Expand Down
4 changes: 2 additions & 2 deletions packages/clients/src/api/account/v3/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
resolveOneOf,
unmarshalArrayOfObject,
unmarshalDate,
} from '../../../bridge'
import type { DefaultValues } from '../../../bridge'
} from '@scaleway/sdk-client'
import type { DefaultValues } from '@scaleway/sdk-client'
import type {
CheckContractSignatureResponse,
Contract,
Expand Down
4 changes: 2 additions & 2 deletions packages/clients/src/api/applesilicon/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
urlParams,
validatePathParam,
waitForResource,
} from '../../../bridge'
import type { Zone as ScwZone, WaitForOptions } from '../../../bridge'
} from '@scaleway/sdk-client'
import type { Zone as ScwZone, 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 Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
isJSONObject,
unmarshalArrayOfObject,
unmarshalDate,
} from '../../../bridge'
import type { DefaultValues } from '../../../bridge'
} from '@scaleway/sdk-client'
import type { DefaultValues } from '@scaleway/sdk-client'
import type {
Commitment,
CommitmentTypeValue,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +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 { Zone as ScwZone } from '../../../bridge'
import type { Zone as ScwZone } from '@scaleway/sdk-client'

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

Expand Down
8 changes: 6 additions & 2 deletions packages/clients/src/api/audit_trail/v1alpha1/api.gen.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
// This file was automatically generated. DO NOT EDIT.
// If you have any remark or suggestion do not hesitate to open an issue.
import { API as ParentAPI, urlParams, validatePathParam } from '../../../bridge'
import type { Region as ScwRegion } from '../../../bridge'
import {
API as ParentAPI,
urlParams,
validatePathParam,
} from '@scaleway/sdk-client'
import type { Region as ScwRegion } from '@scaleway/sdk-client'
import {
unmarshalListEventsResponse,
unmarshalListProductsResponse,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
isJSONObject,
unmarshalArrayOfObject,
unmarshalDate,
} from '../../../bridge'
} from '@scaleway/sdk-client'
import type {
Event,
EventPrincipal,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +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 { Region as ScwRegion } from '../../../bridge'
import type { Region as ScwRegion } from '@scaleway/sdk-client'

export type ListEventsRequestOrderBy = 'recorded_at_desc' | 'recorded_at_asc'

Expand Down
4 changes: 2 additions & 2 deletions packages/clients/src/api/baremetal/v1/api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import {
urlParams,
validatePathParam,
waitForResource,
} from '../../../bridge'
import type { Zone as ScwZone, WaitForOptions } from '../../../bridge'
} from '@scaleway/sdk-client'
import type { Zone as ScwZone, WaitForOptions } from '@scaleway/sdk-client'
import { SERVER_TRANSIENT_STATUSES as SERVER_TRANSIENT_STATUSES_BAREMETAL } from './content.gen'
import {
marshalAddOptionServerRequest,
Expand Down
4 changes: 2 additions & 2 deletions packages/clients/src/api/baremetal/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
unmarshalDate,
unmarshalMoney,
unmarshalTimeSeries,
} from '../../../bridge'
import type { DefaultValues } from '../../../bridge'
} from '@scaleway/sdk-client'
import type { DefaultValues } from '@scaleway/sdk-client'
import type {
AddOptionServerRequest,
BMCAccess,
Expand Down
66 changes: 33 additions & 33 deletions packages/clients/src/api/baremetal/v1/types.gen.ts
Original file line number Diff line number Diff line change
@@ -1,6 +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 { Money, Zone as ScwZone, TimeSeries } from '../../../bridge'
import type { Money, Zone as ScwZone, TimeSeries } from '@scaleway/sdk-client'

export type IPReverseStatus = 'unknown' | 'pending' | 'active' | 'error'

Expand Down Expand Up @@ -611,7 +611,7 @@ export interface Setting {
enabled: boolean
}

export interface AddOptionServerRequest {
export type AddOptionServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server. */
Expand Down Expand Up @@ -642,7 +642,7 @@ export interface BMCAccess {
expiresAt?: Date
}

export interface CreateServerRequest {
export type CreateServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Offer ID of the new server. */
Expand Down Expand Up @@ -676,7 +676,7 @@ export interface CreateServerRequest {
optionIds?: string[]
}

export interface DeleteOptionServerRequest {
export type DeleteOptionServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server. */
Expand All @@ -685,21 +685,21 @@ export interface DeleteOptionServerRequest {
optionId: string
}

export interface DeleteServerRequest {
export type DeleteServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server to delete. */
serverId: string
}

export interface GetBMCAccessRequest {
export type GetBMCAccessRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server. */
serverId: string
}

export interface GetDefaultPartitioningSchemaRequest {
export type GetDefaultPartitioningSchemaRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the offer. */
Expand All @@ -708,28 +708,28 @@ export interface GetDefaultPartitioningSchemaRequest {
osId: string
}

export interface GetOSRequest {
export type GetOSRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the OS. */
osId: string
}

export interface GetOfferRequest {
export type GetOfferRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the researched Offer. */
offerId: string
}

export interface GetOptionRequest {
export type GetOptionRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the option. */
optionId: string
}

export interface GetServerMetricsRequest {
export type GetServerMetricsRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Server ID to get the metrics. */
Expand All @@ -741,14 +741,14 @@ export interface GetServerMetricsResponse {
pings?: TimeSeries
}

export interface GetServerRequest {
export type GetServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server. */
serverId: string
}

export interface InstallServerRequest {
export type InstallServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Server ID to install. */
Expand All @@ -771,7 +771,7 @@ export interface InstallServerRequest {
partitioningSchema?: Schema
}

export interface ListOSRequest {
export type ListOSRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Page number. */
Expand All @@ -789,7 +789,7 @@ export interface ListOSResponse {
os: OS[]
}

export interface ListOffersRequest {
export type ListOffersRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Page number. */
Expand All @@ -809,7 +809,7 @@ export interface ListOffersResponse {
offers: Offer[]
}

export interface ListOptionsRequest {
export type ListOptionsRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Page number. */
Expand All @@ -829,7 +829,7 @@ export interface ListOptionsResponse {
options: Option[]
}

export interface ListServerEventsRequest {
export type ListServerEventsRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server events searched. */
Expand All @@ -854,7 +854,7 @@ export interface ListServerPrivateNetworksResponse {
totalCount: number
}

export interface ListServersRequest {
export type ListServersRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Page number. */
Expand Down Expand Up @@ -884,7 +884,7 @@ export interface ListServersResponse {
servers: Server[]
}

export interface ListSettingsRequest {
export type ListSettingsRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Page number. */
Expand All @@ -904,14 +904,14 @@ export interface ListSettingsResponse {
settings: Setting[]
}

export interface MigrateServerToMonthlyOfferRequest {
export type MigrateServerToMonthlyOfferRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server. */
serverId: string
}

export interface PrivateNetworkApiAddServerPrivateNetworkRequest {
export type PrivateNetworkApiAddServerPrivateNetworkRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** The ID of the server. */
Expand All @@ -920,7 +920,7 @@ export interface PrivateNetworkApiAddServerPrivateNetworkRequest {
privateNetworkId: string
}

export interface PrivateNetworkApiDeleteServerPrivateNetworkRequest {
export type PrivateNetworkApiDeleteServerPrivateNetworkRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** The ID of the server. */
Expand All @@ -929,7 +929,7 @@ export interface PrivateNetworkApiDeleteServerPrivateNetworkRequest {
privateNetworkId: string
}

export interface PrivateNetworkApiListServerPrivateNetworksRequest {
export type PrivateNetworkApiListServerPrivateNetworksRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** The sort order for the returned Private Networks. */
Expand All @@ -948,7 +948,7 @@ export interface PrivateNetworkApiListServerPrivateNetworksRequest {
projectId?: string
}

export interface PrivateNetworkApiSetServerPrivateNetworksRequest {
export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** The ID of the server. */
Expand All @@ -957,7 +957,7 @@ export interface PrivateNetworkApiSetServerPrivateNetworksRequest {
privateNetworkIds: string[]
}

export interface RebootServerRequest {
export type RebootServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server to reboot. */
Expand All @@ -970,7 +970,7 @@ export interface SetServerPrivateNetworksResponse {
serverPrivateNetworks: ServerPrivateNetwork[]
}

export interface StartBMCAccessRequest {
export type StartBMCAccessRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server. */
Expand All @@ -979,7 +979,7 @@ export interface StartBMCAccessRequest {
ip: string
}

export interface StartServerRequest {
export type StartServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server to start. */
Expand All @@ -988,21 +988,21 @@ export interface StartServerRequest {
bootType?: ServerBootType
}

export interface StopBMCAccessRequest {
export type StopBMCAccessRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server. */
serverId: string
}

export interface StopServerRequest {
export type StopServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server to stop. */
serverId: string
}

export interface UpdateIPRequest {
export type UpdateIPRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server. */
Expand All @@ -1013,7 +1013,7 @@ export interface UpdateIPRequest {
reverse?: string
}

export interface UpdateServerRequest {
export type UpdateServerRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the server to update. */
Expand All @@ -1029,7 +1029,7 @@ export interface UpdateServerRequest {
tags?: string[]
}

export interface UpdateSettingRequest {
export type UpdateSettingRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** ID of the setting. */
Expand All @@ -1038,7 +1038,7 @@ export interface UpdateSettingRequest {
enabled?: boolean
}

export interface ValidatePartitioningSchemaRequest {
export type ValidatePartitioningSchemaRequest = {
/** Zone to target. If none is passed will use default zone from the config. */
zone?: ScwZone
/** Partitioning schema. */
Expand Down
Loading
Loading