@zauru-sdk/redux 6.5.16 → 6.6.0

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.
@@ -39,6 +39,11 @@ const initialState = {
39
39
  loading: false,
40
40
  reFetch: false,
41
41
  },
42
+ offlineQueueShipments: {
43
+ data: [],
44
+ loading: false,
45
+ reFetch: false,
46
+ },
42
47
  };
43
48
  const receptionSlice = (0, toolkit_1.createSlice)({
44
49
  name: "reception",
@@ -1,4 +1,4 @@
1
- import { ItemAssociatedLots, NewPurchaseOrderResponse, PurchaseOrderGeneralInfo, PurchaseOrderGraphQL, RejectionWebAppTableObject, ShipmentGraphQL, WebAppRowGraphQL } from "@zauru-sdk/types";
1
+ import { ItemAssociatedLots, NewPurchaseOrderResponse, PurchaseOrderGeneralInfo, PurchaseOrderGraphQL, RejectionWebAppTableObject, QueueShipmentsForm, ShipmentGraphQL, WebAppRowGraphQL } from "@zauru-sdk/types";
2
2
  type ApiResponseFor4pinosReceptions = {
3
3
  apiCall: number;
4
4
  authorizedPO?: PurchaseOrderGraphQL;
@@ -17,7 +17,7 @@ type QueueFormReceptionWebAppTable = {
17
17
  username?: string;
18
18
  token?: string;
19
19
  };
20
- export type RECEPTION_NAMES = "basketLots" | "rejectionInfo" | "newPurchaseOrderInfo" | "purchaseOrderGeneralInfo" | "poReceptions" | "offlineQueueReceptions" | "queueReceptions";
20
+ export type RECEPTION_NAMES = "basketLots" | "rejectionInfo" | "newPurchaseOrderInfo" | "purchaseOrderGeneralInfo" | "poReceptions" | "offlineQueueReceptions" | "offlineQueueShipments" | "queueReceptions";
21
21
  export interface ReceptionState {
22
22
  basketLots: {
23
23
  loading: boolean;
@@ -54,6 +54,11 @@ export interface ReceptionState {
54
54
  data: WebAppRowGraphQL<QueueFormReceptionWebAppTable>[];
55
55
  reFetch: boolean;
56
56
  };
57
+ offlineQueueShipments: {
58
+ loading: boolean;
59
+ data: WebAppRowGraphQL<QueueShipmentsForm>[];
60
+ reFetch: boolean;
61
+ };
57
62
  }
58
63
  export declare const receptionFetchStart: import("@reduxjs/toolkit").ActionCreatorWithPayload<RECEPTION_NAMES, "reception/receptionFetchStart">, receptionFetchSuccess: import("@reduxjs/toolkit").ActionCreatorWithPayload<{
59
64
  name: RECEPTION_NAMES;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/redux",
3
- "version": "6.5.16",
3
+ "version": "6.6.0",
4
4
  "description": "Estructura de Redux propuesta para el desarrollo de webapps en Zauru.",
5
5
  "main": "./dist/esm/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -26,11 +26,11 @@
26
26
  },
27
27
  "dependencies": {
28
28
  "@reduxjs/toolkit": "^2.2.1",
29
- "@zauru-sdk/types": "^6.23.0",
29
+ "@zauru-sdk/types": "^6.24.0",
30
30
  "react": "^18.2.0",
31
31
  "react-dom": "^18.2.0",
32
32
  "react-redux": "^9.1.0",
33
33
  "react-select": "^5.8.0"
34
34
  },
35
- "gitHead": "a3c1f2af46acb59cf9fcb78ecb18d904e33c61e5"
35
+ "gitHead": "500fd127f2ce1ffb34386a8c48b62d5c43369659"
36
36
  }