@erp-galoper/types 1.0.757 → 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.
Files changed (2) hide show
  1. package/openapi.ts +22 -4
  2. 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: Items quantity with UOM breakdown, batch/serial details, and location information
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"];
@@ -24401,6 +24407,12 @@ export interface components {
24401
24407
  /** Returnable */
24402
24408
  returnable: boolean;
24403
24409
  };
24410
+ /** ItemQuantityPaginatedResponseSchema */
24411
+ ItemQuantityPaginatedResponseSchema: {
24412
+ info: components["schemas"]["PageInfoSchema"];
24413
+ /** Results */
24414
+ results: components["schemas"]["ItemQuantityResponseSchema"][];
24415
+ };
24404
24416
  /** ItemQuantityResponseSchema */
24405
24417
  ItemQuantityResponseSchema: {
24406
24418
  item: components["schemas"]["ItemMinimalSchema"];
@@ -56384,6 +56396,12 @@ export interface operations {
56384
56396
  inventory_views_get_items_quantity: {
56385
56397
  parameters: {
56386
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;
56387
56405
  /** @description Branch ID to filter by (optional), it should be filtered by assigned branches to the user */
56388
56406
  branchId?: number | null;
56389
56407
  /** @description List of item IDs to filter by (optional) */
@@ -56409,7 +56427,7 @@ export interface operations {
56409
56427
  [name: string]: unknown;
56410
56428
  };
56411
56429
  content: {
56412
- "application/json": components["schemas"]["ItemQuantityResponseSchema"][];
56430
+ "application/json": components["schemas"]["ItemQuantityPaginatedResponseSchema"];
56413
56431
  };
56414
56432
  };
56415
56433
  /** @description Bad Request */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.757",
3
+ "version": "1.0.758",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],