@lcdp/api-react-rest-client 2.10.2 → 2.10.3-LDS-4202-apimonolithsmuggler-patch-rank-.13371919628
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/factory/src/models/DistributionMode.d.ts +1 -1
- package/factory/src/models/QuotationDistributionMode.d.ts +1 -1
- package/factory/src/models/RangeDistributionMode.d.ts +1 -1
- package/factory/src/models/UnitaryDistributionMode.d.ts +1 -1
- package/magic-cart/src/models/DistributionMode.d.ts +1 -1
- package/magic-cart/src/models/IdentifiedRangeDistributionMode.d.ts +1 -1
- package/magic-cart/src/models/QuotationDistributionMode.d.ts +1 -1
- package/magic-cart/src/models/UnitaryDistributionMode.d.ts +1 -1
- package/package.json +1 -1
- package/sale-offer/src/models/DistributionMode.d.ts +1 -1
- package/sale-offer/src/models/IdentifiedRangeDistributionMode.d.ts +1 -1
- package/sale-offer/src/models/QuotationDistributionMode.d.ts +1 -1
- package/sale-offer/src/models/RangeDistributionMode.d.ts +1 -1
- package/sale-offer/src/models/SaleOffer.d.ts +1 -1
- package/sale-offer/src/models/SaleOfferCreationParameters.d.ts +4 -4
- package/sale-offer/src/models/SaleOfferNewVersionParameters.d.ts +2 -2
- package/sale-offer/src/models/SaleOfferUpdateParameters.d.ts +6 -0
- package/sale-offer/src/models/SaleOfferUpdateParameters.js +2 -0
- package/sale-offer/src/models/UnitaryDistributionMode.d.ts +1 -1
- package/shopping-cart/src/models/DistributionMode.d.ts +1 -1
- package/shopping-cart/src/models/IdentifiedRangeDistributionMode.d.ts +1 -1
- package/shopping-cart/src/models/QuotationDistributionMode.d.ts +1 -1
- package/shopping-cart/src/models/UnitaryDistributionMode.d.ts +1 -1
|
@@ -17,7 +17,7 @@ import type { DistributionRange } from './DistributionRange';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface RangeDistributionMode {
|
|
19
19
|
/**
|
|
20
|
-
* Type of distribution for this
|
|
20
|
+
* Type of distribution for this sale offer
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RangeDistributionMode
|
|
23
23
|
*/
|
|
@@ -17,7 +17,7 @@ import type { IdentifiedDistributionRange } from './IdentifiedDistributionRange'
|
|
|
17
17
|
*/
|
|
18
18
|
export interface IdentifiedRangeDistributionMode {
|
|
19
19
|
/**
|
|
20
|
-
* Type of distribution for this
|
|
20
|
+
* Type of distribution for this sale offer
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof IdentifiedRangeDistributionMode
|
|
23
23
|
*/
|
package/package.json
CHANGED
|
@@ -17,7 +17,7 @@ import type { IdentifiedDistributionRange } from './IdentifiedDistributionRange'
|
|
|
17
17
|
*/
|
|
18
18
|
export interface IdentifiedRangeDistributionMode {
|
|
19
19
|
/**
|
|
20
|
-
* Type of distribution for this
|
|
20
|
+
* Type of distribution for this sale offer
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof IdentifiedRangeDistributionMode
|
|
23
23
|
*/
|
|
@@ -17,7 +17,7 @@ import type { DistributionRange } from './DistributionRange';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface RangeDistributionMode {
|
|
19
19
|
/**
|
|
20
|
-
* Type of distribution for this
|
|
20
|
+
* Type of distribution for this sale offer
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RangeDistributionMode
|
|
23
23
|
*/
|
|
@@ -13,7 +13,7 @@ import type { AnyDistributionMode } from './AnyDistributionMode';
|
|
|
13
13
|
import type { Stock } from './Stock';
|
|
14
14
|
import type { SaleOfferCreationImagesParameters } from './SaleOfferCreationImagesParameters';
|
|
15
15
|
/**
|
|
16
|
-
* All these fields are optional when copying from an existing
|
|
16
|
+
* All these fields are optional when copying from an existing sale offer.
|
|
17
17
|
* List of fields required in case of sale offer creation from scratch :
|
|
18
18
|
* - ownerId
|
|
19
19
|
* - productId
|
|
@@ -30,7 +30,7 @@ export interface SaleOfferCreationParameters {
|
|
|
30
30
|
*/
|
|
31
31
|
ownerId?: number;
|
|
32
32
|
/**
|
|
33
|
-
* Id of the product to create
|
|
33
|
+
* Id of the product to create sale offer on.
|
|
34
34
|
* @type {number}
|
|
35
35
|
* @memberof SaleOfferCreationParameters
|
|
36
36
|
*/
|
|
@@ -48,7 +48,7 @@ export interface SaleOfferCreationParameters {
|
|
|
48
48
|
*/
|
|
49
49
|
distributionMode?: AnyDistributionMode;
|
|
50
50
|
/**
|
|
51
|
-
* Free text to describe this
|
|
51
|
+
* Free text to describe this sale offer
|
|
52
52
|
* @type {string}
|
|
53
53
|
* @memberof SaleOfferCreationParameters
|
|
54
54
|
*/
|
|
@@ -60,7 +60,7 @@ export interface SaleOfferCreationParameters {
|
|
|
60
60
|
*/
|
|
61
61
|
images?: SaleOfferCreationImagesParameters;
|
|
62
62
|
/**
|
|
63
|
-
* Rank of this
|
|
63
|
+
* Rank of this sale offer. Only useful for laboratories sale offer yet
|
|
64
64
|
* @type {number}
|
|
65
65
|
* @memberof SaleOfferCreationParameters
|
|
66
66
|
*/
|
|
@@ -37,13 +37,13 @@ export interface SaleOfferNewVersionParameters {
|
|
|
37
37
|
*/
|
|
38
38
|
images?: SaleOfferCreationImagesParameters;
|
|
39
39
|
/**
|
|
40
|
-
* Free text to describe this
|
|
40
|
+
* Free text to describe this sale offer
|
|
41
41
|
* @type {string}
|
|
42
42
|
* @memberof SaleOfferNewVersionParameters
|
|
43
43
|
*/
|
|
44
44
|
description?: string | null;
|
|
45
45
|
/**
|
|
46
|
-
* Rank of this
|
|
46
|
+
* Rank of this sale offer. Only useful for laboratories sale offer yet
|
|
47
47
|
* @type {number}
|
|
48
48
|
* @memberof SaleOfferNewVersionParameters
|
|
49
49
|
*/
|
|
@@ -35,6 +35,12 @@ export interface SaleOfferUpdateParameters {
|
|
|
35
35
|
* @memberof SaleOfferUpdateParameters
|
|
36
36
|
*/
|
|
37
37
|
stock?: SaleOfferUpdateParametersStock;
|
|
38
|
+
/**
|
|
39
|
+
* Rank of this sale offer. Only useful for laboratories sale offer yet
|
|
40
|
+
* @type {number}
|
|
41
|
+
* @memberof SaleOfferUpdateParameters
|
|
42
|
+
*/
|
|
43
|
+
rank?: number | null;
|
|
38
44
|
}
|
|
39
45
|
/**
|
|
40
46
|
* Check if a given object implements the SaleOfferUpdateParameters interface.
|
|
@@ -34,6 +34,7 @@ function SaleOfferUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
34
34
|
return {
|
|
35
35
|
'status': (json['status'] === null || json['status'] === undefined) ? json['status'] : (0, SaleOfferStatus_1.SaleOfferStatusFromJSON)(json['status']),
|
|
36
36
|
'stock': (json['stock'] === null || json['stock'] === undefined) ? json['stock'] : (0, SaleOfferUpdateParametersStock_1.SaleOfferUpdateParametersStockFromJSON)(json['stock']),
|
|
37
|
+
'rank': json['rank'],
|
|
37
38
|
};
|
|
38
39
|
}
|
|
39
40
|
exports.SaleOfferUpdateParametersFromJSONTyped = SaleOfferUpdateParametersFromJSONTyped;
|
|
@@ -44,6 +45,7 @@ function SaleOfferUpdateParametersToJSON(value) {
|
|
|
44
45
|
return {
|
|
45
46
|
'status': (0, SaleOfferStatus_1.SaleOfferStatusToJSON)(value['status']),
|
|
46
47
|
'stock': (0, SaleOfferUpdateParametersStock_1.SaleOfferUpdateParametersStockToJSON)(value['stock']),
|
|
48
|
+
'rank': value['rank'],
|
|
47
49
|
};
|
|
48
50
|
}
|
|
49
51
|
exports.SaleOfferUpdateParametersToJSON = SaleOfferUpdateParametersToJSON;
|
|
@@ -17,7 +17,7 @@ import type { IdentifiedDistributionRange } from './IdentifiedDistributionRange'
|
|
|
17
17
|
*/
|
|
18
18
|
export interface IdentifiedRangeDistributionMode {
|
|
19
19
|
/**
|
|
20
|
-
* Type of distribution for this
|
|
20
|
+
* Type of distribution for this sale offer
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof IdentifiedRangeDistributionMode
|
|
23
23
|
*/
|