@lcdp/api-react-rest-client 2.9.0-upgrade-codegen-client-react.12465674350 → 2.9.0-upgrade-codegen-client-react.12586609052

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 (294) hide show
  1. package/auth/src/apis/SearchApiKeyApi.d.ts +6 -6
  2. package/auth/src/apis/SearchApiKeyApi.js +6 -6
  3. package/auth/src/models/RestError.d.ts +22 -22
  4. package/auth/src/models/RestError.js +22 -22
  5. package/auth/src/runtime.js +2 -11
  6. package/banking-operation/src/apis/SearchLevyApi.d.ts +14 -14
  7. package/banking-operation/src/apis/SearchLevyApi.js +14 -14
  8. package/banking-operation/src/apis/SearchOrderPaymentApi.d.ts +2 -2
  9. package/banking-operation/src/apis/SearchOrderPaymentApi.js +2 -2
  10. package/banking-operation/src/models/LevyPaymentStatus.d.ts +3 -3
  11. package/banking-operation/src/models/LevyPaymentStatus.js +3 -3
  12. package/banking-operation/src/models/LevyStatus.d.ts +2 -2
  13. package/banking-operation/src/models/LevyStatus.js +2 -2
  14. package/banking-operation/src/models/Transaction.d.ts +4 -4
  15. package/banking-operation/src/models/Transaction.js +4 -4
  16. package/banking-operation/src/runtime.js +2 -11
  17. package/catalog/src/apis/SearchProductInsightApi.d.ts +4 -4
  18. package/catalog/src/apis/SearchProductInsightApi.js +4 -4
  19. package/catalog/src/models/ProductStorageType.d.ts +4 -4
  20. package/catalog/src/models/ProductStorageType.js +4 -4
  21. package/catalog/src/models/RestError.d.ts +22 -22
  22. package/catalog/src/models/RestError.js +22 -22
  23. package/catalog/src/runtime.js +2 -11
  24. package/challenge/src/models/ChallengeAction.d.ts +1 -1
  25. package/challenge/src/models/ChallengeAction.js +1 -1
  26. package/challenge/src/runtime.js +2 -11
  27. package/configuration/src/models/RestError.d.ts +22 -22
  28. package/configuration/src/models/RestError.js +22 -22
  29. package/configuration/src/runtime.js +2 -11
  30. package/content/src/models/RestError.d.ts +22 -22
  31. package/content/src/models/RestError.js +22 -22
  32. package/content/src/runtime.js +2 -11
  33. package/factory/src/apis/SearchAssemblyApi.d.ts +6 -6
  34. package/factory/src/apis/SearchAssemblyApi.js +6 -6
  35. package/factory/src/models/AssemblyOutputInner.d.ts +2 -2
  36. package/factory/src/models/AssemblyOutputInner.js +2 -2
  37. package/factory/src/models/AssemblyStatus.d.ts +8 -8
  38. package/factory/src/models/AssemblyStatus.js +8 -8
  39. package/factory/src/models/ProductStatus.d.ts +4 -4
  40. package/factory/src/models/ProductStatus.js +4 -4
  41. package/factory/src/models/SaleOfferStatus.d.ts +7 -7
  42. package/factory/src/models/SaleOfferStatus.js +7 -7
  43. package/factory/src/models/StatusEnum.d.ts +8 -8
  44. package/factory/src/models/StatusEnum.js +8 -8
  45. package/factory/src/runtime.js +2 -11
  46. package/favorite/src/apis/ManageFavoriteProductApi.d.ts +4 -4
  47. package/favorite/src/apis/ManageFavoriteProductApi.js +4 -4
  48. package/favorite/src/models/ProductStatus.d.ts +4 -4
  49. package/favorite/src/models/ProductStatus.js +4 -4
  50. package/favorite/src/models/RestError.d.ts +22 -22
  51. package/favorite/src/models/RestError.js +22 -22
  52. package/favorite/src/runtime.js +2 -11
  53. package/geo/src/runtime.js +2 -11
  54. package/inventory/src/apis/SearchInventoryApi.d.ts +54 -54
  55. package/inventory/src/apis/SearchInventoryApi.js +54 -54
  56. package/inventory/src/models/RestError.d.ts +22 -22
  57. package/inventory/src/models/RestError.js +22 -22
  58. package/inventory/src/runtime.js +2 -11
  59. package/invoice/src/apis/SearchInvoiceApi.d.ts +10 -10
  60. package/invoice/src/apis/SearchInvoiceApi.js +10 -10
  61. package/invoice/src/apis/SearchInvoiceLineApi.d.ts +4 -4
  62. package/invoice/src/apis/SearchInvoiceLineApi.js +4 -4
  63. package/invoice/src/apis/SearchOrderTallyApi.d.ts +8 -8
  64. package/invoice/src/apis/SearchOrderTallyApi.js +8 -8
  65. package/invoice/src/models/InvoiceType.d.ts +13 -13
  66. package/invoice/src/models/InvoiceType.js +13 -13
  67. package/invoice/src/models/RestError.d.ts +22 -22
  68. package/invoice/src/models/RestError.js +22 -22
  69. package/invoice/src/runtime.js +2 -11
  70. package/laboratory/src/apis/SearchLaboratoryApi.d.ts +2 -2
  71. package/laboratory/src/apis/SearchLaboratoryApi.js +2 -2
  72. package/laboratory/src/runtime.js +2 -11
  73. package/laboratory-store/src/apis/SearchLaboratoryStoreApi.d.ts +7 -7
  74. package/laboratory-store/src/apis/SearchLaboratoryStoreApi.js +7 -7
  75. package/laboratory-store/src/models/DisplayType.d.ts +2 -2
  76. package/laboratory-store/src/models/DisplayType.js +2 -2
  77. package/laboratory-store/src/models/LaboratoryType.d.ts +5 -5
  78. package/laboratory-store/src/models/LaboratoryType.js +5 -5
  79. package/laboratory-store/src/models/RestError.d.ts +22 -22
  80. package/laboratory-store/src/models/RestError.js +22 -22
  81. package/laboratory-store/src/runtime.js +2 -11
  82. package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.d.ts +2 -2
  83. package/laboratory-store-log/src/apis/SearchLaboratoryStoreLogApi.js +2 -2
  84. package/laboratory-store-log/src/runtime.js +2 -11
  85. package/lexicon/src/models/RestError.d.ts +22 -22
  86. package/lexicon/src/models/RestError.js +22 -22
  87. package/lexicon/src/runtime.js +2 -11
  88. package/litigation/src/models/RestError.d.ts +22 -22
  89. package/litigation/src/models/RestError.js +22 -22
  90. package/litigation/src/runtime.js +2 -11
  91. package/magic-cart/src/models/ProductStorageType.d.ts +4 -4
  92. package/magic-cart/src/models/ProductStorageType.js +4 -4
  93. package/magic-cart/src/runtime.js +2 -11
  94. package/mandate/src/models/ChallengeAction.d.ts +1 -1
  95. package/mandate/src/models/ChallengeAction.js +1 -1
  96. package/mandate/src/models/Mandate.d.ts +5 -5
  97. package/mandate/src/models/Mandate.js +5 -5
  98. package/mandate/src/runtime.js +2 -11
  99. package/mangopay-hook/src/models/RestError.d.ts +22 -22
  100. package/mangopay-hook/src/models/RestError.js +22 -22
  101. package/mangopay-hook/src/runtime.js +2 -11
  102. package/message/src/apis/SearchMessageApi.d.ts +4 -4
  103. package/message/src/apis/SearchMessageApi.js +4 -4
  104. package/message/src/runtime.js +2 -11
  105. package/notification/src/apis/SearchNotificationApi.d.ts +2 -2
  106. package/notification/src/apis/SearchNotificationApi.js +2 -2
  107. package/notification/src/apis/SearchNotificationTypeApi.d.ts +6 -6
  108. package/notification/src/apis/SearchNotificationTypeApi.js +6 -6
  109. package/notification/src/models/NotificationTypeId.d.ts +48 -48
  110. package/notification/src/models/NotificationTypeId.js +48 -48
  111. package/notification/src/models/RestError.d.ts +22 -22
  112. package/notification/src/models/RestError.js +22 -22
  113. package/notification/src/runtime.js +2 -11
  114. package/order/src/apis/SearchFreeCarriageCouponApi.d.ts +2 -2
  115. package/order/src/apis/SearchFreeCarriageCouponApi.js +2 -2
  116. package/order/src/apis/SearchOrderApi.d.ts +18 -18
  117. package/order/src/apis/SearchOrderApi.js +18 -18
  118. package/order/src/apis/SearchOrderItemApi.d.ts +24 -24
  119. package/order/src/apis/SearchOrderItemApi.js +24 -24
  120. package/order/src/models/OrderItemWarning.d.ts +5 -5
  121. package/order/src/models/OrderItemWarning.js +5 -5
  122. package/order/src/models/OrderItemsOperation.d.ts +3 -3
  123. package/order/src/models/OrderItemsOperation.js +3 -3
  124. package/order/src/models/OrderStatus.d.ts +15 -15
  125. package/order/src/models/OrderStatus.js +15 -15
  126. package/order/src/models/OrderStatusReason.d.ts +3 -3
  127. package/order/src/models/OrderStatusReason.js +3 -3
  128. package/order/src/models/OrderStorageType.d.ts +4 -4
  129. package/order/src/models/OrderStorageType.js +4 -4
  130. package/order/src/models/OrderType.d.ts +2 -2
  131. package/order/src/models/OrderType.js +2 -2
  132. package/order/src/models/OrderWarning.d.ts +2 -2
  133. package/order/src/models/OrderWarning.js +2 -2
  134. package/order/src/models/ProductStorageType.d.ts +4 -4
  135. package/order/src/models/ProductStorageType.js +4 -4
  136. package/order/src/models/RestError.d.ts +22 -22
  137. package/order/src/models/RestError.js +22 -22
  138. package/order/src/models/UpdateOrderStatusParameters.d.ts +8 -8
  139. package/order/src/models/UpdateOrderStatusParameters.js +8 -8
  140. package/order/src/runtime.js +2 -11
  141. package/order-log/src/apis/SearchOrderLogApi.d.ts +2 -2
  142. package/order-log/src/apis/SearchOrderLogApi.js +2 -2
  143. package/order-log/src/models/OrderStatusReason.d.ts +3 -3
  144. package/order-log/src/models/OrderStatusReason.js +3 -3
  145. package/order-log/src/runtime.js +2 -11
  146. package/outrage-message/src/apis/SearchOutrageMessageApi.d.ts +4 -4
  147. package/outrage-message/src/apis/SearchOutrageMessageApi.js +4 -4
  148. package/outrage-message/src/runtime.js +2 -11
  149. package/package.json +1 -1
  150. package/product/src/apis/SearchProductApi.d.ts +18 -18
  151. package/product/src/apis/SearchProductApi.js +18 -18
  152. package/product/src/apis/SearchProductProscriptionApi.d.ts +4 -4
  153. package/product/src/apis/SearchProductProscriptionApi.js +4 -4
  154. package/product/src/models/DataProvider.d.ts +5 -5
  155. package/product/src/models/DataProvider.js +5 -5
  156. package/product/src/models/ProductDispensationPlace.d.ts +2 -2
  157. package/product/src/models/ProductDispensationPlace.js +2 -2
  158. package/product/src/models/ProductMarketStatus.d.ts +6 -6
  159. package/product/src/models/ProductMarketStatus.js +6 -6
  160. package/product/src/models/ProductStatus.d.ts +4 -4
  161. package/product/src/models/ProductStatus.js +4 -4
  162. package/product/src/models/ProductStorageType.d.ts +4 -4
  163. package/product/src/models/ProductStorageType.js +4 -4
  164. package/product/src/models/RestError.d.ts +22 -22
  165. package/product/src/models/RestError.js +22 -22
  166. package/product/src/runtime.js +2 -11
  167. package/pub/src/apis/SearchPubApi.d.ts +27 -27
  168. package/pub/src/apis/SearchPubApi.js +27 -27
  169. package/pub/src/models/PubLocationEnum.d.ts +3 -3
  170. package/pub/src/models/PubLocationEnum.js +3 -3
  171. package/pub/src/models/RestError.d.ts +22 -22
  172. package/pub/src/models/RestError.js +22 -22
  173. package/pub/src/runtime.js +2 -11
  174. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.d.ts +4 -4
  175. package/recommendation/src/apis/SearchFavoriteProductRecommendationApi.js +4 -4
  176. package/recommendation/src/apis/SearchProductPriceRecommendationApi.d.ts +4 -4
  177. package/recommendation/src/apis/SearchProductPriceRecommendationApi.js +4 -4
  178. package/recommendation/src/apis/SearchProductRecommendationApi.d.ts +4 -4
  179. package/recommendation/src/apis/SearchProductRecommendationApi.js +4 -4
  180. package/recommendation/src/models/ProductRecommendationType.d.ts +3 -3
  181. package/recommendation/src/models/ProductRecommendationType.js +3 -3
  182. package/recommendation/src/runtime.js +2 -11
  183. package/rfx/src/apis/SearchRfoiApi.d.ts +10 -10
  184. package/rfx/src/apis/SearchRfoiApi.js +10 -10
  185. package/rfx/src/models/RestError.d.ts +22 -22
  186. package/rfx/src/models/RestError.js +22 -22
  187. package/rfx/src/runtime.js +2 -11
  188. package/sale-offer/src/apis/SearchSaleOfferApi.d.ts +35 -35
  189. package/sale-offer/src/apis/SearchSaleOfferApi.js +35 -35
  190. package/sale-offer/src/models/RestError.d.ts +22 -22
  191. package/sale-offer/src/models/RestError.js +22 -22
  192. package/sale-offer/src/models/SaleOfferStatus.d.ts +7 -7
  193. package/sale-offer/src/models/SaleOfferStatus.js +7 -7
  194. package/sale-offer/src/models/SaleOfferStatusReason.d.ts +6 -6
  195. package/sale-offer/src/models/SaleOfferStatusReason.js +6 -6
  196. package/sale-offer/src/runtime.js +2 -11
  197. package/sale-offer-log/src/apis/SearchSaleOfferLogApi.d.ts +2 -2
  198. package/sale-offer-log/src/apis/SearchSaleOfferLogApi.js +2 -2
  199. package/sale-offer-log/src/runtime.js +2 -11
  200. package/servant/src/models/RestError.d.ts +22 -22
  201. package/servant/src/models/RestError.js +22 -22
  202. package/servant/src/runtime.js +2 -11
  203. package/shipment/src/apis/SearchOrderCarriageApi.d.ts +4 -4
  204. package/shipment/src/apis/SearchOrderCarriageApi.js +4 -4
  205. package/shipment/src/models/RestError.d.ts +22 -22
  206. package/shipment/src/models/RestError.js +22 -22
  207. package/shipment/src/models/ShipmentError.d.ts +1 -1
  208. package/shipment/src/models/ShipmentError.js +1 -1
  209. package/shipment/src/models/ShipmentParcelStatus.d.ts +3 -3
  210. package/shipment/src/models/ShipmentParcelStatus.js +3 -3
  211. package/shipment/src/runtime.js +2 -11
  212. package/shopping-cart/src/apis/ManageCartSubCartApi.d.ts +4 -4
  213. package/shopping-cart/src/apis/ManageCartSubCartApi.js +4 -4
  214. package/shopping-cart/src/models/ProductStorageType.d.ts +4 -4
  215. package/shopping-cart/src/models/ProductStorageType.js +4 -4
  216. package/shopping-cart/src/models/RestError.d.ts +22 -22
  217. package/shopping-cart/src/models/RestError.js +22 -22
  218. package/shopping-cart/src/models/SaleOfferStatus.d.ts +7 -7
  219. package/shopping-cart/src/models/SaleOfferStatus.js +7 -7
  220. package/shopping-cart/src/models/UserRole.d.ts +8 -8
  221. package/shopping-cart/src/models/UserRole.js +8 -8
  222. package/shopping-cart/src/runtime.js +2 -11
  223. package/smuggler/src/models/RestError.d.ts +22 -22
  224. package/smuggler/src/models/RestError.js +22 -22
  225. package/smuggler/src/runtime.js +2 -11
  226. package/statistic/src/apis/SearchSaleOfferStatisticsApi.d.ts +2 -2
  227. package/statistic/src/apis/SearchSaleOfferStatisticsApi.js +2 -2
  228. package/statistic/src/models/RestError.d.ts +22 -22
  229. package/statistic/src/models/RestError.js +22 -22
  230. package/statistic/src/runtime.js +2 -11
  231. package/subscription/src/apis/SearchSubscriptionApi.d.ts +8 -8
  232. package/subscription/src/apis/SearchSubscriptionApi.js +8 -8
  233. package/subscription/src/apis/SearchSubscriptionPlanApi.d.ts +2 -2
  234. package/subscription/src/apis/SearchSubscriptionPlanApi.js +2 -2
  235. package/subscription/src/models/RestError.d.ts +22 -22
  236. package/subscription/src/models/RestError.js +22 -22
  237. package/subscription/src/models/SubscriptionPlanFeatureId.d.ts +3 -3
  238. package/subscription/src/models/SubscriptionPlanFeatureId.js +3 -3
  239. package/subscription/src/models/SubscriptionPlanId.d.ts +3 -3
  240. package/subscription/src/models/SubscriptionPlanId.js +3 -3
  241. package/subscription/src/runtime.js +2 -11
  242. package/third-party/src/models/RestError.d.ts +22 -22
  243. package/third-party/src/models/RestError.js +22 -22
  244. package/third-party/src/models/ThirdPartyLinkCreationParameters.d.ts +2 -2
  245. package/third-party/src/models/ThirdPartyLinkCreationParameters.js +2 -2
  246. package/third-party/src/runtime.js +2 -11
  247. package/thread/src/apis/SearchThreadCommentApi.d.ts +4 -4
  248. package/thread/src/apis/SearchThreadCommentApi.js +4 -4
  249. package/thread/src/runtime.js +2 -11
  250. package/ubo/src/models/RestError.d.ts +22 -22
  251. package/ubo/src/models/RestError.js +22 -22
  252. package/ubo/src/models/UboDeclaration.d.ts +6 -6
  253. package/ubo/src/models/UboDeclaration.js +6 -6
  254. package/ubo/src/runtime.js +2 -11
  255. package/user/src/apis/ManageUserDocumentApi.d.ts +18 -18
  256. package/user/src/apis/ManageUserDocumentApi.js +18 -18
  257. package/user/src/apis/SearchUserApi.d.ts +20 -20
  258. package/user/src/apis/SearchUserApi.js +20 -20
  259. package/user/src/apis/SearchUserDocumentApi.d.ts +30 -30
  260. package/user/src/apis/SearchUserDocumentApi.js +30 -30
  261. package/user/src/models/Gender.d.ts +2 -2
  262. package/user/src/models/Gender.js +2 -2
  263. package/user/src/models/KycLevel.d.ts +2 -2
  264. package/user/src/models/KycLevel.js +2 -2
  265. package/user/src/models/NotificationTypeId.d.ts +48 -48
  266. package/user/src/models/NotificationTypeId.js +48 -48
  267. package/user/src/models/OffisanteStatus.d.ts +3 -3
  268. package/user/src/models/OffisanteStatus.js +3 -3
  269. package/user/src/models/RestError.d.ts +22 -22
  270. package/user/src/models/RestError.js +22 -22
  271. package/user/src/models/UserDocument.d.ts +10 -10
  272. package/user/src/models/UserDocument.js +10 -10
  273. package/user/src/models/UserDocumentStatus.d.ts +5 -5
  274. package/user/src/models/UserDocumentStatus.js +5 -5
  275. package/user/src/models/UserRole.d.ts +8 -8
  276. package/user/src/models/UserRole.js +8 -8
  277. package/user/src/models/UserRuleActionEnum.d.ts +1 -1
  278. package/user/src/models/UserRuleActionEnum.js +1 -1
  279. package/user/src/models/UserRuleAttributeEnum.d.ts +2 -2
  280. package/user/src/models/UserRuleAttributeEnum.js +2 -2
  281. package/user/src/models/UserRuleComparatorEnum.d.ts +2 -2
  282. package/user/src/models/UserRuleComparatorEnum.js +2 -2
  283. package/user/src/runtime.js +2 -11
  284. package/wish/src/apis/SearchProductEnthusiasmApi.d.ts +10 -10
  285. package/wish/src/apis/SearchProductEnthusiasmApi.js +10 -10
  286. package/wish/src/apis/SearchWishApi.d.ts +10 -10
  287. package/wish/src/apis/SearchWishApi.js +10 -10
  288. package/wish/src/models/RestError.d.ts +22 -22
  289. package/wish/src/models/RestError.js +22 -22
  290. package/wish/src/models/WishReferrerType.d.ts +2 -2
  291. package/wish/src/models/WishReferrerType.js +2 -2
  292. package/wish/src/models/WishStatus.d.ts +3 -3
  293. package/wish/src/models/WishStatus.js +3 -3
  294. package/wish/src/runtime.js +2 -11
