@lcdp/api-react-rest-client 2.1.4-develop.5092420418 → 2.1.4
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/banking-operation/src/models/OrderPaymentWallets.d.ts +2 -2
- 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/Invoice.d.ts +2 -2
- 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/magic-cart/src/models/ProductLink.d.ts +0 -7
- package/magic-cart/src/models/ProductLink.js +2 -3
- package/magic-cart/src/models/ProductLinkAllOf.d.ts +0 -7
- package/magic-cart/src/models/ProductLinkAllOf.js +0 -3
- package/magic-cart/src/models/index.d.ts +0 -1
- package/magic-cart/src/models/index.js +0 -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/Order.d.ts +0 -14
- package/order/src/models/Order.js +0 -6
- package/order/src/models/ProductLink.d.ts +0 -7
- package/order/src/models/ProductLink.js +2 -3
- package/order/src/models/ProductLinkAllOf.d.ts +0 -7
- package/order/src/models/ProductLinkAllOf.js +0 -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 -3
- package/order/src/models/index.js +0 -3
- package/package.json +1 -1
- package/product/src/models/Product.d.ts +2 -3
- package/product/src/models/Product.js +2 -3
- package/product/src/models/ProductCreationOrUpdateParameters.d.ts +2 -3
- package/product/src/models/ProductCreationOrUpdateParameters.js +2 -3
- package/product/src/models/RestError.d.ts +3 -3
- package/product/src/models/RestError.js +1 -1
- package/product/src/models/index.d.ts +0 -1
- package/product/src/models/index.js +0 -1
- package/pub/src/models/RestError.d.ts +3 -3
- package/pub/src/models/RestError.js +1 -1
- package/recommendation/src/models/FavoriteProductRecommendation.d.ts +2 -2
- package/recommendation/src/models/ProductRecommendation.d.ts +2 -2
- 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/ProductLink.d.ts +4 -11
- package/shopping-cart/src/models/ProductLink.js +3 -3
- package/shopping-cart/src/models/ProductLinkAllOf.d.ts +4 -11
- package/shopping-cart/src/models/ProductLinkAllOf.js +5 -7
- package/shopping-cart/src/models/RestError.d.ts +3 -3
- package/shopping-cart/src/models/RestError.js +1 -1
- package/shopping-cart/src/models/index.d.ts +0 -1
- package/shopping-cart/src/models/index.js +0 -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/magic-cart/src/models/ProductStorageType.d.ts +0 -25
- package/magic-cart/src/models/ProductStorageType.js +0 -40
- package/order/src/models/OrderJournal.d.ts +0 -27
- package/order/src/models/OrderJournal.js +0 -41
- package/order/src/models/OrderStorageType.d.ts +0 -25
- package/order/src/models/OrderStorageType.js +0 -40
- package/order/src/models/ProductStorageType.d.ts +0 -25
- package/order/src/models/ProductStorageType.js +0 -40
- package/product/src/models/ProductStorageType.d.ts +0 -25
- package/product/src/models/ProductStorageType.js +0 -40
- package/shopping-cart/src/models/ProductStorageType.d.ts +0 -25
- package/shopping-cart/src/models/ProductStorageType.js +0 -40
|
@@ -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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -17,13 +17,13 @@ import { Wallet } from './Wallet';
|
|
|
17
17
|
*/
|
|
18
18
|
export interface OrderPaymentWallets {
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* Wallet used by the buyer for this order
|
|
21
21
|
* @type {Wallet}
|
|
22
22
|
* @memberof OrderPaymentWallets
|
|
23
23
|
*/
|
|
24
24
|
buyer?: Wallet | null;
|
|
25
25
|
/**
|
|
26
|
-
*
|
|
26
|
+
* Wallet used by the seller for this order
|
|
27
27
|
* @type {Wallet}
|
|
28
28
|
* @memberof OrderPaymentWallets
|
|
29
29
|
*/
|
|
@@ -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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
import { InvoiceType } from './InvoiceType';
|
|
13
13
|
import { UserLink } from './UserLink';
|
|
14
14
|
/**
|
|
15
|
-
*
|
|
15
|
+
*
|
|
16
16
|
* @export
|
|
17
17
|
* @interface Invoice
|
|
18
18
|
*/
|
|
@@ -30,7 +30,7 @@ export interface Invoice {
|
|
|
30
30
|
*/
|
|
31
31
|
reference: string;
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Note: There is currently no owner for invoice type \'EXTERNAL\'.
|
|
34
34
|
* @type {UserLink}
|
|
35
35
|
* @memberof Invoice
|
|
36
36
|
*/
|
|
@@ -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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|
|
@@ -11,7 +11,6 @@
|
|
|
11
11
|
*/
|
|
12
12
|
import { Barcodes } from './Barcodes';
|
|
13
13
|
import { HttpLink } from './HttpLink';
|
|
14
|
-
import { ProductStorageType } from './ProductStorageType';
|
|
15
14
|
/**
|
|
16
15
|
*
|
|
17
16
|
* @export
|
|
@@ -36,12 +35,6 @@ export interface ProductLink extends HttpLink {
|
|
|
36
35
|
* @memberof ProductLink
|
|
37
36
|
*/
|
|
38
37
|
barcodes: Barcodes;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @type {ProductStorageType}
|
|
42
|
-
* @memberof ProductLink
|
|
43
|
-
*/
|
|
44
|
-
storageType: ProductStorageType | null;
|
|
45
38
|
}
|
|
46
39
|
export declare function ProductLinkFromJSON(json: any): ProductLink;
|
|
47
40
|
export declare function ProductLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLink;
|
|
@@ -27,7 +27,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
27
27
|
exports.ProductLinkToJSON = exports.ProductLinkFromJSONTyped = exports.ProductLinkFromJSON = void 0;
|
|
28
28
|
var Barcodes_1 = require("./Barcodes");
|
|
29
29
|
var HttpLink_1 = require("./HttpLink");
|
|
30
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
31
30
|
function ProductLinkFromJSON(json) {
|
|
32
31
|
return ProductLinkFromJSONTyped(json, false);
|
|
33
32
|
}
|
|
@@ -36,7 +35,7 @@ function ProductLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
36
35
|
if ((json === undefined) || (json === null)) {
|
|
37
36
|
return json;
|
|
38
37
|
}
|
|
39
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': json['id'], 'name': json['name'], 'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes'])
|
|
38
|
+
return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': json['id'], 'name': json['name'], 'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']) });
|
|
40
39
|
}
|
|
41
40
|
exports.ProductLinkFromJSONTyped = ProductLinkFromJSONTyped;
|
|
42
41
|
function ProductLinkToJSON(value) {
|
|
@@ -46,6 +45,6 @@ function ProductLinkToJSON(value) {
|
|
|
46
45
|
if (value === null) {
|
|
47
46
|
return null;
|
|
48
47
|
}
|
|
49
|
-
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'name': value.name, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes)
|
|
48
|
+
return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'name': value.name, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes) });
|
|
50
49
|
}
|
|
51
50
|
exports.ProductLinkToJSON = ProductLinkToJSON;
|
|
@@ -10,7 +10,6 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { Barcodes } from './Barcodes';
|
|
13
|
-
import { ProductStorageType } from './ProductStorageType';
|
|
14
13
|
/**
|
|
15
14
|
*
|
|
16
15
|
* @export
|
|
@@ -35,12 +34,6 @@ export interface ProductLinkAllOf {
|
|
|
35
34
|
* @memberof ProductLinkAllOf
|
|
36
35
|
*/
|
|
37
36
|
barcodes: Barcodes;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @type {ProductStorageType}
|
|
41
|
-
* @memberof ProductLinkAllOf
|
|
42
|
-
*/
|
|
43
|
-
storageType: ProductStorageType | null;
|
|
44
37
|
}
|
|
45
38
|
export declare function ProductLinkAllOfFromJSON(json: any): ProductLinkAllOf;
|
|
46
39
|
export declare function ProductLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLinkAllOf;
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ProductLinkAllOfToJSON = exports.ProductLinkAllOfFromJSONTyped = exports.ProductLinkAllOfFromJSON = void 0;
|
|
17
17
|
var Barcodes_1 = require("./Barcodes");
|
|
18
|
-
var ProductStorageType_1 = require("./ProductStorageType");
|
|
19
18
|
function ProductLinkAllOfFromJSON(json) {
|
|
20
19
|
return ProductLinkAllOfFromJSONTyped(json, false);
|
|
21
20
|
}
|
|
@@ -28,7 +27,6 @@ function ProductLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
28
27
|
'id': json['id'],
|
|
29
28
|
'name': json['name'],
|
|
30
29
|
'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
|
|
31
|
-
'storageType': (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
|
|
32
30
|
};
|
|
33
31
|
}
|
|
34
32
|
exports.ProductLinkAllOfFromJSONTyped = ProductLinkAllOfFromJSONTyped;
|
|
@@ -43,7 +41,6 @@ function ProductLinkAllOfToJSON(value) {
|
|
|
43
41
|
'id': value.id,
|
|
44
42
|
'name': value.name,
|
|
45
43
|
'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
|
|
46
|
-
'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value.storageType),
|
|
47
44
|
};
|
|
48
45
|
}
|
|
49
46
|
exports.ProductLinkAllOfToJSON = ProductLinkAllOfToJSON;
|
|
@@ -12,7 +12,6 @@ export * from './IdentifiedRangeDistributionMode';
|
|
|
12
12
|
export * from './IdentifiedRangeDistributionModeAllOf';
|
|
13
13
|
export * from './ProductLink';
|
|
14
14
|
export * from './ProductLinkAllOf';
|
|
15
|
-
export * from './ProductStorageType';
|
|
16
15
|
export * from './QuotationDistributionMode';
|
|
17
16
|
export * from './QuotationDistributionModeAllOf';
|
|
18
17
|
export * from './SaleOfferLink';
|
|
@@ -28,7 +28,6 @@ __exportStar(require("./IdentifiedRangeDistributionMode"), exports);
|
|
|
28
28
|
__exportStar(require("./IdentifiedRangeDistributionModeAllOf"), exports);
|
|
29
29
|
__exportStar(require("./ProductLink"), exports);
|
|
30
30
|
__exportStar(require("./ProductLinkAllOf"), exports);
|
|
31
|
-
__exportStar(require("./ProductStorageType"), exports);
|
|
32
31
|
__exportStar(require("./QuotationDistributionMode"), exports);
|
|
33
32
|
__exportStar(require("./QuotationDistributionModeAllOf"), exports);
|
|
34
33
|
__exportStar(require("./SaleOfferLink"), exports);
|
|
@@ -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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
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` - FREE * `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` - FREE * `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 = "FREE",
|
|
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"] = "FREE";
|
|
88
88
|
RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
|
|
89
89
|
RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
|
|
90
90
|
RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
|