@fenixalliance/abs-api-client 1.0.1 → 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
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type CartDto = {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
ip?: string | null;
|
|
8
|
+
type?: string | null;
|
|
9
|
+
total?: number;
|
|
10
|
+
taxes?: number;
|
|
11
|
+
freight?: number;
|
|
12
|
+
subTotal?: number;
|
|
13
|
+
currencyId?: string | null;
|
|
14
|
+
countryId?: string | null;
|
|
15
|
+
itemCartRecordsCount?: number | null;
|
|
16
|
+
itemToCompareRecordsCount?: number | null;
|
|
17
|
+
};
|
|
18
|
+
|
package/clients/{cartService/models/WishListDtoEnvelope.ts → crmService/models/CartDtoEnvelope.ts}
RENAMED
|
@@ -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 { CartDto } from './CartDto';
|
|
6
|
+
export type CartDtoEnvelope = {
|
|
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?:
|
|
12
|
+
result?: CartDto;
|
|
13
13
|
};
|
|
14
14
|
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ContactDto = {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
timestamp?: string | null;
|
|
8
|
+
type?: ContactDto.type;
|
|
9
|
+
taxId?: string | null;
|
|
10
|
+
firstName?: string | null;
|
|
11
|
+
lastName?: string | null;
|
|
12
|
+
primaryContactId?: string | null;
|
|
13
|
+
readonly qualifiedName?: string | null;
|
|
14
|
+
email?: string | null;
|
|
15
|
+
about?: string | null;
|
|
16
|
+
mobilePhone?: string | null;
|
|
17
|
+
businessPhone?: string | null;
|
|
18
|
+
avatar?: string | null;
|
|
19
|
+
jobTitle?: string | null;
|
|
20
|
+
avatarUrl?: string | null;
|
|
21
|
+
coverUrl?: string | null;
|
|
22
|
+
websiteUrl?: string | null;
|
|
23
|
+
facebookUrl?: string | null;
|
|
24
|
+
twitterUrl?: string | null;
|
|
25
|
+
youtubeUrl?: string | null;
|
|
26
|
+
linkedInUrl?: string | null;
|
|
27
|
+
githubUsername?: string | null;
|
|
28
|
+
street?: string | null;
|
|
29
|
+
zipCode?: string | null;
|
|
30
|
+
cartId?: string | null;
|
|
31
|
+
walletId?: string | null;
|
|
32
|
+
cityId?: string | null;
|
|
33
|
+
countryStateId?: string | null;
|
|
34
|
+
countryId?: string | null;
|
|
35
|
+
languageId?: string | null;
|
|
36
|
+
currencyId?: string | null;
|
|
37
|
+
timezoneId?: string | null;
|
|
38
|
+
territoryId?: string | null;
|
|
39
|
+
enrollmentId?: string | null;
|
|
40
|
+
walletBalance?: number | null;
|
|
41
|
+
ownerContactId?: string | null;
|
|
42
|
+
ownerTenantId?: string | null;
|
|
43
|
+
relatedTenantId?: string | null;
|
|
44
|
+
activityFeedId?: string | null;
|
|
45
|
+
parentContactId?: string | null;
|
|
46
|
+
socialProfileId?: string | null;
|
|
47
|
+
activeDirectoryId?: string | null;
|
|
48
|
+
identityProvider?: string | null;
|
|
49
|
+
identityProviderAccessToken?: string | null;
|
|
50
|
+
};
|
|
51
|
+
export namespace ContactDto {
|
|
52
|
+
export enum type {
|
|
53
|
+
'_0' = 0,
|
|
54
|
+
'_1' = 1,
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
|
|
@@ -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
|
+
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type SocialProfileDto = {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
timestamp?: string | null;
|
|
8
|
+
type?: SocialProfileDto.type;
|
|
9
|
+
name?: string | null;
|
|
10
|
+
about?: string | null;
|
|
11
|
+
cover?: string | null;
|
|
12
|
+
avatar?: string | null;
|
|
13
|
+
country?: string | null;
|
|
14
|
+
followsCount?: number | null;
|
|
15
|
+
messagesCount?: number | null;
|
|
16
|
+
followersCount?: number | null;
|
|
17
|
+
notificationsCount?: number | null;
|
|
18
|
+
unreadNotificationsCount?: number | null;
|
|
19
|
+
unreadMessagesCount?: number | null;
|
|
20
|
+
socialFeedId?: string | null;
|
|
21
|
+
twitterUrl?: string | null;
|
|
22
|
+
facebookURL?: string | null;
|
|
23
|
+
linkedInURL?: string | null;
|
|
24
|
+
youtubeURL?: string | null;
|
|
25
|
+
githubURL?: string | null;
|
|
26
|
+
pinterestURL?: string | null;
|
|
27
|
+
dribbleURL?: string | null;
|
|
28
|
+
domain?: string | null;
|
|
29
|
+
notes?: string | null;
|
|
30
|
+
};
|
|
31
|
+
export namespace SocialProfileDto {
|
|
32
|
+
export enum type {
|
|
33
|
+
'_0' = 0,
|
|
34
|
+
'_1' = 1,
|
|
35
|
+
'_2' = 2,
|
|
36
|
+
'_3' = 3,
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { SocialProfileDto } from './SocialProfileDto';
|
|
6
|
+
export type SocialProfileDtoEnvelope = {
|
|
7
|
+
errorMessage?: string | null;
|
|
8
|
+
readonly isSuccess?: boolean;
|
|
9
|
+
readonly timestamp?: string;
|
|
10
|
+
readonly activityId?: string | null;
|
|
11
|
+
correlationId?: string | null;
|
|
12
|
+
result?: SocialProfileDto;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type WalletDto = {
|
|
6
|
+
id?: string | null;
|
|
7
|
+
timestamp?: string;
|
|
8
|
+
balance?: number;
|
|
9
|
+
cryptoBalance?: number;
|
|
10
|
+
testMode?: boolean;
|
|
11
|
+
verified?: boolean;
|
|
12
|
+
type?: string | null;
|
|
13
|
+
currencyId?: string | null;
|
|
14
|
+
forexRate?: number;
|
|
15
|
+
balanceInUsd?: number;
|
|
16
|
+
mainNetEtherBalance?: number;
|
|
17
|
+
ethereumAddress?: string | null;
|
|
18
|
+
ethereumPublicKey?: string | null;
|
|
19
|
+
ethereumPrivateKey?: string | null;
|
|
20
|
+
rollingReservePercent?: number;
|
|
21
|
+
};
|
|
22
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { WalletDto } from './WalletDto';
|
|
6
|
+
export type WalletDtoEnvelope = {
|
|
7
|
+
errorMessage?: string | null;
|
|
8
|
+
readonly isSuccess?: boolean;
|
|
9
|
+
readonly timestamp?: string;
|
|
10
|
+
readonly activityId?: string | null;
|
|
11
|
+
correlationId?: string | null;
|
|
12
|
+
result?: WalletDto;
|
|
13
|
+
};
|
|
14
|
+
|
|
@@ -0,0 +1,286 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CartDtoEnvelope } from '../models/CartDtoEnvelope';
|
|
6
|
+
import type { ContactDtoEnvelope } from '../models/ContactDtoEnvelope';
|
|
7
|
+
import type { ContactDtoListEnvelope } from '../models/ContactDtoListEnvelope';
|
|
8
|
+
import type { SocialProfileDtoEnvelope } from '../models/SocialProfileDtoEnvelope';
|
|
9
|
+
import type { WalletDtoEnvelope } from '../models/WalletDtoEnvelope';
|
|
10
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
11
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
12
|
+
import { request as __request } from '../core/request';
|
|
13
|
+
export class ContactsService {
|
|
14
|
+
/**
|
|
15
|
+
* Get all business owned contacts
|
|
16
|
+
* @param tenantId The ID of the tenant to get the contacts for
|
|
17
|
+
* @returns ContactDtoListEnvelope Success
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
public static getApiV2CrmServiceContacts(
|
|
21
|
+
tenantId: string,
|
|
22
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
23
|
+
return __request(OpenAPI, {
|
|
24
|
+
method: 'GET',
|
|
25
|
+
url: '/api/v2/CrmService/Contacts',
|
|
26
|
+
query: {
|
|
27
|
+
'tenantId': tenantId,
|
|
28
|
+
},
|
|
29
|
+
errors: {
|
|
30
|
+
401: `Unauthorized`,
|
|
31
|
+
403: `Forbidden`,
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* Get a contact by ID
|
|
37
|
+
* @param tenantId The ID of the tenant to get the contacts for
|
|
38
|
+
* @param contactId
|
|
39
|
+
* @returns ContactDtoEnvelope Success
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
public static getApiV2CrmServiceContacts1(
|
|
43
|
+
tenantId: string,
|
|
44
|
+
contactId: string,
|
|
45
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
46
|
+
return __request(OpenAPI, {
|
|
47
|
+
method: 'GET',
|
|
48
|
+
url: '/api/v2/CrmService/Contacts/{contactId}',
|
|
49
|
+
path: {
|
|
50
|
+
'contactId': contactId,
|
|
51
|
+
},
|
|
52
|
+
query: {
|
|
53
|
+
'tenantId': tenantId,
|
|
54
|
+
},
|
|
55
|
+
errors: {
|
|
56
|
+
401: `Unauthorized`,
|
|
57
|
+
403: `Forbidden`,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Get all contacts of type individual
|
|
63
|
+
* @param tenantId The ID of the tenant to get the contacts for
|
|
64
|
+
* @returns ContactDtoListEnvelope Success
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
public static getApiV2CrmServiceContactsIndividuals(
|
|
68
|
+
tenantId: string,
|
|
69
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
70
|
+
return __request(OpenAPI, {
|
|
71
|
+
method: 'GET',
|
|
72
|
+
url: '/api/v2/CrmService/Contacts/Individuals',
|
|
73
|
+
query: {
|
|
74
|
+
'tenantId': tenantId,
|
|
75
|
+
},
|
|
76
|
+
errors: {
|
|
77
|
+
401: `Unauthorized`,
|
|
78
|
+
403: `Forbidden`,
|
|
79
|
+
},
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* Get a Contact of type Individual by ID.
|
|
84
|
+
* @param tenantId The ID of the tenant to get the contact for
|
|
85
|
+
* @param contactId
|
|
86
|
+
* @returns ContactDtoEnvelope Success
|
|
87
|
+
* @throws ApiError
|
|
88
|
+
*/
|
|
89
|
+
public static getApiV2CrmServiceContactsIndividual(
|
|
90
|
+
tenantId: string,
|
|
91
|
+
contactId: string,
|
|
92
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
93
|
+
return __request(OpenAPI, {
|
|
94
|
+
method: 'GET',
|
|
95
|
+
url: '/api/v2/CrmService/Contacts/Individual/{contactId}',
|
|
96
|
+
path: {
|
|
97
|
+
'contactId': contactId,
|
|
98
|
+
},
|
|
99
|
+
query: {
|
|
100
|
+
'tenantId': tenantId,
|
|
101
|
+
},
|
|
102
|
+
errors: {
|
|
103
|
+
401: `Unauthorized`,
|
|
104
|
+
403: `Forbidden`,
|
|
105
|
+
404: `Not Found`,
|
|
106
|
+
},
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
/**
|
|
110
|
+
* Get all contacts of type organization
|
|
111
|
+
* @param tenantId The ID of the tenant to get the contacts for
|
|
112
|
+
* @returns ContactDtoListEnvelope Success
|
|
113
|
+
* @throws ApiError
|
|
114
|
+
*/
|
|
115
|
+
public static getApiV2CrmServiceContactsOrganizations(
|
|
116
|
+
tenantId: string,
|
|
117
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
118
|
+
return __request(OpenAPI, {
|
|
119
|
+
method: 'GET',
|
|
120
|
+
url: '/api/v2/CrmService/Contacts/Organizations',
|
|
121
|
+
query: {
|
|
122
|
+
'tenantId': tenantId,
|
|
123
|
+
},
|
|
124
|
+
errors: {
|
|
125
|
+
401: `Unauthorized`,
|
|
126
|
+
403: `Forbidden`,
|
|
127
|
+
},
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* Get a Contact of type Organization by ID.
|
|
132
|
+
* @param tenantId The ID of the tenant to get the contacts for
|
|
133
|
+
* @param contactId
|
|
134
|
+
* @returns ContactDtoEnvelope Success
|
|
135
|
+
* @throws ApiError
|
|
136
|
+
*/
|
|
137
|
+
public static getApiV2CrmServiceContactsOrganization(
|
|
138
|
+
tenantId: string,
|
|
139
|
+
contactId: string,
|
|
140
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
141
|
+
return __request(OpenAPI, {
|
|
142
|
+
method: 'GET',
|
|
143
|
+
url: '/api/v2/CrmService/Contacts/Organization/{contactId}',
|
|
144
|
+
path: {
|
|
145
|
+
'contactId': contactId,
|
|
146
|
+
},
|
|
147
|
+
query: {
|
|
148
|
+
'tenantId': tenantId,
|
|
149
|
+
},
|
|
150
|
+
errors: {
|
|
151
|
+
401: `Unauthorized`,
|
|
152
|
+
403: `Forbidden`,
|
|
153
|
+
404: `Not Found`,
|
|
154
|
+
},
|
|
155
|
+
});
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Get a contact's cart
|
|
159
|
+
* @param tenantId The ID of the tenant to get the contacts for
|
|
160
|
+
* @param contactId
|
|
161
|
+
* @returns CartDtoEnvelope Success
|
|
162
|
+
* @throws ApiError
|
|
163
|
+
*/
|
|
164
|
+
public static getApiV2CrmServiceContactsCart(
|
|
165
|
+
tenantId: string,
|
|
166
|
+
contactId: string,
|
|
167
|
+
): CancelablePromise<CartDtoEnvelope> {
|
|
168
|
+
return __request(OpenAPI, {
|
|
169
|
+
method: 'GET',
|
|
170
|
+
url: '/api/v2/CrmService/Contacts/{contactId}/Cart',
|
|
171
|
+
path: {
|
|
172
|
+
'contactId': contactId,
|
|
173
|
+
},
|
|
174
|
+
query: {
|
|
175
|
+
'tenantId': tenantId,
|
|
176
|
+
},
|
|
177
|
+
errors: {
|
|
178
|
+
401: `Unauthorized`,
|
|
179
|
+
403: `Forbidden`,
|
|
180
|
+
404: `Not Found`,
|
|
181
|
+
},
|
|
182
|
+
});
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* Get a contact's wallet
|
|
186
|
+
* @param tenantId The ID of the tenant to get the contacts for
|
|
187
|
+
* @param contactId
|
|
188
|
+
* @returns WalletDtoEnvelope Success
|
|
189
|
+
* @throws ApiError
|
|
190
|
+
*/
|
|
191
|
+
public static getApiV2CrmServiceContactsWallet(
|
|
192
|
+
tenantId: string,
|
|
193
|
+
contactId: string,
|
|
194
|
+
): CancelablePromise<WalletDtoEnvelope> {
|
|
195
|
+
return __request(OpenAPI, {
|
|
196
|
+
method: 'GET',
|
|
197
|
+
url: '/api/v2/CrmService/Contacts/{contactId}/Wallet',
|
|
198
|
+
path: {
|
|
199
|
+
'contactId': contactId,
|
|
200
|
+
},
|
|
201
|
+
query: {
|
|
202
|
+
'tenantId': tenantId,
|
|
203
|
+
},
|
|
204
|
+
errors: {
|
|
205
|
+
401: `Unauthorized`,
|
|
206
|
+
403: `Forbidden`,
|
|
207
|
+
404: `Not Found`,
|
|
208
|
+
},
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Get a contact's social profile
|
|
213
|
+
* @param tenantId The ID of the tenant to get the contacts for
|
|
214
|
+
* @param contactId
|
|
215
|
+
* @returns SocialProfileDtoEnvelope Success
|
|
216
|
+
* @throws ApiError
|
|
217
|
+
*/
|
|
218
|
+
public static getApiV2CrmServiceContactsSocialProfile(
|
|
219
|
+
tenantId: string,
|
|
220
|
+
contactId: string,
|
|
221
|
+
): CancelablePromise<SocialProfileDtoEnvelope> {
|
|
222
|
+
return __request(OpenAPI, {
|
|
223
|
+
method: 'GET',
|
|
224
|
+
url: '/api/v2/CrmService/Contacts/{contactId}/SocialProfile',
|
|
225
|
+
path: {
|
|
226
|
+
'contactId': contactId,
|
|
227
|
+
},
|
|
228
|
+
query: {
|
|
229
|
+
'tenantId': tenantId,
|
|
230
|
+
},
|
|
231
|
+
errors: {
|
|
232
|
+
401: `Unauthorized`,
|
|
233
|
+
403: `Forbidden`,
|
|
234
|
+
404: `Not Found`,
|
|
235
|
+
},
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* Upsert a tenant onto another tenant's contact list
|
|
240
|
+
* @param tenantId The ID of the tenant to upsert the contact to
|
|
241
|
+
* @param relatedTenantId The ID of the tenant to upsert
|
|
242
|
+
* @returns ContactDtoEnvelope Success
|
|
243
|
+
* @throws ApiError
|
|
244
|
+
*/
|
|
245
|
+
public static postApiV2CrmServiceContactsOrganizationsUpsert(
|
|
246
|
+
tenantId: string,
|
|
247
|
+
relatedTenantId: string,
|
|
248
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
249
|
+
return __request(OpenAPI, {
|
|
250
|
+
method: 'POST',
|
|
251
|
+
url: '/api/v2/CrmService/Contacts/Organizations/Upsert',
|
|
252
|
+
query: {
|
|
253
|
+
'tenantId': tenantId,
|
|
254
|
+
'relatedTenantId': relatedTenantId,
|
|
255
|
+
},
|
|
256
|
+
errors: {
|
|
257
|
+
401: `Unauthorized`,
|
|
258
|
+
403: `Forbidden`,
|
|
259
|
+
},
|
|
260
|
+
});
|
|
261
|
+
}
|
|
262
|
+
/**
|
|
263
|
+
* Upsert a user onto a tenant's contact list
|
|
264
|
+
* @param tenantId The ID of the tenant to upsert the contact to
|
|
265
|
+
* @param relatedUserId The ID of the user to upsert
|
|
266
|
+
* @returns ContactDtoEnvelope Success
|
|
267
|
+
* @throws ApiError
|
|
268
|
+
*/
|
|
269
|
+
public static postApiV2CrmServiceContactsIndividualsUpsert(
|
|
270
|
+
tenantId: string,
|
|
271
|
+
relatedUserId: string,
|
|
272
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
273
|
+
return __request(OpenAPI, {
|
|
274
|
+
method: 'POST',
|
|
275
|
+
url: '/api/v2/CrmService/Contacts/Individuals/Upsert',
|
|
276
|
+
query: {
|
|
277
|
+
'tenantId': tenantId,
|
|
278
|
+
'relatedUserId': relatedUserId,
|
|
279
|
+
},
|
|
280
|
+
errors: {
|
|
281
|
+
401: `Unauthorized`,
|
|
282
|
+
403: `Forbidden`,
|
|
283
|
+
},
|
|
284
|
+
});
|
|
285
|
+
}
|
|
286
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ContactDtoListEnvelope } from '../models/ContactDtoListEnvelope';
|
|
6
|
+
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
7
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
8
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
9
|
+
import { request as __request } from '../core/request';
|
|
10
|
+
export class SyncService {
|
|
11
|
+
/**
|
|
12
|
+
* Sync the current user into a tenant's contact list.
|
|
13
|
+
* @param tenantId The id of the record owner tenant.
|
|
14
|
+
* @returns ContactDtoListEnvelope Success
|
|
15
|
+
* @throws ApiError
|
|
16
|
+
*/
|
|
17
|
+
public static postApiV2CrmServiceSync(
|
|
18
|
+
tenantId?: string,
|
|
19
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
20
|
+
return __request(OpenAPI, {
|
|
21
|
+
method: 'POST',
|
|
22
|
+
url: '/api/v2/CrmService/Sync',
|
|
23
|
+
query: {
|
|
24
|
+
'tenantId': tenantId,
|
|
25
|
+
},
|
|
26
|
+
errors: {
|
|
27
|
+
401: `Unauthorized`,
|
|
28
|
+
403: `Forbidden`,
|
|
29
|
+
},
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Sync the user into a tenant's contact list.
|
|
34
|
+
* @param tenantId The id of the record owner tenant.
|
|
35
|
+
* @returns ContactDtoListEnvelope Success
|
|
36
|
+
* @throws ApiError
|
|
37
|
+
*/
|
|
38
|
+
public static postApiV2CrmServiceSyncMe(
|
|
39
|
+
tenantId: string,
|
|
40
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
41
|
+
return __request(OpenAPI, {
|
|
42
|
+
method: 'POST',
|
|
43
|
+
url: '/api/v2/CrmService/Sync/Me',
|
|
44
|
+
query: {
|
|
45
|
+
'tenantId': tenantId,
|
|
46
|
+
},
|
|
47
|
+
errors: {
|
|
48
|
+
401: `Unauthorized`,
|
|
49
|
+
403: `Forbidden`,
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Sync a user into a tenant's contact list.
|
|
55
|
+
* @param tenantId The id of the record owner tenant.
|
|
56
|
+
* @param relatedUserId The id of the user to sync against the owner tenant's contact list.
|
|
57
|
+
* @returns ContactDtoListEnvelope Success
|
|
58
|
+
* @throws ApiError
|
|
59
|
+
*/
|
|
60
|
+
public static postApiV2CrmServiceSyncUser(
|
|
61
|
+
tenantId: string,
|
|
62
|
+
relatedUserId: string,
|
|
63
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
64
|
+
return __request(OpenAPI, {
|
|
65
|
+
method: 'POST',
|
|
66
|
+
url: '/api/v2/CrmService/Sync/User',
|
|
67
|
+
query: {
|
|
68
|
+
'tenantId': tenantId,
|
|
69
|
+
'relatedUserId': relatedUserId,
|
|
70
|
+
},
|
|
71
|
+
errors: {
|
|
72
|
+
401: `Unauthorized`,
|
|
73
|
+
403: `Forbidden`,
|
|
74
|
+
},
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Sync a tenant into another tenant's contact list.
|
|
79
|
+
* @param tenantId The id of the record owner tenant.
|
|
80
|
+
* @param relatedTenantId The id of the tenant to sync against the owner tenant's contact list.
|
|
81
|
+
* @returns EmptyEnvelope Success
|
|
82
|
+
* @throws ApiError
|
|
83
|
+
*/
|
|
84
|
+
public static postApiV2CrmServiceSyncTenant(
|
|
85
|
+
tenantId: string,
|
|
86
|
+
relatedTenantId: string,
|
|
87
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
88
|
+
return __request(OpenAPI, {
|
|
89
|
+
method: 'POST',
|
|
90
|
+
url: '/api/v2/CrmService/Sync/Tenant',
|
|
91
|
+
query: {
|
|
92
|
+
'tenantId': tenantId,
|
|
93
|
+
'relatedTenantId': relatedTenantId,
|
|
94
|
+
},
|
|
95
|
+
errors: {
|
|
96
|
+
401: `Unauthorized`,
|
|
97
|
+
403: `Forbidden`,
|
|
98
|
+
},
|
|
99
|
+
});
|
|
100
|
+
}
|
|
101
|
+
}
|
|
@@ -1,25 +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
|
-
}
|
|
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
25
|
}
|
|
@@ -1,17 +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>;
|
|
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
17
|
};
|