@zauru-sdk/graphql 2.0.119 → 2.0.150

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) {
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.150",
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": "1f6adb96c6a67b4cc460301d8c0b67bb0446e2a5"
25
25
  }