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 packages/clients/src/api/account/v2/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export interface ListProjectsResponse {
/** The total number of projects */
totalCount: number
/** The paginated returned projects */
projects: Array<Project>
projects: Project[]
}

/** Project */
Expand Down Expand Up @@ -52,7 +52,7 @@ export type ListProjectsRequest = {
/** The sort order of the returned projects */
orderBy?: ListProjectsRequestOrderBy
/** Filter out by a list of project ID */
projectIds?: Array<string>
projectIds?: string[]
}

export type GetProjectRequest = {
Expand Down
8 changes: 4 additions & 4 deletions packages/clients/src/api/applesilicon/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,21 @@ export interface ListOSResponse {
/** Total number of os */
totalCount: number
/** List of OS */
os: Array<OS>
os: OS[]
}

/** List server types response */
export interface ListServerTypesResponse {
/** The available server types */
serverTypes: Array<ServerType>
serverTypes: ServerType[]
}

/** List servers response */
export interface ListServersResponse {
/** The total number of servers */
totalCount: number
/** The paginated returned servers */
servers: Array<Server>
servers: Server[]
}

/** Os */
Expand All @@ -55,7 +55,7 @@ export interface OS {
/** URL of the image */
imageUrl: string
/** List of compatible server types */
compatibleServerTypes: Array<string>
compatibleServerTypes: string[]
}

/** Server */
Expand Down
56 changes: 28 additions & 28 deletions packages/clients/src/api/baremetal/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ export interface CreateServerRequestInstall {
/** Hostname of the server */
hostname: string
/** SSH key IDs authorized on the server */
sshKeyIds: Array<string>
sshKeyIds: string[]
/** User used for the installation */
user?: string
/** Password used for the installation */
Expand Down Expand Up @@ -160,35 +160,35 @@ export interface ListOSResponse {
/** Total count of matching OS */
totalCount: number
/** OS that match filters */
os: Array<OS>
os: OS[]
}

/** List offers response */
export interface ListOffersResponse {
/** Total count of matching offers */
totalCount: number
/** Offers that match filters */
offers: Array<Offer>
offers: Offer[]
}

/** List options response */
export interface ListOptionsResponse {
/** Total count of matching options */
totalCount: number
/** Options that match filters */
options: Array<Option>
options: Option[]
}

/** List server events response */
export interface ListServerEventsResponse {
/** Total count of matching events */
totalCount: number
/** Server events that match filters */
events: Array<ServerEvent>
events: ServerEvent[]
}

export interface ListServerPrivateNetworksResponse {
serverPrivateNetworks: Array<ServerPrivateNetwork>
serverPrivateNetworks: ServerPrivateNetwork[]
totalCount: number
}

Expand All @@ -197,15 +197,15 @@ export interface ListServersResponse {
/** Total count of matching servers */
totalCount: number
/** Servers that match filters */
servers: Array<Server>
servers: Server[]
}

/** List settings response */
export interface ListSettingsResponse {
/** Total count of matching sttings */
totalCount: number
/** Settings that match filters */
settings: Array<Setting>
settings: Setting[]
}

/** Memory */
Expand Down Expand Up @@ -272,29 +272,29 @@ export interface Offer {
/** Price of the offer per months */
pricePerMonth?: Money
/** Disks specifications of the offer */
disks: Array<Disk>
disks: Disk[]
/** True if the offer is currently available */
enable: boolean
/** CPU specifications of the offer */
cpus: Array<CPU>
cpus: CPU[]
/** Memory specifications of the offer */
memories: Array<Memory>
memories: Memory[]
/** Name of the quota associated to the offer */
quotaName: string
/** Persistent memory specifications of the offer */
persistentMemories: Array<PersistentMemory>
persistentMemories: PersistentMemory[]
/** Raid controller specifications of the offer */
raidControllers: Array<RaidController>
raidControllers: RaidController[]
/** Array of incompatible OS ids */
incompatibleOsIds: Array<string>
incompatibleOsIds: string[]
/** Period of subscription for the offer */
subscriptionPeriod: OfferSubscriptionPeriod
/** Operation path of the service */
operationPath: string
/** Fee to pay on order */
fee?: Money
/** Options available on offer */
options: Array<OfferOptionOffer>
options: OfferOptionOffer[]
}

/** Offer. option offer */
Expand Down Expand Up @@ -340,7 +340,7 @@ export interface PersistentMemory {

export interface RaidController {
model: string
raidLevel: Array<string>
raidLevel: string[]
}

/** Server */
Expand All @@ -366,9 +366,9 @@ export interface Server {
/** Offer name of the server */
offerName: string
/** Array of customs tags attached to the server */
tags: Array<string>
tags: string[]
/** Array of IPs attached to the server */
ips: Array<IP>
ips: IP[]
/** Domain of the server */
domain: string
/** Boot type of the server */
Expand All @@ -380,7 +380,7 @@ export interface Server {
/** Server status of ping */
pingStatus: ServerPingStatus
/** Options enabled on server */
options: Array<ServerOption>
options: ServerOption[]
/** Configuration of rescue boot */
rescueServer?: ServerRescueServer
}
Expand All @@ -404,7 +404,7 @@ export interface ServerInstall {
/** Host defined in the server install */
hostname: string
/** SSH public key IDs defined in the server install */
sshKeyIds: Array<string>
sshKeyIds: string[]
/** Status of the server install */
status: ServerInstallStatus
/**
Expand Down Expand Up @@ -464,7 +464,7 @@ export interface ServerRescueServer {
}

export interface SetServerPrivateNetworksResponse {
serverPrivateNetworks: Array<ServerPrivateNetwork>
serverPrivateNetworks: ServerPrivateNetwork[]
}

/** Setting */
Expand All @@ -489,9 +489,9 @@ export type ListServersRequest = {
/** Order of the servers */
orderBy?: ListServersRequestOrderBy
/** Filter by tags */
tags?: Array<string>
tags?: string[]
/** Filter by status */
status?: Array<string>
status?: string[]
/** Filter by name */
name?: string
/** Filter by organization ID */
Expand Down Expand Up @@ -533,11 +533,11 @@ export type CreateServerRequest = {
/** Description associated to the server, max 255 characters */
description: string
/** Tags to associate to the server */
tags?: Array<string>
tags?: string[]
/** Configuration of installation */
install?: CreateServerRequestInstall
/** IDs of options to enable on server */
optionIds?: Array<string>
optionIds?: string[]
}

export type UpdateServerRequest = {
Expand All @@ -553,7 +553,7 @@ export type UpdateServerRequest = {
*/
description?: string
/** Tags associated to the server, not updated if null */
tags?: Array<string>
tags?: string[]
}

export type InstallServerRequest = {
Expand All @@ -566,7 +566,7 @@ export type InstallServerRequest = {
/** Hostname of the server */
hostname: string
/** SSH key IDs authorized on the server */
sshKeyIds: Array<string>
sshKeyIds: string[]
/** User used for the installation */
user?: string
/** Password used for the installation */
Expand Down Expand Up @@ -776,7 +776,7 @@ export type PrivateNetworkApiSetServerPrivateNetworksRequest = {
/** The ID of the server */
serverId: string
/** The IDs of the private networks */
privateNetworkIds: Array<string>
privateNetworkIds: string[]
}

export type PrivateNetworkApiListServerPrivateNetworksRequest = {
Expand Down
24 changes: 12 additions & 12 deletions packages/clients/src/api/container/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ export interface Container {
domainName: string
protocol: ContainerProtocol
port: number
secretEnvironmentVariables: Array<SecretHashedValue>
secretEnvironmentVariables: SecretHashedValue[]
/**
* Possible values:
*
Expand Down Expand Up @@ -136,36 +136,36 @@ export interface Domain {

/** List containers response */
export interface ListContainersResponse {
containers: Array<Container>
containers: Container[]
totalCount: number
}

/** List crons response */
export interface ListCronsResponse {
crons: Array<Cron>
crons: Cron[]
totalCount: number
}

/** List domains response */
export interface ListDomainsResponse {
domains: Array<Domain>
domains: Domain[]
totalCount: number
}

/** List logs response */
export interface ListLogsResponse {
logs: Array<Log>
logs: Log[]
totalCount: number
}

/** List namespaces response */
export interface ListNamespacesResponse {
namespaces: Array<Namespace>
namespaces: Namespace[]
totalCount: number
}

export interface ListTokensResponse {
tokens: Array<Token>
tokens: Token[]
totalCount: number
}

Expand Down Expand Up @@ -194,7 +194,7 @@ export interface Namespace {
errorMessage?: string
registryEndpoint: string
description?: string
secretEnvironmentVariables: Array<SecretHashedValue>
secretEnvironmentVariables: SecretHashedValue[]
region: Region
}

Expand Down Expand Up @@ -247,7 +247,7 @@ export type CreateNamespaceRequest = {
environmentVariables?: Record<string, string>
projectId?: string
description?: string
secretEnvironmentVariables?: Array<Secret>
secretEnvironmentVariables?: Secret[]
}

export type UpdateNamespaceRequest = {
Expand All @@ -256,7 +256,7 @@ export type UpdateNamespaceRequest = {
namespaceId: string
environmentVariables?: Record<string, string>
description?: string
secretEnvironmentVariables?: Array<Secret>
secretEnvironmentVariables?: Secret[]
}

export type DeleteNamespaceRequest = {
Expand Down Expand Up @@ -299,7 +299,7 @@ export type CreateContainerRequest = {
maxConcurrency?: number
protocol?: ContainerProtocol
port?: number
secretEnvironmentVariables?: Array<Secret>
secretEnvironmentVariables?: Secret[]
/**
* Possible values:
*
Expand All @@ -326,7 +326,7 @@ export type UpdateContainerRequest = {
maxConcurrency?: number
protocol?: ContainerProtocol
port?: number
secretEnvironmentVariables?: Array<Secret>
secretEnvironmentVariables?: Secret[]
/**
* Possible values:
*
Expand Down
Loading