@lcdp/api-react-rest-client 1.4.1-LDS-2662-subscription-completionexceptio.0 → 1.5.0

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 (60) hide show
  1. package/auth/src/models/RestError.d.ts +6 -4
  2. package/auth/src/models/RestError.js +2 -0
  3. package/configuration/src/models/RestError.d.ts +6 -4
  4. package/configuration/src/models/RestError.js +2 -0
  5. package/content/src/models/RestError.d.ts +6 -4
  6. package/content/src/models/RestError.js +2 -0
  7. package/favorite/src/models/RestError.d.ts +6 -4
  8. package/favorite/src/models/RestError.js +2 -0
  9. package/inventory/src/models/RestError.d.ts +6 -4
  10. package/inventory/src/models/RestError.js +2 -0
  11. package/invoice/src/models/RestError.d.ts +6 -4
  12. package/invoice/src/models/RestError.js +2 -0
  13. package/laboratory-store/src/models/RestError.d.ts +6 -4
  14. package/laboratory-store/src/models/RestError.js +2 -0
  15. package/lexicon/src/models/RestError.d.ts +6 -4
  16. package/lexicon/src/models/RestError.js +2 -0
  17. package/litigation/src/models/RestError.d.ts +6 -4
  18. package/litigation/src/models/RestError.js +2 -0
  19. package/mangopay-hook/src/models/RestError.d.ts +6 -4
  20. package/mangopay-hook/src/models/RestError.js +2 -0
  21. package/notification/src/models/RestError.d.ts +6 -4
  22. package/notification/src/models/RestError.js +2 -0
  23. package/order/src/models/OrderItemPrices.d.ts +7 -1
  24. package/order/src/models/OrderItemPrices.js +2 -0
  25. package/order/src/models/OrderPrices.d.ts +1 -1
  26. package/order/src/models/ProductLink.d.ts +0 -7
  27. package/order/src/models/ProductLink.js +2 -3
  28. package/order/src/models/ProductLinkAllOf.d.ts +0 -7
  29. package/order/src/models/ProductLinkAllOf.js +0 -3
  30. package/order/src/models/RestError.d.ts +6 -4
  31. package/order/src/models/RestError.js +2 -0
  32. package/order/src/models/index.d.ts +0 -1
  33. package/order/src/models/index.js +0 -1
  34. package/package.json +1 -1
  35. package/product/src/models/RestError.d.ts +6 -4
  36. package/product/src/models/RestError.js +2 -0
  37. package/pub/src/models/RestError.d.ts +6 -4
  38. package/pub/src/models/RestError.js +2 -0
  39. package/rfx/src/models/RestError.d.ts +6 -4
  40. package/rfx/src/models/RestError.js +2 -0
  41. package/sale-offer/src/models/RestError.d.ts +6 -4
  42. package/sale-offer/src/models/RestError.js +2 -0
  43. package/servant/src/models/RestError.d.ts +6 -4
  44. package/servant/src/models/RestError.js +2 -0
  45. package/shipment/src/models/RestError.d.ts +6 -4
  46. package/shipment/src/models/RestError.js +2 -0
  47. package/shopping-cart/src/models/RestError.d.ts +6 -4
  48. package/shopping-cart/src/models/RestError.js +2 -0
  49. package/statistic/src/models/RestError.d.ts +6 -4
  50. package/statistic/src/models/RestError.js +2 -0
  51. package/subscription/src/models/RestError.d.ts +6 -4
  52. package/subscription/src/models/RestError.js +2 -0
  53. package/ubo/src/models/RestError.d.ts +6 -4
  54. package/ubo/src/models/RestError.js +2 -0
  55. package/user/src/models/RestError.d.ts +6 -4
  56. package/user/src/models/RestError.js +2 -0
  57. package/wish/src/models/RestError.d.ts +6 -4
  58. package/wish/src/models/RestError.js +2 -0
  59. package/order/src/models/Vat.d.ts +0 -39
  60. package/order/src/models/Vat.js +0 -46
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -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` - 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
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
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` - 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
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,7 +53,8 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017"
56
+ CODE017 = "CODE017",
57
+ CODE018 = "CODE018"
57
58
  }
58
59
  /**
59
60
  * @export
@@ -77,5 +78,6 @@ export declare enum RestErrorMessageEnum {
77
78
  MESSAGE014 = "Invalid Meta-Order",
78
79
  MESSAGE015 = "Can not release quantity greater than claimed",
79
80
  MESSAGE016 = "Can not release a negative quantity of items",
80
- MESSAGE017 = "Batch is forbidden for sale"
81
+ MESSAGE017 = "Batch is forbidden for sale",
82
+ MESSAGE018 = "Trial already used"
81
83
  }
@@ -65,6 +65,7 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
+ RestErrorCodeEnum["CODE018"] = "CODE018";
68
69
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
69
70
  /**
70
71
  * @export
@@ -90,4 +91,5 @@ var RestErrorMessageEnum;
90
91
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
91
92
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
92
93
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
+ RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
93
95
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -28,7 +28,7 @@ export interface OrderItemPrices {
28
28
  */
29
29
  totalExcludingTaxes?: number;
30
30
  /**
31
- * Total V.A.T amount for this meta-order
31
+ * Total taxes (V.A.T, ...) amount for this meta-order
32
32
  * @type {number}
33
33
  * @memberof OrderItemPrices
34
34
  */
@@ -39,6 +39,12 @@ export interface OrderItemPrices {
39
39
  * @memberof OrderItemPrices
40
40
  */
41
41
  totalIncludingTaxes?: number;
42
+ /**
43
+ * Vat rate for this meta-order
44
+ * @type {number}
45
+ * @memberof OrderItemPrices
46
+ */
47
+ vatRate?: number;
42
48
  }
43
49
  export declare function OrderItemPricesFromJSON(json: any): OrderItemPrices;
44
50
  export declare function OrderItemPricesFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderItemPrices;
@@ -28,6 +28,7 @@ function OrderItemPricesFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'totalExcludingTaxes': !(0, runtime_1.exists)(json, 'totalExcludingTaxes') ? undefined : json['totalExcludingTaxes'],
29
29
  'totalTaxes': !(0, runtime_1.exists)(json, 'totalTaxes') ? undefined : json['totalTaxes'],
30
30
  'totalIncludingTaxes': !(0, runtime_1.exists)(json, 'totalIncludingTaxes') ? undefined : json['totalIncludingTaxes'],
31
+ 'vatRate': !(0, runtime_1.exists)(json, 'vatRate') ? undefined : json['vatRate'],
31
32
  };
32
33
  }
33
34
  exports.OrderItemPricesFromJSONTyped = OrderItemPricesFromJSONTyped;
@@ -43,6 +44,7 @@ function OrderItemPricesToJSON(value) {
43
44
  'totalExcludingTaxes': value.totalExcludingTaxes,
44
45
  'totalTaxes': value.totalTaxes,
45
46
  'totalIncludingTaxes': value.totalIncludingTaxes,
47
+ 'vatRate': value.vatRate,
46
48
  };
47
49
  }
48
50
  exports.OrderItemPricesToJSON = OrderItemPricesToJSON;