@fenixalliance/abs-api-client 1.0.0

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 (447) hide show
  1. package/Icon.png +0 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.md +36 -0
  4. package/README.md +300 -0
  5. package/THIRD_PARTY_NOTICES.md +129 -0
  6. package/clients/cartService/core/ApiError.ts +25 -0
  7. package/clients/cartService/core/ApiRequestOptions.ts +17 -0
  8. package/clients/cartService/core/ApiResult.ts +11 -0
  9. package/clients/cartService/core/CancelablePromise.ts +131 -0
  10. package/clients/cartService/core/OpenAPI.ts +32 -0
  11. package/clients/cartService/core/request.ts +322 -0
  12. package/clients/cartService/index.ts +52 -0
  13. package/clients/cartService/models/AccessTokenResponse.ts +11 -0
  14. package/clients/cartService/models/AddProductToCompareRequest.ts +10 -0
  15. package/clients/cartService/models/BooleanEnvelope.ts +13 -0
  16. package/clients/cartService/models/CartDto.ts +17 -0
  17. package/clients/cartService/models/CartDtoEnvelope.ts +14 -0
  18. package/clients/cartService/models/CurrencySwitchRequest.ts +9 -0
  19. package/clients/cartService/models/Envelope.ts +13 -0
  20. package/clients/cartService/models/Error.ts +10 -0
  21. package/clients/cartService/models/ErrorEnvelope.ts +12 -0
  22. package/clients/cartService/models/ForgotPasswordRequest.ts +8 -0
  23. package/clients/cartService/models/HttpValidationProblemDetails.ts +5 -0
  24. package/clients/cartService/models/InfoRequest.ts +10 -0
  25. package/clients/cartService/models/InfoResponse.ts +9 -0
  26. package/clients/cartService/models/ItemCartRecordCreateDto.ts +11 -0
  27. package/clients/cartService/models/ItemCartRecordDto.ts +98 -0
  28. package/clients/cartService/models/ItemCartRecordDtoEnvelope.ts +14 -0
  29. package/clients/cartService/models/ItemCartRecordUpdateDto.ts +10 -0
  30. package/clients/cartService/models/ItemToCompareCartRecordDto.ts +11 -0
  31. package/clients/cartService/models/ItemToCompareCartRecordDtoEnvelope.ts +14 -0
  32. package/clients/cartService/models/ItemToCompareCartRecordDtoIReadOnlyListEnvelope.ts +14 -0
  33. package/clients/cartService/models/LoginRequest.ts +11 -0
  34. package/clients/cartService/models/NewWishListRequest.ts +11 -0
  35. package/clients/cartService/models/ProductCartRecordDto.ts +98 -0
  36. package/clients/cartService/models/ProductToWishListRequest.ts +9 -0
  37. package/clients/cartService/models/RefreshRequest.ts +8 -0
  38. package/clients/cartService/models/RegisterRequest.ts +9 -0
  39. package/clients/cartService/models/ResendConfirmationEmailRequest.ts +8 -0
  40. package/clients/cartService/models/ResetPasswordRequest.ts +10 -0
  41. package/clients/cartService/models/ResponseStatus.ts +12 -0
  42. package/clients/cartService/models/TwoFactorRequest.ts +12 -0
  43. package/clients/cartService/models/TwoFactorResponse.ts +12 -0
  44. package/clients/cartService/models/WishListDto.ts +12 -0
  45. package/clients/cartService/models/WishListDtoEnvelope.ts +14 -0
  46. package/clients/cartService/models/WishListDtoIReadOnlyListEnvelope.ts +14 -0
  47. package/clients/cartService/models/WishListItemRecordDto.ts +11 -0
  48. package/clients/cartService/models/WishListItemRecordDtoIReadOnlyListEnvelope.ts +14 -0
  49. package/clients/cartService/models/WishListUpdateDto.ts +10 -0
  50. package/clients/cartService/services/CartsService.ts +103 -0
  51. package/clients/cartService/services/CompareService.ts +89 -0
  52. package/clients/cartService/services/FenixAllianceAbsWebService.ts +293 -0
  53. package/clients/cartService/services/RecordsService.ts +206 -0
  54. package/clients/cartService/services/WishListsService.ts +145 -0
  55. package/clients/catalogService/core/ApiError.ts +25 -0
  56. package/clients/catalogService/core/ApiRequestOptions.ts +17 -0
  57. package/clients/catalogService/core/ApiResult.ts +11 -0
  58. package/clients/catalogService/core/CancelablePromise.ts +131 -0
  59. package/clients/catalogService/core/OpenAPI.ts +32 -0
  60. package/clients/catalogService/core/request.ts +322 -0
  61. package/clients/catalogService/index.ts +124 -0
  62. package/clients/catalogService/models/AccessTokenResponse.ts +11 -0
  63. package/clients/catalogService/models/ErrorEnvelope.ts +12 -0
  64. package/clients/catalogService/models/ForgotPasswordRequest.ts +8 -0
  65. package/clients/catalogService/models/HttpValidationProblemDetails.ts +5 -0
  66. package/clients/catalogService/models/InfoRequest.ts +10 -0
  67. package/clients/catalogService/models/InfoResponse.ts +9 -0
  68. package/clients/catalogService/models/ItemAttachmentCreateDto.ts +23 -0
  69. package/clients/catalogService/models/ItemAttachmentDto.ts +28 -0
  70. package/clients/catalogService/models/ItemAttachmentDtoEnvelope.ts +14 -0
  71. package/clients/catalogService/models/ItemAttachmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
  72. package/clients/catalogService/models/ItemAttachmentDtoListEnvelope.ts +14 -0
  73. package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +19 -0
  74. package/clients/catalogService/models/ItemAttributeCreateDto.ts +11 -0
  75. package/clients/catalogService/models/ItemAttributeDto.ts +12 -0
  76. package/clients/catalogService/models/ItemAttributeDtoEnvelope.ts +14 -0
  77. package/clients/catalogService/models/ItemAttributeDtoIReadOnlyCollectionEnvelope.ts +14 -0
  78. package/clients/catalogService/models/ItemAttributeOptionDto.ts +12 -0
  79. package/clients/catalogService/models/ItemAttributeOptionDtoEnvelope.ts +14 -0
  80. package/clients/catalogService/models/ItemAttributeOptionDtoListEnvelope.ts +14 -0
  81. package/clients/catalogService/models/ItemAttributeUpdateDto.ts +9 -0
  82. package/clients/catalogService/models/ItemBrandCreateDto.ts +16 -0
  83. package/clients/catalogService/models/ItemBrandDto.ts +17 -0
  84. package/clients/catalogService/models/ItemBrandDtoEnvelope.ts +14 -0
  85. package/clients/catalogService/models/ItemBrandDtoIReadOnlyCollectionEnvelope.ts +14 -0
  86. package/clients/catalogService/models/ItemBrandDtoListEnvelope.ts +14 -0
  87. package/clients/catalogService/models/ItemBrandUpdateDto.ts +13 -0
  88. package/clients/catalogService/models/ItemCategoryCreateDto.ts +14 -0
  89. package/clients/catalogService/models/ItemCategoryDto.ts +21 -0
  90. package/clients/catalogService/models/ItemCategoryDtoEnvelope.ts +14 -0
  91. package/clients/catalogService/models/ItemCategoryDtoIReadOnlyCollectionEnvelope.ts +14 -0
  92. package/clients/catalogService/models/ItemCategoryDtoListEnvelope.ts +14 -0
  93. package/clients/catalogService/models/ItemCategoryUpdateDto.ts +16 -0
  94. package/clients/catalogService/models/ItemGoogleCategoryDto.ts +12 -0
  95. package/clients/catalogService/models/ItemGoogleCategoryDtoEnvelope.ts +14 -0
  96. package/clients/catalogService/models/ItemGoogleCategoryDtoListEnvelope.ts +14 -0
  97. package/clients/catalogService/models/ItemImageDto.ts +29 -0
  98. package/clients/catalogService/models/ItemImageDtoEnvelope.ts +14 -0
  99. package/clients/catalogService/models/ItemImageDtoIReadOnlyCollectionEnvelope.ts +14 -0
  100. package/clients/catalogService/models/ItemImageDtoListEnvelope.ts +14 -0
  101. package/clients/catalogService/models/ItemImagesCreateDto.ts +28 -0
  102. package/clients/catalogService/models/ItemImagesUpdateDto.ts +25 -0
  103. package/clients/catalogService/models/ItemPricePolicyDto.ts +35 -0
  104. package/clients/catalogService/models/ItemPricePolicyDtoEnvelope.ts +14 -0
  105. package/clients/catalogService/models/ItemPricePolicyDtoListEnvelope.ts +14 -0
  106. package/clients/catalogService/models/ItemQuestionCreateDto.ts +14 -0
  107. package/clients/catalogService/models/ItemQuestionDto.ts +15 -0
  108. package/clients/catalogService/models/ItemQuestionDtoEnvelope.ts +14 -0
  109. package/clients/catalogService/models/ItemQuestionDtoIReadOnlyCollectionEnvelope.ts +14 -0
  110. package/clients/catalogService/models/ItemQuestionDtoListEnvelope.ts +14 -0
  111. package/clients/catalogService/models/ItemQuestionUpdateDto.ts +12 -0
  112. package/clients/catalogService/models/ItemRefundPolicyDto.ts +34 -0
  113. package/clients/catalogService/models/ItemRefundPolicyDtoEnvelope.ts +14 -0
  114. package/clients/catalogService/models/ItemRefundPolicyDtoListEnvelope.ts +14 -0
  115. package/clients/catalogService/models/ItemReturnPolicyDto.ts +34 -0
  116. package/clients/catalogService/models/ItemReturnPolicyDtoEnvelope.ts +14 -0
  117. package/clients/catalogService/models/ItemReturnPolicyDtoListEnvelope.ts +14 -0
  118. package/clients/catalogService/models/ItemReviewCreateDto.ts +12 -0
  119. package/clients/catalogService/models/ItemReviewDto.ts +13 -0
  120. package/clients/catalogService/models/ItemReviewDtoEnvelope.ts +14 -0
  121. package/clients/catalogService/models/ItemReviewDtoIReadOnlyCollectionEnvelope.ts +14 -0
  122. package/clients/catalogService/models/ItemReviewDtoListEnvelope.ts +14 -0
  123. package/clients/catalogService/models/ItemReviewUpdateDto.ts +9 -0
  124. package/clients/catalogService/models/ItemShippingPolicyDto.ts +35 -0
  125. package/clients/catalogService/models/ItemShippingPolicyDtoEnvelope.ts +14 -0
  126. package/clients/catalogService/models/ItemShippingPolicyDtoListEnvelope.ts +14 -0
  127. package/clients/catalogService/models/ItemTagCreateDto.ts +11 -0
  128. package/clients/catalogService/models/ItemTagDto.ts +12 -0
  129. package/clients/catalogService/models/ItemTagDtoEnvelope.ts +14 -0
  130. package/clients/catalogService/models/ItemTagDtoIReadOnlyCollectionEnvelope.ts +14 -0
  131. package/clients/catalogService/models/ItemTagDtoListEnvelope.ts +14 -0
  132. package/clients/catalogService/models/ItemTagUpdateDto.ts +9 -0
  133. package/clients/catalogService/models/ItemTaxPolicyDto.ts +37 -0
  134. package/clients/catalogService/models/ItemTaxPolicyDtoEnvelope.ts +14 -0
  135. package/clients/catalogService/models/ItemTaxPolicyDtoListEnvelope.ts +14 -0
  136. package/clients/catalogService/models/ItemTypeCreateDto.ts +16 -0
  137. package/clients/catalogService/models/ItemTypeDto.ts +17 -0
  138. package/clients/catalogService/models/ItemTypeDtoEnvelope.ts +14 -0
  139. package/clients/catalogService/models/ItemTypeDtoIReadOnlyCollectionEnvelope.ts +14 -0
  140. package/clients/catalogService/models/ItemTypeDtoListEnvelope.ts +14 -0
  141. package/clients/catalogService/models/ItemTypeUpdateDto.ts +12 -0
  142. package/clients/catalogService/models/ItemWarrantyPolicyDto.ts +34 -0
  143. package/clients/catalogService/models/ItemWarrantyPolicyDtoEnvelope.ts +14 -0
  144. package/clients/catalogService/models/ItemWarrantyPolicyDtoListEnvelope.ts +14 -0
  145. package/clients/catalogService/models/LoginRequest.ts +11 -0
  146. package/clients/catalogService/models/PricingRuleCreateDto.ts +32 -0
  147. package/clients/catalogService/models/PricingRuleDto.ts +32 -0
  148. package/clients/catalogService/models/PricingRuleDtoEnvelope.ts +14 -0
  149. package/clients/catalogService/models/PricingRuleDtoIReadOnlyCollectionEnvelope.ts +14 -0
  150. package/clients/catalogService/models/PricingRuleDtoListEnvelope.ts +14 -0
  151. package/clients/catalogService/models/PricingRuleUpdateDto.ts +27 -0
  152. package/clients/catalogService/models/RefreshRequest.ts +8 -0
  153. package/clients/catalogService/models/RegisterRequest.ts +9 -0
  154. package/clients/catalogService/models/ResendConfirmationEmailRequest.ts +8 -0
  155. package/clients/catalogService/models/ResetPasswordRequest.ts +10 -0
  156. package/clients/catalogService/models/StockItemCreateDto.ts +11 -0
  157. package/clients/catalogService/models/StockItemDto.ts +17 -0
  158. package/clients/catalogService/models/StockItemDtoEnvelope.ts +14 -0
  159. package/clients/catalogService/models/StockItemDtoListEnvelope.ts +14 -0
  160. package/clients/catalogService/models/StockItemUpdateDto.ts +9 -0
  161. package/clients/catalogService/models/TwoFactorRequest.ts +12 -0
  162. package/clients/catalogService/models/TwoFactorResponse.ts +12 -0
  163. package/clients/catalogService/services/FenixAllianceAbsWebService.ts +293 -0
  164. package/clients/catalogService/services/ItemAttachmentsService.ts +127 -0
  165. package/clients/catalogService/services/ItemAttributesService.ts +127 -0
  166. package/clients/catalogService/services/ItemBrandsService.ts +127 -0
  167. package/clients/catalogService/services/ItemCategoriesService.ts +127 -0
  168. package/clients/catalogService/services/ItemImagesService.ts +127 -0
  169. package/clients/catalogService/services/ItemQuestionsService.ts +127 -0
  170. package/clients/catalogService/services/ItemReviewsService.ts +127 -0
  171. package/clients/catalogService/services/ItemTagsService.ts +132 -0
  172. package/clients/catalogService/services/ItemTypesService.ts +127 -0
  173. package/clients/catalogService/services/PoliciesService.ts +117 -0
  174. package/clients/catalogService/services/PricingRulesService.ts +127 -0
  175. package/clients/catalogService/services/ProductsService.ts +1743 -0
  176. package/clients/contactService/core/ApiError.ts +25 -0
  177. package/clients/contactService/core/ApiRequestOptions.ts +17 -0
  178. package/clients/contactService/core/ApiResult.ts +11 -0
  179. package/clients/contactService/core/CancelablePromise.ts +131 -0
  180. package/clients/contactService/core/OpenAPI.ts +32 -0
  181. package/clients/contactService/core/request.ts +322 -0
  182. package/clients/contactService/index.ts +28 -0
  183. package/clients/contactService/models/AccessTokenResponse.ts +11 -0
  184. package/clients/contactService/models/ContactDto.ts +44 -0
  185. package/clients/contactService/models/ContactDtoEnvelope.ts +14 -0
  186. package/clients/contactService/models/ContactDtoListEnvelope.ts +14 -0
  187. package/clients/contactService/models/ErrorEnvelope.ts +12 -0
  188. package/clients/contactService/models/ForgotPasswordRequest.ts +8 -0
  189. package/clients/contactService/models/HttpValidationProblemDetails.ts +5 -0
  190. package/clients/contactService/models/InfoRequest.ts +10 -0
  191. package/clients/contactService/models/InfoResponse.ts +9 -0
  192. package/clients/contactService/models/LoginRequest.ts +11 -0
  193. package/clients/contactService/models/RefreshRequest.ts +8 -0
  194. package/clients/contactService/models/RegisterRequest.ts +9 -0
  195. package/clients/contactService/models/ResendConfirmationEmailRequest.ts +8 -0
  196. package/clients/contactService/models/ResetPasswordRequest.ts +10 -0
  197. package/clients/contactService/models/TwoFactorRequest.ts +12 -0
  198. package/clients/contactService/models/TwoFactorResponse.ts +12 -0
  199. package/clients/contactService/services/ContactsService.ts +140 -0
  200. package/clients/contactService/services/FenixAllianceAbsWebService.ts +293 -0
  201. package/clients/forexService/core/ApiError.ts +25 -0
  202. package/clients/forexService/core/ApiRequestOptions.ts +17 -0
  203. package/clients/forexService/core/ApiResult.ts +11 -0
  204. package/clients/forexService/core/CancelablePromise.ts +131 -0
  205. package/clients/forexService/core/OpenAPI.ts +32 -0
  206. package/clients/forexService/core/request.ts +322 -0
  207. package/clients/forexService/index.ts +30 -0
  208. package/clients/forexService/models/AccessTokenResponse.ts +11 -0
  209. package/clients/forexService/models/Currency.ts +9 -0
  210. package/clients/forexService/models/ForexRatesDto.ts +13 -0
  211. package/clients/forexService/models/ForexRatesDtoEnvelope.ts +14 -0
  212. package/clients/forexService/models/ForgotPasswordRequest.ts +8 -0
  213. package/clients/forexService/models/HttpValidationProblemDetails.ts +5 -0
  214. package/clients/forexService/models/InfoRequest.ts +10 -0
  215. package/clients/forexService/models/InfoResponse.ts +9 -0
  216. package/clients/forexService/models/LoginRequest.ts +11 -0
  217. package/clients/forexService/models/Money.ts +10 -0
  218. package/clients/forexService/models/MoneyEnvelope.ts +14 -0
  219. package/clients/forexService/models/RefreshRequest.ts +8 -0
  220. package/clients/forexService/models/RegisterRequest.ts +9 -0
  221. package/clients/forexService/models/ResendConfirmationEmailRequest.ts +8 -0
  222. package/clients/forexService/models/ResetPasswordRequest.ts +10 -0
  223. package/clients/forexService/models/TwoFactorRequest.ts +12 -0
  224. package/clients/forexService/models/TwoFactorResponse.ts +12 -0
  225. package/clients/forexService/services/ExchangeService.ts +57 -0
  226. package/clients/forexService/services/FenixAllianceAbsWebService.ts +293 -0
  227. package/clients/forexService/services/RatesService.ts +36 -0
  228. package/clients/holderService/core/ApiError.ts +25 -0
  229. package/clients/holderService/core/ApiRequestOptions.ts +17 -0
  230. package/clients/holderService/core/ApiResult.ts +11 -0
  231. package/clients/holderService/core/CancelablePromise.ts +131 -0
  232. package/clients/holderService/core/OpenAPI.ts +32 -0
  233. package/clients/holderService/core/request.ts +322 -0
  234. package/clients/holderService/index.ts +31 -0
  235. package/clients/holderService/models/AccessTokenResponse.ts +11 -0
  236. package/clients/holderService/models/AccountHolderCreateDto.ts +34 -0
  237. package/clients/holderService/models/AccountHolderDto.ts +73 -0
  238. package/clients/holderService/models/AccountHolderDtoEnvelope.ts +14 -0
  239. package/clients/holderService/models/BusinessDto.ts +53 -0
  240. package/clients/holderService/models/BusinessEnrollmentDto.ts +19 -0
  241. package/clients/holderService/models/ErrorEnvelope.ts +12 -0
  242. package/clients/holderService/models/FollowRecordDto.ts +12 -0
  243. package/clients/holderService/models/ForgotPasswordRequest.ts +8 -0
  244. package/clients/holderService/models/HttpValidationProblemDetails.ts +5 -0
  245. package/clients/holderService/models/InfoRequest.ts +10 -0
  246. package/clients/holderService/models/InfoResponse.ts +9 -0
  247. package/clients/holderService/models/LoginRequest.ts +11 -0
  248. package/clients/holderService/models/RefreshRequest.ts +8 -0
  249. package/clients/holderService/models/RegisterRequest.ts +9 -0
  250. package/clients/holderService/models/ResendConfirmationEmailRequest.ts +8 -0
  251. package/clients/holderService/models/ResetPasswordRequest.ts +10 -0
  252. package/clients/holderService/models/TwoFactorRequest.ts +12 -0
  253. package/clients/holderService/models/TwoFactorResponse.ts +12 -0
  254. package/clients/holderService/services/FenixAllianceAbsWebService.ts +293 -0
  255. package/clients/holderService/services/HolderService.ts +165 -0
  256. package/clients/identityService/core/ApiError.ts +25 -0
  257. package/clients/identityService/core/ApiRequestOptions.ts +17 -0
  258. package/clients/identityService/core/ApiResult.ts +11 -0
  259. package/clients/identityService/core/CancelablePromise.ts +131 -0
  260. package/clients/identityService/core/OpenAPI.ts +32 -0
  261. package/clients/identityService/core/request.ts +322 -0
  262. package/clients/identityService/index.ts +53 -0
  263. package/clients/identityService/models/AccessTokenResponse.ts +11 -0
  264. package/clients/identityService/models/AccountHolderCreateDto.ts +34 -0
  265. package/clients/identityService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
  266. package/clients/identityService/models/AccountHolderDto.ts +73 -0
  267. package/clients/identityService/models/Actor.ts +12 -0
  268. package/clients/identityService/models/ApiResponse.ts +22 -0
  269. package/clients/identityService/models/ApiResponseEnvelope.ts +14 -0
  270. package/clients/identityService/models/BusinessDto.ts +53 -0
  271. package/clients/identityService/models/ClientApplication.ts +16 -0
  272. package/clients/identityService/models/Error.ts +10 -0
  273. package/clients/identityService/models/ErrorEnvelope.ts +12 -0
  274. package/clients/identityService/models/ForgotPasswordRequest.ts +8 -0
  275. package/clients/identityService/models/HttpValidationProblemDetails.ts +5 -0
  276. package/clients/identityService/models/IPLookupDto.ts +10 -0
  277. package/clients/identityService/models/InfoRequest.ts +10 -0
  278. package/clients/identityService/models/InfoResponse.ts +9 -0
  279. package/clients/identityService/models/JsonWebKey.ts +13 -0
  280. package/clients/identityService/models/JsonWebKeySet.ts +9 -0
  281. package/clients/identityService/models/JsonWebKeySetEnvelope.ts +14 -0
  282. package/clients/identityService/models/JsonWebToken.ts +15 -0
  283. package/clients/identityService/models/JsonWebTokenEnvelope.ts +14 -0
  284. package/clients/identityService/models/JsonWebTokenHeader.ts +11 -0
  285. package/clients/identityService/models/JsonWebTokenPayload.ts +17 -0
  286. package/clients/identityService/models/LoginRequest.ts +11 -0
  287. package/clients/identityService/models/OAuthTokenRequest.ts +12 -0
  288. package/clients/identityService/models/OpenIdConfiguration.ts +19 -0
  289. package/clients/identityService/models/OpenIdConfigurationEnvelope.ts +14 -0
  290. package/clients/identityService/models/RefreshRequest.ts +8 -0
  291. package/clients/identityService/models/RegisterRequest.ts +9 -0
  292. package/clients/identityService/models/ResendConfirmationEmailRequest.ts +8 -0
  293. package/clients/identityService/models/ResetPasswordRequest.ts +10 -0
  294. package/clients/identityService/models/ResponsePagination.ts +13 -0
  295. package/clients/identityService/models/ResponseStatus.ts +12 -0
  296. package/clients/identityService/models/SigninModel.ts +9 -0
  297. package/clients/identityService/models/StringListEnvelope.ts +13 -0
  298. package/clients/identityService/models/TwoFactorRequest.ts +12 -0
  299. package/clients/identityService/models/TwoFactorResponse.ts +12 -0
  300. package/clients/identityService/services/ApplicationsService.ts +107 -0
  301. package/clients/identityService/services/CheckerService.ts +19 -0
  302. package/clients/identityService/services/FenixAllianceAbsWebService.ts +293 -0
  303. package/clients/identityService/services/OAuthService.ts +147 -0
  304. package/clients/identityService/services/ResourceService.ts +19 -0
  305. package/clients/identityService/services/UserInfoService.ts +29 -0
  306. package/clients/inventoryService/core/ApiError.ts +25 -0
  307. package/clients/inventoryService/core/ApiRequestOptions.ts +17 -0
  308. package/clients/inventoryService/core/ApiResult.ts +11 -0
  309. package/clients/inventoryService/core/CancelablePromise.ts +131 -0
  310. package/clients/inventoryService/core/OpenAPI.ts +32 -0
  311. package/clients/inventoryService/core/request.ts +322 -0
  312. package/clients/inventoryService/index.ts +24 -0
  313. package/clients/inventoryService/models/AccessTokenResponse.ts +11 -0
  314. package/clients/inventoryService/models/ForgotPasswordRequest.ts +8 -0
  315. package/clients/inventoryService/models/HttpValidationProblemDetails.ts +5 -0
  316. package/clients/inventoryService/models/InfoRequest.ts +10 -0
  317. package/clients/inventoryService/models/InfoResponse.ts +9 -0
  318. package/clients/inventoryService/models/LoginRequest.ts +11 -0
  319. package/clients/inventoryService/models/RefreshRequest.ts +8 -0
  320. package/clients/inventoryService/models/RegisterRequest.ts +9 -0
  321. package/clients/inventoryService/models/ResendConfirmationEmailRequest.ts +8 -0
  322. package/clients/inventoryService/models/ResetPasswordRequest.ts +10 -0
  323. package/clients/inventoryService/models/TwoFactorRequest.ts +12 -0
  324. package/clients/inventoryService/models/TwoFactorResponse.ts +12 -0
  325. package/clients/inventoryService/services/FenixAllianceAbsWebService.ts +293 -0
  326. package/clients/inventoryService/services/InventoryService.ts +25 -0
  327. package/clients/invoicingService/core/ApiError.ts +25 -0
  328. package/clients/invoicingService/core/ApiRequestOptions.ts +17 -0
  329. package/clients/invoicingService/core/ApiResult.ts +11 -0
  330. package/clients/invoicingService/core/CancelablePromise.ts +131 -0
  331. package/clients/invoicingService/core/OpenAPI.ts +32 -0
  332. package/clients/invoicingService/core/request.ts +322 -0
  333. package/clients/invoicingService/index.ts +28 -0
  334. package/clients/invoicingService/models/AccessTokenResponse.ts +11 -0
  335. package/clients/invoicingService/models/ErrorEnvelope.ts +12 -0
  336. package/clients/invoicingService/models/ForgotPasswordRequest.ts +8 -0
  337. package/clients/invoicingService/models/HttpValidationProblemDetails.ts +5 -0
  338. package/clients/invoicingService/models/InfoRequest.ts +10 -0
  339. package/clients/invoicingService/models/InfoResponse.ts +9 -0
  340. package/clients/invoicingService/models/InvoiceDto.ts +13 -0
  341. package/clients/invoicingService/models/InvoiceDtoIReadOnlyListEnvelope.ts +14 -0
  342. package/clients/invoicingService/models/InvoiceDtoListEnvelope.ts +14 -0
  343. package/clients/invoicingService/models/LoginRequest.ts +11 -0
  344. package/clients/invoicingService/models/RefreshRequest.ts +8 -0
  345. package/clients/invoicingService/models/RegisterRequest.ts +9 -0
  346. package/clients/invoicingService/models/ResendConfirmationEmailRequest.ts +8 -0
  347. package/clients/invoicingService/models/ResetPasswordRequest.ts +10 -0
  348. package/clients/invoicingService/models/TwoFactorRequest.ts +12 -0
  349. package/clients/invoicingService/models/TwoFactorResponse.ts +12 -0
  350. package/clients/invoicingService/services/FenixAllianceAbsWebService.ts +293 -0
  351. package/clients/invoicingService/services/InvoicesService.ts +63 -0
  352. package/clients/pricingService/core/ApiError.ts +25 -0
  353. package/clients/pricingService/core/ApiRequestOptions.ts +17 -0
  354. package/clients/pricingService/core/ApiResult.ts +11 -0
  355. package/clients/pricingService/core/CancelablePromise.ts +131 -0
  356. package/clients/pricingService/core/OpenAPI.ts +32 -0
  357. package/clients/pricingService/core/request.ts +322 -0
  358. package/clients/pricingService/index.ts +29 -0
  359. package/clients/pricingService/models/AccessTokenResponse.ts +11 -0
  360. package/clients/pricingService/models/Currency.ts +9 -0
  361. package/clients/pricingService/models/ErrorEnvelope.ts +12 -0
  362. package/clients/pricingService/models/ForgotPasswordRequest.ts +8 -0
  363. package/clients/pricingService/models/HttpValidationProblemDetails.ts +5 -0
  364. package/clients/pricingService/models/InfoRequest.ts +10 -0
  365. package/clients/pricingService/models/InfoResponse.ts +9 -0
  366. package/clients/pricingService/models/LoginRequest.ts +11 -0
  367. package/clients/pricingService/models/Money.ts +10 -0
  368. package/clients/pricingService/models/MoneyEnvelope.ts +14 -0
  369. package/clients/pricingService/models/RefreshRequest.ts +8 -0
  370. package/clients/pricingService/models/RegisterRequest.ts +9 -0
  371. package/clients/pricingService/models/ResendConfirmationEmailRequest.ts +8 -0
  372. package/clients/pricingService/models/ResetPasswordRequest.ts +10 -0
  373. package/clients/pricingService/models/TwoFactorRequest.ts +12 -0
  374. package/clients/pricingService/models/TwoFactorResponse.ts +12 -0
  375. package/clients/pricingService/services/FenixAllianceAbsWebService.ts +293 -0
  376. package/clients/pricingService/services/PriceListsService.ts +34 -0
  377. package/clients/pricingService/services/PricesService.ts +82 -0
  378. package/clients/tenantService/core/ApiError.ts +25 -0
  379. package/clients/tenantService/core/ApiRequestOptions.ts +17 -0
  380. package/clients/tenantService/core/ApiResult.ts +11 -0
  381. package/clients/tenantService/core/CancelablePromise.ts +131 -0
  382. package/clients/tenantService/core/OpenAPI.ts +32 -0
  383. package/clients/tenantService/core/request.ts +322 -0
  384. package/clients/tenantService/index.ts +62 -0
  385. package/clients/tenantService/models/AccessTokenResponse.ts +11 -0
  386. package/clients/tenantService/models/AccountHolderCreateDto.ts +34 -0
  387. package/clients/tenantService/models/AggregateException.ts +18 -0
  388. package/clients/tenantService/models/Assembly.ts +46 -0
  389. package/clients/tenantService/models/BusinessCreateDto.ts +24 -0
  390. package/clients/tenantService/models/BusinessDto.ts +53 -0
  391. package/clients/tenantService/models/BusinessEnrollmentDto.ts +19 -0
  392. package/clients/tenantService/models/BusinessEnrollmentDtoEnvelope.ts +14 -0
  393. package/clients/tenantService/models/BusinessEnrollmentDtoIReadOnlyListEnvelope.ts +14 -0
  394. package/clients/tenantService/models/ConstructorInfo.ts +103 -0
  395. package/clients/tenantService/models/CustomAttributeData.ts +15 -0
  396. package/clients/tenantService/models/CustomAttributeNamedArgument.ts +13 -0
  397. package/clients/tenantService/models/CustomAttributeTypedArgument.ts +10 -0
  398. package/clients/tenantService/models/Error.ts +10 -0
  399. package/clients/tenantService/models/EventInfo.ts +44 -0
  400. package/clients/tenantService/models/Exception.ts +16 -0
  401. package/clients/tenantService/models/FieldInfo.ts +74 -0
  402. package/clients/tenantService/models/ForgotPasswordRequest.ts +8 -0
  403. package/clients/tenantService/models/HttpValidationProblemDetails.ts +5 -0
  404. package/clients/tenantService/models/ICustomAttributeProvider.ts +5 -0
  405. package/clients/tenantService/models/InfoRequest.ts +10 -0
  406. package/clients/tenantService/models/InfoResponse.ts +9 -0
  407. package/clients/tenantService/models/IntPtr.ts +5 -0
  408. package/clients/tenantService/models/LoginRequest.ts +11 -0
  409. package/clients/tenantService/models/MemberInfo.ts +31 -0
  410. package/clients/tenantService/models/MethodBase.ts +103 -0
  411. package/clients/tenantService/models/MethodInfo.ts +108 -0
  412. package/clients/tenantService/models/Module.ts +19 -0
  413. package/clients/tenantService/models/ModuleHandle.ts +8 -0
  414. package/clients/tenantService/models/NotificationDto.ts +16 -0
  415. package/clients/tenantService/models/NotificationDtoListEnvelope.ts +14 -0
  416. package/clients/tenantService/models/ParameterInfo.ts +40 -0
  417. package/clients/tenantService/models/PropertyInfo.ts +49 -0
  418. package/clients/tenantService/models/RefreshRequest.ts +8 -0
  419. package/clients/tenantService/models/RegisterRequest.ts +9 -0
  420. package/clients/tenantService/models/ResendConfirmationEmailRequest.ts +8 -0
  421. package/clients/tenantService/models/ResetPasswordRequest.ts +10 -0
  422. package/clients/tenantService/models/ResponseStatus.ts +12 -0
  423. package/clients/tenantService/models/RuntimeFieldHandle.ts +9 -0
  424. package/clients/tenantService/models/RuntimeMethodHandle.ts +9 -0
  425. package/clients/tenantService/models/RuntimeTypeHandle.ts +9 -0
  426. package/clients/tenantService/models/StringListEnvelope.ts +13 -0
  427. package/clients/tenantService/models/StructLayoutAttribute.ts +16 -0
  428. package/clients/tenantService/models/TwoFactorRequest.ts +12 -0
  429. package/clients/tenantService/models/TwoFactorResponse.ts +12 -0
  430. package/clients/tenantService/models/Type.ts +141 -0
  431. package/clients/tenantService/models/TypeInfo.ts +156 -0
  432. package/clients/tenantService/models/WalletDto.ts +21 -0
  433. package/clients/tenantService/models/WalletDtoTask.ts +40 -0
  434. package/clients/tenantService/models/WalletDtoTaskEnvelope.ts +14 -0
  435. package/clients/tenantService/services/FenixAllianceAbsWebService.ts +293 -0
  436. package/clients/tenantService/services/TenantsService.ts +354 -0
  437. package/package.json +38 -0
  438. package/schemas/cartService/schema.s.ts +1560 -0
  439. package/schemas/catalogService/schema.s.ts +6109 -0
  440. package/schemas/contactService/schema.s.ts +674 -0
  441. package/schemas/forexService/schema.s.ts +526 -0
  442. package/schemas/holderService/schema.s.ts +831 -0
  443. package/schemas/identityService/schema.s.ts +1119 -0
  444. package/schemas/inventoryService/schema.s.ts +425 -0
  445. package/schemas/invoicingService/schema.s.ts +521 -0
  446. package/schemas/pricingService/schema.s.ts +549 -0
  447. package/schemas/tenantService/schema.s.ts +1606 -0