@@ -18,28 +18,28 @@ exports.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFrom
18
18
  * @export
19
19
  */
20
20
  exports.RestErrorCodeEnum = {
21
- Code000: 'CODE000',
22
- Code001: 'CODE001',
23
- Code002: 'CODE002',
24
- Code003: 'CODE003',
25
- Code004: 'CODE004',
26
- Code005: 'CODE005',
27
- Code006: 'CODE006',
28
- Code007: 'CODE007',
29
- Code008: 'CODE008',
30
- Code009: 'CODE009',
31
- Code010: 'CODE010',
32
- Code011: 'CODE011',
33
- Code012: 'CODE012',
34
- Code013: 'CODE013',
35
- Code014: 'CODE014',
36
- Code015: 'CODE015',
37
- Code016: 'CODE016',
38
- Code017: 'CODE017',
39
- Code018: 'CODE018',
40
- Code019: 'CODE019',
41
- Code020: 'CODE020',
42
- Code021: 'CODE021'
21
+ CODE000: 'CODE000',
22
+ CODE001: 'CODE001',
23
+ CODE002: 'CODE002',
24
+ CODE003: 'CODE003',
25
+ CODE004: 'CODE004',
26
+ CODE005: 'CODE005',
27
+ CODE006: 'CODE006',
28
+ CODE007: 'CODE007',
29
+ CODE008: 'CODE008',
30
+ CODE009: 'CODE009',
31
+ CODE010: 'CODE010',
32
+ CODE011: 'CODE011',
33
+ CODE012: 'CODE012',
34
+ CODE013: 'CODE013',
35
+ CODE014: 'CODE014',
36
+ CODE015: 'CODE015',
37
+ CODE016: 'CODE016',
38
+ CODE017: 'CODE017',
39
+ CODE018: 'CODE018',
40
+ CODE019: 'CODE019',
41
+ CODE020: 'CODE020',
42
+ CODE021: 'CODE021'
43
43
  };
