@erp-galoper/types 1.0.584 → 1.0.585
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/openapi.ts +248 -1
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -18385,6 +18385,40 @@ export interface paths {
|
|
|
18385
18385
|
patch?: never;
|
|
18386
18386
|
trace?: never;
|
|
18387
18387
|
};
|
|
18388
|
+
"/api/v1/reports/inventory/item-movement-report/": {
|
|
18389
|
+
parameters: {
|
|
18390
|
+
query?: never;
|
|
18391
|
+
header?: never;
|
|
18392
|
+
path?: never;
|
|
18393
|
+
cookie?: never;
|
|
18394
|
+
};
|
|
18395
|
+
/**
|
|
18396
|
+
* Get Item Movement Report
|
|
18397
|
+
* @description Generate an Item Movement Report for the specified filters and date range.
|
|
18398
|
+
*
|
|
18399
|
+
* The report tracks and summarizes all movements of inventory items, providing visibility
|
|
18400
|
+
* into how inventory is flowing through the organization.
|
|
18401
|
+
*
|
|
18402
|
+
* Responses:
|
|
18403
|
+
* - 200: Item Movement Report results
|
|
18404
|
+
* - 400: "customPeriodError"
|
|
18405
|
+
* - "invalidFilterFormat"
|
|
18406
|
+
* - 403: "noModuleAccess"
|
|
18407
|
+
* - "permissionDenied"
|
|
18408
|
+
* - "noBranchAccess"
|
|
18409
|
+
* - 500: "serverError"
|
|
18410
|
+
*
|
|
18411
|
+
* Permission key: inventoryreport: ["view"]
|
|
18412
|
+
*/
|
|
18413
|
+
get: operations["reports_inventoryreport_views_get_item_movement_report"];
|
|
18414
|
+
put?: never;
|
|
18415
|
+
post?: never;
|
|
18416
|
+
delete?: never;
|
|
18417
|
+
options?: never;
|
|
18418
|
+
head?: never;
|
|
18419
|
+
patch?: never;
|
|
18420
|
+
trace?: never;
|
|
18421
|
+
};
|
|
18388
18422
|
}
|
|
18389
18423
|
export type webhooks = Record<string, never>;
|
|
18390
18424
|
export interface components {
|
|
@@ -27434,7 +27468,7 @@ export interface components {
|
|
|
27434
27468
|
/**
|
|
27435
27469
|
* Id
|
|
27436
27470
|
* Format: uuid
|
|
27437
|
-
* @example
|
|
27471
|
+
* @example 301e2c9b-c65a-4d8c-b516-cc5e0f04d79c
|
|
27438
27472
|
*/
|
|
27439
27473
|
id: string;
|
|
27440
27474
|
/**
|
|
@@ -46619,6 +46653,149 @@ export interface components {
|
|
|
46619
46653
|
/** Results */
|
|
46620
46654
|
results: components["schemas"]["PosRoleSchema"][];
|
|
46621
46655
|
};
|
|
46656
|
+
/** DetailedMovementSummarySchema */
|
|
46657
|
+
DetailedMovementSummarySchema: {
|
|
46658
|
+
/**
|
|
46659
|
+
* Openingbalance
|
|
46660
|
+
* @default 0
|
|
46661
|
+
*/
|
|
46662
|
+
openingBalance: number;
|
|
46663
|
+
/**
|
|
46664
|
+
* Inwardmovements
|
|
46665
|
+
* @default 0
|
|
46666
|
+
*/
|
|
46667
|
+
inwardMovements: number;
|
|
46668
|
+
/**
|
|
46669
|
+
* Outwardmovements
|
|
46670
|
+
* @default 0
|
|
46671
|
+
*/
|
|
46672
|
+
outwardMovements: number;
|
|
46673
|
+
/**
|
|
46674
|
+
* Closingbalance
|
|
46675
|
+
* @default 0
|
|
46676
|
+
*/
|
|
46677
|
+
closingBalance: number;
|
|
46678
|
+
};
|
|
46679
|
+
/** ItemDetailSchemaForReport */
|
|
46680
|
+
ItemDetailSchemaForReport: {
|
|
46681
|
+
/** Id */
|
|
46682
|
+
id: number;
|
|
46683
|
+
/** Name */
|
|
46684
|
+
name: string;
|
|
46685
|
+
/** Barcode */
|
|
46686
|
+
barcode?: string | null;
|
|
46687
|
+
/** Skucode */
|
|
46688
|
+
skuCode?: string | null;
|
|
46689
|
+
family?: components["schemas"]["CommonFamilySchema"] | null;
|
|
46690
|
+
brand?: components["schemas"]["CommonBrandSchema"] | null;
|
|
46691
|
+
category?: components["schemas"]["CommonCategorySchema"] | null;
|
|
46692
|
+
/** Tags */
|
|
46693
|
+
tags?: components["schemas"]["TagSchema"][] | null;
|
|
46694
|
+
/**
|
|
46695
|
+
* Unitofmeasure
|
|
46696
|
+
* @default []
|
|
46697
|
+
*/
|
|
46698
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"][];
|
|
46699
|
+
};
|
|
46700
|
+
/** ItemMovementReportSchema */
|
|
46701
|
+
ItemMovementReportSchema: {
|
|
46702
|
+
item: components["schemas"]["ItemDetailSchemaForReport"];
|
|
46703
|
+
/**
|
|
46704
|
+
* Unpackedmovements
|
|
46705
|
+
* @default []
|
|
46706
|
+
*/
|
|
46707
|
+
unpackedMovements: components["schemas"]["UnpackedMovementsGroupSchema"][];
|
|
46708
|
+
/**
|
|
46709
|
+
* Packedmovements
|
|
46710
|
+
* @default []
|
|
46711
|
+
*/
|
|
46712
|
+
packedMovements: components["schemas"]["PackedMovementsGroupSchema"][];
|
|
46713
|
+
summary: components["schemas"]["ItemMovementSummarySchema"];
|
|
46714
|
+
};
|
|
46715
|
+
/** ItemMovementSummarySchema */
|
|
46716
|
+
ItemMovementSummarySchema: {
|
|
46717
|
+
/**
|
|
46718
|
+
* Openingbalance
|
|
46719
|
+
* @default 0
|
|
46720
|
+
*/
|
|
46721
|
+
openingBalance: number;
|
|
46722
|
+
/** @default {
|
|
46723
|
+
* "opening_balance": 0,
|
|
46724
|
+
* "inward_movements": 0,
|
|
46725
|
+
* "outward_movements": 0,
|
|
46726
|
+
* "closing_balance": 0
|
|
46727
|
+
* } */
|
|
46728
|
+
unpacked: components["schemas"]["DetailedMovementSummarySchema"];
|
|
46729
|
+
/** @default {
|
|
46730
|
+
* "opening_balance": 0,
|
|
46731
|
+
* "inward_movements": 0,
|
|
46732
|
+
* "outward_movements": 0,
|
|
46733
|
+
* "closing_balance": 0
|
|
46734
|
+
* } */
|
|
46735
|
+
packed: components["schemas"]["DetailedMovementSummarySchema"];
|
|
46736
|
+
/**
|
|
46737
|
+
* Closingbalance
|
|
46738
|
+
* @default 0
|
|
46739
|
+
*/
|
|
46740
|
+
closingBalance: number;
|
|
46741
|
+
/**
|
|
46742
|
+
* Totalinward
|
|
46743
|
+
* @default 0
|
|
46744
|
+
*/
|
|
46745
|
+
totalInward: number;
|
|
46746
|
+
/**
|
|
46747
|
+
* Totaloutward
|
|
46748
|
+
* @default 0
|
|
46749
|
+
*/
|
|
46750
|
+
totalOutward: number;
|
|
46751
|
+
};
|
|
46752
|
+
/** MovementTransactionSchema */
|
|
46753
|
+
MovementTransactionSchema: {
|
|
46754
|
+
documentType?: components["schemas"]["CombinedModelName"] | null;
|
|
46755
|
+
/**
|
|
46756
|
+
* Movementdate
|
|
46757
|
+
* Format: date
|
|
46758
|
+
*/
|
|
46759
|
+
movementDate: string;
|
|
46760
|
+
/** Quantity */
|
|
46761
|
+
quantity: number;
|
|
46762
|
+
branch: components["schemas"]["BranchSummaryInfo"];
|
|
46763
|
+
warehouse: components["schemas"]["WarehouseSummaryInfo"];
|
|
46764
|
+
/** Serialnumber */
|
|
46765
|
+
serialNumber?: string | null;
|
|
46766
|
+
movementType: components["schemas"]["MovementType"];
|
|
46767
|
+
/** Batchnumber */
|
|
46768
|
+
batchNumber?: string | null;
|
|
46769
|
+
unitOfMeasure?: components["schemas"]["UnitOfMeasureSchema"] | null;
|
|
46770
|
+
/**
|
|
46771
|
+
* Actualquantity
|
|
46772
|
+
* @description just display incase of item package
|
|
46773
|
+
*/
|
|
46774
|
+
actualQuantity?: number | null;
|
|
46775
|
+
};
|
|
46776
|
+
/**
|
|
46777
|
+
* MovementType
|
|
46778
|
+
* @enum {string}
|
|
46779
|
+
*/
|
|
46780
|
+
MovementType: "IN" | "OUT";
|
|
46781
|
+
/** PackedMovementsGroupSchema */
|
|
46782
|
+
PackedMovementsGroupSchema: {
|
|
46783
|
+
itemPackage?: components["schemas"]["ItemPackageSummarySchema"] | null;
|
|
46784
|
+
/**
|
|
46785
|
+
* Movements
|
|
46786
|
+
* @default []
|
|
46787
|
+
*/
|
|
46788
|
+
movements: components["schemas"]["MovementTransactionSchema"][];
|
|
46789
|
+
};
|
|
46790
|
+
/** UnpackedMovementsGroupSchema */
|
|
46791
|
+
UnpackedMovementsGroupSchema: {
|
|
46792
|
+
unitOfMeasure: components["schemas"]["UnitOfMeasureSchema"];
|
|
46793
|
+
/**
|
|
46794
|
+
* Movements
|
|
46795
|
+
* @default []
|
|
46796
|
+
*/
|
|
46797
|
+
movements: components["schemas"]["MovementTransactionSchema"][];
|
|
46798
|
+
};
|
|
46622
46799
|
};
|
|
46623
46800
|
responses: never;
|
|
46624
46801
|
parameters: never;
|
|
@@ -83531,4 +83708,74 @@ export interface operations {
|
|
|
83531
83708
|
};
|
|
83532
83709
|
};
|
|
83533
83710
|
};
|
|
83711
|
+
reports_inventoryreport_views_get_item_movement_report: {
|
|
83712
|
+
parameters: {
|
|
83713
|
+
query: {
|
|
83714
|
+
/** @description Start date for custom range (YYYY-MM-DD) */
|
|
83715
|
+
startDate: string;
|
|
83716
|
+
/** @description End date for custom range (YYYY-MM-DD) */
|
|
83717
|
+
endDate: string;
|
|
83718
|
+
/** @description List of branch IDs */
|
|
83719
|
+
branches?: number[] | null;
|
|
83720
|
+
/** @description List of warehouse IDs */
|
|
83721
|
+
warehouses?: number[] | null;
|
|
83722
|
+
/** @description List of family IDs */
|
|
83723
|
+
families?: number[] | null;
|
|
83724
|
+
/** @description List of brand IDs */
|
|
83725
|
+
brands?: number[] | null;
|
|
83726
|
+
/** @description List of tag IDs */
|
|
83727
|
+
tags?: number[] | null;
|
|
83728
|
+
/** @description List of category IDs */
|
|
83729
|
+
categories?: number[] | null;
|
|
83730
|
+
/** @description List of item IDs */
|
|
83731
|
+
items?: number[] | null;
|
|
83732
|
+
/** @description List of package IDs */
|
|
83733
|
+
packages?: string[] | null;
|
|
83734
|
+
/** @description List of UOM IDs */
|
|
83735
|
+
unit_of_measure?: number[] | null;
|
|
83736
|
+
};
|
|
83737
|
+
header?: never;
|
|
83738
|
+
path?: never;
|
|
83739
|
+
cookie?: never;
|
|
83740
|
+
};
|
|
83741
|
+
requestBody?: never;
|
|
83742
|
+
responses: {
|
|
83743
|
+
/** @description OK */
|
|
83744
|
+
200: {
|
|
83745
|
+
headers: {
|
|
83746
|
+
[name: string]: unknown;
|
|
83747
|
+
};
|
|
83748
|
+
content: {
|
|
83749
|
+
"application/json": components["schemas"]["ItemMovementReportSchema"][];
|
|
83750
|
+
};
|
|
83751
|
+
};
|
|
83752
|
+
/** @description Bad Request */
|
|
83753
|
+
400: {
|
|
83754
|
+
headers: {
|
|
83755
|
+
[name: string]: unknown;
|
|
83756
|
+
};
|
|
83757
|
+
content: {
|
|
83758
|
+
"application/json": components["schemas"]["ErrorMessages"];
|
|
83759
|
+
};
|
|
83760
|
+
};
|
|
83761
|
+
/** @description Forbidden */
|
|
83762
|
+
403: {
|
|
83763
|
+
headers: {
|
|
83764
|
+
[name: string]: unknown;
|
|
83765
|
+
};
|
|
83766
|
+
content: {
|
|
83767
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
83768
|
+
};
|
|
83769
|
+
};
|
|
83770
|
+
/** @description Internal Server Error */
|
|
83771
|
+
500: {
|
|
83772
|
+
headers: {
|
|
83773
|
+
[name: string]: unknown;
|
|
83774
|
+
};
|
|
83775
|
+
content: {
|
|
83776
|
+
"application/json": components["schemas"]["MessageWithCode"];
|
|
83777
|
+
};
|
|
83778
|
+
};
|
|
83779
|
+
};
|
|
83780
|
+
};
|
|
83534
83781
|
}
|