From 6e124a61a126d348a395ba9df7e02a93804e716a Mon Sep 17 00:00:00 2001 From: scaleway-bot Date: Mon, 29 Sep 2025 14:02:39 +0000 Subject: [PATCH] feat: update generated APIs --- .../environmental_footprint/src/index.gen.ts | 6 ++++++ .../src/v1alpha1/index.gen.ts | 19 +++++++++++++++++++ .../qaas/src/v1alpha1/marshalling.gen.ts | 3 +++ .../qaas/src/v1alpha1/types.gen.ts | 12 ++++++++++++ 4 files changed, 40 insertions(+) create mode 100644 packages_generated/environmental_footprint/src/index.gen.ts create mode 100644 packages_generated/environmental_footprint/src/v1alpha1/index.gen.ts diff --git a/packages_generated/environmental_footprint/src/index.gen.ts b/packages_generated/environmental_footprint/src/index.gen.ts new file mode 100644 index 000000000..0ea3ca009 --- /dev/null +++ b/packages_generated/environmental_footprint/src/index.gen.ts @@ -0,0 +1,6 @@ +/** + * This file is automatically generated + * PLEASE DO NOT EDIT HERE + */ + +export * as EnvironmentalFootprintv1alpha1 from './v1alpha1/index.gen' diff --git a/packages_generated/environmental_footprint/src/v1alpha1/index.gen.ts b/packages_generated/environmental_footprint/src/v1alpha1/index.gen.ts new file mode 100644 index 000000000..709a03504 --- /dev/null +++ b/packages_generated/environmental_footprint/src/v1alpha1/index.gen.ts @@ -0,0 +1,19 @@ +// This file was automatically generated. DO NOT EDIT. +// If you have any remark or suggestion do not hesitate to open an issue. +export { UserAPI } from './api.gen' +export * from './marshalling.gen' +export type { + Impact, + ImpactDataResponse, + ImpactReportAvailability, + ProductCategory, + ProjectImpact, + RegionImpact, + ReportType, + ServiceCategory, + SkuImpact, + UserApiDownloadImpactReportRequest, + UserApiGetImpactDataRequest, + UserApiGetImpactReportAvailabilityRequest, + ZoneImpact, +} from './types.gen' diff --git a/packages_generated/qaas/src/v1alpha1/marshalling.gen.ts b/packages_generated/qaas/src/v1alpha1/marshalling.gen.ts index 0ed8a3a3d..2a9259506 100644 --- a/packages_generated/qaas/src/v1alpha1/marshalling.gen.ts +++ b/packages_generated/qaas/src/v1alpha1/marshalling.gen.ts @@ -140,10 +140,13 @@ const unmarshalPlatformBookingRequirement = ( } return { + maxBookingPerDay: data.max_booking_per_day, + maxBookingPerWeek: data.max_booking_per_week, maxCancellationDuration: data.max_cancellation_duration, maxDuration: data.max_duration, maxPlanificationDuration: data.max_planification_duration, minDuration: data.min_duration, + minPlanificationDuration: data.min_planification_duration, } as PlatformBookingRequirement } diff --git a/packages_generated/qaas/src/v1alpha1/types.gen.ts b/packages_generated/qaas/src/v1alpha1/types.gen.ts index d74d97e78..c7c66b92f 100644 --- a/packages_generated/qaas/src/v1alpha1/types.gen.ts +++ b/packages_generated/qaas/src/v1alpha1/types.gen.ts @@ -150,6 +150,18 @@ export interface PlatformBookingRequirement { * Allowed planification time from now where the platform can be booked in the future. */ maxPlanificationDuration?: string + /** + * Minimum planification time before a platform can be booked. + */ + minPlanificationDuration?: string + /** + * Maximum amount of booking allowed for one organization per week. + */ + maxBookingPerWeek: number + /** + * Maximum amount of booking allowed for one organization per day. + */ + maxBookingPerDay: number } export interface PlatformHardware {