Skip to content

Commit d025d26

Browse files
authored
feat(webhosting): add fields to hosting & platforms (#1032)
1 parent a15ad28 commit d025d26

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,11 +66,14 @@ export const unmarshalHosting = (data: unknown): Hosting => {
6666
dnsStatus: data.dns_status,
6767
domain: data.domain,
6868
id: data.id,
69+
ipv4: data.ipv4,
70+
ipv6: data.ipv6,
6971
offerEndOfLife: data.offer_end_of_life,
7072
offerId: data.offer_id,
7173
offerName: data.offer_name,
7274
options: unmarshalArrayOfObject(data.options, unmarshalHostingOption),
7375
organizationId: data.organization_id,
76+
platformGroup: data.platform_group,
7477
platformHostname: data.platform_hostname,
7578
platformNumber: data.platform_number,
7679
projectId: data.project_id,

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,12 @@ export interface Hosting {
143143
offerEndOfLife: boolean
144144
/** Name of the control panel. */
145145
controlPanelName: string
146+
/** Group of the hosting's host server/platform. */
147+
platformGroup: string
148+
/** IPv4 address of the hosting's host server. */
149+
ipv4: string
150+
/** IPv6 address of the hosting's host server. */
151+
ipv6: string
146152
/** Region where the Web Hosting plan is hosted. */
147153
region: Region
148154
}

0 commit comments

Comments
 (0)