@lcdp/api-react-rest-client 2.1.4-develop.5077396774 → 2.1.4-develop.5077941181

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 (87) hide show
  1. package/auth/src/models/RestError.d.ts +3 -3
  2. package/auth/src/models/RestError.js +1 -1
  3. package/configuration/src/models/RestError.d.ts +3 -3
  4. package/configuration/src/models/RestError.js +1 -1
  5. package/content/src/models/RestError.d.ts +3 -3
  6. package/content/src/models/RestError.js +1 -1
  7. package/favorite/src/models/RestError.d.ts +3 -3
  8. package/favorite/src/models/RestError.js +1 -1
  9. package/inventory/src/models/RestError.d.ts +3 -3
  10. package/inventory/src/models/RestError.js +1 -1
  11. package/invoice/src/models/RestError.d.ts +3 -3
  12. package/invoice/src/models/RestError.js +1 -1
  13. package/laboratory-store/src/models/RestError.d.ts +3 -3
  14. package/laboratory-store/src/models/RestError.js +1 -1
  15. package/lexicon/src/models/RestError.d.ts +3 -3
  16. package/lexicon/src/models/RestError.js +1 -1
  17. package/litigation/src/models/RestError.d.ts +3 -3
  18. package/litigation/src/models/RestError.js +1 -1
  19. package/magic-cart/src/models/ProductLink.d.ts +7 -0
  20. package/magic-cart/src/models/ProductLink.js +3 -2
  21. package/magic-cart/src/models/ProductLinkAllOf.d.ts +7 -0
  22. package/magic-cart/src/models/ProductLinkAllOf.js +3 -0
  23. package/magic-cart/src/models/ProductStorageType.d.ts +25 -0
  24. package/magic-cart/src/models/ProductStorageType.js +40 -0
  25. package/magic-cart/src/models/index.d.ts +1 -0
  26. package/magic-cart/src/models/index.js +1 -0
  27. package/mangopay-hook/src/models/RestError.d.ts +3 -3
  28. package/mangopay-hook/src/models/RestError.js +1 -1
  29. package/notification/src/models/RestError.d.ts +3 -3
  30. package/notification/src/models/RestError.js +1 -1
  31. package/order/src/models/Order.d.ts +20 -0
  32. package/order/src/models/Order.js +8 -0
  33. package/order/src/models/OrderJournal.d.ts +27 -0
  34. package/order/src/models/OrderJournal.js +42 -0
  35. package/order/src/models/OrderStorageType.d.ts +25 -0
  36. package/order/src/models/OrderStorageType.js +40 -0
  37. package/order/src/models/ProductLink.d.ts +7 -0
  38. package/order/src/models/ProductLink.js +3 -2
  39. package/order/src/models/ProductLinkAllOf.d.ts +7 -0
  40. package/order/src/models/ProductLinkAllOf.js +3 -0
  41. package/order/src/models/ProductStorageType.d.ts +25 -0
  42. package/order/src/models/ProductStorageType.js +40 -0
  43. package/order/src/models/RestError.d.ts +3 -3
  44. package/order/src/models/RestError.js +1 -1
  45. package/order/src/models/index.d.ts +3 -0
  46. package/order/src/models/index.js +3 -0
  47. package/package.json +1 -1
  48. package/product/src/models/Product.d.ts +3 -2
  49. package/product/src/models/Product.js +3 -2
  50. package/product/src/models/ProductCreationOrUpdateParameters.d.ts +3 -2
  51. package/product/src/models/ProductCreationOrUpdateParameters.js +3 -2
  52. package/product/src/models/ProductStorageType.d.ts +25 -0
  53. package/product/src/models/ProductStorageType.js +40 -0
  54. package/product/src/models/RestError.d.ts +3 -3
  55. package/product/src/models/RestError.js +1 -1
  56. package/product/src/models/index.d.ts +1 -0
  57. package/product/src/models/index.js +1 -0
  58. package/pub/src/models/RestError.d.ts +3 -3
  59. package/pub/src/models/RestError.js +1 -1
  60. package/rfx/src/models/RestError.d.ts +3 -3
  61. package/rfx/src/models/RestError.js +1 -1
  62. package/sale-offer/src/models/RestError.d.ts +3 -3
  63. package/sale-offer/src/models/RestError.js +1 -1
  64. package/servant/src/models/RestError.d.ts +3 -3
  65. package/servant/src/models/RestError.js +1 -1
  66. package/shipment/src/models/RestError.d.ts +3 -3
  67. package/shipment/src/models/RestError.js +1 -1
  68. package/shopping-cart/src/models/ProductLink.d.ts +11 -4
  69. package/shopping-cart/src/models/ProductLink.js +3 -3
  70. package/shopping-cart/src/models/ProductLinkAllOf.d.ts +11 -4
  71. package/shopping-cart/src/models/ProductLinkAllOf.js +7 -5
  72. package/shopping-cart/src/models/ProductStorageType.d.ts +25 -0
  73. package/shopping-cart/src/models/ProductStorageType.js +40 -0
  74. package/shopping-cart/src/models/RestError.d.ts +3 -3
  75. package/shopping-cart/src/models/RestError.js +1 -1
  76. package/shopping-cart/src/models/index.d.ts +1 -0
  77. package/shopping-cart/src/models/index.js +1 -0
  78. package/statistic/src/models/RestError.d.ts +3 -3
  79. package/statistic/src/models/RestError.js +1 -1
  80. package/subscription/src/models/RestError.d.ts +3 -3
  81. package/subscription/src/models/RestError.js +1 -1
  82. package/ubo/src/models/RestError.d.ts +3 -3
  83. package/ubo/src/models/RestError.js +1 -1
  84. package/user/src/models/RestError.d.ts +3 -3
  85. package/user/src/models/RestError.js +1 -1
  86. package/wish/src/models/RestError.d.ts +3 -3
  87. package/wish/src/models/RestError.js +1 -1
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import { Barcodes } from './Barcodes';
13
13
  import { HttpLink } from './HttpLink';
