File tree Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Expand file tree Collapse file tree 5 files changed +13
-1
lines changed Original file line number Diff line number Diff line change 88 validatePathParam ,
99} from '@scaleway/sdk-client'
1010import type { ApiLocality } from '@scaleway/sdk-client'
11-
1211import {
1312 marshalApplyBlockMigrationRequest ,
1413 marshalAttachServerFileSystemRequest ,
Original file line number Diff line number Diff line change @@ -164,6 +164,7 @@ export const unmarshalPrivateNIC = (data: unknown): PrivateNIC => {
164164 serverId : data . server_id ,
165165 state : data . state ,
166166 tags : data . tags ,
167+ zone : data . zone ,
167168 } as PrivateNIC
168169}
169170
@@ -2268,6 +2269,7 @@ const marshalPrivateNIC = (
22682269 server_id : request . serverId ,
22692270 state : request . state ,
22702271 tags : request . tags ,
2272+ zone : request . zone ,
22712273} )
22722274
22732275const marshalSecurityGroupSummary = (
Original file line number Diff line number Diff line change @@ -339,6 +339,10 @@ export interface PrivateNIC {
339339 * Private NIC creation date.
340340 */
341341 creationDate ?: Date
342+ /**
343+ * The zone in which the Private NIC is located.
344+ */
345+ zone : ScwZone
342346}
343347
344348export interface SecurityGroupSummary {
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ export const unmarshalBooking = (data: unknown): Booking => {
8686 progressMessage : data . progress_message ,
8787 startedAt : unmarshalDate ( data . started_at ) ,
8888 status : data . status ,
89+ timeZone : data . time_zone ,
8990 updatedAt : unmarshalDate ( data . updated_at ) ,
9091 } as Booking
9192}
@@ -498,6 +499,7 @@ const marshalCreateSessionRequestBookingDemand = (
498499 description : request . description ,
499500 finished_at : request . finishedAt ,
500501 started_at : request . startedAt ,
502+ time_zone : request . timeZone ,
501503} )
502504
503505export const marshalCreateSessionRequest = (
Original file line number Diff line number Diff line change @@ -210,6 +210,7 @@ export interface CreateSessionRequestBookingDemand {
210210 startedAt ?: Date
211211 finishedAt ?: Date
212212 description ?: string
213+ timeZone ?: string
213214}
214215
215216export interface Application {
@@ -268,6 +269,10 @@ export interface Booking {
268269 * Any progress message of the booking.
269270 */
270271 progressMessage : string
272+ /**
273+ * Time zone for the booking schedule, in tz database format (e.g. 'Europe/Paris').
274+ */
275+ timeZone ?: string
271276}
272277
273278export interface JobResult {
You can’t perform that action at this time.
0 commit comments