Optional Field -> request.put partial body

This commit is contained in:
nfel 2024-08-12 10:26:03 +03:30
parent 039ae2316f
commit f87dc92d3e
Signed by: nfel
GPG Key ID: DCC0BF3F92B0D45F

View File

@ -147,13 +147,13 @@ message UserBNPLResp {
message UserBNPLReq { message UserBNPLReq {
uint64 id = 1; uint64 id = 1;
int64 bnpl_id = 2; int64 bnpl_id = 2;
string created_at = 3;
string employee_id = 4;
int64 company_id = 5;
authorization.InternalIAM iam = 6; authorization.InternalIAM iam = 6;
float amount = 7; optional string created_at = 3;
PaymentPeriodInfo payment_period = 8; optional string employee_id = 4;
bool has_agreed_contract = 9; optional int64 company_id = 5;
optional float amount = 7;
optional PaymentPeriodInfo payment_period = 8;
optional bool has_agreed_contract = 9;
optional int32 current_step = 10; //Can be useful for admin to change the current step optional int32 current_step = 10; //Can be useful for admin to change the current step
} }