@lcdp/api-react-rest-client 2.5.9-develop.7111707220 → 2.5.9
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/catalog/src/models/RestError.d.ts +4 -6
- package/catalog/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/Notification.d.ts +0 -6
- package/notification/src/models/Notification.js +0 -2
- package/notification/src/models/NotificationTypeId.d.ts +0 -5
- package/notification/src/models/NotificationTypeId.js +0 -5
- package/notification/src/models/RestError.d.ts +4 -6
- package/notification/src/models/RestError.js +0 -2
- package/order/src/apis/ManageOrderApi.d.ts +17 -7
- package/order/src/apis/ManageOrderApi.js +90 -10
- package/order/src/apis/ManageOrderItemApi.d.ts +4 -4
- package/order/src/apis/ManageOrderItemApi.js +4 -4
- package/order/src/apis/SearchOrderItemApi.d.ts +0 -2
- package/order/src/apis/SearchOrderItemApi.js +0 -2
- package/order/src/models/Order.d.ts +1 -20
- package/order/src/models/Order.js +0 -7
- package/order/src/models/OrderJournal.d.ts +0 -19
- package/order/src/models/OrderJournal.js +0 -8
- package/order/src/models/OrderStatus.d.ts +2 -4
- package/order/src/models/OrderStatus.js +2 -4
- package/order/src/models/OrderUpdateParameters.d.ts +0 -20
- package/order/src/models/OrderUpdateParameters.js +0 -8
- package/order/src/models/RestError.d.ts +4 -6
- package/order/src/models/RestError.js +0 -2
- package/order/src/models/UpdateOrderStatusParameters.d.ts +5 -3
- package/order/src/models/UpdateOrderStatusParameters.js +4 -2
- package/order/src/models/index.d.ts +0 -1
- package/order/src/models/index.js +0 -1
- package/order-log/src/models/OrderLog.d.ts +0 -19
- package/order-log/src/models/OrderLog.js +2 -3
- package/order-log/src/models/OrderLogAllOf.d.ts +0 -19
- package/order-log/src/models/OrderLogAllOf.js +0 -7
- package/order-log/src/models/index.d.ts +0 -1
- package/order-log/src/models/index.js +0 -1
- package/package.json +1 -1
- 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/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 -5
- package/user/src/models/NotificationTypeId.js +0 -5
- package/user/src/models/RestError.d.ts +4 -6
- package/user/src/models/RestError.js +0 -2
- package/wish/src/models/RestError.d.ts +4 -6
- package/wish/src/models/RestError.js +0 -2
- package/order/src/models/OrderStatusReason.d.ts +0 -24
- package/order/src/models/OrderStatusReason.js +0 -39
- package/order-log/src/models/OrderStatusReason.d.ts +0 -24
- package/order-log/src/models/OrderStatusReason.js +0 -39
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -42,14 +42,9 @@ export declare enum NotificationTypeId {
|
|
|
42
42
|
ORDERACCEPTED = "ORDER_ACCEPTED",
|
|
43
43
|
ORDERARCHIVEDBUYER = "ORDER_ARCHIVED_BUYER",
|
|
44
44
|
ORDERCANCELEDBUYER = "ORDER_CANCELED_BUYER",
|
|
45
|
-
ORDERCANCELEDSELLER = "ORDER_CANCELED_SELLER",
|
|
46
45
|
ORDERCREATEDBUYER = "ORDER_CREATED_BUYER",
|
|
47
46
|
ORDERCREATEDSELLER = "ORDER_CREATED_SELLER",
|
|
48
47
|
ORDERDAILYMAIL = "ORDER_DAILY_MAIL",
|
|
49
|
-
ORDERMODIFIED = "ORDER_MODIFIED",
|
|
50
|
-
ORDERMODIFICATIONDELAY = "ORDER_MODIFICATION_DELAY",
|
|
51
|
-
ORDERMODIFICATIONACCEPTEDSELLER = "ORDER_MODIFICATION_ACCEPTED_SELLER",
|
|
52
|
-
ORDERMODIFICATIONREJECTEDSELLER = "ORDER_MODIFICATION_REJECTED_SELLER",
|
|
53
48
|
ORDERRECEIVED = "ORDER_RECEIVED",
|
|
54
49
|
ORDERSENDINGDELAY = "ORDER_SENDING_DELAY",
|
|
55
50
|
ORDERSENTBUYER = "ORDER_SENT_BUYER",
|
|
@@ -48,14 +48,9 @@ var NotificationTypeId;
|
|
|
48
48
|
NotificationTypeId["ORDERACCEPTED"] = "ORDER_ACCEPTED";
|
|
49
49
|
NotificationTypeId["ORDERARCHIVEDBUYER"] = "ORDER_ARCHIVED_BUYER";
|
|
50
50
|
NotificationTypeId["ORDERCANCELEDBUYER"] = "ORDER_CANCELED_BUYER";
|
|
51
|
-
NotificationTypeId["ORDERCANCELEDSELLER"] = "ORDER_CANCELED_SELLER";
|
|
52
51
|
NotificationTypeId["ORDERCREATEDBUYER"] = "ORDER_CREATED_BUYER";
|
|
53
52
|
NotificationTypeId["ORDERCREATEDSELLER"] = "ORDER_CREATED_SELLER";
|
|
54
53
|
NotificationTypeId["ORDERDAILYMAIL"] = "ORDER_DAILY_MAIL";
|
|
55
|
-
NotificationTypeId["ORDERMODIFIED"] = "ORDER_MODIFIED";
|
|
56
|
-
NotificationTypeId["ORDERMODIFICATIONDELAY"] = "ORDER_MODIFICATION_DELAY";
|
|
57
|
-
NotificationTypeId["ORDERMODIFICATIONACCEPTEDSELLER"] = "ORDER_MODIFICATION_ACCEPTED_SELLER";
|
|
58
|
-
NotificationTypeId["ORDERMODIFICATIONREJECTEDSELLER"] = "ORDER_MODIFICATION_REJECTED_SELLER";
|
|
59
54
|
NotificationTypeId["ORDERRECEIVED"] = "ORDER_RECEIVED";
|
|
60
55
|
NotificationTypeId["ORDERSENDINGDELAY"] = "ORDER_SENDING_DELAY";
|
|
61
56
|
NotificationTypeId["ORDERSENTBUYER"] = "ORDER_SENT_BUYER";
|
|
@@ -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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
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` - Image dimension exceeded * `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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -55,8 +55,7 @@ export declare enum RestErrorCodeEnum {
|
|
|
55
55
|
CODE016 = "CODE016",
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
|
-
CODE019 = "CODE019"
|
|
59
|
-
CODE020 = "CODE020"
|
|
58
|
+
CODE019 = "CODE019"
|
|
60
59
|
}
|
|
61
60
|
/**
|
|
62
61
|
* @export
|
|
@@ -82,6 +81,5 @@ export declare enum RestErrorMessageEnum {
|
|
|
82
81
|
MESSAGE016 = "Can not release a negative quantity of items",
|
|
83
82
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
83
|
MESSAGE018 = "Trial already used",
|
|
85
|
-
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
84
|
+
MESSAGE019 = "Unable to generate session from disposableToken for admin users"
|
|
87
85
|
}
|
|
@@ -67,7 +67,6 @@ var RestErrorCodeEnum;
|
|
|
67
67
|
RestErrorCodeEnum["CODE017"] = "CODE017";
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
|
-
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
70
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
71
|
/**
|
|
73
72
|
* @export
|
|
@@ -95,5 +94,4 @@ var RestErrorMessageEnum;
|
|
|
95
94
|
RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
|
|
96
95
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
96
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
|
-
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
99
97
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP orders
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Reason of the status change or current status. Note that if you do not give any reason during status change, field will be set to OTHER
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum OrderStatusReason {
|
|
18
|
-
MAXQUANTITY = "MAX_QUANTITY",
|
|
19
|
-
OUTDATEDAD = "OUTDATED_AD",
|
|
20
|
-
OTHER = "OTHER"
|
|
21
|
-
}
|
|
22
|
-
export declare function OrderStatusReasonFromJSON(json: any): OrderStatusReason;
|
|
23
|
-
export declare function OrderStatusReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderStatusReason;
|
|
24
|
-
export declare function OrderStatusReasonToJSON(value?: OrderStatusReason | null): any;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP orders
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrderStatusReasonToJSON = exports.OrderStatusReasonFromJSONTyped = exports.OrderStatusReasonFromJSON = exports.OrderStatusReason = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Reason of the status change or current status. Note that if you do not give any reason during status change, field will be set to OTHER
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
var OrderStatusReason;
|
|
23
|
-
(function (OrderStatusReason) {
|
|
24
|
-
OrderStatusReason["MAXQUANTITY"] = "MAX_QUANTITY";
|
|
25
|
-
OrderStatusReason["OUTDATEDAD"] = "OUTDATED_AD";
|
|
26
|
-
OrderStatusReason["OTHER"] = "OTHER";
|
|
27
|
-
})(OrderStatusReason = exports.OrderStatusReason || (exports.OrderStatusReason = {}));
|
|
28
|
-
function OrderStatusReasonFromJSON(json) {
|
|
29
|
-
return OrderStatusReasonFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.OrderStatusReasonFromJSON = OrderStatusReasonFromJSON;
|
|
32
|
-
function OrderStatusReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
exports.OrderStatusReasonFromJSONTyped = OrderStatusReasonFromJSONTyped;
|
|
36
|
-
function OrderStatusReasonToJSON(value) {
|
|
37
|
-
return value;
|
|
38
|
-
}
|
|
39
|
-
exports.OrderStatusReasonToJSON = OrderStatusReasonToJSON;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* lcdp-monolith-service
|
|
3
|
-
* This is the REST API of LCDP order logs
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
* Reason of the status change or current status. Note that if you do not give any reason during status change, field will be set to OTHER
|
|
14
|
-
* @export
|
|
15
|
-
* @enum {string}
|
|
16
|
-
*/
|
|
17
|
-
export declare enum OrderStatusReason {
|
|
18
|
-
MAXQUANTITY = "MAX_QUANTITY",
|
|
19
|
-
OUTDATEDAD = "OUTDATED_AD",
|
|
20
|
-
OTHER = "OTHER"
|
|
21
|
-
}
|
|
22
|
-
export declare function OrderStatusReasonFromJSON(json: any): OrderStatusReason;
|
|
23
|
-
export declare function OrderStatusReasonFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderStatusReason;
|
|
24
|
-
export declare function OrderStatusReasonToJSON(value?: OrderStatusReason | null): any;
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* lcdp-monolith-service
|
|
6
|
-
* This is the REST API of LCDP order logs
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
* Contact: contact@lecomptoirdespharmacies.fr
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.OrderStatusReasonToJSON = exports.OrderStatusReasonFromJSONTyped = exports.OrderStatusReasonFromJSON = exports.OrderStatusReason = void 0;
|
|
17
|
-
/**
|
|
18
|
-
* Reason of the status change or current status. Note that if you do not give any reason during status change, field will be set to OTHER
|
|
19
|
-
* @export
|
|
20
|
-
* @enum {string}
|
|
21
|
-
*/
|
|
22
|
-
var OrderStatusReason;
|
|
23
|
-
(function (OrderStatusReason) {
|
|
24
|
-
OrderStatusReason["MAXQUANTITY"] = "MAX_QUANTITY";
|
|
25
|
-
OrderStatusReason["OUTDATEDAD"] = "OUTDATED_AD";
|
|
26
|
-
OrderStatusReason["OTHER"] = "OTHER";
|
|
27
|
-
})(OrderStatusReason = exports.OrderStatusReason || (exports.OrderStatusReason = {}));
|
|
28
|
-
function OrderStatusReasonFromJSON(json) {
|
|
29
|
-
return OrderStatusReasonFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
exports.OrderStatusReasonFromJSON = OrderStatusReasonFromJSON;
|
|
32
|
-
function OrderStatusReasonFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
exports.OrderStatusReasonFromJSONTyped = OrderStatusReasonFromJSONTyped;
|
|
36
|
-
function OrderStatusReasonToJSON(value) {
|
|
37
|
-
return value;
|
|
38
|
-
}
|
|
39
|
-
exports.OrderStatusReasonToJSON = OrderStatusReasonToJSON;
|