Skip to content

Commit 5b9496b

Browse files
authored
feat(webhosting): add send welcome email param at hosting creation (#1433)
1 parent 50c0465 commit 5b9496b

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: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,6 +489,7 @@ export const marshalHostingApiCreateHostingRequest = (
489489
)
490490
: undefined,
491491
project_id: request.projectId ?? defaults.defaultProjectId,
492+
skip_welcome_email: request.skipWelcomeEmail,
492493
tags: request.tags,
493494
})
494495

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

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -502,6 +502,11 @@ export type HostingApiCreateHostingRequest = {
502502
* domains managed by Scaleway Elements.
503503
*/
504504
domainConfiguration?: CreateHostingRequestDomainConfiguration
505+
/**
506+
* Indicates whether to skip a welcome email to the contact email containing
507+
* hosting info.
508+
*/
509+
skipWelcomeEmail?: boolean
505510
}
506511

507512
export type HostingApiCreateSessionRequest = {

0 commit comments

Comments
 (0)