UpdateCompensationRuleDto
namestring
descriptionstring
compensationTypestring
Possible values: [DAILY_WAGE, HOURLY_WAGE, COMMISSION, BONUS, DEDUCTION]
calculationBasisstring
Possible values: [FLAT_RATE, PER_UNIT_PRODUCTION, PERCENTAGE_OUTPUT_VALUE, TIERED_RATE]
ratenumber
unitstring
scopeTypestring
Possible values: [all, role, zone, team, subcontractor, individual]
scopeIdstring
Target entity id. Required when scopeType is not "all" (team/role/zone/subcontractor/individual).
paymentFrequencystring
Possible values: [DAILY, WEEKLY, BI_WEEKLY, MONTHLY]
effectiveStartstring
effectiveEndstring
stackingBehaviorstring
Possible values: [ADDITIVE, EXCLUSIVE]
payoutCapnumber
conditions object
property name*any
UpdateCompensationRuleDto
{
"name": "string",
"description": "string",
"compensationType": "DAILY_WAGE",
"calculationBasis": "FLAT_RATE",
"rate": 0,
"unit": "string",
"scopeType": "all",
"scopeId": "string",
"paymentFrequency": "DAILY",
"effectiveStart": "string",
"effectiveEnd": "string",
"stackingBehavior": "ADDITIVE",
"payoutCap": 0,
"conditions": {}
}