Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
domwong
2021-11-11 23:34:12 +00:00
parent bfac5997d1
commit 96743d28ba
9 changed files with 44 additions and 6 deletions

View File

@@ -23,12 +23,16 @@ func (t *SpamService) Classify(request *ClassifyRequest) (*ClassifyResponse, err
}
type ClassifyRequest struct {
// The body of the email
// The raw body of the email including headers etc per RFC 822. Alternatively, use the other parameters to correctly format the message
EmailBody string `json:"emailBody"`
// The email address it has been sent from
From string `json:"from"`
// the HTML version of the email body
HtmlBody string `json:"htmlBody"`
// The subject of the email
Subject string `json:"subject"`
// the plain text version of the email body
TextBody string `json:"textBody"`
// The email address it is being sent to
To string `json:"to"`
}

View File

@@ -79,5 +79,5 @@
"prepare": "npm run build"
},
"types": "index.d.ts",
"version": "1.0.734"
"version": "1.0.736"
}