@lcdp/api-react-rest-client 1.1.1-develop.17 → 1.1.1-develop.2

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 (99) hide show
  1. package/auth/src/models/RestError.d.ts +4 -6
  2. package/auth/src/models/RestError.js +0 -2
  3. package/configuration/src/models/RestError.d.ts +4 -6
  4. package/configuration/src/models/RestError.js +0 -2
  5. package/content/src/models/RestError.d.ts +4 -6
  6. package/content/src/models/RestError.js +0 -2
  7. package/favorite/src/models/RestError.d.ts +4 -6
  8. package/favorite/src/models/RestError.js +0 -2
  9. package/inventory/src/models/RestError.d.ts +4 -6
  10. package/inventory/src/models/RestError.js +0 -2
  11. package/invoice/src/models/RestError.d.ts +4 -6
  12. package/invoice/src/models/RestError.js +0 -2
  13. package/laboratory-store/src/models/RestError.d.ts +4 -6
  14. package/laboratory-store/src/models/RestError.js +0 -2
  15. package/lexicon/src/models/RestError.d.ts +4 -6
  16. package/lexicon/src/models/RestError.js +0 -2
  17. package/litigation/src/models/RestError.d.ts +4 -6
  18. package/litigation/src/models/RestError.js +0 -2
  19. package/mangopay-hook/src/models/RestError.d.ts +4 -6
  20. package/mangopay-hook/src/models/RestError.js +0 -2
  21. package/notification/src/models/NotificationTypeId.d.ts +0 -2
  22. package/notification/src/models/NotificationTypeId.js +0 -2
  23. package/notification/src/models/RestError.d.ts +4 -6
  24. package/notification/src/models/RestError.js +0 -2
  25. package/order/src/apis/ManageMetaOrderApi.js +1 -1
  26. package/order/src/models/Order.d.ts +1 -14
  27. package/order/src/models/Order.js +0 -5
  28. package/order/src/models/OrderItemPrices.d.ts +1 -7
  29. package/order/src/models/OrderItemPrices.js +0 -2
  30. package/order/src/models/OrderPrices.d.ts +1 -1
  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/RestError.d.ts +4 -6
  36. package/order/src/models/RestError.js +0 -2
  37. package/order/src/models/Vat.d.ts +39 -0
  38. package/order/src/models/Vat.js +46 -0
  39. package/order/src/models/index.d.ts +1 -0
  40. package/order/src/models/index.js +1 -0
  41. package/package.json +1 -1
  42. package/product/src/apis/SearchProductApi.d.ts +0 -1
  43. package/product/src/apis/SearchProductApi.js +0 -3
  44. package/product/src/models/RestError.d.ts +4 -6
  45. package/product/src/models/RestError.js +0 -2
  46. package/pub/src/models/RestError.d.ts +4 -6
  47. package/pub/src/models/RestError.js +0 -2
  48. package/recommendation/src/apis/index.d.ts +0 -1
  49. package/recommendation/src/apis/index.js +0 -1
  50. package/recommendation/src/models/index.d.ts +0 -3
  51. package/recommendation/src/models/index.js +0 -3
  52. package/rfx/src/models/RestError.d.ts +4 -6
  53. package/rfx/src/models/RestError.js +0 -2
  54. package/sale-offer/src/models/RestError.d.ts +4 -6
  55. package/sale-offer/src/models/RestError.js +0 -2
  56. package/servant/src/models/RestError.d.ts +4 -6
  57. package/servant/src/models/RestError.js +0 -2
  58. package/shipment/src/models/RestError.d.ts +4 -6
  59. package/shipment/src/models/RestError.js +0 -2
  60. package/shopping-cart/src/models/RestError.d.ts +4 -6
  61. package/shopping-cart/src/models/RestError.js +0 -2
  62. package/statistic/src/models/RestError.d.ts +4 -6
  63. package/statistic/src/models/RestError.js +0 -2
  64. package/subscription/src/models/RestError.d.ts +4 -6
  65. package/subscription/src/models/RestError.js +0 -2
  66. package/ubo/src/models/RestError.d.ts +4 -6
  67. package/ubo/src/models/RestError.js +0 -2
  68. package/user/src/models/NotificationTypeId.d.ts +0 -2
  69. package/user/src/models/NotificationTypeId.js +0 -2
  70. package/user/src/models/RestError.d.ts +4 -6
  71. package/user/src/models/RestError.js +0 -2
  72. package/user/src/models/UserCreationParameters.d.ts +0 -6
  73. package/user/src/models/UserCreationParameters.js +0 -2
  74. package/wish/src/apis/ManageWishApi.d.ts +0 -2
  75. package/wish/src/apis/ManageWishApi.js +0 -2
  76. package/wish/src/apis/SearchWishApi.d.ts +3 -7
  77. package/wish/src/apis/SearchWishApi.js +2 -14
  78. package/wish/src/models/RestError.d.ts +4 -6
  79. package/wish/src/models/RestError.js +0 -2
  80. package/wish/src/models/Wish.d.ts +0 -19
  81. package/wish/src/models/Wish.js +0 -7
  82. package/wish/src/models/WishCreationParameters.d.ts +0 -13
  83. package/wish/src/models/WishCreationParameters.js +0 -5
  84. package/wish/src/models/WishUpdateParameters.d.ts +0 -6
  85. package/wish/src/models/WishUpdateParameters.js +0 -2
  86. package/wish/src/models/index.d.ts +0 -2
  87. package/wish/src/models/index.js +0 -2
  88. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +0 -45
  89. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +0 -182
  90. package/recommendation/src/models/FavoriteProductRecommendation.d.ts +0 -53
  91. package/recommendation/src/models/FavoriteProductRecommendation.js +0 -52
  92. package/recommendation/src/models/PaginatedFavoriteProductRecommendations.d.ts +0 -29
  93. package/recommendation/src/models/PaginatedFavoriteProductRecommendations.js +0 -50
  94. package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.d.ts +0 -28
  95. package/recommendation/src/models/PaginatedFavoriteProductRecommendationsAllOf.js +0 -42
  96. package/wish/src/models/Referrer.d.ts +0 -34
  97. package/wish/src/models/Referrer.js +0 -45
  98. package/wish/src/models/WishReferrerType.d.ts +0 -23
  99. package/wish/src/models/WishReferrerType.js +0 -38
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(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 * `CODE018` - Trial already used
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
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 * `MESSAGE018` - Trial already used
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017",
57
- CODE018 = "CODE018"
56
+ CODE017 = "CODE017"
58
57
  }
