@erp-galoper/types 1.0.585 → 1.0.586

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 +294 -1
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -18419,6 +18419,39 @@ export interface paths {
18419
18419
  patch?: never;
18420
18420
  trace?: never;
18421
18421
  };
18422
+ "/api/v1/reports/inventory/item-availability-report/": {
18423
+ parameters: {
18424
+ query?: never;
18425
+ header?: never;
18426
+ path?: never;
18427
+ cookie?: never;
18428
+ };
18429
+ /**
18430
+ * Get Item Availability Report
18431
+ * @description Generate an Item Availability Report for the specified filters.
18432
+ *
18433
+ * The report provides real-time insights into the quantity of each item currently in stock,
18434
+ * on order, committed to sales, and expected from suppliers.
18435
+ *
18436
+ * Responses:
18437
+ * - 200: Item Availability Report results
18438
+ * - 400: "invalidFilterFormat"
18439
+ * - 403: "noModuleAccess"
18440
+ * - "permissionDenied"
18441
+ * - "noBranchAccess"
18442
+ * - 500: "serverError"
18443
+ *
18444
+ * Permission key: inventoryreport: ["view"]
18445
+ */
18446
+ get: operations["reports_inventoryreport_views_get_item_availability_report"];
18447
+ put?: never;
18448
+ post?: never;
18449
+ delete?: never;
18450
+ options?: never;
18451
+ head?: never;
18452
+ patch?: never;
18453
+ trace?: never;
18454
+ };
18422
18455
  }
18423
18456
  export type webhooks = Record<string, never>;
18424
18457
  export interface components {
@@ -27468,7 +27501,7 @@ export interface components {
27468
27501
  /**
27469
27502
  * Id
27470
27503
  * Format: uuid
27471
- * @example 301e2c9b-c65a-4d8c-b516-cc5e0f04d79c
27504
+ * @example 58fdb5f5-fc3d-4b19-aa2e-a4d6441d0b15
27472
27505
  */
27473
27506
  id: string;
27474
27507
  /**
@@ -46796,6 +46829,200 @@ export interface components {
46796
46829
  */
46797
46830
  movements: components["schemas"]["MovementTransactionSchema"][];
46798
46831
  };
46832
+ /** ItemAvailabilityReportSchema */
46833
+ ItemAvailabilityReportSchema: {
46834
+ item: components["schemas"]["ItemDetailSchemaForReport"];
46835
+ /** Barcode */
46836
+ barcode?: string | null;
46837
+ /** Sku */
46838
+ sku?: string | null;
46839
+ /** Description */
46840
+ description?: string | null;
46841
+ /** Name */
46842
+ name: string;
46843
+ /** Category */
46844
+ category?: string | null;
46845
+ /** Family */
46846
+ family?: string | null;
46847
+ /** Brand */
46848
+ brand?: string | null;
46849
+ /**
46850
+ * Tags
46851
+ * @default []
46852
+ */
46853
+ tags: string[];
46854
+ /**
46855
+ * Uomgroups
46856
+ * @default []
46857
+ */
46858
+ uomGroups: components["schemas"]["UOMGroupSchema"][];
46859
+ /**
46860
+ * Totalstockquantity
46861
+ * @default 0
46862
+ */
46863
+ totalStockQuantity: number;
46864
+ /**
46865
+ * Totalreservedquantity
46866
+ * @default 0
46867
+ */
46868
+ totalReservedQuantity: number;
46869
+ /**
46870
+ * Totalavailablequantity
46871
+ * @default 0
46872
+ */
46873
+ totalAvailableQuantity: number;
46874
+ /**
46875
+ * Onorderquantity
46876
+ * @default 0
46877
+ */
46878
+ onOrderQuantity: number;
46879
+ /**
46880
+ * Safetystocklevel
46881
+ * @default 0
46882
+ */
46883
+ safetyStockLevel: number | null;
46884
+ /**
46885
+ * Reorderpoint
46886
+ * @default 0
46887
+ */
46888
+ reorderPoint: number | null;
46889
+ /**
46890
+ * Leadtime
46891
+ * @default 0
46892
+ */
46893
+ leadTime: number | null;
46894
+ /** Lastsaledate */
46895
+ lastSaleDate?: string | null;
46896
+ };
46897
+ /** ItemLocationSchema */
46898
+ ItemLocationSchema: {
46899
+ branch?: components["schemas"]["BranchSummaryInfo"] | null;
46900
+ warehouse?: components["schemas"]["WarehouseSummaryInfo"] | null;
46901
+ unitOfMeasure?: components["schemas"]["UnitOfMeasureSchema"] | null;
46902
+ itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
46903
+ /**
46904
+ * Stockquantity
46905
+ * @default 0
46906
+ */
46907
+ stockQuantity: number;
46908
+ /**
46909
+ * Reservedquantity
46910
+ * @default 0
46911
+ */
46912
+ reservedQuantity: number;
46913
+ /**
46914
+ * Availablequantity
46915
+ * @default 0
46916
+ */
46917
+ availableQuantity: number;
46918
+ /**
46919
+ * Ispackage
46920
+ * @default false
46921
+ */
46922
+ isPackage: boolean;
46923
+ /**
46924
+ * Batches
46925
+ * @default []
46926
+ */
46927
+ batches: components["schemas"]["BatchSerialSummarySchema"][];
46928
+ /**
46929
+ * Serials
46930
+ * @default []
46931
+ */
46932
+ serials: components["schemas"]["BatchSerialSummarySchema"][];
46933
+ };
46934
+ /** PackedInventorySchema */
46935
+ PackedInventorySchema: {
46936
+ package: components["schemas"]["ItemPackageSummarySchema"];
46937
+ /**
46938
+ * Packagequantity
46939
+ * @default 0
46940
+ */
46941
+ packageQuantity: number;
46942
+ /**
46943
+ * Stockquantity
46944
+ * @default 0
46945
+ */
46946
+ stockQuantity: number;
46947
+ /**
46948
+ * Reservedquantity
46949
+ * @default 0
46950
+ */
46951
+ reservedQuantity: number;
46952
+ /**
46953
+ * Availablequantity
46954
+ * @default 0
46955
+ */
46956
+ availableQuantity: number;
46957
+ /**
46958
+ * Totalunits
46959
+ * @default 0
46960
+ */
46961
+ totalUnits: number;
46962
+ /**
46963
+ * Totalreserved
46964
+ * @default 0
46965
+ */
46966
+ totalReserved: number;
46967
+ /**
46968
+ * Totalavailable
46969
+ * @default 0
46970
+ */
46971
+ totalAvailable: number;
46972
+ /**
46973
+ * Locations
46974
+ * @default []
46975
+ */
46976
+ locations: components["schemas"]["ItemLocationSchema"][];
46977
+ };
46978
+ /** UOMGroupSchema */
46979
+ UOMGroupSchema: {
46980
+ unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
46981
+ unpacked: components["schemas"]["UnpackedInventorySchema"];
46982
+ /**
46983
+ * Packed
46984
+ * @default []
46985
+ */
46986
+ packed: components["schemas"]["PackedInventorySchema"][];
46987
+ /**
46988
+ * Totalstockquantity
46989
+ * @default 0
46990
+ */
46991
+ totalStockQuantity: number;
46992
+ /**
46993
+ * Totalreservedquantity
46994
+ * @default 0
46995
+ */
46996
+ totalReservedQuantity: number;
46997
+ /**
46998
+ * Totalavailablequantity
46999
+ * @default 0
47000
+ */
47001
+ totalAvailableQuantity: number;
47002
+ };
47003
+ /** UnpackedInventorySchema */
47004
+ UnpackedInventorySchema: {
47005
+ /**
47006
+ * Stockquantity
47007
+ * @default 0
47008
+ */
47009
+ stockQuantity: number;
47010
+ /**
47011
+ * Reservedquantity
47012
+ * @default 0
47013
+ */
47014
+ reservedQuantity: number;
47015
+ /**
47016
+ * Availablequantity
47017
+ * @default 0
47018
+ */
47019
+ availableQuantity: number;
47020
+ /**
47021
+ * Locations
47022
+ * @default []
47023
+ */
47024
+ locations: components["schemas"]["ItemLocationSchema"][];
47025
+ };
46799
47026
  };