44
44
  /**
45
45
  * @export
@@ -240,16 +240,7 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
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];
243
+ case 11: throw e_1;
253
244
  case 12:
254
245
  _d = 0, _e = this.middleware;
255
246
  _f.label = 13;
@@ -331,7 +322,7 @@ var BaseAPI = /** @class */ (function () {
331
322
  if (response && (response.status >= 200 && response.status < 300)) {
332
323
  return [2 /*return*/, response];
333
324
  }
334
- throw new ResponseError(response, 'Response returned an error code');
325
+ throw response;
335
326
  }
336
327
  });
337
328
  });
@@ -34,28 +34,28 @@ export interface RestError {
34
34
  * @export
35
35
  */
36
36
  export declare const RestErrorCodeEnum: {
37
- readonly Code000: "CODE000";
38
- readonly Code001: "CODE001";
39
- readonly Code002: "CODE002";
40
- readonly Code003: "CODE003";
41
- readonly Code004: "CODE004";
42
- readonly Code005: "CODE005";
43
- readonly Code006: "CODE006";
44
- readonly Code007: "CODE007";
45
- readonly Code008: "CODE008";
46
- readonly Code009: "CODE009";
47
- readonly Code010: "CODE010";
48
- readonly Code011: "CODE011";
49
- readonly Code012: "CODE012";
50
- readonly Code013: "CODE013";
51
- readonly Code014: "CODE014";
52
- readonly Code015: "CODE015";
53
- readonly Code016: "CODE016";
54
- readonly Code017: "CODE017";
55
- readonly Code018: "CODE018";
56
- readonly Code019: "CODE019";
57
- readonly Code020: "CODE020";
58
- readonly Code021: "CODE021";
37
+ readonly CODE000: "CODE000";
38
+ readonly CODE001: "CODE001";
39
+ readonly CODE002: "CODE002";
40
+ readonly CODE003: "CODE003";
41
+ readonly CODE004: "CODE004";
42
+ readonly CODE005: "CODE005";
43
+ readonly CODE006: "CODE006";
44
+ readonly CODE007: "CODE007";
45
+ readonly CODE008: "CODE008";
46
+ readonly CODE009: "CODE009";
47
+ readonly CODE010: "CODE010";
48
+ readonly CODE011: "CODE011";
49
+ readonly CODE012: "CODE012";
50
+ readonly CODE013: "CODE013";
51
+ readonly CODE014: "CODE014";
52
+ readonly CODE015: "CODE015";
53
+ readonly CODE016: "CODE016";
54
+ readonly CODE017: "CODE017";
55
+ readonly CODE018: "CODE018";
56
+ readonly CODE019: "CODE019";
57
+ readonly CODE020: "CODE020";
58
+ readonly CODE021: "CODE021";
59
59
  };
60
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
61
  /**
@@ -18,28 +18,28 @@ exports.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFrom
18
18
  * @export
19
19
  */
20
20
  exports.RestErrorCodeEnum = {
21
- Code000: 'CODE000',
22
- Code001: 'CODE001',
23
- Code002: 'CODE002',
24
- Code003: 'CODE003',
25
- Code004: 'CODE004',
26
- Code005: 'CODE005',
27
- Code006: 'CODE006',
28
- Code007: 'CODE007',
29
- Code008: 'CODE008',
30
- Code009: 'CODE009',
31
- Code010: 'CODE010',
32
- Code011: 'CODE011',
33
- Code012: 'CODE012',
34
- Code013: 'CODE013',
35
- Code014: 'CODE014',
36
- Code015: 'CODE015',
37
- Code016: 'CODE016',
38
- Code017: 'CODE017',
39
- Code018: 'CODE018',
40
- Code019: 'CODE019',
41
- Code020: 'CODE020',
42
- Code021: 'CODE021'
21
+ CODE000: 'CODE000',
22
+ CODE001: 'CODE001',
23
+ CODE002: 'CODE002',
24
+ CODE003: 'CODE003',
25
+ CODE004: 'CODE004',
26
+ CODE005: 'CODE005',
27
+ CODE006: 'CODE006',
28
+ CODE007: 'CODE007',
29
+ CODE008: 'CODE008',
30
+ CODE009: 'CODE009',
31
+ CODE010: 'CODE010',
32
+ CODE011: 'CODE011',
33
+ CODE012: 'CODE012',
34
+ CODE013: 'CODE013',
35
+ CODE014: 'CODE014',
36
+ CODE015: 'CODE015',
37
+ CODE016: 'CODE016',
38
+ CODE017: 'CODE017',
39
+ CODE018: 'CODE018',
40
+ CODE019: 'CODE019',
41
+ CODE020: 'CODE020',
42
+ CODE021: 'CODE021'
43
43
  };
44
44
  /**
45
45
  * @export
@@ -240,16 +240,7 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
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];
243
+ case 11: throw e_1;
253
244
  case 12:
254
245
  _d = 0, _e = this.middleware;
255
246
  _f.label = 13;
@@ -331,7 +322,7 @@ var BaseAPI = /** @class */ (function () {
331
322
  if (response && (response.status >= 200 && response.status < 300)) {
332
323
  return [2 /*return*/, response];
333
324
  }
334
- throw new ResponseError(response, 'Response returned an error code');
325
+ throw response;
335
326
  }
336
327
  });
