@zauru-sdk/services 1.0.65 → 1.0.66
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.
|
@@ -354,18 +354,17 @@ const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {
|
|
|
354
354
|
agency_id = hashAgencyId[session.get("agency_id")];
|
|
355
355
|
}
|
|
356
356
|
const query = (0, graphql_1.getPurchaseOrdersBetweenDatesStringQuery)({
|
|
357
|
-
|
|
357
|
+
agencyId: config.agencyFilter
|
|
358
|
+
? agency_id ?? session.get("agency_id")
|
|
359
|
+
: undefined,
|
|
358
360
|
consolidateIdFilter: config.consolidateIdFilter,
|
|
359
361
|
lotItemIdExclusion: config.lotItemIdExclusion,
|
|
360
362
|
poDetailTagId: config.poDetailTagId,
|
|
361
363
|
withLotStocks: config.withLotStocksToMyAgency,
|
|
362
|
-
|
|
363
|
-
|
|
364
|
+
itemId: config.itemId,
|
|
365
|
+
payeeCategoryId: config.payeeCategoryId,
|
|
364
366
|
});
|
|
365
367
|
const variables = {
|
|
366
|
-
...(config.agencyFilter
|
|
367
|
-
? { agencyId: agency_id ?? session.get("agency_id") }
|
|
368
|
-
: {}),
|
|
369
368
|
...(config.lotItemIdExclusion
|
|
370
369
|
? { lotItemIdExclusion: config.lotItemIdExclusion }
|
|
371
370
|
: {}),
|
|
@@ -333,18 +333,17 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {
|
|
|
333
333
|
agency_id = hashAgencyId[session.get("agency_id")];
|
|
334
334
|
}
|
|
335
335
|
const query = getPurchaseOrdersBetweenDatesStringQuery({
|
|
336
|
-
|
|
336
|
+
agencyId: config.agencyFilter
|
|
337
|
+
? agency_id ?? session.get("agency_id")
|
|
338
|
+
: undefined,
|
|
337
339
|
consolidateIdFilter: config.consolidateIdFilter,
|
|
338
340
|
lotItemIdExclusion: config.lotItemIdExclusion,
|
|
339
341
|
poDetailTagId: config.poDetailTagId,
|
|
340
342
|
withLotStocks: config.withLotStocksToMyAgency,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
+
itemId: config.itemId,
|
|
344
|
+
payeeCategoryId: config.payeeCategoryId,
|
|
343
345
|
});
|
|
344
346
|
const variables = {
|
|
345
|
-
...(config.agencyFilter
|
|
346
|
-
? { agencyId: agency_id ?? session.get("agency_id") }
|
|
347
|
-
: {}),
|
|
348
347
|
...(config.lotItemIdExclusion
|
|
349
348
|
? { lotItemIdExclusion: config.lotItemIdExclusion }
|
|
350
349
|
: {}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/services",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.66",
|
|
4
4
|
"description": "Servicios de consulta a Zauru",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"@remix-run/node": "^2.8.1",
|
|
28
28
|
"@zauru-sdk/common": "^1.0.60",
|
|
29
29
|
"@zauru-sdk/config": "^1.0.60",
|
|
30
|
-
"@zauru-sdk/graphql": "^1.0.
|
|
30
|
+
"@zauru-sdk/graphql": "^1.0.66",
|
|
31
31
|
"@zauru-sdk/types": "^1.0.60",
|
|
32
32
|
"axios": "^1.6.7",
|
|
33
33
|
"chalk": "5.3.0"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "7640aacff44c60067dc41d92fa08d2fb582f7acb"
|
|
36
36
|
}
|