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
2 changes: 2 additions & 0 deletions packages/clients/src/api/tem/v1alpha1/marshalling.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,7 @@ export const unmarshalDomain = (data: unknown): Domain => {
}

return {
autoconfig: data.autoconfig,
createdAt: unmarshalDate(data.created_at),
dkimConfig: data.dkim_config,
id: data.id,
Expand Down Expand Up @@ -374,6 +375,7 @@ export const marshalCreateDomainRequest = (
defaults: DefaultValues,
): Record<string, unknown> => ({
accept_tos: request.acceptTos,
autoconfig: request.autoconfig,
domain_name: request.domainName,
project_id: request.projectId ?? defaults.defaultProjectId,
})
Expand Down
4 changes: 4 additions & 0 deletions packages/clients/src/api/tem/v1alpha1/types.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ export interface Domain {
reputation?: DomainReputation
/** List of records to configure to validate a domain. */
records?: DomainRecords
/** Status of auto-configuration for the domain's DNS zone. */
autoconfig: boolean
/**
* Region to target. If none is passed will use default region from the
* config.
Expand Down Expand Up @@ -337,6 +339,8 @@ export type CreateDomainRequest = {
domainName: string
/** Accept Scaleway's Terms of Service. */
acceptTos: boolean
/** Activate auto-configuration of the domain's DNS zone. */
autoconfig: boolean
}

export type CreateEmailRequest = {
Expand Down