@itcase/types-pps 1.1.70 → 1.1.72
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/Incident/index.d.ts +0 -1
- package/dist/generated/enums/Incident/index.js +0 -1
- package/dist/generated/enums/{Notification/NotificationMessageTypeChoicesEnum.d.ts → Type/TypeF7CEnum.d.ts} +14 -1
- package/dist/generated/enums/Type/TypeF7CEnum.js +28 -0
- package/dist/generated/enums/Type/index.d.ts +1 -0
- package/dist/generated/enums/Type/index.js +2 -0
- package/dist/generated/enums/index.d.ts +2 -2
- package/dist/generated/enums/index.js +2 -2
- package/dist/generated/restRoutes.d.ts +529 -9
- package/dist/generated/types/Beehive/Beehive.d.ts +6 -1
- package/dist/generated/types/Beehive/BeehiveActionWithPlaceHistory.d.ts +78 -0
- package/dist/generated/types/Beehive/BeehiveActionWithPlaceHistory.js +2 -0
- package/dist/generated/types/Beehive/BeehiveChangeRequest.d.ts +6 -0
- package/dist/generated/types/Beehive/BeehiveField.d.ts +6 -1
- package/dist/generated/types/Beehive/BeehiveFieldRequest.d.ts +6 -0
- package/dist/generated/types/Beehive/BeehivePlaceHistory.d.ts +21 -0
- package/dist/generated/types/Beehive/BeehivePlaceHistory.js +2 -0
- package/dist/generated/types/Beehive/BeehivePlaceHistoryList.d.ts +22 -0
- package/dist/generated/types/Beehive/BeehivePlaceHistoryList.js +2 -0
- package/dist/generated/types/Beehive/PaginatedBeehivePlaceHistoryList.d.ts +16 -0
- package/dist/generated/types/Beehive/PaginatedBeehivePlaceHistoryList.js +2 -0
- package/dist/generated/types/Beehive/PaginatedBeehivePlaceHistoryListList.d.ts +16 -0
- package/dist/generated/types/Beehive/PaginatedBeehivePlaceHistoryListList.js +2 -0
- package/dist/generated/types/Beehive/PatchedBeehiveChangeRequest.d.ts +6 -0
- package/dist/generated/types/Beehive/index.d.ts +5 -0
- package/dist/generated/types/Cell/CellChangeRequest.d.ts +1 -1
- package/dist/generated/types/Incident/Incident.d.ts +8 -3
- package/dist/generated/types/Incident/IncidentActionForMap.d.ts +2 -2
- package/dist/generated/types/Incident/IncidentChangeRequest.d.ts +5 -0
- package/dist/generated/types/Incident/IncidentDetail.d.ts +8 -3
- package/dist/generated/types/Incident/PatchedIncidentChangeRequest.d.ts +5 -0
- package/dist/generated/types/Plant/PatchedPlantStatusRequest.d.ts +1 -1
- package/dist/generated/types/Processing/ProcessingRequest.d.ts +1 -1
- package/dist/generated/types/Profile/PatchedProfileNotificationsRequest.d.ts +1 -1
- package/dist/generated/types/Profile/ProfileNotifications.d.ts +1 -1
- package/dist/generated/types/Profile/ProfileNotificationsSettings.d.ts +2 -2
- package/dist/generated/types/Profile/ProfileRawDataRequest.d.ts +4 -0
- package/dist/generated/types/Profile/ProfileRawDataRequest.js +2 -0
- package/dist/generated/types/Profile/index.d.ts +1 -0
- package/dist/generated/types/Section/SectionChangeRequest.d.ts +1 -1
- package/dist/generated/types/Settings/SettingsNotifications.d.ts +2 -2
- package/dist/generated/types/Task/Task.d.ts +2 -3
- package/dist/generated/types/Task/TaskChange.d.ts +2 -3
- package/dist/generated/types/Task/TaskDetail.d.ts +2 -3
- package/dist/generated/types/Task/TaskField.d.ts +2 -3
- package/dist/generated/types/Task/_Task.d.ts +2 -3
- package/dist/generated/types/index.d.ts +2 -2
- package/package.json +5 -5
- package/dist/generated/enums/Incident/IncidentDamageEnum.d.ts +0 -6
- package/dist/generated/enums/Incident/IncidentDamageEnum.js +0 -8
- package/dist/generated/enums/Notification/NotificationMessageTypeChoicesEnum.js +0 -15
- package/dist/generated/enums/Notification/index.d.ts +0 -1
- package/dist/generated/enums/Notification/index.js +0 -2
|
@@ -33,7 +33,12 @@ export interface Beehive {
|
|
|
33
33
|
* @maxLength 255
|
|
34
34
|
*/
|
|
35
35
|
model?: string;
|
|
36
|
-
|
|
36
|
+
/**
|
|
37
|
+
* Название
|
|
38
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
39
|
+
* @maxLength 255
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
37
42
|
place_block: PlaceBlockField | null;
|
|
38
43
|
place_cell: PlaceCellField | null;
|
|
39
44
|
place_department: PlaceDepartmentField | null;
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { BeehiveActivity, BeehivePlaceHistory, BeehiveStateEnum, BeehiveSupplier, BlankEnum, CreatorField, FacilityField, LetokEnum, ModeEnum, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceLevelEnum, PlaceRowField, PlaceRowSideField, PlaceZoneField, TaskField, TurnoverField } from '../../../index';
|
|
2
|
+
export interface BeehiveActionWithPlaceHistory {
|
|
3
|
+
id: number;
|
|
4
|
+
activities: BeehiveActivity[];
|
|
5
|
+
/** Создано автоматически */
|
|
6
|
+
auto_generated: boolean;
|
|
7
|
+
creator: CreatorField | null;
|
|
8
|
+
/**
|
|
9
|
+
* Плановая замена
|
|
10
|
+
* Если пустое, то будет "ВВОД-В-ЭКСПЛУАТАЦИЮ + 8 недель"
|
|
11
|
+
* @format date
|
|
12
|
+
*/
|
|
13
|
+
d_replacement?: string | null;
|
|
14
|
+
/**
|
|
15
|
+
* Ввод в эксплуатацию
|
|
16
|
+
* @format date
|
|
17
|
+
*/
|
|
18
|
+
d_usage?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Дата/время создания
|
|
21
|
+
* @format date-time
|
|
22
|
+
*/
|
|
23
|
+
dt_create: string;
|
|
24
|
+
facility: FacilityField;
|
|
25
|
+
/** Данные фронтенда */
|
|
26
|
+
frontend_data?: any;
|
|
27
|
+
/** Леток */
|
|
28
|
+
letok?: BlankEnum | LetokEnum;
|
|
29
|
+
/** Режим */
|
|
30
|
+
mode?: BlankEnum | ModeEnum;
|
|
31
|
+
/**
|
|
32
|
+
* Модель
|
|
33
|
+
* @maxLength 255
|
|
34
|
+
*/
|
|
35
|
+
model?: string;
|
|
36
|
+
/**
|
|
37
|
+
* Название
|
|
38
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
39
|
+
* @maxLength 255
|
|
40
|
+
*/
|
|
41
|
+
name?: string;
|
|
42
|
+
place_block: PlaceBlockField | null;
|
|
43
|
+
place_cell: PlaceCellField | null;
|
|
44
|
+
place_department: PlaceDepartmentField | null;
|
|
45
|
+
place_history: BeehivePlaceHistory[];
|
|
46
|
+
/** Уровень */
|
|
47
|
+
place_level?: BlankEnum | PlaceLevelEnum;
|
|
48
|
+
place_path_label: string;
|
|
49
|
+
place_row: PlaceRowField | null;
|
|
50
|
+
place_rowside: PlaceRowSideField | null;
|
|
51
|
+
place_section: PlaceField | null;
|
|
52
|
+
place_tier: string;
|
|
53
|
+
place_zone: PlaceZoneField | null;
|
|
54
|
+
/** Защита от прямых солнечных лучей */
|
|
55
|
+
protection_direct_sunlight?: boolean;
|
|
56
|
+
state: BeehiveStateEnum;
|
|
57
|
+
status: BeehiveStateEnum;
|
|
58
|
+
/** Статус, цвет */
|
|
59
|
+
status_color: string;
|
|
60
|
+
/** Статус, название */
|
|
61
|
+
status_name: string;
|
|
62
|
+
/** Статус, сортировка */
|
|
63
|
+
status_sort: number;
|
|
64
|
+
supplier: BeehiveSupplier;
|
|
65
|
+
task_last: TaskField | null;
|
|
66
|
+
turnover: TurnoverField | null;
|
|
67
|
+
/**
|
|
68
|
+
* Номер в обороте
|
|
69
|
+
* Если пустое, будет заполнено автоматически
|
|
70
|
+
* @min 0
|
|
71
|
+
* @max 32767
|
|
72
|
+
*/
|
|
73
|
+
turnover_number?: number | null;
|
|
74
|
+
/** Расписание работы */
|
|
75
|
+
work_shedule?: string;
|
|
76
|
+
/** Время работы */
|
|
77
|
+
work_time?: string;
|
|
78
|
+
}
|
|
@@ -24,6 +24,12 @@ export interface BeehiveChangeRequest {
|
|
|
24
24
|
* @maxLength 255
|
|
25
25
|
*/
|
|
26
26
|
model?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Название
|
|
29
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
30
|
+
* @maxLength 255
|
|
31
|
+
*/
|
|
32
|
+
name?: string;
|
|
27
33
|
/** Блок */
|
|
28
34
|
place_block?: number | null;
|
|
29
35
|
/** Ячейка */
|
|
@@ -8,7 +8,12 @@ export interface BeehiveField {
|
|
|
8
8
|
* @maxLength 255
|
|
9
9
|
*/
|
|
10
10
|
model?: string;
|
|
11
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Название
|
|
13
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
14
|
+
* @maxLength 255
|
|
15
|
+
*/
|
|
16
|
+
name?: string;
|
|
12
17
|
place_block: PlaceBlockField | null;
|
|
13
18
|
place_cell: PlaceCellField | null;
|
|
14
19
|
place_department: PlaceDepartmentField | null;
|
|
@@ -7,6 +7,12 @@ export interface BeehiveFieldRequest {
|
|
|
7
7
|
* @maxLength 255
|
|
8
8
|
*/
|
|
9
9
|
model?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Название
|
|
12
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
13
|
+
* @maxLength 255
|
|
14
|
+
*/
|
|
15
|
+
name?: string;
|
|
10
16
|
/** Уровень */
|
|
11
17
|
place_level?: BlankEnum | PlaceLevelEnum;
|
|
12
18
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { BlankEnum, CreatorField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceLevelEnum, PlaceRowField, PlaceRowSideField, PlaceZoneField } from '../../../index';
|
|
2
|
+
export interface BeehivePlaceHistory {
|
|
3
|
+
id: number;
|
|
4
|
+
creator: CreatorField | null;
|
|
5
|
+
/**
|
|
6
|
+
* Дата/время создания
|
|
7
|
+
* @format date-time
|
|
8
|
+
*/
|
|
9
|
+
dt_create: string;
|
|
10
|
+
place_block: PlaceBlockField | null;
|
|
11
|
+
place_cell: PlaceCellField | null;
|
|
12
|
+
place_department: PlaceDepartmentField | null;
|
|
13
|
+
/** Уровень */
|
|
14
|
+
place_level?: BlankEnum | PlaceLevelEnum;
|
|
15
|
+
place_path_label: string;
|
|
16
|
+
place_row: PlaceRowField | null;
|
|
17
|
+
place_rowside: PlaceRowSideField | null;
|
|
18
|
+
place_section: PlaceField | null;
|
|
19
|
+
place_tier: string;
|
|
20
|
+
place_zone: PlaceZoneField | null;
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { BeehiveField, BlankEnum, CreatorField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceLevelEnum, PlaceRowField, PlaceRowSideField, PlaceZoneField } from '../../../index';
|
|
2
|
+
export interface BeehivePlaceHistoryList {
|
|
3
|
+
id: number;
|
|
4
|
+
beehive: BeehiveField;
|
|
5
|
+
creator: CreatorField | null;
|
|
6
|
+
/**
|
|
7
|
+
* Дата/время создания
|
|
8
|
+
* @format date-time
|
|
9
|
+
*/
|
|
10
|
+
dt_create: string;
|
|
11
|
+
place_block: PlaceBlockField | null;
|
|
12
|
+
place_cell: PlaceCellField | null;
|
|
13
|
+
place_department: PlaceDepartmentField | null;
|
|
14
|
+
/** Уровень */
|
|
15
|
+
place_level?: BlankEnum | PlaceLevelEnum;
|
|
16
|
+
place_path_label: string;
|
|
17
|
+
place_row: PlaceRowField | null;
|
|
18
|
+
place_rowside: PlaceRowSideField | null;
|
|
19
|
+
place_section: PlaceField | null;
|
|
20
|
+
place_tier: string;
|
|
21
|
+
place_zone: PlaceZoneField | null;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BeehivePlaceHistory } from '../../../index';
|
|
2
|
+
export interface PaginatedBeehivePlaceHistoryList {
|
|
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: BeehivePlaceHistory[];
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { BeehivePlaceHistoryList } from '../../../index';
|
|
2
|
+
export interface PaginatedBeehivePlaceHistoryListList {
|
|
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: BeehivePlaceHistoryList[];
|
|
16
|
+
}
|
|
@@ -24,6 +24,12 @@ export interface PatchedBeehiveChangeRequest {
|
|
|
24
24
|
* @maxLength 255
|
|
25
25
|
*/
|
|
26
26
|
model?: string;
|
|
27
|
+
/**
|
|
28
|
+
* Название
|
|
29
|
+
* Если пустое, будет заполнено автоматически по формату "номер блока • № номер в обороте". Например, "1.2.3•№456"
|
|
30
|
+
* @maxLength 255
|
|
31
|
+
*/
|
|
32
|
+
name?: string;
|
|
27
33
|
/** Блок */
|
|
28
34
|
place_block?: number | null;
|
|
29
35
|
/** Ячейка */
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export { Beehive } from './Beehive';
|
|
2
2
|
export { BeehiveActionFilters } from './BeehiveActionFilters';
|
|
3
3
|
export { BeehiveActionFiltersStatus } from './BeehiveActionFiltersStatus';
|
|
4
|
+
export { BeehiveActionWithPlaceHistory } from './BeehiveActionWithPlaceHistory';
|
|
4
5
|
export { BeehiveActivity } from './BeehiveActivity';
|
|
5
6
|
export { BeehiveActivityChange } from './BeehiveActivityChange';
|
|
6
7
|
export { BeehiveActivityChangeRequest } from './BeehiveActivityChangeRequest';
|
|
@@ -12,6 +13,8 @@ export { BeehiveActivityRequest } from './BeehiveActivityRequest';
|
|
|
12
13
|
export { BeehiveChangeRequest } from './BeehiveChangeRequest';
|
|
13
14
|
export { BeehiveField } from './BeehiveField';
|
|
14
15
|
export { BeehiveFieldRequest } from './BeehiveFieldRequest';
|
|
16
|
+
export { BeehivePlaceHistory } from './BeehivePlaceHistory';
|
|
17
|
+
export { BeehivePlaceHistoryList } from './BeehivePlaceHistoryList';
|
|
15
18
|
export { BeehiveStatus } from './BeehiveStatus';
|
|
16
19
|
export { BeehiveStatusChange } from './BeehiveStatusChange';
|
|
17
20
|
export { BeehiveStatusChangeRequest } from './BeehiveStatusChangeRequest';
|
|
@@ -22,6 +25,8 @@ export { BeehiveSupplierRequest } from './BeehiveSupplierRequest';
|
|
|
22
25
|
export { PaginatedBeehiveActivityImageList } from './PaginatedBeehiveActivityImageList';
|
|
23
26
|
export { PaginatedBeehiveActivityList } from './PaginatedBeehiveActivityList';
|
|
24
27
|
export { PaginatedBeehiveList } from './PaginatedBeehiveList';
|
|
28
|
+
export { PaginatedBeehivePlaceHistoryList } from './PaginatedBeehivePlaceHistoryList';
|
|
29
|
+
export { PaginatedBeehivePlaceHistoryListList } from './PaginatedBeehivePlaceHistoryListList';
|
|
25
30
|
export { PaginatedBeehiveStatusList } from './PaginatedBeehiveStatusList';
|
|
26
31
|
export { PaginatedBeehiveStatusValueList } from './PaginatedBeehiveStatusValueList';
|
|
27
32
|
export { PaginatedBeehiveSupplierList } from './PaginatedBeehiveSupplierList';
|
|
@@ -1,13 +1,18 @@
|
|
|
1
|
-
import { _IncidentPlaces, CreatorField, FacilityField,
|
|
1
|
+
import { _IncidentPlaces, BlankEnum, CreatorField, FacilityField, IncidentForMapReasonsDamageEnum, IncidentReason, IncidentStatus, TaskField } from '../../../index';
|
|
2
2
|
export interface Incident {
|
|
3
3
|
id: number;
|
|
4
4
|
creator: CreatorField | null;
|
|
5
|
-
damage:
|
|
5
|
+
damage: BlankEnum | IncidentForMapReasonsDamageEnum;
|
|
6
6
|
/**
|
|
7
7
|
* Дата/время создания
|
|
8
8
|
* @format date-time
|
|
9
9
|
*/
|
|
10
10
|
dt_create: string;
|
|
11
|
+
/**
|
|
12
|
+
* Дата/время создания в офлайне
|
|
13
|
+
* @format date-time
|
|
14
|
+
*/
|
|
15
|
+
dt_create_offline?: string | null;
|
|
11
16
|
facility: FacilityField;
|
|
12
17
|
image: string | null;
|
|
13
18
|
image_detail_version: string | null;
|
|
@@ -21,7 +26,7 @@ export interface Incident {
|
|
|
21
26
|
name: string;
|
|
22
27
|
places: _IncidentPlaces;
|
|
23
28
|
/** Данные автора предыдущей версии */
|
|
24
|
-
previous_version_creator: any;
|
|
29
|
+
previous_version_creator: any | null;
|
|
25
30
|
/**
|
|
26
31
|
* Дата/время создания предыдущей версии
|
|
27
32
|
* @format date-time
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { BlankEnum, IncidentForMapReasons, IncidentForMapReasonsDamageEnum, IncidentForMapStatus } from '../../../index';
|
|
2
2
|
export interface IncidentActionForMap {
|
|
3
3
|
id: number;
|
|
4
4
|
comments_count: number | null;
|
|
5
|
-
damage:
|
|
5
|
+
damage: BlankEnum | IncidentForMapReasonsDamageEnum;
|
|
6
6
|
/**
|
|
7
7
|
* Дата/время создания
|
|
8
8
|
* @format date-time
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { IncidentCommentRequest, IncidentReasonChangeRequest, IncidentStatusRequest } from '../../../index';
|
|
2
2
|
export interface IncidentChangeRequest {
|
|
3
3
|
comments?: IncidentCommentRequest[];
|
|
4
|
+
/**
|
|
5
|
+
* Дата/время создания в офлайне
|
|
6
|
+
* @format date-time
|
|
7
|
+
*/
|
|
8
|
+
dt_create_offline?: string | null;
|
|
4
9
|
/** Тепличный комплекс */
|
|
5
10
|
facility: number;
|
|
6
11
|
/** @format binary */
|
|
@@ -1,14 +1,19 @@
|
|
|
1
|
-
import { _IncidentPlaces, CreatorField, FacilityField, IncidentComment,
|
|
1
|
+
import { _IncidentPlaces, BlankEnum, CreatorField, FacilityField, IncidentComment, IncidentForMapReasonsDamageEnum, IncidentReason, IncidentStatus, TaskField } from '../../../index';
|
|
2
2
|
export interface IncidentDetail {
|
|
3
3
|
id: number;
|
|
4
4
|
comments: IncidentComment[];
|
|
5
5
|
creator: CreatorField | null;
|
|
6
|
-
damage:
|
|
6
|
+
damage: BlankEnum | IncidentForMapReasonsDamageEnum;
|
|
7
7
|
/**
|
|
8
8
|
* Дата/время создания
|
|
9
9
|
* @format date-time
|
|
10
10
|
*/
|
|
11
11
|
dt_create: string;
|
|
12
|
+
/**
|
|
13
|
+
* Дата/время создания в офлайне
|
|
14
|
+
* @format date-time
|
|
15
|
+
*/
|
|
16
|
+
dt_create_offline?: string | null;
|
|
12
17
|
facility: FacilityField;
|
|
13
18
|
image: string | null;
|
|
14
19
|
image_detail_version: string | null;
|
|
@@ -22,7 +27,7 @@ export interface IncidentDetail {
|
|
|
22
27
|
name: string;
|
|
23
28
|
places: _IncidentPlaces;
|
|
24
29
|
/** Данные автора предыдущей версии */
|
|
25
|
-
previous_version_creator: any;
|
|
30
|
+
previous_version_creator: any | null;
|
|
26
31
|
/**
|
|
27
32
|
* Дата/время создания предыдущей версии
|
|
28
33
|
* @format date-time
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { IncidentCommentRequest, IncidentReasonChangeRequest, IncidentStatusRequest } from '../../../index';
|
|
2
2
|
export interface PatchedIncidentChangeRequest {
|
|
3
3
|
comments?: IncidentCommentRequest[];
|
|
4
|
+
/**
|
|
5
|
+
* Дата/время создания в офлайне
|
|
6
|
+
* @format date-time
|
|
7
|
+
*/
|
|
8
|
+
dt_create_offline?: string | null;
|
|
4
9
|
/** Тепличный комплекс */
|
|
5
10
|
facility?: number;
|
|
6
11
|
/** @format binary */
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { EmailEnum,
|
|
1
|
+
import { EmailEnum, PushEnum, TypeF7CEnum } from '../../../index';
|
|
2
2
|
export interface ProfileNotificationsSettings {
|
|
3
3
|
id: number;
|
|
4
4
|
/** На почту */
|
|
5
5
|
email?: EmailEnum;
|
|
6
6
|
/** В пушах */
|
|
7
7
|
push?: PushEnum;
|
|
8
|
-
type:
|
|
8
|
+
type: TypeF7CEnum;
|
|
9
9
|
}
|
|
@@ -7,3 +7,4 @@ export { ProfileChangeRequest } from './ProfileChangeRequest';
|
|
|
7
7
|
export { ProfileNotifications } from './ProfileNotifications';
|
|
8
8
|
export { ProfileNotificationsSettings } from './ProfileNotificationsSettings';
|
|
9
9
|
export { ProfileNotificationsSettingsRequest } from './ProfileNotificationsSettingsRequest';
|
|
10
|
+
export { ProfileRawDataRequest } from './ProfileRawDataRequest';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _PlaceRowsideField, _TaskExecutorBrigades, ApprovalTypeEnum, BeehiveField, BlankEnum, CreatorField, DeviationField, DiseaseField, EntityField, FacilityField, PestField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceZoneField, PollinationPointField, PriorityEnum, TaskApproval, TaskField, TaskRepeat, TaskStatus, TaskTimer, TaskTypeField, TrapField, UserTypesEnum, ViolationField } from '../../../index';
|
|
1
|
+
import { _PlaceRowsideField, _TaskExecutorBrigades, ApprovalTypeEnum, BeehiveField, BlankEnum, CreatorField, DeviationField, DiseaseField, EntityField, FacilityField, PestField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceZoneField, PollinationPointField, PriorityEnum, TaskApproval, TaskField, TaskRepeat, TaskStatus, TaskStatusEnum, TaskTimer, TaskTypeField, TrapField, UserTypesEnum, ViolationField } from '../../../index';
|
|
2
2
|
export interface Task {
|
|
3
3
|
id: number;
|
|
4
4
|
approval: TaskApproval | null;
|
|
@@ -101,8 +101,7 @@ export interface Task {
|
|
|
101
101
|
* @max 32767
|
|
102
102
|
*/
|
|
103
103
|
sort?: number;
|
|
104
|
-
|
|
105
|
-
status: string;
|
|
104
|
+
status: BlankEnum | TaskStatusEnum;
|
|
106
105
|
status_last: TaskStatus;
|
|
107
106
|
timers: TaskTimer[];
|
|
108
107
|
traps?: TrapField[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApprovalTypeEnum, BlankEnum, CreatorField, PriorityEnum, TaskApproval, TaskChecklistAfterChange, TaskChecklistBeforeChange, TaskEntomophageChange, TaskEquipmentChange, TaskPlantChange, TaskPreparationChange, TaskRepeat, TaskResult, TaskStatus, TaskTimer, UserTypesEnum } from '../../../index';
|
|
1
|
+
import { ApprovalTypeEnum, BlankEnum, CreatorField, PriorityEnum, TaskApproval, TaskChecklistAfterChange, TaskChecklistBeforeChange, TaskEntomophageChange, TaskEquipmentChange, TaskPlantChange, TaskPreparationChange, TaskRepeat, TaskResult, TaskStatus, TaskStatusEnum, TaskTimer, UserTypesEnum } from '../../../index';
|
|
2
2
|
export interface TaskChange {
|
|
3
3
|
id: number;
|
|
4
4
|
approval: TaskApproval | null;
|
|
@@ -114,8 +114,7 @@ export interface TaskChange {
|
|
|
114
114
|
* @max 32767
|
|
115
115
|
*/
|
|
116
116
|
sort?: number;
|
|
117
|
-
|
|
118
|
-
status: string;
|
|
117
|
+
status: BlankEnum | TaskStatusEnum;
|
|
119
118
|
status_last: TaskStatus;
|
|
120
119
|
timers: TaskTimer[];
|
|
121
120
|
traps?: number[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _PlaceRowsideField, _TaskExecutorBrigades, ApprovalTypeEnum, BeehiveField, BlankEnum, CreatorField, DeviationField, DiseaseField, EntityField, FacilityField, PestField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceZoneField, PollinationPointField, PriorityEnum, TaskApproval, TaskChecklistAfter, TaskChecklistBefore, TaskComment, TaskConstructorField, TaskEntomophage, TaskEquipment, TaskField, TaskPlant, TaskPreparation, TaskRepeat, TaskResult, TaskStatus, TaskTimer, TaskTypeField, TrapField, UserTypesEnum, ViolationField } from '../../../index';
|
|
1
|
+
import { _PlaceRowsideField, _TaskExecutorBrigades, ApprovalTypeEnum, BeehiveField, BlankEnum, CreatorField, DeviationField, DiseaseField, EntityField, FacilityField, PestField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceZoneField, PollinationPointField, PriorityEnum, TaskApproval, TaskChecklistAfter, TaskChecklistBefore, TaskComment, TaskConstructorField, TaskEntomophage, TaskEquipment, TaskField, TaskPlant, 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;
|
|
@@ -107,8 +107,7 @@ export interface TaskDetail {
|
|
|
107
107
|
* @max 32767
|
|
108
108
|
*/
|
|
109
109
|
sort?: number;
|
|
110
|
-
|
|
111
|
-
status: string;
|
|
110
|
+
status: BlankEnum | TaskStatusEnum;
|
|
112
111
|
status_last: TaskStatus;
|
|
113
112
|
timers: TaskTimer[];
|
|
114
113
|
traps?: TrapField[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _TaskFieldType, BlankEnum, PriorityEnum } from '../../../index';
|
|
1
|
+
import { _TaskFieldType, BlankEnum, PriorityEnum, TaskStatusEnum } from '../../../index';
|
|
2
2
|
export interface TaskField {
|
|
3
3
|
id: number;
|
|
4
4
|
/**
|
|
@@ -33,7 +33,6 @@ export interface TaskField {
|
|
|
33
33
|
name_short: string;
|
|
34
34
|
/** Приоритет */
|
|
35
35
|
priority?: BlankEnum | PriorityEnum;
|
|
36
|
-
|
|
37
|
-
status: string;
|
|
36
|
+
status: BlankEnum | TaskStatusEnum;
|
|
38
37
|
type: _TaskFieldType | null;
|
|
39
38
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _TaskFieldExecutorBrigades, _TaskFieldType, BeehiveField, BlankEnum, CreatorField, EntityField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceRowSideField, PlaceZoneField, PollinationPointField, PriorityEnum, TrapField } from '../../../index';
|
|
1
|
+
import { _TaskFieldExecutorBrigades, _TaskFieldType, BeehiveField, BlankEnum, CreatorField, EntityField, PlaceBlockField, PlaceCellField, PlaceDepartmentField, PlaceField, PlaceRowField, PlaceRowSideField, PlaceZoneField, PollinationPointField, PriorityEnum, TaskStatusEnum, TrapField } from '../../../index';
|
|
2
2
|
export interface _Task {
|
|
3
3
|
id: number;
|
|
4
4
|
beehives?: BeehiveField[];
|
|
@@ -47,8 +47,7 @@ export interface _Task {
|
|
|
47
47
|
pollination_points?: PollinationPointField[];
|
|
48
48
|
/** Приоритет */
|
|
49
49
|
priority?: BlankEnum | PriorityEnum;
|
|
50
|
-
|
|
51
|
-
status: string;
|
|
50
|
+
status: BlankEnum | TaskStatusEnum;
|
|
52
51
|
traps?: TrapField[];
|
|
53
52
|
type: _TaskFieldType | null;
|
|
54
53
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { ActionFiltersItem } from './Action';
|
|
2
|
-
export { Beehive, BeehiveActionFilters, BeehiveActionFiltersStatus, BeehiveActivity, BeehiveActivityChange, BeehiveActivityChangeRequest, BeehiveActivityImage, BeehiveActivityImageChange, BeehiveActivityImageChangeRequest, BeehiveActivityImageRequest, BeehiveActivityRequest, BeehiveChangeRequest, BeehiveField, BeehiveFieldRequest, BeehiveStatus, BeehiveStatusChange, BeehiveStatusChangeRequest, BeehiveStatusValue, BeehiveStatusValueRequest, BeehiveSupplier, BeehiveSupplierRequest, PaginatedBeehiveActivityImageList, PaginatedBeehiveActivityList, PaginatedBeehiveList, PaginatedBeehiveStatusList, PaginatedBeehiveStatusValueList, PaginatedBeehiveSupplierList, PatchedBeehiveActivityChangeRequest, PatchedBeehiveActivityImageChangeRequest, PatchedBeehiveChangeRequest, PatchedBeehiveStatusChangeRequest, PatchedBeehiveStatusValueRequest, PatchedBeehiveSupplierRequest, } from './Beehive';
|
|
2
|
+
export { Beehive, BeehiveActionFilters, BeehiveActionFiltersStatus, BeehiveActionWithPlaceHistory, BeehiveActivity, BeehiveActivityChange, BeehiveActivityChangeRequest, BeehiveActivityImage, BeehiveActivityImageChange, BeehiveActivityImageChangeRequest, BeehiveActivityImageRequest, BeehiveActivityRequest, BeehiveChangeRequest, BeehiveField, BeehiveFieldRequest, BeehivePlaceHistory, BeehivePlaceHistoryList, BeehiveStatus, BeehiveStatusChange, BeehiveStatusChangeRequest, BeehiveStatusValue, BeehiveStatusValueRequest, BeehiveSupplier, BeehiveSupplierRequest, PaginatedBeehiveActivityImageList, PaginatedBeehiveActivityList, PaginatedBeehiveList, PaginatedBeehivePlaceHistoryList, PaginatedBeehivePlaceHistoryListList, PaginatedBeehiveStatusList, PaginatedBeehiveStatusValueList, PaginatedBeehiveSupplierList, PatchedBeehiveActivityChangeRequest, PatchedBeehiveActivityImageChangeRequest, PatchedBeehiveChangeRequest, PatchedBeehiveStatusChangeRequest, PatchedBeehiveStatusValueRequest, PatchedBeehiveSupplierRequest, } from './Beehive';
|
|
3
3
|
export { Block, BlockChange, BlockChangeRequest, BlockDetail, BlockRequest, PaginatedBlockList, PatchedBlockActionBulkPatchRequest, PatchedBlockChangeRequest, } from './Block';
|
|
4
4
|
export { _BrigadeUsers, Brigade, BrigadeChangeRequest, BrigadeStatus, BrigadeStatusRequest, PaginatedBrigadeList, PaginatedBrigadeStatusList, PatchedBrigadeChangeRequest, } from './Brigade';
|
|
5
5
|
export { Cell, CellChange, CellChangeRequest, CellDetail, CellPlantInCell, CellPlantInCellChange, CellPlantInCellChangeRequest, CellRequest, PaginatedCellList, PaginatedCellPlantInCellList, PatchedCellActionBulkPatchRequest, PatchedCellChangeRequest, PatchedCellPlantInCellChangeRequest, } from './Cell';
|
|
@@ -27,7 +27,7 @@ export { PaginatedPollinationPointActivityImageList, PaginatedPollinationPointAc
|
|
|
27
27
|
export { PaginatedPositionList, PatchedPositionChangeRequest, Position, PositionChangeRequest, PositionField, } from './Position';
|
|
28
28
|
export { PaginatedPreparationList, PaginatedPreparationOrderList, PaginatedPreparationProcessingList, PatchedPreparationChangeRequest, PatchedPreparationOrderChangeRequest, PatchedPreparationProcessingChangeRequest, Preparation, PreparationChangeRequest, PreparationField, PreparationOrder, PreparationOrderChangeRequest, PreparationProcessing, PreparationProcessingChangeRequest, PreparationProcessingRequest, } from './Preparation';
|
|
29
29
|
export { _ProcessingField, _ProcessingFieldRequest, PaginatedProcessingList, PatchedProcessingRequest, Processing, ProcessingRequest, } from './Processing';
|
|
30
|
-
export { PaginatedProfileNotificationsList, PaginatedProfileNotificationsSettingsList, PatchedProfileChangeRequest, PatchedProfileNotificationsRequest, PatchedProfileNotificationsSettingsRequest, ProfileChangeRequest, ProfileNotifications, ProfileNotificationsSettings, ProfileNotificationsSettingsRequest, } from './Profile';
|
|
30
|
+
export { PaginatedProfileNotificationsList, PaginatedProfileNotificationsSettingsList, PatchedProfileChangeRequest, PatchedProfileNotificationsRequest, PatchedProfileNotificationsSettingsRequest, ProfileChangeRequest, ProfileNotifications, ProfileNotificationsSettings, ProfileNotificationsSettingsRequest, ProfileRawDataRequest, } from './Profile';
|
|
31
31
|
export { _ReasonFilters } from './Reason';
|
|
32
32
|
export { PaginatedReportBlockBeehiveList, PaginatedReportBlockIncidentList, PaginatedReportBlockPestsIncidentList, PaginatedReportBlockPollinationList, PaginatedReportBlockTrapList, PaginatedReportCellPollinationList, PaginatedReportFacilityTrapList, PaginatedReportRowBeehiveList, PaginatedReportRowIncidentList, PaginatedReportRowPestsIncidentList, PaginatedReportRowPollinationList, PaginatedReportTrapList, PaginatedReportZoneBeehiveList, PaginatedReportZoneIncidentList, PaginatedReportZonePestsIncidentList, PaginatedReportZonePollinationList, ReportBlockBeehive, ReportBlockIncident, ReportBlockIncidentActionFilters, ReportBlockPestsIncident, ReportBlockPollination, ReportBlockTrap, ReportBlockTrapActionFilters, ReportCellPollination, ReportCellPollinationActionFilters, ReportFacilityTrap, ReportFacilityTrapActionFilters, ReportFiltersBlock, ReportFiltersRow, ReportFiltersZone, ReportRowBeehive, ReportRowIncident, ReportRowIncidentActionFilters, ReportRowPestsIncident, ReportRowPollination, ReportTrap, ReportTrapActionFilters, ReportZoneBeehive, ReportZoneIncident, ReportZoneIncidentActionFilters, ReportZonePestsIncident, ReportZonePollination, } from './Report';
|
|
33
33
|
export { PaginatedRowList, PaginatedRowRowSideList, PaginatedRowSideList, PatchedRowActionBulkPatchRequest, PatchedRowChangeRequest, PatchedRowRowSideRequest, PatchedRowSideChangeRequest, Row, RowChange, RowChangeRequest, RowDetail, RowRequest, RowRowSide, RowRowSideRequest, RowSide, RowSideChange, RowSideChangeRequest, RowSideDetail, RowSideDetailRow, } from './Row';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@itcase/types-pps",
|
|
3
3
|
"description": "",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.72",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
7
7
|
"repository": {
|
|
@@ -32,15 +32,15 @@
|
|
|
32
32
|
"/dist"
|
|
33
33
|
],
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"swagger-typescript-api": "^13.2
|
|
35
|
+
"swagger-typescript-api": "^13.9.2"
|
|
36
36
|
},
|
|
37
37
|
"publishConfig": {
|
|
38
38
|
"access": "public",
|
|
39
39
|
"registry": "https://registry.npmjs.org/"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"openapi-typescript": "^7.
|
|
43
|
-
"tsx": "^4.
|
|
42
|
+
"openapi-typescript": "^7.13.0",
|
|
43
|
+
"tsx": "^4.22.1"
|
|
44
44
|
},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "871745b4cdebdf22da7d1fbbc2c5351d0119a793"
|
|
46
46
|
}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
// This file is auto-generated. Do not edit it manually.
|
|
2
|
-
export var IncidentDamageEnum;
|
|
3
|
-
(function (IncidentDamageEnum) {
|
|
4
|
-
IncidentDamageEnum["High"] = "high";
|
|
5
|
-
IncidentDamageEnum["Low"] = "low";
|
|
6
|
-
IncidentDamageEnum["Middle"] = "middle";
|
|
7
|
-
IncidentDamageEnum["Value"] = "";
|
|
8
|
-
})(IncidentDamageEnum || (IncidentDamageEnum = {}));
|