@lcdp/api-react-rest-client 2.9.0-upgrade-codegen-client-react.12586609052 → 2.9.1-develop.13139572022

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 (124) hide show
  1. package/auth/src/models/RestError.d.ts +4 -2
  2. package/auth/src/models/RestError.js +4 -2
  3. package/auth/src/runtime.js +11 -2
  4. package/banking-operation/src/runtime.js +11 -2
  5. package/catalog/src/models/RestError.d.ts +4 -2
  6. package/catalog/src/models/RestError.js +4 -2
  7. package/catalog/src/runtime.js +11 -2
  8. package/challenge/src/runtime.js +11 -2
  9. package/configuration/src/models/RestError.d.ts +4 -2
  10. package/configuration/src/models/RestError.js +4 -2
  11. package/configuration/src/runtime.js +11 -2
  12. package/content/src/models/RestError.d.ts +4 -2
  13. package/content/src/models/RestError.js +4 -2
  14. package/content/src/runtime.js +11 -2
  15. package/factory/src/runtime.js +11 -2
  16. package/favorite/src/models/RestError.d.ts +4 -2
  17. package/favorite/src/models/RestError.js +4 -2
  18. package/favorite/src/runtime.js +11 -2
  19. package/geo/src/runtime.js +11 -2
  20. package/inventory/src/apis/ManageInventoryApi.d.ts +5 -17
  21. package/inventory/src/apis/ManageInventoryApi.js +12 -86
  22. package/inventory/src/apis/SearchInventoryApi.d.ts +29 -22
  23. package/inventory/src/apis/SearchInventoryApi.js +106 -87
  24. package/inventory/src/models/ActiveProduct.d.ts +10 -3
  25. package/inventory/src/models/ActiveProduct.js +5 -2
  26. package/inventory/src/models/ActiveProductUpdateParameters.d.ts +4 -3
  27. package/inventory/src/models/ActiveProductUpdateParameters.js +3 -2
  28. package/inventory/src/models/Inventory.d.ts +63 -0
  29. package/inventory/src/models/Inventory.js +57 -0
  30. package/inventory/src/models/InventoryJournal.d.ts +31 -0
  31. package/inventory/src/models/InventoryJournal.js +45 -0
  32. package/inventory/src/models/MisalignedProduct.d.ts +6 -0
  33. package/inventory/src/models/MisalignedProduct.js +2 -0
  34. package/inventory/src/models/OverstockProduct.d.ts +6 -0
  35. package/inventory/src/models/OverstockProduct.js +2 -0
  36. package/inventory/src/models/PaginatedInventories.d.ts +39 -0
  37. package/inventory/src/models/PaginatedInventories.js +53 -0
  38. package/inventory/src/models/RestError.d.ts +4 -2
  39. package/inventory/src/models/RestError.js +4 -2
  40. package/inventory/src/models/SynchronizationMode.d.ts +25 -0
  41. package/inventory/src/models/SynchronizationMode.js +48 -0
  42. package/inventory/src/models/index.d.ts +4 -3
  43. package/inventory/src/models/index.js +4 -3
  44. package/inventory/src/runtime.js +11 -2
  45. package/invoice/src/models/RestError.d.ts +4 -2
  46. package/invoice/src/models/RestError.js +4 -2
  47. package/invoice/src/runtime.js +11 -2
  48. package/laboratory/src/runtime.js +11 -2
  49. package/laboratory-store/src/models/RestError.d.ts +4 -2
  50. package/laboratory-store/src/models/RestError.js +4 -2
  51. package/laboratory-store/src/runtime.js +11 -2
  52. package/laboratory-store-log/src/runtime.js +11 -2
  53. package/lexicon/src/models/RestError.d.ts +4 -2
  54. package/lexicon/src/models/RestError.js +4 -2
  55. package/lexicon/src/runtime.js +11 -2
  56. package/litigation/src/models/RestError.d.ts +4 -2
  57. package/litigation/src/models/RestError.js +4 -2
  58. package/litigation/src/runtime.js +11 -2
  59. package/magic-cart/src/runtime.js +11 -2
  60. package/mandate/src/runtime.js +11 -2
  61. package/mangopay-hook/src/models/RestError.d.ts +4 -2
  62. package/mangopay-hook/src/models/RestError.js +4 -2
  63. package/mangopay-hook/src/runtime.js +11 -2
  64. package/message/src/runtime.js +11 -2
  65. package/notification/src/models/RestError.d.ts +4 -2
  66. package/notification/src/models/RestError.js +4 -2
  67. package/notification/src/runtime.js +11 -2
  68. package/order/src/models/RestError.d.ts +4 -2
  69. package/order/src/models/RestError.js +4 -2
  70. package/order/src/runtime.js +11 -2
  71. package/order-log/src/runtime.js +11 -2
  72. package/outrage-message/src/runtime.js +11 -2
  73. package/package.json +1 -1
  74. package/product/src/models/RestError.d.ts +4 -2
  75. package/product/src/models/RestError.js +4 -2
  76. package/product/src/runtime.js +11 -2
  77. package/pub/src/models/RestError.d.ts +4 -2
  78. package/pub/src/models/RestError.js +4 -2
  79. package/pub/src/runtime.js +11 -2
  80. package/recommendation/src/runtime.js +11 -2
  81. package/rfx/src/models/RestError.d.ts +4 -2
  82. package/rfx/src/models/RestError.js +4 -2
  83. package/rfx/src/runtime.js +11 -2
  84. package/sale-offer/src/models/RestError.d.ts +4 -2
  85. package/sale-offer/src/models/RestError.js +4 -2
  86. package/sale-offer/src/runtime.js +11 -2
  87. package/sale-offer-log/src/runtime.js +11 -2
  88. package/servant/src/models/RestError.d.ts +4 -2
  89. package/servant/src/models/RestError.js +4 -2
  90. package/servant/src/runtime.js +11 -2
  91. package/shipment/src/models/RestError.d.ts +4 -2
  92. package/shipment/src/models/RestError.js +4 -2
  93. package/shipment/src/runtime.js +11 -2
  94. package/shopping-cart/src/models/RestError.d.ts +4 -2
  95. package/shopping-cart/src/models/RestError.js +4 -2
  96. package/shopping-cart/src/runtime.js +11 -2
  97. package/smuggler/src/models/RestError.d.ts +4 -2
  98. package/smuggler/src/models/RestError.js +4 -2
  99. package/smuggler/src/runtime.js +11 -2
  100. package/statistic/src/models/RestError.d.ts +4 -2
  101. package/statistic/src/models/RestError.js +4 -2
  102. package/statistic/src/runtime.js +11 -2
  103. package/subscription/src/models/RestError.d.ts +4 -2
  104. package/subscription/src/models/RestError.js +4 -2
  105. package/subscription/src/runtime.js +11 -2
  106. package/third-party/src/models/RestError.d.ts +4 -2
  107. package/third-party/src/models/RestError.js +4 -2
  108. package/third-party/src/runtime.js +11 -2
  109. package/thread/src/runtime.js +11 -2
  110. package/ubo/src/models/RestError.d.ts +4 -2
  111. package/ubo/src/models/RestError.js +4 -2
  112. package/ubo/src/runtime.js +11 -2
  113. package/user/src/models/RestError.d.ts +4 -2
  114. package/user/src/models/RestError.js +4 -2
  115. package/user/src/runtime.js +11 -2
  116. package/wish/src/models/RestError.d.ts +4 -2
  117. package/wish/src/models/RestError.js +4 -2
  118. package/wish/src/runtime.js +11 -2
  119. package/inventory/src/models/Synchroneity.d.ts +0 -32
  120. package/inventory/src/models/Synchroneity.js +0 -46
  121. package/inventory/src/models/SynchroneityOffisante.d.ts +0 -38
  122. package/inventory/src/models/SynchroneityOffisante.js +0 -48
  123. package/inventory/src/models/SynchroneitySource.d.ts +0 -37
  124. package/inventory/src/models/SynchroneitySource.js +0 -47
