@lcdp/api-react-rest-client 2.1.3-develop.4627848299 → 2.1.4-LDS-2965-api---ajouter-type-de-transport.4629735793

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 (83) 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/mangopay-hook/src/models/RestError.d.ts +3 -3
  20. package/mangopay-hook/src/models/RestError.js +1 -1
  21. package/notification/src/models/RestError.d.ts +3 -3
  22. package/notification/src/models/RestError.js +1 -1
  23. package/order/src/models/MetaOrderWarning.d.ts +38 -2
  24. package/order/src/models/MetaOrderWarning.js +25 -3
  25. package/order/src/models/MetaOrderWithWarnings.d.ts +3 -3
  26. package/order/src/models/MetaOrderWithWarnings.js +3 -3
  27. package/order/src/models/Order.d.ts +7 -0
  28. package/order/src/models/Order.js +3 -0
  29. package/order/src/models/OrderStorageType.d.ts +25 -0
  30. package/order/src/models/OrderStorageType.js +40 -0
  31. package/order/src/models/ProductLink.d.ts +7 -0
  32. package/order/src/models/ProductLink.js +3 -2
  33. package/order/src/models/ProductLinkAllOf.d.ts +7 -0
  34. package/order/src/models/ProductLinkAllOf.js +3 -0
  35. package/order/src/models/ProductStorageType.d.ts +25 -0
  36. package/order/src/models/ProductStorageType.js +40 -0
  37. package/order/src/models/RestError.d.ts +3 -3
  38. package/order/src/models/RestError.js +1 -1
  39. package/order/src/models/index.d.ts +2 -5
  40. package/order/src/models/index.js +2 -5
  41. package/package.json +1 -1
  42. package/product/src/models/Product.d.ts +3 -2
  43. package/product/src/models/Product.js +3 -2
  44. package/product/src/models/ProductCreationOrUpdateParameters.d.ts +3 -2
  45. package/product/src/models/ProductCreationOrUpdateParameters.js +3 -2
  46. package/product/src/models/ProductStorageType.d.ts +25 -0
  47. package/product/src/models/ProductStorageType.js +40 -0
  48. package/product/src/models/RestError.d.ts +3 -3
  49. package/product/src/models/RestError.js +1 -1
  50. package/product/src/models/index.d.ts +1 -0
  51. package/product/src/models/index.js +1 -0
  52. package/pub/src/models/RestError.d.ts +3 -3
  53. package/pub/src/models/RestError.js +1 -1
  54. package/rfx/src/models/RestError.d.ts +3 -3
  55. package/rfx/src/models/RestError.js +1 -1
  56. package/sale-offer/src/models/RestError.d.ts +3 -3
  57. package/sale-offer/src/models/RestError.js +1 -1
  58. package/servant/src/models/RestError.d.ts +3 -3
  59. package/servant/src/models/RestError.js +1 -1
  60. package/shipment/src/models/RestError.d.ts +3 -3
  61. package/shipment/src/models/RestError.js +1 -1
  62. package/shopping-cart/src/models/RestError.d.ts +3 -3
  63. package/shopping-cart/src/models/RestError.js +1 -1
  64. package/statistic/src/models/RestError.d.ts +3 -3
  65. package/statistic/src/models/RestError.js +1 -1
  66. package/subscription/src/models/RestError.d.ts +3 -3
  67. package/subscription/src/models/RestError.js +1 -1
  68. package/ubo/src/models/RestError.d.ts +3 -3
  69. package/ubo/src/models/RestError.js +1 -1
  70. package/user/src/models/RestError.d.ts +3 -3
  71. package/user/src/models/RestError.js +1 -1
  72. package/wish/src/models/RestError.d.ts +3 -3
  73. package/wish/src/models/RestError.js +1 -1
  74. package/order/src/models/AnyMetaOrderWarning.d.ts +0 -25
  75. package/order/src/models/AnyMetaOrderWarning.js +0 -64
  76. package/order/src/models/OrderItemWarning.d.ts +0 -63
  77. package/order/src/models/OrderItemWarning.js +0 -62
  78. package/order/src/models/OrderItemWarningAllOf.d.ts +0 -62
  79. package/order/src/models/OrderItemWarningAllOf.js +0 -62
  80. package/order/src/models/OrderWarning.d.ts +0 -42
  81. package/order/src/models/OrderWarning.js +0 -58
  82. package/order/src/models/OrderWarningAllOf.d.ts +0 -41
  83. package/order/src/models/OrderWarningAllOf.js +0 -52
@@ -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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
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` - Empty Meta-Order * `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` - Empty Meta-Order * `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 = "Empty Meta-Order",
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"] = "Empty Meta-Order";
88
88
  RestErrorMessageEnum["MESSAGE011"] = "Empty User Address";
89
89
  RestErrorMessageEnum["MESSAGE012"] = "Empty User Legal Name";
90
90
  RestErrorMessageEnum["MESSAGE013"] = "Invalid quantities";
