@lcdp/api-react-rest-client 2.13.3 → 2.13.4-LDS-4624-rdadmin-couleur-icone-commentai.16146100337
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 -2
- package/auth/src/models/RestError.js +6 -2
- package/catalog/src/models/RestError.d.ts +6 -2
- package/catalog/src/models/RestError.js +6 -2
- package/configuration/src/models/RestError.d.ts +6 -2
- package/configuration/src/models/RestError.js +6 -2
- package/content/src/models/RestError.d.ts +6 -2
- package/content/src/models/RestError.js +6 -2
- package/favorite/src/models/RestError.d.ts +6 -2
- package/favorite/src/models/RestError.js +6 -2
- package/inventory/src/apis/ManageOfferSynchronizationApi.d.ts +28 -0
- package/{user/src/apis/ManageUserRoleApi.js → inventory/src/apis/ManageOfferSynchronizationApi.js} +20 -41
- package/inventory/src/apis/SearchInventoryApi.d.ts +2 -2
- package/inventory/src/apis/SearchInventoryApi.js +4 -4
- package/inventory/src/apis/index.d.ts +1 -0
- package/inventory/src/apis/index.js +1 -0
- package/inventory/src/models/RestError.d.ts +6 -2
- package/inventory/src/models/RestError.js +6 -2
- package/invoice/src/models/RestError.d.ts +6 -2
- package/invoice/src/models/RestError.js +6 -2
- package/laboratory-store/src/models/RestError.d.ts +6 -2
- package/laboratory-store/src/models/RestError.js +6 -2
- package/lexicon/src/models/RestError.d.ts +6 -2
- package/lexicon/src/models/RestError.js +6 -2
- package/litigation/src/models/RestError.d.ts +6 -2
- package/litigation/src/models/RestError.js +6 -2
- package/mangopay-hook/src/models/RestError.d.ts +6 -2
- package/mangopay-hook/src/models/RestError.js +6 -2
- package/notification/src/models/NotificationTypeId.d.ts +1 -0
- package/notification/src/models/NotificationTypeId.js +2 -1
- package/notification/src/models/RestError.d.ts +6 -2
- package/notification/src/models/RestError.js +6 -2
- package/order/src/models/RestError.d.ts +6 -2
- package/order/src/models/RestError.js +6 -2
- package/package.json +1 -1
- package/product/src/models/RestError.d.ts +6 -2
- package/product/src/models/RestError.js +6 -2
- package/pub/src/models/PubCreationParameters.d.ts +0 -13
- package/pub/src/models/PubCreationParameters.js +0 -7
- package/pub/src/models/RestError.d.ts +6 -2
- package/pub/src/models/RestError.js +6 -2
- package/rfx/src/models/RestError.d.ts +6 -2
- package/rfx/src/models/RestError.js +6 -2
- package/sale-offer/src/models/RestError.d.ts +6 -2
- package/sale-offer/src/models/RestError.js +6 -2
- package/servant/src/models/RestError.d.ts +6 -2
- package/servant/src/models/RestError.js +6 -2
- package/shipment/src/models/RestError.d.ts +6 -2
- package/shipment/src/models/RestError.js +6 -2
- package/shopping-cart/src/models/RestError.d.ts +6 -2
- package/shopping-cart/src/models/RestError.js +6 -2
- package/smuggler/src/models/RestError.d.ts +6 -2
- package/smuggler/src/models/RestError.js +6 -2
- package/statistic/src/models/RestError.d.ts +6 -2
- package/statistic/src/models/RestError.js +6 -2
- package/subscription/src/models/RestError.d.ts +6 -2
- package/subscription/src/models/RestError.js +6 -2
- package/third-party/src/models/RestError.d.ts +6 -2
- package/third-party/src/models/RestError.js +6 -2
- package/thread/src/models/AuthorLink.d.ts +6 -0
- package/thread/src/models/AuthorLink.js +4 -0
- package/ubo/src/apis/ManageUboDeclarationApi.d.ts +2 -2
- package/ubo/src/apis/ManageUboDeclarationApi.js +2 -2
- package/ubo/src/models/RestError.d.ts +6 -2
- package/ubo/src/models/RestError.js +6 -2
- package/user/src/apis/ManageUserApi.d.ts +2 -0
- package/user/src/apis/ManageUserApi.js +6 -0
- package/user/src/apis/ManageUserDocumentApi.d.ts +6 -6
- package/user/src/apis/ManageUserDocumentApi.js +6 -6
- package/user/src/apis/index.d.ts +0 -1
- package/user/src/apis/index.js +0 -1
- package/user/src/models/NotificationTypeId.d.ts +1 -0
- package/user/src/models/NotificationTypeId.js +2 -1
- package/user/src/models/RestError.d.ts +6 -2
- package/user/src/models/RestError.js +6 -2
- package/user/src/models/ScaEnrollmentStatus.d.ts +31 -0
- package/user/src/models/ScaEnrollmentStatus.js +54 -0
- package/user/src/models/User.d.ts +8 -1
- package/user/src/models/User.js +3 -0
- package/user/src/models/UserBankAccountCreationParameters.d.ts +0 -6
- package/user/src/models/UserBankAccountCreationParameters.js +0 -2
- package/user/src/models/UserBankAccountLink.d.ts +16 -0
- package/user/src/models/UserBankAccountLink.js +12 -1
- package/user/src/models/UserJournal.d.ts +8 -0
- package/user/src/models/UserJournal.js +2 -0
- package/user/src/models/UserJournalUpdateParameters.d.ts +31 -0
- package/user/src/models/UserJournalUpdateParameters.js +45 -0
- package/user/src/models/UserUpdateParameters.d.ts +10 -3
- package/user/src/models/UserUpdateParameters.js +6 -3
- package/user/src/models/index.d.ts +2 -0
- package/user/src/models/index.js +2 -0
- package/wish/src/models/RestError.d.ts +6 -2
- package/wish/src/models/RestError.js +6 -2
- package/user/src/apis/ManageUserRoleApi.d.ts +0 -32
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* 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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* 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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* 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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* 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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* 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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* 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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* 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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* 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
|
|
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
|
|
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
|
|
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
|
|
27
27
|
*
|
|
28
28
|
* @type {string}
|
|
29
29
|
* @memberof RestError
|
|
@@ -57,6 +57,8 @@ export declare const RestErrorCodeEnum: {
|
|
|
57
57
|
readonly CODE020: "CODE020";
|
|
58
58
|
readonly CODE021: "CODE021";
|
|
59
59
|
readonly CODE022: "CODE022";
|
|
60
|
+
readonly CODE023: "CODE023";
|
|
61
|
+
readonly CODE024: "CODE024";
|
|
60
62
|
};
|
|
61
63
|
export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
|
|
62
64
|
/**
|
|
@@ -86,6 +88,8 @@ export declare const RestErrorMessageEnum: {
|
|
|
86
88
|
readonly MESSAGE020: "ETag do not match";
|
|
87
89
|
readonly MESSAGE021: "Missing informations for Offisante subscription";
|
|
88
90
|
readonly MESSAGE022: "Disabled feature";
|
|
91
|
+
readonly MESSAGE023: "Invalid Sca Enrollment status";
|
|
92
|
+
readonly MESSAGE024: "Image missing";
|
|
89
93
|
};
|
|
90
94
|
export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
|
|
91
95
|
/**
|
|
@@ -40,7 +40,9 @@ exports.RestErrorCodeEnum = {
|
|
|
40
40
|
CODE019: 'CODE019',
|
|
41
41
|
CODE020: 'CODE020',
|
|
42
42
|
CODE021: 'CODE021',
|
|
43
|
-
CODE022: 'CODE022'
|
|
43
|
+
CODE022: 'CODE022',
|
|
44
|
+
CODE023: 'CODE023',
|
|
45
|
+
CODE024: 'CODE024'
|
|
44
46
|
};
|
|
45
47
|
/**
|
|
46
48
|
* @export
|
|
@@ -68,7 +70,9 @@ exports.RestErrorMessageEnum = {
|
|
|
68
70
|
MESSAGE019: 'Unable to generate session from disposableToken for admin users',
|
|
69
71
|
MESSAGE020: 'ETag do not match',
|
|
70
72
|
MESSAGE021: 'Missing informations for Offisante subscription',
|
|
71
|
-
MESSAGE022: 'Disabled feature'
|
|
73
|
+
MESSAGE022: 'Disabled feature',
|
|
74
|
+
MESSAGE023: 'Invalid Sca Enrollment status',
|
|
75
|
+
MESSAGE024: 'Image missing'
|
|
72
76
|
};
|
|
73
77
|
/**
|
|
74
78
|
* Check if a given object implements the RestError interface.
|
|
@@ -39,6 +39,12 @@ export interface AuthorLink {
|
|
|
39
39
|
* @memberof AuthorLink
|
|
40
40
|
*/
|
|
41
41
|
lastname: string;
|
|
42
|
+
/**
|
|
43
|
+
* User email
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof AuthorLink
|
|
46
|
+
*/
|
|
47
|
+
email: string;
|
|
42
48
|
}
|
|
43
49
|
/**
|
|
44
50
|
* Check if a given object implements the AuthorLink interface.
|
|
@@ -26,6 +26,8 @@ function instanceOfAuthorLink(value) {
|
|
|
26
26
|
return false;
|
|
27
27
|
if (!('lastname' in value) || value['lastname'] === undefined)
|
|
28
28
|
return false;
|
|
29
|
+
if (!('email' in value) || value['email'] === undefined)
|
|
30
|
+
return false;
|
|
29
31
|
return true;
|
|
30
32
|
}
|
|
31
33
|
exports.instanceOfAuthorLink = instanceOfAuthorLink;
|
|
@@ -42,6 +44,7 @@ function AuthorLinkFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
42
44
|
'id': json['id'],
|
|
43
45
|
'firstname': json['firstname'],
|
|
44
46
|
'lastname': json['lastname'],
|
|
47
|
+
'email': json['email'],
|
|
45
48
|
};
|
|
46
49
|
}
|
|
47
50
|
exports.AuthorLinkFromJSONTyped = AuthorLinkFromJSONTyped;
|
|
@@ -54,6 +57,7 @@ function AuthorLinkToJSON(value) {
|
|
|
54
57
|
'id': value['id'],
|
|
55
58
|
'firstname': value['firstname'],
|
|
56
59
|
'lastname': value['lastname'],
|
|
60
|
+
'email': value['email'],
|
|
57
61
|
};
|
|
58
62
|
}
|
|
59
63
|
exports.AuthorLinkToJSON = AuthorLinkToJSON;
|
|
@@ -20,12 +20,12 @@ export interface CreateOrUpdateUboDeclarationRequest {
|
|
|
20
20
|
*/
|
|
21
21
|
export declare class ManageUboDeclarationApi extends runtime.BaseAPI {
|
|
22
22
|
/**
|
|
23
|
-
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). # Non-Admin : - You can only put on ubo declaration id mapping your user id
|
|
23
|
+
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'scaEnrollmentStatus\' should be \'ACTIVE\' # Non-Admin : - You can only put on ubo declaration id mapping your user id
|
|
24
24
|
* Create or update UBO declaration
|
|
25
25
|
*/
|
|
26
26
|
createOrUpdateUboDeclarationRaw(requestParameters: CreateOrUpdateUboDeclarationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UboDeclaration | runtime.BlobWithMeta>>;
|
|
27
27
|
/**
|
|
28
|
-
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). # Non-Admin : - You can only put on ubo declaration id mapping your user id
|
|
28
|
+
* Preconditions : # All : - Ubo declaration can be created/updated only if status is in (\'CREATED\', \'INCOMPLETE\', \'VALIDATED\', \'REFUSED\') - If status is in (\'CREATED\', \'INCOMPLETE\'), all existing ubos mangopayId should be in the request (+ potential new ones). - User \'scaEnrollmentStatus\' should be \'ACTIVE\' # Non-Admin : - You can only put on ubo declaration id mapping your user id
|
|
29
29
|
* Create or update UBO declaration
|
|
30
30
|
*/
|
|
31
31
|
createOrUpdateUboDeclaration(requestParameters: CreateOrUpdateUboDeclarationRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UboDeclaration | runtime.BlobWithMeta>;
|