@lcdp/api-react-rest-client 2.1.3-develop.4618517491 → 2.1.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 +3 -3
- package/auth/src/models/RestError.js +1 -1
- package/configuration/src/models/RestError.d.ts +3 -3
- package/configuration/src/models/RestError.js +1 -1
- package/content/src/models/RestError.d.ts +3 -3
- package/content/src/models/RestError.js +1 -1
- package/favorite/src/models/RestError.d.ts +3 -3
- package/favorite/src/models/RestError.js +1 -1
- package/inventory/src/models/RestError.d.ts +3 -3
- package/inventory/src/models/RestError.js +1 -1
- package/invoice/src/models/RestError.d.ts +3 -3
- package/invoice/src/models/RestError.js +1 -1
- package/laboratory-store/src/models/RestError.d.ts +3 -3
- package/laboratory-store/src/models/RestError.js +1 -1
- package/lexicon/src/models/RestError.d.ts +3 -3
- package/lexicon/src/models/RestError.js +1 -1
- package/litigation/src/models/RestError.d.ts +3 -3
- package/litigation/src/models/RestError.js +1 -1
- package/mangopay-hook/src/models/RestError.d.ts +3 -3
- package/mangopay-hook/src/models/RestError.js +1 -1
- package/notification/src/models/RestError.d.ts +3 -3
- package/notification/src/models/RestError.js +1 -1
- package/order/src/models/MetaOrderWarning.d.ts +38 -2
- package/order/src/models/MetaOrderWarning.js +25 -3
- package/order/src/models/MetaOrderWithWarnings.d.ts +3 -3
- package/order/src/models/MetaOrderWithWarnings.js +3 -3
- package/order/src/models/RestError.d.ts +3 -3
- package/order/src/models/RestError.js +1 -1
- package/order/src/models/index.d.ts +0 -5
- package/order/src/models/index.js +0 -5
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +3 -3
- package/product/src/models/RestError.js +1 -1
- package/pub/src/models/RestError.d.ts +3 -3
- package/pub/src/models/RestError.js +1 -1
- package/rfx/src/models/RestError.d.ts +3 -3
- package/rfx/src/models/RestError.js +1 -1
- package/sale-offer/src/models/RestError.d.ts +3 -3
- package/sale-offer/src/models/RestError.js +1 -1
- package/servant/src/models/RestError.d.ts +3 -3
- package/servant/src/models/RestError.js +1 -1
- package/shipment/src/models/RestError.d.ts +3 -3
- package/shipment/src/models/RestError.js +1 -1
- package/shopping-cart/src/models/RestError.d.ts +3 -3
- package/shopping-cart/src/models/RestError.js +1 -1
- package/statistic/src/models/RestError.d.ts +3 -3
- package/statistic/src/models/RestError.js +1 -1
- package/subscription/src/models/RestError.d.ts +3 -3
- package/subscription/src/models/RestError.js +1 -1
- package/ubo/src/models/RestError.d.ts +3 -3
- package/ubo/src/models/RestError.js +1 -1
- package/user/src/models/RestError.d.ts +3 -3
- package/user/src/models/RestError.js +1 -1
- package/wish/src/models/RestError.d.ts +3 -3
- package/wish/src/models/RestError.js +1 -1
- package/order/src/models/AnyMetaOrderWarning.d.ts +0 -25
- package/order/src/models/AnyMetaOrderWarning.js +0 -64
- package/order/src/models/OrderItemWarning.d.ts +0 -63
- package/order/src/models/OrderItemWarning.js +0 -62
- package/order/src/models/OrderItemWarningAllOf.d.ts +0 -62
- package/order/src/models/OrderItemWarningAllOf.js +0 -62
- package/order/src/models/OrderWarning.d.ts +0 -42
- package/order/src/models/OrderWarning.js +0 -58
- package/order/src/models/OrderWarningAllOf.d.ts +0 -41
- package/order/src/models/OrderWarningAllOf.js +0 -52
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -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` -
|
|
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 * `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` -
|
|
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 * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
|
|
|
72
72
|
MESSAGE007 = "Wrong Address according CHRONOPOST",
|
|
73
73
|
MESSAGE008 = "Invalid Mangopay Mandate",
|
|
74
74
|
MESSAGE009 = "Invalid Status",
|
|
75
|
-
MESSAGE010 = "
|
|
75
|
+
MESSAGE010 = "Empty Meta-Order",
|
|
76
76
|
MESSAGE011 = "Empty User Address",
|
|
77
77
|
MESSAGE012 = "Empty User Legal Name",
|
|
78
78
|
MESSAGE013 = "Invalid quantities",
|
|
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
|
|
|
84
84
|
RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
|
|
85
85
|
RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
|
|
86
86
|
RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
|
|
87
|
-
RestErrorMessageEnum["MESSAGE010"] = "
|
|
87
|
+
RestErrorMessageEnum["MESSAGE010"] = "Empty Meta-Order";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -16,12 +16,48 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface MetaOrderWarning {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Id of the order linked to this warning. Note : Could be absent if all lines from a subcart were ignored.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof MetaOrderWarning
|
|
22
|
+
*/
|
|
23
|
+
id?: number;
|
|
24
|
+
/**
|
|
25
|
+
* Name of the product associated to this line
|
|
20
26
|
* @type {string}
|
|
21
27
|
* @memberof MetaOrderWarning
|
|
22
28
|
*/
|
|
23
|
-
|
|
29
|
+
productName: string;
|
|
30
|
+
/**
|
|
31
|
+
* Number of items requested by the user
|
|
32
|
+
* @type {number}
|
|
33
|
+
* @memberof MetaOrderWarning
|
|
34
|
+
*/
|
|
35
|
+
requestedQuantity: number;
|
|
36
|
+
/**
|
|
37
|
+
* Number of items finally selected for this line
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof MetaOrderWarning
|
|
40
|
+
*/
|
|
41
|
+
finalQuantity: number;
|
|
42
|
+
/**
|
|
43
|
+
* Warning cause
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof MetaOrderWarning
|
|
46
|
+
*/
|
|
47
|
+
cause: MetaOrderWarningCauseEnum;
|
|
24
48
|
}
|
|
25
49
|
export declare function MetaOrderWarningFromJSON(json: any): MetaOrderWarning;
|
|
26
50
|
export declare function MetaOrderWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetaOrderWarning;
|
|
27
51
|
export declare function MetaOrderWarningToJSON(value?: MetaOrderWarning | null): any;
|
|
52
|
+
/**
|
|
53
|
+
* @export
|
|
54
|
+
* @enum {string}
|
|
55
|
+
*/
|
|
56
|
+
export declare enum MetaOrderWarningCauseEnum {
|
|
57
|
+
EMPTYQUANTITY = "EMPTY_QUANTITY",
|
|
58
|
+
BADQUANTITY = "BAD_QUANTITY",
|
|
59
|
+
MAXQUANTITY = "MAX_QUANTITY",
|
|
60
|
+
OUTDATEDAD = "OUTDATED_AD",
|
|
61
|
+
RESTRICTEDPRODUCT = "RESTRICTED_PRODUCT",
|
|
62
|
+
FORBIDDENSELLER = "FORBIDDEN_SELLER"
|
|
63
|
+
}
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.MetaOrderWarningToJSON = exports.MetaOrderWarningFromJSONTyped = exports.MetaOrderWarningFromJSON = void 0;
|
|
16
|
+
exports.MetaOrderWarningCauseEnum = exports.MetaOrderWarningToJSON = exports.MetaOrderWarningFromJSONTyped = exports.MetaOrderWarningFromJSON = void 0;
|
|
17
|
+
var runtime_1 = require("../runtime");
|
|
17
18
|
function MetaOrderWarningFromJSON(json) {
|
|
18
19
|
return MetaOrderWarningFromJSONTyped(json, false);
|
|
19
20
|
}
|
|
@@ -23,7 +24,11 @@ function MetaOrderWarningFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
24
|
return json;
|
|
24
25
|
}
|
|
25
26
|
return {
|
|
26
|
-
'
|
|
27
|
+
'id': !(0, runtime_1.exists)(json, 'id') ? undefined : json['id'],
|
|
28
|
+
'productName': json['productName'],
|
|
29
|
+
'requestedQuantity': json['requestedQuantity'],
|
|
30
|
+
'finalQuantity': json['finalQuantity'],
|
|
31
|
+
'cause': json['cause'],
|
|
27
32
|
};
|
|
28
33
|
}
|
|
29
34
|
exports.MetaOrderWarningFromJSONTyped = MetaOrderWarningFromJSONTyped;
|
|
@@ -35,7 +40,24 @@ function MetaOrderWarningToJSON(value) {
|
|
|
35
40
|
return null;
|
|
36
41
|
}
|
|
37
42
|
return {
|
|
38
|
-
'
|
|
43
|
+
'id': value.id,
|
|
44
|
+
'productName': value.productName,
|
|
45
|
+
'requestedQuantity': value.requestedQuantity,
|
|
46
|
+
'finalQuantity': value.finalQuantity,
|
|
47
|
+
'cause': value.cause,
|
|
39
48
|
};
|
|
40
49
|
}
|
|
41
50
|
exports.MetaOrderWarningToJSON = MetaOrderWarningToJSON;
|
|
51
|
+
/**
|
|
52
|
+
* @export
|
|
53
|
+
* @enum {string}
|
|
54
|
+
*/
|
|
55
|
+
var MetaOrderWarningCauseEnum;
|
|
56
|
+
(function (MetaOrderWarningCauseEnum) {
|
|
57
|
+
MetaOrderWarningCauseEnum["EMPTYQUANTITY"] = "EMPTY_QUANTITY";
|
|
58
|
+
MetaOrderWarningCauseEnum["BADQUANTITY"] = "BAD_QUANTITY";
|
|
59
|
+
MetaOrderWarningCauseEnum["MAXQUANTITY"] = "MAX_QUANTITY";
|
|
60
|
+
MetaOrderWarningCauseEnum["OUTDATEDAD"] = "OUTDATED_AD";
|
|
61
|
+
MetaOrderWarningCauseEnum["RESTRICTEDPRODUCT"] = "RESTRICTED_PRODUCT";
|
|
62
|
+
MetaOrderWarningCauseEnum["FORBIDDENSELLER"] = "FORBIDDEN_SELLER";
|
|
63
|
+
})(MetaOrderWarningCauseEnum = exports.MetaOrderWarningCauseEnum || (exports.MetaOrderWarningCauseEnum = {}));
|
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AnyMetaOrderWarning } from './AnyMetaOrderWarning';
|
|
13
12
|
import { MetaOrder } from './MetaOrder';
|
|
13
|
+
import { MetaOrderWarning } from './MetaOrderWarning';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -25,10 +25,10 @@ export interface MetaOrderWithWarnings {
|
|
|
25
25
|
metaOrder?: MetaOrder;
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
|
-
* @type {Array<
|
|
28
|
+
* @type {Array<MetaOrderWarning>}
|
|
29
29
|
* @memberof MetaOrderWithWarnings
|
|
30
30
|
*/
|
|
31
|
-
warnings?: Array<
|
|
31
|
+
warnings?: Array<MetaOrderWarning>;
|
|
32
32
|
}
|
|
33
33
|
export declare function MetaOrderWithWarningsFromJSON(json: any): MetaOrderWithWarnings;
|
|
34
34
|
export declare function MetaOrderWithWarningsFromJSONTyped(json: any, ignoreDiscriminator: boolean): MetaOrderWithWarnings;
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.MetaOrderWithWarningsToJSON = exports.MetaOrderWithWarningsFromJSONTyped = exports.MetaOrderWithWarningsFromJSON = void 0;
|
|
17
17
|
var runtime_1 = require("../runtime");
|
|
18
|
-
var AnyMetaOrderWarning_1 = require("./AnyMetaOrderWarning");
|
|
19
18
|
var MetaOrder_1 = require("./MetaOrder");
|
|
19
|
+
var MetaOrderWarning_1 = require("./MetaOrderWarning");
|
|
20
20
|
function MetaOrderWithWarningsFromJSON(json) {
|
|
21
21
|
return MetaOrderWithWarningsFromJSONTyped(json, false);
|
|
22
22
|
}
|
|
@@ -27,7 +27,7 @@ function MetaOrderWithWarningsFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
27
27
|
}
|
|
28
28
|
return {
|
|
29
29
|
'metaOrder': !(0, runtime_1.exists)(json, 'metaOrder') ? undefined : (0, MetaOrder_1.MetaOrderFromJSON)(json['metaOrder']),
|
|
30
|
-
'warnings': !(0, runtime_1.exists)(json, 'warnings') ? undefined : (json['warnings'].map(
|
|
30
|
+
'warnings': !(0, runtime_1.exists)(json, 'warnings') ? undefined : (json['warnings'].map(MetaOrderWarning_1.MetaOrderWarningFromJSON)),
|
|
31
31
|
};
|
|
32
32
|
}
|
|
33
33
|
exports.MetaOrderWithWarningsFromJSONTyped = MetaOrderWithWarningsFromJSONTyped;
|
|
@@ -40,7 +40,7 @@ function MetaOrderWithWarningsToJSON(value) {
|
|
|
40
40
|
}
|
|
41
41
|
return {
|
|
42
42
|
'metaOrder': (0, MetaOrder_1.MetaOrderToJSON)(value.metaOrder),
|
|
43
|
-
'warnings': value.warnings === undefined ? undefined : (value.warnings.map(
|
|
43
|
+
'warnings': value.warnings === undefined ? undefined : (value.warnings.map(MetaOrderWarning_1.MetaOrderWarningToJSON)),
|
|
44
44
|
};
|
|
45
45
|
}
|
|
46
46
|
exports.MetaOrderWithWarningsToJSON = MetaOrderWithWarningsToJSON;
|