@lcdp/api-react-rest-client 1.1.1-develop.17 → 1.1.1-develop.3
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/auth/src/models/RestError.d.ts +4 -6
- package/auth/src/models/RestError.js +0 -2
- package/configuration/src/models/RestError.d.ts +4 -6
- package/configuration/src/models/RestError.js +0 -2
- package/content/src/models/RestError.d.ts +4 -6
- package/content/src/models/RestError.js +0 -2
- package/favorite/src/models/RestError.d.ts +4 -6
- package/favorite/src/models/RestError.js +0 -2
- package/inventory/src/models/RestError.d.ts +4 -6
- package/inventory/src/models/RestError.js +0 -2
- package/invoice/src/models/RestError.d.ts +4 -6
- package/invoice/src/models/RestError.js +0 -2
- package/laboratory-store/src/models/RestError.d.ts +4 -6
- package/laboratory-store/src/models/RestError.js +0 -2
- package/lexicon/src/models/RestError.d.ts +4 -6
- package/lexicon/src/models/RestError.js +0 -2
- package/litigation/src/models/RestError.d.ts +4 -6
- package/litigation/src/models/RestError.js +0 -2
- package/mangopay-hook/src/models/RestError.d.ts +4 -6
- package/mangopay-hook/src/models/RestError.js +0 -2
- package/notification/src/models/NotificationTypeId.d.ts +0 -1
- package/notification/src/models/NotificationTypeId.js +0 -1
- package/notification/src/models/RestError.d.ts +4 -6
- package/notification/src/models/RestError.js +0 -2
- package/order/src/apis/ManageMetaOrderApi.js +1 -1
- package/order/src/models/Order.d.ts +1 -14
- package/order/src/models/Order.js +0 -5
- package/order/src/models/OrderItemPrices.d.ts +1 -7
- package/order/src/models/OrderItemPrices.js +0 -2
- package/order/src/models/OrderPrices.d.ts +1 -1
- package/order/src/models/ProductLink.d.ts +7 -0
- package/order/src/models/ProductLink.js +3 -2
- package/order/src/models/ProductLinkAllOf.d.ts +7 -0
- package/order/src/models/ProductLinkAllOf.js +3 -0
- package/order/src/models/RestError.d.ts +4 -6
- package/order/src/models/RestError.js +0 -2
- package/order/src/models/Vat.d.ts +39 -0
- package/order/src/models/Vat.js +46 -0
- package/order/src/models/index.d.ts +1 -0
- package/order/src/models/index.js +1 -0
- package/package.json +1 -1
- package/product/src/apis/SearchProductApi.d.ts +0 -1
- package/product/src/apis/SearchProductApi.js +0 -3
- package/product/src/models/RestError.d.ts +4 -6
- package/product/src/models/RestError.js +0 -2
- package/pub/src/models/RestError.d.ts +4 -6
- package/pub/src/models/RestError.js +0 -2
- package/recommendation/src/apis/index.d.ts +0 -1
- package/recommendation/src/apis/index.js +0 -1
- package/recommendation/src/models/index.d.ts +0 -3
- package/recommendation/src/models/index.js +0 -3
- package/rfx/src/models/RestError.d.ts +4 -6
- package/rfx/src/models/RestError.js +0 -2
- package/sale-offer/src/models/RestError.d.ts +4 -6
- package/sale-offer/src/models/RestError.js +0 -2
- package/servant/src/models/RestError.d.ts +4 -6
- package/servant/src/models/RestError.js +0 -2
- package/shipment/src/models/RestError.d.ts +4 -6
- package/shipment/src/models/RestError.js +0 -2
- package/shopping-cart/src/models/RestError.d.ts +4 -6
- package/shopping-cart/src/models/RestError.js +0 -2
- package/statistic/src/models/RestError.d.ts +4 -6
- package/statistic/src/models/RestError.js +0 -2
- package/subscription/src/models/RestError.d.ts +4 -6
- package/subscription/src/models/RestError.js +0 -2
- package/ubo/src/models/RestError.d.ts +4 -6
- package/ubo/src/models/RestError.js +0 -2
- package/user/src/models/NotificationTypeId.d.ts +0 -1
- package/user/src/models/NotificationTypeId.js +0 -1
- package/user/src/models/RestError.d.ts +4 -6
- package/user/src/models/RestError.js +0 -2
- package/user/src/models/UserCreationParameters.d.ts +0 -6
- package/user/src/models/UserCreationParameters.js +0 -2
- package/wish/src/apis/ManageWishApi.d.ts +0 -2
- package/wish/src/apis/ManageWishApi.js +0 -2
- package/wish/src/apis/SearchWishApi.d.ts +3 -7
- package/wish/src/apis/SearchWishApi.js +2 -14
- package/wish/src/models/RestError.d.ts +4 -6
- package/wish/src/models/RestError.js +0 -2
- package/wish/src/models/Wish.d.ts +0 -19
- package/wish/src/models/Wish.js +0 -7
- package/wish/src/models/WishCreationParameters.d.ts +0 -13
- package/wish/src/models/WishCreationParameters.js +0 -5
- package/wish/src/models/WishUpdateParameters.d.ts +0 -6
- package/wish/src/models/WishUpdateParameters.js +0 -2
- package/wish/src/models/index.d.ts +0 -2
- package/wish/src/models/index.js +0 -2
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +0 -45
- package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +0 -182
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +0 -53
- package/recommendation/src/models/FavoriteProductRecommendation.js +0 -52
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.d.ts +0 -29
- package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +0 -50
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.d.ts +0 -28
- package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.js +0 -42
- package/wish/src/models/Referrer.d.ts +0 -34
- package/wish/src/models/Referrer.js +0 -45
- package/wish/src/models/WishReferrerType.d.ts +0 -23
- package/wish/src/models/WishReferrerType.js +0 -38
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -24,7 +24,6 @@ export declare enum NotificationTypeId {
|
|
|
24
24
|
ADSOLDOUT = "AD_SOLD_OUT",
|
|
25
25
|
ADVALIDATED = "AD_VALIDATED",
|
|
26
26
|
ADWISHLISTLINE = "AD_WISHLIST_LINE",
|
|
27
|
-
ADWISHLISTLINEFAVORITE = "AD_WISHLIST_LINE_FAVORITE",
|
|
28
27
|
CLIENTCREDITCARDEXPIRATION = "CLIENT_CREDIT_CARD_EXPIRATION",
|
|
29
28
|
CLIENTFIRSTAD = "CLIENT_FIRST_AD",
|
|
30
29
|
CLIENTFIRSTBUY = "CLIENT_FIRST_BUY",
|
|
@@ -30,7 +30,6 @@ var NotificationTypeId;
|
|
|
30
30
|
NotificationTypeId["ADSOLDOUT"] = "AD_SOLD_OUT";
|
|
31
31
|
NotificationTypeId["ADVALIDATED"] = "AD_VALIDATED";
|
|
32
32
|
NotificationTypeId["ADWISHLISTLINE"] = "AD_WISHLIST_LINE";
|
|
33
|
-
NotificationTypeId["ADWISHLISTLINEFAVORITE"] = "AD_WISHLIST_LINE_FAVORITE";
|
|
34
33
|
NotificationTypeId["CLIENTCREDITCARDEXPIRATION"] = "CLIENT_CREDIT_CARD_EXPIRATION";
|
|
35
34
|
NotificationTypeId["CLIENTFIRSTAD"] = "CLIENT_FIRST_AD";
|
|
36
35
|
NotificationTypeId["CLIENTFIRSTBUY"] = "CLIENT_FIRST_BUY";
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -28,12 +28,6 @@ export interface UserCreationParameters {
|
|
|
28
28
|
* @memberof UserCreationParameters
|
|
29
29
|
*/
|
|
30
30
|
lastname: string;
|
|
31
|
-
/**
|
|
32
|
-
* Date of birth
|
|
33
|
-
* @type {Date}
|
|
34
|
-
* @memberof UserCreationParameters
|
|
35
|
-
*/
|
|
36
|
-
birthdate: Date | null;
|
|
37
31
|
/**
|
|
38
32
|
* An email in conformity with pattern
|
|
39
33
|
* @type {string}
|
|
@@ -27,7 +27,6 @@ function UserCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
return {
|
|
28
28
|
'firstname': json['firstname'],
|
|
29
29
|
'lastname': json['lastname'],
|
|
30
|
-
'birthdate': (json['birthdate'] === null ? null : new Date(json['birthdate'])),
|
|
31
30
|
'email': json['email'],
|
|
32
31
|
'phone': json['phone'],
|
|
33
32
|
'password': json['password'],
|
|
@@ -45,7 +44,6 @@ function UserCreationParametersToJSON(value) {
|
|
|
45
44
|
return {
|
|
46
45
|
'firstname': value.firstname,
|
|
47
46
|
'lastname': value.lastname,
|
|
48
|
-
'birthdate': (value.birthdate === null ? null : (0, runtime_1.toDateISOString)(value.birthdate)),
|
|
49
47
|
'email': value.email,
|
|
50
48
|
'phone': value.phone,
|
|
51
49
|
'password': value.password,
|
|
@@ -26,12 +26,10 @@ export interface UpdateWishRequest {
|
|
|
26
26
|
*/
|
|
27
27
|
export declare class ManageWishApi extends BaseAPI {
|
|
28
28
|
/**
|
|
29
|
-
* Wish cannot be created without referrer type, if you dont have a referrer set referrer type to MANUAL
|
|
30
29
|
* Create wish line from scratch
|
|
31
30
|
*/
|
|
32
31
|
createWishRaw(requestParameters: CreateWishRequest): Promise<ApiResponse<void>>;
|
|
33
32
|
/**
|
|
34
|
-
* Wish cannot be created without referrer type, if you dont have a referrer set referrer type to MANUAL
|
|
35
33
|
* Create wish line from scratch
|
|
36
34
|
*/
|
|
37
35
|
createWish(requestParameters: CreateWishRequest): Promise<void>;
|
|
@@ -76,7 +76,6 @@ var ManageWishApi = /** @class */ (function (_super) {
|
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Wish cannot be created without referrer type, if you dont have a referrer set referrer type to MANUAL
|
|
80
79
|
* Create wish line from scratch
|
|
81
80
|
*/
|
|
82
81
|
ManageWishApi.prototype.createWishRaw = function (requestParameters) {
|
|
@@ -124,7 +123,6 @@ var ManageWishApi = /** @class */ (function (_super) {
|
|
|
124
123
|
});
|
|
125
124
|
};
|
|
126
125
|
/**
|
|
127
|
-
* Wish cannot be created without referrer type, if you dont have a referrer set referrer type to MANUAL
|
|
128
126
|
* Create wish line from scratch
|
|
129
127
|
*/
|
|
130
128
|
ManageWishApi.prototype.createWish = function (requestParameters) {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { BaseAPI, ApiResponse, BlobWithMeta } from '../runtime';
|
|
13
|
-
import { PaginatedWishes, Wish,
|
|
13
|
+
import { PaginatedWishes, Wish, WishStatus } from '../models';
|
|
14
14
|
export interface GetWishRequest {
|
|
15
15
|
wishId: number;
|
|
16
16
|
}
|
|
@@ -18,13 +18,9 @@ export interface GetWishesRequest {
|
|
|
18
18
|
oEq?: number;
|
|
19
19
|
oNeq?: number;
|
|
20
20
|
pidEq?: number;
|
|
21
|
-
stEq?:
|
|
22
|
-
stNeq?:
|
|
21
|
+
stEq?: WishStatus;
|
|
22
|
+
stNeq?: WishStatus;
|
|
23
23
|
q?: string;
|
|
24
|
-
referrerIdEq?: Array<number>;
|
|
25
|
-
referrerIdNeq?: Array<number>;
|
|
26
|
-
referrerTypeEq?: Array<WishReferrerType>;
|
|
27
|
-
referrerTypeNeq?: Array<WishReferrerType>;
|
|
28
24
|
orderBy?: Array<GetWishesOrderByEnum>;
|
|
29
25
|
p?: number;
|
|
30
26
|
pp?: number;
|
|
@@ -167,27 +167,15 @@ var SearchWishApi = /** @class */ (function (_super) {
|
|
|
167
167
|
if (requestParameters.pidEq !== undefined) {
|
|
168
168
|
queryParameters['pid[eq]'] = requestParameters.pidEq;
|
|
169
169
|
}
|
|
170
|
-
if (requestParameters.stEq) {
|
|
170
|
+
if (requestParameters.stEq !== undefined) {
|
|
171
171
|
queryParameters['st[eq]'] = requestParameters.stEq;
|
|
172
172
|
}
|
|
173
|
-
if (requestParameters.stNeq) {
|
|
173
|
+
if (requestParameters.stNeq !== undefined) {
|
|
174
174
|
queryParameters['st[neq]'] = requestParameters.stNeq;
|
|
175
175
|
}
|
|
176
176
|
if (requestParameters.q !== undefined) {
|
|
177
177
|
queryParameters['q'] = requestParameters.q;
|
|
178
178
|
}
|
|
179
|
-
if (requestParameters.referrerIdEq) {
|
|
180
|
-
queryParameters['referrerId[eq]'] = requestParameters.referrerIdEq;
|
|
181
|
-
}
|
|
182
|
-
if (requestParameters.referrerIdNeq) {
|
|
183
|
-
queryParameters['referrerId[neq]'] = requestParameters.referrerIdNeq;
|
|
184
|
-
}
|
|
185
|
-
if (requestParameters.referrerTypeEq) {
|
|
186
|
-
queryParameters['referrerType[eq]'] = requestParameters.referrerTypeEq;
|
|
187
|
-
}
|
|
188
|
-
if (requestParameters.referrerTypeNeq) {
|
|
189
|
-
queryParameters['referrerType[neq]'] = requestParameters.referrerTypeNeq;
|
|
190
|
-
}
|
|
191
179
|
if (requestParameters.orderBy) {
|
|
192
180
|
queryParameters['orderBy'] = requestParameters.orderBy;
|
|
193
181
|
}
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Empty Meta-Order * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Empty Meta-Order * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
53
53
|
CODE014 = "CODE014",
|
|
54
54
|
CODE015 = "CODE015",
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
|
-
CODE017 = "CODE017"
|
|
57
|
-
CODE018 = "CODE018"
|
|
56
|
+
CODE017 = "CODE017"
|
|
58
57
|
}
|
|
59
58
|
/**
|
|
60
59
|
* @export
|
|
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
78
77
|
MESSAGE014 = "Invalid Meta-Order",
|
|
79
78
|
MESSAGE015 = "Can not release quantity greater than claimed",
|
|
80
79
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
81
|
-
MESSAGE017 = "Batch is forbidden for sale"
|
|
82
|
-
MESSAGE018 = "Trial already used"
|
|
80
|
+
MESSAGE017 = "Batch is forbidden for sale"
|
|
83
81
|
}
|
|
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
|
|
|
65
65
|
RestErrorCodeEnum["CODE015"] = "CODE015";
|
|
66
66
|
RestErrorCodeEnum["CODE016"] = "CODE016";
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
|
-
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
68
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
70
69
|
/**
|
|
71
70
|
* @export
|
|
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
|
|
|
91
90
|
RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
|
|
92
91
|
RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
|
|
93
92
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
94
|
-
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
95
93
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
import { DesiredSellerLink } from './DesiredSellerLink';
|
|
13
13
|
import { OwnerLink } from './OwnerLink';
|
|
14
14
|
import { ProductLink } from './ProductLink';
|
|
15
|
-
import { Referrer } from './Referrer';
|
|
16
15
|
/**
|
|
17
16
|
*
|
|
18
17
|
* @export
|
|
@@ -61,24 +60,6 @@ export interface Wish {
|
|
|
61
60
|
* @memberof Wish
|
|
62
61
|
*/
|
|
63
62
|
status?: string;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {Referrer}
|
|
67
|
-
* @memberof Wish
|
|
68
|
-
*/
|
|
69
|
-
referrer?: Referrer;
|
|
70
|
-
/**
|
|
71
|
-
* Delay in minutes between two email notification
|
|
72
|
-
* @type {number}
|
|
73
|
-
* @memberof Wish
|
|
74
|
-
*/
|
|
75
|
-
throttleDelay?: number;
|
|
76
|
-
/**
|
|
77
|
-
* Last date of sent email of this wish (RFC 3339, section 5.6)
|
|
78
|
-
* @type {Date}
|
|
79
|
-
* @memberof Wish
|
|
80
|
-
*/
|
|
81
|
-
lastTrigger?: Date;
|
|
82
63
|
/**
|
|
83
64
|
* Create date of this wish
|
|
84
65
|
* @type {Date}
|
package/wish/src/models/Wish.js
CHANGED
|
@@ -18,7 +18,6 @@ var runtime_1 = require("../runtime");
|
|
|
18
18
|
var DesiredSellerLink_1 = require("./DesiredSellerLink");
|
|
19
19
|
var OwnerLink_1 = require("./OwnerLink");
|
|
20
20
|
var ProductLink_1 = require("./ProductLink");
|
|
21
|
-
var Referrer_1 = require("./Referrer");
|
|
22
21
|
function WishFromJSON(json) {
|
|
23
22
|
return WishFromJSONTyped(json, false);
|
|
24
23
|
}
|
|
@@ -35,9 +34,6 @@ function WishFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
35
34
|
'rebate': !(0, runtime_1.exists)(json, 'rebate') ? undefined : json['rebate'],
|
|
36
35
|
'quantity': !(0, runtime_1.exists)(json, 'quantity') ? undefined : json['quantity'],
|
|
37
36
|
'status': !(0, runtime_1.exists)(json, 'status') ? undefined : json['status'],
|
|
38
|
-
'referrer': !(0, runtime_1.exists)(json, 'referrer') ? undefined : (0, Referrer_1.ReferrerFromJSON)(json['referrer']),
|
|
39
|
-
'throttleDelay': !(0, runtime_1.exists)(json, 'throttleDelay') ? undefined : json['throttleDelay'],
|
|
40
|
-
'lastTrigger': !(0, runtime_1.exists)(json, 'lastTrigger') ? undefined : (new Date(json['lastTrigger'])),
|
|
41
37
|
'createdAt': !(0, runtime_1.exists)(json, 'createdAt') ? undefined : (new Date(json['createdAt'])),
|
|
42
38
|
'updatedAt': !(0, runtime_1.exists)(json, 'updatedAt') ? undefined : (new Date(json['updatedAt'])),
|
|
43
39
|
};
|
|
@@ -58,9 +54,6 @@ function WishToJSON(value) {
|
|
|
58
54
|
'rebate': value.rebate,
|
|
59
55
|
'quantity': value.quantity,
|
|
60
56
|
'status': value.status,
|
|
61
|
-
'referrer': (0, Referrer_1.ReferrerToJSON)(value.referrer),
|
|
62
|
-
'throttleDelay': value.throttleDelay,
|
|
63
|
-
'lastTrigger': value.lastTrigger === undefined ? undefined : ((0, runtime_1.toDateISOString)(value.lastTrigger)),
|
|
64
57
|
'createdAt': value.createdAt === undefined ? undefined : (value.createdAt.toISOString()),
|
|
65
58
|
'updatedAt': value.updatedAt === undefined ? undefined : (value.updatedAt.toISOString()),
|
|
66
59
|
};
|