Skip to content

feat(domain): add informations on scaleway product using the domain/dnszone #1024

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 24, 2023
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
1 change: 1 addition & 0 deletions packages/clients/src/api/domain/v2beta1/index.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export type {
ImportRawDNSZoneRequestBindSource,
ImportRawDNSZoneRequestTsigKey,
ImportRawDNSZoneResponse,
LinkedProduct,
ListContactsRequestRole,
ListContactsResponse,
ListDNSZoneNameserversRequest,
Expand Down
2 changes: 2 additions & 0 deletions packages/clients/src/api/domain/v2beta1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ export const unmarshalDNSZone = (data: unknown): DNSZone => {

return {
domain: data.domain,
linkedProducts: data.linked_products,
message: data.message,
ns: data.ns,
nsDefault: data.ns_default,
Expand Down Expand Up @@ -582,6 +583,7 @@ export const unmarshalDomain = (data: unknown): Domain => {
)
: undefined,
isExternal: data.is_external,
linkedProducts: data.linked_products,
organizationId: data.organization_id,
ownerContact: data.owner_contact
? unmarshalContact(data.owner_contact)
Expand Down
4 changes: 4 additions & 0 deletions packages/clients/src/api/domain/v2beta1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,8 @@ export type DomainStatus =

export type HostStatus = 'unknown_status' | 'active' | 'updating' | 'deleting'

export type LinkedProduct = 'unknown_product' | 'vpc'

export type ListContactsRequestRole =
| 'unknown_role'
| 'owner'
Expand Down Expand Up @@ -504,6 +506,7 @@ export interface DNSZone {
message?: string
updatedAt?: Date
projectId: string
linkedProducts: LinkedProduct[]
}

export interface DomainDNSSEC {
Expand Down Expand Up @@ -735,6 +738,7 @@ export interface Domain {
*/
transferRegistrationStatus?: DomainRegistrationStatusTransfer
tld?: Tld
linkedProducts: LinkedProduct[]
}

export type ExportRawDNSZoneRequest = {
Expand Down