@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,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,354 @@
1
+ /* generated using openapi-typescript-codegen -- do no edit */
2
+ /* istanbul ignore file */
3
+ /* tslint:disable */
4
+ /* eslint-disable */
5
+ import type { BusinessCreateDto } from '../models/BusinessCreateDto';
6
+ import type { BusinessDto } from '../models/BusinessDto';
7
+ import type { BusinessEnrollmentDto } from '../models/BusinessEnrollmentDto';
8
+ import type { BusinessEnrollmentDtoEnvelope } from '../models/BusinessEnrollmentDtoEnvelope';
9
+ import type { BusinessEnrollmentDtoIReadOnlyListEnvelope } from '../models/BusinessEnrollmentDtoIReadOnlyListEnvelope';
10
+ import type { NotificationDtoListEnvelope } from '../models/NotificationDtoListEnvelope';
11
+ import type { StringListEnvelope } from '../models/StringListEnvelope';
12
+ import type { WalletDtoTaskEnvelope } from '../models/WalletDtoTaskEnvelope';
13
+ import type { CancelablePromise } from '../core/CancelablePromise';
14
+ import { OpenAPI } from '../core/OpenAPI';
15
+ import { request as __request } from '../core/request';
16
+ export class TenantsService {
17
+ /**
18
+ * @returns BusinessDto Success
19
+ * @throws ApiError
20
+ */
21
+ public static getApiV2TenantsCurrent(): CancelablePromise<BusinessDto> {
22
+ return __request(OpenAPI, {
23
+ method: 'GET',
24
+ url: '/api/v2/Tenants/Current',
25
+ errors: {
26
+ 401: `Unauthorized`,
27
+ },
28
+ });
29
+ }
30
+ /**
31
+ * @param businessId
32
+ * @returns BusinessDto Success
33
+ * @throws ApiError
34
+ */
35
+ public static getApiV2Tenants(
36
+ businessId: string,
37
+ ): CancelablePromise<BusinessDto> {
38
+ return __request(OpenAPI, {
39
+ method: 'GET',
40
+ url: '/api/v2/Tenants/{businessId}',
41
+ path: {
42
+ 'businessId': businessId,
43
+ },
44
+ errors: {
45
+ 401: `Unauthorized`,
46
+ },
47
+ });
48
+ }
49
+ /**
50
+ * @param businessId
51
+ * @returns WalletDtoTaskEnvelope Success
52
+ * @throws ApiError
53
+ */
54
+ public static getApiV2TenantsWallet(
55
+ businessId: string,
56
+ ): CancelablePromise<WalletDtoTaskEnvelope> {
57
+ return __request(OpenAPI, {
58
+ method: 'GET',
59
+ url: '/api/v2/Tenants/{businessId}/Wallet',
60
+ path: {
61
+ 'businessId': businessId,
62
+ },
63
+ });
64
+ }
65
+ /**
66
+ * @param businessId
67
+ * @returns any Success
68
+ * @throws ApiError
69
+ */
70
+ public static getApiV2TenantsSocialProfile(
71
+ businessId: string,
72
+ ): CancelablePromise<any> {
73
+ return __request(OpenAPI, {
74
+ method: 'GET',
75
+ url: '/api/v2/Tenants/{businessId}/SocialProfile',
76
+ path: {
77
+ 'businessId': businessId,
78
+ },
79
+ });
80
+ }
81
+ /**
82
+ * @param businessId
83
+ * @returns any Success
84
+ * @throws ApiError
85
+ */
86
+ public static getApiV2TenantsCart(
87
+ businessId: string,
88
+ ): CancelablePromise<any> {
89
+ return __request(OpenAPI, {
90
+ method: 'GET',
91
+ url: '/api/v2/Tenants/{businessId}/Cart',
92
+ path: {
93
+ 'businessId': businessId,
94
+ },
95
+ });
96
+ }
97
+ /**
98
+ * @param businessId
99
+ * @returns BusinessEnrollmentDtoIReadOnlyListEnvelope Success
100
+ * @throws ApiError
101
+ */
102
+ public static getApiV2TenantsEnrollments(
103
+ businessId: string,
104
+ ): CancelablePromise<BusinessEnrollmentDtoIReadOnlyListEnvelope> {
105
+ return __request(OpenAPI, {
106
+ method: 'GET',
107
+ url: '/api/v2/Tenants/{businessId}/Enrollments',
108
+ path: {
109
+ 'businessId': businessId,
110
+ },
111
+ });
112
+ }
113
+ /**
114
+ * @param businessId
115
+ * @param enrollmentId
116
+ * @returns BusinessEnrollmentDtoEnvelope Success
117
+ * @throws ApiError
118
+ */
119
+ public static getApiV2TenantsEnrollments1(
120
+ businessId: string,
121
+ enrollmentId: string,
122
+ ): CancelablePromise<BusinessEnrollmentDtoEnvelope> {
123
+ return __request(OpenAPI, {
124
+ method: 'GET',
125
+ url: '/api/v2/Tenants/{businessId}/Enrollments/{enrollmentId}',
126
+ path: {
127
+ 'businessId': businessId,
128
+ 'enrollmentId': enrollmentId,
129
+ },
130
+ });
131
+ }
132
+ /**
133
+ * @param businessId
134
+ * @param enrollmentId
135
+ * @returns any Success
136
+ * @throws ApiError
137
+ */
138
+ public static getApiV2TenantsEnrollmentsLicenses(
139
+ businessId: string,
140
+ enrollmentId: string,
141
+ ): CancelablePromise<any> {
142
+ return __request(OpenAPI, {
143
+ method: 'GET',
144
+ url: '/api/v2/Tenants/{businessId}/Enrollments/{EnrollmentID}/Licenses',
145
+ path: {
146
+ 'businessId': businessId,
147
+ 'enrollmentID': enrollmentId,
148
+ },
149
+ });
150
+ }
151
+ /**
152
+ * @param businessId
153
+ * @param enrollmentId
154
+ * @returns StringListEnvelope Success
155
+ * @throws ApiError
156
+ */
157
+ public static getApiV2TenantsEnrollmentsPermissions(
158
+ businessId: string,
159
+ enrollmentId: string,
160
+ ): CancelablePromise<StringListEnvelope> {
161
+ return __request(OpenAPI, {
162
+ method: 'GET',
163
+ url: '/api/v2/Tenants/{businessId}/Enrollments/{EnrollmentID}/Permissions',
164
+ path: {
165
+ 'businessId': businessId,
166
+ 'enrollmentID': enrollmentId,
167
+ },
168
+ });
169
+ }
170
+ /**
171
+ * @param businessId
172
+ * @returns any Success
173
+ * @throws ApiError
174
+ */
175
+ public static getApiV2TenantsLicenses(
176
+ businessId: string,
177
+ ): CancelablePromise<any> {
178
+ return __request(OpenAPI, {
179
+ method: 'GET',
180
+ url: '/api/v2/Tenants/{businessId}/Licenses',
181
+ path: {
182
+ 'businessId': businessId,
183
+ },
184
+ });
185
+ }
186
+ /**
187
+ * @param requestBody
188
+ * @returns any Success
189
+ * @throws ApiError
190
+ */
191
+ public static postApiV2Tenants(
192
+ requestBody?: BusinessCreateDto,
193
+ ): CancelablePromise<any> {
194
+ return __request(OpenAPI, {
195
+ method: 'POST',
196
+ url: '/api/v2/Tenants',
197
+ body: requestBody,
198
+ mediaType: 'application/json',
199
+ });
200
+ }
201
+ /**
202
+ * @param businessId
203
+ * @returns any Success
204
+ * @throws ApiError
205
+ */
206
+ public static deleteApiV2Tenants(
207
+ businessId: string,
208
+ ): CancelablePromise<any> {
209
+ return __request(OpenAPI, {
210
+ method: 'DELETE',
211
+ url: '/api/v2/Tenants',
212
+ query: {
213
+ 'businessId': businessId,
214
+ },
215
+ });
216
+ }
217
+ /**
218
+ * @param businessId
219
+ * @param backTo
220
+ * @param enableRedirect
221
+ * @returns any Success
222
+ * @throws ApiError
223
+ */
224
+ public static getApiV2TenantsSelect(
225
+ businessId: string,
226
+ backTo?: string,
227
+ enableRedirect: boolean = true,
228
+ ): CancelablePromise<any> {
229
+ return __request(OpenAPI, {
230
+ method: 'GET',
231
+ url: '/api/v2/Tenants/{businessId}/Select',
232
+ path: {
233
+ 'businessId': businessId,
234
+ },
235
+ query: {
236
+ 'backTo': backTo,
237
+ 'enableRedirect': enableRedirect,
238
+ },
239
+ });
240
+ }
241
+ /**
242
+ * @param businessId
243
+ * @param backTo
244
+ * @param enableRedirect
245
+ * @returns any Success
246
+ * @throws ApiError
247
+ */
248
+ public static postApiV2TenantsSelect(
249
+ businessId: string,
250
+ backTo?: string,
251
+ enableRedirect: boolean = true,
252
+ ): CancelablePromise<any> {
253
+ return __request(OpenAPI, {
254
+ method: 'POST',
255
+ url: '/api/v2/Tenants/{businessId}/Select',
256
+ path: {
257
+ 'businessId': businessId,
258
+ },
259
+ query: {
260
+ 'backTo': backTo,
261
+ 'enableRedirect': enableRedirect,
262
+ },
263
+ });
264
+ }
265
+ /**
266
+ * @param backTo
267
+ * @param enableRedirect
268
+ * @returns any Success
269
+ * @throws ApiError
270
+ */
271
+ public static getApiV2TenantsDeselect(
272
+ backTo?: string,
273
+ enableRedirect: boolean = true,
274
+ ): CancelablePromise<any> {
275
+ return __request(OpenAPI, {
276
+ method: 'GET',
277
+ url: '/api/v2/Tenants/Deselect',
278
+ query: {
279
+ 'backTo': backTo,
280
+ 'enableRedirect': enableRedirect,
281
+ },
282
+ });
283
+ }
284
+ /**
285
+ * @param backTo
286
+ * @param enableRedirect
287
+ * @returns any Success
288
+ * @throws ApiError
289
+ */
290
+ public static postApiV2TenantsDeselect(
291
+ backTo?: string,
292
+ enableRedirect: boolean = true,
293
+ ): CancelablePromise<any> {
294
+ return __request(OpenAPI, {
295
+ method: 'POST',
296
+ url: '/api/v2/Tenants/Deselect',
297
+ query: {
298
+ 'backTo': backTo,
299
+ 'enableRedirect': enableRedirect,
300
+ },
301
+ });
302
+ }
303
+ /**
304
+ * @param businessId
305
+ * @returns any Success
306
+ * @throws ApiError
307
+ */
308
+ public static getApiV2TenantsAppAuthorization(
309
+ businessId: string,
310
+ ): CancelablePromise<any> {
311
+ return __request(OpenAPI, {
312
+ method: 'GET',
313
+ url: '/api/v2/Tenants/{businessId}/AppAuthorization',
314
+ path: {
315
+ 'businessId': businessId,
316
+ },
317
+ });
318
+ }
319
+ /**
320
+ * @param businessId
321
+ * @returns NotificationDtoListEnvelope Success
322
+ * @throws ApiError
323
+ */
324
+ public static getApiV2TenantsNotifications(
325
+ businessId: string,
326
+ ): CancelablePromise<NotificationDtoListEnvelope> {
327
+ return __request(OpenAPI, {
328
+ method: 'GET',
329
+ url: '/api/v2/Tenants/{businessId}/Notifications',
330
+ path: {
331
+ 'businessId': businessId,
332
+ },
333
+ });
334
+ }
335
+ /**
336
+ * @param businessId
337
+ * @returns BusinessEnrollmentDto Success
338
+ * @throws ApiError
339
+ */
340
+ public static getApiV2TenantsUserEnrollments(
341
+ businessId: string,
342
+ ): CancelablePromise<Array<BusinessEnrollmentDto>> {
343
+ return __request(OpenAPI, {
344
+ method: 'GET',
345
+ url: '/api/v2/Tenants/{businessId}/UserEnrollments',
346
+ path: {
347
+ 'businessId': businessId,
348
+ },
349
+ errors: {
350
+ 401: `Unauthorized`,
351
+ },
352
+ });
353
+ }
354
+ }
package/package.json ADDED
@@ -0,0 +1,38 @@
1
+ {
2
+ "name": "@fenixalliance/abs-api-client",
3
+ "version": "1.0.0",
4
+ "description": "Clients and types for the ABS Platform API, provided by Fenix Alliance.",
5
+ "keywords": [
6
+ "ABS",
7
+ "API",
8
+ "Fenix Alliance",
9
+ "client",
10
+ "types",
11
+ "openapi"
12
+ ],
13
+ "publishConfig": {
14
+ "registry": "https://registry.npmjs.org/"
15
+ },
16
+ "author": "Fenix Alliance <contact@fenix-alliance.com>",
17
+ "homepage": "https://fenix-alliance.com/abs-api-client",
18
+ "license": "MIT",
19
+ "directories": {
20
+ "lib": "lib"
21
+ },
22
+ "main": "lib/index.js",
23
+ "repository": {
24
+ "type": "git",
25
+ "url": "https://github.com/fenixalliance/abs.docs"
26
+ },
27
+ "bugs": {
28
+ "url": "https://github.com/fenixalliance/abs.docs"
29
+ },
30
+ "devDependencies": {
31
+ "openapi-typescript": "^6.7.4",
32
+ "openapi-typescript-codegen": "^0.27.0",
33
+ "eslint": "^7.32.0",
34
+ "typescript": "^4.5.2"
35
+ },
36
+ "peerDependencies": {},
37
+ "dependencies": {}
38
+ }