337
328
  });
@@ -14,10 +14,10 @@
14
14
  * @export
15
15
  */
16
16
  export declare const ProductStorageType: {
17
- readonly Free: "FREE";
18
- readonly Fridge: "FRIDGE";
19
- readonly Freezer: "FREEZER";
20
- readonly Fresh: "FRESH";
17
+ readonly FREE: "FREE";
18
+ readonly FRIDGE: "FRIDGE";
19
+ readonly FREEZER: "FREEZER";
20
+ readonly FRESH: "FRESH";
21
21
  };
22
22
  export declare type ProductStorageType = typeof ProductStorageType[keyof typeof ProductStorageType];
23
23
  export declare function instanceOfProductStorageType(value: any): boolean;
@@ -19,10 +19,10 @@ exports.ProductStorageTypeToJSON = exports.ProductStorageTypeFromJSONTyped = exp
19
19
  * @export
20
20
  */
21
21
  exports.ProductStorageType = {
22
- Free: 'FREE',
23
- Fridge: 'FRIDGE',
24
- Freezer: 'FREEZER',
25
- Fresh: 'FRESH'
22
+ FREE: 'FREE',
23
+ FRIDGE: 'FRIDGE',
24
+ FREEZER: 'FREEZER',
25
+ FRESH: 'FRESH'
26
26
  };
