@zauru-sdk/services 2.0.166 → 2.0.167

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.
@@ -207,7 +207,7 @@ export async function deleteItemCategory(headers, id) {
207
207
  });
208
208
  }
209
209
  /**
210
- * updatePayee
210
+ * updateItemCategory
211
211
  * @param session
212
212
  * @param headers
213
213
  * @returns
@@ -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 true;
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
- * updatePayee
70
+ * updateItemCategory
71
71
  * @param session
72
72
  * @param headers
73
73
  * @returns
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.0.166",
3
+ "version": "2.0.167",
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": "39835f008adba7bc3f9d1ef997089a09c34ae322"
34
+ "gitHead": "b33742e83c55c1846b6f1a3266fbb39125b64360"
35
35
  }