@erp-galoper/types 1.0.885 → 1.0.887

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 +25 -5
  2. 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
- /** Defaultsaleunitofmeasure */
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
- /** Defaultsaleunitofmeasure */
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 */
@@ -22023,7 +22033,10 @@ export interface components {
22023
22033
  specs: number[];
22024
22034
  /** Isvariant */
22025
22035
  isVariant?: boolean | null;
22026
- /** Trackingstockbyvariant */
22036
+ /**
22037
+ * Trackingstockbyvariant
22038
+ * @description if tracking Stock By Variant was true and variants exist and user change it to be false you should delete the variants but notimmediately you should ask him for confirmation
22039
+ */
22027
22040
  trackingStockByVariant?: boolean | null;
22028
22041
  /**
22029
22042
  * Variations
@@ -22065,7 +22078,10 @@ export interface components {
22065
22078
  allowSales?: boolean | null;
22066
22079
  /** Maxdiscountsales */
22067
22080
  maxDiscountSales?: number | null;
22068
- /** Defaultsaleunitofmeasure */
22081
+ /**
22082
+ * Defaultsaleunitofmeasure
22083
+ * @description required when module sales is enabled in galoper settings and allow sales is true for the item
22084
+ */
22069
22085
  defaultSaleUnitOfMeasure?: number | null;
22070
22086
  /** Defaultsellingprice */
22071
22087
  defaultSellingPrice?: number;
@@ -22118,7 +22134,6 @@ export interface components {
22118
22134
  * @default false
22119
22135
  */
22120
22136
  isInventoryTracked: boolean | null;
22121
- /** @description if track inventory by was true and variants exist and user change it to be false you should delete the variants but notimmediately you should ask him for confirmation */
22122
22137
  trackInventoryBy?: components["schemas"]["TrackInventoryBy"] | null;
22123
22138
  /**
22124
22139
  * Hasexpirydate
@@ -22181,6 +22196,11 @@ export interface components {
22181
22196
  * - Formula (per item): (Price - Discount - Cost) × Commission Rate
22182
22197
  * */
22183
22198
  commissionCalculation?: components["schemas"]["ItemCommissionCalculation"];
22199
+ /** @description
22200
+ * - fifo(First In, First Out): Items purchased or produced first are sold or used first
22201
+ * - lifo(Last In, First Out): Items purchased or produced most recently are sold or used first
22202
+ * */
22203
+ inventoryMovementMethod?: components["schemas"]["INVENTORY_MOVEMENT_METHOD"] | null;
22184
22204
  };
22185
22205
  /** UpdateChildrenItemSchema */
22186
22206
  UpdateChildrenItemSchema: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.885",
3
+ "version": "1.0.887",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],