Generator Changes at 11/25/2025 5:01:02 AM +03:30

This commit is contained in:
masoodafar-web
2025-11-25 05:03:23 +03:30
parent 945b2a0e00
commit ac97ef5dce
4 changed files with 96 additions and 70 deletions

View File

@@ -78,13 +78,42 @@ message GetUserOrderRequest
message GetUserOrderResponse
{
int64 id = 1;
int64 price = 2;
int64 amount = 2;
int64 package_id = 3;
google.protobuf.Int64Value transaction_id = 4;
bool payment_status = 5;
oneof PaymentStatus_item
{
PaymentStatus payment_status = 5;
}
google.protobuf.Timestamp payment_date = 6;
int64 user_id = 7;
int64 user_address_id = 8;
oneof PaymentMethod_item
{
PaymentMethod payment_method = 9;
}
google.protobuf.StringValue user_address_text = 10;
repeated GetUserOrderResponseFactorDetail factor_details = 11;
}
enum PaymentStatus
{
Success = 0;
Reject = 1;
Pending = 2;
}
enum PaymentMethod
{
IPG = 0;
Wallet = 1;
}
message GetUserOrderResponseFactorDetail
{
int64 product_id = 1;
string product_title = 2;
google.protobuf.StringValue product_thumbnail_path = 3;
google.protobuf.Int64Value unit_price = 4;
google.protobuf.Int32Value count = 5;
google.protobuf.Int64Value unit_discount_price = 6;
}
message GetAllUserOrderByFilterRequest
{
@@ -111,46 +140,24 @@ message GetAllUserOrderByFilterResponse
message GetAllUserOrderByFilterResponseModel
{
int64 id = 1;
int64 price = 2;
int64 amount = 2;
int64 package_id = 3;
google.protobuf.Int64Value transaction_id = 4;
bool payment_status = 5;
oneof PaymentStatus_item
{
messages.PaymentStatus payment_status = 5;
}
google.protobuf.Timestamp payment_date = 6;
int64 user_id = 7;
int64 user_address_id = 8;
}
message SubmitShopBuyOrderRequest
{
int64 total_amount = 1;
}
message SubmitShopBuyOrderResponse
{
int64 order_id = 1;
oneof PaymentStatus_item
{
PaymentStatus payment_status = 2;
}
google.protobuf.Timestamp payment_date = 3;
oneof PaymentMethod_item
{
PaymentMethod payment_method = 4;
messages.PaymentMethod payment_method = 9;
}
google.protobuf.StringValue user_address_text = 5;
google.protobuf.Int64Value total_amount = 6;
repeated SubmitShopBuyOrderFactorDetail factor_details = 7;
google.protobuf.StringValue user_address_text = 10;
repeated GetAllUserOrderByFilterResponseModelFactorDetail factor_details = 11;
}
enum PaymentStatus
{
Success = 0;
Reject = 1;
Pending = 2;
}
enum PaymentMethod
{
IPG = 0;
Wallet = 1;
}
message SubmitShopBuyOrderFactorDetail
message GetAllUserOrderByFilterResponseModelFactorDetail
{
int64 product_id = 1;
string product_title = 2;
@@ -159,6 +166,14 @@ message SubmitShopBuyOrderFactorDetail
google.protobuf.Int32Value count = 5;
google.protobuf.Int64Value unit_discount_price = 6;
}
message SubmitShopBuyOrderRequest
{
int64 total_amount = 1;
}
message SubmitShopBuyOrderResponse
{
int64 id = 1;
}
message PaginationState
{