File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/clients/src/api/webhosting/v1alpha1 Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -97,6 +97,7 @@ export const unmarshalHosting = (data: unknown) => {
97
97
dnsStatus : data . dns_status ,
98
98
domain : data . domain ,
99
99
id : data . id ,
100
+ offerEndOfLife : data . offer_end_of_life ,
100
101
offerId : data . offer_id ,
101
102
offerName : data . offer_name ,
102
103
options : unmarshalArrayOfObject ( data . options , unmarshalHostingOption ) ,
@@ -136,6 +137,7 @@ const unmarshalOffer = (data: unknown) => {
136
137
return {
137
138
available : data . available ,
138
139
billingOperationPath : data . billing_operation_path ,
140
+ endOfLife : data . end_of_life ,
139
141
id : data . id ,
140
142
price : data . price ? unmarshalMoney ( data . price ) : undefined ,
141
143
product : data . product ? unmarshalOfferProduct ( data . product ) : undefined ,
Original file line number Diff line number Diff line change @@ -98,6 +98,8 @@ export interface Hosting {
98
98
cpanelUrls ?: HostingCpanelUrls
99
99
/** Main Web Hosting cPanel username. */
100
100
username : string
101
+ /** Indicates if the hosting offer has reached its end of life. */
102
+ offerEndOfLife : boolean
101
103
/** Region where the Web Hosting plan is hosted. */
102
104
region : Region
103
105
}
@@ -156,6 +158,8 @@ export interface Offer {
156
158
available : boolean
157
159
/** Quota warnings, if the offer is not available for the specified hosting_id. */
158
160
quotaWarnings : OfferQuotaWarning [ ]
161
+ /** Indicates if the offer has reached its end of life. */
162
+ endOfLife : boolean
159
163
}
160
164
161
165
/** Offer. product. */
You can’t perform that action at this time.
0 commit comments