@devite/shopware-client 1.7.9 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -6
- package/dist/index.cjs +20 -140
- package/dist/index.d.cts +1016 -3627
- package/dist/index.d.mts +1016 -3627
- package/dist/index.d.ts +1016 -3627
- package/dist/index.mjs +20 -140
- package/dist/types/api/admin/DeliveryTime.d.ts +0 -2
- package/dist/types/api/admin/LogEntry.d.ts +3 -4
- package/dist/types/api/admin/Notification.d.ts +2 -8
- package/dist/types/api/admin/Salutation.d.ts +1 -1
- package/dist/types/api/admin/ScheduledTask.d.ts +5 -5
- package/dist/types/api/admin/ShopwarePlugin.d.ts +12 -19
- package/dist/types/api/admin/SystemConfigEntry.d.ts +2 -5
- package/dist/types/api/admin/Tag.d.ts +4 -10
- package/dist/types/api/admin/acl/AclRole.d.ts +3 -9
- package/dist/types/api/admin/acl/AclUserRole.d.ts +2 -2
- package/dist/types/api/admin/app/App.d.ts +9 -42
- package/dist/types/api/admin/app/AppActionButton.d.ts +4 -9
- package/dist/types/api/admin/app/index.d.ts +0 -4
- package/dist/types/api/admin/category/Category.d.ts +3 -8
- package/dist/types/api/admin/category/index.d.ts +0 -1
- package/dist/types/api/admin/cms/CmsBlock.d.ts +1 -1
- package/dist/types/api/admin/cms/CmsPage.d.ts +2 -4
- package/dist/types/api/admin/cms/CmsSection.d.ts +1 -1
- package/dist/types/api/admin/cms/landingPage/LandingPage.d.ts +0 -4
- package/dist/types/api/admin/cms/landingPage/index.d.ts +0 -2
- package/dist/types/api/admin/country/Country.d.ts +0 -11
- package/dist/types/api/admin/currency/Currency.d.ts +0 -11
- package/dist/types/api/admin/currency/CurrencyCountryRounding.d.ts +4 -4
- package/dist/types/api/admin/custom/field/CustomField.d.ts +5 -8
- package/dist/types/api/admin/custom/field/set/CustomFieldSet.d.ts +3 -12
- package/dist/types/api/admin/custom/field/set/index.d.ts +0 -1
- package/dist/types/api/admin/custom/index.d.ts +0 -1
- package/dist/types/api/admin/customer/Customer.d.ts +12 -19
- package/dist/types/api/admin/customer/CustomerAddress.d.ts +1 -3
- package/dist/types/api/admin/customer/group/CustomerGroup.d.ts +0 -1
- package/dist/types/api/admin/customer/group/CustomerGroupRegistrationSalesChannels.d.ts +2 -2
- package/dist/types/api/admin/customer/index.d.ts +0 -3
- package/dist/types/api/admin/document/ShopwareDocument.d.ts +1 -1
- package/dist/types/api/admin/document/{baseConfig/ShopwareDocumentBaseConfig.d.ts → ShopwareDocumentBaseConfig.d.ts} +2 -4
- package/dist/types/api/admin/document/ShopwareDocumentType.d.ts +1 -3
- package/dist/types/api/admin/document/index.d.ts +1 -1
- package/dist/types/api/admin/index.d.ts +0 -9
- package/dist/types/api/admin/locale/Language.d.ts +2 -20
- package/dist/types/api/admin/locale/Locale.d.ts +0 -2
- package/dist/types/api/admin/mail/MailHeaderFooter.d.ts +3 -6
- package/dist/types/api/admin/mail/template/MailTemplate.d.ts +6 -7
- package/dist/types/api/admin/mail/template/MailTemplateMedia.d.ts +1 -5
- package/dist/types/api/admin/mail/template/MailTemplateType.d.ts +6 -6
- package/dist/types/api/admin/media/Media.d.ts +1 -83
- package/dist/types/api/admin/media/index.d.ts +0 -2
- package/dist/types/api/admin/media/thumbnail/MediaThumbnailSize.d.ts +2 -4
- package/dist/types/api/admin/newsletterRecipient/NewsletterRecipient.d.ts +8 -15
- package/dist/types/api/admin/newsletterRecipient/index.d.ts +0 -1
- package/dist/types/api/admin/numberRange/NumberRange.d.ts +5 -8
- package/dist/types/api/admin/numberRange/NumberRangeState.d.ts +2 -2
- package/dist/types/api/admin/numberRange/NumberRangeType.d.ts +3 -8
- package/dist/types/api/admin/numberRange/index.d.ts +0 -1
- package/dist/types/api/admin/order/Order.d.ts +9 -9
- package/dist/types/api/admin/order/OrderAddress.d.ts +1 -7
- package/dist/types/api/admin/order/OrderCustomer.d.ts +2 -6
- package/dist/types/api/admin/order/delivery/OrderDelivery.d.ts +2 -4
- package/dist/types/api/admin/order/delivery/OrderDeliveryPosition.d.ts +0 -2
- package/dist/types/api/admin/order/index.d.ts +0 -3
- package/dist/types/api/admin/order/lineItem/OrderLineItem.d.ts +2 -6
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCapture.d.ts +2 -2
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +1 -1
- package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +2 -2
- package/dist/types/api/admin/paymentMethod/PaymentMethod.d.ts +2 -14
- package/dist/types/api/admin/paymentMethod/index.d.ts +0 -1
- package/dist/types/api/admin/product/Product.d.ts +12 -38
- package/dist/types/api/admin/product/ProductDownload.d.ts +5 -5
- package/dist/types/api/admin/product/ProductManufacturer.d.ts +0 -2
- package/dist/types/api/admin/product/ProductMedia.d.ts +3 -8
- package/dist/types/api/admin/product/ProductOption.d.ts +0 -4
- package/dist/types/api/admin/product/ProductPrice.d.ts +5 -9
- package/dist/types/api/admin/product/ProductProperty.d.ts +0 -4
- package/dist/types/api/admin/product/ProductReview.d.ts +5 -0
- package/dist/types/api/admin/product/ProductSorting.d.ts +5 -5
- package/dist/types/api/admin/product/category/ProductCategory.d.ts +0 -4
- package/dist/types/api/admin/product/category/ProductCategoryTree.d.ts +0 -4
- package/dist/types/api/admin/product/crossSelling/ProductCrossSelling.d.ts +0 -4
- package/dist/types/api/admin/product/crossSelling/ProductCrossSellingAssignedProduct.d.ts +1 -6
- package/dist/types/api/admin/product/index.d.ts +1 -9
- package/dist/types/api/admin/product/search/ProductSearchKeyword.d.ts +5 -5
- package/dist/types/api/admin/product/search/config/ProductSearchConfig.d.ts +4 -4
- package/dist/types/api/admin/product/search/config/ProductSearchConfigField.d.ts +4 -5
- package/dist/types/api/admin/product/stream/ProductStream.d.ts +0 -4
- package/dist/types/api/admin/product/stream/ProductStreamFilter.d.ts +10 -8
- package/dist/types/api/admin/product/stream/ProductStreamMapping.d.ts +1 -1
- package/dist/types/api/admin/promotion/Promotion.d.ts +1 -1
- package/dist/types/api/admin/promotion/PromotionIndividualCode.d.ts +3 -3
- package/dist/types/api/admin/promotion/PromotionPersonaCustomer.d.ts +1 -1
- package/dist/types/api/admin/promotion/PromotionSalesChannel.d.ts +3 -3
- package/dist/types/api/admin/promotion/PromotionSetGroup.d.ts +5 -5
- package/dist/types/api/admin/promotion/discount/PromotionDiscount.d.ts +4 -7
- package/dist/types/api/admin/promotion/discount/PromotionDiscountPrice.d.ts +2 -5
- package/dist/types/api/admin/promotion/discount/PromotionDiscountRule.d.ts +1 -1
- package/dist/types/api/admin/promotion/rule/PromotionCartRule.d.ts +1 -1
- package/dist/types/api/admin/promotion/rule/PromotionOrderRule.d.ts +1 -1
- package/dist/types/api/admin/promotion/rule/PromotionPersonaRule.d.ts +1 -1
- package/dist/types/api/admin/promotion/rule/PromotionSetGroupRule.d.ts +1 -1
- package/dist/types/api/admin/propertyGroup/PropertyGroupOption.d.ts +0 -5
- package/dist/types/api/admin/rule/Rule.d.ts +0 -23
- package/dist/types/api/admin/rule/RuleCondition.d.ts +7 -10
- package/dist/types/api/admin/rule/index.d.ts +0 -1
- package/dist/types/api/admin/salesChannel/SalesChannel.d.ts +22 -78
- package/dist/types/api/admin/salesChannel/SalesChannelDomain.d.ts +5 -14
- package/dist/types/api/admin/salesChannel/SalesChannelType.d.ts +6 -9
- package/dist/types/api/admin/salesChannel/index.d.ts +0 -6
- package/dist/types/api/admin/seo/SeoUrl.d.ts +9 -13
- package/dist/types/api/admin/seo/SeoUrlTemplate.d.ts +5 -5
- package/dist/types/api/admin/shippingMethod/AppShippingMethod.d.ts +4 -7
- package/dist/types/api/admin/shippingMethod/ShippingMethod.d.ts +2 -15
- package/dist/types/api/admin/shippingMethod/ShippingMethodPrice.d.ts +0 -3
- package/dist/types/api/admin/shippingMethod/index.d.ts +0 -1
- package/dist/types/api/admin/stateMachine/StateMachine.d.ts +4 -4
- package/dist/types/api/admin/stateMachine/StateMachineHistory.d.ts +8 -8
- package/dist/types/api/admin/stateMachine/StateMachineState.d.ts +0 -16
- package/dist/types/api/admin/stateMachine/StateMachineTransition.d.ts +5 -5
- package/dist/types/api/admin/tax/Tax.d.ts +0 -4
- package/dist/types/api/admin/tax/TaxProvider.d.ts +1 -1
- package/dist/types/api/admin/tax/rule/TaxRule.d.ts +5 -8
- package/dist/types/api/admin/tax/rule/TaxRuleType.d.ts +3 -3
- package/dist/types/api/admin/user/User.d.ts +12 -36
- package/dist/types/api/admin/user/UserAccessKey.d.ts +2 -5
- package/dist/types/api/admin/user/UserConfig.d.ts +2 -5
- package/dist/types/api/admin/user/index.d.ts +0 -1
- package/dist/types/api/admin/webhook/Webhook.d.ts +4 -8
- package/dist/types/api/admin/webhook/WebhookEventLog.d.ts +4 -8
- package/dist/types/api/global/GenericRecord.d.ts +1 -1
- package/dist/types/api/global/aggregation/AggregationEntity.d.ts +1 -1
- package/dist/types/api/global/filter/EqualsFilter.d.ts +1 -1
- package/dist/types/api/global/filter/RangeFilter.d.ts +1 -1
- package/dist/types/api/global/filter/SimpleFilter.d.ts +1 -1
- package/dist/types/api/global/price/Price.d.ts +4 -9
- package/dist/types/api/global/query/Criteria.d.ts +7 -11
- package/dist/types/api/global/query/Sort.d.ts +1 -1
- package/dist/types/api/global/query/index.d.ts +0 -2
- package/dist/types/api/global/query/product/ProductListingCriteria.d.ts +3 -12
- package/dist/types/api/global/query/product/index.d.ts +0 -1
- package/dist/types/api/store/Currency.d.ts +6 -8
- package/dist/types/api/store/DeliveryTime.d.ts +1 -1
- package/dist/types/api/store/EntitySearchResult.d.ts +1 -2
- package/dist/types/api/store/PaymentMethod.d.ts +6 -9
- package/dist/types/api/store/Rule.d.ts +2 -3
- package/dist/types/api/store/Salutation.d.ts +1 -1
- package/dist/types/api/store/StateMachineState.d.ts +3 -3
- package/dist/types/api/store/Tag.d.ts +1 -1
- package/dist/types/api/store/Tax.d.ts +3 -3
- package/dist/types/api/store/Unit.d.ts +4 -4
- package/dist/types/api/store/cart/Cart.d.ts +2 -12
- package/dist/types/api/store/cart/delivery/CartDelivery.d.ts +0 -5
- package/dist/types/api/store/cart/delivery/CartDeliveryInformation.d.ts +4 -5
- package/dist/types/api/store/cart/delivery/CartDeliveryPosition.d.ts +1 -1
- package/dist/types/api/store/cart/delivery/CartDeliveryShippingLocation.d.ts +1 -1
- package/dist/types/api/store/cart/lineItem/CartLineItem.d.ts +8 -16
- package/dist/types/api/store/cart/lineItem/CartLineItemType.d.ts +1 -1
- package/dist/types/api/store/category/Category.d.ts +16 -19
- package/dist/types/api/store/category/MainCategory.d.ts +7 -5
- package/dist/types/api/store/cms/CmsBlock.d.ts +10 -10
- package/dist/types/api/store/cms/CmsPage.d.ts +7 -7
- package/dist/types/api/store/cms/CmsSection.d.ts +5 -5
- package/dist/types/api/store/cms/CmsSlot.d.ts +6 -7
- package/dist/types/api/store/cms/LandingPage.d.ts +7 -7
- package/dist/types/api/store/country/Country.d.ts +9 -9
- package/dist/types/api/store/country/CountryState.d.ts +5 -5
- package/dist/types/api/store/customer/Customer.d.ts +25 -37
- package/dist/types/api/store/customer/CustomerGroup.d.ts +5 -10
- package/dist/types/api/store/customer/address/CustomerAddress.d.ts +2 -2
- package/dist/types/api/store/customer/address/CustomerAddressBody.d.ts +10 -10
- package/dist/types/api/store/document/ShopwareDocument.d.ts +10 -13
- package/dist/types/api/store/document/ShopwareDocumentBaseConfig.d.ts +8 -7
- package/dist/types/api/store/document/ShopwareDocumentType.d.ts +3 -3
- package/dist/types/api/store/locale/Language.d.ts +6 -6
- package/dist/types/api/store/locale/Locale.d.ts +4 -4
- package/dist/types/api/store/media/Media.d.ts +15 -14
- package/dist/types/api/store/media/MediaThumbnail.d.ts +5 -3
- package/dist/types/api/store/media/ProductMedia.d.ts +4 -4
- package/dist/types/api/store/order/Order.d.ts +18 -23
- package/dist/types/api/store/order/OrderAddress.d.ts +1 -1
- package/dist/types/api/store/order/OrderCustomer.d.ts +5 -5
- package/dist/types/api/store/order/OrderLineItem.d.ts +15 -21
- package/dist/types/api/store/order/OrderLineItemDownload.d.ts +5 -6
- package/dist/types/api/store/order/OrderPrice.d.ts +2 -5
- package/dist/types/api/store/order/delivery/OrderDelivery.d.ts +7 -7
- package/dist/types/api/store/order/delivery/OrderDeliveryPosition.d.ts +8 -6
- package/dist/types/api/store/order/delivery/index.d.ts +2 -0
- package/dist/types/api/store/order/index.d.ts +2 -0
- package/dist/types/api/store/order/transaction/OrderTransaction.d.ts +7 -8
- package/dist/types/api/store/order/transaction/{OrderTransactionCapture.d.ts → capture/OrderTransactionCapture.d.ts} +11 -11
- package/dist/types/api/store/order/transaction/{OrderTransactionCaptureRefund.d.ts → capture/OrderTransactionCaptureRefund.d.ts} +10 -10
- package/dist/types/api/store/order/transaction/{OrderTransactionCaptureRefundPosition.d.ts → capture/OrderTransactionCaptureRefundPosition.d.ts} +9 -9
- package/dist/types/api/store/order/transaction/capture/index.d.ts +3 -0
- package/dist/types/api/store/order/transaction/index.d.ts +2 -0
- package/dist/types/api/store/price/CalculatedPrice.d.ts +10 -16
- package/dist/types/api/store/price/cart/CartPriceQuantity.d.ts +3 -7
- package/dist/types/api/store/price/cart/CartPriceReference.d.ts +3 -3
- package/dist/types/api/store/product/Product.d.ts +39 -70
- package/dist/types/api/store/product/ProductDownload.d.ts +5 -5
- package/dist/types/api/store/product/ProductListingResult.d.ts +4 -6
- package/dist/types/api/store/product/ProductManufacturer.d.ts +5 -5
- package/dist/types/api/store/product/{review/ProductReview.d.ts → ProductReview.d.ts} +6 -8
- package/dist/types/api/store/product/ProductStream.d.ts +3 -3
- package/dist/types/api/store/product/crossSelling/CrossSellingElement.d.ts +2 -2
- package/dist/types/api/store/product/crossSelling/ProductCrossSelling.d.ts +6 -6
- package/dist/types/api/store/product/index.d.ts +0 -1
- package/dist/types/api/store/propertyGroup/PropertyGroup.d.ts +6 -8
- package/dist/types/api/store/propertyGroup/PropertyGroupOption.d.ts +6 -6
- package/dist/types/api/store/salesChannel/SalesChannel.d.ts +27 -17
- package/dist/types/api/store/salesChannel/SalesChannelContext.d.ts +8 -21
- package/dist/types/api/store/seo/SeoUrlEntity.d.ts +5 -7
- package/dist/types/api/store/shippingMethod/ShippingMethod.d.ts +11 -16
- package/dist/types/api/store/shippingMethod/ShippingMethodPrice.d.ts +5 -4
- package/dist/types/clients/admin/MailClient.d.ts +8 -9
- package/dist/types/clients/admin/OrderClient.d.ts +1 -1
- package/dist/types/clients/store/AccountClient.d.ts +2 -2
- package/dist/types/clients/store/AddressClient.d.ts +2 -2
- package/dist/types/clients/store/ProductClient.d.ts +4 -5
- package/package.json +24 -20
- package/dist/types/api/admin/Script.d.ts +0 -12
- package/dist/types/api/admin/app/AppAdministrationSnippet.d.ts +0 -8
- package/dist/types/api/admin/app/AppCmsBlock.d.ts +0 -14
- package/dist/types/api/admin/app/AppScriptCondition.d.ts +0 -17
- package/dist/types/api/admin/app/AppTemplate.d.ts +0 -11
- package/dist/types/api/admin/cart/Cart.d.ts +0 -12
- package/dist/types/api/admin/cart/CartItem.d.ts +0 -4
- package/dist/types/api/admin/cart/index.d.ts +0 -2
- package/dist/types/api/admin/category/CategoryTag.d.ts +0 -10
- package/dist/types/api/admin/cms/landingPage/LandingPageSalesChannel.d.ts +0 -10
- package/dist/types/api/admin/cms/landingPage/LandingPageTag.d.ts +0 -10
- package/dist/types/api/admin/custom/CustomEntity.d.ts +0 -16
- package/dist/types/api/admin/custom/field/set/CustomFieldSetRelation.d.ts +0 -9
- package/dist/types/api/admin/customer/CustomerRecovery.d.ts +0 -9
- package/dist/types/api/admin/customer/CustomerTag.d.ts +0 -9
- package/dist/types/api/admin/customer/wishlist/CustomerWishlist.d.ts +0 -15
- package/dist/types/api/admin/customer/wishlist/CustomerWishlistProduct.d.ts +0 -12
- package/dist/types/api/admin/customer/wishlist/index.d.ts +0 -2
- package/dist/types/api/admin/document/baseConfig/ShopwareDocumentBaseConfigSalesChannel.d.ts +0 -14
- package/dist/types/api/admin/document/baseConfig/index.d.ts +0 -2
- package/dist/types/api/admin/flow/Flow.d.ts +0 -18
- package/dist/types/api/admin/flow/FlowSequence.d.ts +0 -25
- package/dist/types/api/admin/flow/FlowTemplate.d.ts +0 -7
- package/dist/types/api/admin/flow/app/AppFlowAction.d.ts +0 -27
- package/dist/types/api/admin/flow/app/AppFlowEvent.d.ts +0 -14
- package/dist/types/api/admin/flow/app/index.d.ts +0 -2
- package/dist/types/api/admin/flow/index.d.ts +0 -4
- package/dist/types/api/admin/importExport/ImportExportFile.d.ts +0 -12
- package/dist/types/api/admin/importExport/ImportExportLog.d.ts +0 -24
- package/dist/types/api/admin/importExport/ImportExportProfile.d.ts +0 -20
- package/dist/types/api/admin/importExport/index.d.ts +0 -3
- package/dist/types/api/admin/integration/Integration.d.ts +0 -32
- package/dist/types/api/admin/integration/IntegrationRole.d.ts +0 -9
- package/dist/types/api/admin/integration/index.d.ts +0 -2
- package/dist/types/api/admin/media/MediaTag.d.ts +0 -9
- package/dist/types/api/admin/media/folder/MediaDefaultFolder.d.ts +0 -10
- package/dist/types/api/admin/media/folder/MediaFolder.d.ts +0 -22
- package/dist/types/api/admin/media/folder/configuration/MediaFolderConfiguration.d.ts +0 -16
- package/dist/types/api/admin/media/folder/configuration/MediaFolderConfigurationMediaThumbnailSize.d.ts +0 -9
- package/dist/types/api/admin/media/folder/configuration/index.d.ts +0 -2
- package/dist/types/api/admin/media/folder/index.d.ts +0 -3
- package/dist/types/api/admin/newsletterRecipient/NewsletterRecipientTag.d.ts +0 -9
- package/dist/types/api/admin/numberRange/NumberRangeSalesChannel.d.ts +0 -14
- package/dist/types/api/admin/order/OrderTag.d.ts +0 -10
- package/dist/types/api/admin/order/return/OrderReturn.d.ts +0 -17
- package/dist/types/api/admin/order/return/OrderReturnLineItem.d.ts +0 -18
- package/dist/types/api/admin/order/return/OrderReturnLineItemReason.d.ts +0 -8
- package/dist/types/api/admin/order/return/index.d.ts +0 -1
- package/dist/types/api/admin/order/warehouse/OrderProductWarehouse.d.ts +0 -10
- package/dist/types/api/admin/order/warehouse/OrderWarehouseGroup.d.ts +0 -7
- package/dist/types/api/admin/order/warehouse/index.d.ts +0 -2
- package/dist/types/api/admin/paymentMethod/AppPaymentMethod.d.ts +0 -22
- package/dist/types/api/admin/product/ProductConfiguratorSetting.d.ts +0 -8
- package/dist/types/api/admin/product/ProductCustomFieldSet.d.ts +0 -9
- package/dist/types/api/admin/product/ProductExport.d.ts +0 -32
- package/dist/types/api/admin/product/ProductFeatureSet.d.ts +0 -11
- package/dist/types/api/admin/product/ProductKeywordDictionary.d.ts +0 -8
- package/dist/types/api/admin/product/ProductTag.d.ts +0 -11
- package/dist/types/api/admin/product/ProductVisibility.d.ts +0 -13
- package/dist/types/api/admin/product/review/ProductReview.d.ts +0 -14
- package/dist/types/api/admin/product/review/ProductReviewSummary.d.ts +0 -2
- package/dist/types/api/admin/product/review/index.d.ts +0 -2
- package/dist/types/api/admin/product/warehouse/ProductWarehouse.d.ts +0 -7
- package/dist/types/api/admin/product/warehouse/ProductWarehouseGroup.d.ts +0 -6
- package/dist/types/api/admin/product/warehouse/index.d.ts +0 -2
- package/dist/types/api/admin/rule/RuleTag.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelAnalytics.d.ts +0 -11
- package/dist/types/api/admin/salesChannel/SalesChannelContext.d.ts +0 -31
- package/dist/types/api/admin/salesChannel/SalesChannelCountry.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelCurrency.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelLanguage.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelPaymentMethod.d.ts +0 -9
- package/dist/types/api/admin/salesChannel/SalesChannelShippingMethod.d.ts +0 -9
- package/dist/types/api/admin/shippingMethod/ShippingMethodTag.d.ts +0 -9
- package/dist/types/api/admin/snippet/Snippet.d.ts +0 -13
- package/dist/types/api/admin/snippet/SnippetSet.d.ts +0 -13
- package/dist/types/api/admin/snippet/index.d.ts +0 -2
- package/dist/types/api/admin/subscription/Subscription.d.ts +0 -27
- package/dist/types/api/admin/subscription/SubscriptionAddress.d.ts +0 -6
- package/dist/types/api/admin/subscription/SubscriptionCustomer.d.ts +0 -15
- package/dist/types/api/admin/subscription/SubscriptionInterval.d.ts +0 -9
- package/dist/types/api/admin/subscription/SubscriptionTagMapping.d.ts +0 -5
- package/dist/types/api/admin/subscription/index.d.ts +0 -6
- package/dist/types/api/admin/subscription/plan/SubscriptionPlan.d.ts +0 -11
- package/dist/types/api/admin/subscription/plan/SubscriptionPlanIntervalMapping.d.ts +0 -5
- package/dist/types/api/admin/subscription/plan/SubscriptionPlanProductMapping.d.ts +0 -6
- package/dist/types/api/admin/subscription/plan/index.d.ts +0 -3
- package/dist/types/api/admin/theme/Theme.d.ts +0 -25
- package/dist/types/api/admin/theme/ThemeChild.d.ts +0 -8
- package/dist/types/api/admin/theme/ThemeMedia.d.ts +0 -9
- package/dist/types/api/admin/theme/ThemeSalesChannel.d.ts +0 -9
- package/dist/types/api/admin/theme/index.d.ts +0 -4
- package/dist/types/api/admin/user/UserRecovery.d.ts +0 -9
- package/dist/types/api/admin/warehouse/Warehouse.d.ts +0 -5
- package/dist/types/api/admin/warehouse/WarehouseGroup.d.ts +0 -7
- package/dist/types/api/admin/warehouse/WarehouseGroupWarehouse.d.ts +0 -6
- package/dist/types/api/admin/warehouse/index.d.ts +0 -1
- package/dist/types/api/global/query/Includes.d.ts +0 -1
- package/dist/types/api/global/query/Query.d.ts +0 -8
- package/dist/types/api/global/query/product/ProductListingFlags.d.ts +0 -4
- package/dist/types/api/store/order/return/OrderReturn.d.ts +0 -14
- package/dist/types/api/store/order/return/OrderReturnLineItem.d.ts +0 -14
- package/dist/types/api/store/order/return/OrderReturnLineItemReason.d.ts +0 -6
- package/dist/types/api/store/product/ProductConfiguratorSetting.d.ts +0 -18
- package/dist/types/api/store/product/review/ProductReviewSummary.d.ts +0 -8
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",
|
|
@@ -768,7 +680,7 @@ let OrderClient$1 = class OrderClient extends Client {
|
|
|
768
680
|
return response.body.data;
|
|
769
681
|
throw new ShopwareError("Failed to create documents", response);
|
|
770
682
|
}
|
|
771
|
-
/** Order Management **/
|
|
683
|
+
/** Order State Management **/
|
|
772
684
|
/**
|
|
773
685
|
* @throws {ShopwareError | import('ofetch').FetchError} if the request failed
|
|
774
686
|
*/
|
|
@@ -825,6 +737,25 @@ let OrderClient$1 = class OrderClient extends Client {
|
|
|
825
737
|
return response.body.data;
|
|
826
738
|
throw new ShopwareError("Failed to transition delivery state", response);
|
|
827
739
|
}
|
|
740
|
+
/** Order Tags Management **/
|
|
741
|
+
/**
|
|
742
|
+
* @throws {ShopwareError | import('ofetch').FetchError} if the request failed
|
|
743
|
+
*/
|
|
744
|
+
async addTag(orderId, tagId) {
|
|
745
|
+
const response = await this.post(`/order/${orderId}/tags`, {
|
|
746
|
+
body: new JsonPayload({ id: tagId })
|
|
747
|
+
});
|
|
748
|
+
if (response.statusCode === 204) return;
|
|
749
|
+
throw new ShopwareError("Failed to add tag to order", response);
|
|
750
|
+
}
|
|
751
|
+
/**
|
|
752
|
+
* @throws {ShopwareError | import('ofetch').FetchError} if the request failed
|
|
753
|
+
*/
|
|
754
|
+
async removeTag(orderId, tagId) {
|
|
755
|
+
const response = await this.delete(`/order/${orderId}/tags/${tagId}`);
|
|
756
|
+
if (response.statusCode === 204) return;
|
|
757
|
+
throw new ShopwareError("Failed to remove tag from order", response);
|
|
758
|
+
}
|
|
828
759
|
/** Rest Endpoints **/
|
|
829
760
|
orders = createRestEndpoint(this, "order", "order");
|
|
830
761
|
addresses = createRestEndpoint(this, "order-address", "order address");
|
|
@@ -877,11 +808,6 @@ class PluginClient extends Client {
|
|
|
877
808
|
|
|
878
809
|
let ProductClient$1 = class ProductClient extends Client {
|
|
879
810
|
products = createRestEndpoint(this, "product", "product");
|
|
880
|
-
configuratorSettings = createRestEndpoint(
|
|
881
|
-
this,
|
|
882
|
-
"product-configurator-setting",
|
|
883
|
-
"product configurator setting"
|
|
884
|
-
);
|
|
885
811
|
crossSellings = createRestEndpoint(
|
|
886
812
|
this,
|
|
887
813
|
"product-cross-selling",
|
|
@@ -897,17 +823,6 @@ let ProductClient$1 = class ProductClient extends Client {
|
|
|
897
823
|
"product-download",
|
|
898
824
|
"product download"
|
|
899
825
|
);
|
|
900
|
-
exports = createRestEndpoint(this, "product-export", "product export");
|
|
901
|
-
featureSets = createRestEndpoint(
|
|
902
|
-
this,
|
|
903
|
-
"product-feature-set",
|
|
904
|
-
"product feature set"
|
|
905
|
-
);
|
|
906
|
-
keywordDictionaries = createRestEndpoint(
|
|
907
|
-
this,
|
|
908
|
-
"product-keyword-dictionary",
|
|
909
|
-
"product keyword dictionary"
|
|
910
|
-
);
|
|
911
826
|
manufacturers = createRestEndpoint(
|
|
912
827
|
this,
|
|
913
828
|
"product-manufacturer",
|
|
@@ -938,11 +853,6 @@ let ProductClient$1 = class ProductClient extends Client {
|
|
|
938
853
|
"product-stream-filter",
|
|
939
854
|
"product stream filter"
|
|
940
855
|
);
|
|
941
|
-
visibilities = createRestEndpoint(
|
|
942
|
-
this,
|
|
943
|
-
"product-visibility",
|
|
944
|
-
"product visibility"
|
|
945
|
-
);
|
|
946
856
|
};
|
|
947
857
|
|
|
948
858
|
class PromotionClient extends Client {
|
|
@@ -990,11 +900,6 @@ class RuleClient extends Client {
|
|
|
990
900
|
|
|
991
901
|
class SalesChannelClient extends Client {
|
|
992
902
|
salesChannels = createRestEndpoint(this, "sales-channel", "sales channel");
|
|
993
|
-
analytics = createRestEndpoint(
|
|
994
|
-
this,
|
|
995
|
-
"sales-channel-analytics",
|
|
996
|
-
"sales channel analytics"
|
|
997
|
-
);
|
|
998
903
|
domains = createRestEndpoint(
|
|
999
904
|
this,
|
|
1000
905
|
"sales-channel-domain",
|
|
@@ -1011,10 +916,6 @@ class SalutationClient extends Client {
|
|
|
1011
916
|
salutations = createRestEndpoint(this, "salutation", "salutation");
|
|
1012
917
|
}
|
|
1013
918
|
|
|
1014
|
-
class ScriptClient extends Client {
|
|
1015
|
-
scripts = createRestEndpoint(this, "script", "script");
|
|
1016
|
-
}
|
|
1017
|
-
|
|
1018
919
|
class SecurityClient extends Client {
|
|
1019
920
|
aclRoles = createRestEndpoint(this, "acl-role", "acl role");
|
|
1020
921
|
}
|
|
@@ -1041,11 +942,6 @@ class ShippingMethodClient extends Client {
|
|
|
1041
942
|
);
|
|
1042
943
|
}
|
|
1043
944
|
|
|
1044
|
-
class SnippetClient extends Client {
|
|
1045
|
-
snippets = createRestEndpoint(this, "snippet", "snippet");
|
|
1046
|
-
sets = createRestEndpoint(this, "snippet-set", "snippet set");
|
|
1047
|
-
}
|
|
1048
|
-
|
|
1049
945
|
class StateMachineClient extends Client {
|
|
1050
946
|
stateMachines = createRestEndpoint(this, "state-machine", "state machine");
|
|
1051
947
|
states = createRestEndpoint(
|
|
@@ -1264,7 +1160,6 @@ class UserClient extends Client {
|
|
|
1264
1160
|
users = createRestEndpoint(this, "user", "user");
|
|
1265
1161
|
accessKeys = createRestEndpoint(this, "user-access-key", "user access key");
|
|
1266
1162
|
userConfigs = createRestEndpoint(this, "user-config", "user config");
|
|
1267
|
-
userRecoveries = createRestEndpoint(this, "user-recovery", "user recovery");
|
|
1268
1163
|
}
|
|
1269
1164
|
|
|
1270
1165
|
class WebhookClient extends Client {
|
|
@@ -1374,15 +1269,6 @@ class AdminShopwareClient extends ShopwareClient {
|
|
|
1374
1269
|
forDocument() {
|
|
1375
1270
|
return new DocumentClient$1(this);
|
|
1376
1271
|
}
|
|
1377
|
-
forFlow() {
|
|
1378
|
-
return new FlowClient(this);
|
|
1379
|
-
}
|
|
1380
|
-
forImportExport() {
|
|
1381
|
-
return new ImportExportClient(this);
|
|
1382
|
-
}
|
|
1383
|
-
forIntegration() {
|
|
1384
|
-
return new IntegrationClient(this);
|
|
1385
|
-
}
|
|
1386
1272
|
forLocale() {
|
|
1387
1273
|
return new LocaleClient(this);
|
|
1388
1274
|
}
|
|
@@ -1425,9 +1311,6 @@ class AdminShopwareClient extends ShopwareClient {
|
|
|
1425
1311
|
forSalutation() {
|
|
1426
1312
|
return new SalutationClient(this);
|
|
1427
1313
|
}
|
|
1428
|
-
forScript() {
|
|
1429
|
-
return new ScriptClient(this);
|
|
1430
|
-
}
|
|
1431
1314
|
forSecurity() {
|
|
1432
1315
|
return new SecurityClient(this);
|
|
1433
1316
|
}
|
|
@@ -1437,9 +1320,6 @@ class AdminShopwareClient extends ShopwareClient {
|
|
|
1437
1320
|
forShippingMethod() {
|
|
1438
1321
|
return new ShippingMethodClient(this);
|
|
1439
1322
|
}
|
|
1440
|
-
forSnippet() {
|
|
1441
|
-
return new SnippetClient(this);
|
|
1442
|
-
}
|
|
1443
1323
|
forStateMachine() {
|
|
1444
1324
|
return new StateMachineClient(this);
|
|
1445
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, string>;
|
|
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
|
-
userId: string;
|
|
6
|
-
aclRoleId: string;
|
|
7
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, string>;
|
|
59
26
|
}
|
|
@@ -1,14 +1,9 @@
|
|
|
1
|
-
import { App } from "./App";
|
|
2
1
|
export interface AppActionButton {
|
|
3
2
|
id: string;
|
|
4
|
-
entity: string;
|
|
5
|
-
view: string;
|
|
6
|
-
url: string;
|
|
7
|
-
action: string;
|
|
8
|
-
label: string;
|
|
9
|
-
appId: string;
|
|
10
3
|
readonly createdAt?: string;
|
|
11
4
|
readonly updatedAt?: string;
|
|
12
|
-
|
|
13
|
-
|
|
5
|
+
action: string;
|
|
6
|
+
label: string;
|
|
7
|
+
url: string;
|
|
8
|
+
translated?: Record<string, string>;
|
|
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,12 @@
|
|
|
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
4
|
import { SeoUrlEntity } from "#types/api/store";
|
|
6
5
|
export type Category = StoreApiCategory & {
|
|
7
|
-
readonly autoIncrement?: number;
|
|
8
|
-
slotConfig?: object;
|
|
9
|
-
productStreamId?: string;
|
|
10
|
-
translated?: object;
|
|
11
6
|
parent?: Category;
|
|
12
7
|
children?: Array<Category>;
|
|
13
|
-
media?: Media;
|
|
14
|
-
tags?: Array<Tag>;
|
|
15
|
-
cmsPage?: CmsPage;
|
|
16
8
|
seoUrls?: Array<SeoUrlEntity>;
|
|
9
|
+
cmsPage?: CmsPage;
|
|
10
|
+
media?: Media;
|
|
11
|
+
translated?: Record<string, string>;
|
|
17
12
|
};
|
|
@@ -2,13 +2,11 @@ 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
|
export type CmsPage = StoreApiCmsPage & {
|
|
8
7
|
locked?: boolean;
|
|
9
|
-
sections?: Array<CmsSection>;
|
|
10
8
|
previewMedia?: Media;
|
|
11
|
-
landingPages?: Array<LandingPage>;
|
|
12
|
-
homeSalesChannels?: Array<SalesChannel>;
|
|
13
9
|
products?: Array<Product>;
|
|
10
|
+
landingPages?: Array<LandingPage>;
|
|
11
|
+
sections?: Array<CmsSection>;
|
|
14
12
|
};
|
|
@@ -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
|
-
import { SalesChannel } from "../../salesChannel/SalesChannel";
|
|
5
3
|
export type LandingPage = StoreApiLandingPage & {
|
|
6
|
-
tags?: Array<LandingPageTag>;
|
|
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
|
-
import { CustomerAddress } from "../customer/CustomerAddress";
|
|
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
3
|
export type Country = StoreApiCountry & {
|
|
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
|
};
|