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
3 changes: 3 additions & 0 deletions packages/clients/src/api/domain/v2beta1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -589,6 +589,7 @@ export const unmarshalDomain = (data: unknown): Domain => {
ownerContact: data.owner_contact
? unmarshalContact(data.owner_contact)
: undefined,
pendingTrade: data.pending_trade,
projectId: data.project_id,
registrar: data.registrar,
status: data.status,
Expand Down Expand Up @@ -1072,6 +1073,7 @@ const unmarshalDomainSummary = (data: unknown): DomainSummary => {

return {
autoRenewStatus: data.auto_renew_status,
createdAt: unmarshalDate(data.created_at),
dnssecStatus: data.dnssec_status,
domain: data.domain,
eppCode: data.epp_code,
Expand All @@ -1083,6 +1085,7 @@ const unmarshalDomainSummary = (data: unknown): DomainSummary => {
: undefined,
isExternal: data.is_external,
organizationId: data.organization_id,
pendingTrade: data.pending_trade,
projectId: data.project_id,
registrar: data.registrar,
status: data.status,
Expand Down
21 changes: 21 additions & 0 deletions packages/clients/src/api/domain/v2beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -599,6 +599,8 @@ export interface DomainSummary {
*/
transferRegistrationStatus?: DomainRegistrationStatusTransfer
organizationId: string
createdAt?: Date
pendingTrade: boolean
}

export interface RenewableDomain {
Expand Down Expand Up @@ -727,32 +729,51 @@ export interface Domain {
domain: string
organizationId: string
projectId: string
/** Status of the automatic renewal of the domain. */
autoRenewStatus: DomainFeatureStatus
/** Status of the DNSSEC configuration of the domain. */
dnssec?: DomainDNSSEC
/** List of the domain's EPP codes. */
eppCode: string[]
/** Date of expiration of the domain. */
expiredAt?: Date
/** Domain's last modification date. */
updatedAt?: Date
registrar: string
/** Indicates whether Scaleway is the domain's registrar. */
isExternal: boolean
/** Status of the domain. */
status: DomainStatus
/** List of the domain's DNS zones. */
dnsZones: DNSZone[]
/** Contact information of the domain's owner. */
ownerContact?: Contact
/** Contact information of the domain's technical contact. */
technicalContact?: Contact
/** Contact information of the domain's administrative contact. */
administrativeContact?: Contact
/**
* Registration status of an external domain, if available.
*
* One-of ('registrationStatus'): at most one of
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be
* set.
*/
externalDomainRegistrationStatus?: DomainRegistrationStatusExternalDomain
/**
* Status of a domain, when available for transfer.
*
* One-of ('registrationStatus'): at most one of
* 'externalDomainRegistrationStatus', 'transferRegistrationStatus' could be
* set.
*/
transferRegistrationStatus?: DomainRegistrationStatusTransfer
/** Domain's TLD information. */
tld?: Tld
/** List of Scaleway resources linked to the domain. */
linkedProducts: LinkedProduct[]
/** Indicates if a trade is ongoing. */
pendingTrade: boolean
}

export type ExportRawDNSZoneRequest = {
Expand Down