14
+ import { ProductStorageType } from './ProductStorageType';
14
15
  /**
15
16
  *
16
17
  * @export
@@ -35,6 +36,12 @@ export interface ProductLink extends HttpLink {
35
36
  * @memberof ProductLink
36
37
  */
37
38
  barcodes: Barcodes;
39
+ /**
40
+ *
41
+ * @type {ProductStorageType}
42
+ * @memberof ProductLink
43
+ */
44
+ storageType: ProductStorageType | null;
38
45
  }
39
46
  export declare function ProductLinkFromJSON(json: any): ProductLink;
40
47
  export declare function ProductLinkFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLink;
@@ -27,6 +27,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
27
27
  exports.ProductLinkToJSON = exports.ProductLinkFromJSONTyped = exports.ProductLinkFromJSON = void 0;
28
28
  var Barcodes_1 = require("./Barcodes");
29
29
  var HttpLink_1 = require("./HttpLink");
30
+ var ProductStorageType_1 = require("./ProductStorageType");
30
31
  function ProductLinkFromJSON(json) {
31
32
  return ProductLinkFromJSONTyped(json, false);
32
33
  }
@@ -35,7 +36,7 @@ function ProductLinkFromJSONTyped(json, ignoreDiscriminator) {
35
36
  if ((json === undefined) || (json === null)) {
36
37
  return json;
37
38
  }
38
- return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': json['id'], 'name': json['name'], 'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']) });
39
+ return __assign(__assign({}, (0, HttpLink_1.HttpLinkFromJSONTyped)(json, ignoreDiscriminator)), { 'id': json['id'], 'name': json['name'], 'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']), 'storageType': (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']) });
39
40
  }
40
41
  exports.ProductLinkFromJSONTyped = ProductLinkFromJSONTyped;
41
42
  function ProductLinkToJSON(value) {
@@ -45,6 +46,6 @@ function ProductLinkToJSON(value) {
45
46
  if (value === null) {
46
47
  return null;
47
48
  }
48
- return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'name': value.name, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes) });
49
+ return __assign(__assign({}, (0, HttpLink_1.HttpLinkToJSON)(value)), { 'id': value.id, 'name': value.name, 'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes), 'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value.storageType) });
49
50
  }
50
51
  exports.ProductLinkToJSON = ProductLinkToJSON;
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { Barcodes } from './Barcodes';
13
+ import { ProductStorageType } from './ProductStorageType';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -34,6 +35,12 @@ export interface ProductLinkAllOf {
34
35
  * @memberof ProductLinkAllOf
35
36
  */
36
37
  barcodes: Barcodes;
38
+ /**
39
+ *
40
+ * @type {ProductStorageType}
41
+ * @memberof ProductLinkAllOf
42
+ */
43
+ storageType: ProductStorageType | null;
37
44
  }
38
45
  export declare function ProductLinkAllOfFromJSON(json: any): ProductLinkAllOf;
39
46
  export declare function ProductLinkAllOfFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductLinkAllOf;
@@ -15,6 +15,7 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.ProductLinkAllOfToJSON = exports.ProductLinkAllOfFromJSONTyped = exports.ProductLinkAllOfFromJSON = void 0;
17
17
  var Barcodes_1 = require("./Barcodes");
18
+ var ProductStorageType_1 = require("./ProductStorageType");
18
19
  function ProductLinkAllOfFromJSON(json) {
19
20
  return ProductLinkAllOfFromJSONTyped(json, false);
20
21
  }
@@ -27,6 +28,7 @@ function ProductLinkAllOfFromJSONTyped(json, ignoreDiscriminator) {
27
28
  'id': json['id'],
28
29
  'name': json['name'],
29
30
  'barcodes': (0, Barcodes_1.BarcodesFromJSON)(json['barcodes']),
31
+ 'storageType': (0, ProductStorageType_1.ProductStorageTypeFromJSON)(json['storageType']),
30
32
  };
31
33
  }
32
34
  exports.ProductLinkAllOfFromJSONTyped = ProductLinkAllOfFromJSONTyped;
