File tree Expand file tree Collapse file tree 2 files changed +15
-0
lines changed
packages_generated/qaas/src/v1alpha1 Expand file tree Collapse file tree 2 files changed +15
-0
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
155167export interface PlatformHardware {
You can’t perform that action at this time.
0 commit comments