@@ -1,25 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP orders
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
- import { OrderItemWarning } from './OrderItemWarning';
13
- import { OrderWarning } from './OrderWarning';
14
- /**
15
- * @type AnyMetaOrderWarning
16
- * @export
17
- */
18
- export declare type AnyMetaOrderWarning = {
19
- type: 'ORDER';
20
- } & OrderWarning | {
21
- type: 'ORDER_ITEM';
22
- } & OrderItemWarning;
23
- export declare function AnyMetaOrderWarningFromJSON(json: any): AnyMetaOrderWarning;
24
- export declare function AnyMetaOrderWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): AnyMetaOrderWarning;
25
- export declare function AnyMetaOrderWarningToJSON(value?: AnyMetaOrderWarning | null): any;
@@ -1,64 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-service
6
- * This is the REST API of LCDP orders
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
- var __assign = (this && this.__assign) || function () {
16
- __assign = Object.assign || function(t) {
17
- for (var s, i = 1, n = arguments.length; i < n; i++) {
18
- s = arguments[i];
19
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
20
- t[p] = s[p];
21
- }
22
- return t;
23
- };
24
- return __assign.apply(this, arguments);
25
- };
26
- Object.defineProperty(exports, "__esModule", { value: true });
27
- exports.AnyMetaOrderWarningToJSON = exports.AnyMetaOrderWarningFromJSONTyped = exports.AnyMetaOrderWarningFromJSON = void 0;
28
- var OrderItemWarning_1 = require("./OrderItemWarning");
29
- var OrderWarning_1 = require("./OrderWarning");
30
- function AnyMetaOrderWarningFromJSON(json) {
31
- return AnyMetaOrderWarningFromJSONTyped(json, false);
32
- }
33
- exports.AnyMetaOrderWarningFromJSON = AnyMetaOrderWarningFromJSON;
34
- function AnyMetaOrderWarningFromJSONTyped(json, ignoreDiscriminator) {
35
- if ((json === undefined) || (json === null)) {
36
- return json;
37
- }
38
- switch (json['type']) {
39
- case 'ORDER':
40
- return __assign(__assign({}, (0, OrderWarning_1.OrderWarningFromJSONTyped)(json, true)), { type: 'ORDER' });
41
- case 'ORDER_ITEM':
42
- return __assign(__assign({}, (0, OrderItemWarning_1.OrderItemWarningFromJSONTyped)(json, true)), { type: 'ORDER_ITEM' });
43
- default:
44
- throw new Error("No variant of AnyMetaOrderWarning exists with 'type=".concat(json['type'], "'"));
45
- }
46
- }
47
- exports.AnyMetaOrderWarningFromJSONTyped = AnyMetaOrderWarningFromJSONTyped;
48
- function AnyMetaOrderWarningToJSON(value) {
49
- if (value === undefined) {
50
- return undefined;
51
- }
52
- if (value === null) {
53
- return null;
54
- }
55
- switch (value['type']) {
56
- case 'ORDER':
57
- return (0, OrderWarning_1.OrderWarningToJSON)(value);
58
- case 'ORDER_ITEM':
59
- return (0, OrderItemWarning_1.OrderItemWarningToJSON)(value);
60
- default:
61
- throw new Error("No variant of AnyMetaOrderWarning exists with 'type=".concat(value['type'], "'"));
62
- }
63
- }
64
- exports.AnyMetaOrderWarningToJSON = AnyMetaOrderWarningToJSON;
@@ -1,63 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP orders
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
- import { MetaOrderWarning } from './MetaOrderWarning';
13
- /**
14
- *
15
- * @export
16
- * @interface OrderItemWarning
17
- */
18
- export interface OrderItemWarning extends MetaOrderWarning {
19
- /**
20
- * Id of the order linked to this warning. Note : Could be absent if all lines from a subcart were ignored.
21
- * @type {number}
22
- * @memberof OrderItemWarning
23
- */
24
- orderId?: number;
25
- /**
26
- * Name of the product associated to this line
27
- * @type {string}
28
- * @memberof OrderItemWarning
29
- */
30
- productName: string;
31
- /**
32
- * Number of items requested by the user
33
- * @type {number}
34
- * @memberof OrderItemWarning
35
- */
36
- requestedQuantity: number;
37
- /**
38
- * Number of items finally selected for this line
39
- * @type {number}
40
- * @memberof OrderItemWarning
41
- */
42
- finalQuantity: number;
43
- /**
44
- * Warning cause
45
- * @type {string}
46
- * @memberof OrderItemWarning
47
- */
48
- cause: OrderItemWarningCauseEnum;
49
- }
50
- export declare function OrderItemWarningFromJSON(json: any): OrderItemWarning;
51
- export declare function OrderItemWarningFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderItemWarning;
52
- export declare function OrderItemWarningToJSON(value?: OrderItemWarning | null): any;
53
- /**
54
- * @export
55
- * @enum {string}
56
- */
57
- export declare enum OrderItemWarningCauseEnum {
58
- EMPTYQUANTITY = "EMPTY_QUANTITY",
59
- BADQUANTITY = "BAD_QUANTITY",
60
- MAXQUANTITY = "MAX_QUANTITY",
61
- OUTDATEDAD = "OUTDATED_AD",
62
- RESTRICTEDPRODUCT = "RESTRICTED_PRODUCT"
63
- }