@lcdp/api-react-rest-client 2.6.8-develop.9095887712 → 2.6.8-develop.9177299221
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 +6 -4
- package/auth/src/models/RestError.js +2 -0
- package/catalog/src/models/RestError.d.ts +6 -4
- package/catalog/src/models/RestError.js +2 -0
- package/configuration/src/models/RestError.d.ts +6 -4
- package/configuration/src/models/RestError.js +2 -0
- package/content/src/models/RestError.d.ts +6 -4
- package/content/src/models/RestError.js +2 -0
- package/favorite/src/models/RestError.d.ts +6 -4
- package/favorite/src/models/RestError.js +2 -0
- package/inventory/src/models/RestError.d.ts +6 -4
- package/inventory/src/models/RestError.js +2 -0
- package/invoice/src/models/RestError.d.ts +6 -4
- package/invoice/src/models/RestError.js +2 -0
- package/laboratory-store/src/models/RestError.d.ts +6 -4
- package/laboratory-store/src/models/RestError.js +2 -0
- package/lexicon/src/models/RestError.d.ts +6 -4
- package/lexicon/src/models/RestError.js +2 -0
- package/litigation/src/models/RestError.d.ts +6 -4
- package/litigation/src/models/RestError.js +2 -0
- package/mangopay-hook/src/models/RestError.d.ts +6 -4
- package/mangopay-hook/src/models/RestError.js +2 -0
- package/notification/src/models/RestError.d.ts +6 -4
- package/notification/src/models/RestError.js +2 -0
- package/order/src/models/RestError.d.ts +6 -4
- package/order/src/models/RestError.js +2 -0
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +6 -4
- package/product/src/models/RestError.js +2 -0
- package/pub/src/models/RestError.d.ts +6 -4
- package/pub/src/models/RestError.js +2 -0
- package/rfx/src/apis/index.d.ts +0 -1
- package/rfx/src/apis/index.js +0 -1
- package/rfx/src/models/RestError.d.ts +6 -4
- package/rfx/src/models/RestError.js +2 -0
- package/sale-offer/src/models/RestError.d.ts +6 -4
- package/sale-offer/src/models/RestError.js +2 -0
- package/servant/src/models/RestError.d.ts +6 -4
- package/servant/src/models/RestError.js +2 -0
- package/shipment/src/models/RestError.d.ts +6 -4
- package/shipment/src/models/RestError.js +2 -0
- package/shopping-cart/src/models/RestError.d.ts +6 -4
- package/shopping-cart/src/models/RestError.js +2 -0
- package/statistic/src/models/RestError.d.ts +6 -4
- package/statistic/src/models/RestError.js +2 -0
- package/subscription/src/apis/ManageSubscriptionApi.d.ts +2 -2
- package/subscription/src/apis/ManageSubscriptionApi.js +2 -2
- package/subscription/src/models/RestError.d.ts +6 -4
- package/subscription/src/models/RestError.js +2 -0
- package/third-party/src/models/RestError.d.ts +6 -4
- package/third-party/src/models/RestError.js +2 -0
- package/ubo/src/models/RestError.d.ts +6 -4
- package/ubo/src/models/RestError.js +2 -0
- package/user/src/models/RestError.d.ts +6 -4
- package/user/src/models/RestError.js +2 -0
- package/wish/src/models/RestError.d.ts +6 -4
- package/wish/src/models/RestError.js +2 -0
- package/rfx/src/apis/ManageRfoApi.d.ts +0 -31
- package/rfx/src/apis/ManageRfoApi.js +0 -149
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
package/package.json
CHANGED
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
package/rfx/src/apis/index.d.ts
CHANGED
package/rfx/src/apis/index.js
CHANGED
|
@@ -16,6 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./ManageRfiApi"), exports);
|
|
18
18
|
__exportStar(require("./ManageRfilApi"), exports);
|
|
19
|
-
__exportStar(require("./ManageRfoApi"), exports);
|
|
20
19
|
__exportStar(require("./ManageRfoiApi"), exports);
|
|
21
20
|
__exportStar(require("./SearchRfoiApi"), 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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -16,13 +16,13 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface RestError {
|
|
18
18
|
/**
|
|
19
|
-
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
|
|
19
|
+
* Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
|
|
20
20
|
* @type {string}
|
|
21
21
|
* @memberof RestError
|
|
22
22
|
*/
|
|
23
23
|
code: RestErrorCodeEnum;
|
|
24
24
|
/**
|
|
25
|
-
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
|
|
25
|
+
* Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
|
|
26
26
|
* @type {string}
|
|
27
27
|
* @memberof RestError
|
|
28
28
|
*/
|
|
@@ -56,7 +56,8 @@ export declare enum RestErrorCodeEnum {
|
|
|
56
56
|
CODE017 = "CODE017",
|
|
57
57
|
CODE018 = "CODE018",
|
|
58
58
|
CODE019 = "CODE019",
|
|
59
|
-
CODE020 = "CODE020"
|
|
59
|
+
CODE020 = "CODE020",
|
|
60
|
+
CODE021 = "CODE021"
|
|
60
61
|
}
|
|
61
62
|
/**
|
|
62
63
|
* @export
|
|
@@ -83,5 +84,6 @@ export declare enum RestErrorMessageEnum {
|
|
|
83
84
|
MESSAGE017 = "Batch is forbidden for sale",
|
|
84
85
|
MESSAGE018 = "Trial already used",
|
|
85
86
|
MESSAGE019 = "Unable to generate session from disposableToken for admin users",
|
|
86
|
-
MESSAGE020 = "ETag do not match"
|
|
87
|
+
MESSAGE020 = "ETag do not match",
|
|
88
|
+
MESSAGE021 = "Missing informations for Offisante subscription"
|
|
87
89
|
}
|
|
@@ -68,6 +68,7 @@ var RestErrorCodeEnum;
|
|
|
68
68
|
RestErrorCodeEnum["CODE018"] = "CODE018";
|
|
69
69
|
RestErrorCodeEnum["CODE019"] = "CODE019";
|
|
70
70
|
RestErrorCodeEnum["CODE020"] = "CODE020";
|
|
71
|
+
RestErrorCodeEnum["CODE021"] = "CODE021";
|
|
71
72
|
})(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
|
|
72
73
|
/**
|
|
73
74
|
* @export
|
|
@@ -96,4 +97,5 @@ var RestErrorMessageEnum;
|
|
|
96
97
|
RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
|
|
97
98
|
RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
|
|
98
99
|
RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
|
|
100
|
+
RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
|
|
99
101
|
})(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
|
|
@@ -26,12 +26,12 @@ export interface UpdateSubscriptionRequest {
|
|
|
26
26
|
*/
|
|
27
27
|
export declare class ManageSubscriptionApi extends BaseAPI {
|
|
28
28
|
/**
|
|
29
|
-
* Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
|
|
29
|
+
* Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. - If user have offisante status \'NOT_SET\' : - User email is filled - User firstname is filled - User lastname is filled - User company SIRET is filled - User Company CIP is filled - User Company finess is filled - User Company management software is filled - User Company location type is filled - User Company group is filled # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
|
|
30
30
|
* Subscribe to a plan
|
|
31
31
|
*/
|
|
32
32
|
createSubscriptionRaw(requestParameters: CreateSubscriptionRequest): Promise<ApiResponse<Subscription | BlobWithMeta>>;
|
|
33
33
|
/**
|
|
34
|
-
* Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
|
|
34
|
+
* Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. - If user have offisante status \'NOT_SET\' : - User email is filled - User firstname is filled - User lastname is filled - User company SIRET is filled - User Company CIP is filled - User Company finess is filled - User Company management software is filled - User Company location type is filled - User Company group is filled # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
|
|
35
35
|
* Subscribe to a plan
|
|
36
36
|
*/
|
|
37
37
|
createSubscription(requestParameters: CreateSubscriptionRequest): Promise<Subscription | BlobWithMeta>;
|
|
@@ -76,7 +76,7 @@ var ManageSubscriptionApi = /** @class */ (function (_super) {
|
|
|
76
76
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
77
77
|
}
|
|
78
78
|
/**
|
|
79
|
-
* Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
|
|
79
|
+
* Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. - If user have offisante status \'NOT_SET\' : - User email is filled - User firstname is filled - User lastname is filled - User company SIRET is filled - User Company CIP is filled - User Company finess is filled - User Company management software is filled - User Company location type is filled - User Company group is filled # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
|
|
80
80
|
* Subscribe to a plan
|
|
81
81
|
*/
|
|
82
82
|
ManageSubscriptionApi.prototype.createSubscriptionRaw = function (requestParameters) {
|
|
@@ -143,7 +143,7 @@ var ManageSubscriptionApi = /** @class */ (function (_super) {
|
|
|
143
143
|
});
|
|
144
144
|
};
|
|
145
145
|
/**
|
|
146
|
-
* Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
|
|
146
|
+
* Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. - If user have offisante status \'NOT_SET\' : - User email is filled - User firstname is filled - User lastname is filled - User company SIRET is filled - User Company CIP is filled - User Company finess is filled - User Company management software is filled - User Company location type is filled - User Company group is filled # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
|
|
147
147
|
* Subscribe to a plan
|
|
148
148
|
*/
|
|
149
149
|
ManageSubscriptionApi.prototype.createSubscription = function (requestParameters) {
|