@erp-galoper/types 1.0.1556 → 1.0.1558

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 +9 -9
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -27025,7 +27025,7 @@ export interface components {
27025
27025
  warrantyPeriod?: string | null;
27026
27026
  /**
27027
27027
  * Allownegativestock
27028
- * @description get default value from inventory settings(/api/v1/settings/inventory/)
27028
+ * @description get default value from inventory settings(/api/v1/settings/inventory/). Cannot be enabled for items tracked by serial number or batch.
27029
27029
  * @default false
27030
27030
  */
27031
27031
  allowNegativeStock: boolean | null;
@@ -27306,7 +27306,7 @@ export interface components {
27306
27306
  warrantyPeriod?: string | null;
27307
27307
  /**
27308
27308
  * Allownegativestock
27309
- * @description Not applicable for service items - always null for type=service. Get default value from inventory settings(/api/v1/settings/inventory/)
27309
+ * @description Not applicable for service items - always null for type=service. Cannot be enabled for items tracked by serial number or batch. Get default value from inventory settings(/api/v1/settings/inventory/)
27310
27310
  * @default false
27311
27311
  */
27312
27312
  allowNegativeStock: boolean;
@@ -27650,7 +27650,7 @@ export interface components {
27650
27650
  warrantyPeriod?: string | null;
27651
27651
  /**
27652
27652
  * Allownegativestock
27653
- * @description Not applicable for service items - always null for type=service. Get default value from inventory settings(/api/v1/settings/inventory/)
27653
+ * @description Not applicable for service items - always null for type=service. Cannot be enabled for items tracked by serial number or batch. Get default value from inventory settings(/api/v1/settings/inventory/)
27654
27654
  */
27655
27655
  allowNegativeStock?: boolean | null;
27656
27656
  /** Autoreorder */
@@ -30862,9 +30862,9 @@ export interface components {
30862
30862
  adjustmentType: components["schemas"]["AdjustmentTypeOption"];
30863
30863
  /**
30864
30864
  * Adjustmentquantity
30865
- * @description - Must be greater than zero
30866
- * - For decrease type, cannot exceed available quantity unless negative stock allowed
30867
- * - For replace type, represents the final quantity
30865
+ * @description - For increase/decrease type: cannot be zero, but can be negative if item allows negative stock
30866
+ * - For replace type: can be zero or greater, or negative if item allows negative stock
30867
+ * - For decrease type: cannot exceed available quantity unless negative stock allowed
30868
30868
  * - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
30869
30869
  */
30870
30870
  adjustmentQuantity: number;
@@ -30995,9 +30995,9 @@ export interface components {
30995
30995
  adjustmentType: components["schemas"]["AdjustmentTypeOption"];
30996
30996
  /**
30997
30997
  * Adjustmentquantity
30998
- * @description - Must be greater than zero
30999
- * - For decrease type, cannot exceed available quantity unless negative stock allowed
31000
- * - For replace type, represents the final quantity
30998
+ * @description - For increase/decrease type: cannot be zero, but can be negative if item allows negative stock
30999
+ * - For replace type: can be zero or greater, or negative if item allows negative stock
31000
+ * - For decrease type: cannot exceed available quantity unless negative stock allowed
31001
31001
  * - /api/v1/inventory/items-quantity/ use this route to check availability (availableForSale)
31002
31002
  */
31003
31003
  adjustmentQuantity: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1556",
3
+ "version": "1.0.1558",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],