@itcase/types-pps 1.1.95 → 1.1.97
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/Status/Status430Enum.d.ts +8 -0
- package/dist/generated/enums/Status/Status430Enum.js +10 -0
- package/dist/generated/enums/Status/index.d.ts +1 -0
- package/dist/generated/enums/{Culture → Status}/index.js +1 -1
- package/dist/generated/enums/index.d.ts +1 -1
- package/dist/generated/enums/index.js +1 -1
- package/dist/generated/restRoutes.d.ts +247 -16
- 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/Brigade/_BrigadeUsers.d.ts +5 -0
- package/dist/generated/types/Creator/CreatorField.d.ts +5 -0
- package/dist/generated/types/Culture/Culture.d.ts +4 -4
- package/dist/generated/types/Culture/CultureChangeRequest.d.ts +2 -3
- package/dist/generated/types/Culture/CultureField.d.ts +2 -3
- package/dist/generated/types/Culture/PatchedCultureChangeRequest.d.ts +2 -3
- package/dist/generated/types/Deviation/DeviationField.d.ts +7 -0
- package/dist/generated/types/Disease/DiseaseField.d.ts +7 -0
- 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/Hotbed/Hotbed.d.ts +30 -0
- package/dist/generated/types/Hotbed/Hotbed.js +2 -0
- package/dist/generated/types/Hotbed/HotbedChangeRequest.d.ts +25 -0
- package/dist/generated/types/Hotbed/HotbedChangeRequest.js +2 -0
- package/dist/generated/types/Hotbed/HotbedStatus.d.ts +14 -0
- package/dist/generated/types/Hotbed/HotbedStatus.js +2 -0
- package/dist/generated/types/Hotbed/HotbedStatusRequest.d.ts +7 -0
- package/dist/generated/types/Hotbed/HotbedStatusRequest.js +2 -0
- package/dist/generated/types/Hotbed/PaginatedHotbedList.d.ts +16 -0
- package/dist/generated/types/Hotbed/PaginatedHotbedList.js +2 -0
- package/dist/generated/types/Hotbed/PaginatedHotbedStatusList.d.ts +16 -0
- package/dist/generated/types/Hotbed/PaginatedHotbedStatusList.js +2 -0
- package/dist/generated/types/Hotbed/PatchedHotbedChangeRequest.d.ts +25 -0
- package/dist/generated/types/Hotbed/PatchedHotbedChangeRequest.js +2 -0
- package/dist/generated/types/Hotbed/PatchedHotbedStatusRequest.d.ts +7 -0
- package/dist/generated/types/Hotbed/PatchedHotbedStatusRequest.js +2 -0
- package/dist/generated/types/Hotbed/index.d.ts +8 -0
- package/dist/generated/types/Hotbed/index.js +2 -0
- package/dist/generated/types/Mat/Mat.d.ts +1 -1
- package/dist/generated/types/News/NewsImageChange.d.ts +1 -1
- package/dist/generated/types/Place/PlaceRowField.d.ts +0 -1
- 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/Row/PatchedRowChangeRequest.d.ts +0 -2
- package/dist/generated/types/Row/Row.d.ts +0 -2
- package/dist/generated/types/Row/RowChange.d.ts +0 -2
- package/dist/generated/types/Row/RowChangeRequest.d.ts +0 -2
- package/dist/generated/types/Row/RowDetail.d.ts +0 -2
- package/dist/generated/types/Row/RowRequest.d.ts +0 -2
- package/dist/generated/types/Row/RowSideDetailRow.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/TaskConstructorResultRequest.d.ts +1 -1
- 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/TaskTimerRequest.d.ts +1 -1
- package/dist/generated/types/Task/_TaskFieldExecutorBrigades.d.ts +1 -1
- package/dist/generated/types/Task/index.d.ts +3 -0
- package/dist/generated/types/Turnover/PatchedTurnoverChangeRequest.d.ts +5 -1
- package/dist/generated/types/Turnover/Turnover.d.ts +9 -0
- package/dist/generated/types/Turnover/TurnoverChangeRequest.d.ts +4 -0
- package/dist/generated/types/User/User.d.ts +5 -0
- package/dist/generated/types/Violation/ViolationField.d.ts +7 -0
- package/dist/generated/types/index.d.ts +3 -1
- package/package.json +2 -2
- package/dist/generated/enums/Culture/CultureTypeEnum.d.ts +0 -12
- package/dist/generated/enums/Culture/CultureTypeEnum.js +0 -14
- package/dist/generated/enums/Culture/index.d.ts +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { BioRow } from './BioRow';
|
|
2
|
+
export { BioRowChangeRequest } from './BioRowChangeRequest';
|
|
3
|
+
export { BioRowStatus } from './BioRowStatus';
|
|
4
|
+
export { BioRowStatusRequest } from './BioRowStatusRequest';
|
|
5
|
+
export { PaginatedBioRowList } from './PaginatedBioRowList';
|
|
6
|
+
export { PaginatedBioRowStatusList } from './PaginatedBioRowStatusList';
|
|
7
|
+
export { PatchedBioRowChangeRequest } from './PatchedBioRowChangeRequest';
|
|
8
|
+
export { PatchedBioRowStatusRequest } from './PatchedBioRowStatusRequest';
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { BlankEnum, FacilityField, PlaceField, PositionField, UserStatus, UserTypesEnum } from '../../../index';
|
|
2
2
|
export interface _BrigadeUsers {
|
|
3
3
|
id: number;
|
|
4
|
+
/**
|
|
5
|
+
* Статус суперпользователя
|
|
6
|
+
* Указывает, что пользователь имеет все права без явного их назначения.
|
|
7
|
+
*/
|
|
8
|
+
is_superuser?: boolean;
|
|
4
9
|
avatar: string | null;
|
|
5
10
|
/** Почта */
|
|
6
11
|
email?: string | null;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { BlankEnum, UserTypesEnum } from '../../../index';
|
|
2
2
|
export interface CreatorField {
|
|
3
3
|
id: number;
|
|
4
|
+
/**
|
|
5
|
+
* Статус суперпользователя
|
|
6
|
+
* Указывает, что пользователь имеет все права без явного их назначения.
|
|
7
|
+
*/
|
|
8
|
+
is_superuser: boolean;
|
|
4
9
|
avatar: string | null;
|
|
5
10
|
/** Почта */
|
|
6
11
|
email?: string | null;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { CreatorField, FacilityField } from '../../../index';
|
|
2
2
|
export interface Culture {
|
|
3
3
|
id: number;
|
|
4
4
|
/**
|
|
5
|
-
*
|
|
5
|
+
* Показывать
|
|
6
6
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
7
7
|
*/
|
|
8
8
|
active?: boolean;
|
|
9
|
+
/** Цвет */
|
|
10
|
+
color?: string;
|
|
9
11
|
creator: CreatorField | null;
|
|
10
12
|
/**
|
|
11
13
|
* Дата/время создания
|
|
@@ -29,6 +31,4 @@ export interface Culture {
|
|
|
29
31
|
* @max 32767
|
|
30
32
|
*/
|
|
31
33
|
sort?: number;
|
|
32
|
-
/** Тип */
|
|
33
|
-
type?: BlankEnum | CultureTypeEnum;
|
|
34
34
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { BlankEnum, CultureTypeEnum } from '../../../index';
|
|
2
1
|
export interface CultureChangeRequest {
|
|
3
2
|
/**
|
|
4
3
|
* Показывать
|
|
5
4
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
6
5
|
*/
|
|
7
6
|
active?: boolean;
|
|
7
|
+
/** Цвет */
|
|
8
|
+
color?: string;
|
|
8
9
|
facilities: number[];
|
|
9
10
|
/** @format binary */
|
|
10
11
|
image?: File | null;
|
|
@@ -21,6 +22,4 @@ export interface CultureChangeRequest {
|
|
|
21
22
|
* @max 32767
|
|
22
23
|
*/
|
|
23
24
|
sort?: number;
|
|
24
|
-
/** Тип */
|
|
25
|
-
type?: BlankEnum | CultureTypeEnum;
|
|
26
25
|
}
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BlankEnum, CultureTypeEnum } from '../../../index';
|
|
2
1
|
export interface CultureField {
|
|
3
2
|
id: number;
|
|
4
3
|
/**
|
|
@@ -6,12 +5,12 @@ export interface CultureField {
|
|
|
6
5
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
7
6
|
*/
|
|
8
7
|
active?: boolean;
|
|
8
|
+
/** Цвет */
|
|
9
|
+
color?: string;
|
|
9
10
|
image: string | null;
|
|
10
11
|
/**
|
|
11
12
|
* Название
|
|
12
13
|
* @maxLength 255
|
|
13
14
|
*/
|
|
14
15
|
name: string;
|
|
15
|
-
/** Тип */
|
|
16
|
-
type?: BlankEnum | CultureTypeEnum;
|
|
17
16
|
}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { BlankEnum, CultureTypeEnum } from '../../../index';
|
|
2
1
|
export interface PatchedCultureChangeRequest {
|
|
3
2
|
/**
|
|
4
3
|
* Показывать
|
|
5
4
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
6
5
|
*/
|
|
7
6
|
active?: boolean;
|
|
7
|
+
/** Цвет */
|
|
8
|
+
color?: string;
|
|
8
9
|
facilities?: number[];
|
|
9
10
|
/** @format binary */
|
|
10
11
|
image?: File | null;
|
|
@@ -21,6 +22,4 @@ export interface PatchedCultureChangeRequest {
|
|
|
21
22
|
* @max 32767
|
|
22
23
|
*/
|
|
23
24
|
sort?: number;
|
|
24
|
-
/** Тип */
|
|
25
|
-
type?: BlankEnum | CultureTypeEnum;
|
|
26
25
|
}
|
|
@@ -35,4 +35,11 @@ export interface DeviationField {
|
|
|
35
35
|
name: string;
|
|
36
36
|
/** Причина для удаления */
|
|
37
37
|
reason_for_deletion?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Сортировка
|
|
40
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
41
|
+
* @min -32768
|
|
42
|
+
* @max 32767
|
|
43
|
+
*/
|
|
44
|
+
sort?: number;
|
|
38
45
|
}
|
|
@@ -35,4 +35,11 @@ export interface DiseaseField {
|
|
|
35
35
|
name: string;
|
|
36
36
|
/** Причина для удаления */
|
|
37
37
|
reason_for_deletion?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Сортировка
|
|
40
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
41
|
+
* @min -32768
|
|
42
|
+
* @max 32767
|
|
43
|
+
*/
|
|
44
|
+
sort?: number;
|
|
38
45
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CreatorField, EntomophageSupplierField, FacilityField } from '../../../index';
|
|
1
|
+
import { CreatorField, EntomophageSupplierField, FacilityField, PestField, TaskTemplateField } from '../../../index';
|
|
2
2
|
export interface Entomophage {
|
|
3
3
|
id: number;
|
|
4
4
|
/**
|
|
@@ -6,6 +6,14 @@ export interface Entomophage {
|
|
|
6
6
|
* Если отключёно, элемент не будет отображаться на сайте
|
|
7
7
|
*/
|
|
8
8
|
active?: boolean;
|
|
9
|
+
/** Цвет */
|
|
10
|
+
color?: string;
|
|
11
|
+
/** Цвет ч/б */
|
|
12
|
+
color_monochrome?: string;
|
|
13
|
+
/** Цвет ч/б текста */
|
|
14
|
+
color_monochrome_text?: string;
|
|
15
|
+
/** Цвет текста */
|
|
16
|
+
color_text?: string;
|
|
9
17
|
creator: CreatorField | null;
|
|
10
18
|
/**
|
|
11
19
|
* Дата/время создания
|
|
@@ -29,8 +37,9 @@ export interface Entomophage {
|
|
|
29
37
|
name_short: string;
|
|
30
38
|
/** Фасовка */
|
|
31
39
|
pack: string;
|
|
40
|
+
pests?: PestField[];
|
|
32
41
|
/** Назначение */
|
|
33
|
-
purpose
|
|
42
|
+
purpose?: string;
|
|
34
43
|
/**
|
|
35
44
|
* Сортировка
|
|
36
45
|
* Чем меньше значение, тем выше отображается в списке
|
|
@@ -39,4 +48,5 @@ export interface Entomophage {
|
|
|
39
48
|
*/
|
|
40
49
|
sort?: number;
|
|
41
50
|
supplier: EntomophageSupplierField | null;
|
|
51
|
+
tasktemplate: TaskTemplateField | null;
|
|
42
52
|
}
|
|
@@ -4,6 +4,14 @@ export interface EntomophageChangeRequest {
|
|
|
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,11 +32,9 @@ export interface EntomophageChangeRequest {
|
|
|
24
32
|
* @minLength 1
|
|
25
33
|
*/
|
|
26
34
|
pack: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
*/
|
|
31
|
-
purpose: string;
|
|
35
|
+
pests?: number[];
|
|
36
|
+
/** Назначение */
|
|
37
|
+
purpose?: string;
|
|
32
38
|
/**
|
|
33
39
|
* Сортировка
|
|
34
40
|
* Чем меньше значение, тем выше отображается в списке
|
|
@@ -38,4 +44,6 @@ export interface EntomophageChangeRequest {
|
|
|
38
44
|
sort?: number;
|
|
39
45
|
/** Поставщик Энтомофагов */
|
|
40
46
|
supplier?: number | null;
|
|
47
|
+
/** Шаблон проекта */
|
|
48
|
+
tasktemplate?: number | null;
|
|
41
49
|
}
|
|
@@ -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
|
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CreatorField, FacilityField, HotbedStatus, PlaceCellField, TurnoverField } from '../../../index';
|
|
2
|
+
export interface Hotbed {
|
|
3
|
+
id: number;
|
|
4
|
+
/** Создано автоматически */
|
|
5
|
+
auto_generated: boolean;
|
|
6
|
+
cells: PlaceCellField[];
|
|
7
|
+
creator: CreatorField | null;
|
|
8
|
+
/**
|
|
9
|
+
* Дата/время создания
|
|
10
|
+
* @format date-time
|
|
11
|
+
*/
|
|
12
|
+
dt_create: string;
|
|
13
|
+
facility: FacilityField;
|
|
14
|
+
/** Данные фронтенда */
|
|
15
|
+
frontend_data?: any;
|
|
16
|
+
/**
|
|
17
|
+
* Название
|
|
18
|
+
* @maxLength 255
|
|
19
|
+
*/
|
|
20
|
+
name: string;
|
|
21
|
+
/**
|
|
22
|
+
* Сортировка
|
|
23
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
24
|
+
* @min -32768
|
|
25
|
+
* @max 32767
|
|
26
|
+
*/
|
|
27
|
+
sort?: number;
|
|
28
|
+
status: HotbedStatus | null;
|
|
29
|
+
turnover: TurnoverField | null;
|
|
30
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HotbedStatusRequest } from '../../../index';
|
|
2
|
+
export interface HotbedChangeRequest {
|
|
3
|
+
cells: number[];
|
|
4
|
+
/** Тепличный комплекс */
|
|
5
|
+
facility: number;
|
|
6
|
+
/** Данные фронтенда */
|
|
7
|
+
frontend_data?: any;
|
|
8
|
+
/**
|
|
9
|
+
* Название
|
|
10
|
+
* @minLength 1
|
|
11
|
+
* @maxLength 255
|
|
12
|
+
*/
|
|
13
|
+
name: string;
|
|
14
|
+
/**
|
|
15
|
+
* Сортировка
|
|
16
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
17
|
+
* @min -32768
|
|
18
|
+
* @max 32767
|
|
19
|
+
*/
|
|
20
|
+
sort?: number;
|
|
21
|
+
/** Статус очага */
|
|
22
|
+
status?: HotbedStatusRequest;
|
|
23
|
+
/** Оборот */
|
|
24
|
+
turnover?: number | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CreatorField, Status430Enum } from '../../../index';
|
|
2
|
+
export interface HotbedStatus {
|
|
3
|
+
id: number;
|
|
4
|
+
/** Комментарий */
|
|
5
|
+
comment?: string;
|
|
6
|
+
creator: CreatorField | null;
|
|
7
|
+
/**
|
|
8
|
+
* Дата/время создания
|
|
9
|
+
* @format date-time
|
|
10
|
+
*/
|
|
11
|
+
dt_create: string;
|
|
12
|
+
/** Значение */
|
|
13
|
+
status: Status430Enum;
|
|
14
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Hotbed } from '../../../index';
|
|
2
|
+
export interface PaginatedHotbedList {
|
|
3
|
+
/** @example 123 */
|
|
4
|
+
count: number;
|
|
5
|
+
/**
|
|
6
|
+
* @format uri
|
|
7
|
+
* @example "http://api.example.org/accounts/?offset=400&limit=100"
|
|
8
|
+
*/
|
|
9
|
+
next?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* @format uri
|
|
12
|
+
* @example "http://api.example.org/accounts/?offset=200&limit=100"
|
|
13
|
+
*/
|
|
14
|
+
previous?: string | null;
|
|
15
|
+
results: Hotbed[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { HotbedStatus } from '../../../index';
|
|
2
|
+
export interface PaginatedHotbedStatusList {
|
|
3
|
+
/** @example 123 */
|
|
4
|
+
count: number;
|
|
5
|
+
/**
|
|
6
|
+
* @format uri
|
|
7
|
+
* @example "http://api.example.org/accounts/?offset=400&limit=100"
|
|
8
|
+
*/
|
|
9
|
+
next?: string | null;
|
|
10
|
+
/**
|
|
11
|
+
* @format uri
|
|
12
|
+
* @example "http://api.example.org/accounts/?offset=200&limit=100"
|
|
13
|
+
*/
|
|
14
|
+
previous?: string | null;
|
|
15
|
+
results: HotbedStatus[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { HotbedStatusRequest } from '../../../index';
|
|
2
|
+
export interface PatchedHotbedChangeRequest {
|
|
3
|
+
cells?: number[];
|
|
4
|
+
/** Тепличный комплекс */
|
|
5
|
+
facility?: number;
|
|
6
|
+
/** Данные фронтенда */
|
|
7
|
+
frontend_data?: any;
|
|
8
|
+
/**
|
|
9
|
+
* Название
|
|
10
|
+
* @minLength 1
|
|
11
|
+
* @maxLength 255
|
|
12
|
+
*/
|
|
13
|
+
name?: string;
|
|
14
|
+
/**
|
|
15
|
+
* Сортировка
|
|
16
|
+
* Чем меньше значение, тем выше отображается в списке
|
|
17
|
+
* @min -32768
|
|
18
|
+
* @max 32767
|
|
19
|
+
*/
|
|
20
|
+
sort?: number;
|
|
21
|
+
/** Статус очага */
|
|
22
|
+
status?: HotbedStatusRequest;
|
|
23
|
+
/** Оборот */
|
|
24
|
+
turnover?: number | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { Hotbed } from './Hotbed';
|
|
2
|
+
export { HotbedChangeRequest } from './HotbedChangeRequest';
|
|
3
|
+
export { HotbedStatus } from './HotbedStatus';
|
|
4
|
+
export { HotbedStatusRequest } from './HotbedStatusRequest';
|
|
5
|
+
export { PaginatedHotbedList } from './PaginatedHotbedList';
|
|
6
|
+
export { PaginatedHotbedStatusList } from './PaginatedHotbedStatusList';
|
|
7
|
+
export { PatchedHotbedChangeRequest } from './PatchedHotbedChangeRequest';
|
|
8
|
+
export { PatchedHotbedStatusRequest } from './PatchedHotbedStatusRequest';
|
|
@@ -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
|
}
|