@devite/shopware-client 1.8.0 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/index.cjs +0 -139
- package/dist/index.d.cts +1007 -3628
- package/dist/index.d.mts +1007 -3628
- package/dist/index.d.ts +1007 -3628
- package/dist/index.mjs +0 -139
- package/dist/types/api/admin/DeliveryTime.d.ts +0 -2
- package/dist/types/api/admin/LogEntry.d.ts +3 -4
- package/dist/types/api/admin/Notification.d.ts +2 -8
- package/dist/types/api/admin/Salutation.d.ts +1 -1
- package/dist/types/api/admin/ScheduledTask.d.ts +5 -5
- package/dist/types/api/admin/ShopwarePlugin.d.ts +12 -19
- package/dist/types/api/admin/SystemConfigEntry.d.ts +2 -5
- package/dist/types/api/admin/Tag.d.ts +4 -10
- package/dist/types/api/admin/acl/AclRole.d.ts +3 -9
- package/dist/types/api/admin/acl/AclUserRole.d.ts +2 -2
- package/dist/types/api/admin/app/App.d.ts +9 -42
- package/dist/types/api/admin/app/AppActionButton.d.ts +4 -9
- package/dist/types/api/admin/app/index.d.ts +0 -4
- package/dist/types/api/admin/category/Category.d.ts +3 -8
- package/dist/types/api/admin/category/index.d.ts +0 -1
- package/dist/types/api/admin/cms/CmsBlock.d.ts +1 -1
- package/dist/types/api/admin/cms/CmsPage.d.ts +2 -4
- package/dist/types/api/admin/cms/CmsSection.d.ts +1 -1
- package/dist/types/api/admin/cms/landingPage/LandingPage.d.ts +0 -4
- package/dist/types/api/admin/cms/landingPage/index.d.ts +0 -2
- package/dist/types/api/admin/country/Country.d.ts +0 -11
- package/dist/types/api/admin/currency/Currency.d.ts +0 -11
- package/dist/types/api/admin/currency/CurrencyCountryRounding.d.ts +4 -4
- package/dist/types/api/admin/custom/field/CustomField.d.ts +5 -8
- package/dist/types/api/admin/custom/field/set/CustomFieldSet.d.ts +3 -12
- package/dist/types/api/admin/custom/field/set/index.d.ts +0 -1
- package/dist/types/api/admin/custom/index.d.ts +0 -1
- package/dist/types/api/admin/customer/Customer.d.ts +12 -19
- package/dist/types/api/admin/customer/CustomerAddress.d.ts +1 -3
- package/dist/types/api/admin/customer/group/CustomerGroup.d.ts +0 -1
- package/dist/types/api/admin/customer/group/CustomerGroupRegistrationSalesChannels.d.ts +2 -2
- package/dist/types/api/admin/customer/index.d.ts +0 -3
- package/dist/types/api/admin/document/ShopwareDocument.d.ts +1 -1
- package/dist/types/api/admin/document/{baseConfig/ShopwareDocumentBaseConfig.d.ts → ShopwareDocumentBaseConfig.d.ts} +2 -4
- package/dist/types/api/admin/document/ShopwareDocumentType.d.ts +1 -3
- package/dist/types/api/admin/document/index.d.ts +1 -1
- package/dist/types/api/admin/index.d.ts +0 -9
- package/dist/types/api/admin/locale/Language.d.ts +2 -20
- package/dist/types/api/admin/locale/Locale.d.ts +0 -2
- package/dist/types/api/admin/mail/MailHeaderFooter.d.ts +3 -6
- package/dist/types/api/admin/mail/template/MailTemplate.d.ts +6 -7
- package/dist/types/api/admin/mail/template/MailTemplateMedia.d.ts +1 -5
- package/dist/types/api/admin/mail/template/MailTemplateType.d.ts +6 -6
- package/dist/types/api/admin/media/Media.d.ts +1 -83
- package/dist/types/api/admin/media/index.d.ts +0 -2
- package/dist/types/api/admin/media/thumbnail/MediaThumbnailSize.d.ts +2 -4
- package/dist/types/api/admin/newsletterRecipient/NewsletterRecipient.d.ts +8 -15
- package/dist/types/api/admin/newsletterRecipient/index.d.ts +0 -1
- package/dist/types/api/admin/numberRange/NumberRange.d.ts +5 -8
- package/dist/types/api/admin/numberRange/NumberRangeState.d.ts +2 -2
- package/dist/types/api/admin/numberRange/NumberRangeType.d.ts +3 -8
- package/dist/types/api/admin/numberRange/index.d.ts +0 -1
- package/dist/types/api/admin/order/Order.d.ts +9 -10
- package/dist/types/api/admin/order/OrderAddress.d.ts +1 -7
- package/dist/types/api/admin/order/OrderCustomer.d.ts +2 -6
- package/dist/types/api/admin/order/delivery/OrderDelivery.d.ts +2 -4
- package/dist/types/api/admin/order/delivery/OrderDeliveryPosition.d.ts +0 -2
- package/dist/types/api/admin/order/index.d.ts +0 -3
- package/dist/types/api/admin/order/lineItem/OrderLineItem.d.ts +2 -6
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCapture.d.ts +2 -2
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +1 -1
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +2 -2
- package/dist/types/api/admin/paymentMethod/PaymentMethod.d.ts +2 -14
- package/dist/types/api/admin/paymentMethod/index.d.ts +0 -1
- package/dist/types/api/admin/product/Product.d.ts +12 -38
- package/dist/types/api/admin/product/ProductDownload.d.ts +5 -5
- package/dist/types/api/admin/product/ProductManufacturer.d.ts +0 -2
- package/dist/types/api/admin/product/ProductMedia.d.ts +3 -8
- package/dist/types/api/admin/product/ProductOption.d.ts +0 -4
- package/dist/types/api/admin/product/ProductPrice.d.ts +5 -9
- package/dist/types/api/admin/product/ProductProperty.d.ts +0 -4
- package/dist/types/api/admin/product/ProductReview.d.ts +5 -0
- package/dist/types/api/admin/product/ProductSorting.d.ts +5 -5
- package/dist/types/api/admin/product/category/ProductCategory.d.ts +0 -4
- package/dist/types/api/admin/product/category/ProductCategoryTree.d.ts +0 -4
- package/dist/types/api/admin/product/crossSelling/ProductCrossSelling.d.ts +0 -4
- package/dist/types/api/admin/product/crossSelling/ProductCrossSellingAssignedProduct.d.ts +1 -6
- package/dist/types/api/admin/product/index.d.ts +1 -9
- package/dist/types/api/admin/product/search/ProductSearchKeyword.d.ts +5 -5
- package/dist/types/api/admin/product/search/config/ProductSearchConfig.d.ts +4 -4
- package/dist/types/api/admin/product/search/config/ProductSearchConfigField.d.ts +4 -5
- package/dist/types/api/admin/product/stream/ProductStream.d.ts +0 -4
- package/dist/types/api/admin/product/stream/ProductStreamFilter.d.ts +10 -8
- package/dist/types/api/admin/product/stream/ProductStreamMapping.d.ts +1 -1
- package/dist/types/api/admin/promotion/Promotion.d.ts +1 -1
- package/dist/types/api/admin/promotion/PromotionIndividualCode.d.ts +3 -3
- package/dist/types/api/admin/promotion/PromotionPersonaCustomer.d.ts +1 -1
- package/dist/types/api/admin/promotion/PromotionSalesChannel.d.ts +3 -3
- package/dist/types/api/admin/promotion/PromotionSetGroup.d.ts +5 -5
- package/dist/types/api/admin/promotion/discount/PromotionDiscount.d.ts +4 -7
- package/dist/types/api/admin/promotion/discount/PromotionDiscountPrice.d.ts +2 -5
- package/dist/types/api/admin/promotion/discount/PromotionDiscountRule.d.ts +1 -1
- package/dist/types/api/admin/promotion/rule/PromotionCartRule.d.ts +1 -1
- package/dist/types/api/admin/promotion/rule/PromotionOrderRule.d.ts +1 -1
- package/dist/types/api/admin/promotion/rule/PromotionPersonaRule.d.ts +1 -1
- package/dist/types/api/admin/promotion/rule/PromotionSetGroupRule.d.ts +1 -1
- package/dist/types/api/admin/propertyGroup/PropertyGroupOption.d.ts +0 -5
- package/dist/types/api/admin/rule/Rule.d.ts +0 -23
- package/dist/types/api/admin/rule/RuleCondition.d.ts +7 -10
- package/dist/types/api/admin/rule/index.d.ts +0 -1
- package/dist/types/api/admin/salesChannel/SalesChannel.d.ts +22 -78
- package/dist/types/api/admin/salesChannel/SalesChannelDomain.d.ts +5 -14
- package/dist/types/api/admin/salesChannel/SalesChannelType.d.ts +6 -9
- package/dist/types/api/admin/salesChannel/index.d.ts +0 -6
- package/dist/types/api/admin/seo/SeoUrl.d.ts +9 -13
- package/dist/types/api/admin/seo/SeoUrlTemplate.d.ts +5 -5
- package/dist/types/api/admin/shippingMethod/AppShippingMethod.d.ts +4 -7
- package/dist/types/api/admin/shippingMethod/ShippingMethod.d.ts +2 -15
- package/dist/types/api/admin/shippingMethod/ShippingMethodPrice.d.ts +0 -3
- package/dist/types/api/admin/shippingMethod/index.d.ts +0 -1
- package/dist/types/api/admin/stateMachine/StateMachine.d.ts +4 -4
- package/dist/types/api/admin/stateMachine/StateMachineHistory.d.ts +8 -8
- package/dist/types/api/admin/stateMachine/StateMachineState.d.ts +0 -16
- package/dist/types/api/admin/stateMachine/StateMachineTransition.d.ts +5 -5
- package/dist/types/api/admin/tax/Tax.d.ts +0 -4
- package/dist/types/api/admin/tax/TaxProvider.d.ts +1 -1
- package/dist/types/api/admin/tax/rule/TaxRule.d.ts +5 -8
- package/dist/types/api/admin/tax/rule/TaxRuleType.d.ts +3 -3
- package/dist/types/api/admin/user/User.d.ts +12 -36
- package/dist/types/api/admin/user/UserAccessKey.d.ts +2 -5
- package/dist/types/api/admin/user/UserConfig.d.ts +2 -5
- package/dist/types/api/admin/user/index.d.ts +0 -1
- package/dist/types/api/admin/webhook/Webhook.d.ts +4 -8
- package/dist/types/api/admin/webhook/WebhookEventLog.d.ts +4 -8
- package/dist/types/api/global/GenericRecord.d.ts +1 -1
- package/dist/types/api/global/aggregation/AggregationEntity.d.ts +1 -1
- package/dist/types/api/global/filter/EqualsFilter.d.ts +1 -1
- package/dist/types/api/global/filter/RangeFilter.d.ts +1 -1
- package/dist/types/api/global/filter/SimpleFilter.d.ts +1 -1
- package/dist/types/api/global/price/Price.d.ts +4 -9
- package/dist/types/api/global/query/Criteria.d.ts +7 -11
- package/dist/types/api/global/query/Sort.d.ts +1 -1
- package/dist/types/api/global/query/index.d.ts +0 -2
- package/dist/types/api/global/query/product/ProductListingCriteria.d.ts +3 -12
- package/dist/types/api/global/query/product/index.d.ts +0 -1
- package/dist/types/api/store/Currency.d.ts +6 -8
- package/dist/types/api/store/DeliveryTime.d.ts +1 -1
- package/dist/types/api/store/EntitySearchResult.d.ts +1 -2
- package/dist/types/api/store/PaymentMethod.d.ts +6 -9
- package/dist/types/api/store/Rule.d.ts +2 -3
- package/dist/types/api/store/Salutation.d.ts +1 -1
- package/dist/types/api/store/StateMachineState.d.ts +3 -3
- package/dist/types/api/store/Tag.d.ts +1 -1
- package/dist/types/api/store/Tax.d.ts +3 -3
- package/dist/types/api/store/Unit.d.ts +4 -4
- package/dist/types/api/store/cart/Cart.d.ts +2 -12
- package/dist/types/api/store/cart/delivery/CartDelivery.d.ts +0 -5
- package/dist/types/api/store/cart/delivery/CartDeliveryInformation.d.ts +4 -5
- package/dist/types/api/store/cart/delivery/CartDeliveryPosition.d.ts +1 -1
- package/dist/types/api/store/cart/delivery/CartDeliveryShippingLocation.d.ts +1 -1
- package/dist/types/api/store/cart/lineItem/CartLineItem.d.ts +8 -16
- package/dist/types/api/store/cart/lineItem/CartLineItemType.d.ts +1 -1
- package/dist/types/api/store/category/Category.d.ts +16 -19
- package/dist/types/api/store/category/MainCategory.d.ts +7 -5
- package/dist/types/api/store/cms/CmsBlock.d.ts +10 -10
- package/dist/types/api/store/cms/CmsPage.d.ts +7 -7
- package/dist/types/api/store/cms/CmsSection.d.ts +5 -5
- package/dist/types/api/store/cms/CmsSlot.d.ts +6 -7
- package/dist/types/api/store/cms/LandingPage.d.ts +7 -7
- package/dist/types/api/store/country/Country.d.ts +9 -9
- package/dist/types/api/store/country/CountryState.d.ts +5 -5
- package/dist/types/api/store/customer/Customer.d.ts +25 -37
- package/dist/types/api/store/customer/CustomerGroup.d.ts +5 -10
- package/dist/types/api/store/customer/address/CustomerAddress.d.ts +2 -2
- package/dist/types/api/store/customer/address/CustomerAddressBody.d.ts +10 -10
- package/dist/types/api/store/document/ShopwareDocument.d.ts +10 -13
- package/dist/types/api/store/document/ShopwareDocumentBaseConfig.d.ts +8 -7
- package/dist/types/api/store/document/ShopwareDocumentType.d.ts +3 -3
- package/dist/types/api/store/locale/Language.d.ts +6 -6
- package/dist/types/api/store/locale/Locale.d.ts +4 -4
- package/dist/types/api/store/media/Media.d.ts +15 -14
- package/dist/types/api/store/media/MediaThumbnail.d.ts +5 -3
- package/dist/types/api/store/media/ProductMedia.d.ts +4 -4
- package/dist/types/api/store/order/Order.d.ts +18 -23
- package/dist/types/api/store/order/OrderAddress.d.ts +1 -1
- package/dist/types/api/store/order/OrderCustomer.d.ts +5 -5
- package/dist/types/api/store/order/OrderLineItem.d.ts +15 -21
- package/dist/types/api/store/order/OrderLineItemDownload.d.ts +5 -6
- package/dist/types/api/store/order/OrderPrice.d.ts +2 -5
- package/dist/types/api/store/order/delivery/OrderDelivery.d.ts +7 -7
- package/dist/types/api/store/order/delivery/OrderDeliveryPosition.d.ts +8 -6
- package/dist/types/api/store/order/delivery/index.d.ts +2 -0
- package/dist/types/api/store/order/index.d.ts +2 -0
- package/dist/types/api/store/order/transaction/OrderTransaction.d.ts +7 -8
- package/dist/types/api/store/order/transaction/{OrderTransactionCapture.d.ts → capture/OrderTransactionCapture.d.ts} +11 -11
- package/dist/types/api/store/order/transaction/{OrderTransactionCaptureRefund.d.ts → capture/OrderTransactionCaptureRefund.d.ts} +10 -10
- package/dist/types/api/store/order/transaction/{OrderTransactionCaptureRefundPosition.d.ts → capture/OrderTransactionCaptureRefundPosition.d.ts} +9 -9
- package/dist/types/api/store/order/transaction/capture/index.d.ts +3 -0
- package/dist/types/api/store/order/transaction/index.d.ts +2 -0
- package/dist/types/api/store/price/CalculatedPrice.d.ts +10 -16
- package/dist/types/api/store/price/cart/CartPriceQuantity.d.ts +3 -7
- package/dist/types/api/store/price/cart/CartPriceReference.d.ts +3 -3
- package/dist/types/api/store/product/Product.d.ts +39 -70
- package/dist/types/api/store/product/ProductDownload.d.ts +5 -5
- package/dist/types/api/store/product/ProductListingResult.d.ts +4 -6
- package/dist/types/api/store/product/ProductManufacturer.d.ts +5 -5
- package/dist/types/api/store/product/{review/ProductReview.d.ts → ProductReview.d.ts} +6 -8
- package/dist/types/api/store/product/ProductStream.d.ts +3 -3
- package/dist/types/api/store/product/crossSelling/CrossSellingElement.d.ts +2 -2
- package/dist/types/api/store/product/crossSelling/ProductCrossSelling.d.ts +6 -6
- package/dist/types/api/store/product/index.d.ts +0 -1
- package/dist/types/api/store/propertyGroup/PropertyGroup.d.ts +6 -8
- package/dist/types/api/store/propertyGroup/PropertyGroupOption.d.ts +6 -6
- package/dist/types/api/store/salesChannel/SalesChannel.d.ts +27 -17
- package/dist/types/api/store/salesChannel/SalesChannelContext.d.ts +8 -21
- package/dist/types/api/store/seo/SeoUrlEntity.d.ts +5 -7
- package/dist/types/api/store/shippingMethod/ShippingMethod.d.ts +11 -16
- package/dist/types/api/store/shippingMethod/ShippingMethodPrice.d.ts +5 -4
- package/dist/types/clients/admin/MailClient.d.ts +8 -9
- package/dist/types/clients/admin/OrderClient.d.ts +1 -1
- package/dist/types/clients/store/AccountClient.d.ts +2 -2
- package/dist/types/clients/store/AddressClient.d.ts +2 -2
- package/dist/types/clients/store/ProductClient.d.ts +4 -5
- package/package.json +19 -14
- package/dist/types/api/admin/Script.d.ts +0 -12
- package/dist/types/api/admin/app/AppAdministrationSnippet.d.ts +0 -8
- package/dist/types/api/admin/app/AppCmsBlock.d.ts +0 -14
- package/dist/types/api/admin/app/AppScriptCondition.d.ts +0 -17
- package/dist/types/api/admin/app/AppTemplate.d.ts +0 -11
- package/dist/types/api/admin/cart/Cart.d.ts +0 -12
- package/dist/types/api/admin/cart/CartItem.d.ts +0 -4
- package/dist/types/api/admin/cart/index.d.ts +0 -2
- package/dist/types/api/admin/category/CategoryTag.d.ts +0 -10
- package/dist/types/api/admin/cms/landingPage/LandingPageSalesChannel.d.ts +0 -10
- package/dist/types/api/admin/cms/landingPage/LandingPageTag.d.ts +0 -10
- package/dist/types/api/admin/custom/CustomEntity.d.ts +0 -16
- package/dist/types/api/admin/custom/field/set/CustomFieldSetRelation.d.ts +0 -9
- package/dist/types/api/admin/customer/CustomerRecovery.d.ts +0 -9
- package/dist/types/api/admin/customer/CustomerTag.d.ts +0 -9
- package/dist/types/api/admin/customer/wishlist/CustomerWishlist.d.ts +0 -15
- package/dist/types/api/admin/customer/wishlist/CustomerWishlistProduct.d.ts +0 -12
- package/dist/types/api/admin/customer/wishlist/index.d.ts +0 -2
- package/dist/types/api/admin/document/baseConfig/ShopwareDocumentBaseConfigSalesChannel.d.ts +0 -14
- package/dist/types/api/admin/document/baseConfig/index.d.ts +0 -2
- package/dist/types/api/admin/flow/Flow.d.ts +0 -18
- package/dist/types/api/admin/flow/FlowSequence.d.ts +0 -25
- package/dist/types/api/admin/flow/FlowTemplate.d.ts +0 -7
- package/dist/types/api/admin/flow/app/AppFlowAction.d.ts +0 -27
- package/dist/types/api/admin/flow/app/AppFlowEvent.d.ts +0 -14
- package/dist/types/api/admin/flow/app/index.d.ts +0 -2
- package/dist/types/api/admin/flow/index.d.ts +0 -4
- package/dist/types/api/admin/importExport/ImportExportFile.d.ts +0 -12
- package/dist/types/api/admin/importExport/ImportExportLog.d.ts +0 -24
- package/dist/types/api/admin/importExport/ImportExportProfile.d.ts +0 -20
- package/dist/types/api/admin/importExport/index.d.ts +0 -3
- package/dist/types/api/admin/integration/Integration.d.ts +0 -32
- package/dist/types/api/admin/integration/IntegrationRole.d.ts +0 -9
- package/dist/types/api/admin/integration/index.d.ts +0 -2
- package/dist/types/api/admin/media/MediaTag.d.ts +0 -9
- package/dist/types/api/admin/media/folder/MediaDefaultFolder.d.ts +0 -10
- package/dist/types/api/admin/media/folder/MediaFolder.d.ts +0 -22
- package/dist/types/api/admin/media/folder/configuration/MediaFolderConfiguration.d.ts +0 -16
- package/dist/types/api/admin/media/folder/configuration/MediaFolderConfigurationMediaThumbnailSize.d.ts +0 -9
- package/dist/types/api/admin/media/folder/configuration/index.d.ts +0 -2
- package/dist/types/api/admin/media/folder/index.d.ts +0 -3
- package/dist/types/api/admin/newsletterRecipient/NewsletterRecipientTag.d.ts +0 -9
- package/dist/types/api/admin/numberRange/NumberRangeSalesChannel.d.ts +0 -14
- package/dist/types/api/admin/order/OrderTag.d.ts +0 -10
- package/dist/types/api/admin/order/return/OrderReturn.d.ts +0 -17
- package/dist/types/api/admin/order/return/OrderReturnLineItem.d.ts +0 -18
- package/dist/types/api/admin/order/return/OrderReturnLineItemReason.d.ts +0 -8
- package/dist/types/api/admin/order/return/index.d.ts +0 -1
- package/dist/types/api/admin/order/warehouse/OrderProductWarehouse.d.ts +0 -10
- package/dist/types/api/admin/order/warehouse/OrderWarehouseGroup.d.ts +0 -7
- package/dist/types/api/admin/order/warehouse/index.d.ts +0 -2
- package/dist/types/api/admin/paymentMethod/AppPaymentMethod.d.ts +0 -22
- package/dist/types/api/admin/product/ProductConfiguratorSetting.d.ts +0 -8
- package/dist/types/api/admin/product/ProductCustomFieldSet.d.ts +0 -9
- package/dist/types/api/admin/product/ProductExport.d.ts +0 -32
- package/dist/types/api/admin/product/ProductFeatureSet.d.ts +0 -11
- package/dist/types/api/admin/product/ProductKeywordDictionary.d.ts +0 -8
- package/dist/types/api/admin/product/ProductTag.d.ts +0 -11
- package/dist/types/api/admin/product/ProductVisibility.d.ts +0 -13
- package/dist/types/api/admin/product/review/ProductReview.d.ts +0 -14
- package/dist/types/api/admin/product/review/ProductReviewSummary.d.ts +0 -2
- package/dist/types/api/admin/product/review/index.d.ts +0 -2
- package/dist/types/api/admin/product/warehouse/ProductWarehouse.d.ts +0 -7
- package/dist/types/api/admin/product/warehouse/ProductWarehouseGroup.d.ts +0 -6
- package/dist/types/api/admin/product/warehouse/index.d.ts +0 -2
- package/dist/types/api/admin/rule/RuleTag.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelAnalytics.d.ts +0 -11
- package/dist/types/api/admin/salesChannel/SalesChannelContext.d.ts +0 -31
- package/dist/types/api/admin/salesChannel/SalesChannelCountry.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelCurrency.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelLanguage.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelPaymentMethod.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelShippingMethod.d.ts +0 -9
- package/dist/types/api/admin/shippingMethod/ShippingMethodTag.d.ts +0 -9
- package/dist/types/api/admin/snippet/Snippet.d.ts +0 -13
- package/dist/types/api/admin/snippet/SnippetSet.d.ts +0 -13
- package/dist/types/api/admin/snippet/index.d.ts +0 -2
- package/dist/types/api/admin/subscription/Subscription.d.ts +0 -27
- package/dist/types/api/admin/subscription/SubscriptionAddress.d.ts +0 -6
- package/dist/types/api/admin/subscription/SubscriptionCustomer.d.ts +0 -15
- package/dist/types/api/admin/subscription/SubscriptionInterval.d.ts +0 -9
- package/dist/types/api/admin/subscription/SubscriptionTagMapping.d.ts +0 -5
- package/dist/types/api/admin/subscription/index.d.ts +0 -6
- package/dist/types/api/admin/subscription/plan/SubscriptionPlan.d.ts +0 -11
- package/dist/types/api/admin/subscription/plan/SubscriptionPlanIntervalMapping.d.ts +0 -5
- package/dist/types/api/admin/subscription/plan/SubscriptionPlanProductMapping.d.ts +0 -6
- package/dist/types/api/admin/subscription/plan/index.d.ts +0 -3
- package/dist/types/api/admin/theme/Theme.d.ts +0 -25
- package/dist/types/api/admin/theme/ThemeChild.d.ts +0 -8
- package/dist/types/api/admin/theme/ThemeMedia.d.ts +0 -9
- package/dist/types/api/admin/theme/ThemeSalesChannel.d.ts +0 -9
- package/dist/types/api/admin/theme/index.d.ts +0 -4
- package/dist/types/api/admin/user/UserRecovery.d.ts +0 -9
- package/dist/types/api/admin/warehouse/Warehouse.d.ts +0 -5
- package/dist/types/api/admin/warehouse/WarehouseGroup.d.ts +0 -7
- package/dist/types/api/admin/warehouse/WarehouseGroupWarehouse.d.ts +0 -6
- package/dist/types/api/admin/warehouse/index.d.ts +0 -1
- package/dist/types/api/global/query/Includes.d.ts +0 -1
- package/dist/types/api/global/query/Query.d.ts +0 -8
- package/dist/types/api/global/query/product/ProductListingFlags.d.ts +0 -4
- package/dist/types/api/store/order/return/OrderReturn.d.ts +0 -14
- package/dist/types/api/store/order/return/OrderReturnLineItem.d.ts +0 -14
- package/dist/types/api/store/order/return/OrderReturnLineItemReason.d.ts +0 -6
- package/dist/types/api/store/product/ProductConfiguratorSetting.d.ts +0 -18
- package/dist/types/api/store/product/review/ProductReviewSummary.d.ts +0 -8
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
export interface OrderPrice {
|
|
2
|
+
positionPrice: number;
|
|
2
3
|
netPrice: number;
|
|
3
4
|
totalPrice: number;
|
|
4
5
|
calculatedTaxes?: Array<{
|
|
5
|
-
tax: number;
|
|
6
6
|
taxRate: number;
|
|
7
|
+
tax: number;
|
|
7
8
|
price: number;
|
|
8
9
|
}>;
|
|
9
|
-
taxRules?: object;
|
|
10
|
-
positionPrice: number;
|
|
11
|
-
rawTotal: number;
|
|
12
|
-
taxStatus: "Free" | "Net" | "Gross";
|
|
13
10
|
}
|
|
@@ -6,20 +6,20 @@ import { OrderDeliveryPosition } from "./OrderDeliveryPosition";
|
|
|
6
6
|
export interface OrderDelivery {
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
|
+
readonly createdAt?: string;
|
|
10
|
+
readonly updatedAt?: string;
|
|
9
11
|
orderId: string;
|
|
10
12
|
orderVersionId?: string;
|
|
11
13
|
shippingOrderAddressId: string;
|
|
12
14
|
shippingOrderAddressVersionId?: string;
|
|
15
|
+
shippingOrderAddress?: OrderAddress;
|
|
13
16
|
shippingMethodId: string;
|
|
17
|
+
shippingMethod?: ShippingMethod;
|
|
18
|
+
shippingCosts?: CalculatedPrice;
|
|
14
19
|
stateId: string;
|
|
20
|
+
stateMachineState?: StateMachineState;
|
|
21
|
+
positions?: Array<OrderDeliveryPosition>;
|
|
15
22
|
trackingCodes?: Array<string>;
|
|
16
23
|
shippingDateEarliest: string;
|
|
17
24
|
shippingDateLatest: string;
|
|
18
|
-
shippingCosts?: CalculatedPrice;
|
|
19
|
-
readonly createdAt?: string;
|
|
20
|
-
readonly updatedAt?: string;
|
|
21
|
-
stateMachineState?: StateMachineState;
|
|
22
|
-
shippingOrderAddress?: OrderAddress;
|
|
23
|
-
shippingMethod?: ShippingMethod;
|
|
24
|
-
positions?: Array<OrderDeliveryPosition>;
|
|
25
25
|
}
|
|
@@ -1,17 +1,19 @@
|
|
|
1
1
|
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
2
2
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
+
import { OrderLineItem } from "../OrderLineItem";
|
|
3
4
|
export interface OrderDeliveryPosition {
|
|
4
5
|
id: string;
|
|
5
6
|
versionId?: string;
|
|
7
|
+
readonly createdAt?: string;
|
|
8
|
+
readonly updatedAt?: string;
|
|
9
|
+
quantity?: number;
|
|
10
|
+
unitPrice?: number;
|
|
11
|
+
totalPrice?: number;
|
|
12
|
+
price: CalculatedPrice;
|
|
6
13
|
orderDeliveryId: string;
|
|
7
14
|
orderDeliveryVersionId?: string;
|
|
8
15
|
orderLineItemId: string;
|
|
9
16
|
orderLineItemVersionId?: string;
|
|
10
|
-
|
|
11
|
-
unitPrice?: number;
|
|
12
|
-
totalPrice?: number;
|
|
13
|
-
quantity?: number;
|
|
17
|
+
orderLineItem?: OrderLineItem;
|
|
14
18
|
customFields?: GenericRecord;
|
|
15
|
-
readonly createdAt?: string;
|
|
16
|
-
readonly updatedAt?: string;
|
|
17
19
|
}
|
|
@@ -2,21 +2,20 @@ import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
|
2
2
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
3
|
import { StateMachineState } from "../../StateMachineState";
|
|
4
4
|
import { PaymentMethod } from "../../PaymentMethod";
|
|
5
|
-
import { OrderTransactionCapture } from "./OrderTransactionCapture";
|
|
5
|
+
import { OrderTransactionCapture } from "./capture/OrderTransactionCapture";
|
|
6
6
|
export interface OrderTransaction {
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
|
+
readonly createdAt?: string;
|
|
10
|
+
readonly updatedAt?: string;
|
|
9
11
|
orderId: string;
|
|
10
12
|
orderVersionId?: string;
|
|
11
|
-
paymentMethodId: string;
|
|
12
|
-
amount: CalculatedPrice;
|
|
13
|
-
validationData?: object;
|
|
14
13
|
stateId: string;
|
|
15
|
-
|
|
16
|
-
readonly createdAt?: string;
|
|
17
|
-
readonly updatedAt?: string;
|
|
18
|
-
stateMachineState?: StateMachineState;
|
|
14
|
+
paymentMethodId: string;
|
|
19
15
|
paymentMethod?: PaymentMethod;
|
|
20
16
|
captures?: Array<OrderTransactionCapture>;
|
|
17
|
+
stateMachineState?: StateMachineState;
|
|
18
|
+
amount: CalculatedPrice;
|
|
21
19
|
shippingCosts?: CalculatedPrice;
|
|
20
|
+
customFields?: GenericRecord;
|
|
22
21
|
}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
1
|
+
import { CalculatedPrice } from "../../../price/CalculatedPrice";
|
|
2
2
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
-
import { StateMachineState } from "
|
|
4
|
-
import { OrderTransaction } from "
|
|
3
|
+
import { StateMachineState } from "../../../StateMachineState";
|
|
4
|
+
import { OrderTransaction } from "../OrderTransaction";
|
|
5
5
|
import { OrderTransactionCaptureRefund } from "./OrderTransactionCaptureRefund";
|
|
6
6
|
export interface OrderTransactionCapture {
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
|
-
orderTransactionId: string;
|
|
10
|
-
orderTransactionVersionId?: string;
|
|
11
|
-
stateId: string;
|
|
12
|
-
externalReference?: string;
|
|
13
|
-
amount: CalculatedPrice;
|
|
14
|
-
customFields?: GenericRecord;
|
|
15
9
|
readonly createdAt?: string;
|
|
16
10
|
readonly updatedAt?: string;
|
|
11
|
+
externalReference?: string;
|
|
12
|
+
stateId: string;
|
|
17
13
|
stateMachineState?: StateMachineState;
|
|
18
|
-
|
|
19
|
-
refunds?: Array<OrderTransactionCaptureRefund>;
|
|
14
|
+
amount: CalculatedPrice;
|
|
20
15
|
shippingCosts?: CalculatedPrice;
|
|
16
|
+
refunds?: Array<OrderTransactionCaptureRefund>;
|
|
17
|
+
orderTransactionId: string;
|
|
18
|
+
orderTransactionVersionId?: string;
|
|
19
|
+
transaction?: OrderTransaction;
|
|
20
|
+
customFields?: GenericRecord;
|
|
21
21
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
1
|
+
import { CalculatedPrice } from "../../../price/CalculatedPrice";
|
|
2
2
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
-
import { StateMachineState } from "
|
|
3
|
+
import { StateMachineState } from "../../../StateMachineState";
|
|
4
4
|
import { OrderTransactionCapture } from "./OrderTransactionCapture";
|
|
5
5
|
import { OrderTransactionCaptureRefundPosition } from "./OrderTransactionCaptureRefundPosition";
|
|
6
6
|
export interface OrderTransactionCaptureRefund {
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
|
-
captureId: string;
|
|
10
|
-
captureVersionId?: string;
|
|
11
|
-
stateId: string;
|
|
12
|
-
externalReference?: string;
|
|
13
|
-
reason?: string;
|
|
14
|
-
amount: CalculatedPrice;
|
|
15
|
-
customFields?: GenericRecord;
|
|
16
9
|
readonly createdAt?: string;
|
|
17
10
|
readonly updatedAt?: string;
|
|
11
|
+
externalReference?: string;
|
|
12
|
+
reason?: string;
|
|
13
|
+
stateId: string;
|
|
18
14
|
stateMachineState?: StateMachineState;
|
|
15
|
+
captureId: string;
|
|
16
|
+
captureVersionId?: string;
|
|
19
17
|
transactionCapture?: OrderTransactionCapture;
|
|
20
|
-
|
|
18
|
+
amount: CalculatedPrice;
|
|
21
19
|
shippingCosts?: CalculatedPrice;
|
|
20
|
+
positions?: Array<OrderTransactionCaptureRefundPosition>;
|
|
21
|
+
customFields?: GenericRecord;
|
|
22
22
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
1
|
+
import { CalculatedPrice } from "../../../price/CalculatedPrice";
|
|
2
2
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
-
import { OrderLineItem } from "
|
|
3
|
+
import { OrderLineItem } from "../../OrderLineItem";
|
|
4
4
|
import { OrderTransactionCaptureRefund } from "./OrderTransactionCaptureRefund";
|
|
5
5
|
export interface OrderTransactionCaptureRefundPosition {
|
|
6
6
|
id: string;
|
|
7
7
|
versionId?: string;
|
|
8
|
+
readonly createdAt?: string;
|
|
9
|
+
readonly updatedAt?: string;
|
|
10
|
+
externalReference?: string;
|
|
11
|
+
reason?: string;
|
|
8
12
|
refundId: string;
|
|
9
13
|
refundVersionId?: string;
|
|
14
|
+
orderTransactionCaptureRefund?: OrderTransactionCaptureRefund;
|
|
10
15
|
orderLineItemId: string;
|
|
11
16
|
orderLineItemVersionId?: string;
|
|
12
|
-
|
|
13
|
-
reason?: string;
|
|
17
|
+
orderLineItem?: OrderLineItem;
|
|
14
18
|
quantity?: number;
|
|
15
19
|
amount: CalculatedPrice;
|
|
16
|
-
customFields?: GenericRecord;
|
|
17
|
-
readonly createdAt?: string;
|
|
18
|
-
readonly updatedAt?: string;
|
|
19
|
-
orderLineItem?: OrderLineItem;
|
|
20
|
-
orderTransactionCaptureRefund?: OrderTransactionCaptureRefund;
|
|
21
20
|
shippingCosts?: CalculatedPrice;
|
|
21
|
+
customFields?: GenericRecord;
|
|
22
22
|
}
|
|
@@ -2,27 +2,21 @@ import { CartPriceReference } from "./cart/CartPriceReference";
|
|
|
2
2
|
import { CartListPrice } from "./cart/CartListPrice";
|
|
3
3
|
import { CartRegulationPrice } from "./cart/CartRegulationPrice";
|
|
4
4
|
export interface CalculatedPrice {
|
|
5
|
-
|
|
5
|
+
apiAlias: "calculated_price";
|
|
6
|
+
variantId?: string;
|
|
6
7
|
quantity: number;
|
|
7
|
-
|
|
8
|
+
hasRange: boolean;
|
|
9
|
+
positionPrice: number;
|
|
10
|
+
netPrice: number;
|
|
11
|
+
unitPrice: number;
|
|
8
12
|
totalPrice: number;
|
|
13
|
+
listPrice: CartListPrice | null;
|
|
14
|
+
regulationPrice?: CartRegulationPrice;
|
|
15
|
+
referencePrice?: CartPriceReference;
|
|
9
16
|
calculatedTaxes: Array<{
|
|
10
17
|
apiAlias: "cart_tax_calculated";
|
|
11
|
-
tax: number;
|
|
12
18
|
taxRate: number;
|
|
19
|
+
tax: number;
|
|
13
20
|
price: number;
|
|
14
21
|
}>;
|
|
15
|
-
referencePrice?: CartPriceReference;
|
|
16
|
-
listPrice: CartListPrice | null;
|
|
17
|
-
positionPrice: number;
|
|
18
|
-
netPrice: number;
|
|
19
|
-
regulationPrice?: CartRegulationPrice;
|
|
20
|
-
hasRange: boolean;
|
|
21
|
-
variantId?: string | null;
|
|
22
|
-
apiAlias: "calculated_price";
|
|
23
|
-
taxRules: Array<{
|
|
24
|
-
percentage?: number;
|
|
25
|
-
taxRate?: number;
|
|
26
|
-
name?: string;
|
|
27
|
-
}>;
|
|
28
22
|
}
|
|
@@ -1,16 +1,12 @@
|
|
|
1
1
|
import { CartListPrice } from "./CartListPrice";
|
|
2
2
|
export interface CartPriceQuantity {
|
|
3
3
|
apiAlias: "cart_price_quantity";
|
|
4
|
+
quantity?: number;
|
|
5
|
+
type?: string;
|
|
4
6
|
isCalculated?: boolean;
|
|
5
|
-
listPrice?: CartListPrice;
|
|
6
7
|
price?: number;
|
|
7
|
-
|
|
8
|
+
listPrice?: CartListPrice;
|
|
8
9
|
regulationPrice?: {
|
|
9
10
|
price?: number;
|
|
10
11
|
};
|
|
11
|
-
taxRules?: Array<{
|
|
12
|
-
taxRate?: number;
|
|
13
|
-
name?: string;
|
|
14
|
-
}>;
|
|
15
|
-
type?: string;
|
|
16
12
|
}
|
|
@@ -2,12 +2,12 @@ import { CartListPrice } from "./CartListPrice";
|
|
|
2
2
|
import { CartRegulationPrice } from "./CartRegulationPrice";
|
|
3
3
|
export interface CartPriceReference {
|
|
4
4
|
apiAlias: "cart_price_reference";
|
|
5
|
+
unitName: string;
|
|
6
|
+
variantId?: string;
|
|
5
7
|
purchaseUnit?: number;
|
|
6
8
|
referenceUnit?: number;
|
|
7
|
-
|
|
9
|
+
hasRange: boolean;
|
|
8
10
|
price?: number;
|
|
9
11
|
listPrice: CartListPrice | null;
|
|
10
12
|
regulationPrice: CartRegulationPrice | null;
|
|
11
|
-
hasRange: boolean;
|
|
12
|
-
variantId?: string;
|
|
13
13
|
}
|
|
@@ -2,14 +2,11 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { CalculatedPrice } from "../price/CalculatedPrice";
|
|
3
3
|
import { ProductDownload } from "./ProductDownload";
|
|
4
4
|
import { DeliveryTime } from "../DeliveryTime";
|
|
5
|
-
import { Tax } from "../Tax";
|
|
6
5
|
import { ProductManufacturer } from "./ProductManufacturer";
|
|
7
|
-
import { Unit } from "../Unit";
|
|
8
6
|
import { ProductMedia } from "../media/ProductMedia";
|
|
9
7
|
import { CmsPage } from "../cms/CmsPage";
|
|
10
8
|
import { ProductCrossSelling } from "./crossSelling/ProductCrossSelling";
|
|
11
|
-
import {
|
|
12
|
-
import { ProductReview } from "./review/ProductReview";
|
|
9
|
+
import { ProductReview } from "./ProductReview";
|
|
13
10
|
import { MainCategory } from "../category/MainCategory";
|
|
14
11
|
import { SeoUrlEntity } from "../seo/SeoUrlEntity";
|
|
15
12
|
import { PropertyGroupOption } from "#types/api/store/propertyGroup/PropertyGroupOption";
|
|
@@ -20,94 +17,66 @@ export interface Product {
|
|
|
20
17
|
apiAlias: "product";
|
|
21
18
|
id: string;
|
|
22
19
|
versionId?: string;
|
|
20
|
+
readonly createdAt?: string;
|
|
21
|
+
readonly updatedAt?: string;
|
|
23
22
|
parentId?: string;
|
|
24
23
|
parentVersionId?: string;
|
|
24
|
+
readonly childCount?: number;
|
|
25
|
+
children?: Array<Product>;
|
|
26
|
+
active?: boolean;
|
|
25
27
|
manufacturerId?: string;
|
|
26
28
|
productManufacturerVersionId?: string;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
coverId?: string;
|
|
30
|
-
productMediaVersionId?: string;
|
|
31
|
-
deliveryTimeId?: string;
|
|
32
|
-
canonicalProductId?: string;
|
|
33
|
-
canonicalProductVersionId?: string;
|
|
34
|
-
cmsPageId?: string;
|
|
35
|
-
cmsPageVersionId?: string;
|
|
29
|
+
manufacturer?: ProductManufacturer;
|
|
30
|
+
manufacturerNumber?: string;
|
|
36
31
|
productNumber: string;
|
|
37
|
-
restockTime: number;
|
|
38
|
-
active?: boolean;
|
|
39
|
-
readonly available?: boolean;
|
|
40
|
-
isCloseout?: boolean;
|
|
41
|
-
readonly availableStock?: number;
|
|
42
|
-
stock: number;
|
|
43
32
|
readonly displayGroup?: string;
|
|
44
|
-
|
|
45
|
-
|
|
33
|
+
markAsTopseller?: boolean;
|
|
34
|
+
readonly sales?: number;
|
|
35
|
+
stock: number;
|
|
36
|
+
readonly availableStock?: number;
|
|
37
|
+
restockTime: number;
|
|
46
38
|
purchaseSteps?: number;
|
|
47
39
|
maxPurchase?: number;
|
|
48
40
|
minPurchase?: number;
|
|
49
41
|
purchaseUnit?: number;
|
|
50
42
|
referenceUnit?: number;
|
|
51
|
-
|
|
52
|
-
markAsTopseller?: boolean;
|
|
53
|
-
weight?: number;
|
|
43
|
+
length?: number;
|
|
54
44
|
width?: number;
|
|
55
45
|
height?: number;
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
46
|
+
weight?: number;
|
|
47
|
+
deliveryTimeId?: string;
|
|
48
|
+
deliveryTime?: DeliveryTime;
|
|
49
|
+
name: string;
|
|
50
|
+
description?: string;
|
|
51
|
+
coverId?: string;
|
|
52
|
+
cover?: ProductMedia;
|
|
53
|
+
media?: Array<ProductMedia>;
|
|
54
|
+
readonly tagIds?: Array<string>;
|
|
55
|
+
tags?: Array<Tag>;
|
|
60
56
|
readonly propertyIds?: Array<string>;
|
|
57
|
+
properties?: Array<PropertyGroupOption>;
|
|
61
58
|
readonly optionIds?: Array<string>;
|
|
59
|
+
options?: Array<PropertyGroupOption>;
|
|
62
60
|
readonly streamIds?: Array<string>;
|
|
63
|
-
|
|
61
|
+
streams?: Array<ProductStream>;
|
|
62
|
+
readonly ratingAverage?: number;
|
|
63
|
+
productReviews?: Array<ProductReview>;
|
|
64
|
+
crossSellings?: Array<ProductCrossSelling>;
|
|
64
65
|
readonly categoryIds?: Array<string>;
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
categories?: Array<MainCategory>;
|
|
67
|
+
mainCategories?: Array<MainCategory>;
|
|
68
|
+
metaTitle?: string;
|
|
68
69
|
metaDescription?: string;
|
|
69
|
-
name: string;
|
|
70
70
|
keywords?: string;
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
packUnit?: string;
|
|
74
|
-
packUnitPlural?: string;
|
|
75
|
-
customFields?: GenericRecord;
|
|
71
|
+
seoUrls?: Array<SeoUrlEntity>;
|
|
72
|
+
seoCategory: Category;
|
|
76
73
|
calculatedPrice: CalculatedPrice;
|
|
77
74
|
calculatedPrices: Array<CalculatedPrice>;
|
|
78
|
-
calculatedMaxPurchase?: number;
|
|
79
75
|
calculatedCheapestPrice?: CalculatedPrice;
|
|
80
|
-
isNew?: boolean;
|
|
81
|
-
sortedProperties: object;
|
|
82
|
-
readonly createdAt?: string;
|
|
83
|
-
readonly updatedAt?: string;
|
|
84
|
-
translated?: object;
|
|
85
76
|
downloads?: Array<ProductDownload>;
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
deliveryTime?: DeliveryTime;
|
|
89
|
-
tax?: Tax;
|
|
90
|
-
manufacturer?: ProductManufacturer;
|
|
91
|
-
unit?: Unit;
|
|
92
|
-
cover?: ProductMedia;
|
|
77
|
+
cmsPageId?: string;
|
|
78
|
+
cmsPageVersionId?: string;
|
|
93
79
|
cmsPage?: CmsPage;
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
crossSellings?: Array<ProductCrossSelling>;
|
|
97
|
-
configuratorSettings?: Array<ProductConfiguratorSetting>;
|
|
98
|
-
productReviews?: Array<ProductReview>;
|
|
99
|
-
mainCategories?: Array<MainCategory>;
|
|
100
|
-
seoUrls?: Array<SeoUrlEntity>;
|
|
101
|
-
options?: Array<PropertyGroupOption>;
|
|
102
|
-
properties?: Array<PropertyGroupOption>;
|
|
103
|
-
categories?: Array<MainCategory>;
|
|
104
|
-
streams?: Array<ProductStream>;
|
|
105
|
-
categoriesRo?: Array<Category>;
|
|
106
|
-
tags?: Array<Tag>;
|
|
107
|
-
seoCategory: Category;
|
|
108
|
-
variantListingConfig?: {
|
|
109
|
-
displayParent?: boolean;
|
|
110
|
-
} | null;
|
|
111
|
-
mainVariantId?: any;
|
|
112
|
-
externalReference?: any;
|
|
80
|
+
customFields?: GenericRecord;
|
|
81
|
+
translated?: Record<string, string>;
|
|
113
82
|
}
|
|
@@ -4,13 +4,13 @@ import { Media } from "../media/Media";
|
|
|
4
4
|
export interface ProductDownload {
|
|
5
5
|
id: string;
|
|
6
6
|
versionId?: string;
|
|
7
|
-
productId: string;
|
|
8
|
-
productVersionId?: string;
|
|
9
|
-
mediaId: string;
|
|
10
|
-
position?: number;
|
|
11
|
-
customFields?: GenericRecord;
|
|
12
7
|
readonly createdAt?: string;
|
|
13
8
|
readonly updatedAt?: string;
|
|
9
|
+
position?: number;
|
|
10
|
+
productId: string;
|
|
11
|
+
productVersionId?: string;
|
|
14
12
|
product?: Product;
|
|
13
|
+
mediaId: string;
|
|
15
14
|
media?: Media;
|
|
15
|
+
customFields?: GenericRecord;
|
|
16
16
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { Product } from "./Product";
|
|
2
|
+
import { Aggregation } from "#types/api/global";
|
|
2
3
|
export type ProductListingResult = {
|
|
3
4
|
apiAlias: "product_listing";
|
|
4
|
-
|
|
5
|
+
aggregations?: Array<Aggregation>;
|
|
5
6
|
total?: number;
|
|
6
|
-
aggregations?: Array<object>;
|
|
7
7
|
page?: number;
|
|
8
8
|
limit?: number;
|
|
9
9
|
currentFilters: Array<{
|
|
@@ -18,15 +18,13 @@ export type ProductListingResult = {
|
|
|
18
18
|
properties: Array<string>;
|
|
19
19
|
search: string;
|
|
20
20
|
}>;
|
|
21
|
+
sorting?: string;
|
|
21
22
|
availableSortings: Array<{
|
|
22
23
|
apiAlias: "product_sorting";
|
|
23
24
|
label: string;
|
|
24
|
-
translated: {
|
|
25
|
-
label: string;
|
|
26
|
-
};
|
|
27
25
|
key: string;
|
|
28
26
|
priority: number;
|
|
27
|
+
translated: Record<string, string>;
|
|
29
28
|
}>;
|
|
30
|
-
sorting?: string;
|
|
31
29
|
elements: Array<Product>;
|
|
32
30
|
};
|
|
@@ -3,13 +3,13 @@ import { Media } from "../media/Media";
|
|
|
3
3
|
export interface ProductManufacturer {
|
|
4
4
|
id: string;
|
|
5
5
|
versionId?: string;
|
|
6
|
-
|
|
6
|
+
readonly createdAt?: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
7
8
|
link?: string;
|
|
8
9
|
name: string;
|
|
9
10
|
description?: string;
|
|
10
|
-
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
readonly updatedAt?: string;
|
|
13
|
-
translated?: object;
|
|
11
|
+
mediaId?: string;
|
|
14
12
|
media?: Media;
|
|
13
|
+
customFields?: GenericRecord;
|
|
14
|
+
translated?: Record<string, string>;
|
|
15
15
|
}
|
|
@@ -1,16 +1,14 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface ProductReview {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
4
|
+
readonly createdAt?: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
6
|
+
status?: boolean;
|
|
7
|
+
points?: number;
|
|
8
8
|
title: string;
|
|
9
9
|
content: string;
|
|
10
|
-
points?: number;
|
|
11
|
-
status?: boolean;
|
|
12
10
|
comment?: string;
|
|
11
|
+
productId: string;
|
|
12
|
+
productIdVersionId?: string;
|
|
13
13
|
customFields?: GenericRecord;
|
|
14
|
-
readonly createdAt?: string;
|
|
15
|
-
readonly updatedAt?: string;
|
|
16
14
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface ProductStream {
|
|
3
3
|
id: string;
|
|
4
|
+
readonly createdAt?: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
4
6
|
name: string;
|
|
5
7
|
description?: string;
|
|
6
8
|
customFields?: GenericRecord;
|
|
7
|
-
|
|
8
|
-
readonly updatedAt?: string;
|
|
9
|
-
translated?: object;
|
|
9
|
+
translated?: Record<string, string>;
|
|
10
10
|
}
|
|
@@ -2,8 +2,8 @@ import { ProductCrossSelling } from "./ProductCrossSelling";
|
|
|
2
2
|
import { Product } from "../Product";
|
|
3
3
|
export interface CrossSellingElement {
|
|
4
4
|
apiAlias: "cross_selling_element";
|
|
5
|
-
crossSelling: Array<ProductCrossSelling>;
|
|
6
|
-
products: Array<Product>;
|
|
7
5
|
total: number;
|
|
8
6
|
streamId: string;
|
|
7
|
+
products: Array<Product>;
|
|
8
|
+
crossSelling: Array<ProductCrossSelling>;
|
|
9
9
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
export interface ProductCrossSelling {
|
|
2
2
|
id: string;
|
|
3
|
+
readonly createdAt?: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
5
|
+
active?: boolean;
|
|
6
|
+
type?: string;
|
|
7
|
+
limit?: number;
|
|
3
8
|
name: string;
|
|
4
9
|
position?: number;
|
|
5
10
|
sortBy?: string;
|
|
6
11
|
sortDirection?: string;
|
|
7
|
-
|
|
8
|
-
active?: boolean;
|
|
9
|
-
limit?: number;
|
|
10
|
-
readonly createdAt?: string;
|
|
11
|
-
readonly updatedAt?: string;
|
|
12
|
-
translated?: object;
|
|
12
|
+
translated?: Record<string, string>;
|
|
13
13
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./crossSelling";
|
|
2
2
|
export { Product } from "./Product";
|
|
3
|
-
export { ProductConfiguratorSetting } from "./ProductConfiguratorSetting";
|
|
4
3
|
export { ProductDownload } from "./ProductDownload";
|
|
5
4
|
export { ProductListingResult } from "./ProductListingResult";
|
|
6
5
|
export { ProductManufacturer } from "./ProductManufacturer";
|
|
@@ -2,16 +2,14 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { PropertyGroupOption } from "./PropertyGroupOption";
|
|
3
3
|
export interface PropertyGroup {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
readonly createdAt?: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
7
7
|
displayType?: "text" | "image" | "dropdown" | "color";
|
|
8
|
-
sortingType?: "name" | "position";
|
|
9
|
-
filterable?: boolean;
|
|
10
|
-
visibleOnProductDetailPage?: boolean;
|
|
11
8
|
position?: number;
|
|
9
|
+
visibleOnProductDetailPage?: boolean;
|
|
10
|
+
name: string;
|
|
11
|
+
description?: string;
|
|
12
12
|
customFields?: GenericRecord;
|
|
13
|
-
readonly createdAt?: string;
|
|
14
|
-
readonly updatedAt?: string;
|
|
15
|
-
translated?: object;
|
|
16
13
|
options?: Array<PropertyGroupOption>;
|
|
14
|
+
translated?: Record<string, string>;
|
|
17
15
|
}
|
|
@@ -4,16 +4,16 @@ import { PropertyGroup } from "./PropertyGroup";
|
|
|
4
4
|
export interface PropertyGroupOption {
|
|
5
5
|
apiAlias: "property_group_option";
|
|
6
6
|
id: string;
|
|
7
|
-
|
|
7
|
+
readonly createdAt?: string;
|
|
8
|
+
readonly updatedAt?: string;
|
|
8
9
|
name: string;
|
|
10
|
+
option: string;
|
|
9
11
|
position?: number;
|
|
10
12
|
colorHexCode?: string;
|
|
11
13
|
mediaId?: string;
|
|
12
|
-
customFields?: GenericRecord;
|
|
13
|
-
readonly createdAt?: string;
|
|
14
|
-
readonly updatedAt?: string;
|
|
15
|
-
translated?: object;
|
|
16
14
|
media?: Media;
|
|
15
|
+
groupId: string;
|
|
17
16
|
group: PropertyGroup;
|
|
18
|
-
|
|
17
|
+
customFields?: GenericRecord;
|
|
18
|
+
translated?: Record<string, string>;
|
|
19
19
|
}
|