27
27
  function instanceOfProductStorageType(value) {
28
28
  for (var key in exports.ProductStorageType) {
@@ -240,16 +240,7 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
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];
243
+ case 11: throw e_1;
253
244
  case 12:
254
245
  _d = 0, _e = this.middleware;
255
246
  _f.label = 13;
@@ -331,7 +322,7 @@ var BaseAPI = /** @class */ (function () {
331
322
  if (response && (response.status >= 200 && response.status < 300)) {
332
323
  return [2 /*return*/, response];
333
324
  }
334
- throw new ResponseError(response, 'Response returned an error code');
325
+ throw response;
335
326
  }
336
327
  });
337
328
  });
@@ -26,7 +26,7 @@ export interface ChallengeAction {
26
26
  * @export
27
27
  */
28
28
  export declare const ChallengeActionActionEnum: {
29
- readonly CreateMandate: "CREATE_MANDATE";
29
+ readonly CREATE_MANDATE: "CREATE_MANDATE";
30
30
  };
31
31
  export declare type ChallengeActionActionEnum = typeof ChallengeActionActionEnum[keyof typeof ChallengeActionActionEnum];
32
32
  /**
@@ -18,7 +18,7 @@ exports.ChallengeActionToJSON = exports.ChallengeActionFromJSONTyped = exports.C
18
18
  * @export
19
19
  */
20
20
  exports.ChallengeActionActionEnum = {
21
- CreateMandate: 'CREATE_MANDATE'
21
+ CREATE_MANDATE: 'CREATE_MANDATE'
22
22
  };
23
23
  /**
24
24
  * Check if a given object implements the ChallengeAction interface.
@@ -44,11 +44,11 @@ export interface Mandate {
44
44
  * @export
45
45
  */
46
46
  export declare const MandateStatusEnum: {
47
- readonly Created: "CREATED";
48
- readonly Submitted: "SUBMITTED";
49
- readonly Active: "ACTIVE";
50
- readonly Expired: "EXPIRED";
51
- readonly Failed: "FAILED";
47
+ readonly CREATED: "CREATED";
48
+ readonly SUBMITTED: "SUBMITTED";
49
+ readonly ACTIVE: "ACTIVE";
50
+ readonly EXPIRED: "EXPIRED";
51
+ readonly FAILED: "FAILED";
52
52
  };
53
53
  export declare type MandateStatusEnum = typeof MandateStatusEnum[keyof typeof MandateStatusEnum];
54
54
  /**
@@ -18,11 +18,11 @@ exports.MandateToJSON = exports.MandateFromJSONTyped = exports.MandateFromJSON =
18
18
  * @export
19
19
  */
20
20
  exports.MandateStatusEnum = {
21
- Created: 'CREATED',
22
- Submitted: 'SUBMITTED',
23
- Active: 'ACTIVE',
24
- Expired: 'EXPIRED',
25
- Failed: 'FAILED'
21
+ CREATED: 'CREATED',
22
+ SUBMITTED: 'SUBMITTED',
23
+ ACTIVE: 'ACTIVE',
24
+ EXPIRED: 'EXPIRED',
25
+ FAILED: 'FAILED'
26
26
  };
27
27
  /**
28
28
  * Check if a given object implements the Mandate interface.
@@ -240,16 +240,7 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
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];
243
+ case 11: throw e_1;
253
244
  case 12:
254
245
  _d = 0, _e = this.middleware;
255
246
  _f.label = 13;
@@ -331,7 +322,7 @@ var BaseAPI = /** @class */ (function () {
331
322
  if (response && (response.status >= 200 && response.status < 300)) {
332
323
  return [2 /*return*/, response];
333
324
  }
334
- throw new ResponseError(response, 'Response returned an error code');
325
+ throw response;
335
326
  }
336
327
  });
