@zauru-sdk/graphql 2.0.46 → 2.0.47

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.
@@ -39,6 +39,7 @@ export declare const getPurchaseOrdersBetweenDatesStringQuery: (startDate: strin
39
39
  withWebAppRows?: boolean;
40
40
  payeeCategoryIds?: number[];
41
41
  excludePayeeCategoryIds?: number[];
42
+ shipment_reference?: string;
42
43
  discountComparisonOperator?: "_eq" | "_neq" | "_gte" | "_lte" | "_gt" | "_lt";
43
44
  discount?: number;
44
45
  }) => string;
@@ -284,6 +284,9 @@ const getPurchaseOrdersBetweenDatesStringQuery = (startDate, endDate, config) =>
284
284
  if (config.id_number) {
285
285
  conditions.push(`id_number: { _ilike: "%${config.id_number}%" }`);
286
286
  }
287
+ if (config.shipment_reference) {
288
+ conditions.push(`shipment_reference: { _eq: "${config.shipment_reference}" }`);
289
+ }
287
290
  if (config.payeeId || config.payeeCategoryId) {
288
291
  const payeeConditions = [];
289
292
  if (config.payeeId) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/graphql",
3
- "version": "2.0.46",
3
+ "version": "2.0.47",
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": "aefd2b55a21a873eb419e284f872a40b2e6dec4d"
24
+ "gitHead": "bfc97683641800ea0d35fe094e705054f4de5cef"
25
25
  }