@lcdp/api-react-rest-client 2.13.4 → 2.13.5-LDS-4630-retirer-statut-test-des-clients.16346952399
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/auth/src/models/RestError.d.ts +4 -2
- package/auth/src/models/RestError.js +4 -2
- package/catalog/src/models/RestError.d.ts +4 -2
- package/catalog/src/models/RestError.js +4 -2
- package/configuration/src/models/RestError.d.ts +4 -2
- package/configuration/src/models/RestError.js +4 -2
- package/content/src/models/RestError.d.ts +4 -2
- package/content/src/models/RestError.js +4 -2
- package/favorite/src/models/RestError.d.ts +4 -2
- package/favorite/src/models/RestError.js +4 -2
- package/inventory/src/models/RestError.d.ts +4 -2
- package/inventory/src/models/RestError.js +4 -2
- package/invoice/src/models/RestError.d.ts +4 -2
- package/invoice/src/models/RestError.js +4 -2
- package/laboratory-store/src/models/RestError.d.ts +4 -2
- package/laboratory-store/src/models/RestError.js +4 -2
- package/lexicon/src/models/RestError.d.ts +4 -2
- package/lexicon/src/models/RestError.js +4 -2
- package/litigation/src/models/RestError.d.ts +4 -2
- package/litigation/src/models/RestError.js +4 -2
- package/mangopay-hook/src/models/RestError.d.ts +4 -2
- package/mangopay-hook/src/models/RestError.js +4 -2
- package/notification/src/models/RestError.d.ts +4 -2
- package/notification/src/models/RestError.js +4 -2
- package/order/src/models/RestError.d.ts +4 -2
- package/order/src/models/RestError.js +4 -2
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +4 -2
- package/product/src/models/RestError.js +4 -2
- package/pub/src/models/RestError.d.ts +4 -2
- package/pub/src/models/RestError.js +4 -2
- package/rfx/src/models/RestError.d.ts +4 -2
- package/rfx/src/models/RestError.js +4 -2
- package/sale-offer/src/models/RestError.d.ts +4 -2
- package/sale-offer/src/models/RestError.js +4 -2
- package/servant/src/models/RestError.d.ts +4 -2
- package/servant/src/models/RestError.js +4 -2
- package/shipment/src/models/RestError.d.ts +4 -2
- package/shipment/src/models/RestError.js +4 -2
- package/shopping-cart/src/models/RestError.d.ts +4 -2
- package/shopping-cart/src/models/RestError.js +4 -2
- package/shopping-cart/src/models/UserRole.d.ts +0 -1
- package/shopping-cart/src/models/UserRole.js +0 -1
- package/smuggler/src/models/RestError.d.ts +4 -2
- package/smuggler/src/models/RestError.js +4 -2
- package/statistic/src/models/RestError.d.ts +4 -2
- package/statistic/src/models/RestError.js +4 -2
- package/subscription/src/models/RestError.d.ts +4 -2
- package/subscription/src/models/RestError.js +4 -2
- package/third-party/src/models/RestError.d.ts +4 -2
- package/third-party/src/models/RestError.js +4 -2
- package/thread/src/models/AuthorLink.d.ts +14 -2
- package/thread/src/models/AuthorLink.js +6 -2
- package/ubo/src/models/RestError.d.ts +4 -2
- package/ubo/src/models/RestError.js +4 -2
- package/user/src/models/RestError.d.ts +4 -2
- package/user/src/models/RestError.js +4 -2
- package/user/src/models/User.d.ts +6 -0
- package/user/src/models/User.js +2 -0
- package/user/src/models/UserRole.d.ts +0 -1
- package/user/src/models/UserRole.js +0 -1
- package/wish/src/models/RestError.d.ts +4 -2
- package/wish/src/models/RestError.js +4 -2
|
@@ -21,7 +21,6 @@ exports.UserRoleToJSON = exports.UserRoleFromJSONTyped = exports.UserRoleFromJSO
|
|
|
21
21
|
exports.UserRole = {
|
|
22
22
|
SUBSCRIPTION_IN_PROGRESS: 'SUBSCRIPTION_IN_PROGRESS',
|
|
23
23
|
WAITING: 'WAITING',
|
|
24
|
-
TEST: 'TEST',
|
|
25
24
|
SELLER_BUYER: 'SELLER_BUYER',
|
|
26
25
|
ARCHIVED: 'ARCHIVED',
|
|
27
26
|
BLOCKED: 'BLOCKED',
|
|
@@ -16,14 +16,14 @@
|
|
|
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing
|
|
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 * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing
|
|
26
|
+
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE024` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -59,6 +59,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
|
+
readonly CODE025: "CODE025";
|
|
62
63
|
};
|
|
63
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
64
65
|
/**
|
|
@@ -90,6 +91,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
90
91
|
readonly MESSAGE022: "Disabled feature";
|
|
91
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
93
|
readonly MESSAGE024: "Image missing";
|
|
94
|
+
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
93
95
|
};
|
|
94
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
95
97
|
/**
|
|
@@ -42,7 +42,8 @@ exports.RestErrorCodeEnum = {
|
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
|
-
CODE024: 'CODE024'
|
|
45
|
+
CODE024: 'CODE024',
|
|
46
|
+
CODE025: 'CODE025'
|
|
46
47
|
};
|
|
47
48
|
/**
|
|
48
49
|
* @export
|
|
@@ -72,7 +73,8 @@ exports.RestErrorMessageEnum = {
|
|
|
72
73
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
73
74
|
MESSAGE022: 'Disabled feature',
|
|
74
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
-
MESSAGE024: 'Image missing'
|
|
76
|
+
MESSAGE024: 'Image missing',
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
76
78
|
};
|
|
77
79
|
/**
|
|
78
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing
|
|
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 * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing
|
|
26
|
+
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE024` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -59,6 +59,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
|
+
readonly CODE025: "CODE025";
|
|
62
63
|
};
|
|
63
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
64
65
|
/**
|
|
@@ -90,6 +91,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
90
91
|
readonly MESSAGE022: "Disabled feature";
|
|
91
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
93
|
readonly MESSAGE024: "Image missing";
|
|
94
|
+
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
93
95
|
};
|
|
94
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
95
97
|
/**
|
|
@@ -42,7 +42,8 @@ exports.RestErrorCodeEnum = {
|
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
|
-
CODE024: 'CODE024'
|
|
45
|
+
CODE024: 'CODE024',
|
|
46
|
+
CODE025: 'CODE025'
|
|
46
47
|
};
|
|
47
48
|
/**
|
|
48
49
|
* @export
|
|
@@ -72,7 +73,8 @@ exports.RestErrorMessageEnum = {
|
|
|
72
73
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
73
74
|
MESSAGE022: 'Disabled feature',
|
|
74
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
-
MESSAGE024: 'Image missing'
|
|
76
|
+
MESSAGE024: 'Image missing',
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
76
78
|
};
|
|
77
79
|
/**
|
|
78
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing
|
|
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 * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing
|
|
26
|
+
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE024` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -59,6 +59,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
|
+
readonly CODE025: "CODE025";
|
|
62
63
|
};
|
|
63
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
64
65
|
/**
|
|
@@ -90,6 +91,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
90
91
|
readonly MESSAGE022: "Disabled feature";
|
|
91
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
93
|
readonly MESSAGE024: "Image missing";
|
|
94
|
+
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
93
95
|
};
|
|
94
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
95
97
|
/**
|
|
@@ -42,7 +42,8 @@ exports.RestErrorCodeEnum = {
|
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
|
-
CODE024: 'CODE024'
|
|
45
|
+
CODE024: 'CODE024',
|
|
46
|
+
CODE025: 'CODE025'
|
|
46
47
|
};
|
|
47
48
|
/**
|
|
48
49
|
* @export
|
|
@@ -72,7 +73,8 @@ exports.RestErrorMessageEnum = {
|
|
|
72
73
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
73
74
|
MESSAGE022: 'Disabled feature',
|
|
74
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
-
MESSAGE024: 'Image missing'
|
|
76
|
+
MESSAGE024: 'Image missing',
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
76
78
|
};
|
|
77
79
|
/**
|
|
78
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing
|
|
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 * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing
|
|
26
|
+
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE024` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -59,6 +59,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
|
+
readonly CODE025: "CODE025";
|
|
62
63
|
};
|
|
63
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
64
65
|
/**
|
|
@@ -90,6 +91,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
90
91
|
readonly MESSAGE022: "Disabled feature";
|
|
91
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
93
|
readonly MESSAGE024: "Image missing";
|
|
94
|
+
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
93
95
|
};
|
|
94
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
95
97
|
/**
|
|
@@ -42,7 +42,8 @@ exports.RestErrorCodeEnum = {
|
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
|
-
CODE024: 'CODE024'
|
|
45
|
+
CODE024: 'CODE024',
|
|
46
|
+
CODE025: 'CODE025'
|
|
46
47
|
};
|
|
47
48
|
/**
|
|
48
49
|
* @export
|
|
@@ -72,7 +73,8 @@ exports.RestErrorMessageEnum = {
|
|
|
72
73
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
73
74
|
MESSAGE022: 'Disabled feature',
|
|
74
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
-
MESSAGE024: 'Image missing'
|
|
76
|
+
MESSAGE024: 'Image missing',
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
76
78
|
};
|
|
77
79
|
/**
|
|
78
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -32,13 +32,25 @@ export interface AuthorLink {
|
|
|
32
32
|
* @type {string}
|
|
33
33
|
* @memberof AuthorLink
|
|
34
34
|
*/
|
|
35
|
-
firstname
|
|
35
|
+
firstname?: string;
|
|
36
36
|
/**
|
|
37
37
|
* User lastname
|
|
38
38
|
* @type {string}
|
|
39
39
|
* @memberof AuthorLink
|
|
40
40
|
*/
|
|
41
|
-
lastname
|
|
41
|
+
lastname?: string;
|
|
42
|
+
/**
|
|
43
|
+
* User nickname
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AuthorLink
|
|
46
|
+
*/
|
|
47
|
+
nickname: string;
|
|
48
|
+
/**
|
|
49
|
+
* User avatar
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof AuthorLink
|
|
52
|
+
*/
|
|
53
|
+
avatar: string;
|
|
42
54
|
}
|
|
43
55
|
/**
|
|
44
56
|
* Check if a given object implements the AuthorLink interface.
|
|
@@ -22,9 +22,9 @@ function instanceOfAuthorLink(value) {
|
|
|
22
22
|
return false;
|
|
23
23
|
if (!('id' in value) || value['id'] === undefined)
|
|
24
24
|
return false;
|
|
25
|
-
if (!('
|
|
25
|
+
if (!('nickname' in value) || value['nickname'] === undefined)
|
|
26
26
|
return false;
|
|
27
|
-
if (!('
|
|
27
|
+
if (!('avatar' in value) || value['avatar'] === undefined)
|
|
28
28
|
return false;
|
|
29
29
|
return true;
|
|
30
30
|
}
|
|
@@ -42,6 +42,8 @@ function AuthorLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
42
|
'id': json['id'],
|
|
43
43
|
'firstname': json['firstname'],
|
|
44
44
|
'lastname': json['lastname'],
|
|
45
|
+
'nickname': json['nickname'],
|
|
46
|
+
'avatar': json['avatar'],
|
|
45
47
|
};
|
|
46
48
|
}
|
|
47
49
|
exports.AuthorLinkFromJSONTyped = AuthorLinkFromJSONTyped;
|
|
@@ -54,6 +56,8 @@ function AuthorLinkToJSON(value) {
|
|
|
54
56
|
'id': value['id'],
|
|
55
57
|
'firstname': value['firstname'],
|
|
56
58
|
'lastname': value['lastname'],
|
|
59
|
+
'nickname': value['nickname'],
|
|
60
|
+
'avatar': value['avatar'],
|
|
57
61
|
};
|
|
58
62
|
}
|
|
59
63
|
exports.AuthorLinkToJSON = AuthorLinkToJSON;
|
|
@@ -16,14 +16,14 @@
|
|
|
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing
|
|
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 * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing
|
|
26
|
+
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE024` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -59,6 +59,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
|
+
readonly CODE025: "CODE025";
|
|
62
63
|
};
|
|
63
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
64
65
|
/**
|
|
@@ -90,6 +91,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
90
91
|
readonly MESSAGE022: "Disabled feature";
|
|
91
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
93
|
readonly MESSAGE024: "Image missing";
|
|
94
|
+
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
93
95
|
};
|
|
94
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
95
97
|
/**
|
|
@@ -42,7 +42,8 @@ exports.RestErrorCodeEnum = {
|
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
|
-
CODE024: 'CODE024'
|
|
45
|
+
CODE024: 'CODE024',
|
|
46
|
+
CODE025: 'CODE025'
|
|
46
47
|
};
|
|
47
48
|
/**
|
|
48
49
|
* @export
|
|
@@ -72,7 +73,8 @@ exports.RestErrorMessageEnum = {
|
|
|
72
73
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
73
74
|
MESSAGE022: 'Disabled feature',
|
|
74
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
-
MESSAGE024: 'Image missing'
|
|
76
|
+
MESSAGE024: 'Image missing',
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
76
78
|
};
|
|
77
79
|
/**
|
|
78
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -16,14 +16,14 @@
|
|
|
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing
|
|
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 * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing
|
|
26
|
+
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE024` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -59,6 +59,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
|
+
readonly CODE025: "CODE025";
|
|
62
63
|
};
|
|
63
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
64
65
|
/**
|
|
@@ -90,6 +91,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
90
91
|
readonly MESSAGE022: "Disabled feature";
|
|
91
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
93
|
readonly MESSAGE024: "Image missing";
|
|
94
|
+
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
93
95
|
};
|
|
94
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
95
97
|
/**
|
|
@@ -42,7 +42,8 @@ exports.RestErrorCodeEnum = {
|
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
|
-
CODE024: 'CODE024'
|
|
45
|
+
CODE024: 'CODE024',
|
|
46
|
+
CODE025: 'CODE025'
|
|
46
47
|
};
|
|
47
48
|
/**
|
|
48
49
|
* @export
|
|
@@ -72,7 +73,8 @@ exports.RestErrorMessageEnum = {
|
|
|
72
73
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
73
74
|
MESSAGE022: 'Disabled feature',
|
|
74
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
-
MESSAGE024: 'Image missing'
|
|
76
|
+
MESSAGE024: 'Image missing',
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
76
78
|
};
|
|
77
79
|
/**
|
|
78
80
|
* Check if a given object implements the RestError interface.
|
|
@@ -313,6 +313,12 @@ export interface User {
|
|
|
313
313
|
* @memberof User
|
|
314
314
|
*/
|
|
315
315
|
scaEnrollmentStatus?: ScaEnrollmentStatus;
|
|
316
|
+
/**
|
|
317
|
+
* User avatar
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof User
|
|
320
|
+
*/
|
|
321
|
+
avatar?: string;
|
|
316
322
|
}
|
|
317
323
|
/**
|
|
318
324
|
* Check if a given object implements the User interface.
|
package/user/src/models/User.js
CHANGED
|
@@ -110,6 +110,7 @@ function UserFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
110
110
|
'badges': json['badges'],
|
|
111
111
|
'statistic': (json['statistic'] === null || json['statistic'] === undefined) ? json['statistic'] : (0, UserStatisticLink_1.UserStatisticLinkFromJSON)(json['statistic']),
|
|
112
112
|
'scaEnrollmentStatus': (json['scaEnrollmentStatus'] === null || json['scaEnrollmentStatus'] === undefined) ? json['scaEnrollmentStatus'] : (0, ScaEnrollmentStatus_1.ScaEnrollmentStatusFromJSON)(json['scaEnrollmentStatus']),
|
|
113
|
+
'avatar': json['avatar'],
|
|
113
114
|
};
|
|
114
115
|
}
|
|
115
116
|
exports.UserFromJSONTyped = UserFromJSONTyped;
|
|
@@ -165,6 +166,7 @@ function UserToJSON(value) {
|
|
|
165
166
|
'badges': value['badges'],
|
|
166
167
|
'statistic': (0, UserStatisticLink_1.UserStatisticLinkToJSON)(value['statistic']),
|
|
167
168
|
'scaEnrollmentStatus': (0, ScaEnrollmentStatus_1.ScaEnrollmentStatusToJSON)(value['scaEnrollmentStatus']),
|
|
169
|
+
'avatar': value['avatar'],
|
|
168
170
|
};
|
|
169
171
|
}
|
|
170
172
|
exports.UserToJSON = UserToJSON;
|
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
export declare const UserRole: {
|
|
17
17
|
readonly SUBSCRIPTION_IN_PROGRESS: "SUBSCRIPTION_IN_PROGRESS";
|
|
18
18
|
readonly WAITING: "WAITING";
|
|
19
|
-
readonly TEST: "TEST";
|
|
20
19
|
readonly SELLER_BUYER: "SELLER_BUYER";
|
|
21
20
|
readonly ARCHIVED: "ARCHIVED";
|
|
22
21
|
readonly BLOCKED: "BLOCKED";
|
|
@@ -21,7 +21,6 @@ exports.UserRoleToJSON = exports.UserRoleFromJSONTyped = exports.UserRoleFromJSO
|
|
|
21
21
|
exports.UserRole = {
|
|
22
22
|
SUBSCRIPTION_IN_PROGRESS: 'SUBSCRIPTION_IN_PROGRESS',
|
|
23
23
|
WAITING: 'WAITING',
|
|
24
|
-
TEST: 'TEST',
|
|
25
24
|
SELLER_BUYER: 'SELLER_BUYER',
|
|
26
25
|
ARCHIVED: 'ARCHIVED',
|
|
27
26
|
BLOCKED: 'BLOCKED',
|
|
@@ -16,14 +16,14 @@
|
|
|
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing
|
|
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 * `CODE022` - Disabled feature * `CODE023` - Invalid Sca Enrollment status * `CODE024` - Image missing * `CODE025` - Invalid International Bank Account Number
|
|
20
20
|
*
|
|
21
21
|
* @type {string}
|
|
22
22
|
* @memberof RestError
|
|
23
23
|
*/
|
|
24
24
|
code: RestErrorCodeEnum;
|
|
25
25
|
/**
|
|
26
|
-
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing
|
|
26
|
+
* 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 * `MESSAGE022` - Disabled feature * `MESSAGE023` - Invalid Sca Enrollment status * `MESSAGE024` - Image missing * `MESSAGE024` - Invalid International Bank Account Number
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -59,6 +59,7 @@ export declare const RestErrorCodeEnum: {
|
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
60
|
readonly CODE023: "CODE023";
|
|
61
61
|
readonly CODE024: "CODE024";
|
|
62
|
+
readonly CODE025: "CODE025";
|
|
62
63
|
};
|
|
63
64
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
64
65
|
/**
|
|
@@ -90,6 +91,7 @@ export declare const RestErrorMessageEnum: {
|
|
|
90
91
|
readonly MESSAGE022: "Disabled feature";
|
|
91
92
|
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
93
|
readonly MESSAGE024: "Image missing";
|
|
94
|
+
readonly MESSAGE025: "Invalid International Bank Account Number";
|
|
93
95
|
};
|
|
94
96
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
95
97
|
/**
|
|
@@ -42,7 +42,8 @@ exports.RestErrorCodeEnum = {
|
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
43
|
CODE022: 'CODE022',
|
|
44
44
|
CODE023: 'CODE023',
|
|
45
|
-
CODE024: 'CODE024'
|
|
45
|
+
CODE024: 'CODE024',
|
|
46
|
+
CODE025: 'CODE025'
|
|
46
47
|
};
|
|
47
48
|
/**
|
|
48
49
|
* @export
|
|
@@ -72,7 +73,8 @@ exports.RestErrorMessageEnum = {
|
|
|
72
73
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
73
74
|
MESSAGE022: 'Disabled feature',
|
|
74
75
|
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
-
MESSAGE024: 'Image missing'
|
|
76
|
+
MESSAGE024: 'Image missing',
|
|
77
|
+
MESSAGE025: 'Invalid International Bank Account Number'
|
|
76
78
|
};
|
|
77
79
|
/**
|
|
78
80
|
* Check if a given object implements the RestError interface.
|