@erp-galoper/types 1.0.756 → 1.0.758
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 +63 -10
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4123,9 +4123,12 @@ export interface paths {
|
|
|
4123
4123
|
};
|
|
4124
4124
|
/**
|
|
4125
4125
|
* Get Items Quantity
|
|
4126
|
-
* @description Endpoint for List Items Quantity in Warehouse and Branch with UOM-based Batch/Serial breakdown and Location details
|
|
4126
|
+
* @description Endpoint for List Items Quantity in Warehouse and Branch with UOM-based Batch/Serial breakdown and Location details (Paginated)
|
|
4127
4127
|
*
|
|
4128
4128
|
* Query Parameters:
|
|
4129
|
+
* - page: Page number for pagination (optional)
|
|
4130
|
+
* - pageSize: Number of items per page (optional)
|
|
4131
|
+
* - search: Search by item name, SKU code, or barcode (same as item list route)
|
|
4129
4132
|
* - warehouses: List of warehouse IDs to filter by (required), it should be filtered by selected branch and warehouses assigned to the user
|
|
4130
4133
|
* - branchId: Branch ID to filter by (optional), it should be filtered by assigned branches
|
|
4131
4134
|
* - items: List of item IDs to filter by (optional)
|
|
@@ -4135,12 +4138,15 @@ export interface paths {
|
|
|
4135
4138
|
* - False: Show only unpacked items (items without packages)
|
|
4136
4139
|
* - item_packages: List of item package IDs to filter by (optional)
|
|
4137
4140
|
* - If provided, overrides packed parameter and shows only specified packages
|
|
4141
|
+
* - Additional filters: Supports all standard query filters like item.active=true, item.category=1, etc.
|
|
4138
4142
|
*
|
|
4139
4143
|
* Responses:
|
|
4140
|
-
* - 200:
|
|
4141
|
-
* - 400:
|
|
4144
|
+
* - 200: Paginated items quantity with UOM breakdown, batch/serial details, and location information
|
|
4145
|
+
* - 400: "invalidFilterFormat"
|
|
4146
|
+
* - "paginationError"
|
|
4142
4147
|
* - 403: "permissionDenied"
|
|
4143
4148
|
* - "noBranchAccess"
|
|
4149
|
+
* - "noWarehouseAccess"
|
|
4144
4150
|
* - 500: "serverError"
|
|
4145
4151
|
*/
|
|
4146
4152
|
get: operations["inventory_views_get_items_quantity"];
|
|
@@ -18628,6 +18634,11 @@ export interface components {
|
|
|
18628
18634
|
* @default []
|
|
18629
18635
|
*/
|
|
18630
18636
|
hr: components["schemas"]["BasePermissionsSchema_Hr"];
|
|
18637
|
+
/**
|
|
18638
|
+
* @description pos actions
|
|
18639
|
+
* @default []
|
|
18640
|
+
*/
|
|
18641
|
+
pos: components["schemas"]["BasePermissionsSchema_Pos"];
|
|
18631
18642
|
/**
|
|
18632
18643
|
* @description project actions
|
|
18633
18644
|
* @default []
|
|
@@ -18650,12 +18661,6 @@ export interface components {
|
|
|
18650
18661
|
* @default []
|
|
18651
18662
|
*/
|
|
18652
18663
|
calendar: Record<string, never>;
|
|
18653
|
-
/**
|
|
18654
|
-
* Pos
|
|
18655
|
-
* @description pos actions
|
|
18656
|
-
* @default []
|
|
18657
|
-
*/
|
|
18658
|
-
pos: Record<string, never>;
|
|
18659
18664
|
/**
|
|
18660
18665
|
* Approval
|
|
18661
18666
|
* @description approval actions
|
|
@@ -18956,6 +18961,42 @@ export interface components {
|
|
|
18956
18961
|
* @enum {string}
|
|
18957
18962
|
*/
|
|
18958
18963
|
BasePermissionsSchema_Inventory_WarehouseEnum: "add" | "change" | "delete" | "view";
|
|
18964
|
+
/** BasePermissionsSchema_Pos */
|
|
18965
|
+
BasePermissionsSchema_Pos: {
|
|
18966
|
+
/**
|
|
18967
|
+
* Giftreceipt
|
|
18968
|
+
* @description giftreceipt actions
|
|
18969
|
+
* @default []
|
|
18970
|
+
*/
|
|
18971
|
+
giftreceipt: components["schemas"]["BasePermissionsSchema_Pos_GiftreceiptEnum"][];
|
|
18972
|
+
/**
|
|
18973
|
+
* Invoice
|
|
18974
|
+
* @description invoice actions
|
|
18975
|
+
* @default []
|
|
18976
|
+
*/
|
|
18977
|
+
invoice: components["schemas"]["BasePermissionsSchema_Pos_InvoiceEnum"][];
|
|
18978
|
+
/**
|
|
18979
|
+
* Session
|
|
18980
|
+
* @description session actions
|
|
18981
|
+
* @default []
|
|
18982
|
+
*/
|
|
18983
|
+
session: components["schemas"]["BasePermissionsSchema_Pos_SessionEnum"][];
|
|
18984
|
+
};
|
|
18985
|
+
/**
|
|
18986
|
+
* BasePermissionsSchema_Pos_GiftreceiptEnum
|
|
18987
|
+
* @constant
|
|
18988
|
+
*/
|
|
18989
|
+
BasePermissionsSchema_Pos_GiftreceiptEnum: "view";
|
|
18990
|
+
/**
|
|
18991
|
+
* BasePermissionsSchema_Pos_InvoiceEnum
|
|
18992
|
+
* @constant
|
|
18993
|
+
*/
|
|
18994
|
+
BasePermissionsSchema_Pos_InvoiceEnum: "view";
|
|
18995
|
+
/**
|
|
18996
|
+
* BasePermissionsSchema_Pos_SessionEnum
|
|
18997
|
+
* @constant
|
|
18998
|
+
*/
|
|
18999
|
+
BasePermissionsSchema_Pos_SessionEnum: "view";
|
|
18959
19000
|
/** BasePermissionsSchema_Project */
|
|
18960
19001
|
BasePermissionsSchema_Project: {
|
|
18961
19002
|
/**
|
|
@@ -24366,6 +24407,12 @@ export interface components {
|
|
|
24366
24407
|
/** Returnable */
|
|
24367
24408
|
returnable: boolean;
|
|
24368
24409
|
};
|
|
24410
|
+
/** ItemQuantityPaginatedResponseSchema */
|
|
24411
|
+
ItemQuantityPaginatedResponseSchema: {
|
|
24412
|
+
info: components["schemas"]["PageInfoSchema"];
|
|
24413
|
+
/** Results */
|
|
24414
|
+
results: components["schemas"]["ItemQuantityResponseSchema"][];
|
|
24415
|
+
};
|
|
24369
24416
|
/** ItemQuantityResponseSchema */
|
|
24370
24417
|
ItemQuantityResponseSchema: {
|
|
24371
24418
|
item: components["schemas"]["ItemMinimalSchema"];
|
|
@@ -56349,6 +56396,12 @@ export interface operations {
|
|
|
56349
56396
|
inventory_views_get_items_quantity: {
|
|
56350
56397
|
parameters: {
|
|
56351
56398
|
query: {
|
|
56399
|
+
/** @description Page number */
|
|
56400
|
+
page?: number;
|
|
56401
|
+
/** @description Page size */
|
|
56402
|
+
pageSize?: number;
|
|
56403
|
+
/** @description Search by item name, SKU code, or barcode */
|
|
56404
|
+
search?: string | null;
|
|
56352
56405
|
/** @description Branch ID to filter by (optional), it should be filtered by assigned branches to the user */
|
|
56353
56406
|
branchId?: number | null;
|
|
56354
56407
|
/** @description List of item IDs to filter by (optional) */
|
|
@@ -56374,7 +56427,7 @@ export interface operations {
|
|
|
56374
56427
|
[name: string]: unknown;
|
|
56375
56428
|
};
|
|
56376
56429
|
content: {
|
|
56377
|
-
"application/json": components["schemas"]["
|
|
56430
|
+
"application/json": components["schemas"]["ItemQuantityPaginatedResponseSchema"];
|
|
56378
56431
|
};
|
|
56379
56432
|
};
|
|
56380
56433
|
/** @description Bad Request */
|