@erp-galoper/types 1.0.657 → 1.0.659
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 +20 -10
- 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
|
|
27538
|
+
* @example cee5cb31-3fe4-46d6-ad47-bab182be57fa
|
|
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
|
|
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
|
|
36490
|
-
* - promotionalCode : user should select appliesOn
|
|
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
|
|
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
|
|
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
|
|
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
|
|
36857
|
-
* - promotionalCode : user should select appliesOn
|
|
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)
|
|
@@ -39756,7 +39766,7 @@ export interface components {
|
|
|
39756
39766
|
customer: number;
|
|
39757
39767
|
/**
|
|
39758
39768
|
* Customerbranch
|
|
39759
|
-
* @description This field is required when the customer is a company,
|
|
39769
|
+
* @description This field is required when the customer is a company, set default value from the data of selected customer and filter branches by default=True
|
|
39760
39770
|
*/
|
|
39761
39771
|
customerBranch?: number;
|
|
39762
39772
|
/** Password */
|