From eb9a6252b78d97ac50fdfd468849e638732f15e7 Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Tue, 3 Dec 2024 15:41:57 +0000 Subject: [PATCH] feat: update generated APIs --- packages/clients/src/api/webhosting/v1/marshalling.gen.ts | 1 + packages/clients/src/api/webhosting/v1/types.gen.ts | 2 ++ 2 files changed, 3 insertions(+) diff --git a/packages/clients/src/api/webhosting/v1/marshalling.gen.ts b/packages/clients/src/api/webhosting/v1/marshalling.gen.ts index 4cab12738..d50b5831c 100644 --- a/packages/clients/src/api/webhosting/v1/marshalling.gen.ts +++ b/packages/clients/src/api/webhosting/v1/marshalling.gen.ts @@ -249,6 +249,7 @@ const unmarshalHostingSummary = (data: unknown): HostingSummary => { } return { + createdAt: unmarshalDate(data.created_at), domain: data.domain, id: data.id, projectId: data.project_id, diff --git a/packages/clients/src/api/webhosting/v1/types.gen.ts b/packages/clients/src/api/webhosting/v1/types.gen.ts index 7f7090713..aa6a11667 100644 --- a/packages/clients/src/api/webhosting/v1/types.gen.ts +++ b/packages/clients/src/api/webhosting/v1/types.gen.ts @@ -140,6 +140,8 @@ export interface HostingSummary { id: string /** ID of the Scaleway Project the Web Hosting plan belongs to. */ projectId: string + /** Date on which the Web Hosting plan was created. */ + createdAt?: Date /** Date on which the Web Hosting plan was last updated. */ updatedAt?: Date /** Status of the Web Hosting plan. */