fixed verification code

This commit is contained in:
Stephan D
2026-02-09 16:40:52 +01:00
parent f8a3bef2e6
commit eda6b75f74
78 changed files with 1118 additions and 487 deletions

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}

View File

@@ -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;
}