@zauru-sdk/services 2.0.215 → 2.0.217
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.
|
@@ -262,7 +262,9 @@ export const updateReceivedPurchaseOrder = (headers, body, purchase_order_id) =>
|
|
|
262
262
|
*/
|
|
263
263
|
export const shallowUpdatePurchaseOrder = (headers, body) => {
|
|
264
264
|
return handlePossibleAxiosErrors(async () => {
|
|
265
|
-
const
|
|
265
|
+
const id = body.id;
|
|
266
|
+
delete body.id;
|
|
267
|
+
const response = await httpZauru.patch(`/purchases/closed_purchase_orders/${id}/shallow_update.json`, { purchase_order: body }, { headers });
|
|
266
268
|
return response.data;
|
|
267
269
|
});
|
|
268
270
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.217",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -25,12 +25,12 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@remix-run/node": "^2.8.1",
|
|
27
27
|
"@upstash/redis": "^1.34.5",
|
|
28
|
-
"@zauru-sdk/common": "^2.0.
|
|
28
|
+
"@zauru-sdk/common": "^2.0.217",
|
|
29
29
|
"@zauru-sdk/config": "^2.0.100",
|
|
30
|
-
"@zauru-sdk/graphql": "^2.0.
|
|
31
|
-
"@zauru-sdk/types": "^2.0.
|
|
30
|
+
"@zauru-sdk/graphql": "^2.0.216",
|
|
31
|
+
"@zauru-sdk/types": "^2.0.217",
|
|
32
32
|
"axios": "^1.6.7",
|
|
33
33
|
"chalk": "5.3.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "69c24d447e3813a6cf4eec09e6514a5d14c72723"
|
|
36
36
|
}
|