@fiado/api-invoker 1.2.23 → 1.2.24
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.
|
@@ -8,6 +8,7 @@ export default class TransactionApi implements ITransactionApi {
|
|
|
8
8
|
getActivityProblemsByStatus(status: string, index?: string, pageSize?: number): Promise<any>;
|
|
9
9
|
updateActivityProblemStatus(id: string, params: {
|
|
10
10
|
status: string;
|
|
11
|
+
observation?: string;
|
|
11
12
|
}): Promise<any>;
|
|
12
13
|
getTransactionsByDirectoryIdAndSource(params: {
|
|
13
14
|
directoryId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fiado/api-invoker",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.24",
|
|
4
4
|
"description": "Sirve como un puente entre diferentes funciones lambda, facilitando la comunicación entre ellas a través de invocaciones http",
|
|
5
5
|
"main": "bin/index.js",
|
|
6
6
|
"types": "bin/index.d.ts",
|
|
@@ -29,7 +29,7 @@ export default class TransactionApi implements ITransactionApi {
|
|
|
29
29
|
return await this.httpRequest.get(url);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
async updateActivityProblemStatus(id: string, params: { status: string
|
|
32
|
+
async updateActivityProblemStatus(id: string, params: { status: string, observation?:string }): Promise<any> {
|
|
33
33
|
const url: string = `${this.baseUrl}private/activityProblems/${id}`;
|
|
34
34
|
return await this.httpRequest.put(url, params);
|
|
35
35
|
}
|
|
@@ -30,7 +30,7 @@ export interface ITransactionApi {
|
|
|
30
30
|
|
|
31
31
|
getActivityProblemsByStatus(status:string, index?:string, pageSize?:number): Promise<any>
|
|
32
32
|
|
|
33
|
-
updateActivityProblemStatus(id:string,params:{status:string}): Promise<any>
|
|
33
|
+
updateActivityProblemStatus(id:string,params:{status:string, observation?:string}): Promise<any>
|
|
34
34
|
|
|
35
35
|
|
|
36
36
|
}
|