@fenixalliance/abs-api-client 1.0.2 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/FenixAlliance.ABP.SDK.TypeScript.xml +8 -0
- package/LICENSE +21 -21
- package/LICENSE.md +35 -35
- package/README.md +299 -299
- package/THIRD_PARTY_NOTICES.md +129 -129
- package/app/index.ts +4 -4
- package/clients/cartService/core/ApiError.ts +2 -2
- package/clients/cartService/core/ApiRequestOptions.ts +2 -2
- package/clients/cartService/core/ApiResult.ts +2 -2
- package/clients/cartService/core/CancelablePromise.ts +5 -5
- package/clients/cartService/core/OpenAPI.ts +2 -2
- package/clients/cartService/core/request.ts +3 -3
- package/clients/cartService/index.ts +6 -1
- package/clients/cartService/models/AddProductToCompareRequest.ts +10 -10
- package/clients/cartService/models/BooleanEnvelope.ts +13 -13
- package/clients/cartService/models/CartDto.ts +18 -18
- package/clients/cartService/models/CartDtoEnvelope.ts +14 -14
- package/clients/cartService/models/CartUpdateRequest.ts +9 -9
- package/clients/cartService/models/CountryDto.ts +14 -0
- package/clients/{holderService/models/OrderDtoListEnvelope.ts → cartService/models/CountryDtoEnvelope.ts} +14 -14
- package/clients/cartService/models/CountrySwitchRequest.ts +9 -9
- package/clients/cartService/models/CurrencyDto.ts +13 -0
- package/clients/{holderService/models/InvoiceDtoListEnvelope.ts → cartService/models/CurrencyDtoEnvelope.ts} +14 -14
- package/clients/cartService/models/CurrencySwitchRequest.ts +9 -9
- package/clients/cartService/models/EmptyEnvelope.ts +11 -11
- package/clients/cartService/models/ErrorEnvelope.ts +12 -12
- package/clients/cartService/models/ItemCartRecordCreateDto.ts +12 -12
- package/clients/cartService/models/ItemCartRecordDto.ts +101 -100
- package/clients/cartService/models/ItemCartRecordDtoEnvelope.ts +14 -14
- package/clients/cartService/models/ItemCartRecordDtoListEnvelope.ts +14 -14
- package/clients/cartService/models/ItemCartRecordUpdateDto.ts +10 -10
- package/clients/cartService/models/ItemToCompareCartRecordDto.ts +11 -11
- package/clients/cartService/models/ItemToCompareCartRecordDtoEnvelope.ts +14 -14
- package/clients/cartService/models/ItemToCompareCartRecordDtoListEnvelope.ts +14 -14
- package/clients/cartService/models/NewWishListRequest.ts +11 -11
- package/clients/cartService/models/ProductToWishListRequest.ts +9 -9
- package/clients/cartService/models/WishListDto.ts +13 -13
- package/clients/{holderService/models/PaymentDtoListEnvelope.ts → cartService/models/WishListDtoEnvelope.ts} +14 -14
- package/clients/cartService/models/WishListItemRecordDto.ts +11 -11
- package/clients/cartService/models/WishListUpdateDto.ts +10 -10
- package/clients/cartService/services/CartsService.ts +902 -149
- package/clients/cartService/services/CompareService.ts +90 -90
- package/clients/cartService/services/RecordsService.ts +259 -209
- package/clients/cartService/services/WishListsService.ts +197 -145
- package/clients/catalogService/core/ApiError.ts +2 -2
- package/clients/catalogService/core/ApiRequestOptions.ts +2 -2
- package/clients/catalogService/core/ApiResult.ts +2 -2
- package/clients/catalogService/core/CancelablePromise.ts +5 -5
- package/clients/catalogService/core/OpenAPI.ts +2 -2
- package/clients/catalogService/core/request.ts +3 -3
- package/clients/catalogService/index.ts +1 -1
- package/clients/catalogService/models/EmptyEnvelope.ts +11 -11
- package/clients/catalogService/models/ErrorEnvelope.ts +12 -12
- package/clients/catalogService/models/ItemAttachmentCreateDto.ts +21 -19
- package/clients/catalogService/models/ItemAttachmentDto.ts +30 -28
- package/clients/catalogService/models/ItemAttachmentDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemAttachmentDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +19 -16
- package/clients/catalogService/models/ItemAttributeCreateDto.ts +12 -12
- package/clients/catalogService/models/ItemAttributeDto.ts +12 -12
- package/clients/catalogService/models/ItemAttributeDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemAttributeDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemAttributeOptionDto.ts +12 -12
- package/clients/catalogService/models/ItemAttributeOptionDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemAttributeOptionDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemAttributeUpdateDto.ts +9 -9
- package/clients/catalogService/models/ItemBrandCreateDto.ts +17 -17
- package/clients/catalogService/models/ItemBrandDto.ts +17 -17
- package/clients/catalogService/models/ItemBrandDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemBrandDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemBrandUpdateDto.ts +13 -13
- package/clients/catalogService/models/ItemCategoryCreateDto.ts +15 -15
- package/clients/catalogService/models/ItemCategoryDto.ts +21 -21
- package/clients/catalogService/models/ItemCategoryDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemCategoryDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemCategoryUpdateDto.ts +16 -16
- package/clients/catalogService/models/ItemGoogleCategoryDto.ts +21 -21
- package/clients/catalogService/models/ItemGoogleCategoryDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemGoogleCategoryDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemImageCreateDto.ts +28 -28
- package/clients/catalogService/models/ItemImageDto.ts +28 -28
- package/clients/catalogService/models/ItemImageDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemImageDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemImageUpdateDto.ts +22 -22
- package/clients/catalogService/models/ItemQuestionCreateDto.ts +15 -15
- package/clients/catalogService/models/ItemQuestionDto.ts +15 -15
- package/clients/catalogService/models/ItemQuestionDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemQuestionDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemQuestionRecordCreateDto.ts +14 -14
- package/clients/catalogService/models/ItemQuestionUpdateDto.ts +10 -10
- package/clients/catalogService/models/ItemRefundPolicyDto.ts +34 -34
- package/clients/catalogService/models/ItemRefundPolicyDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemRefundPolicyDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemReturnPolicyDto.ts +34 -34
- package/clients/catalogService/models/ItemReturnPolicyDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemReturnPolicyDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemReviewCreateDto.ts +13 -13
- package/clients/catalogService/models/ItemReviewDto.ts +13 -13
- package/clients/catalogService/models/ItemReviewDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemReviewDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemReviewRecordCreateDto.ts +12 -12
- package/clients/catalogService/models/ItemReviewUpdateDto.ts +9 -9
- package/clients/catalogService/models/ItemShippingPolicyDto.ts +35 -35
- package/clients/catalogService/models/ItemShippingPolicyDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemShippingPolicyDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemTagCreateDto.ts +12 -12
- package/clients/catalogService/models/ItemTagDto.ts +12 -12
- package/clients/catalogService/models/ItemTagDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemTagDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemTagUpdateDto.ts +9 -9
- package/clients/catalogService/models/ItemTaxPolicyDto.ts +37 -37
- package/clients/catalogService/models/ItemTaxPolicyDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemTaxPolicyDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemTypeCreateDto.ts +17 -17
- package/clients/catalogService/models/ItemTypeDto.ts +17 -17
- package/clients/catalogService/models/ItemTypeDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemTypeDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemTypeUpdateDto.ts +12 -12
- package/clients/catalogService/models/ItemWarrantyPolicyDto.ts +33 -33
- package/clients/catalogService/models/ItemWarrantyPolicyDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/ItemWarrantyPolicyDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/PricingRuleCreateDto.ts +32 -32
- package/clients/catalogService/models/PricingRuleDto.ts +31 -31
- package/clients/catalogService/models/PricingRuleDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/PricingRuleDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/PricingRuleUpdateDto.ts +27 -27
- package/clients/catalogService/models/StockItemCreateDto.ts +108 -108
- package/clients/catalogService/models/StockItemDto.ts +146 -146
- package/clients/catalogService/models/StockItemDtoEnvelope.ts +14 -14
- package/clients/catalogService/models/StockItemDtoListEnvelope.ts +14 -14
- package/clients/catalogService/models/StockItemUpdateDto.ts +106 -106
- package/clients/catalogService/services/ItemAttachmentsService.ts +138 -138
- package/clients/catalogService/services/ItemAttributesService.ts +137 -137
- package/clients/catalogService/services/ItemBrandsService.ts +137 -137
- package/clients/catalogService/services/ItemCategoriesService.ts +137 -137
- package/clients/catalogService/services/ItemImagesService.ts +137 -137
- package/clients/catalogService/services/ItemQuestionsService.ts +137 -137
- package/clients/catalogService/services/ItemReviewsService.ts +137 -137
- package/clients/catalogService/services/ItemTagsService.ts +137 -137
- package/clients/catalogService/services/ItemTypesService.ts +137 -137
- package/clients/catalogService/services/PoliciesService.ts +117 -117
- package/clients/catalogService/services/PricingRulesService.ts +135 -135
- package/clients/catalogService/services/ProductsService.ts +1711 -1706
- package/clients/crmService/core/ApiError.ts +2 -2
- package/clients/crmService/core/ApiRequestOptions.ts +2 -2
- package/clients/crmService/core/ApiResult.ts +2 -2
- package/clients/crmService/core/CancelablePromise.ts +5 -5
- package/clients/crmService/core/OpenAPI.ts +2 -2
- package/clients/crmService/core/request.ts +3 -3
- package/clients/crmService/index.ts +4 -1
- package/clients/crmService/models/CartDto.ts +18 -18
- package/clients/crmService/models/CartDtoEnvelope.ts +14 -14
- package/clients/crmService/models/ContactCreateDto.ts +35 -0
- package/clients/crmService/models/ContactDto.ts +60 -57
- package/clients/crmService/models/ContactDtoEnvelope.ts +14 -14
- package/clients/crmService/models/ContactDtoListEnvelope.ts +14 -14
- package/clients/crmService/models/ContactUpdateDto.ts +39 -0
- package/clients/crmService/models/EmptyEnvelope.ts +11 -11
- package/clients/crmService/models/ErrorEnvelope.ts +12 -12
- package/clients/crmService/models/Operation.ts +23 -0
- package/clients/crmService/models/SocialProfileDto.ts +39 -39
- package/clients/crmService/models/SocialProfileDtoEnvelope.ts +14 -14
- package/clients/crmService/models/WalletDto.ts +22 -22
- package/clients/crmService/models/WalletDtoEnvelope.ts +14 -14
- package/clients/crmService/services/ContactsService.ts +562 -286
- package/clients/crmService/services/SyncService.ts +97 -101
- package/clients/forexService/core/ApiError.ts +2 -2
- package/clients/forexService/core/ApiRequestOptions.ts +2 -2
- package/clients/forexService/core/ApiResult.ts +2 -2
- package/clients/forexService/core/CancelablePromise.ts +5 -5
- package/clients/forexService/core/OpenAPI.ts +2 -2
- package/clients/forexService/core/request.ts +3 -3
- package/clients/forexService/index.ts +4 -1
- package/clients/forexService/models/Currency.ts +9 -9
- package/clients/forexService/models/ErrorEnvelope.ts +12 -12
- package/clients/forexService/models/ExchangeRate.ts +11 -0
- package/clients/forexService/models/ExchangeRateEnvelope.ts +14 -0
- package/clients/forexService/models/ForexRatesDto.ts +13 -13
- package/clients/forexService/models/ForexRatesDtoEnvelope.ts +14 -14
- package/clients/forexService/models/Money.ts +10 -10
- package/clients/forexService/models/MoneyEnvelope.ts +14 -14
- package/clients/forexService/services/ExchangeService.ts +65 -67
- package/clients/forexService/services/ExchangeVService.ts +65 -0
- package/clients/forexService/services/RatesService.ts +90 -46
- package/clients/holderService/core/ApiError.ts +2 -2
- package/clients/holderService/core/ApiRequestOptions.ts +2 -2
- package/clients/holderService/core/ApiResult.ts +2 -2
- package/clients/holderService/core/CancelablePromise.ts +5 -5
- package/clients/holderService/core/OpenAPI.ts +2 -2
- package/clients/holderService/core/request.ts +3 -3
- package/clients/holderService/index.ts +20 -9
- package/clients/holderService/models/AddressDto.ts +31 -31
- package/clients/holderService/models/AddressDtoListEnvelope.ts +14 -14
- package/clients/holderService/models/CartDto.ts +18 -18
- package/clients/holderService/models/CartDtoEnvelope.ts +14 -14
- package/clients/holderService/models/EmptyEnvelope.ts +11 -0
- package/clients/holderService/models/EmptyEnvelopeEnvelope.ts +14 -0
- package/clients/holderService/models/EnrollmentId.ts +5 -0
- package/clients/holderService/models/ErrorEnvelope.ts +12 -12
- package/clients/holderService/models/ExtendedPlatformUserDto.ts +78 -0
- package/clients/holderService/models/ExtendedPlatformUserDtoEnvelope.ts +14 -0
- package/clients/holderService/models/ExtendedTenantDto.ts +51 -0
- package/clients/holderService/models/ExtendedTenantDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/ExtendedTenantEnrolmentDto.ts +16 -0
- package/clients/holderService/models/ExtendedTenantEnrolmentDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/FollowRecordDto.ts +12 -12
- package/clients/holderService/models/NotificationDto.ts +16 -16
- package/clients/holderService/models/NotificationDtoListEnvelope.ts +14 -14
- package/clients/holderService/models/Operation.ts +23 -0
- package/clients/holderService/models/PlatformUserDto.ts +70 -73
- package/clients/holderService/models/PlatformUserDtoEnvelope.ts +14 -14
- package/clients/holderService/models/PlatformUserSettingsDto.ts +21 -0
- package/clients/holderService/models/PlatformUserSettingsDtoEnvelope.ts +14 -0
- package/clients/holderService/models/PlatformUserSettingsUpdateDto.ts +19 -0
- package/clients/holderService/models/PlatformUserUpdateDto.ts +43 -0
- package/clients/holderService/models/SocialProfileDto.ts +39 -39
- package/clients/holderService/models/SocialProfileDtoEnvelope.ts +14 -14
- package/clients/holderService/models/TenantDto.ts +45 -54
- package/clients/holderService/models/TenantDtoListEnvelope.ts +14 -14
- package/clients/holderService/models/{TenantEnrollmentDto.ts → TenantEnrolmentDto.ts} +14 -14
- package/clients/holderService/models/TenantEnrolmentDtoEnvelope.ts +14 -0
- package/clients/holderService/models/TenantEnrolmentDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/TenantInvitationDto.ts +16 -0
- package/clients/holderService/models/TenantInvitationDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/WalletDto.ts +22 -22
- package/clients/holderService/models/WalletDtoEnvelope.ts +14 -14
- package/clients/holderService/services/HolderService.ts +356 -236
- package/clients/identityService/core/ApiError.ts +2 -2
- package/clients/identityService/core/ApiRequestOptions.ts +2 -2
- package/clients/identityService/core/ApiResult.ts +2 -2
- package/clients/identityService/core/CancelablePromise.ts +5 -5
- package/clients/identityService/core/OpenAPI.ts +2 -2
- package/clients/identityService/core/request.ts +3 -3
- package/clients/identityService/index.ts +2 -2
- package/clients/identityService/models/AccountHolderCreateDto.ts +40 -35
- package/clients/identityService/models/AccountHolderCreateDtoEnvelope.ts +14 -14
- package/clients/identityService/models/Actor.ts +12 -12
- package/clients/identityService/models/ApiResponse.ts +21 -21
- package/clients/identityService/models/ApiResponseEnvelope.ts +14 -14
- package/clients/identityService/models/ClientApplication.ts +16 -16
- package/clients/identityService/models/Error.ts +10 -10
- package/clients/identityService/models/ErrorEnvelope.ts +12 -12
- package/clients/identityService/models/IPLookupDto.ts +10 -10
- package/clients/identityService/models/JsonWebKey.ts +13 -13
- package/clients/identityService/models/JsonWebKeySet.ts +9 -9
- package/clients/identityService/models/JsonWebKeySetEnvelope.ts +14 -14
- package/clients/identityService/models/JsonWebToken.ts +15 -15
- package/clients/identityService/models/JsonWebTokenEnvelope.ts +14 -14
- package/clients/identityService/models/JsonWebTokenHeader.ts +11 -11
- package/clients/identityService/models/JsonWebTokenPayload.ts +17 -17
- package/clients/identityService/models/OAuthTokenRequest.ts +12 -12
- package/clients/identityService/models/OpenIdConfiguration.ts +19 -19
- package/clients/identityService/models/OpenIdConfigurationEnvelope.ts +14 -14
- package/clients/identityService/models/PlatformUserDto.ts +70 -73
- package/clients/identityService/models/ResponsePagination.ts +13 -13
- package/clients/identityService/models/ResponseStatus.ts +12 -12
- package/clients/identityService/models/SigninModel.ts +9 -9
- package/clients/identityService/models/StringListEnvelope.ts +13 -13
- package/clients/identityService/models/TenantDto.ts +45 -54
- package/clients/identityService/services/ApplicationsService.ts +107 -107
- package/clients/identityService/services/CheckerService.ts +19 -20
- package/clients/identityService/services/OAuthService.ts +147 -149
- package/clients/identityService/services/ResourceService.ts +19 -19
- package/clients/identityService/services/UserInfoService.ts +29 -29
- package/clients/inventoryService/core/ApiError.ts +2 -2
- package/clients/inventoryService/core/ApiRequestOptions.ts +2 -2
- package/clients/inventoryService/core/ApiResult.ts +2 -2
- package/clients/inventoryService/core/CancelablePromise.ts +5 -5
- package/clients/inventoryService/core/OpenAPI.ts +2 -2
- package/clients/inventoryService/core/request.ts +3 -3
- package/clients/inventoryService/index.ts +1 -1
- package/clients/inventoryService/services/InventoryService.ts +25 -25
- package/clients/invoicingService/core/ApiError.ts +2 -2
- package/clients/invoicingService/core/ApiRequestOptions.ts +2 -2
- package/clients/invoicingService/core/ApiResult.ts +2 -2
- package/clients/invoicingService/core/CancelablePromise.ts +5 -5
- package/clients/invoicingService/core/OpenAPI.ts +2 -2
- package/clients/invoicingService/core/request.ts +3 -3
- package/clients/invoicingService/index.ts +11 -2
- package/clients/invoicingService/models/ContactDto.ts +60 -0
- package/clients/invoicingService/models/Currency.ts +9 -0
- package/clients/invoicingService/models/EmptyEnvelope.ts +11 -11
- package/clients/invoicingService/models/ErrorEnvelope.ts +12 -12
- package/clients/invoicingService/models/ExtendedInvoiceDto.ts +44 -0
- package/clients/invoicingService/models/ExtendedInvoiceDtoListEnvelope.ts +14 -0
- package/clients/invoicingService/models/InvoiceCreateDto.ts +11 -11
- package/clients/invoicingService/models/InvoiceDto.ts +35 -13
- package/clients/invoicingService/models/InvoiceDtoEnvelope.ts +14 -14
- package/clients/invoicingService/models/InvoiceDtoListEnvelope.ts +14 -14
- package/clients/invoicingService/models/InvoiceLineDto.ts +99 -95
- package/clients/invoicingService/models/InvoiceLineDtoEnvelope.ts +14 -14
- package/clients/invoicingService/models/InvoiceLineDtoListEnvelope.ts +14 -14
- package/clients/invoicingService/models/InvoiceUpdateDto.ts +5 -5
- package/clients/invoicingService/models/ItemPriceCreateDto.ts +20 -20
- package/clients/invoicingService/models/ItemPriceUpdateDto.ts +14 -14
- package/clients/invoicingService/models/Money.ts +10 -0
- package/clients/invoicingService/models/MoneyEnvelope.ts +14 -0
- package/clients/invoicingService/models/PlatformUserDto.ts +70 -0
- package/clients/invoicingService/models/TenantDto.ts +45 -0
- package/clients/{tenantService/models/TenantEnrollmentDto.ts → invoicingService/models/TenantEnrolmentDto.ts} +14 -14
- package/clients/invoicingService/services/InvoicesService.ts +465 -301
- package/clients/ordersService/core/ApiError.ts +2 -2
- package/clients/ordersService/core/ApiRequestOptions.ts +2 -2
- package/clients/ordersService/core/ApiResult.ts +2 -2
- package/clients/ordersService/core/CancelablePromise.ts +5 -5
- package/clients/ordersService/core/OpenAPI.ts +2 -2
- package/clients/ordersService/core/request.ts +3 -3
- package/clients/ordersService/index.ts +2 -2
- package/clients/ordersService/models/EmptyEnvelope.ts +11 -11
- package/clients/ordersService/models/ErrorEnvelope.ts +12 -12
- package/clients/ordersService/models/ItemPriceCreateDto.ts +20 -20
- package/clients/ordersService/models/ItemPriceUpdateDto.ts +14 -14
- package/clients/ordersService/models/OrderCreateDto.ts +16 -16
- package/clients/ordersService/models/OrderDto.ts +51 -27
- package/clients/ordersService/models/OrderDtoEnvelope.ts +14 -14
- package/clients/ordersService/models/OrderDtoListEnvelope.ts +14 -14
- package/clients/ordersService/models/OrderLineDto.ts +99 -95
- package/clients/ordersService/models/OrderLineDtoEnvelope.ts +14 -14
- package/clients/ordersService/models/OrderLineDtoListEnvelope.ts +14 -14
- package/clients/ordersService/models/OrderUpdateDto.ts +12 -12
- package/clients/ordersService/services/OrdersService.ts +299 -296
- package/clients/pricingService/core/ApiError.ts +2 -2
- package/clients/pricingService/core/ApiRequestOptions.ts +2 -2
- package/clients/pricingService/core/ApiResult.ts +2 -2
- package/clients/pricingService/core/CancelablePromise.ts +5 -5
- package/clients/pricingService/core/OpenAPI.ts +2 -2
- package/clients/pricingService/core/request.ts +3 -3
- package/clients/pricingService/index.ts +1 -1
- package/clients/pricingService/models/Currency.ts +9 -9
- package/clients/pricingService/models/EmptyEnvelope.ts +11 -11
- package/clients/pricingService/models/ErrorEnvelope.ts +12 -12
- package/clients/pricingService/models/ItemPriceCreateDto.ts +20 -20
- package/clients/pricingService/models/ItemPriceDto.ts +20 -20
- package/clients/pricingService/models/ItemPriceDtoEnvelope.ts +14 -14
- package/clients/pricingService/models/ItemPriceDtoListEnvelope.ts +14 -14
- package/clients/pricingService/models/ItemPriceUpdateDto.ts +14 -14
- package/clients/pricingService/models/Money.ts +10 -10
- package/clients/pricingService/models/MoneyEnvelope.ts +14 -14
- package/clients/pricingService/models/PriceListCreateDto.ts +18 -18
- package/clients/pricingService/models/PriceListDto.ts +17 -17
- package/clients/pricingService/models/PriceListDtoEnvelope.ts +14 -14
- package/clients/pricingService/models/PriceListDtoListEnvelope.ts +14 -14
- package/clients/pricingService/models/PriceListUpdateDto.ts +14 -14
- package/clients/pricingService/services/PriceListsService.ts +280 -280
- package/clients/pricingService/services/PricesService.ts +82 -82
- package/clients/systemService/core/ApiError.ts +2 -2
- package/clients/systemService/core/ApiRequestOptions.ts +2 -2
- package/clients/systemService/core/ApiResult.ts +2 -2
- package/clients/systemService/core/CancelablePromise.ts +5 -5
- package/clients/systemService/core/OpenAPI.ts +2 -2
- package/clients/systemService/core/request.ts +3 -3
- package/clients/systemService/index.ts +20 -1
- package/clients/systemService/models/BooleanEnvelope.ts +13 -0
- package/clients/systemService/models/ErrorEnvelope.ts +12 -12
- package/clients/systemService/models/GeneralValidationFailure.ts +9 -0
- package/clients/{holderService/models/TenantEnrollmentDtoListEnvelope.ts → systemService/models/GeneralValidationFailureListEnvelope.ts} +14 -14
- package/clients/systemService/models/ISwaggerContact.ts +10 -0
- package/clients/systemService/models/ISwaggerEndpoint.ts +10 -0
- package/clients/systemService/models/ISwaggerLicense.ts +9 -0
- package/clients/systemService/models/ISwaggerSpec.ts +19 -0
- package/clients/systemService/models/LicenseValidationRequest.ts +8 -0
- package/clients/systemService/models/Module.ts +43 -0
- package/clients/systemService/models/ModuleListEnvelope.ts +14 -0
- package/clients/systemService/models/StringListEnvelope.ts +13 -13
- package/clients/systemService/models/StudioModule.ts +9 -0
- package/clients/systemService/models/StudioModuleListEnvelope.ts +14 -0
- package/clients/systemService/models/SuiteLicenseAssignmentDto.ts +16 -0
- package/clients/systemService/models/SuiteLicenseAssignmentDtoListEnvelope.ts +14 -0
- package/clients/systemService/models/SuiteLicenseDto.ts +15 -0
- package/clients/systemService/models/SuiteLicenseDtoEnvelope.ts +14 -0
- package/clients/systemService/models/SuiteLicenseDtoListEnvelope.ts +14 -0
- package/clients/systemService/services/AntiforgeryService.ts +29 -29
- package/clients/systemService/services/LicensingService.ts +190 -0
- package/clients/systemService/services/MigrationsService.ts +44 -44
- package/clients/systemService/services/ModulesService.ts +51 -0
- package/clients/tenantService/core/ApiError.ts +2 -2
- package/clients/tenantService/core/ApiRequestOptions.ts +2 -2
- package/clients/tenantService/core/ApiResult.ts +2 -2
- package/clients/tenantService/core/CancelablePromise.ts +5 -5
- package/clients/tenantService/core/OpenAPI.ts +2 -2
- package/clients/tenantService/core/request.ts +3 -3
- package/clients/tenantService/index.ts +104 -4
- package/clients/tenantService/models/BooleanEnvelope.ts +13 -13
- package/clients/tenantService/models/CancellationToken.ts +11 -0
- package/clients/tenantService/models/CartDto.ts +18 -18
- package/clients/tenantService/models/CartDtoEnvelope.ts +14 -14
- package/clients/tenantService/models/EmptyEnvelope.ts +11 -11
- package/clients/tenantService/models/ErrorEnvelope.ts +12 -12
- package/clients/tenantService/models/ExtendedTenantDto.ts +51 -0
- package/clients/tenantService/models/ExtendedTenantDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/IntPtr.ts +5 -0
- package/clients/tenantService/models/NotificationDto.ts +16 -16
- package/clients/tenantService/models/NotificationDtoListEnvelope.ts +14 -14
- package/clients/tenantService/models/Operation.ts +23 -0
- package/clients/tenantService/models/PlatformUserDto.ts +70 -73
- package/clients/tenantService/models/PlatformUserDtoListEnvelope.ts +14 -14
- package/clients/tenantService/models/SafeWaitHandle.ts +9 -0
- package/clients/tenantService/models/SocialProfileDto.ts +39 -39
- package/clients/tenantService/models/SocialProfileDtoEnvelope.ts +14 -14
- package/clients/tenantService/models/StringListEnvelope.ts +13 -13
- package/clients/tenantService/models/SuiteLicenseAssignmentDto.ts +16 -0
- package/clients/tenantService/models/SuiteLicenseAssignmentDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/SuiteLicenseDto.ts +15 -0
- package/clients/tenantService/models/SuiteLicenseDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/SuiteLicenseFeatureDto.ts +9 -0
- package/clients/tenantService/models/SuiteLicenseFeatureDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantCreateDto.ts +25 -25
- package/clients/tenantService/models/TenantDepartmentCreateDto.ts +16 -0
- package/clients/tenantService/models/TenantDepartmentDto.ts +16 -0
- package/clients/tenantService/models/{TenantEnrollmentDtoEnvelope.ts → TenantDepartmentDtoEnvelope.ts} +14 -14
- package/clients/tenantService/models/TenantDepartmentDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantDepartmentUpdateDto.ts +12 -0
- package/clients/tenantService/models/TenantDto.ts +45 -54
- package/clients/tenantService/models/TenantDtoEnvelope.ts +14 -14
- package/clients/tenantService/models/TenantEnrollmentCreateDto.ts +11 -0
- package/clients/tenantService/models/TenantEnrollmentUpdateDto.ts +9 -0
- package/clients/tenantService/models/TenantEnrolmentDto.ts +14 -0
- package/clients/tenantService/models/TenantEnrolmentDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantEnrolmentDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantEnrolmentDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantIndustryCreateDto.ts +12 -0
- package/clients/tenantService/models/TenantIndustryDto.ts +12 -0
- package/clients/tenantService/models/TenantIndustryDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantIndustryUpdateDto.ts +10 -0
- package/clients/tenantService/models/TenantInvitationCreateDto.ts +12 -0
- package/clients/tenantService/models/TenantInvitationDto.ts +16 -0
- package/clients/tenantService/models/TenantInvitationDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantInvitationDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantPositionCreateDto.ts +13 -0
- package/clients/tenantService/models/TenantPositionDto.ts +13 -0
- package/clients/tenantService/models/TenantPositionDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantPositionDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantPositionUpdateDto.ts +9 -0
- package/clients/tenantService/models/TenantSegmentCreateDto.ts +12 -0
- package/clients/tenantService/models/TenantSegmentDto.ts +12 -0
- package/clients/tenantService/models/TenantSegmentDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantSegmentDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantSegmentUpdateDto.ts +10 -0
- package/clients/tenantService/models/TenantSizeCreateDto.ts +12 -0
- package/clients/tenantService/models/TenantSizeDto.ts +12 -0
- package/clients/tenantService/models/TenantSizeDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantSizeDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantSizeUpdateDto.ts +10 -0
- package/clients/tenantService/models/TenantTeamContactEnrollmentCreateDto.ts +13 -0
- package/clients/tenantService/models/TenantTeamContactEnrollmentDto.ts +13 -0
- package/clients/tenantService/models/TenantTeamContactEnrollmentDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamContactEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamContactEnrollmentUpdateDto.ts +11 -0
- package/clients/tenantService/models/TenantTeamCreateDto.ts +17 -0
- package/clients/tenantService/models/TenantTeamDto.ts +17 -0
- package/clients/tenantService/models/TenantTeamDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentCreateDto.ts +13 -0
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDto.ts +13 -0
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamEmployeeEnrollmentUpdateDto.ts +11 -0
- package/clients/tenantService/models/TenantTeamProjectEnrollmentCreateDto.ts +13 -0
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDto.ts +13 -0
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamProjectEnrollmentDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTeamProjectEnrollmentUpdateDto.ts +11 -0
- package/clients/tenantService/models/TenantTeamRecordCreateDto.ts +12 -0
- package/clients/tenantService/models/TenantTeamRecordDto.ts +12 -0
- package/clients/tenantService/models/TenantTeamRecordDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/{TenantEnrollmentDtoListEnvelope.ts → TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts} +14 -14
- package/clients/tenantService/models/TenantTeamRecordUpdateDto.ts +10 -0
- package/clients/tenantService/models/TenantTeamUpdateDto.ts +17 -0
- package/clients/tenantService/models/TenantTerritoryCreateDto.ts +14 -0
- package/clients/tenantService/models/TenantTerritoryDto.ts +14 -0
- package/clients/tenantService/models/TenantTerritoryDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTerritoryDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTerritoryUpdateDto.ts +9 -0
- package/clients/tenantService/models/TenantTypeCreateDto.ts +11 -0
- package/clients/tenantService/models/TenantTypeDto.ts +11 -0
- package/clients/tenantService/models/TenantTypeDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTypeDtoIReadOnlyCollectionEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantTypeUpdateDto.ts +9 -0
- package/clients/tenantService/models/TenantUnitCreateDto.ts +18 -0
- package/clients/tenantService/models/TenantUnitDto.ts +18 -0
- package/clients/tenantService/models/TenantUnitDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantUnitDtoIReadOnlyListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantUnitUpdateDto.ts +14 -0
- package/clients/tenantService/models/TenantUpdateDto.ts +31 -0
- package/clients/tenantService/models/WaitHandle.ts +11 -0
- package/clients/tenantService/models/WalletDto.ts +22 -22
- package/clients/tenantService/models/WalletDtoEnvelope.ts +14 -14
- package/clients/tenantService/models/WebPortalDto.ts +19 -12
- package/clients/tenantService/models/WebPortalDtoListEnvelope.ts +14 -14
- package/clients/tenantService/services/DepartmentsService.ts +168 -0
- package/clients/tenantService/services/EmployeeEnrollmentsService.ts +151 -0
- package/clients/tenantService/services/EnrollmentsService.ts +165 -0
- package/clients/tenantService/services/IndustriesService.ts +160 -0
- package/clients/tenantService/services/InvitationsService.ts +125 -0
- package/clients/tenantService/services/PositionsService.ts +162 -0
- package/clients/tenantService/services/SegmentsService.ts +161 -0
- package/clients/tenantService/services/SizesService.ts +168 -0
- package/clients/tenantService/services/TeamContactEnrollmentsService.ts +161 -0
- package/clients/tenantService/services/TeamProjectEnrollmentService.ts +151 -0
- package/clients/tenantService/services/TeamRecordsService.ts +162 -0
- package/clients/tenantService/services/TeamsService.ts +162 -0
- package/clients/tenantService/services/TenantsService.ts +805 -479
- package/clients/tenantService/services/TerritoriesService.ts +162 -0
- package/clients/tenantService/services/TypesService.ts +146 -0
- package/clients/tenantService/services/UnitsService.ts +160 -0
- package/clients/walletsService/core/ApiError.ts +2 -2
- package/clients/walletsService/core/ApiRequestOptions.ts +2 -2
- package/clients/walletsService/core/ApiResult.ts +2 -2
- package/clients/walletsService/core/CancelablePromise.ts +5 -5
- package/clients/walletsService/core/OpenAPI.ts +2 -2
- package/clients/walletsService/core/request.ts +3 -3
- package/clients/walletsService/index.ts +3 -3
- package/clients/walletsService/models/ErrorEnvelope.ts +12 -12
- package/clients/walletsService/models/InvoiceDto.ts +35 -13
- package/clients/walletsService/models/InvoiceDtoListEnvelope.ts +14 -14
- package/clients/walletsService/models/LocationDto.ts +31 -31
- package/clients/walletsService/models/LocationDtoListEnvelope.ts +14 -14
- package/clients/walletsService/models/OrderDto.ts +51 -27
- package/clients/walletsService/models/OrderDtoListEnvelope.ts +14 -14
- package/clients/walletsService/models/PaymentDto.ts +17 -17
- package/clients/walletsService/models/PaymentDtoListEnvelope.ts +14 -14
- package/clients/walletsService/models/WalletDto.ts +22 -22
- package/clients/walletsService/models/WalletDtoEnvelope.ts +14 -14
- package/clients/walletsService/services/WalletsService.ts +194 -174
- package/package.json +40 -40
- package/schemas/cartService/schema.s.ts +1396 -100
- package/schemas/catalogService/schema.s.ts +148 -141
- package/schemas/crmService/schema.s.ts +522 -58
- package/schemas/forexService/schema.s.ts +102 -339
- package/schemas/holderService/schema.s.ts +578 -153
- package/schemas/identityService/schema.s.ts +43 -70
- package/schemas/inventoryService/schema.s.ts +1 -1
- package/schemas/invoicingService/schema.s.ts +528 -17
- package/schemas/ordersService/schema.s.ts +46 -19
- package/schemas/pricingService/schema.s.ts +13 -13
- package/schemas/systemService/schema.s.ts +1171 -4
- package/schemas/tenantService/schema.s.ts +4978 -396
- package/schemas/walletsService/schema.s.ts +93 -17
- package/tsconfig.json +110 -110
- package/vite.config.js +28 -28
- package/wwwroot/build/bundle.js +1 -1
- package/clients/holderService/models/InvoiceDto.ts +0 -13
- package/clients/holderService/models/OrderDto.ts +0 -27
- package/clients/holderService/models/PaymentDto.ts +0 -17
|
@@ -1,286 +1,562 @@
|
|
|
1
|
-
/* generated using openapi-typescript-codegen -- do
|
|
2
|
-
/* istanbul ignore file */
|
|
3
|
-
/* tslint:disable */
|
|
4
|
-
/* eslint-disable */
|
|
5
|
-
import type { CartDtoEnvelope } from '../models/CartDtoEnvelope';
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type {
|
|
9
|
-
import type {
|
|
10
|
-
import type {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
* @
|
|
40
|
-
* @
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
): CancelablePromise<
|
|
46
|
-
return __request(OpenAPI, {
|
|
47
|
-
method: 'GET',
|
|
48
|
-
url: '/api/v2/CrmService/Contacts
|
|
49
|
-
|
|
50
|
-
'
|
|
51
|
-
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
*
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
errors: {
|
|
77
|
-
401: `Unauthorized`,
|
|
78
|
-
403: `Forbidden`,
|
|
79
|
-
},
|
|
80
|
-
});
|
|
81
|
-
}
|
|
82
|
-
/**
|
|
83
|
-
*
|
|
84
|
-
* @param
|
|
85
|
-
* @
|
|
86
|
-
* @
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
*
|
|
111
|
-
* @
|
|
112
|
-
* @
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
},
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
},
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
* @
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
},
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
query: {
|
|
202
|
-
'tenantId': tenantId,
|
|
203
|
-
},
|
|
204
|
-
errors: {
|
|
205
|
-
401: `Unauthorized`,
|
|
206
|
-
403: `Forbidden`,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
*
|
|
213
|
-
* @
|
|
214
|
-
* @
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
*
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
},
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CartDtoEnvelope } from '../models/CartDtoEnvelope';
|
|
6
|
+
import type { ContactCreateDto } from '../models/ContactCreateDto';
|
|
7
|
+
import type { ContactDtoEnvelope } from '../models/ContactDtoEnvelope';
|
|
8
|
+
import type { ContactDtoListEnvelope } from '../models/ContactDtoListEnvelope';
|
|
9
|
+
import type { ContactUpdateDto } from '../models/ContactUpdateDto';
|
|
10
|
+
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
11
|
+
import type { Operation } from '../models/Operation';
|
|
12
|
+
import type { SocialProfileDtoEnvelope } from '../models/SocialProfileDtoEnvelope';
|
|
13
|
+
import type { WalletDtoEnvelope } from '../models/WalletDtoEnvelope';
|
|
14
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
15
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
16
|
+
import { request as __request } from '../core/request';
|
|
17
|
+
export class ContactsService {
|
|
18
|
+
/**
|
|
19
|
+
* @param tenantId
|
|
20
|
+
* @returns ContactDtoListEnvelope OK
|
|
21
|
+
* @throws ApiError
|
|
22
|
+
*/
|
|
23
|
+
public static getApiV2CrmServiceContactsOData(
|
|
24
|
+
tenantId: string,
|
|
25
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
26
|
+
return __request(OpenAPI, {
|
|
27
|
+
method: 'GET',
|
|
28
|
+
url: '/api/v2/CrmService/Contacts/OData',
|
|
29
|
+
query: {
|
|
30
|
+
'tenantId': tenantId,
|
|
31
|
+
},
|
|
32
|
+
errors: {
|
|
33
|
+
401: `Unauthorized`,
|
|
34
|
+
403: `Forbidden`,
|
|
35
|
+
},
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* @param tenantId
|
|
40
|
+
* @returns ContactDtoListEnvelope OK
|
|
41
|
+
* @throws ApiError
|
|
42
|
+
*/
|
|
43
|
+
public static getApiV2CrmServiceContacts(
|
|
44
|
+
tenantId: string,
|
|
45
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
46
|
+
return __request(OpenAPI, {
|
|
47
|
+
method: 'GET',
|
|
48
|
+
url: '/api/v2/CrmService/Contacts',
|
|
49
|
+
query: {
|
|
50
|
+
'tenantId': tenantId,
|
|
51
|
+
},
|
|
52
|
+
errors: {
|
|
53
|
+
401: `Unauthorized`,
|
|
54
|
+
403: `Forbidden`,
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @param tenantId
|
|
60
|
+
* @param requestBody
|
|
61
|
+
* @returns EmptyEnvelope OK
|
|
62
|
+
* @throws ApiError
|
|
63
|
+
*/
|
|
64
|
+
public static postApiV2CrmServiceContacts(
|
|
65
|
+
tenantId: string,
|
|
66
|
+
requestBody?: ContactCreateDto,
|
|
67
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
68
|
+
return __request(OpenAPI, {
|
|
69
|
+
method: 'POST',
|
|
70
|
+
url: '/api/v2/CrmService/Contacts',
|
|
71
|
+
query: {
|
|
72
|
+
'tenantId': tenantId,
|
|
73
|
+
},
|
|
74
|
+
body: requestBody,
|
|
75
|
+
mediaType: 'application/json',
|
|
76
|
+
errors: {
|
|
77
|
+
401: `Unauthorized`,
|
|
78
|
+
403: `Forbidden`,
|
|
79
|
+
},
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* @param tenantId
|
|
84
|
+
* @param contactId
|
|
85
|
+
* @returns ContactDtoEnvelope OK
|
|
86
|
+
* @throws ApiError
|
|
87
|
+
*/
|
|
88
|
+
public static getApiV2CrmServiceContacts1(
|
|
89
|
+
tenantId: string,
|
|
90
|
+
contactId: string,
|
|
91
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
92
|
+
return __request(OpenAPI, {
|
|
93
|
+
method: 'GET',
|
|
94
|
+
url: '/api/v2/CrmService/Contacts/{contactId}',
|
|
95
|
+
path: {
|
|
96
|
+
'contactId': contactId,
|
|
97
|
+
},
|
|
98
|
+
query: {
|
|
99
|
+
'tenantId': tenantId,
|
|
100
|
+
},
|
|
101
|
+
errors: {
|
|
102
|
+
401: `Unauthorized`,
|
|
103
|
+
403: `Forbidden`,
|
|
104
|
+
},
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* @param tenantId
|
|
109
|
+
* @param contactId
|
|
110
|
+
* @param requestBody
|
|
111
|
+
* @returns EmptyEnvelope OK
|
|
112
|
+
* @throws ApiError
|
|
113
|
+
*/
|
|
114
|
+
public static putApiV2CrmServiceContacts(
|
|
115
|
+
tenantId: string,
|
|
116
|
+
contactId: string,
|
|
117
|
+
requestBody?: ContactUpdateDto,
|
|
118
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
119
|
+
return __request(OpenAPI, {
|
|
120
|
+
method: 'PUT',
|
|
121
|
+
url: '/api/v2/CrmService/Contacts/{contactId}',
|
|
122
|
+
path: {
|
|
123
|
+
'contactId': contactId,
|
|
124
|
+
},
|
|
125
|
+
query: {
|
|
126
|
+
'tenantId': tenantId,
|
|
127
|
+
},
|
|
128
|
+
body: requestBody,
|
|
129
|
+
mediaType: 'application/json',
|
|
130
|
+
errors: {
|
|
131
|
+
401: `Unauthorized`,
|
|
132
|
+
403: `Forbidden`,
|
|
133
|
+
},
|
|
134
|
+
});
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* @param tenantId
|
|
138
|
+
* @param contactId
|
|
139
|
+
* @returns EmptyEnvelope OK
|
|
140
|
+
* @throws ApiError
|
|
141
|
+
*/
|
|
142
|
+
public static deleteApiV2CrmServiceContacts(
|
|
143
|
+
tenantId: string,
|
|
144
|
+
contactId: string,
|
|
145
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
146
|
+
return __request(OpenAPI, {
|
|
147
|
+
method: 'DELETE',
|
|
148
|
+
url: '/api/v2/CrmService/Contacts/{contactId}',
|
|
149
|
+
path: {
|
|
150
|
+
'contactId': contactId,
|
|
151
|
+
},
|
|
152
|
+
query: {
|
|
153
|
+
'tenantId': tenantId,
|
|
154
|
+
},
|
|
155
|
+
errors: {
|
|
156
|
+
401: `Unauthorized`,
|
|
157
|
+
403: `Forbidden`,
|
|
158
|
+
},
|
|
159
|
+
});
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* @param tenantId
|
|
163
|
+
* @param contactId
|
|
164
|
+
* @param requestBody
|
|
165
|
+
* @returns EmptyEnvelope OK
|
|
166
|
+
* @throws ApiError
|
|
167
|
+
*/
|
|
168
|
+
public static patchApiV2CrmServiceContacts(
|
|
169
|
+
tenantId: string,
|
|
170
|
+
contactId: string,
|
|
171
|
+
requestBody?: Array<Operation>,
|
|
172
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
173
|
+
return __request(OpenAPI, {
|
|
174
|
+
method: 'PATCH',
|
|
175
|
+
url: '/api/v2/CrmService/Contacts/{contactId}',
|
|
176
|
+
path: {
|
|
177
|
+
'contactId': contactId,
|
|
178
|
+
},
|
|
179
|
+
query: {
|
|
180
|
+
'tenantId': tenantId,
|
|
181
|
+
},
|
|
182
|
+
body: requestBody,
|
|
183
|
+
mediaType: 'application/json',
|
|
184
|
+
errors: {
|
|
185
|
+
401: `Unauthorized`,
|
|
186
|
+
403: `Forbidden`,
|
|
187
|
+
},
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
/**
|
|
191
|
+
* @param tenantId
|
|
192
|
+
* @returns ContactDtoListEnvelope OK
|
|
193
|
+
* @throws ApiError
|
|
194
|
+
*/
|
|
195
|
+
public static getApiV2CrmServiceContactsIndividuals(
|
|
196
|
+
tenantId: string,
|
|
197
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
198
|
+
return __request(OpenAPI, {
|
|
199
|
+
method: 'GET',
|
|
200
|
+
url: '/api/v2/CrmService/Contacts/Individuals',
|
|
201
|
+
query: {
|
|
202
|
+
'tenantId': tenantId,
|
|
203
|
+
},
|
|
204
|
+
errors: {
|
|
205
|
+
401: `Unauthorized`,
|
|
206
|
+
403: `Forbidden`,
|
|
207
|
+
},
|
|
208
|
+
});
|
|
209
|
+
}
|
|
210
|
+
/**
|
|
211
|
+
* @param tenantId
|
|
212
|
+
* @param contactId
|
|
213
|
+
* @returns ContactDtoEnvelope OK
|
|
214
|
+
* @throws ApiError
|
|
215
|
+
*/
|
|
216
|
+
public static getApiV2CrmServiceContactsIndividuals1(
|
|
217
|
+
tenantId: string,
|
|
218
|
+
contactId: string,
|
|
219
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
220
|
+
return __request(OpenAPI, {
|
|
221
|
+
method: 'GET',
|
|
222
|
+
url: '/api/v2/CrmService/Contacts/Individuals/{contactId}',
|
|
223
|
+
path: {
|
|
224
|
+
'contactId': contactId,
|
|
225
|
+
},
|
|
226
|
+
query: {
|
|
227
|
+
'tenantId': tenantId,
|
|
228
|
+
},
|
|
229
|
+
errors: {
|
|
230
|
+
401: `Unauthorized`,
|
|
231
|
+
403: `Forbidden`,
|
|
232
|
+
404: `Not Found`,
|
|
233
|
+
},
|
|
234
|
+
});
|
|
235
|
+
}
|
|
236
|
+
/**
|
|
237
|
+
* @param tenantId
|
|
238
|
+
* @returns ContactDtoListEnvelope OK
|
|
239
|
+
* @throws ApiError
|
|
240
|
+
*/
|
|
241
|
+
public static getApiV2CrmServiceContactsOrganizations(
|
|
242
|
+
tenantId: string,
|
|
243
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
244
|
+
return __request(OpenAPI, {
|
|
245
|
+
method: 'GET',
|
|
246
|
+
url: '/api/v2/CrmService/Contacts/Organizations',
|
|
247
|
+
query: {
|
|
248
|
+
'tenantId': tenantId,
|
|
249
|
+
},
|
|
250
|
+
errors: {
|
|
251
|
+
401: `Unauthorized`,
|
|
252
|
+
403: `Forbidden`,
|
|
253
|
+
},
|
|
254
|
+
});
|
|
255
|
+
}
|
|
256
|
+
/**
|
|
257
|
+
* @param tenantId
|
|
258
|
+
* @param contactId
|
|
259
|
+
* @returns ContactDtoEnvelope OK
|
|
260
|
+
* @throws ApiError
|
|
261
|
+
*/
|
|
262
|
+
public static getApiV2CrmServiceContactsOrganizations1(
|
|
263
|
+
tenantId: string,
|
|
264
|
+
contactId: string,
|
|
265
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
266
|
+
return __request(OpenAPI, {
|
|
267
|
+
method: 'GET',
|
|
268
|
+
url: '/api/v2/CrmService/Contacts/Organizations/{contactId}',
|
|
269
|
+
path: {
|
|
270
|
+
'contactId': contactId,
|
|
271
|
+
},
|
|
272
|
+
query: {
|
|
273
|
+
'tenantId': tenantId,
|
|
274
|
+
},
|
|
275
|
+
errors: {
|
|
276
|
+
401: `Unauthorized`,
|
|
277
|
+
403: `Forbidden`,
|
|
278
|
+
404: `Not Found`,
|
|
279
|
+
},
|
|
280
|
+
});
|
|
281
|
+
}
|
|
282
|
+
/**
|
|
283
|
+
* @param tenantId
|
|
284
|
+
* @param contactId
|
|
285
|
+
* @returns CartDtoEnvelope OK
|
|
286
|
+
* @throws ApiError
|
|
287
|
+
*/
|
|
288
|
+
public static getApiV2CrmServiceContactsCart(
|
|
289
|
+
tenantId: string,
|
|
290
|
+
contactId: string,
|
|
291
|
+
): CancelablePromise<CartDtoEnvelope> {
|
|
292
|
+
return __request(OpenAPI, {
|
|
293
|
+
method: 'GET',
|
|
294
|
+
url: '/api/v2/CrmService/Contacts/{contactId}/Cart',
|
|
295
|
+
path: {
|
|
296
|
+
'contactId': contactId,
|
|
297
|
+
},
|
|
298
|
+
query: {
|
|
299
|
+
'tenantId': tenantId,
|
|
300
|
+
},
|
|
301
|
+
errors: {
|
|
302
|
+
401: `Unauthorized`,
|
|
303
|
+
403: `Forbidden`,
|
|
304
|
+
404: `Not Found`,
|
|
305
|
+
},
|
|
306
|
+
});
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* @param tenantId
|
|
310
|
+
* @param contactId
|
|
311
|
+
* @returns EmptyEnvelope OK
|
|
312
|
+
* @throws ApiError
|
|
313
|
+
*/
|
|
314
|
+
public static getApiV2CrmServiceContactsAvatar(
|
|
315
|
+
tenantId: string,
|
|
316
|
+
contactId: string,
|
|
317
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
318
|
+
return __request(OpenAPI, {
|
|
319
|
+
method: 'GET',
|
|
320
|
+
url: '/api/v2/CrmService/Contacts/{contactId}/Avatar',
|
|
321
|
+
path: {
|
|
322
|
+
'contactId': contactId,
|
|
323
|
+
},
|
|
324
|
+
query: {
|
|
325
|
+
'tenantId': tenantId,
|
|
326
|
+
},
|
|
327
|
+
errors: {
|
|
328
|
+
401: `Unauthorized`,
|
|
329
|
+
403: `Forbidden`,
|
|
330
|
+
},
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
/**
|
|
334
|
+
* @param contactId
|
|
335
|
+
* @param tenantId
|
|
336
|
+
* @param formData
|
|
337
|
+
* @returns EmptyEnvelope OK
|
|
338
|
+
* @throws ApiError
|
|
339
|
+
*/
|
|
340
|
+
public static postApiV2CrmServiceContactsAvatar(
|
|
341
|
+
contactId: string,
|
|
342
|
+
tenantId?: string,
|
|
343
|
+
formData?: {
|
|
344
|
+
avatar?: Blob;
|
|
345
|
+
},
|
|
346
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
347
|
+
return __request(OpenAPI, {
|
|
348
|
+
method: 'POST',
|
|
349
|
+
url: '/api/v2/CrmService/Contacts/{contactId}/Avatar',
|
|
350
|
+
path: {
|
|
351
|
+
'contactId': contactId,
|
|
352
|
+
},
|
|
353
|
+
query: {
|
|
354
|
+
'tenantId': tenantId,
|
|
355
|
+
},
|
|
356
|
+
formData: formData,
|
|
357
|
+
mediaType: 'multipart/form-data',
|
|
358
|
+
errors: {
|
|
359
|
+
401: `Unauthorized`,
|
|
360
|
+
403: `Forbidden`,
|
|
361
|
+
},
|
|
362
|
+
});
|
|
363
|
+
}
|
|
364
|
+
/**
|
|
365
|
+
* @param tenantId
|
|
366
|
+
* @param contactId
|
|
367
|
+
* @returns WalletDtoEnvelope OK
|
|
368
|
+
* @throws ApiError
|
|
369
|
+
*/
|
|
370
|
+
public static getApiV2CrmServiceContactsWallet(
|
|
371
|
+
tenantId: string,
|
|
372
|
+
contactId: string,
|
|
373
|
+
): CancelablePromise<WalletDtoEnvelope> {
|
|
374
|
+
return __request(OpenAPI, {
|
|
375
|
+
method: 'GET',
|
|
376
|
+
url: '/api/v2/CrmService/Contacts/{contactId}/Wallet',
|
|
377
|
+
path: {
|
|
378
|
+
'contactId': contactId,
|
|
379
|
+
},
|
|
380
|
+
query: {
|
|
381
|
+
'tenantId': tenantId,
|
|
382
|
+
},
|
|
383
|
+
errors: {
|
|
384
|
+
401: `Unauthorized`,
|
|
385
|
+
403: `Forbidden`,
|
|
386
|
+
404: `Not Found`,
|
|
387
|
+
},
|
|
388
|
+
});
|
|
389
|
+
}
|
|
390
|
+
/**
|
|
391
|
+
* @param tenantId
|
|
392
|
+
* @param contactId
|
|
393
|
+
* @returns SocialProfileDtoEnvelope OK
|
|
394
|
+
* @throws ApiError
|
|
395
|
+
*/
|
|
396
|
+
public static getApiV2CrmServiceContactsSocialProfile(
|
|
397
|
+
tenantId: string,
|
|
398
|
+
contactId: string,
|
|
399
|
+
): CancelablePromise<SocialProfileDtoEnvelope> {
|
|
400
|
+
return __request(OpenAPI, {
|
|
401
|
+
method: 'GET',
|
|
402
|
+
url: '/api/v2/CrmService/Contacts/{contactId}/SocialProfile',
|
|
403
|
+
path: {
|
|
404
|
+
'contactId': contactId,
|
|
405
|
+
},
|
|
406
|
+
query: {
|
|
407
|
+
'tenantId': tenantId,
|
|
408
|
+
},
|
|
409
|
+
errors: {
|
|
410
|
+
401: `Unauthorized`,
|
|
411
|
+
403: `Forbidden`,
|
|
412
|
+
404: `Not Found`,
|
|
413
|
+
},
|
|
414
|
+
});
|
|
415
|
+
}
|
|
416
|
+
/**
|
|
417
|
+
* @param tenantId
|
|
418
|
+
* @param contactId
|
|
419
|
+
* @returns ContactDtoListEnvelope OK
|
|
420
|
+
* @throws ApiError
|
|
421
|
+
*/
|
|
422
|
+
public static getApiV2CrmServiceContactsIndividualsOrganizations(
|
|
423
|
+
tenantId: string,
|
|
424
|
+
contactId: string,
|
|
425
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
426
|
+
return __request(OpenAPI, {
|
|
427
|
+
method: 'GET',
|
|
428
|
+
url: '/api/v2/CrmService/Contacts/Individuals/{contactId}/Organizations',
|
|
429
|
+
path: {
|
|
430
|
+
'contactId': contactId,
|
|
431
|
+
},
|
|
432
|
+
query: {
|
|
433
|
+
'tenantId': tenantId,
|
|
434
|
+
},
|
|
435
|
+
errors: {
|
|
436
|
+
401: `Unauthorized`,
|
|
437
|
+
403: `Forbidden`,
|
|
438
|
+
},
|
|
439
|
+
});
|
|
440
|
+
}
|
|
441
|
+
/**
|
|
442
|
+
* @param tenantId
|
|
443
|
+
* @param contactId
|
|
444
|
+
* @returns ContactDtoListEnvelope OK
|
|
445
|
+
* @throws ApiError
|
|
446
|
+
*/
|
|
447
|
+
public static getApiV2CrmServiceContactsIndividualsIndividuals(
|
|
448
|
+
tenantId: string,
|
|
449
|
+
contactId: string,
|
|
450
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
451
|
+
return __request(OpenAPI, {
|
|
452
|
+
method: 'GET',
|
|
453
|
+
url: '/api/v2/CrmService/Contacts/Individuals/{contactId}/Individuals',
|
|
454
|
+
path: {
|
|
455
|
+
'contactId': contactId,
|
|
456
|
+
},
|
|
457
|
+
query: {
|
|
458
|
+
'tenantId': tenantId,
|
|
459
|
+
},
|
|
460
|
+
errors: {
|
|
461
|
+
401: `Unauthorized`,
|
|
462
|
+
403: `Forbidden`,
|
|
463
|
+
},
|
|
464
|
+
});
|
|
465
|
+
}
|
|
466
|
+
/**
|
|
467
|
+
* @param tenantId
|
|
468
|
+
* @param contactId
|
|
469
|
+
* @returns ContactDtoListEnvelope OK
|
|
470
|
+
* @throws ApiError
|
|
471
|
+
*/
|
|
472
|
+
public static getApiV2CrmServiceContactsOrganizationsIndividuals(
|
|
473
|
+
tenantId: string,
|
|
474
|
+
contactId: string,
|
|
475
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
476
|
+
return __request(OpenAPI, {
|
|
477
|
+
method: 'GET',
|
|
478
|
+
url: '/api/v2/CrmService/Contacts/Organizations/{contactId}/Individuals',
|
|
479
|
+
path: {
|
|
480
|
+
'contactId': contactId,
|
|
481
|
+
},
|
|
482
|
+
query: {
|
|
483
|
+
'tenantId': tenantId,
|
|
484
|
+
},
|
|
485
|
+
errors: {
|
|
486
|
+
401: `Unauthorized`,
|
|
487
|
+
403: `Forbidden`,
|
|
488
|
+
},
|
|
489
|
+
});
|
|
490
|
+
}
|
|
491
|
+
/**
|
|
492
|
+
* @param tenantId
|
|
493
|
+
* @param contactId
|
|
494
|
+
* @returns ContactDtoListEnvelope OK
|
|
495
|
+
* @throws ApiError
|
|
496
|
+
*/
|
|
497
|
+
public static getApiV2CrmServiceContactsOrganizationsOrganizations(
|
|
498
|
+
tenantId: string,
|
|
499
|
+
contactId: string,
|
|
500
|
+
): CancelablePromise<ContactDtoListEnvelope> {
|
|
501
|
+
return __request(OpenAPI, {
|
|
502
|
+
method: 'GET',
|
|
503
|
+
url: '/api/v2/CrmService/Contacts/Organizations/{contactId}/Organizations',
|
|
504
|
+
path: {
|
|
505
|
+
'contactId': contactId,
|
|
506
|
+
},
|
|
507
|
+
query: {
|
|
508
|
+
'tenantId': tenantId,
|
|
509
|
+
},
|
|
510
|
+
errors: {
|
|
511
|
+
401: `Unauthorized`,
|
|
512
|
+
403: `Forbidden`,
|
|
513
|
+
},
|
|
514
|
+
});
|
|
515
|
+
}
|
|
516
|
+
/**
|
|
517
|
+
* @param tenantId
|
|
518
|
+
* @param relatedTenantId
|
|
519
|
+
* @returns ContactDtoEnvelope OK
|
|
520
|
+
* @throws ApiError
|
|
521
|
+
*/
|
|
522
|
+
public static postApiV2CrmServiceContactsOrganizationsUpsert(
|
|
523
|
+
tenantId: string,
|
|
524
|
+
relatedTenantId: string,
|
|
525
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
526
|
+
return __request(OpenAPI, {
|
|
527
|
+
method: 'POST',
|
|
528
|
+
url: '/api/v2/CrmService/Contacts/Organizations/Upsert',
|
|
529
|
+
query: {
|
|
530
|
+
'tenantId': tenantId,
|
|
531
|
+
'relatedTenantId': relatedTenantId,
|
|
532
|
+
},
|
|
533
|
+
errors: {
|
|
534
|
+
401: `Unauthorized`,
|
|
535
|
+
403: `Forbidden`,
|
|
536
|
+
},
|
|
537
|
+
});
|
|
538
|
+
}
|
|
539
|
+
/**
|
|
540
|
+
* @param tenantId
|
|
541
|
+
* @param relatedUserId
|
|
542
|
+
* @returns ContactDtoEnvelope OK
|
|
543
|
+
* @throws ApiError
|
|
544
|
+
*/
|
|
545
|
+
public static postApiV2CrmServiceContactsIndividualsUpsert(
|
|
546
|
+
tenantId: string,
|
|
547
|
+
relatedUserId: string,
|
|
548
|
+
): CancelablePromise<ContactDtoEnvelope> {
|
|
549
|
+
return __request(OpenAPI, {
|
|
550
|
+
method: 'POST',
|
|
551
|
+
url: '/api/v2/CrmService/Contacts/Individuals/Upsert',
|
|
552
|
+
query: {
|
|
553
|
+
'tenantId': tenantId,
|
|
554
|
+
'relatedUserId': relatedUserId,
|
|
555
|
+
},
|
|
556
|
+
errors: {
|
|
557
|
+
401: `Unauthorized`,
|
|
558
|
+
403: `Forbidden`,
|
|
559
|
+
},
|
|
560
|
+
});
|
|
561
|
+
}
|
|
562
|
+
}
|