shared-ritm 1.3.131 → 1.3.132

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.
@@ -1,6 +1,6 @@
1
1
  import ApiService from '../settings/ApiService';
2
2
  import { ResponseApi } from '../types/Api_Service';
3
- import { Api_Metrics_Instruments_Plan, Api_Metrics_Performance, Api_Metrics_Personnel_Plan, Api_Metrics_Personnel_Plan_Project, Api_Metrics_Personnel_Plan_Project_Body, Api_Metrics_Task_Project, Api_Metrics_Unused_Personnel } from '@/api/types/Api_Metrics';
3
+ import { Api_Metrics_Instruments_Plan, Api_Metrics_Performance, Api_Metrics_Personnel_Plan, Api_Metrics_Personnel_Plan_Project, Api_Metrics_Personnel_Plan_Project_Body, Api_Metrics_Task_By_Status, Api_Metrics_Task_Project, Api_Metrics_Unused_Personnel } from '@/api/types/Api_Metrics';
4
4
  declare class MetricsService extends ApiService {
5
5
  fetchPieProjects(queryString: string): Promise<ResponseApi<any>>;
6
6
  fetchPieTasks(queryString: string): Promise<ResponseApi<any>>;
@@ -30,7 +30,8 @@ declare class MetricsService extends ApiService {
30
30
  fetchPieWorkZone(queryString: string): Promise<any>;
31
31
  fetchWorkZoneInfo(queryString: string): Promise<any>;
32
32
  fetchPieAllTasks(queryString: string): Promise<any>;
33
- fetchPieAllTasksInfo(queryString: string): Promise<any>;
33
+ fetchPieAllTasksInfo(params: any): Promise<Api_Metrics_Task_By_Status>;
34
+ exportAllTasksInfo(params: any): Promise<Blob>;
34
35
  fetchPersonnelPlan(params: any): Promise<Api_Metrics_Personnel_Plan>;
35
36
  fetchPersonnelPlanProjects(body: Api_Metrics_Personnel_Plan_Project_Body): Promise<Api_Metrics_Personnel_Plan_Project[]>;
36
37
  fetchInstrumentsPlan(params: any): Promise<Api_Metrics_Instruments_Plan[]>;
@@ -39,6 +40,7 @@ declare class MetricsService extends ApiService {
39
40
  status_name: string;
40
41
  }): Promise<Api_Metrics_Task_Project[]>;
41
42
  fetchWarehouseByCompliance(params: string): Promise<any>;
43
+ fetchWarehouseByComplianceDetails(params: string): Promise<any>;
42
44
  fetchEquipmentTree(params: string): Promise<any>;
43
45
  }
44
46
  export default function useMetricsService(): MetricsService;
@@ -75,4 +75,25 @@ export type Api_Metrics_Performance_User = {
75
75
  export type Api_Metrics_Task_Project = {
76
76
  id: string;
77
77
  name: string;
78
+ period_start: string;
79
+ period_end: string;
80
+ };
81
+ export type Api_Metrics_Task = {
82
+ id: string;
83
+ name: string;
84
+ expired: boolean;
85
+ has_subtasks: boolean;
86
+ is_critical_path: boolean;
87
+ state_id: string | null;
88
+ time_of_delay: number | null;
89
+ video_source_id: string | null;
90
+ deleted_at?: string | null;
91
+ };
92
+ export type Api_Metrics_Task_By_Status = {
93
+ status: {
94
+ id: string | null;
95
+ name: string;
96
+ title: string;
97
+ };
98
+ tasks: Api_Metrics_Task[];
78
99
  };
@@ -223,6 +223,12 @@ export type Api_Tasks_Task_Dto = {
223
223
  video_source: Api_Task_VideoSource_Dto;
224
224
  transfer_to_work_on_video_analytics: boolean;
225
225
  pre_calc_performance: Api_Metrics_Performance_Task;
226
+ time_interval_on_task: Api_Time_Interval_On_Task;
227
+ };
228
+ export type Api_Time_Interval_On_Task = {
229
+ count_interval: number;
230
+ real_time_task: number;
231
+ sum_time: number;
226
232
  };
227
233
  export type Api_Tasks_Task_Edit_Request_Dto = {
228
234
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.3.131",
3
+ "version": "1.3.132",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",