@erp-galoper/types 1.0.1446 → 1.0.1448

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.
Files changed (2) hide show
  1. package/openapi.ts +290 -17
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -29234,7 +29234,7 @@ export interface components {
29234
29234
  * FileType
29235
29235
  * @enum {string}
29236
29236
  */
29237
- FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "returnSalesOrder" | "returnSalesInvoice" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "task" | "event";
29237
+ FileType: "item" | "company" | "user" | "supplier" | "customer" | "itemCategory" | "journalVoucher" | "supplierPriceList" | "requisition" | "purchaseQuotation" | "purchaseOrder" | "purchaseReturnOrder" | "advancePayment" | "requestForQuotation" | "purchaseInvoice" | "purchaseReturnInvoice" | "salesPriceList" | "closingCommission" | "commissionStructure" | "commissionPayout" | "offerAndPromotion" | "refundVoucher" | "paymentVoucher" | "purchaseCreditNote" | "downPayment" | "receiptVoucher" | "salesPerson" | "salesQuotation" | "salesOrder" | "salesReturnOrder" | "salesInvoice" | "salesReturnInvoice" | "salesRefundVoucher" | "returnSalesOrder" | "returnSalesInvoice" | "goodsReceiptNote" | "goodsDeliveryNote" | "salesCreditNote" | "returnablePackageReconciliation" | "salesReturnPackage" | "customFieldValue" | "transferRequest" | "expenseCategory" | "expenseVoucher" | "expensePaymentVoucher" | "task" | "event" | "whatsappTemplate";
29238
29238
  /** currencyCodeOut */
29239
29239
  currencyCodeOut: {
29240
29240
  /** Currencycode */
@@ -54536,26 +54536,66 @@ export interface components {
54536
54536
  * @default []
54537
54537
  */
54538
54538
  uomGroups: components["schemas"]["UOMGroupSchema"][];
54539
+ /**
54540
+ * Totalunpackedstock
54541
+ * @description Total unpacked quantity
54542
+ * @default 0
54543
+ */
54544
+ totalUnpackedStock: number;
54545
+ /**
54546
+ * Totalunpackedreserved
54547
+ * @description Total unpacked reserved
54548
+ * @default 0
54549
+ */
54550
+ totalUnpackedReserved: number;
54551
+ /**
54552
+ * Totalunpackedavailable
54553
+ * @description Total unpacked available
54554
+ * @default 0
54555
+ */
54556
+ totalUnpackedAvailable: number;
54557
+ /**
54558
+ * Totalpackedstock
54559
+ * @description Total packed quantity (in units)
54560
+ * @default 0
54561
+ */
54562
+ totalPackedStock: number;
54563
+ /**
54564
+ * Totalpackedreserved
54565
+ * @description Total packed reserved (in units)
54566
+ * @default 0
54567
+ */
54568
+ totalPackedReserved: number;
54569
+ /**
54570
+ * Totalpackedavailable
54571
+ * @description Total packed available (in units)
54572
+ * @default 0
54573
+ */
54574
+ totalPackedAvailable: number;
54539
54575
  /**
54540
54576
  * Totalstockquantity
54577
+ * @description Total quantity (unpacked + packed)
54541
54578
  * @default 0
54542
54579
  */
54543
54580
  totalStockQuantity: number;
54544
54581
  /**
54545
54582
  * Totalreservedquantity
54583
+ * @description Total reserved
54546
54584
  * @default 0
54547
54585
  */
54548
54586
  totalReservedQuantity: number;
54549
54587
  /**
54550
54588
  * Totalavailablequantity
54589
+ * @description Total available
54551
54590
  * @default 0
54552
54591
  */
54553
54592
  totalAvailableQuantity: number;
54554
54593
  /**
54555
- * Onorderquantity
54556
- * @default 0
54594
+ * Locations
54595
+ * @description Totals per location (all UOMs combined)
54596
+ * @default []
54557
54597
  */
54558
- onOrderQuantity: number;
54598
+ locations: components["schemas"]["ItemLocationTotalsSchema"][];
54559
54599
  /**
54560
54600
  * Safetystocklevel
54561
54601
  * @default 0
@@ -54571,15 +54611,21 @@ export interface components {
54571
54611
  * @default 0
54572
54612
  */
54573
54613
  leadTime: number | null;
54614
+ /**
54615
+ * Averagedailyusage
54616
+ * @default 0
54617
+ */
54618
+ averageDailyUsage: number | null;
54574
54619
  /** Lastsaledate */
54575
54620
  lastSaleDate?: string | null;
54576
54621
  };
54577
- /** ItemLocationSchema */
54622
+ /**
54623
+ * ItemLocationSchema
54624
+ * @description Location totals without batch/serial details
54625
+ */
54578
54626
  ItemLocationSchema: {
54579
54627
  branch?: components["schemas"]["BranchSummaryInfo"] | null;
54580
54628
  warehouse?: components["schemas"]["WarehouseSummaryInfo"] | null;
54581
- unitOfMeasure?: components["schemas"]["UnitOfMeasureSchema"] | null;
54582
- itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
54583
54629
  /**
54584
54630
  * Stockquantity
54585
54631
  * @default 0
@@ -54595,21 +54641,112 @@ export interface components {
54595
54641
  * @default 0
54596
54642
  */
54597
54643
  availableQuantity: number;
54644
+ };
54645
+ /**
54646
+ * ItemLocationTotalsSchema
54647
+ * @description Item-level location totals (all UOMs combined)
54648
+ */
54649
+ ItemLocationTotalsSchema: {
54650
+ branch?: components["schemas"]["BranchSummaryInfo"] | null;
54651
+ warehouse?: components["schemas"]["WarehouseSummaryInfo"] | null;
54598
54652
  /**
54599
- * Ispackage
54600
- * @default false
54653
+ * Unpackedstock
54654
+ * @description Unpacked quantity
54655
+ * @default 0
54601
54656
  */
54602
- isPackage: boolean;
54657
+ unpackedStock: number;
54603
54658
  /**
54604
- * Batches
54605
- * @default []
54659
+ * Unpackedreserved
54660
+ * @description Unpacked reserved
54661
+ * @default 0
54606
54662
  */
54607
- batches: components["schemas"]["BatchSerialSummarySchema"][];
54663
+ unpackedReserved: number;
54608
54664
  /**
54609
- * Serials
54610
- * @default []
54665
+ * Unpackedavailable
54666
+ * @description Unpacked available
54667
+ * @default 0
54668
+ */
54669
+ unpackedAvailable: number;
54670
+ /**
54671
+ * Packedstock
54672
+ * @description Packed quantity (number of packages)
54673
+ * @default 0
54674
+ */
54675
+ packedStock: number;
54676
+ /**
54677
+ * Packedreserved
54678
+ * @description Packed reserved (number of packages)
54679
+ * @default 0
54680
+ */
54681
+ packedReserved: number;
54682
+ /**
54683
+ * Packedavailable
54684
+ * @description Packed available (number of packages)
54685
+ * @default 0
54686
+ */
54687
+ packedAvailable: number;
54688
+ /**
54689
+ * Stockquantity
54690
+ * @description Total quantity in units (unpacked + packed units)
54691
+ * @default 0
54692
+ */
54693
+ stockQuantity: number;
54694
+ /**
54695
+ * Reservedquantity
54696
+ * @description Total reserved
54697
+ * @default 0
54698
+ */
54699
+ reservedQuantity: number;
54700
+ /**
54701
+ * Availablequantity
54702
+ * @description Total available
54703
+ * @default 0
54704
+ */
54705
+ availableQuantity: number;
54706
+ };
54707
+ /**
54708
+ * PackageLocationTotalSchema
54709
+ * @description Totals for a package at a specific location
54710
+ */
54711
+ PackageLocationTotalSchema: {
54712
+ branch?: components["schemas"]["BranchSummaryInfo"] | null;
54713
+ warehouse?: components["schemas"]["WarehouseSummaryInfo"] | null;
54714
+ /**
54715
+ * Stockquantity
54716
+ * @description Number of packages
54717
+ * @default 0
54718
+ */
54719
+ stockQuantity: number;
54720
+ /**
54721
+ * Reservedquantity
54722
+ * @description Number of packages
54723
+ * @default 0
54724
+ */
54725
+ reservedQuantity: number;
54726
+ /**
54727
+ * Availablequantity
54728
+ * @description Number of packages
54729
+ * @default 0
54730
+ */
54731
+ availableQuantity: number;
54732
+ /**
54733
+ * Totalunits
54734
+ * @description Total units (packages × package_quantity)
54735
+ * @default 0
54736
+ */
54737
+ totalUnits: number;
54738
+ /**
54739
+ * Totalreserved
54740
+ * @description Reserved units
54741
+ * @default 0
54742
+ */
54743
+ totalReserved: number;
54744
+ /**
54745
+ * Totalavailable
54746
+ * @description Available units
54747
+ * @default 0
54611
54748
  */
54612
- serials: components["schemas"]["BatchSerialSummarySchema"][];
54749
+ totalAvailable: number;
54613
54750
  };
54614
54751
  /** PackedInventorySchema */
54615
54752
  PackedInventorySchema: {
@@ -54653,7 +54790,7 @@ export interface components {
54653
54790
  * Locations
54654
54791
  * @default []
54655
54792
  */
54656
- locations: components["schemas"]["ItemLocationSchema"][];
54793
+ locations: components["schemas"]["PackageLocationTotalSchema"][];
54657
54794
  };
54658
54795
  /** PackedInventorySummarySchema */
54659
54796
  PackedInventorySummarySchema: {
@@ -54692,6 +54829,56 @@ export interface components {
54692
54829
  * @default []
54693
54830
  */
54694
54831
  packages: components["schemas"]["PackedInventorySchema"][];
54832
+ /**
54833
+ * Locations
54834
+ * @description Totals per location (all packages combined)
54835
+ * @default []
54836
+ */
54837
+ locations: components["schemas"]["PackedLocationSummarySchema"][];
54838
+ };
54839
+ /**
54840
+ * PackedLocationSummarySchema
54841
+ * @description Packed inventory totals at a specific location (all packages combined)
54842
+ */
54843
+ PackedLocationSummarySchema: {
54844
+ branch?: components["schemas"]["BranchSummaryInfo"] | null;
54845
+ warehouse?: components["schemas"]["WarehouseSummaryInfo"] | null;
54846
+ /**
54847
+ * Stockquantity
54848
+ * @description Total packages at this location
54849
+ * @default 0
54850
+ */
54851
+ stockQuantity: number;
54852
+ /**
54853
+ * Reservedquantity
54854
+ * @description Total reserved packages
54855
+ * @default 0
54856
+ */
54857
+ reservedQuantity: number;
54858
+ /**
54859
+ * Availablequantity
54860
+ * @description Total available packages
54861
+ * @default 0
54862
+ */
54863
+ availableQuantity: number;
54864
+ /**
54865
+ * Totalunits
54866
+ * @description Total units at this location
54867
+ * @default 0
54868
+ */
54869
+ totalUnits: number;
54870
+ /**
54871
+ * Totalreserved
54872
+ * @description Total reserved units
54873
+ * @default 0
54874
+ */
54875
+ totalReserved: number;
54876
+ /**
54877
+ * Totalavailable
54878
+ * @description Total available units
54879
+ * @default 0
54880
+ */
54881
+ totalAvailable: number;
54695
54882
  };
54696
54883
  /** UOMGroupSchema */
54697
54884
  UOMGroupSchema: {
@@ -54713,6 +54900,92 @@ export interface components {
54713
54900
  * @default 0
54714
54901
  */
54715
54902
  totalAvailableQuantity: number;
54903
+ /**
54904
+ * Locations
54905
+ * @description Combined totals per location (unpacked + packed in units)
54906
+ * @default []
54907
+ */
54908
+ locations: components["schemas"]["UOMLocationSchema"][];
54909
+ };
54910
+ /**
54911
+ * UOMLocationSchema
54912
+ * @description UOM-level location totals with packed/unpacked breakdown
54913
+ */
54914
+ UOMLocationSchema: {
54915
+ branch?: components["schemas"]["BranchSummaryInfo"] | null;
54916
+ warehouse?: components["schemas"]["WarehouseSummaryInfo"] | null;
54917
+ /**
54918
+ * Unpackedstock
54919
+ * @description Unpacked quantity
54920
+ * @default 0
54921
+ */
54922
+ unpackedStock: number;
54923
+ /**
54924
+ * Unpackedreserved
54925
+ * @description Unpacked reserved
54926
+ * @default 0
54927
+ */
54928
+ unpackedReserved: number;
54929
+ /**
54930
+ * Unpackedavailable
54931
+ * @description Unpacked available
54932
+ * @default 0
54933
+ */
54934
+ unpackedAvailable: number;
54935
+ /**
54936
+ * Packedstock
54937
+ * @description Packed quantity (number of packages)
54938
+ * @default 0
54939
+ */
54940
+ packedStock: number;
54941
+ /**
54942
+ * Packedreserved
54943
+ * @description Packed reserved (number of packages)
54944
+ * @default 0
54945
+ */
54946
+ packedReserved: number;
54947
+ /**
54948
+ * Packedavailable
54949
+ * @description Packed available (number of packages)
54950
+ * @default 0
54951
+ */
54952
+ packedAvailable: number;
54953
+ /**
54954
+ * Packedstockunits
54955
+ * @description Packed quantity (in units)
54956
+ * @default 0
54957
+ */
54958
+ packedStockUnits: number;
54959
+ /**
54960
+ * Packedreservedunits
54961
+ * @description Packed reserved (in units)
54962
+ * @default 0
54963
+ */
54964
+ packedReservedUnits: number;
54965
+ /**
54966
+ * Packedavailableunits
54967
+ * @description Packed available (in units)
54968
+ * @default 0
54969
+ */
54970
+ packedAvailableUnits: number;
54971
+ /**
54972
+ * Stockquantity
54973
+ * @description Total quantity in units (unpacked + packed units)
54974
+ * @default 0
54975
+ */
54976
+ stockQuantity: number;
54977
+ /**
54978
+ * Reservedquantity
54979
+ * @description Total reserved
54980
+ * @default 0
54981
+ */
54982
+ reservedQuantity: number;
54983
+ /**
54984
+ * Availablequantity
54985
+ * @description Total available
54986
+ * @default 0
54987
+ */
54988
+ availableQuantity: number;
54716
54989
  };
54717
54990
  /** UnpackedInventorySchema */
54718
54991
  UnpackedInventorySchema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1446",
3
+ "version": "1.0.1448",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],