59
58
  /**
60
59
  * @export
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
78
77
  MESSAGE014 = "Invalid Meta-Order",
79
78
  MESSAGE015 = "Can not release quantity greater than claimed",
80
79
  MESSAGE016 = "Can not release a negative quantity of items",
81
- MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
80
+ MESSAGE017 = "Batch is forbidden for sale"
83
81
  }
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(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 * `CODE018` - Trial already used
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
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 * `MESSAGE018` - Trial already used
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017",
57
- CODE018 = "CODE018"
56
+ CODE017 = "CODE017"
58
57
  }
59
58
  /**
60
59
  * @export
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
78
77
  MESSAGE014 = "Invalid Meta-Order",
79
78
  MESSAGE015 = "Can not release quantity greater than claimed",
80
79
  MESSAGE016 = "Can not release a negative quantity of items",
81
- MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
80
+ MESSAGE017 = "Batch is forbidden for sale"
83
81
  }
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(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 * `CODE018` - Trial already used
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
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 * `MESSAGE018` - Trial already used
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017",
57
- CODE018 = "CODE018"
56
+ CODE017 = "CODE017"
58
57
  }
59
58
  /**
60
59
  * @export
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
78
77
  MESSAGE014 = "Invalid Meta-Order",
79
78
  MESSAGE015 = "Can not release quantity greater than claimed",
80
79
  MESSAGE016 = "Can not release a negative quantity of items",
81
- MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
80
+ MESSAGE017 = "Batch is forbidden for sale"
83
81
  }
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(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 * `CODE018` - Trial already used
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
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 * `MESSAGE018` - Trial already used
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017",
57
- CODE018 = "CODE018"
56
+ CODE017 = "CODE017"
58
57
  }
59
58
  /**
60
59
  * @export
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
78
77
  MESSAGE014 = "Invalid Meta-Order",
79
78
  MESSAGE015 = "Can not release quantity greater than claimed",
80
79
  MESSAGE016 = "Can not release a negative quantity of items",
81
- MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
80
+ MESSAGE017 = "Batch is forbidden for sale"
83
81
  }
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(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 * `CODE018` - Trial already used
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
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 * `MESSAGE018` - Trial already used
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017",
57
- CODE018 = "CODE018"
56
+ CODE017 = "CODE017"
58
57
  }
59
58
  /**
60
59
  * @export
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
78
77
  MESSAGE014 = "Invalid Meta-Order",
79
78
  MESSAGE015 = "Can not release quantity greater than claimed",
80
79
  MESSAGE016 = "Can not release a negative quantity of items",
81
- MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
80
+ MESSAGE017 = "Batch is forbidden for sale"
83
81
  }
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(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 * `CODE018` - Trial already used
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
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 * `MESSAGE018` - Trial already used
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017",
57
- CODE018 = "CODE018"
56
+ CODE017 = "CODE017"
58
57
  }
59
58
  /**
60
59
  * @export
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
78
77
  MESSAGE014 = "Invalid Meta-Order",
79
78
  MESSAGE015 = "Can not release quantity greater than claimed",
80
79
  MESSAGE016 = "Can not release a negative quantity of items",
81
- MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
80
+ MESSAGE017 = "Batch is forbidden for sale"
83
81
  }
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -24,7 +24,6 @@ export declare enum NotificationTypeId {
24
24
  ADSOLDOUT = "AD_SOLD_OUT",
25
25
  ADVALIDATED = "AD_VALIDATED",
26
26
  ADWISHLISTLINE = "AD_WISHLIST_LINE",
27
- ADWISHLISTLINEFAVORITE = "AD_WISHLIST_LINE_FAVORITE",
28
27
  CLIENTCREDITCARDEXPIRATION = "CLIENT_CREDIT_CARD_EXPIRATION",
29
28
  CLIENTFIRSTAD = "CLIENT_FIRST_AD",
30
29
  CLIENTFIRSTBUY = "CLIENT_FIRST_BUY",
@@ -36,7 +35,6 @@ export declare enum NotificationTypeId {
36
35
  DAILYMAIL = "DAILY_MAIL",
37
36
  DOCUMENTEXPIRE = "DOCUMENT_EXPIRE",
38
37
  GLOBALCOMMISSIONINVOICE = "GLOBAL_COMMISSION_INVOICE",
39
- GLOBALCOMMISSIONCREDITNOTEINVOICE = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE",
40
38
  MONTHLYEMAILFORACCOUNTANT = "MONTHLY_EMAIL_FOR_ACCOUNTANT",
41
39
  ORDERACCEPTATIONDELAY = "ORDER_ACCEPTATION_DELAY",
42
40
  ORDERACCEPTED = "ORDER_ACCEPTED",
@@ -30,7 +30,6 @@ var NotificationTypeId;
30
30
  NotificationTypeId["ADSOLDOUT"] = "AD_SOLD_OUT";
31
31
  NotificationTypeId["ADVALIDATED"] = "AD_VALIDATED";
32
32
  NotificationTypeId["ADWISHLISTLINE"] = "AD_WISHLIST_LINE";
33
- NotificationTypeId["ADWISHLISTLINEFAVORITE"] = "AD_WISHLIST_LINE_FAVORITE";
34
33
  NotificationTypeId["CLIENTCREDITCARDEXPIRATION"] = "CLIENT_CREDIT_CARD_EXPIRATION";
35
34
  NotificationTypeId["CLIENTFIRSTAD"] = "CLIENT_FIRST_AD";
36
35
  NotificationTypeId["CLIENTFIRSTBUY"] = "CLIENT_FIRST_BUY";
@@ -42,7 +41,6 @@ var NotificationTypeId;
42
41
  NotificationTypeId["DAILYMAIL"] = "DAILY_MAIL";
43
42
  NotificationTypeId["DOCUMENTEXPIRE"] = "DOCUMENT_EXPIRE";
44
43
  NotificationTypeId["GLOBALCOMMISSIONINVOICE"] = "GLOBAL_COMMISSION_INVOICE";
45
- NotificationTypeId["GLOBALCOMMISSIONCREDITNOTEINVOICE"] = "GLOBAL_COMMISSION_CREDIT_NOTE_INVOICE";
46
44
  NotificationTypeId["MONTHLYEMAILFORACCOUNTANT"] = "MONTHLY_EMAIL_FOR_ACCOUNTANT";
47
45
  NotificationTypeId["ORDERACCEPTATIONDELAY"] = "ORDER_ACCEPTATION_DELAY";
48
46
  NotificationTypeId["ORDERACCEPTED"] = "ORDER_ACCEPTED";
@@ -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 * `CODE018` - Trial already used
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
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 * `MESSAGE018` - Trial already used
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017",
57
- CODE018 = "CODE018"
56
+ CODE017 = "CODE017"
58
57
  }
59
58
  /**
60
59
  * @export
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
78
77
  MESSAGE014 = "Invalid Meta-Order",
79
78
  MESSAGE015 = "Can not release quantity greater than claimed",
80
79
  MESSAGE016 = "Can not release a negative quantity of items",
81
- MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
80
+ MESSAGE017 = "Batch is forbidden for sale"
83
81
  }
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -28,12 +28,6 @@ export interface UserCreationParameters {
28
28
  * @memberof UserCreationParameters
29
29
  */
