Skip to content

Commit 6e124a6

Browse files
committed
feat: update generated APIs
1 parent de42af9 commit 6e124a6

File tree

4 files changed

+40
-0
lines changed

4 files changed

+40
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
/**
2+
* This file is automatically generated
3+
* PLEASE DO NOT EDIT HERE
4+
*/
5+
6+
export * as EnvironmentalFootprintv1alpha1 from './v1alpha1/index.gen'
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
// This file was automatically generated. DO NOT EDIT.
2+
// If you have any remark or suggestion do not hesitate to open an issue.
3+
export { UserAPI } from './api.gen'
4+
export * from './marshalling.gen'
5+
export type {
6+
Impact,
7+
ImpactDataResponse,
8+
ImpactReportAvailability,
9+
ProductCategory,
10+
ProjectImpact,
11+
RegionImpact,
12+
ReportType,
13+
ServiceCategory,
14+
SkuImpact,
15+
UserApiDownloadImpactReportRequest,
16+
UserApiGetImpactDataRequest,
17+
UserApiGetImpactReportAvailabilityRequest,
18+
ZoneImpact,
19+
} from './types.gen'

packages_generated/qaas/src/v1alpha1/marshalling.gen.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,10 +140,13 @@ const unmarshalPlatformBookingRequirement = (
140140
}
141141

142142
return {
143+
maxBookingPerDay: data.max_booking_per_day,
144+
maxBookingPerWeek: data.max_booking_per_week,
143145
maxCancellationDuration: data.max_cancellation_duration,
144146
maxDuration: data.max_duration,
145147
maxPlanificationDuration: data.max_planification_duration,
146148
minDuration: data.min_duration,
149+
minPlanificationDuration: data.min_planification_duration,
147150
} as PlatformBookingRequirement
148151
}
149152

packages_generated/qaas/src/v1alpha1/types.gen.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,18 @@ export interface PlatformBookingRequirement {
150150
* Allowed planification time from now where the platform can be booked in the future.
151151
*/
152152
maxPlanificationDuration?: string
153+
/**
154+
* Minimum planification time before a platform can be booked.
155+
*/
156+
minPlanificationDuration?: string
157+
/**
158+
* Maximum amount of booking allowed for one organization per week.
159+
*/
160+
maxBookingPerWeek: number
161+
/**
162+
* Maximum amount of booking allowed for one organization per day.
163+
*/
164+
maxBookingPerDay: number
153165
}
154166

155167
export interface PlatformHardware {

0 commit comments

Comments
 (0)