@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
|
@@ -3,19 +3,19 @@ import { StateMachineState } from "./StateMachineState";
|
|
|
3
3
|
import { User } from "../user/User";
|
|
4
4
|
export interface StateMachineHistory {
|
|
5
5
|
id: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
6
8
|
referencedId: string;
|
|
7
9
|
referencedVersionId: string;
|
|
8
|
-
|
|
10
|
+
entityId?: any;
|
|
9
11
|
entityName: string;
|
|
10
|
-
fromStateId: string;
|
|
11
|
-
toStateId: string;
|
|
12
|
-
transactionActionName?: string;
|
|
13
12
|
userId?: string;
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
user?: User;
|
|
14
|
+
transactionActionName?: string;
|
|
15
|
+
stateMachineId: string;
|
|
16
16
|
stateMachine?: StateMachine;
|
|
17
|
+
fromStateId: string;
|
|
17
18
|
fromStateMachineState?: StateMachineState;
|
|
19
|
+
toStateId: string;
|
|
18
20
|
toStateMachineState?: StateMachineState;
|
|
19
|
-
user?: User;
|
|
20
|
-
entityId?: any;
|
|
21
21
|
}
|
|
@@ -1,22 +1,6 @@
|
|
|
1
1
|
import { StateMachineState as StoreApiStateMachineState } from "#types/api/store/StateMachineState";
|
|
2
2
|
import { StateMachine } from "./StateMachine";
|
|
3
|
-
import { StateMachineTransition } from "./StateMachineTransition";
|
|
4
|
-
import { OrderTransaction } from "../order/transaction/OrderTransaction";
|
|
5
|
-
import { OrderDelivery } from "../order/delivery/OrderDelivery";
|
|
6
|
-
import { Order } from "../order/Order";
|
|
7
|
-
import { OrderTransactionCapture } from "../order/transaction/capture/OrderTransactionCapture";
|
|
8
|
-
import { OrderTransactionCaptureRefund } from "../order/transaction/capture/OrderTransactionCaptureRefund";
|
|
9
|
-
import { StateMachineHistory } from "./StateMachineHistory";
|
|
10
3
|
export type StateMachineState = StoreApiStateMachineState & {
|
|
11
4
|
stateMachineId: string;
|
|
12
5
|
stateMachine?: StateMachine;
|
|
13
|
-
fromStateMachineTransitions: Array<StateMachineTransition>;
|
|
14
|
-
toStateMachineTransitions: Array<StateMachineTransition>;
|
|
15
|
-
orderTransitions: Array<OrderTransaction>;
|
|
16
|
-
orderDeliveries: Array<OrderDelivery>;
|
|
17
|
-
orders?: Array<Order>;
|
|
18
|
-
orderTransactionCaptures: Array<OrderTransactionCapture>;
|
|
19
|
-
orderTransactionCaptureRefunds: Array<OrderTransactionCaptureRefund>;
|
|
20
|
-
toStateMachineHistoryEntries: Array<StateMachineHistory>;
|
|
21
|
-
fromStateMachineHistoryEntries: Array<StateMachineHistory>;
|
|
22
6
|
};
|
|
@@ -3,14 +3,14 @@ import { StateMachine } from "./StateMachine";
|
|
|
3
3
|
import { StateMachineState } from "./StateMachineState";
|
|
4
4
|
export interface StateMachineTransition {
|
|
5
5
|
id: string;
|
|
6
|
+
readonly createdAt: string;
|
|
7
|
+
readonly updatedAt?: string;
|
|
6
8
|
actionName: string;
|
|
7
9
|
stateMachineId: string;
|
|
8
|
-
fromStateId: string;
|
|
9
|
-
toStateId: string;
|
|
10
|
-
customFields?: GenericRecord;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
readonly updatedAt?: string;
|
|
13
10
|
stateMachine?: StateMachine;
|
|
11
|
+
fromStateId: string;
|
|
14
12
|
fromStateMachineState?: StateMachineState;
|
|
13
|
+
toStateId: string;
|
|
15
14
|
toStateMachineState?: StateMachineState;
|
|
15
|
+
customFields?: GenericRecord;
|
|
16
16
|
}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { Tax as StoreApiTax } from "#types/api/store/Tax";
|
|
2
|
-
import { Product } from "../product/Product";
|
|
3
2
|
import { TaxRule } from "./rule/TaxRule";
|
|
4
|
-
import { ShippingMethod } from "../shippingMethod/ShippingMethod";
|
|
5
3
|
export type Tax = StoreApiTax & {
|
|
6
|
-
products?: Array<Product>;
|
|
7
4
|
rules?: Array<TaxRule>;
|
|
8
|
-
shippingMethods?: Array<ShippingMethod>;
|
|
9
5
|
};
|
|
@@ -11,9 +11,9 @@ export interface TaxProvider {
|
|
|
11
11
|
availabilityRuleId?: string;
|
|
12
12
|
appId?: string;
|
|
13
13
|
customFields?: GenericRecord;
|
|
14
|
-
readonly createdAt
|
|
14
|
+
readonly createdAt: string;
|
|
15
15
|
readonly updatedAt?: string;
|
|
16
|
-
translated?:
|
|
16
|
+
translated?: Record<string, any>;
|
|
17
17
|
availabilityRule?: Rule;
|
|
18
18
|
app?: App;
|
|
19
19
|
}
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { TaxRuleType } from "./TaxRuleType";
|
|
2
2
|
import { Country } from "../../country/Country";
|
|
3
|
-
import { Tax } from "../Tax";
|
|
4
3
|
export interface TaxRule {
|
|
5
4
|
id: string;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
6
7
|
taxRuleTypeId: string;
|
|
7
|
-
|
|
8
|
+
type?: TaxRuleType;
|
|
9
|
+
activeFrom: string;
|
|
8
10
|
taxRate: number;
|
|
9
11
|
data: {
|
|
10
12
|
states?: Array<object>;
|
|
@@ -12,11 +14,6 @@ export interface TaxRule {
|
|
|
12
14
|
fromZipCode?: string;
|
|
13
15
|
toZipCode?: string;
|
|
14
16
|
};
|
|
15
|
-
|
|
16
|
-
activeFrom: string;
|
|
17
|
-
readonly createdAt?: string;
|
|
18
|
-
readonly updatedAt?: string;
|
|
19
|
-
type?: TaxRuleType;
|
|
17
|
+
countryId: string;
|
|
20
18
|
country?: Country;
|
|
21
|
-
tax?: Tax;
|
|
22
19
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { TaxRule } from "./TaxRule";
|
|
2
2
|
export interface TaxRuleType {
|
|
3
3
|
id: string;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
4
6
|
readonly technicalName: string;
|
|
5
7
|
position: number;
|
|
6
8
|
typeName: string;
|
|
7
|
-
readonly createdAt?: string;
|
|
8
|
-
readonly updatedAt?: string;
|
|
9
|
-
translated?: object;
|
|
10
9
|
rules?: Array<TaxRule>;
|
|
10
|
+
translated?: Record<string, any>;
|
|
11
11
|
}
|
|
@@ -3,50 +3,26 @@ import { Locale } from "../locale/Locale";
|
|
|
3
3
|
import { Media } from "../media/Media";
|
|
4
4
|
import { UserAccessKey } from "./UserAccessKey";
|
|
5
5
|
import { UserConfig } from "./UserConfig";
|
|
6
|
-
import { StateMachineHistory } from "../stateMachine/StateMachineHistory";
|
|
7
|
-
import { ImportExportLog } from "../importExport/ImportExportLog";
|
|
8
6
|
import { AclRole } from "../acl/AclRole";
|
|
9
|
-
import { UserRecovery } from "./UserRecovery";
|
|
10
|
-
import { Order } from "../order/Order";
|
|
11
|
-
import { Customer } from "../customer/Customer";
|
|
12
7
|
export interface User {
|
|
13
8
|
id: string;
|
|
14
|
-
|
|
9
|
+
readonly createdAt: string;
|
|
10
|
+
readonly updatedAt?: string;
|
|
11
|
+
active?: boolean;
|
|
12
|
+
timeZone?: string;
|
|
15
13
|
username: string;
|
|
16
|
-
firstName: string;
|
|
17
|
-
lastName: string;
|
|
18
|
-
title?: string;
|
|
19
14
|
email: string;
|
|
20
|
-
|
|
15
|
+
title?: string;
|
|
21
16
|
admin?: boolean;
|
|
17
|
+
aclRoles?: Array<AclRole>;
|
|
18
|
+
configs?: Array<UserConfig>;
|
|
22
19
|
lastUpdatedPasswordAt?: string;
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
readonly createdAt?: string;
|
|
27
|
-
readonly updatedAt?: string;
|
|
28
|
-
extensions?: {
|
|
29
|
-
createdNotifications?: {
|
|
30
|
-
links?: {
|
|
31
|
-
related?: string;
|
|
32
|
-
};
|
|
33
|
-
data?: Array<{
|
|
34
|
-
type?: string;
|
|
35
|
-
id?: string;
|
|
36
|
-
}>;
|
|
37
|
-
};
|
|
38
|
-
};
|
|
20
|
+
firstName: string;
|
|
21
|
+
lastName: string;
|
|
22
|
+
localeId: string;
|
|
39
23
|
locale?: Locale;
|
|
24
|
+
avatarId?: string;
|
|
40
25
|
avatarMedia?: Media;
|
|
41
|
-
media?: Array<Media>;
|
|
42
26
|
accessKeys?: Array<UserAccessKey>;
|
|
43
|
-
|
|
44
|
-
stateMachineHistoryEntries?: Array<StateMachineHistory>;
|
|
45
|
-
importExportLogEntries?: Array<ImportExportLog>;
|
|
46
|
-
aclRoles?: Array<AclRole>;
|
|
47
|
-
recoveryUser?: UserRecovery;
|
|
48
|
-
createdOrders?: Array<Order>;
|
|
49
|
-
updatedOrders?: Array<Order>;
|
|
50
|
-
createdCustomers?: Array<Customer>;
|
|
51
|
-
updatedCustomers?: Array<Customer>;
|
|
27
|
+
customFields?: GenericRecord;
|
|
52
28
|
}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
|
-
import { User } from "./User";
|
|
3
2
|
export interface UserAccessKey {
|
|
4
3
|
id: string;
|
|
5
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
6
6
|
accessKey: string;
|
|
7
7
|
secretAccessKey: string;
|
|
8
8
|
lastUsageAt?: string;
|
|
9
9
|
customFields?: GenericRecord;
|
|
10
|
-
readonly createdAt?: string;
|
|
11
|
-
readonly updatedAt?: string;
|
|
12
|
-
user?: User;
|
|
13
10
|
}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
|
-
import { User } from "./User";
|
|
2
1
|
export interface UserConfig {
|
|
3
2
|
id: string;
|
|
4
|
-
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
5
5
|
key: string;
|
|
6
6
|
value?: string;
|
|
7
|
-
readonly createdAt?: string;
|
|
8
|
-
readonly updatedAt?: string;
|
|
9
|
-
user?: User;
|
|
10
7
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
|
-
import { App } from "../app/App";
|
|
2
1
|
export interface Webhook {
|
|
3
2
|
id: string;
|
|
4
|
-
|
|
3
|
+
readonly createdAt: string;
|
|
4
|
+
readonly updatedAt?: string;
|
|
5
|
+
active?: boolean;
|
|
5
6
|
eventName: string;
|
|
7
|
+
name: string;
|
|
6
8
|
url: string;
|
|
7
|
-
onlyLiveVersion?: boolean;
|
|
8
9
|
readonly errorCount?: number;
|
|
9
|
-
active?: boolean;
|
|
10
|
-
appId?: string;
|
|
11
|
-
readonly createdAt?: string;
|
|
12
|
-
readonly updatedAt?: string;
|
|
13
|
-
app?: App;
|
|
14
10
|
}
|
|
@@ -1,20 +1,16 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface WebhookEventLog {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
6
|
+
readonly timestamp?: string;
|
|
6
7
|
eventName: string;
|
|
7
|
-
|
|
8
|
-
timestamp?: string;
|
|
8
|
+
webhookName: string;
|
|
9
9
|
processingTime?: number;
|
|
10
|
-
appVersion?: string;
|
|
11
10
|
requestContent?: object;
|
|
12
11
|
responseContent?: object;
|
|
13
12
|
responseStatusCode?: number;
|
|
14
13
|
responseReasonPhrase?: string;
|
|
15
14
|
url: string;
|
|
16
|
-
onlyLiveVersion?: boolean;
|
|
17
15
|
customFields?: GenericRecord;
|
|
18
|
-
readonly createdAt?: string;
|
|
19
|
-
readonly updatedAt?: string;
|
|
20
16
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export type GenericRecord = Record<string, string | number |
|
|
1
|
+
export type GenericRecord = Record<string, string | number | Array<string> | null>;
|
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
export interface Price {
|
|
2
|
-
currencyId: string;
|
|
3
|
-
gross: number;
|
|
4
2
|
net: number;
|
|
5
|
-
|
|
3
|
+
gross: number;
|
|
6
4
|
listPrice?: {
|
|
7
|
-
currencyId?: string;
|
|
8
|
-
gross: number;
|
|
9
5
|
net: number;
|
|
10
|
-
|
|
6
|
+
gross: number;
|
|
11
7
|
};
|
|
12
8
|
regulationPrice: {
|
|
13
|
-
currencyId?: string;
|
|
14
|
-
gross: number;
|
|
15
9
|
net: number;
|
|
16
|
-
|
|
10
|
+
gross: number;
|
|
17
11
|
};
|
|
12
|
+
currencyId: string;
|
|
18
13
|
}
|
|
@@ -1,23 +1,19 @@
|
|
|
1
1
|
import { Filters } from "../filter/Filters";
|
|
2
|
-
import { Query } from "./Query";
|
|
3
2
|
import { Sort } from "./Sort";
|
|
4
3
|
import { Aggregation } from "../aggregation/Aggregation";
|
|
5
4
|
import { TotalCountMode } from "./TotalCountMode";
|
|
6
|
-
import { Includes } from "./Includes";
|
|
7
5
|
export interface Criteria {
|
|
8
|
-
page?: number;
|
|
9
6
|
term?: string;
|
|
7
|
+
/** @default "none" */
|
|
8
|
+
"total-count-mode"?: TotalCountMode;
|
|
9
|
+
page?: number;
|
|
10
10
|
limit?: number;
|
|
11
|
-
filter?: Filters;
|
|
12
11
|
ids?: Array<string>;
|
|
13
|
-
|
|
14
|
-
associations?: Record<string, Criteria>;
|
|
12
|
+
filter?: Filters;
|
|
15
13
|
"post-filter"?: Filters;
|
|
16
14
|
sort?: Array<Sort>;
|
|
17
|
-
aggregations?: Array<Aggregation>;
|
|
18
15
|
fields?: Array<string>;
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
includes?: Includes;
|
|
16
|
+
includes?: Record<string, Array<string>>;
|
|
17
|
+
associations?: Record<string, Criteria>;
|
|
18
|
+
aggregations?: Array<Aggregation>;
|
|
23
19
|
}
|
|
@@ -4,23 +4,14 @@ import { SimpleFilter } from "../../filter/SimpleFilter";
|
|
|
4
4
|
import { Sort } from "../Sort";
|
|
5
5
|
export type ProductListingCriteria = Criteria & {
|
|
6
6
|
order?: string;
|
|
7
|
-
limit?: number;
|
|
8
7
|
p?: number;
|
|
9
|
-
|
|
8
|
+
limit?: number;
|
|
10
9
|
"min-price"?: number;
|
|
11
10
|
"max-price"?: number;
|
|
12
|
-
rating?: number;
|
|
13
|
-
"shipping-free"?: boolean;
|
|
14
|
-
properties?: string;
|
|
15
|
-
"manufacturer-filter"?: boolean;
|
|
16
11
|
"price-filter"?: boolean;
|
|
17
|
-
"
|
|
18
|
-
"shipping-free-filter"?: boolean;
|
|
19
|
-
"property-filter"?: boolean;
|
|
20
|
-
"property-whitelist"?: string;
|
|
21
|
-
"reduce-aggregations"?: string | null;
|
|
12
|
+
"shipping-free"?: boolean;
|
|
22
13
|
} & {
|
|
23
|
-
filter?: Filters | SimpleFilter;
|
|
24
14
|
sort?: Array<Sort> | Sort;
|
|
15
|
+
filter?: Filters | SimpleFilter;
|
|
25
16
|
"post-filter"?: Filters | SimpleFilter;
|
|
26
17
|
};
|
|
@@ -2,18 +2,16 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { Rounding } from "#types/api/global/Rounding";
|
|
3
3
|
export interface Currency {
|
|
4
4
|
id: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
isoCode: string;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
8
7
|
shortName: string;
|
|
9
8
|
name: string;
|
|
9
|
+
isoCode: string;
|
|
10
|
+
symbol: string;
|
|
10
11
|
position?: number;
|
|
11
12
|
isSystemDefault?: boolean;
|
|
12
|
-
taxFreeFrom?: number;
|
|
13
|
-
customFields?: GenericRecord;
|
|
14
13
|
itemRounding: Rounding;
|
|
15
14
|
totalRounding: Rounding;
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
translated?: object;
|
|
15
|
+
customFields?: GenericRecord;
|
|
16
|
+
translated?: Record<string, any>;
|
|
19
17
|
}
|
|
@@ -2,23 +2,20 @@ import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
|
2
2
|
import { Media } from "./media/Media";
|
|
3
3
|
export interface PaymentMethod {
|
|
4
4
|
id: string;
|
|
5
|
+
readonly createdAt: string;
|
|
6
|
+
readonly updatedAt?: string;
|
|
7
|
+
active?: boolean;
|
|
5
8
|
name: string;
|
|
6
|
-
readonly distinguishableName?: string;
|
|
7
9
|
description?: string;
|
|
8
10
|
position?: number;
|
|
9
|
-
active?: boolean;
|
|
10
11
|
afterOrderEnabled?: boolean;
|
|
11
|
-
customFields?: GenericRecord;
|
|
12
|
-
mediaId?: string;
|
|
13
12
|
readonly synchronous?: boolean;
|
|
14
13
|
readonly asynchronous?: boolean;
|
|
15
|
-
readonly prepared?: boolean;
|
|
16
14
|
readonly refundable?: boolean;
|
|
17
|
-
readonly recurring?: boolean;
|
|
18
15
|
shortName?: string;
|
|
19
16
|
technicalName?: string;
|
|
20
|
-
|
|
21
|
-
readonly updatedAt?: string;
|
|
22
|
-
translated?: object;
|
|
17
|
+
mediaId?: string;
|
|
23
18
|
media?: Media;
|
|
19
|
+
customFields?: GenericRecord;
|
|
20
|
+
translated?: Record<string, any>;
|
|
24
21
|
}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface Rule {
|
|
3
3
|
id?: string;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
4
6
|
name: string;
|
|
5
7
|
description?: string;
|
|
6
8
|
customFields?: GenericRecord;
|
|
7
|
-
readonly createdAt?: string;
|
|
8
|
-
readonly updatedAt?: string;
|
|
9
|
-
extensions?: any;
|
|
10
9
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface StateMachineState {
|
|
3
3
|
id?: string;
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
4
6
|
technicalName: string;
|
|
5
7
|
name: string;
|
|
6
8
|
customFields?: GenericRecord;
|
|
7
|
-
|
|
8
|
-
readonly updatedAt?: string;
|
|
9
|
-
translated?: object;
|
|
9
|
+
translated?: Record<string, any>;
|
|
10
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface Tax {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
5
6
|
name: string;
|
|
7
|
+
taxRate: number;
|
|
6
8
|
position?: number;
|
|
7
9
|
customFields?: GenericRecord;
|
|
8
|
-
readonly createdAt?: string;
|
|
9
|
-
readonly updatedAt?: string;
|
|
10
10
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { GenericRecord } from "#types/api/global/GenericRecord";
|
|
2
2
|
export interface Unit {
|
|
3
3
|
id: string;
|
|
4
|
-
|
|
4
|
+
readonly createdAt: string;
|
|
5
|
+
readonly updatedAt?: string;
|
|
5
6
|
name: string;
|
|
7
|
+
shortCode: string;
|
|
6
8
|
customFields?: GenericRecord;
|
|
7
|
-
|
|
8
|
-
readonly updatedAt?: string;
|
|
9
|
-
translated?: object;
|
|
9
|
+
translated?: Record<string, any>;
|
|
10
10
|
}
|
|
@@ -3,24 +3,13 @@ import { CartError } from "./CartError";
|
|
|
3
3
|
import { CartDelivery } from "./delivery/CartDelivery";
|
|
4
4
|
import { CartLineItem } from "#types/api/store";
|
|
5
5
|
export interface Cart {
|
|
6
|
-
|
|
7
|
-
token?: string;
|
|
6
|
+
token: string;
|
|
8
7
|
price?: CalculatedPrice;
|
|
9
8
|
lineItems?: Array<CartLineItem>;
|
|
10
|
-
source?: string;
|
|
11
|
-
states?: Array<string>;
|
|
12
|
-
hash?: string;
|
|
13
9
|
errors?: Array<CartError>;
|
|
14
|
-
errorHash?: string;
|
|
15
|
-
extensions?: Record<string, any>;
|
|
16
10
|
deliveries?: Array<CartDelivery>;
|
|
17
|
-
transactions?: Array<{
|
|
18
|
-
paymentMethodId?: string;
|
|
19
|
-
amount?: CalculatedPrice;
|
|
20
|
-
}>;
|
|
21
|
-
modified?: boolean;
|
|
22
11
|
customerComment?: string | null;
|
|
23
12
|
affiliateCode?: string | null;
|
|
24
13
|
campaignCode?: string | null;
|
|
25
|
-
|
|
14
|
+
extensions?: Record<string, any>;
|
|
26
15
|
}
|
|
@@ -1,14 +1,10 @@
|
|
|
1
1
|
import { CartDeliveryDate } from "./CartDeliveryDate";
|
|
2
|
-
import { CartDeliveryShippingLocation } from "./CartDeliveryShippingLocation";
|
|
3
|
-
import { CountryState } from "../../country/CountryState";
|
|
4
2
|
import { CartDeliveryPosition } from "./CartDeliveryPosition";
|
|
5
3
|
import { CalculatedPrice } from "../../price/CalculatedPrice";
|
|
6
4
|
import { ShippingMethod } from "../../shippingMethod/ShippingMethod";
|
|
7
5
|
export interface CartDelivery {
|
|
6
|
+
id: string;
|
|
8
7
|
deliveryDate?: CartDeliveryDate;
|
|
9
|
-
location?: CartDeliveryShippingLocation & {
|
|
10
|
-
state?: CountryState;
|
|
11
|
-
};
|
|
12
8
|
positions?: Array<CartDeliveryPosition>;
|
|
13
9
|
shippingCosts?: CalculatedPrice;
|
|
14
10
|
shippingMethod?: ShippingMethod;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import { CartDeliveryTime } from "./CartDeliveryTime";
|
|
2
2
|
export interface CartDeliveryInformation {
|
|
3
3
|
apiAlias: "cart_delivery_information";
|
|
4
|
-
freeDelivery?: boolean;
|
|
5
4
|
deliveryTime?: CartDeliveryTime;
|
|
6
|
-
height?: number;
|
|
7
5
|
length?: number;
|
|
8
|
-
restockTime?: number;
|
|
9
|
-
stock?: number;
|
|
10
|
-
weight?: number;
|
|
11
6
|
width?: number;
|
|
7
|
+
height?: number;
|
|
8
|
+
weight?: number;
|
|
9
|
+
stock?: number;
|
|
10
|
+
restockTime?: number;
|
|
12
11
|
}
|