From bbbac15a152814cbbee7f28a4f1a5099167efc5d Mon Sep 17 00:00:00 2001 From: asim Date: Wed, 17 Nov 2021 16:48:45 +0000 Subject: [PATCH] Commit from GitHub Actions (Generate Clients & Examples) --- clients/go/user/user.go | 8 +++++++- clients/ts/package.json | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/clients/go/user/user.go b/clients/go/user/user.go index b74b0cd..e2ef13d 100755 --- a/clients/go/user/user.go +++ b/clients/go/user/user.go @@ -188,6 +188,8 @@ type ResetPasswordRequest struct { Code string `json:"code"` // confirm new password ConfirmPassword string `json:"confirmPassword"` + // the email to reset the password for + Email string `json:"email"` // the new password NewPassword string `json:"newPassword"` } @@ -196,10 +198,12 @@ type ResetPasswordResponse struct { } type SendPasswordResetEmailRequest struct { + // email address to send reset for Email string `json:"email"` // Display name of the sender for the email. Note: the email address will still be 'support@m3o.com' 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 // HTML emails are not available currently. TextContent string `json:"textContent"` @@ -263,6 +267,8 @@ type UpdateResponse struct { } type VerifyEmailRequest struct { + // the email address to verify + Email string `json:"email"` // The token from the verification email Token string `json:"token"` } diff --git a/clients/ts/package.json b/clients/ts/package.json index 55e3c2a..2761279 100644 --- a/clients/ts/package.json +++ b/clients/ts/package.json @@ -79,5 +79,5 @@ "prepare": "npm run build" }, "types": "index.d.ts", - "version": "1.0.759" + "version": "1.0.762" } \ No newline at end of file