@zauru-sdk/services 2.0.159 → 2.0.161

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.
@@ -354,6 +354,7 @@ export const getGraphQLPurchaseOrderBetweenDates = (session, dates, config = {})
354
354
  shipment_reference: finalConfig.shipment_reference,
355
355
  excludeVoided: finalConfig.excludeVoided,
356
356
  agencyNameIlike: finalConfig.agencyNameIlike,
357
+ reference: finalConfig.reference,
357
358
  });
358
359
  const graphQLBody = {
359
360
  query,
@@ -26,6 +26,7 @@ export async function getShipments(session, config) {
26
26
  delivered: config.delivered,
27
27
  shipped: config.shipped,
28
28
  returned: config.returned,
29
+ withPurchaseOrdersByShipmentReference: config.withPurchaseOrdersByShipmentReference,
29
30
  });
30
31
  const response = await httpGraphQLAPI.post("", {
31
32
  query,
@@ -147,6 +147,7 @@ export declare const getGraphQLPurchaseOrderBetweenDates: (session: Session, dat
147
147
  onlyWithShipmentToMyAgency?: boolean;
148
148
  onlyWithLotStocksToMyAgency?: boolean;
149
149
  itemId?: number | string;
150
+ reference?: string;
150
151
  payeeCategoryId?: number | string;
151
152
  payeeId?: number | string;
152
153
  betweenIssueDate?: boolean;
@@ -16,6 +16,7 @@ export declare function getShipments(session: Session, config: {
16
16
  delivered?: boolean;
17
17
  shipped?: boolean;
18
18
  returned?: boolean;
19
+ withPurchaseOrdersByShipmentReference?: boolean;
19
20
  }): Promise<AxiosUtilsResponse<ShipmentGraphQL[]>>;
20
21
  /**
21
22
  * receiveShipment_booking
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.0.159",
3
+ "version": "2.0.161",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -24,12 +24,12 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@remix-run/node": "^2.8.1",
27
- "@zauru-sdk/common": "^2.0.154",
27
+ "@zauru-sdk/common": "^2.0.160",
28
28
  "@zauru-sdk/config": "^2.0.100",
29
- "@zauru-sdk/graphql": "^2.0.159",
30
- "@zauru-sdk/types": "^2.0.154",
29
+ "@zauru-sdk/graphql": "^2.0.161",
30
+ "@zauru-sdk/types": "^2.0.160",
31
31
  "axios": "^1.6.7",
32
32
  "chalk": "5.3.0"
33
33
  },
34
- "gitHead": "bb34f3565903d629bdd046c34a2bb37bd17f0833"
34
+ "gitHead": "c1fb36ef2266c186a766f9a5831a783b0f2fb0b3"
35
35
  }