@erp-galoper/types 1.0.657 → 1.0.658

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 +19 -9
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -12176,6 +12176,7 @@ export interface paths {
12176
12176
  * - brandDoesNotExist
12177
12177
  * - TagDoesNotExist
12178
12178
  * - familyDoesNotExist
12179
+ * - bundleOffersShouldHaveAtLeastTwoItems
12179
12180
  * - 403:
12180
12181
  * - permissionDenied
12181
12182
  * - noModuleAccess
@@ -12249,6 +12250,7 @@ export interface paths {
12249
12250
  * - brandDoesNotExist
12250
12251
  * - TagDoesNotExist
12251
12252
  * - familyDoesNotExist
12253
+ * - bundleOffersShouldHaveAtLeastTwoItems
12252
12254
  * - 404:
12253
12255
  * - offerAndPromotionDoesNotExist
12254
12256
  * - 403:
@@ -27533,7 +27535,7 @@ export interface components {
27533
27535
  /**
27534
27536
  * Id
27535
27537
  * Format: uuid
27536
- * @example 1f2c4aa7-2023-40c6-873b-ea0d5a8b1336
27538
+ * @example d53c1733-346b-4e5a-9a97-d966959f2f64
27537
27539
  */
27538
27540
  id: string;
27539
27541
  /**
@@ -36460,7 +36462,11 @@ export interface components {
36460
36462
  * @default []
36461
36463
  */
36462
36464
  attachments: string[];
36463
- /** @description visible for all promotion types except [orderValue, fixedAmount], required for [volumeBased, BuyOneGetOne] */
36465
+ /** @description
36466
+ * - visible for all promotion types except [orderValue, fixedAmount]
36467
+ * - required for volumeBased, bundleOffers, BuyOneGetOne(should be set to specificItems and disabled)
36468
+ * - required for percentage, timeSensitiveOffers, promotionalCodes(can be set to allItems or specificItems)
36469
+ * */
36464
36470
  appliesOn?: components["schemas"]["AppliesOnSchema"];
36465
36471
  appliesTo: components["schemas"]["AppliesToSchema"];
36466
36472
  /**
@@ -36486,8 +36492,8 @@ export interface components {
36486
36492
  * - volumeBased: user should select discountValue, item, quantity
36487
36493
  * - buyOneGetOne: user should select appliesOn, discountValue, offeredItemsOperator, offeredItems
36488
36494
  * - bundleOffers: user should select discountValue, item, quantity
36489
- * - timeSensitiveOffers : user should select appliesOn(Optional), discountValue
36490
- * - promotionalCode : user should select appliesOn(Optional), discountValue, promotionCode
36495
+ * - timeSensitiveOffers : user should select appliesOn, discountValue
36496
+ * - promotionalCode : user should select appliesOn, discountValue, promotionCode
36491
36497
  * Note :
36492
36498
  * - if appliesOn is allItems user should not select any of (item, itemPackage, itemCategory, brand, family, tag)
36493
36499
  * - if appliesOn is specificItems user should select either (item or itemPackage ) or (itemCategory , brand, family, tag)
@@ -36526,7 +36532,7 @@ export interface components {
36526
36532
  * Item
36527
36533
  * @description
36528
36534
  * - visible when promotion type in [percentage, volumeBased, buyOneGetOne, timeSensitiveOffers, promotionalCodes] and appliesOn = specificItems,
36529
- * - use use route /settings/sales-settings/ to check if price list is on get items from route api/v1/inventory/price-list/{id}/ where id is selected price list,
36535
+ * - use route /settings/sales-settings/ to check if price list is on get items from route api/v1/inventory/price-list/{id}/ where id is selected price list,
36530
36536
  * - if price list is off :
36531
36537
  * - to get items : /api/v1/inventory/items/?active=true&role!=template&allowSales=true
36532
36538
  * - get price from route api/v1/inventory/items/{id}/ (default selling price or usd default selling price)
@@ -36709,7 +36715,7 @@ export interface components {
36709
36715
  * Item
36710
36716
  * @description
36711
36717
  * - visible when promotion type in [percentage, volumeBased, buyOneGetOne, timeSensitiveOffers, promotionalCodes] and appliesOn = specificItems,
36712
- * - use use route /settings/sales-settings/ to check if price list is on get items from route api/v1/inventory/price-list/{id}/ where id is selected price list,
36718
+ * - use route /settings/sales-settings/ to check if price list is on get items from route api/v1/inventory/price-list/{id}/ where id is selected price list,
36713
36719
  * - if price list is off :
36714
36720
  * - to get items : /api/v1/inventory/items/?active=true&role!=template&allowSales=true
36715
36721
  * - get price from route api/v1/inventory/items/{id}/ (default selling price or usd default selling price)
@@ -36828,7 +36834,11 @@ export interface components {
36828
36834
  * @default []
36829
36835
  */
36830
36836
  attachments: string[];
36831
- /** @description visible for all promotion types except [orderValue, fixedAmount], required for [volumeBased, BuyOneGetOne] */
36837
+ /** @description
36838
+ * - visible for all promotion types except [orderValue, fixedAmount]
36839
+ * - required for volumeBased, bundleOffers, BuyOneGetOne(should be set to specificItems and disabled)
36840
+ * - required for percentage, timeSensitiveOffers, promotionalCodes(can be set to allItems or specificItems)
36841
+ * */
36832
36842
  appliesOn?: components["schemas"]["AppliesOnSchema"];
36833
36843
  appliesTo: components["schemas"]["AppliesToSchema"];
36834
36844
  /**
@@ -36853,8 +36863,8 @@ export interface components {
36853
36863
  * - volumeBased: user should select appliesOn, discountValue, quantity
36854
36864
  * - buyOneGetOne: user should select appliesOn, discountValue, offeredItemsOperator, offeredItems
36855
36865
  * - bundleOffers: user should select appliesOn, discountValue, quantity
36856
- * - timeSensitiveOffers : user should select appliesOn(Optional), discountValue
36857
- * - promotionalCode : user should select appliesOn(Optional), discountValue, promotionCode
36866
+ * - timeSensitiveOffers : user should select appliesOn, discountValue
36867
+ * - promotionalCode : user should select appliesOn, discountValue, promotionCode
36858
36868
  * Note :
36859
36869
  * - if appliesOn is allItems user should not select any of (item, itemPackage, itemCategory, brand, family, tag)
36860
36870
  * - if appliesOn is specificItems user should select either (item or itemPackage ) or (itemCategory , brand, family, tag)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.657",
3
+ "version": "1.0.658",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],