Skip to content

Commit a04c016

Browse files
committed
feat: update generated APIs
1 parent 933e1ea commit a04c016

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

packages_generated/product_catalog/src/v2alpha1/marshalling.gen.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ const unmarshalPublicCatalogProductPropertiesAppleSilicon = (
162162

163163
return {
164164
range: data.range,
165+
serverType: data.server_type,
165166
} as PublicCatalogProductPropertiesAppleSilicon
166167
}
167168

@@ -190,6 +191,7 @@ const unmarshalPublicCatalogProductPropertiesDedibox = (
190191
}
191192

192193
return {
194+
offerId: data.offer_id,
193195
range: data.range,
194196
} as PublicCatalogProductPropertiesDedibox
195197
}
@@ -204,6 +206,7 @@ const unmarshalPublicCatalogProductPropertiesElasticMetal = (
204206
}
205207

206208
return {
209+
offerId: data.offer_id,
207210
range: data.range,
208211
} as PublicCatalogProductPropertiesElasticMetal
209212
}

packages_generated/product_catalog/src/v2alpha1/types.gen.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,10 @@ export interface PublicCatalogProductPropertiesAppleSilicon {
185185
* The range of the Apple Silicon server.
186186
*/
187187
range: string
188+
/**
189+
* The server type of the Apple Silicon server.
190+
*/
191+
serverType: string
188192
}
189193

190194
export interface PublicCatalogProductPropertiesBlockStorage {
@@ -203,13 +207,21 @@ export interface PublicCatalogProductPropertiesDedibox {
203207
* The range of the Dedibox server.
204208
*/
205209
range: string
210+
/**
211+
* The offer ID of the Dedibox server.
212+
*/
213+
offerId: number
206214
}
207215

208216
export interface PublicCatalogProductPropertiesElasticMetal {
209217
/**
210218
* The range of the Elastic Metal server.
211219
*/
212220
range: string
221+
/**
222+
* The offer ID of the Elastic Metal server.
223+
*/
224+
offerId: string
213225
}
214226

215227
export interface PublicCatalogProductPropertiesHardware {

0 commit comments

Comments
 (0)