@fenixalliance/abs-api-client 1.0.2 → 1.0.5
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.sln +25 -0
- package/FenixAlliance.ABP.SDK.TypeScript.xml +8 -0
- package/clients/accountingService/core/ApiError.ts +25 -0
- package/clients/accountingService/core/ApiRequestOptions.ts +17 -0
- package/clients/accountingService/core/ApiResult.ts +11 -0
- package/clients/accountingService/core/CancelablePromise.ts +131 -0
- package/clients/accountingService/core/OpenAPI.ts +32 -0
- package/clients/accountingService/core/request.ts +322 -0
- package/clients/accountingService/index.ts +97 -0
- package/clients/accountingService/models/AccountCreateDto.ts +30 -0
- package/clients/accountingService/models/AccountDto.ts +41 -0
- package/clients/{catalogService/models/StockItemDtoEnvelope.ts → accountingService/models/AccountDtoEnvelope.ts} +5 -5
- package/clients/{holderService/models/InvoiceDtoListEnvelope.ts → accountingService/models/AccountDtoListEnvelope.ts} +5 -5
- package/clients/accountingService/models/AccountUpdateDto.ts +26 -0
- package/clients/accountingService/models/AccountingEntryCreateDto.ts +26 -0
- package/clients/accountingService/models/AccountingEntryDto.ts +34 -0
- package/clients/accountingService/models/AccountingEntryDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/AccountingEntryDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/AccountingEntryUpdateDto.ts +24 -0
- package/clients/accountingService/models/BillingProfileCreateDto.ts +30 -0
- package/clients/accountingService/models/BillingProfileDto.ts +67 -0
- package/clients/accountingService/models/BillingProfileDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/BillingProfileDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/BillingProfileUpdateDto.ts +28 -0
- package/clients/accountingService/models/BudgetCreateDto.ts +12 -0
- package/clients/accountingService/models/BudgetDto.ts +12 -0
- package/clients/{holderService/models/PaymentDtoListEnvelope.ts → accountingService/models/BudgetDtoEnvelope.ts} +5 -5
- package/clients/accountingService/models/BudgetDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/BudgetUpdateDto.ts +9 -0
- package/clients/accountingService/models/CreateLedgerDto.ts +15 -0
- package/clients/accountingService/models/Currency.ts +9 -0
- package/clients/accountingService/models/EmptyEnvelope.ts +12 -0
- package/clients/accountingService/models/ErrorEnvelope.ts +12 -0
- package/clients/accountingService/models/FinancialBookCreateDto.ts +12 -0
- package/clients/{holderService/models/InvoiceDto.ts → accountingService/models/FinancialBookDto.ts} +3 -4
- package/clients/accountingService/models/FinancialBookDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/FinancialBookDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/FinancialBookUpdateDto.ts +10 -0
- package/clients/accountingService/models/FiscalAuthorityCreateDto.ts +14 -0
- package/clients/accountingService/models/FiscalAuthorityDto.ts +16 -0
- package/clients/accountingService/models/FiscalAuthorityDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/FiscalAuthorityDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/FiscalAuthorityUpdateDto.ts +12 -0
- package/clients/accountingService/models/FiscalYearCreateDto.ts +16 -0
- package/clients/accountingService/models/FiscalYearDto.ts +16 -0
- package/clients/accountingService/models/FiscalYearDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/FiscalYearDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/FiscalYearUpdateDto.ts +12 -0
- package/clients/accountingService/models/Int32Envelope.ts +13 -0
- package/clients/accountingService/models/InvoiceEnumerationRangeCreateDto.ts +29 -0
- package/clients/accountingService/models/InvoiceEnumerationRangeDto.ts +29 -0
- package/clients/accountingService/models/InvoiceEnumerationRangeDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/InvoiceEnumerationRangeDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/InvoiceEnumerationRangeUpdateDto.ts +27 -0
- package/clients/accountingService/models/JournalCreateDto.ts +17 -0
- package/clients/accountingService/models/JournalDto.ts +17 -0
- package/clients/accountingService/models/JournalDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/JournalDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/JournalEntryCreateDto.ts +20 -0
- package/clients/accountingService/models/JournalEntryDto.ts +31 -0
- package/clients/accountingService/models/JournalEntryDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/JournalEntryUpdateDto.ts +18 -0
- package/clients/accountingService/models/JournalTypeCreateDto.ts +12 -0
- package/clients/accountingService/models/JournalTypeDto.ts +12 -0
- package/clients/accountingService/models/JournalTypeDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/JournalTypeDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/JournalTypeUpdateDto.ts +10 -0
- package/clients/accountingService/models/JournalUpdateDto.ts +13 -0
- package/clients/accountingService/models/LedgerDto.ts +15 -0
- package/clients/accountingService/models/LedgerDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/LedgerDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/LoanCreateDto.ts +18 -0
- package/clients/accountingService/models/LoanDto.ts +18 -0
- package/clients/accountingService/models/LoanDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/LoanDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/LoanUpdateDto.ts +15 -0
- package/clients/accountingService/models/Money.ts +10 -0
- package/clients/accountingService/models/Operation.ts +23 -0
- package/clients/accountingService/models/ReceiptCreateDto.ts +48 -0
- package/clients/accountingService/models/ReceiptDto.ts +24 -0
- package/clients/accountingService/models/ReceiptDtoEnvelope.ts +14 -0
- package/clients/accountingService/models/ReceiptDtoListEnvelope.ts +14 -0
- package/clients/accountingService/models/ReceiptUpdateDto.ts +19 -0
- package/clients/accountingService/models/UpdateLedgerDto.ts +12 -0
- package/clients/accountingService/services/AccountsService.ts +788 -0
- package/clients/accountingService/services/BillingProfilesService.ts +194 -0
- package/clients/accountingService/services/BudgetsService.ts +167 -0
- package/clients/accountingService/services/FinancialBooksService.ts +194 -0
- package/clients/accountingService/services/FiscalAuthoritiesService.ts +194 -0
- package/clients/accountingService/services/FiscalYearsService.ts +194 -0
- package/clients/accountingService/services/InvoiceEnumerationRangesService.ts +167 -0
- package/clients/accountingService/services/JournalTypesService.ts +167 -0
- package/clients/accountingService/services/JournalsService.ts +366 -0
- package/clients/accountingService/services/LedgersService.ts +163 -0
- package/clients/accountingService/services/LoansService.ts +194 -0
- package/clients/accountingService/services/ReceiptsService.ts +164 -0
- package/clients/cartService/index.ts +5 -0
- package/clients/cartService/models/BooleanEnvelope.ts +2 -2
- package/clients/cartService/models/CartDtoEnvelope.ts +2 -2
- package/clients/cartService/models/CartUpdateRequest.ts +2 -2
- package/clients/cartService/models/CountryDto.ts +14 -0
- package/clients/cartService/models/CountryDtoEnvelope.ts +14 -0
- package/clients/cartService/models/CurrencyDto.ts +13 -0
- package/clients/cartService/models/CurrencyDtoEnvelope.ts +14 -0
- package/clients/cartService/models/EmptyEnvelope.ts +2 -1
- package/clients/cartService/models/ErrorEnvelope.ts +2 -2
- package/clients/cartService/models/ItemCartRecordCreateDto.ts +1 -1
- package/clients/cartService/models/ItemCartRecordDto.ts +9 -7
- package/clients/cartService/models/ItemCartRecordDtoEnvelope.ts +2 -2
- package/clients/cartService/models/ItemCartRecordDtoListEnvelope.ts +2 -2
- package/clients/cartService/models/ItemCartRecordUpdateDto.ts +0 -2
- package/clients/cartService/models/ItemToCompareCartRecordDto.ts +14 -1
- package/clients/cartService/models/ItemToCompareCartRecordDtoEnvelope.ts +2 -2
- package/clients/cartService/models/ItemToCompareCartRecordDtoListEnvelope.ts +2 -2
- package/clients/cartService/models/ProductToWishListRequest.ts +2 -2
- package/clients/cartService/models/WishListDtoEnvelope.ts +14 -0
- package/clients/cartService/services/CartsService.ts +1069 -22
- package/clients/cartService/services/CompareService.ts +24 -4
- package/clients/cartService/services/RecordsService.ts +114 -9
- package/clients/cartService/services/WishListsService.ts +116 -9
- package/clients/catalogService/index.ts +14 -6
- package/clients/catalogService/models/CatalogItemCreateDto.ts +167 -0
- package/clients/catalogService/models/CatalogItemDto.ts +170 -0
- package/clients/catalogService/models/CatalogItemDtoEnvelope.ts +14 -0
- package/clients/catalogService/models/CatalogItemDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/{StockItemDto.ts → CatalogItemUpdateDto.ts} +138 -105
- package/clients/catalogService/models/Currency.ts +9 -0
- package/clients/catalogService/models/EmptyEnvelope.ts +2 -1
- package/clients/catalogService/models/ErrorEnvelope.ts +2 -2
- package/clients/catalogService/models/Int32Envelope.ts +13 -0
- package/clients/catalogService/models/ItemAttachmentCreateDto.ts +6 -4
- package/clients/catalogService/models/ItemAttachmentDto.ts +13 -11
- package/clients/catalogService/models/ItemAttachmentDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemAttachmentDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemAttachmentUpdateDto.ts +5 -2
- package/clients/catalogService/models/ItemAttributeDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemAttributeDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemAttributeOptionDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemAttributeOptionDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemBrandDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemBrandDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemCategoryDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemCategoryDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemGoogleCategoryDto.ts +2 -1
- package/clients/catalogService/models/ItemGoogleCategoryDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemGoogleCategoryDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemImageDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemImageDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemQuestionDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemQuestionDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemRefundPolicyDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemRefundPolicyDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemReturnPolicyDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemReturnPolicyDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemReviewDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemReviewDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemShippingPolicyDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemShippingPolicyDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemTagDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemTagDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemTaxPolicyDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemTaxPolicyDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemTypeDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemTypeDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemWarrantyPolicyDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/ItemWarrantyPolicyDtoListEnvelope.ts +2 -2
- package/clients/catalogService/models/MerchantDto.ts +47 -0
- package/clients/catalogService/models/MerchantDtoListEnvelope.ts +14 -0
- package/clients/catalogService/models/Money.ts +10 -0
- package/clients/catalogService/models/MoneyEnvelope.ts +14 -0
- package/clients/catalogService/models/PricingRuleDtoEnvelope.ts +2 -2
- package/clients/catalogService/models/PricingRuleDtoListEnvelope.ts +2 -2
- package/clients/catalogService/services/ItemAttachmentsService.ts +55 -30
- package/clients/catalogService/services/ItemAttributesService.ts +55 -30
- package/clients/catalogService/services/ItemBrandsService.ts +55 -30
- package/clients/catalogService/services/ItemCategoriesService.ts +74 -49
- package/clients/catalogService/services/ItemGoogleCategoriesService.ts +182 -0
- package/clients/catalogService/services/ItemImagesService.ts +55 -30
- package/clients/catalogService/services/ItemQuestionsService.ts +55 -30
- package/clients/catalogService/services/ItemReviewsService.ts +55 -30
- package/clients/catalogService/services/ItemTagsService.ts +55 -30
- package/clients/catalogService/services/ItemTypesService.ts +57 -32
- package/clients/catalogService/services/ItemsService.ts +2176 -0
- package/clients/catalogService/services/MerchantsService.ts +30 -0
- package/clients/catalogService/services/PoliciesService.ts +24 -4
- package/clients/catalogService/services/PricingRulesService.ts +64 -39
- package/clients/crmService/index.ts +5 -0
- package/clients/crmService/models/CartDtoEnvelope.ts +2 -2
- package/clients/crmService/models/ContactCreateDto.ts +55 -0
- package/clients/crmService/models/ContactDto.ts +35 -21
- package/clients/crmService/models/ContactDtoEnvelope.ts +2 -2
- package/clients/crmService/models/ContactDtoListEnvelope.ts +2 -2
- package/clients/crmService/models/ContactProfileDto.ts +38 -0
- package/clients/crmService/models/ContactProfileDtoListEnvelope.ts +14 -0
- package/clients/crmService/models/ContactUpdateDto.ts +53 -0
- package/clients/crmService/models/EmptyEnvelope.ts +2 -1
- package/clients/crmService/models/ErrorEnvelope.ts +2 -2
- package/clients/crmService/models/Operation.ts +23 -0
- package/clients/crmService/models/SocialProfileDtoEnvelope.ts +2 -2
- package/clients/crmService/models/WalletDtoEnvelope.ts +2 -2
- package/clients/crmService/services/ContactsService.ts +509 -40
- package/clients/crmService/services/SyncService.ts +31 -15
- package/clients/forexService/index.ts +3 -0
- package/clients/forexService/models/Currency.ts +1 -1
- package/clients/forexService/models/ErrorEnvelope.ts +2 -2
- package/clients/forexService/models/ExchangeRate.ts +11 -0
- package/clients/forexService/models/ExchangeRateEnvelope.ts +14 -0
- package/clients/forexService/models/ForexRatesDtoEnvelope.ts +2 -2
- package/clients/forexService/models/Money.ts +1 -1
- package/clients/forexService/models/MoneyEnvelope.ts +2 -2
- package/clients/forexService/services/ExchangeService.ts +9 -11
- package/clients/forexService/services/ExchangeVService.ts +65 -0
- package/clients/forexService/services/RatesService.ts +71 -6
- package/clients/holderService/index.ts +19 -8
- package/clients/holderService/models/AddressDto.ts +1 -1
- package/clients/holderService/models/AddressDtoListEnvelope.ts +2 -2
- package/clients/holderService/models/CartDtoEnvelope.ts +2 -2
- package/clients/holderService/models/EmptyEnvelope.ts +12 -0
- package/clients/holderService/models/EmptyEnvelopeEnvelope.ts +14 -0
- package/clients/holderService/models/EnrollmentId.ts +5 -0
- package/clients/holderService/models/ErrorEnvelope.ts +2 -2
- package/clients/holderService/models/ExtendedPlatformUserDto.ts +79 -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 +19 -0
- package/clients/holderService/models/ExtendedTenantEnrolmentDtoListEnvelope.ts +14 -0
- package/clients/holderService/models/NotificationDtoListEnvelope.ts +2 -2
- package/clients/holderService/models/Operation.ts +23 -0
- package/clients/holderService/models/PlatformUserDto.ts +26 -28
- package/clients/holderService/models/PlatformUserDtoEnvelope.ts +2 -2
- 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/SocialProfileDtoEnvelope.ts +2 -2
- package/clients/holderService/models/TenantDto.ts +1 -10
- package/clients/holderService/models/TenantDtoListEnvelope.ts +2 -2
- package/clients/{tenantService/models/TenantEnrollmentDto.ts → holderService/models/TenantEnrolmentDto.ts} +4 -3
- 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/{TenantEnrollmentDtoListEnvelope.ts → TenantInvitationDtoListEnvelope.ts} +5 -5
- package/clients/holderService/models/WalletDtoEnvelope.ts +2 -2
- package/clients/holderService/services/HolderService.ts +283 -44
- package/clients/identityService/index.ts +1 -1
- package/clients/identityService/models/AccountHolderCreateDto.ts +20 -15
- package/clients/identityService/models/AccountHolderCreateDtoEnvelope.ts +2 -2
- package/clients/identityService/models/ApiResponseEnvelope.ts +2 -2
- package/clients/identityService/models/ErrorEnvelope.ts +2 -2
- package/clients/identityService/models/JsonWebKeySetEnvelope.ts +2 -2
- package/clients/identityService/models/JsonWebTokenEnvelope.ts +2 -2
- package/clients/identityService/models/OpenIdConfigurationEnvelope.ts +2 -2
- package/clients/identityService/models/PlatformUserDto.ts +26 -28
- package/clients/identityService/models/StringListEnvelope.ts +2 -2
- package/clients/identityService/models/TenantDto.ts +1 -10
- package/clients/identityService/services/ApplicationsService.ts +30 -5
- package/clients/identityService/services/CheckerService.ts +8 -3
- package/clients/identityService/services/OAuthService.ts +44 -10
- package/clients/identityService/services/ResourceService.ts +8 -2
- package/clients/identityService/services/UserInfoService.ts +16 -4
- package/clients/inventoryService/services/InventoryService.ts +6 -1
- package/clients/invoicingService/index.ts +29 -4
- package/clients/invoicingService/models/Currency.ts +9 -0
- package/clients/invoicingService/models/EmptyEnvelope.ts +2 -1
- package/clients/invoicingService/models/ErrorEnvelope.ts +2 -2
- package/clients/invoicingService/models/ExtendedInvoiceDto.ts +111 -0
- package/clients/invoicingService/models/ExtendedInvoiceDtoListEnvelope.ts +14 -0
- package/clients/invoicingService/models/Int32Envelope.ts +13 -0
- package/clients/invoicingService/models/InvoiceAdjustmentCreateDto.ts +27 -0
- package/clients/invoicingService/models/InvoiceAdjustmentDto.ts +27 -0
- package/clients/invoicingService/models/InvoiceAdjustmentDtoEnvelope.ts +14 -0
- package/clients/invoicingService/models/InvoiceAdjustmentDtoListEnvelope.ts +14 -0
- package/clients/invoicingService/models/InvoiceAdjustmentUpdateDto.ts +22 -0
- package/clients/invoicingService/models/InvoiceCreateDto.ts +64 -0
- package/clients/invoicingService/models/InvoiceDto.ts +91 -2
- package/clients/invoicingService/models/InvoiceDtoEnvelope.ts +2 -2
- package/clients/invoicingService/models/InvoiceDtoListEnvelope.ts +2 -2
- package/clients/invoicingService/models/InvoiceItemRecordDto.ts +100 -0
- package/clients/invoicingService/models/InvoiceLineAppliedTaxCreateDto.ts +13 -0
- package/clients/invoicingService/models/InvoiceLineAppliedTaxDto.ts +20 -0
- package/clients/invoicingService/models/InvoiceLineAppliedTaxDtoListEnvelope.ts +14 -0
- package/clients/invoicingService/models/InvoiceLineAppliedTaxUpdateDto.ts +8 -0
- package/clients/invoicingService/models/InvoiceLineCreateDto.ts +13 -0
- package/clients/invoicingService/models/InvoiceLineDto.ts +7 -2
- package/clients/invoicingService/models/InvoiceLineDtoEnvelope.ts +2 -2
- package/clients/invoicingService/models/InvoiceLineDtoListEnvelope.ts +2 -2
- package/clients/invoicingService/models/{ItemPriceCreateDto.ts → InvoiceLineUpdateDto.ts} +9 -9
- package/clients/invoicingService/models/InvoiceReferenceCreateDto.ts +13 -0
- package/clients/invoicingService/models/InvoiceReferenceDto.ts +13 -0
- package/clients/{tenantService/models/TenantEnrollmentDtoEnvelope.ts → invoicingService/models/InvoiceReferenceDtoEnvelope.ts} +5 -5
- package/clients/{tenantService/models/TenantEnrollmentDtoListEnvelope.ts → invoicingService/models/InvoiceReferenceDtoListEnvelope.ts} +5 -5
- package/clients/invoicingService/models/InvoiceReferenceUpdateDto.ts +8 -0
- package/clients/invoicingService/models/InvoiceUpdateDto.ts +29 -1
- package/clients/invoicingService/models/Money.ts +10 -0
- package/clients/invoicingService/models/MoneyEnvelope.ts +14 -0
- package/clients/invoicingService/models/SimpleContactDto.ts +40 -0
- package/clients/invoicingService/models/SimpleTenantEnrolmentDto.ts +11 -0
- package/clients/invoicingService/models/SimpleUserDto.ts +25 -0
- package/clients/invoicingService/models/TenantDto.ts +45 -0
- package/clients/invoicingService/services/InvoicesService.ts +799 -23
- package/clients/learningService/core/ApiError.ts +25 -0
- package/clients/learningService/core/ApiRequestOptions.ts +17 -0
- package/clients/learningService/core/ApiResult.ts +11 -0
- package/clients/learningService/core/CancelablePromise.ts +131 -0
- package/clients/learningService/core/OpenAPI.ts +32 -0
- package/clients/learningService/core/request.ts +322 -0
- package/clients/learningService/index.ts +50 -0
- package/clients/learningService/models/AverageDto.ts +10 -0
- package/clients/learningService/models/AverageDtoEnvelope.ts +14 -0
- package/clients/learningService/models/CountDto.ts +10 -0
- package/clients/learningService/models/CountDtoEnvelope.ts +14 -0
- package/clients/learningService/models/CourseCertificateTemplateCreateDto.ts +17 -0
- package/clients/learningService/models/CourseCertificateTemplateDto.ts +17 -0
- package/clients/learningService/models/CourseCertificateTemplateDtoEnvelope.ts +14 -0
- package/clients/learningService/models/CourseCertificateTemplateDtoListEnvelope.ts +14 -0
- package/clients/learningService/models/CourseCompletionCertificateCreateDto.ts +15 -0
- package/clients/learningService/models/CourseCompletionCertificateDto.ts +15 -0
- package/clients/learningService/models/CourseCompletionCertificateDtoEnvelope.ts +14 -0
- package/clients/learningService/models/CourseCompletionCertificateDtoListEnvelope.ts +14 -0
- package/clients/learningService/models/CourseCompletionCertificateUpdateDto.ts +13 -0
- package/clients/learningService/models/CourseDto.ts +170 -0
- package/clients/learningService/models/CourseDtoEnvelope.ts +14 -0
- package/clients/learningService/models/CourseDtoListEnvelope.ts +14 -0
- package/clients/learningService/models/CourseEnrollmentCreateDto.ts +14 -0
- package/clients/learningService/models/CourseEnrollmentDto.ts +14 -0
- package/clients/learningService/models/CourseEnrollmentDtoEnvelope.ts +14 -0
- package/clients/learningService/models/CourseEnrollmentDtoListEnvelope.ts +14 -0
- package/clients/learningService/models/CourseEnrollmentUpdateDto.ts +11 -0
- package/clients/learningService/models/CourseUpdateDto.ts +5 -0
- package/clients/learningService/models/EmptyEnvelope.ts +12 -0
- package/clients/learningService/models/ErrorEnvelope.ts +12 -0
- package/clients/learningService/models/InstructorProfileCreateDto.ts +39 -0
- package/clients/learningService/models/InstructorProfileDto.ts +39 -0
- package/clients/learningService/models/InstructorProfileDtoEnvelope.ts +14 -0
- package/clients/learningService/models/InstructorProfileDtoListEnvelope.ts +14 -0
- package/clients/learningService/models/InstructorProfileUpdateDto.ts +36 -0
- package/clients/learningService/models/Pagination.ts +9 -0
- package/clients/learningService/models/StudentProfileCreateDto.ts +38 -0
- package/clients/learningService/models/StudentProfileDto.ts +38 -0
- package/clients/learningService/models/StudentProfileDtoEnvelope.ts +14 -0
- package/clients/learningService/models/StudentProfileDtoListEnvelope.ts +14 -0
- package/clients/learningService/models/StudentProfileUpdateDto.ts +38 -0
- package/clients/learningService/services/CourseCertificatesService.ts +270 -0
- package/clients/learningService/services/CourseEnrollmentsService.ts +232 -0
- package/clients/learningService/services/CoursesService.ts +128 -0
- package/clients/learningService/services/InstructorProfilesService.ts +152 -0
- package/clients/learningService/services/StudentProfilesService.ts +212 -0
- package/clients/marketingService/core/ApiError.ts +25 -0
- package/clients/marketingService/core/ApiRequestOptions.ts +17 -0
- package/clients/marketingService/core/ApiResult.ts +11 -0
- package/clients/marketingService/core/CancelablePromise.ts +131 -0
- package/clients/marketingService/core/OpenAPI.ts +32 -0
- package/clients/marketingService/core/request.ts +322 -0
- package/clients/marketingService/index.ts +64 -0
- package/clients/marketingService/models/Currency.ts +9 -0
- package/clients/marketingService/models/EmailGroupCreateDto.ts +14 -0
- package/clients/marketingService/models/EmailGroupDto.ts +14 -0
- package/clients/marketingService/models/EmailGroupDtoEnvelope.ts +14 -0
- package/clients/marketingService/models/EmailGroupDtoListEnvelope.ts +14 -0
- package/clients/marketingService/models/EmailGroupUpdateDto.ts +12 -0
- package/clients/marketingService/models/EmailSignatureCreateDto.ts +16 -0
- package/clients/marketingService/models/EmailSignatureDto.ts +64 -0
- package/clients/marketingService/models/EmailSignatureDtoEnvelope.ts +14 -0
- package/clients/marketingService/models/EmailSignatureDtoListEnvelope.ts +14 -0
- package/clients/marketingService/models/EmailSignatureUpdateDto.ts +60 -0
- package/clients/marketingService/models/EmailTemplateCreateDto.ts +17 -0
- package/clients/marketingService/models/EmailTemplateDto.ts +66 -0
- package/clients/marketingService/models/EmailTemplateDtoEnvelope.ts +14 -0
- package/clients/marketingService/models/EmailTemplateDtoListEnvelope.ts +14 -0
- package/clients/marketingService/models/EmailTemplateUpdateDto.ts +61 -0
- package/clients/marketingService/models/EmptyEnvelope.ts +12 -0
- package/clients/marketingService/models/ErrorEnvelope.ts +12 -0
- package/clients/marketingService/models/Int32Envelope.ts +13 -0
- package/clients/marketingService/models/MarketingCampaignCreateDto.ts +25 -0
- package/clients/marketingService/models/MarketingCampaignDto.ts +25 -0
- package/clients/marketingService/models/MarketingCampaignDtoEnvelope.ts +14 -0
- package/clients/marketingService/models/MarketingCampaignUpdateDto.ts +23 -0
- package/clients/marketingService/models/MarketingListCreateDto.ts +33 -0
- package/clients/marketingService/models/MarketingListDto.ts +33 -0
- package/clients/marketingService/models/MarketingListDtoEnvelope.ts +14 -0
- package/clients/marketingService/models/MarketingListDtoListEnvelope.ts +14 -0
- package/clients/marketingService/models/MarketingListUpdateDto.ts +31 -0
- package/clients/marketingService/models/Money.ts +10 -0
- package/clients/marketingService/models/NewsletterCreateDto.ts +14 -0
- package/clients/marketingService/models/NewsletterDto.ts +14 -0
- package/clients/marketingService/models/NewsletterDtoEnvelope.ts +14 -0
- package/clients/marketingService/models/NewsletterUpdateDto.ts +12 -0
- package/clients/marketingService/models/OrderDto.ts +113 -0
- package/clients/{holderService/models/OrderDtoListEnvelope.ts → marketingService/models/OrderDtoEnvelope.ts} +4 -4
- package/clients/marketingService/models/SocialMediaPostCreateDto.ts +13 -0
- package/clients/marketingService/models/SocialMediaPostDto.ts +15 -0
- package/clients/marketingService/models/SocialMediaPostDtoEnvelope.ts +14 -0
- package/clients/marketingService/models/SocialMediaPostDtoListEnvelope.ts +14 -0
- package/clients/marketingService/models/SocialMediaPostUpdateDto.ts +13 -0
- package/clients/marketingService/models/SocialPostBucketCreateDto.ts +12 -0
- package/clients/marketingService/models/SocialPostBucketDto.ts +12 -0
- package/clients/marketingService/models/SocialPostBucketDtoEnvelope.ts +14 -0
- package/clients/marketingService/models/SocialPostBucketDtoListEnvelope.ts +14 -0
- package/clients/marketingService/models/SocialPostBucketUpdateDto.ts +10 -0
- package/clients/marketingService/services/EmailGroupsService.ts +193 -0
- package/clients/marketingService/services/EmailSignaturesService.ts +193 -0
- package/clients/marketingService/services/EmailTemplatesService.ts +193 -0
- package/clients/marketingService/services/MarketingCampaignsService.ts +193 -0
- package/clients/marketingService/services/MarketingListsService.ts +193 -0
- package/clients/marketingService/services/NewslettersService.ts +193 -0
- package/clients/marketingService/services/SocialMediaPostsService.ts +193 -0
- package/clients/marketingService/services/SocialPostBucketsService.ts +193 -0
- package/clients/marketingService/services/TrackingPixelsService.ts +31 -0
- package/clients/ordersService/index.ts +7 -4
- package/clients/ordersService/models/Currency.ts +9 -0
- package/clients/ordersService/models/EmptyEnvelope.ts +2 -1
- package/clients/ordersService/models/ErrorEnvelope.ts +2 -2
- package/clients/ordersService/models/Int32Envelope.ts +13 -0
- package/clients/ordersService/models/Money.ts +10 -0
- package/clients/ordersService/models/OrderCreateDto.ts +60 -2
- package/clients/ordersService/models/OrderDto.ts +93 -7
- package/clients/ordersService/models/OrderDtoEnvelope.ts +2 -2
- package/clients/ordersService/models/OrderDtoListEnvelope.ts +2 -2
- package/clients/ordersService/models/OrderLineCreateDto.ts +100 -0
- package/clients/ordersService/models/OrderLineDto.ts +7 -2
- package/clients/ordersService/models/OrderLineDtoEnvelope.ts +2 -2
- package/clients/ordersService/models/OrderLineDtoListEnvelope.ts +2 -2
- package/clients/ordersService/models/OrderLineUpdateDto.ts +97 -0
- package/clients/ordersService/models/OrderUpdateDto.ts +29 -1
- package/clients/ordersService/services/OrdersService.ts +115 -21
- package/clients/pricingService/index.ts +1 -0
- package/clients/pricingService/models/Currency.ts +1 -1
- package/clients/pricingService/models/EmptyEnvelope.ts +2 -1
- package/clients/pricingService/models/ErrorEnvelope.ts +2 -2
- package/clients/pricingService/models/Int32Envelope.ts +13 -0
- package/clients/pricingService/models/ItemPriceCreateDto.ts +6 -6
- package/clients/pricingService/models/ItemPriceDtoEnvelope.ts +2 -2
- package/clients/pricingService/models/ItemPriceDtoListEnvelope.ts +2 -2
- package/clients/pricingService/models/ItemPriceUpdateDto.ts +2 -1
- package/clients/pricingService/models/Money.ts +1 -1
- package/clients/pricingService/models/MoneyEnvelope.ts +2 -2
- package/clients/pricingService/models/PriceListDtoEnvelope.ts +2 -2
- package/clients/pricingService/models/PriceListDtoListEnvelope.ts +2 -2
- package/clients/pricingService/services/PriceListsService.ts +100 -29
- package/clients/pricingService/services/PricesService.ts +18 -3
- package/clients/securityService/core/ApiError.ts +25 -0
- package/clients/securityService/core/ApiRequestOptions.ts +17 -0
- package/clients/securityService/core/ApiResult.ts +11 -0
- package/clients/securityService/core/CancelablePromise.ts +131 -0
- package/clients/securityService/core/OpenAPI.ts +32 -0
- package/clients/securityService/core/request.ts +322 -0
- package/clients/securityService/index.ts +24 -0
- package/clients/securityService/models/EmptyEnvelope.ts +12 -0
- package/clients/securityService/models/ErrorEnvelope.ts +12 -0
- package/clients/securityService/models/SecurityPermissionCreateDto.ts +12 -0
- package/clients/securityService/models/SecurityPermissionDto.ts +13 -0
- package/clients/securityService/models/SecurityPermissionDtoListEnvelope.ts +14 -0
- package/clients/securityService/models/SecurityPermissionUpdateDto.ts +9 -0
- package/clients/securityService/models/SecurityRoleCreateDto.ts +12 -0
- package/clients/securityService/models/SecurityRoleDto.ts +13 -0
- package/clients/securityService/models/SecurityRoleDtoListEnvelope.ts +14 -0
- package/clients/securityService/models/SecurityRoleUpdateDto.ts +9 -0
- package/clients/{holderService/models/TenantEnrollmentDto.ts → securityService/models/TenantEnrolmentDto.ts} +4 -3
- package/clients/securityService/models/TenantEnrolmentDtoListEnvelope.ts +14 -0
- package/clients/securityService/services/PermissionsService.ts +399 -0
- package/clients/securityService/services/RolesService.ts +430 -0
- package/clients/supportService/core/ApiError.ts +25 -0
- package/clients/supportService/core/ApiRequestOptions.ts +17 -0
- package/clients/supportService/core/ApiResult.ts +11 -0
- package/clients/supportService/core/CancelablePromise.ts +131 -0
- package/clients/supportService/core/OpenAPI.ts +32 -0
- package/clients/supportService/core/request.ts +322 -0
- package/clients/supportService/index.ts +54 -0
- package/clients/supportService/models/EmptyEnvelope.ts +12 -0
- package/clients/supportService/models/ErrorEnvelope.ts +12 -0
- package/clients/supportService/models/PrivateMessageDto.ts +15 -0
- package/clients/supportService/models/PrivateMessageDtoListEnvelope.ts +14 -0
- package/clients/supportService/models/SupportEntitlementCreateDto.ts +57 -0
- package/clients/supportService/models/SupportEntitlementDto.ts +57 -0
- package/clients/supportService/models/SupportEntitlementDtoEnvelope.ts +14 -0
- package/clients/supportService/models/SupportEntitlementDtoListEnvelope.ts +14 -0
- package/clients/supportService/models/SupportEntitlementUpdateDto.ts +54 -0
- package/clients/supportService/models/SupportRequestAttachmentCreateDto.ts +23 -0
- package/clients/supportService/models/SupportRequestAttachmentDto.ts +28 -0
- package/clients/supportService/models/SupportRequestAttachmentDtoEnvelope.ts +14 -0
- package/clients/supportService/models/SupportRequestAttachmentDtoListEnvelope.ts +14 -0
- package/clients/supportService/models/SupportRequestAttachmentUpdateDto.ts +19 -0
- package/clients/supportService/models/SupportRequestCreateDto.ts +18 -0
- package/clients/supportService/models/SupportRequestDto.ts +18 -0
- package/clients/supportService/models/SupportRequestDtoEnvelope.ts +14 -0
- package/clients/supportService/models/SupportRequestDtoListEnvelope.ts +14 -0
- package/clients/supportService/models/SupportRequestUpdateDto.ts +12 -0
- package/clients/supportService/models/SupportTicketConversationCreateDto.ts +13 -0
- package/clients/supportService/models/SupportTicketConversationDto.ts +14 -0
- package/clients/supportService/models/SupportTicketConversationDtoEnvelope.ts +14 -0
- package/clients/supportService/models/SupportTicketConversationDtoListEnvelope.ts +14 -0
- package/clients/supportService/models/SupportTicketCreateDto.ts +17 -0
- package/clients/supportService/models/SupportTicketDto.ts +17 -0
- package/clients/supportService/models/SupportTicketDtoEnvelope.ts +14 -0
- package/clients/supportService/models/SupportTicketDtoListEnvelope.ts +14 -0
- package/clients/supportService/models/SupportTicketPriorityCreateDto.ts +11 -0
- package/clients/supportService/models/SupportTicketPriorityDto.ts +13 -0
- package/clients/supportService/models/SupportTicketPriorityDtoEnvelope.ts +14 -0
- package/clients/supportService/models/SupportTicketPriorityDtoListEnvelope.ts +14 -0
- package/clients/supportService/models/SupportTicketPriorityUpdateDto.ts +9 -0
- package/clients/supportService/models/SupportTicketTypeCreateDto.ts +12 -0
- package/clients/supportService/models/SupportTicketTypeDto.ts +12 -0
- package/clients/supportService/models/SupportTicketTypeDtoEnvelope.ts +14 -0
- package/clients/supportService/models/SupportTicketTypeDtoListEnvelope.ts +14 -0
- package/clients/supportService/models/SupportTicketTypeUpdateDto.ts +11 -0
- package/clients/supportService/models/SupportTicketUpdateDto.ts +14 -0
- package/clients/supportService/services/SupportEntitlementsService.ts +163 -0
- package/clients/supportService/services/SupportRequestAttachmentsService.ts +163 -0
- package/clients/supportService/services/SupportRequestsService.ts +290 -0
- package/clients/supportService/services/SupportTicketPrioritiesService.ts +163 -0
- package/clients/supportService/services/SupportTicketTypesService.ts +163 -0
- package/clients/supportService/services/SupportTicketsService.ts +331 -0
- package/clients/systemService/index.ts +19 -0
- package/clients/systemService/models/BooleanEnvelope.ts +13 -0
- package/clients/systemService/models/ErrorEnvelope.ts +2 -2
- package/clients/systemService/models/GeneralValidationFailure.ts +9 -0
- package/clients/systemService/models/GeneralValidationFailureListEnvelope.ts +14 -0
- 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 +44 -0
- package/clients/systemService/models/ModuleListEnvelope.ts +14 -0
- package/clients/systemService/models/StringListEnvelope.ts +2 -2
- package/clients/systemService/models/StudioModule.ts +9 -0
- package/clients/{catalogService/models/StockItemDtoListEnvelope.ts → systemService/models/StudioModuleListEnvelope.ts} +5 -5
- 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 +16 -4
- package/clients/systemService/services/LicensingService.ts +230 -0
- package/clients/systemService/services/MigrationsService.ts +14 -3
- package/clients/systemService/services/ModulesService.ts +61 -0
- package/clients/tenantService/index.ts +100 -3
- package/clients/tenantService/models/BooleanEnvelope.ts +2 -2
- package/clients/tenantService/models/CartDtoEnvelope.ts +2 -2
- package/clients/tenantService/models/EmptyEnvelope.ts +2 -1
- package/clients/tenantService/models/ErrorEnvelope.ts +2 -2
- package/clients/tenantService/models/ExtendedTenantDto.ts +51 -0
- package/clients/tenantService/models/ExtendedTenantDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/ExtendedTenantEnrolmentDto.ts +19 -0
- package/clients/tenantService/models/ExtendedTenantEnrolmentDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/NotificationDtoListEnvelope.ts +2 -2
- package/clients/tenantService/models/Operation.ts +23 -0
- package/clients/tenantService/models/PlatformUserDto.ts +26 -28
- package/clients/tenantService/models/PlatformUserDtoListEnvelope.ts +2 -2
- package/clients/tenantService/models/SocialProfileDtoEnvelope.ts +2 -2
- package/clients/tenantService/models/StringListEnvelope.ts +2 -2
- 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 +7 -7
- package/clients/tenantService/models/TenantDepartmentCreateDto.ts +16 -0
- package/clients/tenantService/models/TenantDepartmentDto.ts +16 -0
- package/clients/tenantService/models/TenantDepartmentDtoEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantDepartmentDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantDepartmentUpdateDto.ts +12 -0
- package/clients/tenantService/models/TenantDto.ts +1 -10
- package/clients/tenantService/models/TenantDtoEnvelope.ts +2 -2
- package/clients/tenantService/models/TenantEnrollmentCreateDto.ts +11 -0
- package/clients/tenantService/models/TenantEnrollmentUpdateDto.ts +9 -0
- package/clients/tenantService/models/TenantEnrolmentDto.ts +15 -0
- package/clients/tenantService/models/TenantEnrolmentDtoEnvelope.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/TenantPositionDtoListEnvelope.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/TenantSegmentDtoListEnvelope.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/TenantSizeDtoListEnvelope.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/TenantTeamRecordDtoIReadOnlyCollectionEnvelope.ts +14 -0
- 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/TenantTerritoryDtoListEnvelope.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/TenantUnitDtoListEnvelope.ts +14 -0
- package/clients/tenantService/models/TenantUnitUpdateDto.ts +14 -0
- package/clients/tenantService/models/TenantUpdateDto.ts +31 -0
- package/clients/tenantService/models/WalletDtoEnvelope.ts +2 -2
- package/clients/tenantService/models/WebPortalDto.ts +9 -2
- package/clients/tenantService/models/WebPortalDtoListEnvelope.ts +2 -2
- package/clients/tenantService/services/DepartmentsService.ts +198 -0
- package/clients/tenantService/services/EmployeeEnrollmentsService.ts +181 -0
- package/clients/tenantService/services/EnrollmentsService.ts +195 -0
- package/clients/tenantService/services/IndustriesService.ts +190 -0
- package/clients/tenantService/services/InvitationsService.ts +150 -0
- package/clients/tenantService/services/PositionsService.ts +192 -0
- package/clients/tenantService/services/SegmentsService.ts +191 -0
- package/clients/tenantService/services/SizesService.ts +194 -0
- package/clients/tenantService/services/TeamContactEnrollmentsService.ts +191 -0
- package/clients/tenantService/services/TeamProjectEnrollmentService.ts +181 -0
- package/clients/tenantService/services/TeamRecordsService.ts +192 -0
- package/clients/tenantService/services/TeamsService.ts +192 -0
- package/clients/tenantService/services/TenantsService.ts +580 -49
- package/clients/tenantService/services/TerritoriesService.ts +192 -0
- package/clients/tenantService/services/TypesService.ts +176 -0
- package/clients/tenantService/services/UnitsService.ts +190 -0
- package/clients/walletsService/index.ts +5 -3
- package/clients/walletsService/models/Currency.ts +9 -0
- package/clients/walletsService/models/ErrorEnvelope.ts +2 -2
- package/clients/walletsService/models/InvoiceDto.ts +91 -2
- package/clients/walletsService/models/InvoiceDtoListEnvelope.ts +2 -2
- package/clients/walletsService/models/LocationDto.ts +1 -1
- package/clients/walletsService/models/LocationDtoListEnvelope.ts +2 -2
- package/clients/walletsService/models/Money.ts +10 -0
- package/clients/walletsService/models/OrderDto.ts +93 -7
- package/clients/walletsService/models/OrderDtoListEnvelope.ts +2 -2
- package/clients/walletsService/models/PaymentDto.ts +81 -4
- package/clients/walletsService/models/PaymentDtoListEnvelope.ts +2 -2
- package/clients/walletsService/models/WalletDtoEnvelope.ts +2 -2
- package/clients/walletsService/services/WalletsService.ts +73 -8
- package/package.json +5 -4
- package/schemas/accountingService/schema.s.ts +5108 -0
- package/schemas/cartService/schema.s.ts +1716 -78
- package/schemas/catalogService/schema.s.ts +2810 -1736
- package/schemas/crmService/schema.s.ts +892 -138
- package/schemas/forexService/schema.s.ts +116 -345
- package/schemas/holderService/schema.s.ts +693 -197
- package/schemas/identityService/schema.s.ts +125 -103
- package/schemas/inventoryService/schema.s.ts +4 -1
- package/schemas/invoicingService/schema.s.ts +1758 -105
- package/schemas/learningService/schema.s.ts +1723 -0
- package/schemas/marketingService/schema.s.ts +3027 -0
- package/schemas/ordersService/schema.s.ts +632 -108
- package/schemas/pricingService/schema.s.ts +181 -102
- package/schemas/securityService/schema.s.ts +1226 -0
- package/schemas/supportService/schema.s.ts +2114 -0
- package/schemas/systemService/schema.s.ts +1215 -5
- package/schemas/tenantService/schema.s.ts +5405 -427
- package/schemas/walletsService/schema.s.ts +374 -34
- package/wwwroot/build/bundle.js +1 -1
- package/clients/catalogService/models/StockItemCreateDto.ts +0 -108
- package/clients/catalogService/models/StockItemUpdateDto.ts +0 -106
- package/clients/catalogService/services/ProductsService.ts +0 -1706
- package/clients/holderService/models/OrderDto.ts +0 -27
- package/clients/holderService/models/PaymentDto.ts +0 -17
- package/clients/invoicingService/models/ItemPriceUpdateDto.ts +0 -14
- package/clients/ordersService/models/ItemPriceCreateDto.ts +0 -20
- package/clients/ordersService/models/ItemPriceUpdateDto.ts +0 -14
|
@@ -2,29 +2,49 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { BooleanEnvelope } from '../models/BooleanEnvelope';
|
|
5
6
|
import type { CartDtoEnvelope } from '../models/CartDtoEnvelope';
|
|
6
7
|
import type { CartUpdateRequest } from '../models/CartUpdateRequest';
|
|
8
|
+
import type { CountryDtoEnvelope } from '../models/CountryDtoEnvelope';
|
|
7
9
|
import type { CountrySwitchRequest } from '../models/CountrySwitchRequest';
|
|
10
|
+
import type { CurrencyDtoEnvelope } from '../models/CurrencyDtoEnvelope';
|
|
8
11
|
import type { CurrencySwitchRequest } from '../models/CurrencySwitchRequest';
|
|
9
12
|
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
13
|
+
import type { ItemCartRecordDto } from '../models/ItemCartRecordDto';
|
|
14
|
+
import type { ItemCartRecordDtoListEnvelope } from '../models/ItemCartRecordDtoListEnvelope';
|
|
15
|
+
import type { ItemCartRecordUpdateDto } from '../models/ItemCartRecordUpdateDto';
|
|
16
|
+
import type { ItemToCompareCartRecordDto } from '../models/ItemToCompareCartRecordDto';
|
|
17
|
+
import type { ItemToCompareCartRecordDtoEnvelope } from '../models/ItemToCompareCartRecordDtoEnvelope';
|
|
18
|
+
import type { ItemToCompareCartRecordDtoListEnvelope } from '../models/ItemToCompareCartRecordDtoListEnvelope';
|
|
19
|
+
import type { NewWishListRequest } from '../models/NewWishListRequest';
|
|
20
|
+
import type { ProductToWishListRequest } from '../models/ProductToWishListRequest';
|
|
21
|
+
import type { WishListDto } from '../models/WishListDto';
|
|
22
|
+
import type { WishListDtoEnvelope } from '../models/WishListDtoEnvelope';
|
|
23
|
+
import type { WishListItemRecordDto } from '../models/WishListItemRecordDto';
|
|
24
|
+
import type { WishListUpdateDto } from '../models/WishListUpdateDto';
|
|
10
25
|
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
11
26
|
import { OpenAPI } from '../core/OpenAPI';
|
|
12
27
|
import { request as __request } from '../core/request';
|
|
13
28
|
export class CartsService {
|
|
14
29
|
/**
|
|
15
30
|
* @param cartId
|
|
16
|
-
* @
|
|
31
|
+
* @param xApiVersion
|
|
32
|
+
* @returns CartDtoEnvelope OK
|
|
17
33
|
* @throws ApiError
|
|
18
34
|
*/
|
|
19
35
|
public static getApiV2CartServiceCarts(
|
|
20
36
|
cartId: string,
|
|
37
|
+
xApiVersion?: string,
|
|
21
38
|
): CancelablePromise<CartDtoEnvelope> {
|
|
22
39
|
return __request(OpenAPI, {
|
|
23
40
|
method: 'GET',
|
|
24
|
-
url: '/api/v2/CartService/Carts/{
|
|
41
|
+
url: '/api/v2/CartService/Carts/{cartId}',
|
|
25
42
|
path: {
|
|
26
43
|
'cartId': cartId,
|
|
27
44
|
},
|
|
45
|
+
headers: {
|
|
46
|
+
'x-api-version': xApiVersion,
|
|
47
|
+
},
|
|
28
48
|
errors: {
|
|
29
49
|
401: `Unauthorized`,
|
|
30
50
|
403: `Forbidden`,
|
|
@@ -33,12 +53,14 @@ export class CartsService {
|
|
|
33
53
|
}
|
|
34
54
|
/**
|
|
35
55
|
* @param cartId
|
|
56
|
+
* @param xApiVersion
|
|
36
57
|
* @param requestBody
|
|
37
|
-
* @returns EmptyEnvelope
|
|
58
|
+
* @returns EmptyEnvelope OK
|
|
38
59
|
* @throws ApiError
|
|
39
60
|
*/
|
|
40
61
|
public static putApiV2CartServiceCarts(
|
|
41
62
|
cartId: string,
|
|
63
|
+
xApiVersion?: string,
|
|
42
64
|
requestBody?: CartUpdateRequest,
|
|
43
65
|
): CancelablePromise<EmptyEnvelope> {
|
|
44
66
|
return __request(OpenAPI, {
|
|
@@ -47,6 +69,92 @@ export class CartsService {
|
|
|
47
69
|
path: {
|
|
48
70
|
'cartId': cartId,
|
|
49
71
|
},
|
|
72
|
+
headers: {
|
|
73
|
+
'x-api-version': xApiVersion,
|
|
74
|
+
},
|
|
75
|
+
body: requestBody,
|
|
76
|
+
mediaType: 'application/json',
|
|
77
|
+
errors: {
|
|
78
|
+
401: `Unauthorized`,
|
|
79
|
+
403: `Forbidden`,
|
|
80
|
+
},
|
|
81
|
+
});
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* @param cartId
|
|
85
|
+
* @param xApiVersion
|
|
86
|
+
* @param requestBody
|
|
87
|
+
* @returns EmptyEnvelope OK
|
|
88
|
+
* @throws ApiError
|
|
89
|
+
*/
|
|
90
|
+
public static putApiV2CartServiceCartsCurrency(
|
|
91
|
+
cartId: string,
|
|
92
|
+
xApiVersion?: string,
|
|
93
|
+
requestBody?: CurrencySwitchRequest,
|
|
94
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
95
|
+
return __request(OpenAPI, {
|
|
96
|
+
method: 'PUT',
|
|
97
|
+
url: '/api/v2/CartService/Carts/{cartId}/Currency',
|
|
98
|
+
path: {
|
|
99
|
+
'cartId': cartId,
|
|
100
|
+
},
|
|
101
|
+
headers: {
|
|
102
|
+
'x-api-version': xApiVersion,
|
|
103
|
+
},
|
|
104
|
+
body: requestBody,
|
|
105
|
+
mediaType: 'application/json',
|
|
106
|
+
errors: {
|
|
107
|
+
401: `Unauthorized`,
|
|
108
|
+
403: `Forbidden`,
|
|
109
|
+
},
|
|
110
|
+
});
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* @param cartId
|
|
114
|
+
* @param xApiVersion
|
|
115
|
+
* @returns CurrencyDtoEnvelope OK
|
|
116
|
+
* @throws ApiError
|
|
117
|
+
*/
|
|
118
|
+
public static getApiV2CartServiceCartsCurrency(
|
|
119
|
+
cartId: string,
|
|
120
|
+
xApiVersion?: string,
|
|
121
|
+
): CancelablePromise<CurrencyDtoEnvelope> {
|
|
122
|
+
return __request(OpenAPI, {
|
|
123
|
+
method: 'GET',
|
|
124
|
+
url: '/api/v2/CartService/Carts/{cartId}/Currency',
|
|
125
|
+
path: {
|
|
126
|
+
'cartId': cartId,
|
|
127
|
+
},
|
|
128
|
+
headers: {
|
|
129
|
+
'x-api-version': xApiVersion,
|
|
130
|
+
},
|
|
131
|
+
errors: {
|
|
132
|
+
401: `Unauthorized`,
|
|
133
|
+
403: `Forbidden`,
|
|
134
|
+
},
|
|
135
|
+
});
|
|
136
|
+
}
|
|
137
|
+
/**
|
|
138
|
+
* @param cartId
|
|
139
|
+
* @param xApiVersion
|
|
140
|
+
* @param requestBody
|
|
141
|
+
* @returns EmptyEnvelope OK
|
|
142
|
+
* @throws ApiError
|
|
143
|
+
*/
|
|
144
|
+
public static putApiV2CartServiceCartsCountry(
|
|
145
|
+
cartId: string,
|
|
146
|
+
xApiVersion?: string,
|
|
147
|
+
requestBody?: CountrySwitchRequest,
|
|
148
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
149
|
+
return __request(OpenAPI, {
|
|
150
|
+
method: 'PUT',
|
|
151
|
+
url: '/api/v2/CartService/Carts/{cartId}/Country',
|
|
152
|
+
path: {
|
|
153
|
+
'cartId': cartId,
|
|
154
|
+
},
|
|
155
|
+
headers: {
|
|
156
|
+
'x-api-version': xApiVersion,
|
|
157
|
+
},
|
|
50
158
|
body: requestBody,
|
|
51
159
|
mediaType: 'application/json',
|
|
52
160
|
errors: {
|
|
@@ -56,13 +164,74 @@ export class CartsService {
|
|
|
56
164
|
});
|
|
57
165
|
}
|
|
58
166
|
/**
|
|
59
|
-
* @
|
|
167
|
+
* @param cartId
|
|
168
|
+
* @param xApiVersion
|
|
169
|
+
* @returns CountryDtoEnvelope OK
|
|
170
|
+
* @throws ApiError
|
|
171
|
+
*/
|
|
172
|
+
public static getApiV2CartServiceCartsCountry(
|
|
173
|
+
cartId: string,
|
|
174
|
+
xApiVersion?: string,
|
|
175
|
+
): CancelablePromise<CountryDtoEnvelope> {
|
|
176
|
+
return __request(OpenAPI, {
|
|
177
|
+
method: 'GET',
|
|
178
|
+
url: '/api/v2/CartService/Carts/{cartId}/Country',
|
|
179
|
+
path: {
|
|
180
|
+
'cartId': cartId,
|
|
181
|
+
},
|
|
182
|
+
headers: {
|
|
183
|
+
'x-api-version': xApiVersion,
|
|
184
|
+
},
|
|
185
|
+
errors: {
|
|
186
|
+
401: `Unauthorized`,
|
|
187
|
+
403: `Forbidden`,
|
|
188
|
+
},
|
|
189
|
+
});
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* @param cartId
|
|
193
|
+
* @param tenantId
|
|
194
|
+
* @param xApiVersion
|
|
195
|
+
* @returns EmptyEnvelope OK
|
|
196
|
+
* @throws ApiError
|
|
197
|
+
*/
|
|
198
|
+
public static submitCartAsync(
|
|
199
|
+
cartId: string,
|
|
200
|
+
tenantId?: string,
|
|
201
|
+
xApiVersion?: string,
|
|
202
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
203
|
+
return __request(OpenAPI, {
|
|
204
|
+
method: 'POST',
|
|
205
|
+
url: '/api/v2/CartService/Carts/{cartId}/Submit',
|
|
206
|
+
path: {
|
|
207
|
+
'cartId': cartId,
|
|
208
|
+
},
|
|
209
|
+
headers: {
|
|
210
|
+
'x-api-version': xApiVersion,
|
|
211
|
+
},
|
|
212
|
+
query: {
|
|
213
|
+
'tenantId': tenantId,
|
|
214
|
+
},
|
|
215
|
+
errors: {
|
|
216
|
+
401: `Unauthorized`,
|
|
217
|
+
403: `Forbidden`,
|
|
218
|
+
},
|
|
219
|
+
});
|
|
220
|
+
}
|
|
221
|
+
/**
|
|
222
|
+
* @param xApiVersion
|
|
223
|
+
* @returns CartDtoEnvelope OK
|
|
60
224
|
* @throws ApiError
|
|
61
225
|
*/
|
|
62
|
-
public static getApiV2CartServiceCartsActingCart(
|
|
226
|
+
public static getApiV2CartServiceCartsActingCart(
|
|
227
|
+
xApiVersion?: string,
|
|
228
|
+
): CancelablePromise<CartDtoEnvelope> {
|
|
63
229
|
return __request(OpenAPI, {
|
|
64
230
|
method: 'GET',
|
|
65
231
|
url: '/api/v2/CartService/Carts/ActingCart',
|
|
232
|
+
headers: {
|
|
233
|
+
'x-api-version': xApiVersion,
|
|
234
|
+
},
|
|
66
235
|
errors: {
|
|
67
236
|
401: `Unauthorized`,
|
|
68
237
|
403: `Forbidden`,
|
|
@@ -70,13 +239,19 @@ export class CartsService {
|
|
|
70
239
|
});
|
|
71
240
|
}
|
|
72
241
|
/**
|
|
73
|
-
* @
|
|
242
|
+
* @param xApiVersion
|
|
243
|
+
* @returns CartDtoEnvelope OK
|
|
74
244
|
* @throws ApiError
|
|
75
245
|
*/
|
|
76
|
-
public static getApiV2CartServiceCartsGuestCart(
|
|
246
|
+
public static getApiV2CartServiceCartsGuestCart(
|
|
247
|
+
xApiVersion?: string,
|
|
248
|
+
): CancelablePromise<CartDtoEnvelope> {
|
|
77
249
|
return __request(OpenAPI, {
|
|
78
250
|
method: 'GET',
|
|
79
251
|
url: '/api/v2/CartService/Carts/GuestCart',
|
|
252
|
+
headers: {
|
|
253
|
+
'x-api-version': xApiVersion,
|
|
254
|
+
},
|
|
80
255
|
errors: {
|
|
81
256
|
401: `Unauthorized`,
|
|
82
257
|
403: `Forbidden`,
|
|
@@ -84,13 +259,19 @@ export class CartsService {
|
|
|
84
259
|
});
|
|
85
260
|
}
|
|
86
261
|
/**
|
|
87
|
-
* @
|
|
262
|
+
* @param xApiVersion
|
|
263
|
+
* @returns CartDtoEnvelope OK
|
|
88
264
|
* @throws ApiError
|
|
89
265
|
*/
|
|
90
|
-
public static getApiV2CartServiceCartsUserCart(
|
|
266
|
+
public static getApiV2CartServiceCartsUserCart(
|
|
267
|
+
xApiVersion?: string,
|
|
268
|
+
): CancelablePromise<CartDtoEnvelope> {
|
|
91
269
|
return __request(OpenAPI, {
|
|
92
270
|
method: 'GET',
|
|
93
271
|
url: '/api/v2/CartService/Carts/UserCart',
|
|
272
|
+
headers: {
|
|
273
|
+
'x-api-version': xApiVersion,
|
|
274
|
+
},
|
|
94
275
|
errors: {
|
|
95
276
|
401: `Unauthorized`,
|
|
96
277
|
},
|
|
@@ -98,11 +279,13 @@ export class CartsService {
|
|
|
98
279
|
}
|
|
99
280
|
/**
|
|
100
281
|
* @param tenantId
|
|
101
|
-
* @
|
|
282
|
+
* @param xApiVersion
|
|
283
|
+
* @returns CartDtoEnvelope OK
|
|
102
284
|
* @throws ApiError
|
|
103
285
|
*/
|
|
104
286
|
public static getApiV2CartServiceCartsBusinessCart(
|
|
105
287
|
tenantId: string,
|
|
288
|
+
xApiVersion?: string,
|
|
106
289
|
): CancelablePromise<CartDtoEnvelope> {
|
|
107
290
|
return __request(OpenAPI, {
|
|
108
291
|
method: 'GET',
|
|
@@ -110,6 +293,9 @@ export class CartsService {
|
|
|
110
293
|
path: {
|
|
111
294
|
'tenantId': tenantId,
|
|
112
295
|
},
|
|
296
|
+
headers: {
|
|
297
|
+
'x-api-version': xApiVersion,
|
|
298
|
+
},
|
|
113
299
|
errors: {
|
|
114
300
|
401: `Unauthorized`,
|
|
115
301
|
403: `Forbidden`,
|
|
@@ -117,33 +303,894 @@ export class CartsService {
|
|
|
117
303
|
});
|
|
118
304
|
}
|
|
119
305
|
/**
|
|
120
|
-
* @param
|
|
121
|
-
* @
|
|
306
|
+
* @param cartId
|
|
307
|
+
* @param xApiVersion
|
|
308
|
+
* @returns ItemCartRecordDtoListEnvelope OK
|
|
122
309
|
* @throws ApiError
|
|
123
310
|
*/
|
|
124
|
-
public static
|
|
125
|
-
|
|
126
|
-
|
|
311
|
+
public static getApiV2CartServiceCartsItems(
|
|
312
|
+
cartId: string,
|
|
313
|
+
xApiVersion?: string,
|
|
314
|
+
): CancelablePromise<ItemCartRecordDtoListEnvelope> {
|
|
315
|
+
return __request(OpenAPI, {
|
|
316
|
+
method: 'GET',
|
|
317
|
+
url: '/api/v2/CartService/Carts/{cartId}/Items',
|
|
318
|
+
path: {
|
|
319
|
+
'cartId': cartId,
|
|
320
|
+
},
|
|
321
|
+
headers: {
|
|
322
|
+
'x-api-version': xApiVersion,
|
|
323
|
+
},
|
|
324
|
+
errors: {
|
|
325
|
+
401: `Unauthorized`,
|
|
326
|
+
404: `Not Found`,
|
|
327
|
+
},
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
/**
|
|
331
|
+
* @param cartId
|
|
332
|
+
* @param xApiVersion
|
|
333
|
+
* @returns EmptyEnvelope OK
|
|
334
|
+
* @throws ApiError
|
|
335
|
+
*/
|
|
336
|
+
public static deleteApiV2CartServiceCartsItems(
|
|
337
|
+
cartId: string,
|
|
338
|
+
xApiVersion?: string,
|
|
339
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
340
|
+
return __request(OpenAPI, {
|
|
341
|
+
method: 'DELETE',
|
|
342
|
+
url: '/api/v2/CartService/Carts/{cartId}/Items',
|
|
343
|
+
path: {
|
|
344
|
+
'cartId': cartId,
|
|
345
|
+
},
|
|
346
|
+
headers: {
|
|
347
|
+
'x-api-version': xApiVersion,
|
|
348
|
+
},
|
|
349
|
+
errors: {
|
|
350
|
+
401: `Unauthorized`,
|
|
351
|
+
404: `Not Found`,
|
|
352
|
+
},
|
|
353
|
+
});
|
|
354
|
+
}
|
|
355
|
+
/**
|
|
356
|
+
* @param cartId
|
|
357
|
+
* @param itemId
|
|
358
|
+
* @param quantity
|
|
359
|
+
* @param xApiVersion
|
|
360
|
+
* @returns EmptyEnvelope OK
|
|
361
|
+
* @throws ApiError
|
|
362
|
+
*/
|
|
363
|
+
public static postApiV2CartServiceCartsItems(
|
|
364
|
+
cartId: string,
|
|
365
|
+
itemId: string,
|
|
366
|
+
quantity: number = 1,
|
|
367
|
+
xApiVersion?: string,
|
|
368
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
127
369
|
return __request(OpenAPI, {
|
|
128
370
|
method: 'POST',
|
|
129
|
-
url: '/api/v2/CartService/Carts/
|
|
371
|
+
url: '/api/v2/CartService/Carts/{cartId}/Items/{itemId}',
|
|
372
|
+
path: {
|
|
373
|
+
'cartId': cartId,
|
|
374
|
+
'itemId': itemId,
|
|
375
|
+
},
|
|
376
|
+
headers: {
|
|
377
|
+
'x-api-version': xApiVersion,
|
|
378
|
+
},
|
|
379
|
+
query: {
|
|
380
|
+
'quantity': quantity,
|
|
381
|
+
},
|
|
382
|
+
errors: {
|
|
383
|
+
401: `Unauthorized`,
|
|
384
|
+
404: `Not Found`,
|
|
385
|
+
},
|
|
386
|
+
});
|
|
387
|
+
}
|
|
388
|
+
/**
|
|
389
|
+
* @param cartId
|
|
390
|
+
* @param itemId
|
|
391
|
+
* @param xApiVersion
|
|
392
|
+
* @param requestBody
|
|
393
|
+
* @returns EmptyEnvelope OK
|
|
394
|
+
* @throws ApiError
|
|
395
|
+
*/
|
|
396
|
+
public static putApiV2CartServiceCartsItems(
|
|
397
|
+
cartId: string,
|
|
398
|
+
itemId: string,
|
|
399
|
+
xApiVersion?: string,
|
|
400
|
+
requestBody?: ItemCartRecordUpdateDto,
|
|
401
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
402
|
+
return __request(OpenAPI, {
|
|
403
|
+
method: 'PUT',
|
|
404
|
+
url: '/api/v2/CartService/Carts/{cartId}/Items/{itemId}',
|
|
405
|
+
path: {
|
|
406
|
+
'cartId': cartId,
|
|
407
|
+
'itemId': itemId,
|
|
408
|
+
},
|
|
409
|
+
headers: {
|
|
410
|
+
'x-api-version': xApiVersion,
|
|
411
|
+
},
|
|
412
|
+
body: requestBody,
|
|
413
|
+
mediaType: 'application/json',
|
|
414
|
+
errors: {
|
|
415
|
+
401: `Unauthorized`,
|
|
416
|
+
404: `Not Found`,
|
|
417
|
+
},
|
|
418
|
+
});
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* @param cartId
|
|
422
|
+
* @param itemId
|
|
423
|
+
* @param xApiVersion
|
|
424
|
+
* @returns EmptyEnvelope OK
|
|
425
|
+
* @throws ApiError
|
|
426
|
+
*/
|
|
427
|
+
public static deleteApiV2CartServiceCartsItems1(
|
|
428
|
+
cartId: string,
|
|
429
|
+
itemId: string,
|
|
430
|
+
xApiVersion?: string,
|
|
431
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
432
|
+
return __request(OpenAPI, {
|
|
433
|
+
method: 'DELETE',
|
|
434
|
+
url: '/api/v2/CartService/Carts/{cartId}/Items/{itemId}',
|
|
435
|
+
path: {
|
|
436
|
+
'cartId': cartId,
|
|
437
|
+
'itemId': itemId,
|
|
438
|
+
},
|
|
439
|
+
headers: {
|
|
440
|
+
'x-api-version': xApiVersion,
|
|
441
|
+
},
|
|
442
|
+
errors: {
|
|
443
|
+
401: `Unauthorized`,
|
|
444
|
+
404: `Not Found`,
|
|
445
|
+
},
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
/**
|
|
449
|
+
* @param cartId
|
|
450
|
+
* @param itemId
|
|
451
|
+
* @param xApiVersion
|
|
452
|
+
* @returns BooleanEnvelope OK
|
|
453
|
+
* @throws ApiError
|
|
454
|
+
*/
|
|
455
|
+
public static getApiV2CartServiceCartsContains(
|
|
456
|
+
cartId: string,
|
|
457
|
+
itemId: string,
|
|
458
|
+
xApiVersion?: string,
|
|
459
|
+
): CancelablePromise<BooleanEnvelope> {
|
|
460
|
+
return __request(OpenAPI, {
|
|
461
|
+
method: 'GET',
|
|
462
|
+
url: '/api/v2/CartService/Carts/{cartId}/Contains/{itemId}',
|
|
463
|
+
path: {
|
|
464
|
+
'cartId': cartId,
|
|
465
|
+
'itemId': itemId,
|
|
466
|
+
},
|
|
467
|
+
headers: {
|
|
468
|
+
'x-api-version': xApiVersion,
|
|
469
|
+
},
|
|
470
|
+
errors: {
|
|
471
|
+
401: `Unauthorized`,
|
|
472
|
+
404: `Not Found`,
|
|
473
|
+
},
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
/**
|
|
477
|
+
* @param cartId
|
|
478
|
+
* @param itemId
|
|
479
|
+
* @param xApiVersion
|
|
480
|
+
* @param requestBody
|
|
481
|
+
* @returns EmptyEnvelope OK
|
|
482
|
+
* @throws ApiError
|
|
483
|
+
*/
|
|
484
|
+
public static putApiV2CartServiceCartsItemsIncrease(
|
|
485
|
+
cartId: string,
|
|
486
|
+
itemId: string,
|
|
487
|
+
xApiVersion?: string,
|
|
488
|
+
requestBody?: ItemCartRecordUpdateDto,
|
|
489
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
490
|
+
return __request(OpenAPI, {
|
|
491
|
+
method: 'PUT',
|
|
492
|
+
url: '/api/v2/CartService/Carts/{cartId}/Items/{itemId}/Increase',
|
|
493
|
+
path: {
|
|
494
|
+
'cartId': cartId,
|
|
495
|
+
'itemId': itemId,
|
|
496
|
+
},
|
|
497
|
+
headers: {
|
|
498
|
+
'x-api-version': xApiVersion,
|
|
499
|
+
},
|
|
130
500
|
body: requestBody,
|
|
131
501
|
mediaType: 'application/json',
|
|
502
|
+
errors: {
|
|
503
|
+
401: `Unauthorized`,
|
|
504
|
+
404: `Not Found`,
|
|
505
|
+
},
|
|
132
506
|
});
|
|
133
507
|
}
|
|
134
508
|
/**
|
|
509
|
+
* @param cartId
|
|
510
|
+
* @param itemId
|
|
511
|
+
* @param xApiVersion
|
|
135
512
|
* @param requestBody
|
|
136
|
-
* @returns
|
|
513
|
+
* @returns EmptyEnvelope OK
|
|
137
514
|
* @throws ApiError
|
|
138
515
|
*/
|
|
139
|
-
public static
|
|
140
|
-
|
|
141
|
-
|
|
516
|
+
public static putApiV2CartServiceCartsItemsDecrease(
|
|
517
|
+
cartId: string,
|
|
518
|
+
itemId: string,
|
|
519
|
+
xApiVersion?: string,
|
|
520
|
+
requestBody?: ItemCartRecordUpdateDto,
|
|
521
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
142
522
|
return __request(OpenAPI, {
|
|
143
|
-
method: '
|
|
144
|
-
url: '/api/v2/CartService/Carts/
|
|
523
|
+
method: 'PUT',
|
|
524
|
+
url: '/api/v2/CartService/Carts/{cartId}/Items/{itemId}/Decrease',
|
|
525
|
+
path: {
|
|
526
|
+
'cartId': cartId,
|
|
527
|
+
'itemId': itemId,
|
|
528
|
+
},
|
|
529
|
+
headers: {
|
|
530
|
+
'x-api-version': xApiVersion,
|
|
531
|
+
},
|
|
145
532
|
body: requestBody,
|
|
146
533
|
mediaType: 'application/json',
|
|
534
|
+
errors: {
|
|
535
|
+
401: `Unauthorized`,
|
|
536
|
+
404: `Not Found`,
|
|
537
|
+
},
|
|
538
|
+
});
|
|
539
|
+
}
|
|
540
|
+
/**
|
|
541
|
+
* @param cartId
|
|
542
|
+
* @param xApiVersion
|
|
543
|
+
* @returns ItemCartRecordDtoListEnvelope OK
|
|
544
|
+
* @throws ApiError
|
|
545
|
+
*/
|
|
546
|
+
public static getApiV2CartServiceCartsLines(
|
|
547
|
+
cartId: string,
|
|
548
|
+
xApiVersion?: string,
|
|
549
|
+
): CancelablePromise<ItemCartRecordDtoListEnvelope> {
|
|
550
|
+
return __request(OpenAPI, {
|
|
551
|
+
method: 'GET',
|
|
552
|
+
url: '/api/v2/CartService/Carts/{cartId}/Lines',
|
|
553
|
+
path: {
|
|
554
|
+
'cartId': cartId,
|
|
555
|
+
},
|
|
556
|
+
headers: {
|
|
557
|
+
'x-api-version': xApiVersion,
|
|
558
|
+
},
|
|
559
|
+
errors: {
|
|
560
|
+
401: `Unauthorized`,
|
|
561
|
+
404: `Not Found`,
|
|
562
|
+
},
|
|
563
|
+
});
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* @param cartId
|
|
567
|
+
* @param lineId
|
|
568
|
+
* @param xApiVersion
|
|
569
|
+
* @returns EmptyEnvelope OK
|
|
570
|
+
* @throws ApiError
|
|
571
|
+
*/
|
|
572
|
+
public static getApiV2CartServiceCartsLines1(
|
|
573
|
+
cartId: string,
|
|
574
|
+
lineId: string,
|
|
575
|
+
xApiVersion?: string,
|
|
576
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
577
|
+
return __request(OpenAPI, {
|
|
578
|
+
method: 'GET',
|
|
579
|
+
url: '/api/v2/CartService/Carts/{cartId}/Lines/{lineId}',
|
|
580
|
+
path: {
|
|
581
|
+
'cartId': cartId,
|
|
582
|
+
'lineId': lineId,
|
|
583
|
+
},
|
|
584
|
+
headers: {
|
|
585
|
+
'x-api-version': xApiVersion,
|
|
586
|
+
},
|
|
587
|
+
errors: {
|
|
588
|
+
401: `Unauthorized`,
|
|
589
|
+
404: `Not Found`,
|
|
590
|
+
},
|
|
591
|
+
});
|
|
592
|
+
}
|
|
593
|
+
/**
|
|
594
|
+
* @param cartId
|
|
595
|
+
* @param lineId
|
|
596
|
+
* @param xApiVersion
|
|
597
|
+
* @param requestBody
|
|
598
|
+
* @returns EmptyEnvelope OK
|
|
599
|
+
* @throws ApiError
|
|
600
|
+
*/
|
|
601
|
+
public static putApiV2CartServiceCartsLines(
|
|
602
|
+
cartId: string,
|
|
603
|
+
lineId: string,
|
|
604
|
+
xApiVersion?: string,
|
|
605
|
+
requestBody?: ItemCartRecordUpdateDto,
|
|
606
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
607
|
+
return __request(OpenAPI, {
|
|
608
|
+
method: 'PUT',
|
|
609
|
+
url: '/api/v2/CartService/Carts/{cartId}/Lines/{lineId}',
|
|
610
|
+
path: {
|
|
611
|
+
'cartId': cartId,
|
|
612
|
+
'lineId': lineId,
|
|
613
|
+
},
|
|
614
|
+
headers: {
|
|
615
|
+
'x-api-version': xApiVersion,
|
|
616
|
+
},
|
|
617
|
+
body: requestBody,
|
|
618
|
+
mediaType: 'application/json',
|
|
619
|
+
errors: {
|
|
620
|
+
401: `Unauthorized`,
|
|
621
|
+
404: `Not Found`,
|
|
622
|
+
},
|
|
623
|
+
});
|
|
624
|
+
}
|
|
625
|
+
/**
|
|
626
|
+
* @param cartId
|
|
627
|
+
* @param lineId
|
|
628
|
+
* @param xApiVersion
|
|
629
|
+
* @returns EmptyEnvelope OK
|
|
630
|
+
* @throws ApiError
|
|
631
|
+
*/
|
|
632
|
+
public static deleteApiV2CartServiceCartsLines(
|
|
633
|
+
cartId: string,
|
|
634
|
+
lineId: string,
|
|
635
|
+
xApiVersion?: string,
|
|
636
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
637
|
+
return __request(OpenAPI, {
|
|
638
|
+
method: 'DELETE',
|
|
639
|
+
url: '/api/v2/CartService/Carts/{cartId}/Lines/{lineId}',
|
|
640
|
+
path: {
|
|
641
|
+
'cartId': cartId,
|
|
642
|
+
'lineId': lineId,
|
|
643
|
+
},
|
|
644
|
+
headers: {
|
|
645
|
+
'x-api-version': xApiVersion,
|
|
646
|
+
},
|
|
647
|
+
errors: {
|
|
648
|
+
401: `Unauthorized`,
|
|
649
|
+
404: `Not Found`,
|
|
650
|
+
},
|
|
651
|
+
});
|
|
652
|
+
}
|
|
653
|
+
/**
|
|
654
|
+
* @param cartId
|
|
655
|
+
* @param lineId
|
|
656
|
+
* @param quantity
|
|
657
|
+
* @param xApiVersion
|
|
658
|
+
* @returns EmptyEnvelope OK
|
|
659
|
+
* @throws ApiError
|
|
660
|
+
*/
|
|
661
|
+
public static putApiV2CartServiceCartsLinesIncrease(
|
|
662
|
+
cartId: string,
|
|
663
|
+
lineId: string,
|
|
664
|
+
quantity: number = 1,
|
|
665
|
+
xApiVersion?: string,
|
|
666
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
667
|
+
return __request(OpenAPI, {
|
|
668
|
+
method: 'PUT',
|
|
669
|
+
url: '/api/v2/CartService/Carts/{cartId}/Lines/{lineId}/Increase',
|
|
670
|
+
path: {
|
|
671
|
+
'cartId': cartId,
|
|
672
|
+
'lineId': lineId,
|
|
673
|
+
},
|
|
674
|
+
headers: {
|
|
675
|
+
'x-api-version': xApiVersion,
|
|
676
|
+
},
|
|
677
|
+
query: {
|
|
678
|
+
'quantity': quantity,
|
|
679
|
+
},
|
|
680
|
+
errors: {
|
|
681
|
+
401: `Unauthorized`,
|
|
682
|
+
404: `Not Found`,
|
|
683
|
+
},
|
|
684
|
+
});
|
|
685
|
+
}
|
|
686
|
+
/**
|
|
687
|
+
* @param cartId
|
|
688
|
+
* @param lineId
|
|
689
|
+
* @param quantity
|
|
690
|
+
* @param xApiVersion
|
|
691
|
+
* @returns EmptyEnvelope OK
|
|
692
|
+
* @throws ApiError
|
|
693
|
+
*/
|
|
694
|
+
public static putApiV2CartServiceCartsLinesDecrease(
|
|
695
|
+
cartId: string,
|
|
696
|
+
lineId: string,
|
|
697
|
+
quantity: number = 1,
|
|
698
|
+
xApiVersion?: string,
|
|
699
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
700
|
+
return __request(OpenAPI, {
|
|
701
|
+
method: 'PUT',
|
|
702
|
+
url: '/api/v2/CartService/Carts/{cartId}/Lines/{lineId}/Decrease',
|
|
703
|
+
path: {
|
|
704
|
+
'cartId': cartId,
|
|
705
|
+
'lineId': lineId,
|
|
706
|
+
},
|
|
707
|
+
headers: {
|
|
708
|
+
'x-api-version': xApiVersion,
|
|
709
|
+
},
|
|
710
|
+
query: {
|
|
711
|
+
'quantity': quantity,
|
|
712
|
+
},
|
|
713
|
+
errors: {
|
|
714
|
+
401: `Unauthorized`,
|
|
715
|
+
404: `Not Found`,
|
|
716
|
+
},
|
|
717
|
+
});
|
|
718
|
+
}
|
|
719
|
+
/**
|
|
720
|
+
* @param cartId
|
|
721
|
+
* @param xApiVersion
|
|
722
|
+
* @returns WishListDto OK
|
|
723
|
+
* @throws ApiError
|
|
724
|
+
*/
|
|
725
|
+
public static getApiV2CartServiceCartsWishLists(
|
|
726
|
+
cartId: string,
|
|
727
|
+
xApiVersion?: string,
|
|
728
|
+
): CancelablePromise<Array<WishListDto>> {
|
|
729
|
+
return __request(OpenAPI, {
|
|
730
|
+
method: 'GET',
|
|
731
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists',
|
|
732
|
+
path: {
|
|
733
|
+
'cartId': cartId,
|
|
734
|
+
},
|
|
735
|
+
headers: {
|
|
736
|
+
'x-api-version': xApiVersion,
|
|
737
|
+
},
|
|
738
|
+
errors: {
|
|
739
|
+
401: `Unauthorized`,
|
|
740
|
+
404: `Not Found`,
|
|
741
|
+
},
|
|
742
|
+
});
|
|
743
|
+
}
|
|
744
|
+
/**
|
|
745
|
+
* @param cartId
|
|
746
|
+
* @param xApiVersion
|
|
747
|
+
* @param requestBody
|
|
748
|
+
* @returns EmptyEnvelope OK
|
|
749
|
+
* @throws ApiError
|
|
750
|
+
*/
|
|
751
|
+
public static postApiV2CartServiceCartsWishLists(
|
|
752
|
+
cartId: string,
|
|
753
|
+
xApiVersion?: string,
|
|
754
|
+
requestBody?: NewWishListRequest,
|
|
755
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
756
|
+
return __request(OpenAPI, {
|
|
757
|
+
method: 'POST',
|
|
758
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists',
|
|
759
|
+
path: {
|
|
760
|
+
'cartId': cartId,
|
|
761
|
+
},
|
|
762
|
+
headers: {
|
|
763
|
+
'x-api-version': xApiVersion,
|
|
764
|
+
},
|
|
765
|
+
body: requestBody,
|
|
766
|
+
mediaType: 'application/json',
|
|
767
|
+
errors: {
|
|
768
|
+
401: `Unauthorized`,
|
|
769
|
+
404: `Not Found`,
|
|
770
|
+
},
|
|
771
|
+
});
|
|
772
|
+
}
|
|
773
|
+
/**
|
|
774
|
+
* @param cartId
|
|
775
|
+
* @param itemId
|
|
776
|
+
* @param xApiVersion
|
|
777
|
+
* @returns BooleanEnvelope OK
|
|
778
|
+
* @throws ApiError
|
|
779
|
+
*/
|
|
780
|
+
public static getApiV2CartServiceCartsWishListsContains(
|
|
781
|
+
cartId: string,
|
|
782
|
+
itemId: string,
|
|
783
|
+
xApiVersion?: string,
|
|
784
|
+
): CancelablePromise<BooleanEnvelope> {
|
|
785
|
+
return __request(OpenAPI, {
|
|
786
|
+
method: 'GET',
|
|
787
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/Contains/{itemId}',
|
|
788
|
+
path: {
|
|
789
|
+
'cartId': cartId,
|
|
790
|
+
'itemId': itemId,
|
|
791
|
+
},
|
|
792
|
+
headers: {
|
|
793
|
+
'x-api-version': xApiVersion,
|
|
794
|
+
},
|
|
795
|
+
errors: {
|
|
796
|
+
401: `Unauthorized`,
|
|
797
|
+
404: `Not Found`,
|
|
798
|
+
},
|
|
799
|
+
});
|
|
800
|
+
}
|
|
801
|
+
/**
|
|
802
|
+
* @param cartId
|
|
803
|
+
* @param wishListId
|
|
804
|
+
* @param xApiVersion
|
|
805
|
+
* @returns BooleanEnvelope OK
|
|
806
|
+
* @throws ApiError
|
|
807
|
+
*/
|
|
808
|
+
public static getApiV2CartServiceCartsWishListsExists(
|
|
809
|
+
cartId: string,
|
|
810
|
+
wishListId: string,
|
|
811
|
+
xApiVersion?: string,
|
|
812
|
+
): CancelablePromise<BooleanEnvelope> {
|
|
813
|
+
return __request(OpenAPI, {
|
|
814
|
+
method: 'GET',
|
|
815
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Exists',
|
|
816
|
+
path: {
|
|
817
|
+
'cartId': cartId,
|
|
818
|
+
'wishListId': wishListId,
|
|
819
|
+
},
|
|
820
|
+
headers: {
|
|
821
|
+
'x-api-version': xApiVersion,
|
|
822
|
+
},
|
|
823
|
+
errors: {
|
|
824
|
+
401: `Unauthorized`,
|
|
825
|
+
404: `Not Found`,
|
|
826
|
+
},
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
/**
|
|
830
|
+
* @param cartId
|
|
831
|
+
* @param wishListId
|
|
832
|
+
* @param xApiVersion
|
|
833
|
+
* @returns EmptyEnvelope OK
|
|
834
|
+
* @throws ApiError
|
|
835
|
+
*/
|
|
836
|
+
public static headApiV2CartServiceCartsWishListsExists(
|
|
837
|
+
cartId: string,
|
|
838
|
+
wishListId: string,
|
|
839
|
+
xApiVersion?: string,
|
|
840
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
841
|
+
return __request(OpenAPI, {
|
|
842
|
+
method: 'HEAD',
|
|
843
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Exists',
|
|
844
|
+
path: {
|
|
845
|
+
'cartId': cartId,
|
|
846
|
+
'wishListId': wishListId,
|
|
847
|
+
},
|
|
848
|
+
headers: {
|
|
849
|
+
'x-api-version': xApiVersion,
|
|
850
|
+
},
|
|
851
|
+
});
|
|
852
|
+
}
|
|
853
|
+
/**
|
|
854
|
+
* @param cartId
|
|
855
|
+
* @param wishListId
|
|
856
|
+
* @param xApiVersion
|
|
857
|
+
* @param requestBody
|
|
858
|
+
* @returns EmptyEnvelope OK
|
|
859
|
+
* @throws ApiError
|
|
860
|
+
*/
|
|
861
|
+
public static putApiV2CartServiceCartsWishLists(
|
|
862
|
+
cartId: string,
|
|
863
|
+
wishListId: string,
|
|
864
|
+
xApiVersion?: string,
|
|
865
|
+
requestBody?: WishListUpdateDto,
|
|
866
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
867
|
+
return __request(OpenAPI, {
|
|
868
|
+
method: 'PUT',
|
|
869
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
|
|
870
|
+
path: {
|
|
871
|
+
'cartId': cartId,
|
|
872
|
+
'wishListId': wishListId,
|
|
873
|
+
},
|
|
874
|
+
headers: {
|
|
875
|
+
'x-api-version': xApiVersion,
|
|
876
|
+
},
|
|
877
|
+
body: requestBody,
|
|
878
|
+
mediaType: 'application/json',
|
|
879
|
+
errors: {
|
|
880
|
+
401: `Unauthorized`,
|
|
881
|
+
404: `Not Found`,
|
|
882
|
+
},
|
|
883
|
+
});
|
|
884
|
+
}
|
|
885
|
+
/**
|
|
886
|
+
* @param cartId
|
|
887
|
+
* @param wishListId
|
|
888
|
+
* @param xApiVersion
|
|
889
|
+
* @returns WishListDtoEnvelope OK
|
|
890
|
+
* @throws ApiError
|
|
891
|
+
*/
|
|
892
|
+
public static getApiV2CartServiceCartsWishLists1(
|
|
893
|
+
cartId: string,
|
|
894
|
+
wishListId: string,
|
|
895
|
+
xApiVersion?: string,
|
|
896
|
+
): CancelablePromise<WishListDtoEnvelope> {
|
|
897
|
+
return __request(OpenAPI, {
|
|
898
|
+
method: 'GET',
|
|
899
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
|
|
900
|
+
path: {
|
|
901
|
+
'cartId': cartId,
|
|
902
|
+
'wishListId': wishListId,
|
|
903
|
+
},
|
|
904
|
+
headers: {
|
|
905
|
+
'x-api-version': xApiVersion,
|
|
906
|
+
},
|
|
907
|
+
errors: {
|
|
908
|
+
401: `Unauthorized`,
|
|
909
|
+
404: `Not Found`,
|
|
910
|
+
},
|
|
911
|
+
});
|
|
912
|
+
}
|
|
913
|
+
/**
|
|
914
|
+
* @param cartId
|
|
915
|
+
* @param wishListId
|
|
916
|
+
* @param xApiVersion
|
|
917
|
+
* @returns EmptyEnvelope OK
|
|
918
|
+
* @throws ApiError
|
|
919
|
+
*/
|
|
920
|
+
public static deleteApiV2CartServiceCartsWishLists(
|
|
921
|
+
cartId: string,
|
|
922
|
+
wishListId: string,
|
|
923
|
+
xApiVersion?: string,
|
|
924
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
925
|
+
return __request(OpenAPI, {
|
|
926
|
+
method: 'DELETE',
|
|
927
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}',
|
|
928
|
+
path: {
|
|
929
|
+
'cartId': cartId,
|
|
930
|
+
'wishListId': wishListId,
|
|
931
|
+
},
|
|
932
|
+
headers: {
|
|
933
|
+
'x-api-version': xApiVersion,
|
|
934
|
+
},
|
|
935
|
+
errors: {
|
|
936
|
+
401: `Unauthorized`,
|
|
937
|
+
404: `Not Found`,
|
|
938
|
+
},
|
|
939
|
+
});
|
|
940
|
+
}
|
|
941
|
+
/**
|
|
942
|
+
* @param cartId
|
|
943
|
+
* @param wishListId
|
|
944
|
+
* @param xApiVersion
|
|
945
|
+
* @returns WishListItemRecordDto OK
|
|
946
|
+
* @throws ApiError
|
|
947
|
+
*/
|
|
948
|
+
public static getApiV2CartServiceCartsWishListsRecords(
|
|
949
|
+
cartId: string,
|
|
950
|
+
wishListId: string,
|
|
951
|
+
xApiVersion?: string,
|
|
952
|
+
): CancelablePromise<Array<WishListItemRecordDto>> {
|
|
953
|
+
return __request(OpenAPI, {
|
|
954
|
+
method: 'GET',
|
|
955
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records',
|
|
956
|
+
path: {
|
|
957
|
+
'cartId': cartId,
|
|
958
|
+
'wishListId': wishListId,
|
|
959
|
+
},
|
|
960
|
+
headers: {
|
|
961
|
+
'x-api-version': xApiVersion,
|
|
962
|
+
},
|
|
963
|
+
errors: {
|
|
964
|
+
401: `Unauthorized`,
|
|
965
|
+
404: `Not Found`,
|
|
966
|
+
},
|
|
967
|
+
});
|
|
968
|
+
}
|
|
969
|
+
/**
|
|
970
|
+
* @param cartId
|
|
971
|
+
* @param wishListId
|
|
972
|
+
* @param xApiVersion
|
|
973
|
+
* @param requestBody
|
|
974
|
+
* @returns EmptyEnvelope OK
|
|
975
|
+
* @throws ApiError
|
|
976
|
+
*/
|
|
977
|
+
public static postApiV2CartServiceCartsWishListsRecords(
|
|
978
|
+
cartId: string,
|
|
979
|
+
wishListId: string,
|
|
980
|
+
xApiVersion?: string,
|
|
981
|
+
requestBody?: ProductToWishListRequest,
|
|
982
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
983
|
+
return __request(OpenAPI, {
|
|
984
|
+
method: 'POST',
|
|
985
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records',
|
|
986
|
+
path: {
|
|
987
|
+
'cartId': cartId,
|
|
988
|
+
'wishListId': wishListId,
|
|
989
|
+
},
|
|
990
|
+
headers: {
|
|
991
|
+
'x-api-version': xApiVersion,
|
|
992
|
+
},
|
|
993
|
+
body: requestBody,
|
|
994
|
+
mediaType: 'application/json',
|
|
995
|
+
errors: {
|
|
996
|
+
401: `Unauthorized`,
|
|
997
|
+
404: `Not Found`,
|
|
998
|
+
},
|
|
999
|
+
});
|
|
1000
|
+
}
|
|
1001
|
+
/**
|
|
1002
|
+
* @param cartId
|
|
1003
|
+
* @param wishListId
|
|
1004
|
+
* @param recordId
|
|
1005
|
+
* @param xApiVersion
|
|
1006
|
+
* @returns WishListItemRecordDto OK
|
|
1007
|
+
* @throws ApiError
|
|
1008
|
+
*/
|
|
1009
|
+
public static getApiV2CartServiceCartsWishListsRecords1(
|
|
1010
|
+
cartId: string,
|
|
1011
|
+
wishListId: string,
|
|
1012
|
+
recordId: string,
|
|
1013
|
+
xApiVersion?: string,
|
|
1014
|
+
): CancelablePromise<Array<WishListItemRecordDto>> {
|
|
1015
|
+
return __request(OpenAPI, {
|
|
1016
|
+
method: 'GET',
|
|
1017
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records/{recordId}',
|
|
1018
|
+
path: {
|
|
1019
|
+
'cartId': cartId,
|
|
1020
|
+
'wishListId': wishListId,
|
|
1021
|
+
'recordId': recordId,
|
|
1022
|
+
},
|
|
1023
|
+
headers: {
|
|
1024
|
+
'x-api-version': xApiVersion,
|
|
1025
|
+
},
|
|
1026
|
+
});
|
|
1027
|
+
}
|
|
1028
|
+
/**
|
|
1029
|
+
* @param cartId
|
|
1030
|
+
* @param wishListId
|
|
1031
|
+
* @param recordId
|
|
1032
|
+
* @param xApiVersion
|
|
1033
|
+
* @returns EmptyEnvelope OK
|
|
1034
|
+
* @throws ApiError
|
|
1035
|
+
*/
|
|
1036
|
+
public static deleteApiV2CartServiceCartsWishListsRecords(
|
|
1037
|
+
cartId: string,
|
|
1038
|
+
wishListId: string,
|
|
1039
|
+
recordId: string,
|
|
1040
|
+
xApiVersion?: string,
|
|
1041
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
1042
|
+
return __request(OpenAPI, {
|
|
1043
|
+
method: 'DELETE',
|
|
1044
|
+
url: '/api/v2/CartService/Carts/{cartId}/WishLists/{wishListId}/Records/{recordId}',
|
|
1045
|
+
path: {
|
|
1046
|
+
'cartId': cartId,
|
|
1047
|
+
'wishListId': wishListId,
|
|
1048
|
+
'recordId': recordId,
|
|
1049
|
+
},
|
|
1050
|
+
headers: {
|
|
1051
|
+
'x-api-version': xApiVersion,
|
|
1052
|
+
},
|
|
1053
|
+
errors: {
|
|
1054
|
+
401: `Unauthorized`,
|
|
1055
|
+
404: `Not Found`,
|
|
1056
|
+
},
|
|
1057
|
+
});
|
|
1058
|
+
}
|
|
1059
|
+
/**
|
|
1060
|
+
* @param cartId
|
|
1061
|
+
* @param xApiVersion
|
|
1062
|
+
* @returns ItemToCompareCartRecordDtoListEnvelope OK
|
|
1063
|
+
* @throws ApiError
|
|
1064
|
+
*/
|
|
1065
|
+
public static getApiV2CartServiceCartsCompare(
|
|
1066
|
+
cartId: string,
|
|
1067
|
+
xApiVersion?: string,
|
|
1068
|
+
): CancelablePromise<ItemToCompareCartRecordDtoListEnvelope> {
|
|
1069
|
+
return __request(OpenAPI, {
|
|
1070
|
+
method: 'GET',
|
|
1071
|
+
url: '/api/v2/CartService/Carts/{cartId}/Compare',
|
|
1072
|
+
path: {
|
|
1073
|
+
'cartId': cartId,
|
|
1074
|
+
},
|
|
1075
|
+
headers: {
|
|
1076
|
+
'x-api-version': xApiVersion,
|
|
1077
|
+
},
|
|
1078
|
+
errors: {
|
|
1079
|
+
401: `Unauthorized`,
|
|
1080
|
+
404: `Not Found`,
|
|
1081
|
+
},
|
|
1082
|
+
});
|
|
1083
|
+
}
|
|
1084
|
+
/**
|
|
1085
|
+
* @param cartId
|
|
1086
|
+
* @param itemId
|
|
1087
|
+
* @param xApiVersion
|
|
1088
|
+
* @returns ItemToCompareCartRecordDtoEnvelope OK
|
|
1089
|
+
* @throws ApiError
|
|
1090
|
+
*/
|
|
1091
|
+
public static getApiV2CartServiceCartsCompare1(
|
|
1092
|
+
cartId: string,
|
|
1093
|
+
itemId: string,
|
|
1094
|
+
xApiVersion?: string,
|
|
1095
|
+
): CancelablePromise<ItemToCompareCartRecordDtoEnvelope> {
|
|
1096
|
+
return __request(OpenAPI, {
|
|
1097
|
+
method: 'GET',
|
|
1098
|
+
url: '/api/v2/CartService/Carts/{cartId}/Compare/{itemId}',
|
|
1099
|
+
path: {
|
|
1100
|
+
'cartId': cartId,
|
|
1101
|
+
'itemId': itemId,
|
|
1102
|
+
},
|
|
1103
|
+
headers: {
|
|
1104
|
+
'x-api-version': xApiVersion,
|
|
1105
|
+
},
|
|
1106
|
+
errors: {
|
|
1107
|
+
401: `Unauthorized`,
|
|
1108
|
+
404: `Not Found`,
|
|
1109
|
+
},
|
|
1110
|
+
});
|
|
1111
|
+
}
|
|
1112
|
+
/**
|
|
1113
|
+
* @param cartId
|
|
1114
|
+
* @param itemId
|
|
1115
|
+
* @param xApiVersion
|
|
1116
|
+
* @returns ItemCartRecordDto OK
|
|
1117
|
+
* @throws ApiError
|
|
1118
|
+
*/
|
|
1119
|
+
public static postApiV2CartServiceCartsCompare(
|
|
1120
|
+
cartId: string,
|
|
1121
|
+
itemId: string,
|
|
1122
|
+
xApiVersion?: string,
|
|
1123
|
+
): CancelablePromise<ItemCartRecordDto> {
|
|
1124
|
+
return __request(OpenAPI, {
|
|
1125
|
+
method: 'POST',
|
|
1126
|
+
url: '/api/v2/CartService/Carts/{cartId}/Compare/{itemId}',
|
|
1127
|
+
path: {
|
|
1128
|
+
'cartId': cartId,
|
|
1129
|
+
'itemId': itemId,
|
|
1130
|
+
},
|
|
1131
|
+
headers: {
|
|
1132
|
+
'x-api-version': xApiVersion,
|
|
1133
|
+
},
|
|
1134
|
+
errors: {
|
|
1135
|
+
401: `Unauthorized`,
|
|
1136
|
+
404: `Not Found`,
|
|
1137
|
+
},
|
|
1138
|
+
});
|
|
1139
|
+
}
|
|
1140
|
+
/**
|
|
1141
|
+
* @param cartId
|
|
1142
|
+
* @param itemId
|
|
1143
|
+
* @param xApiVersion
|
|
1144
|
+
* @returns ItemToCompareCartRecordDto OK
|
|
1145
|
+
* @throws ApiError
|
|
1146
|
+
*/
|
|
1147
|
+
public static deleteApiV2CartServiceCartsCompare(
|
|
1148
|
+
cartId: string,
|
|
1149
|
+
itemId: string,
|
|
1150
|
+
xApiVersion?: string,
|
|
1151
|
+
): CancelablePromise<ItemToCompareCartRecordDto> {
|
|
1152
|
+
return __request(OpenAPI, {
|
|
1153
|
+
method: 'DELETE',
|
|
1154
|
+
url: '/api/v2/CartService/Carts/{cartId}/Compare/{itemId}',
|
|
1155
|
+
path: {
|
|
1156
|
+
'cartId': cartId,
|
|
1157
|
+
'itemId': itemId,
|
|
1158
|
+
},
|
|
1159
|
+
headers: {
|
|
1160
|
+
'x-api-version': xApiVersion,
|
|
1161
|
+
},
|
|
1162
|
+
errors: {
|
|
1163
|
+
401: `Unauthorized`,
|
|
1164
|
+
404: `Not Found`,
|
|
1165
|
+
},
|
|
1166
|
+
});
|
|
1167
|
+
}
|
|
1168
|
+
/**
|
|
1169
|
+
* @param cartId
|
|
1170
|
+
* @param itemId
|
|
1171
|
+
* @param xApiVersion
|
|
1172
|
+
* @returns BooleanEnvelope OK
|
|
1173
|
+
* @throws ApiError
|
|
1174
|
+
*/
|
|
1175
|
+
public static getApiV2CartServiceCartsCompareContains(
|
|
1176
|
+
cartId: string,
|
|
1177
|
+
itemId: string,
|
|
1178
|
+
xApiVersion?: string,
|
|
1179
|
+
): CancelablePromise<BooleanEnvelope> {
|
|
1180
|
+
return __request(OpenAPI, {
|
|
1181
|
+
method: 'GET',
|
|
1182
|
+
url: '/api/v2/CartService/Carts/{cartId}/Compare/Contains/{itemId}',
|
|
1183
|
+
path: {
|
|
1184
|
+
'cartId': cartId,
|
|
1185
|
+
'itemId': itemId,
|
|
1186
|
+
},
|
|
1187
|
+
headers: {
|
|
1188
|
+
'x-api-version': xApiVersion,
|
|
1189
|
+
},
|
|
1190
|
+
errors: {
|
|
1191
|
+
401: `Unauthorized`,
|
|
1192
|
+
404: `Not Found`,
|
|
1193
|
+
},
|
|
147
1194
|
});
|
|
148
1195
|
}
|
|
149
1196
|
}
|