@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
package/dist/index.mjs
CHANGED
|
@@ -385,34 +385,11 @@ class AppClient extends Client {
|
|
|
385
385
|
"app-action-button",
|
|
386
386
|
"app action button"
|
|
387
387
|
);
|
|
388
|
-
adminSnippets = createRestEndpoint(
|
|
389
|
-
this,
|
|
390
|
-
"app-administration-snippet",
|
|
391
|
-
"app administration snippet"
|
|
392
|
-
);
|
|
393
|
-
cmsBlocks = createRestEndpoint(this, "app-cms-block", "app cms block");
|
|
394
|
-
flowActions = createRestEndpoint(
|
|
395
|
-
this,
|
|
396
|
-
"app-flow-action",
|
|
397
|
-
"app flow action"
|
|
398
|
-
);
|
|
399
|
-
flowEvents = createRestEndpoint(this, "app-flow-event", "app flow event");
|
|
400
|
-
paymentMethods = createRestEndpoint(
|
|
401
|
-
this,
|
|
402
|
-
"app-payment-method",
|
|
403
|
-
"app payment method"
|
|
404
|
-
);
|
|
405
|
-
scriptConditions = createRestEndpoint(
|
|
406
|
-
this,
|
|
407
|
-
"app-script-condition",
|
|
408
|
-
"app script condition"
|
|
409
|
-
);
|
|
410
388
|
shippingMethods = createRestEndpoint(
|
|
411
389
|
this,
|
|
412
390
|
"app-shipping-method",
|
|
413
391
|
"app shipping method"
|
|
414
392
|
);
|
|
415
|
-
templates = createRestEndpoint(this, "app-template", "app template");
|
|
416
393
|
}
|
|
417
394
|
|
|
418
395
|
let CategoryClient$1 = class CategoryClient extends Client {
|
|
@@ -426,7 +403,6 @@ let ContentClient$1 = class ContentClient extends Client {
|
|
|
426
403
|
cmsSections = createRestEndpoint(this, "cms-section", "cms section");
|
|
427
404
|
cmsSlots = createRestEndpoint(this, "cms-slot", "cms slot");
|
|
428
405
|
landingPages = createRestEndpoint(this, "landing-page", "landing page");
|
|
429
|
-
themes = createRestEndpoint(this, "theme", "theme");
|
|
430
406
|
};
|
|
431
407
|
|
|
432
408
|
let CountryClient$1 = class CountryClient extends Client {
|
|
@@ -481,21 +457,6 @@ class CustomerClient extends Client {
|
|
|
481
457
|
"customer address"
|
|
482
458
|
);
|
|
483
459
|
groups = createRestEndpoint(this, "customer-group", "customer group");
|
|
484
|
-
recoveries = createRestEndpoint(
|
|
485
|
-
this,
|
|
486
|
-
"customer-recovery",
|
|
487
|
-
"customer recovery"
|
|
488
|
-
);
|
|
489
|
-
wishlists = createRestEndpoint(
|
|
490
|
-
this,
|
|
491
|
-
"customer-wishlist",
|
|
492
|
-
"customer wishlist"
|
|
493
|
-
);
|
|
494
|
-
wishlistProducts = createRestEndpoint(
|
|
495
|
-
this,
|
|
496
|
-
"customer-wishlist-product",
|
|
497
|
-
"customer wishlist product"
|
|
498
|
-
);
|
|
499
460
|
}
|
|
500
461
|
|
|
501
462
|
class DeliveryTimeClient extends Client {
|
|
@@ -571,41 +532,8 @@ let DocumentClient$1 = class DocumentClient extends Client {
|
|
|
571
532
|
"document-base-config",
|
|
572
533
|
"document base config"
|
|
573
534
|
);
|
|
574
|
-
baseConfigSalesChannels = createRestEndpoint(
|
|
575
|
-
this,
|
|
576
|
-
"document-base-config-sales-channel",
|
|
577
|
-
"document base config sales channel"
|
|
578
|
-
);
|
|
579
535
|
};
|
|
580
536
|
|
|
581
|
-
class FlowClient extends Client {
|
|
582
|
-
flows = createRestEndpoint(this, "flow", "flow");
|
|
583
|
-
sequences = createRestEndpoint(this, "flow-sequence", "flow sequence");
|
|
584
|
-
flowTemplates = createRestEndpoint(this, "flow-template", "flow template");
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
class ImportExportClient extends Client {
|
|
588
|
-
importExportFiles = createRestEndpoint(
|
|
589
|
-
this,
|
|
590
|
-
"import-export-file",
|
|
591
|
-
"import/export file"
|
|
592
|
-
);
|
|
593
|
-
importExportLogs = createRestEndpoint(
|
|
594
|
-
this,
|
|
595
|
-
"import-export-log",
|
|
596
|
-
"import/export log"
|
|
597
|
-
);
|
|
598
|
-
importExportProfiles = createRestEndpoint(
|
|
599
|
-
this,
|
|
600
|
-
"import-export-profile",
|
|
601
|
-
"import/export profile"
|
|
602
|
-
);
|
|
603
|
-
}
|
|
604
|
-
|
|
605
|
-
class IntegrationClient extends Client {
|
|
606
|
-
integrations = createRestEndpoint(this, "integration", "integration");
|
|
607
|
-
}
|
|
608
|
-
|
|
609
537
|
class LocaleClient extends Client {
|
|
610
538
|
locales = createRestEndpoint(this, "locale", "locale");
|
|
611
539
|
languages = createRestEndpoint(this, "language", "language");
|
|
@@ -691,17 +619,6 @@ class MediaClient extends Client {
|
|
|
691
619
|
}
|
|
692
620
|
/** Rest Endpoints **/
|
|
693
621
|
media = createRestEndpoint(this, "media", "media");
|
|
694
|
-
defaultFolders = createRestEndpoint(
|
|
695
|
-
this,
|
|
696
|
-
"media-default-folder",
|
|
697
|
-
"default media folder"
|
|
698
|
-
);
|
|
699
|
-
folders = createRestEndpoint(this, "media-folder", "media folder");
|
|
700
|
-
folderConfigs = createRestEndpoint(
|
|
701
|
-
this,
|
|
702
|
-
"media-folder-configuration",
|
|
703
|
-
"media folder configuration"
|
|
704
|
-
);
|
|
705
622
|
thumbnails = createRestEndpoint(
|
|
706
623
|
this,
|
|
707
624
|
"media-thumbnail",
|
|
@@ -724,11 +641,6 @@ let NewsletterClient$1 = class NewsletterClient extends Client {
|
|
|
724
641
|
|
|
725
642
|
class NumberRangeClient extends Client {
|
|
726
643
|
numberRanges = createRestEndpoint(this, "number-range", "number range");
|
|
727
|
-
numberRangeSalesChannels = createRestEndpoint(
|
|
728
|
-
this,
|
|
729
|
-
"number-range-sales-channel",
|
|
730
|
-
"number range sales channel"
|
|
731
|
-
);
|
|
732
644
|
states = createRestEndpoint(
|
|
733
645
|
this,
|
|
734
646
|
"number-range-state",
|
|
@@ -896,11 +808,6 @@ class PluginClient extends Client {
|
|
|
896
808
|
|
|
897
809
|
let ProductClient$1 = class ProductClient extends Client {
|
|
898
810
|
products = createRestEndpoint(this, "product", "product");
|
|
899
|
-
configuratorSettings = createRestEndpoint(
|
|
900
|
-
this,
|
|
901
|
-
"product-configurator-setting",
|
|
902
|
-
"product configurator setting"
|
|
903
|
-
);
|
|
904
811
|
crossSellings = createRestEndpoint(
|
|
905
812
|
this,
|
|
906
813
|
"product-cross-selling",
|
|
@@ -916,17 +823,6 @@ let ProductClient$1 = class ProductClient extends Client {
|
|
|
916
823
|
"product-download",
|
|
917
824
|
"product download"
|
|
918
825
|
);
|
|
919
|
-
exports = createRestEndpoint(this, "product-export", "product export");
|
|
920
|
-
featureSets = createRestEndpoint(
|
|
921
|
-
this,
|
|
922
|
-
"product-feature-set",
|
|
923
|
-
"product feature set"
|
|
924
|
-
);
|
|
925
|
-
keywordDictionaries = createRestEndpoint(
|
|
926
|
-
this,
|
|
927
|
-
"product-keyword-dictionary",
|
|
928
|
-
"product keyword dictionary"
|
|
929
|
-
);
|
|
930
826
|
manufacturers = createRestEndpoint(
|
|
931
827
|
this,
|
|
932
828
|
"product-manufacturer",
|
|
@@ -957,11 +853,6 @@ let ProductClient$1 = class ProductClient extends Client {
|
|
|
957
853
|
"product-stream-filter",
|
|
958
854
|
"product stream filter"
|
|
959
855
|
);
|
|
960
|
-
visibilities = createRestEndpoint(
|
|
961
|
-
this,
|
|
962
|
-
"product-visibility",
|
|
963
|
-
"product visibility"
|
|
964
|
-
);
|
|
965
856
|
};
|
|
966
857
|
|
|
967
858
|
class PromotionClient extends Client {
|
|
@@ -1009,11 +900,6 @@ class RuleClient extends Client {
|
|
|
1009
900
|
|
|
1010
901
|
class SalesChannelClient extends Client {
|
|
1011
902
|
salesChannels = createRestEndpoint(this, "sales-channel", "sales channel");
|
|
1012
|
-
analytics = createRestEndpoint(
|
|
1013
|
-
this,
|
|
1014
|
-
"sales-channel-analytics",
|
|
1015
|
-
"sales channel analytics"
|
|
1016
|
-
);
|
|
1017
903
|
domains = createRestEndpoint(
|
|
1018
904
|
this,
|
|
1019
905
|
"sales-channel-domain",
|
|
@@ -1030,10 +916,6 @@ class SalutationClient extends Client {
|
|
|
1030
916
|
salutations = createRestEndpoint(this, "salutation", "salutation");
|
|
1031
917
|
}
|
|
1032
918
|
|
|
1033
|
-
class ScriptClient extends Client {
|
|
1034
|
-
scripts = createRestEndpoint(this, "script", "script");
|
|
1035
|
-
}
|
|
1036
|
-
|
|
1037
919
|
class SecurityClient extends Client {
|
|
1038
920
|
aclRoles = createRestEndpoint(this, "acl-role", "acl role");
|
|
1039
921
|
}
|
|
@@ -1060,11 +942,6 @@ class ShippingMethodClient extends Client {
|
|
|
1060
942
|
);
|
|
1061
943
|
}
|
|
1062
944
|
|
|
1063
|
-
class SnippetClient extends Client {
|
|
1064
|
-
snippets = createRestEndpoint(this, "snippet", "snippet");
|
|
1065
|
-
sets = createRestEndpoint(this, "snippet-set", "snippet set");
|
|
1066
|
-
}
|
|
1067
|
-
|
|
1068
945
|
class StateMachineClient extends Client {
|
|
1069
946
|
stateMachines = createRestEndpoint(this, "state-machine", "state machine");
|
|
1070
947
|
states = createRestEndpoint(
|
|
@@ -1283,7 +1160,6 @@ class UserClient extends Client {
|
|
|
1283
1160
|
users = createRestEndpoint(this, "user", "user");
|
|
1284
1161
|
accessKeys = createRestEndpoint(this, "user-access-key", "user access key");
|
|
1285
1162
|
userConfigs = createRestEndpoint(this, "user-config", "user config");
|
|
1286
|
-
userRecoveries = createRestEndpoint(this, "user-recovery", "user recovery");
|
|
1287
1163
|
}
|
|
1288
1164
|
|
|
1289
1165
|
class WebhookClient extends Client {
|
|
@@ -1393,15 +1269,6 @@ class AdminShopwareClient extends ShopwareClient {
|
|
|
1393
1269
|
forDocument() {
|
|
1394
1270
|
return new DocumentClient$1(this);
|
|
1395
1271
|
}
|
|
1396
|
-
forFlow() {
|
|
1397
|
-
return new FlowClient(this);
|
|
1398
|
-
}
|
|
1399
|
-
forImportExport() {
|
|
1400
|
-
return new ImportExportClient(this);
|
|
1401
|
-
}
|
|
1402
|
-
forIntegration() {
|
|
1403
|
-
return new IntegrationClient(this);
|
|
1404
|
-
}
|
|
1405
1272
|
forLocale() {
|
|
1406
1273
|
return new LocaleClient(this);
|
|
1407
1274
|
}
|
|
@@ -1444,9 +1311,6 @@ class AdminShopwareClient extends ShopwareClient {
|
|
|
1444
1311
|
forSalutation() {
|
|
1445
1312
|
return new SalutationClient(this);
|
|
1446
1313
|
}
|
|
1447
|
-
forScript() {
|
|
1448
|
-
return new ScriptClient(this);
|
|
1449
|
-
}
|
|
1450
1314
|
forSecurity() {
|
|
1451
1315
|
return new SecurityClient(this);
|
|
1452
1316
|
}
|
|
@@ -1456,9 +1320,6 @@ class AdminShopwareClient extends ShopwareClient {
|
|
|
1456
1320
|
forShippingMethod() {
|
|
1457
1321
|
return new ShippingMethodClient(this);
|
|
1458
1322
|
}
|
|
1459
|
-
forSnippet() {
|
|
1460
|
-
return new SnippetClient(this);
|
|
1461
|
-
}
|
|
1462
1323
|
forStateMachine() {
|
|
1463
1324
|
return new StateMachineClient(this);
|
|
1464
1325
|
}
|
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import { DeliveryTime as StoreApiDeliveryTime } from "#types/api/store/DeliveryTime";
|
|
2
|
-
import { ShippingMethod } from "./shippingMethod/ShippingMethod";
|
|
3
2
|
import { Product } from "./product/Product";
|
|
4
3
|
export type DeliveryTime = StoreApiDeliveryTime & {
|
|
5
|
-
shippingMethods?: Array<ShippingMethod>;
|
|
6
4
|
products?: Array<Product>;
|
|
7
5
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
export interface LogEntry {
|
|
2
2
|
id: string;
|
|
3
|
-
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
4
5
|
level?: number;
|
|
6
|
+
message?: string;
|
|
5
7
|
channel?: string;
|
|
6
8
|
context?: object;
|
|
7
|
-
extra?: object;
|
|
8
|
-
readonly createdAt?: string;
|
|
9
|
-
readonly updatedAt?: string;
|
|
10
9
|
}
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import { Integration } from "./integration/Integration";
|
|
2
|
-
import { User } from "./user/User";
|
|
3
1
|
export interface Notification {
|
|
4
2
|
id: string;
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
5
5
|
status: string;
|
|
6
6
|
message: string;
|
|
7
7
|
adminOnly?: boolean;
|
|
8
8
|
requiredPrivileges?: Array<object>;
|
|
9
|
-
createdByIntegrationId?: string;
|
|
10
|
-
createdByUserId?: string;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
readonly updatedAt?: string;
|
|
13
|
-
createdByIntegration: Integration;
|
|
14
|
-
createdByUser: User;
|
|
15
9
|
}
|
|
@@ -6,6 +6,6 @@ import { NewsletterRecipient } from "./newsletterRecipient/NewsletterRecipient";
|
|
|
6
6
|
export type Salutation = StoreApiSalutation & {
|
|
7
7
|
customers?: Array<Customer>;
|
|
8
8
|
customerAddresses?: Array<CustomerAddress>;
|
|
9
|
-
orderAddresses?: Array<OrderAddress>;
|
|
10
9
|
newsletterRecipients?: Array<NewsletterRecipient>;
|
|
10
|
+
orderAddresses?: Array<OrderAddress>;
|
|
11
11
|
};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
export interface ScheduledTask {
|
|
2
2
|
id: string;
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
5
|
+
readonly lastExecutionTime: string;
|
|
6
|
+
readonly nextExecutionTime: string;
|
|
7
|
+
status: string;
|
|
3
8
|
name: string;
|
|
4
9
|
scheduledTaskClass: string;
|
|
5
10
|
runInterval: number;
|
|
6
11
|
defaultRunInterval: number;
|
|
7
|
-
status: string;
|
|
8
|
-
lastExecutionTime: string;
|
|
9
|
-
nextExecutionTime: string;
|
|
10
|
-
readonly createdAt?: string;
|
|
11
|
-
readonly updatedAt?: string;
|
|
12
12
|
}
|
|
@@ -2,29 +2,22 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { PaymentMethod } from "./paymentMethod/PaymentMethod";
|
|
3
3
|
export interface ShopwarePlugin {
|
|
4
4
|
id: string;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
7
|
+
readonly installedAt?: string;
|
|
8
|
+
active?: boolean;
|
|
9
|
+
path?: string;
|
|
10
|
+
autoload?: string;
|
|
5
11
|
baseClass: string;
|
|
12
|
+
managedByComposer?: boolean;
|
|
6
13
|
name: string;
|
|
7
14
|
composerName?: string;
|
|
8
|
-
autoload?: string;
|
|
9
|
-
active?: boolean;
|
|
10
|
-
managedByComposer?: boolean;
|
|
11
|
-
path?: string;
|
|
12
|
-
author?: string;
|
|
13
|
-
copyright?: string;
|
|
14
|
-
license?: string;
|
|
15
|
-
version: string;
|
|
16
|
-
upgradeVersion?: string;
|
|
17
|
-
installedAt?: string;
|
|
18
|
-
readonly icon?: string;
|
|
19
15
|
label: string;
|
|
20
16
|
description?: string;
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
readonly createdAt?: string;
|
|
25
|
-
readonly updatedAt?: string;
|
|
26
|
-
translated?: object;
|
|
17
|
+
version: string;
|
|
18
|
+
upgradeVersion?: string;
|
|
19
|
+
author?: string;
|
|
27
20
|
paymentMethods?: Array<PaymentMethod>;
|
|
28
|
-
|
|
29
|
-
|
|
21
|
+
customFields?: GenericRecord;
|
|
22
|
+
translated?: Record<string, any>;
|
|
30
23
|
}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
import { SalesChannel } from "./salesChannel/SalesChannel";
|
|
2
1
|
export interface SystemConfigEntry {
|
|
3
2
|
id: string;
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
4
5
|
configurationKey: string;
|
|
5
6
|
configurationValue: {
|
|
6
7
|
_value?: string;
|
|
7
8
|
};
|
|
8
|
-
salesChannelId?: string;
|
|
9
|
-
readonly createdAt?: string;
|
|
10
|
-
readonly updatedAt?: string;
|
|
11
|
-
salesChannel?: SalesChannel;
|
|
12
9
|
}
|
|
@@ -4,18 +4,12 @@ import { Media } from "./media/Media";
|
|
|
4
4
|
import { Category } from "./category/Category";
|
|
5
5
|
import { Customer } from "./customer/Customer";
|
|
6
6
|
import { Order } from "./order/Order";
|
|
7
|
-
import { ShippingMethod } from "./shippingMethod/ShippingMethod";
|
|
8
7
|
import { NewsletterRecipient } from "./newsletterRecipient/NewsletterRecipient";
|
|
9
|
-
import { LandingPage } from "./cms/landingPage/LandingPage";
|
|
10
|
-
import { Rule } from "./rule/Rule";
|
|
11
8
|
export type Tag = StoreApiTag & {
|
|
12
|
-
products?: Array<Product>;
|
|
13
|
-
media?: Array<Media>;
|
|
14
|
-
categories?: Array<Category>;
|
|
15
9
|
customers?: Array<Customer>;
|
|
16
|
-
orders?: Array<Order>;
|
|
17
|
-
shippingMethods?: Array<ShippingMethod>;
|
|
18
10
|
newsletterRecipients?: Array<NewsletterRecipient>;
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
categories?: Array<Category>;
|
|
12
|
+
products?: Array<Product>;
|
|
13
|
+
orders?: Array<Order>;
|
|
14
|
+
media?: Array<Media>;
|
|
21
15
|
};
|
|
@@ -1,15 +1,9 @@
|
|
|
1
|
-
import { User } from "../user/User";
|
|
2
|
-
import { App } from "../app/App";
|
|
3
|
-
import { Integration } from "../integration/Integration";
|
|
4
1
|
export interface AclRole {
|
|
5
2
|
id: string;
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
5
|
+
readonly deletedAt?: string;
|
|
6
6
|
name: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
privileges?: Array<"read" | "write" | "delete">;
|
|
9
|
-
deletedAt?: string;
|
|
10
|
-
readonly createdAt?: string;
|
|
11
|
-
readonly updatedAt?: string;
|
|
12
|
-
users?: Array<User>;
|
|
13
|
-
app?: App;
|
|
14
|
-
integrations?: Array<Integration>;
|
|
15
9
|
}
|
|
@@ -2,10 +2,10 @@ import { User } from "../user/User";
|
|
|
2
2
|
import { AclRole } from "./AclRole";
|
|
3
3
|
export interface AclUserRole {
|
|
4
4
|
id?: string;
|
|
5
|
-
|
|
6
|
-
aclRoleId: string;
|
|
7
|
-
readonly createdAt?: string;
|
|
5
|
+
readonly createdAt: string;
|
|
8
6
|
readonly updatedAt?: string;
|
|
7
|
+
userId: string;
|
|
9
8
|
user?: User;
|
|
9
|
+
aclRoleId: string;
|
|
10
10
|
aclRole?: AclRole;
|
|
11
11
|
}
|
|
@@ -1,59 +1,26 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
-
import { Integration } from "../integration/Integration";
|
|
3
|
-
import { AclRole } from "../acl/AclRole";
|
|
4
2
|
import { CustomFieldSet } from "../custom/field/set/CustomFieldSet";
|
|
5
3
|
import { AppActionButton } from "./AppActionButton";
|
|
6
|
-
import { AppTemplate } from "./AppTemplate";
|
|
7
4
|
import { Webhook } from "../webhook/Webhook";
|
|
8
5
|
import { PaymentMethod } from "../paymentMethod/PaymentMethod";
|
|
9
|
-
import { TaxProvider } from "../tax/TaxProvider";
|
|
10
|
-
import { CmsBlock } from "../cms/CmsBlock";
|
|
11
|
-
import { AppFlowAction } from "../flow/app/AppFlowAction";
|
|
12
|
-
import { AppFlowEvent } from "../flow/app/AppFlowEvent";
|
|
13
6
|
import { AppShippingMethod } from "../shippingMethod/AppShippingMethod";
|
|
14
7
|
export interface App {
|
|
15
8
|
id: string;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
author?: string;
|
|
19
|
-
copyright?: string;
|
|
20
|
-
license?: string;
|
|
9
|
+
readonly createdAt: string;
|
|
10
|
+
readonly updatedAt?: string;
|
|
21
11
|
active?: boolean;
|
|
22
|
-
configurable?: boolean;
|
|
23
|
-
privacy?: string;
|
|
24
|
-
version: string;
|
|
25
|
-
readonly icon?: string;
|
|
26
|
-
modules?: Array<object>;
|
|
27
|
-
mainModule?: object;
|
|
28
|
-
cookies?: Array<object>;
|
|
29
12
|
allowDisable?: boolean;
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
templateLoadPriority?: number;
|
|
33
|
-
checkoutGatewayUrl?: string;
|
|
34
|
-
inAppPurchasesGatewayUrl?: string;
|
|
35
|
-
sourceType?: string;
|
|
36
|
-
sourceConfig?: object;
|
|
37
|
-
selfManaged?: boolean;
|
|
13
|
+
path: string;
|
|
14
|
+
version: string;
|
|
38
15
|
label: string;
|
|
16
|
+
name: string;
|
|
39
17
|
description?: string;
|
|
40
|
-
|
|
41
|
-
customFields?: GenericRecord;
|
|
42
|
-
integrationId: string;
|
|
43
|
-
aclRoleId: string;
|
|
44
|
-
readonly createdAt?: string;
|
|
45
|
-
readonly updatedAt?: string;
|
|
46
|
-
translated?: GenericRecord;
|
|
47
|
-
integration?: Integration;
|
|
48
|
-
aclRole?: AclRole;
|
|
18
|
+
author?: string;
|
|
49
19
|
customFieldSets?: Array<CustomFieldSet>;
|
|
50
20
|
actionButtons?: Array<AppActionButton>;
|
|
51
|
-
templates?: Array<AppTemplate>;
|
|
52
|
-
webhooks?: Array<Webhook>;
|
|
53
21
|
paymentMethods?: Array<PaymentMethod>;
|
|
54
|
-
taxProviders?: Array<TaxProvider>;
|
|
55
|
-
cmsBlocks?: Array<CmsBlock>;
|
|
56
|
-
flowActions?: Array<AppFlowAction>;
|
|
57
|
-
flowEvents?: Array<AppFlowEvent>;
|
|
58
22
|
appShippingMethods?: Array<AppShippingMethod>;
|
|
23
|
+
webhooks?: Array<Webhook>;
|
|
24
|
+
customFields?: GenericRecord;
|
|
25
|
+
translated?: Record<string, any>;
|
|
59
26
|
}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import { App } from "./App";
|
|
2
1
|
export interface AppActionButton {
|
|
3
2
|
id: string;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
url: string;
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
7
5
|
action: string;
|
|
8
6
|
label: string;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
readonly updatedAt?: string;
|
|
12
|
-
translated?: object;
|
|
13
|
-
app?: App;
|
|
7
|
+
url: string;
|
|
8
|
+
translated?: Record<string, any>;
|
|
14
9
|
}
|
|
@@ -1,6 +1,2 @@
|
|
|
1
1
|
export { App } from "./App";
|
|
2
2
|
export { AppActionButton } from "./AppActionButton";
|
|
3
|
-
export { AppAdministrationSnippet } from "./AppAdministrationSnippet";
|
|
4
|
-
export { AppCmsBlock } from "./AppCmsBlock";
|
|
5
|
-
export { AppScriptCondition } from "./AppScriptCondition";
|
|
6
|
-
export { AppTemplate } from "./AppTemplate";
|
|
@@ -1,17 +1,10 @@
|
|
|
1
1
|
import { Category as StoreApiCategory } from "#types/api/store/category/Category";
|
|
2
2
|
import { Media } from "../media/Media";
|
|
3
|
-
import { Tag } from "../Tag";
|
|
4
3
|
import { CmsPage } from "../cms/CmsPage";
|
|
5
|
-
import {
|
|
6
|
-
export type Category = StoreApiCategory & {
|
|
7
|
-
readonly autoIncrement?: number;
|
|
8
|
-
slotConfig?: object;
|
|
9
|
-
productStreamId?: string;
|
|
10
|
-
translated?: object;
|
|
11
|
-
parent?: Category;
|
|
4
|
+
import { SeoUrl } from "../seo/SeoUrl";
|
|
5
|
+
export type Category = Omit<StoreApiCategory, "children" | "seoUrls" | "cmsPage" | "media"> & {
|
|
12
6
|
children?: Array<Category>;
|
|
13
|
-
|
|
14
|
-
tags?: Array<Tag>;
|
|
7
|
+
seoUrls?: Array<SeoUrl>;
|
|
15
8
|
cmsPage?: CmsPage;
|
|
16
|
-
|
|
9
|
+
media?: Media;
|
|
17
10
|
};
|
|
@@ -2,7 +2,7 @@ import { MainCategory as StoreApiMainCategory } from "#types/api/store/category/
|
|
|
2
2
|
import { Product } from "../product/Product";
|
|
3
3
|
import { Category } from "./Category";
|
|
4
4
|
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
5
|
-
export type MainCategory = StoreApiMainCategory & {
|
|
5
|
+
export type MainCategory = Omit<StoreApiMainCategory, "salesChannel"> & {
|
|
6
6
|
product?: Product;
|
|
7
7
|
category?: Category;
|
|
8
8
|
salesChannel?: SalesChannel;
|
|
@@ -2,13 +2,15 @@ import { CmsPage as StoreApiCmsPage } from "#types/api/store/cms/CmsPage";
|
|
|
2
2
|
import { CmsSection } from "./CmsSection";
|
|
3
3
|
import { Media } from "../media/Media";
|
|
4
4
|
import { LandingPage } from "./landingPage/LandingPage";
|
|
5
|
-
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
6
5
|
import { Product } from "../product/Product";
|
|
7
|
-
|
|
6
|
+
import { SeoUrl } from "../seo/SeoUrl";
|
|
7
|
+
import { Tag } from "../Tag";
|
|
8
|
+
export type CmsPage = Omit<StoreApiCmsPage, "previewMedia" | "landingPages" | "sections" | "seoUrls" | "tags"> & {
|
|
8
9
|
locked?: boolean;
|
|
9
|
-
sections?: Array<CmsSection>;
|
|
10
10
|
previewMedia?: Media;
|
|
11
|
-
landingPages?: Array<LandingPage>;
|
|
12
|
-
homeSalesChannels?: Array<SalesChannel>;
|
|
13
11
|
products?: Array<Product>;
|
|
12
|
+
landingPages?: Array<LandingPage>;
|
|
13
|
+
sections?: Array<CmsSection>;
|
|
14
|
+
seoUrls?: Array<SeoUrl>;
|
|
15
|
+
tags?: Array<Tag>;
|
|
14
16
|
};
|
|
@@ -2,10 +2,8 @@ import { CmsSection as StoreApiCmsSection } from "#types/api/store/cms/CmsSectio
|
|
|
2
2
|
import { CmsPage } from "./CmsPage";
|
|
3
3
|
import { Media } from "../media/Media";
|
|
4
4
|
import { CmsBlock } from "./CmsBlock";
|
|
5
|
-
export type CmsSection = StoreApiCmsSection & {
|
|
6
|
-
id: string;
|
|
7
|
-
versionId: string;
|
|
8
|
-
page?: CmsPage;
|
|
5
|
+
export type CmsSection = Omit<StoreApiCmsSection, "backgroundMedia" | "page" | "blocks"> & {
|
|
9
6
|
backgroundMedia?: Media;
|
|
7
|
+
page?: CmsPage;
|
|
10
8
|
blocks?: Array<CmsBlock>;
|
|
11
9
|
};
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { LandingPage as StoreApiLandingPage } from "#types/api/store/cms/LandingPage";
|
|
2
|
-
import { LandingPageTag } from "./LandingPageTag";
|
|
3
2
|
import { CmsPage } from "../CmsPage";
|
|
4
|
-
|
|
5
|
-
export type LandingPage = StoreApiLandingPage & {
|
|
6
|
-
tags?: Array<LandingPageTag>;
|
|
3
|
+
export type LandingPage = Omit<StoreApiLandingPage, "cmsPage"> & {
|
|
7
4
|
cmsPage?: CmsPage;
|
|
8
|
-
salesChannels?: Array<SalesChannel>;
|
|
9
5
|
};
|
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
import { Country as StoreApiCountry } from "#types/api/store/country/Country";
|
|
2
2
|
import { CountryState } from "./CountryState";
|
|
3
|
-
|
|
4
|
-
import { OrderAddress } from "../order/OrderAddress";
|
|
5
|
-
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
6
|
-
import { TaxRule } from "../tax/rule/TaxRule";
|
|
7
|
-
import { CurrencyCountryRounding } from "../currency/CurrencyCountryRounding";
|
|
8
|
-
export type Country = StoreApiCountry & {
|
|
3
|
+
export type Country = Omit<StoreApiCountry, "states"> & {
|
|
9
4
|
states?: Array<CountryState>;
|
|
10
|
-
customerAddresses?: Array<CustomerAddress>;
|
|
11
|
-
orderAddresses?: Array<OrderAddress>;
|
|
12
|
-
salesChannelDefaultAssignments?: Array<SalesChannel>;
|
|
13
|
-
salesChannels?: Array<SalesChannel>;
|
|
14
|
-
taxRules?: Array<TaxRule>;
|
|
15
|
-
currencyCountryRoundings?: Array<CurrencyCountryRounding>;
|
|
16
5
|
};
|