shared-ritm 1.2.86 → 1.2.87

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.
@@ -5,7 +5,7 @@ declare class MetricsService extends ApiService {
5
5
  fetchPieTasks(queryString: string): Promise<ResponseApi<any>>;
6
6
  fetchPiePersonnel(queryString: string): Promise<ResponseApi<any>>;
7
7
  fetchPersonnelData(queryString: string): Promise<ResponseApi<any>>;
8
- fetchPersonnelInfo(params: string): Promise<ResponseApi<any>>;
8
+ fetchPersonnelInfo(params: string): Promise<any>;
9
9
  fetchPiePersonnelInfo(params: string): Promise<any>;
10
10
  fetchPieCriticalPath(queryString: string): Promise<any[]>;
11
11
  fetchPieCriticalPathInfo(params: string): Promise<any>;
@@ -22,10 +22,10 @@ declare class MetricsService extends ApiService {
22
22
  fetchEconomicsInfo(params: string): Promise<any>;
23
23
  fetchQualityMetrics(params: string): Promise<any>;
24
24
  fetchQualityInfo(params: string): Promise<any>;
25
- fetchPieWorkZone(queryString: string): Promise<ResponseApi<any>>;
26
- fetchWorkZoneInfo(queryString: string): Promise<ResponseApi<any>>;
27
- fetchPieAllTasks(queryString: string): Promise<ResponseApi<any>>;
28
- fetchPieAllTasksInfo(queryString: string): Promise<ResponseApi<any>>;
25
+ fetchPieWorkZone(queryString: string): Promise<any>;
26
+ fetchWorkZoneInfo(queryString: string): Promise<any>;
27
+ fetchPieAllTasks(queryString: string): Promise<any>;
28
+ fetchPieAllTasksInfo(queryString: string): Promise<any>;
29
29
  }
30
30
  export default function useMetricsService(): MetricsService;
31
31
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.2.86",
3
+ "version": "1.2.87",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -18,7 +18,7 @@ class MetricsService extends ApiService {
18
18
  return await this.get('repairs/metrics/list_position_intersection_group_by_status' + '?' + queryString)
19
19
  }
20
20
 
21
- public async fetchPersonnelInfo(params: string): Promise<ResponseApi<any>> {
21
+ public async fetchPersonnelInfo(params: string): Promise<any> {
22
22
  return await this.get(`repairs/metrics/list_position_intersection_details?${params}`)
23
23
  }
24
24
 
@@ -85,19 +85,19 @@ class MetricsService extends ApiService {
85
85
  return await this.get(`repairs/metrics/get_list_task_by_quality?${params}`)
86
86
  }
87
87
 
88
- public async fetchPieWorkZone(queryString: string): Promise<ResponseApi<any>> {
88
+ public async fetchPieWorkZone(queryString: string): Promise<any> {
89
89
  return await this.get('repairs/metrics/get_list_work_zone_instrument' + '?' + queryString)
90
90
  }
91
91
 
92
- public async fetchWorkZoneInfo(queryString: string): Promise<ResponseApi<any>> {
92
+ public async fetchWorkZoneInfo(queryString: string): Promise<any> {
93
93
  return await this.get('repairs/metrics/get_list_work_zone_instrument_by_status' + '?' + queryString)
94
94
  }
95
95
 
96
- public async fetchPieAllTasks(queryString: string): Promise<ResponseApi<any>> {
96
+ public async fetchPieAllTasks(queryString: string): Promise<any> {
97
97
  return await this.get('repairs/metrics/get_list_task_group_by_status' + '?' + queryString)
98
98
  }
99
99
 
100
- public async fetchPieAllTasksInfo(queryString: string): Promise<ResponseApi<any>> {
100
+ public async fetchPieAllTasksInfo(queryString: string): Promise<any> {
101
101
  return await this.get('repairs/metrics/get_list_task_by_status' + '?' + queryString)
102
102
  }
103
103
  }