@zauru-sdk/graphql 2.0.119 → 2.0.159

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.
@@ -40,6 +40,7 @@ export declare const getPurchaseOrdersBetweenDatesStringQuery: (startDate: strin
40
40
  payeeCategoryIds?: number[];
41
41
  excludePayeeCategoryIds?: number[];
42
42
  shipment_reference?: string;
43
+ agencyNameIlike?: string;
43
44
  discountComparisonOperator?: "_eq" | "_neq" | "_gte" | "_lte" | "_gt" | "_lt";
44
45
  discount?: number;
45
46
  excludeVoided?: boolean;
@@ -290,6 +290,9 @@ const getPurchaseOrdersBetweenDatesStringQuery = (startDate, endDate, config) =>
290
290
  if (config.shipment_reference) {
291
291
  conditions.push(`shipment_reference: { _eq: "${config.shipment_reference}" }`);
292
292
  }
293
+ if (config.agencyNameIlike) {
294
+ conditions.push(`agency: { name: { _ilike: "%${config.agencyNameIlike}%" } }`);
295
+ }
293
296
  if (config.payeeId || config.payeeCategoryId) {
294
297
  const payeeConditions = [];
295
298
  if (config.payeeId) {
@@ -401,6 +404,7 @@ const getPurchaseOrdersBetweenDatesStringQuery = (startDate, endDate, config) =>
401
404
  other_charges
402
405
  consolidate_id
403
406
  shipment_reference
407
+ reference
404
408
  ${purchaseOrderDetails}
405
409
  ${lots}
406
410
  ${webAppRows}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/graphql",
3
- "version": "2.0.119",
3
+ "version": "2.0.159",
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": "56d56910cd5f8e311239d379369fd608dd697aea"
24
+ "gitHead": "bb34f3565903d629bdd046c34a2bb37bd17f0833"
25
25
  }