shared-ritm 1.0.61 → 1.0.63

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.
@@ -4,6 +4,7 @@ declare class MetricsService extends ApiService {
4
4
  fetchPieTasks(queryString: string): Promise<ResponseApi<any>>;
5
5
  fetchPiePersonnel(queryString: string): Promise<ResponseApi<any>>;
6
6
  fetchPersonnelData(queryString: string): Promise<ResponseApi<any>>;
7
+ fetchPersonnelInfo(params: string): Promise<ResponseApi<any>>;
7
8
  fetchPiePersonnelInfo(params: string): Promise<any>;
8
9
  fetchPieWorkZone(queryString: string): Promise<ResponseApi<any>>;
9
10
  fetchPieCriticalPath(queryString: string): Promise<any[]>;
@@ -17,6 +18,7 @@ declare class MetricsService extends ApiService {
17
18
  fetchPersonnel(queryString: string): Promise<any[]>;
18
19
  fetchPieExpired(queryString: string): Promise<any[]>;
19
20
  fetchPieExpiredInfo(params: string): Promise<any>;
21
+ fetchEconomicsPerformance(params: string): Promise<any>;
20
22
  }
21
23
  export default function useMetricsService(): MetricsService;
22
24
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "shared-ritm",
3
- "version": "1.0.61",
3
+ "version": "1.0.63",
4
4
  "private": false,
5
5
  "files": [
6
6
  "dist",
@@ -17,6 +17,10 @@ class MetricsService extends ApiService {
17
17
  return await this.get('repairs/metrics/list_position_intersection_group_by_status' + '?' + queryString)
18
18
  }
19
19
 
20
+ public async fetchPersonnelInfo(params: string): Promise<ResponseApi<any>> {
21
+ return await this.get(`repairs/metrics/list_position_intersection_details?${params}`)
22
+ }
23
+
20
24
  public async fetchPiePersonnelInfo(params: string): Promise<any> {
21
25
  return await this.get(`repairs/metrics/get_list_user_by_position?${params}`)
22
26
  }
@@ -68,6 +72,10 @@ class MetricsService extends ApiService {
68
72
  public async fetchPieExpiredInfo(params: string): Promise<any> {
69
73
  return await this.get(`repairs/metrics/get_list_task_expired?${params}`)
70
74
  }
75
+
76
+ public async fetchEconomicsPerformance(params: string): Promise<any> {
77
+ return await this.get(`repairs/metrics/get_economic_performance?${params}`)
78
+ }
71
79
  }
72
80
 
73
81
  let api: MetricsService