Generator Changes at 11/25/2025 2:22:16 AM +03:30
This commit is contained in:
@@ -0,0 +1,87 @@
|
||||
syntax = "proto3";
|
||||
|
||||
package userwallet;
|
||||
|
||||
import "google/protobuf/empty.proto";
|
||||
import "google/protobuf/wrappers.proto";
|
||||
import "google/protobuf/duration.proto";
|
||||
import "google/protobuf/timestamp.proto";
|
||||
import "google/api/annotations.proto";
|
||||
|
||||
option csharp_namespace = "FrontOffice.BFF.UserWallet.Protobuf.Protos.UserWallet";
|
||||
|
||||
service UserWalletContract
|
||||
{
|
||||
rpc GetAllUserWalletChangeLog(google.protobuf.Empty) returns (google.protobuf.Empty){
|
||||
option (google.api.http) = {
|
||||
get: "/GetAllUserWalletChangeLog"
|
||||
|
||||
};
|
||||
};
|
||||
rpc GetUserWallet(google.protobuf.Empty) returns (GetUserWalletResponse){
|
||||
option (google.api.http) = {
|
||||
get: "/GetUserWallet"
|
||||
|
||||
};
|
||||
};
|
||||
rpc TransferUserWalletBallance(google.protobuf.Empty) returns (google.protobuf.Empty){
|
||||
option (google.api.http) = {
|
||||
post: "/TransferUserWalletBallance"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc WithdrawBalance(google.protobuf.Empty) returns (GetAllUserWalletChangeLogResponse){
|
||||
option (google.api.http) = {
|
||||
post: "/WithdrawBalance"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
}
|
||||
message GetUserWalletResponse
|
||||
{
|
||||
int64 balance = 1;
|
||||
int64 network_balance = 2;
|
||||
}
|
||||
message GetAllUserWalletChangeLogResponse
|
||||
{
|
||||
MetaData meta_data = 1;
|
||||
repeated GetAllUserWalletChangeLogResponseModel models = 2;
|
||||
}
|
||||
message GetAllUserWalletChangeLogResponseModel
|
||||
{
|
||||
int64 current_balance = 1;
|
||||
int64 change_value = 2;
|
||||
int64 current_network_balance = 3;
|
||||
int64 change_nerwork_value = 4;
|
||||
bool is_increase = 5;
|
||||
google.protobuf.Int64Value refrence_id = 6;
|
||||
}
|
||||
|
||||
message PaginationState
|
||||
{
|
||||
int32 page_number = 1;
|
||||
|
||||
int32 page_size = 2;
|
||||
}
|
||||
message MetaData
|
||||
{
|
||||
int64 current_page = 1;
|
||||
|
||||
int64 total_page = 2;
|
||||
|
||||
int64 page_size = 3;
|
||||
|
||||
int64 total_count = 4;
|
||||
|
||||
bool has_previous = 5;
|
||||
|
||||
bool has_next = 6;
|
||||
}
|
||||
message DecimalValue
|
||||
{
|
||||
|
||||
int64 units = 1;
|
||||
|
||||
sfixed32 nanos = 2;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user