Skip to content

Commit dca6403

Browse files
authored
Merge branch 'main' into fix/generateAlias-script-stability
2 parents 8c4a0c8 + 7ebd448 commit dca6403

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

packages_generated/instance/src/v1/api.gen.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
validatePathParam,
99
} from '@scaleway/sdk-client'
1010
import type { ApiLocality } from '@scaleway/sdk-client'
11-
1211
import {
1312
marshalApplyBlockMigrationRequest,
1413
marshalAttachServerFileSystemRequest,

packages_generated/instance/src/v1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

22732275
const marshalSecurityGroupSummary = (

packages_generated/instance/src/v1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff 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

344348
export interface SecurityGroupSummary {

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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

503505
export const marshalCreateSessionRequest = (

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,7 @@ export interface CreateSessionRequestBookingDemand {
210210
startedAt?: Date
211211
finishedAt?: Date
212212
description?: string
213+
timeZone?: string
213214
}
214215

215216
export 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

273278
export interface JobResult {

0 commit comments

Comments
 (0)