@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.
- package/Icon.png +0 -0
- package/LICENSE +21 -0
- package/LICENSE.md +36 -0
- package/README.md +300 -0
- package/THIRD_PARTY_NOTICES.md +129 -0
- package/clients/cartService/core/ApiError.ts +25 -0
- package/clients/cartService/core/ApiRequestOptions.ts +17 -0
- package/clients/cartService/core/ApiResult.ts +11 -0
- package/clients/cartService/core/CancelablePromise.ts +131 -0
- package/clients/cartService/core/OpenAPI.ts +32 -0
- package/clients/cartService/core/request.ts +322 -0
- package/clients/cartService/index.ts +52 -0
- package/clients/cartService/models/AccessTokenResponse.ts +11 -0
- package/clients/cartService/models/AddProductToCompareRequest.ts +10 -0
- package/clients/cartService/models/BooleanEnvelope.ts +13 -0
- package/clients/cartService/models/CartDto.ts +17 -0
- package/clients/cartService/models/CartDtoEnvelope.ts +14 -0
- package/clients/cartService/models/CurrencySwitchRequest.ts +9 -0
- package/clients/cartService/models/Envelope.ts +13 -0
- package/clients/cartService/models/Error.ts +10 -0
- package/clients/cartService/models/ErrorEnvelope.ts +12 -0
- package/clients/cartService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/cartService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/cartService/models/InfoRequest.ts +10 -0
- package/clients/cartService/models/InfoResponse.ts +9 -0
- package/clients/cartService/models/ItemCartRecordCreateDto.ts +11 -0
- package/clients/cartService/models/ItemCartRecordDto.ts +98 -0
- package/clients/cartService/models/ItemCartRecordDtoEnvelope.ts +14 -0
- package/clients/cartService/models/ItemCartRecordUpdateDto.ts +10 -0
- package/clients/cartService/models/ItemToCompareCartRecordDto.ts +11 -0
- package/clients/cartService/models/ItemToCompareCartRecordDtoEnvelope.ts +14 -0
- package/clients/cartService/models/ItemToCompareCartRecordDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/cartService/models/LoginRequest.ts +11 -0
- package/clients/cartService/models/NewWishListRequest.ts +11 -0
- package/clients/cartService/models/ProductCartRecordDto.ts +98 -0
- package/clients/cartService/models/ProductToWishListRequest.ts +9 -0
- package/clients/cartService/models/RefreshRequest.ts +8 -0
- package/clients/cartService/models/RegisterRequest.ts +9 -0
- package/clients/cartService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/cartService/models/ResetPasswordRequest.ts +10 -0
- package/clients/cartService/models/ResponseStatus.ts +12 -0
- package/clients/cartService/models/TwoFactorRequest.ts +12 -0
- package/clients/cartService/models/TwoFactorResponse.ts +12 -0
- package/clients/cartService/models/WishListDto.ts +12 -0
- package/clients/cartService/models/WishListDtoEnvelope.ts +14 -0
- package/clients/cartService/models/WishListDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/cartService/models/WishListItemRecordDto.ts +11 -0
- package/clients/cartService/models/WishListItemRecordDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/cartService/models/WishListUpdateDto.ts +10 -0
- package/clients/cartService/services/CartsService.ts +103 -0
- package/clients/cartService/services/CompareService.ts +89 -0
- package/clients/cartService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/cartService/services/RecordsService.ts +206 -0
- package/clients/cartService/services/WishListsService.ts +145 -0
- package/clients/catalogService/core/ApiError.ts +25 -0
- package/clients/catalogService/core/ApiRequestOptions.ts +17 -0
- package/clients/catalogService/core/ApiResult.ts +11 -0
- package/clients/catalogService/core/CancelablePromise.ts +131 -0
- package/clients/catalogService/core/OpenAPI.ts +32 -0
- package/clients/catalogService/core/request.ts +322 -0
- package/clients/catalogService/index.ts +124 -0
- package/clients/catalogService/models/AccessTokenResponse.ts +11 -0
- package/clients/catalogService/models/ErrorEnvelope.ts +12 -0
- package/clients/catalogService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/catalogService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/catalogService/models/InfoRequest.ts +10 -0
- package/clients/catalogService/models/InfoResponse.ts +9 -0
- package/clients/catalogService/models/ItemAttachmentCreateDto.ts +23 -0
- package/clients/catalogService/models/ItemAttachmentDto.ts +28 -0
- package/clients/catalogService/models/ItemAttachmentDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemAttachmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemAttachmentDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +19 -0
- package/clients/catalogService/models/ItemAttributeCreateDto.ts +11 -0
- package/clients/catalogService/models/ItemAttributeDto.ts +12 -0
- package/clients/catalogService/models/ItemAttributeDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemAttributeDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemAttributeOptionDto.ts +12 -0
- package/clients/catalogService/models/ItemAttributeOptionDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemAttributeOptionDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemAttributeUpdateDto.ts +9 -0
- package/clients/catalogService/models/ItemBrandCreateDto.ts +16 -0
- package/clients/catalogService/models/ItemBrandDto.ts +17 -0
- package/clients/catalogService/models/ItemBrandDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemBrandDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemBrandDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemBrandUpdateDto.ts +13 -0
- package/clients/catalogService/models/ItemCategoryCreateDto.ts +14 -0
- package/clients/catalogService/models/ItemCategoryDto.ts +21 -0
- package/clients/catalogService/models/ItemCategoryDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemCategoryDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemCategoryDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemCategoryUpdateDto.ts +16 -0
- package/clients/catalogService/models/ItemGoogleCategoryDto.ts +12 -0
- package/clients/catalogService/models/ItemGoogleCategoryDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemGoogleCategoryDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemImageDto.ts +29 -0
- package/clients/catalogService/models/ItemImageDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemImageDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemImageDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemImagesCreateDto.ts +28 -0
- package/clients/catalogService/models/ItemImagesUpdateDto.ts +25 -0
- package/clients/catalogService/models/ItemPricePolicyDto.ts +35 -0
- package/clients/catalogService/models/ItemPricePolicyDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemPricePolicyDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemQuestionCreateDto.ts +14 -0
- package/clients/catalogService/models/ItemQuestionDto.ts +15 -0
- package/clients/catalogService/models/ItemQuestionDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemQuestionDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemQuestionDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemQuestionUpdateDto.ts +12 -0
- package/clients/catalogService/models/ItemRefundPolicyDto.ts +34 -0
- package/clients/catalogService/models/ItemRefundPolicyDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemRefundPolicyDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemReturnPolicyDto.ts +34 -0
- package/clients/catalogService/models/ItemReturnPolicyDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemReturnPolicyDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemReviewCreateDto.ts +12 -0
- package/clients/catalogService/models/ItemReviewDto.ts +13 -0
- package/clients/catalogService/models/ItemReviewDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemReviewDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemReviewDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemReviewUpdateDto.ts +9 -0
- package/clients/catalogService/models/ItemShippingPolicyDto.ts +35 -0
- package/clients/catalogService/models/ItemShippingPolicyDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemShippingPolicyDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTagCreateDto.ts +11 -0
- package/clients/catalogService/models/ItemTagDto.ts +12 -0
- package/clients/catalogService/models/ItemTagDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTagDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTagDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTagUpdateDto.ts +9 -0
- package/clients/catalogService/models/ItemTaxPolicyDto.ts +37 -0
- package/clients/catalogService/models/ItemTaxPolicyDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTaxPolicyDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTypeCreateDto.ts +16 -0
- package/clients/catalogService/models/ItemTypeDto.ts +17 -0
- package/clients/catalogService/models/ItemTypeDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTypeDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTypeDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemTypeUpdateDto.ts +12 -0
- package/clients/catalogService/models/ItemWarrantyPolicyDto.ts +34 -0
- package/clients/catalogService/models/ItemWarrantyPolicyDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/ItemWarrantyPolicyDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/LoginRequest.ts +11 -0
- package/clients/catalogService/models/PricingRuleCreateDto.ts +32 -0
- package/clients/catalogService/models/PricingRuleDto.ts +32 -0
- package/clients/catalogService/models/PricingRuleDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/PricingRuleDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/catalogService/models/PricingRuleDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/PricingRuleUpdateDto.ts +27 -0
- package/clients/catalogService/models/RefreshRequest.ts +8 -0
- package/clients/catalogService/models/RegisterRequest.ts +9 -0
- package/clients/catalogService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/catalogService/models/ResetPasswordRequest.ts +10 -0
- package/clients/catalogService/models/StockItemCreateDto.ts +11 -0
- package/clients/catalogService/models/StockItemDto.ts +17 -0
- package/clients/catalogService/models/StockItemDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/StockItemDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/StockItemUpdateDto.ts +9 -0
- package/clients/catalogService/models/TwoFactorRequest.ts +12 -0
- package/clients/catalogService/models/TwoFactorResponse.ts +12 -0
- package/clients/catalogService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/catalogService/services/ItemAttachmentsService.ts +127 -0
- package/clients/catalogService/services/ItemAttributesService.ts +127 -0
- package/clients/catalogService/services/ItemBrandsService.ts +127 -0
- package/clients/catalogService/services/ItemCategoriesService.ts +127 -0
- package/clients/catalogService/services/ItemImagesService.ts +127 -0
- package/clients/catalogService/services/ItemQuestionsService.ts +127 -0
- package/clients/catalogService/services/ItemReviewsService.ts +127 -0
- package/clients/catalogService/services/ItemTagsService.ts +132 -0
- package/clients/catalogService/services/ItemTypesService.ts +127 -0
- package/clients/catalogService/services/PoliciesService.ts +117 -0
- package/clients/catalogService/services/PricingRulesService.ts +127 -0
- package/clients/catalogService/services/ProductsService.ts +1743 -0
- package/clients/contactService/core/ApiError.ts +25 -0
- package/clients/contactService/core/ApiRequestOptions.ts +17 -0
- package/clients/contactService/core/ApiResult.ts +11 -0
- package/clients/contactService/core/CancelablePromise.ts +131 -0
- package/clients/contactService/core/OpenAPI.ts +32 -0
- package/clients/contactService/core/request.ts +322 -0
- package/clients/contactService/index.ts +28 -0
- package/clients/contactService/models/AccessTokenResponse.ts +11 -0
- package/clients/contactService/models/ContactDto.ts +44 -0
- package/clients/contactService/models/ContactDtoEnvelope.ts +14 -0
- package/clients/contactService/models/ContactDtoListEnvelope.ts +14 -0
- package/clients/contactService/models/ErrorEnvelope.ts +12 -0
- package/clients/contactService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/contactService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/contactService/models/InfoRequest.ts +10 -0
- package/clients/contactService/models/InfoResponse.ts +9 -0
- package/clients/contactService/models/LoginRequest.ts +11 -0
- package/clients/contactService/models/RefreshRequest.ts +8 -0
- package/clients/contactService/models/RegisterRequest.ts +9 -0
- package/clients/contactService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/contactService/models/ResetPasswordRequest.ts +10 -0
- package/clients/contactService/models/TwoFactorRequest.ts +12 -0
- package/clients/contactService/models/TwoFactorResponse.ts +12 -0
- package/clients/contactService/services/ContactsService.ts +140 -0
- package/clients/contactService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/forexService/core/ApiError.ts +25 -0
- package/clients/forexService/core/ApiRequestOptions.ts +17 -0
- package/clients/forexService/core/ApiResult.ts +11 -0
- package/clients/forexService/core/CancelablePromise.ts +131 -0
- package/clients/forexService/core/OpenAPI.ts +32 -0
- package/clients/forexService/core/request.ts +322 -0
- package/clients/forexService/index.ts +30 -0
- package/clients/forexService/models/AccessTokenResponse.ts +11 -0
- package/clients/forexService/models/Currency.ts +9 -0
- package/clients/forexService/models/ForexRatesDto.ts +13 -0
- package/clients/forexService/models/ForexRatesDtoEnvelope.ts +14 -0
- package/clients/forexService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/forexService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/forexService/models/InfoRequest.ts +10 -0
- package/clients/forexService/models/InfoResponse.ts +9 -0
- package/clients/forexService/models/LoginRequest.ts +11 -0
- package/clients/forexService/models/Money.ts +10 -0
- package/clients/forexService/models/MoneyEnvelope.ts +14 -0
- package/clients/forexService/models/RefreshRequest.ts +8 -0
- package/clients/forexService/models/RegisterRequest.ts +9 -0
- package/clients/forexService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/forexService/models/ResetPasswordRequest.ts +10 -0
- package/clients/forexService/models/TwoFactorRequest.ts +12 -0
- package/clients/forexService/models/TwoFactorResponse.ts +12 -0
- package/clients/forexService/services/ExchangeService.ts +57 -0
- package/clients/forexService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/forexService/services/RatesService.ts +36 -0
- package/clients/holderService/core/ApiError.ts +25 -0
- package/clients/holderService/core/ApiRequestOptions.ts +17 -0
- package/clients/holderService/core/ApiResult.ts +11 -0
- package/clients/holderService/core/CancelablePromise.ts +131 -0
- package/clients/holderService/core/OpenAPI.ts +32 -0
- package/clients/holderService/core/request.ts +322 -0
- package/clients/holderService/index.ts +31 -0
- package/clients/holderService/models/AccessTokenResponse.ts +11 -0
- package/clients/holderService/models/AccountHolderCreateDto.ts +34 -0
- package/clients/holderService/models/AccountHolderDto.ts +73 -0
- package/clients/holderService/models/AccountHolderDtoEnvelope.ts +14 -0
- package/clients/holderService/models/BusinessDto.ts +53 -0
- package/clients/holderService/models/BusinessEnrollmentDto.ts +19 -0
- package/clients/holderService/models/ErrorEnvelope.ts +12 -0
- package/clients/holderService/models/FollowRecordDto.ts +12 -0
- package/clients/holderService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/holderService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/holderService/models/InfoRequest.ts +10 -0
- package/clients/holderService/models/InfoResponse.ts +9 -0
- package/clients/holderService/models/LoginRequest.ts +11 -0
- package/clients/holderService/models/RefreshRequest.ts +8 -0
- package/clients/holderService/models/RegisterRequest.ts +9 -0
- package/clients/holderService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/holderService/models/ResetPasswordRequest.ts +10 -0
- package/clients/holderService/models/TwoFactorRequest.ts +12 -0
- package/clients/holderService/models/TwoFactorResponse.ts +12 -0
- package/clients/holderService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/holderService/services/HolderService.ts +165 -0
- package/clients/identityService/core/ApiError.ts +25 -0
- package/clients/identityService/core/ApiRequestOptions.ts +17 -0
- package/clients/identityService/core/ApiResult.ts +11 -0
- package/clients/identityService/core/CancelablePromise.ts +131 -0
- package/clients/identityService/core/OpenAPI.ts +32 -0
- package/clients/identityService/core/request.ts +322 -0
- package/clients/identityService/index.ts +53 -0
- package/clients/identityService/models/AccessTokenResponse.ts +11 -0
- package/clients/identityService/models/AccountHolderCreateDto.ts +34 -0
- package/clients/identityService/models/AccountHolderCreateDtoEnvelope.ts +14 -0
- package/clients/identityService/models/AccountHolderDto.ts +73 -0
- package/clients/identityService/models/Actor.ts +12 -0
- package/clients/identityService/models/ApiResponse.ts +22 -0
- package/clients/identityService/models/ApiResponseEnvelope.ts +14 -0
- package/clients/identityService/models/BusinessDto.ts +53 -0
- package/clients/identityService/models/ClientApplication.ts +16 -0
- package/clients/identityService/models/Error.ts +10 -0
- package/clients/identityService/models/ErrorEnvelope.ts +12 -0
- package/clients/identityService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/identityService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/identityService/models/IPLookupDto.ts +10 -0
- package/clients/identityService/models/InfoRequest.ts +10 -0
- package/clients/identityService/models/InfoResponse.ts +9 -0
- package/clients/identityService/models/JsonWebKey.ts +13 -0
- package/clients/identityService/models/JsonWebKeySet.ts +9 -0
- package/clients/identityService/models/JsonWebKeySetEnvelope.ts +14 -0
- package/clients/identityService/models/JsonWebToken.ts +15 -0
- package/clients/identityService/models/JsonWebTokenEnvelope.ts +14 -0
- package/clients/identityService/models/JsonWebTokenHeader.ts +11 -0
- package/clients/identityService/models/JsonWebTokenPayload.ts +17 -0
- package/clients/identityService/models/LoginRequest.ts +11 -0
- package/clients/identityService/models/OAuthTokenRequest.ts +12 -0
- package/clients/identityService/models/OpenIdConfiguration.ts +19 -0
- package/clients/identityService/models/OpenIdConfigurationEnvelope.ts +14 -0
- package/clients/identityService/models/RefreshRequest.ts +8 -0
- package/clients/identityService/models/RegisterRequest.ts +9 -0
- package/clients/identityService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/identityService/models/ResetPasswordRequest.ts +10 -0
- package/clients/identityService/models/ResponsePagination.ts +13 -0
- package/clients/identityService/models/ResponseStatus.ts +12 -0
- package/clients/identityService/models/SigninModel.ts +9 -0
- package/clients/identityService/models/StringListEnvelope.ts +13 -0
- package/clients/identityService/models/TwoFactorRequest.ts +12 -0
- package/clients/identityService/models/TwoFactorResponse.ts +12 -0
- package/clients/identityService/services/ApplicationsService.ts +107 -0
- package/clients/identityService/services/CheckerService.ts +19 -0
- package/clients/identityService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/identityService/services/OAuthService.ts +147 -0
- package/clients/identityService/services/ResourceService.ts +19 -0
- package/clients/identityService/services/UserInfoService.ts +29 -0
- package/clients/inventoryService/core/ApiError.ts +25 -0
- package/clients/inventoryService/core/ApiRequestOptions.ts +17 -0
- package/clients/inventoryService/core/ApiResult.ts +11 -0
- package/clients/inventoryService/core/CancelablePromise.ts +131 -0
- package/clients/inventoryService/core/OpenAPI.ts +32 -0
- package/clients/inventoryService/core/request.ts +322 -0
- package/clients/inventoryService/index.ts +24 -0
- package/clients/inventoryService/models/AccessTokenResponse.ts +11 -0
- package/clients/inventoryService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/inventoryService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/inventoryService/models/InfoRequest.ts +10 -0
- package/clients/inventoryService/models/InfoResponse.ts +9 -0
- package/clients/inventoryService/models/LoginRequest.ts +11 -0
- package/clients/inventoryService/models/RefreshRequest.ts +8 -0
- package/clients/inventoryService/models/RegisterRequest.ts +9 -0
- package/clients/inventoryService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/inventoryService/models/ResetPasswordRequest.ts +10 -0
- package/clients/inventoryService/models/TwoFactorRequest.ts +12 -0
- package/clients/inventoryService/models/TwoFactorResponse.ts +12 -0
- package/clients/inventoryService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/inventoryService/services/InventoryService.ts +25 -0
- package/clients/invoicingService/core/ApiError.ts +25 -0
- package/clients/invoicingService/core/ApiRequestOptions.ts +17 -0
- package/clients/invoicingService/core/ApiResult.ts +11 -0
- package/clients/invoicingService/core/CancelablePromise.ts +131 -0
- package/clients/invoicingService/core/OpenAPI.ts +32 -0
- package/clients/invoicingService/core/request.ts +322 -0
- package/clients/invoicingService/index.ts +28 -0
- package/clients/invoicingService/models/AccessTokenResponse.ts +11 -0
- package/clients/invoicingService/models/ErrorEnvelope.ts +12 -0
- package/clients/invoicingService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/invoicingService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/invoicingService/models/InfoRequest.ts +10 -0
- package/clients/invoicingService/models/InfoResponse.ts +9 -0
- package/clients/invoicingService/models/InvoiceDto.ts +13 -0
- package/clients/invoicingService/models/InvoiceDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/invoicingService/models/InvoiceDtoListEnvelope.ts +14 -0
- package/clients/invoicingService/models/LoginRequest.ts +11 -0
- package/clients/invoicingService/models/RefreshRequest.ts +8 -0
- package/clients/invoicingService/models/RegisterRequest.ts +9 -0
- package/clients/invoicingService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/invoicingService/models/ResetPasswordRequest.ts +10 -0
- package/clients/invoicingService/models/TwoFactorRequest.ts +12 -0
- package/clients/invoicingService/models/TwoFactorResponse.ts +12 -0
- package/clients/invoicingService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/invoicingService/services/InvoicesService.ts +63 -0
- package/clients/pricingService/core/ApiError.ts +25 -0
- package/clients/pricingService/core/ApiRequestOptions.ts +17 -0
- package/clients/pricingService/core/ApiResult.ts +11 -0
- package/clients/pricingService/core/CancelablePromise.ts +131 -0
- package/clients/pricingService/core/OpenAPI.ts +32 -0
- package/clients/pricingService/core/request.ts +322 -0
- package/clients/pricingService/index.ts +29 -0
- package/clients/pricingService/models/AccessTokenResponse.ts +11 -0
- package/clients/pricingService/models/Currency.ts +9 -0
- package/clients/pricingService/models/ErrorEnvelope.ts +12 -0
- package/clients/pricingService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/pricingService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/pricingService/models/InfoRequest.ts +10 -0
- package/clients/pricingService/models/InfoResponse.ts +9 -0
- package/clients/pricingService/models/LoginRequest.ts +11 -0
- package/clients/pricingService/models/Money.ts +10 -0
- package/clients/pricingService/models/MoneyEnvelope.ts +14 -0
- package/clients/pricingService/models/RefreshRequest.ts +8 -0
- package/clients/pricingService/models/RegisterRequest.ts +9 -0
- package/clients/pricingService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/pricingService/models/ResetPasswordRequest.ts +10 -0
- package/clients/pricingService/models/TwoFactorRequest.ts +12 -0
- package/clients/pricingService/models/TwoFactorResponse.ts +12 -0
- package/clients/pricingService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/pricingService/services/PriceListsService.ts +34 -0
- package/clients/pricingService/services/PricesService.ts +82 -0
- package/clients/tenantService/core/ApiError.ts +25 -0
- package/clients/tenantService/core/ApiRequestOptions.ts +17 -0
- package/clients/tenantService/core/ApiResult.ts +11 -0
- package/clients/tenantService/core/CancelablePromise.ts +131 -0
- package/clients/tenantService/core/OpenAPI.ts +32 -0
- package/clients/tenantService/core/request.ts +322 -0
- package/clients/tenantService/index.ts +62 -0
- package/clients/tenantService/models/AccessTokenResponse.ts +11 -0
- package/clients/tenantService/models/AccountHolderCreateDto.ts +34 -0
- package/clients/tenantService/models/AggregateException.ts +18 -0
- package/clients/tenantService/models/Assembly.ts +46 -0
- package/clients/tenantService/models/BusinessCreateDto.ts +24 -0
- package/clients/tenantService/models/BusinessDto.ts +53 -0
- package/clients/tenantService/models/BusinessEnrollmentDto.ts +19 -0
- package/clients/tenantService/models/BusinessEnrollmentDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/BusinessEnrollmentDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/tenantService/models/ConstructorInfo.ts +103 -0
- package/clients/tenantService/models/CustomAttributeData.ts +15 -0
- package/clients/tenantService/models/CustomAttributeNamedArgument.ts +13 -0
- package/clients/tenantService/models/CustomAttributeTypedArgument.ts +10 -0
- package/clients/tenantService/models/Error.ts +10 -0
- package/clients/tenantService/models/EventInfo.ts +44 -0
- package/clients/tenantService/models/Exception.ts +16 -0
- package/clients/tenantService/models/FieldInfo.ts +74 -0
- package/clients/tenantService/models/ForgotPasswordRequest.ts +8 -0
- package/clients/tenantService/models/HttpValidationProblemDetails.ts +5 -0
- package/clients/tenantService/models/ICustomAttributeProvider.ts +5 -0
- package/clients/tenantService/models/InfoRequest.ts +10 -0
- package/clients/tenantService/models/InfoResponse.ts +9 -0
- package/clients/tenantService/models/IntPtr.ts +5 -0
- package/clients/tenantService/models/LoginRequest.ts +11 -0
- package/clients/tenantService/models/MemberInfo.ts +31 -0
- package/clients/tenantService/models/MethodBase.ts +103 -0
- package/clients/tenantService/models/MethodInfo.ts +108 -0
- package/clients/tenantService/models/Module.ts +19 -0
- package/clients/tenantService/models/ModuleHandle.ts +8 -0
- package/clients/tenantService/models/NotificationDto.ts +16 -0
- package/clients/tenantService/models/NotificationDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/ParameterInfo.ts +40 -0
- package/clients/tenantService/models/PropertyInfo.ts +49 -0
- package/clients/tenantService/models/RefreshRequest.ts +8 -0
- package/clients/tenantService/models/RegisterRequest.ts +9 -0
- package/clients/tenantService/models/ResendConfirmationEmailRequest.ts +8 -0
- package/clients/tenantService/models/ResetPasswordRequest.ts +10 -0
- package/clients/tenantService/models/ResponseStatus.ts +12 -0
- package/clients/tenantService/models/RuntimeFieldHandle.ts +9 -0
- package/clients/tenantService/models/RuntimeMethodHandle.ts +9 -0
- package/clients/tenantService/models/RuntimeTypeHandle.ts +9 -0
- package/clients/tenantService/models/StringListEnvelope.ts +13 -0
- package/clients/tenantService/models/StructLayoutAttribute.ts +16 -0
- package/clients/tenantService/models/TwoFactorRequest.ts +12 -0
- package/clients/tenantService/models/TwoFactorResponse.ts +12 -0
- package/clients/tenantService/models/Type.ts +141 -0
- package/clients/tenantService/models/TypeInfo.ts +156 -0
- package/clients/tenantService/models/WalletDto.ts +21 -0
- package/clients/tenantService/models/WalletDtoTask.ts +40 -0
- package/clients/tenantService/models/WalletDtoTaskEnvelope.ts +14 -0
- package/clients/tenantService/services/FenixAllianceAbsWebService.ts +293 -0
- package/clients/tenantService/services/TenantsService.ts +354 -0
- package/package.json +38 -0
- package/schemas/cartService/schema.s.ts +1560 -0
- package/schemas/catalogService/schema.s.ts +6109 -0
- package/schemas/contactService/schema.s.ts +674 -0
- package/schemas/forexService/schema.s.ts +526 -0
- package/schemas/holderService/schema.s.ts +831 -0
- package/schemas/identityService/schema.s.ts +1119 -0
- package/schemas/inventoryService/schema.s.ts +425 -0
- package/schemas/invoicingService/schema.s.ts +521 -0
- package/schemas/pricingService/schema.s.ts +549 -0
- package/schemas/tenantService/schema.s.ts +1606 -0
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import { ApiError } from './ApiError';
|
|
6
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
7
|
+
import type { ApiResult } from './ApiResult';
|
|
8
|
+
import { CancelablePromise } from './CancelablePromise';
|
|
9
|
+
import type { OnCancel } from './CancelablePromise';
|
|
10
|
+
import type { OpenAPIConfig } from './OpenAPI';
|
|
11
|
+
|
|
12
|
+
export const isDefined = <T>(value: T | null | undefined): value is Exclude<T, null | undefined> => {
|
|
13
|
+
return value !== undefined && value !== null;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export const isString = (value: any): value is string => {
|
|
17
|
+
return typeof value === 'string';
|
|
18
|
+
};
|
|
19
|
+
|
|
20
|
+
export const isStringWithValue = (value: any): value is string => {
|
|
21
|
+
return isString(value) && value !== '';
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export const isBlob = (value: any): value is Blob => {
|
|
25
|
+
return (
|
|
26
|
+
typeof value === 'object' &&
|
|
27
|
+
typeof value.type === 'string' &&
|
|
28
|
+
typeof value.stream === 'function' &&
|
|
29
|
+
typeof value.arrayBuffer === 'function' &&
|
|
30
|
+
typeof value.constructor === 'function' &&
|
|
31
|
+
typeof value.constructor.name === 'string' &&
|
|
32
|
+
/^(Blob|File)$/.test(value.constructor.name) &&
|
|
33
|
+
/^(Blob|File)$/.test(value[Symbol.toStringTag])
|
|
34
|
+
);
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export const isFormData = (value: any): value is FormData => {
|
|
38
|
+
return value instanceof FormData;
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
export const base64 = (str: string): string => {
|
|
42
|
+
try {
|
|
43
|
+
return btoa(str);
|
|
44
|
+
} catch (err) {
|
|
45
|
+
// @ts-ignore
|
|
46
|
+
return Buffer.from(str).toString('base64');
|
|
47
|
+
}
|
|
48
|
+
};
|
|
49
|
+
|
|
50
|
+
export const getQueryString = (params: Record<string, any>): string => {
|
|
51
|
+
const qs: string[] = [];
|
|
52
|
+
|
|
53
|
+
const append = (key: string, value: any) => {
|
|
54
|
+
qs.push(`${encodeURIComponent(key)}=${encodeURIComponent(String(value))}`);
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const process = (key: string, value: any) => {
|
|
58
|
+
if (isDefined(value)) {
|
|
59
|
+
if (Array.isArray(value)) {
|
|
60
|
+
value.forEach(v => {
|
|
61
|
+
process(key, v);
|
|
62
|
+
});
|
|
63
|
+
} else if (typeof value === 'object') {
|
|
64
|
+
Object.entries(value).forEach(([k, v]) => {
|
|
65
|
+
process(`${key}[${k}]`, v);
|
|
66
|
+
});
|
|
67
|
+
} else {
|
|
68
|
+
append(key, value);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
Object.entries(params).forEach(([key, value]) => {
|
|
74
|
+
process(key, value);
|
|
75
|
+
});
|
|
76
|
+
|
|
77
|
+
if (qs.length > 0) {
|
|
78
|
+
return `?${qs.join('&')}`;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
return '';
|
|
82
|
+
};
|
|
83
|
+
|
|
84
|
+
const getUrl = (config: OpenAPIConfig, options: ApiRequestOptions): string => {
|
|
85
|
+
const encoder = config.ENCODE_PATH || encodeURI;
|
|
86
|
+
|
|
87
|
+
const path = options.url
|
|
88
|
+
.replace('{api-version}', config.VERSION)
|
|
89
|
+
.replace(/{(.*?)}/g, (substring: string, group: string) => {
|
|
90
|
+
if (options.path?.hasOwnProperty(group)) {
|
|
91
|
+
return encoder(String(options.path[group]));
|
|
92
|
+
}
|
|
93
|
+
return substring;
|
|
94
|
+
});
|
|
95
|
+
|
|
96
|
+
const url = `${config.BASE}${path}`;
|
|
97
|
+
if (options.query) {
|
|
98
|
+
return `${url}${getQueryString(options.query)}`;
|
|
99
|
+
}
|
|
100
|
+
return url;
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
export const getFormData = (options: ApiRequestOptions): FormData | undefined => {
|
|
104
|
+
if (options.formData) {
|
|
105
|
+
const formData = new FormData();
|
|
106
|
+
|
|
107
|
+
const process = (key: string, value: any) => {
|
|
108
|
+
if (isString(value) || isBlob(value)) {
|
|
109
|
+
formData.append(key, value);
|
|
110
|
+
} else {
|
|
111
|
+
formData.append(key, JSON.stringify(value));
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
|
|
115
|
+
Object.entries(options.formData)
|
|
116
|
+
.filter(([_, value]) => isDefined(value))
|
|
117
|
+
.forEach(([key, value]) => {
|
|
118
|
+
if (Array.isArray(value)) {
|
|
119
|
+
value.forEach(v => process(key, v));
|
|
120
|
+
} else {
|
|
121
|
+
process(key, value);
|
|
122
|
+
}
|
|
123
|
+
});
|
|
124
|
+
|
|
125
|
+
return formData;
|
|
126
|
+
}
|
|
127
|
+
return undefined;
|
|
128
|
+
};
|
|
129
|
+
|
|
130
|
+
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
131
|
+
|
|
132
|
+
export const resolve = async <T>(options: ApiRequestOptions, resolver?: T | Resolver<T>): Promise<T | undefined> => {
|
|
133
|
+
if (typeof resolver === 'function') {
|
|
134
|
+
return (resolver as Resolver<T>)(options);
|
|
135
|
+
}
|
|
136
|
+
return resolver;
|
|
137
|
+
};
|
|
138
|
+
|
|
139
|
+
export const getHeaders = async (config: OpenAPIConfig, options: ApiRequestOptions): Promise<Headers> => {
|
|
140
|
+
const [token, username, password, additionalHeaders] = await Promise.all([
|
|
141
|
+
resolve(options, config.TOKEN),
|
|
142
|
+
resolve(options, config.USERNAME),
|
|
143
|
+
resolve(options, config.PASSWORD),
|
|
144
|
+
resolve(options, config.HEADERS),
|
|
145
|
+
]);
|
|
146
|
+
|
|
147
|
+
const headers = Object.entries({
|
|
148
|
+
Accept: 'application/json',
|
|
149
|
+
...additionalHeaders,
|
|
150
|
+
...options.headers,
|
|
151
|
+
})
|
|
152
|
+
.filter(([_, value]) => isDefined(value))
|
|
153
|
+
.reduce((headers, [key, value]) => ({
|
|
154
|
+
...headers,
|
|
155
|
+
[key]: String(value),
|
|
156
|
+
}), {} as Record<string, string>);
|
|
157
|
+
|
|
158
|
+
if (isStringWithValue(token)) {
|
|
159
|
+
headers['Authorization'] = `Bearer ${token}`;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
if (isStringWithValue(username) && isStringWithValue(password)) {
|
|
163
|
+
const credentials = base64(`${username}:${password}`);
|
|
164
|
+
headers['Authorization'] = `Basic ${credentials}`;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
if (options.body) {
|
|
168
|
+
if (options.mediaType) {
|
|
169
|
+
headers['Content-Type'] = options.mediaType;
|
|
170
|
+
} else if (isBlob(options.body)) {
|
|
171
|
+
headers['Content-Type'] = options.body.type || 'application/octet-stream';
|
|
172
|
+
} else if (isString(options.body)) {
|
|
173
|
+
headers['Content-Type'] = 'text/plain';
|
|
174
|
+
} else if (!isFormData(options.body)) {
|
|
175
|
+
headers['Content-Type'] = 'application/json';
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
return new Headers(headers);
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
export const getRequestBody = (options: ApiRequestOptions): any => {
|
|
183
|
+
if (options.body !== undefined) {
|
|
184
|
+
if (options.mediaType?.includes('/json')) {
|
|
185
|
+
return JSON.stringify(options.body)
|
|
186
|
+
} else if (isString(options.body) || isBlob(options.body) || isFormData(options.body)) {
|
|
187
|
+
return options.body;
|
|
188
|
+
} else {
|
|
189
|
+
return JSON.stringify(options.body);
|
|
190
|
+
}
|
|
191
|
+
}
|
|
192
|
+
return undefined;
|
|
193
|
+
};
|
|
194
|
+
|
|
195
|
+
export const sendRequest = async (
|
|
196
|
+
config: OpenAPIConfig,
|
|
197
|
+
options: ApiRequestOptions,
|
|
198
|
+
url: string,
|
|
199
|
+
body: any,
|
|
200
|
+
formData: FormData | undefined,
|
|
201
|
+
headers: Headers,
|
|
202
|
+
onCancel: OnCancel
|
|
203
|
+
): Promise<Response> => {
|
|
204
|
+
const controller = new AbortController();
|
|
205
|
+
|
|
206
|
+
const request: RequestInit = {
|
|
207
|
+
headers,
|
|
208
|
+
body: body ?? formData,
|
|
209
|
+
method: options.method,
|
|
210
|
+
signal: controller.signal,
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
if (config.WITH_CREDENTIALS) {
|
|
214
|
+
request.credentials = config.CREDENTIALS;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
onCancel(() => controller.abort());
|
|
218
|
+
|
|
219
|
+
return await fetch(url, request);
|
|
220
|
+
};
|
|
221
|
+
|
|
222
|
+
export const getResponseHeader = (response: Response, responseHeader?: string): string | undefined => {
|
|
223
|
+
if (responseHeader) {
|
|
224
|
+
const content = response.headers.get(responseHeader);
|
|
225
|
+
if (isString(content)) {
|
|
226
|
+
return content;
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
return undefined;
|
|
230
|
+
};
|
|
231
|
+
|
|
232
|
+
export const getResponseBody = async (response: Response): Promise<any> => {
|
|
233
|
+
if (response.status !== 204) {
|
|
234
|
+
try {
|
|
235
|
+
const contentType = response.headers.get('Content-Type');
|
|
236
|
+
if (contentType) {
|
|
237
|
+
const jsonTypes = ['application/json', 'application/problem+json']
|
|
238
|
+
const isJSON = jsonTypes.some(type => contentType.toLowerCase().startsWith(type));
|
|
239
|
+
if (isJSON) {
|
|
240
|
+
return await response.json();
|
|
241
|
+
} else {
|
|
242
|
+
return await response.text();
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
} catch (error) {
|
|
246
|
+
console.error(error);
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
return undefined;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
export const catchErrorCodes = (options: ApiRequestOptions, result: ApiResult): void => {
|
|
253
|
+
const errors: Record<number, string> = {
|
|
254
|
+
400: 'Bad Request',
|
|
255
|
+
401: 'Unauthorized',
|
|
256
|
+
403: 'Forbidden',
|
|
257
|
+
404: 'Not Found',
|
|
258
|
+
500: 'Internal Server Error',
|
|
259
|
+
502: 'Bad Gateway',
|
|
260
|
+
503: 'Service Unavailable',
|
|
261
|
+
...options.errors,
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
const error = errors[result.status];
|
|
265
|
+
if (error) {
|
|
266
|
+
throw new ApiError(options, result, error);
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
if (!result.ok) {
|
|
270
|
+
const errorStatus = result.status ?? 'unknown';
|
|
271
|
+
const errorStatusText = result.statusText ?? 'unknown';
|
|
272
|
+
const errorBody = (() => {
|
|
273
|
+
try {
|
|
274
|
+
return JSON.stringify(result.body, null, 2);
|
|
275
|
+
} catch (e) {
|
|
276
|
+
return undefined;
|
|
277
|
+
}
|
|
278
|
+
})();
|
|
279
|
+
|
|
280
|
+
throw new ApiError(options, result,
|
|
281
|
+
`Generic Error: status: ${errorStatus}; status text: ${errorStatusText}; body: ${errorBody}`
|
|
282
|
+
);
|
|
283
|
+
}
|
|
284
|
+
};
|
|
285
|
+
|
|
286
|
+
/**
|
|
287
|
+
* Request method
|
|
288
|
+
* @param config The OpenAPI configuration object
|
|
289
|
+
* @param options The request options from the service
|
|
290
|
+
* @returns CancelablePromise<T>
|
|
291
|
+
* @throws ApiError
|
|
292
|
+
*/
|
|
293
|
+
export const request = <T>(config: OpenAPIConfig, options: ApiRequestOptions): CancelablePromise<T> => {
|
|
294
|
+
return new CancelablePromise(async (resolve, reject, onCancel) => {
|
|
295
|
+
try {
|
|
296
|
+
const url = getUrl(config, options);
|
|
297
|
+
const formData = getFormData(options);
|
|
298
|
+
const body = getRequestBody(options);
|
|
299
|
+
const headers = await getHeaders(config, options);
|
|
300
|
+
|
|
301
|
+
if (!onCancel.isCancelled) {
|
|
302
|
+
const response = await sendRequest(config, options, url, body, formData, headers, onCancel);
|
|
303
|
+
const responseBody = await getResponseBody(response);
|
|
304
|
+
const responseHeader = getResponseHeader(response, options.responseHeader);
|
|
305
|
+
|
|
306
|
+
const result: ApiResult = {
|
|
307
|
+
url,
|
|
308
|
+
ok: response.ok,
|
|
309
|
+
status: response.status,
|
|
310
|
+
statusText: response.statusText,
|
|
311
|
+
body: responseHeader ?? responseBody,
|
|
312
|
+
};
|
|
313
|
+
|
|
314
|
+
catchErrorCodes(options, result);
|
|
315
|
+
|
|
316
|
+
resolve(result.body);
|
|
317
|
+
}
|
|
318
|
+
} catch (error) {
|
|
319
|
+
reject(error);
|
|
320
|
+
}
|
|
321
|
+
});
|
|
322
|
+
};
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export { ApiError } from './core/ApiError';
|
|
6
|
+
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
7
|
+
export { OpenAPI } from './core/OpenAPI';
|
|
8
|
+
export type { OpenAPIConfig } from './core/OpenAPI';
|
|
9
|
+
|
|
10
|
+
export type { AccessTokenResponse } from './models/AccessTokenResponse';
|
|
11
|
+
export type { AccountHolderCreateDto } from './models/AccountHolderCreateDto';
|
|
12
|
+
export type { AccountHolderCreateDtoEnvelope } from './models/AccountHolderCreateDtoEnvelope';
|
|
13
|
+
export { AccountHolderDto } from './models/AccountHolderDto';
|
|
14
|
+
export type { Actor } from './models/Actor';
|
|
15
|
+
export type { ApiResponse } from './models/ApiResponse';
|
|
16
|
+
export type { ApiResponseEnvelope } from './models/ApiResponseEnvelope';
|
|
17
|
+
export type { BusinessDto } from './models/BusinessDto';
|
|
18
|
+
export type { ClientApplication } from './models/ClientApplication';
|
|
19
|
+
export type { Error } from './models/Error';
|
|
20
|
+
export type { ErrorEnvelope } from './models/ErrorEnvelope';
|
|
21
|
+
export type { ForgotPasswordRequest } from './models/ForgotPasswordRequest';
|
|
22
|
+
export type { HttpValidationProblemDetails } from './models/HttpValidationProblemDetails';
|
|
23
|
+
export type { InfoRequest } from './models/InfoRequest';
|
|
24
|
+
export type { InfoResponse } from './models/InfoResponse';
|
|
25
|
+
export type { IPLookupDto } from './models/IPLookupDto';
|
|
26
|
+
export type { JsonWebKey } from './models/JsonWebKey';
|
|
27
|
+
export type { JsonWebKeySet } from './models/JsonWebKeySet';
|
|
28
|
+
export type { JsonWebKeySetEnvelope } from './models/JsonWebKeySetEnvelope';
|
|
29
|
+
export type { JsonWebToken } from './models/JsonWebToken';
|
|
30
|
+
export type { JsonWebTokenEnvelope } from './models/JsonWebTokenEnvelope';
|
|
31
|
+
export type { JsonWebTokenHeader } from './models/JsonWebTokenHeader';
|
|
32
|
+
export type { JsonWebTokenPayload } from './models/JsonWebTokenPayload';
|
|
33
|
+
export type { LoginRequest } from './models/LoginRequest';
|
|
34
|
+
export type { OAuthTokenRequest } from './models/OAuthTokenRequest';
|
|
35
|
+
export type { OpenIdConfiguration } from './models/OpenIdConfiguration';
|
|
36
|
+
export type { OpenIdConfigurationEnvelope } from './models/OpenIdConfigurationEnvelope';
|
|
37
|
+
export type { RefreshRequest } from './models/RefreshRequest';
|
|
38
|
+
export type { RegisterRequest } from './models/RegisterRequest';
|
|
39
|
+
export type { ResendConfirmationEmailRequest } from './models/ResendConfirmationEmailRequest';
|
|
40
|
+
export type { ResetPasswordRequest } from './models/ResetPasswordRequest';
|
|
41
|
+
export type { ResponsePagination } from './models/ResponsePagination';
|
|
42
|
+
export type { ResponseStatus } from './models/ResponseStatus';
|
|
43
|
+
export type { SigninModel } from './models/SigninModel';
|
|
44
|
+
export type { StringListEnvelope } from './models/StringListEnvelope';
|
|
45
|
+
export type { TwoFactorRequest } from './models/TwoFactorRequest';
|
|
46
|
+
export type { TwoFactorResponse } from './models/TwoFactorResponse';
|
|
47
|
+
|
|
48
|
+
export { ApplicationsService } from './services/ApplicationsService';
|
|
49
|
+
export { CheckerService } from './services/CheckerService';
|
|
50
|
+
export { FenixAllianceAbsWebService } from './services/FenixAllianceAbsWebService';
|
|
51
|
+
export { OAuthService } from './services/OAuthService';
|
|
52
|
+
export { ResourceService } from './services/ResourceService';
|
|
53
|
+
export { UserInfoService } from './services/UserInfoService';
|
|
@@ -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 AccessTokenResponse = {
|
|
6
|
+
readonly tokenType?: string | null;
|
|
7
|
+
accessToken?: string | null;
|
|
8
|
+
expiresIn?: number;
|
|
9
|
+
refreshToken?: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type AccountHolderCreateDto = {
|
|
6
|
+
readonly id?: string;
|
|
7
|
+
qualifiedName?: string | null;
|
|
8
|
+
birthday?: string;
|
|
9
|
+
firstName?: string | null;
|
|
10
|
+
lastName?: string | null;
|
|
11
|
+
publicName?: string | null;
|
|
12
|
+
idProvider?: string | null;
|
|
13
|
+
languageID?: string | null;
|
|
14
|
+
timezoneID?: string | null;
|
|
15
|
+
gender?: string | null;
|
|
16
|
+
cityID?: string | null;
|
|
17
|
+
stateID?: string | null;
|
|
18
|
+
email?: string | null;
|
|
19
|
+
about?: string | null;
|
|
20
|
+
jobTitle?: string | null;
|
|
21
|
+
coverURL?: string | null;
|
|
22
|
+
avatarURL?: string | null;
|
|
23
|
+
gitHubURL?: string | null;
|
|
24
|
+
websiteURL?: string | null;
|
|
25
|
+
twitterUrl?: string | null;
|
|
26
|
+
facebookURL?: string | null;
|
|
27
|
+
youTubeURL?: string | null;
|
|
28
|
+
linkedInURL?: string | null;
|
|
29
|
+
instagramUrl?: string | null;
|
|
30
|
+
countryID?: string | null;
|
|
31
|
+
countryName?: string | null;
|
|
32
|
+
currencyID?: string | null;
|
|
33
|
+
};
|
|
34
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AccountHolderCreateDto } from './AccountHolderCreateDto';
|
|
6
|
+
export type AccountHolderCreateDtoEnvelope = {
|
|
7
|
+
errorMessage?: string | null;
|
|
8
|
+
readonly isSuccess?: boolean;
|
|
9
|
+
readonly timestamp?: string;
|
|
10
|
+
readonly activityId?: string | null;
|
|
11
|
+
correlationId?: string | null;
|
|
12
|
+
result?: AccountHolderCreateDto;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type AccountHolderDto = {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
timestamp?: string | null;
|
|
8
|
+
qualifiedName?: string | null;
|
|
9
|
+
birthday?: string;
|
|
10
|
+
firstName?: string | null;
|
|
11
|
+
lastName?: string | null;
|
|
12
|
+
publicName?: string | null;
|
|
13
|
+
idProvider?: string | null;
|
|
14
|
+
languageId?: string | null;
|
|
15
|
+
timezoneId?: string | null;
|
|
16
|
+
gender?: string | null;
|
|
17
|
+
cityId?: string | null;
|
|
18
|
+
stateId?: string | null;
|
|
19
|
+
email?: string | null;
|
|
20
|
+
about?: string | null;
|
|
21
|
+
jobTitle?: string | null;
|
|
22
|
+
coverUrl?: string | null;
|
|
23
|
+
avatarUrl?: string | null;
|
|
24
|
+
gitHubUrl?: string | null;
|
|
25
|
+
websiteUrl?: string | null;
|
|
26
|
+
twitterUrl?: string | null;
|
|
27
|
+
facebookUrl?: string | null;
|
|
28
|
+
youTubeUrl?: string | null;
|
|
29
|
+
linkedInUrl?: string | null;
|
|
30
|
+
instagramUrl?: string | null;
|
|
31
|
+
lockoutEnabled?: boolean;
|
|
32
|
+
socialFeedId?: string | null;
|
|
33
|
+
socialProfileId?: string | null;
|
|
34
|
+
currentTenantId?: string | null;
|
|
35
|
+
currentEnrollmentId?: string | null;
|
|
36
|
+
cartId?: string | null;
|
|
37
|
+
walletId?: string | null;
|
|
38
|
+
countryId?: string | null;
|
|
39
|
+
currencyId?: string | null;
|
|
40
|
+
userName?: string | null;
|
|
41
|
+
status?: string | null;
|
|
42
|
+
phoneNumber?: string | null;
|
|
43
|
+
publicIdentifier?: string | null;
|
|
44
|
+
identityProvider?: string | null;
|
|
45
|
+
phoneNumberConfirmed?: boolean;
|
|
46
|
+
emailConfirmed?: boolean;
|
|
47
|
+
themeMode?: AccountHolderDto.themeMode;
|
|
48
|
+
availability?: AccountHolderDto.availability;
|
|
49
|
+
followsCount?: number | null;
|
|
50
|
+
followersCount?: number | null;
|
|
51
|
+
enrollmentsCount?: number | null;
|
|
52
|
+
socialPostsCount?: number | null;
|
|
53
|
+
unreadMessagesCount?: number | null;
|
|
54
|
+
unreadNotificationsCount?: number | null;
|
|
55
|
+
webUrl?: string | null;
|
|
56
|
+
countryStateId?: string | null;
|
|
57
|
+
readonly selectedBusinessId?: string | null;
|
|
58
|
+
};
|
|
59
|
+
export namespace AccountHolderDto {
|
|
60
|
+
export enum themeMode {
|
|
61
|
+
'_0' = 0,
|
|
62
|
+
'_1' = 1,
|
|
63
|
+
'_2' = 2,
|
|
64
|
+
}
|
|
65
|
+
export enum availability {
|
|
66
|
+
'_0' = 0,
|
|
67
|
+
'_1' = 1,
|
|
68
|
+
'_2' = 2,
|
|
69
|
+
'_3' = 3,
|
|
70
|
+
'_4' = 4,
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -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 Actor = {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
type?: string | null;
|
|
8
|
+
cartID?: string | null;
|
|
9
|
+
actingAs?: string | null;
|
|
10
|
+
socialProfileID?: string | null;
|
|
11
|
+
};
|
|
12
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { AccountHolderDto } from './AccountHolderDto';
|
|
6
|
+
import type { Actor } from './Actor';
|
|
7
|
+
import type { BusinessDto } from './BusinessDto';
|
|
8
|
+
import type { ClientApplication } from './ClientApplication';
|
|
9
|
+
import type { IPLookupDto } from './IPLookupDto';
|
|
10
|
+
import type { ResponsePagination } from './ResponsePagination';
|
|
11
|
+
import type { ResponseStatus } from './ResponseStatus';
|
|
12
|
+
export type ApiResponse = {
|
|
13
|
+
id?: string;
|
|
14
|
+
holder?: AccountHolderDto;
|
|
15
|
+
ipLookup?: IPLookupDto;
|
|
16
|
+
tenant?: BusinessDto;
|
|
17
|
+
actor?: Actor;
|
|
18
|
+
status?: ResponseStatus;
|
|
19
|
+
application?: ClientApplication;
|
|
20
|
+
pagination?: ResponsePagination;
|
|
21
|
+
};
|
|
22
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ApiResponse } from './ApiResponse';
|
|
6
|
+
export type ApiResponseEnvelope = {
|
|
7
|
+
errorMessage?: string | null;
|
|
8
|
+
readonly isSuccess?: boolean;
|
|
9
|
+
readonly timestamp?: string;
|
|
10
|
+
readonly activityId?: string | null;
|
|
11
|
+
correlationId?: string | null;
|
|
12
|
+
result?: ApiResponse;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type BusinessDto = {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
timestamp?: string | null;
|
|
8
|
+
readonly qualifiedName?: string | null;
|
|
9
|
+
taxID?: string | null;
|
|
10
|
+
about?: string | null;
|
|
11
|
+
walletID?: string | null;
|
|
12
|
+
socialFeedID?: string | null;
|
|
13
|
+
businessIndustryID?: string | null;
|
|
14
|
+
businessSegmentID?: string | null;
|
|
15
|
+
socialProfileID?: string | null;
|
|
16
|
+
languageId?: string | null;
|
|
17
|
+
name?: string | null;
|
|
18
|
+
duns?: string | null;
|
|
19
|
+
slogan?: string | null;
|
|
20
|
+
legalName?: string | null;
|
|
21
|
+
coverUrl?: string | null;
|
|
22
|
+
avatarUrl?: string | null;
|
|
23
|
+
cartID?: string | null;
|
|
24
|
+
currencyID?: string | null;
|
|
25
|
+
timezoneID?: string | null;
|
|
26
|
+
countryID?: string | null;
|
|
27
|
+
stateID?: string | null;
|
|
28
|
+
cityID?: string | null;
|
|
29
|
+
followsCount?: number | null;
|
|
30
|
+
followersCount?: number | null;
|
|
31
|
+
enrollmentsCount?: number | null;
|
|
32
|
+
socialPostsCount?: number | null;
|
|
33
|
+
unreadMessagesCount?: number | null;
|
|
34
|
+
unreadNotificationsCount?: number | null;
|
|
35
|
+
enrollmentID?: string | null;
|
|
36
|
+
c2BFollowID?: string | null;
|
|
37
|
+
b2CFollowID?: string | null;
|
|
38
|
+
email?: string | null;
|
|
39
|
+
phone?: string | null;
|
|
40
|
+
webUrl?: string | null;
|
|
41
|
+
facebookUrl?: string | null;
|
|
42
|
+
twitterUrl?: string | null;
|
|
43
|
+
gitHubUrl?: string | null;
|
|
44
|
+
linkedInUrl?: string | null;
|
|
45
|
+
instagramUrl?: string | null;
|
|
46
|
+
youTubeUrl?: string | null;
|
|
47
|
+
whatsAppNumber?: string | null;
|
|
48
|
+
verified?: boolean;
|
|
49
|
+
readonly businessName?: string | null;
|
|
50
|
+
readonly businessLegalName?: string | null;
|
|
51
|
+
twitterUsername?: string | null;
|
|
52
|
+
};
|
|
53
|
+
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ClientApplication = {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
name?: string | null;
|
|
8
|
+
avatar?: string | null;
|
|
9
|
+
tenantID?: string | null;
|
|
10
|
+
tenantName?: string | null;
|
|
11
|
+
tenantAvatar?: string | null;
|
|
12
|
+
privacyPolicy?: string | null;
|
|
13
|
+
termsAndConditions?: string | null;
|
|
14
|
+
grantedPermissions?: Array<string> | null;
|
|
15
|
+
};
|
|
16
|
+
|
|
@@ -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 ErrorEnvelope = {
|
|
6
|
+
errorMessage?: string | null;
|
|
7
|
+
readonly isSuccess?: boolean;
|
|
8
|
+
readonly timestamp?: string;
|
|
9
|
+
readonly activityId?: string | null;
|
|
10
|
+
correlationId?: string | null;
|
|
11
|
+
};
|
|
12
|
+
|