@lcdp/api-react-rest-client 2.1.3-develop.4627848299 → 2.1.4-LDS-2965-api---ajouter-type-de-transport.4629735793
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/Order.d.ts +7 -0
- package/order/src/models/Order.js +3 -0
- package/order/src/models/OrderStorageType.d.ts +25 -0
- package/order/src/models/OrderStorageType.js +40 -0
- package/order/src/models/ProductLink.d.ts +7 -0
- package/order/src/models/ProductLink.js +3 -2
- package/order/src/models/ProductLinkAllOf.d.ts +7 -0
- package/order/src/models/ProductLinkAllOf.js +3 -0
- package/order/src/models/ProductStorageType.d.ts +25 -0
- package/order/src/models/ProductStorageType.js +40 -0
- package/order/src/models/RestError.d.ts +3 -3
- package/order/src/models/RestError.js +1 -1
- package/order/src/models/index.d.ts +2 -5
- package/order/src/models/index.js +2 -5
- package/package.json +1 -1
- package/product/src/models/Product.d.ts +3 -2
- package/product/src/models/Product.js +3 -2
- package/product/src/models/ProductCreationOrUpdateParameters.d.ts +3 -2
- package/product/src/models/ProductCreationOrUpdateParameters.js +3 -2
- package/product/src/models/ProductStorageType.d.ts +25 -0
- package/product/src/models/ProductStorageType.js +40 -0
- package/product/src/models/RestError.d.ts +3 -3
- package/product/src/models/RestError.js +1 -1
- package/product/src/models/index.d.ts +1 -0
- package/product/src/models/index.js +1 -0
- 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";
|
|
@@ -1,25 +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
|
-
import { OrderItemWarning } from './OrderItemWarning';
|
|
13
|
-
import { OrderWarning } from './OrderWarning';
|
|
14
|
-
/**
|
|
15
|
-
* @type AnyMetaOrderWarning
|
|
16
|
-
* @export
|
|
17
|
-
*/
|
|
18
|
-
export declare type AnyMetaOrderWarning = {
|
|
19
|
-
type: 'ORDER';
|
|
20
|
-
} & OrderWarning | {
|
|
21
|
-
type: 'ORDER_ITEM';
|
|
22
|
-
} & OrderItemWarning;
|
|
23
|
-
export declare function AnyMetaOrderWarningFromJSON(json: any): AnyMetaOrderWarning;
|
|
24
|
-
export declare function AnyMetaOrderWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnyMetaOrderWarning;
|
|
25
|
-
export declare function AnyMetaOrderWarningToJSON(value?: AnyMetaOrderWarning | null): any;
|
|
@@ -1,64 +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
|
-
var __assign = (this && this.__assign) || function () {
|
|
16
|
-
__assign = Object.assign || function(t) {
|
|
17
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
18
|
-
s = arguments[i];
|
|
19
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
-
t[p] = s[p];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
|
-
return __assign.apply(this, arguments);
|
|
25
|
-
};
|
|
26
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.AnyMetaOrderWarningToJSON = exports.AnyMetaOrderWarningFromJSONTyped = exports.AnyMetaOrderWarningFromJSON = void 0;
|
|
28
|
-
var OrderItemWarning_1 = require("./OrderItemWarning");
|
|
29
|
-
var OrderWarning_1 = require("./OrderWarning");
|
|
30
|
-
function AnyMetaOrderWarningFromJSON(json) {
|
|
31
|
-
return AnyMetaOrderWarningFromJSONTyped(json, false);
|
|
32
|
-
}
|
|
33
|
-
exports.AnyMetaOrderWarningFromJSON = AnyMetaOrderWarningFromJSON;
|
|
34
|
-
function AnyMetaOrderWarningFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
-
if ((json === undefined) || (json === null)) {
|
|
36
|
-
return json;
|
|
37
|
-
}
|
|
38
|
-
switch (json['type']) {
|
|
39
|
-
case 'ORDER':
|
|
40
|
-
return __assign(__assign({}, (0, OrderWarning_1.OrderWarningFromJSONTyped)(json, true)), { type: 'ORDER' });
|
|
41
|
-
case 'ORDER_ITEM':
|
|
42
|
-
return __assign(__assign({}, (0, OrderItemWarning_1.OrderItemWarningFromJSONTyped)(json, true)), { type: 'ORDER_ITEM' });
|
|
43
|
-
default:
|
|
44
|
-
throw new Error("No variant of AnyMetaOrderWarning exists with 'type=".concat(json['type'], "'"));
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
exports.AnyMetaOrderWarningFromJSONTyped = AnyMetaOrderWarningFromJSONTyped;
|
|
48
|
-
function AnyMetaOrderWarningToJSON(value) {
|
|
49
|
-
if (value === undefined) {
|
|
50
|
-
return undefined;
|
|
51
|
-
}
|
|
52
|
-
if (value === null) {
|
|
53
|
-
return null;
|
|
54
|
-
}
|
|
55
|
-
switch (value['type']) {
|
|
56
|
-
case 'ORDER':
|
|
57
|
-
return (0, OrderWarning_1.OrderWarningToJSON)(value);
|
|
58
|
-
case 'ORDER_ITEM':
|
|
59
|
-
return (0, OrderItemWarning_1.OrderItemWarningToJSON)(value);
|
|
60
|
-
default:
|
|
61
|
-
throw new Error("No variant of AnyMetaOrderWarning exists with 'type=".concat(value['type'], "'"));
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
exports.AnyMetaOrderWarningToJSON = AnyMetaOrderWarningToJSON;
|
|
@@ -1,63 +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
|
-
import { MetaOrderWarning } from './MetaOrderWarning';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface OrderItemWarning
|
|
17
|
-
*/
|
|
18
|
-
export interface OrderItemWarning extends MetaOrderWarning {
|
|
19
|
-
/**
|
|
20
|
-
* Id of the order linked to this warning. Note : Could be absent if all lines from a subcart were ignored.
|
|
21
|
-
* @type {number}
|
|
22
|
-
* @memberof OrderItemWarning
|
|
23
|
-
*/
|
|
24
|
-
orderId?: number;
|
|
25
|
-
/**
|
|
26
|
-
* Name of the product associated to this line
|
|
27
|
-
* @type {string}
|
|
28
|
-
* @memberof OrderItemWarning
|
|
29
|
-
*/
|
|
30
|
-
productName: string;
|
|
31
|
-
/**
|
|
32
|
-
* Number of items requested by the user
|
|
33
|
-
* @type {number}
|
|
34
|
-
* @memberof OrderItemWarning
|
|
35
|
-
*/
|
|
36
|
-
requestedQuantity: number;
|
|
37
|
-
/**
|
|
38
|
-
* Number of items finally selected for this line
|
|
39
|
-
* @type {number}
|
|
40
|
-
* @memberof OrderItemWarning
|
|
41
|
-
*/
|
|
42
|
-
finalQuantity: number;
|
|
43
|
-
/**
|
|
44
|
-
* Warning cause
|
|
45
|
-
* @type {string}
|
|
46
|
-
* @memberof OrderItemWarning
|
|
47
|
-
*/
|
|
48
|
-
cause: OrderItemWarningCauseEnum;
|
|
49
|
-
}
|
|
50
|
-
export declare function OrderItemWarningFromJSON(json: any): OrderItemWarning;
|
|
51
|
-
export declare function OrderItemWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderItemWarning;
|
|
52
|
-
export declare function OrderItemWarningToJSON(value?: OrderItemWarning | null): any;
|
|
53
|
-
/**
|
|
54
|
-
* @export
|
|
55
|
-
* @enum {string}
|
|
56
|
-
*/
|
|
57
|
-
export declare enum OrderItemWarningCauseEnum {
|
|
58
|
-
EMPTYQUANTITY = "EMPTY_QUANTITY",
|
|
59
|
-
BADQUANTITY = "BAD_QUANTITY",
|
|
60
|
-
MAXQUANTITY = "MAX_QUANTITY",
|
|
61
|
-
OUTDATEDAD = "OUTDATED_AD",
|
|
62
|
-
RESTRICTEDPRODUCT = "RESTRICTED_PRODUCT"
|
|
63
|
-
}
|