@erp-galoper/types 1.0.1788 → 1.0.1789
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 +8 -2
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -4508,6 +4508,7 @@ export interface paths {
|
|
|
4508
4508
|
* - batchNotInWarehouse - Batch is not available in the warehouse
|
|
4509
4509
|
* - batchDoesNotExist - The selected batch does not exist
|
|
4510
4510
|
* - serialIsRequired - Serial is required but not provided for serial-tracked items
|
|
4511
|
+
* - serialDecreaseOnly - Only decrease adjustment is allowed for serial-tracked items
|
|
4511
4512
|
* - serialItemMismatch - Serial does not belong to the selected item
|
|
4512
4513
|
* - serialNotAvailable - Serial is not in available status
|
|
4513
4514
|
* - serialNotInWarehouse - Serial is not present in warehouse
|
|
@@ -4559,6 +4560,7 @@ export interface paths {
|
|
|
4559
4560
|
* - batchNotInWarehouse - Batch is not available in the warehouse
|
|
4560
4561
|
* - batchDoesNotExist - The selected batch does not exist
|
|
4561
4562
|
* - serialIsRequired - Serial is required but not provided for serial-tracked items
|
|
4563
|
+
* - serialDecreaseOnly - Only decrease adjustment is allowed for serial-tracked items
|
|
4562
4564
|
* - serialItemMismatch - Serial does not belong to the selected item
|
|
4563
4565
|
* - serialNotAvailable - Serial is not in available status
|
|
4564
4566
|
* - serialNotInWarehouse - Serial is not present in warehouse
|
|
@@ -31382,6 +31384,7 @@ export interface components {
|
|
|
31382
31384
|
* @description - increase: Add quantity to current stock
|
|
31383
31385
|
* - decrease: Remove quantity from current stock
|
|
31384
31386
|
* - replace: Set stock to exact quantity (overrides current)
|
|
31387
|
+
* - For serial-tracked items, only decrease is allowed
|
|
31385
31388
|
*/
|
|
31386
31389
|
adjustmentType: components["schemas"]["AdjustmentTypeOption"];
|
|
31387
31390
|
/**
|
|
@@ -31404,7 +31407,8 @@ export interface components {
|
|
|
31404
31407
|
* Serial
|
|
31405
31408
|
* @description - Required if item is tracked by serial number
|
|
31406
31409
|
* - Must belong to the selected item
|
|
31407
|
-
* -
|
|
31410
|
+
* - Serial-tracked items only support decrease adjustments
|
|
31411
|
+
* - Serial must exist in warehouse
|
|
31408
31412
|
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
31409
31413
|
*/
|
|
31410
31414
|
serial?: string | null;
|
|
@@ -31515,6 +31519,7 @@ export interface components {
|
|
|
31515
31519
|
* @description - increase: Add quantity to current stock
|
|
31516
31520
|
* - decrease: Remove quantity from current stock
|
|
31517
31521
|
* - replace: Set stock to exact quantity (overrides current)
|
|
31522
|
+
* - For serial-tracked items, only decrease is allowed
|
|
31518
31523
|
*/
|
|
31519
31524
|
adjustmentType: components["schemas"]["AdjustmentTypeOption"];
|
|
31520
31525
|
/**
|
|
@@ -31537,7 +31542,8 @@ export interface components {
|
|
|
31537
31542
|
* Serial
|
|
31538
31543
|
* @description - Required if item is tracked by serial number
|
|
31539
31544
|
* - Must belong to the selected item
|
|
31540
|
-
* -
|
|
31545
|
+
* - Serial-tracked items only support decrease adjustments
|
|
31546
|
+
* - Serial must exist in warehouse
|
|
31541
31547
|
* - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
|
|
31542
31548
|
*/
|
|
31543
31549
|
serial?: string | null;
|