@up-im/medotvet_sdk 0.0.24 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -17,6 +17,7 @@ export interface iSurvey {
17
17
  date_end_original: string | null;
18
18
  reward_base: number;
19
19
  reward_max: number;
20
+ tax_company_pays: boolean;
20
21
  questions: iSurveyQuestion[] | null;
21
22
  slots: number;
22
23
  slots_taken?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@up-im/medotvet_sdk",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -20,6 +20,7 @@ export interface iSurvey {
20
20
  date_end_original: string | null
21
21
  reward_base: number
22
22
  reward_max: number
23
+ tax_company_pays: boolean // true — налог 13% оплачивает компания (на баланс полный reward), false — налог с пользователя (нужен дисклеймер про НДФЛ)
23
24
  questions: iSurveyQuestion[] | null
24
25
  slots: number
25
26
  slots_taken?: number // Из VIEW survey_slots_taken