Skip to content

Commit 33520b5

Browse files
authored
feat(tem): deprecate accept tos on create domain (#2458)
1 parent 55a54ed commit 33520b5

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

api/tem/v1alpha1/tem_sdk.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -902,7 +902,7 @@ type Email struct {
902902
// MailFrom: email address of the sender.
903903
MailFrom string `json:"mail_from"`
904904

905-
// Deprecated: RcptTo: email address of the recipient.
905+
// Deprecated: RcptTo: deprecated. Email address of the recipient.
906906
RcptTo *string `json:"rcpt_to,omitempty"`
907907

908908
// MailRcpt: email address of the recipient.
@@ -1020,7 +1020,7 @@ type Domain struct {
10201020
// RevokedAt: date and time of the domain's deletion.
10211021
RevokedAt *time.Time `json:"revoked_at"`
10221022

1023-
// Deprecated: LastError: error message returned if the last check failed.
1023+
// Deprecated: LastError: deprecated. Error message returned if the last check failed.
10241024
LastError *string `json:"last_error,omitempty"`
10251025

10261026
// SpfConfig: snippet of the SPF record to register in the DNS zone.
@@ -1199,8 +1199,8 @@ type CreateDomainRequest struct {
11991199
// DomainName: fully qualified domain dame.
12001200
DomainName string `json:"domain_name"`
12011201

1202-
// AcceptTos: accept Scaleway's Terms of Service.
1203-
AcceptTos bool `json:"accept_tos"`
1202+
// Deprecated: AcceptTos: deprecated. Accept Scaleway's Terms of Service.
1203+
AcceptTos *bool `json:"accept_tos,omitempty"`
12041204

12051205
// Autoconfig: activate auto-configuration of the domain's DNS zone.
12061206
Autoconfig bool `json:"autoconfig"`
@@ -1513,7 +1513,7 @@ type ListEmailsRequest struct {
15131513
// MailFrom: (Optional) List emails sent with this sender's email address.
15141514
MailFrom *string `json:"-"`
15151515

1516-
// Deprecated: MailTo: list emails sent to this recipient's email address.
1516+
// Deprecated: MailTo: deprecated. List emails sent to this recipient's email address.
15171517
MailTo *string `json:"-"`
15181518

15191519
// MailRcpt: (Optional) List emails sent to this recipient's email address.

0 commit comments

Comments
 (0)