46800
47027
  responses: never;
46801
47028
  parameters: never;
@@ -83778,4 +84005,70 @@ export interface operations {
83778
84005
  };
83779
84006
  };
83780
84007
  };
84008
+ reports_inventoryreport_views_get_item_availability_report: {
84009
+ parameters: {
84010
+ query?: {
84011
+ /** @description List of branch IDs */
84012
+ branches?: number[] | null;
84013
+ /** @description List of warehouse IDs */
84014
+ warehouses?: number[] | null;
84015
+ /** @description List of family IDs */
84016
+ families?: number[] | null;
84017
+ /** @description List of brand IDs */
84018
+ brands?: number[] | null;
84019
+ /** @description List of tag IDs */
84020
+ tags?: number[] | null;
84021
+ /** @description List of category IDs */
84022
+ categories?: number[] | null;
84023
+ /** @description List of item IDs */
84024
+ items?: number[] | null;
84025
+ /** @description List of package IDs */
84026
+ packages?: string[] | null;
84027
+ /** @description List of UOM IDs */
84028
+ unit_of_measure?: number[] | null;
84029
+ };
84030
+ header?: never;
84031
+ path?: never;
84032
+ cookie?: never;
84033
+ };
84034
+ requestBody?: never;
84035
+ responses: {
84036
+ /** @description OK */
84037
+ 200: {
84038
+ headers: {
84039
+ [name: string]: unknown;
84040
+ };
84041
+ content: {
84042
+ "application/json": components["schemas"]["ItemAvailabilityReportSchema"][];
84043
+ };
84044
+ };
84045
+ /** @description Bad Request */
84046
+ 400: {
84047
+ headers: {
84048
+ [name: string]: unknown;
84049
+ };
84050
+ content: {
84051
+ "application/json": components["schemas"]["ErrorMessages"];
84052
+ };
84053
+ };
84054
+ /** @description Forbidden */
84055
+ 403: {
84056
+ headers: {
84057
+ [name: string]: unknown;
84058
+ };
84059
+ content: {
84060
+ "application/json": components["schemas"]["MessageWithCode"];
84061
+ };
84062
+ };
84063
+ /** @description Internal Server Error */
84064
+ 500: {
84065
+ headers: {
84066
+ [name: string]: unknown;
84067
+ };
84068
+ content: {
84069
+ "application/json": components["schemas"]["MessageWithCode"];
84070
+ };
84071
+ };
84072
+ };
84073
+ };
83781
84074
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.585",
3
+ "version": "1.0.586",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],