@zauru-sdk/graphql 2.0.194 → 2.0.195
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.
|
@@ -193,10 +193,12 @@ const getShipmentsStringQuery = ({ agency_to_id, agency_from_id, suffix, voided,
|
|
|
193
193
|
if (returned !== undefined) {
|
|
194
194
|
conditions.push(`returned: {_eq: ${returned}}`);
|
|
195
195
|
}
|
|
196
|
-
if (plannedShippingDateRange
|
|
196
|
+
if (plannedShippingDateRange?.startDate &&
|
|
197
|
+
plannedShippingDateRange?.endDate) {
|
|
197
198
|
conditions.push(`planned_shipping: {_gte: "${plannedShippingDateRange.startDate}", _lte: "${plannedShippingDateRange.endDate}"}`);
|
|
198
199
|
}
|
|
199
|
-
if (plannedDeliveryDateRange
|
|
200
|
+
if (plannedDeliveryDateRange?.startDate &&
|
|
201
|
+
plannedDeliveryDateRange?.endDate) {
|
|
200
202
|
conditions.push(`planned_delivery: {_gte: "${plannedDeliveryDateRange.startDate}", _lte: "${plannedDeliveryDateRange.endDate}"}`);
|
|
201
203
|
}
|
|
202
204
|
const movementLots = withMovementLots
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/graphql",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.195",
|
|
4
4
|
"description": "Queries de uso común para las aplicación de Zauru.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -21,5 +21,5 @@
|
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"typescript": "^5.1.6"
|
|
23
23
|
},
|
|
24
|
-
"gitHead": "
|
|
24
|
+
"gitHead": "73fdf74f6352667299c395e277308a9da781399a"
|
|
25
25
|
}
|