@@ -16,14 +16,14 @@
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * 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
26
+ * 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 * `MESSAGE022` - Disabled feature
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
74
  * Check if a given object implements the RestError interface.
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -16,14 +16,14 @@
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * 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
26
+ * 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 * `MESSAGE022` - Disabled feature
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
74
  * Check if a given object implements the RestError interface.
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -16,14 +16,14 @@
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * 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
26
+ * 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 * `MESSAGE022` - Disabled feature
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
74
  * Check if a given object implements the RestError interface.
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -16,14 +16,14 @@
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * 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
26
+ * 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 * `MESSAGE022` - Disabled feature
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
74
  * Check if a given object implements the RestError interface.
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -16,14 +16,14 @@
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 * `CODE021` - Missing informations for Offisante subscription * `CODE022` - Disabled feature
20
20
  *
21
21
  * @type {string}
22
22
  * @memberof RestError
23
23
  */
24
24
  code: RestErrorCodeEnum;
25
25
  /**
26
- * 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
26
+ * 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 * `MESSAGE022` - Disabled feature
27
27
  *
28
28
  * @type {string}
29
29
  * @memberof RestError
@@ -56,6 +56,7 @@ export declare const RestErrorCodeEnum: {
56
56
  readonly CODE019: "CODE019";
57
57
  readonly CODE020: "CODE020";
58
58
  readonly CODE021: "CODE021";
59
+ readonly CODE022: "CODE022";
59
60
  };
60
61
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
62
  /**
@@ -84,6 +85,7 @@ export declare const RestErrorMessageEnum: {
84
85
  readonly MESSAGE019: "Unable to generate session from disposableToken for admin users";
85
86
  readonly MESSAGE020: "ETag do not match";
86
87
  readonly MESSAGE021: "Missing informations for Offisante subscription";
88
+ readonly MESSAGE022: "Disabled feature";
87
89
  };
88
90
  export declare type RestErrorMessageEnum = typeof RestErrorMessageEnum[keyof typeof RestErrorMessageEnum];
89
91
  /**
@@ -39,7 +39,8 @@ exports.RestErrorCodeEnum = {
39
39
  CODE018: 'CODE018',
40
40
  CODE019: 'CODE019',
41
41
  CODE020: 'CODE020',
42
- CODE021: 'CODE021'
42
+ CODE021: 'CODE021',
43
+ CODE022: 'CODE022'
43
44
  };
44
45
  /**
45
46
  * @export
@@ -66,7 +67,8 @@ exports.RestErrorMessageEnum = {
66
67
  MESSAGE018: 'Trial already used',
67
68
  MESSAGE019: 'Unable to generate session from disposableToken for admin users',
68
69
  MESSAGE020: 'ETag do not match',
69
- MESSAGE021: 'Missing informations for Offisante subscription'
70
+ MESSAGE021: 'Missing informations for Offisante subscription',
71
+ MESSAGE022: 'Disabled feature'
70
72
  };
71
73
  /**
72
74
  * Check if a given object implements the RestError interface.
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -240,7 +240,16 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
243
- case 11: throw e_1;
243
+ case 11:
244
+ if (response === undefined) {
245
+ if (e_1 instanceof Error) {
246
+ throw new FetchError(e_1, 'The request failed and the interceptors did not return an alternative response');
247
+ }
248
+ else {
249
+ throw e_1;
250
+ }
251
+ }
252
+ return [3 /*break*/, 12];
244
253
  case 12:
