@zauru-sdk/services 2.0.148 → 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.
@@ -319,9 +319,8 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {})
319
319
  withWebAppRows: true,
320
320
  payeeCategoryIds: [],
321
321
  excludePayeeCategoryIds: [],
322
- shipment_reference: undefined,
323
322
  withLotStocks: false,
324
- excludeVoided: false,
323
+ excludeVoided: true,
325
324
  };
326
325
  // Combinar config con los valores por defecto
327
326
  const finalConfig = { ...defaultConfig, ...config };
@@ -354,6 +353,7 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {})
354
353
  discount: finalConfig.discount,
355
354
  shipment_reference: finalConfig.shipment_reference,
356
355
  excludeVoided: finalConfig.excludeVoided,
356
+ agencyNameIlike: finalConfig.agencyNameIlike,
357
357
  });
358
358
  const graphQLBody = {
359
359
  query,
@@ -139,6 +139,7 @@ export declare const getGraphQLPurchaseOrderBetweenDates: (session: Session, dat
139
139
  agencyId?: number | string;
140
140
  id_number?: string;
141
141
  shipment_reference?: string;
142
+ agencyNameIlike?: string;
142
143
  useProductionAgencyId?: boolean;
143
144
  consolidateIdFilter?: boolean;
144
145
  lotItemIdExclusion?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.0.148",
3
+ "version": "2.0.150",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -26,10 +26,10 @@
26
26
  "@remix-run/node": "^2.8.1",
27
27
  "@zauru-sdk/common": "^2.0.118",
28
28
  "@zauru-sdk/config": "^2.0.100",
29
- "@zauru-sdk/graphql": "^2.0.119",
29
+ "@zauru-sdk/graphql": "^2.0.150",
30
30
  "@zauru-sdk/types": "^2.0.109",
31
31
  "axios": "^1.6.7",
32
32
  "chalk": "5.3.0"
33
33
  },
34
- "gitHead": "b2598726a30e877d4af78777934c69045b7a81a8"
34
+ "gitHead": "1f6adb96c6a67b4cc460301d8c0b67bb0446e2a5"
35
35
  }