@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,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,63 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { InvoiceDtoIReadOnlyListEnvelope } from '../models/InvoiceDtoIReadOnlyListEnvelope';
|
|
6
|
+
import type { InvoiceDtoListEnvelope } from '../models/InvoiceDtoListEnvelope';
|
|
7
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
9
|
+
import { request as __request } from '../core/request';
|
|
10
|
+
export class InvoicesService {
|
|
11
|
+
/**
|
|
12
|
+
* @param invoiceId
|
|
13
|
+
* @returns InvoiceDtoListEnvelope Success
|
|
14
|
+
* @throws ApiError
|
|
15
|
+
*/
|
|
16
|
+
public static getApiV2InvoicingServiceInvoicesDetails(
|
|
17
|
+
invoiceId: string,
|
|
18
|
+
): CancelablePromise<InvoiceDtoListEnvelope> {
|
|
19
|
+
return __request(OpenAPI, {
|
|
20
|
+
method: 'GET',
|
|
21
|
+
url: '/api/v2/InvoicingService/Invoices/{invoiceId}/Details',
|
|
22
|
+
path: {
|
|
23
|
+
'invoiceId': invoiceId,
|
|
24
|
+
},
|
|
25
|
+
errors: {
|
|
26
|
+
401: `Unauthorized`,
|
|
27
|
+
403: `Forbidden`,
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* @param tenantId
|
|
33
|
+
* @returns InvoiceDtoIReadOnlyListEnvelope Success
|
|
34
|
+
* @throws ApiError
|
|
35
|
+
*/
|
|
36
|
+
public static getApiV2InvoicingServiceInvoicesIncoming(
|
|
37
|
+
tenantId: string,
|
|
38
|
+
): CancelablePromise<InvoiceDtoIReadOnlyListEnvelope> {
|
|
39
|
+
return __request(OpenAPI, {
|
|
40
|
+
method: 'GET',
|
|
41
|
+
url: '/api/v2/InvoicingService/Invoices/Incoming/{tenantId}',
|
|
42
|
+
path: {
|
|
43
|
+
'tenantId': tenantId,
|
|
44
|
+
},
|
|
45
|
+
});
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* @param tenantId
|
|
49
|
+
* @returns InvoiceDtoIReadOnlyListEnvelope Success
|
|
50
|
+
* @throws ApiError
|
|
51
|
+
*/
|
|
52
|
+
public static getApiV2InvoicingServiceInvoicesOutgoing(
|
|
53
|
+
tenantId: string,
|
|
54
|
+
): CancelablePromise<InvoiceDtoIReadOnlyListEnvelope> {
|
|
55
|
+
return __request(OpenAPI, {
|
|
56
|
+
method: 'GET',
|
|
57
|
+
url: '/api/v2/InvoicingService/Invoices/Outgoing/{tenantId}',
|
|
58
|
+
path: {
|
|
59
|
+
'tenantId': tenantId,
|
|
60
|
+
},
|
|
61
|
+
});
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
6
|
+
import type { ApiResult } from './ApiResult';
|
|
7
|
+
|
|
8
|
+
export class ApiError extends Error {
|
|
9
|
+
public readonly url: string;
|
|
10
|
+
public readonly status: number;
|
|
11
|
+
public readonly statusText: string;
|
|
12
|
+
public readonly body: any;
|
|
13
|
+
public readonly request: ApiRequestOptions;
|
|
14
|
+
|
|
15
|
+
constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
|
|
16
|
+
super(message);
|
|
17
|
+
|
|
18
|
+
this.name = 'ApiError';
|
|
19
|
+
this.url = response.url;
|
|
20
|
+
this.status = response.status;
|
|
21
|
+
this.statusText = response.statusText;
|
|
22
|
+
this.body = response.body;
|
|
23
|
+
this.request = request;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ApiRequestOptions = {
|
|
6
|
+
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
|
|
7
|
+
readonly url: string;
|
|
8
|
+
readonly path?: Record<string, any>;
|
|
9
|
+
readonly cookies?: Record<string, any>;
|
|
10
|
+
readonly headers?: Record<string, any>;
|
|
11
|
+
readonly query?: Record<string, any>;
|
|
12
|
+
readonly formData?: Record<string, any>;
|
|
13
|
+
readonly body?: any;
|
|
14
|
+
readonly mediaType?: string;
|
|
15
|
+
readonly responseHeader?: string;
|
|
16
|
+
readonly errors?: Record<number, string>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ApiResult = {
|
|
6
|
+
readonly url: string;
|
|
7
|
+
readonly ok: boolean;
|
|
8
|
+
readonly status: number;
|
|
9
|
+
readonly statusText: string;
|
|
10
|
+
readonly body: any;
|
|
11
|
+
};
|
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export class CancelError extends Error {
|
|
6
|
+
|
|
7
|
+
constructor(message: string) {
|
|
8
|
+
super(message);
|
|
9
|
+
this.name = 'CancelError';
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
public get isCancelled(): boolean {
|
|
13
|
+
return true;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
export interface OnCancel {
|
|
18
|
+
readonly isResolved: boolean;
|
|
19
|
+
readonly isRejected: boolean;
|
|
20
|
+
readonly isCancelled: boolean;
|
|
21
|
+
|
|
22
|
+
(cancelHandler: () => void): void;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
export class CancelablePromise<T> implements Promise<T> {
|
|
26
|
+
#isResolved: boolean;
|
|
27
|
+
#isRejected: boolean;
|
|
28
|
+
#isCancelled: boolean;
|
|
29
|
+
readonly #cancelHandlers: (() => void)[];
|
|
30
|
+
readonly #promise: Promise<T>;
|
|
31
|
+
#resolve?: (value: T | PromiseLike<T>) => void;
|
|
32
|
+
#reject?: (reason?: any) => void;
|
|
33
|
+
|
|
34
|
+
constructor(
|
|
35
|
+
executor: (
|
|
36
|
+
resolve: (value: T | PromiseLike<T>) => void,
|
|
37
|
+
reject: (reason?: any) => void,
|
|
38
|
+
onCancel: OnCancel
|
|
39
|
+
) => void
|
|
40
|
+
) {
|
|
41
|
+
this.#isResolved = false;
|
|
42
|
+
this.#isRejected = false;
|
|
43
|
+
this.#isCancelled = false;
|
|
44
|
+
this.#cancelHandlers = [];
|
|
45
|
+
this.#promise = new Promise<T>((resolve, reject) => {
|
|
46
|
+
this.#resolve = resolve;
|
|
47
|
+
this.#reject = reject;
|
|
48
|
+
|
|
49
|
+
const onResolve = (value: T | PromiseLike<T>): void => {
|
|
50
|
+
if (this.#isResolved || this.#isRejected || this.#isCancelled) {
|
|
51
|
+
return;
|
|
52
|
+
}
|
|
53
|
+
this.#isResolved = true;
|
|
54
|
+
if (this.#resolve) this.#resolve(value);
|
|
55
|
+
};
|
|
56
|
+
|
|
57
|
+
const onReject = (reason?: any): void => {
|
|
58
|
+
if (this.#isResolved || this.#isRejected || this.#isCancelled) {
|
|
59
|
+
return;
|
|
60
|
+
}
|
|
61
|
+
this.#isRejected = true;
|
|
62
|
+
if (this.#reject) this.#reject(reason);
|
|
63
|
+
};
|
|
64
|
+
|
|
65
|
+
const onCancel = (cancelHandler: () => void): void => {
|
|
66
|
+
if (this.#isResolved || this.#isRejected || this.#isCancelled) {
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
this.#cancelHandlers.push(cancelHandler);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
Object.defineProperty(onCancel, 'isResolved', {
|
|
73
|
+
get: (): boolean => this.#isResolved,
|
|
74
|
+
});
|
|
75
|
+
|
|
76
|
+
Object.defineProperty(onCancel, 'isRejected', {
|
|
77
|
+
get: (): boolean => this.#isRejected,
|
|
78
|
+
});
|
|
79
|
+
|
|
80
|
+
Object.defineProperty(onCancel, 'isCancelled', {
|
|
81
|
+
get: (): boolean => this.#isCancelled,
|
|
82
|
+
});
|
|
83
|
+
|
|
84
|
+
return executor(onResolve, onReject, onCancel as OnCancel);
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
get [Symbol.toStringTag]() {
|
|
89
|
+
return "Cancellable Promise";
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
public then<TResult1 = T, TResult2 = never>(
|
|
93
|
+
onFulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | null,
|
|
94
|
+
onRejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | null
|
|
95
|
+
): Promise<TResult1 | TResult2> {
|
|
96
|
+
return this.#promise.then(onFulfilled, onRejected);
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
public catch<TResult = never>(
|
|
100
|
+
onRejected?: ((reason: any) => TResult | PromiseLike<TResult>) | null
|
|
101
|
+
): Promise<T | TResult> {
|
|
102
|
+
return this.#promise.catch(onRejected);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public finally(onFinally?: (() => void) | null): Promise<T> {
|
|
106
|
+
return this.#promise.finally(onFinally);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
public cancel(): void {
|
|
110
|
+
if (this.#isResolved || this.#isRejected || this.#isCancelled) {
|
|
111
|
+
return;
|
|
112
|
+
}
|
|
113
|
+
this.#isCancelled = true;
|
|
114
|
+
if (this.#cancelHandlers.length) {
|
|
115
|
+
try {
|
|
116
|
+
for (const cancelHandler of this.#cancelHandlers) {
|
|
117
|
+
cancelHandler();
|
|
118
|
+
}
|
|
119
|
+
} catch (error) {
|
|
120
|
+
console.warn('Cancellation threw an error', error);
|
|
121
|
+
return;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
this.#cancelHandlers.length = 0;
|
|
125
|
+
if (this.#reject) this.#reject(new CancelError('Request aborted'));
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
public get isCancelled(): boolean {
|
|
129
|
+
return this.#isCancelled;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
6
|
+
|
|
7
|
+
type Resolver<T> = (options: ApiRequestOptions) => Promise<T>;
|
|
8
|
+
type Headers = Record<string, string>;
|
|
9
|
+
|
|
10
|
+
export type OpenAPIConfig = {
|
|
11
|
+
BASE: string;
|
|
12
|
+
VERSION: string;
|
|
13
|
+
WITH_CREDENTIALS: boolean;
|
|
14
|
+
CREDENTIALS: 'include' | 'omit' | 'same-origin';
|
|
15
|
+
TOKEN?: string | Resolver<string> | undefined;
|
|
16
|
+
USERNAME?: string | Resolver<string> | undefined;
|
|
17
|
+
PASSWORD?: string | Resolver<string> | undefined;
|
|
18
|
+
HEADERS?: Headers | Resolver<Headers> | undefined;
|
|
19
|
+
ENCODE_PATH?: ((path: string) => string) | undefined;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const OpenAPI: OpenAPIConfig = {
|
|
23
|
+
BASE: '',
|
|
24
|
+
VERSION: '2.0.0.0',
|
|
25
|
+
WITH_CREDENTIALS: false,
|
|
26
|
+
CREDENTIALS: 'include',
|
|
27
|
+
TOKEN: undefined,
|
|
28
|
+
USERNAME: undefined,
|
|
29
|
+
PASSWORD: undefined,
|
|
30
|
+
HEADERS: undefined,
|
|
31
|
+
ENCODE_PATH: undefined,
|
|
32
|
+
};
|