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
35 changes: 20 additions & 15 deletions packages/clients/src/api/container/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
// If you have any remark or suggestion do not hesitate to open an issue.
import type { Region } from '../../../bridge'

export type ContainerHttpOption =
| 'unknown_http_option'
| 'enabled'
| 'redirected'

export type ContainerPrivacy = 'unknown_privacy' | 'public' | 'private'

export type ContainerProtocol = 'unknown_protocol' | 'http1' | 'h2c'
Expand Down Expand Up @@ -99,13 +104,13 @@ export interface Container {
port: number
secretEnvironmentVariables: Array<SecretHashedValue>
/**
* @deprecated Possible values:
* Possible values:
*
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
*/
httpOption?: string
httpOption: ContainerHttpOption
region: Region
}

Expand Down Expand Up @@ -296,13 +301,13 @@ export type CreateContainerRequest = {
port?: number
secretEnvironmentVariables?: Array<Secret>
/**
* @deprecated Possible values:
* Possible values:
*
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
*/
httpOption?: string
httpOption: ContainerHttpOption
}

export type UpdateContainerRequest = {
Expand All @@ -323,13 +328,13 @@ export type UpdateContainerRequest = {
port?: number
secretEnvironmentVariables?: Array<Secret>
/**
* @deprecated Possible values:
* Possible values:
*
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
*/
httpOption?: string
httpOption: ContainerHttpOption
}

export type DeleteContainerRequest = {
Expand Down
35 changes: 20 additions & 15 deletions packages/clients/src/api/function/v1beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ export type DomainStatus =
| 'creating'
| 'pending'

export type FunctionHttpOption =
| 'unknown_http_option'
| 'enabled'
| 'redirected'

export type FunctionPrivacy = 'unknown_privacy' | 'public' | 'private'

export type FunctionRuntime =
Expand Down Expand Up @@ -214,13 +219,13 @@ export interface Function {
secretEnvironmentVariables: Array<SecretHashedValue>
region: Region
/**
* @deprecated Possible values:
* Possible values:
*
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
*/
httpOption?: string
httpOption: FunctionHttpOption
runtimeMessage: string
}

Expand Down Expand Up @@ -513,13 +518,13 @@ export type CreateFunctionRequest = {
description?: string
secretEnvironmentVariables?: Array<Secret>
/**
* @deprecated Possible values:
* Possible values:
*
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
*/
httpOption?: string
httpOption: FunctionHttpOption
}

export type UpdateFunctionRequest = {
Expand All @@ -538,13 +543,13 @@ export type UpdateFunctionRequest = {
description?: string
secretEnvironmentVariables?: Array<Secret>
/**
* @deprecated Possible values:
* Possible values:
*
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
* - Redirected: Responds to HTTP request with a 302 redirect to ask the clients
* to use HTTPS.
* - Enabled: Serve both HTTP and HTTPS traffic.
*/
httpOption?: string
httpOption: FunctionHttpOption
}

export type DeleteFunctionRequest = {
Expand Down