@lcdp/api-react-rest-client 3.1.9-develop.24199377241 → 3.1.9-develop.24199517030
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.
|
@@ -33,7 +33,7 @@ function instanceOfForeorderItemWarning(value) {
|
|
|
33
33
|
return false;
|
|
34
34
|
if (!('productName' in value) || value['productName'] === undefined)
|
|
35
35
|
return false;
|
|
36
|
-
if (!('
|
|
36
|
+
if (!('targetQuantity' in value) || value['targetQuantity'] === undefined)
|
|
37
37
|
return false;
|
|
38
38
|
if (!('finalQuantity' in value) || value['finalQuantity'] === undefined)
|
|
39
39
|
return false;
|
|
@@ -55,7 +55,7 @@ function ForeorderItemWarningFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
55
|
'sellerNickname': json['sellerNickname'],
|
|
56
56
|
'foreorderId': json['foreorderId'],
|
|
57
57
|
'productName': json['productName'],
|
|
58
|
-
'
|
|
58
|
+
'targetQuantity': json['targetQuantity'],
|
|
59
59
|
'finalQuantity': json['finalQuantity'],
|
|
60
60
|
'cause': json['cause'],
|
|
61
61
|
};
|
|
@@ -70,7 +70,7 @@ function ForeorderItemWarningToJSON(value) {
|
|
|
70
70
|
'sellerNickname': value['sellerNickname'],
|
|
71
71
|
'foreorderId': value['foreorderId'],
|
|
72
72
|
'productName': value['productName'],
|
|
73
|
-
'
|
|
73
|
+
'targetQuantity': value['targetQuantity'],
|
|
74
74
|
'finalQuantity': value['finalQuantity'],
|
|
75
75
|
'cause': value['cause'],
|
|
76
76
|
};
|
package/package.json
CHANGED
|
@@ -39,12 +39,18 @@ export interface CartWarning {
|
|
|
39
39
|
* @memberof CartWarning
|
|
40
40
|
*/
|
|
41
41
|
distributionRangeId?: number;
|
|
42
|
+
/**
|
|
43
|
+
* Quantity in the cart before the update
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof CartWarning
|
|
46
|
+
*/
|
|
47
|
+
initialQuantity?: number;
|
|
42
48
|
/**
|
|
43
49
|
* Quantity originally requested
|
|
44
50
|
* @type {number}
|
|
45
51
|
* @memberof CartWarning
|
|
46
52
|
*/
|
|
47
|
-
|
|
53
|
+
targetQuantity?: number;
|
|
48
54
|
/**
|
|
49
55
|
* Quantity actually set in the cart
|
|
50
56
|
* @type {number}
|
|
@@ -46,7 +46,8 @@ function CartWarningFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
46
46
|
'cartId': json['cartId'],
|
|
47
47
|
'offerReference': json['offerReference'],
|
|
48
48
|
'distributionRangeId': json['distributionRangeId'],
|
|
49
|
-
'
|
|
49
|
+
'initialQuantity': json['initialQuantity'],
|
|
50
|
+
'targetQuantity': json['targetQuantity'],
|
|
50
51
|
'finalQuantity': json['finalQuantity'],
|
|
51
52
|
};
|
|
52
53
|
}
|
|
@@ -60,7 +61,8 @@ function CartWarningToJSON(value) {
|
|
|
60
61
|
'cartId': value['cartId'],
|
|
61
62
|
'offerReference': value['offerReference'],
|
|
62
63
|
'distributionRangeId': value['distributionRangeId'],
|
|
63
|
-
'
|
|
64
|
+
'initialQuantity': value['initialQuantity'],
|
|
65
|
+
'targetQuantity': value['targetQuantity'],
|
|
64
66
|
'finalQuantity': value['finalQuantity'],
|
|
65
67
|
};
|
|
66
68
|
}
|