@lcdp/api-react-rest-client 2.6.8-develop.9177299221 → 2.6.8

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 (69) hide show
  1. package/auth/src/models/RestError.d.ts +4 -6
  2. package/auth/src/models/RestError.js +0 -2
  3. package/catalog/src/models/RestError.d.ts +4 -6
  4. package/catalog/src/models/RestError.js +0 -2
  5. package/configuration/src/models/RestError.d.ts +4 -6
  6. package/configuration/src/models/RestError.js +0 -2
  7. package/content/src/models/RestError.d.ts +4 -6
  8. package/content/src/models/RestError.js +0 -2
  9. package/favorite/src/models/RestError.d.ts +4 -6
  10. package/favorite/src/models/RestError.js +0 -2
  11. package/inventory/src/models/RestError.d.ts +4 -6
  12. package/inventory/src/models/RestError.js +0 -2
  13. package/invoice/src/models/RestError.d.ts +4 -6
  14. package/invoice/src/models/RestError.js +0 -2
  15. package/laboratory-store/src/models/RestError.d.ts +4 -6
  16. package/laboratory-store/src/models/RestError.js +0 -2
  17. package/lexicon/src/models/RestError.d.ts +4 -6
  18. package/lexicon/src/models/RestError.js +0 -2
  19. package/litigation/src/models/RestError.d.ts +4 -6
  20. package/litigation/src/models/RestError.js +0 -2
  21. package/mangopay-hook/src/models/RestError.d.ts +4 -6
  22. package/mangopay-hook/src/models/RestError.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/ManageOrderItemApi.d.ts +3 -46
  26. package/order/src/apis/ManageOrderItemApi.js +18 -270
  27. package/order/src/models/Order.d.ts +0 -6
  28. package/order/src/models/Order.js +0 -2
  29. package/order/src/models/RestError.d.ts +4 -6
  30. package/order/src/models/RestError.js +0 -2
  31. package/order/src/models/index.d.ts +0 -2
  32. package/order/src/models/index.js +0 -2
  33. package/package.json +1 -1
  34. package/product/src/models/RestError.d.ts +4 -6
  35. package/product/src/models/RestError.js +0 -2
  36. package/pub/src/models/RestError.d.ts +4 -6
  37. package/pub/src/models/RestError.js +0 -2
  38. package/rfx/src/apis/ManageRfoApi.d.ts +31 -0
  39. package/rfx/src/apis/ManageRfoApi.js +149 -0
  40. package/rfx/src/apis/index.d.ts +1 -0
  41. package/rfx/src/apis/index.js +1 -0
  42. package/rfx/src/models/RestError.d.ts +4 -6
  43. package/rfx/src/models/RestError.js +0 -2
  44. package/sale-offer/src/models/RestError.d.ts +4 -6
  45. package/sale-offer/src/models/RestError.js +0 -2
  46. package/servant/src/models/RestError.d.ts +4 -6
  47. package/servant/src/models/RestError.js +0 -2
  48. package/shipment/src/models/RestError.d.ts +4 -6
  49. package/shipment/src/models/RestError.js +0 -2
  50. package/shopping-cart/src/models/RestError.d.ts +4 -6
  51. package/shopping-cart/src/models/RestError.js +0 -2
  52. package/statistic/src/models/RestError.d.ts +4 -6
  53. package/statistic/src/models/RestError.js +0 -2
  54. package/subscription/src/apis/ManageSubscriptionApi.d.ts +2 -2
  55. package/subscription/src/apis/ManageSubscriptionApi.js +2 -2
  56. package/subscription/src/models/RestError.d.ts +4 -6
  57. package/subscription/src/models/RestError.js +0 -2
  58. package/third-party/src/models/RestError.d.ts +4 -6
  59. package/third-party/src/models/RestError.js +0 -2
  60. package/ubo/src/models/RestError.d.ts +4 -6
  61. package/ubo/src/models/RestError.js +0 -2
  62. package/user/src/models/RestError.d.ts +4 -6
  63. package/user/src/models/RestError.js +0 -2
  64. package/wish/src/models/RestError.d.ts +4 -6
  65. package/wish/src/models/RestError.js +0 -2
  66. package/order/src/models/OrderItemRefundedCreationParameters.d.ts +0 -39
  67. package/order/src/models/OrderItemRefundedCreationParameters.js +0 -46
  68. package/order/src/models/OrderRefundedItemUpdateParameters.d.ts +0 -22
  69. package/order/src/models/OrderRefundedItemUpdateParameters.js +0 -28
