@zauru-sdk/services 2.0.161 → 2.0.163

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.
@@ -10,23 +10,13 @@ export async function getShipments(session, config) {
10
10
  return handlePossibleAxiosErrors(async () => {
11
11
  const headers = await getGraphQLAPIHeaders(session);
12
12
  const query = getShipmentsStringQuery({
13
+ ...config,
13
14
  agency_to_id: config.agency_to_id
14
15
  ? Number(config.agency_to_id)
15
16
  : undefined,
16
17
  agency_from_id: config.agency_from_id
17
18
  ? Number(config.agency_from_id)
18
19
  : undefined,
19
- suffix: config.suffix,
20
- id_number: config.id_number,
21
- id_number_not_null: config.id_number_not_null,
22
- id_number_not_empty: config.id_number_not_empty,
23
- withMovementLots: config.withMovementLots,
24
- memoILike: config.memoILike,
25
- voided: config.voided,
26
- delivered: config.delivered,
27
- shipped: config.shipped,
28
- returned: config.returned,
29
- withPurchaseOrdersByShipmentReference: config.withPurchaseOrdersByShipmentReference,
30
20
  });
31
21
  const response = await httpGraphQLAPI.post("", {
32
22
  query,
@@ -17,6 +17,7 @@ export declare function getShipments(session: Session, config: {
17
17
  shipped?: boolean;
18
18
  returned?: boolean;
19
19
  withPurchaseOrdersByShipmentReference?: boolean;
20
+ limit?: number;
20
21
  }): Promise<AxiosUtilsResponse<ShipmentGraphQL[]>>;
21
22
  /**
22
23
  * receiveShipment_booking
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.0.161",
3
+ "version": "2.0.163",
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.160",
27
+ "@zauru-sdk/common": "^2.0.162",
28
28
  "@zauru-sdk/config": "^2.0.100",
29
29
  "@zauru-sdk/graphql": "^2.0.161",
30
- "@zauru-sdk/types": "^2.0.160",
30
+ "@zauru-sdk/types": "^2.0.162",
31
31
  "axios": "^1.6.7",
32
32
  "chalk": "5.3.0"
33
33
  },
34
- "gitHead": "c1fb36ef2266c186a766f9a5831a783b0f2fb0b3"
34
+ "gitHead": "0fe9b696e9bb8aae55d291ec36e333b1df9d1bfe"
35
35
  }