@erp-galoper/types 1.0.885 → 1.0.886
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 +21 -3
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -21628,7 +21628,10 @@ export interface components {
|
|
|
21628
21628
|
allowSales: boolean | null;
|
|
21629
21629
|
/** Maxdiscountsales */
|
|
21630
21630
|
maxDiscountSales?: number | null;
|
|
21631
|
-
/**
|
|
21631
|
+
/**
|
|
21632
|
+
* Defaultsaleunitofmeasure
|
|
21633
|
+
* @description required when module sales is enabled in galoper settings and allow sales is true for the item
|
|
21634
|
+
*/
|
|
21632
21635
|
defaultSaleUnitOfMeasure?: number | null;
|
|
21633
21636
|
/** Defaultsellingprice */
|
|
21634
21637
|
defaultSellingPrice?: number;
|
|
@@ -21815,7 +21818,10 @@ export interface components {
|
|
|
21815
21818
|
allowSales: boolean;
|
|
21816
21819
|
/** Maxdiscountsales */
|
|
21817
21820
|
maxDiscountSales?: number | null;
|
|
21818
|
-
/**
|
|
21821
|
+
/**
|
|
21822
|
+
* Defaultsaleunitofmeasure
|
|
21823
|
+
* @description required when module sales is enabled in galoper settings and allow sales is true for the item
|
|
21824
|
+
*/
|
|
21819
21825
|
defaultSaleUnitOfMeasure?: number | null;
|
|
21820
21826
|
/** Defaultsellingprice */
|
|
21821
21827
|
defaultSellingPrice?: number;
|
|
@@ -21920,6 +21926,10 @@ export interface components {
|
|
|
21920
21926
|
children: components["schemas"]["CreateChildItemSchema"][];
|
|
21921
21927
|
/** @default firstInFirstOut */
|
|
21922
21928
|
costStrategy: components["schemas"]["CostStrategy"];
|
|
21929
|
+
/** @description
|
|
21930
|
+
* - fifo(First In, First Out): Items purchased or produced first are sold or used first
|
|
21931
|
+
* - lifo(Last In, First Out): Items purchased or produced most recently are sold or used first
|
|
21932
|
+
* */
|
|
21923
21933
|
inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
|
|
21924
21934
|
};
|
|
21925
21935
|
/** CreateOrUpdatePackageItemSchema */
|
|
@@ -22065,7 +22075,10 @@ export interface components {
|
|
|
22065
22075
|
allowSales?: boolean | null;
|
|
22066
22076
|
/** Maxdiscountsales */
|
|
22067
22077
|
maxDiscountSales?: number | null;
|
|
22068
|
-
/**
|
|
22078
|
+
/**
|
|
22079
|
+
* Defaultsaleunitofmeasure
|
|
22080
|
+
* @description required when module sales is enabled in galoper settings and allow sales is true for the item
|
|
22081
|
+
*/
|
|
22069
22082
|
defaultSaleUnitOfMeasure?: number | null;
|
|
22070
22083
|
/** Defaultsellingprice */
|
|
22071
22084
|
defaultSellingPrice?: number;
|
|
@@ -22181,6 +22194,11 @@ export interface components {
|
|
|
22181
22194
|
* - Formula (per item): (Price - Discount - Cost) × Commission Rate
|
|
22182
22195
|
* */
|
|
22183
22196
|
commissionCalculation?: components["schemas"]["ItemCommissionCalculation"];
|
|
22197
|
+
/** @description
|
|
22198
|
+
* - fifo(First In, First Out): Items purchased or produced first are sold or used first
|
|
22199
|
+
* - lifo(Last In, First Out): Items purchased or produced most recently are sold or used first
|
|
22200
|
+
* */
|
|
22201
|
+
inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
|
|
22184
22202
|
};
|
|
22185
22203
|
/** UpdateChildrenItemSchema */
|
|
22186
22204
|
UpdateChildrenItemSchema: {
|