@devite/shopware-client 1.8.0 → 1.9.1
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 +1012 -3634
- package/dist/index.d.mts +1012 -3634
- package/dist/index.d.ts +1012 -3634
- 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 +3 -3
- 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 +4 -11
- package/dist/types/api/admin/category/MainCategory.d.ts +1 -1
- 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 +7 -5
- package/dist/types/api/admin/cms/CmsSection.d.ts +2 -4
- package/dist/types/api/admin/cms/CmsSlot.d.ts +1 -1
- package/dist/types/api/admin/cms/landingPage/LandingPage.d.ts +1 -5
- package/dist/types/api/admin/cms/landingPage/index.d.ts +0 -2
- package/dist/types/api/admin/country/Country.d.ts +1 -12
- 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 +14 -21
- package/dist/types/api/admin/customer/CustomerAddress.d.ts +2 -4
- package/dist/types/api/admin/customer/{group/CustomerGroup.d.ts → CustomerGroup.d.ts} +2 -3
- package/dist/types/api/admin/customer/index.d.ts +1 -4
- package/dist/types/api/admin/document/ShopwareDocument.d.ts +2 -2
- package/dist/types/api/admin/document/ShopwareDocumentBaseConfig.d.ts +7 -0
- 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 +3 -21
- 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/MediaThumbnail.d.ts +1 -1
- 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 +3 -3
- 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 +10 -11
- package/dist/types/api/admin/order/OrderAddress.d.ts +2 -8
- package/dist/types/api/admin/order/OrderCustomer.d.ts +3 -7
- package/dist/types/api/admin/order/delivery/OrderDelivery.d.ts +3 -5
- package/dist/types/api/admin/order/delivery/OrderDeliveryPosition.d.ts +1 -3
- package/dist/types/api/admin/order/index.d.ts +0 -3
- package/dist/types/api/admin/order/lineItem/OrderLineItem.d.ts +3 -7
- package/dist/types/api/admin/order/lineItem/OrderLineItemDownload.d.ts +1 -1
- package/dist/types/api/admin/order/transaction/OrderTransaction.d.ts +1 -1
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCapture.d.ts +3 -3
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +2 -2
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +3 -3
- package/dist/types/api/admin/paymentMethod/PaymentMethod.d.ts +3 -15
- package/dist/types/api/admin/paymentMethod/index.d.ts +0 -1
- package/dist/types/api/admin/product/Product.d.ts +28 -48
- package/dist/types/api/admin/product/ProductDownload.d.ts +6 -6
- package/dist/types/api/admin/product/ProductManufacturer.d.ts +12 -4
- 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 +2 -7
- 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 +2 -2
- 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 +4 -4
- 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 +3 -6
- 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/PropertyGroup.d.ts +1 -1
- package/dist/types/api/admin/propertyGroup/PropertyGroupOption.d.ts +1 -6
- 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 +24 -80
- 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 +3 -16
- package/dist/types/api/admin/shippingMethod/ShippingMethodPrice.d.ts +1 -4
- 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 +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/types/api/store/StateMachineState.d.ts +3 -3
- package/dist/types/api/store/Tag.d.ts +2 -2
- 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 -13
- package/dist/types/api/store/cart/delivery/CartDelivery.d.ts +1 -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 +11 -16
- package/dist/types/api/store/cart/lineItem/CartLineItemType.d.ts +1 -1
- package/dist/types/api/store/category/Category.d.ts +16 -20
- 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 +7 -6
- 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 +3 -3
- package/dist/types/api/store/customer/address/CustomerAddressBody.d.ts +9 -9
- 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 +7 -7
- 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 +2 -2
- package/dist/types/api/store/order/OrderCustomer.d.ts +5 -5
- package/dist/types/api/store/order/OrderLineItem.d.ts +6 -36
- 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} +12 -12
- 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 +38 -73
- 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/{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 -2
- 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 +5 -5
- 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/group/CustomerGroupRegistrationSalesChannels.d.ts +0 -10
- package/dist/types/api/admin/customer/group/index.d.ts +0 -2
- 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/ShopwareDocumentBaseConfig.d.ts +0 -9
- 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/ProductManufacturer.d.ts +0 -15
- package/dist/types/api/store/product/review/ProductReviewSummary.d.ts +0 -8
|
@@ -1,19 +1,21 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
-
import { ProductStream } from "./ProductStream";
|
|
3
2
|
export interface ProductStreamFilter {
|
|
4
3
|
id: string;
|
|
5
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
6
6
|
parentId?: string;
|
|
7
|
+
parent?: ProductStreamFilter;
|
|
7
8
|
type: "static" | "stream";
|
|
8
9
|
field?: string;
|
|
9
10
|
operator?: ">" | "<" | ">=" | "<=" | "==";
|
|
10
11
|
value?: string;
|
|
11
|
-
parameters?:
|
|
12
|
+
parameters?: {
|
|
13
|
+
gte?: number;
|
|
14
|
+
lte?: number;
|
|
15
|
+
gt?: number;
|
|
16
|
+
lt?: number;
|
|
17
|
+
};
|
|
12
18
|
position?: number;
|
|
13
|
-
customFields?: GenericRecord;
|
|
14
|
-
readonly createdAt?: string;
|
|
15
|
-
readonly updatedAt?: string;
|
|
16
|
-
productStream?: ProductStream;
|
|
17
|
-
parent?: ProductStreamFilter;
|
|
18
19
|
queries?: Array<ProductStreamFilter>;
|
|
20
|
+
customFields?: GenericRecord;
|
|
19
21
|
}
|
|
@@ -29,9 +29,9 @@ export interface Promotion {
|
|
|
29
29
|
readonly orderPerCustomerCount?: number;
|
|
30
30
|
exclusionIds?: Array<string>;
|
|
31
31
|
customFields?: GenericRecord;
|
|
32
|
-
readonly createdAt
|
|
32
|
+
readonly createdAt: string;
|
|
33
33
|
readonly updatedAt?: string;
|
|
34
|
-
translated?:
|
|
34
|
+
translated?: Record<string, any>;
|
|
35
35
|
setgroups?: Array<PromotionSetGroup>;
|
|
36
36
|
salesChannels?: Array<PromotionSalesChannel>;
|
|
37
37
|
discounts?: Array<PromotionDiscount>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { Promotion } from "./Promotion";
|
|
2
2
|
export interface PromotionIndividualCode {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
5
6
|
code: string;
|
|
6
7
|
payload?: object;
|
|
7
|
-
|
|
8
|
-
readonly updatedAt?: string;
|
|
8
|
+
promotionId: string;
|
|
9
9
|
promotion?: Promotion;
|
|
10
10
|
}
|
|
@@ -2,11 +2,11 @@ import { Promotion } from "./Promotion";
|
|
|
2
2
|
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
3
3
|
export interface PromotionSalesChannel {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
6
|
-
salesChannelId: string;
|
|
7
|
-
priority: number;
|
|
8
|
-
readonly createdAt?: string;
|
|
5
|
+
readonly createdAt: string;
|
|
9
6
|
readonly updatedAt?: string;
|
|
7
|
+
priority: number;
|
|
8
|
+
promotionId: string;
|
|
10
9
|
promotion?: Promotion;
|
|
10
|
+
salesChannelId: string;
|
|
11
11
|
salesChannel?: SalesChannel;
|
|
12
12
|
}
|
|
@@ -2,12 +2,12 @@ import { Promotion } from "./Promotion";
|
|
|
2
2
|
import { PromotionSetGroupRule } from "./rule/PromotionSetGroupRule";
|
|
3
3
|
export interface PromotionSetGroup {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
7
|
+
value: number;
|
|
6
8
|
packagerKey: string;
|
|
7
9
|
sorterKey: string;
|
|
8
|
-
value: number;
|
|
9
|
-
readonly createdAt?: string;
|
|
10
|
-
readonly updatedAt?: string;
|
|
11
|
-
promotion?: Promotion;
|
|
12
10
|
setGroupRules?: Array<PromotionSetGroupRule>;
|
|
11
|
+
promotionId: string;
|
|
12
|
+
promotion?: Promotion;
|
|
13
13
|
}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import { Promotion } from "../Promotion";
|
|
2
1
|
import { Rule } from "../../rule/Rule";
|
|
3
2
|
import { PromotionDiscountPrice } from "./PromotionDiscountPrice";
|
|
4
3
|
export interface PromotionDiscount {
|
|
5
4
|
id: string;
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
8
7
|
type: "absolute" | "percentage";
|
|
9
|
-
|
|
8
|
+
scope: string;
|
|
10
9
|
considerAdvancedRules?: boolean;
|
|
10
|
+
value: number;
|
|
11
11
|
maxValue?: number;
|
|
12
12
|
sorterKey?: "low to high" | "high to low";
|
|
13
13
|
applierKey?: string;
|
|
14
14
|
usageKey?: string;
|
|
15
15
|
pickerKey?: string;
|
|
16
|
-
readonly createdAt?: string;
|
|
17
|
-
readonly updatedAt?: string;
|
|
18
|
-
promotion?: Promotion;
|
|
19
16
|
discountRules?: Array<Rule>;
|
|
20
17
|
promotionDiscountPrices?: Array<PromotionDiscountPrice>;
|
|
21
18
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { PromotionDiscount } from "./PromotionDiscount";
|
|
2
1
|
import { Currency } from "../../currency/Currency";
|
|
3
2
|
export interface PromotionDiscountPrice {
|
|
4
3
|
id: string;
|
|
5
|
-
|
|
6
|
-
currencyId: string;
|
|
7
|
-
price: number;
|
|
8
|
-
readonly createdAt?: string;
|
|
4
|
+
readonly createdAt: string;
|
|
9
5
|
readonly updatedAt?: string;
|
|
10
|
-
|
|
6
|
+
price: number;
|
|
7
|
+
currencyId: string;
|
|
11
8
|
currency?: Currency;
|
|
12
9
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropertyGroup as StoreApiPropertyGroup } from "#types/api/store/propertyGroup/PropertyGroup";
|
|
2
2
|
import { PropertyGroupOption } from "./PropertyGroupOption";
|
|
3
|
-
export type PropertyGroup = StoreApiPropertyGroup & {
|
|
3
|
+
export type PropertyGroup = Omit<StoreApiPropertyGroup, "options"> & {
|
|
4
4
|
options?: Array<PropertyGroupOption>;
|
|
5
5
|
};
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
import { PropertyGroupOption as StoreApiPropertyGroupOption } from "#types/api/store/propertyGroup/PropertyGroupOption";
|
|
2
2
|
import { Media } from "../media/Media";
|
|
3
3
|
import { PropertyGroup } from "./PropertyGroup";
|
|
4
|
-
|
|
5
|
-
import { Product } from "../product/Product";
|
|
6
|
-
export type PropertyGroupOption = StoreApiPropertyGroupOption & {
|
|
4
|
+
export type PropertyGroupOption = Omit<StoreApiPropertyGroupOption, "media" | "group"> & {
|
|
7
5
|
media?: Media;
|
|
8
6
|
group?: PropertyGroup;
|
|
9
|
-
productConfiguratorSettings?: Array<ProductConfiguratorSetting>;
|
|
10
|
-
productProperties?: Array<Product>;
|
|
11
|
-
productOptions?: Array<Product>;
|
|
12
7
|
};
|
|
@@ -1,31 +1,8 @@
|
|
|
1
1
|
import { Rule as StoreApiRule } from "#types/api/store/Rule";
|
|
2
|
-
import { RuleCondition } from "./RuleCondition";
|
|
3
|
-
import { ProductPrice } from "../product/ProductPrice";
|
|
4
|
-
import { ShippingMethodPrice } from "../shippingMethod/ShippingMethodPrice";
|
|
5
|
-
import { ShippingMethod } from "../shippingMethod/ShippingMethod";
|
|
6
|
-
import { PaymentMethod } from "../paymentMethod/PaymentMethod";
|
|
7
|
-
import { Promotion } from "../promotion/Promotion";
|
|
8
|
-
import { FlowSequence } from "../flow/FlowSequence";
|
|
9
|
-
import { TaxProvider } from "../tax/TaxProvider";
|
|
10
2
|
import { Tag } from "../Tag";
|
|
11
|
-
import { PromotionDiscount } from "../promotion/discount/PromotionDiscount";
|
|
12
|
-
import { PromotionSetGroup } from "../promotion/PromotionSetGroup";
|
|
13
3
|
export type Rule = StoreApiRule & {
|
|
14
4
|
priority?: number;
|
|
15
5
|
readonly invalid?: boolean;
|
|
16
6
|
readonly areas?: Array<object>;
|
|
17
|
-
conditions?: Array<RuleCondition>;
|
|
18
|
-
productPrices?: Array<ProductPrice>;
|
|
19
|
-
shippingMethodPrices?: Array<ShippingMethodPrice>;
|
|
20
|
-
shippingMethodPriceCalculations?: Array<ShippingMethodPrice>;
|
|
21
|
-
shippingMethods?: Array<ShippingMethod>;
|
|
22
|
-
paymentMethods?: Array<PaymentMethod>;
|
|
23
|
-
personaPromotions?: Array<Promotion>;
|
|
24
|
-
flowSequences?: Array<FlowSequence>;
|
|
25
|
-
taxProviders?: Array<TaxProvider>;
|
|
26
7
|
tags?: Array<Tag>;
|
|
27
|
-
orderPromotions?: Array<Promotion>;
|
|
28
|
-
cartPromotions?: Array<Promotion>;
|
|
29
|
-
promotionDiscounts?: Array<PromotionDiscount>;
|
|
30
|
-
promotionSetGroups?: Array<PromotionSetGroup>;
|
|
31
8
|
};
|
|
@@ -1,19 +1,16 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
import { Rule } from "./Rule";
|
|
3
|
-
import { AppScriptCondition } from "../app/AppScriptCondition";
|
|
4
3
|
export interface RuleCondition {
|
|
5
4
|
id: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
scriptId?: string;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
9
7
|
parentId?: string;
|
|
8
|
+
parent?: RuleCondition;
|
|
9
|
+
children?: Array<RuleCondition>;
|
|
10
|
+
type: string;
|
|
10
11
|
value?: object;
|
|
11
12
|
position?: number;
|
|
12
|
-
|
|
13
|
-
readonly createdAt?: string;
|
|
14
|
-
readonly updatedAt?: string;
|
|
13
|
+
ruleId: string;
|
|
15
14
|
rule?: Rule;
|
|
16
|
-
|
|
17
|
-
parent?: RuleCondition;
|
|
18
|
-
children?: Array<RuleCondition>;
|
|
15
|
+
customFields?: GenericRecord;
|
|
19
16
|
}
|
|
@@ -1,103 +1,47 @@
|
|
|
1
1
|
import { SalesChannel as StoreApiSalesChannel } from "#types/api/store/salesChannel/SalesChannel";
|
|
2
|
-
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
-
import { Rounding } from "#types/api/global/Rounding";
|
|
4
2
|
import { Currency } from "../currency/Currency";
|
|
5
3
|
import { Language } from "../locale/Language";
|
|
6
4
|
import { Country } from "../country/Country";
|
|
7
5
|
import { PaymentMethod } from "../paymentMethod/PaymentMethod";
|
|
8
6
|
import { ShippingMethod } from "../shippingMethod/ShippingMethod";
|
|
9
7
|
import { SalesChannelType } from "./SalesChannelType";
|
|
10
|
-
import { CustomerGroup } from "../customer/
|
|
11
|
-
import { Order } from "../order/Order";
|
|
12
|
-
import { Customer } from "../customer/Customer";
|
|
8
|
+
import { CustomerGroup } from "../customer/CustomerGroup";
|
|
13
9
|
import { CmsPage } from "../cms/CmsPage";
|
|
14
10
|
import { SalesChannelDomain } from "./SalesChannelDomain";
|
|
15
11
|
import { SystemConfigEntry } from "../SystemConfigEntry";
|
|
16
|
-
import { Category } from "../category/Category";
|
|
17
|
-
import { ProductVisibility } from "../product/ProductVisibility";
|
|
18
12
|
import { MailHeaderFooter } from "../mail/MailHeaderFooter";
|
|
19
|
-
import { NewsletterRecipient } from "../newsletterRecipient/NewsletterRecipient";
|
|
20
|
-
import { NumberRangeSalesChannel } from "../numberRange/NumberRangeSalesChannel";
|
|
21
|
-
import { PromotionSalesChannel } from "../promotion/PromotionSalesChannel";
|
|
22
|
-
import { ShopwareDocumentBaseConfigSalesChannel } from "../document/baseConfig/ShopwareDocumentBaseConfigSalesChannel";
|
|
23
|
-
import { ProductReview } from "../product/review/ProductReview";
|
|
24
|
-
import { SeoUrl } from "../seo/SeoUrl";
|
|
25
|
-
import { SeoUrlTemplate } from "../seo/SeoUrlTemplate";
|
|
26
13
|
import { MainCategory } from "../category/MainCategory";
|
|
27
|
-
import { ProductExport } from "../product/ProductExport";
|
|
28
|
-
import { SalesChannelAnalytics } from "./SalesChannelAnalytics";
|
|
29
14
|
import { LandingPage } from "../cms/landingPage/LandingPage";
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
footerCategoryVersionId?: string;
|
|
34
|
-
serviceCategoryVersionId?: string;
|
|
15
|
+
export type SalesChannel = Omit<StoreApiSalesChannel, "language" | "languages" | "countries" | "currencies" | "paymentMethod" | "paymentMethods" | "shippingMethod" | "shippingMethods"> & {
|
|
16
|
+
readonly accessKey: string;
|
|
17
|
+
type?: SalesChannelType;
|
|
35
18
|
taxCalculationType?: "horizontal" | "vertical";
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
totalRounding?: Rounding;
|
|
43
|
-
paymentMethodIds?: Array<string>;
|
|
44
|
-
homeCmsPageId?: string;
|
|
45
|
-
homeCmsPageVersionId?: string;
|
|
46
|
-
homeSlotConfig?: object;
|
|
47
|
-
homeEnabled: boolean;
|
|
48
|
-
homeName?: string;
|
|
49
|
-
homeMetaTitle?: string;
|
|
50
|
-
homeMetaDescription?: string;
|
|
51
|
-
homeKeywords?: string;
|
|
52
|
-
readonly createdAt?: string;
|
|
53
|
-
readonly updatedAt?: string;
|
|
54
|
-
translated?: object;
|
|
55
|
-
extensions?: {
|
|
56
|
-
themes?: {
|
|
57
|
-
links?: {
|
|
58
|
-
related?: string;
|
|
59
|
-
};
|
|
60
|
-
data?: Array<{
|
|
61
|
-
type?: string;
|
|
62
|
-
id?: string;
|
|
63
|
-
}>;
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
currencies?: Array<Currency>;
|
|
19
|
+
hreflangDefaultDomainId?: string;
|
|
20
|
+
hreflangDefaultDomain?: SalesChannelDomain;
|
|
21
|
+
domains?: Array<SalesChannelDomain>;
|
|
22
|
+
systemConfigs?: Array<SystemConfigEntry>;
|
|
23
|
+
homeCmsPage?: CmsPage;
|
|
24
|
+
language?: Language;
|
|
67
25
|
languages?: Array<Language>;
|
|
26
|
+
country?: Country;
|
|
68
27
|
countries?: Array<Country>;
|
|
69
|
-
paymentMethods?: Array<PaymentMethod>;
|
|
70
|
-
shippingMethods?: Array<ShippingMethod>;
|
|
71
|
-
type?: SalesChannelType;
|
|
72
|
-
language?: Language;
|
|
73
|
-
customerGroup?: CustomerGroup;
|
|
74
28
|
currency?: Currency;
|
|
29
|
+
currencies?: Array<Currency>;
|
|
75
30
|
paymentMethod?: PaymentMethod;
|
|
31
|
+
paymentMethods?: Array<PaymentMethod>;
|
|
76
32
|
shippingMethod?: ShippingMethod;
|
|
77
|
-
|
|
78
|
-
orders?: Array<Order>;
|
|
79
|
-
customers?: Array<Customer>;
|
|
80
|
-
homeCmsPage?: CmsPage;
|
|
81
|
-
domains?: Array<SalesChannelDomain>;
|
|
82
|
-
systemConfigs?: Array<SystemConfigEntry>;
|
|
83
|
-
navigationCategory?: Category;
|
|
84
|
-
footerCategory?: Category;
|
|
85
|
-
serviceCategory?: Category;
|
|
86
|
-
productVisibilities?: Array<ProductVisibility>;
|
|
87
|
-
hreflangDefaultDomain?: SalesChannelDomain;
|
|
88
|
-
mailHeaderFooter?: MailHeaderFooter;
|
|
89
|
-
newsletterRecipients?: Array<NewsletterRecipient>;
|
|
90
|
-
numberRangeSalesChannels?: Array<NumberRangeSalesChannel>;
|
|
91
|
-
promotionSalesChannels?: Array<PromotionSalesChannel>;
|
|
92
|
-
documentBaseConfigSalesChannels?: Array<ShopwareDocumentBaseConfigSalesChannel>;
|
|
93
|
-
productReviews?: Array<ProductReview>;
|
|
94
|
-
seoUrls?: Array<SeoUrl>;
|
|
95
|
-
seoUrlTemplates?: Array<SeoUrlTemplate>;
|
|
33
|
+
shippingMethods?: Array<ShippingMethod>;
|
|
96
34
|
mainCategories?: Array<MainCategory>;
|
|
97
|
-
productExports?: Array<ProductExport>;
|
|
98
|
-
analytics?: Array<SalesChannelAnalytics>;
|
|
99
35
|
customerGroupRegistrations?: Array<CustomerGroup>;
|
|
36
|
+
mailHeaderFooterId?: string;
|
|
37
|
+
mailHeaderFooter?: MailHeaderFooter;
|
|
38
|
+
homeEnabled: boolean;
|
|
39
|
+
homeName?: string;
|
|
40
|
+
homeMetaTitle?: string;
|
|
41
|
+
homeMetaDescription?: string;
|
|
42
|
+
homeKeywords?: string;
|
|
43
|
+
homeCmsPageId?: string;
|
|
44
|
+
homeCmsPageVersionId?: string;
|
|
45
|
+
homeSlotConfig?: object;
|
|
100
46
|
landingPages?: Array<LandingPage>;
|
|
101
|
-
boundCustomers?: Array<Customer>;
|
|
102
|
-
wishlists?: Array<CustomerWishlist>;
|
|
103
47
|
};
|
|
@@ -1,24 +1,15 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
-
import { SalesChannel } from "./SalesChannel";
|
|
3
2
|
import { Language } from "../locale/Language";
|
|
4
3
|
import { Currency } from "../currency/Currency";
|
|
5
|
-
import { SnippetSet } from "../snippet/SnippetSet";
|
|
6
|
-
import { ProductExport } from "../product/ProductExport";
|
|
7
4
|
export interface SalesChannelDomain {
|
|
8
5
|
id: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
9
8
|
url: string;
|
|
10
|
-
salesChannelId: string;
|
|
11
|
-
languageId: string;
|
|
12
|
-
currencyId: string;
|
|
13
|
-
snippetSetId: string;
|
|
14
9
|
hreflangUseOnlyLocale?: boolean;
|
|
15
|
-
|
|
16
|
-
readonly createdAt?: string;
|
|
17
|
-
readonly updatedAt?: string;
|
|
18
|
-
salesChannel?: SalesChannel;
|
|
10
|
+
languageId: string;
|
|
19
11
|
language?: Language;
|
|
12
|
+
currencyId: string;
|
|
20
13
|
currency?: Currency;
|
|
21
|
-
|
|
22
|
-
salesChannelDefaultHreflang?: SalesChannel;
|
|
23
|
-
productExports: Array<ProductExport>;
|
|
14
|
+
customFields?: GenericRecord;
|
|
24
15
|
}
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
-
import { SalesChannel } from "./SalesChannel";
|
|
3
2
|
export interface SalesChannelType {
|
|
4
3
|
id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
screenshotUrls?: Array<string>;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
8
6
|
name: string;
|
|
9
|
-
manufacturer?: string;
|
|
10
7
|
description?: string;
|
|
11
8
|
descriptionLong?: string;
|
|
9
|
+
iconName?: string;
|
|
10
|
+
coverUrl?: string;
|
|
11
|
+
screenshotUrls?: Array<string>;
|
|
12
12
|
customFields?: GenericRecord;
|
|
13
|
-
|
|
14
|
-
readonly updatedAt?: string;
|
|
15
|
-
translated?: object;
|
|
16
|
-
salesChannels: Array<SalesChannel>;
|
|
13
|
+
translated?: Record<string, any>;
|
|
17
14
|
}
|
|
@@ -1,9 +1,3 @@
|
|
|
1
1
|
export { SalesChannel } from "./SalesChannel";
|
|
2
|
-
export { SalesChannelAnalytics } from "./SalesChannelAnalytics";
|
|
3
|
-
export { SalesChannelContext } from "./SalesChannelContext";
|
|
4
|
-
export { SalesChannelCountry } from "./SalesChannelCountry";
|
|
5
2
|
export { SalesChannelDomain } from "./SalesChannelDomain";
|
|
6
|
-
export { SalesChannelLanguage } from "./SalesChannelLanguage";
|
|
7
|
-
export { SalesChannelPaymentMethod } from "./SalesChannelPaymentMethod";
|
|
8
|
-
export { SalesChannelShippingMethod } from "./SalesChannelShippingMethod";
|
|
9
3
|
export { SalesChannelType } from "./SalesChannelType";
|
|
@@ -1,22 +1,18 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
import { Language } from "../locale/Language";
|
|
3
|
-
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
4
3
|
export interface SeoUrl {
|
|
5
4
|
id: string;
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
pathInfo: string;
|
|
11
|
-
seoPathInfo: string;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
7
|
+
error?: string;
|
|
8
|
+
url?: string;
|
|
12
9
|
isCanonical?: boolean;
|
|
13
10
|
isModified?: boolean;
|
|
14
11
|
isDeleted?: boolean;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
readonly updatedAt?: string;
|
|
12
|
+
pathInfo: string;
|
|
13
|
+
seoPathInfo: string;
|
|
14
|
+
routeName: string;
|
|
15
|
+
languageId: string;
|
|
20
16
|
language?: Language;
|
|
21
|
-
|
|
17
|
+
customFields?: GenericRecord;
|
|
22
18
|
}
|
|
@@ -2,13 +2,13 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
3
3
|
export interface SeoUrlTemplate {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
7
|
+
isValid?: boolean;
|
|
6
8
|
entityName: string;
|
|
7
9
|
routeName: string;
|
|
8
10
|
template?: string;
|
|
9
|
-
|
|
10
|
-
customFields?: GenericRecord;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
readonly updatedAt?: string;
|
|
11
|
+
salesChannelId?: string;
|
|
13
12
|
salesChannel?: SalesChannel;
|
|
13
|
+
customFields?: GenericRecord;
|
|
14
14
|
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
|
-
import { App } from "../app/App";
|
|
2
1
|
import { ShippingMethod } from "./ShippingMethod";
|
|
3
2
|
import { Media } from "../media/Media";
|
|
4
3
|
export interface AppShippingMethod {
|
|
5
4
|
id: string;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
6
7
|
appName: string;
|
|
7
8
|
identifier: string;
|
|
8
|
-
appId?: string;
|
|
9
|
-
shippingMethodId: string;
|
|
10
9
|
originalMediaId?: string;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
readonly updatedAt?: string;
|
|
13
|
-
app?: App;
|
|
14
|
-
shippingMethod?: ShippingMethod;
|
|
15
10
|
originalMedia?: Media;
|
|
11
|
+
shippingMethodId: string;
|
|
12
|
+
shippingMethod?: ShippingMethod;
|
|
16
13
|
}
|
|
@@ -1,24 +1,11 @@
|
|
|
1
1
|
import { ShippingMethod as StoreApiShippingMethod } from "#types/api/store/shippingMethod/ShippingMethod";
|
|
2
|
-
import { DeliveryTime } from "../DeliveryTime";
|
|
3
2
|
import { Rule } from "../rule/Rule";
|
|
4
3
|
import { ShippingMethodPrice } from "./ShippingMethodPrice";
|
|
5
4
|
import { Media } from "../media/Media";
|
|
6
5
|
import { Tag } from "../Tag";
|
|
7
|
-
|
|
8
|
-
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
9
|
-
import { Tax } from "../tax/Tax";
|
|
10
|
-
import { AppShippingMethod } from "./AppShippingMethod";
|
|
11
|
-
export type ShippingMethod = StoreApiShippingMethod & {
|
|
12
|
-
availabilityRuleId?: string;
|
|
13
|
-
taxId?: string;
|
|
14
|
-
deliveryTime?: DeliveryTime;
|
|
15
|
-
availabilityRule?: Rule;
|
|
16
|
-
prices?: Array<ShippingMethodPrice>;
|
|
6
|
+
export type ShippingMethod = Omit<StoreApiShippingMethod, "media" | "tags" | "prices" | "availabilityRule"> & {
|
|
17
7
|
media?: Media;
|
|
18
8
|
tags?: Array<Tag>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
salesChannelDefaultAssignments?: Array<SalesChannel>;
|
|
22
|
-
tax?: Tax;
|
|
23
|
-
appShippingMethod?: AppShippingMethod;
|
|
9
|
+
prices?: Array<ShippingMethodPrice>;
|
|
10
|
+
availabilityRule?: Rule;
|
|
24
11
|
};
|
|
@@ -1,8 +1,5 @@
|
|
|
1
1
|
import { ShippingMethodPrice as StoreApiShippingMethodPrice } from "#types/api/store/shippingMethod/ShippingMethodPrice";
|
|
2
|
-
import { ShippingMethod } from "./ShippingMethod";
|
|
3
2
|
import { Rule } from "../rule/Rule";
|
|
4
|
-
export type ShippingMethodPrice = StoreApiShippingMethodPrice & {
|
|
5
|
-
shippingMethod?: ShippingMethod;
|
|
6
|
-
rule?: Rule;
|
|
3
|
+
export type ShippingMethodPrice = Omit<StoreApiShippingMethodPrice, "calculationRule"> & {
|
|
7
4
|
calculationRule?: Rule;
|
|
8
5
|
};
|
|
@@ -4,14 +4,14 @@ import { StateMachineTransition } from "./StateMachineTransition";
|
|
|
4
4
|
import { StateMachineHistory } from "./StateMachineHistory";
|
|
5
5
|
export interface StateMachine {
|
|
6
6
|
id: string;
|
|
7
|
+
readonly createdAt: string;
|
|
8
|
+
readonly updatedAt?: string;
|
|
7
9
|
technicalName: string;
|
|
8
10
|
name: string;
|
|
9
|
-
customFields?: GenericRecord;
|
|
10
11
|
initialStateId?: string;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
readonly updatedAt?: string;
|
|
13
|
-
translated?: object;
|
|
14
12
|
states?: Array<StateMachineState>;
|
|
15
13
|
transitions?: Array<StateMachineTransition>;
|
|
16
14
|
historyEntries?: Array<StateMachineHistory>;
|
|
15
|
+
customFields?: GenericRecord;
|
|
16
|
+
translated?: Record<string, any>;
|
|
17
17
|
}
|