Skip to content
Closed
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
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import type {
VolumeType,
} from './types.gen'

export const unmarshalReference = (data: unknown): Reference => {
const unmarshalReference = (data: unknown): Reference => {
if (!isJSONObject(data)) {
throw new TypeError(
`Unmarshalling the type 'Reference' failed as data isn't a dictionary.`,
Expand Down
28 changes: 14 additions & 14 deletions packages/clients/src/api/inference/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ export interface NodeType {
region: ScwRegion
}

export interface CreateDeploymentRequest {
export type CreateDeploymentRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand Down Expand Up @@ -259,7 +259,7 @@ export interface CreateDeploymentRequest {
quantization?: DeploymentQuantization
}

export interface CreateEndpointRequest {
export type CreateEndpointRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -271,7 +271,7 @@ export interface CreateEndpointRequest {
endpoint: EndpointSpec
}

export interface CreateModelRequest {
export type CreateModelRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -285,7 +285,7 @@ export interface CreateModelRequest {
source: ModelSource
}

export interface DeleteDeploymentRequest {
export type DeleteDeploymentRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -295,7 +295,7 @@ export interface DeleteDeploymentRequest {
deploymentId: string
}

export interface DeleteEndpointRequest {
export type DeleteEndpointRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -305,7 +305,7 @@ export interface DeleteEndpointRequest {
endpointId: string
}

export interface DeleteModelRequest {
export type DeleteModelRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -315,7 +315,7 @@ export interface DeleteModelRequest {
modelId: string
}

export interface GetDeploymentCertificateRequest {
export type GetDeploymentCertificateRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -324,7 +324,7 @@ export interface GetDeploymentCertificateRequest {
deploymentId: string
}

export interface GetDeploymentRequest {
export type GetDeploymentRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -334,7 +334,7 @@ export interface GetDeploymentRequest {
deploymentId: string
}

export interface GetModelRequest {
export type GetModelRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -344,7 +344,7 @@ export interface GetModelRequest {
modelId: string
}

export interface ListDeploymentsRequest {
export type ListDeploymentsRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand Down Expand Up @@ -373,7 +373,7 @@ export interface ListDeploymentsResponse {
totalCount: number
}

export interface ListModelsRequest {
export type ListModelsRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -400,7 +400,7 @@ export interface ListModelsResponse {
totalCount: number
}

export interface ListNodeTypesRequest {
export type ListNodeTypesRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -421,7 +421,7 @@ export interface ListNodeTypesResponse {
totalCount: number
}

export interface UpdateDeploymentRequest {
export type UpdateDeploymentRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand All @@ -439,7 +439,7 @@ export interface UpdateDeploymentRequest {
maxSize?: number
}

export interface UpdateEndpointRequest {
export type UpdateEndpointRequest = {
/**
* Region to target. If none is passed will use default region from the
* config.
Expand Down
2 changes: 1 addition & 1 deletion packages/clients/src/api/lb/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@ export interface RouteMatch {
*/
sni?: string
/**
* Value to match in the HTTP Host request header from an incoming connection.
* Value to match in the HTTP Host request header from an incoming request.
* This field should be set for routes on HTTP Load Balancers.
*
* One-of ('matchType'): at most one of 'sni', 'hostHeader' could be set.
Expand Down
Loading