@fenixalliance/abs-api-client 1.0.0 → 1.0.2
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/app/index.ts +5 -0
- package/clients/cartService/core/ApiError.ts +24 -24
- package/clients/cartService/core/ApiRequestOptions.ts +16 -16
- package/clients/cartService/core/ApiResult.ts +10 -10
- package/clients/cartService/core/CancelablePromise.ts +130 -130
- package/clients/cartService/core/OpenAPI.ts +31 -31
- package/clients/cartService/core/request.ts +321 -321
- package/clients/cartService/index.ts +36 -52
- package/clients/cartService/models/CartDto.ts +1 -0
- package/clients/cartService/models/{RegisterRequest.ts → CartUpdateRequest.ts} +3 -3
- package/clients/cartService/models/{InfoResponse.ts → CountrySwitchRequest.ts} +3 -3
- package/clients/cartService/models/EmptyEnvelope.ts +11 -0
- package/clients/cartService/models/ItemCartRecordCreateDto.ts +1 -0
- package/clients/cartService/models/ItemCartRecordDto.ts +3 -1
- package/clients/{catalogService/models/ItemBrandDtoIReadOnlyCollectionEnvelope.ts → cartService/models/ItemCartRecordDtoListEnvelope.ts} +3 -3
- package/clients/cartService/models/{ItemToCompareCartRecordDtoIReadOnlyListEnvelope.ts → ItemToCompareCartRecordDtoListEnvelope.ts} +1 -1
- package/clients/cartService/models/WishListDto.ts +2 -1
- package/clients/cartService/services/CartsService.ts +53 -7
- package/clients/cartService/services/CompareService.ts +7 -6
- package/clients/cartService/services/RecordsService.ts +23 -20
- package/clients/cartService/services/WishListsService.ts +17 -17
- package/clients/catalogService/core/ApiError.ts +24 -24
- package/clients/catalogService/core/ApiRequestOptions.ts +16 -16
- package/clients/catalogService/core/ApiResult.ts +10 -10
- package/clients/catalogService/core/CancelablePromise.ts +130 -130
- package/clients/catalogService/core/OpenAPI.ts +31 -31
- package/clients/catalogService/core/request.ts +321 -321
- package/clients/catalogService/index.ts +102 -124
- package/clients/catalogService/models/EmptyEnvelope.ts +11 -0
- package/clients/catalogService/models/ItemAttachmentCreateDto.ts +4 -8
- package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +2 -5
- package/clients/catalogService/models/ItemAttributeCreateDto.ts +3 -2
- package/clients/catalogService/models/{ItemAttributeDtoIReadOnlyCollectionEnvelope.ts → ItemAttributeDtoListEnvelope.ts} +1 -1
- package/clients/catalogService/models/ItemAttributeUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemBrandCreateDto.ts +4 -3
- package/clients/catalogService/models/ItemBrandUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemCategoryCreateDto.ts +3 -2
- package/clients/catalogService/models/ItemCategoryUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemGoogleCategoryDto.ts +12 -3
- package/clients/catalogService/models/{ItemImagesCreateDto.ts → ItemImageCreateDto.ts} +4 -4
- package/clients/catalogService/models/ItemImageDto.ts +0 -1
- package/clients/catalogService/models/{ItemImagesUpdateDto.ts → ItemImageUpdateDto.ts} +6 -9
- package/clients/catalogService/models/ItemQuestionCreateDto.ts +6 -5
- package/clients/catalogService/models/ItemQuestionRecordCreateDto.ts +14 -0
- package/clients/catalogService/models/ItemQuestionUpdateDto.ts +1 -3
- package/clients/catalogService/models/ItemReviewCreateDto.ts +1 -0
- package/clients/catalogService/models/ItemReviewRecordCreateDto.ts +12 -0
- package/clients/catalogService/models/ItemShippingPolicyDto.ts +6 -6
- package/clients/catalogService/models/ItemTagCreateDto.ts +3 -2
- package/clients/catalogService/models/ItemTagUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemTypeCreateDto.ts +3 -2
- package/clients/catalogService/models/ItemTypeDto.ts +4 -4
- package/clients/catalogService/models/ItemTypeUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemWarrantyPolicyDto.ts +3 -4
- package/clients/catalogService/models/PricingRuleCreateDto.ts +1 -1
- package/clients/catalogService/models/PricingRuleDto.ts +0 -1
- package/clients/catalogService/models/StockItemCreateDto.ts +100 -3
- package/clients/catalogService/models/StockItemDto.ts +133 -4
- package/clients/catalogService/models/StockItemUpdateDto.ts +99 -2
- package/clients/catalogService/services/ItemAttachmentsService.ts +24 -13
- package/clients/catalogService/services/ItemAttributesService.ts +19 -9
- package/clients/catalogService/services/ItemBrandsService.ts +19 -9
- package/clients/catalogService/services/ItemCategoriesService.ts +19 -9
- package/clients/catalogService/services/ItemImagesService.ts +23 -13
- package/clients/catalogService/services/ItemQuestionsService.ts +19 -9
- package/clients/catalogService/services/ItemReviewsService.ts +18 -8
- package/clients/catalogService/services/ItemTagsService.ts +17 -12
- package/clients/catalogService/services/ItemTypesService.ts +19 -9
- package/clients/catalogService/services/PricingRulesService.ts +19 -11
- package/clients/catalogService/services/ProductsService.ts +177 -214
- package/clients/{contactService → crmService}/core/ApiError.ts +24 -24
- package/clients/{contactService → crmService}/core/ApiRequestOptions.ts +16 -16
- package/clients/{contactService → crmService}/core/ApiResult.ts +10 -10
- package/clients/{contactService → crmService}/core/CancelablePromise.ts +130 -130
- package/clients/{contactService → crmService}/core/OpenAPI.ts +31 -31
- package/clients/{contactService → crmService}/core/request.ts +321 -321
- package/clients/crmService/index.ts +23 -0
- package/clients/crmService/models/CartDto.ts +18 -0
- package/clients/{cartService/models/WishListDtoEnvelope.ts → crmService/models/CartDtoEnvelope.ts} +3 -3
- package/clients/crmService/models/ContactDto.ts +57 -0
- package/clients/crmService/models/EmptyEnvelope.ts +11 -0
- package/clients/crmService/models/SocialProfileDto.ts +39 -0
- package/clients/crmService/models/SocialProfileDtoEnvelope.ts +14 -0
- package/clients/crmService/models/WalletDto.ts +22 -0
- package/clients/crmService/models/WalletDtoEnvelope.ts +14 -0
- package/clients/crmService/services/ContactsService.ts +286 -0
- package/clients/crmService/services/SyncService.ts +101 -0
- package/clients/forexService/core/ApiError.ts +24 -24
- package/clients/forexService/core/ApiRequestOptions.ts +16 -16
- package/clients/forexService/core/ApiResult.ts +10 -10
- package/clients/forexService/core/CancelablePromise.ts +130 -130
- package/clients/forexService/core/OpenAPI.ts +31 -31
- package/clients/forexService/core/request.ts +321 -321
- package/clients/forexService/index.ts +18 -30
- package/clients/{cartService/models/Envelope.ts → forexService/models/ErrorEnvelope.ts} +1 -2
- package/clients/forexService/models/ForexRatesDto.ts +1 -1
- package/clients/forexService/models/Money.ts +1 -1
- package/clients/forexService/services/ExchangeService.ts +17 -7
- package/clients/forexService/services/RatesService.ts +11 -1
- package/clients/holderService/core/ApiError.ts +24 -24
- package/clients/holderService/core/ApiRequestOptions.ts +16 -16
- package/clients/holderService/core/ApiResult.ts +10 -10
- package/clients/holderService/core/CancelablePromise.ts +130 -130
- package/clients/holderService/core/OpenAPI.ts +31 -31
- package/clients/holderService/core/request.ts +321 -321
- package/clients/holderService/index.ts +35 -31
- package/clients/holderService/models/AddressDto.ts +31 -0
- package/clients/holderService/models/AddressDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/CartDto.ts +18 -0
- package/clients/holderService/models/CartDtoEnvelope.ts +14 -0
- package/clients/holderService/models/InvoiceDto.ts +13 -0
- package/clients/{invoicingService/models/InvoiceDtoIReadOnlyListEnvelope.ts → holderService/models/InvoiceDtoListEnvelope.ts} +1 -1
- package/clients/holderService/models/NotificationDto.ts +16 -0
- package/clients/holderService/models/NotificationDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/OrderDto.ts +27 -0
- package/clients/holderService/models/OrderDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/PaymentDto.ts +17 -0
- package/clients/holderService/models/PaymentDtoListEnvelope.ts +14 -0
- package/clients/{identityService/models/AccountHolderDto.ts → holderService/models/PlatformUserDto.ts} +4 -4
- package/clients/holderService/models/PlatformUserDtoEnvelope.ts +14 -0
- package/clients/holderService/models/SocialProfileDto.ts +39 -0
- package/clients/holderService/models/SocialProfileDtoEnvelope.ts +14 -0
- package/clients/{identityService/models/BusinessDto.ts → holderService/models/TenantDto.ts} +16 -15
- package/clients/holderService/models/TenantDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/TenantEnrollmentDto.ts +14 -0
- package/clients/holderService/models/TenantEnrollmentDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/WalletDto.ts +22 -0
- package/clients/holderService/models/WalletDtoEnvelope.ts +14 -0
- package/clients/holderService/services/HolderService.ts +99 -28
- package/clients/identityService/core/ApiError.ts +24 -24
- package/clients/identityService/core/ApiRequestOptions.ts +16 -16
- package/clients/identityService/core/ApiResult.ts +10 -10
- package/clients/identityService/core/CancelablePromise.ts +130 -130
- package/clients/identityService/core/OpenAPI.ts +31 -31
- package/clients/identityService/core/request.ts +321 -321
- package/clients/identityService/index.ts +40 -53
- package/clients/identityService/models/AccountHolderCreateDto.ts +1 -0
- package/clients/identityService/models/ApiResponse.ts +4 -5
- package/clients/{holderService/models/AccountHolderDto.ts → identityService/models/PlatformUserDto.ts} +4 -4
- package/clients/{holderService/models/BusinessDto.ts → identityService/models/TenantDto.ts} +16 -15
- package/clients/identityService/services/CheckerService.ts +3 -2
- package/clients/identityService/services/OAuthService.ts +8 -6
- package/clients/inventoryService/core/ApiError.ts +24 -24
- package/clients/inventoryService/core/ApiRequestOptions.ts +16 -16
- package/clients/inventoryService/core/ApiResult.ts +10 -10
- package/clients/inventoryService/core/CancelablePromise.ts +130 -130
- package/clients/inventoryService/core/OpenAPI.ts +31 -31
- package/clients/inventoryService/core/request.ts +321 -321
- package/clients/inventoryService/index.ts +10 -24
- package/clients/invoicingService/core/ApiError.ts +24 -24
- package/clients/invoicingService/core/ApiRequestOptions.ts +16 -16
- package/clients/invoicingService/core/ApiResult.ts +10 -10
- package/clients/invoicingService/core/CancelablePromise.ts +130 -130
- package/clients/invoicingService/core/OpenAPI.ts +31 -31
- package/clients/invoicingService/core/request.ts +321 -321
- package/clients/invoicingService/index.ts +23 -28
- package/clients/invoicingService/models/EmptyEnvelope.ts +11 -0
- package/clients/invoicingService/models/InvoiceCreateDto.ts +11 -0
- package/clients/invoicingService/models/InvoiceDtoEnvelope.ts +14 -0
- package/clients/{cartService/models/ProductCartRecordDto.ts → invoicingService/models/InvoiceLineDto.ts} +7 -10
- package/clients/invoicingService/models/InvoiceLineDtoEnvelope.ts +14 -0
- package/clients/{catalogService/models/ItemPricePolicyDtoEnvelope.ts → invoicingService/models/InvoiceLineDtoListEnvelope.ts} +3 -3
- package/clients/{tenantService/models/IntPtr.ts → invoicingService/models/InvoiceUpdateDto.ts} +1 -1
- package/clients/invoicingService/models/ItemPriceCreateDto.ts +20 -0
- package/clients/invoicingService/models/ItemPriceUpdateDto.ts +14 -0
- package/clients/invoicingService/services/InvoicesService.ts +253 -15
- package/clients/ordersService/core/ApiError.ts +25 -0
- package/clients/ordersService/core/ApiRequestOptions.ts +17 -0
- package/clients/ordersService/core/ApiResult.ts +11 -0
- package/clients/ordersService/core/CancelablePromise.ts +131 -0
- package/clients/ordersService/core/OpenAPI.ts +32 -0
- package/clients/ordersService/core/request.ts +322 -0
- package/clients/ordersService/index.ts +23 -0
- package/clients/ordersService/models/EmptyEnvelope.ts +11 -0
- package/clients/ordersService/models/ErrorEnvelope.ts +12 -0
- package/clients/ordersService/models/ItemPriceCreateDto.ts +20 -0
- package/clients/ordersService/models/ItemPriceUpdateDto.ts +14 -0
- package/clients/ordersService/models/OrderCreateDto.ts +16 -0
- package/clients/ordersService/models/OrderDto.ts +27 -0
- package/clients/ordersService/models/OrderDtoEnvelope.ts +14 -0
- package/clients/ordersService/models/OrderDtoListEnvelope.ts +14 -0
- package/clients/ordersService/models/OrderLineDto.ts +95 -0
- package/clients/ordersService/models/OrderLineDtoEnvelope.ts +14 -0
- package/clients/ordersService/models/OrderLineDtoListEnvelope.ts +14 -0
- package/clients/ordersService/models/OrderUpdateDto.ts +12 -0
- package/clients/ordersService/services/OrdersService.ts +296 -0
- package/clients/pricingService/core/ApiError.ts +24 -24
- package/clients/pricingService/core/ApiRequestOptions.ts +16 -16
- package/clients/pricingService/core/ApiResult.ts +10 -10
- package/clients/pricingService/core/CancelablePromise.ts +130 -130
- package/clients/pricingService/core/OpenAPI.ts +31 -31
- package/clients/pricingService/core/request.ts +321 -321
- package/clients/pricingService/index.ts +27 -29
- package/clients/pricingService/models/EmptyEnvelope.ts +11 -0
- package/clients/pricingService/models/ItemPriceCreateDto.ts +20 -0
- package/clients/pricingService/models/ItemPriceDto.ts +20 -0
- package/clients/pricingService/models/ItemPriceDtoEnvelope.ts +14 -0
- package/clients/pricingService/models/ItemPriceDtoListEnvelope.ts +14 -0
- package/clients/pricingService/models/ItemPriceUpdateDto.ts +14 -0
- package/clients/pricingService/models/Money.ts +1 -1
- package/clients/pricingService/models/PriceListCreateDto.ts +18 -0
- package/clients/pricingService/models/PriceListDto.ts +17 -0
- package/clients/pricingService/models/PriceListDtoEnvelope.ts +14 -0
- package/clients/pricingService/models/PriceListDtoListEnvelope.ts +14 -0
- package/clients/pricingService/models/PriceListUpdateDto.ts +14 -0
- package/clients/pricingService/services/PriceListsService.ts +254 -8
- package/clients/systemService/core/ApiError.ts +25 -0
- package/clients/systemService/core/ApiRequestOptions.ts +17 -0
- package/clients/systemService/core/ApiResult.ts +11 -0
- package/clients/systemService/core/CancelablePromise.ts +131 -0
- package/clients/systemService/core/OpenAPI.ts +32 -0
- package/clients/systemService/core/request.ts +322 -0
- package/clients/systemService/index.ts +14 -0
- package/clients/systemService/models/ErrorEnvelope.ts +12 -0
- package/clients/systemService/models/StringListEnvelope.ts +13 -0
- package/clients/systemService/services/AntiforgeryService.ts +29 -0
- package/clients/systemService/services/MigrationsService.ts +44 -0
- package/clients/tenantService/core/ApiError.ts +24 -24
- package/clients/tenantService/core/ApiRequestOptions.ts +16 -16
- package/clients/tenantService/core/ApiResult.ts +10 -10
- package/clients/tenantService/core/CancelablePromise.ts +130 -130
- package/clients/tenantService/core/OpenAPI.ts +31 -31
- package/clients/tenantService/core/request.ts +321 -321
- package/clients/tenantService/index.ts +33 -62
- package/clients/tenantService/models/BooleanEnvelope.ts +13 -0
- package/clients/tenantService/models/CartDto.ts +18 -0
- package/clients/tenantService/models/CartDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/EmptyEnvelope.ts +11 -0
- package/clients/tenantService/models/ErrorEnvelope.ts +12 -0
- package/clients/tenantService/models/PlatformUserDto.ts +73 -0
- package/clients/tenantService/models/PlatformUserDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/SocialProfileDto.ts +39 -0
- package/clients/tenantService/models/SocialProfileDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/{BusinessCreateDto.ts → TenantCreateDto.ts} +2 -1
- package/clients/tenantService/models/{BusinessDto.ts → TenantDto.ts} +16 -15
- package/clients/tenantService/models/TenantDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantEnrollmentDto.ts +14 -0
- package/clients/{cartService/models/WishListDtoIReadOnlyListEnvelope.ts → tenantService/models/TenantEnrollmentDtoEnvelope.ts} +3 -3
- package/clients/tenantService/models/TenantEnrollmentDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/WalletDto.ts +2 -1
- package/clients/tenantService/models/WalletDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/{Error.ts → WebPortalDto.ts} +5 -3
- package/clients/tenantService/models/WebPortalDtoListEnvelope.ts +14 -0
- package/clients/tenantService/services/TenantsService.ts +230 -105
- package/clients/walletsService/core/ApiError.ts +25 -0
- package/clients/walletsService/core/ApiRequestOptions.ts +17 -0
- package/clients/walletsService/core/ApiResult.ts +11 -0
- package/clients/walletsService/core/CancelablePromise.ts +131 -0
- package/clients/walletsService/core/OpenAPI.ts +32 -0
- package/clients/walletsService/core/request.ts +322 -0
- package/clients/walletsService/index.ts +22 -0
- package/clients/walletsService/models/ErrorEnvelope.ts +12 -0
- package/clients/walletsService/models/InvoiceDto.ts +13 -0
- package/clients/walletsService/models/InvoiceDtoListEnvelope.ts +14 -0
- package/clients/walletsService/models/LocationDto.ts +31 -0
- package/clients/walletsService/models/LocationDtoListEnvelope.ts +14 -0
- package/clients/walletsService/models/OrderDto.ts +27 -0
- package/clients/walletsService/models/OrderDtoListEnvelope.ts +14 -0
- package/clients/walletsService/models/PaymentDto.ts +17 -0
- package/clients/walletsService/models/PaymentDtoListEnvelope.ts +14 -0
- package/clients/walletsService/models/WalletDto.ts +22 -0
- package/clients/walletsService/models/WalletDtoEnvelope.ts +14 -0
- package/clients/walletsService/services/WalletsService.ts +174 -0
- package/package.json +23 -21
- package/schemas/cartService/schema.s.ts +1166 -1560
- package/schemas/catalogService/schema.s.ts +5982 -6109
- package/schemas/crmService/schema.s.ts +804 -0
- package/schemas/forexService/schema.s.ts +602 -526
- package/schemas/holderService/schema.s.ts +831 -831
- package/schemas/identityService/schema.s.ts +744 -1119
- package/schemas/inventoryService/schema.s.ts +43 -425
- package/schemas/invoicingService/schema.s.ts +590 -521
- package/schemas/ordersService/schema.s.ts +605 -0
- package/schemas/pricingService/schema.s.ts +579 -549
- package/schemas/systemService/schema.s.ts +138 -0
- package/schemas/tenantService/schema.s.ts +1116 -1606
- package/schemas/walletsService/schema.s.ts +466 -0
- package/tsconfig.json +110 -0
- package/vite.config.js +29 -0
- package/wwwroot/build/bundle.js +1 -0
- package/clients/cartService/models/AccessTokenResponse.ts +0 -11
- package/clients/cartService/models/Error.ts +0 -10
- package/clients/cartService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/cartService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/cartService/models/InfoRequest.ts +0 -10
- package/clients/cartService/models/LoginRequest.ts +0 -11
- package/clients/cartService/models/RefreshRequest.ts +0 -8
- package/clients/cartService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/cartService/models/ResetPasswordRequest.ts +0 -10
- package/clients/cartService/models/ResponseStatus.ts +0 -12
- package/clients/cartService/models/TwoFactorRequest.ts +0 -12
- package/clients/cartService/models/TwoFactorResponse.ts +0 -12
- package/clients/cartService/models/WishListItemRecordDtoIReadOnlyListEnvelope.ts +0 -14
- package/clients/cartService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/catalogService/models/AccessTokenResponse.ts +0 -11
- package/clients/catalogService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/catalogService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/catalogService/models/InfoRequest.ts +0 -10
- package/clients/catalogService/models/InfoResponse.ts +0 -9
- package/clients/catalogService/models/ItemAttachmentDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemCategoryDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemImageDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemPricePolicyDto.ts +0 -35
- package/clients/catalogService/models/ItemPricePolicyDtoListEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemQuestionDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemReviewDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemTagDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemTypeDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/LoginRequest.ts +0 -11
- package/clients/catalogService/models/PricingRuleDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/RefreshRequest.ts +0 -8
- package/clients/catalogService/models/RegisterRequest.ts +0 -9
- package/clients/catalogService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/catalogService/models/ResetPasswordRequest.ts +0 -10
- package/clients/catalogService/models/TwoFactorRequest.ts +0 -12
- package/clients/catalogService/models/TwoFactorResponse.ts +0 -12
- package/clients/catalogService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/contactService/index.ts +0 -28
- package/clients/contactService/models/AccessTokenResponse.ts +0 -11
- package/clients/contactService/models/ContactDto.ts +0 -44
- package/clients/contactService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/contactService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/contactService/models/InfoRequest.ts +0 -10
- package/clients/contactService/models/InfoResponse.ts +0 -9
- package/clients/contactService/models/LoginRequest.ts +0 -11
- package/clients/contactService/models/RefreshRequest.ts +0 -8
- package/clients/contactService/models/RegisterRequest.ts +0 -9
- package/clients/contactService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/contactService/models/ResetPasswordRequest.ts +0 -10
- package/clients/contactService/models/TwoFactorRequest.ts +0 -12
- package/clients/contactService/models/TwoFactorResponse.ts +0 -12
- package/clients/contactService/services/ContactsService.ts +0 -140
- package/clients/contactService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/forexService/models/AccessTokenResponse.ts +0 -11
- package/clients/forexService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/forexService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/forexService/models/InfoRequest.ts +0 -10
- package/clients/forexService/models/InfoResponse.ts +0 -9
- package/clients/forexService/models/LoginRequest.ts +0 -11
- package/clients/forexService/models/RefreshRequest.ts +0 -8
- package/clients/forexService/models/RegisterRequest.ts +0 -9
- package/clients/forexService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/forexService/models/ResetPasswordRequest.ts +0 -10
- package/clients/forexService/models/TwoFactorRequest.ts +0 -12
- package/clients/forexService/models/TwoFactorResponse.ts +0 -12
- package/clients/forexService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/holderService/models/AccessTokenResponse.ts +0 -11
- package/clients/holderService/models/AccountHolderCreateDto.ts +0 -34
- package/clients/holderService/models/AccountHolderDtoEnvelope.ts +0 -14
- package/clients/holderService/models/BusinessEnrollmentDto.ts +0 -19
- package/clients/holderService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/holderService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/holderService/models/InfoRequest.ts +0 -10
- package/clients/holderService/models/InfoResponse.ts +0 -9
- package/clients/holderService/models/LoginRequest.ts +0 -11
- package/clients/holderService/models/RefreshRequest.ts +0 -8
- package/clients/holderService/models/RegisterRequest.ts +0 -9
- package/clients/holderService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/holderService/models/ResetPasswordRequest.ts +0 -10
- package/clients/holderService/models/TwoFactorRequest.ts +0 -12
- package/clients/holderService/models/TwoFactorResponse.ts +0 -12
- package/clients/holderService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/identityService/models/AccessTokenResponse.ts +0 -11
- package/clients/identityService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/identityService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/identityService/models/InfoRequest.ts +0 -10
- package/clients/identityService/models/InfoResponse.ts +0 -9
- package/clients/identityService/models/LoginRequest.ts +0 -11
- package/clients/identityService/models/RefreshRequest.ts +0 -8
- package/clients/identityService/models/RegisterRequest.ts +0 -9
- package/clients/identityService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/identityService/models/ResetPasswordRequest.ts +0 -10
- package/clients/identityService/models/TwoFactorRequest.ts +0 -12
- package/clients/identityService/models/TwoFactorResponse.ts +0 -12
- package/clients/identityService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/inventoryService/models/AccessTokenResponse.ts +0 -11
- package/clients/inventoryService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/inventoryService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/inventoryService/models/InfoRequest.ts +0 -10
- package/clients/inventoryService/models/InfoResponse.ts +0 -9
- package/clients/inventoryService/models/LoginRequest.ts +0 -11
- package/clients/inventoryService/models/RefreshRequest.ts +0 -8
- package/clients/inventoryService/models/RegisterRequest.ts +0 -9
- package/clients/inventoryService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/inventoryService/models/ResetPasswordRequest.ts +0 -10
- package/clients/inventoryService/models/TwoFactorRequest.ts +0 -12
- package/clients/inventoryService/models/TwoFactorResponse.ts +0 -12
- package/clients/inventoryService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/invoicingService/models/AccessTokenResponse.ts +0 -11
- package/clients/invoicingService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/invoicingService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/invoicingService/models/InfoRequest.ts +0 -10
- package/clients/invoicingService/models/InfoResponse.ts +0 -9
- package/clients/invoicingService/models/LoginRequest.ts +0 -11
- package/clients/invoicingService/models/RefreshRequest.ts +0 -8
- package/clients/invoicingService/models/RegisterRequest.ts +0 -9
- package/clients/invoicingService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/invoicingService/models/ResetPasswordRequest.ts +0 -10
- package/clients/invoicingService/models/TwoFactorRequest.ts +0 -12
- package/clients/invoicingService/models/TwoFactorResponse.ts +0 -12
- package/clients/invoicingService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/pricingService/models/AccessTokenResponse.ts +0 -11
- package/clients/pricingService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/pricingService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/pricingService/models/InfoRequest.ts +0 -10
- package/clients/pricingService/models/InfoResponse.ts +0 -9
- package/clients/pricingService/models/LoginRequest.ts +0 -11
- package/clients/pricingService/models/RefreshRequest.ts +0 -8
- package/clients/pricingService/models/RegisterRequest.ts +0 -9
- package/clients/pricingService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/pricingService/models/ResetPasswordRequest.ts +0 -10
- package/clients/pricingService/models/TwoFactorRequest.ts +0 -12
- package/clients/pricingService/models/TwoFactorResponse.ts +0 -12
- package/clients/pricingService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/tenantService/models/AccessTokenResponse.ts +0 -11
- package/clients/tenantService/models/AccountHolderCreateDto.ts +0 -34
- package/clients/tenantService/models/AggregateException.ts +0 -18
- package/clients/tenantService/models/Assembly.ts +0 -46
- package/clients/tenantService/models/BusinessEnrollmentDto.ts +0 -19
- package/clients/tenantService/models/BusinessEnrollmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/BusinessEnrollmentDtoIReadOnlyListEnvelope.ts +0 -14
- package/clients/tenantService/models/ConstructorInfo.ts +0 -103
- package/clients/tenantService/models/CustomAttributeData.ts +0 -15
- package/clients/tenantService/models/CustomAttributeNamedArgument.ts +0 -13
- package/clients/tenantService/models/CustomAttributeTypedArgument.ts +0 -10
- package/clients/tenantService/models/EventInfo.ts +0 -44
- package/clients/tenantService/models/Exception.ts +0 -16
- package/clients/tenantService/models/FieldInfo.ts +0 -74
- package/clients/tenantService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/tenantService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/tenantService/models/ICustomAttributeProvider.ts +0 -5
- package/clients/tenantService/models/InfoRequest.ts +0 -10
- package/clients/tenantService/models/InfoResponse.ts +0 -9
- package/clients/tenantService/models/LoginRequest.ts +0 -11
- package/clients/tenantService/models/MemberInfo.ts +0 -31
- package/clients/tenantService/models/MethodBase.ts +0 -103
- package/clients/tenantService/models/MethodInfo.ts +0 -108
- package/clients/tenantService/models/Module.ts +0 -19
- package/clients/tenantService/models/ModuleHandle.ts +0 -8
- package/clients/tenantService/models/ParameterInfo.ts +0 -40
- package/clients/tenantService/models/PropertyInfo.ts +0 -49
- package/clients/tenantService/models/RefreshRequest.ts +0 -8
- package/clients/tenantService/models/RegisterRequest.ts +0 -9
- package/clients/tenantService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/tenantService/models/ResetPasswordRequest.ts +0 -10
- package/clients/tenantService/models/ResponseStatus.ts +0 -12
- package/clients/tenantService/models/RuntimeFieldHandle.ts +0 -9
- package/clients/tenantService/models/RuntimeMethodHandle.ts +0 -9
- package/clients/tenantService/models/RuntimeTypeHandle.ts +0 -9
- package/clients/tenantService/models/StructLayoutAttribute.ts +0 -16
- package/clients/tenantService/models/TwoFactorRequest.ts +0 -12
- package/clients/tenantService/models/TwoFactorResponse.ts +0 -12
- package/clients/tenantService/models/Type.ts +0 -141
- package/clients/tenantService/models/TypeInfo.ts +0 -156
- package/clients/tenantService/models/WalletDtoTask.ts +0 -40
- package/clients/tenantService/models/WalletDtoTaskEnvelope.ts +0 -14
- package/clients/tenantService/services/FenixAllianceAbsWebService.ts +0 -293
- package/schemas/contactService/schema.s.ts +0 -674
- /package/clients/{contactService → crmService}/models/ContactDtoEnvelope.ts +0 -0
- /package/clients/{contactService → crmService}/models/ContactDtoListEnvelope.ts +0 -0
- /package/clients/{contactService → crmService}/models/ErrorEnvelope.ts +0 -0
|
@@ -1,52 +1,36 @@
|
|
|
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 {
|
|
11
|
-
export type {
|
|
12
|
-
export type {
|
|
13
|
-
export type {
|
|
14
|
-
export type {
|
|
15
|
-
export type {
|
|
16
|
-
export type {
|
|
17
|
-
export type {
|
|
18
|
-
export type { ErrorEnvelope } from './models/ErrorEnvelope';
|
|
19
|
-
export type {
|
|
20
|
-
export
|
|
21
|
-
export type {
|
|
22
|
-
export type {
|
|
23
|
-
export type {
|
|
24
|
-
export {
|
|
25
|
-
export type {
|
|
26
|
-
export type {
|
|
27
|
-
export type {
|
|
28
|
-
export type {
|
|
29
|
-
export type {
|
|
30
|
-
export type {
|
|
31
|
-
export type {
|
|
32
|
-
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
37
|
-
export type { ResetPasswordRequest } from './models/ResetPasswordRequest';
|
|
38
|
-
export type { ResponseStatus } from './models/ResponseStatus';
|
|
39
|
-
export type { TwoFactorRequest } from './models/TwoFactorRequest';
|
|
40
|
-
export type { TwoFactorResponse } from './models/TwoFactorResponse';
|
|
41
|
-
export type { WishListDto } from './models/WishListDto';
|
|
42
|
-
export type { WishListDtoEnvelope } from './models/WishListDtoEnvelope';
|
|
43
|
-
export type { WishListDtoIReadOnlyListEnvelope } from './models/WishListDtoIReadOnlyListEnvelope';
|
|
44
|
-
export type { WishListItemRecordDto } from './models/WishListItemRecordDto';
|
|
45
|
-
export type { WishListItemRecordDtoIReadOnlyListEnvelope } from './models/WishListItemRecordDtoIReadOnlyListEnvelope';
|
|
46
|
-
export type { WishListUpdateDto } from './models/WishListUpdateDto';
|
|
47
|
-
|
|
48
|
-
export { CartsService } from './services/CartsService';
|
|
49
|
-
export { CompareService } from './services/CompareService';
|
|
50
|
-
export { FenixAllianceAbsWebService } from './services/FenixAllianceAbsWebService';
|
|
51
|
-
export { RecordsService } from './services/RecordsService';
|
|
52
|
-
export { WishListsService } from './services/WishListsService';
|
|
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 { AddProductToCompareRequest } from './models/AddProductToCompareRequest';
|
|
11
|
+
export type { BooleanEnvelope } from './models/BooleanEnvelope';
|
|
12
|
+
export type { CartDto } from './models/CartDto';
|
|
13
|
+
export type { CartDtoEnvelope } from './models/CartDtoEnvelope';
|
|
14
|
+
export type { CartUpdateRequest } from './models/CartUpdateRequest';
|
|
15
|
+
export type { CountrySwitchRequest } from './models/CountrySwitchRequest';
|
|
16
|
+
export type { CurrencySwitchRequest } from './models/CurrencySwitchRequest';
|
|
17
|
+
export type { EmptyEnvelope } from './models/EmptyEnvelope';
|
|
18
|
+
export type { ErrorEnvelope } from './models/ErrorEnvelope';
|
|
19
|
+
export type { ItemCartRecordCreateDto } from './models/ItemCartRecordCreateDto';
|
|
20
|
+
export { ItemCartRecordDto } from './models/ItemCartRecordDto';
|
|
21
|
+
export type { ItemCartRecordDtoEnvelope } from './models/ItemCartRecordDtoEnvelope';
|
|
22
|
+
export type { ItemCartRecordDtoListEnvelope } from './models/ItemCartRecordDtoListEnvelope';
|
|
23
|
+
export type { ItemCartRecordUpdateDto } from './models/ItemCartRecordUpdateDto';
|
|
24
|
+
export type { ItemToCompareCartRecordDto } from './models/ItemToCompareCartRecordDto';
|
|
25
|
+
export type { ItemToCompareCartRecordDtoEnvelope } from './models/ItemToCompareCartRecordDtoEnvelope';
|
|
26
|
+
export type { ItemToCompareCartRecordDtoListEnvelope } from './models/ItemToCompareCartRecordDtoListEnvelope';
|
|
27
|
+
export type { NewWishListRequest } from './models/NewWishListRequest';
|
|
28
|
+
export type { ProductToWishListRequest } from './models/ProductToWishListRequest';
|
|
29
|
+
export type { WishListDto } from './models/WishListDto';
|
|
30
|
+
export type { WishListItemRecordDto } from './models/WishListItemRecordDto';
|
|
31
|
+
export type { WishListUpdateDto } from './models/WishListUpdateDto';
|
|
32
|
+
|
|
33
|
+
export { CartsService } from './services/CartsService';
|
|
34
|
+
export { CompareService } from './services/CompareService';
|
|
35
|
+
export { RecordsService } from './services/RecordsService';
|
|
36
|
+
export { WishListsService } from './services/WishListsService';
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
export type
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
export type CartUpdateRequest = {
|
|
6
|
+
currencyID?: string | null;
|
|
7
|
+
countryID?: string | null;
|
|
8
8
|
};
|
|
9
9
|
|
|
@@ -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 EmptyEnvelope = {
|
|
6
|
+
errorMessage?: string | null;
|
|
7
|
+
readonly isSuccess?: boolean;
|
|
8
|
+
readonly timestamp?: string;
|
|
9
|
+
readonly activityId?: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -74,7 +74,8 @@ export type ItemCartRecordDto = {
|
|
|
74
74
|
returnPolicyId?: string | null;
|
|
75
75
|
refundPolicyId?: string | null;
|
|
76
76
|
warrantyPolicyId?: string | null;
|
|
77
|
-
|
|
77
|
+
shipmentPolicyId?: string | null;
|
|
78
|
+
shippingLocationId?: string | null;
|
|
78
79
|
locationId?: string | null;
|
|
79
80
|
quoteItemRecordId?: string | null;
|
|
80
81
|
businessProfileRecordId?: string | null;
|
|
@@ -84,6 +85,7 @@ export type ItemCartRecordDto = {
|
|
|
84
85
|
itemShortDescription?: string | null;
|
|
85
86
|
itemTitle?: string | null;
|
|
86
87
|
itemPrimaryImageUrl?: string | null;
|
|
88
|
+
shippingPolicyId?: string | null;
|
|
87
89
|
};
|
|
88
90
|
export namespace ItemCartRecordDto {
|
|
89
91
|
export enum taxCalculationMethod {
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type {
|
|
6
|
-
export type
|
|
5
|
+
import type { ItemCartRecordDto } from './ItemCartRecordDto';
|
|
6
|
+
export type ItemCartRecordDtoListEnvelope = {
|
|
7
7
|
errorMessage?: string | null;
|
|
8
8
|
readonly isSuccess?: boolean;
|
|
9
9
|
readonly timestamp?: string;
|
|
10
10
|
readonly activityId?: string | null;
|
|
11
11
|
correlationId?: string | null;
|
|
12
|
-
result?: Array<
|
|
12
|
+
result?: Array<ItemCartRecordDto> | null;
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { ItemToCompareCartRecordDto } from './ItemToCompareCartRecordDto';
|
|
6
|
-
export type
|
|
6
|
+
export type ItemToCompareCartRecordDtoListEnvelope = {
|
|
7
7
|
errorMessage?: string | null;
|
|
8
8
|
readonly isSuccess?: boolean;
|
|
9
9
|
readonly timestamp?: string;
|
|
@@ -3,10 +3,11 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
export type WishListDto = {
|
|
6
|
+
timestamp?: string | null;
|
|
6
7
|
id?: string | null;
|
|
7
8
|
title?: string | null;
|
|
8
9
|
description?: string | null;
|
|
9
|
-
|
|
10
|
+
cartId?: string | null;
|
|
10
11
|
public?: boolean;
|
|
11
12
|
};
|
|
12
13
|
|
|
@@ -2,21 +2,23 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type { CartDto } from '../models/CartDto';
|
|
6
5
|
import type { CartDtoEnvelope } from '../models/CartDtoEnvelope';
|
|
6
|
+
import type { CartUpdateRequest } from '../models/CartUpdateRequest';
|
|
7
|
+
import type { CountrySwitchRequest } from '../models/CountrySwitchRequest';
|
|
7
8
|
import type { CurrencySwitchRequest } from '../models/CurrencySwitchRequest';
|
|
9
|
+
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
8
10
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
11
|
import { OpenAPI } from '../core/OpenAPI';
|
|
10
12
|
import { request as __request } from '../core/request';
|
|
11
13
|
export class CartsService {
|
|
12
14
|
/**
|
|
13
15
|
* @param cartId
|
|
14
|
-
* @returns
|
|
16
|
+
* @returns CartDtoEnvelope Success
|
|
15
17
|
* @throws ApiError
|
|
16
18
|
*/
|
|
17
19
|
public static getApiV2CartServiceCarts(
|
|
18
20
|
cartId: string,
|
|
19
|
-
): CancelablePromise<
|
|
21
|
+
): CancelablePromise<CartDtoEnvelope> {
|
|
20
22
|
return __request(OpenAPI, {
|
|
21
23
|
method: 'GET',
|
|
22
24
|
url: '/api/v2/CartService/Carts/{cartID}',
|
|
@@ -25,6 +27,31 @@ export class CartsService {
|
|
|
25
27
|
},
|
|
26
28
|
errors: {
|
|
27
29
|
401: `Unauthorized`,
|
|
30
|
+
403: `Forbidden`,
|
|
31
|
+
},
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* @param cartId
|
|
36
|
+
* @param requestBody
|
|
37
|
+
* @returns EmptyEnvelope Success
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
public static putApiV2CartServiceCarts(
|
|
41
|
+
cartId: string,
|
|
42
|
+
requestBody?: CartUpdateRequest,
|
|
43
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
44
|
+
return __request(OpenAPI, {
|
|
45
|
+
method: 'PUT',
|
|
46
|
+
url: '/api/v2/CartService/Carts/{cartId}',
|
|
47
|
+
path: {
|
|
48
|
+
'cartId': cartId,
|
|
49
|
+
},
|
|
50
|
+
body: requestBody,
|
|
51
|
+
mediaType: 'application/json',
|
|
52
|
+
errors: {
|
|
53
|
+
401: `Unauthorized`,
|
|
54
|
+
403: `Forbidden`,
|
|
28
55
|
},
|
|
29
56
|
});
|
|
30
57
|
}
|
|
@@ -36,6 +63,10 @@ export class CartsService {
|
|
|
36
63
|
return __request(OpenAPI, {
|
|
37
64
|
method: 'GET',
|
|
38
65
|
url: '/api/v2/CartService/Carts/ActingCart',
|
|
66
|
+
errors: {
|
|
67
|
+
401: `Unauthorized`,
|
|
68
|
+
403: `Forbidden`,
|
|
69
|
+
},
|
|
39
70
|
});
|
|
40
71
|
}
|
|
41
72
|
/**
|
|
@@ -66,18 +97,18 @@ export class CartsService {
|
|
|
66
97
|
});
|
|
67
98
|
}
|
|
68
99
|
/**
|
|
69
|
-
* @param
|
|
100
|
+
* @param tenantId
|
|
70
101
|
* @returns CartDtoEnvelope Success
|
|
71
102
|
* @throws ApiError
|
|
72
103
|
*/
|
|
73
104
|
public static getApiV2CartServiceCartsBusinessCart(
|
|
74
|
-
|
|
105
|
+
tenantId: string,
|
|
75
106
|
): CancelablePromise<CartDtoEnvelope> {
|
|
76
107
|
return __request(OpenAPI, {
|
|
77
108
|
method: 'GET',
|
|
78
|
-
url: '/api/v2/CartService/Carts/BusinessCart/{
|
|
109
|
+
url: '/api/v2/CartService/Carts/BusinessCart/{tenantId}',
|
|
79
110
|
path: {
|
|
80
|
-
'
|
|
111
|
+
'tenantId': tenantId,
|
|
81
112
|
},
|
|
82
113
|
errors: {
|
|
83
114
|
401: `Unauthorized`,
|
|
@@ -100,4 +131,19 @@ export class CartsService {
|
|
|
100
131
|
mediaType: 'application/json',
|
|
101
132
|
});
|
|
102
133
|
}
|
|
134
|
+
/**
|
|
135
|
+
* @param requestBody
|
|
136
|
+
* @returns any Success
|
|
137
|
+
* @throws ApiError
|
|
138
|
+
*/
|
|
139
|
+
public static postApiV2CartServiceCartsSetCountry(
|
|
140
|
+
requestBody?: CountrySwitchRequest,
|
|
141
|
+
): CancelablePromise<any> {
|
|
142
|
+
return __request(OpenAPI, {
|
|
143
|
+
method: 'POST',
|
|
144
|
+
url: '/api/v2/CartService/Carts/SetCountry',
|
|
145
|
+
body: requestBody,
|
|
146
|
+
mediaType: 'application/json',
|
|
147
|
+
});
|
|
148
|
+
}
|
|
103
149
|
}
|
|
@@ -6,19 +6,19 @@ import type { AddProductToCompareRequest } from '../models/AddProductToCompareRe
|
|
|
6
6
|
import type { ItemCartRecordDto } from '../models/ItemCartRecordDto';
|
|
7
7
|
import type { ItemToCompareCartRecordDto } from '../models/ItemToCompareCartRecordDto';
|
|
8
8
|
import type { ItemToCompareCartRecordDtoEnvelope } from '../models/ItemToCompareCartRecordDtoEnvelope';
|
|
9
|
-
import type {
|
|
9
|
+
import type { ItemToCompareCartRecordDtoListEnvelope } from '../models/ItemToCompareCartRecordDtoListEnvelope';
|
|
10
10
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
11
11
|
import { OpenAPI } from '../core/OpenAPI';
|
|
12
12
|
import { request as __request } from '../core/request';
|
|
13
13
|
export class CompareService {
|
|
14
14
|
/**
|
|
15
15
|
* @param cartId
|
|
16
|
-
* @returns
|
|
16
|
+
* @returns ItemToCompareCartRecordDtoListEnvelope Success
|
|
17
17
|
* @throws ApiError
|
|
18
18
|
*/
|
|
19
19
|
public static getApiV2CartServiceCompare(
|
|
20
20
|
cartId: string,
|
|
21
|
-
): CancelablePromise<
|
|
21
|
+
): CancelablePromise<ItemToCompareCartRecordDtoListEnvelope> {
|
|
22
22
|
return __request(OpenAPI, {
|
|
23
23
|
method: 'GET',
|
|
24
24
|
url: '/api/v2/CartService/Compare/{cartId}',
|
|
@@ -27,6 +27,7 @@ export class CompareService {
|
|
|
27
27
|
},
|
|
28
28
|
errors: {
|
|
29
29
|
401: `Unauthorized`,
|
|
30
|
+
404: `Not Found`,
|
|
30
31
|
},
|
|
31
32
|
});
|
|
32
33
|
}
|
|
@@ -45,7 +46,7 @@ export class CompareService {
|
|
|
45
46
|
'recordId': recordId,
|
|
46
47
|
},
|
|
47
48
|
errors: {
|
|
48
|
-
|
|
49
|
+
404: `Not Found`,
|
|
49
50
|
},
|
|
50
51
|
});
|
|
51
52
|
}
|
|
@@ -63,7 +64,7 @@ export class CompareService {
|
|
|
63
64
|
body: requestBody,
|
|
64
65
|
mediaType: 'application/json',
|
|
65
66
|
errors: {
|
|
66
|
-
|
|
67
|
+
404: `Not Found`,
|
|
67
68
|
},
|
|
68
69
|
});
|
|
69
70
|
}
|
|
@@ -82,7 +83,7 @@ export class CompareService {
|
|
|
82
83
|
'recordId': recordId,
|
|
83
84
|
},
|
|
84
85
|
errors: {
|
|
85
|
-
|
|
86
|
+
404: `Not Found`,
|
|
86
87
|
},
|
|
87
88
|
});
|
|
88
89
|
}
|
|
@@ -3,12 +3,10 @@
|
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
5
|
import type { BooleanEnvelope } from '../models/BooleanEnvelope';
|
|
6
|
-
import type {
|
|
6
|
+
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
7
7
|
import type { ItemCartRecordCreateDto } from '../models/ItemCartRecordCreateDto';
|
|
8
|
-
import type {
|
|
9
|
-
import type { ItemCartRecordDtoEnvelope } from '../models/ItemCartRecordDtoEnvelope';
|
|
8
|
+
import type { ItemCartRecordDtoListEnvelope } from '../models/ItemCartRecordDtoListEnvelope';
|
|
10
9
|
import type { ItemCartRecordUpdateDto } from '../models/ItemCartRecordUpdateDto';
|
|
11
|
-
import type { ProductCartRecordDto } from '../models/ProductCartRecordDto';
|
|
12
10
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
13
11
|
import { OpenAPI } from '../core/OpenAPI';
|
|
14
12
|
import { request as __request } from '../core/request';
|
|
@@ -17,14 +15,14 @@ export class RecordsService {
|
|
|
17
15
|
* @param cartId
|
|
18
16
|
* @param itemId
|
|
19
17
|
* @param quantity
|
|
20
|
-
* @returns
|
|
18
|
+
* @returns EmptyEnvelope Success
|
|
21
19
|
* @throws ApiError
|
|
22
20
|
*/
|
|
23
21
|
public static postApiV2CartServiceRecordsAddItem(
|
|
24
22
|
cartId?: string,
|
|
25
23
|
itemId?: string,
|
|
26
24
|
quantity?: number,
|
|
27
|
-
): CancelablePromise<
|
|
25
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
28
26
|
return __request(OpenAPI, {
|
|
29
27
|
method: 'POST',
|
|
30
28
|
url: '/api/v2/CartService/Records/AddItem',
|
|
@@ -33,16 +31,20 @@ export class RecordsService {
|
|
|
33
31
|
'itemId': itemId,
|
|
34
32
|
'quantity': quantity,
|
|
35
33
|
},
|
|
34
|
+
errors: {
|
|
35
|
+
401: `Unauthorized`,
|
|
36
|
+
404: `Not Found`,
|
|
37
|
+
},
|
|
36
38
|
});
|
|
37
39
|
}
|
|
38
40
|
/**
|
|
39
41
|
* @param cartId
|
|
40
|
-
* @returns
|
|
42
|
+
* @returns ItemCartRecordDtoListEnvelope Success
|
|
41
43
|
* @throws ApiError
|
|
42
44
|
*/
|
|
43
45
|
public static getApiV2CartServiceRecords(
|
|
44
46
|
cartId: string,
|
|
45
|
-
): CancelablePromise<
|
|
47
|
+
): CancelablePromise<ItemCartRecordDtoListEnvelope> {
|
|
46
48
|
return __request(OpenAPI, {
|
|
47
49
|
method: 'GET',
|
|
48
50
|
url: '/api/v2/CartService/Records/{cartID}',
|
|
@@ -51,17 +53,18 @@ export class RecordsService {
|
|
|
51
53
|
},
|
|
52
54
|
errors: {
|
|
53
55
|
401: `Unauthorized`,
|
|
56
|
+
404: `Not Found`,
|
|
54
57
|
},
|
|
55
58
|
});
|
|
56
59
|
}
|
|
57
60
|
/**
|
|
58
61
|
* @param requestBody
|
|
59
|
-
* @returns
|
|
62
|
+
* @returns EmptyEnvelope Success
|
|
60
63
|
* @throws ApiError
|
|
61
64
|
*/
|
|
62
65
|
public static postApiV2CartServiceRecords(
|
|
63
66
|
requestBody?: ItemCartRecordCreateDto,
|
|
64
|
-
): CancelablePromise<
|
|
67
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
65
68
|
return __request(OpenAPI, {
|
|
66
69
|
method: 'POST',
|
|
67
70
|
url: '/api/v2/CartService/Records',
|
|
@@ -76,13 +79,13 @@ export class RecordsService {
|
|
|
76
79
|
/**
|
|
77
80
|
* @param cartId
|
|
78
81
|
* @param productId
|
|
79
|
-
* @returns
|
|
82
|
+
* @returns EmptyEnvelope Success
|
|
80
83
|
* @throws ApiError
|
|
81
84
|
*/
|
|
82
85
|
public static deleteApiV2CartServiceRecords(
|
|
83
86
|
cartId?: string,
|
|
84
87
|
productId?: string,
|
|
85
|
-
): CancelablePromise<
|
|
88
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
86
89
|
return __request(OpenAPI, {
|
|
87
90
|
method: 'DELETE',
|
|
88
91
|
url: '/api/v2/CartService/Records',
|
|
@@ -121,12 +124,12 @@ export class RecordsService {
|
|
|
121
124
|
}
|
|
122
125
|
/**
|
|
123
126
|
* @param cartId
|
|
124
|
-
* @returns
|
|
127
|
+
* @returns EmptyEnvelope Success
|
|
125
128
|
* @throws ApiError
|
|
126
129
|
*/
|
|
127
130
|
public static postApiV2CartServiceRecordsClearCart(
|
|
128
131
|
cartId: string,
|
|
129
|
-
): CancelablePromise<
|
|
132
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
130
133
|
return __request(OpenAPI, {
|
|
131
134
|
method: 'POST',
|
|
132
135
|
url: '/api/v2/CartService/Records/ClearCart',
|
|
@@ -141,12 +144,12 @@ export class RecordsService {
|
|
|
141
144
|
}
|
|
142
145
|
/**
|
|
143
146
|
* @param recordId
|
|
144
|
-
* @returns
|
|
147
|
+
* @returns EmptyEnvelope Success
|
|
145
148
|
* @throws ApiError
|
|
146
149
|
*/
|
|
147
150
|
public static getApiV2CartServiceRecordsDetails(
|
|
148
151
|
recordId: string,
|
|
149
|
-
): CancelablePromise<
|
|
152
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
150
153
|
return __request(OpenAPI, {
|
|
151
154
|
method: 'GET',
|
|
152
155
|
url: '/api/v2/CartService/Records/{recordId}/Details',
|
|
@@ -162,13 +165,13 @@ export class RecordsService {
|
|
|
162
165
|
/**
|
|
163
166
|
* @param recordId
|
|
164
167
|
* @param requestBody
|
|
165
|
-
* @returns
|
|
168
|
+
* @returns EmptyEnvelope Success
|
|
166
169
|
* @throws ApiError
|
|
167
170
|
*/
|
|
168
171
|
public static putApiV2CartServiceRecords(
|
|
169
172
|
recordId: string,
|
|
170
173
|
requestBody?: ItemCartRecordUpdateDto,
|
|
171
|
-
): CancelablePromise<
|
|
174
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
172
175
|
return __request(OpenAPI, {
|
|
173
176
|
method: 'PUT',
|
|
174
177
|
url: '/api/v2/CartService/Records/{recordId}',
|
|
@@ -185,12 +188,12 @@ export class RecordsService {
|
|
|
185
188
|
}
|
|
186
189
|
/**
|
|
187
190
|
* @param recordId
|
|
188
|
-
* @returns
|
|
191
|
+
* @returns EmptyEnvelope Success
|
|
189
192
|
* @throws ApiError
|
|
190
193
|
*/
|
|
191
194
|
public static deleteApiV2CartServiceRecords1(
|
|
192
195
|
recordId: string,
|
|
193
|
-
): CancelablePromise<
|
|
196
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
194
197
|
return __request(OpenAPI, {
|
|
195
198
|
method: 'DELETE',
|
|
196
199
|
url: '/api/v2/CartService/Records/{recordId}',
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
5
6
|
import type { NewWishListRequest } from '../models/NewWishListRequest';
|
|
6
7
|
import type { ProductToWishListRequest } from '../models/ProductToWishListRequest';
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type { WishListItemRecordDtoIReadOnlyListEnvelope } from '../models/WishListItemRecordDtoIReadOnlyListEnvelope';
|
|
8
|
+
import type { WishListDto } from '../models/WishListDto';
|
|
9
|
+
import type { WishListItemRecordDto } from '../models/WishListItemRecordDto';
|
|
10
10
|
import type { WishListUpdateDto } from '../models/WishListUpdateDto';
|
|
11
11
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
12
12
|
import { OpenAPI } from '../core/OpenAPI';
|
|
@@ -14,12 +14,12 @@ import { request as __request } from '../core/request';
|
|
|
14
14
|
export class WishListsService {
|
|
15
15
|
/**
|
|
16
16
|
* @param requestBody
|
|
17
|
-
* @returns
|
|
17
|
+
* @returns EmptyEnvelope Success
|
|
18
18
|
* @throws ApiError
|
|
19
19
|
*/
|
|
20
20
|
public static postApiV2CartServiceWishLists(
|
|
21
21
|
requestBody?: NewWishListRequest,
|
|
22
|
-
): CancelablePromise<
|
|
22
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
23
23
|
return __request(OpenAPI, {
|
|
24
24
|
method: 'POST',
|
|
25
25
|
url: '/api/v2/CartService/WishLists',
|
|
@@ -30,13 +30,13 @@ export class WishListsService {
|
|
|
30
30
|
/**
|
|
31
31
|
* @param wishListId
|
|
32
32
|
* @param requestBody
|
|
33
|
-
* @returns
|
|
33
|
+
* @returns EmptyEnvelope Success
|
|
34
34
|
* @throws ApiError
|
|
35
35
|
*/
|
|
36
36
|
public static putApiV2CartServiceWishLists(
|
|
37
37
|
wishListId: string,
|
|
38
38
|
requestBody?: WishListUpdateDto,
|
|
39
|
-
): CancelablePromise<
|
|
39
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
40
40
|
return __request(OpenAPI, {
|
|
41
41
|
method: 'PUT',
|
|
42
42
|
url: '/api/v2/CartService/WishLists/{wishListId}',
|
|
@@ -49,12 +49,12 @@ export class WishListsService {
|
|
|
49
49
|
}
|
|
50
50
|
/**
|
|
51
51
|
* @param wishListId
|
|
52
|
-
* @returns
|
|
52
|
+
* @returns EmptyEnvelope Success
|
|
53
53
|
* @throws ApiError
|
|
54
54
|
*/
|
|
55
55
|
public static deleteApiV2CartServiceWishLists(
|
|
56
56
|
wishListId: string,
|
|
57
|
-
): CancelablePromise<
|
|
57
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
58
58
|
return __request(OpenAPI, {
|
|
59
59
|
method: 'DELETE',
|
|
60
60
|
url: '/api/v2/CartService/WishLists/{wishListId}',
|
|
@@ -65,12 +65,12 @@ export class WishListsService {
|
|
|
65
65
|
}
|
|
66
66
|
/**
|
|
67
67
|
* @param cartId
|
|
68
|
-
* @returns
|
|
68
|
+
* @returns WishListDto Success
|
|
69
69
|
* @throws ApiError
|
|
70
70
|
*/
|
|
71
71
|
public static getApiV2CartServiceWishLists(
|
|
72
72
|
cartId: string,
|
|
73
|
-
): CancelablePromise<
|
|
73
|
+
): CancelablePromise<Array<WishListDto>> {
|
|
74
74
|
return __request(OpenAPI, {
|
|
75
75
|
method: 'GET',
|
|
76
76
|
url: '/api/v2/CartService/WishLists/{cartId}',
|
|
@@ -81,12 +81,12 @@ export class WishListsService {
|
|
|
81
81
|
}
|
|
82
82
|
/**
|
|
83
83
|
* @param wishListId
|
|
84
|
-
* @returns
|
|
84
|
+
* @returns WishListItemRecordDto Success
|
|
85
85
|
* @throws ApiError
|
|
86
86
|
*/
|
|
87
87
|
public static getApiV2CartServiceWishListsRecords(
|
|
88
88
|
wishListId: string,
|
|
89
|
-
): CancelablePromise<
|
|
89
|
+
): CancelablePromise<Array<WishListItemRecordDto>> {
|
|
90
90
|
return __request(OpenAPI, {
|
|
91
91
|
method: 'GET',
|
|
92
92
|
url: '/api/v2/CartService/WishLists/{wishListId}/Records',
|
|
@@ -97,12 +97,12 @@ export class WishListsService {
|
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
99
|
* @param wishListId
|
|
100
|
-
* @returns
|
|
100
|
+
* @returns WishListDto Success
|
|
101
101
|
* @throws ApiError
|
|
102
102
|
*/
|
|
103
103
|
public static getApiV2CartServiceWishListsDetails(
|
|
104
104
|
wishListId: string,
|
|
105
|
-
): CancelablePromise<
|
|
105
|
+
): CancelablePromise<WishListDto> {
|
|
106
106
|
return __request(OpenAPI, {
|
|
107
107
|
method: 'GET',
|
|
108
108
|
url: '/api/v2/CartService/WishLists/{wishListId}/Details',
|
|
@@ -113,12 +113,12 @@ export class WishListsService {
|
|
|
113
113
|
}
|
|
114
114
|
/**
|
|
115
115
|
* @param requestBody
|
|
116
|
-
* @returns
|
|
116
|
+
* @returns EmptyEnvelope Success
|
|
117
117
|
* @throws ApiError
|
|
118
118
|
*/
|
|
119
119
|
public static postApiV2CartServiceWishListsRecords(
|
|
120
120
|
requestBody?: ProductToWishListRequest,
|
|
121
|
-
): CancelablePromise<
|
|
121
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
122
122
|
return __request(OpenAPI, {
|
|
123
123
|
method: 'POST',
|
|
124
124
|
url: '/api/v2/CartService/WishLists/Records',
|