@zauru-sdk/services 1.0.66 → 1.0.67

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.
@@ -344,6 +344,7 @@ const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {
344
344
  useProductionAgencyId: false,
345
345
  withShipmentToMyAgency: false,
346
346
  withLotStocksToMyAgency: false,
347
+ betweenIssueDate: false,
347
348
  }) => {
348
349
  return (0, common_1.handlePossibleAxiosErrors)(async () => {
349
350
  const headers = await (0, common_js_1.getGraphQLAPIHeaders)(session);
@@ -363,6 +364,7 @@ const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {
363
364
  withLotStocks: config.withLotStocksToMyAgency,
364
365
  itemId: config.itemId,
365
366
  payeeCategoryId: config.payeeCategoryId,
367
+ betweenIssueDate: config.betweenIssueDate,
366
368
  });
367
369
  const variables = {
368
370
  ...(config.lotItemIdExclusion
@@ -323,6 +323,7 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {
323
323
  useProductionAgencyId: false,
324
324
  withShipmentToMyAgency: false,
325
325
  withLotStocksToMyAgency: false,
326
+ betweenIssueDate: false,
326
327
  }) => {
327
328
  return handlePossibleAxiosErrors(async () => {
328
329
  const headers = await getGraphQLAPIHeaders(session);
@@ -342,6 +343,7 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {
342
343
  withLotStocks: config.withLotStocksToMyAgency,
343
344
  itemId: config.itemId,
344
345
  payeeCategoryId: config.payeeCategoryId,
346
+ betweenIssueDate: config.betweenIssueDate,
345
347
  });
346
348
  const variables = {
347
349
  ...(config.lotItemIdExclusion
@@ -143,6 +143,7 @@ export declare const getGraphQLPurchaseOrderBetweenDates: (session: Session, dat
143
143
  withLotStocksToMyAgency?: boolean;
144
144
  itemId?: number | string;
145
145
  payeeCategoryId?: number | string;
146
+ betweenIssueDate?: boolean;
146
147
  }) => Promise<AxiosUtilsResponse<PurchaseOrderGraphQL[]>>;
147
148
  /**
148
149
  * deletePurchaseOrder
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "1.0.66",
3
+ "version": "1.0.67",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -32,5 +32,5 @@
32
32
  "axios": "^1.6.7",
33
33
  "chalk": "5.3.0"
34
34
  },
35
- "gitHead": "7640aacff44c60067dc41d92fa08d2fb582f7acb"
35
+ "gitHead": "fcf6da802e3eb8997f27747c2d5d9a4947540a9d"
36
36
  }