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
8 changes: 0 additions & 8 deletions packages/clients/src/api/webhosting/v1/content.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import type {
DomainAvailabilityStatus,
DomainStatus,
HostingStatus,
HostingSummaryStatus,
} from './types.gen'

/** Lists transient statutes of the enum {@link DomainAvailabilityStatus}. */
Expand All @@ -20,10 +19,3 @@ export const HOSTING_TRANSIENT_STATUSES: HostingStatus[] = [
'deleting',
'migrating',
]

/** Lists transient statutes of the enum {@link HostingSummaryStatus}. */
export const HOSTING_SUMMARY_TRANSIENT_STATUSES: HostingSummaryStatus[] = [
'delivering',
'deleting',
'migrating',
]
1 change: 0 additions & 1 deletion packages/clients/src/api/webhosting/v1/index.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ export type {
HostingApiUpdateHostingRequest,
HostingStatus,
HostingSummary,
HostingSummaryStatus,
HostingUser,
ListControlPanelsResponse,
ListDatabaseUsersRequestOrderBy,
Expand Down
3 changes: 1 addition & 2 deletions packages/clients/src/api/webhosting/v1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -406,13 +406,12 @@ const unmarshalHostingSummary = (data: unknown): HostingSummary => {
dnsStatus: data.dns_status ? data.dns_status : undefined,
domain: data.domain,
domainStatus: data.domain_status,
hostingStatus: data.hosting_status,
id: data.id,
offerName: data.offer_name,
projectId: data.project_id,
protected: data.protected,
region: data.region,
status: data.status ? data.status : undefined,
status: data.status,
updatedAt: unmarshalDate(data.updated_at),
} as HostingSummary
}
Expand Down
16 changes: 3 additions & 13 deletions packages/clients/src/api/webhosting/v1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ export type DomainDnsAction =
| 'auto_config_web_records'
| 'auto_config_mail_records'
| 'auto_config_nameservers'
| 'auto_config_none'

export type DomainStatus =
| 'unknown_status'
Expand All @@ -66,15 +67,6 @@ export type HostingStatus =
| 'locked'
| 'migrating'

export type HostingSummaryStatus =
| 'unknown_status'
| 'delivering'
| 'ready'
| 'deleting'
| 'error'
| 'locked'
| 'migrating'

export type ListDatabaseUsersRequestOrderBy = 'username_asc' | 'username_desc'

export type ListDatabasesRequestOrderBy =
Expand Down Expand Up @@ -301,8 +293,8 @@ export interface HostingSummary {
createdAt?: Date
/** Date on which the Web Hosting plan was last updated. */
updatedAt?: Date
/** @deprecated Status of the Web Hosting plan. */
status?: HostingSummaryStatus
/** Status of the Web Hosting plan. */
status: HostingStatus
/** Main domain associated with the Web Hosting plan. */
domain: string
/** Whether the hosting is protected or not. */
Expand All @@ -311,8 +303,6 @@ export interface HostingSummary {
dnsStatus?: DnsRecordsStatus
/** Name of the active offer for the Web Hosting plan. */
offerName: string
/** Status of the Web Hosting plan. */
hostingStatus: HostingStatus
/** Main domain status of the Web Hosting plan. */
domainStatus: DomainStatus
/** Region where the Web Hosting plan is hosted. */
Expand Down
Loading