@lcdp/api-react-rest-client 3.1.0 → 3.1.1

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 +4 -2
  2. package/auth/src/models/RestError.js +4 -2
  3. package/catalog/src/models/RestError.d.ts +4 -2
  4. package/catalog/src/models/RestError.js +4 -2
  5. package/chargebee-hook/src/models/RestError.d.ts +4 -2
  6. package/chargebee-hook/src/models/RestError.js +4 -2
  7. package/configuration/src/models/RestError.d.ts +4 -2
  8. package/configuration/src/models/RestError.js +4 -2
  9. package/content/src/models/RestError.d.ts +4 -2
  10. package/content/src/models/RestError.js +4 -2
  11. package/factory/src/models/OfferPlanificationFactory.d.ts +3 -0
  12. package/factory/src/models/Product.d.ts +3 -0
  13. package/factory/src/models/ProductUpsertFactory.d.ts +2 -0
  14. package/factory/src/models/SaleOfferUpsertFactory.d.ts +3 -0
  15. package/favorite/src/models/RestError.d.ts +4 -2
  16. package/favorite/src/models/RestError.js +4 -2
  17. package/inventory/src/models/RestError.d.ts +4 -2
  18. package/inventory/src/models/RestError.js +4 -2
  19. package/invoice/src/models/RestError.d.ts +4 -2
  20. package/invoice/src/models/RestError.js +4 -2
  21. package/laboratory-store/src/models/RestError.d.ts +4 -2
  22. package/laboratory-store/src/models/RestError.js +4 -2
  23. package/lexicon/src/models/RestError.d.ts +4 -2
  24. package/lexicon/src/models/RestError.js +4 -2
  25. package/litigation/src/models/RestError.d.ts +4 -2
  26. package/litigation/src/models/RestError.js +4 -2
  27. package/mangopay-hook/src/models/RestError.d.ts +4 -2
  28. package/mangopay-hook/src/models/RestError.js +4 -2
  29. package/notification/src/models/RestError.d.ts +4 -2
  30. package/notification/src/models/RestError.js +4 -2
  31. package/order/src/models/RestError.d.ts +4 -2
  32. package/order/src/models/RestError.js +4 -2
  33. package/package.json +1 -1
  34. package/product/src/models/RestError.d.ts +4 -2
  35. package/product/src/models/RestError.js +4 -2
  36. package/pub/src/models/RestError.d.ts +4 -2
  37. package/pub/src/models/RestError.js +4 -2
  38. package/rfx/src/models/RestError.d.ts +4 -2
  39. package/rfx/src/models/RestError.js +4 -2
  40. package/sale-offer/src/models/RestError.d.ts +4 -2
  41. package/sale-offer/src/models/RestError.js +4 -2
  42. package/servant/src/models/RestError.d.ts +4 -2
  43. package/servant/src/models/RestError.js +4 -2
  44. package/shipment/src/models/RestError.d.ts +4 -2
  45. package/shipment/src/models/RestError.js +4 -2
  46. package/shopping-cart/src/models/RestError.d.ts +4 -2
  47. package/shopping-cart/src/models/RestError.js +4 -2
  48. package/smuggler/src/models/RestError.d.ts +4 -2
  49. package/smuggler/src/models/RestError.js +4 -2
  50. package/statistic/src/models/RestError.d.ts +4 -2
  51. package/statistic/src/models/RestError.js +4 -2
  52. package/third-party/src/models/RestError.d.ts +4 -2
  53. package/third-party/src/models/RestError.js +4 -2
  54. package/ubo/src/models/RestError.d.ts +4 -2
  55. package/ubo/src/models/RestError.js +4 -2
  56. package/user/src/models/RestError.d.ts +4 -2
  57. package/user/src/models/RestError.js +4 -2
  58. package/wish/src/models/RestError.d.ts +4 -2
  59. package/wish/src/models/RestError.js +4 -2
@@ -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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * 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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * 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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * 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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * 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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * Check if a given object implements the RestError interface.
@@ -11,6 +11,9 @@
11
11
  */
