@lcdp/api-react-rest-client 2.13.4-develop.16339965281 → 2.13.4

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