337
328
  });
@@ -34,28 +34,28 @@ export interface RestError {
34
34
  * @export
35
35
  */
36
36
  export declare const RestErrorCodeEnum: {
37
- readonly Code000: "CODE000";
38
- readonly Code001: "CODE001";
39
- readonly Code002: "CODE002";
40
- readonly Code003: "CODE003";
41
- readonly Code004: "CODE004";
42
- readonly Code005: "CODE005";
43
- readonly Code006: "CODE006";
44
- readonly Code007: "CODE007";
45
- readonly Code008: "CODE008";
46
- readonly Code009: "CODE009";
47
- readonly Code010: "CODE010";
48
- readonly Code011: "CODE011";
49
- readonly Code012: "CODE012";
50
- readonly Code013: "CODE013";
51
- readonly Code014: "CODE014";
52
- readonly Code015: "CODE015";
53
- readonly Code016: "CODE016";
54
- readonly Code017: "CODE017";
55
- readonly Code018: "CODE018";
56
- readonly Code019: "CODE019";
57
- readonly Code020: "CODE020";
58
- readonly Code021: "CODE021";
37
+ readonly CODE000: "CODE000";
38
+ readonly CODE001: "CODE001";
39
+ readonly CODE002: "CODE002";
40
+ readonly CODE003: "CODE003";
41
+ readonly CODE004: "CODE004";
42
+ readonly CODE005: "CODE005";
43
+ readonly CODE006: "CODE006";
44
+ readonly CODE007: "CODE007";
45
+ readonly CODE008: "CODE008";
46
+ readonly CODE009: "CODE009";
47
+ readonly CODE010: "CODE010";
48
+ readonly CODE011: "CODE011";
49
+ readonly CODE012: "CODE012";
50
+ readonly CODE013: "CODE013";
51
+ readonly CODE014: "CODE014";
52
+ readonly CODE015: "CODE015";
53
+ readonly CODE016: "CODE016";
54
+ readonly CODE017: "CODE017";
55
+ readonly CODE018: "CODE018";
56
+ readonly CODE019: "CODE019";
57
+ readonly CODE020: "CODE020";
58
+ readonly CODE021: "CODE021";
59
59
  };
60
60
  export declare type RestErrorCodeEnum = typeof RestErrorCodeEnum[keyof typeof RestErrorCodeEnum];
61
61
  /**
@@ -18,28 +18,28 @@ exports.RestErrorToJSON = exports.RestErrorFromJSONTyped = exports.RestErrorFrom
18
18
  * @export
19
19
  */
20
20
  exports.RestErrorCodeEnum = {
21
- Code000: 'CODE000',
22
- Code001: 'CODE001',
23
- Code002: 'CODE002',
24
- Code003: 'CODE003',
25
- Code004: 'CODE004',
26
- Code005: 'CODE005',
27
- Code006: 'CODE006',
28
- Code007: 'CODE007',
29
- Code008: 'CODE008',
30
- Code009: 'CODE009',
31
- Code010: 'CODE010',
32
- Code011: 'CODE011',
33
- Code012: 'CODE012',
34
- Code013: 'CODE013',
35
- Code014: 'CODE014',
36
- Code015: 'CODE015',
37
- Code016: 'CODE016',
38
- Code017: 'CODE017',
39
- Code018: 'CODE018',
40
- Code019: 'CODE019',
41
- Code020: 'CODE020',
42
- Code021: 'CODE021'
21
+ CODE000: 'CODE000',
22
+ CODE001: 'CODE001',
23
+ CODE002: 'CODE002',
24
+ CODE003: 'CODE003',
25
+ CODE004: 'CODE004',
26
+ CODE005: 'CODE005',
27
+ CODE006: 'CODE006',
28
+ CODE007: 'CODE007',
29
+ CODE008: 'CODE008',
30
+ CODE009: 'CODE009',
31
+ CODE010: 'CODE010',
32
+ CODE011: 'CODE011',
33
+ CODE012: 'CODE012',
34
+ CODE013: 'CODE013',
35
+ CODE014: 'CODE014',
36
+ CODE015: 'CODE015',
37
+ CODE016: 'CODE016',
38
+ CODE017: 'CODE017',
39
+ CODE018: 'CODE018',
40
+ CODE019: 'CODE019',
41
+ CODE020: 'CODE020',
42
+ CODE021: 'CODE021'
43
43
  };
44
44
  /**
45
45
  * @export
@@ -240,16 +240,7 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
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];
243
+ case 11: throw e_1;
253
244
  case 12:
254
245
  _d = 0, _e = this.middleware;
255
246
  _f.label = 13;
@@ -331,7 +322,7 @@ var BaseAPI = /** @class */ (function () {
331
322
  if (response && (response.status >= 200 && response.status < 300)) {
332
323
  return [2 /*return*/, response];
333
324
  }
334
- throw new ResponseError(response, 'Response returned an error code');
325
+ throw response;
335
326
  }
336
327
  });
