Skip to content

Commit d34ff71

Browse files
authored
feat: update generated APIs (#764)
1 parent 3b57b4b commit d34ff71

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

packages/clients/src/api/webhosting/v1alpha1/marshalling.gen.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ export const unmarshalHosting = (data: unknown) => {
9797
dnsStatus: data.dns_status,
9898
domain: data.domain,
9999
id: data.id,
100+
offerEndOfLife: data.offer_end_of_life,
100101
offerId: data.offer_id,
101102
offerName: data.offer_name,
102103
options: unmarshalArrayOfObject(data.options, unmarshalHostingOption),
@@ -136,6 +137,7 @@ const unmarshalOffer = (data: unknown) => {
136137
return {
137138
available: data.available,
138139
billingOperationPath: data.billing_operation_path,
140+
endOfLife: data.end_of_life,
139141
id: data.id,
140142
price: data.price ? unmarshalMoney(data.price) : undefined,
141143
product: data.product ? unmarshalOfferProduct(data.product) : undefined,

packages/clients/src/api/webhosting/v1alpha1/types.gen.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,8 @@ export interface Hosting {
9898
cpanelUrls?: HostingCpanelUrls
9999
/** Main Web Hosting cPanel username. */
100100
username: string
101+
/** Indicates if the hosting offer has reached its end of life. */
102+
offerEndOfLife: boolean
101103
/** Region where the Web Hosting plan is hosted. */
102104
region: Region
103105
}
@@ -156,6 +158,8 @@ export interface Offer {
156158
available: boolean
157159
/** Quota warnings, if the offer is not available for the specified hosting_id. */
158160
quotaWarnings: OfferQuotaWarning[]
161+
/** Indicates if the offer has reached its end of life. */
162+
endOfLife: boolean
159163
}
160164

161165
/** Offer. product. */

0 commit comments

Comments
 (0)