From 28707f441b57c7ce46b250fa86ef44d95fdd2813 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Mon, 29 Jan 2024 15:23:17 +0000 Subject: [PATCH] feat: update generated APIs --- .../clients/src/api/webhosting/v1alpha1/marshalling.gen.ts | 1 + packages/clients/src/api/webhosting/v1alpha1/types.gen.ts | 3 +++ 2 files changed, 4 insertions(+) diff --git a/packages/clients/src/api/webhosting/v1alpha1/marshalling.gen.ts b/packages/clients/src/api/webhosting/v1alpha1/marshalling.gen.ts index aa6bfe3b5..169915f88 100644 --- a/packages/clients/src/api/webhosting/v1alpha1/marshalling.gen.ts +++ b/packages/clients/src/api/webhosting/v1alpha1/marshalling.gen.ts @@ -237,6 +237,7 @@ export const marshalCreateHostingRequest = ( ): Record => ({ domain: request.domain, email: request.email, + language: request.language, offer_id: request.offerId, option_ids: request.optionIds, project_id: request.projectId ?? defaults.defaultProjectId, diff --git a/packages/clients/src/api/webhosting/v1alpha1/types.gen.ts b/packages/clients/src/api/webhosting/v1alpha1/types.gen.ts index 315e48e96..ef7b2cf01 100644 --- a/packages/clients/src/api/webhosting/v1alpha1/types.gen.ts +++ b/packages/clients/src/api/webhosting/v1alpha1/types.gen.ts @@ -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' @@ -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 = {