@zauru-sdk/utils 2.0.10 → 2.0.12
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.
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./zauru/4pinos-receptions-form-history.utils.js";
|
|
2
2
|
export * from "./zauru/4pinos-reception-register.utils.js";
|
|
3
3
|
export * from "./zauru/4pinos-shipments-form-history.utils.js";
|
|
4
|
+
export * from "./zauru/4pinos-shipment-register.utils.js";
|
|
4
5
|
export * from "./zauru/automatic-number.utils.js";
|
|
5
6
|
export * from "./zauru/bitacora-edicion-masiva.utils.js";
|
|
6
7
|
export * from "./zauru/bundles.utils.js";
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { getHeaders, getSession } from "@zauru-sdk/services";
|
|
2
|
+
export const register4pinosShipment = async ({ cookie, idWebAppTable, agency_id, values, }) => {
|
|
3
|
+
const session = await getSession(cookie);
|
|
4
|
+
const headers = await getHeaders(cookie, session);
|
|
5
|
+
console.log(values);
|
|
6
|
+
};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from "./zauru/4pinos-receptions-form-history.utils.js";
|
|
2
2
|
export * from "./zauru/4pinos-reception-register.utils.js";
|
|
3
3
|
export * from "./zauru/4pinos-shipments-form-history.utils.js";
|
|
4
|
+
export * from "./zauru/4pinos-shipment-register.utils.js";
|
|
4
5
|
export * from "./zauru/automatic-number.utils.js";
|
|
5
6
|
export * from "./zauru/bitacora-edicion-masiva.utils.js";
|
|
6
7
|
export * from "./zauru/bundles.utils.js";
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const register4pinosShipment: ({ cookie, idWebAppTable, agency_id, values, }: {
|
|
2
|
+
cookie: string;
|
|
3
|
+
idWebAppTable: number;
|
|
4
|
+
agency_id: number;
|
|
5
|
+
values: {
|
|
6
|
+
agency_from: number;
|
|
7
|
+
transporter_id: number;
|
|
8
|
+
date: string;
|
|
9
|
+
shipment_number: string;
|
|
10
|
+
agency_to: number;
|
|
11
|
+
purchase_orders: {
|
|
12
|
+
id: number;
|
|
13
|
+
lot_id: number;
|
|
14
|
+
}[];
|
|
15
|
+
};
|
|
16
|
+
}) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/utils",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.12",
|
|
4
4
|
"description": "Utilidades, parseo de request y demás para desarrollo de webapps de Zauru",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -24,11 +24,11 @@
|
|
|
24
24
|
},
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@remix-run/node": "^2.8.1",
|
|
27
|
-
"@zauru-sdk/common": "^2.0.
|
|
27
|
+
"@zauru-sdk/common": "^2.0.11",
|
|
28
28
|
"@zauru-sdk/config": "^2.0.0",
|
|
29
29
|
"@zauru-sdk/graphql": "^2.0.7",
|
|
30
|
-
"@zauru-sdk/services": "^2.0.
|
|
30
|
+
"@zauru-sdk/services": "^2.0.11",
|
|
31
31
|
"@zauru-sdk/types": "^2.0.10"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "a4ea888baa4cb398db3986bb3ddf55b38e56c97b"
|
|
34
34
|
}
|