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
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ export const marshalCreateHostingRequest = (
): Record<string, unknown> => ({
domain: request.domain,
email: request.email,
language: request.language,
offer_id: request.offerId,
option_ids: request.optionIds,
project_id: request.projectId ?? defaults.defaultProjectId,
Expand Down
3 changes: 3 additions & 0 deletions packages/clients/src/api/webhosting/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
// 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, Region } from '../../../bridge'
import type { LanguageCode as StdLanguageCode } from '../../std/types.gen'

export type DnsRecordStatus = 'unknown_status' | 'valid' | 'invalid'

Expand Down Expand Up @@ -196,6 +197,8 @@ export type CreateHostingRequest = {
domain: string
/** IDs of any selected additional options for the Web Hosting plan. */
optionIds?: string[]
/** Default language for the control panel interface. */
language?: StdLanguageCode
}

export type DeleteHostingRequest = {
Expand Down