30
30
  lastname: string;
31
- /**
32
- * Date of birth
33
- * @type {Date}
34
- * @memberof UserCreationParameters
35
- */
36
- birthdate: Date | null;
37
31
  /**
38
32
  * An email in conformity with pattern
39
33
  * @type {string}
@@ -27,7 +27,6 @@ function UserCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
27
27
  return {
28
28
  'firstname': json['firstname'],
29
29
  'lastname': json['lastname'],
30
- 'birthdate': (json['birthdate'] === null ? null : new Date(json['birthdate'])),
31
30
  'email': json['email'],
32
31
  'phone': json['phone'],
33
32
  'password': json['password'],
@@ -45,7 +44,6 @@ function UserCreationParametersToJSON(value) {
45
44
  return {
46
45
  'firstname': value.firstname,
47
46
  'lastname': value.lastname,
48
- 'birthdate': (value.birthdate === null ? null : (0, runtime_1.toDateISOString)(value.birthdate)),
49
47
  'email': value.email,
50
48
  'phone': value.phone,
51
49
  'password': value.password,
@@ -26,12 +26,10 @@ export interface UpdateWishRequest {
26
26
  */
27
27
  export declare class ManageWishApi extends BaseAPI {
28
28
  /**
29
- * Wish cannot be created without referrer type, if you dont have a referrer set referrer type to MANUAL
30
29
  * Create wish line from scratch
31
30
  */
32
31
  createWishRaw(requestParameters: CreateWishRequest): Promise<ApiResponse<void>>;
33
32
  /**
34
- * Wish cannot be created without referrer type, if you dont have a referrer set referrer type to MANUAL
35
33
  * Create wish line from scratch
36
34
  */
37
35
  createWish(requestParameters: CreateWishRequest): Promise<void>;
@@ -76,7 +76,6 @@ var ManageWishApi = /** @class */ (function (_super) {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
78
  /**
79
- * Wish cannot be created without referrer type, if you dont have a referrer set referrer type to MANUAL
80
79
  * Create wish line from scratch
81
80
  */
82
81
  ManageWishApi.prototype.createWishRaw = function (requestParameters) {
@@ -124,7 +123,6 @@ var ManageWishApi = /** @class */ (function (_super) {
124
123
  });
125
124
  };
126
125
  /**
127
- * Wish cannot be created without referrer type, if you dont have a referrer set referrer type to MANUAL
128
126
  * Create wish line from scratch
129
127
  */
130
128
  ManageWishApi.prototype.createWish = function (requestParameters) {
@@ -10,7 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { BaseAPI, ApiResponse, BlobWithMeta } from '../runtime';
13
- import { PaginatedWishes, Wish, WishReferrerType, WishStatus } from '../models';
13
+ import { PaginatedWishes, Wish, WishStatus } from '../models';
14
14
  export interface GetWishRequest {
15
15
  wishId: number;
16
16
  }
@@ -18,13 +18,9 @@ export interface GetWishesRequest {
18
18
  oEq?: number;
19
19
  oNeq?: number;
20
20
  pidEq?: number;
21
- stEq?: Array<WishStatus>;
22
- stNeq?: Array<WishStatus>;
21
+ stEq?: WishStatus;
22
+ stNeq?: WishStatus;
23
23
  q?: string;
24
- referrerIdEq?: Array<number>;
25
- referrerIdNeq?: Array<number>;
26
- referrerTypeEq?: Array<WishReferrerType>;
27
- referrerTypeNeq?: Array<WishReferrerType>;
28
24
  orderBy?: Array<GetWishesOrderByEnum>;
29
25
  p?: number;
30
26
  pp?: number;
@@ -167,27 +167,15 @@ var SearchWishApi = /** @class */ (function (_super) {
167
167
  if (requestParameters.pidEq !== undefined) {
168
168
  queryParameters['pid[eq]'] = requestParameters.pidEq;
169
169
  }
170
- if (requestParameters.stEq) {
170
+ if (requestParameters.stEq !== undefined) {
171
171
  queryParameters['st[eq]'] = requestParameters.stEq;
172
172
  }
173
- if (requestParameters.stNeq) {
173
+ if (requestParameters.stNeq !== undefined) {
174
174
  queryParameters['st[neq]'] = requestParameters.stNeq;
175
175
  }
176
176
  if (requestParameters.q !== undefined) {
177
177
  queryParameters['q'] = requestParameters.q;
178
178
  }
179
- if (requestParameters.referrerIdEq) {
180
- queryParameters['referrerId[eq]'] = requestParameters.referrerIdEq;
181
- }
182
- if (requestParameters.referrerIdNeq) {
183
- queryParameters['referrerId[neq]'] = requestParameters.referrerIdNeq;
184
- }
185
- if (requestParameters.referrerTypeEq) {
186
- queryParameters['referrerType[eq]'] = requestParameters.referrerTypeEq;
187
- }
188
- if (requestParameters.referrerTypeNeq) {
189
- queryParameters['referrerType[neq]'] = requestParameters.referrerTypeNeq;
190
- }
191
179
  if (requestParameters.orderBy) {
192
180
  queryParameters['orderBy'] = requestParameters.orderBy;
193
181
  }
@@ -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 * `CODE018` - Trial already used
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
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 * `MESSAGE018` - Trial already used
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
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -53,8 +53,7 @@ export declare enum RestErrorCodeEnum {
53
53
  CODE014 = "CODE014",
54
54
  CODE015 = "CODE015",
55
55
  CODE016 = "CODE016",
56
- CODE017 = "CODE017",
57
- CODE018 = "CODE018"
56
+ CODE017 = "CODE017"
58
57
  }
59
58
  /**
60
59
  * @export
@@ -78,6 +77,5 @@ export declare enum RestErrorMessageEnum {
78
77
  MESSAGE014 = "Invalid Meta-Order",
79
78
  MESSAGE015 = "Can not release quantity greater than claimed",
80
79
  MESSAGE016 = "Can not release a negative quantity of items",
81
- MESSAGE017 = "Batch is forbidden for sale",
82
- MESSAGE018 = "Trial already used"
80
+ MESSAGE017 = "Batch is forbidden for sale"
83
81
  }
@@ -65,7 +65,6 @@ var RestErrorCodeEnum;
65
65
  RestErrorCodeEnum["CODE015"] = "CODE015";
66
66
  RestErrorCodeEnum["CODE016"] = "CODE016";
67
67
  RestErrorCodeEnum["CODE017"] = "CODE017";
68
- RestErrorCodeEnum["CODE018"] = "CODE018";
69
68
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
70
69
  /**
71
70
  * @export
@@ -91,5 +90,4 @@ var RestErrorMessageEnum;
91
90
  RestErrorMessageEnum["MESSAGE015"] = "Can not release quantity greater than claimed";
92
91
  RestErrorMessageEnum["MESSAGE016"] = "Can not release a negative quantity of items";
93
92
  RestErrorMessageEnum["MESSAGE017"] = "Batch is forbidden for sale";
94
- RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
95
93
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -12,7 +12,6 @@
12
12
  import { DesiredSellerLink } from './DesiredSellerLink';
13
13
  import { OwnerLink } from './OwnerLink';
14
14
  import { ProductLink } from './ProductLink';
15
- import { Referrer } from './Referrer';
16
15
  /**
17
16
  *
18
17
  * @export
@@ -61,24 +60,6 @@ export interface Wish {
61
60
  * @memberof Wish
62
61
  */
63
62
  status?: string;
64
- /**
65
- *
66
- * @type {Referrer}
67
- * @memberof Wish
68
- */
69
- referrer?: Referrer;
70
- /**
71
- * Delay in minutes between two email notification
72
- * @type {number}
73
- * @memberof Wish
74
- */
75
- throttleDelay?: number;
76
- /**
77
- * Last date of sent email of this wish (RFC 3339, section 5.6)
78
- * @type {Date}
79
- * @memberof Wish
80
- */
81
- lastTrigger?: Date;
82
63
  /**
83
64
  * Create date of this wish
84
65
  * @type {Date}