@@ -41,6 +43,7 @@ function ProductLinkAllOfToJSON(value) {
41
43
  'id': value.id,
42
44
  'name': value.name,
43
45
  'barcodes': (0, Barcodes_1.BarcodesToJSON)(value.barcodes),
46
+ 'storageType': (0, ProductStorageType_1.ProductStorageTypeToJSON)(value.storageType),
44
47
  };
45
48
  }
46
49
  exports.ProductLinkAllOfToJSON = ProductLinkAllOfToJSON;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * lcdp-magic-cart
3
+ * This is the REST API of Magic cart
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ * Contact: contact@lecomptoirdespharmacies.fr
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @enum {string}
16
+ */
17
+ export declare enum ProductStorageType {
18
+ FREE = "FREE",
19
+ FRIDGE = "FRIDGE",
20
+ FREEZER = "FREEZER",
21
+ FRESH = "FRESH"
22
+ }
23
+ export declare function ProductStorageTypeFromJSON(json: any): ProductStorageType;
24
+ export declare function ProductStorageTypeFromJSONTyped(json: any, ignoreDiscriminator: boolean): ProductStorageType;
25
+ export declare function ProductStorageTypeToJSON(value?: ProductStorageType | null): any;
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * lcdp-magic-cart
6
+ * This is the REST API of Magic cart
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ * Contact: contact@lecomptoirdespharmacies.fr
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exports.ProductStorageTypeFromJSON = exports.ProductStorageType = void 0;
17
+ /**
18
+ *
19
+ * @export
20
+ * @enum {string}
21
+ */
22
+ var ProductStorageType;
23
+ (function (ProductStorageType) {
24
+ ProductStorageType["FREE"] = "FREE";
25
+ ProductStorageType["FRIDGE"] = "FRIDGE";
26
+ ProductStorageType["FREEZER"] = "FREEZER";
27
+ ProductStorageType["FRESH"] = "FRESH";
28
+ })(ProductStorageType = exports.ProductStorageType || (exports.ProductStorageType = {}));
29
+ function ProductStorageTypeFromJSON(json) {
30
+ return ProductStorageTypeFromJSONTyped(json, false);
31
+ }
32
+ exports.ProductStorageTypeFromJSON = ProductStorageTypeFromJSON;
33
+ function ProductStorageTypeFromJSONTyped(json, ignoreDiscriminator) {
34
+ return json;
35
+ }
36
+ exports.ProductStorageTypeFromJSONTyped = ProductStorageTypeFromJSONTyped;
37
+ function ProductStorageTypeToJSON(value) {
38
+ return value;
39
+ }
40
+ exports.ProductStorageTypeToJSON = ProductStorageTypeToJSON;
@@ -12,6 +12,7 @@ export * from './IdentifiedRangeDistributionMode';
12
12
  export * from './IdentifiedRangeDistributionModeAllOf';
13
13
  export * from './ProductLink';
14
14
  export * from './ProductLinkAllOf';
15
+ export * from './ProductStorageType';
15
16
  export * from './QuotationDistributionMode';
16
17
  export * from './QuotationDistributionModeAllOf';
17
18
  export * from './SaleOfferLink';
@@ -28,6 +28,7 @@ __exportStar(require("./IdentifiedRangeDistributionMode"), exports);
28
28
  __exportStar(require("./IdentifiedRangeDistributionModeAllOf"), exports);
29
29
  __exportStar(require("./ProductLink"), exports);
30
30
  __exportStar(require("./ProductLinkAllOf"), exports);
31
+ __exportStar(require("./ProductStorageType"), exports);
31
32
  __exportStar(require("./QuotationDistributionMode"), exports);
32
33
  __exportStar(require("./QuotationDistributionModeAllOf"), exports);
33
34
  __exportStar(require("./SaleOfferLink"), exports);
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface RestError {
18
18
  /**
19
- * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - FREE * `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
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
20
20
  * @type {string}
21
21
  * @memberof RestError
22
22
  */
23
23
  code: RestErrorCodeEnum;
24
24
  /**
25
- * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - FREE * `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
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -72,7 +72,7 @@ export declare enum RestErrorMessageEnum {
72
72
  MESSAGE007 = "Wrong Address according CHRONOPOST",
73
73
  MESSAGE008 = "Invalid Mangopay Mandate",
74
74
  MESSAGE009 = "Invalid Status",
75
- MESSAGE010 = "FREE",
75
+ MESSAGE010 = "Image dimension exceeded",
76
76
  MESSAGE011 = "Empty User Address",
77
77
  MESSAGE012 = "Empty User Legal Name",
78
78
  MESSAGE013 = "Invalid quantities",
@@ -84,7 +84,7 @@ var RestErrorMessageEnum;
84
84
  RestErrorMessageEnum["MESSAGE007"] = "Wrong Address according CHRONOPOST";
85
85
  RestErrorMessageEnum["MESSAGE008"] = "Invalid Mangopay Mandate";
86
86
  RestErrorMessageEnum["MESSAGE009"] = "Invalid Status";
87
- RestErrorMessageEnum["MESSAGE010"] = "FREE";
87
+ RestErrorMessageEnum["MESSAGE010"] = "Image dimension exceeded";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";