@lcdp/api-react-rest-client 3.1.9-develop.24127630091 → 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.
- package/notification/src/models/NotificationTypeId.d.ts +0 -1
- package/notification/src/models/NotificationTypeId.js +0 -1
- package/order/src/models/ForeorderItemWarning.d.ts +1 -1
- package/order/src/models/ForeorderItemWarning.js +3 -3
- package/package.json +1 -1
- package/shopping-cart/src/models/CartWarning.d.ts +7 -1
- package/shopping-cart/src/models/CartWarning.js +4 -2
- package/user/src/models/NotificationTypeId.d.ts +0 -1
- package/user/src/models/NotificationTypeId.js +0 -1
|
@@ -32,7 +32,6 @@ export declare const NotificationTypeId: {
|
|
|
32
32
|
readonly CLIENT_SUBSCRIPTION_VALIDATED: "CLIENT_SUBSCRIPTION_VALIDATED";
|
|
33
33
|
readonly CLIENT_TEST_ACCOUNT_EXPIRED: "CLIENT_TEST_ACCOUNT_EXPIRED";
|
|
34
34
|
readonly CLIENT_WAITING_FOR_VALIDATION: "CLIENT_WAITING_FOR_VALIDATION";
|
|
35
|
-
readonly DOCUMENT_EXPIRE: "DOCUMENT_EXPIRE";
|
|
36
35
|
readonly GLOBAL_COMMISSION_INVOICE: "GLOBAL_COMMISSION_INVOICE";
|
|
37
36
|
readonly GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE: "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
|
|
38
37
|
readonly MONTHLY_EMAIL_FOR_ACCOUNTANT: "MONTHLY_EMAIL_FOR_ACCOUNTANT";
|
|
@@ -37,7 +37,6 @@ exports.NotificationTypeId = {
|
|
|
37
37
|
CLIENT_SUBSCRIPTION_VALIDATED: 'CLIENT_SUBSCRIPTION_VALIDATED',
|
|
38
38
|
CLIENT_TEST_ACCOUNT_EXPIRED: 'CLIENT_TEST_ACCOUNT_EXPIRED',
|
|
39
39
|
CLIENT_WAITING_FOR_VALIDATION: 'CLIENT_WAITING_FOR_VALIDATION',
|
|
40
|
-
DOCUMENT_EXPIRE: 'DOCUMENT_EXPIRE',
|
|
41
40
|
GLOBAL_COMMISSION_INVOICE: 'GLOBAL_COMMISSION_INVOICE',
|
|
42
41
|
GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE: 'GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE',
|
|
43
42
|
MONTHLY_EMAIL_FOR_ACCOUNTANT: 'MONTHLY_EMAIL_FOR_ACCOUNTANT',
|
|
@@ -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
|
}
|
|
@@ -32,7 +32,6 @@ export declare const NotificationTypeId: {
|
|
|
32
32
|
readonly CLIENT_SUBSCRIPTION_VALIDATED: "CLIENT_SUBSCRIPTION_VALIDATED";
|
|
33
33
|
readonly CLIENT_TEST_ACCOUNT_EXPIRED: "CLIENT_TEST_ACCOUNT_EXPIRED";
|
|
34
34
|
readonly CLIENT_WAITING_FOR_VALIDATION: "CLIENT_WAITING_FOR_VALIDATION";
|
|
35
|
-
readonly DOCUMENT_EXPIRE: "DOCUMENT_EXPIRE";
|
|
36
35
|
readonly GLOBAL_COMMISSION_INVOICE: "GLOBAL_COMMISSION_INVOICE";
|
|
37
36
|
readonly GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE: "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
|
|
38
37
|
readonly MONTHLY_EMAIL_FOR_ACCOUNTANT: "MONTHLY_EMAIL_FOR_ACCOUNTANT";
|
|
@@ -37,7 +37,6 @@ exports.NotificationTypeId = {
|
|
|
37
37
|
CLIENT_SUBSCRIPTION_VALIDATED: 'CLIENT_SUBSCRIPTION_VALIDATED',
|
|
38
38
|
CLIENT_TEST_ACCOUNT_EXPIRED: 'CLIENT_TEST_ACCOUNT_EXPIRED',
|
|
39
39
|
CLIENT_WAITING_FOR_VALIDATION: 'CLIENT_WAITING_FOR_VALIDATION',
|
|
40
|
-
DOCUMENT_EXPIRE: 'DOCUMENT_EXPIRE',
|
|
41
40
|
GLOBAL_COMMISSION_INVOICE: 'GLOBAL_COMMISSION_INVOICE',
|
|
42
41
|
GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE: 'GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE',
|
|
43
42
|
MONTHLY_EMAIL_FOR_ACCOUNTANT: 'MONTHLY_EMAIL_FOR_ACCOUNTANT',
|