12
12
  import type { OfferPlanificationFactoryAllOfRecords } from './OfferPlanificationFactoryAllOfRecords';
13
13
  /**
14
+ * For any informations about restrictions and conditions, please visit description of endpoints :
15
+ * - [POST /sale-offers](?urls.primaryName=sale-offer#/manageSaleOffer/createSaleOffer)
16
+ * - [POST /products](?urls.primaryName=product#/ManageProduct/createProduct)
14
17
  *
15
18
  * @export
16
19
  * @interface OfferPlanificationFactory
@@ -11,6 +11,9 @@
11
11
  */
12
12
  import type { ProductStatus } from './ProductStatus';
13
13
  /**
14
+ * Restrictions :
15
+ * Edition of the product fields is only permitted by 'ADMINISTRATOR' accounts.
16
+ * Non-admin users are restricted to set 'principalBarcode' field only.
14
17
  *
15
18
  * @export
16
19
  * @interface Product
@@ -11,6 +11,8 @@
11
11
  */
12
12
  import type { ProductUpsertFactoryAllOfRecords } from './ProductUpsertFactoryAllOfRecords';
13
13
  /**
14
+ * For any informations about restrictions and conditions, please visit description of endpoints :
15
+ * - [POST /products](?urls.primaryName=product#/ManageProduct/createProduct)
14
16
  *
15
17
  * @export
16
18
  * @interface ProductUpsertFactory
@@ -11,6 +11,9 @@
11
11
  */
12
12
  import type { SaleOfferUpsertFactoryAllOfRecords } from './SaleOfferUpsertFactoryAllOfRecords';
13
13
  /**
14
+ * For any informations about restrictions and conditions, please visit description of endpoints :
15
+ * - [POST /sale-offers](?urls.primaryName=sale-offer#/manageSaleOffer/createSaleOffer)
16
+ * - [POST /products](?urls.primaryName=product#/ManageProduct/createProduct)
14
17
  *
15
18
  * @export
16
19
  * @interface SaleOfferUpsertFactory
@@ -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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * 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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * 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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * 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 * `CODE025` - Invalid International Bank Account Number * `CODE026` - SubCart not found in cart
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 * `MESSAGE024` - Invalid International Bank Account Number * `MESSAGE026` - SubCart not found in cart
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -60,6 +60,7 @@ export declare const RestErrorCodeEnum: {
60
60
  readonly CODE023: "CODE023";
61
61
  readonly CODE024: "CODE024";
62
62
  readonly CODE025: "CODE025";
63
+ readonly CODE026: "CODE026";
63
64
  };
64
65
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
65
66
  /**
@@ -92,6 +93,7 @@ export declare const RestErrorMessageEnum: {
92
93
  readonly MESSAGE023: "Invalid Sca Enrollment status";
93
94
  readonly MESSAGE024: "Image missing";
94
95
  readonly MESSAGE025: "Invalid International Bank Account Number";
96
+ readonly MESSAGE026: "SubCart not found in cart";
95
97
  };
96
98
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
97
99
  /**
@@ -43,7 +43,8 @@ exports.RestErrorCodeEnum = {
43
43
  CODE022: 'CODE022',
44
44
  CODE023: 'CODE023',
45
45
  CODE024: 'CODE024',
46
- CODE025: 'CODE025'
46
+ CODE025: 'CODE025',
47
+ CODE026: 'CODE026'
47
48
  };
48
49
  /**
49
50
  * @export
@@ -74,7 +75,8 @@ exports.RestErrorMessageEnum = {
74
75
  MESSAGE022: 'Disabled feature',
75
76
  MESSAGE023: 'Invalid Sca Enrollment status',
76
77
  MESSAGE024: 'Image missing',
77
- MESSAGE025: 'Invalid International Bank Account Number'
78
+ MESSAGE025: 'Invalid International Bank Account Number',
79
+ MESSAGE026: 'SubCart not found in cart'
78
80
  };
79
81
  /**
80
82
  * Check if a given object implements the RestError interface.