@zauru-sdk/services 2.0.212 → 2.0.214

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.
@@ -4,6 +4,7 @@ import { AxiosUtilsResponse, ShipmentGraphQL } from "@zauru-sdk/types";
4
4
  * getShipments
5
5
  */
6
6
  export declare function getShipments(session: Session, config: {
7
+ id?: string | number;
7
8
  agency_to_id?: string | number;
8
9
  agency_from_id?: string | number;
9
10
  suffix?: string;
@@ -34,7 +35,7 @@ export declare function getShipments(session: Session, config: {
34
35
  * @returns
35
36
  */
36
37
  export declare function receiveShipment_booking(headers: any, id: string | number): Promise<AxiosUtilsResponse<boolean>>;
37
- export declare function receiveTransit(headers: any, body: ShipmentGraphQL): Promise<AxiosUtilsResponse<boolean>>;
38
+ export declare function receiveTransit(headers: any, body: Partial<ShipmentGraphQL>): Promise<AxiosUtilsResponse<boolean>>;
38
39
  /**
39
40
  * despacharShipment_booking
40
41
  * Esta función cambia el atributo 'shipment' de los envíos a 'true', lo que indica que el envío está en tránsito.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/services",
3
- "version": "2.0.212",
3
+ "version": "2.0.214",
4
4
  "description": "Servicios de consulta a Zauru",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -27,10 +27,10 @@
27
27
  "@upstash/redis": "^1.34.5",
28
28
  "@zauru-sdk/common": "^2.0.210",
29
29
  "@zauru-sdk/config": "^2.0.100",
30
- "@zauru-sdk/graphql": "^2.0.206",
30
+ "@zauru-sdk/graphql": "^2.0.213",
31
31
  "@zauru-sdk/types": "^2.0.210",
32
32
  "axios": "^1.6.7",
33
33
  "chalk": "5.3.0"
34
34
  },
35
- "gitHead": "a68d1bf942a86a6824a804ba664a0b8692cf7e20"
35
+ "gitHead": "8042a887c9d8aea2f92918bac09e5f262524a245"
36
36
  }