@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,16 +1,5 @@
|
|
|
1
1
|
import { Currency as StoreApiCurrency } from "#types/api/store/Currency";
|
|
2
2
|
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
3
|
-
import { Order } from "../order/Order";
|
|
4
|
-
import { SalesChannelDomain } from "../salesChannel/SalesChannelDomain";
|
|
5
|
-
import { PromotionDiscountPrice } from "../promotion/discount/PromotionDiscountPrice";
|
|
6
|
-
import { ProductExport } from "../product/ProductExport";
|
|
7
|
-
import { CurrencyCountryRounding } from "./CurrencyCountryRounding";
|
|
8
3
|
export type Currency = StoreApiCurrency & {
|
|
9
|
-
salesChannelDefaultAssignments?: Array<SalesChannel>;
|
|
10
|
-
orders?: Array<Order>;
|
|
11
4
|
salesChannels?: Array<SalesChannel>;
|
|
12
|
-
salesChannelDomains?: Array<SalesChannelDomain>;
|
|
13
|
-
promotionDiscountPrices?: Array<PromotionDiscountPrice>;
|
|
14
|
-
productExports?: Array<ProductExport>;
|
|
15
|
-
countryRoundings?: Array<CurrencyCountryRounding>;
|
|
16
5
|
};
|
|
@@ -3,12 +3,12 @@ import { Currency } from "./Currency";
|
|
|
3
3
|
import { Country } from "../country/Country";
|
|
4
4
|
export interface CurrencyCountryRounding {
|
|
5
5
|
id: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
6
8
|
currencyId: string;
|
|
9
|
+
currency?: Currency;
|
|
7
10
|
countryId: string;
|
|
11
|
+
country?: Country;
|
|
8
12
|
itemRounding: Rounding;
|
|
9
13
|
totalRounding: Rounding;
|
|
10
|
-
readonly createdAt?: string;
|
|
11
|
-
readonly updatedAt?: string;
|
|
12
|
-
currency?: Currency;
|
|
13
|
-
country?: Country;
|
|
14
14
|
}
|
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import { CustomFieldSet } from "./set/CustomFieldSet";
|
|
2
|
-
import { ProductSearchConfigField } from "../../product/search/config/ProductSearchConfigField";
|
|
3
2
|
export interface CustomField {
|
|
4
3
|
id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
config?: object;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
8
6
|
active?: boolean;
|
|
9
|
-
|
|
7
|
+
type: string;
|
|
8
|
+
name: string;
|
|
10
9
|
allowCustomerWrite?: boolean;
|
|
11
10
|
allowCartExpose?: boolean;
|
|
12
|
-
|
|
13
|
-
readonly updatedAt?: string;
|
|
11
|
+
customFieldSetId?: string;
|
|
14
12
|
customFieldSet?: CustomFieldSet;
|
|
15
|
-
productSearchConfigFields?: Array<ProductSearchConfigField>;
|
|
16
13
|
}
|
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
-
import { CustomFieldSetRelation } from "./CustomFieldSetRelation";
|
|
3
|
-
import { Product } from "../../../product/Product";
|
|
4
|
-
import { App } from "../../../app/App";
|
|
5
2
|
export interface CustomFieldSet {
|
|
6
3
|
id: string;
|
|
7
|
-
|
|
8
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
9
6
|
active?: boolean;
|
|
10
|
-
|
|
7
|
+
name: string;
|
|
11
8
|
position?: number;
|
|
12
|
-
appId?: string;
|
|
13
|
-
readonly createdAt?: string;
|
|
14
|
-
readonly updatedAt?: string;
|
|
15
9
|
customFields?: GenericRecord;
|
|
16
|
-
relations?: Array<CustomFieldSetRelation>;
|
|
17
|
-
products?: Array<Product>;
|
|
18
|
-
app?: App;
|
|
19
10
|
}
|
|
@@ -1,39 +1,32 @@
|
|
|
1
1
|
import { Customer as StoreApiCustomer } from "#types/api/store/customer/Customer";
|
|
2
|
-
import { CustomerGroup } from "./
|
|
2
|
+
import { CustomerGroup } from "./CustomerGroup";
|
|
3
3
|
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
4
4
|
import { Language } from "../locale/Language";
|
|
5
5
|
import { PaymentMethod } from "../paymentMethod/PaymentMethod";
|
|
6
6
|
import { CustomerAddress } from "./CustomerAddress";
|
|
7
7
|
import { Salutation } from "../Salutation";
|
|
8
|
-
import { OrderCustomer } from "../order/OrderCustomer";
|
|
9
8
|
import { Tag } from "../Tag";
|
|
10
|
-
import {
|
|
11
|
-
import { ProductReview } from "../product/review/ProductReview";
|
|
12
|
-
import { CustomerRecovery } from "./CustomerRecovery";
|
|
13
|
-
import { CustomerWishlist } from "./wishlist/CustomerWishlist";
|
|
9
|
+
import { ProductReview } from "../product/ProductReview";
|
|
14
10
|
import { User } from "../user/User";
|
|
15
|
-
export type Customer = StoreApiCustomer & {
|
|
11
|
+
export type Customer = Omit<StoreApiCustomer, "group" | "lastPaymentMethod" | "salutation" | "addresses" | "defaultBillingAddress" | "activeBillingAddress" | "defaultShippingAddress" | "activeShippingAddress" | "productReviews"> & {
|
|
16
12
|
readonly autoIncrement?: number;
|
|
13
|
+
createdById?: string;
|
|
14
|
+
createdBy?: User;
|
|
15
|
+
updatedById?: string;
|
|
16
|
+
updatedBy?: User;
|
|
17
|
+
firstLogin?: string;
|
|
18
|
+
lastLogin?: string;
|
|
17
19
|
remoteAddress?: string;
|
|
18
|
-
requestedGroupId?: string;
|
|
19
|
-
boundSalesChannelId?: string;
|
|
20
20
|
group?: CustomerGroup;
|
|
21
21
|
salesChannel?: SalesChannel;
|
|
22
22
|
language?: Language;
|
|
23
23
|
lastPaymentMethod?: PaymentMethod;
|
|
24
|
-
|
|
25
|
-
defaultShippingAddress?: CustomerAddress;
|
|
24
|
+
tags?: Array<Tag>;
|
|
26
25
|
salutation?: Salutation;
|
|
27
26
|
addresses?: Array<CustomerAddress>;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
defaultBillingAddress?: CustomerAddress;
|
|
28
|
+
activeBillingAddress?: CustomerAddress;
|
|
29
|
+
defaultShippingAddress?: CustomerAddress;
|
|
30
|
+
activeShippingAddress?: CustomerAddress;
|
|
31
31
|
productReviews?: Array<ProductReview>;
|
|
32
|
-
recoveryCustomer?: CustomerRecovery;
|
|
33
|
-
requestedGroup?: CustomerGroup;
|
|
34
|
-
boundSalesChannel?: SalesChannel;
|
|
35
|
-
wishlists?: Array<CustomerWishlist>;
|
|
36
|
-
createdBy?: User;
|
|
37
|
-
updatedBy?: User;
|
|
38
|
-
defaultPaymentMethod?: PaymentMethod;
|
|
39
32
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { CustomerAddress as StoreApiCustomerAddress } from "#types/api/store/customer/address/CustomerAddress";
|
|
2
|
-
import { Customer } from "./Customer";
|
|
3
2
|
import { Country } from "../country/Country";
|
|
4
3
|
import { CountryState } from "../country/CountryState";
|
|
5
4
|
import { Salutation } from "../Salutation";
|
|
6
|
-
export type CustomerAddress = StoreApiCustomerAddress & {
|
|
7
|
-
|
|
5
|
+
export type CustomerAddress = Omit<StoreApiCustomerAddress, "salutation" | "country" | "countryState"> & {
|
|
6
|
+
salutation?: Salutation;
|
|
8
7
|
country?: Country;
|
|
9
8
|
countryState?: CountryState;
|
|
10
|
-
salutation?: Salutation;
|
|
11
9
|
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { CustomerGroup as StoreApiCustomerGroup } from "#types/api/store/customer/CustomerGroup";
|
|
2
|
-
import { Customer } from "
|
|
3
|
-
import { SalesChannel } from "
|
|
2
|
+
import { Customer } from "./Customer";
|
|
3
|
+
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
4
4
|
export type CustomerGroup = StoreApiCustomerGroup & {
|
|
5
5
|
customers?: Array<Customer>;
|
|
6
6
|
salesChannels?: Array<SalesChannel>;
|
|
7
|
-
registrationSalesChannels?: Array<SalesChannel>;
|
|
8
7
|
};
|
|
@@ -1,6 +1,3 @@
|
|
|
1
|
-
export
|
|
2
|
-
export * from "./wishlist";
|
|
1
|
+
export { CustomerGroup } from "./CustomerGroup";
|
|
3
2
|
export { Customer } from "./Customer";
|
|
4
3
|
export { CustomerAddress } from "./CustomerAddress";
|
|
5
|
-
export { CustomerRecovery } from "./CustomerRecovery";
|
|
6
|
-
export { CustomerTag } from "./CustomerTag";
|
|
@@ -2,11 +2,11 @@ import { ShopwareDocument as StoreApiShopwareDocument } from "#types/api/store/d
|
|
|
2
2
|
import { ShopwareDocumentType } from "./ShopwareDocumentType";
|
|
3
3
|
import { Media } from "../media/Media";
|
|
4
4
|
import { Order } from "../order/Order";
|
|
5
|
-
export type ShopwareDocument = StoreApiShopwareDocument & {
|
|
5
|
+
export type ShopwareDocument = Omit<StoreApiShopwareDocument, "order" | "documentType" | "referencedDocument" | "dependantDocuments" | "documentMediaFile" | "documentA11yMediaFile"> & {
|
|
6
|
+
order?: Order;
|
|
6
7
|
documentType?: ShopwareDocumentType;
|
|
7
8
|
referencedDocument?: ShopwareDocument;
|
|
8
9
|
dependantDocuments?: Array<ShopwareDocument>;
|
|
9
10
|
documentMediaFile?: Media;
|
|
10
11
|
documentA11yMediaFile?: Media;
|
|
11
|
-
order?: Order;
|
|
12
12
|
};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { ShopwareDocumentBaseConfig as StoreApiShopwareDocumentBaseConfig } from "#types/api/store/document/ShopwareDocumentBaseConfig";
|
|
2
|
+
import { ShopwareDocumentType } from "./ShopwareDocumentType";
|
|
3
|
+
import { Media } from "../media/Media";
|
|
4
|
+
export type ShopwareDocumentBaseConfig = Omit<StoreApiShopwareDocumentBaseConfig, "documentType" | "logo"> & {
|
|
5
|
+
documentType?: ShopwareDocumentType;
|
|
6
|
+
logo?: Media;
|
|
7
|
+
};
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { ShopwareDocumentType as StoreApiShopwareDocumentType } from "#types/api/store/document/ShopwareDocumentType";
|
|
2
2
|
import { ShopwareDocument } from "./ShopwareDocument";
|
|
3
|
-
import { ShopwareDocumentBaseConfig } from "./
|
|
4
|
-
import { ShopwareDocumentBaseConfigSalesChannel } from "./baseConfig/ShopwareDocumentBaseConfigSalesChannel";
|
|
3
|
+
import { ShopwareDocumentBaseConfig } from "./ShopwareDocumentBaseConfig";
|
|
5
4
|
export type ShopwareDocumentType = StoreApiShopwareDocumentType & {
|
|
6
5
|
documents?: Array<ShopwareDocument>;
|
|
7
6
|
documentBaseConfigs?: Array<ShopwareDocumentBaseConfig>;
|
|
8
|
-
documentBaseConfigSalesChannels?: Array<ShopwareDocumentBaseConfigSalesChannel>;
|
|
9
7
|
};
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export * from "./acl";
|
|
2
2
|
export * from "./app";
|
|
3
|
-
export * from "./cart";
|
|
4
3
|
export * from "./category";
|
|
5
4
|
export * from "./cms";
|
|
6
5
|
export * from "./country";
|
|
@@ -8,9 +7,6 @@ export * from "./currency";
|
|
|
8
7
|
export * from "./custom";
|
|
9
8
|
export * from "./customer";
|
|
10
9
|
export * from "./document";
|
|
11
|
-
export * from "./flow";
|
|
12
|
-
export * from "./importExport";
|
|
13
|
-
export * from "./integration";
|
|
14
10
|
export * from "./locale";
|
|
15
11
|
export * from "./mail";
|
|
16
12
|
export * from "./media";
|
|
@@ -25,20 +21,15 @@ export * from "./rule";
|
|
|
25
21
|
export * from "./salesChannel";
|
|
26
22
|
export * from "./seo";
|
|
27
23
|
export * from "./shippingMethod";
|
|
28
|
-
export * from "./snippet";
|
|
29
24
|
export * from "./stateMachine";
|
|
30
|
-
export * from "./subscription";
|
|
31
25
|
export * from "./tax";
|
|
32
|
-
export * from "./theme";
|
|
33
26
|
export * from "./user";
|
|
34
|
-
export * from "./warehouse";
|
|
35
27
|
export * from "./webhook";
|
|
36
28
|
export { DeliveryTime } from "./DeliveryTime";
|
|
37
29
|
export { LogEntry } from "./LogEntry";
|
|
38
30
|
export { Notification } from "./Notification";
|
|
39
31
|
export { Salutation } from "./Salutation";
|
|
40
32
|
export { ScheduledTask } from "./ScheduledTask";
|
|
41
|
-
export { Script } from "./Script";
|
|
42
33
|
export { ShopwarePlugin } from "./ShopwarePlugin";
|
|
43
34
|
export { SystemConfigEntry } from "./SystemConfigEntry";
|
|
44
35
|
export { Tag } from "./Tag";
|
|
@@ -1,26 +1,8 @@
|
|
|
1
1
|
import { Language as StoreApiLanguage } from "#types/api/store/locale/Language";
|
|
2
2
|
import { Locale } from "./Locale";
|
|
3
|
-
|
|
4
|
-
import { SalesChannelDomain } from "../salesChannel/SalesChannelDomain";
|
|
5
|
-
import { Customer } from "../customer/Customer";
|
|
6
|
-
import { NewsletterRecipient } from "../newsletterRecipient/NewsletterRecipient";
|
|
7
|
-
import { Order } from "../order/Order";
|
|
8
|
-
import { ProductSearchKeyword } from "../product/search/ProductSearchKeyword";
|
|
9
|
-
import { ProductKeywordDictionary } from "../product/ProductKeywordDictionary";
|
|
10
|
-
import { ProductReview } from "../product/review/ProductReview";
|
|
11
|
-
import { ProductSearchConfig } from "../product/search/config/ProductSearchConfig";
|
|
12
|
-
export type Language = StoreApiLanguage & {
|
|
3
|
+
export type Language = Omit<StoreApiLanguage, "parent" | "children" | "locale" | "translationCode"> & {
|
|
13
4
|
parent?: Language;
|
|
14
|
-
locale?: Locale;
|
|
15
5
|
children?: Array<Language>;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
salesChannelDomains?: Array<SalesChannelDomain>;
|
|
19
|
-
customers?: Array<Customer>;
|
|
20
|
-
newsletterRecipients?: Array<NewsletterRecipient>;
|
|
21
|
-
orders?: Array<Order>;
|
|
22
|
-
productSearchKeywords?: Array<ProductSearchKeyword>;
|
|
23
|
-
productKeywordDictionaries?: Array<ProductKeywordDictionary>;
|
|
24
|
-
productReviews?: Array<ProductReview>;
|
|
25
|
-
productSearchConfig?: ProductSearchConfig;
|
|
6
|
+
locale?: Locale;
|
|
7
|
+
translationCode?: Locale;
|
|
26
8
|
};
|
|
@@ -1,15 +1,12 @@
|
|
|
1
|
-
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
2
1
|
export interface MailHeaderFooter {
|
|
3
2
|
id: string;
|
|
4
|
-
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
5
5
|
name: string;
|
|
6
6
|
description?: string;
|
|
7
7
|
headerHtml?: string;
|
|
8
8
|
headerPlain?: string;
|
|
9
9
|
footerHtml?: string;
|
|
10
10
|
footerPlain?: string;
|
|
11
|
-
|
|
12
|
-
readonly updatedAt?: string;
|
|
13
|
-
translated?: object;
|
|
14
|
-
salesChannels?: Array<SalesChannel>;
|
|
11
|
+
translated?: Record<string, any>;
|
|
15
12
|
}
|
|
@@ -3,17 +3,16 @@ import { MailTemplateType } from "./MailTemplateType";
|
|
|
3
3
|
import { MailTemplateMedia } from "./MailTemplateMedia";
|
|
4
4
|
export interface MailTemplate {
|
|
5
5
|
id: string;
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
8
8
|
senderName?: string;
|
|
9
|
-
description?: string;
|
|
10
9
|
subject: string;
|
|
10
|
+
description?: string;
|
|
11
11
|
contentHtml: string;
|
|
12
12
|
contentPlain: string;
|
|
13
|
-
|
|
14
|
-
readonly createdAt?: string;
|
|
15
|
-
readonly updatedAt?: string;
|
|
16
|
-
translated?: object;
|
|
13
|
+
mailTemplateTypeId: string;
|
|
17
14
|
mailTemplateType?: MailTemplateType;
|
|
18
15
|
media?: Array<MailTemplateMedia>;
|
|
16
|
+
customFields?: GenericRecord;
|
|
17
|
+
translated?: Record<string, any>;
|
|
19
18
|
}
|
|
@@ -1,11 +1,7 @@
|
|
|
1
|
-
import { MailTemplate } from "./MailTemplate";
|
|
2
1
|
import { Media } from "../../media/Media";
|
|
3
2
|
export interface MailTemplateMedia {
|
|
4
3
|
id: string;
|
|
5
|
-
mailTemplateId: string;
|
|
6
|
-
languageId: string;
|
|
7
|
-
mediaId: string;
|
|
8
4
|
position?: number;
|
|
9
|
-
|
|
5
|
+
mediaId: string;
|
|
10
6
|
media?: Media;
|
|
11
7
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { MailTemplate } from "./MailTemplate";
|
|
2
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
3
|
export interface MailTemplateType {
|
|
3
4
|
id: string;
|
|
4
|
-
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
5
7
|
technicalName: string;
|
|
6
|
-
|
|
7
|
-
customFields?: object;
|
|
8
|
+
name: string;
|
|
8
9
|
templateData?: object;
|
|
9
|
-
readonly createdAt?: string;
|
|
10
|
-
readonly updatedAt?: string;
|
|
11
|
-
translated?: object;
|
|
12
10
|
mailTemplates?: Array<MailTemplate>;
|
|
11
|
+
customFields?: GenericRecord;
|
|
12
|
+
translated?: Record<string, any>;
|
|
13
13
|
}
|
|
@@ -1,89 +1,7 @@
|
|
|
1
1
|
import { Media as StoreApiMedia } from "#types/api/store/media/Media";
|
|
2
|
-
import { Tag } from "../Tag";
|
|
3
|
-
import { MediaThumbnail } from "./thumbnail/MediaThumbnail";
|
|
4
2
|
import { User } from "../user/User";
|
|
5
|
-
import { Category } from "../category/Category";
|
|
6
|
-
import { ProductManufacturer } from "../product/ProductManufacturer";
|
|
7
|
-
import { ProductMedia } from "../product/ProductMedia";
|
|
8
|
-
import { ProductDownload } from "../product/ProductDownload";
|
|
9
|
-
import { OrderLineItemDownload } from "../order/lineItem/OrderLineItemDownload";
|
|
10
|
-
import { MediaFolder } from "./folder/MediaFolder";
|
|
11
|
-
import { PropertyGroupOption } from "../propertyGroup/PropertyGroupOption";
|
|
12
|
-
import { MailTemplateMedia } from "../mail/template/MailTemplateMedia";
|
|
13
|
-
import { ShopwareDocumentBaseConfig } from "../document/baseConfig/ShopwareDocumentBaseConfig";
|
|
14
|
-
import { ShippingMethod } from "../shippingMethod/ShippingMethod";
|
|
15
|
-
import { PaymentMethod } from "../paymentMethod/PaymentMethod";
|
|
16
|
-
import { ProductConfiguratorSetting } from "../product/ProductConfiguratorSetting";
|
|
17
|
-
import { OrderLineItem } from "../order/lineItem/OrderLineItem";
|
|
18
|
-
import { CmsBlock } from "../cms/CmsBlock";
|
|
19
|
-
import { CmsSection } from "../cms/CmsSection";
|
|
20
|
-
import { CmsPage } from "../cms/CmsPage";
|
|
21
|
-
import { ShopwareDocument } from "../document/ShopwareDocument";
|
|
22
|
-
import { AppPaymentMethod } from "../paymentMethod/AppPaymentMethod";
|
|
23
|
-
import { AppShippingMethod } from "../shippingMethod/AppShippingMethod";
|
|
24
3
|
export type Media = StoreApiMedia & {
|
|
25
|
-
id: string;
|
|
26
4
|
userId?: string;
|
|
27
|
-
mediaFolderId?: string;
|
|
28
|
-
mimeType?: string;
|
|
29
|
-
readonly fileExtension?: string;
|
|
30
|
-
readonly uploadedAt?: string;
|
|
31
|
-
fileName?: string;
|
|
32
|
-
readonly fileSize?: number;
|
|
33
|
-
readonly metaData?: object;
|
|
34
|
-
readonly mediaType?: object;
|
|
35
|
-
config?: object;
|
|
36
|
-
alt?: string;
|
|
37
|
-
title?: string;
|
|
38
|
-
url?: string;
|
|
39
|
-
path?: string;
|
|
40
|
-
hasFile?: boolean;
|
|
41
|
-
private?: boolean;
|
|
42
|
-
customFields?: object;
|
|
43
|
-
readonly createdAt?: string;
|
|
44
|
-
readonly updatedAt?: string;
|
|
45
|
-
translated?: object;
|
|
46
|
-
extensions?: {
|
|
47
|
-
themes?: {
|
|
48
|
-
links?: {
|
|
49
|
-
related?: string;
|
|
50
|
-
};
|
|
51
|
-
data?: {
|
|
52
|
-
type?: string;
|
|
53
|
-
id?: string;
|
|
54
|
-
};
|
|
55
|
-
};
|
|
56
|
-
themeMedia?: {
|
|
57
|
-
links?: {
|
|
58
|
-
related?: string;
|
|
59
|
-
};
|
|
60
|
-
data?: {
|
|
61
|
-
type?: string;
|
|
62
|
-
id?: string;
|
|
63
|
-
};
|
|
64
|
-
};
|
|
65
|
-
};
|
|
66
|
-
tags?: Array<Tag>;
|
|
67
|
-
thumbnails?: Array<MediaThumbnail>;
|
|
68
5
|
user?: User;
|
|
69
|
-
|
|
70
|
-
productManufacturers?: Array<ProductManufacturer>;
|
|
71
|
-
productMedia?: Array<ProductMedia>;
|
|
72
|
-
productDownloads?: Array<ProductDownload>;
|
|
73
|
-
orderLineItemDownloads?: Array<OrderLineItemDownload>;
|
|
74
|
-
avatarUsers?: Array<User>;
|
|
75
|
-
mediaFolder?: MediaFolder;
|
|
76
|
-
propertyGroupOptions?: Array<PropertyGroupOption>;
|
|
77
|
-
mailTemplateMedia?: Array<MailTemplateMedia>;
|
|
78
|
-
documentBaseConfigs?: Array<ShopwareDocumentBaseConfig>;
|
|
79
|
-
shippingMethods?: Array<ShippingMethod>;
|
|
80
|
-
paymentMethods?: Array<PaymentMethod>;
|
|
81
|
-
productConfiguratorSettings?: Array<ProductConfiguratorSetting>;
|
|
82
|
-
orderLineItems?: Array<OrderLineItem>;
|
|
83
|
-
cmsBlocks?: Array<CmsBlock>;
|
|
84
|
-
cmsSections?: Array<CmsSection>;
|
|
85
|
-
cmsPages?: Array<CmsPage>;
|
|
86
|
-
documents?: Array<ShopwareDocument>;
|
|
87
|
-
appPaymentMethods?: Array<AppPaymentMethod>;
|
|
88
|
-
appShippingMethods?: Array<AppShippingMethod>;
|
|
6
|
+
mediaFolderId?: string;
|
|
89
7
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MediaThumbnail as StoreApiMediaThumbnail } from "#types/api/store/media/MediaThumbnail";
|
|
2
2
|
import { Media } from "../Media";
|
|
3
|
-
export type MediaThumbnail = StoreApiMediaThumbnail & {
|
|
3
|
+
export type MediaThumbnail = Omit<StoreApiMediaThumbnail, "media"> & {
|
|
4
4
|
media?: Media;
|
|
5
5
|
};
|
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
-
import { MediaFolderConfiguration } from "../folder/configuration/MediaFolderConfiguration";
|
|
3
2
|
export interface MediaThumbnailSize {
|
|
4
3
|
id: string;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
5
6
|
width: number;
|
|
6
7
|
height: number;
|
|
7
8
|
customFields?: GenericRecord;
|
|
8
|
-
readonly createdAt?: string;
|
|
9
|
-
readonly updatedAt?: string;
|
|
10
|
-
mediaFolderConfiguration?: MediaFolderConfiguration;
|
|
11
9
|
}
|
|
@@ -1,28 +1,21 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
import { Tag } from "../Tag";
|
|
3
3
|
import { Salutation } from "../Salutation";
|
|
4
|
-
import { Language } from "../locale/Language";
|
|
5
|
-
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
6
4
|
export interface NewsletterRecipient {
|
|
7
5
|
id: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
8
|
+
readonly confirmedAt?: string;
|
|
9
|
+
status: string;
|
|
8
10
|
email: string;
|
|
11
|
+
salutationId?: string;
|
|
12
|
+
salutation?: Salutation;
|
|
9
13
|
title?: string;
|
|
10
14
|
firstName?: string;
|
|
11
15
|
lastName?: string;
|
|
16
|
+
street?: string;
|
|
12
17
|
zipCode?: string;
|
|
13
18
|
city?: string;
|
|
14
|
-
street?: string;
|
|
15
|
-
status: string;
|
|
16
|
-
hash: string;
|
|
17
|
-
customFields?: GenericRecord;
|
|
18
|
-
confirmedAt?: string;
|
|
19
|
-
salutationId?: string;
|
|
20
|
-
languageId: string;
|
|
21
|
-
salesChannelId: string;
|
|
22
|
-
readonly createdAt?: string;
|
|
23
|
-
readonly updatedAt?: string;
|
|
24
19
|
tags?: Array<Tag>;
|
|
25
|
-
|
|
26
|
-
language?: Language;
|
|
27
|
-
salesChannel?: SalesChannel;
|
|
20
|
+
customFields?: GenericRecord;
|
|
28
21
|
}
|
|
@@ -1,20 +1,17 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
import { NumberRangeType } from "./NumberRangeType";
|
|
3
|
-
import { NumberRangeSalesChannel } from "./NumberRangeSalesChannel";
|
|
4
3
|
import { NumberRangeState } from "./NumberRangeState";
|
|
5
4
|
export interface NumberRange {
|
|
6
5
|
id: string;
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
9
8
|
name: string;
|
|
10
9
|
description?: string;
|
|
11
10
|
pattern: string;
|
|
12
11
|
start: number;
|
|
13
|
-
|
|
14
|
-
readonly createdAt?: string;
|
|
15
|
-
readonly updatedAt?: string;
|
|
16
|
-
translated?: object;
|
|
12
|
+
typeId: string;
|
|
17
13
|
type?: NumberRangeType;
|
|
18
|
-
numberRangeSalesChannels?: Array<NumberRangeSalesChannel>;
|
|
19
14
|
state?: NumberRangeState;
|
|
15
|
+
customFields?: GenericRecord;
|
|
16
|
+
translated?: Record<string, any>;
|
|
20
17
|
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { NumberRange } from "./NumberRange";
|
|
2
2
|
export interface NumberRangeState {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
5
|
-
lastValue: number;
|
|
6
|
-
readonly createdAt?: string;
|
|
4
|
+
readonly createdAt: string;
|
|
7
5
|
readonly updatedAt?: string;
|
|
6
|
+
lastValue: number;
|
|
7
|
+
numberRangeId: string;
|
|
8
8
|
numberRange?: NumberRange;
|
|
9
9
|
}
|
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
-
import { NumberRange } from "./NumberRange";
|
|
3
|
-
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
4
2
|
export interface NumberRangeType {
|
|
5
3
|
id: string;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
6
6
|
technicalName?: string;
|
|
7
7
|
typeName: string;
|
|
8
|
-
global: boolean;
|
|
9
8
|
customFields?: GenericRecord;
|
|
10
|
-
|
|
11
|
-
readonly updatedAt?: string;
|
|
12
|
-
translated?: object;
|
|
13
|
-
numberRanges?: Array<NumberRange>;
|
|
14
|
-
numberRangeSalesChannels?: Array<SalesChannel>;
|
|
9
|
+
translated?: Record<string, any>;
|
|
15
10
|
}
|