Перейти до основного вмісту

UpdateSalarySettingsDto

salaryTypestring

Тип зарплаты

Possible values: [fixed, percent, mixed]

Example: percent
salaryFixedRatenumber

Фиксированная ставка (для FIXED и MIXED)

Example: 15000
salaryPercentRatenumber

Процент от услуг (0-100, для PERCENT и MIXED)

Example: 40
salaryPercentFromstring

От чего считать процент

Possible values: [service_price, total_booking]

Example: service_price
salaryCurrencystring

Валюта зарплаты

Example: UAH
salaryPayPeriodstring

Период выплаты зарплаты

Possible values: [monthly, biweekly, weekly]

Example: monthly
UpdateSalarySettingsDto
{
"salaryType": "percent",
"salaryFixedRate": 15000,
"salaryPercentRate": 40,
"salaryPercentFrom": "service_price",
"salaryCurrency": "UAH",
"salaryPayPeriod": "monthly"
}