@zauru-sdk/services 2.0.166 → 2.0.168
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.
|
@@ -175,8 +175,8 @@ export async function getClientCategories(session) {
|
|
|
175
175
|
*/
|
|
176
176
|
export async function createPayee(headers, body) {
|
|
177
177
|
return handlePossibleAxiosErrors(async () => {
|
|
178
|
-
await httpZauru.post("/settings/payees", { payee: body }, { headers });
|
|
179
|
-
return
|
|
178
|
+
const response = await httpZauru.post("/settings/payees", { payee: body }, { headers });
|
|
179
|
+
return response.data;
|
|
180
180
|
});
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
@@ -67,7 +67,7 @@ export declare function createItemCategory(headers: any, body: Partial<ItemCateg
|
|
|
67
67
|
*/
|
|
68
68
|
export declare function deleteItemCategory(headers: any, id: string | number): Promise<AxiosUtilsResponse<boolean>>;
|
|
69
69
|
/**
|
|
70
|
-
*
|
|
70
|
+
* updateItemCategory
|
|
71
71
|
* @param session
|
|
72
72
|
* @param headers
|
|
73
73
|
* @returns
|
|
@@ -74,7 +74,7 @@ export declare function getClientCategories(session: Session): Promise<AxiosUtil
|
|
|
74
74
|
* @param headers
|
|
75
75
|
* @returns
|
|
76
76
|
*/
|
|
77
|
-
export declare function createPayee(headers: any, body: Partial<PayeeGraphQL>): Promise<AxiosUtilsResponse<
|
|
77
|
+
export declare function createPayee(headers: any, body: Partial<PayeeGraphQL>): Promise<AxiosUtilsResponse<PayeeGraphQL>>;
|
|
78
78
|
/**
|
|
79
79
|
* deletePayee
|
|
80
80
|
* @param headers
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.168",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"axios": "^1.6.7",
|
|
32
32
|
"chalk": "5.3.0"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "bab5a6947ef7196d6aa1615e3468e6bff4fd47e9"
|
|
35
35
|
}
|