@devite/shopware-client 1.0.1 → 1.1.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/dist/index.cjs +12140 -453
- package/dist/index.d.cts +11772 -1421
- package/dist/index.d.mts +11772 -1421
- package/dist/index.d.ts +11772 -1421
- package/dist/index.mjs +12140 -441
- package/dist/{types → src/http}/HTTPRequestMethod.d.ts +2 -1
- package/dist/types/ClientRequestOptions.d.ts +7 -4
- package/dist/types/ClientResponse.d.ts +3 -3
- package/dist/types/OAuthScope.d.ts +1 -0
- package/dist/types/RequestCacheEntry.d.ts +2 -2
- package/dist/types/api/admin/DeliveryTime.d.ts +7 -0
- package/dist/types/api/admin/LogEntry.d.ts +10 -0
- package/dist/types/api/admin/Notification.d.ts +15 -0
- package/dist/types/api/admin/Salutation.d.ts +11 -0
- package/dist/types/api/admin/ScheduledTask.d.ts +12 -0
- package/dist/types/api/admin/Script.d.ts +12 -0
- package/dist/types/api/admin/ShopwarePlugin.d.ts +30 -0
- package/dist/types/api/admin/SystemConfig.d.ts +12 -0
- package/dist/types/api/admin/Tag.d.ts +21 -0
- package/dist/types/api/admin/Unit.d.ts +5 -0
- package/dist/types/api/admin/acl/AclRole.d.ts +15 -0
- package/dist/types/api/admin/acl/AclUserRole.d.ts +11 -0
- package/dist/types/api/admin/acl/index.d.ts +2 -0
- package/dist/types/api/admin/app/App.d.ts +59 -0
- package/dist/types/api/admin/app/AppActionButton.d.ts +14 -0
- package/dist/types/api/admin/app/AppAdministrationSnippet.d.ts +8 -0
- package/dist/types/api/admin/app/AppCmsBlock.d.ts +14 -0
- package/dist/types/api/admin/app/AppScriptCondition.d.ts +17 -0
- package/dist/types/api/admin/app/AppTemplate.d.ts +11 -0
- package/dist/types/api/admin/app/index.d.ts +6 -0
- package/dist/types/api/admin/cart/Cart.d.ts +12 -0
- package/dist/types/api/admin/cart/CartItem.d.ts +4 -0
- package/dist/types/api/admin/cart/index.d.ts +2 -0
- package/dist/types/api/admin/category/Category.d.ts +17 -0
- package/dist/types/api/admin/category/CategoryTag.d.ts +10 -0
- package/dist/types/api/admin/category/MainCategory.d.ts +9 -0
- package/dist/types/api/admin/category/index.d.ts +3 -0
- package/dist/types/api/admin/cms/CmsBlock.d.ts +10 -0
- package/dist/types/api/admin/cms/CmsPage.d.ts +14 -0
- package/dist/types/api/admin/cms/CmsSection.d.ts +11 -0
- package/dist/types/api/admin/cms/CmsSlot.d.ts +5 -0
- package/dist/types/api/admin/cms/index.d.ts +5 -0
- package/dist/types/api/admin/cms/landingPage/LandingPage.d.ts +9 -0
- package/dist/types/api/admin/cms/landingPage/LandingPageSalesChannel.d.ts +10 -0
- package/dist/types/api/admin/cms/landingPage/LandingPageTag.d.ts +10 -0
- package/dist/types/api/admin/cms/landingPage/index.d.ts +3 -0
- package/dist/types/api/admin/country/Country.d.ts +16 -0
- package/dist/types/api/admin/country/CountryState.d.ts +9 -0
- package/dist/types/api/admin/currency/Currency.d.ts +16 -0
- package/dist/types/api/admin/currency/CurrencyCountryRounding.d.ts +14 -0
- package/dist/types/api/admin/currency/index.d.ts +2 -0
- package/dist/types/api/admin/custom/CustomEntity.d.ts +16 -0
- package/dist/types/api/admin/custom/field/CustomField.d.ts +16 -0
- package/dist/types/api/admin/custom/field/index.d.ts +2 -0
- package/dist/types/api/admin/custom/field/set/CustomFieldSet.d.ts +19 -0
- package/dist/types/api/admin/custom/field/set/CustomFieldSetRelation.d.ts +9 -0
- package/dist/types/api/admin/custom/field/set/index.d.ts +2 -0
- package/dist/types/api/admin/custom/index.d.ts +2 -0
- package/dist/types/api/admin/customer/Customer.d.ts +39 -0
- package/dist/types/api/admin/customer/CustomerAddress.d.ts +11 -0
- package/dist/types/api/admin/customer/CustomerRecovery.d.ts +9 -0
- package/dist/types/api/admin/customer/CustomerTag.d.ts +9 -0
- package/dist/types/api/admin/customer/group/CustomerGroup.d.ts +8 -0
- package/dist/types/api/admin/customer/group/CustomerGroupRegistrationSalesChannels.d.ts +10 -0
- package/dist/types/api/admin/customer/group/index.d.ts +2 -0
- package/dist/types/api/admin/customer/index.d.ts +6 -0
- package/dist/types/api/admin/customer/wishlist/CustomerWishlist.d.ts +15 -0
- package/dist/types/api/admin/customer/wishlist/CustomerWishlistProduct.d.ts +12 -0
- package/dist/types/api/admin/customer/wishlist/index.d.ts +2 -0
- package/dist/types/api/admin/document/ShopwareDocument.d.ts +9 -0
- package/dist/types/api/admin/document/ShopwareDocumentType.d.ts +9 -0
- package/dist/types/api/admin/document/baseConfig/ShopwareDocumentBaseConfig.d.ts +9 -0
- package/dist/types/api/admin/document/baseConfig/ShopwareDocumentBaseConfigSalesChannel.d.ts +14 -0
- package/dist/types/api/admin/document/baseConfig/index.d.ts +2 -0
- package/dist/types/api/admin/document/index.d.ts +3 -0
- package/dist/types/api/admin/flow/Flow.d.ts +18 -0
- package/dist/types/api/admin/flow/FlowSequence.d.ts +25 -0
- package/dist/types/api/admin/flow/FlowTemplate.d.ts +7 -0
- package/dist/types/api/admin/flow/app/AppFlowAction.d.ts +27 -0
- package/dist/types/api/admin/flow/app/AppFlowEvent.d.ts +14 -0
- package/dist/types/api/admin/flow/app/index.d.ts +2 -0
- package/dist/types/api/admin/flow/index.d.ts +4 -0
- package/dist/types/api/admin/importExport/ImportExportFile.d.ts +12 -0
- package/dist/types/api/admin/importExport/ImportExportLog.d.ts +24 -0
- package/dist/types/api/admin/importExport/ImportExportProfile.d.ts +20 -0
- package/dist/types/api/admin/importExport/index.d.ts +3 -0
- package/dist/types/api/admin/index.d.ts +45 -0
- package/dist/types/api/admin/integration/Integration.d.ts +32 -0
- package/dist/types/api/admin/integration/IntegrationRole.d.ts +9 -0
- package/dist/types/api/admin/integration/index.d.ts +2 -0
- package/dist/types/api/admin/locale/Language.d.ts +26 -0
- package/dist/types/api/admin/locale/Locale.d.ts +7 -0
- package/dist/types/api/admin/mail/MailHeaderFooter.d.ts +15 -0
- package/dist/types/api/admin/mail/index.d.ts +2 -0
- package/dist/types/api/admin/mail/template/MailTemplate.d.ts +19 -0
- package/dist/types/api/admin/mail/template/MailTemplateMedia.d.ts +11 -0
- package/dist/types/api/admin/mail/template/MailTemplateType.d.ts +13 -0
- package/dist/types/api/admin/mail/template/index.d.ts +3 -0
- package/dist/types/api/admin/media/Media.d.ts +89 -0
- package/dist/types/api/admin/media/MediaTag.d.ts +9 -0
- package/dist/types/api/admin/media/folder/MediaDefaultFolder.d.ts +10 -0
- package/dist/types/api/admin/media/folder/MediaFolder.d.ts +22 -0
- package/dist/types/api/admin/media/folder/configuration/MediaFolderConfiguration.d.ts +16 -0
- package/dist/types/api/admin/media/folder/configuration/MediaFolderConfigurationMediaThumbnailSize.d.ts +9 -0
- package/dist/types/api/admin/media/folder/configuration/index.d.ts +2 -0
- package/dist/types/api/admin/media/folder/index.d.ts +3 -0
- package/dist/types/api/admin/media/index.d.ts +4 -0
- package/dist/types/api/admin/media/thumbnail/MediaThumbnail.d.ts +5 -0
- package/dist/types/api/admin/media/thumbnail/MediaThumbnailSize.d.ts +11 -0
- package/dist/types/api/admin/media/thumbnail/index.d.ts +2 -0
- package/dist/types/api/admin/newsletterRecipient/NewsletterRecipient.d.ts +28 -0
- package/dist/types/api/admin/newsletterRecipient/NewsletterRecipientTag.d.ts +9 -0
- package/dist/types/api/admin/newsletterRecipient/index.d.ts +2 -0
- package/dist/types/api/admin/numberRange/NumberRange.d.ts +20 -0
- package/dist/types/api/admin/numberRange/NumberRangeSalesChannel.d.ts +14 -0
- package/dist/types/api/admin/numberRange/NumberRangeState.d.ts +9 -0
- package/dist/types/api/admin/numberRange/NumberRangeType.d.ts +15 -0
- package/dist/types/api/admin/numberRange/index.d.ts +4 -0
- package/dist/types/api/admin/order/Order.d.ts +33 -0
- package/dist/types/api/admin/order/OrderAddress.d.ts +15 -0
- package/dist/types/api/admin/order/OrderCustomer.d.ts +13 -0
- package/dist/types/api/admin/order/OrderTag.d.ts +10 -0
- package/dist/types/api/admin/order/delivery/OrderDelivery.d.ts +13 -0
- package/dist/types/api/admin/order/delivery/OrderDeliveryPosition.d.ts +7 -0
- package/dist/types/api/admin/order/delivery/index.d.ts +2 -0
- package/dist/types/api/admin/order/index.d.ts +9 -0
- package/dist/types/api/admin/order/lineItem/OrderLineItem.d.ts +13 -0
- package/dist/types/api/admin/order/lineItem/OrderLineItemDownload.d.ts +7 -0
- package/dist/types/api/admin/order/lineItem/index.d.ts +2 -0
- package/dist/types/api/admin/order/return/OrderReturn.d.ts +17 -0
- package/dist/types/api/admin/order/return/OrderReturnLineItem.d.ts +18 -0
- package/dist/types/api/admin/order/return/OrderReturnLineItemReason.d.ts +8 -0
- package/dist/types/api/admin/order/return/index.d.ts +1 -0
- package/dist/types/api/admin/order/transaction/OrderTransaction.d.ts +9 -0
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCapture.d.ts +9 -0
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +9 -0
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +7 -0
- package/dist/types/api/admin/order/transaction/capture/index.d.ts +3 -0
- package/dist/types/api/admin/order/transaction/index.d.ts +2 -0
- package/dist/types/api/admin/order/warehouse/OrderProductWarehouse.d.ts +10 -0
- package/dist/types/api/admin/order/warehouse/OrderWarehouseGroup.d.ts +7 -0
- package/dist/types/api/admin/order/warehouse/index.d.ts +2 -0
- package/dist/types/api/admin/paymentMethod/AppPaymentMethod.d.ts +22 -0
- package/dist/types/api/admin/paymentMethod/PaymentMethod.d.ts +22 -0
- package/dist/types/api/admin/paymentMethod/index.d.ts +2 -0
- package/dist/types/api/admin/product/Product.d.ts +65 -0
- package/dist/types/api/admin/product/ProductConfiguratorSetting.d.ts +8 -0
- package/dist/types/api/admin/product/ProductCustomFieldSet.d.ts +9 -0
- package/dist/types/api/admin/product/ProductDownload.d.ts +17 -0
- package/dist/types/api/admin/product/ProductExport.d.ts +32 -0
- package/dist/types/api/admin/product/ProductFeatureSet.d.ts +11 -0
- package/dist/types/api/admin/product/ProductKeywordDictionary.d.ts +8 -0
- package/dist/types/api/admin/product/ProductManufacturer.d.ts +7 -0
- package/dist/types/api/admin/product/ProductMedia.d.ts +17 -0
- package/dist/types/api/admin/product/ProductOption.d.ts +10 -0
- package/dist/types/api/admin/product/ProductPrice.d.ts +19 -0
- package/dist/types/api/admin/product/ProductProperty.d.ts +10 -0
- package/dist/types/api/admin/product/ProductSorting.d.ts +12 -0
- package/dist/types/api/admin/product/ProductTag.d.ts +11 -0
- package/dist/types/api/admin/product/ProductVisibility.d.ts +13 -0
- package/dist/types/api/admin/product/category/ProductCategory.d.ts +11 -0
- package/dist/types/api/admin/product/category/ProductCategoryTree.d.ts +11 -0
- package/dist/types/api/admin/product/category/index.d.ts +2 -0
- package/dist/types/api/admin/product/crossSelling/ProductCrossSelling.d.ts +12 -0
- package/dist/types/api/admin/product/crossSelling/ProductCrossSellingAssignedProduct.d.ts +13 -0
- package/dist/types/api/admin/product/crossSelling/index.d.ts +2 -0
- package/dist/types/api/admin/product/index.d.ts +21 -0
- package/dist/types/api/admin/product/review/ProductReview.d.ts +13 -0
- package/dist/types/api/admin/product/review/ProductReviewSummary.d.ts +2 -0
- package/dist/types/api/admin/product/review/index.d.ts +2 -0
- package/dist/types/api/admin/product/search/ProductSearchKeyword.d.ts +15 -0
- package/dist/types/api/admin/product/search/config/ProductSearchConfig.d.ts +13 -0
- package/dist/types/api/admin/product/search/config/ProductSearchConfigField.d.ts +15 -0
- package/dist/types/api/admin/product/search/config/index.d.ts +2 -0
- package/dist/types/api/admin/product/search/index.d.ts +2 -0
- package/dist/types/api/admin/product/stream/ProductStream.d.ts +13 -0
- package/dist/types/api/admin/product/stream/ProductStreamFilter.d.ts +19 -0
- package/dist/types/api/admin/product/stream/ProductStreamMapping.d.ts +10 -0
- package/dist/types/api/admin/product/stream/index.d.ts +3 -0
- package/dist/types/api/admin/product/warehouse/ProductWarehouse.d.ts +7 -0
- package/dist/types/api/admin/product/warehouse/ProductWarehouseGroup.d.ts +6 -0
- package/dist/types/api/admin/product/warehouse/index.d.ts +2 -0
- package/dist/types/api/admin/promotion/Promotion.d.ts +44 -0
- package/dist/types/api/admin/promotion/PromotionIndividualCode.d.ts +10 -0
- package/dist/types/api/admin/promotion/PromotionPersonaCustomer.d.ts +9 -0
- package/dist/types/api/admin/promotion/PromotionSalesChannel.d.ts +12 -0
- package/dist/types/api/admin/promotion/PromotionSetGroup.d.ts +13 -0
- package/dist/types/api/admin/promotion/discount/PromotionDiscount.d.ts +21 -0
- package/dist/types/api/admin/promotion/discount/PromotionDiscountPrice.d.ts +12 -0
- package/dist/types/api/admin/promotion/discount/PromotionDiscountRule.d.ts +9 -0
- package/dist/types/api/admin/promotion/discount/index.d.ts +3 -0
- package/dist/types/api/admin/promotion/index.d.ts +7 -0
- package/dist/types/api/admin/promotion/rule/PromotionCartRule.d.ts +9 -0
- package/dist/types/api/admin/promotion/rule/PromotionOrderRule.d.ts +9 -0
- package/dist/types/api/admin/promotion/rule/PromotionPersonaRule.d.ts +9 -0
- package/dist/types/api/admin/promotion/rule/PromotionSetGroupRule.d.ts +9 -0
- package/dist/types/api/admin/promotion/rule/index.d.ts +4 -0
- package/dist/types/api/admin/propertyGroup/PropertyGroup.d.ts +5 -0
- package/dist/types/api/admin/propertyGroup/PropertyGroupOption.d.ts +12 -0
- package/dist/types/api/admin/rule/Rule.d.ts +31 -0
- package/dist/types/api/admin/rule/RuleCondition.d.ts +19 -0
- package/dist/types/api/admin/rule/RuleTag.d.ts +9 -0
- package/dist/types/api/admin/rule/index.d.ts +3 -0
- package/dist/types/api/admin/salesChannel/SalesChannel.d.ts +103 -0
- package/dist/types/api/admin/salesChannel/SalesChannelAnalytics.d.ts +11 -0
- package/dist/types/api/admin/salesChannel/SalesChannelContext.d.ts +31 -0
- package/dist/types/api/admin/salesChannel/SalesChannelCountry.d.ts +9 -0
- package/dist/types/api/admin/salesChannel/SalesChannelCurrency.d.ts +9 -0
- package/dist/types/api/admin/salesChannel/SalesChannelDomain.d.ts +24 -0
- package/dist/types/api/admin/salesChannel/SalesChannelLanguage.d.ts +9 -0
- package/dist/types/api/admin/salesChannel/SalesChannelPaymentMethod.d.ts +9 -0
- package/dist/types/api/admin/salesChannel/SalesChannelShippingMethod.d.ts +9 -0
- package/dist/types/api/admin/salesChannel/SalesChannelType.d.ts +17 -0
- package/dist/types/api/admin/salesChannel/index.d.ts +9 -0
- package/dist/types/api/admin/seo/SeoUrl.d.ts +22 -0
- package/dist/types/api/admin/seo/SeoUrlTemplate.d.ts +14 -0
- package/dist/types/api/admin/seo/Sitemap.d.ts +3 -0
- package/dist/types/api/admin/seo/index.d.ts +2 -0
- package/dist/types/api/admin/shippingMethod/AppShippingMethod.d.ts +16 -0
- package/dist/types/api/admin/shippingMethod/ShippingMethod.d.ts +24 -0
- package/dist/types/api/admin/shippingMethod/ShippingMethodPrice.d.ts +8 -0
- package/dist/types/api/admin/shippingMethod/ShippingMethodTag.d.ts +9 -0
- package/dist/types/api/admin/shippingMethod/index.d.ts +4 -0
- package/dist/types/api/admin/snippet/Snippet.d.ts +13 -0
- package/dist/types/api/admin/snippet/SnippetSet.d.ts +13 -0
- package/dist/types/api/admin/snippet/index.d.ts +2 -0
- package/dist/types/api/admin/stateMachine/StateMachine.d.ts +17 -0
- package/dist/types/api/admin/stateMachine/StateMachineHistory.d.ts +21 -0
- package/dist/types/api/admin/stateMachine/StateMachineState.d.ts +22 -0
- package/dist/types/api/admin/stateMachine/StateMachineTransition.d.ts +16 -0
- package/dist/types/api/admin/stateMachine/index.d.ts +4 -0
- package/dist/types/api/admin/subscription/Subscription.d.ts +27 -0
- package/dist/types/api/admin/subscription/SubscriptionAddress.d.ts +6 -0
- package/dist/types/api/admin/subscription/SubscriptionCustomer.d.ts +15 -0
- package/dist/types/api/admin/subscription/SubscriptionInterval.d.ts +9 -0
- package/dist/types/api/admin/subscription/SubscriptionTagMapping.d.ts +5 -0
- package/dist/types/api/admin/subscription/index.d.ts +6 -0
- package/dist/types/api/admin/subscription/plan/SubscriptionPlan.d.ts +11 -0
- package/dist/types/api/admin/subscription/plan/SubscriptionPlanIntervalMapping.d.ts +5 -0
- package/dist/types/api/admin/subscription/plan/SubscriptionPlanProductMapping.d.ts +6 -0
- package/dist/types/api/admin/subscription/plan/index.d.ts +3 -0
- package/dist/types/api/admin/tax/Tax.d.ts +9 -0
- package/dist/types/api/admin/tax/TaxProvider.d.ts +19 -0
- package/dist/types/api/admin/tax/index.d.ts +3 -0
- package/dist/types/api/admin/tax/rule/TaxRule.d.ts +22 -0
- package/dist/types/api/admin/tax/rule/TaxRuleType.d.ts +11 -0
- package/dist/types/api/admin/tax/rule/index.d.ts +2 -0
- package/dist/types/api/admin/theme/Theme.d.ts +25 -0
- package/dist/types/api/admin/theme/ThemeChild.d.ts +8 -0
- package/dist/types/api/admin/theme/ThemeMedia.d.ts +9 -0
- package/dist/types/api/admin/theme/ThemeSalesChannel.d.ts +9 -0
- package/dist/types/api/admin/theme/index.d.ts +4 -0
- package/dist/types/api/admin/user/User.d.ts +52 -0
- package/dist/types/api/admin/user/UserAccessKey.d.ts +13 -0
- package/dist/types/api/admin/user/UserConfig.d.ts +10 -0
- package/dist/types/api/admin/user/UserRecovery.d.ts +9 -0
- package/dist/types/api/admin/user/index.d.ts +4 -0
- package/dist/types/api/admin/warehouse/Warehouse.d.ts +5 -0
- package/dist/types/api/admin/warehouse/WarehouseGroup.d.ts +7 -0
- package/dist/types/api/admin/warehouse/WarehouseGroupWarehouse.d.ts +6 -0
- package/dist/types/api/admin/warehouse/index.d.ts +1 -0
- package/dist/types/api/admin/webhook/Webhook.d.ts +14 -0
- package/dist/types/api/admin/webhook/WebhookEventLog.d.ts +20 -0
- package/dist/types/api/admin/webhook/index.d.ts +2 -0
- package/dist/types/api/global/GenericRecord.d.ts +3 -0
- package/dist/types/api/global/Rounding.d.ts +5 -0
- package/dist/types/api/global/aggregation/Aggregation.d.ts +7 -0
- package/dist/types/{storeApi → api/global}/aggregation/AggregationEntity.d.ts +2 -2
- package/dist/types/api/global/aggregation/AggregationFilter.d.ts +6 -0
- package/dist/types/{storeApi → api/global}/aggregation/AggregationHistogram.d.ts +2 -2
- package/dist/types/{storeApi → api/global}/aggregation/AggregationMetrics.d.ts +2 -2
- package/dist/types/{storeApi → api/global}/aggregation/AggregationRange.d.ts +2 -2
- package/dist/types/{storeApi → api/global}/aggregation/AggregationTerms.d.ts +3 -3
- package/dist/types/{storeApi → api/global}/aggregation/index.d.ts +1 -1
- package/dist/types/{storeApi → api/global}/filter/EqualsFilter.d.ts +2 -2
- package/dist/types/api/global/filter/Filters.d.ts +5 -0
- package/dist/types/{storeApi → api/global}/filter/MultiNotFilter.d.ts +3 -3
- package/dist/types/{storeApi → api/global}/filter/RangeFilter.d.ts +2 -2
- package/dist/types/{storeApi → api/global}/filter/SimpleFilter.d.ts +2 -2
- package/dist/types/api/global/index.d.ts +6 -0
- package/dist/types/{storeApi → api/global}/price/Price.d.ts +2 -2
- package/dist/types/api/global/price/index.d.ts +1 -0
- package/dist/types/api/global/query/Criteria.d.ts +23 -0
- package/dist/types/api/global/query/Includes.d.ts +1 -0
- package/dist/types/api/global/query/Query.d.ts +8 -0
- package/dist/types/{storeApi → api/global}/query/Sort.d.ts +2 -2
- package/dist/types/{storeApi → api/global}/query/index.d.ts +2 -1
- package/dist/types/{storeApi → api/global}/query/product/ProductListingCriteria.d.ts +2 -1
- package/dist/types/{storeApi → api/global}/query/product/ProductListingFlags.d.ts +2 -2
- package/dist/types/{storeApi → api/store}/Currency.d.ts +6 -13
- package/dist/types/{storeApi → api/store}/DeliveryTime.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/EntitySearchResult.d.ts +2 -2
- package/dist/types/{storeApi → api/store}/PaymentMethod.d.ts +4 -4
- package/dist/types/{storeApi → api/store}/Rule.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/Salutation.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/StateMachineState.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/Tag.d.ts +2 -2
- package/dist/types/{storeApi → api/store}/Tax.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/Unit.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/cart/Cart.d.ts +6 -4
- package/dist/types/{storeApi → api/store}/cart/CartError.d.ts +2 -2
- package/dist/types/api/store/cart/CartItems.d.ts +2 -0
- package/dist/types/api/store/cart/delivery/CartDelivery.d.ts +15 -0
- package/dist/types/{storeApi/cart → api/store/cart/delivery}/CartDeliveryDate.d.ts +2 -2
- package/dist/types/{storeApi/cart → api/store/cart/delivery}/CartDeliveryInformation.d.ts +3 -3
- package/dist/types/api/store/cart/delivery/CartDeliveryPosition.d.ts +9 -0
- package/dist/types/api/store/cart/delivery/CartDeliveryShippingLocation.d.ts +7 -0
- package/dist/types/{storeApi/cart → api/store/cart/delivery}/CartDeliveryTime.d.ts +2 -2
- package/dist/types/api/store/cart/index.d.ts +3 -0
- package/dist/types/{storeApi → api/store}/category/Category.d.ts +8 -8
- package/dist/types/{storeApi → api/store}/category/MainCategory.d.ts +2 -2
- package/dist/types/{storeApi → api/store}/cms/CmsBlock.d.ts +7 -5
- package/dist/types/{storeApi → api/store}/cms/CmsPage.d.ts +6 -5
- package/dist/types/{storeApi → api/store}/cms/CmsSection.d.ts +8 -5
- package/dist/types/{storeApi → api/store}/cms/CmsSlot.d.ts +4 -4
- package/dist/types/{storeApi → api/store}/cms/LandingPage.d.ts +5 -5
- package/dist/types/{storeApi → api/store}/cms/Visibility.d.ts +2 -2
- package/dist/types/{storeApi → api/store}/country/Country.d.ts +4 -4
- package/dist/types/{storeApi → api/store}/country/CountryState.d.ts +3 -3
- package/dist/types/api/store/country/index.d.ts +2 -0
- package/dist/types/{storeApi → api/store}/customer/Customer.d.ts +6 -5
- package/dist/types/{storeApi → api/store}/customer/CustomerGroup.d.ts +3 -3
- package/dist/types/{storeApi/customer → api/store/customer/address}/CustomerAddress.d.ts +1 -1
- package/dist/types/{storeApi/customer → api/store/customer/address}/CustomerAddressBody.d.ts +6 -5
- package/dist/types/api/store/customer/index.d.ts +2 -0
- package/dist/types/{storeApi → api/store}/document/ShopwareDocument.d.ts +6 -6
- package/dist/types/{storeApi → api/store}/document/ShopwareDocumentBaseConfig.d.ts +4 -4
- package/dist/types/{storeApi → api/store}/document/ShopwareDocumentType.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/index.d.ts +0 -5
- package/dist/types/{storeApi → api/store}/lineItem/LineItem.d.ts +8 -6
- package/dist/types/{storeApi → api/store}/lineItem/LineItemPayload.d.ts +5 -5
- package/dist/types/{storeApi → api/store}/link/Links.d.ts +1 -1
- package/dist/types/{storeApi → api/store}/locale/Language.d.ts +4 -4
- package/dist/types/{storeApi → api/store}/locale/Locale.d.ts +3 -3
- package/dist/types/api/store/locale/index.d.ts +2 -0
- package/dist/types/{storeApi → api/store}/media/Media.d.ts +4 -4
- package/dist/types/{storeApi → api/store}/media/MediaThumbnail.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/media/ProductMedia.d.ts +5 -4
- package/dist/types/{storeApi → api/store}/order/Order.d.ts +14 -17
- package/dist/types/{storeApi → api/store}/order/OrderAddress.d.ts +1 -1
- package/dist/types/{storeApi → api/store}/order/OrderCustomer.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/order/OrderLineItem.d.ts +9 -8
- package/dist/types/{storeApi → api/store}/order/OrderLineItemDownload.d.ts +5 -5
- package/dist/types/api/store/order/OrderPrice.d.ts +9 -0
- package/dist/types/{storeApi/order → api/store/order/delivery}/OrderDelivery.d.ts +7 -6
- package/dist/types/{storeApi/order → api/store/order/delivery}/OrderDeliveryPosition.d.ts +4 -4
- package/dist/types/api/store/order/index.d.ts +6 -0
- package/dist/types/{storeApi/order → api/store/order/return}/OrderReturn.d.ts +3 -3
- package/dist/types/{storeApi/order → api/store/order/return}/OrderReturnLineItem.d.ts +2 -2
- package/dist/types/{storeApi/order → api/store/order/return}/OrderReturnLineItemReason.d.ts +2 -2
- package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransaction.d.ts +7 -7
- package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransactionCapture.d.ts +7 -6
- package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransactionCaptureRefund.d.ts +7 -6
- package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransactionCaptureRefundPosition.d.ts +6 -5
- package/dist/types/{storeApi → api/store}/price/CalculatedPrice.d.ts +7 -5
- package/dist/types/{storeApi/price → api/store/price/cart}/CartListPrice.d.ts +2 -2
- package/dist/types/{storeApi/price → api/store/price/cart}/CartPriceQuantity.d.ts +3 -3
- package/dist/types/{storeApi/price → api/store/price/cart}/CartPriceReference.d.ts +4 -3
- package/dist/types/{storeApi/price → api/store/price/cart}/CartRegulationPrice.d.ts +2 -2
- package/dist/types/api/store/price/index.d.ts +1 -0
- package/dist/types/{storeApi → api/store}/product/Product.d.ts +17 -10
- package/dist/types/{storeApi → api/store}/product/ProductConfiguratorSetting.d.ts +5 -5
- package/dist/types/{storeApi → api/store}/product/ProductDownload.d.ts +5 -5
- package/dist/types/{storeApi → api/store}/product/ProductListingResult.d.ts +1 -1
- package/dist/types/{storeApi → api/store}/product/ProductManufacturer.d.ts +4 -4
- package/dist/types/{storeApi → api/store}/product/ProductStream.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/product/crossSelling/CrossSellingElement.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/product/crossSelling/ProductCrossSelling.d.ts +2 -2
- package/dist/types/{storeApi → api/store}/product/index.d.ts +0 -2
- package/dist/types/{storeApi/product → api/store/product/review}/ProductReview.d.ts +4 -4
- package/dist/types/{storeApi/product → api/store/product/review}/ProductReviewSummary.d.ts +2 -2
- package/dist/types/{storeApi → api/store}/propertyGroup/PropertyGroup.d.ts +4 -4
- package/dist/types/{storeApi → api/store}/propertyGroup/PropertyGroupOption.d.ts +5 -5
- package/dist/types/api/store/propertyGroup/index.d.ts +2 -0
- package/dist/types/{storeApi → api/store}/salesChannel/SalesChannel.d.ts +13 -12
- package/dist/types/{storeApi → api/store}/salesChannel/SalesChannelContext.d.ts +6 -6
- package/dist/types/{storeApi → api/store}/seo/SeoUrlEntity.d.ts +3 -3
- package/dist/types/{storeApi → api/store}/seo/Sitemap.d.ts +2 -2
- package/dist/types/{storeApi → api/store}/shippingMethod/ShippingMethod.d.ts +5 -5
- package/dist/types/{storeApi → api/store}/shippingMethod/ShippingMethodPrice.d.ts +4 -4
- package/dist/types/clients/admin/AppClient.d.ts +292 -0
- package/dist/types/clients/admin/CategoryClient.d.ts +60 -0
- package/dist/types/clients/admin/ContentClient.d.ts +176 -0
- package/dist/types/clients/admin/CountryClient.d.ts +60 -0
- package/dist/types/clients/admin/CurrencyClient.d.ts +60 -0
- package/dist/types/clients/admin/CustomDataClient.d.ts +118 -0
- package/dist/types/clients/admin/CustomerClient.d.ts +184 -0
- package/dist/types/clients/admin/DeliveryTimeClient.d.ts +30 -0
- package/dist/types/clients/admin/DocumentClient.d.ts +126 -0
- package/dist/types/clients/admin/FlowClient.d.ts +89 -0
- package/dist/types/clients/admin/ImportExportClient.d.ts +89 -0
- package/dist/types/clients/admin/IntegrationClient.d.ts +30 -0
- package/dist/types/clients/admin/LocaleClient.d.ts +60 -0
- package/dist/types/clients/admin/MailClient.d.ts +125 -0
- package/dist/types/clients/admin/MediaClient.d.ts +176 -0
- package/dist/types/clients/admin/NewsletterClient.d.ts +30 -0
- package/dist/types/clients/admin/NumberRangeClient.d.ts +118 -0
- package/dist/types/clients/admin/OrderClient.d.ts +346 -0
- package/dist/types/clients/admin/PaymentMethodClient.d.ts +30 -0
- package/dist/types/clients/admin/PluginClient.d.ts +30 -0
- package/dist/types/clients/admin/ProductClient.d.ts +553 -0
- package/dist/types/clients/admin/PromotionClient.d.ts +176 -0
- package/dist/types/clients/admin/PropertyGroupClient.d.ts +60 -0
- package/dist/types/clients/admin/RuleClient.d.ts +60 -0
- package/dist/types/clients/admin/SalesChannelClient.d.ts +118 -0
- package/dist/types/clients/admin/SalutationClient.d.ts +30 -0
- package/dist/types/clients/admin/ScriptClient.d.ts +30 -0
- package/dist/types/clients/admin/SecurityClient.d.ts +30 -0
- package/dist/types/clients/admin/SeoClient.d.ts +60 -0
- package/dist/types/clients/admin/ShippingMethodClient.d.ts +60 -0
- package/dist/types/clients/admin/SnippetClient.d.ts +60 -0
- package/dist/types/clients/admin/StateMachineClient.d.ts +89 -0
- package/dist/types/clients/admin/SystemClient.d.ts +185 -0
- package/dist/types/clients/admin/TagClient.d.ts +30 -0
- package/dist/types/clients/admin/TaxClient.d.ts +118 -0
- package/dist/types/clients/admin/UnitClient.d.ts +30 -0
- package/dist/types/clients/admin/UserClient.d.ts +118 -0
- package/dist/types/clients/admin/WebhookClient.d.ts +60 -0
- package/dist/types/clients/admin/index.d.ts +1 -0
- package/dist/types/clients/store/AccountClient.d.ts +98 -0
- package/dist/types/clients/{AddressClient.d.ts → store/AddressClient.d.ts} +5 -3
- package/dist/types/clients/store/CartClient.d.ts +18 -0
- package/dist/types/clients/{CategoryClient.d.ts → store/CategoryClient.d.ts} +3 -1
- package/dist/types/clients/store/ContentClient.d.ts +32 -0
- package/dist/types/clients/{ContextClient.d.ts → store/ContextClient.d.ts} +7 -7
- package/dist/types/clients/store/CustomerAuthenticationClient.d.ts +18 -0
- package/dist/types/clients/store/DocumentClient.d.ts +4 -0
- package/dist/types/clients/{GatewayClient.d.ts → store/GatewayClient.d.ts} +4 -3
- package/dist/types/clients/{NewsletterClient.d.ts → store/NewsletterClient.d.ts} +6 -6
- package/dist/types/clients/store/OrderClient.d.ts +37 -0
- package/dist/types/clients/{ProductClient.d.ts → store/ProductClient.d.ts} +19 -11
- package/dist/types/clients/store/SeoClient.d.ts +10 -0
- package/dist/types/clients/{SystemClient.d.ts → store/SystemClient.d.ts} +11 -3
- package/dist/types/clients/store/WishlistClient.d.ts +22 -0
- package/dist/types/clients/{index.d.ts → store/index.d.ts} +0 -1
- package/dist/types/index.d.ts +1 -3
- package/package.json +23 -2
- package/dist/src/ShopwareClient.d.ts +0 -32
- package/dist/src/auth/AuthenticationStore.d.ts +0 -8
- package/dist/src/auth/AuthenticationType.d.ts +0 -5
- package/dist/src/auth/entries/AuthenticationEntry.d.ts +0 -10
- package/dist/src/auth/entries/ContextTokenEntry.d.ts +0 -13
- package/dist/src/auth/entries/OAuthEntry.d.ts +0 -15
- package/dist/src/auth/entries/index.d.ts +0 -3
- package/dist/src/auth/errors/ExpiredError.d.ts +0 -4
- package/dist/src/auth/errors/NotSavedError.d.ts +0 -4
- package/dist/src/auth/errors/index.d.ts +0 -2
- package/dist/src/auth/index.d.ts +0 -4
- package/dist/src/clients/AccountClient.d.ts +0 -16
- package/dist/src/clients/AddressClient.d.ts +0 -11
- package/dist/src/clients/CartClient.d.ts +0 -10
- package/dist/src/clients/CategoryClient.d.ts +0 -8
- package/dist/src/clients/Client.d.ts +0 -16
- package/dist/src/clients/ContentClient.d.ts +0 -9
- package/dist/src/clients/ContextClient.d.ts +0 -7
- package/dist/src/clients/CustomerAuthenticationClient.d.ts +0 -11
- package/dist/src/clients/DocumentClient.d.ts +0 -6
- package/dist/src/clients/GatewayClient.d.ts +0 -6
- package/dist/src/clients/NewsletterClient.d.ts +0 -8
- package/dist/src/clients/OrderClient.d.ts +0 -10
- package/dist/src/clients/PaymentClient.d.ts +0 -6
- package/dist/src/clients/ProductClient.d.ts +0 -14
- package/dist/src/clients/SeoClient.d.ts +0 -8
- package/dist/src/clients/SystemClient.d.ts +0 -12
- package/dist/src/clients/WishlistClient.d.ts +0 -9
- package/dist/src/clients/index.d.ts +0 -17
- package/dist/src/index.d.ts +0 -1
- package/dist/src/payloads/BinaryPayload.d.ts +0 -10
- package/dist/src/payloads/JsonPayload.d.ts +0 -10
- package/dist/src/payloads/index.d.ts +0 -3
- package/dist/types/clients/AccountClient.d.ts +0 -70
- package/dist/types/clients/CartClient.d.ts +0 -17
- package/dist/types/clients/ContentClient.d.ts +0 -29
- package/dist/types/clients/CustomerAuthenticationClient.d.ts +0 -44
- package/dist/types/clients/DocumentClient.d.ts +0 -3
- package/dist/types/clients/OrderClient.d.ts +0 -26
- package/dist/types/clients/PaymentClient.d.ts +0 -8
- package/dist/types/clients/SeoClient.d.ts +0 -7
- package/dist/types/clients/WishlistClient.d.ts +0 -21
- package/dist/types/storeApi/GenericRecord.d.ts +0 -3
- package/dist/types/storeApi/aggregation/AggregationFilter.d.ts +0 -6
- package/dist/types/storeApi/aggregation/Aggregations.d.ts +0 -2
- package/dist/types/storeApi/cart/CartDelivery.d.ts +0 -13
- package/dist/types/storeApi/cart/CartDeliveryPosition.d.ts +0 -9
- package/dist/types/storeApi/cart/CartDeliveryShippingLocation.d.ts +0 -7
- package/dist/types/storeApi/cart/CartItems.d.ts +0 -2
- package/dist/types/storeApi/cart/index.d.ts +0 -9
- package/dist/types/storeApi/customer/index.d.ts +0 -4
- package/dist/types/storeApi/filter/Filters.d.ts +0 -2
- package/dist/types/storeApi/order/index.d.ts +0 -14
- package/dist/types/storeApi/price/index.d.ts +0 -6
- package/dist/types/storeApi/query/Criteria.d.ts +0 -20
- package/dist/types/storeApi/query/Include.d.ts +0 -1
- package/dist/types/storeApi/query/Query.d.ts +0 -5
- package/dist/types/{storeApi → api/admin}/country/index.d.ts +0 -0
- package/dist/types/{storeApi → api/admin}/locale/index.d.ts +0 -0
- package/dist/types/{storeApi → api/admin}/propertyGroup/index.d.ts +0 -0
- package/dist/types/{storeApi → api/global}/filter/index.d.ts +2 -2
- /package/dist/types/{storeApi → api/global/query}/TotalCountMode.d.ts +0 -0
- /package/dist/types/{storeApi → api/global}/query/product/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/category/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/cms/BackgroundMediaMode.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/cms/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/document/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/lineItem/LineItemType.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/lineItem/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/link/Link.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/link/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/media/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/product/crossSelling/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/salesChannel/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/seo/index.d.ts +0 -0
- /package/dist/types/{storeApi → api/store}/shippingMethod/index.d.ts +0 -0
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
export * from "./aggregation";
|
|
2
1
|
export * from "./cart";
|
|
3
2
|
export * from "./category";
|
|
4
3
|
export * from "./cms";
|
|
5
4
|
export * from "./country";
|
|
6
5
|
export * from "./customer";
|
|
7
6
|
export * from "./document";
|
|
8
|
-
export * from "./filter";
|
|
9
7
|
export * from "./lineItem";
|
|
10
8
|
export * from "./link";
|
|
11
9
|
export * from "./locale";
|
|
@@ -14,19 +12,16 @@ export * from "./order";
|
|
|
14
12
|
export * from "./price";
|
|
15
13
|
export * from "./product";
|
|
16
14
|
export * from "./propertyGroup";
|
|
17
|
-
export * from "./query";
|
|
18
15
|
export * from "./salesChannel";
|
|
19
16
|
export * from "./seo";
|
|
20
17
|
export * from "./shippingMethod";
|
|
21
18
|
export { Currency } from "./Currency";
|
|
22
19
|
export { DeliveryTime } from "./DeliveryTime";
|
|
23
20
|
export { EntitySearchResult } from "./EntitySearchResult";
|
|
24
|
-
export { GenericRecord } from "./GenericRecord";
|
|
25
21
|
export { PaymentMethod } from "./PaymentMethod";
|
|
26
22
|
export { Rule } from "./Rule";
|
|
27
23
|
export { Salutation } from "./Salutation";
|
|
28
24
|
export { StateMachineState } from "./StateMachineState";
|
|
29
25
|
export { Tag } from "./Tag";
|
|
30
26
|
export { Tax } from "./Tax";
|
|
31
|
-
export { TotalCountMode } from "./TotalCountMode";
|
|
32
27
|
export { Unit } from "./Unit";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
import { ProductMedia } from "../media";
|
|
2
|
-
import { CartDeliveryInformation } from "../cart";
|
|
3
|
-
import { LineItemPayload
|
|
4
|
-
import { CalculatedPrice
|
|
5
|
-
|
|
1
|
+
import { ProductMedia } from "../media/ProductMedia";
|
|
2
|
+
import { CartDeliveryInformation } from "../cart/delivery/CartDeliveryInformation";
|
|
3
|
+
import { LineItemPayload } from "./LineItemPayload";
|
|
4
|
+
import { CalculatedPrice } from "../price/CalculatedPrice";
|
|
5
|
+
import { CartPriceQuantity } from "../price/cart/CartPriceQuantity";
|
|
6
|
+
import { LineItemType } from "./LineItemType";
|
|
7
|
+
export interface LineItem {
|
|
6
8
|
children?: Array<LineItem>;
|
|
7
9
|
cover?: ProductMedia;
|
|
8
10
|
dataContextHash?: string;
|
|
@@ -29,4 +31,4 @@ export type LineItem = {
|
|
|
29
31
|
states?: Array<"is-physical" | "is-download">;
|
|
30
32
|
type: LineItemType;
|
|
31
33
|
uniqueIdentifier?: string;
|
|
32
|
-
}
|
|
34
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Links } from "../link";
|
|
2
|
-
import { GenericRecord } from "
|
|
3
|
-
import { CalculatedPrice } from "../price";
|
|
4
|
-
export
|
|
1
|
+
import { Links } from "../link/Links";
|
|
2
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
+
import { CalculatedPrice } from "../price/CalculatedPrice";
|
|
4
|
+
export interface LineItemPayload {
|
|
5
5
|
type: string;
|
|
6
6
|
id: string;
|
|
7
7
|
attributes?: object;
|
|
@@ -71,4 +71,4 @@ export type LineItemPayload = {
|
|
|
71
71
|
createdAt?: string;
|
|
72
72
|
updatedAt?: string;
|
|
73
73
|
translated?: object;
|
|
74
|
-
}
|
|
74
|
+
}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Link } from "
|
|
1
|
+
import { Link } from "./Link";
|
|
2
2
|
export type Links = Record<string, Link>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
import { Locale } from "
|
|
3
|
-
export
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
import { Locale } from "./Locale";
|
|
3
|
+
export interface Language {
|
|
4
4
|
id: string;
|
|
5
5
|
parentId?: string;
|
|
6
6
|
localeId: string;
|
|
@@ -13,4 +13,4 @@ export type Language = {
|
|
|
13
13
|
locale?: Locale;
|
|
14
14
|
translationCode?: Locale;
|
|
15
15
|
children?: Array<Language>;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
export
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
export interface Locale {
|
|
3
3
|
id: string;
|
|
4
4
|
code: string;
|
|
5
5
|
name: string;
|
|
@@ -8,4 +8,4 @@ export type Locale = {
|
|
|
8
8
|
readonly createdAt?: string;
|
|
9
9
|
readonly updatedAt?: string;
|
|
10
10
|
translated?: object;
|
|
11
|
-
}
|
|
11
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
import { MediaThumbnail } from "
|
|
3
|
-
export
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
import { MediaThumbnail } from "./MediaThumbnail";
|
|
3
|
+
export interface Media {
|
|
4
4
|
apiAlias: "media";
|
|
5
5
|
id: string;
|
|
6
6
|
readonly mimeType?: string;
|
|
@@ -22,4 +22,4 @@ export type Media = {
|
|
|
22
22
|
translated: object;
|
|
23
23
|
thumbnails?: Array<MediaThumbnail>;
|
|
24
24
|
extensions?: any;
|
|
25
|
-
}
|
|
25
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
export
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
export interface MediaThumbnail {
|
|
3
3
|
id: string;
|
|
4
4
|
mediaId: string;
|
|
5
5
|
readonly width: number;
|
|
@@ -9,4 +9,4 @@ export type MediaThumbnail = {
|
|
|
9
9
|
customFields?: GenericRecord;
|
|
10
10
|
readonly createdAt?: string;
|
|
11
11
|
readonly updatedAt?: string;
|
|
12
|
-
}
|
|
12
|
+
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
import { MediaThumbnail } from "./MediaThumbnail";
|
|
3
|
+
import { Media } from "./Media";
|
|
4
|
+
export interface ProductMedia {
|
|
4
5
|
id: string;
|
|
5
6
|
versionId?: string;
|
|
6
7
|
productId: string;
|
|
@@ -12,4 +13,4 @@ export type ProductMedia = {
|
|
|
12
13
|
readonly updatedAt?: string;
|
|
13
14
|
media?: Media;
|
|
14
15
|
thumbnails?: MediaThumbnail;
|
|
15
|
-
}
|
|
16
|
+
}
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { OrderPrice } from "./OrderPrice";
|
|
2
|
+
import { CalculatedPrice } from "../price/CalculatedPrice";
|
|
3
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
4
|
import { StateMachineState } from "../StateMachineState";
|
|
4
|
-
import {
|
|
5
|
+
import { OrderCustomer } from "./OrderCustomer";
|
|
5
6
|
import { Currency } from "../Currency";
|
|
6
|
-
import { Language } from "../locale";
|
|
7
|
-
import {
|
|
7
|
+
import { Language } from "../locale/Language";
|
|
8
|
+
import { OrderAddress } from "./OrderAddress";
|
|
9
|
+
import { OrderDelivery } from "./delivery/OrderDelivery";
|
|
10
|
+
import { OrderLineItem } from "./OrderLineItem";
|
|
11
|
+
import { OrderTransaction } from "./transaction/OrderTransaction";
|
|
12
|
+
import { ShopwareDocument } from "#types/api/store/document/ShopwareDocument";
|
|
8
13
|
import { Tag } from "../Tag";
|
|
9
|
-
export
|
|
14
|
+
export interface Order {
|
|
10
15
|
id: string;
|
|
11
16
|
versionId?: string;
|
|
12
17
|
orderNumber?: string;
|
|
@@ -16,16 +21,8 @@ export type Order = {
|
|
|
16
21
|
languageId: string;
|
|
17
22
|
salesChannelId: string;
|
|
18
23
|
orderDateTime: string;
|
|
19
|
-
readonly orderDate
|
|
20
|
-
price:
|
|
21
|
-
netPrice: number;
|
|
22
|
-
totalPrice: number;
|
|
23
|
-
calculatedTaxes?: object;
|
|
24
|
-
taxRules?: object;
|
|
25
|
-
positionPrice: number;
|
|
26
|
-
rawTotal: number;
|
|
27
|
-
taxStatus: "Free" | "Net" | "Gross";
|
|
28
|
-
};
|
|
24
|
+
readonly orderDate?: string;
|
|
25
|
+
price: OrderPrice;
|
|
29
26
|
readonly amountTotal?: number;
|
|
30
27
|
readonly amountNet?: number;
|
|
31
28
|
readonly positionPrice?: number;
|
|
@@ -55,4 +52,4 @@ export type Order = {
|
|
|
55
52
|
documents: Array<ShopwareDocument>;
|
|
56
53
|
tags?: Array<Tag>;
|
|
57
54
|
extensions?: object;
|
|
58
|
-
}
|
|
55
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
import { Salutation } from "../Salutation";
|
|
3
|
-
export
|
|
3
|
+
export interface OrderCustomer {
|
|
4
4
|
id: string;
|
|
5
5
|
versionId?: string;
|
|
6
6
|
email: string;
|
|
@@ -15,4 +15,4 @@ export type OrderCustomer = {
|
|
|
15
15
|
readonly createdAt?: string;
|
|
16
16
|
readonly updatedAt?: string;
|
|
17
17
|
salutation?: Salutation;
|
|
18
|
-
}
|
|
18
|
+
}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import { LineItemPayload } from "../lineItem";
|
|
2
|
-
import { CartPriceQuantity } from "../price";
|
|
3
|
-
import { GenericRecord } from "
|
|
4
|
-
import { Media } from "../media";
|
|
5
|
-
import { OrderDeliveryPosition
|
|
6
|
-
|
|
1
|
+
import { LineItemPayload } from "../lineItem/LineItemPayload";
|
|
2
|
+
import { CartPriceQuantity } from "../price/cart/CartPriceQuantity";
|
|
3
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
4
|
+
import { Media } from "../media/Media";
|
|
5
|
+
import { OrderDeliveryPosition } from "./delivery/OrderDeliveryPosition";
|
|
6
|
+
import { OrderLineItemDownload } from "./OrderLineItemDownload";
|
|
7
|
+
export interface OrderLineItem {
|
|
7
8
|
apiAlias: "order_line_item";
|
|
8
9
|
id: string;
|
|
9
10
|
versionId?: string;
|
|
@@ -16,7 +17,7 @@ export type OrderLineItem = {
|
|
|
16
17
|
parentVersionId?: string;
|
|
17
18
|
coverId?: string;
|
|
18
19
|
identifier: string;
|
|
19
|
-
referencedId
|
|
20
|
+
referencedId?: string;
|
|
20
21
|
quantity: number;
|
|
21
22
|
label: string;
|
|
22
23
|
payload?: LineItemPayload;
|
|
@@ -40,4 +41,4 @@ export type OrderLineItem = {
|
|
|
40
41
|
children: Array<OrderLineItem>;
|
|
41
42
|
extensions?: object;
|
|
42
43
|
translated?: object;
|
|
43
|
-
}
|
|
44
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
import { OrderLineItem } from "
|
|
3
|
-
import { Media } from "../media";
|
|
4
|
-
export
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
import { OrderLineItem } from "./OrderLineItem";
|
|
3
|
+
import { Media } from "../media/Media";
|
|
4
|
+
export interface OrderLineItemDownload {
|
|
5
5
|
id: string;
|
|
6
6
|
versionId?: string;
|
|
7
7
|
orderLineItemId: string;
|
|
@@ -14,4 +14,4 @@ export type OrderLineItemDownload = {
|
|
|
14
14
|
readonly updatedAt?: string;
|
|
15
15
|
orderLineItem?: OrderLineItem;
|
|
16
16
|
media?: Media;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
2
|
-
import { StateMachineState } from "
|
|
3
|
-
import { OrderAddress
|
|
4
|
-
import { ShippingMethod } from "
|
|
5
|
-
|
|
1
|
+
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
2
|
+
import { StateMachineState } from "../../StateMachineState";
|
|
3
|
+
import { OrderAddress } from "../OrderAddress";
|
|
4
|
+
import { ShippingMethod } from "../../shippingMethod/ShippingMethod";
|
|
5
|
+
import { OrderDeliveryPosition } from "./OrderDeliveryPosition";
|
|
6
|
+
export interface OrderDelivery {
|
|
6
7
|
id: string;
|
|
7
8
|
versionId?: string;
|
|
8
9
|
orderId: string;
|
|
@@ -21,4 +22,4 @@ export type OrderDelivery = {
|
|
|
21
22
|
shippingOrderAddress?: OrderAddress;
|
|
22
23
|
shippingMethod?: ShippingMethod;
|
|
23
24
|
positions?: Array<OrderDeliveryPosition>;
|
|
24
|
-
}
|
|
25
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
2
|
-
import { GenericRecord } from "
|
|
3
|
-
export
|
|
1
|
+
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
2
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
+
export interface OrderDeliveryPosition {
|
|
4
4
|
id: string;
|
|
5
5
|
versionId?: string;
|
|
6
6
|
orderDeliveryId: string;
|
|
@@ -14,4 +14,4 @@ export type OrderDeliveryPosition = {
|
|
|
14
14
|
customFields?: GenericRecord;
|
|
15
15
|
readonly createdAt?: string;
|
|
16
16
|
readonly updatedAt?: string;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { Order } from "./Order";
|
|
2
|
+
export { OrderAddress } from "./OrderAddress";
|
|
3
|
+
export { OrderCustomer } from "./OrderCustomer";
|
|
4
|
+
export { OrderLineItem } from "./OrderLineItem";
|
|
5
|
+
export { OrderLineItemDownload } from "./OrderLineItemDownload";
|
|
6
|
+
export { OrderPrice } from "./OrderPrice";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
2
|
-
export
|
|
1
|
+
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
2
|
+
export interface OrderReturn {
|
|
3
3
|
id?: string;
|
|
4
4
|
versionId?: string;
|
|
5
5
|
orderId?: string;
|
|
@@ -11,4 +11,4 @@ export type OrderReturn = {
|
|
|
11
11
|
requestedAt?: string;
|
|
12
12
|
amountTotal?: number;
|
|
13
13
|
amountNet?: number;
|
|
14
|
-
}
|
|
14
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export interface OrderReturnLineItem {
|
|
2
2
|
id?: any;
|
|
3
3
|
versionId?: any;
|
|
4
4
|
orderReturnId?: any;
|
|
@@ -11,4 +11,4 @@ export type OrderReturnLineItem = {
|
|
|
11
11
|
restockQuantity?: any;
|
|
12
12
|
customFields?: any;
|
|
13
13
|
stateId?: any;
|
|
14
|
-
}
|
|
14
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
2
|
-
import { GenericRecord } from "
|
|
3
|
-
import { StateMachineState } from "
|
|
4
|
-
import { PaymentMethod } from "
|
|
5
|
-
import { OrderTransactionCapture } from "
|
|
6
|
-
export
|
|
1
|
+
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
2
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
+
import { StateMachineState } from "../../StateMachineState";
|
|
4
|
+
import { PaymentMethod } from "../../PaymentMethod";
|
|
5
|
+
import { OrderTransactionCapture } from "./OrderTransactionCapture";
|
|
6
|
+
export interface OrderTransaction {
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
9
|
orderId: string;
|
|
@@ -19,4 +19,4 @@ export type OrderTransaction = {
|
|
|
19
19
|
paymentMethod?: PaymentMethod;
|
|
20
20
|
captures?: Array<OrderTransactionCapture>;
|
|
21
21
|
shippingCosts?: CalculatedPrice;
|
|
22
|
-
}
|
|
22
|
+
}
|
package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransactionCapture.d.ts
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
2
|
-
import { GenericRecord } from "
|
|
3
|
-
import { StateMachineState } from "
|
|
4
|
-
import { OrderTransaction
|
|
5
|
-
|
|
1
|
+
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
2
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
+
import { StateMachineState } from "../../StateMachineState";
|
|
4
|
+
import { OrderTransaction } from "./OrderTransaction";
|
|
5
|
+
import { OrderTransactionCaptureRefund } from "./OrderTransactionCaptureRefund";
|
|
6
|
+
export interface OrderTransactionCapture {
|
|
6
7
|
id: string;
|
|
7
8
|
versionId?: string;
|
|
8
9
|
orderTransactionId: string;
|
|
@@ -17,4 +18,4 @@ export type OrderTransactionCapture = {
|
|
|
17
18
|
transaction?: OrderTransaction;
|
|
18
19
|
refunds?: Array<OrderTransactionCaptureRefund>;
|
|
19
20
|
shippingCosts?: CalculatedPrice;
|
|
20
|
-
}
|
|
21
|
+
}
|
package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransactionCaptureRefund.d.ts
RENAMED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
2
|
-
import { GenericRecord } from "
|
|
3
|
-
import { StateMachineState } from "
|
|
4
|
-
import { OrderTransactionCapture
|
|
5
|
-
|
|
1
|
+
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
2
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
+
import { StateMachineState } from "../../StateMachineState";
|
|
4
|
+
import { OrderTransactionCapture } from "./OrderTransactionCapture";
|
|
5
|
+
import { OrderTransactionCaptureRefundPosition } from "./OrderTransactionCaptureRefundPosition";
|
|
6
|
+
export interface OrderTransactionCaptureRefund {
|
|
6
7
|
id: string;
|
|
7
8
|
versionId?: string;
|
|
8
9
|
captureId: string;
|
|
@@ -18,4 +19,4 @@ export type OrderTransactionCaptureRefund = {
|
|
|
18
19
|
transactionCapture?: OrderTransactionCapture;
|
|
19
20
|
positions?: Array<OrderTransactionCaptureRefundPosition>;
|
|
20
21
|
shippingCosts?: CalculatedPrice;
|
|
21
|
-
}
|
|
22
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { CalculatedPrice } from "
|
|
2
|
-
import { GenericRecord } from "
|
|
3
|
-
import { OrderLineItem
|
|
4
|
-
|
|
1
|
+
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
2
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
3
|
+
import { OrderLineItem } from "../OrderLineItem";
|
|
4
|
+
import { OrderTransactionCaptureRefund } from "./OrderTransactionCaptureRefund";
|
|
5
|
+
export interface OrderTransactionCaptureRefundPosition {
|
|
5
6
|
id: string;
|
|
6
7
|
versionId?: string;
|
|
7
8
|
refundId: string;
|
|
@@ -18,4 +19,4 @@ export type OrderTransactionCaptureRefundPosition = {
|
|
|
18
19
|
orderLineItem?: OrderLineItem;
|
|
19
20
|
orderTransactionCaptureRefund?: OrderTransactionCaptureRefund;
|
|
20
21
|
shippingCosts?: CalculatedPrice;
|
|
21
|
-
}
|
|
22
|
+
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { CartPriceReference } from "./cart/CartPriceReference";
|
|
2
|
+
import { CartListPrice } from "./cart/CartListPrice";
|
|
3
|
+
import { CartRegulationPrice } from "./cart/CartRegulationPrice";
|
|
4
|
+
export interface CalculatedPrice {
|
|
3
5
|
unitPrice: number;
|
|
4
6
|
quantity: number;
|
|
5
7
|
rawTotal?: number;
|
|
@@ -10,11 +12,11 @@ export type CalculatedPrice = {
|
|
|
10
12
|
taxRate: number;
|
|
11
13
|
price: number;
|
|
12
14
|
}>;
|
|
13
|
-
referencePrice
|
|
15
|
+
referencePrice?: CartPriceReference;
|
|
14
16
|
listPrice: CartListPrice | null;
|
|
15
17
|
positionPrice: number;
|
|
16
18
|
netPrice: number;
|
|
17
|
-
regulationPrice
|
|
19
|
+
regulationPrice?: CartRegulationPrice;
|
|
18
20
|
hasRange: boolean;
|
|
19
21
|
variantId?: string | null;
|
|
20
22
|
apiAlias: "calculated_price";
|
|
@@ -22,4 +24,4 @@ export type CalculatedPrice = {
|
|
|
22
24
|
taxRate?: number;
|
|
23
25
|
name?: string;
|
|
24
26
|
}>;
|
|
25
|
-
}
|
|
27
|
+
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { CartListPrice } from "
|
|
2
|
-
export
|
|
1
|
+
import { CartListPrice } from "./CartListPrice";
|
|
2
|
+
export interface CartPriceQuantity {
|
|
3
3
|
apiAlias: "cart_price_quantity";
|
|
4
4
|
isCalculated?: boolean;
|
|
5
5
|
listPrice?: CartListPrice;
|
|
@@ -13,4 +13,4 @@ export type CartPriceQuantity = {
|
|
|
13
13
|
name?: string;
|
|
14
14
|
}>;
|
|
15
15
|
type?: string;
|
|
16
|
-
}
|
|
16
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { CartListPrice
|
|
2
|
-
|
|
1
|
+
import { CartListPrice } from "./CartListPrice";
|
|
2
|
+
import { CartRegulationPrice } from "./CartRegulationPrice";
|
|
3
|
+
export interface CartPriceReference {
|
|
3
4
|
apiAlias: "cart_price_reference";
|
|
4
5
|
purchaseUnit?: number;
|
|
5
6
|
referenceUnit?: number;
|
|
@@ -9,4 +10,4 @@ export type CartPriceReference = {
|
|
|
9
10
|
regulationPrice: CartRegulationPrice | null;
|
|
10
11
|
hasRange: boolean;
|
|
11
12
|
variantId?: string;
|
|
12
|
-
}
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { CalculatedPrice } from "./CalculatedPrice";
|
|
@@ -1,16 +1,23 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
import { CalculatedPrice } from "../price";
|
|
3
|
-
import {
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
import { CalculatedPrice } from "../price/CalculatedPrice";
|
|
3
|
+
import { ProductDownload } from "./ProductDownload";
|
|
4
4
|
import { DeliveryTime } from "../DeliveryTime";
|
|
5
5
|
import { Tax } from "../Tax";
|
|
6
|
+
import { ProductManufacturer } from "./ProductManufacturer";
|
|
6
7
|
import { Unit } from "../Unit";
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
8
|
+
import { ProductMedia } from "../media/ProductMedia";
|
|
9
|
+
import { Media } from "../media/Media";
|
|
10
|
+
import { CmsPage } from "../cms/CmsPage";
|
|
11
|
+
import { ProductCrossSelling } from "./crossSelling/ProductCrossSelling";
|
|
12
|
+
import { ProductConfiguratorSetting } from "./ProductConfiguratorSetting";
|
|
13
|
+
import { ProductReview } from "./review/ProductReview";
|
|
14
|
+
import { MainCategory } from "../category/MainCategory";
|
|
15
|
+
import { SeoUrlEntity } from "../seo/SeoUrlEntity";
|
|
16
|
+
import { PropertyGroupOption } from "#types/api/store/propertyGroup/PropertyGroupOption";
|
|
17
|
+
import { ProductStream } from "./ProductStream";
|
|
18
|
+
import { Category } from "../category/Category";
|
|
12
19
|
import { Tag } from "../Tag";
|
|
13
|
-
export
|
|
20
|
+
export interface Product {
|
|
14
21
|
apiAlias: "product";
|
|
15
22
|
id: string;
|
|
16
23
|
versionId?: string;
|
|
@@ -104,4 +111,4 @@ export type Product = {
|
|
|
104
111
|
} | null;
|
|
105
112
|
mainVariantId?: any;
|
|
106
113
|
externalReference?: any;
|
|
107
|
-
}
|
|
114
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
import { Media } from "../media";
|
|
3
|
-
import { PropertyGroupOption } from "
|
|
4
|
-
export
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
import { Media } from "../media/Media";
|
|
3
|
+
import { PropertyGroupOption } from "#types/api/store/propertyGroup/PropertyGroupOption";
|
|
4
|
+
export interface ProductConfiguratorSetting {
|
|
5
5
|
id: string;
|
|
6
6
|
versionId?: string;
|
|
7
7
|
productId: string;
|
|
@@ -14,4 +14,4 @@ export type ProductConfiguratorSetting = {
|
|
|
14
14
|
readonly updatedAt?: string;
|
|
15
15
|
media?: Media;
|
|
16
16
|
option?: PropertyGroupOption;
|
|
17
|
-
}
|
|
17
|
+
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { GenericRecord } from "
|
|
2
|
-
import { Product } from "
|
|
3
|
-
import { Media } from "../media";
|
|
4
|
-
export
|
|
1
|
+
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
+
import { Product } from "./Product";
|
|
3
|
+
import { Media } from "../media/Media";
|
|
4
|
+
export interface ProductDownload {
|
|
5
5
|
id: string;
|
|
6
6
|
versionId?: string;
|
|
7
7
|
productId: string;
|
|
@@ -13,4 +13,4 @@ export type ProductDownload = {
|
|
|
13
13
|
readonly updatedAt?: string;
|
|
14
14
|
product?: Product;
|
|
15
15
|
media?: Media;
|
|
16
|
-
}
|
|
16
|
+
}
|