@erp-galoper/types 1.0.884 → 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.
Files changed (2) hide show
  1. package/openapi.ts +27 -10
  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 */
@@ -22065,7 +22075,10 @@ export interface components {
22065
22075
  allowSales?: boolean | null;
22066
22076
  /** Maxdiscountsales */
22067
22077
  maxDiscountSales?: number | null;
22068
- /** Defaultsaleunitofmeasure */
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: {
@@ -37155,9 +37173,9 @@ export interface components {
37155
37173
  /** @description
37156
37174
  * - percentage: user should select appliesOn(Optional), discountValue
37157
37175
  * - orderValue, fixedAmount: user should select discountValue, minOrderValue, currency
37158
- * - volumeBased: user should select discountValue, item, quantity
37159
- * - buyOneGetOne: user should select appliesOn, discountValue, offeredItemsOperator, offeredItems
37160
- * - bundleOffers: user should select discountValue, item, quantity
37176
+ * - volumeBased: appliesOn should be specific items(item or package) and user should select discountValue, quantity or unit package
37177
+ * - buyOneGetOne: appliesOn should be specific items and user should select discountValue, offeredItemsOperator, offeredItems
37178
+ * - bundleOffers: appliesOn should be specific items(item) and user should select discountValue, quantity
37161
37179
  * - timeSensitiveOffers : user should select appliesOn, discountValue
37162
37180
  * - promotionalCode : user should select appliesOn, discountValue, promotionCode
37163
37181
  * Note :
@@ -37547,15 +37565,14 @@ export interface components {
37547
37565
  /** @description
37548
37566
  * - percentage: user should select appliesOn(Optional), discountValue
37549
37567
  * - orderValue, fixedAmount: user should select discountValue, minOrderValue, currency
37550
- * - volumeBased: user should select appliesOn, discountValue, quantity
37551
- * - buyOneGetOne: user should select appliesOn, discountValue, offeredItemsOperator, offeredItems
37552
- * - bundleOffers: user should select appliesOn, discountValue, quantity
37568
+ * - volumeBased: appliesOn should be specific items(item or package) and user should select discountValue, quantity or unit package
37569
+ * - buyOneGetOne: appliesOn should be specific items and user should select discountValue, offeredItemsOperator, offeredItems
37570
+ * - bundleOffers: appliesOn should be specific items(item) and user should select discountValue, quantity
37553
37571
  * - timeSensitiveOffers : user should select appliesOn, discountValue
37554
37572
  * - promotionalCode : user should select appliesOn, discountValue, promotionCode
37555
37573
  * Note :
37556
37574
  * - if appliesOn is allItems user should not select any of (item, itemPackage, itemCategory, brand, family, tag)
37557
37575
  * - if appliesOn is specificItems user should select either (item or itemPackage ) or (itemCategory , brand, family, tag)
37558
- * - if can delete is false, promotionType should not be editable
37559
37576
  * */
37560
37577
  promotionType: components["schemas"]["PromotionTypes"];
37561
37578
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.884",
3
+ "version": "1.0.886",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],