337
328
  });
@@ -63,9 +63,9 @@ export declare class SearchMessageApi extends runtime.BaseAPI {
63
63
  * @export
64
64
  */
65
65
  export declare const GetMessagesOrderByEnum: {
66
- readonly CreatedATasc: "CREATED_AT:asc";
67
- readonly CreatedATdesc: "CREATED_AT:desc";
68
- readonly UpdatedATasc: "UPDATED_AT:asc";
69
- readonly UpdatedATdesc: "UPDATED_AT:desc";
66
+ readonly CREATED_AT_ASC: "CREATED_AT:asc";
67
+ readonly CREATED_AT_DESC: "CREATED_AT:desc";
68
+ readonly UPDATED_AT_ASC: "UPDATED_AT:asc";
69
+ readonly UPDATED_AT_DESC: "UPDATED_AT:desc";
70
70
  };
71
71
  export declare type GetMessagesOrderByEnum = typeof GetMessagesOrderByEnum[keyof typeof GetMessagesOrderByEnum];
@@ -342,8 +342,8 @@ exports.SearchMessageApi = SearchMessageApi;
342
342
  * @export
343
343
  */
344
344
  exports.GetMessagesOrderByEnum = {
345
- CreatedATasc: 'CREATED_AT:asc',
346
- CreatedATdesc: 'CREATED_AT:desc',
347
- UpdatedATasc: 'UPDATED_AT:asc',
348
- UpdatedATdesc: 'UPDATED_AT:desc'
345
+ CREATED_AT_ASC: 'CREATED_AT:asc',
346
+ CREATED_AT_DESC: 'CREATED_AT:desc',
347
+ UPDATED_AT_ASC: 'UPDATED_AT:asc',
348
+ UPDATED_AT_DESC: 'UPDATED_AT:desc'
349
349
  };
@@ -240,16 +240,7 @@ var BaseAPI = /** @class */ (function () {
240
240
  case 10:
241
241
  _b++;
242
242
  return [3 /*break*/, 8];
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];
243
+ case 11: throw e_1;
253
244
  case 12:
254
245
  _d = 0, _e = this.middleware;
255
246
  _f.label = 13;
@@ -331,7 +322,7 @@ var BaseAPI = /** @class */ (function () {
331
322
  if (response && (response.status >= 200 && response.status < 300)) {
332
323
  return [2 /*return*/, response];
333
324
  }
334
- throw new ResponseError(response, 'Response returned an error code');
325
+ throw response;
335
326
  }
336
327
  });
337
328
  });
