Commit from GitHub Actions (Generate Clients & Examples)

This commit is contained in:
asim
2021-11-17 16:48:45 +00:00
parent 28e2965d81
commit bbbac15a15
2 changed files with 8 additions and 2 deletions

View File

@@ -188,6 +188,8 @@ type ResetPasswordRequest struct {
Code string `json:"code"` Code string `json:"code"`
// confirm new password // confirm new password
ConfirmPassword string `json:"confirmPassword"` ConfirmPassword string `json:"confirmPassword"`
// the email to reset the password for
Email string `json:"email"`
// the new password // the new password
NewPassword string `json:"newPassword"` NewPassword string `json:"newPassword"`
} }
@@ -196,10 +198,12 @@ type ResetPasswordResponse struct {
} }
type SendPasswordResetEmailRequest struct { type SendPasswordResetEmailRequest struct {
// email address to send reset for
Email string `json:"email"` Email string `json:"email"`
// Display name of the sender for the email. Note: the email address will still be 'support@m3o.com' // Display name of the sender for the email. Note: the email address will still be 'support@m3o.com'
FromName string `json:"fromName"` FromName string `json:"fromName"`
Subject string `json:"subject"` // subject of the email
Subject string `json:"subject"`
// Text content of the email. Don't forget to include the string '$code' which will be replaced by the real verification link // Text content of the email. Don't forget to include the string '$code' which will be replaced by the real verification link
// HTML emails are not available currently. // HTML emails are not available currently.
TextContent string `json:"textContent"` TextContent string `json:"textContent"`
@@ -263,6 +267,8 @@ type UpdateResponse struct {
} }
type VerifyEmailRequest struct { type VerifyEmailRequest struct {
// the email address to verify
Email string `json:"email"`
// The token from the verification email // The token from the verification email
Token string `json:"token"` Token string `json:"token"`
} }

View File

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