Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions packages_generated/baremetal/src/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -382,6 +382,7 @@ export const unmarshalOS = (data: unknown): OS => {
ssh: data.ssh ? unmarshalOSOSField(data.ssh) : undefined,
user: data.user ? unmarshalOSOSField(data.user) : undefined,
version: data.version,
zone: data.zone,
} as OS
}

Expand Down Expand Up @@ -543,6 +544,7 @@ export const unmarshalOffer = (data: unknown): Offer => {
stock: data.stock,
subscriptionPeriod: data.subscription_period,
tags: data.tags,
zone: data.zone,
} as Offer
}

Expand Down
8 changes: 8 additions & 0 deletions packages_generated/baremetal/src/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -663,6 +663,10 @@ export interface OS {
* Defines if custom partitioning is supported by this OS.
*/
customPartitioningSupported: boolean
/**
* Zone in which is the OS is available.
*/
zone: ScwZone
}

export interface Offer {
Expand Down Expand Up @@ -766,6 +770,10 @@ export interface Offer {
* Exist only for hourly offers, to migrate to the monthly offer.
*/
monthlyOfferId?: string
/**
* Zone in which is the offer is available.
*/
zone: ScwZone
}

export interface Option {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export type PublicCatalogProductUnitOfMeasureCountableUnit =
| 'second'
| 'sample_day'
| 'gigabyte_day'
| 'mvcpu'

export interface PublicCatalogProductPropertiesHardwareCPUPhysical {
/**
Expand Down
Loading