@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
@@ -52,11 +52,11 @@ export declare class SearchApiKeyApi extends runtime.BaseAPI {
52
52
  * @export
53
53
  */
54
54
  export declare const GetApiKeysOrderByEnum: {
55
- readonly NamEasc: "NAME:asc";
56
- readonly NamEdesc: "NAME:desc";
57
- readonly CreatedATasc: "CREATED_AT:asc";
58
- readonly CreatedATdesc: "CREATED_AT:desc";
59
- readonly LastUsedATasc: "LAST_USED_AT:asc";
60
- readonly LastUsedATdesc: "LAST_USED_AT:desc";
55
+ readonly NAME_ASC: "NAME:asc";
56
+ readonly NAME_DESC: "NAME:desc";
57
+ readonly CREATED_AT_ASC: "CREATED_AT:asc";
58
+ readonly CREATED_AT_DESC: "CREATED_AT:desc";
59
+ readonly LAST_USED_AT_ASC: "LAST_USED_AT:asc";
60
+ readonly LAST_USED_AT_DESC: "LAST_USED_AT:desc";
61
61
  };
62
62
  export declare type GetApiKeysOrderByEnum = typeof GetApiKeysOrderByEnum[keyof typeof GetApiKeysOrderByEnum];
@@ -271,10 +271,10 @@ exports.SearchApiKeyApi = SearchApiKeyApi;
271
271
  * @export
272
272
  */
273
273
  exports.GetApiKeysOrderByEnum = {
274
- NamEasc: 'NAME:asc',
275
- NamEdesc: 'NAME:desc',
276
- CreatedATasc: 'CREATED_AT:asc',
277
- CreatedATdesc: 'CREATED_AT:desc',
278
- LastUsedATasc: 'LAST_USED_AT:asc',
279
- LastUsedATdesc: 'LAST_USED_AT:desc'
274
+ NAME_ASC: 'NAME:asc',
275
+ NAME_DESC: 'NAME:desc',
276
+ CREATED_AT_ASC: 'CREATED_AT:asc',
277
+ CREATED_AT_DESC: 'CREATED_AT:desc',
278
+ LAST_USED_AT_ASC: 'LAST_USED_AT:asc',
279
+ LAST_USED_AT_DESC: 'LAST_USED_AT:desc'
280
280
  };
@@ -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
  });