245
254
  _d = 0, _e = this.middleware;
246
255
  _f.label = 13;
@@ -322,7 +331,7 @@ var BaseAPI = /** @class */ (function () {
322
331
  if (response && (response.status >= 200 && response.status < 300)) {
323
332
  return [2 /*return*/, response];
324
333
  }
325
- throw response;
334
+ throw new ResponseError(response, 'Response returned an error code');
326
335
  }
327
336
  });
328
337
  });
@@ -10,10 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import * as runtime from '../runtime';
13
- import type { ActiveProductUpdateParameters, OverstockProductUpdateParameters, Synchroneity } from '../models/index';
13
+ import type { ActiveProductUpdateParameters, OverstockProductUpdateParameters, SynchronizationMode } from '../models/index';
14
14
  export interface UpdateCurrentInventoryActiveProductsRequest {
15
+ syncModeEq: Array<SynchronizationMode>;
15
16
  activeProductUpdateParameters: ActiveProductUpdateParameters;
16
- pEq?: number;
17
+ pEq?: Array<number>;
17
18
  }
18
19
  export interface UpdateCurrentInventoryOverstockProductsRequest {
19
20
  overstockProductUpdateParameters: OverstockProductUpdateParameters;
@@ -21,18 +22,15 @@ export interface UpdateCurrentInventoryOverstockProductsRequest {
21
22
  }
22
23
  export interface UpdateInventoryActiveProductsRequest {
23
24
  inventoryId: number;
25
+ syncModeEq: Array<SynchronizationMode>;
24
26
  activeProductUpdateParameters: ActiveProductUpdateParameters;
25
- pEq?: number;
27
+ pEq?: Array<number>;
26
28
  }
27
29
  export interface UpdateInventoryOverstockProductsRequest {
28
30
  inventoryId: number;
29
31
  overstockProductUpdateParameters: OverstockProductUpdateParameters;
30
32
  pEq?: number;
31
33
  }
32
- export interface UpdateInventorySynchroneityRequest {
33
- inventoryId: number;
34
- synchroneity: Synchroneity;
35
- }
36
34
  /**
37
35
  *
38
36
  */
@@ -69,14 +67,4 @@ export declare class ManageInventoryApi extends runtime.BaseAPI {
69
67
  * Add product to black list
70
68
  */
71
69
  updateInventoryOverstockProducts(requestParameters: UpdateInventoryOverstockProductsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<void>;
72
- /**
73
- * Allow to update synchroneity of an inventory. For example to force resynchronize of a source, you can send source synchronizationScheduled to \'True\'. If you want to restart synchronization from the beginning of human life, you can send souyrce lastSynchronizationDate to \'0\'
74
- * Modify synchroneity state of a user
75
- */
76
- updateInventorySynchroneityRaw(requestParameters: UpdateInventorySynchroneityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Synchroneity | runtime.BlobWithMeta>>;
77
- /**
78
- * Allow to update synchroneity of an inventory. For example to force resynchronize of a source, you can send source synchronizationScheduled to \'True\'. If you want to restart synchronization from the beginning of human life, you can send souyrce lastSynchronizationDate to \'0\'
79
- * Modify synchroneity state of a user
80
- */
81
- updateInventorySynchroneity(requestParameters: UpdateInventorySynchroneityRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Synchroneity | runtime.BlobWithMeta>;
82
70
  }