@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
|
@@ -2,8 +2,8 @@ import { CartDeliveryDate } from "./CartDeliveryDate";
|
|
|
2
2
|
import { CartLineItem } from "#types/api/store/cart/lineItem/CartLineItem";
|
|
3
3
|
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
4
4
|
export interface CartDeliveryPosition {
|
|
5
|
-
deliveryDate?: CartDeliveryDate;
|
|
6
5
|
identifier?: string;
|
|
7
6
|
lineItem?: CartLineItem;
|
|
8
7
|
price?: CalculatedPrice;
|
|
8
|
+
deliveryDate?: CartDeliveryDate;
|
|
9
9
|
}
|
|
@@ -2,6 +2,6 @@ import { Country } from "../../country/Country";
|
|
|
2
2
|
import { CustomerAddress } from "../../customer/address/CustomerAddress";
|
|
3
3
|
export interface CartDeliveryShippingLocation {
|
|
4
4
|
apiAlias?: "cart_delivery_shipping_location";
|
|
5
|
-
country?: Country;
|
|
6
5
|
address?: CustomerAddress;
|
|
6
|
+
country?: Country;
|
|
7
7
|
}
|
|
@@ -1,23 +1,21 @@
|
|
|
1
1
|
import { Media } from "../../media/Media";
|
|
2
|
-
import { CartDeliveryInformation } from "../delivery/CartDeliveryInformation";
|
|
3
2
|
import { CartLineItemPayload } from "./CartLineItemPayload";
|
|
4
3
|
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
5
4
|
import { CartPriceQuantity } from "../../price/cart/CartPriceQuantity";
|
|
6
5
|
import { CartLineItemType } from "./CartLineItemType";
|
|
7
6
|
export interface CartLineItem {
|
|
8
7
|
apiAlias: "cart_line_item";
|
|
9
|
-
children?: Array<CartLineItem>;
|
|
10
|
-
cover?: Media;
|
|
11
|
-
dataContextHash?: string;
|
|
12
|
-
dataTimestamp?: string;
|
|
13
|
-
deliveryInformation?: CartDeliveryInformation;
|
|
14
|
-
description?: string;
|
|
15
|
-
good?: boolean;
|
|
16
8
|
id: string;
|
|
9
|
+
referencedId?: string;
|
|
10
|
+
promotionId?: string;
|
|
11
|
+
type: CartLineItemType;
|
|
17
12
|
label?: string;
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
13
|
+
description?: string;
|
|
14
|
+
cover?: Media;
|
|
15
|
+
position?: number;
|
|
16
|
+
good?: boolean;
|
|
17
|
+
removable?: boolean;
|
|
18
|
+
stackable?: boolean;
|
|
21
19
|
price?: CalculatedPrice;
|
|
22
20
|
priceDefinition?: CartPriceQuantity;
|
|
23
21
|
quantity?: number;
|
|
@@ -26,10 +24,7 @@ export interface CartLineItem {
|
|
|
26
24
|
minPurchase?: number;
|
|
27
25
|
purchaseSteps?: number;
|
|
28
26
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
stackable?: boolean;
|
|
27
|
+
payload?: CartLineItemPayload;
|
|
28
|
+
productId?: string;
|
|
32
29
|
states?: Array<"is-physical" | "is-download">;
|
|
33
|
-
type: CartLineItemType;
|
|
34
|
-
uniqueIdentifier?: string;
|
|
35
30
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type CartLineItemType = "product" | "credit" | "
|
|
1
|
+
export type CartLineItemType = "product" | "credit" | "promotion" | "discount" | "quantity";
|
|
@@ -6,45 +6,41 @@ import { SeoUrlEntity } from "../seo/SeoUrlEntity";
|
|
|
6
6
|
export interface Category {
|
|
7
7
|
apiAlias: "category";
|
|
8
8
|
id: string;
|
|
9
|
+
readonly createdAt: string;
|
|
10
|
+
readonly updatedAt?: string;
|
|
9
11
|
versionId?: string;
|
|
10
12
|
parentId?: string;
|
|
11
13
|
parentVersionId?: string;
|
|
12
14
|
afterCategoryId?: string;
|
|
13
15
|
afterCategoryVersionId?: string;
|
|
14
16
|
mediaId?: string;
|
|
15
|
-
displayNestedProducts?: boolean;
|
|
16
17
|
readonly breadcrumb: Array<object>;
|
|
17
18
|
readonly level?: number;
|
|
18
19
|
readonly path?: string;
|
|
19
20
|
readonly childCount: number;
|
|
20
|
-
|
|
21
|
+
children?: Array<Category>;
|
|
22
|
+
type: "folder" | "page" | "link";
|
|
21
23
|
productAssignmentType?: "product_stream" | "product";
|
|
22
|
-
|
|
24
|
+
linkType?: "external" | "category" | "product" | "landing_page";
|
|
25
|
+
media?: Media;
|
|
23
26
|
active?: boolean;
|
|
24
|
-
|
|
27
|
+
displayNestedProducts?: boolean;
|
|
28
|
+
visible?: boolean;
|
|
25
29
|
visibleChildCount?: number;
|
|
26
|
-
name: string;
|
|
27
|
-
customFields?: GenericRecord;
|
|
28
|
-
linkType?: "external" | "category" | "product" | "landing_page";
|
|
29
30
|
internalLink?: string;
|
|
30
31
|
externalLink?: string;
|
|
31
32
|
linkNewTab?: boolean;
|
|
33
|
+
cmsPageId?: string;
|
|
34
|
+
cmsPageIdSwitched?: boolean;
|
|
35
|
+
cmsPageVersionId?: string;
|
|
36
|
+
cmsPage?: CmsPage;
|
|
37
|
+
name: string;
|
|
32
38
|
description?: string;
|
|
33
39
|
metaTitle?: string;
|
|
34
40
|
metaDescription?: string;
|
|
35
41
|
keywords?: string;
|
|
36
|
-
cmsPageId?: string;
|
|
37
|
-
cmsPageVersionId?: string;
|
|
38
|
-
customEntityTypeId?: string;
|
|
39
|
-
readonly createdAt?: string;
|
|
40
|
-
readonly updatedAt?: string;
|
|
41
|
-
translated: {
|
|
42
|
-
breadcrumb: Array<string>;
|
|
43
|
-
};
|
|
44
|
-
parent?: Category;
|
|
45
|
-
children: Array<Category>;
|
|
46
|
-
media?: Media;
|
|
47
|
-
tags?: Array<Tag>;
|
|
48
|
-
cmsPage?: CmsPage;
|
|
49
42
|
seoUrls?: Array<SeoUrlEntity>;
|
|
43
|
+
tags?: Array<Tag>;
|
|
44
|
+
customFields?: GenericRecord;
|
|
45
|
+
translated?: Record<string, string>;
|
|
50
46
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
|
+
import { SalesChannel } from "../salesChannel/SalesChannel";
|
|
1
2
|
export interface MainCategory {
|
|
2
3
|
id: string;
|
|
3
|
-
|
|
4
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
6
|
+
salesChannelId: string;
|
|
7
|
+
salesChannel?: SalesChannel;
|
|
5
8
|
categoryId: string;
|
|
6
9
|
categoryVersionId?: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly updatedAt?: string;
|
|
10
|
+
productId: string;
|
|
11
|
+
productVersionId?: string;
|
|
10
12
|
}
|
|
@@ -6,25 +6,25 @@ import { CmsSlot } from "./CmsSlot";
|
|
|
6
6
|
export interface CmsBlock {
|
|
7
7
|
apiAlias: "cms_block";
|
|
8
8
|
id?: string;
|
|
9
|
-
|
|
9
|
+
versionId?: string;
|
|
10
|
+
readonly createdAt: string;
|
|
11
|
+
readonly updatedAt?: string;
|
|
10
12
|
type: "image" | "text" | "product-listing" | "image-two-column";
|
|
13
|
+
position: number;
|
|
11
14
|
name?: string;
|
|
12
|
-
|
|
13
|
-
marginTop?: string;
|
|
15
|
+
marginRight?: string;
|
|
14
16
|
marginBottom?: string;
|
|
15
17
|
marginLeft?: string;
|
|
16
|
-
|
|
18
|
+
marginTop?: string;
|
|
17
19
|
backgroundColor?: string;
|
|
18
20
|
backgroundMediaId?: string;
|
|
21
|
+
backgroundMedia?: Media;
|
|
19
22
|
backgroundMediaMode?: BackgroundMediaMode;
|
|
20
|
-
cssClass?: string;
|
|
21
23
|
visibility?: Visibility;
|
|
24
|
+
cssClass?: string;
|
|
22
25
|
sectionId: string;
|
|
23
|
-
customFields?: GenericRecord;
|
|
24
|
-
versionId?: string;
|
|
25
26
|
cmsSectionVersionId?: string;
|
|
26
|
-
|
|
27
|
-
readonly updatedAt?: string;
|
|
28
|
-
backgroundMedia?: Media;
|
|
27
|
+
sectionPosition?: "main" | "sidebar";
|
|
29
28
|
slots?: Array<CmsSlot>;
|
|
29
|
+
customFields?: GenericRecord;
|
|
30
30
|
}
|
|
@@ -6,19 +6,19 @@ export interface CmsPage {
|
|
|
6
6
|
apiAlias: "cms_page";
|
|
7
7
|
id: string;
|
|
8
8
|
versionId?: string;
|
|
9
|
+
readonly createdAt: string;
|
|
10
|
+
readonly updatedAt?: string;
|
|
9
11
|
name?: string;
|
|
10
12
|
type: "landingpage" | "page" | "product_list" | "product_detail";
|
|
11
|
-
entity?: string;
|
|
12
|
-
cssClass?: string;
|
|
13
13
|
config?: {
|
|
14
14
|
backgroundColor?: string;
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
readonly createdAt?: string;
|
|
19
|
-
readonly updatedAt?: string;
|
|
20
|
-
translated?: object;
|
|
16
|
+
cssClass?: string;
|
|
17
|
+
entity?: string;
|
|
21
18
|
sections?: Array<CmsSection>;
|
|
19
|
+
previewMediaId?: string;
|
|
22
20
|
previewMedia?: Media;
|
|
23
21
|
landingPages?: Array<LandingPage>;
|
|
22
|
+
customFields?: GenericRecord;
|
|
23
|
+
translated?: Record<string, any>;
|
|
24
24
|
}
|
|
@@ -6,23 +6,24 @@ import { Media } from "../media/Media";
|
|
|
6
6
|
import { CmsBlock } from "./CmsBlock";
|
|
7
7
|
export interface CmsSection {
|
|
8
8
|
apiAlias: "cms_section";
|
|
9
|
-
id
|
|
9
|
+
id: string;
|
|
10
|
+
versionId: string;
|
|
11
|
+
readonly createdAt: string;
|
|
12
|
+
readonly updatedAt?: string;
|
|
10
13
|
position: number;
|
|
11
14
|
type: "sidebar" | "fullwidth";
|
|
12
15
|
name?: string;
|
|
13
16
|
sizingMode?: "boxed" | "full_width";
|
|
14
17
|
mobileBehavior?: string;
|
|
18
|
+
visibility?: Visibility;
|
|
15
19
|
backgroundColor?: string;
|
|
16
20
|
backgroundMediaId?: string;
|
|
17
21
|
backgroundMediaMode?: BackgroundMediaMode;
|
|
22
|
+
backgroundMedia?: Media;
|
|
18
23
|
cssClass?: string;
|
|
19
24
|
pageId: string;
|
|
20
|
-
visibility?: Visibility;
|
|
21
|
-
customFields?: GenericRecord;
|
|
22
25
|
cmsPageVersionId?: string;
|
|
23
|
-
readonly createdAt?: string;
|
|
24
|
-
readonly updatedAt?: string;
|
|
25
26
|
page?: CmsPage;
|
|
26
|
-
backgroundMedia?: Media;
|
|
27
27
|
blocks?: Array<CmsBlock>;
|
|
28
|
+
customFields?: GenericRecord;
|
|
28
29
|
}
|
|
@@ -3,18 +3,17 @@ import { CmsBlock } from "./CmsBlock";
|
|
|
3
3
|
export interface CmsSlot {
|
|
4
4
|
id: string;
|
|
5
5
|
versionId?: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
6
8
|
type: "image" | "text" | "form" | "product-listing" | "category-navigation" | "product-box" | "buy-box" | "sidebar-filter";
|
|
7
9
|
slot: string;
|
|
8
10
|
locked?: boolean;
|
|
9
|
-
config?: object;
|
|
10
|
-
customFields?: GenericRecord;
|
|
11
11
|
readonly data?: object;
|
|
12
|
-
|
|
12
|
+
config?: object;
|
|
13
13
|
fieldConfig?: object;
|
|
14
|
+
blockId: string;
|
|
14
15
|
cmsBlockVersionId?: string;
|
|
15
|
-
readonly createdAt?: string;
|
|
16
|
-
readonly updatedAt?: string;
|
|
17
|
-
translated?: object;
|
|
18
16
|
block?: CmsBlock;
|
|
19
|
-
|
|
17
|
+
customFields?: GenericRecord;
|
|
18
|
+
translated?: Record<string, any>;
|
|
20
19
|
}
|
|
@@ -5,19 +5,19 @@ export interface LandingPage {
|
|
|
5
5
|
apiAlias: "landing_page";
|
|
6
6
|
id: string;
|
|
7
7
|
versionId?: string;
|
|
8
|
+
readonly createdAt: string;
|
|
9
|
+
readonly updatedAt?: string;
|
|
8
10
|
active?: boolean;
|
|
9
11
|
name: string;
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
url: string;
|
|
13
|
+
seoUrls?: Array<SeoUrlEntity>;
|
|
12
14
|
metaTitle?: string;
|
|
13
15
|
metaDescription?: string;
|
|
14
16
|
keywords?: string;
|
|
15
|
-
|
|
17
|
+
slotConfig?: object;
|
|
16
18
|
cmsPageId?: string;
|
|
17
19
|
cmsPageVersionId?: string;
|
|
18
|
-
readonly createdAt?: string;
|
|
19
|
-
readonly updatedAt?: string;
|
|
20
|
-
translated?: object;
|
|
21
20
|
cmsPage?: CmsPage;
|
|
22
|
-
|
|
21
|
+
customFields?: GenericRecord;
|
|
22
|
+
translated?: Record<string, any>;
|
|
23
23
|
}
|
|
@@ -2,18 +2,18 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { CountryState } from "./CountryState";
|
|
3
3
|
export interface Country {
|
|
4
4
|
id: string;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
5
7
|
name: string;
|
|
6
|
-
iso?: string;
|
|
7
|
-
position?: number;
|
|
8
8
|
active?: boolean;
|
|
9
|
-
|
|
9
|
+
iso?: string;
|
|
10
10
|
iso3?: string;
|
|
11
|
+
position?: number;
|
|
11
12
|
displayStateInRegistration?: boolean;
|
|
12
13
|
forceStateInRegistration?: boolean;
|
|
13
14
|
checkVatIdPattern?: boolean;
|
|
14
15
|
vatIdRequired?: boolean;
|
|
15
16
|
vatIdPattern?: string;
|
|
16
|
-
customFields?: GenericRecord;
|
|
17
17
|
customerTax?: {
|
|
18
18
|
enabled: boolean;
|
|
19
19
|
currencyId: string;
|
|
@@ -26,15 +26,15 @@ export interface Country {
|
|
|
26
26
|
};
|
|
27
27
|
postalCodeRequired?: boolean;
|
|
28
28
|
checkPostalCodePattern?: boolean;
|
|
29
|
+
defaultPostalCodePattern?: string;
|
|
29
30
|
checkAdvancedPostalCodePattern?: boolean;
|
|
30
31
|
advancedPostalCodePattern?: string;
|
|
31
32
|
addressFormat: string;
|
|
32
|
-
defaultPostalCodePattern?: string;
|
|
33
33
|
isEu?: boolean;
|
|
34
|
-
readonly createdAt?: string;
|
|
35
|
-
readonly updatedAt?: string;
|
|
36
|
-
translated?: object;
|
|
37
|
-
states?: Array<CountryState>;
|
|
38
34
|
taxFree?: boolean;
|
|
39
35
|
companyTaxFree?: boolean;
|
|
36
|
+
shippingAvailable?: boolean;
|
|
37
|
+
customFields?: GenericRecord;
|
|
38
|
+
states?: Array<CountryState>;
|
|
39
|
+
translated?: Record<string, any>;
|
|
40
40
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface CountryState {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
6
6
|
name: string;
|
|
7
|
+
shortCode: string;
|
|
7
8
|
position?: number;
|
|
8
9
|
active?: boolean;
|
|
10
|
+
countryId: string;
|
|
9
11
|
customFields?: GenericRecord;
|
|
10
|
-
|
|
11
|
-
readonly updatedAt?: string;
|
|
12
|
-
translated?: object;
|
|
12
|
+
translated?: Record<string, any>;
|
|
13
13
|
}
|
|
@@ -5,58 +5,46 @@ import { PaymentMethod } from "../PaymentMethod";
|
|
|
5
5
|
import { CustomerAddress } from "./address/CustomerAddress";
|
|
6
6
|
import { Salutation } from "../Salutation";
|
|
7
7
|
import { Tag } from "../Tag";
|
|
8
|
+
import { ProductReview } from "../product/ProductReview";
|
|
8
9
|
export interface Customer {
|
|
9
10
|
apiAlias: "customer";
|
|
10
11
|
id: string;
|
|
12
|
+
readonly createdAt: string;
|
|
13
|
+
readonly updatedAt?: string;
|
|
14
|
+
guest?: boolean;
|
|
15
|
+
accountType?: "private" | "business";
|
|
16
|
+
active?: boolean;
|
|
11
17
|
groupId: string;
|
|
18
|
+
group?: CustomerGroup;
|
|
12
19
|
salesChannelId: string;
|
|
20
|
+
customerNumber: string;
|
|
21
|
+
affiliateCode?: string;
|
|
22
|
+
campaignCode?: string;
|
|
13
23
|
languageId: string;
|
|
24
|
+
language?: Language;
|
|
25
|
+
email: string;
|
|
14
26
|
lastPaymentMethodId?: string;
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
27
|
+
lastPaymentMethod?: PaymentMethod;
|
|
28
|
+
readonly tagIds?: Array<string>;
|
|
29
|
+
tags?: Array<Tag>;
|
|
18
30
|
salutationId?: string;
|
|
31
|
+
salutation?: Salutation;
|
|
32
|
+
title?: string;
|
|
19
33
|
firstName: string;
|
|
20
34
|
lastName: string;
|
|
21
35
|
company?: string;
|
|
22
|
-
|
|
23
|
-
|
|
36
|
+
addresses?: Array<CustomerAddress>;
|
|
37
|
+
defaultBillingAddressId: string;
|
|
38
|
+
defaultBillingAddress?: CustomerAddress;
|
|
39
|
+
activeBillingAddress: CustomerAddress;
|
|
40
|
+
defaultShippingAddressId: string;
|
|
41
|
+
defaultShippingAddress?: CustomerAddress;
|
|
42
|
+
activeShippingAddress: CustomerAddress;
|
|
24
43
|
vatIds?: Array<string>;
|
|
25
|
-
affiliateCode?: string;
|
|
26
|
-
campaignCode?: string;
|
|
27
|
-
active?: boolean;
|
|
28
|
-
doubleOptInRegistration?: boolean;
|
|
29
|
-
doubleOptInEmailSentDate?: string;
|
|
30
|
-
doubleOptInConfirmDate?: string;
|
|
31
|
-
hash?: string;
|
|
32
|
-
guest?: boolean;
|
|
33
|
-
firstLogin?: string;
|
|
34
|
-
lastLogin?: string;
|
|
35
|
-
birthday?: string;
|
|
36
44
|
readonly lastOrderDate?: string;
|
|
37
45
|
readonly orderCount?: number;
|
|
38
46
|
readonly orderTotalAmount?: number;
|
|
39
47
|
readonly reviewCount?: number;
|
|
48
|
+
productReviews?: Array<ProductReview>;
|
|
40
49
|
customFields?: GenericRecord;
|
|
41
|
-
readonly tagIds?: Array<string>;
|
|
42
|
-
accountType?: "private" | "business";
|
|
43
|
-
createdById?: string;
|
|
44
|
-
updatedById?: string;
|
|
45
|
-
defaultPaymentMethodId: string;
|
|
46
|
-
readonly createdAt?: string;
|
|
47
|
-
readonly updatedAt?: string;
|
|
48
|
-
group?: CustomerGroup;
|
|
49
|
-
language?: Language;
|
|
50
|
-
lastPaymentMethod?: PaymentMethod;
|
|
51
|
-
defaultBillingAddress?: CustomerAddress;
|
|
52
|
-
activeBillingAddress: CustomerAddress;
|
|
53
|
-
defaultShippingAddress?: CustomerAddress;
|
|
54
|
-
activeShippingAddress: CustomerAddress;
|
|
55
|
-
salutation?: Salutation;
|
|
56
|
-
addresses?: Array<CustomerAddress>;
|
|
57
|
-
tags?: Array<Tag>;
|
|
58
|
-
defaultPaymentMethod?: PaymentMethod;
|
|
59
|
-
extensions?: {
|
|
60
|
-
specificFeatures?: any;
|
|
61
|
-
};
|
|
62
50
|
}
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface CustomerGroup {
|
|
3
3
|
id: string;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
4
6
|
name: string;
|
|
5
7
|
displayGross?: boolean;
|
|
6
|
-
customFields?: GenericRecord;
|
|
7
8
|
registrationActive?: boolean;
|
|
8
9
|
registrationTitle?: string;
|
|
10
|
+
registrationSeoMetaDescription?: string;
|
|
9
11
|
registrationIntroduction?: string;
|
|
10
12
|
registrationOnlyCompanyRegistration?: boolean;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
readonly updatedAt?: string;
|
|
14
|
-
translated: {
|
|
15
|
-
name?: string;
|
|
16
|
-
registrationIntroduction?: string;
|
|
17
|
-
registrationSeoMetaDescription?: string;
|
|
18
|
-
registrationTitle?: string;
|
|
19
|
-
};
|
|
13
|
+
translated?: Record<string, string>;
|
|
14
|
+
customFields?: GenericRecord;
|
|
20
15
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CustomerAddressBody } from "./CustomerAddressBody";
|
|
2
2
|
export type CustomerAddress = CustomerAddressBody & {
|
|
3
|
-
id
|
|
4
|
-
|
|
5
|
-
readonly createdAt?: string;
|
|
3
|
+
id: string;
|
|
4
|
+
readonly createdAt: string;
|
|
6
5
|
readonly updatedAt?: string;
|
|
6
|
+
customerId: string;
|
|
7
7
|
};
|
|
@@ -3,22 +3,22 @@ import { Country } from "../../country/Country";
|
|
|
3
3
|
import { CountryState } from "../../country/CountryState";
|
|
4
4
|
import { Salutation } from "../../Salutation";
|
|
5
5
|
export interface CustomerAddressBody {
|
|
6
|
-
countryId: string;
|
|
7
|
-
countryStateId?: string;
|
|
8
6
|
salutationId?: string;
|
|
7
|
+
salutation?: Salutation;
|
|
8
|
+
title?: string;
|
|
9
9
|
firstName: string;
|
|
10
10
|
lastName: string;
|
|
11
|
-
zipcode?: string;
|
|
12
|
-
city: string;
|
|
13
11
|
company?: string;
|
|
14
|
-
street: string;
|
|
15
12
|
department?: string;
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
zipcode: string;
|
|
14
|
+
city: string;
|
|
15
|
+
street: string;
|
|
18
16
|
additionalAddressLine1?: string;
|
|
19
17
|
additionalAddressLine2?: string;
|
|
20
|
-
|
|
18
|
+
countryId: string;
|
|
21
19
|
country?: Country;
|
|
20
|
+
countryStateId?: string;
|
|
22
21
|
countryState?: CountryState;
|
|
23
|
-
|
|
22
|
+
phoneNumber?: string;
|
|
23
|
+
customFields?: GenericRecord;
|
|
24
24
|
}
|
|
@@ -4,26 +4,23 @@ import { Order } from "../order/Order";
|
|
|
4
4
|
import { Media } from "../media/Media";
|
|
5
5
|
export interface ShopwareDocument {
|
|
6
6
|
id: string;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
referenceDocumentId?: string;
|
|
7
|
+
readonly createdAt: string;
|
|
8
|
+
readonly updatedAt?: string;
|
|
10
9
|
orderId: string;
|
|
11
|
-
documentMediaFileId?: string;
|
|
12
10
|
orderVersionId?: string;
|
|
13
|
-
|
|
14
|
-
name: string;
|
|
15
|
-
title: string;
|
|
16
|
-
};
|
|
11
|
+
order?: Order;
|
|
17
12
|
sent?: boolean;
|
|
18
|
-
static?: boolean;
|
|
19
13
|
deepLinkCode: string;
|
|
14
|
+
fileType: string;
|
|
20
15
|
documentNumber?: string;
|
|
21
|
-
|
|
22
|
-
readonly createdAt?: string;
|
|
23
|
-
readonly updatedAt?: string;
|
|
16
|
+
documentTypeId: string;
|
|
24
17
|
documentType?: ShopwareDocumentType;
|
|
25
|
-
|
|
18
|
+
referenceDocumentId?: string;
|
|
26
19
|
referencedDocument?: ShopwareDocument;
|
|
27
20
|
dependantDocuments?: Array<ShopwareDocument>;
|
|
21
|
+
documentMediaFileId?: string;
|
|
28
22
|
documentMediaFile?: Media;
|
|
23
|
+
documentA11yMediaFileId?: string;
|
|
24
|
+
documentA11yMediaFile?: Media;
|
|
25
|
+
customFields?: GenericRecord;
|
|
29
26
|
}
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
import { Media } from "../media/Media";
|
|
3
|
+
import { ShopwareDocumentType } from "../document/ShopwareDocumentType";
|
|
3
4
|
export interface ShopwareDocumentBaseConfig {
|
|
4
5
|
id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
name: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
8
8
|
filenamePrefix?: string;
|
|
9
9
|
filenameSuffix?: string;
|
|
10
|
-
global?: boolean;
|
|
11
10
|
documentNumber?: string;
|
|
11
|
+
documentTypeId: string;
|
|
12
|
+
documentType?: ShopwareDocumentType;
|
|
13
|
+
name: string;
|
|
12
14
|
config?: object;
|
|
13
|
-
|
|
14
|
-
customFields?: GenericRecord;
|
|
15
|
-
readonly updatedAt?: string;
|
|
15
|
+
logoId?: string;
|
|
16
16
|
logo?: Media;
|
|
17
|
+
customFields?: GenericRecord;
|
|
17
18
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface ShopwareDocumentType {
|
|
3
3
|
id: string;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
4
6
|
name: string;
|
|
5
7
|
technicalName: string;
|
|
6
|
-
readonly createdAt?: string;
|
|
7
|
-
readonly updatedAt?: string;
|
|
8
8
|
customFields?: GenericRecord;
|
|
9
|
-
translated?:
|
|
9
|
+
translated?: Record<string, any>;
|
|
10
10
|
}
|
|
@@ -2,15 +2,15 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { Locale } from "./Locale";
|
|
3
3
|
export interface Language {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
6
|
-
localeId: string;
|
|
7
|
-
translationCodeId?: string;
|
|
8
|
-
name: string;
|
|
9
|
-
customFields?: GenericRecord;
|
|
10
|
-
readonly createdAt?: string;
|
|
5
|
+
readonly createdAt: string;
|
|
11
6
|
readonly updatedAt?: string;
|
|
7
|
+
parentId?: string;
|
|
12
8
|
parent?: Language;
|
|
9
|
+
children?: Array<Language>;
|
|
10
|
+
name: string;
|
|
11
|
+
localeId: string;
|
|
13
12
|
locale?: Locale;
|
|
13
|
+
translationCodeId?: string;
|
|
14
14
|
translationCode?: Locale;
|
|
15
|
-
|
|
15
|
+
customFields?: GenericRecord;
|
|
16
16
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface Locale {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
5
6
|
name: string;
|
|
7
|
+
code: string;
|
|
6
8
|
territory: string;
|
|
7
9
|
customFields?: GenericRecord;
|
|
8
|
-
|
|
9
|
-
readonly updatedAt?: string;
|
|
10
|
-
translated?: object;
|
|
10
|
+
translated?: Record<string, any>;
|
|
11
11
|
}
|