@itcase/types-pps 1.1.108 → 1.1.110

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.
Files changed (59) hide show
  1. package/dist/generated/enums/Survey/SurveyQuestionTypeEnum.d.ts +10 -2
  2. package/dist/generated/enums/Survey/SurveyQuestionTypeEnum.js +9 -1
  3. package/dist/generated/enums/Type/Type02BEnum.d.ts +8 -0
  4. package/dist/generated/enums/Type/Type02BEnum.js +13 -0
  5. package/dist/generated/enums/Type/index.d.ts +1 -0
  6. package/dist/generated/enums/Type/index.js +6 -0
  7. package/dist/generated/enums/index.d.ts +1 -0
  8. package/dist/generated/enums/index.js +3 -1
  9. package/dist/generated/restRoutes.d.ts +129 -39
  10. package/dist/generated/types/Bio/BioRowChangeRequest.d.ts +4 -1
  11. package/dist/generated/types/Bio/PatchedBioRowChangeRequest.d.ts +4 -1
  12. package/dist/generated/types/Entomophage/Entomophage.d.ts +4 -2
  13. package/dist/generated/types/Entomophage/EntomophageChangeRequest.d.ts +4 -1
  14. package/dist/generated/types/Entomophage/EntomophageField.d.ts +3 -0
  15. package/dist/generated/types/Entomophage/EntomophagePest.d.ts +11 -0
  16. package/dist/generated/types/Entomophage/EntomophagePestChangeRequest.d.ts +10 -0
  17. package/dist/generated/types/Entomophage/PatchedEntomophageChangeRequest.d.ts +4 -1
  18. package/dist/generated/types/Entomophage/index.d.ts +2 -0
  19. package/dist/generated/types/Hotbed/Hotbed.d.ts +11 -2
  20. package/dist/generated/types/Hotbed/HotbedApp.d.ts +10 -1
  21. package/dist/generated/types/Hotbed/HotbedChangeRequest.d.ts +15 -3
  22. package/dist/generated/types/Hotbed/HotbedHistory.d.ts +11 -0
  23. package/dist/generated/types/Hotbed/HotbedHistory.js +3 -0
  24. package/dist/generated/types/{Plant/PaginatedPlantInBlockList.d.ts → Hotbed/PaginatedHotbedHistoryList.d.ts} +3 -3
  25. package/dist/generated/types/Hotbed/PaginatedHotbedHistoryList.js +3 -0
  26. package/dist/generated/types/Hotbed/PatchedHotbedChangeRequest.d.ts +14 -2
  27. package/dist/generated/types/Hotbed/_HotbedPestField.d.ts +45 -0
  28. package/dist/generated/types/Hotbed/_HotbedPestField.js +3 -0
  29. package/dist/generated/types/Hotbed/index.d.ts +3 -0
  30. package/dist/generated/types/Plant/index.d.ts +0 -2
  31. package/dist/generated/types/Report/ReportBlockIncident.d.ts +4 -2
  32. package/dist/generated/types/Report/ReportBlockPestsIncident.d.ts +2 -0
  33. package/dist/generated/types/Report/ReportBlockPollination.d.ts +1 -1
  34. package/dist/generated/types/Report/ReportBlockPollinationZones.d.ts +1 -1
  35. package/dist/generated/types/Report/ReportCellPollination.d.ts +1 -1
  36. package/dist/generated/types/Report/ReportRowIncident.d.ts +2 -0
  37. package/dist/generated/types/Report/ReportRowPestsIncident.d.ts +2 -0
  38. package/dist/generated/types/Report/ReportRowPollination.d.ts +1 -1
  39. package/dist/generated/types/Report/ReportRowPollinationCells.d.ts +1 -1
  40. package/dist/generated/types/Report/ReportZoneIncident.d.ts +2 -0
  41. package/dist/generated/types/Report/ReportZonePestsIncident.d.ts +2 -0
  42. package/dist/generated/types/Report/ReportZonePollination.d.ts +1 -1
  43. package/dist/generated/types/Report/ReportZonePollinationRows.d.ts +1 -1
  44. package/dist/generated/types/Survey/PatchedSurveyQuestionRequest.d.ts +3 -0
  45. package/dist/generated/types/Survey/SurveyQuestion.d.ts +3 -2
  46. package/dist/generated/types/Survey/SurveyQuestionAnswer.d.ts +4 -5
  47. package/dist/generated/types/Survey/SurveyQuestionAnswerChange.d.ts +1 -0
  48. package/dist/generated/types/Survey/SurveyQuestionOption.d.ts +15 -0
  49. package/dist/generated/types/Survey/SurveyQuestionOption.js +3 -0
  50. package/dist/generated/types/Survey/SurveyQuestionRequest.d.ts +3 -0
  51. package/dist/generated/types/Survey/index.d.ts +1 -0
  52. package/dist/generated/types/Turnover/PatchedTurnoverChangeRequest.d.ts +0 -5
  53. package/dist/generated/types/Turnover/Turnover.d.ts +14 -1
  54. package/dist/generated/types/Turnover/TurnoverChangeRequest.d.ts +0 -5
  55. package/dist/generated/types/index.d.ts +4 -4
  56. package/package.json +2 -2
  57. package/dist/generated/types/Plant/PlantInBlock.d.ts +0 -18
  58. /package/dist/generated/types/{Plant/PaginatedPlantInBlockList.js → Entomophage/EntomophagePest.js} +0 -0
  59. /package/dist/generated/types/{Plant/PlantInBlock.js → Entomophage/EntomophagePestChangeRequest.js} +0 -0