@@ -50,7 +50,7 @@ export declare class SearchNotificationApi extends runtime.BaseAPI {
50
50
  * @export
51
51
  */
52
52
  export declare const GetNotificationsOrderByEnum: {
53
- readonly Asc: "CREATED_AT:asc";
54
- readonly Desc: "CREATED_AT:desc";
53
+ readonly ASC: "CREATED_AT:asc";
54
+ readonly DESC: "CREATED_AT:desc";
55
55
  };
56
56
  export declare type GetNotificationsOrderByEnum = typeof GetNotificationsOrderByEnum[keyof typeof GetNotificationsOrderByEnum];
@@ -261,6 +261,6 @@ exports.SearchNotificationApi = SearchNotificationApi;
261
261
  * @export
262
262
  */
263
263
  exports.GetNotificationsOrderByEnum = {
264
- Asc: 'CREATED_AT:asc',
265
- Desc: 'CREATED_AT:desc'
264
+ ASC: 'CREATED_AT:asc',
265
+ DESC: 'CREATED_AT:desc'
266
266
  };
@@ -58,11 +58,11 @@ export declare class SearchNotificationTypeApi extends runtime.BaseAPI {
58
58
  * @export
59
59
  */
60
60
  export declare const GetNotificationTypesOrderByEnum: {
61
- readonly NamEasc: "NAME:asc";
62
- readonly NamEdesc: "NAME:desc";
63
- readonly DaysBeforeRevivaLasc: "DAYS_BEFORE_REVIVAL:asc";
64
- readonly DaysBeforeRevivaLdesc: "DAYS_BEFORE_REVIVAL:desc";
65
- readonly WeighTasc: "WEIGHT:asc";
66
- readonly WeighTdesc: "WEIGHT:desc";
61
+ readonly NAME_ASC: "NAME:asc";
62
+ readonly NAME_DESC: "NAME:desc";
63
+ readonly DAYS_BEFORE_REVIVAL_ASC: "DAYS_BEFORE_REVIVAL:asc";
64
+ readonly DAYS_BEFORE_REVIVAL_DESC: "DAYS_BEFORE_REVIVAL:desc";
65
+ readonly WEIGHT_ASC: "WEIGHT:asc";
66
+ readonly WEIGHT_DESC: "WEIGHT:desc";
67
67
  };
68
68
  export declare type GetNotificationTypesOrderByEnum = typeof GetNotificationTypesOrderByEnum[keyof typeof GetNotificationTypesOrderByEnum];
@@ -335,10 +335,10 @@ exports.SearchNotificationTypeApi = SearchNotificationTypeApi;
335
335
  * @export
336
336
  */
337
337
  exports.GetNotificationTypesOrderByEnum = {
338
- NamEasc: 'NAME:asc',
339
- NamEdesc: 'NAME:desc',
340
- DaysBeforeRevivaLasc: 'DAYS_BEFORE_REVIVAL:asc',
341
- DaysBeforeRevivaLdesc: 'DAYS_BEFORE_REVIVAL:desc',
342
- WeighTasc: 'WEIGHT:asc',
343
- WeighTdesc: 'WEIGHT:desc'
338
+ NAME_ASC: 'NAME:asc',
339
+ NAME_DESC: 'NAME:desc',
340
+ DAYS_BEFORE_REVIVAL_ASC: 'DAYS_BEFORE_REVIVAL:asc',
341
+ DAYS_BEFORE_REVIVAL_DESC: 'DAYS_BEFORE_REVIVAL:desc',
342
+ WEIGHT_ASC: 'WEIGHT:asc',
343
+ WEIGHT_DESC: 'WEIGHT:desc'
344
344
  };