Skip to content

Commit dfe03ac

Browse files
feat(webhosting): add dns status and offer name to hosting summary (#1660)
Co-authored-by: Jonathan R. <jremy@scaleway.com>
1 parent 04d9545 commit dfe03ac

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,8 +377,10 @@ const unmarshalHostingSummary = (data: unknown): HostingSummary => {
377377

378378
return {
379379
createdAt: unmarshalDate(data.created_at),
380+
dnsStatus: data.dns_status,
380381
domain: data.domain,
381382
id: data.id,
383+
offerName: data.offer_name,
382384
projectId: data.project_id,
383385
protected: data.protected,
384386
region: data.region,

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -243,6 +243,10 @@ export interface HostingSummary {
243243
domain: string
244244
/** Whether the hosting is protected or not. */
245245
protected: boolean
246+
/** DNS status of the Web Hosting plan. */
247+
dnsStatus: DnsRecordsStatus
248+
/** Name of the active offer for the Web Hosting plan. */
249+
offerName: string
246250
/** Region where the Web Hosting plan is hosted. */
247251
region: Region
248252
}

0 commit comments

Comments
 (0)