fixed verification code
This commit is contained in:
@@ -3,5 +3,6 @@ syntax = "proto3";
|
||||
option go_package = "github.com/tech/sendico/pkg/generated/gmessaging";
|
||||
|
||||
message AccountCreatedEvent {
|
||||
string AccountRef = 1;
|
||||
string account_ref = 1;
|
||||
string verification_token = 2;
|
||||
}
|
||||
|
||||
@@ -5,9 +5,9 @@ option go_package = "github.com/tech/sendico/pkg/generated/gmessaging";
|
||||
import "operation_result.proto";
|
||||
|
||||
message NotificationSentEvent {
|
||||
string UserID = 1;
|
||||
string TemplateID = 2;
|
||||
string Channel = 3;
|
||||
string Locale = 4;
|
||||
OperationResult Status = 5;
|
||||
string user_id = 1;
|
||||
string template_id = 2;
|
||||
string channel = 3;
|
||||
string locale = 4;
|
||||
OperationResult status = 5;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ syntax = "proto3";
|
||||
option go_package = "github.com/tech/sendico/pkg/generated/gmessaging";
|
||||
|
||||
message ObjectUpdatedEvent {
|
||||
string ObjectRef = 1;
|
||||
string ActorAccountRef = 2;
|
||||
string object_ref = 1;
|
||||
string actor_account_ref = 2;
|
||||
}
|
||||
|
||||
@@ -3,6 +3,6 @@ syntax = "proto3";
|
||||
option go_package = "github.com/tech/sendico/pkg/generated/gmessaging";
|
||||
|
||||
message OperationResult {
|
||||
bool IsSuccessful = 1;
|
||||
string ErrorDescription = 2;
|
||||
bool is_successful = 1;
|
||||
string error_description = 2;
|
||||
}
|
||||
@@ -3,6 +3,6 @@ syntax = "proto3";
|
||||
option go_package = "github.com/tech/sendico/pkg/generated/gmessaging";
|
||||
|
||||
message PasswordResetEvent {
|
||||
string AccountRef = 1;
|
||||
string ResetToken = 2;
|
||||
string account_ref = 1;
|
||||
string reset_token = 2;
|
||||
}
|
||||
Reference in New Issue
Block a user