@lcdp/api-react-rest-client 2.11.4-develop.14703543770 → 2.11.4
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/inventory/src/models/SynchronizationMode.d.ts +0 -8
- package/inventory/src/models/SynchronizationMode.js +0 -8
- package/package.json +1 -1
- package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +2 -2
- package/sale-offer/src/apis/SearchSaleOfferApi.js +2 -2
- package/sale-offer/src/models/SaleOffer.d.ts +1 -1
- package/sale-offer/src/models/SaleOffer.js +2 -0
|
@@ -11,14 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
13
|
* Synchronization state of the product
|
|
14
|
-
* * UP_AND_DOWN: Automatic creation/update and deletion of sale offers according to your available stock.
|
|
15
|
-
* Note : Will create its own offer, meaning if you already have a sale offer on a product, it will create a duplicate.
|
|
16
|
-
* Note 2 : Setting 'NONE' to a productId with SynchronizationMode 'UP_AND_DOWN' will delete the associated sale offers.
|
|
17
|
-
* * DOWN: Automatic update of existing sale offers according to your available stock.
|
|
18
|
-
* Note : Will only update sale offer if there is only one sale offer active on a given product.
|
|
19
|
-
* Note 2 : Setting 'NONE' to a productId with SynchronizationMode 'DOWN' will not archive the existing sale offers.
|
|
20
|
-
* * NONE: Do not synchronize productId according to available stock.
|
|
21
|
-
*
|
|
22
14
|
* @export
|
|
23
15
|
*/
|
|
24
16
|
export declare const SynchronizationMode: {
|
|
@@ -16,14 +16,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.SynchronizationModeToJSON = exports.SynchronizationModeFromJSONTyped = exports.SynchronizationModeFromJSON = exports.instanceOfSynchronizationMode = exports.SynchronizationMode = void 0;
|
|
17
17
|
/**
|
|
18
18
|
* Synchronization state of the product
|
|
19
|
-
* * UP_AND_DOWN: Automatic creation/update and deletion of sale offers according to your available stock.
|
|
20
|
-
* Note : Will create its own offer, meaning if you already have a sale offer on a product, it will create a duplicate.
|
|
21
|
-
* Note 2 : Setting 'NONE' to a productId with SynchronizationMode 'UP_AND_DOWN' will delete the associated sale offers.
|
|
22
|
-
* * DOWN: Automatic update of existing sale offers according to your available stock.
|
|
23
|
-
* Note : Will only update sale offer if there is only one sale offer active on a given product.
|
|
24
|
-
* Note 2 : Setting 'NONE' to a productId with SynchronizationMode 'DOWN' will not archive the existing sale offers.
|
|
25
|
-
* * NONE: Do not synchronize productId according to available stock.
|
|
26
|
-
*
|
|
27
19
|
* @export
|
|
28
20
|
*/
|
|
29
21
|
exports.SynchronizationMode = {
|
package/package.json
CHANGED
|
@@ -79,8 +79,8 @@ export declare const GetSaleOffersOrderByEnum: {
|
|
|
79
79
|
readonly PRODUCT_NAME_DESC: "PRODUCT_NAME:desc";
|
|
80
80
|
readonly PRODUCT_BARCODES_PRINCIPAL_ASC: "PRODUCT_BARCODES_PRINCIPAL:asc";
|
|
81
81
|
readonly PRODUCT_BARCODES_PRINCIPAL_DESC: "PRODUCT_BARCODES_PRINCIPAL:desc";
|
|
82
|
-
readonly
|
|
83
|
-
readonly
|
|
82
|
+
readonly DISCOUNTED_PRICE_ASC: "DISCOUNTED_PRICE:asc";
|
|
83
|
+
readonly DISCOUNTED_PRICE_DESC: "DISCOUNTED_PRICE:desc";
|
|
84
84
|
readonly STOCK_LAPSING_DATE_ASC: "STOCK_LAPSING_DATE:asc";
|
|
85
85
|
readonly STOCK_LAPSING_DATE_DESC: "STOCK_LAPSING_DATE:desc";
|
|
86
86
|
readonly BEST_REBATE_ASC: "BEST_REBATE:asc";
|
|
@@ -336,8 +336,8 @@ exports.GetSaleOffersOrderByEnum = {
|
|
|
336
336
|
PRODUCT_NAME_DESC: 'PRODUCT_NAME:desc',
|
|
337
337
|
PRODUCT_BARCODES_PRINCIPAL_ASC: 'PRODUCT_BARCODES_PRINCIPAL:asc',
|
|
338
338
|
PRODUCT_BARCODES_PRINCIPAL_DESC: 'PRODUCT_BARCODES_PRINCIPAL:desc',
|
|
339
|
-
|
|
340
|
-
|
|
339
|
+
DISCOUNTED_PRICE_ASC: 'DISCOUNTED_PRICE:asc',
|
|
340
|
+
DISCOUNTED_PRICE_DESC: 'DISCOUNTED_PRICE:desc',
|
|
341
341
|
STOCK_LAPSING_DATE_ASC: 'STOCK_LAPSING_DATE:asc',
|
|
342
342
|
STOCK_LAPSING_DATE_DESC: 'STOCK_LAPSING_DATE:desc',
|
|
343
343
|
BEST_REBATE_ASC: 'BEST_REBATE:asc',
|
|
@@ -39,6 +39,8 @@ function instanceOfSaleOffer(value) {
|
|
|
39
39
|
return false;
|
|
40
40
|
if (!('distributionMode' in value) || value['distributionMode'] === undefined)
|
|
41
41
|
return false;
|
|
42
|
+
if (!('minimalUnitPrice' in value) || value['minimalUnitPrice'] === undefined)
|
|
43
|
+
return false;
|
|
42
44
|
if (!('bestRebate' in value) || value['bestRebate'] === undefined)
|
|
43
45
|
return false;
|
|
44
46
|
if (!('soldOutSoon' in value) || value['soldOutSoon'] === undefined)
|