@lcdp/api-react-rest-client 2.6.7-develop.8468350439 → 2.6.7-develop.8566552403
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.
|
@@ -36,6 +36,12 @@ export interface OrderItem {
|
|
|
36
36
|
* @memberof OrderItem
|
|
37
37
|
*/
|
|
38
38
|
saleOffer?: SaleOfferLink;
|
|
39
|
+
/**
|
|
40
|
+
* Id of the distribution range
|
|
41
|
+
* @type {number}
|
|
42
|
+
* @memberof OrderItem
|
|
43
|
+
*/
|
|
44
|
+
distributionRangeId?: number;
|
|
39
45
|
/**
|
|
40
46
|
* Number of pack to buy
|
|
41
47
|
* @type {number}
|
|
@@ -30,6 +30,7 @@ function OrderItemFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
30
30
|
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
31
31
|
'product': !(0, runtime_1.exists)(json, 'product') ? undefined : (0, ProductLink_1.ProductLinkFromJSON)(json['product']),
|
|
32
32
|
'saleOffer': !(0, runtime_1.exists)(json, 'saleOffer') ? undefined : (0, SaleOfferLink_1.SaleOfferLinkFromJSON)(json['saleOffer']),
|
|
33
|
+
'distributionRangeId': !(0, runtime_1.exists)(json, 'distributionRangeId') ? undefined : json['distributionRangeId'],
|
|
33
34
|
'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
|
|
34
35
|
'multiplier': !(0, runtime_1.exists)(json, 'multiplier') ? undefined : json['multiplier'],
|
|
35
36
|
'freeUnits': !(0, runtime_1.exists)(json, 'freeUnits') ? undefined : json['freeUnits'],
|
|
@@ -50,6 +51,7 @@ function OrderItemToJSON(value) {
|
|
|
50
51
|
'id': value.id,
|
|
51
52
|
'product': (0, ProductLink_1.ProductLinkToJSON)(value.product),
|
|
52
53
|
'saleOffer': (0, SaleOfferLink_1.SaleOfferLinkToJSON)(value.saleOffer),
|
|
54
|
+
'distributionRangeId': value.distributionRangeId,
|
|
53
55
|
'quantity': value.quantity,
|
|
54
56
|
'multiplier': value.multiplier,
|
|
55
57
|
'freeUnits': value.freeUnits,
|