@@ -24,7 +24,10 @@ export interface BioRowChangeRequest {
24
24
  * @pattern ^-?\d{0,11}(?:\.\d{0,4})?$
25
25
  */
26
26
  square?: string | null;
27
- /** Статус биоряда */
27
+ /**
28
+ * Статус биоряда
29
+ * Если не указан при создании, то будет установлен статус "Рабочий"
30
+ */
28
31
  status?: BioRowStatusRequest;
29
32
  /** Оборот */
30
33
  turnover?: number | null;
@@ -24,7 +24,10 @@ export interface PatchedBioRowChangeRequest {
24
24
  * @pattern ^-?\d{0,11}(?:\.\d{0,4})?$
25
25
  */
26
26
  square?: string | null;
27
- /** Статус биоряда */
27
+ /**
28
+ * Статус биоряда
29
+ * Если не указан при создании, то будет установлен статус "Рабочий"
30
+ */
28
31
  status?: BioRowStatusRequest;
29
32
  /** Оборот */
30
33
  turnover?: number | null;
@@ -1,4 +1,4 @@
1
- import { CreatorField, EntomophageInputRate, EntomophageStage, FacilityField, PestField, TaskTemplateField } from '../../../index';
1
+ import { BlankEnum, CreatorField, EntomophageInputRate, EntomophagePest, EntomophageStage, FacilityField, TaskTemplateField, Type02BEnum } from '../../../index';
2
2
  export interface Entomophage {
3
3
  id: number;
4
4
  /**
@@ -45,7 +45,7 @@ export interface Entomophage {
45
45
  * @maxLength 255
46
46
  */
47
47
  name_short: string;
48
- pests?: PestField[];
48
+ pests?: EntomophagePest[];
49
49
  /**
50
50
  * Сортировка
51
51
  * Чем меньше значение, тем выше отображается в списке
@@ -55,4 +55,6 @@ export interface Entomophage {
55
55
  sort?: number;
56
56
  stages: EntomophageStage[];
57
57
  tasktemplate: TaskTemplateField | null;
58
+ /** Тип */
59
+ type?: BlankEnum | Type02BEnum;
58
60
  }
@@ -1,3 +1,4 @@
1
+ import { BlankEnum, EntomophagePestChangeRequest, Type02BEnum } from '../../../index';
1
2
  export interface EntomophageChangeRequest {
2
3
  /**
3
4
  * Показывать
@@ -35,7 +36,7 @@ export interface EntomophageChangeRequest {
35
36
  * @maxLength 255
36
37
  */
37
38
  name_short: string;
38
- pests?: number[];
39
+ pests?: EntomophagePestChangeRequest[];
39
40
  /**
40
41
  * Сортировка
41
42
  * Чем меньше значение, тем выше отображается в списке
@@ -45,4 +46,6 @@ export interface EntomophageChangeRequest {
45
46
  sort?: number;
46
47
  /** Шаблон проекта */
47
48
  tasktemplate?: number | null;
49
+ /** Тип */
50
+ type?: BlankEnum | Type02BEnum;
48
51
  }
@@ -1,3 +1,4 @@
1
+ import { BlankEnum, Type02BEnum } from '../../../index';
1
2
  export interface EntomophageField {
2
3
  id: number;
3
4
  /**
@@ -30,4 +31,6 @@ export interface EntomophageField {
30
31
  * @max 32767
31
32
  */
32
33
  sort?: number;
34
+ /** Тип */
35
+ type?: BlankEnum | Type02BEnum;
33
36
  }
@@ -0,0 +1,11 @@
1
+ import { PestField } from '../../../index';
2
+ export interface EntomophagePest {
3
+ id: number;
4
+ pest: PestField;
5
+ /**
6
+ * Соотношение хищник/жертва
7
+ * Например: 1:3 или 1:10-1:15
8
+ * @maxLength 32
9
+ */
10
+ ratio?: string;
11
+ }
@@ -0,0 +1,10 @@
1
+ export interface EntomophagePestChangeRequest {
2
+ /** Вредитель */
3
+ pest: number;
4
+ /**
5
+ * Соотношение хищник/жертва
6
+ * Например: 1:3 или 1:10-1:15
7
+ * @maxLength 32
8
+ */
9
+ ratio?: string;
10
+ }
@@ -1,3 +1,4 @@
1
+ import { BlankEnum, EntomophagePestChangeRequest, Type02BEnum } from '../../../index';
1
2
  export interface PatchedEntomophageChangeRequest {
2
3
  /**
3
4
  * Показывать
@@ -35,7 +36,7 @@ export interface PatchedEntomophageChangeRequest {
35
36
  * @maxLength 255
36
37
  */
37
38
  name_short?: string;
38
- pests?: number[];
39
+ pests?: EntomophagePestChangeRequest[];
39
40
  /**
40
41
  * Сортировка
41
42
  * Чем меньше значение, тем выше отображается в списке
@@ -45,4 +46,6 @@ export interface PatchedEntomophageChangeRequest {
45
46
  sort?: number;
46
47
  /** Шаблон проекта */
47
48
  tasktemplate?: number | null;
49
+ /** Тип */
50
+ type?: BlankEnum | Type02BEnum;
48
51
  }
@@ -22,6 +22,8 @@ export { EntomophageMonitoringStatus } from './EntomophageMonitoringStatus';
22
22
  export { EntomophageMonitoringStatusRequest } from './EntomophageMonitoringStatusRequest';
23
23
  export { EntomophageOrder } from './EntomophageOrder';
24
24
  export { EntomophageOrderChangeRequest } from './EntomophageOrderChangeRequest';
25
+ export { EntomophagePest } from './EntomophagePest';
26
+ export { EntomophagePestChangeRequest } from './EntomophagePestChangeRequest';
25
27
  export { EntomophageStage } from './EntomophageStage';
26
28
  export { EntomophageStageChangeRequest } from './EntomophageStageChangeRequest';
27
29
  export { EntomophageStageField } from './EntomophageStageField';
@@ -1,4 +1,4 @@
1
- import { CreatorField, FacilityField, HotbedStatus, PlaceCellField, TurnoverField } from '../../../index';
1
+ import { _HotbedPestField, CreatorField, FacilityField, HotbedStatus, PlaceCellField, TurnoverField } from '../../../index';
2
2
  export interface Hotbed {
3
3
  id: number;
4
4
  /** Создано автоматически */
@@ -15,9 +15,11 @@ export interface Hotbed {
15
15
  frontend_data?: any;
16
16
  /**
17
17
  * Название
18
+ * Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте • вредитель". Например, "1.2.3•№456•Белокрылка"
18
19
  * @maxLength 255
19
20
  */
20
- name: string;
21
+ name?: string;
22
+ pest: _HotbedPestField | null;
21
23
  /**
22
24
  * Сортировка
23
25
  * Чем меньше значение, тем выше отображается в списке
@@ -33,4 +35,11 @@ export interface Hotbed {
33
35
  square?: string | null;
34
36
  status: HotbedStatus | null;
35
37
  turnover: TurnoverField | null;
38
+ /**
39
+ * Номер в обороте
40
+ * Если пустое, будет заполнено автоматически
41
+ * @min 0
42
+ * @max 32767
43
+ */
44
+ turnover_number?: number | null;
36
45
  }
@@ -3,9 +3,11 @@ export interface HotbedApp {
3
3
  cells: number[];
4
4
  /**
5
5
  * Название
6
+ * Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте • вредитель". Например, "1.2.3•№456•Белокрылка"
6
7
  * @maxLength 255
7
8
  */
8
- name: string;
9
+ name?: string;
10
+ pest: number | null;
9
11
  /**
10
12
  * Площадь, м2
11
13
  * @format decimal
@@ -15,4 +17,11 @@ export interface HotbedApp {
15
17
  status: string | null;
16
18
  /** Оборот */
17
19
  turnover?: number | null;
20
+ /**
21
+ * Номер в обороте
22
+ * Если пустое, будет заполнено автоматически
23
+ * @min 0
24
+ * @max 32767
25
+ */
26
+ turnover_number?: number | null;
18
27
  }
@@ -7,10 +7,12 @@ export interface HotbedChangeRequest {
7
7
  frontend_data?: any;
8
8
  /**
9
9
  * Название
10
- * @minLength 1
10
+ * Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте • вредитель". Например, "1.2.3•№456•Белокрылка"
11
11
  * @maxLength 255
12
12
  */
13
- name: string;
13
+ name?: string;
14
+ /** Вредитель */
15
+ pest?: number | null;
14
16
  /**
15
17
  * Сортировка
16
18
  * Чем меньше значение, тем выше отображается в списке
@@ -24,8 +26,18 @@ export interface HotbedChangeRequest {
24
26
  * @pattern ^-?\d{0,11}(?:\.\d{0,4})?$
25
27
  */
26
28
  square?: string | null;
27
- /** Статус очага */
29
+ /**
30
+ * Статус очага
31
+ * Если не указан при создании, то будет установлен статус "Рабочий"
32
+ */
28
33
  status?: HotbedStatusRequest;
29
34
  /** Оборот */
30
35
  turnover?: number | null;
36
+ /**
37
+ * Номер в обороте
38
+ * Если пустое, будет заполнено автоматически
39
+ * @min 0
40
+ * @max 32767
41
+ */
42
+ turnover_number?: number | null;
31
43
  }
@@ -0,0 +1,11 @@
1
+ import { CreatorField, PlaceCellField } from '../../../index';
2
+ export interface HotbedHistory {
3
+ id: number;
4
+ cells: PlaceCellField[];
5
+ creator: CreatorField | null;
6
+ /**
7
+ * Дата/время создания
8
+ * @format date-time
9
+ */
10
+ dt_create: string;
11
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated. Do not edit it manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
- import { PlantInBlock } from '../../../index';
2
- export interface PaginatedPlantInBlockList {
1
+ import { HotbedHistory } from '../../../index';
2
+ export interface PaginatedHotbedHistoryList {
3
3
  /** @example 123 */
4
4
  count: number;
5
5
  /**
@@ -12,5 +12,5 @@ export interface PaginatedPlantInBlockList {
12
12
  * @example "http://api.example.org/accounts/?offset=200&limit=100"
13
13
  */
14
14
  previous?: string | null;
15
- results: PlantInBlock[];
15
+ results: HotbedHistory[];
16
16
  }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated. Do not edit it manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,10 +7,12 @@ export interface PatchedHotbedChangeRequest {
7
7
  frontend_data?: any;
8
8
  /**
9
9
  * Название
10
- * @minLength 1
10
+ * Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте • вредитель". Например, "1.2.3•№456•Белокрылка"
11
11
  * @maxLength 255
12
12
  */
13
13
  name?: string;
14
+ /** Вредитель */
15
+ pest?: number | null;
14
16
  /**
15
17
  * Сортировка
16
18
  * Чем меньше значение, тем выше отображается в списке
@@ -24,8 +26,18 @@ export interface PatchedHotbedChangeRequest {
24
26
  * @pattern ^-?\d{0,11}(?:\.\d{0,4})?$
25
27
  */
26
28
  square?: string | null;
27
- /** Статус очага */
29
+ /**
30
+ * Статус очага
31
+ * Если не указан при создании, то будет установлен статус "Рабочий"
32
+ */
28
33
  status?: HotbedStatusRequest;
29
34
  /** Оборот */
30
35
  turnover?: number | null;
36
+ /**
37
+ * Номер в обороте
38
+ * Если пустое, будет заполнено автоматически
39
+ * @min 0
40
+ * @max 32767
41
+ */
42
+ turnover_number?: number | null;
31
43
  }
@@ -0,0 +1,45 @@
1
+ export interface _HotbedPestField {
2
+ id: number;
3
+ /**
4
+ * Показывать
5
+ * Если отключёно, элемент не будет отображаться на сайте
6
+ */
7
+ active?: boolean;
8
+ /** Цвет */
9
+ color?: string;
10
+ /** Цвет ч/б */
11
+ color_monochrome?: string;
12
+ /** Цвет ч/б текста */
13
+ color_monochrome_text?: string;
14
+ /** Цвет текста */
15
+ color_text?: string;
16
+ /**
17
+ * Количество для степени поражения "Высокая"
18
+ * Допустимый ввод, например, ">13" или ">=17"
19
+ */
20
+ damage_count_high?: string;
21
+ /**
22
+ * Количество для степени поражения "Низкая"
23
+ * Допустимый ввод, например, "<3" или "<=5"
24
+ */
25
+ damage_count_low?: string;
26
+ /**
27
+ * Количество для степени поражения "Средняя"
28
+ * Допустимый ввод, например, "7-11"
29
+ */
30
+ damage_count_middle?: string;
31
+ /**
32
+ * Название
33
+ * @maxLength 255
34
+ */
35
+ name: string;
36
+ /** Причина для удаления */
37
+ reason_for_deletion?: boolean;
38
+ /**
39
+ * Сортировка
40
+ * Чем меньше значение, тем выше отображается в списке
41
+ * @min -32768
42
+ * @max 32767
43
+ */
44
+ sort?: number;
45
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated. Do not edit it manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,9 +1,12 @@
1
+ export { _HotbedPestField } from './_HotbedPestField';
1
2
  export { Hotbed } from './Hotbed';
2
3
  export { HotbedApp } from './HotbedApp';
3
4
  export { HotbedChangeRequest } from './HotbedChangeRequest';
5
+ export { HotbedHistory } from './HotbedHistory';
4
6
  export { HotbedStatus } from './HotbedStatus';
5
7
  export { HotbedStatusRequest } from './HotbedStatusRequest';
6
8
  export { PaginatedHotbedAppList } from './PaginatedHotbedAppList';
9
+ export { PaginatedHotbedHistoryList } from './PaginatedHotbedHistoryList';
7
10
  export { PaginatedHotbedList } from './PaginatedHotbedList';
8
11
  export { PaginatedHotbedStatusList } from './PaginatedHotbedStatusList';
9
12
  export { PatchedHotbedChangeRequest } from './PatchedHotbedChangeRequest';
@@ -1,4 +1,3 @@
1
- export { PaginatedPlantInBlockList } from './PaginatedPlantInBlockList';
2
1
  export { PaginatedPlantList } from './PaginatedPlantList';
3
2
  export { PaginatedPlantStatusList } from './PaginatedPlantStatusList';
4
3
  export { PatchedPlantChangeRequest } from './PatchedPlantChangeRequest';
@@ -7,6 +6,5 @@ export { Plant } from './Plant';
7
6
  export { PlantChangeRequest } from './PlantChangeRequest';
8
7
  export { PlantDetail } from './PlantDetail';
9
8
  export { PlantField } from './PlantField';
10
- export { PlantInBlock } from './PlantInBlock';
11
9
  export { PlantStatus } from './PlantStatus';
12
10
  export { PlantStatusRequest } from './PlantStatusRequest';
@@ -8,7 +8,7 @@ export interface ReportBlockIncident {
8
8
  * @min 0
9
9
  * @max 2147483647
10
10
  */
11
- block_plants_count: number;
11
+ block_plants_count?: number | null;
12
12
  /**
13
13
  * @min 0
14
14
  * @max 2147483647
@@ -27,5 +27,7 @@ export interface ReportBlockIncident {
27
27
  * @format decimal
28
28
  * @pattern ^-?\d{0,3}(?:\.\d{0,3})?$
29
29
  */
30
- percent: string;
30
+ percent?: string | null;
31
+ /** Оборот */
32
+ turnover?: number | null;
31
33
  }
@@ -16,4 +16,6 @@ export interface ReportBlockPestsIncident {
16
16
  dt_create?: string;
17
17
  facility: string;
18
18
  incident_data: string;
19
+ /** Оборот */
20
+ turnover?: number | null;
19
21
  }
@@ -31,7 +31,7 @@ export interface ReportBlockPollination {
31
31
  inspection_plan: number;
32
32
  /**
33
33
  * @format decimal
34
- * @pattern ^-?\d{0,3}(?:\.\d{0,3})?$
34
+ * @pattern ^-?\d{0,6}(?:\.\d{0,3})?$
35
35
  */
36
36
  percent: string;
37
37
  zones: ReportBlockPollinationZones[];
@@ -26,7 +26,7 @@ export interface ReportBlockPollinationZones {
26
26
  inspection_plan: number;
27
27
  /**
28
28
  * @format decimal
29
- * @pattern ^-?\d{0,3}(?:\.\d{0,3})?$
29
+ * @pattern ^-?\d{0,6}(?:\.\d{0,3})?$
30
30
  */
31
31
  percent: string;
32
32
  rows: ReportZonePollinationRows[];
@@ -23,7 +23,7 @@ export interface ReportCellPollination {
23
23
  inspection_plan: number;
24
24
  /**
25
25
  * @format decimal
26
- * @pattern ^-?\d{0,3}(?:\.\d{0,3})?$
26
+ * @pattern ^-?\d{0,6}(?:\.\d{0,3})?$
27
27
  */
28
28
  percent: string;
29
29
  pollinationpoint: ReportCellPollinationPollinationpoint;
@@ -16,4 +16,6 @@ export interface ReportRowIncident {
16
16
  incident_plants_count: string;
17
17
  row_id: string;
18
18
  row_name: string;
19
+ /** Оборот */
20
+ turnover?: number | null;
19
21
  }
@@ -14,4 +14,6 @@ export interface ReportRowPestsIncident {
14
14
  incident_data: string;
15
15
  row_id: string;
16
16
  row_name: string;
17
+ /** Оборот */
18
+ turnover?: number | null;
17
19
  }
@@ -29,7 +29,7 @@ export interface ReportRowPollination {
29
29
  inspection_plan: number;
30
30
  /**
31
31
  * @format decimal
32
- * @pattern ^-?\d{0,3}(?:\.\d{0,3})?$
32
+ * @pattern ^-?\d{0,6}(?:\.\d{0,3})?$
33
33
  */
34
34
  percent: string;
35
35
  row_id: string;
@@ -21,7 +21,7 @@ export interface ReportRowPollinationCells {
21
21
  inspection_plan: number;
22
22
  /**
23
23
  * @format decimal
24
- * @pattern ^-?\d{0,3}(?:\.\d{0,3})?$
24
+ * @pattern ^-?\d{0,6}(?:\.\d{0,3})?$
25
25
  */
26
26
  percent: string;
27
27
  pollinationpoint: ReportCellPollinationPollinationpoint;
@@ -14,6 +14,8 @@ export interface ReportZoneIncident {
14
14
  incident_data: string;
15
15
  /** Alias for "count" field */
16
16
  incident_plants_count: string;
17
+ /** Оборот */
18
+ turnover?: number | null;
17
19
  zone_id: string;
18
20
  zone_name: string;
19
21
  }
@@ -12,6 +12,8 @@ export interface ReportZonePestsIncident {
12
12
  dt_create?: string;
13
13
  facility: string;
14
14
  incident_data: string;
15
+ /** Оборот */
16
+ turnover?: number | null;
15
17
  zone_id: string;
16
18
  zone_name: string;
17
19
  }
@@ -28,7 +28,7 @@ export interface ReportZonePollination {
28
28
  inspection_plan: number;
29
29
  /**
30
30
  * @format decimal
31
- * @pattern ^-?\d{0,3}(?:\.\d{0,3})?$
31
+ * @pattern ^-?\d{0,6}(?:\.\d{0,3})?$
32
32
  */
33
33
  percent: string;
34
34
  rows: ReportZonePollinationRows[];
@@ -27,7 +27,7 @@ export interface ReportZonePollinationRows {
27
27
  inspection_plan: number;
28
28
  /**
29
29
  * @format decimal
30
- * @pattern ^-?\d{0,3}(?:\.\d{0,3})?$
30
+ * @pattern ^-?\d{0,6}(?:\.\d{0,3})?$
31
31
  */
32
32
  percent: string;
33
33
  row_id: string;
@@ -1,3 +1,4 @@
1
+ import { SurveyQuestionTypeEnum } from '../../../index';
1
2
  export interface PatchedSurveyQuestionRequest {
2
3
  /**
3
4
  * Показывать
@@ -18,4 +19,6 @@ export interface PatchedSurveyQuestionRequest {
18
19
  * @max 32767
19
20
  */
20
21
  sort?: number;
22
+ /** Тип */
23
+ type?: SurveyQuestionTypeEnum;
21
24
  }
@@ -1,4 +1,4 @@
1
- import { SurveyQuestionTypeEnum } from '../../../index';
1
+ import { SurveyQuestionOption, SurveyQuestionTypeEnum } from '../../../index';
2
2
  export interface SurveyQuestion {
3
3
  id: number;
4
4
  /**
@@ -6,6 +6,7 @@ export interface SurveyQuestion {
6
6
  * Если отключёно, элемент не будет отображаться на сайте
7
7
  */
8
8
  active?: boolean;
9
+ options: SurveyQuestionOption[];
9
10
  /** Вопрос */
10
11
  question: string;
11
12
  /** Обязательный */
@@ -18,5 +19,5 @@ export interface SurveyQuestion {
18
19
  */
19
20
  sort?: number;
20
21
  /** Тип */
21
- type: SurveyQuestionTypeEnum;
22
+ type?: SurveyQuestionTypeEnum;
22
23
  }
@@ -1,10 +1,7 @@
1
1
  import { CreatorField, SurveyQuestionTypeEnum } from '../../../index';
2
2
  export interface SurveyQuestionAnswer {
3
3
  id: number;
4
- /**
5
- * Ответ
6
- * @maxLength 255
7
- */
4
+ /** Ответ */
8
5
  answer?: string;
9
6
  /**
10
7
  * Версия приложения
@@ -19,6 +16,8 @@ export interface SurveyQuestionAnswer {
19
16
  * @format date-time
20
17
  */
21
18
  dt_create: string;
19
+ /** Выбранные варианты */
20
+ options?: number[];
22
21
  /** Вопрос */
23
22
  question: string;
24
23
  /** Обязательный */
@@ -26,5 +25,5 @@ export interface SurveyQuestionAnswer {
26
25
  /** Вопрос */
27
26
  surveyquestion: number;
28
27
  /** Тип */
29
- type: SurveyQuestionTypeEnum;
28
+ type?: SurveyQuestionTypeEnum;
30
29
  }
@@ -18,6 +18,7 @@ export interface SurveyQuestionAnswerChange {
18
18
  * @format date-time
19
19
  */
20
20
  dt_create: string;
21
+ options: number[];
21
22
  /** Вопрос */
22
23
  question: string;
23
24
  /** Обязательный */
@@ -0,0 +1,15 @@
1
+ export interface SurveyQuestionOption {
2
+ id: number;
3
+ /**
4
+ * Название
5
+ * @maxLength 255
6
+ */
7
+ name: string;
8
+ /**
9
+ * Сортировка
10
+ * Чем меньше значение, тем выше отображается в списке
11
+ * @min -32768
12
+ * @max 32767
13
+ */
14
+ sort?: number;
15
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file is auto-generated. Do not edit it manually.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,3 +1,4 @@
1
+ import { SurveyQuestionTypeEnum } from '../../../index';
1
2
  export interface SurveyQuestionRequest {
2
3
  /**
3
4
  * Показывать
@@ -18,4 +19,6 @@ export interface SurveyQuestionRequest {
18
19
  * @max 32767
19
20
  */
20
21
  sort?: number;
22
+ /** Тип */
23
+ type?: SurveyQuestionTypeEnum;
21
24
  }
@@ -8,5 +8,6 @@ export { SurveyQuestion } from './SurveyQuestion';
8
8
  export { SurveyQuestionAnswer } from './SurveyQuestionAnswer';
9
9
  export { SurveyQuestionAnswerChange } from './SurveyQuestionAnswerChange';
10
10
  export { SurveyQuestionAnswerChangeRequest } from './SurveyQuestionAnswerChangeRequest';
11
+ export { SurveyQuestionOption } from './SurveyQuestionOption';
11
12
  export { SurveyQuestionRequest } from './SurveyQuestionRequest';
12
13
  export { SurveyRequest } from './SurveyRequest';
@@ -18,11 +18,6 @@ export interface PatchedTurnoverChangeRequest {
18
18
  * @format date-time
19
19
  */
20
20
  dt_end?: string;
21
- /**
22
- * Дата/время окончания (фактическое)
23
- * @format date-time
24
- */
25
- dt_end_actual?: string | null;
26
21
  /** Тепличный комплекс */
27
22
  facility?: number;
28
23
  hybrids?: number[];