@fenixalliance/abs-api-client 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/app/index.ts +5 -0
- package/clients/cartService/core/ApiError.ts +24 -24
- package/clients/cartService/core/ApiRequestOptions.ts +16 -16
- package/clients/cartService/core/ApiResult.ts +10 -10
- package/clients/cartService/core/CancelablePromise.ts +130 -130
- package/clients/cartService/core/OpenAPI.ts +31 -31
- package/clients/cartService/core/request.ts +321 -321
- package/clients/cartService/index.ts +36 -52
- package/clients/cartService/models/CartDto.ts +1 -0
- package/clients/cartService/models/{RegisterRequest.ts → CartUpdateRequest.ts} +3 -3
- package/clients/cartService/models/{InfoResponse.ts → CountrySwitchRequest.ts} +3 -3
- package/clients/cartService/models/EmptyEnvelope.ts +11 -0
- package/clients/cartService/models/ItemCartRecordCreateDto.ts +1 -0
- package/clients/cartService/models/ItemCartRecordDto.ts +3 -1
- package/clients/{catalogService/models/ItemBrandDtoIReadOnlyCollectionEnvelope.ts → cartService/models/ItemCartRecordDtoListEnvelope.ts} +3 -3
- package/clients/cartService/models/{ItemToCompareCartRecordDtoIReadOnlyListEnvelope.ts → ItemToCompareCartRecordDtoListEnvelope.ts} +1 -1
- package/clients/cartService/models/WishListDto.ts +2 -1
- package/clients/cartService/services/CartsService.ts +53 -7
- package/clients/cartService/services/CompareService.ts +7 -6
- package/clients/cartService/services/RecordsService.ts +23 -20
- package/clients/cartService/services/WishListsService.ts +17 -17
- package/clients/catalogService/core/ApiError.ts +24 -24
- package/clients/catalogService/core/ApiRequestOptions.ts +16 -16
- package/clients/catalogService/core/ApiResult.ts +10 -10
- package/clients/catalogService/core/CancelablePromise.ts +130 -130
- package/clients/catalogService/core/OpenAPI.ts +31 -31
- package/clients/catalogService/core/request.ts +321 -321
- package/clients/catalogService/index.ts +102 -124
- package/clients/catalogService/models/EmptyEnvelope.ts +11 -0
- package/clients/catalogService/models/ItemAttachmentCreateDto.ts +4 -8
- package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +2 -5
- package/clients/catalogService/models/ItemAttributeCreateDto.ts +3 -2
- package/clients/catalogService/models/{ItemAttributeDtoIReadOnlyCollectionEnvelope.ts → ItemAttributeDtoListEnvelope.ts} +1 -1
- package/clients/catalogService/models/ItemAttributeUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemBrandCreateDto.ts +4 -3
- package/clients/catalogService/models/ItemBrandUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemCategoryCreateDto.ts +3 -2
- package/clients/catalogService/models/ItemCategoryUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemGoogleCategoryDto.ts +12 -3
- package/clients/catalogService/models/{ItemImagesCreateDto.ts → ItemImageCreateDto.ts} +4 -4
- package/clients/catalogService/models/ItemImageDto.ts +0 -1
- package/clients/catalogService/models/{ItemImagesUpdateDto.ts → ItemImageUpdateDto.ts} +6 -9
- package/clients/catalogService/models/ItemQuestionCreateDto.ts +6 -5
- package/clients/catalogService/models/ItemQuestionRecordCreateDto.ts +14 -0
- package/clients/catalogService/models/ItemQuestionUpdateDto.ts +1 -3
- package/clients/catalogService/models/ItemReviewCreateDto.ts +1 -0
- package/clients/catalogService/models/ItemReviewRecordCreateDto.ts +12 -0
- package/clients/catalogService/models/ItemShippingPolicyDto.ts +6 -6
- package/clients/catalogService/models/ItemTagCreateDto.ts +3 -2
- package/clients/catalogService/models/ItemTagUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemTypeCreateDto.ts +3 -2
- package/clients/catalogService/models/ItemTypeDto.ts +4 -4
- package/clients/catalogService/models/ItemTypeUpdateDto.ts +1 -1
- package/clients/catalogService/models/ItemWarrantyPolicyDto.ts +3 -4
- package/clients/catalogService/models/PricingRuleCreateDto.ts +1 -1
- package/clients/catalogService/models/PricingRuleDto.ts +0 -1
- package/clients/catalogService/models/StockItemCreateDto.ts +100 -3
- package/clients/catalogService/models/StockItemDto.ts +133 -4
- package/clients/catalogService/models/StockItemUpdateDto.ts +99 -2
- package/clients/catalogService/services/ItemAttachmentsService.ts +24 -13
- package/clients/catalogService/services/ItemAttributesService.ts +19 -9
- package/clients/catalogService/services/ItemBrandsService.ts +19 -9
- package/clients/catalogService/services/ItemCategoriesService.ts +19 -9
- package/clients/catalogService/services/ItemImagesService.ts +23 -13
- package/clients/catalogService/services/ItemQuestionsService.ts +19 -9
- package/clients/catalogService/services/ItemReviewsService.ts +18 -8
- package/clients/catalogService/services/ItemTagsService.ts +17 -12
- package/clients/catalogService/services/ItemTypesService.ts +19 -9
- package/clients/catalogService/services/PricingRulesService.ts +19 -11
- package/clients/catalogService/services/ProductsService.ts +177 -214
- package/clients/{contactService → crmService}/core/ApiError.ts +24 -24
- package/clients/{contactService → crmService}/core/ApiRequestOptions.ts +16 -16
- package/clients/{contactService → crmService}/core/ApiResult.ts +10 -10
- package/clients/{contactService → crmService}/core/CancelablePromise.ts +130 -130
- package/clients/{contactService → crmService}/core/OpenAPI.ts +31 -31
- package/clients/{contactService → crmService}/core/request.ts +321 -321
- package/clients/crmService/index.ts +23 -0
- package/clients/crmService/models/CartDto.ts +18 -0
- package/clients/{cartService/models/WishListDtoEnvelope.ts → crmService/models/CartDtoEnvelope.ts} +3 -3
- package/clients/crmService/models/ContactDto.ts +57 -0
- package/clients/crmService/models/EmptyEnvelope.ts +11 -0
- package/clients/crmService/models/SocialProfileDto.ts +39 -0
- package/clients/crmService/models/SocialProfileDtoEnvelope.ts +14 -0
- package/clients/crmService/models/WalletDto.ts +22 -0
- package/clients/crmService/models/WalletDtoEnvelope.ts +14 -0
- package/clients/crmService/services/ContactsService.ts +286 -0
- package/clients/crmService/services/SyncService.ts +101 -0
- package/clients/forexService/core/ApiError.ts +24 -24
- package/clients/forexService/core/ApiRequestOptions.ts +16 -16
- package/clients/forexService/core/ApiResult.ts +10 -10
- package/clients/forexService/core/CancelablePromise.ts +130 -130
- package/clients/forexService/core/OpenAPI.ts +31 -31
- package/clients/forexService/core/request.ts +321 -321
- package/clients/forexService/index.ts +18 -30
- package/clients/{cartService/models/Envelope.ts → forexService/models/ErrorEnvelope.ts} +1 -2
- package/clients/forexService/models/ForexRatesDto.ts +1 -1
- package/clients/forexService/models/Money.ts +1 -1
- package/clients/forexService/services/ExchangeService.ts +17 -7
- package/clients/forexService/services/RatesService.ts +11 -1
- package/clients/holderService/core/ApiError.ts +24 -24
- package/clients/holderService/core/ApiRequestOptions.ts +16 -16
- package/clients/holderService/core/ApiResult.ts +10 -10
- package/clients/holderService/core/CancelablePromise.ts +130 -130
- package/clients/holderService/core/OpenAPI.ts +31 -31
- package/clients/holderService/core/request.ts +321 -321
- package/clients/holderService/index.ts +35 -31
- package/clients/holderService/models/AddressDto.ts +31 -0
- package/clients/holderService/models/AddressDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/CartDto.ts +18 -0
- package/clients/holderService/models/CartDtoEnvelope.ts +14 -0
- package/clients/holderService/models/InvoiceDto.ts +13 -0
- package/clients/{invoicingService/models/InvoiceDtoIReadOnlyListEnvelope.ts → holderService/models/InvoiceDtoListEnvelope.ts} +1 -1
- package/clients/holderService/models/NotificationDto.ts +16 -0
- package/clients/holderService/models/NotificationDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/OrderDto.ts +27 -0
- package/clients/holderService/models/OrderDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/PaymentDto.ts +17 -0
- package/clients/holderService/models/PaymentDtoListEnvelope.ts +14 -0
- package/clients/{identityService/models/AccountHolderDto.ts → holderService/models/PlatformUserDto.ts} +4 -4
- package/clients/holderService/models/PlatformUserDtoEnvelope.ts +14 -0
- package/clients/holderService/models/SocialProfileDto.ts +39 -0
- package/clients/holderService/models/SocialProfileDtoEnvelope.ts +14 -0
- package/clients/{identityService/models/BusinessDto.ts → holderService/models/TenantDto.ts} +16 -15
- package/clients/holderService/models/TenantDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/TenantEnrollmentDto.ts +14 -0
- package/clients/holderService/models/TenantEnrollmentDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/WalletDto.ts +22 -0
- package/clients/holderService/models/WalletDtoEnvelope.ts +14 -0
- package/clients/holderService/services/HolderService.ts +99 -28
- package/clients/identityService/core/ApiError.ts +24 -24
- package/clients/identityService/core/ApiRequestOptions.ts +16 -16
- package/clients/identityService/core/ApiResult.ts +10 -10
- package/clients/identityService/core/CancelablePromise.ts +130 -130
- package/clients/identityService/core/OpenAPI.ts +31 -31
- package/clients/identityService/core/request.ts +321 -321
- package/clients/identityService/index.ts +40 -53
- package/clients/identityService/models/AccountHolderCreateDto.ts +1 -0
- package/clients/identityService/models/ApiResponse.ts +4 -5
- package/clients/{holderService/models/AccountHolderDto.ts → identityService/models/PlatformUserDto.ts} +4 -4
- package/clients/{holderService/models/BusinessDto.ts → identityService/models/TenantDto.ts} +16 -15
- package/clients/identityService/services/CheckerService.ts +3 -2
- package/clients/identityService/services/OAuthService.ts +8 -6
- package/clients/inventoryService/core/ApiError.ts +24 -24
- package/clients/inventoryService/core/ApiRequestOptions.ts +16 -16
- package/clients/inventoryService/core/ApiResult.ts +10 -10
- package/clients/inventoryService/core/CancelablePromise.ts +130 -130
- package/clients/inventoryService/core/OpenAPI.ts +31 -31
- package/clients/inventoryService/core/request.ts +321 -321
- package/clients/inventoryService/index.ts +10 -24
- package/clients/invoicingService/core/ApiError.ts +24 -24
- package/clients/invoicingService/core/ApiRequestOptions.ts +16 -16
- package/clients/invoicingService/core/ApiResult.ts +10 -10
- package/clients/invoicingService/core/CancelablePromise.ts +130 -130
- package/clients/invoicingService/core/OpenAPI.ts +31 -31
- package/clients/invoicingService/core/request.ts +321 -321
- package/clients/invoicingService/index.ts +23 -28
- package/clients/invoicingService/models/EmptyEnvelope.ts +11 -0
- package/clients/invoicingService/models/InvoiceCreateDto.ts +11 -0
- package/clients/invoicingService/models/InvoiceDtoEnvelope.ts +14 -0
- package/clients/{cartService/models/ProductCartRecordDto.ts → invoicingService/models/InvoiceLineDto.ts} +7 -10
- package/clients/invoicingService/models/InvoiceLineDtoEnvelope.ts +14 -0
- package/clients/{catalogService/models/ItemPricePolicyDtoEnvelope.ts → invoicingService/models/InvoiceLineDtoListEnvelope.ts} +3 -3
- package/clients/{tenantService/models/IntPtr.ts → invoicingService/models/InvoiceUpdateDto.ts} +1 -1
- package/clients/invoicingService/models/ItemPriceCreateDto.ts +20 -0
- package/clients/invoicingService/models/ItemPriceUpdateDto.ts +14 -0
- package/clients/invoicingService/services/InvoicesService.ts +253 -15
- package/clients/ordersService/core/ApiError.ts +25 -0
- package/clients/ordersService/core/ApiRequestOptions.ts +17 -0
- package/clients/ordersService/core/ApiResult.ts +11 -0
- package/clients/ordersService/core/CancelablePromise.ts +131 -0
- package/clients/ordersService/core/OpenAPI.ts +32 -0
- package/clients/ordersService/core/request.ts +322 -0
- package/clients/ordersService/index.ts +23 -0
- package/clients/ordersService/models/EmptyEnvelope.ts +11 -0
- package/clients/ordersService/models/ErrorEnvelope.ts +12 -0
- package/clients/ordersService/models/ItemPriceCreateDto.ts +20 -0
- package/clients/ordersService/models/ItemPriceUpdateDto.ts +14 -0
- package/clients/ordersService/models/OrderCreateDto.ts +16 -0
- package/clients/ordersService/models/OrderDto.ts +27 -0
- package/clients/ordersService/models/OrderDtoEnvelope.ts +14 -0
- package/clients/ordersService/models/OrderDtoListEnvelope.ts +14 -0
- package/clients/ordersService/models/OrderLineDto.ts +95 -0
- package/clients/ordersService/models/OrderLineDtoEnvelope.ts +14 -0
- package/clients/ordersService/models/OrderLineDtoListEnvelope.ts +14 -0
- package/clients/ordersService/models/OrderUpdateDto.ts +12 -0
- package/clients/ordersService/services/OrdersService.ts +296 -0
- package/clients/pricingService/core/ApiError.ts +24 -24
- package/clients/pricingService/core/ApiRequestOptions.ts +16 -16
- package/clients/pricingService/core/ApiResult.ts +10 -10
- package/clients/pricingService/core/CancelablePromise.ts +130 -130
- package/clients/pricingService/core/OpenAPI.ts +31 -31
- package/clients/pricingService/core/request.ts +321 -321
- package/clients/pricingService/index.ts +27 -29
- package/clients/pricingService/models/EmptyEnvelope.ts +11 -0
- package/clients/pricingService/models/ItemPriceCreateDto.ts +20 -0
- package/clients/pricingService/models/ItemPriceDto.ts +20 -0
- package/clients/pricingService/models/ItemPriceDtoEnvelope.ts +14 -0
- package/clients/pricingService/models/ItemPriceDtoListEnvelope.ts +14 -0
- package/clients/pricingService/models/ItemPriceUpdateDto.ts +14 -0
- package/clients/pricingService/models/Money.ts +1 -1
- package/clients/pricingService/models/PriceListCreateDto.ts +18 -0
- package/clients/pricingService/models/PriceListDto.ts +17 -0
- package/clients/pricingService/models/PriceListDtoEnvelope.ts +14 -0
- package/clients/pricingService/models/PriceListDtoListEnvelope.ts +14 -0
- package/clients/pricingService/models/PriceListUpdateDto.ts +14 -0
- package/clients/pricingService/services/PriceListsService.ts +254 -8
- package/clients/systemService/core/ApiError.ts +25 -0
- package/clients/systemService/core/ApiRequestOptions.ts +17 -0
- package/clients/systemService/core/ApiResult.ts +11 -0
- package/clients/systemService/core/CancelablePromise.ts +131 -0
- package/clients/systemService/core/OpenAPI.ts +32 -0
- package/clients/systemService/core/request.ts +322 -0
- package/clients/systemService/index.ts +14 -0
- package/clients/systemService/models/ErrorEnvelope.ts +12 -0
- package/clients/systemService/models/StringListEnvelope.ts +13 -0
- package/clients/systemService/services/AntiforgeryService.ts +29 -0
- package/clients/systemService/services/MigrationsService.ts +44 -0
- package/clients/tenantService/core/ApiError.ts +24 -24
- package/clients/tenantService/core/ApiRequestOptions.ts +16 -16
- package/clients/tenantService/core/ApiResult.ts +10 -10
- package/clients/tenantService/core/CancelablePromise.ts +130 -130
- package/clients/tenantService/core/OpenAPI.ts +31 -31
- package/clients/tenantService/core/request.ts +321 -321
- package/clients/tenantService/index.ts +33 -62
- package/clients/tenantService/models/BooleanEnvelope.ts +13 -0
- package/clients/tenantService/models/CartDto.ts +18 -0
- package/clients/tenantService/models/CartDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/EmptyEnvelope.ts +11 -0
- package/clients/tenantService/models/ErrorEnvelope.ts +12 -0
- package/clients/tenantService/models/PlatformUserDto.ts +73 -0
- package/clients/tenantService/models/PlatformUserDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/SocialProfileDto.ts +39 -0
- package/clients/tenantService/models/SocialProfileDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/{BusinessCreateDto.ts → TenantCreateDto.ts} +2 -1
- package/clients/tenantService/models/{BusinessDto.ts → TenantDto.ts} +16 -15
- package/clients/tenantService/models/TenantDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantEnrollmentDto.ts +14 -0
- package/clients/{cartService/models/WishListDtoIReadOnlyListEnvelope.ts → tenantService/models/TenantEnrollmentDtoEnvelope.ts} +3 -3
- package/clients/tenantService/models/TenantEnrollmentDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/WalletDto.ts +2 -1
- package/clients/tenantService/models/WalletDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/{Error.ts → WebPortalDto.ts} +5 -3
- package/clients/tenantService/models/WebPortalDtoListEnvelope.ts +14 -0
- package/clients/tenantService/services/TenantsService.ts +230 -105
- package/clients/walletsService/core/ApiError.ts +25 -0
- package/clients/walletsService/core/ApiRequestOptions.ts +17 -0
- package/clients/walletsService/core/ApiResult.ts +11 -0
- package/clients/walletsService/core/CancelablePromise.ts +131 -0
- package/clients/walletsService/core/OpenAPI.ts +32 -0
- package/clients/walletsService/core/request.ts +322 -0
- package/clients/walletsService/index.ts +22 -0
- package/clients/walletsService/models/ErrorEnvelope.ts +12 -0
- package/clients/walletsService/models/InvoiceDto.ts +13 -0
- package/clients/walletsService/models/InvoiceDtoListEnvelope.ts +14 -0
- package/clients/walletsService/models/LocationDto.ts +31 -0
- package/clients/walletsService/models/LocationDtoListEnvelope.ts +14 -0
- package/clients/walletsService/models/OrderDto.ts +27 -0
- package/clients/walletsService/models/OrderDtoListEnvelope.ts +14 -0
- package/clients/walletsService/models/PaymentDto.ts +17 -0
- package/clients/walletsService/models/PaymentDtoListEnvelope.ts +14 -0
- package/clients/walletsService/models/WalletDto.ts +22 -0
- package/clients/walletsService/models/WalletDtoEnvelope.ts +14 -0
- package/clients/walletsService/services/WalletsService.ts +174 -0
- package/package.json +23 -21
- package/schemas/cartService/schema.s.ts +1166 -1560
- package/schemas/catalogService/schema.s.ts +5982 -6109
- package/schemas/crmService/schema.s.ts +804 -0
- package/schemas/forexService/schema.s.ts +602 -526
- package/schemas/holderService/schema.s.ts +831 -831
- package/schemas/identityService/schema.s.ts +744 -1119
- package/schemas/inventoryService/schema.s.ts +43 -425
- package/schemas/invoicingService/schema.s.ts +590 -521
- package/schemas/ordersService/schema.s.ts +605 -0
- package/schemas/pricingService/schema.s.ts +579 -549
- package/schemas/systemService/schema.s.ts +138 -0
- package/schemas/tenantService/schema.s.ts +1116 -1606
- package/schemas/walletsService/schema.s.ts +466 -0
- package/tsconfig.json +110 -0
- package/vite.config.js +29 -0
- package/wwwroot/build/bundle.js +1 -0
- package/clients/cartService/models/AccessTokenResponse.ts +0 -11
- package/clients/cartService/models/Error.ts +0 -10
- package/clients/cartService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/cartService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/cartService/models/InfoRequest.ts +0 -10
- package/clients/cartService/models/LoginRequest.ts +0 -11
- package/clients/cartService/models/RefreshRequest.ts +0 -8
- package/clients/cartService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/cartService/models/ResetPasswordRequest.ts +0 -10
- package/clients/cartService/models/ResponseStatus.ts +0 -12
- package/clients/cartService/models/TwoFactorRequest.ts +0 -12
- package/clients/cartService/models/TwoFactorResponse.ts +0 -12
- package/clients/cartService/models/WishListItemRecordDtoIReadOnlyListEnvelope.ts +0 -14
- package/clients/cartService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/catalogService/models/AccessTokenResponse.ts +0 -11
- package/clients/catalogService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/catalogService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/catalogService/models/InfoRequest.ts +0 -10
- package/clients/catalogService/models/InfoResponse.ts +0 -9
- package/clients/catalogService/models/ItemAttachmentDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemCategoryDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemImageDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemPricePolicyDto.ts +0 -35
- package/clients/catalogService/models/ItemPricePolicyDtoListEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemQuestionDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemReviewDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemTagDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/ItemTypeDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/LoginRequest.ts +0 -11
- package/clients/catalogService/models/PricingRuleDtoIReadOnlyCollectionEnvelope.ts +0 -14
- package/clients/catalogService/models/RefreshRequest.ts +0 -8
- package/clients/catalogService/models/RegisterRequest.ts +0 -9
- package/clients/catalogService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/catalogService/models/ResetPasswordRequest.ts +0 -10
- package/clients/catalogService/models/TwoFactorRequest.ts +0 -12
- package/clients/catalogService/models/TwoFactorResponse.ts +0 -12
- package/clients/catalogService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/contactService/index.ts +0 -28
- package/clients/contactService/models/AccessTokenResponse.ts +0 -11
- package/clients/contactService/models/ContactDto.ts +0 -44
- package/clients/contactService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/contactService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/contactService/models/InfoRequest.ts +0 -10
- package/clients/contactService/models/InfoResponse.ts +0 -9
- package/clients/contactService/models/LoginRequest.ts +0 -11
- package/clients/contactService/models/RefreshRequest.ts +0 -8
- package/clients/contactService/models/RegisterRequest.ts +0 -9
- package/clients/contactService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/contactService/models/ResetPasswordRequest.ts +0 -10
- package/clients/contactService/models/TwoFactorRequest.ts +0 -12
- package/clients/contactService/models/TwoFactorResponse.ts +0 -12
- package/clients/contactService/services/ContactsService.ts +0 -140
- package/clients/contactService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/forexService/models/AccessTokenResponse.ts +0 -11
- package/clients/forexService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/forexService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/forexService/models/InfoRequest.ts +0 -10
- package/clients/forexService/models/InfoResponse.ts +0 -9
- package/clients/forexService/models/LoginRequest.ts +0 -11
- package/clients/forexService/models/RefreshRequest.ts +0 -8
- package/clients/forexService/models/RegisterRequest.ts +0 -9
- package/clients/forexService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/forexService/models/ResetPasswordRequest.ts +0 -10
- package/clients/forexService/models/TwoFactorRequest.ts +0 -12
- package/clients/forexService/models/TwoFactorResponse.ts +0 -12
- package/clients/forexService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/holderService/models/AccessTokenResponse.ts +0 -11
- package/clients/holderService/models/AccountHolderCreateDto.ts +0 -34
- package/clients/holderService/models/AccountHolderDtoEnvelope.ts +0 -14
- package/clients/holderService/models/BusinessEnrollmentDto.ts +0 -19
- package/clients/holderService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/holderService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/holderService/models/InfoRequest.ts +0 -10
- package/clients/holderService/models/InfoResponse.ts +0 -9
- package/clients/holderService/models/LoginRequest.ts +0 -11
- package/clients/holderService/models/RefreshRequest.ts +0 -8
- package/clients/holderService/models/RegisterRequest.ts +0 -9
- package/clients/holderService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/holderService/models/ResetPasswordRequest.ts +0 -10
- package/clients/holderService/models/TwoFactorRequest.ts +0 -12
- package/clients/holderService/models/TwoFactorResponse.ts +0 -12
- package/clients/holderService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/identityService/models/AccessTokenResponse.ts +0 -11
- package/clients/identityService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/identityService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/identityService/models/InfoRequest.ts +0 -10
- package/clients/identityService/models/InfoResponse.ts +0 -9
- package/clients/identityService/models/LoginRequest.ts +0 -11
- package/clients/identityService/models/RefreshRequest.ts +0 -8
- package/clients/identityService/models/RegisterRequest.ts +0 -9
- package/clients/identityService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/identityService/models/ResetPasswordRequest.ts +0 -10
- package/clients/identityService/models/TwoFactorRequest.ts +0 -12
- package/clients/identityService/models/TwoFactorResponse.ts +0 -12
- package/clients/identityService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/inventoryService/models/AccessTokenResponse.ts +0 -11
- package/clients/inventoryService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/inventoryService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/inventoryService/models/InfoRequest.ts +0 -10
- package/clients/inventoryService/models/InfoResponse.ts +0 -9
- package/clients/inventoryService/models/LoginRequest.ts +0 -11
- package/clients/inventoryService/models/RefreshRequest.ts +0 -8
- package/clients/inventoryService/models/RegisterRequest.ts +0 -9
- package/clients/inventoryService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/inventoryService/models/ResetPasswordRequest.ts +0 -10
- package/clients/inventoryService/models/TwoFactorRequest.ts +0 -12
- package/clients/inventoryService/models/TwoFactorResponse.ts +0 -12
- package/clients/inventoryService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/invoicingService/models/AccessTokenResponse.ts +0 -11
- package/clients/invoicingService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/invoicingService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/invoicingService/models/InfoRequest.ts +0 -10
- package/clients/invoicingService/models/InfoResponse.ts +0 -9
- package/clients/invoicingService/models/LoginRequest.ts +0 -11
- package/clients/invoicingService/models/RefreshRequest.ts +0 -8
- package/clients/invoicingService/models/RegisterRequest.ts +0 -9
- package/clients/invoicingService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/invoicingService/models/ResetPasswordRequest.ts +0 -10
- package/clients/invoicingService/models/TwoFactorRequest.ts +0 -12
- package/clients/invoicingService/models/TwoFactorResponse.ts +0 -12
- package/clients/invoicingService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/pricingService/models/AccessTokenResponse.ts +0 -11
- package/clients/pricingService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/pricingService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/pricingService/models/InfoRequest.ts +0 -10
- package/clients/pricingService/models/InfoResponse.ts +0 -9
- package/clients/pricingService/models/LoginRequest.ts +0 -11
- package/clients/pricingService/models/RefreshRequest.ts +0 -8
- package/clients/pricingService/models/RegisterRequest.ts +0 -9
- package/clients/pricingService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/pricingService/models/ResetPasswordRequest.ts +0 -10
- package/clients/pricingService/models/TwoFactorRequest.ts +0 -12
- package/clients/pricingService/models/TwoFactorResponse.ts +0 -12
- package/clients/pricingService/services/FenixAllianceAbsWebService.ts +0 -293
- package/clients/tenantService/models/AccessTokenResponse.ts +0 -11
- package/clients/tenantService/models/AccountHolderCreateDto.ts +0 -34
- package/clients/tenantService/models/AggregateException.ts +0 -18
- package/clients/tenantService/models/Assembly.ts +0 -46
- package/clients/tenantService/models/BusinessEnrollmentDto.ts +0 -19
- package/clients/tenantService/models/BusinessEnrollmentDtoEnvelope.ts +0 -14
- package/clients/tenantService/models/BusinessEnrollmentDtoIReadOnlyListEnvelope.ts +0 -14
- package/clients/tenantService/models/ConstructorInfo.ts +0 -103
- package/clients/tenantService/models/CustomAttributeData.ts +0 -15
- package/clients/tenantService/models/CustomAttributeNamedArgument.ts +0 -13
- package/clients/tenantService/models/CustomAttributeTypedArgument.ts +0 -10
- package/clients/tenantService/models/EventInfo.ts +0 -44
- package/clients/tenantService/models/Exception.ts +0 -16
- package/clients/tenantService/models/FieldInfo.ts +0 -74
- package/clients/tenantService/models/ForgotPasswordRequest.ts +0 -8
- package/clients/tenantService/models/HttpValidationProblemDetails.ts +0 -5
- package/clients/tenantService/models/ICustomAttributeProvider.ts +0 -5
- package/clients/tenantService/models/InfoRequest.ts +0 -10
- package/clients/tenantService/models/InfoResponse.ts +0 -9
- package/clients/tenantService/models/LoginRequest.ts +0 -11
- package/clients/tenantService/models/MemberInfo.ts +0 -31
- package/clients/tenantService/models/MethodBase.ts +0 -103
- package/clients/tenantService/models/MethodInfo.ts +0 -108
- package/clients/tenantService/models/Module.ts +0 -19
- package/clients/tenantService/models/ModuleHandle.ts +0 -8
- package/clients/tenantService/models/ParameterInfo.ts +0 -40
- package/clients/tenantService/models/PropertyInfo.ts +0 -49
- package/clients/tenantService/models/RefreshRequest.ts +0 -8
- package/clients/tenantService/models/RegisterRequest.ts +0 -9
- package/clients/tenantService/models/ResendConfirmationEmailRequest.ts +0 -8
- package/clients/tenantService/models/ResetPasswordRequest.ts +0 -10
- package/clients/tenantService/models/ResponseStatus.ts +0 -12
- package/clients/tenantService/models/RuntimeFieldHandle.ts +0 -9
- package/clients/tenantService/models/RuntimeMethodHandle.ts +0 -9
- package/clients/tenantService/models/RuntimeTypeHandle.ts +0 -9
- package/clients/tenantService/models/StructLayoutAttribute.ts +0 -16
- package/clients/tenantService/models/TwoFactorRequest.ts +0 -12
- package/clients/tenantService/models/TwoFactorResponse.ts +0 -12
- package/clients/tenantService/models/Type.ts +0 -141
- package/clients/tenantService/models/TypeInfo.ts +0 -156
- package/clients/tenantService/models/WalletDtoTask.ts +0 -40
- package/clients/tenantService/models/WalletDtoTaskEnvelope.ts +0 -14
- package/clients/tenantService/services/FenixAllianceAbsWebService.ts +0 -293
- package/schemas/contactService/schema.s.ts +0 -674
- /package/clients/{contactService → crmService}/models/ContactDtoEnvelope.ts +0 -0
- /package/clients/{contactService → crmService}/models/ContactDtoListEnvelope.ts +0 -0
- /package/clients/{contactService → crmService}/models/ErrorEnvelope.ts +0 -0
|
@@ -2,276 +2,388 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
-
import type {
|
|
6
|
-
import type {
|
|
7
|
-
import type {
|
|
8
|
-
import type { BusinessEnrollmentDtoEnvelope } from '../models/BusinessEnrollmentDtoEnvelope';
|
|
9
|
-
import type { BusinessEnrollmentDtoIReadOnlyListEnvelope } from '../models/BusinessEnrollmentDtoIReadOnlyListEnvelope';
|
|
5
|
+
import type { BooleanEnvelope } from '../models/BooleanEnvelope';
|
|
6
|
+
import type { CartDtoEnvelope } from '../models/CartDtoEnvelope';
|
|
7
|
+
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
10
8
|
import type { NotificationDtoListEnvelope } from '../models/NotificationDtoListEnvelope';
|
|
9
|
+
import type { PlatformUserDtoListEnvelope } from '../models/PlatformUserDtoListEnvelope';
|
|
10
|
+
import type { SocialProfileDtoEnvelope } from '../models/SocialProfileDtoEnvelope';
|
|
11
11
|
import type { StringListEnvelope } from '../models/StringListEnvelope';
|
|
12
|
-
import type {
|
|
12
|
+
import type { TenantCreateDto } from '../models/TenantCreateDto';
|
|
13
|
+
import type { TenantDtoEnvelope } from '../models/TenantDtoEnvelope';
|
|
14
|
+
import type { TenantEnrollmentDtoEnvelope } from '../models/TenantEnrollmentDtoEnvelope';
|
|
15
|
+
import type { TenantEnrollmentDtoListEnvelope } from '../models/TenantEnrollmentDtoListEnvelope';
|
|
16
|
+
import type { WalletDtoEnvelope } from '../models/WalletDtoEnvelope';
|
|
17
|
+
import type { WebPortalDtoListEnvelope } from '../models/WebPortalDtoListEnvelope';
|
|
13
18
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
14
19
|
import { OpenAPI } from '../core/OpenAPI';
|
|
15
20
|
import { request as __request } from '../core/request';
|
|
16
21
|
export class TenantsService {
|
|
17
22
|
/**
|
|
18
|
-
* @returns
|
|
23
|
+
* @returns TenantDtoEnvelope Success
|
|
19
24
|
* @throws ApiError
|
|
20
25
|
*/
|
|
21
|
-
public static
|
|
26
|
+
public static getApiV2TenantsRoot(): CancelablePromise<TenantDtoEnvelope> {
|
|
27
|
+
return __request(OpenAPI, {
|
|
28
|
+
method: 'GET',
|
|
29
|
+
url: '/api/v2/Tenants/Root',
|
|
30
|
+
errors: {
|
|
31
|
+
401: `Unauthorized`,
|
|
32
|
+
403: `Forbidden`,
|
|
33
|
+
},
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* @returns TenantDtoEnvelope Success
|
|
38
|
+
* @throws ApiError
|
|
39
|
+
*/
|
|
40
|
+
public static getApiV2TenantsCurrent(): CancelablePromise<TenantDtoEnvelope> {
|
|
22
41
|
return __request(OpenAPI, {
|
|
23
42
|
method: 'GET',
|
|
24
43
|
url: '/api/v2/Tenants/Current',
|
|
25
44
|
errors: {
|
|
26
45
|
401: `Unauthorized`,
|
|
46
|
+
403: `Forbidden`,
|
|
27
47
|
},
|
|
28
48
|
});
|
|
29
49
|
}
|
|
30
50
|
/**
|
|
31
|
-
* @param
|
|
32
|
-
* @returns
|
|
51
|
+
* @param tenantId
|
|
52
|
+
* @returns TenantDtoEnvelope Success
|
|
33
53
|
* @throws ApiError
|
|
34
54
|
*/
|
|
35
55
|
public static getApiV2Tenants(
|
|
36
|
-
|
|
37
|
-
): CancelablePromise<
|
|
56
|
+
tenantId: string,
|
|
57
|
+
): CancelablePromise<TenantDtoEnvelope> {
|
|
38
58
|
return __request(OpenAPI, {
|
|
39
59
|
method: 'GET',
|
|
40
|
-
url: '/api/v2/Tenants/{
|
|
60
|
+
url: '/api/v2/Tenants/{tenantId}',
|
|
41
61
|
path: {
|
|
42
|
-
'
|
|
62
|
+
'tenantId': tenantId,
|
|
43
63
|
},
|
|
44
64
|
errors: {
|
|
45
65
|
401: `Unauthorized`,
|
|
66
|
+
403: `Forbidden`,
|
|
46
67
|
},
|
|
47
68
|
});
|
|
48
69
|
}
|
|
49
70
|
/**
|
|
50
|
-
* @param
|
|
51
|
-
* @returns
|
|
71
|
+
* @param tenantId
|
|
72
|
+
* @returns WalletDtoEnvelope Success
|
|
52
73
|
* @throws ApiError
|
|
53
74
|
*/
|
|
54
75
|
public static getApiV2TenantsWallet(
|
|
55
|
-
|
|
56
|
-
): CancelablePromise<
|
|
76
|
+
tenantId: string,
|
|
77
|
+
): CancelablePromise<WalletDtoEnvelope> {
|
|
57
78
|
return __request(OpenAPI, {
|
|
58
79
|
method: 'GET',
|
|
59
|
-
url: '/api/v2/Tenants/{
|
|
80
|
+
url: '/api/v2/Tenants/{tenantId}/Wallet',
|
|
60
81
|
path: {
|
|
61
|
-
'
|
|
82
|
+
'tenantId': tenantId,
|
|
83
|
+
},
|
|
84
|
+
errors: {
|
|
85
|
+
401: `Unauthorized`,
|
|
86
|
+
403: `Forbidden`,
|
|
62
87
|
},
|
|
63
88
|
});
|
|
64
89
|
}
|
|
65
90
|
/**
|
|
66
|
-
* @param
|
|
67
|
-
* @returns
|
|
91
|
+
* @param tenantId
|
|
92
|
+
* @returns SocialProfileDtoEnvelope Success
|
|
68
93
|
* @throws ApiError
|
|
69
94
|
*/
|
|
70
95
|
public static getApiV2TenantsSocialProfile(
|
|
71
|
-
|
|
72
|
-
): CancelablePromise<
|
|
96
|
+
tenantId: string,
|
|
97
|
+
): CancelablePromise<SocialProfileDtoEnvelope> {
|
|
73
98
|
return __request(OpenAPI, {
|
|
74
99
|
method: 'GET',
|
|
75
|
-
url: '/api/v2/Tenants/{
|
|
100
|
+
url: '/api/v2/Tenants/{tenantId}/SocialProfile',
|
|
76
101
|
path: {
|
|
77
|
-
'
|
|
102
|
+
'tenantId': tenantId,
|
|
103
|
+
},
|
|
104
|
+
errors: {
|
|
105
|
+
401: `Unauthorized`,
|
|
106
|
+
403: `Forbidden`,
|
|
78
107
|
},
|
|
79
108
|
});
|
|
80
109
|
}
|
|
81
110
|
/**
|
|
82
|
-
* @param
|
|
83
|
-
* @returns
|
|
111
|
+
* @param tenantId
|
|
112
|
+
* @returns CartDtoEnvelope Success
|
|
84
113
|
* @throws ApiError
|
|
85
114
|
*/
|
|
86
115
|
public static getApiV2TenantsCart(
|
|
87
|
-
|
|
88
|
-
): CancelablePromise<
|
|
116
|
+
tenantId: string,
|
|
117
|
+
): CancelablePromise<CartDtoEnvelope> {
|
|
89
118
|
return __request(OpenAPI, {
|
|
90
119
|
method: 'GET',
|
|
91
|
-
url: '/api/v2/Tenants/{
|
|
120
|
+
url: '/api/v2/Tenants/{tenantId}/Cart',
|
|
92
121
|
path: {
|
|
93
|
-
'
|
|
122
|
+
'tenantId': tenantId,
|
|
123
|
+
},
|
|
124
|
+
errors: {
|
|
125
|
+
401: `Unauthorized`,
|
|
126
|
+
403: `Forbidden`,
|
|
94
127
|
},
|
|
95
128
|
});
|
|
96
129
|
}
|
|
97
130
|
/**
|
|
98
|
-
* @param
|
|
99
|
-
* @returns
|
|
131
|
+
* @param tenantId
|
|
132
|
+
* @returns PlatformUserDtoListEnvelope Success
|
|
133
|
+
* @throws ApiError
|
|
134
|
+
*/
|
|
135
|
+
public static getApiV2TenantsUsers(
|
|
136
|
+
tenantId: string,
|
|
137
|
+
): CancelablePromise<PlatformUserDtoListEnvelope> {
|
|
138
|
+
return __request(OpenAPI, {
|
|
139
|
+
method: 'GET',
|
|
140
|
+
url: '/api/v2/Tenants/{tenantId}/Users',
|
|
141
|
+
path: {
|
|
142
|
+
'tenantId': tenantId,
|
|
143
|
+
},
|
|
144
|
+
errors: {
|
|
145
|
+
401: `Unauthorized`,
|
|
146
|
+
403: `Forbidden`,
|
|
147
|
+
},
|
|
148
|
+
});
|
|
149
|
+
}
|
|
150
|
+
/**
|
|
151
|
+
* @param tenantId
|
|
152
|
+
* @returns TenantEnrollmentDtoListEnvelope Success
|
|
100
153
|
* @throws ApiError
|
|
101
154
|
*/
|
|
102
155
|
public static getApiV2TenantsEnrollments(
|
|
103
|
-
|
|
104
|
-
): CancelablePromise<
|
|
156
|
+
tenantId: string,
|
|
157
|
+
): CancelablePromise<TenantEnrollmentDtoListEnvelope> {
|
|
105
158
|
return __request(OpenAPI, {
|
|
106
159
|
method: 'GET',
|
|
107
|
-
url: '/api/v2/Tenants/{
|
|
160
|
+
url: '/api/v2/Tenants/{tenantId}/Enrollments',
|
|
108
161
|
path: {
|
|
109
|
-
'
|
|
162
|
+
'tenantId': tenantId,
|
|
163
|
+
},
|
|
164
|
+
errors: {
|
|
165
|
+
401: `Unauthorized`,
|
|
166
|
+
403: `Forbidden`,
|
|
110
167
|
},
|
|
111
168
|
});
|
|
112
169
|
}
|
|
113
170
|
/**
|
|
114
|
-
* @param
|
|
171
|
+
* @param tenantId
|
|
115
172
|
* @param enrollmentId
|
|
116
|
-
* @returns
|
|
173
|
+
* @returns TenantEnrollmentDtoEnvelope Success
|
|
117
174
|
* @throws ApiError
|
|
118
175
|
*/
|
|
119
176
|
public static getApiV2TenantsEnrollments1(
|
|
120
|
-
|
|
177
|
+
tenantId: string,
|
|
121
178
|
enrollmentId: string,
|
|
122
|
-
): CancelablePromise<
|
|
179
|
+
): CancelablePromise<TenantEnrollmentDtoEnvelope> {
|
|
123
180
|
return __request(OpenAPI, {
|
|
124
181
|
method: 'GET',
|
|
125
|
-
url: '/api/v2/Tenants/{
|
|
182
|
+
url: '/api/v2/Tenants/{tenantId}/Enrollments/{enrollmentId}',
|
|
126
183
|
path: {
|
|
127
|
-
'
|
|
184
|
+
'tenantId': tenantId,
|
|
128
185
|
'enrollmentId': enrollmentId,
|
|
129
186
|
},
|
|
187
|
+
errors: {
|
|
188
|
+
401: `Unauthorized`,
|
|
189
|
+
403: `Forbidden`,
|
|
190
|
+
},
|
|
130
191
|
});
|
|
131
192
|
}
|
|
132
193
|
/**
|
|
133
|
-
* @param
|
|
194
|
+
* @param tenantId
|
|
134
195
|
* @param enrollmentId
|
|
135
|
-
* @returns
|
|
196
|
+
* @returns StringListEnvelope Success
|
|
136
197
|
* @throws ApiError
|
|
137
198
|
*/
|
|
138
|
-
public static
|
|
139
|
-
|
|
199
|
+
public static getApiV2TenantsEnrollmentsPermissions(
|
|
200
|
+
tenantId: string,
|
|
140
201
|
enrollmentId: string,
|
|
141
|
-
): CancelablePromise<
|
|
202
|
+
): CancelablePromise<StringListEnvelope> {
|
|
142
203
|
return __request(OpenAPI, {
|
|
143
204
|
method: 'GET',
|
|
144
|
-
url: '/api/v2/Tenants/{
|
|
205
|
+
url: '/api/v2/Tenants/{tenantId}/Enrollments/{enrollmentId}/Permissions',
|
|
145
206
|
path: {
|
|
146
|
-
'
|
|
147
|
-
'
|
|
207
|
+
'tenantId': tenantId,
|
|
208
|
+
'enrollmentId': enrollmentId,
|
|
209
|
+
},
|
|
210
|
+
errors: {
|
|
211
|
+
401: `Unauthorized`,
|
|
212
|
+
403: `Forbidden`,
|
|
148
213
|
},
|
|
149
214
|
});
|
|
150
215
|
}
|
|
151
216
|
/**
|
|
152
|
-
* @param
|
|
217
|
+
* @param tenantId
|
|
153
218
|
* @param enrollmentId
|
|
154
|
-
* @
|
|
219
|
+
* @param roles
|
|
220
|
+
* @param permissions
|
|
221
|
+
* @returns BooleanEnvelope Success
|
|
155
222
|
* @throws ApiError
|
|
156
223
|
*/
|
|
157
|
-
public static
|
|
158
|
-
|
|
224
|
+
public static getApiV2TenantsEnrollmentsPermissionsValidate(
|
|
225
|
+
tenantId: string,
|
|
159
226
|
enrollmentId: string,
|
|
160
|
-
|
|
227
|
+
roles?: Array<string>,
|
|
228
|
+
permissions?: Array<string>,
|
|
229
|
+
): CancelablePromise<BooleanEnvelope> {
|
|
230
|
+
return __request(OpenAPI, {
|
|
231
|
+
method: 'GET',
|
|
232
|
+
url: '/api/v2/Tenants/{tenantId}/Enrollments/{EnrollmentID}/Permissions/Validate',
|
|
233
|
+
path: {
|
|
234
|
+
'tenantId': tenantId,
|
|
235
|
+
'enrollmentId': enrollmentId,
|
|
236
|
+
},
|
|
237
|
+
query: {
|
|
238
|
+
'roles': roles,
|
|
239
|
+
'permissions': permissions,
|
|
240
|
+
},
|
|
241
|
+
errors: {
|
|
242
|
+
401: `Unauthorized`,
|
|
243
|
+
403: `Forbidden`,
|
|
244
|
+
},
|
|
245
|
+
});
|
|
246
|
+
}
|
|
247
|
+
/**
|
|
248
|
+
* @param tenantId
|
|
249
|
+
* @param enrollmentId
|
|
250
|
+
* @returns any Success
|
|
251
|
+
* @throws ApiError
|
|
252
|
+
*/
|
|
253
|
+
public static getApiV2TenantsEnrollmentsLicenses(
|
|
254
|
+
tenantId: string,
|
|
255
|
+
enrollmentId: string,
|
|
256
|
+
): CancelablePromise<any> {
|
|
161
257
|
return __request(OpenAPI, {
|
|
162
258
|
method: 'GET',
|
|
163
|
-
url: '/api/v2/Tenants/{
|
|
259
|
+
url: '/api/v2/Tenants/{tenantId}/Enrollments/{EnrollmentID}/Licenses',
|
|
164
260
|
path: {
|
|
165
|
-
'
|
|
261
|
+
'tenantId': tenantId,
|
|
166
262
|
'enrollmentID': enrollmentId,
|
|
167
263
|
},
|
|
168
264
|
});
|
|
169
265
|
}
|
|
170
266
|
/**
|
|
171
|
-
* @param
|
|
267
|
+
* @param tenantId
|
|
172
268
|
* @returns any Success
|
|
173
269
|
* @throws ApiError
|
|
174
270
|
*/
|
|
175
271
|
public static getApiV2TenantsLicenses(
|
|
176
|
-
|
|
272
|
+
tenantId: string,
|
|
177
273
|
): CancelablePromise<any> {
|
|
178
274
|
return __request(OpenAPI, {
|
|
179
275
|
method: 'GET',
|
|
180
|
-
url: '/api/v2/Tenants/{
|
|
276
|
+
url: '/api/v2/Tenants/{tenantId}/Licenses',
|
|
181
277
|
path: {
|
|
182
|
-
'
|
|
278
|
+
'tenantId': tenantId,
|
|
183
279
|
},
|
|
184
280
|
});
|
|
185
281
|
}
|
|
186
282
|
/**
|
|
187
283
|
* @param requestBody
|
|
188
|
-
* @returns
|
|
284
|
+
* @returns EmptyEnvelope Success
|
|
189
285
|
* @throws ApiError
|
|
190
286
|
*/
|
|
191
287
|
public static postApiV2Tenants(
|
|
192
|
-
requestBody?:
|
|
193
|
-
): CancelablePromise<
|
|
288
|
+
requestBody?: TenantCreateDto,
|
|
289
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
194
290
|
return __request(OpenAPI, {
|
|
195
291
|
method: 'POST',
|
|
196
292
|
url: '/api/v2/Tenants',
|
|
197
293
|
body: requestBody,
|
|
198
294
|
mediaType: 'application/json',
|
|
295
|
+
errors: {
|
|
296
|
+
401: `Unauthorized`,
|
|
297
|
+
403: `Forbidden`,
|
|
298
|
+
},
|
|
199
299
|
});
|
|
200
300
|
}
|
|
201
301
|
/**
|
|
202
|
-
* @param
|
|
203
|
-
* @returns
|
|
302
|
+
* @param tenantId
|
|
303
|
+
* @returns EmptyEnvelope Success
|
|
204
304
|
* @throws ApiError
|
|
205
305
|
*/
|
|
206
306
|
public static deleteApiV2Tenants(
|
|
207
|
-
|
|
208
|
-
): CancelablePromise<
|
|
307
|
+
tenantId: string,
|
|
308
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
209
309
|
return __request(OpenAPI, {
|
|
210
310
|
method: 'DELETE',
|
|
211
311
|
url: '/api/v2/Tenants',
|
|
212
312
|
query: {
|
|
213
|
-
'
|
|
313
|
+
'tenantId': tenantId,
|
|
314
|
+
},
|
|
315
|
+
errors: {
|
|
316
|
+
401: `Unauthorized`,
|
|
317
|
+
403: `Forbidden`,
|
|
214
318
|
},
|
|
215
319
|
});
|
|
216
320
|
}
|
|
217
321
|
/**
|
|
218
|
-
* @param
|
|
322
|
+
* @param tenantId
|
|
219
323
|
* @param backTo
|
|
220
324
|
* @param enableRedirect
|
|
221
|
-
* @returns
|
|
325
|
+
* @returns EmptyEnvelope Success
|
|
222
326
|
* @throws ApiError
|
|
223
327
|
*/
|
|
224
328
|
public static getApiV2TenantsSelect(
|
|
225
|
-
|
|
329
|
+
tenantId: string,
|
|
226
330
|
backTo?: string,
|
|
227
331
|
enableRedirect: boolean = true,
|
|
228
|
-
): CancelablePromise<
|
|
332
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
229
333
|
return __request(OpenAPI, {
|
|
230
334
|
method: 'GET',
|
|
231
|
-
url: '/api/v2/Tenants/{
|
|
335
|
+
url: '/api/v2/Tenants/{tenantId}/Select',
|
|
232
336
|
path: {
|
|
233
|
-
'
|
|
337
|
+
'tenantId': tenantId,
|
|
234
338
|
},
|
|
235
339
|
query: {
|
|
236
340
|
'backTo': backTo,
|
|
237
341
|
'enableRedirect': enableRedirect,
|
|
238
342
|
},
|
|
343
|
+
errors: {
|
|
344
|
+
401: `Unauthorized`,
|
|
345
|
+
403: `Forbidden`,
|
|
346
|
+
},
|
|
239
347
|
});
|
|
240
348
|
}
|
|
241
349
|
/**
|
|
242
|
-
* @param
|
|
350
|
+
* @param tenantId
|
|
243
351
|
* @param backTo
|
|
244
352
|
* @param enableRedirect
|
|
245
|
-
* @returns
|
|
353
|
+
* @returns EmptyEnvelope Success
|
|
246
354
|
* @throws ApiError
|
|
247
355
|
*/
|
|
248
356
|
public static postApiV2TenantsSelect(
|
|
249
|
-
|
|
357
|
+
tenantId: string,
|
|
250
358
|
backTo?: string,
|
|
251
359
|
enableRedirect: boolean = true,
|
|
252
|
-
): CancelablePromise<
|
|
360
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
253
361
|
return __request(OpenAPI, {
|
|
254
362
|
method: 'POST',
|
|
255
|
-
url: '/api/v2/Tenants/{
|
|
363
|
+
url: '/api/v2/Tenants/{tenantId}/Select',
|
|
256
364
|
path: {
|
|
257
|
-
'
|
|
365
|
+
'tenantId': tenantId,
|
|
258
366
|
},
|
|
259
367
|
query: {
|
|
260
368
|
'backTo': backTo,
|
|
261
369
|
'enableRedirect': enableRedirect,
|
|
262
370
|
},
|
|
371
|
+
errors: {
|
|
372
|
+
401: `Unauthorized`,
|
|
373
|
+
403: `Forbidden`,
|
|
374
|
+
},
|
|
263
375
|
});
|
|
264
376
|
}
|
|
265
377
|
/**
|
|
266
378
|
* @param backTo
|
|
267
379
|
* @param enableRedirect
|
|
268
|
-
* @returns
|
|
380
|
+
* @returns EmptyEnvelope Success
|
|
269
381
|
* @throws ApiError
|
|
270
382
|
*/
|
|
271
383
|
public static getApiV2TenantsDeselect(
|
|
272
384
|
backTo?: string,
|
|
273
385
|
enableRedirect: boolean = true,
|
|
274
|
-
): CancelablePromise<
|
|
386
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
275
387
|
return __request(OpenAPI, {
|
|
276
388
|
method: 'GET',
|
|
277
389
|
url: '/api/v2/Tenants/Deselect',
|
|
@@ -279,18 +391,22 @@ export class TenantsService {
|
|
|
279
391
|
'backTo': backTo,
|
|
280
392
|
'enableRedirect': enableRedirect,
|
|
281
393
|
},
|
|
394
|
+
errors: {
|
|
395
|
+
401: `Unauthorized`,
|
|
396
|
+
403: `Forbidden`,
|
|
397
|
+
},
|
|
282
398
|
});
|
|
283
399
|
}
|
|
284
400
|
/**
|
|
285
401
|
* @param backTo
|
|
286
402
|
* @param enableRedirect
|
|
287
|
-
* @returns
|
|
403
|
+
* @returns EmptyEnvelope Success
|
|
288
404
|
* @throws ApiError
|
|
289
405
|
*/
|
|
290
406
|
public static postApiV2TenantsDeselect(
|
|
291
407
|
backTo?: string,
|
|
292
408
|
enableRedirect: boolean = true,
|
|
293
|
-
): CancelablePromise<
|
|
409
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
294
410
|
return __request(OpenAPI, {
|
|
295
411
|
method: 'POST',
|
|
296
412
|
url: '/api/v2/Tenants/Deselect',
|
|
@@ -298,56 +414,65 @@ export class TenantsService {
|
|
|
298
414
|
'backTo': backTo,
|
|
299
415
|
'enableRedirect': enableRedirect,
|
|
300
416
|
},
|
|
417
|
+
errors: {
|
|
418
|
+
401: `Unauthorized`,
|
|
419
|
+
403: `Forbidden`,
|
|
420
|
+
},
|
|
301
421
|
});
|
|
302
422
|
}
|
|
303
423
|
/**
|
|
304
|
-
* @param
|
|
424
|
+
* @param tenantId
|
|
305
425
|
* @returns any Success
|
|
306
426
|
* @throws ApiError
|
|
307
427
|
*/
|
|
308
428
|
public static getApiV2TenantsAppAuthorization(
|
|
309
|
-
|
|
429
|
+
tenantId: string,
|
|
310
430
|
): CancelablePromise<any> {
|
|
311
431
|
return __request(OpenAPI, {
|
|
312
432
|
method: 'GET',
|
|
313
|
-
url: '/api/v2/Tenants/{
|
|
433
|
+
url: '/api/v2/Tenants/{tenantId}/AppAuthorization',
|
|
314
434
|
path: {
|
|
315
|
-
'
|
|
435
|
+
'tenantId': tenantId,
|
|
316
436
|
},
|
|
317
437
|
});
|
|
318
438
|
}
|
|
319
439
|
/**
|
|
320
|
-
* @param
|
|
321
|
-
* @returns
|
|
440
|
+
* @param tenantId
|
|
441
|
+
* @returns WebPortalDtoListEnvelope Success
|
|
322
442
|
* @throws ApiError
|
|
323
443
|
*/
|
|
324
|
-
public static
|
|
325
|
-
|
|
326
|
-
): CancelablePromise<
|
|
444
|
+
public static getApiV2TenantsWebPortals(
|
|
445
|
+
tenantId: string,
|
|
446
|
+
): CancelablePromise<WebPortalDtoListEnvelope> {
|
|
327
447
|
return __request(OpenAPI, {
|
|
328
448
|
method: 'GET',
|
|
329
|
-
url: '/api/v2/Tenants/{
|
|
449
|
+
url: '/api/v2/Tenants/{tenantId}/WebPortals',
|
|
330
450
|
path: {
|
|
331
|
-
'
|
|
451
|
+
'tenantId': tenantId,
|
|
452
|
+
},
|
|
453
|
+
errors: {
|
|
454
|
+
401: `Unauthorized`,
|
|
455
|
+
403: `Forbidden`,
|
|
332
456
|
},
|
|
333
457
|
});
|
|
334
458
|
}
|
|
335
459
|
/**
|
|
336
|
-
* @param
|
|
337
|
-
* @returns
|
|
460
|
+
* @param tenantId
|
|
461
|
+
* @returns NotificationDtoListEnvelope Success
|
|
338
462
|
* @throws ApiError
|
|
339
463
|
*/
|
|
340
|
-
public static
|
|
341
|
-
|
|
342
|
-
): CancelablePromise<
|
|
464
|
+
public static getApiV2TenantsNotifications(
|
|
465
|
+
tenantId: string,
|
|
466
|
+
): CancelablePromise<NotificationDtoListEnvelope> {
|
|
343
467
|
return __request(OpenAPI, {
|
|
344
468
|
method: 'GET',
|
|
345
|
-
url: '/api/v2/Tenants/{
|
|
469
|
+
url: '/api/v2/Tenants/{tenantId}/Notifications',
|
|
346
470
|
path: {
|
|
347
|
-
'
|
|
471
|
+
'tenantId': tenantId,
|
|
348
472
|
},
|
|
349
473
|
errors: {
|
|
350
474
|
401: `Unauthorized`,
|
|
475
|
+
403: `Forbidden`,
|
|
351
476
|
},
|
|
352
477
|
});
|
|
353
478
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
6
|
+
import type { ApiResult } from './ApiResult';
|
|
7
|
+
|
|
8
|
+
export class ApiError extends Error {
|
|
9
|
+
public readonly url: string;
|
|
10
|
+
public readonly status: number;
|
|
11
|
+
public readonly statusText: string;
|
|
12
|
+
public readonly body: any;
|
|
13
|
+
public readonly request: ApiRequestOptions;
|
|
14
|
+
|
|
15
|
+
constructor(request: ApiRequestOptions, response: ApiResult, message: string) {
|
|
16
|
+
super(message);
|
|
17
|
+
|
|
18
|
+
this.name = 'ApiError';
|
|
19
|
+
this.url = response.url;
|
|
20
|
+
this.status = response.status;
|
|
21
|
+
this.statusText = response.statusText;
|
|
22
|
+
this.body = response.body;
|
|
23
|
+
this.request = request;
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ApiRequestOptions = {
|
|
6
|
+
readonly method: 'GET' | 'PUT' | 'POST' | 'DELETE' | 'OPTIONS' | 'HEAD' | 'PATCH';
|
|
7
|
+
readonly url: string;
|
|
8
|
+
readonly path?: Record<string, any>;
|
|
9
|
+
readonly cookies?: Record<string, any>;
|
|
10
|
+
readonly headers?: Record<string, any>;
|
|
11
|
+
readonly query?: Record<string, any>;
|
|
12
|
+
readonly formData?: Record<string, any>;
|
|
13
|
+
readonly body?: any;
|
|
14
|
+
readonly mediaType?: string;
|
|
15
|
+
readonly responseHeader?: string;
|
|
16
|
+
readonly errors?: Record<number, string>;
|
|
17
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type ApiResult = {
|
|
6
|
+
readonly url: string;
|
|
7
|
+
readonly ok: boolean;
|
|
8
|
+
readonly status: number;
|
|
9
|
+
readonly statusText: string;
|
|
10
|
+
readonly body: any;
|
|
11
|
+
};
|