@zauru-sdk/types 1.0.88 → 1.0.98

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.
@@ -163,6 +163,7 @@ export type ItemAssociatedLots = {
163
163
  };
164
164
  export type MotivoRechazo = {
165
165
  Nombre: string;
166
+ relatedItems?: number[];
166
167
  };
167
168
  export type RegisterMotivosRechazoBody = {
168
169
  Canastas?: string;
@@ -609,18 +610,46 @@ export type ReceptionType = {
609
610
  Codigo: string;
610
611
  Nombre: string;
611
612
  };
613
+ export type ApiResponseFor4pinosReceptions = {
614
+ apiCall: number;
615
+ authorizedPO: PurchaseOrderGraphQL;
616
+ shipment: ShipmentGraphQL;
617
+ qcShipment: ShipmentGraphQL;
618
+ };
612
619
  export type QueueFormReceptionWebAppTable = {
613
620
  creadoPor: string;
614
621
  fechaCreacion: string;
615
622
  formSubmited: any;
616
623
  estado: string;
617
624
  agency_id: number;
625
+ apiResponses?: ApiResponseFor4pinosReceptions;
618
626
  description: string;
619
627
  };
620
628
  export type RowDataType = {
621
629
  id: any;
622
630
  [key: string]: any;
623
631
  };
632
+ export type receptionType = {
633
+ [key: string]: {
634
+ agency_id: string;
635
+ received_at: string;
636
+ purchase_order_id: string;
637
+ entity_id: string;
638
+ needs_transit: string;
639
+ invoice_number: string;
640
+ reception_details_attributes: receptionDetailsType;
641
+ };
642
+ };
643
+ export type receptionDetailsType = {
644
+ [key: string]: {
645
+ item_id: string;
646
+ purchase_order_detail_id: string;
647
+ lot_delivered_quantity: string[];
648
+ lot_name: string[];
649
+ lot_expire: string[];
650
+ lot_description: string[];
651
+ };
652
+ };
624
653
  export type GenericDynamicTableColumn = {
625
654
  name: string;
626
655
  label: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "1.0.88",
3
+ "version": "1.0.98",
4
4
  "description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "module": "./dist/esm/index.js",
@@ -22,5 +22,5 @@
22
22
  "devDependencies": {
23
23
  "typescript": "^5.1.6"
24
24
  },
25
- "gitHead": "353e46a3cbd7087e8a09c5489b8e66baf71a027b"
25
+ "gitHead": "e3b92fe4d2aea4be988540f6b233f0a27eb72a40"
26
26
  }