@@ -54,19 +54,19 @@ export declare class SearchLevyApi extends runtime.BaseAPI {
54
54
  * @export
55
55
  */
56
56
  export declare const GetLeviesOrderByEnum: {
57
- readonly DebitedUserCompanyLegalNamEasc: "DEBITED_USER_COMPANY_LEGAL_NAME:asc";
58
- readonly DebitedUserCompanyLegalNamEdesc: "DEBITED_USER_COMPANY_LEGAL_NAME:desc";
59
- readonly DebitedFundSasc: "DEBITED_FUNDS:asc";
60
- readonly DebitedFundSdesc: "DEBITED_FUNDS:desc";
61
- readonly FeeSasc: "FEES:asc";
62
- readonly FeeSdesc: "FEES:desc";
63
- readonly TaGasc: "TAG:asc";
64
- readonly TaGdesc: "TAG:desc";
65
- readonly StatuSasc: "STATUS:asc";
66
- readonly StatuSdesc: "STATUS:desc";
67
- readonly PaymentStatuSasc: "PAYMENT_STATUS:asc";
68
- readonly PaymentStatuSdesc: "PAYMENT_STATUS:desc";
69
- readonly CreatedATasc: "CREATED_AT:asc";
70
- readonly CreatedATdesc: "CREATED_AT:desc";
57
+ readonly DEBITED_USER_COMPANY_LEGAL_NAME_ASC: "DEBITED_USER_COMPANY_LEGAL_NAME:asc";
58
+ readonly DEBITED_USER_COMPANY_LEGAL_NAME_DESC: "DEBITED_USER_COMPANY_LEGAL_NAME:desc";
59
+ readonly DEBITED_FUNDS_ASC: "DEBITED_FUNDS:asc";
60
+ readonly DEBITED_FUNDS_DESC: "DEBITED_FUNDS:desc";
61
+ readonly FEES_ASC: "FEES:asc";
62
+ readonly FEES_DESC: "FEES:desc";
63
+ readonly TAG_ASC: "TAG:asc";
64
+ readonly TAG_DESC: "TAG:desc";
65
+ readonly STATUS_ASC: "STATUS:asc";
66
+ readonly STATUS_DESC: "STATUS:desc";
67
+ readonly PAYMENT_STATUS_ASC: "PAYMENT_STATUS:asc";
68
+ readonly PAYMENT_STATUS_DESC: "PAYMENT_STATUS:desc";
69
+ readonly CREATED_AT_ASC: "CREATED_AT:asc";
70
+ readonly CREATED_AT_DESC: "CREATED_AT:desc";
71
71
  };
72
72
  export declare type GetLeviesOrderByEnum = typeof GetLeviesOrderByEnum[keyof typeof GetLeviesOrderByEnum];
@@ -273,18 +273,18 @@ exports.SearchLevyApi = SearchLevyApi;
273
273
  * @export
274
274
  */
275
275
  exports.GetLeviesOrderByEnum = {
276
- DebitedUserCompanyLegalNamEasc: 'DEBITED_USER_COMPANY_LEGAL_NAME:asc',
277
- DebitedUserCompanyLegalNamEdesc: 'DEBITED_USER_COMPANY_LEGAL_NAME:desc',
278
- DebitedFundSasc: 'DEBITED_FUNDS:asc',
279
- DebitedFundSdesc: 'DEBITED_FUNDS:desc',
280
- FeeSasc: 'FEES:asc',
281
- FeeSdesc: 'FEES:desc',
282
- TaGasc: 'TAG:asc',
283
- TaGdesc: 'TAG:desc',
284
- StatuSasc: 'STATUS:asc',
285
- StatuSdesc: 'STATUS:desc',
286
- PaymentStatuSasc: 'PAYMENT_STATUS:asc',
287
- PaymentStatuSdesc: 'PAYMENT_STATUS:desc',
288
- CreatedATasc: 'CREATED_AT:asc',
289
- CreatedATdesc: 'CREATED_AT:desc'
276
+ DEBITED_USER_COMPANY_LEGAL_NAME_ASC: 'DEBITED_USER_COMPANY_LEGAL_NAME:asc',
277
+ DEBITED_USER_COMPANY_LEGAL_NAME_DESC: 'DEBITED_USER_COMPANY_LEGAL_NAME:desc',
278
+ DEBITED_FUNDS_ASC: 'DEBITED_FUNDS:asc',
279
+ DEBITED_FUNDS_DESC: 'DEBITED_FUNDS:desc',
280
+ FEES_ASC: 'FEES:asc',
281
+ FEES_DESC: 'FEES:desc',
282
+ TAG_ASC: 'TAG:asc',
283
+ TAG_DESC: 'TAG:desc',
284
+ STATUS_ASC: 'STATUS:asc',
285
+ STATUS_DESC: 'STATUS:desc',
286
+ PAYMENT_STATUS_ASC: 'PAYMENT_STATUS:asc',
287
+ PAYMENT_STATUS_DESC: 'PAYMENT_STATUS:desc',
288
+ CREATED_AT_ASC: 'CREATED_AT:asc',
289
+ CREATED_AT_DESC: 'CREATED_AT:desc'
290
290
  };
@@ -36,7 +36,7 @@ export declare class SearchOrderPaymentApi extends runtime.BaseAPI {
36
36
  * @export
37
37
  */
38
38
  export declare const GetOrderPaymentsOrderByEnum: {
39
- readonly Asc: "ORDER_REFERENCE:ASC";
40
- readonly Desc: "ORDER_REFERENCE:DESC";
39
+ readonly ASC: "ORDER_REFERENCE:ASC";
40
+ readonly DESC: "ORDER_REFERENCE:DESC";
41
41
  };
42
42
  export declare type GetOrderPaymentsOrderByEnum = typeof GetOrderPaymentsOrderByEnum[keyof typeof GetOrderPaymentsOrderByEnum];
@@ -173,6 +173,6 @@ exports.SearchOrderPaymentApi = SearchOrderPaymentApi;
173
173
  * @export
174
174
  */
175
175
  exports.GetOrderPaymentsOrderByEnum = {
176
- Asc: 'ORDER_REFERENCE:ASC',
177
- Desc: 'ORDER_REFERENCE:DESC'
176
+ ASC: 'ORDER_REFERENCE:ASC',
177
+ DESC: 'ORDER_REFERENCE:DESC'
178
178
  };
@@ -14,9 +14,9 @@
14
14
  * @export
15
15
  */
16
16
  export declare const LevyPaymentStatus: {
17
- readonly Done: "DONE";
18
- readonly Failed: "FAILED";
19
- readonly WaitingForPayment: "WAITING_FOR_PAYMENT";
17
+ readonly DONE: "DONE";
18
+ readonly FAILED: "FAILED";
19
+ readonly WAITING_FOR_PAYMENT: "WAITING_FOR_PAYMENT";
20
20
  };
21
21
  export declare type LevyPaymentStatus = typeof LevyPaymentStatus[keyof typeof LevyPaymentStatus];
22
22
  export declare function instanceOfLevyPaymentStatus(value: any): boolean;
@@ -19,9 +19,9 @@ exports.LevyPaymentStatusToJSON = exports.LevyPaymentStatusFromJSONTyped = expor
19
19
  * @export
20
20
  */
21
21
  exports.LevyPaymentStatus = {
22
- Done: 'DONE',
23
- Failed: 'FAILED',
24
- WaitingForPayment: 'WAITING_FOR_PAYMENT'
22
+ DONE: 'DONE',
23
+ FAILED: 'FAILED',
24
+ WAITING_FOR_PAYMENT: 'WAITING_FOR_PAYMENT'
25
25
  };
26
26
  function instanceOfLevyPaymentStatus(value) {
27
27
  for (var key in exports.LevyPaymentStatus) {
@@ -14,8 +14,8 @@
14
14
  * @export
15
15
  */
16
16
  export declare const LevyStatus: {
17
- readonly Done: "DONE";
18
- readonly NotDone: "NOT_DONE";
17
+ readonly DONE: "DONE";
18
+ readonly NOT_DONE: "NOT_DONE";
19
19
  };
20
20
  export declare type LevyStatus = typeof LevyStatus[keyof typeof LevyStatus];
21
21
  export declare function instanceOfLevyStatus(value: any): boolean;
@@ -19,8 +19,8 @@ exports.LevyStatusToJSON = exports.LevyStatusFromJSONTyped = exports.LevyStatusF
19
19
  * @export
20
20
  */
21
21
  exports.LevyStatus = {
22
- Done: 'DONE',
23
- NotDone: 'NOT_DONE'
22
+ DONE: 'DONE',
23
+ NOT_DONE: 'NOT_DONE'
24
24
  };
25
25
  function instanceOfLevyStatus(value) {
26
26
  for (var key in exports.LevyStatus) {
@@ -51,10 +51,10 @@ export interface Transaction {
51
51
  * @export
52
52
  */
53
53
  export declare const TransactionStatusEnum: {
54
- readonly Created: "CREATED";
55
- readonly Succeeded: "SUCCEEDED";
56
- readonly Failed: "FAILED";
57
- readonly Unknown: "UNKNOWN";
54
+ readonly CREATED: "CREATED";
55
+ readonly SUCCEEDED: "SUCCEEDED";
56
+ readonly FAILED: "FAILED";
57
+ readonly UNKNOWN: "UNKNOWN";
58
58
  };
59
59
  export declare type TransactionStatusEnum = typeof TransactionStatusEnum[keyof typeof TransactionStatusEnum];
60
60
  /**
@@ -19,10 +19,10 @@ var TransactionMangopayTarget_1 = require("./TransactionMangopayTarget");
19
19
  * @export
20
20
  */
21
21
  exports.TransactionStatusEnum = {
22
- Created: 'CREATED',
23
- Succeeded: 'SUCCEEDED',
24
- Failed: 'FAILED',
25
- Unknown: 'UNKNOWN'
22
+ CREATED: 'CREATED',
23
+ SUCCEEDED: 'SUCCEEDED',
24
+ FAILED: 'FAILED',
25
+ UNKNOWN: 'UNKNOWN'
26
26
  };
27
27
  /**
28
28
  * Check if a given object implements the Transaction 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
  });
@@ -46,9 +46,9 @@ export declare class SearchProductInsightApi extends runtime.BaseAPI {
46
46
  * @export
47
47
  */
48
48
  export declare const GetProductInsightsOrderByEnum: {
49
- readonly ProductNameasc: "PRODUCT_NAME:ASC";
50
- readonly ProductNamedesc: "PRODUCT_NAME:DESC";
51
- readonly BarcodesPrincipalasc: "BARCODES_PRINCIPAL:ASC";
52
- readonly BarcodesPrincipaldesc: "BARCODES_PRINCIPAL:DESC";
49
+ readonly PRODUCT_NAME_ASC: "PRODUCT_NAME:ASC";
50
+ readonly PRODUCT_NAME_DESC: "PRODUCT_NAME:DESC";
51
+ readonly BARCODES_PRINCIPAL_ASC: "BARCODES_PRINCIPAL:ASC";
52
+ readonly BARCODES_PRINCIPAL_DESC: "BARCODES_PRINCIPAL:DESC";
53
53
  };
54
54
  export declare type GetProductInsightsOrderByEnum = typeof GetProductInsightsOrderByEnum[keyof typeof GetProductInsightsOrderByEnum];
@@ -253,8 +253,8 @@ exports.SearchProductInsightApi = SearchProductInsightApi;
253
253
  * @export
254
254
  */
255
255
  exports.GetProductInsightsOrderByEnum = {
256
- ProductNameasc: 'PRODUCT_NAME:ASC',
257
- ProductNamedesc: 'PRODUCT_NAME:DESC',
258
- BarcodesPrincipalasc: 'BARCODES_PRINCIPAL:ASC',
259
- BarcodesPrincipaldesc: 'BARCODES_PRINCIPAL:DESC'
256
+ PRODUCT_NAME_ASC: 'PRODUCT_NAME:ASC',
257
+ PRODUCT_NAME_DESC: 'PRODUCT_NAME:DESC',
258
+ BARCODES_PRINCIPAL_ASC: 'BARCODES_PRINCIPAL:ASC',
259
+ BARCODES_PRINCIPAL_DESC: 'BARCODES_PRINCIPAL:DESC'
260
260
  };
@@ -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) {
@@ -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
  });
@@ -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.
@@ -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
  });