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
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ export const unmarshalHosting = (data: unknown) => {
dnsStatus: data.dns_status,
domain: data.domain,
id: data.id,
offerEndOfLife: data.offer_end_of_life,
offerId: data.offer_id,
offerName: data.offer_name,
options: unmarshalArrayOfObject(data.options, unmarshalHostingOption),
Expand Down Expand Up @@ -136,6 +137,7 @@ const unmarshalOffer = (data: unknown) => {
return {
available: data.available,
billingOperationPath: data.billing_operation_path,
endOfLife: data.end_of_life,
id: data.id,
price: data.price ? unmarshalMoney(data.price) : undefined,
product: data.product ? unmarshalOfferProduct(data.product) : undefined,
Expand Down
4 changes: 4 additions & 0 deletions packages/clients/src/api/webhosting/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@ export interface Hosting {
cpanelUrls?: HostingCpanelUrls
/** Main Web Hosting cPanel username. */
username: string
/** Indicates if the hosting offer has reached its end of life. */
offerEndOfLife: boolean
/** Region where the Web Hosting plan is hosted. */
region: Region
}
Expand Down Expand Up @@ -156,6 +158,8 @@ export interface Offer {
available: boolean
/** Quota warnings, if the offer is not available for the specified hosting_id. */
quotaWarnings: OfferQuotaWarning[]
/** Indicates if the offer has reached its end of life. */
endOfLife: boolean
}

/** Offer. product. */
Expand Down