@@ -68,7 +68,6 @@ var RestErrorCodeEnum;
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
69
  RestErrorCodeEnum["CODE019"] = "CODE019";
70
70
  RestErrorCodeEnum["CODE020"] = "CODE020";
71
- RestErrorCodeEnum["CODE021"] = "CODE021";
72
71
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
73
72
  /**
74
73
  * @export
@@ -97,5 +96,4 @@ var RestErrorMessageEnum;
97
96
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
98
97
  RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
99
98
  RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
100
- RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
101
99
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -26,12 +26,12 @@ export interface UpdateSubscriptionRequest {
26
26
  */
27
27
  export declare class ManageSubscriptionApi extends BaseAPI {
28
28
  /**
29
- * Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. - If user have offisante status \'NOT_SET\' : - User email is filled - User firstname is filled - User lastname is filled - User company SIRET is filled - User Company CIP is filled - User Company finess is filled - User Company management software is filled - User Company location type is filled - User Company group is filled # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
29
+ * Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
30
30
  * Subscribe to a plan
31
31
  */
32
32
  createSubscriptionRaw(requestParameters: CreateSubscriptionRequest): Promise<ApiResponse<Subscription | BlobWithMeta>>;
33
33
  /**
34
- * Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. - If user have offisante status \'NOT_SET\' : - User email is filled - User firstname is filled - User lastname is filled - User company SIRET is filled - User Company CIP is filled - User Company finess is filled - User Company management software is filled - User Company location type is filled - User Company group is filled # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
34
+ * Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
35
35
  * Subscribe to a plan
36
36
  */
37
37
  createSubscription(requestParameters: CreateSubscriptionRequest): Promise<Subscription | BlobWithMeta>;
@@ -76,7 +76,7 @@ var ManageSubscriptionApi = /** @class */ (function (_super) {
76
76
  return _super !== null && _super.apply(this, arguments) || this;
77
77
  }
78
78
  /**
79
- * Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. - If user have offisante status \'NOT_SET\' : - User email is filled - User firstname is filled - User lastname is filled - User company SIRET is filled - User Company CIP is filled - User Company finess is filled - User Company management software is filled - User Company location type is filled - User Company group is filled # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
79
+ * Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
80
80
  * Subscribe to a plan
81
81
  */
82
82
  ManageSubscriptionApi.prototype.createSubscriptionRaw = function (requestParameters) {
@@ -143,7 +143,7 @@ var ManageSubscriptionApi = /** @class */ (function (_super) {
143
143
  });
144
144
  };
145
145
  /**
146
- * Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. - If user have offisante status \'NOT_SET\' : - User email is filled - User firstname is filled - User lastname is filled - User company SIRET is filled - User Company CIP is filled - User Company finess is filled - User Company management software is filled - User Company location type is filled - User Company group is filled # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
146
+ * Create subscription for a specific user. This operation is useful to change current plan of user. Note : - Upgrade user plan is immediate - Downgrade user plan wait termination of current subscription # Preconditions : - If plan \'price\' > 0, client \'mandate\' of id \'clientId\' should exists. # Limitations : - \'isTrial\' can only be true if no subscription on the user yet or executor is ADMINISTRATOR
147
147
  * Subscribe to a plan
148
148
  */
149
149
  ManageSubscriptionApi.prototype.createSubscription = function (requestParameters) {
@@ -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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -56,8 +56,7 @@ export declare enum RestErrorCodeEnum {
56
56
  CODE017 = "CODE017",
57
57
  CODE018 = "CODE018",
58
58
  CODE019 = "CODE019",
59
- CODE020 = "CODE020",
60
- CODE021 = "CODE021"
59
+ CODE020 = "CODE020"
61
60
  }
62
61
  /**
63
62
  * @export
@@ -84,6 +83,5 @@ export declare enum RestErrorMessageEnum {
84
83
  MESSAGE017 = "Batch is forbidden for sale",
85
84
  MESSAGE018 = "Trial already used",
86
85
  MESSAGE019 = "Unable to generate session from disposableToken for admin users",
87
- MESSAGE020 = "ETag do not match",
88
- MESSAGE021 = "Missing informations for Offisante subscription"
86
+ MESSAGE020 = "ETag do not match"
89
87
  }
@@ -68,7 +68,6 @@ var RestErrorCodeEnum;
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
69
  RestErrorCodeEnum["CODE019"] = "CODE019";
70
70
  RestErrorCodeEnum["CODE020"] = "CODE020";
71
- RestErrorCodeEnum["CODE021"] = "CODE021";
72
71
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
73
72
  /**
74
73
  * @export
@@ -97,5 +96,4 @@ var RestErrorMessageEnum;
97
96
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
98
97
  RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
99
98
  RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
100
- RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
101
99
  })(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -56,8 +56,7 @@ export declare enum RestErrorCodeEnum {
56
56
  CODE017 = "CODE017",
57
57
  CODE018 = "CODE018",
58
58
  CODE019 = "CODE019",
59
- CODE020 = "CODE020",
60
- CODE021 = "CODE021"
59
+ CODE020 = "CODE020"
61
60
  }
62
61
  /**
63
62
  * @export
@@ -84,6 +83,5 @@ export declare enum RestErrorMessageEnum {
84
83
  MESSAGE017 = "Batch is forbidden for sale",
85
84
  MESSAGE018 = "Trial already used",
86
85
  MESSAGE019 = "Unable to generate session from disposableToken for admin users",
87
- MESSAGE020 = "ETag do not match",
88
- MESSAGE021 = "Missing informations for Offisante subscription"
86
+ MESSAGE020 = "ETag do not match"
89
87
  }
@@ -68,7 +68,6 @@ var RestErrorCodeEnum;
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
69
  RestErrorCodeEnum["CODE019"] = "CODE019";
70
70
  RestErrorCodeEnum["CODE020"] = "CODE020";
71
- RestErrorCodeEnum["CODE021"] = "CODE021";
72
71
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
73
72
  /**
74
73
  * @export
@@ -97,5 +96,4 @@ var RestErrorMessageEnum;
97
96
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
98
97
  RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
99
98
  RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
100
- RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
101
99
  })(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -56,8 +56,7 @@ export declare enum RestErrorCodeEnum {
56
56
  CODE017 = "CODE017",
57
57
  CODE018 = "CODE018",
58
58
  CODE019 = "CODE019",
59
- CODE020 = "CODE020",
60
- CODE021 = "CODE021"
59
+ CODE020 = "CODE020"
61
60
  }
62
61
  /**
63
62
  * @export
@@ -84,6 +83,5 @@ export declare enum RestErrorMessageEnum {
84
83
  MESSAGE017 = "Batch is forbidden for sale",
85
84
  MESSAGE018 = "Trial already used",
86
85
  MESSAGE019 = "Unable to generate session from disposableToken for admin users",
87
- MESSAGE020 = "ETag do not match",
88
- MESSAGE021 = "Missing informations for Offisante subscription"
86
+ MESSAGE020 = "ETag do not match"
89
87
  }
@@ -68,7 +68,6 @@ var RestErrorCodeEnum;
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
69
  RestErrorCodeEnum["CODE019"] = "CODE019";
70
70
  RestErrorCodeEnum["CODE020"] = "CODE020";
71
- RestErrorCodeEnum["CODE021"] = "CODE021";
72
71
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
73
72
  /**
74
73
  * @export
@@ -97,5 +96,4 @@ var RestErrorMessageEnum;
97
96
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
98
97
  RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
99
98
  RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
100
- RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
101
99
  })(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -56,8 +56,7 @@ export declare enum RestErrorCodeEnum {
56
56
  CODE017 = "CODE017",
57
57
  CODE018 = "CODE018",
58
58
  CODE019 = "CODE019",
59
- CODE020 = "CODE020",
60
- CODE021 = "CODE021"
59
+ CODE020 = "CODE020"
61
60
  }
62
61
  /**
63
62
  * @export
@@ -84,6 +83,5 @@ export declare enum RestErrorMessageEnum {
84
83
  MESSAGE017 = "Batch is forbidden for sale",
85
84
  MESSAGE018 = "Trial already used",
86
85
  MESSAGE019 = "Unable to generate session from disposableToken for admin users",
87
- MESSAGE020 = "ETag do not match",
88
- MESSAGE021 = "Missing informations for Offisante subscription"
86
+ MESSAGE020 = "ETag do not match"
89
87
  }
@@ -68,7 +68,6 @@ var RestErrorCodeEnum;
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
69
  RestErrorCodeEnum["CODE019"] = "CODE019";
70
70
  RestErrorCodeEnum["CODE020"] = "CODE020";
71
- RestErrorCodeEnum["CODE021"] = "CODE021";
72
71
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
73
72
  /**
74
73
  * @export
@@ -97,5 +96,4 @@ var RestErrorMessageEnum;
97
96
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
98
97
  RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
99
98
  RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
100
- RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
101
99
  })(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` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match * `CODE021` - Missing informations for Offisante subscription
19
+ * Unique code to identify an error : * `CODE000` - Using outdated resource * `CODE001` - Invalid credentials * `CODE002` - Cannot renew token * `CODE003` - Invalid User CGV * `CODE004` - Resource already exists * `CODE005` - User account is disabled * `CODE006` - Invalid schedule * `CODE007` - Wrong Address according CHRONOPOST * `CODE008` - Invalid Mangopay Mandate * `CODE009` - Invalid Status * `CODE010` - Image dimension exceeded * `CODE011` - Empty User Address * `CODE012` - Empty User Legal Name * `CODE013` - Invalid quantities * `CODE014` - Invalid Meta-Order * `CODE015` - Can not release quantity greater than claimed * `CODE016` - Can not release a negative quantity of items * `CODE017` - Batch is forbidden for sale * `CODE018` - Trial already used * `CODE019` - Unable to generate session from disposableToken for admin users * `CODE020` - ETag do not match
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` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match * `MESSAGE021` - Missing informations for Offisante subscription
25
+ * Unique code to identify an error : * `MESSAGE000` - Using outdated resource * `MESSAGE001` - Invalid credentials * `MESSAGE002` - Cannot renew token * `MESSAGE003` - Invalid User CGV * `MESSAGE004` - Resource already exists * `MESSAGE005` - User account is disabled * `MESSAGE006` - Invalid schedule * `MESSAGE007` - Wrong Address according CHRONOPOST * `MESSAGE008` - Invalid Mangopay Mandate * `MESSAGE009` - Invalid Status * `MESSAGE010` - Image dimension exceeded * `MESSAGE011` - Empty User Address * `MESSAGE012` - Empty User Legal Name * `MESSAGE013` - Invalid quantities * `MESSAGE014` - Invalid Meta-Order * `MESSAGE015` - Can not release quantity greater than claimed * `MESSAGE016` - Can not release a negative quantity of items * `MESSAGE017` - Batch is forbidden for sale * `MESSAGE018` - Trial already used * `MESSAGE019` - Unable to generate session from disposableToken for admin users * `MESSAGE020` - ETag do not match
26
26
  * @type {string}
27
27
  * @memberof RestError
28
28
  */
@@ -56,8 +56,7 @@ export declare enum RestErrorCodeEnum {
56
56
  CODE017 = "CODE017",
57
57
  CODE018 = "CODE018",
58
58
  CODE019 = "CODE019",
59
- CODE020 = "CODE020",
60
- CODE021 = "CODE021"
59
+ CODE020 = "CODE020"
61
60
  }
62
61
  /**
63
62
  * @export
@@ -84,6 +83,5 @@ export declare enum RestErrorMessageEnum {
84
83
  MESSAGE017 = "Batch is forbidden for sale",
85
84
  MESSAGE018 = "Trial already used",
86
85
  MESSAGE019 = "Unable to generate session from disposableToken for admin users",
87
- MESSAGE020 = "ETag do not match",
88
- MESSAGE021 = "Missing informations for Offisante subscription"
86
+ MESSAGE020 = "ETag do not match"
89
87
  }
@@ -68,7 +68,6 @@ var RestErrorCodeEnum;
68
68
  RestErrorCodeEnum["CODE018"] = "CODE018";
69
69
  RestErrorCodeEnum["CODE019"] = "CODE019";
70
70
  RestErrorCodeEnum["CODE020"] = "CODE020";
71
- RestErrorCodeEnum["CODE021"] = "CODE021";
72
71
  })(RestErrorCodeEnum = exports.RestErrorCodeEnum || (exports.RestErrorCodeEnum = {}));
73
72
  /**
74
73
  * @export
@@ -97,5 +96,4 @@ var RestErrorMessageEnum;
97
96
  RestErrorMessageEnum["MESSAGE018"] = "Trial already used";
98
97
  RestErrorMessageEnum["MESSAGE019"] = "Unable to generate session from disposableToken for admin users";
99
98
  RestErrorMessageEnum["MESSAGE020"] = "ETag do not match";
100
- RestErrorMessageEnum["MESSAGE021"] = "Missing informations for Offisante subscription";
101
99
  })(RestErrorMessageEnum = exports.RestErrorMessageEnum || (exports.RestErrorMessageEnum = {}));
@@ -1,39 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP orders
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: contact@lecomptoirdespharmacies.fr
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- *
14
- * @export
15
- * @interface OrderItemRefundedCreationParameters
16
- */
17
- export interface OrderItemRefundedCreationParameters {
18
- /**
19
- * Reference of the sale offer
20
- * @type {string}
21
- * @memberof OrderItemRefundedCreationParameters
22
- */
23
- saleOfferReference: string;
24
- /**
25
- * Id of the distribution range
26
- * @type {number}
27
- * @memberof OrderItemRefundedCreationParameters
28
- */
29
- distributionRangeId?: number;
30
- /**
31
- * Quantity of the order item to refund
32
- * @type {number}
33
- * @memberof OrderItemRefundedCreationParameters
34
- */
35
- quantity: number;
36
- }
37
- export declare function OrderItemRefundedCreationParametersFromJSON(json: any): OrderItemRefundedCreationParameters;
38
- export declare function OrderItemRefundedCreationParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderItemRefundedCreationParameters;
39
- export declare function OrderItemRefundedCreationParametersToJSON(value?: OrderItemRefundedCreationParameters | null): any;
@@ -1,46 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-service
6
- * This is the REST API of LCDP orders
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: contact@lecomptoirdespharmacies.fr
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.OrderItemRefundedCreationParametersToJSON = exports.OrderItemRefundedCreationParametersFromJSONTyped = exports.OrderItemRefundedCreationParametersFromJSON = void 0;
17
- var runtime_1 = require("../runtime");
18
- function OrderItemRefundedCreationParametersFromJSON(json) {
19
- return OrderItemRefundedCreationParametersFromJSONTyped(json, false);
20
- }
21
- exports.OrderItemRefundedCreationParametersFromJSON = OrderItemRefundedCreationParametersFromJSON;
22
- function OrderItemRefundedCreationParametersFromJSONTyped(json, ignoreDiscriminator) {
23
- if ((json === undefined) || (json === null)) {
24
- return json;
25
- }
26
- return {
27
- 'saleOfferReference': json['saleOfferReference'],
28
- 'distributionRangeId': !(0, runtime_1.exists)(json, 'distributionRangeId') ? undefined : json['distributionRangeId'],
29
- 'quantity': json['quantity'],
30
- };
31
- }
32
- exports.OrderItemRefundedCreationParametersFromJSONTyped = OrderItemRefundedCreationParametersFromJSONTyped;
33
- function OrderItemRefundedCreationParametersToJSON(value) {
34
- if (value === undefined) {
35
- return undefined;
36
- }
37
- if (value === null) {
38
- return null;
39
- }
40
- return {
41
- 'saleOfferReference': value.saleOfferReference,
42
- 'distributionRangeId': value.distributionRangeId,
43
- 'quantity': value.quantity,
44
- };
45
- }
46
- exports.OrderItemRefundedCreationParametersToJSON = OrderItemRefundedCreationParametersToJSON;
@@ -1,22 +0,0 @@
1
- /**
2
- * lcdp-monolith-service
3
- * This is the REST API of LCDP orders
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: contact@lecomptoirdespharmacies.fr
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import { OrderItemUpdateParameters } from './OrderItemUpdateParameters';
13
- /**
14
- *
15
- * @export
16
- * @interface OrderRefundedItemUpdateParameters
17
- */
18
- export interface OrderRefundedItemUpdateParameters extends OrderItemUpdateParameters {
19
- }
20
- export declare function OrderRefundedItemUpdateParametersFromJSON(json: any): OrderRefundedItemUpdateParameters;
21
- export declare function OrderRefundedItemUpdateParametersFromJSONTyped(json: any, ignoreDiscriminator: boolean): OrderRefundedItemUpdateParameters;
22
- export declare function OrderRefundedItemUpdateParametersToJSON(value?: OrderRefundedItemUpdateParameters | null): any;
@@ -1,28 +0,0 @@
1
- "use strict";
2
- /* tslint:disable */
3
- /* eslint-disable */
4
- /**
5
- * lcdp-monolith-service
6
- * This is the REST API of LCDP orders
7
- *
8
- * The version of the OpenAPI document: 1.0.0
9
- * Contact: contact@lecomptoirdespharmacies.fr
10
- *
11
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
- * https://openapi-generator.tech
13
- * Do not edit the class manually.
14
- */
15
- Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.OrderRefundedItemUpdateParametersToJSON = exports.OrderRefundedItemUpdateParametersFromJSONTyped = exports.OrderRefundedItemUpdateParametersFromJSON = void 0;
17
- function OrderRefundedItemUpdateParametersFromJSON(json) {
18
- return OrderRefundedItemUpdateParametersFromJSONTyped(json, false);
19
- }
20
- exports.OrderRefundedItemUpdateParametersFromJSON = OrderRefundedItemUpdateParametersFromJSON;
21
- function OrderRefundedItemUpdateParametersFromJSONTyped(json, ignoreDiscriminator) {
22
- return json;
23
- }
24
- exports.OrderRefundedItemUpdateParametersFromJSONTyped = OrderRefundedItemUpdateParametersFromJSONTyped;
25
- function OrderRefundedItemUpdateParametersToJSON(value) {
26
- return value;
27
- }
28
- exports.OrderRefundedItemUpdateParametersToJSON = OrderRefundedItemUpdateParametersToJSON;