@itcase/types-pps 1.1.94 → 1.1.96
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.
- package/dist/generated/enums/Beehive/BeehiveStateEnum.d.ts +9 -0
- package/dist/generated/enums/Beehive/BeehiveStateEnum.js +9 -0
- package/dist/generated/enums/Bio/BioRowStatusStatusEnum.d.ts +8 -0
- package/dist/generated/enums/Bio/BioRowStatusStatusEnum.js +10 -0
- package/dist/generated/enums/Bio/index.d.ts +1 -0
- package/dist/generated/enums/Bio/index.js +2 -0
- package/dist/generated/enums/Zone/ZoneTypeEnum.d.ts +3 -1
- package/dist/generated/enums/Zone/ZoneTypeEnum.js +2 -0
- package/dist/generated/enums/index.d.ts +1 -0
- package/dist/generated/enums/index.js +1 -0
- package/dist/generated/restRoutes.d.ts +141 -11
- package/dist/generated/types/Beehive/Beehive.d.ts +0 -3
- package/dist/generated/types/Beehive/BeehiveActionWithPlaceHistory.d.ts +0 -3
- package/dist/generated/types/Beehive/BeehiveChangeRequest.d.ts +18 -0
- package/dist/generated/types/Beehive/BeehiveField.d.ts +0 -3
- package/dist/generated/types/Beehive/BeehiveRetrospective.d.ts +2 -1
- package/dist/generated/types/Beehive/BeehiveStatusValue.d.ts +1 -5
- package/dist/generated/types/Beehive/BeehiveStatusValueRequest.d.ts +1 -5
- package/dist/generated/types/Beehive/PatchedBeehiveChangeRequest.d.ts +18 -0
- package/dist/generated/types/Beehive/PatchedBeehiveStatusValueRequest.d.ts +1 -5
- package/dist/generated/types/Bio/BioRow.d.ts +30 -0
- package/dist/generated/types/Bio/BioRow.js +2 -0
- package/dist/generated/types/Bio/BioRowChangeRequest.d.ts +25 -0
- package/dist/generated/types/Bio/BioRowChangeRequest.js +2 -0
- package/dist/generated/types/Bio/BioRowStatus.d.ts +14 -0
- package/dist/generated/types/Bio/BioRowStatus.js +2 -0
- package/dist/generated/types/Bio/BioRowStatusRequest.d.ts +7 -0
- package/dist/generated/types/Bio/BioRowStatusRequest.js +2 -0
- package/dist/generated/types/Bio/PaginatedBioRowList.d.ts +16 -0
- package/dist/generated/types/Bio/PaginatedBioRowList.js +2 -0
- package/dist/generated/types/Bio/PaginatedBioRowStatusList.d.ts +16 -0
- package/dist/generated/types/Bio/PaginatedBioRowStatusList.js +2 -0
- package/dist/generated/types/Bio/PatchedBioRowChangeRequest.d.ts +25 -0
- package/dist/generated/types/Bio/PatchedBioRowChangeRequest.js +2 -0
- package/dist/generated/types/Bio/PatchedBioRowStatusRequest.d.ts +7 -0
- package/dist/generated/types/Bio/PatchedBioRowStatusRequest.js +2 -0
- package/dist/generated/types/Bio/index.d.ts +8 -0
- package/dist/generated/types/Bio/index.js +2 -0
- package/dist/generated/types/Block/Block.d.ts +1 -5
- package/dist/generated/types/Block/BlockChange.d.ts +1 -5
- package/dist/generated/types/Block/BlockChangeRequest.d.ts +1 -5
- package/dist/generated/types/Block/BlockDetail.d.ts +1 -5
- package/dist/generated/types/Block/BlockRequest.d.ts +1 -5
- package/dist/generated/types/Block/PatchedBlockChangeRequest.d.ts +1 -5
- package/dist/generated/types/Brigade/_BrigadeUsers.d.ts +5 -4
- package/dist/generated/types/Creator/CreatorField.d.ts +5 -4
- package/dist/generated/types/Creator/CreatorFieldRequest.d.ts +1 -5
- package/dist/generated/types/Culture/PatchedCultureChangeRequest.d.ts +1 -1
- package/dist/generated/types/Deviation/Deviation.d.ts +4 -20
- package/dist/generated/types/Deviation/DeviationChangeRequest.d.ts +4 -20
- package/dist/generated/types/Deviation/DeviationField.d.ts +11 -20
- package/dist/generated/types/Deviation/PatchedDeviationChangeRequest.d.ts +4 -20
- package/dist/generated/types/Disease/Disease.d.ts +4 -20
- package/dist/generated/types/Disease/DiseaseChangeRequest.d.ts +4 -20
- package/dist/generated/types/Disease/DiseaseField.d.ts +11 -20
- package/dist/generated/types/Disease/PatchedDiseaseChangeRequest.d.ts +4 -20
- package/dist/generated/types/Entomophage/Entomophage.d.ts +12 -2
- package/dist/generated/types/Entomophage/EntomophageChangeRequest.d.ts +13 -5
- package/dist/generated/types/Entomophage/EntomophageField.d.ts +25 -0
- package/dist/generated/types/Entomophage/EntomophageSupplierField.d.ts +1 -2
- package/dist/generated/types/Entomophage/PatchedEntomophageChangeRequest.d.ts +12 -4
- package/dist/generated/types/News/NewsChange.d.ts +1 -1
- package/dist/generated/types/Pest/PatchedPestChangeRequest.d.ts +4 -20
- package/dist/generated/types/Pest/Pest.d.ts +4 -20
- package/dist/generated/types/Pest/PestChangeRequest.d.ts +4 -20
- package/dist/generated/types/Pest/PestField.d.ts +1 -5
- package/dist/generated/types/Pollination/PatchedPollinationPointChangeRequest.d.ts +2 -2
- package/dist/generated/types/Pollination/PollinationPoint.d.ts +3 -2
- package/dist/generated/types/Pollination/PollinationPointChangeRequest.d.ts +3 -3
- package/dist/generated/types/Pollination/PollinationPointField.d.ts +3 -2
- package/dist/generated/types/Pollination/PollinationPointFieldRequest.d.ts +3 -3
- package/dist/generated/types/Report/ReportRowPestsIncident.d.ts +1 -1
- package/dist/generated/types/Row/PatchedRowChangeRequest.d.ts +2 -0
- package/dist/generated/types/Row/Row.d.ts +2 -0
- package/dist/generated/types/Row/RowChange.d.ts +2 -0
- package/dist/generated/types/Row/RowChangeRequest.d.ts +2 -0
- package/dist/generated/types/Row/RowDetail.d.ts +2 -1
- package/dist/generated/types/Row/RowRequest.d.ts +2 -0
- package/dist/generated/types/Row/RowSideDetailRow.d.ts +2 -1
- package/dist/generated/types/Settings/PatchedSettingsRequest.d.ts +0 -2
- package/dist/generated/types/Settings/Settings.d.ts +0 -2
- package/dist/generated/types/Settings/SettingsRequest.d.ts +0 -2
- package/dist/generated/types/Task/PatchedTaskChangeRequest.d.ts +2 -2
- package/dist/generated/types/Task/Task.d.ts +2 -2
- package/dist/generated/types/Task/TaskChange.d.ts +0 -1
- package/dist/generated/types/Task/TaskChangeRequest.d.ts +2 -2
- package/dist/generated/types/Task/TaskDetail.d.ts +2 -2
- package/dist/generated/types/Task/TaskPollinationPointField.d.ts +29 -0
- package/dist/generated/types/Task/TaskPollinationPointField.js +2 -0
- package/dist/generated/types/Task/TaskPollinationPointRelated.d.ts +5 -0
- package/dist/generated/types/Task/TaskPollinationPointRelated.js +2 -0
- package/dist/generated/types/Task/TaskPollinationPointRelatedRequest.d.ts +5 -0
- package/dist/generated/types/Task/TaskPollinationPointRelatedRequest.js +2 -0
- package/dist/generated/types/Task/TaskProject.d.ts +1 -1
- package/dist/generated/types/Task/TaskProjectPlaceChange.d.ts +1 -1
- package/dist/generated/types/Task/index.d.ts +3 -0
- package/dist/generated/types/Turnover/PatchedTurnoverChangeRequest.d.ts +5 -0
- package/dist/generated/types/Turnover/Turnover.d.ts +11 -1
- package/dist/generated/types/Turnover/TurnoverChangeRequest.d.ts +5 -0
- package/dist/generated/types/User/PatchedUserUpdateRequest.d.ts +1 -5
- package/dist/generated/types/User/User.d.ts +6 -5
- package/dist/generated/types/User/UserCreateRequest.d.ts +1 -5
- package/dist/generated/types/User/UserUpdateRequest.d.ts +1 -5
- package/dist/generated/types/Violation/PatchedViolationChangeRequest.d.ts +4 -20
- package/dist/generated/types/Violation/Violation.d.ts +4 -20
- package/dist/generated/types/Violation/ViolationChangeRequest.d.ts +4 -20
- package/dist/generated/types/Violation/ViolationField.d.ts +11 -20
- package/dist/generated/types/Wiki/PatchedWikiPageChangeRequest.d.ts +1 -5
- package/dist/generated/types/Wiki/WikiPage.d.ts +1 -5
- package/dist/generated/types/Wiki/WikiPageChangeRequest.d.ts +1 -5
- package/dist/generated/types/Wiki/WikiPageDetail.d.ts +1 -5
- package/dist/generated/types/Wiki/_WikiPageNested.d.ts +1 -5
- package/dist/generated/types/index.d.ts +2 -1
- package/package.json +2 -2
|
@@ -1,8 +1,33 @@
|
|
|
1
1
|
export interface EntomophageField {
|
|
2
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;
|
|
3
16
|
/**
|
|
4
17
|
* Название
|
|
5
18
|
* @maxLength 255
|
|
6
19
|
*/
|
|
7
20
|
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Название краткое
|
|
23
|
+
* @maxLength 255
|
|
24
|
+
*/
|
|
25
|
+
name_short: string;
|
|
26
|
+
/**
|
|
27
|
+
* Сортировка
|
|
28
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
29
|
+
* @min -32768
|
|
30
|
+
* @max 32767
|
|
31
|
+
*/
|
|
32
|
+
sort?: number;
|
|
8
33
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export interface EntomophageSupplierField {
|
|
2
|
+
id: number;
|
|
2
3
|
/**
|
|
3
4
|
* Показывать
|
|
4
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
@@ -9,8 +10,6 @@ export interface EntomophageSupplierField {
|
|
|
9
10
|
* @maxLength 255
|
|
10
11
|
*/
|
|
11
12
|
name: string;
|
|
12
|
-
/** ID */
|
|
13
|
-
pk: number;
|
|
14
13
|
/**
|
|
15
14
|
* Сортировка
|
|
16
15
|
* Чем меньше значение, тем выше отображается в списке
|
|
@@ -4,6 +4,14 @@ export interface PatchedEntomophageChangeRequest {
|
|
|
4
4
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
5
5
|
*/
|
|
6
6
|
active?: boolean;
|
|
7
|
+
/** Цвет */
|
|
8
|
+
color?: string;
|
|
9
|
+
/** Цвет ч/б */
|
|
10
|
+
color_monochrome?: string;
|
|
11
|
+
/** Цвет ч/б текста */
|
|
12
|
+
color_monochrome_text?: string;
|
|
13
|
+
/** Цвет текста */
|
|
14
|
+
color_text?: string;
|
|
7
15
|
facilities?: number[];
|
|
8
16
|
/** @format binary */
|
|
9
17
|
image?: File | null;
|
|
@@ -24,10 +32,8 @@ export interface PatchedEntomophageChangeRequest {
|
|
|
24
32
|
* @minLength 1
|
|
25
33
|
*/
|
|
26
34
|
pack?: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
* @minLength 1
|
|
30
|
-
*/
|
|
35
|
+
pests?: number[];
|
|
36
|
+
/** Назначение */
|
|
31
37
|
purpose?: string;
|
|
32
38
|
/**
|
|
33
39
|
* Сортировка
|
|
@@ -38,4 +44,6 @@ export interface PatchedEntomophageChangeRequest {
|
|
|
38
44
|
sort?: number;
|
|
39
45
|
/** Поставщик Энтомофагов */
|
|
40
46
|
supplier?: number | null;
|
|
47
|
+
/** Шаблон проекта */
|
|
48
|
+
tasktemplate?: number | null;
|
|
41
49
|
}
|
|
@@ -5,29 +5,13 @@ export interface PatchedPestChangeRequest {
|
|
|
5
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
6
6
|
*/
|
|
7
7
|
active?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Цвет
|
|
10
|
-
* @maxLength 25
|
|
11
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
12
|
-
*/
|
|
8
|
+
/** Цвет */
|
|
13
9
|
color?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Цвет ч/б
|
|
16
|
-
* @maxLength 25
|
|
17
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
18
|
-
*/
|
|
10
|
+
/** Цвет ч/б */
|
|
19
11
|
color_monochrome?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Цвет ч/б текста
|
|
22
|
-
* @maxLength 25
|
|
23
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
24
|
-
*/
|
|
12
|
+
/** Цвет ч/б текста */
|
|
25
13
|
color_monochrome_text?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Цвет текста
|
|
28
|
-
* @maxLength 25
|
|
29
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
30
|
-
*/
|
|
14
|
+
/** Цвет текста */
|
|
31
15
|
color_text?: string;
|
|
32
16
|
/**
|
|
33
17
|
* Количество для степени поражения "Высокая"
|
|
@@ -6,29 +6,13 @@ export interface Pest {
|
|
|
6
6
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
7
7
|
*/
|
|
8
8
|
active?: boolean;
|
|
9
|
-
/**
|
|
10
|
-
* Цвет
|
|
11
|
-
* @maxLength 25
|
|
12
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
13
|
-
*/
|
|
9
|
+
/** Цвет */
|
|
14
10
|
color?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Цвет ч/б
|
|
17
|
-
* @maxLength 25
|
|
18
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
19
|
-
*/
|
|
11
|
+
/** Цвет ч/б */
|
|
20
12
|
color_monochrome?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Цвет ч/б текста
|
|
23
|
-
* @maxLength 25
|
|
24
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
25
|
-
*/
|
|
13
|
+
/** Цвет ч/б текста */
|
|
26
14
|
color_monochrome_text?: string;
|
|
27
|
-
/**
|
|
28
|
-
* Цвет текста
|
|
29
|
-
* @maxLength 25
|
|
30
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
31
|
-
*/
|
|
15
|
+
/** Цвет текста */
|
|
32
16
|
color_text?: string;
|
|
33
17
|
creator: CreatorField | null;
|
|
34
18
|
/**
|
|
@@ -5,29 +5,13 @@ export interface PestChangeRequest {
|
|
|
5
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
6
6
|
*/
|
|
7
7
|
active?: boolean;
|
|
8
|
-
/**
|
|
9
|
-
* Цвет
|
|
10
|
-
* @maxLength 25
|
|
11
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
12
|
-
*/
|
|
8
|
+
/** Цвет */
|
|
13
9
|
color?: string;
|
|
14
|
-
/**
|
|
15
|
-
* Цвет ч/б
|
|
16
|
-
* @maxLength 25
|
|
17
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
18
|
-
*/
|
|
10
|
+
/** Цвет ч/б */
|
|
19
11
|
color_monochrome?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Цвет ч/б текста
|
|
22
|
-
* @maxLength 25
|
|
23
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
24
|
-
*/
|
|
12
|
+
/** Цвет ч/б текста */
|
|
25
13
|
color_monochrome_text?: string;
|
|
26
|
-
/**
|
|
27
|
-
* Цвет текста
|
|
28
|
-
* @maxLength 25
|
|
29
|
-
* @pattern ^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$
|
|
30
|
-
*/
|
|
14
|
+
/** Цвет текста */
|
|
31
15
|
color_text?: string;
|
|
32
16
|
/**
|
|
33
17
|
* Количество для степени поражения "Высокая"
|
|
@@ -12,8 +12,8 @@ export interface PatchedPollinationPointChangeRequest {
|
|
|
12
12
|
*/
|
|
13
13
|
inspection_plan?: number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* Название
|
|
16
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
17
17
|
* @maxLength 255
|
|
18
18
|
*/
|
|
19
19
|
name?: string;
|
|
@@ -21,10 +21,11 @@ export interface PollinationPoint {
|
|
|
21
21
|
*/
|
|
22
22
|
inspection_plan: number;
|
|
23
23
|
/**
|
|
24
|
-
*
|
|
24
|
+
* Название
|
|
25
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
25
26
|
* @maxLength 255
|
|
26
27
|
*/
|
|
27
|
-
name
|
|
28
|
+
name?: string;
|
|
28
29
|
place_block: PlaceBlockField | null;
|
|
29
30
|
place_cell: PlaceCellField | null;
|
|
30
31
|
place_department: PlaceDepartmentField | null;
|
|
@@ -12,11 +12,11 @@ export interface PollinationPointChangeRequest {
|
|
|
12
12
|
*/
|
|
13
13
|
inspection_plan: number;
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* Название
|
|
16
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
17
17
|
* @maxLength 255
|
|
18
18
|
*/
|
|
19
|
-
name
|
|
19
|
+
name?: string;
|
|
20
20
|
/** Блок */
|
|
21
21
|
place_block?: number | null;
|
|
22
22
|
/** Ячейка */
|
|
@@ -11,10 +11,11 @@ export interface PollinationPointField {
|
|
|
11
11
|
*/
|
|
12
12
|
inspection_plan: number;
|
|
13
13
|
/**
|
|
14
|
-
*
|
|
14
|
+
* Название
|
|
15
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
15
16
|
* @maxLength 255
|
|
16
17
|
*/
|
|
17
|
-
name
|
|
18
|
+
name?: string;
|
|
18
19
|
place_block: PlaceBlockField | null;
|
|
19
20
|
place_cell: PlaceCellField | null;
|
|
20
21
|
place_department: PlaceDepartmentField | null;
|
|
@@ -8,9 +8,9 @@ export interface PollinationPointFieldRequest {
|
|
|
8
8
|
*/
|
|
9
9
|
inspection_plan: number;
|
|
10
10
|
/**
|
|
11
|
-
*
|
|
12
|
-
*
|
|
11
|
+
* Название
|
|
12
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
13
13
|
* @maxLength 255
|
|
14
14
|
*/
|
|
15
|
-
name
|
|
15
|
+
name?: string;
|
|
16
16
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlockDetail, CreatorField, FacilityField, RowRowSide, SectionDetail } from '../../../index';
|
|
1
|
+
import { BlockDetail, CreatorField, FacilityField, RowRowSide, SectionDetail, ZoneDetail } from '../../../index';
|
|
2
2
|
export interface RowDetail {
|
|
3
3
|
id: number;
|
|
4
4
|
/** Биоряд */
|
|
@@ -27,4 +27,5 @@ export interface RowDetail {
|
|
|
27
27
|
* @max 32767
|
|
28
28
|
*/
|
|
29
29
|
sort?: number;
|
|
30
|
+
zone: ZoneDetail | null;
|
|
30
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlockDetail, CreatorField, FacilityField, SectionDetail } from '../../../index';
|
|
1
|
+
import { BlockDetail, CreatorField, FacilityField, SectionDetail, ZoneDetail } from '../../../index';
|
|
2
2
|
export interface RowSideDetailRow {
|
|
3
3
|
id: number;
|
|
4
4
|
/** Биоряд */
|
|
@@ -26,4 +26,5 @@ export interface RowSideDetailRow {
|
|
|
26
26
|
* @max 32767
|
|
27
27
|
*/
|
|
28
28
|
sort?: number;
|
|
29
|
+
zone: ZoneDetail | null;
|
|
29
30
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApprovalTypeEnum, BlankEnum, PriorityEnum, TaskChecklistAfterChangeRequest, TaskChecklistBeforeChangeRequest, TaskEntomophageChangeRequest, TaskEquipmentChangeRequest, TaskPlantChangeRequest, TaskPreparationChangeRequest, TaskRepeatRequest, TaskResultRequest, UserTypesEnum } from '../../../index';
|
|
1
|
+
import { ApprovalTypeEnum, BlankEnum, PriorityEnum, TaskChecklistAfterChangeRequest, TaskChecklistBeforeChangeRequest, TaskEntomophageChangeRequest, TaskEquipmentChangeRequest, TaskPlantChangeRequest, TaskPollinationPointRelatedRequest, TaskPreparationChangeRequest, TaskRepeatRequest, TaskResultRequest, UserTypesEnum } from '../../../index';
|
|
2
2
|
export interface PatchedTaskChangeRequest {
|
|
3
3
|
/** Согласование */
|
|
4
4
|
approval_type?: ApprovalTypeEnum;
|
|
@@ -75,7 +75,7 @@ export interface PatchedTaskChangeRequest {
|
|
|
75
75
|
/** Зона */
|
|
76
76
|
place_zone?: number | null;
|
|
77
77
|
plants?: TaskPlantChangeRequest[];
|
|
78
|
-
pollination_points?:
|
|
78
|
+
pollination_points?: TaskPollinationPointRelatedRequest[];
|
|
79
79
|
preparations?: TaskPreparationChangeRequest[];
|
|
80
80
|
/** Приоритет */
|
|
81
81
|
priority?: BlankEnum | PriorityEnum;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _PlaceRowsideField, _TaskExecutorBrigades, ApprovalTypeEnum, BeehiveField, BlankEnum, CreatorField, DeviationField, DiseaseField, EntityField, FacilityField, PestField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceZoneField,
|
|
1
|
+
import { _PlaceRowsideField, _TaskExecutorBrigades, ApprovalTypeEnum, BeehiveField, BlankEnum, CreatorField, DeviationField, DiseaseField, EntityField, FacilityField, PestField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceZoneField, PriorityEnum, TaskApproval, TaskField, TaskPollinationPointField, TaskRepeat, TaskStatus, TaskStatusEnum, TaskTimer, TaskTypeField, TrapField, UserTypesEnum, ViolationField } from '../../../index';
|
|
2
2
|
export interface Task {
|
|
3
3
|
id: number;
|
|
4
4
|
approval: TaskApproval | null;
|
|
@@ -89,7 +89,7 @@ export interface Task {
|
|
|
89
89
|
place_section: PlaceField | null;
|
|
90
90
|
place_tier: string;
|
|
91
91
|
place_zone: PlaceZoneField | null;
|
|
92
|
-
pollination_points
|
|
92
|
+
pollination_points: TaskPollinationPointField[];
|
|
93
93
|
/** Приоритет */
|
|
94
94
|
priority?: BlankEnum | PriorityEnum;
|
|
95
95
|
projects_ids: number[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApprovalTypeEnum, BlankEnum, PriorityEnum, TaskChecklistAfterChangeRequest, TaskChecklistBeforeChangeRequest, TaskEntomophageChangeRequest, TaskEquipmentChangeRequest, TaskPlantChangeRequest, TaskPreparationChangeRequest, TaskRepeatRequest, TaskResultRequest, UserTypesEnum } from '../../../index';
|
|
1
|
+
import { ApprovalTypeEnum, BlankEnum, PriorityEnum, TaskChecklistAfterChangeRequest, TaskChecklistBeforeChangeRequest, TaskEntomophageChangeRequest, TaskEquipmentChangeRequest, TaskPlantChangeRequest, TaskPollinationPointRelatedRequest, TaskPreparationChangeRequest, TaskRepeatRequest, TaskResultRequest, UserTypesEnum } from '../../../index';
|
|
2
2
|
export interface TaskChangeRequest {
|
|
3
3
|
/** Согласование */
|
|
4
4
|
approval_type?: ApprovalTypeEnum;
|
|
@@ -75,7 +75,7 @@ export interface TaskChangeRequest {
|
|
|
75
75
|
/** Зона */
|
|
76
76
|
place_zone?: number | null;
|
|
77
77
|
plants?: TaskPlantChangeRequest[];
|
|
78
|
-
pollination_points?:
|
|
78
|
+
pollination_points?: TaskPollinationPointRelatedRequest[];
|
|
79
79
|
preparations?: TaskPreparationChangeRequest[];
|
|
80
80
|
/** Приоритет */
|
|
81
81
|
priority?: BlankEnum | PriorityEnum;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _PlaceRowsideField, _TaskExecutorBrigades, ApprovalTypeEnum, BeehiveField, BlankEnum, CreatorField, DeviationField, DiseaseField, EntityField, FacilityField, PestField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceZoneField,
|
|
1
|
+
import { _PlaceRowsideField, _TaskExecutorBrigades, ApprovalTypeEnum, BeehiveField, BlankEnum, CreatorField, DeviationField, DiseaseField, EntityField, FacilityField, PestField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceZoneField, PriorityEnum, TaskApproval, TaskChecklistAfter, TaskChecklistBefore, TaskComment, TaskConstructorField, TaskEntomophage, TaskEquipment, TaskField, TaskPlant, TaskPollinationPointField, TaskPreparation, TaskRepeat, TaskResult, TaskStatus, TaskStatusEnum, TaskTimer, TaskTypeField, TrapField, UserTypesEnum, ViolationField } from '../../../index';
|
|
2
2
|
export interface TaskDetail {
|
|
3
3
|
id: number;
|
|
4
4
|
approval: TaskApproval | null;
|
|
@@ -93,7 +93,7 @@ export interface TaskDetail {
|
|
|
93
93
|
place_tier: string;
|
|
94
94
|
place_zone: PlaceZoneField | null;
|
|
95
95
|
plants: TaskPlant[];
|
|
96
|
-
pollination_points
|
|
96
|
+
pollination_points: TaskPollinationPointField[];
|
|
97
97
|
preparations: TaskPreparation[];
|
|
98
98
|
/** Приоритет */
|
|
99
99
|
priority?: BlankEnum | PriorityEnum;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceRowSideField, PlaceZoneField } from '../../../index';
|
|
2
|
+
export interface TaskPollinationPointField {
|
|
3
|
+
id: number;
|
|
4
|
+
assigned_cells: PlaceCellField[];
|
|
5
|
+
available_cells: PlaceCellField[];
|
|
6
|
+
/** Данные фронтенда */
|
|
7
|
+
frontend_data?: any;
|
|
8
|
+
/**
|
|
9
|
+
* План осмотра
|
|
10
|
+
* @min 0
|
|
11
|
+
* @max 2147483647
|
|
12
|
+
*/
|
|
13
|
+
inspection_plan: number;
|
|
14
|
+
/**
|
|
15
|
+
* Название
|
|
16
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
17
|
+
* @maxLength 255
|
|
18
|
+
*/
|
|
19
|
+
name?: string;
|
|
20
|
+
place_block: PlaceBlockField | null;
|
|
21
|
+
place_cell: PlaceCellField | null;
|
|
22
|
+
place_department: PlaceDepartmentField | null;
|
|
23
|
+
place_path_label: string;
|
|
24
|
+
place_row: PlaceRowField | null;
|
|
25
|
+
place_rowside: PlaceRowSideField | null;
|
|
26
|
+
place_section: PlaceField | null;
|
|
27
|
+
place_tier: string;
|
|
28
|
+
place_zone: PlaceZoneField | null;
|
|
29
|
+
}
|
|
@@ -11,7 +11,7 @@ export interface TaskProjectPlaceChange {
|
|
|
11
11
|
place_cell?: number | null;
|
|
12
12
|
/** Отделение */
|
|
13
13
|
place_department?: number | null;
|
|
14
|
-
/** Подпись цепочки
|
|
14
|
+
/** Подпись цепочки местопол��жения */
|
|
15
15
|
place_path_label: string;
|
|
16
16
|
/** Ряд */
|
|
17
17
|
place_row?: number | null;
|
|
@@ -138,6 +138,9 @@ export { TaskPlant } from './TaskPlant';
|
|
|
138
138
|
export { TaskPlantChange } from './TaskPlantChange';
|
|
139
139
|
export { TaskPlantChangeRequest } from './TaskPlantChangeRequest';
|
|
140
140
|
export { TaskPollinationPointActivity } from './TaskPollinationPointActivity';
|
|
141
|
+
export { TaskPollinationPointField } from './TaskPollinationPointField';
|
|
142
|
+
export { TaskPollinationPointRelated } from './TaskPollinationPointRelated';
|
|
143
|
+
export { TaskPollinationPointRelatedRequest } from './TaskPollinationPointRelatedRequest';
|
|
141
144
|
export { TaskPreparation } from './TaskPreparation';
|
|
142
145
|
export { TaskPreparationChange } from './TaskPreparationChange';
|
|
143
146
|
export { TaskPreparationChangeRequest } from './TaskPreparationChangeRequest';
|
|
@@ -4,6 +4,10 @@ export interface PatchedTurnoverChangeRequest {
|
|
|
4
4
|
beehive_autogen?: boolean;
|
|
5
5
|
/** Оборот-донор для автогенерации Ульев */
|
|
6
6
|
beehive_autogen_turnover?: number | null;
|
|
7
|
+
/** Автогенерация Биорядов */
|
|
8
|
+
biorow_autogen?: boolean;
|
|
9
|
+
/** Оборот-донор для автогенерации Биорядов */
|
|
10
|
+
biorow_autogen_turnover?: number | null;
|
|
7
11
|
/**
|
|
8
12
|
* Дата/время начала
|
|
9
13
|
* @format date-time
|
|
@@ -30,6 +34,7 @@ export interface PatchedTurnoverChangeRequest {
|
|
|
30
34
|
name?: string;
|
|
31
35
|
/** Блок */
|
|
32
36
|
place_block?: number | null;
|
|
37
|
+
place_rows?: number[];
|
|
33
38
|
/** Домик */
|
|
34
39
|
place_section?: number | null;
|
|
35
40
|
/** Ярус */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BlankEnum, CreatorField, FacilityField, HybridField, PlaceBlockField, PlaceField, PlaceTierEnum, PlaceZoneField, TurnoverStatus } from '../../../index';
|
|
1
|
+
import { BlankEnum, CreatorField, FacilityField, HybridField, PlaceBlockField, PlaceField, PlaceRowField, PlaceTierEnum, PlaceZoneField, TurnoverStatus } from '../../../index';
|
|
2
2
|
export interface Turnover {
|
|
3
3
|
id: number;
|
|
4
4
|
/** Автогенерация Ульев */
|
|
@@ -10,6 +10,15 @@ export interface Turnover {
|
|
|
10
10
|
beehive_autogen_dt: string | null;
|
|
11
11
|
/** Оборот-донор для автогенерации Ульев */
|
|
12
12
|
beehive_autogen_turnover?: number | null;
|
|
13
|
+
/** Автогенерация Биорядов */
|
|
14
|
+
biorow_autogen?: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Дата / время автогенерации Биорядов
|
|
17
|
+
* @format date-time
|
|
18
|
+
*/
|
|
19
|
+
biorow_autogen_dt: string | null;
|
|
20
|
+
/** Оборот-донор для автогенерации Биорядов */
|
|
21
|
+
biorow_autogen_turnover?: number | null;
|
|
13
22
|
creator: CreatorField | null;
|
|
14
23
|
/**
|
|
15
24
|
* Дата/время начала
|
|
@@ -44,6 +53,7 @@ export interface Turnover {
|
|
|
44
53
|
name: string;
|
|
45
54
|
place_block: PlaceBlockField | null;
|
|
46
55
|
place_path_label: string;
|
|
56
|
+
place_rows: PlaceRowField[];
|
|
47
57
|
place_section: PlaceField | null;
|
|
48
58
|
/** Ярус */
|
|
49
59
|
place_tier?: BlankEnum | PlaceTierEnum;
|
|
@@ -4,6 +4,10 @@ export interface TurnoverChangeRequest {
|
|
|
4
4
|
beehive_autogen?: boolean;
|
|
5
5
|
/** Оборот-донор для автогенерации Ульев */
|
|
6
6
|
beehive_autogen_turnover?: number | null;
|
|
7
|
+
/** Автогенерация Биорядов */
|
|
8
|
+
biorow_autogen?: boolean;
|
|
9
|
+
/** Оборот-донор для автогенерации Биорядов */
|
|
10
|
+
biorow_autogen_turnover?: number | null;
|
|
7
11
|
/**
|
|
8
12
|
* Дата/время начала
|
|
9
13
|
* @format date-time
|
|
@@ -30,6 +34,7 @@ export interface TurnoverChangeRequest {
|
|
|
30
34
|
name: string;
|
|
31
35
|
/** Блок */
|
|
32
36
|
place_block?: number | null;
|
|
37
|
+
place_rows?: number[];
|
|
33
38
|
/** Домик */
|
|
34
39
|
place_section?: number | null;
|
|
35
40
|
/** Ярус */
|