@fenixalliance/abs-api-client 1.0.2 → 1.0.3
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 +4 -3
- 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/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
|
@@ -0,0 +1,2176 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { CatalogItemCreateDto } from '../models/CatalogItemCreateDto';
|
|
6
|
+
import type { CatalogItemDtoEnvelope } from '../models/CatalogItemDtoEnvelope';
|
|
7
|
+
import type { CatalogItemDtoListEnvelope } from '../models/CatalogItemDtoListEnvelope';
|
|
8
|
+
import type { CatalogItemUpdateDto } from '../models/CatalogItemUpdateDto';
|
|
9
|
+
import type { EmptyEnvelope } from '../models/EmptyEnvelope';
|
|
10
|
+
import type { Int32Envelope } from '../models/Int32Envelope';
|
|
11
|
+
import type { ItemAttachmentDtoEnvelope } from '../models/ItemAttachmentDtoEnvelope';
|
|
12
|
+
import type { ItemAttachmentDtoListEnvelope } from '../models/ItemAttachmentDtoListEnvelope';
|
|
13
|
+
import type { ItemAttributeOptionDtoEnvelope } from '../models/ItemAttributeOptionDtoEnvelope';
|
|
14
|
+
import type { ItemAttributeOptionDtoListEnvelope } from '../models/ItemAttributeOptionDtoListEnvelope';
|
|
15
|
+
import type { ItemBrandDtoEnvelope } from '../models/ItemBrandDtoEnvelope';
|
|
16
|
+
import type { ItemBrandDtoListEnvelope } from '../models/ItemBrandDtoListEnvelope';
|
|
17
|
+
import type { ItemCategoryDtoEnvelope } from '../models/ItemCategoryDtoEnvelope';
|
|
18
|
+
import type { ItemCategoryDtoListEnvelope } from '../models/ItemCategoryDtoListEnvelope';
|
|
19
|
+
import type { ItemGoogleCategoryDtoEnvelope } from '../models/ItemGoogleCategoryDtoEnvelope';
|
|
20
|
+
import type { ItemGoogleCategoryDtoListEnvelope } from '../models/ItemGoogleCategoryDtoListEnvelope';
|
|
21
|
+
import type { ItemImageDtoEnvelope } from '../models/ItemImageDtoEnvelope';
|
|
22
|
+
import type { ItemImageDtoListEnvelope } from '../models/ItemImageDtoListEnvelope';
|
|
23
|
+
import type { ItemQuestionDtoEnvelope } from '../models/ItemQuestionDtoEnvelope';
|
|
24
|
+
import type { ItemQuestionDtoListEnvelope } from '../models/ItemQuestionDtoListEnvelope';
|
|
25
|
+
import type { ItemQuestionRecordCreateDto } from '../models/ItemQuestionRecordCreateDto';
|
|
26
|
+
import type { ItemRefundPolicyDtoEnvelope } from '../models/ItemRefundPolicyDtoEnvelope';
|
|
27
|
+
import type { ItemRefundPolicyDtoListEnvelope } from '../models/ItemRefundPolicyDtoListEnvelope';
|
|
28
|
+
import type { ItemReturnPolicyDtoEnvelope } from '../models/ItemReturnPolicyDtoEnvelope';
|
|
29
|
+
import type { ItemReturnPolicyDtoListEnvelope } from '../models/ItemReturnPolicyDtoListEnvelope';
|
|
30
|
+
import type { ItemReviewDtoEnvelope } from '../models/ItemReviewDtoEnvelope';
|
|
31
|
+
import type { ItemReviewDtoListEnvelope } from '../models/ItemReviewDtoListEnvelope';
|
|
32
|
+
import type { ItemReviewRecordCreateDto } from '../models/ItemReviewRecordCreateDto';
|
|
33
|
+
import type { ItemShippingPolicyDtoEnvelope } from '../models/ItemShippingPolicyDtoEnvelope';
|
|
34
|
+
import type { ItemShippingPolicyDtoListEnvelope } from '../models/ItemShippingPolicyDtoListEnvelope';
|
|
35
|
+
import type { ItemTagDtoEnvelope } from '../models/ItemTagDtoEnvelope';
|
|
36
|
+
import type { ItemTagDtoListEnvelope } from '../models/ItemTagDtoListEnvelope';
|
|
37
|
+
import type { ItemTaxPolicyDtoEnvelope } from '../models/ItemTaxPolicyDtoEnvelope';
|
|
38
|
+
import type { ItemTaxPolicyDtoListEnvelope } from '../models/ItemTaxPolicyDtoListEnvelope';
|
|
39
|
+
import type { ItemTypeDtoEnvelope } from '../models/ItemTypeDtoEnvelope';
|
|
40
|
+
import type { ItemTypeDtoListEnvelope } from '../models/ItemTypeDtoListEnvelope';
|
|
41
|
+
import type { ItemWarrantyPolicyDtoEnvelope } from '../models/ItemWarrantyPolicyDtoEnvelope';
|
|
42
|
+
import type { ItemWarrantyPolicyDtoListEnvelope } from '../models/ItemWarrantyPolicyDtoListEnvelope';
|
|
43
|
+
import type { MoneyEnvelope } from '../models/MoneyEnvelope';
|
|
44
|
+
import type { PricingRuleDtoEnvelope } from '../models/PricingRuleDtoEnvelope';
|
|
45
|
+
import type { PricingRuleDtoListEnvelope } from '../models/PricingRuleDtoListEnvelope';
|
|
46
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
47
|
+
import { OpenAPI } from '../core/OpenAPI';
|
|
48
|
+
import { request as __request } from '../core/request';
|
|
49
|
+
export class ItemsService {
|
|
50
|
+
/**
|
|
51
|
+
* @param tenantId
|
|
52
|
+
* @param xApiVersion
|
|
53
|
+
* @returns CatalogItemDtoListEnvelope OK
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
public static getApiV2CatalogServiceItems(
|
|
57
|
+
tenantId?: string,
|
|
58
|
+
xApiVersion?: string,
|
|
59
|
+
): CancelablePromise<CatalogItemDtoListEnvelope> {
|
|
60
|
+
return __request(OpenAPI, {
|
|
61
|
+
method: 'GET',
|
|
62
|
+
url: '/api/v2/CatalogService/Items',
|
|
63
|
+
headers: {
|
|
64
|
+
'x-api-version': xApiVersion,
|
|
65
|
+
},
|
|
66
|
+
query: {
|
|
67
|
+
'tenantId': tenantId,
|
|
68
|
+
},
|
|
69
|
+
errors: {
|
|
70
|
+
401: `Unauthorized`,
|
|
71
|
+
403: `Forbidden`,
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* @param tenantId
|
|
77
|
+
* @param xApiVersion
|
|
78
|
+
* @param requestBody
|
|
79
|
+
* @returns any OK
|
|
80
|
+
* @throws ApiError
|
|
81
|
+
*/
|
|
82
|
+
public static postApiV2CatalogServiceItems(
|
|
83
|
+
tenantId: string,
|
|
84
|
+
xApiVersion?: string,
|
|
85
|
+
requestBody?: CatalogItemCreateDto,
|
|
86
|
+
): CancelablePromise<any> {
|
|
87
|
+
return __request(OpenAPI, {
|
|
88
|
+
method: 'POST',
|
|
89
|
+
url: '/api/v2/CatalogService/Items',
|
|
90
|
+
headers: {
|
|
91
|
+
'x-api-version': xApiVersion,
|
|
92
|
+
},
|
|
93
|
+
query: {
|
|
94
|
+
'tenantId': tenantId,
|
|
95
|
+
},
|
|
96
|
+
body: requestBody,
|
|
97
|
+
mediaType: 'application/json',
|
|
98
|
+
errors: {
|
|
99
|
+
401: `Unauthorized`,
|
|
100
|
+
403: `Forbidden`,
|
|
101
|
+
},
|
|
102
|
+
});
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* @param tenantId
|
|
106
|
+
* @param xApiVersion
|
|
107
|
+
* @returns MoneyEnvelope OK
|
|
108
|
+
* @throws ApiError
|
|
109
|
+
*/
|
|
110
|
+
public static getApiV2CatalogServiceItemsMaxPrice(
|
|
111
|
+
tenantId?: string,
|
|
112
|
+
xApiVersion?: string,
|
|
113
|
+
): CancelablePromise<MoneyEnvelope> {
|
|
114
|
+
return __request(OpenAPI, {
|
|
115
|
+
method: 'GET',
|
|
116
|
+
url: '/api/v2/CatalogService/Items/MaxPrice',
|
|
117
|
+
headers: {
|
|
118
|
+
'x-api-version': xApiVersion,
|
|
119
|
+
},
|
|
120
|
+
query: {
|
|
121
|
+
'tenantId': tenantId,
|
|
122
|
+
},
|
|
123
|
+
errors: {
|
|
124
|
+
401: `Unauthorized`,
|
|
125
|
+
403: `Forbidden`,
|
|
126
|
+
},
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
/**
|
|
130
|
+
* @param tenantId
|
|
131
|
+
* @param xApiVersion
|
|
132
|
+
* @returns MoneyEnvelope OK
|
|
133
|
+
* @throws ApiError
|
|
134
|
+
*/
|
|
135
|
+
public static getApiV2CatalogServiceItemsMinPrice(
|
|
136
|
+
tenantId?: string,
|
|
137
|
+
xApiVersion?: string,
|
|
138
|
+
): CancelablePromise<MoneyEnvelope> {
|
|
139
|
+
return __request(OpenAPI, {
|
|
140
|
+
method: 'GET',
|
|
141
|
+
url: '/api/v2/CatalogService/Items/MinPrice',
|
|
142
|
+
headers: {
|
|
143
|
+
'x-api-version': xApiVersion,
|
|
144
|
+
},
|
|
145
|
+
query: {
|
|
146
|
+
'tenantId': tenantId,
|
|
147
|
+
},
|
|
148
|
+
errors: {
|
|
149
|
+
401: `Unauthorized`,
|
|
150
|
+
403: `Forbidden`,
|
|
151
|
+
},
|
|
152
|
+
});
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* @param tenantId
|
|
156
|
+
* @param xApiVersion
|
|
157
|
+
* @returns Int32Envelope OK
|
|
158
|
+
* @throws ApiError
|
|
159
|
+
*/
|
|
160
|
+
public static getApiV2CatalogServiceItemsCount(
|
|
161
|
+
tenantId?: string,
|
|
162
|
+
xApiVersion?: string,
|
|
163
|
+
): CancelablePromise<Int32Envelope> {
|
|
164
|
+
return __request(OpenAPI, {
|
|
165
|
+
method: 'GET',
|
|
166
|
+
url: '/api/v2/CatalogService/Items/Count',
|
|
167
|
+
headers: {
|
|
168
|
+
'x-api-version': xApiVersion,
|
|
169
|
+
},
|
|
170
|
+
query: {
|
|
171
|
+
'tenantId': tenantId,
|
|
172
|
+
},
|
|
173
|
+
errors: {
|
|
174
|
+
401: `Unauthorized`,
|
|
175
|
+
403: `Forbidden`,
|
|
176
|
+
},
|
|
177
|
+
});
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* @param itemId
|
|
181
|
+
* @param xApiVersion
|
|
182
|
+
* @returns CatalogItemDtoEnvelope OK
|
|
183
|
+
* @throws ApiError
|
|
184
|
+
*/
|
|
185
|
+
public static getStockItemByIdAsync(
|
|
186
|
+
itemId: string,
|
|
187
|
+
xApiVersion?: string,
|
|
188
|
+
): CancelablePromise<CatalogItemDtoEnvelope> {
|
|
189
|
+
return __request(OpenAPI, {
|
|
190
|
+
method: 'GET',
|
|
191
|
+
url: '/api/v2/CatalogService/Items/{itemId}',
|
|
192
|
+
path: {
|
|
193
|
+
'itemId': itemId,
|
|
194
|
+
},
|
|
195
|
+
headers: {
|
|
196
|
+
'x-api-version': xApiVersion,
|
|
197
|
+
},
|
|
198
|
+
errors: {
|
|
199
|
+
401: `Unauthorized`,
|
|
200
|
+
403: `Forbidden`,
|
|
201
|
+
},
|
|
202
|
+
});
|
|
203
|
+
}
|
|
204
|
+
/**
|
|
205
|
+
* @param tenantId
|
|
206
|
+
* @param itemId
|
|
207
|
+
* @param xApiVersion
|
|
208
|
+
* @param requestBody
|
|
209
|
+
* @returns any OK
|
|
210
|
+
* @throws ApiError
|
|
211
|
+
*/
|
|
212
|
+
public static updateStockItemAsync(
|
|
213
|
+
tenantId: string,
|
|
214
|
+
itemId: string,
|
|
215
|
+
xApiVersion?: string,
|
|
216
|
+
requestBody?: CatalogItemUpdateDto,
|
|
217
|
+
): CancelablePromise<any> {
|
|
218
|
+
return __request(OpenAPI, {
|
|
219
|
+
method: 'PUT',
|
|
220
|
+
url: '/api/v2/CatalogService/Items/{itemId}',
|
|
221
|
+
path: {
|
|
222
|
+
'itemId': itemId,
|
|
223
|
+
},
|
|
224
|
+
headers: {
|
|
225
|
+
'x-api-version': xApiVersion,
|
|
226
|
+
},
|
|
227
|
+
query: {
|
|
228
|
+
'tenantId': tenantId,
|
|
229
|
+
},
|
|
230
|
+
body: requestBody,
|
|
231
|
+
mediaType: 'application/json',
|
|
232
|
+
errors: {
|
|
233
|
+
401: `Unauthorized`,
|
|
234
|
+
403: `Forbidden`,
|
|
235
|
+
},
|
|
236
|
+
});
|
|
237
|
+
}
|
|
238
|
+
/**
|
|
239
|
+
* @param tenantId
|
|
240
|
+
* @param itemId
|
|
241
|
+
* @param xApiVersion
|
|
242
|
+
* @returns any OK
|
|
243
|
+
* @throws ApiError
|
|
244
|
+
*/
|
|
245
|
+
public static deleteApiV2CatalogServiceItems(
|
|
246
|
+
tenantId: string,
|
|
247
|
+
itemId: string,
|
|
248
|
+
xApiVersion?: string,
|
|
249
|
+
): CancelablePromise<any> {
|
|
250
|
+
return __request(OpenAPI, {
|
|
251
|
+
method: 'DELETE',
|
|
252
|
+
url: '/api/v2/CatalogService/Items/{itemId}',
|
|
253
|
+
path: {
|
|
254
|
+
'itemId': itemId,
|
|
255
|
+
},
|
|
256
|
+
headers: {
|
|
257
|
+
'x-api-version': xApiVersion,
|
|
258
|
+
},
|
|
259
|
+
query: {
|
|
260
|
+
'tenantId': tenantId,
|
|
261
|
+
},
|
|
262
|
+
errors: {
|
|
263
|
+
401: `Unauthorized`,
|
|
264
|
+
403: `Forbidden`,
|
|
265
|
+
},
|
|
266
|
+
});
|
|
267
|
+
}
|
|
268
|
+
/**
|
|
269
|
+
* @param itemId
|
|
270
|
+
* @param xApiVersion
|
|
271
|
+
* @returns CatalogItemDtoEnvelope OK
|
|
272
|
+
* @throws ApiError
|
|
273
|
+
*/
|
|
274
|
+
public static getApiV2CatalogServiceItemsExtended(
|
|
275
|
+
itemId: string,
|
|
276
|
+
xApiVersion?: string,
|
|
277
|
+
): CancelablePromise<CatalogItemDtoEnvelope> {
|
|
278
|
+
return __request(OpenAPI, {
|
|
279
|
+
method: 'GET',
|
|
280
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Extended',
|
|
281
|
+
path: {
|
|
282
|
+
'itemId': itemId,
|
|
283
|
+
},
|
|
284
|
+
headers: {
|
|
285
|
+
'x-api-version': xApiVersion,
|
|
286
|
+
},
|
|
287
|
+
errors: {
|
|
288
|
+
401: `Unauthorized`,
|
|
289
|
+
403: `Forbidden`,
|
|
290
|
+
},
|
|
291
|
+
});
|
|
292
|
+
}
|
|
293
|
+
/**
|
|
294
|
+
* @param itemId
|
|
295
|
+
* @param xApiVersion
|
|
296
|
+
* @returns ItemTagDtoListEnvelope OK
|
|
297
|
+
* @throws ApiError
|
|
298
|
+
*/
|
|
299
|
+
public static getApiV2CatalogServiceItemsTags(
|
|
300
|
+
itemId: string,
|
|
301
|
+
xApiVersion?: string,
|
|
302
|
+
): CancelablePromise<ItemTagDtoListEnvelope> {
|
|
303
|
+
return __request(OpenAPI, {
|
|
304
|
+
method: 'GET',
|
|
305
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Tags',
|
|
306
|
+
path: {
|
|
307
|
+
'itemId': itemId,
|
|
308
|
+
},
|
|
309
|
+
headers: {
|
|
310
|
+
'x-api-version': xApiVersion,
|
|
311
|
+
},
|
|
312
|
+
errors: {
|
|
313
|
+
401: `Unauthorized`,
|
|
314
|
+
403: `Forbidden`,
|
|
315
|
+
},
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
/**
|
|
319
|
+
* @param itemId
|
|
320
|
+
* @param xApiVersion
|
|
321
|
+
* @returns Int32Envelope OK
|
|
322
|
+
* @throws ApiError
|
|
323
|
+
*/
|
|
324
|
+
public static getApiV2CatalogServiceItemsTagsCount(
|
|
325
|
+
itemId: string,
|
|
326
|
+
xApiVersion?: string,
|
|
327
|
+
): CancelablePromise<Int32Envelope> {
|
|
328
|
+
return __request(OpenAPI, {
|
|
329
|
+
method: 'GET',
|
|
330
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Tags/Count',
|
|
331
|
+
path: {
|
|
332
|
+
'itemId': itemId,
|
|
333
|
+
},
|
|
334
|
+
headers: {
|
|
335
|
+
'x-api-version': xApiVersion,
|
|
336
|
+
},
|
|
337
|
+
errors: {
|
|
338
|
+
401: `Unauthorized`,
|
|
339
|
+
403: `Forbidden`,
|
|
340
|
+
},
|
|
341
|
+
});
|
|
342
|
+
}
|
|
343
|
+
/**
|
|
344
|
+
* @param itemId
|
|
345
|
+
* @param itemTagId
|
|
346
|
+
* @param xApiVersion
|
|
347
|
+
* @returns ItemTagDtoEnvelope OK
|
|
348
|
+
* @throws ApiError
|
|
349
|
+
*/
|
|
350
|
+
public static getApiV2CatalogServiceItemsTags1(
|
|
351
|
+
itemId: string,
|
|
352
|
+
itemTagId: string,
|
|
353
|
+
xApiVersion?: string,
|
|
354
|
+
): CancelablePromise<ItemTagDtoEnvelope> {
|
|
355
|
+
return __request(OpenAPI, {
|
|
356
|
+
method: 'GET',
|
|
357
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Tags/{itemTagId}',
|
|
358
|
+
path: {
|
|
359
|
+
'itemId': itemId,
|
|
360
|
+
'itemTagId': itemTagId,
|
|
361
|
+
},
|
|
362
|
+
headers: {
|
|
363
|
+
'x-api-version': xApiVersion,
|
|
364
|
+
},
|
|
365
|
+
errors: {
|
|
366
|
+
401: `Unauthorized`,
|
|
367
|
+
403: `Forbidden`,
|
|
368
|
+
},
|
|
369
|
+
});
|
|
370
|
+
}
|
|
371
|
+
/**
|
|
372
|
+
* @param itemId
|
|
373
|
+
* @param itemTagId
|
|
374
|
+
* @param xApiVersion
|
|
375
|
+
* @returns ItemTagDtoEnvelope OK
|
|
376
|
+
* @throws ApiError
|
|
377
|
+
*/
|
|
378
|
+
public static postApiV2CatalogServiceItemsTags(
|
|
379
|
+
itemId: string,
|
|
380
|
+
itemTagId: string,
|
|
381
|
+
xApiVersion?: string,
|
|
382
|
+
): CancelablePromise<ItemTagDtoEnvelope> {
|
|
383
|
+
return __request(OpenAPI, {
|
|
384
|
+
method: 'POST',
|
|
385
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Tags/{itemTagId}',
|
|
386
|
+
path: {
|
|
387
|
+
'itemId': itemId,
|
|
388
|
+
'itemTagId': itemTagId,
|
|
389
|
+
},
|
|
390
|
+
headers: {
|
|
391
|
+
'x-api-version': xApiVersion,
|
|
392
|
+
},
|
|
393
|
+
errors: {
|
|
394
|
+
401: `Unauthorized`,
|
|
395
|
+
403: `Forbidden`,
|
|
396
|
+
},
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
/**
|
|
400
|
+
* @param itemId
|
|
401
|
+
* @param itemTagId
|
|
402
|
+
* @param xApiVersion
|
|
403
|
+
* @returns ItemTagDtoEnvelope OK
|
|
404
|
+
* @throws ApiError
|
|
405
|
+
*/
|
|
406
|
+
public static deleteApiV2CatalogServiceItemsTags(
|
|
407
|
+
itemId: string,
|
|
408
|
+
itemTagId: string,
|
|
409
|
+
xApiVersion?: string,
|
|
410
|
+
): CancelablePromise<ItemTagDtoEnvelope> {
|
|
411
|
+
return __request(OpenAPI, {
|
|
412
|
+
method: 'DELETE',
|
|
413
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Tags/{itemTagId}',
|
|
414
|
+
path: {
|
|
415
|
+
'itemId': itemId,
|
|
416
|
+
'itemTagId': itemTagId,
|
|
417
|
+
},
|
|
418
|
+
headers: {
|
|
419
|
+
'x-api-version': xApiVersion,
|
|
420
|
+
},
|
|
421
|
+
errors: {
|
|
422
|
+
401: `Unauthorized`,
|
|
423
|
+
403: `Forbidden`,
|
|
424
|
+
},
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
/**
|
|
428
|
+
* @param itemId
|
|
429
|
+
* @param xApiVersion
|
|
430
|
+
* @returns ItemTypeDtoListEnvelope OK
|
|
431
|
+
* @throws ApiError
|
|
432
|
+
*/
|
|
433
|
+
public static getApiV2CatalogServiceItemsTypes(
|
|
434
|
+
itemId: string,
|
|
435
|
+
xApiVersion?: string,
|
|
436
|
+
): CancelablePromise<ItemTypeDtoListEnvelope> {
|
|
437
|
+
return __request(OpenAPI, {
|
|
438
|
+
method: 'GET',
|
|
439
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Types',
|
|
440
|
+
path: {
|
|
441
|
+
'itemId': itemId,
|
|
442
|
+
},
|
|
443
|
+
headers: {
|
|
444
|
+
'x-api-version': xApiVersion,
|
|
445
|
+
},
|
|
446
|
+
errors: {
|
|
447
|
+
401: `Unauthorized`,
|
|
448
|
+
403: `Forbidden`,
|
|
449
|
+
},
|
|
450
|
+
});
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* @param itemId
|
|
454
|
+
* @param itemTypeId
|
|
455
|
+
* @param xApiVersion
|
|
456
|
+
* @returns ItemTypeDtoEnvelope OK
|
|
457
|
+
* @throws ApiError
|
|
458
|
+
*/
|
|
459
|
+
public static getApiV2CatalogServiceItemsTypes1(
|
|
460
|
+
itemId: string,
|
|
461
|
+
itemTypeId: string,
|
|
462
|
+
xApiVersion?: string,
|
|
463
|
+
): CancelablePromise<ItemTypeDtoEnvelope> {
|
|
464
|
+
return __request(OpenAPI, {
|
|
465
|
+
method: 'GET',
|
|
466
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Types/{itemTypeId}',
|
|
467
|
+
path: {
|
|
468
|
+
'itemId': itemId,
|
|
469
|
+
'itemTypeId': itemTypeId,
|
|
470
|
+
},
|
|
471
|
+
headers: {
|
|
472
|
+
'x-api-version': xApiVersion,
|
|
473
|
+
},
|
|
474
|
+
errors: {
|
|
475
|
+
401: `Unauthorized`,
|
|
476
|
+
403: `Forbidden`,
|
|
477
|
+
},
|
|
478
|
+
});
|
|
479
|
+
}
|
|
480
|
+
/**
|
|
481
|
+
* @param itemId
|
|
482
|
+
* @param itemTypeId
|
|
483
|
+
* @param xApiVersion
|
|
484
|
+
* @returns ItemTypeDtoEnvelope OK
|
|
485
|
+
* @throws ApiError
|
|
486
|
+
*/
|
|
487
|
+
public static postApiV2CatalogServiceItemsTypes(
|
|
488
|
+
itemId: string,
|
|
489
|
+
itemTypeId: string,
|
|
490
|
+
xApiVersion?: string,
|
|
491
|
+
): CancelablePromise<ItemTypeDtoEnvelope> {
|
|
492
|
+
return __request(OpenAPI, {
|
|
493
|
+
method: 'POST',
|
|
494
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Types/{itemTypeId}',
|
|
495
|
+
path: {
|
|
496
|
+
'itemId': itemId,
|
|
497
|
+
'itemTypeId': itemTypeId,
|
|
498
|
+
},
|
|
499
|
+
headers: {
|
|
500
|
+
'x-api-version': xApiVersion,
|
|
501
|
+
},
|
|
502
|
+
errors: {
|
|
503
|
+
401: `Unauthorized`,
|
|
504
|
+
403: `Forbidden`,
|
|
505
|
+
},
|
|
506
|
+
});
|
|
507
|
+
}
|
|
508
|
+
/**
|
|
509
|
+
* @param itemId
|
|
510
|
+
* @param itemTypeId
|
|
511
|
+
* @param xApiVersion
|
|
512
|
+
* @returns ItemTypeDtoEnvelope OK
|
|
513
|
+
* @throws ApiError
|
|
514
|
+
*/
|
|
515
|
+
public static deleteApiV2CatalogServiceItemsTypes(
|
|
516
|
+
itemId: string,
|
|
517
|
+
itemTypeId: string,
|
|
518
|
+
xApiVersion?: string,
|
|
519
|
+
): CancelablePromise<ItemTypeDtoEnvelope> {
|
|
520
|
+
return __request(OpenAPI, {
|
|
521
|
+
method: 'DELETE',
|
|
522
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Types/{itemTypeId}',
|
|
523
|
+
path: {
|
|
524
|
+
'itemId': itemId,
|
|
525
|
+
'itemTypeId': itemTypeId,
|
|
526
|
+
},
|
|
527
|
+
headers: {
|
|
528
|
+
'x-api-version': xApiVersion,
|
|
529
|
+
},
|
|
530
|
+
errors: {
|
|
531
|
+
401: `Unauthorized`,
|
|
532
|
+
403: `Forbidden`,
|
|
533
|
+
},
|
|
534
|
+
});
|
|
535
|
+
}
|
|
536
|
+
/**
|
|
537
|
+
* @param itemId
|
|
538
|
+
* @param xApiVersion
|
|
539
|
+
* @returns EmptyEnvelope OK
|
|
540
|
+
* @throws ApiError
|
|
541
|
+
*/
|
|
542
|
+
public static getApiV2CatalogServiceItemsImagesPrimary(
|
|
543
|
+
itemId: string,
|
|
544
|
+
xApiVersion?: string,
|
|
545
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
546
|
+
return __request(OpenAPI, {
|
|
547
|
+
method: 'GET',
|
|
548
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Images/Primary',
|
|
549
|
+
path: {
|
|
550
|
+
'itemId': itemId,
|
|
551
|
+
},
|
|
552
|
+
headers: {
|
|
553
|
+
'x-api-version': xApiVersion,
|
|
554
|
+
},
|
|
555
|
+
errors: {
|
|
556
|
+
401: `Unauthorized`,
|
|
557
|
+
},
|
|
558
|
+
});
|
|
559
|
+
}
|
|
560
|
+
/**
|
|
561
|
+
* @param itemId
|
|
562
|
+
* @param tenantId
|
|
563
|
+
* @param xApiVersion
|
|
564
|
+
* @param formData
|
|
565
|
+
* @returns EmptyEnvelope OK
|
|
566
|
+
* @throws ApiError
|
|
567
|
+
*/
|
|
568
|
+
public static postApiV2CatalogServiceItemsImagesPrimary(
|
|
569
|
+
itemId: string,
|
|
570
|
+
tenantId?: string,
|
|
571
|
+
xApiVersion?: string,
|
|
572
|
+
formData?: {
|
|
573
|
+
data?: Blob;
|
|
574
|
+
},
|
|
575
|
+
): CancelablePromise<EmptyEnvelope> {
|
|
576
|
+
return __request(OpenAPI, {
|
|
577
|
+
method: 'POST',
|
|
578
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Images/Primary',
|
|
579
|
+
path: {
|
|
580
|
+
'itemId': itemId,
|
|
581
|
+
},
|
|
582
|
+
headers: {
|
|
583
|
+
'x-api-version': xApiVersion,
|
|
584
|
+
},
|
|
585
|
+
query: {
|
|
586
|
+
'tenantId': tenantId,
|
|
587
|
+
},
|
|
588
|
+
formData: formData,
|
|
589
|
+
mediaType: 'multipart/form-data',
|
|
590
|
+
errors: {
|
|
591
|
+
401: `Unauthorized`,
|
|
592
|
+
403: `Forbidden`,
|
|
593
|
+
},
|
|
594
|
+
});
|
|
595
|
+
}
|
|
596
|
+
/**
|
|
597
|
+
* @param itemId
|
|
598
|
+
* @param pageNumber
|
|
599
|
+
* @param pageSize
|
|
600
|
+
* @param xApiVersion
|
|
601
|
+
* @returns ItemImageDtoListEnvelope OK
|
|
602
|
+
* @throws ApiError
|
|
603
|
+
*/
|
|
604
|
+
public static getApiV2CatalogServiceItemsImages(
|
|
605
|
+
itemId: string,
|
|
606
|
+
pageNumber?: number,
|
|
607
|
+
pageSize?: number,
|
|
608
|
+
xApiVersion?: string,
|
|
609
|
+
): CancelablePromise<ItemImageDtoListEnvelope> {
|
|
610
|
+
return __request(OpenAPI, {
|
|
611
|
+
method: 'GET',
|
|
612
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Images',
|
|
613
|
+
path: {
|
|
614
|
+
'itemId': itemId,
|
|
615
|
+
},
|
|
616
|
+
headers: {
|
|
617
|
+
'x-api-version': xApiVersion,
|
|
618
|
+
},
|
|
619
|
+
query: {
|
|
620
|
+
'pageNumber': pageNumber,
|
|
621
|
+
'pageSize': pageSize,
|
|
622
|
+
},
|
|
623
|
+
errors: {
|
|
624
|
+
401: `Unauthorized`,
|
|
625
|
+
403: `Forbidden`,
|
|
626
|
+
},
|
|
627
|
+
});
|
|
628
|
+
}
|
|
629
|
+
/**
|
|
630
|
+
* @param itemId
|
|
631
|
+
* @param itemImageId
|
|
632
|
+
* @param xApiVersion
|
|
633
|
+
* @returns ItemImageDtoEnvelope OK
|
|
634
|
+
* @throws ApiError
|
|
635
|
+
*/
|
|
636
|
+
public static getApiV2CatalogServiceItemsImages1(
|
|
637
|
+
itemId: string,
|
|
638
|
+
itemImageId: string,
|
|
639
|
+
xApiVersion?: string,
|
|
640
|
+
): CancelablePromise<ItemImageDtoEnvelope> {
|
|
641
|
+
return __request(OpenAPI, {
|
|
642
|
+
method: 'GET',
|
|
643
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Images/{itemImageId}',
|
|
644
|
+
path: {
|
|
645
|
+
'itemId': itemId,
|
|
646
|
+
'itemImageId': itemImageId,
|
|
647
|
+
},
|
|
648
|
+
headers: {
|
|
649
|
+
'x-api-version': xApiVersion,
|
|
650
|
+
},
|
|
651
|
+
errors: {
|
|
652
|
+
401: `Unauthorized`,
|
|
653
|
+
403: `Forbidden`,
|
|
654
|
+
},
|
|
655
|
+
});
|
|
656
|
+
}
|
|
657
|
+
/**
|
|
658
|
+
* @param itemId
|
|
659
|
+
* @param itemImageId
|
|
660
|
+
* @param xApiVersion
|
|
661
|
+
* @returns ItemImageDtoEnvelope OK
|
|
662
|
+
* @throws ApiError
|
|
663
|
+
*/
|
|
664
|
+
public static postApiV2CatalogServiceItemsImages(
|
|
665
|
+
itemId: string,
|
|
666
|
+
itemImageId: string,
|
|
667
|
+
xApiVersion?: string,
|
|
668
|
+
): CancelablePromise<ItemImageDtoEnvelope> {
|
|
669
|
+
return __request(OpenAPI, {
|
|
670
|
+
method: 'POST',
|
|
671
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Images/{itemImageId}',
|
|
672
|
+
path: {
|
|
673
|
+
'itemId': itemId,
|
|
674
|
+
'itemImageId': itemImageId,
|
|
675
|
+
},
|
|
676
|
+
headers: {
|
|
677
|
+
'x-api-version': xApiVersion,
|
|
678
|
+
},
|
|
679
|
+
errors: {
|
|
680
|
+
401: `Unauthorized`,
|
|
681
|
+
403: `Forbidden`,
|
|
682
|
+
},
|
|
683
|
+
});
|
|
684
|
+
}
|
|
685
|
+
/**
|
|
686
|
+
* @param itemId
|
|
687
|
+
* @param itemImageId
|
|
688
|
+
* @param xApiVersion
|
|
689
|
+
* @returns ItemImageDtoEnvelope OK
|
|
690
|
+
* @throws ApiError
|
|
691
|
+
*/
|
|
692
|
+
public static deleteApiV2CatalogServiceItemsImages(
|
|
693
|
+
itemId: string,
|
|
694
|
+
itemImageId: string,
|
|
695
|
+
xApiVersion?: string,
|
|
696
|
+
): CancelablePromise<ItemImageDtoEnvelope> {
|
|
697
|
+
return __request(OpenAPI, {
|
|
698
|
+
method: 'DELETE',
|
|
699
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Images/{itemImageId}',
|
|
700
|
+
path: {
|
|
701
|
+
'itemId': itemId,
|
|
702
|
+
'itemImageId': itemImageId,
|
|
703
|
+
},
|
|
704
|
+
headers: {
|
|
705
|
+
'x-api-version': xApiVersion,
|
|
706
|
+
},
|
|
707
|
+
errors: {
|
|
708
|
+
401: `Unauthorized`,
|
|
709
|
+
403: `Forbidden`,
|
|
710
|
+
},
|
|
711
|
+
});
|
|
712
|
+
}
|
|
713
|
+
/**
|
|
714
|
+
* @param itemId
|
|
715
|
+
* @param xApiVersion
|
|
716
|
+
* @returns ItemBrandDtoListEnvelope OK
|
|
717
|
+
* @throws ApiError
|
|
718
|
+
*/
|
|
719
|
+
public static getApiV2CatalogServiceItemsBrands(
|
|
720
|
+
itemId: string,
|
|
721
|
+
xApiVersion?: string,
|
|
722
|
+
): CancelablePromise<ItemBrandDtoListEnvelope> {
|
|
723
|
+
return __request(OpenAPI, {
|
|
724
|
+
method: 'GET',
|
|
725
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Brands',
|
|
726
|
+
path: {
|
|
727
|
+
'itemId': itemId,
|
|
728
|
+
},
|
|
729
|
+
headers: {
|
|
730
|
+
'x-api-version': xApiVersion,
|
|
731
|
+
},
|
|
732
|
+
errors: {
|
|
733
|
+
401: `Unauthorized`,
|
|
734
|
+
403: `Forbidden`,
|
|
735
|
+
},
|
|
736
|
+
});
|
|
737
|
+
}
|
|
738
|
+
/**
|
|
739
|
+
* @param itemId
|
|
740
|
+
* @param itemBrandId
|
|
741
|
+
* @param xApiVersion
|
|
742
|
+
* @returns ItemBrandDtoEnvelope OK
|
|
743
|
+
* @throws ApiError
|
|
744
|
+
*/
|
|
745
|
+
public static getApiV2CatalogServiceItemsBrands1(
|
|
746
|
+
itemId: string,
|
|
747
|
+
itemBrandId: string,
|
|
748
|
+
xApiVersion?: string,
|
|
749
|
+
): CancelablePromise<ItemBrandDtoEnvelope> {
|
|
750
|
+
return __request(OpenAPI, {
|
|
751
|
+
method: 'GET',
|
|
752
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Brands/{itemBrandId}',
|
|
753
|
+
path: {
|
|
754
|
+
'itemId': itemId,
|
|
755
|
+
'itemBrandId': itemBrandId,
|
|
756
|
+
},
|
|
757
|
+
headers: {
|
|
758
|
+
'x-api-version': xApiVersion,
|
|
759
|
+
},
|
|
760
|
+
errors: {
|
|
761
|
+
401: `Unauthorized`,
|
|
762
|
+
403: `Forbidden`,
|
|
763
|
+
},
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
/**
|
|
767
|
+
* @param itemId
|
|
768
|
+
* @param itemBrandId
|
|
769
|
+
* @param xApiVersion
|
|
770
|
+
* @returns ItemBrandDtoEnvelope OK
|
|
771
|
+
* @throws ApiError
|
|
772
|
+
*/
|
|
773
|
+
public static postApiV2CatalogServiceItemsBrands(
|
|
774
|
+
itemId: string,
|
|
775
|
+
itemBrandId: string,
|
|
776
|
+
xApiVersion?: string,
|
|
777
|
+
): CancelablePromise<ItemBrandDtoEnvelope> {
|
|
778
|
+
return __request(OpenAPI, {
|
|
779
|
+
method: 'POST',
|
|
780
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Brands/{itemBrandId}',
|
|
781
|
+
path: {
|
|
782
|
+
'itemId': itemId,
|
|
783
|
+
'itemBrandId': itemBrandId,
|
|
784
|
+
},
|
|
785
|
+
headers: {
|
|
786
|
+
'x-api-version': xApiVersion,
|
|
787
|
+
},
|
|
788
|
+
errors: {
|
|
789
|
+
401: `Unauthorized`,
|
|
790
|
+
403: `Forbidden`,
|
|
791
|
+
},
|
|
792
|
+
});
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* @param itemId
|
|
796
|
+
* @param itemBrandId
|
|
797
|
+
* @param xApiVersion
|
|
798
|
+
* @returns ItemBrandDtoEnvelope OK
|
|
799
|
+
* @throws ApiError
|
|
800
|
+
*/
|
|
801
|
+
public static deleteApiV2CatalogServiceItemsBrands(
|
|
802
|
+
itemId: string,
|
|
803
|
+
itemBrandId: string,
|
|
804
|
+
xApiVersion?: string,
|
|
805
|
+
): CancelablePromise<ItemBrandDtoEnvelope> {
|
|
806
|
+
return __request(OpenAPI, {
|
|
807
|
+
method: 'DELETE',
|
|
808
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Brands/{itemBrandId}',
|
|
809
|
+
path: {
|
|
810
|
+
'itemId': itemId,
|
|
811
|
+
'itemBrandId': itemBrandId,
|
|
812
|
+
},
|
|
813
|
+
headers: {
|
|
814
|
+
'x-api-version': xApiVersion,
|
|
815
|
+
},
|
|
816
|
+
errors: {
|
|
817
|
+
401: `Unauthorized`,
|
|
818
|
+
403: `Forbidden`,
|
|
819
|
+
},
|
|
820
|
+
});
|
|
821
|
+
}
|
|
822
|
+
/**
|
|
823
|
+
* @param itemId
|
|
824
|
+
* @param xApiVersion
|
|
825
|
+
* @returns ItemReviewDtoListEnvelope OK
|
|
826
|
+
* @throws ApiError
|
|
827
|
+
*/
|
|
828
|
+
public static getApiV2CatalogServiceItemsReviews(
|
|
829
|
+
itemId: string,
|
|
830
|
+
xApiVersion?: string,
|
|
831
|
+
): CancelablePromise<ItemReviewDtoListEnvelope> {
|
|
832
|
+
return __request(OpenAPI, {
|
|
833
|
+
method: 'GET',
|
|
834
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Reviews',
|
|
835
|
+
path: {
|
|
836
|
+
'itemId': itemId,
|
|
837
|
+
},
|
|
838
|
+
headers: {
|
|
839
|
+
'x-api-version': xApiVersion,
|
|
840
|
+
},
|
|
841
|
+
errors: {
|
|
842
|
+
401: `Unauthorized`,
|
|
843
|
+
403: `Forbidden`,
|
|
844
|
+
},
|
|
845
|
+
});
|
|
846
|
+
}
|
|
847
|
+
/**
|
|
848
|
+
* @param itemId
|
|
849
|
+
* @param xApiVersion
|
|
850
|
+
* @param requestBody
|
|
851
|
+
* @returns ItemReviewDtoEnvelope OK
|
|
852
|
+
* @throws ApiError
|
|
853
|
+
*/
|
|
854
|
+
public static postApiV2CatalogServiceItemsReviews(
|
|
855
|
+
itemId: string,
|
|
856
|
+
xApiVersion?: string,
|
|
857
|
+
requestBody?: ItemReviewRecordCreateDto,
|
|
858
|
+
): CancelablePromise<ItemReviewDtoEnvelope> {
|
|
859
|
+
return __request(OpenAPI, {
|
|
860
|
+
method: 'POST',
|
|
861
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Reviews',
|
|
862
|
+
path: {
|
|
863
|
+
'itemId': itemId,
|
|
864
|
+
},
|
|
865
|
+
headers: {
|
|
866
|
+
'x-api-version': xApiVersion,
|
|
867
|
+
},
|
|
868
|
+
body: requestBody,
|
|
869
|
+
mediaType: 'application/json',
|
|
870
|
+
errors: {
|
|
871
|
+
401: `Unauthorized`,
|
|
872
|
+
403: `Forbidden`,
|
|
873
|
+
},
|
|
874
|
+
});
|
|
875
|
+
}
|
|
876
|
+
/**
|
|
877
|
+
* @param itemId
|
|
878
|
+
* @param itemReviewId
|
|
879
|
+
* @param xApiVersion
|
|
880
|
+
* @returns ItemReviewDtoEnvelope OK
|
|
881
|
+
* @throws ApiError
|
|
882
|
+
*/
|
|
883
|
+
public static getApiV2CatalogServiceItemsReviews1(
|
|
884
|
+
itemId: string,
|
|
885
|
+
itemReviewId: string,
|
|
886
|
+
xApiVersion?: string,
|
|
887
|
+
): CancelablePromise<ItemReviewDtoEnvelope> {
|
|
888
|
+
return __request(OpenAPI, {
|
|
889
|
+
method: 'GET',
|
|
890
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Reviews/{itemReviewId}',
|
|
891
|
+
path: {
|
|
892
|
+
'itemId': itemId,
|
|
893
|
+
'itemReviewId': itemReviewId,
|
|
894
|
+
},
|
|
895
|
+
headers: {
|
|
896
|
+
'x-api-version': xApiVersion,
|
|
897
|
+
},
|
|
898
|
+
errors: {
|
|
899
|
+
401: `Unauthorized`,
|
|
900
|
+
403: `Forbidden`,
|
|
901
|
+
},
|
|
902
|
+
});
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* @param itemId
|
|
906
|
+
* @param itemReviewId
|
|
907
|
+
* @param xApiVersion
|
|
908
|
+
* @returns ItemReviewDtoEnvelope OK
|
|
909
|
+
* @throws ApiError
|
|
910
|
+
*/
|
|
911
|
+
public static deleteApiV2CatalogServiceItemsReviews(
|
|
912
|
+
itemId: string,
|
|
913
|
+
itemReviewId: string,
|
|
914
|
+
xApiVersion?: string,
|
|
915
|
+
): CancelablePromise<ItemReviewDtoEnvelope> {
|
|
916
|
+
return __request(OpenAPI, {
|
|
917
|
+
method: 'DELETE',
|
|
918
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Reviews/{itemReviewId}',
|
|
919
|
+
path: {
|
|
920
|
+
'itemId': itemId,
|
|
921
|
+
'itemReviewId': itemReviewId,
|
|
922
|
+
},
|
|
923
|
+
headers: {
|
|
924
|
+
'x-api-version': xApiVersion,
|
|
925
|
+
},
|
|
926
|
+
errors: {
|
|
927
|
+
401: `Unauthorized`,
|
|
928
|
+
403: `Forbidden`,
|
|
929
|
+
},
|
|
930
|
+
});
|
|
931
|
+
}
|
|
932
|
+
/**
|
|
933
|
+
* @param itemId
|
|
934
|
+
* @param xApiVersion
|
|
935
|
+
* @returns ItemQuestionDtoListEnvelope OK
|
|
936
|
+
* @throws ApiError
|
|
937
|
+
*/
|
|
938
|
+
public static getApiV2CatalogServiceItemsQuestions(
|
|
939
|
+
itemId: string,
|
|
940
|
+
xApiVersion?: string,
|
|
941
|
+
): CancelablePromise<ItemQuestionDtoListEnvelope> {
|
|
942
|
+
return __request(OpenAPI, {
|
|
943
|
+
method: 'GET',
|
|
944
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Questions',
|
|
945
|
+
path: {
|
|
946
|
+
'itemId': itemId,
|
|
947
|
+
},
|
|
948
|
+
headers: {
|
|
949
|
+
'x-api-version': xApiVersion,
|
|
950
|
+
},
|
|
951
|
+
errors: {
|
|
952
|
+
401: `Unauthorized`,
|
|
953
|
+
403: `Forbidden`,
|
|
954
|
+
},
|
|
955
|
+
});
|
|
956
|
+
}
|
|
957
|
+
/**
|
|
958
|
+
* @param itemId
|
|
959
|
+
* @param xApiVersion
|
|
960
|
+
* @param requestBody
|
|
961
|
+
* @returns ItemQuestionDtoEnvelope OK
|
|
962
|
+
* @throws ApiError
|
|
963
|
+
*/
|
|
964
|
+
public static postApiV2CatalogServiceItemsQuestions(
|
|
965
|
+
itemId: string,
|
|
966
|
+
xApiVersion?: string,
|
|
967
|
+
requestBody?: ItemQuestionRecordCreateDto,
|
|
968
|
+
): CancelablePromise<ItemQuestionDtoEnvelope> {
|
|
969
|
+
return __request(OpenAPI, {
|
|
970
|
+
method: 'POST',
|
|
971
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Questions',
|
|
972
|
+
path: {
|
|
973
|
+
'itemId': itemId,
|
|
974
|
+
},
|
|
975
|
+
headers: {
|
|
976
|
+
'x-api-version': xApiVersion,
|
|
977
|
+
},
|
|
978
|
+
body: requestBody,
|
|
979
|
+
mediaType: 'application/json',
|
|
980
|
+
errors: {
|
|
981
|
+
401: `Unauthorized`,
|
|
982
|
+
403: `Forbidden`,
|
|
983
|
+
},
|
|
984
|
+
});
|
|
985
|
+
}
|
|
986
|
+
/**
|
|
987
|
+
* @param itemId
|
|
988
|
+
* @param itemQuestionId
|
|
989
|
+
* @param xApiVersion
|
|
990
|
+
* @returns ItemQuestionDtoEnvelope OK
|
|
991
|
+
* @throws ApiError
|
|
992
|
+
*/
|
|
993
|
+
public static getApiV2CatalogServiceItemsQuestions1(
|
|
994
|
+
itemId: string,
|
|
995
|
+
itemQuestionId: string,
|
|
996
|
+
xApiVersion?: string,
|
|
997
|
+
): CancelablePromise<ItemQuestionDtoEnvelope> {
|
|
998
|
+
return __request(OpenAPI, {
|
|
999
|
+
method: 'GET',
|
|
1000
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Questions/{itemQuestionId}',
|
|
1001
|
+
path: {
|
|
1002
|
+
'itemId': itemId,
|
|
1003
|
+
'itemQuestionId': itemQuestionId,
|
|
1004
|
+
},
|
|
1005
|
+
headers: {
|
|
1006
|
+
'x-api-version': xApiVersion,
|
|
1007
|
+
},
|
|
1008
|
+
errors: {
|
|
1009
|
+
401: `Unauthorized`,
|
|
1010
|
+
403: `Forbidden`,
|
|
1011
|
+
},
|
|
1012
|
+
});
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* @param itemId
|
|
1016
|
+
* @param itemQuestionId
|
|
1017
|
+
* @param xApiVersion
|
|
1018
|
+
* @returns ItemQuestionDtoEnvelope OK
|
|
1019
|
+
* @throws ApiError
|
|
1020
|
+
*/
|
|
1021
|
+
public static deleteApiV2CatalogServiceItemsQuestions(
|
|
1022
|
+
itemId: string,
|
|
1023
|
+
itemQuestionId: string,
|
|
1024
|
+
xApiVersion?: string,
|
|
1025
|
+
): CancelablePromise<ItemQuestionDtoEnvelope> {
|
|
1026
|
+
return __request(OpenAPI, {
|
|
1027
|
+
method: 'DELETE',
|
|
1028
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Questions/{itemQuestionId}',
|
|
1029
|
+
path: {
|
|
1030
|
+
'itemId': itemId,
|
|
1031
|
+
'itemQuestionId': itemQuestionId,
|
|
1032
|
+
},
|
|
1033
|
+
headers: {
|
|
1034
|
+
'x-api-version': xApiVersion,
|
|
1035
|
+
},
|
|
1036
|
+
errors: {
|
|
1037
|
+
401: `Unauthorized`,
|
|
1038
|
+
403: `Forbidden`,
|
|
1039
|
+
},
|
|
1040
|
+
});
|
|
1041
|
+
}
|
|
1042
|
+
/**
|
|
1043
|
+
* @param itemId
|
|
1044
|
+
* @param xApiVersion
|
|
1045
|
+
* @returns ItemCategoryDtoListEnvelope OK
|
|
1046
|
+
* @throws ApiError
|
|
1047
|
+
*/
|
|
1048
|
+
public static getApiV2CatalogServiceItemsCategories(
|
|
1049
|
+
itemId: string,
|
|
1050
|
+
xApiVersion?: string,
|
|
1051
|
+
): CancelablePromise<ItemCategoryDtoListEnvelope> {
|
|
1052
|
+
return __request(OpenAPI, {
|
|
1053
|
+
method: 'GET',
|
|
1054
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Categories',
|
|
1055
|
+
path: {
|
|
1056
|
+
'itemId': itemId,
|
|
1057
|
+
},
|
|
1058
|
+
headers: {
|
|
1059
|
+
'x-api-version': xApiVersion,
|
|
1060
|
+
},
|
|
1061
|
+
errors: {
|
|
1062
|
+
401: `Unauthorized`,
|
|
1063
|
+
403: `Forbidden`,
|
|
1064
|
+
},
|
|
1065
|
+
});
|
|
1066
|
+
}
|
|
1067
|
+
/**
|
|
1068
|
+
* @param itemId
|
|
1069
|
+
* @param itemCategoryId
|
|
1070
|
+
* @param xApiVersion
|
|
1071
|
+
* @returns ItemCategoryDtoEnvelope OK
|
|
1072
|
+
* @throws ApiError
|
|
1073
|
+
*/
|
|
1074
|
+
public static getApiV2CatalogServiceItemsCategories1(
|
|
1075
|
+
itemId: string,
|
|
1076
|
+
itemCategoryId: string,
|
|
1077
|
+
xApiVersion?: string,
|
|
1078
|
+
): CancelablePromise<ItemCategoryDtoEnvelope> {
|
|
1079
|
+
return __request(OpenAPI, {
|
|
1080
|
+
method: 'GET',
|
|
1081
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Categories/{itemCategoryId}',
|
|
1082
|
+
path: {
|
|
1083
|
+
'itemId': itemId,
|
|
1084
|
+
'itemCategoryId': itemCategoryId,
|
|
1085
|
+
},
|
|
1086
|
+
headers: {
|
|
1087
|
+
'x-api-version': xApiVersion,
|
|
1088
|
+
},
|
|
1089
|
+
errors: {
|
|
1090
|
+
401: `Unauthorized`,
|
|
1091
|
+
403: `Forbidden`,
|
|
1092
|
+
},
|
|
1093
|
+
});
|
|
1094
|
+
}
|
|
1095
|
+
/**
|
|
1096
|
+
* @param itemId
|
|
1097
|
+
* @param itemCategoryId
|
|
1098
|
+
* @param xApiVersion
|
|
1099
|
+
* @returns ItemCategoryDtoEnvelope OK
|
|
1100
|
+
* @throws ApiError
|
|
1101
|
+
*/
|
|
1102
|
+
public static postApiV2CatalogServiceItemsCategories(
|
|
1103
|
+
itemId: string,
|
|
1104
|
+
itemCategoryId: string,
|
|
1105
|
+
xApiVersion?: string,
|
|
1106
|
+
): CancelablePromise<ItemCategoryDtoEnvelope> {
|
|
1107
|
+
return __request(OpenAPI, {
|
|
1108
|
+
method: 'POST',
|
|
1109
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Categories/{itemCategoryId}',
|
|
1110
|
+
path: {
|
|
1111
|
+
'itemId': itemId,
|
|
1112
|
+
'itemCategoryId': itemCategoryId,
|
|
1113
|
+
},
|
|
1114
|
+
headers: {
|
|
1115
|
+
'x-api-version': xApiVersion,
|
|
1116
|
+
},
|
|
1117
|
+
errors: {
|
|
1118
|
+
401: `Unauthorized`,
|
|
1119
|
+
403: `Forbidden`,
|
|
1120
|
+
},
|
|
1121
|
+
});
|
|
1122
|
+
}
|
|
1123
|
+
/**
|
|
1124
|
+
* @param itemId
|
|
1125
|
+
* @param itemCategoryId
|
|
1126
|
+
* @param xApiVersion
|
|
1127
|
+
* @returns ItemCategoryDtoEnvelope OK
|
|
1128
|
+
* @throws ApiError
|
|
1129
|
+
*/
|
|
1130
|
+
public static deleteApiV2CatalogServiceItemsCategories(
|
|
1131
|
+
itemId: string,
|
|
1132
|
+
itemCategoryId: string,
|
|
1133
|
+
xApiVersion?: string,
|
|
1134
|
+
): CancelablePromise<ItemCategoryDtoEnvelope> {
|
|
1135
|
+
return __request(OpenAPI, {
|
|
1136
|
+
method: 'DELETE',
|
|
1137
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Categories/{itemCategoryId}',
|
|
1138
|
+
path: {
|
|
1139
|
+
'itemId': itemId,
|
|
1140
|
+
'itemCategoryId': itemCategoryId,
|
|
1141
|
+
},
|
|
1142
|
+
headers: {
|
|
1143
|
+
'x-api-version': xApiVersion,
|
|
1144
|
+
},
|
|
1145
|
+
errors: {
|
|
1146
|
+
401: `Unauthorized`,
|
|
1147
|
+
403: `Forbidden`,
|
|
1148
|
+
},
|
|
1149
|
+
});
|
|
1150
|
+
}
|
|
1151
|
+
/**
|
|
1152
|
+
* @param itemId
|
|
1153
|
+
* @param xApiVersion
|
|
1154
|
+
* @returns ItemAttachmentDtoListEnvelope OK
|
|
1155
|
+
* @throws ApiError
|
|
1156
|
+
*/
|
|
1157
|
+
public static getApiV2CatalogServiceItemsAttachments(
|
|
1158
|
+
itemId: string,
|
|
1159
|
+
xApiVersion?: string,
|
|
1160
|
+
): CancelablePromise<ItemAttachmentDtoListEnvelope> {
|
|
1161
|
+
return __request(OpenAPI, {
|
|
1162
|
+
method: 'GET',
|
|
1163
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Attachments',
|
|
1164
|
+
path: {
|
|
1165
|
+
'itemId': itemId,
|
|
1166
|
+
},
|
|
1167
|
+
headers: {
|
|
1168
|
+
'x-api-version': xApiVersion,
|
|
1169
|
+
},
|
|
1170
|
+
errors: {
|
|
1171
|
+
401: `Unauthorized`,
|
|
1172
|
+
403: `Forbidden`,
|
|
1173
|
+
},
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
1176
|
+
/**
|
|
1177
|
+
* @param itemId
|
|
1178
|
+
* @param itemAttachmentId
|
|
1179
|
+
* @param xApiVersion
|
|
1180
|
+
* @returns ItemAttachmentDtoEnvelope OK
|
|
1181
|
+
* @throws ApiError
|
|
1182
|
+
*/
|
|
1183
|
+
public static getApiV2CatalogServiceItemsAttachments1(
|
|
1184
|
+
itemId: string,
|
|
1185
|
+
itemAttachmentId: string,
|
|
1186
|
+
xApiVersion?: string,
|
|
1187
|
+
): CancelablePromise<ItemAttachmentDtoEnvelope> {
|
|
1188
|
+
return __request(OpenAPI, {
|
|
1189
|
+
method: 'GET',
|
|
1190
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Attachments/{itemAttachmentId}',
|
|
1191
|
+
path: {
|
|
1192
|
+
'itemId': itemId,
|
|
1193
|
+
'itemAttachmentId': itemAttachmentId,
|
|
1194
|
+
},
|
|
1195
|
+
headers: {
|
|
1196
|
+
'x-api-version': xApiVersion,
|
|
1197
|
+
},
|
|
1198
|
+
errors: {
|
|
1199
|
+
401: `Unauthorized`,
|
|
1200
|
+
403: `Forbidden`,
|
|
1201
|
+
},
|
|
1202
|
+
});
|
|
1203
|
+
}
|
|
1204
|
+
/**
|
|
1205
|
+
* @param itemId
|
|
1206
|
+
* @param itemAttachmentId
|
|
1207
|
+
* @param notes
|
|
1208
|
+
* @param title
|
|
1209
|
+
* @param author
|
|
1210
|
+
* @param isFolder
|
|
1211
|
+
* @param fileName
|
|
1212
|
+
* @param abstract
|
|
1213
|
+
* @param keyWords
|
|
1214
|
+
* @param validResponse
|
|
1215
|
+
* @param parentFileUploadId
|
|
1216
|
+
* @param filePath
|
|
1217
|
+
* @param iD
|
|
1218
|
+
* @param timestamp
|
|
1219
|
+
* @param xApiVersion
|
|
1220
|
+
* @param requestBody
|
|
1221
|
+
* @returns ItemAttachmentDtoEnvelope OK
|
|
1222
|
+
* @throws ApiError
|
|
1223
|
+
*/
|
|
1224
|
+
public static postApiV2CatalogServiceItemsAttachments(
|
|
1225
|
+
itemId: string,
|
|
1226
|
+
itemAttachmentId: string,
|
|
1227
|
+
notes?: string,
|
|
1228
|
+
title?: string,
|
|
1229
|
+
author?: string,
|
|
1230
|
+
isFolder?: boolean,
|
|
1231
|
+
fileName?: string,
|
|
1232
|
+
abstract?: string,
|
|
1233
|
+
keyWords?: string,
|
|
1234
|
+
validResponse?: boolean,
|
|
1235
|
+
parentFileUploadId?: string,
|
|
1236
|
+
filePath?: string,
|
|
1237
|
+
iD?: string,
|
|
1238
|
+
timestamp?: string,
|
|
1239
|
+
xApiVersion?: string,
|
|
1240
|
+
requestBody?: {
|
|
1241
|
+
file?: Blob;
|
|
1242
|
+
},
|
|
1243
|
+
): CancelablePromise<ItemAttachmentDtoEnvelope> {
|
|
1244
|
+
return __request(OpenAPI, {
|
|
1245
|
+
method: 'POST',
|
|
1246
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Attachments/{itemAttachmentId}',
|
|
1247
|
+
path: {
|
|
1248
|
+
'itemID': itemId,
|
|
1249
|
+
'itemAttachmentId': itemAttachmentId,
|
|
1250
|
+
},
|
|
1251
|
+
headers: {
|
|
1252
|
+
'x-api-version': xApiVersion,
|
|
1253
|
+
},
|
|
1254
|
+
query: {
|
|
1255
|
+
'notes': notes,
|
|
1256
|
+
'title': title,
|
|
1257
|
+
'author': author,
|
|
1258
|
+
'isFolder': isFolder,
|
|
1259
|
+
'fileName': fileName,
|
|
1260
|
+
'abstract': abstract,
|
|
1261
|
+
'keyWords': keyWords,
|
|
1262
|
+
'validResponse': validResponse,
|
|
1263
|
+
'parentFileUploadID': parentFileUploadId,
|
|
1264
|
+
'filePath': filePath,
|
|
1265
|
+
'iD': iD,
|
|
1266
|
+
'timestamp': timestamp,
|
|
1267
|
+
},
|
|
1268
|
+
body: requestBody,
|
|
1269
|
+
mediaType: 'application/json',
|
|
1270
|
+
errors: {
|
|
1271
|
+
401: `Unauthorized`,
|
|
1272
|
+
403: `Forbidden`,
|
|
1273
|
+
},
|
|
1274
|
+
});
|
|
1275
|
+
}
|
|
1276
|
+
/**
|
|
1277
|
+
* @param itemId
|
|
1278
|
+
* @param itemAttachmentId
|
|
1279
|
+
* @param xApiVersion
|
|
1280
|
+
* @returns ItemAttachmentDtoEnvelope OK
|
|
1281
|
+
* @throws ApiError
|
|
1282
|
+
*/
|
|
1283
|
+
public static deleteApiV2CatalogServiceItemsAttachments(
|
|
1284
|
+
itemId: string,
|
|
1285
|
+
itemAttachmentId: string,
|
|
1286
|
+
xApiVersion?: string,
|
|
1287
|
+
): CancelablePromise<ItemAttachmentDtoEnvelope> {
|
|
1288
|
+
return __request(OpenAPI, {
|
|
1289
|
+
method: 'DELETE',
|
|
1290
|
+
url: '/api/v2/CatalogService/Items/{itemId}/Attachments/{itemAttachmentId}',
|
|
1291
|
+
path: {
|
|
1292
|
+
'itemId': itemId,
|
|
1293
|
+
'itemAttachmentId': itemAttachmentId,
|
|
1294
|
+
},
|
|
1295
|
+
headers: {
|
|
1296
|
+
'x-api-version': xApiVersion,
|
|
1297
|
+
},
|
|
1298
|
+
errors: {
|
|
1299
|
+
401: `Unauthorized`,
|
|
1300
|
+
403: `Forbidden`,
|
|
1301
|
+
},
|
|
1302
|
+
});
|
|
1303
|
+
}
|
|
1304
|
+
/**
|
|
1305
|
+
* @param itemId
|
|
1306
|
+
* @param xApiVersion
|
|
1307
|
+
* @returns ItemTaxPolicyDtoListEnvelope OK
|
|
1308
|
+
* @throws ApiError
|
|
1309
|
+
*/
|
|
1310
|
+
public static getApiV2CatalogServiceItemsTaxPolicies(
|
|
1311
|
+
itemId: string,
|
|
1312
|
+
xApiVersion?: string,
|
|
1313
|
+
): CancelablePromise<ItemTaxPolicyDtoListEnvelope> {
|
|
1314
|
+
return __request(OpenAPI, {
|
|
1315
|
+
method: 'GET',
|
|
1316
|
+
url: '/api/v2/CatalogService/Items/{itemId}/TaxPolicies',
|
|
1317
|
+
path: {
|
|
1318
|
+
'itemId': itemId,
|
|
1319
|
+
},
|
|
1320
|
+
headers: {
|
|
1321
|
+
'x-api-version': xApiVersion,
|
|
1322
|
+
},
|
|
1323
|
+
errors: {
|
|
1324
|
+
401: `Unauthorized`,
|
|
1325
|
+
403: `Forbidden`,
|
|
1326
|
+
},
|
|
1327
|
+
});
|
|
1328
|
+
}
|
|
1329
|
+
/**
|
|
1330
|
+
* @param itemId
|
|
1331
|
+
* @param itemTaxPolicyId
|
|
1332
|
+
* @param xApiVersion
|
|
1333
|
+
* @returns ItemTaxPolicyDtoEnvelope OK
|
|
1334
|
+
* @throws ApiError
|
|
1335
|
+
*/
|
|
1336
|
+
public static getApiV2CatalogServiceItemsTaxPolicies1(
|
|
1337
|
+
itemId: string,
|
|
1338
|
+
itemTaxPolicyId: string,
|
|
1339
|
+
xApiVersion?: string,
|
|
1340
|
+
): CancelablePromise<ItemTaxPolicyDtoEnvelope> {
|
|
1341
|
+
return __request(OpenAPI, {
|
|
1342
|
+
method: 'GET',
|
|
1343
|
+
url: '/api/v2/CatalogService/Items/{itemId}/TaxPolicies/{itemTaxPolicyId}',
|
|
1344
|
+
path: {
|
|
1345
|
+
'itemId': itemId,
|
|
1346
|
+
'itemTaxPolicyId': itemTaxPolicyId,
|
|
1347
|
+
},
|
|
1348
|
+
headers: {
|
|
1349
|
+
'x-api-version': xApiVersion,
|
|
1350
|
+
},
|
|
1351
|
+
errors: {
|
|
1352
|
+
401: `Unauthorized`,
|
|
1353
|
+
403: `Forbidden`,
|
|
1354
|
+
},
|
|
1355
|
+
});
|
|
1356
|
+
}
|
|
1357
|
+
/**
|
|
1358
|
+
* @param itemId
|
|
1359
|
+
* @param itemTaxPolicyId
|
|
1360
|
+
* @param xApiVersion
|
|
1361
|
+
* @returns ItemTaxPolicyDtoEnvelope OK
|
|
1362
|
+
* @throws ApiError
|
|
1363
|
+
*/
|
|
1364
|
+
public static postApiV2CatalogServiceItemsTaxPolicies(
|
|
1365
|
+
itemId: string,
|
|
1366
|
+
itemTaxPolicyId: string,
|
|
1367
|
+
xApiVersion?: string,
|
|
1368
|
+
): CancelablePromise<ItemTaxPolicyDtoEnvelope> {
|
|
1369
|
+
return __request(OpenAPI, {
|
|
1370
|
+
method: 'POST',
|
|
1371
|
+
url: '/api/v2/CatalogService/Items/{itemId}/TaxPolicies/{itemTaxPolicyId}',
|
|
1372
|
+
path: {
|
|
1373
|
+
'itemId': itemId,
|
|
1374
|
+
'itemTaxPolicyId': itemTaxPolicyId,
|
|
1375
|
+
},
|
|
1376
|
+
headers: {
|
|
1377
|
+
'x-api-version': xApiVersion,
|
|
1378
|
+
},
|
|
1379
|
+
errors: {
|
|
1380
|
+
401: `Unauthorized`,
|
|
1381
|
+
403: `Forbidden`,
|
|
1382
|
+
},
|
|
1383
|
+
});
|
|
1384
|
+
}
|
|
1385
|
+
/**
|
|
1386
|
+
* @param itemId
|
|
1387
|
+
* @param itemTaxPolicyId
|
|
1388
|
+
* @param xApiVersion
|
|
1389
|
+
* @returns ItemTaxPolicyDtoEnvelope OK
|
|
1390
|
+
* @throws ApiError
|
|
1391
|
+
*/
|
|
1392
|
+
public static deleteApiV2CatalogServiceItemsTaxPolicies(
|
|
1393
|
+
itemId: string,
|
|
1394
|
+
itemTaxPolicyId: string,
|
|
1395
|
+
xApiVersion?: string,
|
|
1396
|
+
): CancelablePromise<ItemTaxPolicyDtoEnvelope> {
|
|
1397
|
+
return __request(OpenAPI, {
|
|
1398
|
+
method: 'DELETE',
|
|
1399
|
+
url: '/api/v2/CatalogService/Items/{itemId}/TaxPolicies/{itemTaxPolicyId}',
|
|
1400
|
+
path: {
|
|
1401
|
+
'itemId': itemId,
|
|
1402
|
+
'itemTaxPolicyId': itemTaxPolicyId,
|
|
1403
|
+
},
|
|
1404
|
+
headers: {
|
|
1405
|
+
'x-api-version': xApiVersion,
|
|
1406
|
+
},
|
|
1407
|
+
errors: {
|
|
1408
|
+
401: `Unauthorized`,
|
|
1409
|
+
403: `Forbidden`,
|
|
1410
|
+
},
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1413
|
+
/**
|
|
1414
|
+
* @param itemId
|
|
1415
|
+
* @param xApiVersion
|
|
1416
|
+
* @returns PricingRuleDtoListEnvelope OK
|
|
1417
|
+
* @throws ApiError
|
|
1418
|
+
*/
|
|
1419
|
+
public static getApiV2CatalogServiceItemsPriceRules(
|
|
1420
|
+
itemId: string,
|
|
1421
|
+
xApiVersion?: string,
|
|
1422
|
+
): CancelablePromise<PricingRuleDtoListEnvelope> {
|
|
1423
|
+
return __request(OpenAPI, {
|
|
1424
|
+
method: 'GET',
|
|
1425
|
+
url: '/api/v2/CatalogService/Items/{itemId}/PriceRules',
|
|
1426
|
+
path: {
|
|
1427
|
+
'itemId': itemId,
|
|
1428
|
+
},
|
|
1429
|
+
headers: {
|
|
1430
|
+
'x-api-version': xApiVersion,
|
|
1431
|
+
},
|
|
1432
|
+
errors: {
|
|
1433
|
+
401: `Unauthorized`,
|
|
1434
|
+
403: `Forbidden`,
|
|
1435
|
+
},
|
|
1436
|
+
});
|
|
1437
|
+
}
|
|
1438
|
+
/**
|
|
1439
|
+
* @param itemId
|
|
1440
|
+
* @param itemPriceRuleId
|
|
1441
|
+
* @param xApiVersion
|
|
1442
|
+
* @returns PricingRuleDtoEnvelope OK
|
|
1443
|
+
* @throws ApiError
|
|
1444
|
+
*/
|
|
1445
|
+
public static getApiV2CatalogServiceItemsPriceRules1(
|
|
1446
|
+
itemId: string,
|
|
1447
|
+
itemPriceRuleId: string,
|
|
1448
|
+
xApiVersion?: string,
|
|
1449
|
+
): CancelablePromise<PricingRuleDtoEnvelope> {
|
|
1450
|
+
return __request(OpenAPI, {
|
|
1451
|
+
method: 'GET',
|
|
1452
|
+
url: '/api/v2/CatalogService/Items/{itemId}/PriceRules/{itemPriceRuleId}',
|
|
1453
|
+
path: {
|
|
1454
|
+
'itemId': itemId,
|
|
1455
|
+
'itemPriceRuleId': itemPriceRuleId,
|
|
1456
|
+
},
|
|
1457
|
+
headers: {
|
|
1458
|
+
'x-api-version': xApiVersion,
|
|
1459
|
+
},
|
|
1460
|
+
errors: {
|
|
1461
|
+
401: `Unauthorized`,
|
|
1462
|
+
403: `Forbidden`,
|
|
1463
|
+
},
|
|
1464
|
+
});
|
|
1465
|
+
}
|
|
1466
|
+
/**
|
|
1467
|
+
* @param itemId
|
|
1468
|
+
* @param itemPriceRuleId
|
|
1469
|
+
* @param xApiVersion
|
|
1470
|
+
* @returns PricingRuleDtoEnvelope OK
|
|
1471
|
+
* @throws ApiError
|
|
1472
|
+
*/
|
|
1473
|
+
public static postApiV2CatalogServiceItemsPriceRules(
|
|
1474
|
+
itemId: string,
|
|
1475
|
+
itemPriceRuleId: string,
|
|
1476
|
+
xApiVersion?: string,
|
|
1477
|
+
): CancelablePromise<PricingRuleDtoEnvelope> {
|
|
1478
|
+
return __request(OpenAPI, {
|
|
1479
|
+
method: 'POST',
|
|
1480
|
+
url: '/api/v2/CatalogService/Items/{itemId}/PriceRules/{itemPriceRuleId}',
|
|
1481
|
+
path: {
|
|
1482
|
+
'itemId': itemId,
|
|
1483
|
+
'itemPriceRuleId': itemPriceRuleId,
|
|
1484
|
+
},
|
|
1485
|
+
headers: {
|
|
1486
|
+
'x-api-version': xApiVersion,
|
|
1487
|
+
},
|
|
1488
|
+
errors: {
|
|
1489
|
+
401: `Unauthorized`,
|
|
1490
|
+
403: `Forbidden`,
|
|
1491
|
+
},
|
|
1492
|
+
});
|
|
1493
|
+
}
|
|
1494
|
+
/**
|
|
1495
|
+
* @param itemId
|
|
1496
|
+
* @param itemPriceRuleId
|
|
1497
|
+
* @param xApiVersion
|
|
1498
|
+
* @returns PricingRuleDtoEnvelope OK
|
|
1499
|
+
* @throws ApiError
|
|
1500
|
+
*/
|
|
1501
|
+
public static deleteApiV2CatalogServiceItemsPriceRules(
|
|
1502
|
+
itemId: string,
|
|
1503
|
+
itemPriceRuleId: string,
|
|
1504
|
+
xApiVersion?: string,
|
|
1505
|
+
): CancelablePromise<PricingRuleDtoEnvelope> {
|
|
1506
|
+
return __request(OpenAPI, {
|
|
1507
|
+
method: 'DELETE',
|
|
1508
|
+
url: '/api/v2/CatalogService/Items/{itemId}/PriceRules/{itemPriceRuleId}',
|
|
1509
|
+
path: {
|
|
1510
|
+
'itemId': itemId,
|
|
1511
|
+
'itemPriceRuleId': itemPriceRuleId,
|
|
1512
|
+
},
|
|
1513
|
+
headers: {
|
|
1514
|
+
'x-api-version': xApiVersion,
|
|
1515
|
+
},
|
|
1516
|
+
errors: {
|
|
1517
|
+
401: `Unauthorized`,
|
|
1518
|
+
403: `Forbidden`,
|
|
1519
|
+
},
|
|
1520
|
+
});
|
|
1521
|
+
}
|
|
1522
|
+
/**
|
|
1523
|
+
* @param itemId
|
|
1524
|
+
* @param xApiVersion
|
|
1525
|
+
* @returns ItemReturnPolicyDtoListEnvelope OK
|
|
1526
|
+
* @throws ApiError
|
|
1527
|
+
*/
|
|
1528
|
+
public static getApiV2CatalogServiceItemsReturnPolicies(
|
|
1529
|
+
itemId: string,
|
|
1530
|
+
xApiVersion?: string,
|
|
1531
|
+
): CancelablePromise<ItemReturnPolicyDtoListEnvelope> {
|
|
1532
|
+
return __request(OpenAPI, {
|
|
1533
|
+
method: 'GET',
|
|
1534
|
+
url: '/api/v2/CatalogService/Items/{itemId}/ReturnPolicies',
|
|
1535
|
+
path: {
|
|
1536
|
+
'itemId': itemId,
|
|
1537
|
+
},
|
|
1538
|
+
headers: {
|
|
1539
|
+
'x-api-version': xApiVersion,
|
|
1540
|
+
},
|
|
1541
|
+
errors: {
|
|
1542
|
+
401: `Unauthorized`,
|
|
1543
|
+
403: `Forbidden`,
|
|
1544
|
+
},
|
|
1545
|
+
});
|
|
1546
|
+
}
|
|
1547
|
+
/**
|
|
1548
|
+
* @param itemId
|
|
1549
|
+
* @param itemReturnPolicyId
|
|
1550
|
+
* @param xApiVersion
|
|
1551
|
+
* @returns ItemReturnPolicyDtoEnvelope OK
|
|
1552
|
+
* @throws ApiError
|
|
1553
|
+
*/
|
|
1554
|
+
public static getApiV2CatalogServiceItemsReturnPolicies1(
|
|
1555
|
+
itemId: string,
|
|
1556
|
+
itemReturnPolicyId: string,
|
|
1557
|
+
xApiVersion?: string,
|
|
1558
|
+
): CancelablePromise<ItemReturnPolicyDtoEnvelope> {
|
|
1559
|
+
return __request(OpenAPI, {
|
|
1560
|
+
method: 'GET',
|
|
1561
|
+
url: '/api/v2/CatalogService/Items/{itemId}/ReturnPolicies/{itemReturnPolicyId}',
|
|
1562
|
+
path: {
|
|
1563
|
+
'itemId': itemId,
|
|
1564
|
+
'itemReturnPolicyId': itemReturnPolicyId,
|
|
1565
|
+
},
|
|
1566
|
+
headers: {
|
|
1567
|
+
'x-api-version': xApiVersion,
|
|
1568
|
+
},
|
|
1569
|
+
errors: {
|
|
1570
|
+
401: `Unauthorized`,
|
|
1571
|
+
403: `Forbidden`,
|
|
1572
|
+
},
|
|
1573
|
+
});
|
|
1574
|
+
}
|
|
1575
|
+
/**
|
|
1576
|
+
* @param itemId
|
|
1577
|
+
* @param itemReturnPolicyId
|
|
1578
|
+
* @param xApiVersion
|
|
1579
|
+
* @returns ItemReturnPolicyDtoEnvelope OK
|
|
1580
|
+
* @throws ApiError
|
|
1581
|
+
*/
|
|
1582
|
+
public static postApiV2CatalogServiceItemsReturnPolicies(
|
|
1583
|
+
itemId: string,
|
|
1584
|
+
itemReturnPolicyId: string,
|
|
1585
|
+
xApiVersion?: string,
|
|
1586
|
+
): CancelablePromise<ItemReturnPolicyDtoEnvelope> {
|
|
1587
|
+
return __request(OpenAPI, {
|
|
1588
|
+
method: 'POST',
|
|
1589
|
+
url: '/api/v2/CatalogService/Items/{itemId}/ReturnPolicies/{itemReturnPolicyId}',
|
|
1590
|
+
path: {
|
|
1591
|
+
'itemId': itemId,
|
|
1592
|
+
'itemReturnPolicyId': itemReturnPolicyId,
|
|
1593
|
+
},
|
|
1594
|
+
headers: {
|
|
1595
|
+
'x-api-version': xApiVersion,
|
|
1596
|
+
},
|
|
1597
|
+
errors: {
|
|
1598
|
+
401: `Unauthorized`,
|
|
1599
|
+
403: `Forbidden`,
|
|
1600
|
+
},
|
|
1601
|
+
});
|
|
1602
|
+
}
|
|
1603
|
+
/**
|
|
1604
|
+
* @param itemId
|
|
1605
|
+
* @param itemReturnPolicyId
|
|
1606
|
+
* @param xApiVersion
|
|
1607
|
+
* @returns ItemReturnPolicyDtoEnvelope OK
|
|
1608
|
+
* @throws ApiError
|
|
1609
|
+
*/
|
|
1610
|
+
public static deleteApiV2CatalogServiceItemsReturnPolicies(
|
|
1611
|
+
itemId: string,
|
|
1612
|
+
itemReturnPolicyId: string,
|
|
1613
|
+
xApiVersion?: string,
|
|
1614
|
+
): CancelablePromise<ItemReturnPolicyDtoEnvelope> {
|
|
1615
|
+
return __request(OpenAPI, {
|
|
1616
|
+
method: 'DELETE',
|
|
1617
|
+
url: '/api/v2/CatalogService/Items/{itemId}/ReturnPolicies/{itemReturnPolicyId}',
|
|
1618
|
+
path: {
|
|
1619
|
+
'itemId': itemId,
|
|
1620
|
+
'itemReturnPolicyId': itemReturnPolicyId,
|
|
1621
|
+
},
|
|
1622
|
+
headers: {
|
|
1623
|
+
'x-api-version': xApiVersion,
|
|
1624
|
+
},
|
|
1625
|
+
errors: {
|
|
1626
|
+
401: `Unauthorized`,
|
|
1627
|
+
403: `Forbidden`,
|
|
1628
|
+
},
|
|
1629
|
+
});
|
|
1630
|
+
}
|
|
1631
|
+
/**
|
|
1632
|
+
* @param itemId
|
|
1633
|
+
* @param xApiVersion
|
|
1634
|
+
* @returns ItemRefundPolicyDtoListEnvelope OK
|
|
1635
|
+
* @throws ApiError
|
|
1636
|
+
*/
|
|
1637
|
+
public static getApiV2CatalogServiceItemsRefundPolicies(
|
|
1638
|
+
itemId: string,
|
|
1639
|
+
xApiVersion?: string,
|
|
1640
|
+
): CancelablePromise<ItemRefundPolicyDtoListEnvelope> {
|
|
1641
|
+
return __request(OpenAPI, {
|
|
1642
|
+
method: 'GET',
|
|
1643
|
+
url: '/api/v2/CatalogService/Items/{itemId}/RefundPolicies',
|
|
1644
|
+
path: {
|
|
1645
|
+
'itemId': itemId,
|
|
1646
|
+
},
|
|
1647
|
+
headers: {
|
|
1648
|
+
'x-api-version': xApiVersion,
|
|
1649
|
+
},
|
|
1650
|
+
errors: {
|
|
1651
|
+
401: `Unauthorized`,
|
|
1652
|
+
403: `Forbidden`,
|
|
1653
|
+
},
|
|
1654
|
+
});
|
|
1655
|
+
}
|
|
1656
|
+
/**
|
|
1657
|
+
* @param itemId
|
|
1658
|
+
* @param itemRefundPolicyId
|
|
1659
|
+
* @param xApiVersion
|
|
1660
|
+
* @returns ItemRefundPolicyDtoEnvelope OK
|
|
1661
|
+
* @throws ApiError
|
|
1662
|
+
*/
|
|
1663
|
+
public static getApiV2CatalogServiceItemsRefundPolicies1(
|
|
1664
|
+
itemId: string,
|
|
1665
|
+
itemRefundPolicyId: string,
|
|
1666
|
+
xApiVersion?: string,
|
|
1667
|
+
): CancelablePromise<ItemRefundPolicyDtoEnvelope> {
|
|
1668
|
+
return __request(OpenAPI, {
|
|
1669
|
+
method: 'GET',
|
|
1670
|
+
url: '/api/v2/CatalogService/Items/{itemId}/RefundPolicies/{itemRefundPolicyId}',
|
|
1671
|
+
path: {
|
|
1672
|
+
'itemId': itemId,
|
|
1673
|
+
'itemRefundPolicyId': itemRefundPolicyId,
|
|
1674
|
+
},
|
|
1675
|
+
headers: {
|
|
1676
|
+
'x-api-version': xApiVersion,
|
|
1677
|
+
},
|
|
1678
|
+
errors: {
|
|
1679
|
+
401: `Unauthorized`,
|
|
1680
|
+
403: `Forbidden`,
|
|
1681
|
+
},
|
|
1682
|
+
});
|
|
1683
|
+
}
|
|
1684
|
+
/**
|
|
1685
|
+
* @param itemId
|
|
1686
|
+
* @param itemRefundPolicyId
|
|
1687
|
+
* @param xApiVersion
|
|
1688
|
+
* @returns ItemRefundPolicyDtoEnvelope OK
|
|
1689
|
+
* @throws ApiError
|
|
1690
|
+
*/
|
|
1691
|
+
public static postApiV2CatalogServiceItemsRefundPolicies(
|
|
1692
|
+
itemId: string,
|
|
1693
|
+
itemRefundPolicyId: string,
|
|
1694
|
+
xApiVersion?: string,
|
|
1695
|
+
): CancelablePromise<ItemRefundPolicyDtoEnvelope> {
|
|
1696
|
+
return __request(OpenAPI, {
|
|
1697
|
+
method: 'POST',
|
|
1698
|
+
url: '/api/v2/CatalogService/Items/{itemId}/RefundPolicies/{itemRefundPolicyId}',
|
|
1699
|
+
path: {
|
|
1700
|
+
'itemId': itemId,
|
|
1701
|
+
'itemRefundPolicyId': itemRefundPolicyId,
|
|
1702
|
+
},
|
|
1703
|
+
headers: {
|
|
1704
|
+
'x-api-version': xApiVersion,
|
|
1705
|
+
},
|
|
1706
|
+
errors: {
|
|
1707
|
+
401: `Unauthorized`,
|
|
1708
|
+
403: `Forbidden`,
|
|
1709
|
+
},
|
|
1710
|
+
});
|
|
1711
|
+
}
|
|
1712
|
+
/**
|
|
1713
|
+
* @param itemId
|
|
1714
|
+
* @param itemRefundPolicyId
|
|
1715
|
+
* @param xApiVersion
|
|
1716
|
+
* @returns ItemRefundPolicyDtoEnvelope OK
|
|
1717
|
+
* @throws ApiError
|
|
1718
|
+
*/
|
|
1719
|
+
public static deleteApiV2CatalogServiceItemsRefundPolicies(
|
|
1720
|
+
itemId: string,
|
|
1721
|
+
itemRefundPolicyId: string,
|
|
1722
|
+
xApiVersion?: string,
|
|
1723
|
+
): CancelablePromise<ItemRefundPolicyDtoEnvelope> {
|
|
1724
|
+
return __request(OpenAPI, {
|
|
1725
|
+
method: 'DELETE',
|
|
1726
|
+
url: '/api/v2/CatalogService/Items/{itemId}/RefundPolicies/{itemRefundPolicyId}',
|
|
1727
|
+
path: {
|
|
1728
|
+
'itemId': itemId,
|
|
1729
|
+
'itemRefundPolicyId': itemRefundPolicyId,
|
|
1730
|
+
},
|
|
1731
|
+
headers: {
|
|
1732
|
+
'x-api-version': xApiVersion,
|
|
1733
|
+
},
|
|
1734
|
+
errors: {
|
|
1735
|
+
401: `Unauthorized`,
|
|
1736
|
+
403: `Forbidden`,
|
|
1737
|
+
},
|
|
1738
|
+
});
|
|
1739
|
+
}
|
|
1740
|
+
/**
|
|
1741
|
+
* @param itemId
|
|
1742
|
+
* @param xApiVersion
|
|
1743
|
+
* @returns ItemShippingPolicyDtoListEnvelope OK
|
|
1744
|
+
* @throws ApiError
|
|
1745
|
+
*/
|
|
1746
|
+
public static getApiV2CatalogServiceItemsShippingPolicies(
|
|
1747
|
+
itemId: string,
|
|
1748
|
+
xApiVersion?: string,
|
|
1749
|
+
): CancelablePromise<ItemShippingPolicyDtoListEnvelope> {
|
|
1750
|
+
return __request(OpenAPI, {
|
|
1751
|
+
method: 'GET',
|
|
1752
|
+
url: '/api/v2/CatalogService/Items/{itemId}/ShippingPolicies',
|
|
1753
|
+
path: {
|
|
1754
|
+
'itemId': itemId,
|
|
1755
|
+
},
|
|
1756
|
+
headers: {
|
|
1757
|
+
'x-api-version': xApiVersion,
|
|
1758
|
+
},
|
|
1759
|
+
errors: {
|
|
1760
|
+
401: `Unauthorized`,
|
|
1761
|
+
403: `Forbidden`,
|
|
1762
|
+
},
|
|
1763
|
+
});
|
|
1764
|
+
}
|
|
1765
|
+
/**
|
|
1766
|
+
* @param itemId
|
|
1767
|
+
* @param itemShippingPolicyId
|
|
1768
|
+
* @param xApiVersion
|
|
1769
|
+
* @returns ItemShippingPolicyDtoEnvelope OK
|
|
1770
|
+
* @throws ApiError
|
|
1771
|
+
*/
|
|
1772
|
+
public static getApiV2CatalogServiceItemsShippingPolicies1(
|
|
1773
|
+
itemId: string,
|
|
1774
|
+
itemShippingPolicyId: string,
|
|
1775
|
+
xApiVersion?: string,
|
|
1776
|
+
): CancelablePromise<ItemShippingPolicyDtoEnvelope> {
|
|
1777
|
+
return __request(OpenAPI, {
|
|
1778
|
+
method: 'GET',
|
|
1779
|
+
url: '/api/v2/CatalogService/Items/{itemId}/ShippingPolicies/{itemShippingPolicyId}',
|
|
1780
|
+
path: {
|
|
1781
|
+
'itemId': itemId,
|
|
1782
|
+
'itemShippingPolicyId': itemShippingPolicyId,
|
|
1783
|
+
},
|
|
1784
|
+
headers: {
|
|
1785
|
+
'x-api-version': xApiVersion,
|
|
1786
|
+
},
|
|
1787
|
+
errors: {
|
|
1788
|
+
401: `Unauthorized`,
|
|
1789
|
+
403: `Forbidden`,
|
|
1790
|
+
},
|
|
1791
|
+
});
|
|
1792
|
+
}
|
|
1793
|
+
/**
|
|
1794
|
+
* @param itemId
|
|
1795
|
+
* @param itemShippingPolicyId
|
|
1796
|
+
* @param xApiVersion
|
|
1797
|
+
* @returns ItemShippingPolicyDtoEnvelope OK
|
|
1798
|
+
* @throws ApiError
|
|
1799
|
+
*/
|
|
1800
|
+
public static postApiV2CatalogServiceItemsShippingPolicies(
|
|
1801
|
+
itemId: string,
|
|
1802
|
+
itemShippingPolicyId: string,
|
|
1803
|
+
xApiVersion?: string,
|
|
1804
|
+
): CancelablePromise<ItemShippingPolicyDtoEnvelope> {
|
|
1805
|
+
return __request(OpenAPI, {
|
|
1806
|
+
method: 'POST',
|
|
1807
|
+
url: '/api/v2/CatalogService/Items/{itemId}/ShippingPolicies/{itemShippingPolicyId}',
|
|
1808
|
+
path: {
|
|
1809
|
+
'itemId': itemId,
|
|
1810
|
+
'itemShippingPolicyId': itemShippingPolicyId,
|
|
1811
|
+
},
|
|
1812
|
+
headers: {
|
|
1813
|
+
'x-api-version': xApiVersion,
|
|
1814
|
+
},
|
|
1815
|
+
errors: {
|
|
1816
|
+
401: `Unauthorized`,
|
|
1817
|
+
403: `Forbidden`,
|
|
1818
|
+
},
|
|
1819
|
+
});
|
|
1820
|
+
}
|
|
1821
|
+
/**
|
|
1822
|
+
* @param itemId
|
|
1823
|
+
* @param itemShippingPolicyId
|
|
1824
|
+
* @param xApiVersion
|
|
1825
|
+
* @returns ItemShippingPolicyDtoEnvelope OK
|
|
1826
|
+
* @throws ApiError
|
|
1827
|
+
*/
|
|
1828
|
+
public static deleteApiV2CatalogServiceItemsShippingPolicies(
|
|
1829
|
+
itemId: string,
|
|
1830
|
+
itemShippingPolicyId: string,
|
|
1831
|
+
xApiVersion?: string,
|
|
1832
|
+
): CancelablePromise<ItemShippingPolicyDtoEnvelope> {
|
|
1833
|
+
return __request(OpenAPI, {
|
|
1834
|
+
method: 'DELETE',
|
|
1835
|
+
url: '/api/v2/CatalogService/Items/{itemId}/ShippingPolicies/{itemShippingPolicyId}',
|
|
1836
|
+
path: {
|
|
1837
|
+
'itemId': itemId,
|
|
1838
|
+
'itemShippingPolicyId': itemShippingPolicyId,
|
|
1839
|
+
},
|
|
1840
|
+
headers: {
|
|
1841
|
+
'x-api-version': xApiVersion,
|
|
1842
|
+
},
|
|
1843
|
+
errors: {
|
|
1844
|
+
401: `Unauthorized`,
|
|
1845
|
+
403: `Forbidden`,
|
|
1846
|
+
},
|
|
1847
|
+
});
|
|
1848
|
+
}
|
|
1849
|
+
/**
|
|
1850
|
+
* @param itemId
|
|
1851
|
+
* @param xApiVersion
|
|
1852
|
+
* @returns ItemWarrantyPolicyDtoListEnvelope OK
|
|
1853
|
+
* @throws ApiError
|
|
1854
|
+
*/
|
|
1855
|
+
public static getApiV2CatalogServiceItemsWarrantyPolicies(
|
|
1856
|
+
itemId: string,
|
|
1857
|
+
xApiVersion?: string,
|
|
1858
|
+
): CancelablePromise<ItemWarrantyPolicyDtoListEnvelope> {
|
|
1859
|
+
return __request(OpenAPI, {
|
|
1860
|
+
method: 'GET',
|
|
1861
|
+
url: '/api/v2/CatalogService/Items/{itemId}/WarrantyPolicies',
|
|
1862
|
+
path: {
|
|
1863
|
+
'itemId': itemId,
|
|
1864
|
+
},
|
|
1865
|
+
headers: {
|
|
1866
|
+
'x-api-version': xApiVersion,
|
|
1867
|
+
},
|
|
1868
|
+
errors: {
|
|
1869
|
+
401: `Unauthorized`,
|
|
1870
|
+
403: `Forbidden`,
|
|
1871
|
+
},
|
|
1872
|
+
});
|
|
1873
|
+
}
|
|
1874
|
+
/**
|
|
1875
|
+
* @param itemId
|
|
1876
|
+
* @param itemWarrantyPolicyId
|
|
1877
|
+
* @param xApiVersion
|
|
1878
|
+
* @returns ItemWarrantyPolicyDtoEnvelope OK
|
|
1879
|
+
* @throws ApiError
|
|
1880
|
+
*/
|
|
1881
|
+
public static getApiV2CatalogServiceItemsWarrantyPolicies1(
|
|
1882
|
+
itemId: string,
|
|
1883
|
+
itemWarrantyPolicyId: string,
|
|
1884
|
+
xApiVersion?: string,
|
|
1885
|
+
): CancelablePromise<ItemWarrantyPolicyDtoEnvelope> {
|
|
1886
|
+
return __request(OpenAPI, {
|
|
1887
|
+
method: 'GET',
|
|
1888
|
+
url: '/api/v2/CatalogService/Items/{itemId}/WarrantyPolicies/{itemWarrantyPolicyId}',
|
|
1889
|
+
path: {
|
|
1890
|
+
'itemId': itemId,
|
|
1891
|
+
'itemWarrantyPolicyId': itemWarrantyPolicyId,
|
|
1892
|
+
},
|
|
1893
|
+
headers: {
|
|
1894
|
+
'x-api-version': xApiVersion,
|
|
1895
|
+
},
|
|
1896
|
+
errors: {
|
|
1897
|
+
401: `Unauthorized`,
|
|
1898
|
+
403: `Forbidden`,
|
|
1899
|
+
},
|
|
1900
|
+
});
|
|
1901
|
+
}
|
|
1902
|
+
/**
|
|
1903
|
+
* @param itemId
|
|
1904
|
+
* @param itemWarrantyPolicyId
|
|
1905
|
+
* @param xApiVersion
|
|
1906
|
+
* @returns ItemWarrantyPolicyDtoEnvelope OK
|
|
1907
|
+
* @throws ApiError
|
|
1908
|
+
*/
|
|
1909
|
+
public static postApiV2CatalogServiceItemsWarrantyPolicies(
|
|
1910
|
+
itemId: string,
|
|
1911
|
+
itemWarrantyPolicyId: string,
|
|
1912
|
+
xApiVersion?: string,
|
|
1913
|
+
): CancelablePromise<ItemWarrantyPolicyDtoEnvelope> {
|
|
1914
|
+
return __request(OpenAPI, {
|
|
1915
|
+
method: 'POST',
|
|
1916
|
+
url: '/api/v2/CatalogService/Items/{itemId}/WarrantyPolicies/{itemWarrantyPolicyId}',
|
|
1917
|
+
path: {
|
|
1918
|
+
'itemId': itemId,
|
|
1919
|
+
'itemWarrantyPolicyId': itemWarrantyPolicyId,
|
|
1920
|
+
},
|
|
1921
|
+
headers: {
|
|
1922
|
+
'x-api-version': xApiVersion,
|
|
1923
|
+
},
|
|
1924
|
+
errors: {
|
|
1925
|
+
401: `Unauthorized`,
|
|
1926
|
+
403: `Forbidden`,
|
|
1927
|
+
},
|
|
1928
|
+
});
|
|
1929
|
+
}
|
|
1930
|
+
/**
|
|
1931
|
+
* @param itemId
|
|
1932
|
+
* @param itemWarrantyPolicyId
|
|
1933
|
+
* @param xApiVersion
|
|
1934
|
+
* @returns ItemWarrantyPolicyDtoEnvelope OK
|
|
1935
|
+
* @throws ApiError
|
|
1936
|
+
*/
|
|
1937
|
+
public static deleteApiV2CatalogServiceItemsWarrantyPolicies(
|
|
1938
|
+
itemId: string,
|
|
1939
|
+
itemWarrantyPolicyId: string,
|
|
1940
|
+
xApiVersion?: string,
|
|
1941
|
+
): CancelablePromise<ItemWarrantyPolicyDtoEnvelope> {
|
|
1942
|
+
return __request(OpenAPI, {
|
|
1943
|
+
method: 'DELETE',
|
|
1944
|
+
url: '/api/v2/CatalogService/Items/{itemId}/WarrantyPolicies/{itemWarrantyPolicyId}',
|
|
1945
|
+
path: {
|
|
1946
|
+
'itemId': itemId,
|
|
1947
|
+
'itemWarrantyPolicyId': itemWarrantyPolicyId,
|
|
1948
|
+
},
|
|
1949
|
+
headers: {
|
|
1950
|
+
'x-api-version': xApiVersion,
|
|
1951
|
+
},
|
|
1952
|
+
errors: {
|
|
1953
|
+
401: `Unauthorized`,
|
|
1954
|
+
403: `Forbidden`,
|
|
1955
|
+
},
|
|
1956
|
+
});
|
|
1957
|
+
}
|
|
1958
|
+
/**
|
|
1959
|
+
* @param itemId
|
|
1960
|
+
* @param xApiVersion
|
|
1961
|
+
* @returns ItemAttributeOptionDtoListEnvelope OK
|
|
1962
|
+
* @throws ApiError
|
|
1963
|
+
*/
|
|
1964
|
+
public static getApiV2CatalogServiceItemsAttributeOptions(
|
|
1965
|
+
itemId: string,
|
|
1966
|
+
xApiVersion?: string,
|
|
1967
|
+
): CancelablePromise<ItemAttributeOptionDtoListEnvelope> {
|
|
1968
|
+
return __request(OpenAPI, {
|
|
1969
|
+
method: 'GET',
|
|
1970
|
+
url: '/api/v2/CatalogService/Items/{itemId}/AttributeOptions',
|
|
1971
|
+
path: {
|
|
1972
|
+
'itemId': itemId,
|
|
1973
|
+
},
|
|
1974
|
+
headers: {
|
|
1975
|
+
'x-api-version': xApiVersion,
|
|
1976
|
+
},
|
|
1977
|
+
errors: {
|
|
1978
|
+
401: `Unauthorized`,
|
|
1979
|
+
403: `Forbidden`,
|
|
1980
|
+
},
|
|
1981
|
+
});
|
|
1982
|
+
}
|
|
1983
|
+
/**
|
|
1984
|
+
* @param itemId
|
|
1985
|
+
* @param itemAttributeOptionId
|
|
1986
|
+
* @param xApiVersion
|
|
1987
|
+
* @returns ItemAttributeOptionDtoEnvelope OK
|
|
1988
|
+
* @throws ApiError
|
|
1989
|
+
*/
|
|
1990
|
+
public static getApiV2CatalogServiceItemsAttributeOptions1(
|
|
1991
|
+
itemId: string,
|
|
1992
|
+
itemAttributeOptionId: string,
|
|
1993
|
+
xApiVersion?: string,
|
|
1994
|
+
): CancelablePromise<ItemAttributeOptionDtoEnvelope> {
|
|
1995
|
+
return __request(OpenAPI, {
|
|
1996
|
+
method: 'GET',
|
|
1997
|
+
url: '/api/v2/CatalogService/Items/{itemId}/AttributeOptions/{itemAttributeOptionId}',
|
|
1998
|
+
path: {
|
|
1999
|
+
'itemId': itemId,
|
|
2000
|
+
'itemAttributeOptionId': itemAttributeOptionId,
|
|
2001
|
+
},
|
|
2002
|
+
headers: {
|
|
2003
|
+
'x-api-version': xApiVersion,
|
|
2004
|
+
},
|
|
2005
|
+
errors: {
|
|
2006
|
+
401: `Unauthorized`,
|
|
2007
|
+
403: `Forbidden`,
|
|
2008
|
+
},
|
|
2009
|
+
});
|
|
2010
|
+
}
|
|
2011
|
+
/**
|
|
2012
|
+
* @param itemId
|
|
2013
|
+
* @param itemAttributeOptionId
|
|
2014
|
+
* @param xApiVersion
|
|
2015
|
+
* @returns ItemAttributeOptionDtoEnvelope OK
|
|
2016
|
+
* @throws ApiError
|
|
2017
|
+
*/
|
|
2018
|
+
public static postApiV2CatalogServiceItemsAttributeOptions(
|
|
2019
|
+
itemId: string,
|
|
2020
|
+
itemAttributeOptionId: string,
|
|
2021
|
+
xApiVersion?: string,
|
|
2022
|
+
): CancelablePromise<ItemAttributeOptionDtoEnvelope> {
|
|
2023
|
+
return __request(OpenAPI, {
|
|
2024
|
+
method: 'POST',
|
|
2025
|
+
url: '/api/v2/CatalogService/Items/{itemId}/AttributeOptions/{itemAttributeOptionId}',
|
|
2026
|
+
path: {
|
|
2027
|
+
'itemId': itemId,
|
|
2028
|
+
'itemAttributeOptionId': itemAttributeOptionId,
|
|
2029
|
+
},
|
|
2030
|
+
headers: {
|
|
2031
|
+
'x-api-version': xApiVersion,
|
|
2032
|
+
},
|
|
2033
|
+
errors: {
|
|
2034
|
+
401: `Unauthorized`,
|
|
2035
|
+
403: `Forbidden`,
|
|
2036
|
+
},
|
|
2037
|
+
});
|
|
2038
|
+
}
|
|
2039
|
+
/**
|
|
2040
|
+
* @param itemId
|
|
2041
|
+
* @param itemAttributeOptionId
|
|
2042
|
+
* @param xApiVersion
|
|
2043
|
+
* @returns ItemAttributeOptionDtoEnvelope OK
|
|
2044
|
+
* @throws ApiError
|
|
2045
|
+
*/
|
|
2046
|
+
public static deleteApiV2CatalogServiceItemsAttributeOptions(
|
|
2047
|
+
itemId: string,
|
|
2048
|
+
itemAttributeOptionId: string,
|
|
2049
|
+
xApiVersion?: string,
|
|
2050
|
+
): CancelablePromise<ItemAttributeOptionDtoEnvelope> {
|
|
2051
|
+
return __request(OpenAPI, {
|
|
2052
|
+
method: 'DELETE',
|
|
2053
|
+
url: '/api/v2/CatalogService/Items/{itemId}/AttributeOptions/{itemAttributeOptionId}',
|
|
2054
|
+
path: {
|
|
2055
|
+
'itemId': itemId,
|
|
2056
|
+
'itemAttributeOptionId': itemAttributeOptionId,
|
|
2057
|
+
},
|
|
2058
|
+
headers: {
|
|
2059
|
+
'x-api-version': xApiVersion,
|
|
2060
|
+
},
|
|
2061
|
+
errors: {
|
|
2062
|
+
401: `Unauthorized`,
|
|
2063
|
+
403: `Forbidden`,
|
|
2064
|
+
},
|
|
2065
|
+
});
|
|
2066
|
+
}
|
|
2067
|
+
/**
|
|
2068
|
+
* @param itemId
|
|
2069
|
+
* @param xApiVersion
|
|
2070
|
+
* @returns ItemGoogleCategoryDtoListEnvelope OK
|
|
2071
|
+
* @throws ApiError
|
|
2072
|
+
*/
|
|
2073
|
+
public static getApiV2CatalogServiceItemsGoogleCategories(
|
|
2074
|
+
itemId: string,
|
|
2075
|
+
xApiVersion?: string,
|
|
2076
|
+
): CancelablePromise<ItemGoogleCategoryDtoListEnvelope> {
|
|
2077
|
+
return __request(OpenAPI, {
|
|
2078
|
+
method: 'GET',
|
|
2079
|
+
url: '/api/v2/CatalogService/Items/{itemId}/GoogleCategories',
|
|
2080
|
+
path: {
|
|
2081
|
+
'itemId': itemId,
|
|
2082
|
+
},
|
|
2083
|
+
headers: {
|
|
2084
|
+
'x-api-version': xApiVersion,
|
|
2085
|
+
},
|
|
2086
|
+
errors: {
|
|
2087
|
+
401: `Unauthorized`,
|
|
2088
|
+
403: `Forbidden`,
|
|
2089
|
+
},
|
|
2090
|
+
});
|
|
2091
|
+
}
|
|
2092
|
+
/**
|
|
2093
|
+
* @param itemId
|
|
2094
|
+
* @param itemGoogleCategoryId
|
|
2095
|
+
* @param xApiVersion
|
|
2096
|
+
* @returns ItemGoogleCategoryDtoEnvelope OK
|
|
2097
|
+
* @throws ApiError
|
|
2098
|
+
*/
|
|
2099
|
+
public static getApiV2CatalogServiceItemsGoogleCategories1(
|
|
2100
|
+
itemId: string,
|
|
2101
|
+
itemGoogleCategoryId: string,
|
|
2102
|
+
xApiVersion?: string,
|
|
2103
|
+
): CancelablePromise<ItemGoogleCategoryDtoEnvelope> {
|
|
2104
|
+
return __request(OpenAPI, {
|
|
2105
|
+
method: 'GET',
|
|
2106
|
+
url: '/api/v2/CatalogService/Items/{itemId}/GoogleCategories/{itemGoogleCategoryId}',
|
|
2107
|
+
path: {
|
|
2108
|
+
'itemId': itemId,
|
|
2109
|
+
'itemGoogleCategoryId': itemGoogleCategoryId,
|
|
2110
|
+
},
|
|
2111
|
+
headers: {
|
|
2112
|
+
'x-api-version': xApiVersion,
|
|
2113
|
+
},
|
|
2114
|
+
errors: {
|
|
2115
|
+
401: `Unauthorized`,
|
|
2116
|
+
403: `Forbidden`,
|
|
2117
|
+
},
|
|
2118
|
+
});
|
|
2119
|
+
}
|
|
2120
|
+
/**
|
|
2121
|
+
* @param itemId
|
|
2122
|
+
* @param itemGoogleCategoryId
|
|
2123
|
+
* @param xApiVersion
|
|
2124
|
+
* @returns ItemGoogleCategoryDtoEnvelope OK
|
|
2125
|
+
* @throws ApiError
|
|
2126
|
+
*/
|
|
2127
|
+
public static postApiV2CatalogServiceItemsGoogleCategories(
|
|
2128
|
+
itemId: string,
|
|
2129
|
+
itemGoogleCategoryId: string,
|
|
2130
|
+
xApiVersion?: string,
|
|
2131
|
+
): CancelablePromise<ItemGoogleCategoryDtoEnvelope> {
|
|
2132
|
+
return __request(OpenAPI, {
|
|
2133
|
+
method: 'POST',
|
|
2134
|
+
url: '/api/v2/CatalogService/Items/{itemId}/GoogleCategories/{itemGoogleCategoryId}',
|
|
2135
|
+
path: {
|
|
2136
|
+
'itemId': itemId,
|
|
2137
|
+
'itemGoogleCategoryId': itemGoogleCategoryId,
|
|
2138
|
+
},
|
|
2139
|
+
headers: {
|
|
2140
|
+
'x-api-version': xApiVersion,
|
|
2141
|
+
},
|
|
2142
|
+
errors: {
|
|
2143
|
+
401: `Unauthorized`,
|
|
2144
|
+
403: `Forbidden`,
|
|
2145
|
+
},
|
|
2146
|
+
});
|
|
2147
|
+
}
|
|
2148
|
+
/**
|
|
2149
|
+
* @param itemId
|
|
2150
|
+
* @param itemGoogleCategoryId
|
|
2151
|
+
* @param xApiVersion
|
|
2152
|
+
* @returns ItemGoogleCategoryDtoEnvelope OK
|
|
2153
|
+
* @throws ApiError
|
|
2154
|
+
*/
|
|
2155
|
+
public static deleteApiV2CatalogServiceItemsGoogleCategories(
|
|
2156
|
+
itemId: string,
|
|
2157
|
+
itemGoogleCategoryId: string,
|
|
2158
|
+
xApiVersion?: string,
|
|
2159
|
+
): CancelablePromise<ItemGoogleCategoryDtoEnvelope> {
|
|
2160
|
+
return __request(OpenAPI, {
|
|
2161
|
+
method: 'DELETE',
|
|
2162
|
+
url: '/api/v2/CatalogService/Items/{itemId}/GoogleCategories/{itemGoogleCategoryId}',
|
|
2163
|
+
path: {
|
|
2164
|
+
'itemId': itemId,
|
|
2165
|
+
'itemGoogleCategoryId': itemGoogleCategoryId,
|
|
2166
|
+
},
|
|
2167
|
+
headers: {
|
|
2168
|
+
'x-api-version': xApiVersion,
|
|
2169
|
+
},
|
|
2170
|
+
errors: {
|
|
2171
|
+
401: `Unauthorized`,
|
|
2172
|
+
403: `Forbidden`,
|
|
2173
|
+
},
|
|
2174
|
+
});
|
|
2175
|
+
}
|
|
2176
|
+
}
|