@@ -0,0 +1,10 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ResetPasswordRequest = {
6
+ email?: string | null;
7
+ resetCode?: string | null;
8
+ newPassword?: string | null;
9
+ };
10
+
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type TwoFactorRequest = {
6
+ enable?: boolean | null;
7
+ twoFactorCode?: string | null;
8
+ resetSharedKey?: boolean;
9
+ resetRecoveryCodes?: boolean;
10
+ forgetMachine?: boolean;
11
+ };
12
+
@@ -0,0 +1,12 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type TwoFactorResponse = {
6
+ sharedKey?: string | null;
7
+ recoveryCodesLeft?: number;
8
+ recoveryCodes?: Array<string> | null;
9
+ isTwoFactorEnabled?: boolean;
10
+ isMachineRemembered?: boolean;
11
+ };
12
+
@@ -0,0 +1,57 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { MoneyEnvelope } from '../models/MoneyEnvelope';
6
+ import type { CancelablePromise } from '../core/CancelablePromise';
7
+ import { OpenAPI } from '../core/OpenAPI';
8
+ import { request as __request } from '../core/request';
9
+ export class ExchangeService {
10
+ /**
11
+ * @param amount
12
+ * @param sourceCurrencyId
13
+ * @param targetCurrencyId
14
+ * @returns MoneyEnvelope Success
15
+ * @throws ApiError
16
+ */
17
+ public static getApiV2ForexServiceExchangeLatest(
18
+ amount: number,
19
+ sourceCurrencyId: string,
20
+ targetCurrencyId: string,
21
+ ): CancelablePromise<MoneyEnvelope> {
22
+ return __request(OpenAPI, {
23
+ method: 'GET',
24
+ url: '/api/v2/ForexService/Exchange/Latest',
25
+ query: {
26
+ 'amount': amount,
27
+ 'sourceCurrencyId': sourceCurrencyId,
28
+ 'targetCurrencyId': targetCurrencyId,
29
+ },
30
+ });
31
+ }
32
+ /**
33
+ * @param amount
34
+ * @param sourceCurrencyId
35
+ * @param targetCurrencyId
36
+ * @param date
37
+ * @returns MoneyEnvelope Success
38
+ * @throws ApiError
39
+ */
40
+ public static getApiV2ForexServiceExchangeHistory(
41
+ amount: number,
42
+ sourceCurrencyId: string,
43
+ targetCurrencyId: string,
44
+ date: string,
45
+ ): CancelablePromise<MoneyEnvelope> {
46
+ return __request(OpenAPI, {
47
+ method: 'GET',
48
+ url: '/api/v2/ForexService/Exchange/History',
49
+ query: {
50
+ 'amount': amount,
51
+ 'sourceCurrencyId': sourceCurrencyId,
52
+ 'targetCurrencyId': targetCurrencyId,
53
+ 'date': date,
54
+ },
55
+ });
56
+ }
57
+ }
@@ -0,0 +1,293 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { AccessTokenResponse } from '../models/AccessTokenResponse';
6
+ import type { ForgotPasswordRequest } from '../models/ForgotPasswordRequest';
7
+ import type { InfoRequest } from '../models/InfoRequest';
8
+ import type { InfoResponse } from '../models/InfoResponse';
9
+ import type { LoginRequest } from '../models/LoginRequest';
10
+ import type { RefreshRequest } from '../models/RefreshRequest';
11
+ import type { RegisterRequest } from '../models/RegisterRequest';
12
+ import type { ResendConfirmationEmailRequest } from '../models/ResendConfirmationEmailRequest';
13
+ import type { ResetPasswordRequest } from '../models/ResetPasswordRequest';
14
+ import type { TwoFactorRequest } from '../models/TwoFactorRequest';
15
+ import type { TwoFactorResponse } from '../models/TwoFactorResponse';
16
+ import type { CancelablePromise } from '../core/CancelablePromise';
17
+ import { OpenAPI } from '../core/OpenAPI';
18
+ import { request as __request } from '../core/request';
19
+ export class FenixAllianceAbsWebService {
20
+ /**
21
+ * @returns any Success
22
+ * @throws ApiError
23
+ */
24
+ public static getVersion(): CancelablePromise<any> {
25
+ return __request(OpenAPI, {
26
+ method: 'GET',
27
+ url: '/version',
28
+ });
29
+ }
30
+ /**
31
+ * @returns any Success
32
+ * @throws ApiError
33
+ */
34
+ public static getHealth(): CancelablePromise<any> {
35
+ return __request(OpenAPI, {
36
+ method: 'GET',
37
+ url: '/health',
38
+ });
39
+ }
40
+ /**
41
+ * @returns any Success
42
+ * @throws ApiError
43
+ */
44
+ public static getHello(): CancelablePromise<any> {
45
+ return __request(OpenAPI, {
46
+ method: 'GET',
47
+ url: '/hello',
48
+ });
49
+ }
50
+ /**
51
+ * @param requestBody
52
+ * @returns any Success
53
+ * @throws ApiError
54
+ */
55
+ public static postRegister(
56
+ requestBody?: RegisterRequest,
57
+ ): CancelablePromise<any> {
58
+ return __request(OpenAPI, {
59
+ method: 'POST',
60
+ url: '/register',
61
+ body: requestBody,
62
+ mediaType: 'application/json',
63
+ errors: {
64
+ 400: `Bad Request`,
65
+ },
66
+ });
67
+ }
68
+ /**
69
+ * @param useCookies
70
+ * @param useSessionCookies
71
+ * @param requestBody
72
+ * @returns AccessTokenResponse Success
73
+ * @throws ApiError
74
+ */
75
+ public static postLogin(
76
+ useCookies?: boolean,
77
+ useSessionCookies?: boolean,
78
+ requestBody?: LoginRequest,
79
+ ): CancelablePromise<AccessTokenResponse> {
80
+ return __request(OpenAPI, {
81
+ method: 'POST',
82
+ url: '/login',
83
+ query: {
84
+ 'useCookies': useCookies,
85
+ 'useSessionCookies': useSessionCookies,
86
+ },
87
+ body: requestBody,
88
+ mediaType: 'application/json',
89
+ });
90
+ }
91
+ /**
92
+ * @param requestBody
93
+ * @returns AccessTokenResponse Success
94
+ * @throws ApiError
95
+ */
96
+ public static postRefresh(
97
+ requestBody?: RefreshRequest,
98
+ ): CancelablePromise<AccessTokenResponse> {
99
+ return __request(OpenAPI, {
100
+ method: 'POST',
101
+ url: '/refresh',
102
+ body: requestBody,
103
+ mediaType: 'application/json',
104
+ });
105
+ }
106
+ /**
107
+ * @param userId
108
+ * @param code
109
+ * @param changedEmail
110
+ * @returns any Success
111
+ * @throws ApiError
112
+ */
113
+ public static mapIdentityApiConfirmEmail(
114
+ userId?: string,
115
+ code?: string,
116
+ changedEmail?: string,
117
+ ): CancelablePromise<any> {
118
+ return __request(OpenAPI, {
119
+ method: 'GET',
120
+ url: '/confirmEmail',
121
+ query: {
122
+ 'userId': userId,
123
+ 'code': code,
124
+ 'changedEmail': changedEmail,
125
+ },
126
+ });
127
+ }
128
+ /**
129
+ * @param requestBody
130
+ * @returns any Success
131
+ * @throws ApiError
132
+ */
133
+ public static postResendConfirmationEmail(
134
+ requestBody?: ResendConfirmationEmailRequest,
135
+ ): CancelablePromise<any> {
136
+ return __request(OpenAPI, {
137
+ method: 'POST',
138
+ url: '/resendConfirmationEmail',
139
+ body: requestBody,
140
+ mediaType: 'application/json',
141
+ });
142
+ }
143
+ /**
144
+ * @param requestBody
145
+ * @returns any Success
146
+ * @throws ApiError
147
+ */
148
+ public static postForgotPassword(
149
+ requestBody?: ForgotPasswordRequest,
150
+ ): CancelablePromise<any> {
151
+ return __request(OpenAPI, {
152
+ method: 'POST',
153
+ url: '/forgotPassword',
154
+ body: requestBody,
155
+ mediaType: 'application/json',
156
+ errors: {
157
+ 400: `Bad Request`,
158
+ },
159
+ });
160
+ }
161
+ /**
162
+ * @param requestBody
163
+ * @returns any Success
164
+ * @throws ApiError
165
+ */
166
+ public static postResetPassword(
167
+ requestBody?: ResetPasswordRequest,
168
+ ): CancelablePromise<any> {
169
+ return __request(OpenAPI, {
170
+ method: 'POST',
171
+ url: '/resetPassword',
172
+ body: requestBody,
173
+ mediaType: 'application/json',
174
+ errors: {
175
+ 400: `Bad Request`,
176
+ },
177
+ });
178
+ }
179
+ /**
180
+ * @param requestBody
181
+ * @returns TwoFactorResponse Success
182
+ * @throws ApiError
183
+ */
184
+ public static postManage2Fa(
185
+ requestBody?: TwoFactorRequest,
186
+ ): CancelablePromise<TwoFactorResponse> {
187
+ return __request(OpenAPI, {
188
+ method: 'POST',
189
+ url: '/manage/2fa',
190
+ body: requestBody,
191
+ mediaType: 'application/json',
192
+ errors: {
193
+ 400: `Bad Request`,
194
+ 404: `Not Found`,
195
+ },
196
+ });
197
+ }
198
+ /**
199
+ * @returns InfoResponse Success
200
+ * @throws ApiError
201
+ */
202
+ public static getManageInfo(): CancelablePromise<InfoResponse> {
203
+ return __request(OpenAPI, {
204
+ method: 'GET',
205
+ url: '/manage/info',
206
+ errors: {
207
+ 400: `Bad Request`,
208
+ 404: `Not Found`,
209
+ },
210
+ });
211
+ }
212
+ /**
213
+ * @param requestBody
214
+ * @returns InfoResponse Success
215
+ * @throws ApiError
216
+ */
217
+ public static postManageInfo(
218
+ requestBody?: InfoRequest,
219
+ ): CancelablePromise<InfoResponse> {
220
+ return __request(OpenAPI, {
221
+ method: 'POST',
222
+ url: '/manage/info',
223
+ body: requestBody,
224
+ mediaType: 'application/json',
225
+ errors: {
226
+ 400: `Bad Request`,
227
+ 404: `Not Found`,
228
+ },
229
+ });
230
+ }
231
+ /**
232
+ * @param formData
233
+ * @returns any Success
234
+ * @throws ApiError
235
+ */
236
+ public static postAccountPerformExternalLogin(
237
+ formData?: {
238
+ provider: string;
239
+ returnUrl: string;
240
+ },
241
+ ): CancelablePromise<any> {
242
+ return __request(OpenAPI, {
243
+ method: 'POST',
244
+ url: '/Account/PerformExternalLogin',
245
+ formData: formData,
246
+ mediaType: 'multipart/form-data',
247
+ });
248
+ }
249
+ /**
250
+ * @param formData
251
+ * @returns any Success
252
+ * @throws ApiError
253
+ */
254
+ public static postAccountLogout(
255
+ formData?: {
256
+ returnUrl: string;
257
+ },
258
+ ): CancelablePromise<any> {
259
+ return __request(OpenAPI, {
260
+ method: 'POST',
261
+ url: '/Account/Logout',
262
+ formData: formData,
263
+ mediaType: 'multipart/form-data',
264
+ });
265
+ }
266
+ /**
267
+ * @param formData
268
+ * @returns any Success
269
+ * @throws ApiError
270
+ */
271
+ public static postAccountManageLinkExternalLogin(
272
+ formData?: {
273
+ provider: string;
274
+ },
275
+ ): CancelablePromise<any> {
276
+ return __request(OpenAPI, {
277
+ method: 'POST',
278
+ url: '/Account/Manage/LinkExternalLogin',
279
+ formData: formData,
280
+ mediaType: 'multipart/form-data',
281
+ });
282
+ }
283
+ /**
284
+ * @returns any Success
285
+ * @throws ApiError
286
+ */
287
+ public static postAccountManageDownloadPersonalData(): CancelablePromise<any> {
288
+ return __request(OpenAPI, {
289
+ method: 'POST',
290
+ url: '/Account/Manage/DownloadPersonalData',
291
+ });
292
+ }
293
+ }
@@ -0,0 +1,36 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ForexRatesDtoEnvelope } from '../models/ForexRatesDtoEnvelope';
6
+ import type { CancelablePromise } from '../core/CancelablePromise';
7
+ import { OpenAPI } from '../core/OpenAPI';
8
+ import { request as __request } from '../core/request';
9
+ export class RatesService {
10
+ /**
11
+ * @returns ForexRatesDtoEnvelope Success
12
+ * @throws ApiError
13
+ */
14
+ public static getApiV2ForexServiceRatesLatest(): CancelablePromise<ForexRatesDtoEnvelope> {
15
+ return __request(OpenAPI, {
16
+ method: 'GET',
17
+ url: '/api/v2/ForexService/Rates/Latest',
18
+ });
19
+ }
20
+ /**
21
+ * @param date
22
+ * @returns ForexRatesDtoEnvelope Success
23
+ * @throws ApiError
24
+ */
25
+ public static getApiV2ForexServiceRatesHistory(
26
+ date?: string,
27
+ ): CancelablePromise<ForexRatesDtoEnvelope> {
28
+ return __request(OpenAPI, {
29
+ method: 'GET',
30
+ url: '/api/v2/ForexService/Rates/History',
31
+ query: {
32
+ 'date': date,
33
+ },
34
+ });
35
+ }
36
+ }
@@ -0,0 +1,25 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ApiRequestOptions } from './ApiRequestOptions';
6
+ import type { ApiResult } from './ApiResult';
7
+
8
+ export class ApiError extends Error {
9
+ public readonly url: string;
10
+ public readonly status: number;
11
+ public readonly statusText: string;
12
+ public readonly body: any;
13
+ public readonly request: ApiRequestOptions;
14
+
15
+ constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
16
+ super(message);
17
+
18
+ this.name = 'ApiError';
19
+ this.url = response.url;
20
+ this.status = response.status;
21
+ this.statusText = response.statusText;
22
+ this.body = response.body;
23
+ this.request = request;
24
+ }
25
+ }
@@ -0,0 +1,17 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ApiRequestOptions = {
6
+ readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
7
+ readonly url: string;
8
+ readonly path?: Record<string, any>;
9
+ readonly cookies?: Record<string, any>;
10
+ readonly headers?: Record<string, any>;
11
+ readonly query?: Record<string, any>;
12
+ readonly formData?: Record<string, any>;
13
+ readonly body?: any;
14
+ readonly mediaType?: string;
15
+ readonly responseHeader?: string;
16
+ readonly errors?: Record<number, string>;
17
+ };
@@ -0,0 +1,11 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export type ApiResult = {
6
+ readonly url: string;
7
+ readonly ok: boolean;
8
+ readonly status: number;
9
+ readonly statusText: string;
10
+ readonly body: any;
11
+ };
@@ -0,0 +1,131 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ export class CancelError extends Error {
6
+
7
+ constructor(message: string) {
8
+ super(message);
9
+ this.name = 'CancelError';
10
+ }
11
+
12
+ public get isCancelled(): boolean {
13
+ return true;
14
+ }
15
+ }
16
+
17
+ export interface OnCancel {
18
+ readonly isResolved: boolean;
19
+ readonly isRejected: boolean;
20
+ readonly isCancelled: boolean;
21
+
22
+ (cancelHandler: () => void): void;
23
+ }
24
+
25
+ export class CancelablePromise<T> implements Promise<T> {
26
+ #isResolved: boolean;
27
+ #isRejected: boolean;
28
+ #isCancelled: boolean;
29
+ readonly #cancelHandlers: (() => void)[];
30
+ readonly #promise: Promise<T>;
31
+ #resolve?: (value: T | PromiseLike<T>) => void;
32
+ #reject?: (reason?: any) => void;
33
+
34
+ constructor(
35
+ executor: (
36
+ resolve: (value: T | PromiseLike<T>) => void,
37
+ reject: (reason?: any) => void,
38
+ onCancel: OnCancel
39
+ ) => void
40
+ ) {
41
+ this.#isResolved = false;
42
+ this.#isRejected = false;
43
+ this.#isCancelled = false;
44
+ this.#cancelHandlers = [];
45
+ this.#promise = new Promise<T>((resolve, reject) => {
46
+ this.#resolve = resolve;
47
+ this.#reject = reject;
48
+
49
+ const onResolve = (value: T | PromiseLike<T>): void => {
50
+ if (this.#isResolved || this.#isRejected || this.#isCancelled) {
51
+ return;
52
+ }
53
+ this.#isResolved = true;
54
+ if (this.#resolve) this.#resolve(value);
55
+ };
56
+
57
+ const onReject = (reason?: any): void => {
58
+ if (this.#isResolved || this.#isRejected || this.#isCancelled) {
59
+ return;
60
+ }
61
+ this.#isRejected = true;
62
+ if (this.#reject) this.#reject(reason);
63
+ };
64
+
65
+ const onCancel = (cancelHandler: () => void): void => {
66
+ if (this.#isResolved || this.#isRejected || this.#isCancelled) {
67
+ return;
68
+ }
69
+ this.#cancelHandlers.push(cancelHandler);
70
+ };
71
+
72
+ Object.defineProperty(onCancel, 'isResolved', {
73
+ get: (): boolean => this.#isResolved,
74
+ });
75
+
76
+ Object.defineProperty(onCancel, 'isRejected', {
77
+ get: (): boolean => this.#isRejected,
78
+ });
79
+
80
+ Object.defineProperty(onCancel, 'isCancelled', {
81
+ get: (): boolean => this.#isCancelled,
82
+ });
83
+
84
+ return executor(onResolve, onReject, onCancel as OnCancel);
85
+ });
86
+ }
87
+
88
+ get [Symbol.toStringTag]() {
89
+ return "Cancellable Promise";
90
+ }
91
+
92
+ public then<TResult1 = T, TResult2 = never>(
93
+ onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
94
+ onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null
95
+ ): Promise<TResult1 | TResult2> {
96
+ return this.#promise.then(onFulfilled, onRejected);
97
+ }
98
+
99
+ public catch<TResult = never>(
100
+ onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null
101
+ ): Promise<T | TResult> {
102
+ return this.#promise.catch(onRejected);
103
+ }
104
+
105
+ public finally(onFinally?: (() => void) | null): Promise<T> {
106
+ return this.#promise.finally(onFinally);
107
+ }
108
+
109
+ public cancel(): void {
110
+ if (this.#isResolved || this.#isRejected || this.#isCancelled) {
111
+ return;
112
+ }
113
+ this.#isCancelled = true;
114
+ if (this.#cancelHandlers.length) {
115
+ try {
116
+ for (const cancelHandler of this.#cancelHandlers) {
117
+ cancelHandler();
118
+ }
119
+ } catch (error) {
120
+ console.warn('Cancellation threw an error', error);
121
+ return;
122
+ }
123
+ }
124
+ this.#cancelHandlers.length = 0;
125
+ if (this.#reject) this.#reject(new CancelError('Request aborted'));
126
+ }
127
+
128
+ public get isCancelled(): boolean {
129
+ return this.#isCancelled;
130
+ }
131
+ }
@@ -0,0 +1,32 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { ApiRequestOptions } from './ApiRequestOptions';
6
+
7
+ type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
8
+ type Headers = Record<string, string>;
9
+
10
+ export type OpenAPIConfig = {
11
+ BASE: string;
12
+ VERSION: string;
13
+ WITH_CREDENTIALS: boolean;
14
+ CREDENTIALS: 'include' | 'omit' | 'same-origin';
15
+ TOKEN?: string | Resolver<string> | undefined;
16
+ USERNAME?: string | Resolver<string> | undefined;
17
+ PASSWORD?: string | Resolver<string> | undefined;
18
+ HEADERS?: Headers | Resolver<Headers> | undefined;
19
+ ENCODE_PATH?: ((path: string) => string) | undefined;
20
+ };
21
+
22
+ export const OpenAPI: OpenAPIConfig = {
23
+ BASE: '',
24
+ VERSION: '2.0.0.0',
25
+ WITH_CREDENTIALS: false,
26
+ CREDENTIALS: 'include',
27
+ TOKEN: undefined,
28
+ USERNAME: undefined,
29
+ PASSWORD: undefined,
30
+ HEADERS: undefined,
31
+ ENCODE_PATH: undefined,
32
+ };