@devite/shopware-client 1.0.0 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (516) hide show
  1. package/dist/index.cjs +12140 -453
  2. package/dist/index.d.cts +11772 -1421
  3. package/dist/index.d.mts +11772 -1421
  4. package/dist/index.d.ts +11772 -1421
  5. package/dist/index.mjs +12140 -441
  6. package/dist/{types → src/http}/HTTPRequestMethod.d.ts +2 -1
  7. package/dist/types/ClientRequestOptions.d.ts +7 -4
  8. package/dist/types/ClientResponse.d.ts +3 -3
  9. package/dist/types/OAuthScope.d.ts +1 -0
  10. package/dist/types/RequestCacheEntry.d.ts +2 -2
  11. package/dist/types/api/admin/DeliveryTime.d.ts +7 -0
  12. package/dist/types/api/admin/LogEntry.d.ts +10 -0
  13. package/dist/types/api/admin/Notification.d.ts +15 -0
  14. package/dist/types/api/admin/Salutation.d.ts +11 -0
  15. package/dist/types/api/admin/ScheduledTask.d.ts +12 -0
  16. package/dist/types/api/admin/Script.d.ts +12 -0
  17. package/dist/types/api/admin/ShopwarePlugin.d.ts +30 -0
  18. package/dist/types/api/admin/SystemConfig.d.ts +12 -0
  19. package/dist/types/api/admin/Tag.d.ts +21 -0
  20. package/dist/types/api/admin/Unit.d.ts +5 -0
  21. package/dist/types/api/admin/acl/AclRole.d.ts +15 -0
  22. package/dist/types/api/admin/acl/AclUserRole.d.ts +11 -0
  23. package/dist/types/api/admin/acl/index.d.ts +2 -0
  24. package/dist/types/api/admin/app/App.d.ts +59 -0
  25. package/dist/types/api/admin/app/AppActionButton.d.ts +14 -0
  26. package/dist/types/api/admin/app/AppAdministrationSnippet.d.ts +8 -0
  27. package/dist/types/api/admin/app/AppCmsBlock.d.ts +14 -0
  28. package/dist/types/api/admin/app/AppScriptCondition.d.ts +17 -0
  29. package/dist/types/api/admin/app/AppTemplate.d.ts +11 -0
  30. package/dist/types/api/admin/app/index.d.ts +6 -0
  31. package/dist/types/api/admin/cart/Cart.d.ts +12 -0
  32. package/dist/types/api/admin/cart/CartItem.d.ts +4 -0
  33. package/dist/types/api/admin/cart/index.d.ts +2 -0
  34. package/dist/types/api/admin/category/Category.d.ts +17 -0
  35. package/dist/types/api/admin/category/CategoryTag.d.ts +10 -0
  36. package/dist/types/api/admin/category/MainCategory.d.ts +9 -0
  37. package/dist/types/api/admin/category/index.d.ts +3 -0
  38. package/dist/types/api/admin/cms/CmsBlock.d.ts +10 -0
  39. package/dist/types/api/admin/cms/CmsPage.d.ts +14 -0
  40. package/dist/types/api/admin/cms/CmsSection.d.ts +11 -0
  41. package/dist/types/api/admin/cms/CmsSlot.d.ts +5 -0
  42. package/dist/types/api/admin/cms/index.d.ts +5 -0
  43. package/dist/types/api/admin/cms/landingPage/LandingPage.d.ts +9 -0
  44. package/dist/types/api/admin/cms/landingPage/LandingPageSalesChannel.d.ts +10 -0
  45. package/dist/types/api/admin/cms/landingPage/LandingPageTag.d.ts +10 -0
  46. package/dist/types/api/admin/cms/landingPage/index.d.ts +3 -0
  47. package/dist/types/api/admin/country/Country.d.ts +16 -0
  48. package/dist/types/api/admin/country/CountryState.d.ts +9 -0
  49. package/dist/types/api/admin/currency/Currency.d.ts +16 -0
  50. package/dist/types/api/admin/currency/CurrencyCountryRounding.d.ts +14 -0
  51. package/dist/types/api/admin/currency/index.d.ts +2 -0
  52. package/dist/types/api/admin/custom/CustomEntity.d.ts +16 -0
  53. package/dist/types/api/admin/custom/field/CustomField.d.ts +16 -0
  54. package/dist/types/api/admin/custom/field/index.d.ts +2 -0
  55. package/dist/types/api/admin/custom/field/set/CustomFieldSet.d.ts +19 -0
  56. package/dist/types/api/admin/custom/field/set/CustomFieldSetRelation.d.ts +9 -0
  57. package/dist/types/api/admin/custom/field/set/index.d.ts +2 -0
  58. package/dist/types/api/admin/custom/index.d.ts +2 -0
  59. package/dist/types/api/admin/customer/Customer.d.ts +39 -0
  60. package/dist/types/api/admin/customer/CustomerAddress.d.ts +11 -0
  61. package/dist/types/api/admin/customer/CustomerRecovery.d.ts +9 -0
  62. package/dist/types/api/admin/customer/CustomerTag.d.ts +9 -0
  63. package/dist/types/api/admin/customer/group/CustomerGroup.d.ts +8 -0
  64. package/dist/types/api/admin/customer/group/CustomerGroupRegistrationSalesChannels.d.ts +10 -0
  65. package/dist/types/api/admin/customer/group/index.d.ts +2 -0
  66. package/dist/types/api/admin/customer/index.d.ts +6 -0
  67. package/dist/types/api/admin/customer/wishlist/CustomerWishlist.d.ts +15 -0
  68. package/dist/types/api/admin/customer/wishlist/CustomerWishlistProduct.d.ts +12 -0
  69. package/dist/types/api/admin/customer/wishlist/index.d.ts +2 -0
  70. package/dist/types/api/admin/document/ShopwareDocument.d.ts +9 -0
  71. package/dist/types/api/admin/document/ShopwareDocumentType.d.ts +9 -0
  72. package/dist/types/api/admin/document/baseConfig/ShopwareDocumentBaseConfig.d.ts +9 -0
  73. package/dist/types/api/admin/document/baseConfig/ShopwareDocumentBaseConfigSalesChannel.d.ts +14 -0
  74. package/dist/types/api/admin/document/baseConfig/index.d.ts +2 -0
  75. package/dist/types/api/admin/document/index.d.ts +3 -0
  76. package/dist/types/api/admin/flow/Flow.d.ts +18 -0
  77. package/dist/types/api/admin/flow/FlowSequence.d.ts +25 -0
  78. package/dist/types/api/admin/flow/FlowTemplate.d.ts +7 -0
  79. package/dist/types/api/admin/flow/app/AppFlowAction.d.ts +27 -0
  80. package/dist/types/api/admin/flow/app/AppFlowEvent.d.ts +14 -0
  81. package/dist/types/api/admin/flow/app/index.d.ts +2 -0
  82. package/dist/types/api/admin/flow/index.d.ts +4 -0
  83. package/dist/types/api/admin/importExport/ImportExportFile.d.ts +12 -0
  84. package/dist/types/api/admin/importExport/ImportExportLog.d.ts +24 -0
  85. package/dist/types/api/admin/importExport/ImportExportProfile.d.ts +20 -0
  86. package/dist/types/api/admin/importExport/index.d.ts +3 -0
  87. package/dist/types/api/admin/index.d.ts +45 -0
  88. package/dist/types/api/admin/integration/Integration.d.ts +32 -0
  89. package/dist/types/api/admin/integration/IntegrationRole.d.ts +9 -0
  90. package/dist/types/api/admin/integration/index.d.ts +2 -0
  91. package/dist/types/api/admin/locale/Language.d.ts +26 -0
  92. package/dist/types/api/admin/locale/Locale.d.ts +7 -0
  93. package/dist/types/api/admin/mail/MailHeaderFooter.d.ts +15 -0
  94. package/dist/types/api/admin/mail/index.d.ts +2 -0
  95. package/dist/types/api/admin/mail/template/MailTemplate.d.ts +19 -0
  96. package/dist/types/api/admin/mail/template/MailTemplateMedia.d.ts +11 -0
  97. package/dist/types/api/admin/mail/template/MailTemplateType.d.ts +13 -0
  98. package/dist/types/api/admin/mail/template/index.d.ts +3 -0
  99. package/dist/types/api/admin/media/Media.d.ts +89 -0
  100. package/dist/types/api/admin/media/MediaTag.d.ts +9 -0
  101. package/dist/types/api/admin/media/folder/MediaDefaultFolder.d.ts +10 -0
  102. package/dist/types/api/admin/media/folder/MediaFolder.d.ts +22 -0
  103. package/dist/types/api/admin/media/folder/configuration/MediaFolderConfiguration.d.ts +16 -0
  104. package/dist/types/api/admin/media/folder/configuration/MediaFolderConfigurationMediaThumbnailSize.d.ts +9 -0
  105. package/dist/types/api/admin/media/folder/configuration/index.d.ts +2 -0
  106. package/dist/types/api/admin/media/folder/index.d.ts +3 -0
  107. package/dist/types/api/admin/media/index.d.ts +4 -0
  108. package/dist/types/api/admin/media/thumbnail/MediaThumbnail.d.ts +5 -0
  109. package/dist/types/api/admin/media/thumbnail/MediaThumbnailSize.d.ts +11 -0
  110. package/dist/types/api/admin/media/thumbnail/index.d.ts +2 -0
  111. package/dist/types/api/admin/newsletterRecipient/NewsletterRecipient.d.ts +28 -0
  112. package/dist/types/api/admin/newsletterRecipient/NewsletterRecipientTag.d.ts +9 -0
  113. package/dist/types/api/admin/newsletterRecipient/index.d.ts +2 -0
  114. package/dist/types/api/admin/numberRange/NumberRange.d.ts +20 -0
  115. package/dist/types/api/admin/numberRange/NumberRangeSalesChannel.d.ts +14 -0
  116. package/dist/types/api/admin/numberRange/NumberRangeState.d.ts +9 -0
  117. package/dist/types/api/admin/numberRange/NumberRangeType.d.ts +15 -0
  118. package/dist/types/api/admin/numberRange/index.d.ts +4 -0
  119. package/dist/types/api/admin/order/Order.d.ts +33 -0
  120. package/dist/types/api/admin/order/OrderAddress.d.ts +15 -0
  121. package/dist/types/api/admin/order/OrderCustomer.d.ts +13 -0
  122. package/dist/types/api/admin/order/OrderTag.d.ts +10 -0
  123. package/dist/types/api/admin/order/delivery/OrderDelivery.d.ts +13 -0
  124. package/dist/types/api/admin/order/delivery/OrderDeliveryPosition.d.ts +7 -0
  125. package/dist/types/api/admin/order/delivery/index.d.ts +2 -0
  126. package/dist/types/api/admin/order/index.d.ts +9 -0
  127. package/dist/types/api/admin/order/lineItem/OrderLineItem.d.ts +13 -0
  128. package/dist/types/api/admin/order/lineItem/OrderLineItemDownload.d.ts +7 -0
  129. package/dist/types/api/admin/order/lineItem/index.d.ts +2 -0
  130. package/dist/types/api/admin/order/return/OrderReturn.d.ts +17 -0
  131. package/dist/types/api/admin/order/return/OrderReturnLineItem.d.ts +18 -0
  132. package/dist/types/api/admin/order/return/OrderReturnLineItemReason.d.ts +8 -0
  133. package/dist/types/api/admin/order/return/index.d.ts +1 -0
  134. package/dist/types/api/admin/order/transaction/OrderTransaction.d.ts +9 -0
  135. package/dist/types/api/admin/order/transaction/capture/OrderTransactionCapture.d.ts +9 -0
  136. package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefund.d.ts +9 -0
  137. package/dist/types/api/admin/order/transaction/capture/OrderTransactionCaptureRefundPosition.d.ts +7 -0
  138. package/dist/types/api/admin/order/transaction/capture/index.d.ts +3 -0
  139. package/dist/types/api/admin/order/transaction/index.d.ts +2 -0
  140. package/dist/types/api/admin/order/warehouse/OrderProductWarehouse.d.ts +10 -0
  141. package/dist/types/api/admin/order/warehouse/OrderWarehouseGroup.d.ts +7 -0
  142. package/dist/types/api/admin/order/warehouse/index.d.ts +2 -0
  143. package/dist/types/api/admin/paymentMethod/AppPaymentMethod.d.ts +22 -0
  144. package/dist/types/api/admin/paymentMethod/PaymentMethod.d.ts +22 -0
  145. package/dist/types/api/admin/paymentMethod/index.d.ts +2 -0
  146. package/dist/types/api/admin/product/Product.d.ts +65 -0
  147. package/dist/types/api/admin/product/ProductConfiguratorSetting.d.ts +8 -0
  148. package/dist/types/api/admin/product/ProductCustomFieldSet.d.ts +9 -0
  149. package/dist/types/api/admin/product/ProductDownload.d.ts +17 -0
  150. package/dist/types/api/admin/product/ProductExport.d.ts +32 -0
  151. package/dist/types/api/admin/product/ProductFeatureSet.d.ts +11 -0
  152. package/dist/types/api/admin/product/ProductKeywordDictionary.d.ts +8 -0
  153. package/dist/types/api/admin/product/ProductManufacturer.d.ts +7 -0
  154. package/dist/types/api/admin/product/ProductMedia.d.ts +17 -0
  155. package/dist/types/api/admin/product/ProductOption.d.ts +10 -0
  156. package/dist/types/api/admin/product/ProductPrice.d.ts +19 -0
  157. package/dist/types/api/admin/product/ProductProperty.d.ts +10 -0
  158. package/dist/types/api/admin/product/ProductSorting.d.ts +12 -0
  159. package/dist/types/api/admin/product/ProductTag.d.ts +11 -0
  160. package/dist/types/api/admin/product/ProductVisibility.d.ts +13 -0
  161. package/dist/types/api/admin/product/category/ProductCategory.d.ts +11 -0
  162. package/dist/types/api/admin/product/category/ProductCategoryTree.d.ts +11 -0
  163. package/dist/types/api/admin/product/category/index.d.ts +2 -0
  164. package/dist/types/api/admin/product/crossSelling/ProductCrossSelling.d.ts +12 -0
  165. package/dist/types/api/admin/product/crossSelling/ProductCrossSellingAssignedProduct.d.ts +13 -0
  166. package/dist/types/api/admin/product/crossSelling/index.d.ts +2 -0
  167. package/dist/types/api/admin/product/index.d.ts +21 -0
  168. package/dist/types/api/admin/product/review/ProductReview.d.ts +13 -0
  169. package/dist/types/api/admin/product/review/ProductReviewSummary.d.ts +2 -0
  170. package/dist/types/api/admin/product/review/index.d.ts +2 -0
  171. package/dist/types/api/admin/product/search/ProductSearchKeyword.d.ts +15 -0
  172. package/dist/types/api/admin/product/search/config/ProductSearchConfig.d.ts +13 -0
  173. package/dist/types/api/admin/product/search/config/ProductSearchConfigField.d.ts +15 -0
  174. package/dist/types/api/admin/product/search/config/index.d.ts +2 -0
  175. package/dist/types/api/admin/product/search/index.d.ts +2 -0
  176. package/dist/types/api/admin/product/stream/ProductStream.d.ts +13 -0
  177. package/dist/types/api/admin/product/stream/ProductStreamFilter.d.ts +19 -0
  178. package/dist/types/api/admin/product/stream/ProductStreamMapping.d.ts +10 -0
  179. package/dist/types/api/admin/product/stream/index.d.ts +3 -0
  180. package/dist/types/api/admin/product/warehouse/ProductWarehouse.d.ts +7 -0
  181. package/dist/types/api/admin/product/warehouse/ProductWarehouseGroup.d.ts +6 -0
  182. package/dist/types/api/admin/product/warehouse/index.d.ts +2 -0
  183. package/dist/types/api/admin/promotion/Promotion.d.ts +44 -0
  184. package/dist/types/api/admin/promotion/PromotionIndividualCode.d.ts +10 -0
  185. package/dist/types/api/admin/promotion/PromotionPersonaCustomer.d.ts +9 -0
  186. package/dist/types/api/admin/promotion/PromotionSalesChannel.d.ts +12 -0
  187. package/dist/types/api/admin/promotion/PromotionSetGroup.d.ts +13 -0
  188. package/dist/types/api/admin/promotion/discount/PromotionDiscount.d.ts +21 -0
  189. package/dist/types/api/admin/promotion/discount/PromotionDiscountPrice.d.ts +12 -0
  190. package/dist/types/api/admin/promotion/discount/PromotionDiscountRule.d.ts +9 -0
  191. package/dist/types/api/admin/promotion/discount/index.d.ts +3 -0
  192. package/dist/types/api/admin/promotion/index.d.ts +7 -0
  193. package/dist/types/api/admin/promotion/rule/PromotionCartRule.d.ts +9 -0
  194. package/dist/types/api/admin/promotion/rule/PromotionOrderRule.d.ts +9 -0
  195. package/dist/types/api/admin/promotion/rule/PromotionPersonaRule.d.ts +9 -0
  196. package/dist/types/api/admin/promotion/rule/PromotionSetGroupRule.d.ts +9 -0
  197. package/dist/types/api/admin/promotion/rule/index.d.ts +4 -0
  198. package/dist/types/api/admin/propertyGroup/PropertyGroup.d.ts +5 -0
  199. package/dist/types/api/admin/propertyGroup/PropertyGroupOption.d.ts +12 -0
  200. package/dist/types/api/admin/rule/Rule.d.ts +31 -0
  201. package/dist/types/api/admin/rule/RuleCondition.d.ts +19 -0
  202. package/dist/types/api/admin/rule/RuleTag.d.ts +9 -0
  203. package/dist/types/api/admin/rule/index.d.ts +3 -0
  204. package/dist/types/api/admin/salesChannel/SalesChannel.d.ts +103 -0
  205. package/dist/types/api/admin/salesChannel/SalesChannelAnalytics.d.ts +11 -0
  206. package/dist/types/api/admin/salesChannel/SalesChannelContext.d.ts +31 -0
  207. package/dist/types/api/admin/salesChannel/SalesChannelCountry.d.ts +9 -0
  208. package/dist/types/api/admin/salesChannel/SalesChannelCurrency.d.ts +9 -0
  209. package/dist/types/api/admin/salesChannel/SalesChannelDomain.d.ts +24 -0
  210. package/dist/types/api/admin/salesChannel/SalesChannelLanguage.d.ts +9 -0
  211. package/dist/types/api/admin/salesChannel/SalesChannelPaymentMethod.d.ts +9 -0
  212. package/dist/types/api/admin/salesChannel/SalesChannelShippingMethod.d.ts +9 -0
  213. package/dist/types/api/admin/salesChannel/SalesChannelType.d.ts +17 -0
  214. package/dist/types/api/admin/salesChannel/index.d.ts +9 -0
  215. package/dist/types/api/admin/seo/SeoUrl.d.ts +22 -0
  216. package/dist/types/api/admin/seo/SeoUrlTemplate.d.ts +14 -0
  217. package/dist/types/api/admin/seo/Sitemap.d.ts +3 -0
  218. package/dist/types/api/admin/seo/index.d.ts +2 -0
  219. package/dist/types/api/admin/shippingMethod/AppShippingMethod.d.ts +16 -0
  220. package/dist/types/api/admin/shippingMethod/ShippingMethod.d.ts +24 -0
  221. package/dist/types/api/admin/shippingMethod/ShippingMethodPrice.d.ts +8 -0
  222. package/dist/types/api/admin/shippingMethod/ShippingMethodTag.d.ts +9 -0
  223. package/dist/types/api/admin/shippingMethod/index.d.ts +4 -0
  224. package/dist/types/api/admin/snippet/Snippet.d.ts +13 -0
  225. package/dist/types/api/admin/snippet/SnippetSet.d.ts +13 -0
  226. package/dist/types/api/admin/snippet/index.d.ts +2 -0
  227. package/dist/types/api/admin/stateMachine/StateMachine.d.ts +17 -0
  228. package/dist/types/api/admin/stateMachine/StateMachineHistory.d.ts +21 -0
  229. package/dist/types/api/admin/stateMachine/StateMachineState.d.ts +22 -0
  230. package/dist/types/api/admin/stateMachine/StateMachineTransition.d.ts +16 -0
  231. package/dist/types/api/admin/stateMachine/index.d.ts +4 -0
  232. package/dist/types/api/admin/subscription/Subscription.d.ts +27 -0
  233. package/dist/types/api/admin/subscription/SubscriptionAddress.d.ts +6 -0
  234. package/dist/types/api/admin/subscription/SubscriptionCustomer.d.ts +15 -0
  235. package/dist/types/api/admin/subscription/SubscriptionInterval.d.ts +9 -0
  236. package/dist/types/api/admin/subscription/SubscriptionTagMapping.d.ts +5 -0
  237. package/dist/types/api/admin/subscription/index.d.ts +6 -0
  238. package/dist/types/api/admin/subscription/plan/SubscriptionPlan.d.ts +11 -0
  239. package/dist/types/api/admin/subscription/plan/SubscriptionPlanIntervalMapping.d.ts +5 -0
  240. package/dist/types/api/admin/subscription/plan/SubscriptionPlanProductMapping.d.ts +6 -0
  241. package/dist/types/api/admin/subscription/plan/index.d.ts +3 -0
  242. package/dist/types/api/admin/tax/Tax.d.ts +9 -0
  243. package/dist/types/api/admin/tax/TaxProvider.d.ts +19 -0
  244. package/dist/types/api/admin/tax/index.d.ts +3 -0
  245. package/dist/types/api/admin/tax/rule/TaxRule.d.ts +22 -0
  246. package/dist/types/api/admin/tax/rule/TaxRuleType.d.ts +11 -0
  247. package/dist/types/api/admin/tax/rule/index.d.ts +2 -0
  248. package/dist/types/api/admin/theme/Theme.d.ts +25 -0
  249. package/dist/types/api/admin/theme/ThemeChild.d.ts +8 -0
  250. package/dist/types/api/admin/theme/ThemeMedia.d.ts +9 -0
  251. package/dist/types/api/admin/theme/ThemeSalesChannel.d.ts +9 -0
  252. package/dist/types/api/admin/theme/index.d.ts +4 -0
  253. package/dist/types/api/admin/user/User.d.ts +52 -0
  254. package/dist/types/api/admin/user/UserAccessKey.d.ts +13 -0
  255. package/dist/types/api/admin/user/UserConfig.d.ts +10 -0
  256. package/dist/types/api/admin/user/UserRecovery.d.ts +9 -0
  257. package/dist/types/api/admin/user/index.d.ts +4 -0
  258. package/dist/types/api/admin/warehouse/Warehouse.d.ts +5 -0
  259. package/dist/types/api/admin/warehouse/WarehouseGroup.d.ts +7 -0
  260. package/dist/types/api/admin/warehouse/WarehouseGroupWarehouse.d.ts +6 -0
  261. package/dist/types/api/admin/warehouse/index.d.ts +1 -0
  262. package/dist/types/api/admin/webhook/Webhook.d.ts +14 -0
  263. package/dist/types/api/admin/webhook/WebhookEventLog.d.ts +20 -0
  264. package/dist/types/api/admin/webhook/index.d.ts +2 -0
  265. package/dist/types/api/global/GenericRecord.d.ts +3 -0
  266. package/dist/types/api/global/Rounding.d.ts +5 -0
  267. package/dist/types/api/global/aggregation/Aggregation.d.ts +7 -0
  268. package/dist/types/{storeApi → api/global}/aggregation/AggregationEntity.d.ts +2 -2
  269. package/dist/types/api/global/aggregation/AggregationFilter.d.ts +6 -0
  270. package/dist/types/{storeApi → api/global}/aggregation/AggregationHistogram.d.ts +2 -2
  271. package/dist/types/{storeApi → api/global}/aggregation/AggregationMetrics.d.ts +2 -2
  272. package/dist/types/{storeApi → api/global}/aggregation/AggregationRange.d.ts +2 -2
  273. package/dist/types/{storeApi → api/global}/aggregation/AggregationTerms.d.ts +3 -3
  274. package/dist/types/{storeApi → api/global}/aggregation/index.d.ts +1 -1
  275. package/dist/types/{storeApi → api/global}/filter/EqualsFilter.d.ts +2 -2
  276. package/dist/types/api/global/filter/Filters.d.ts +5 -0
  277. package/dist/types/{storeApi → api/global}/filter/MultiNotFilter.d.ts +3 -3
  278. package/dist/types/{storeApi → api/global}/filter/RangeFilter.d.ts +2 -2
  279. package/dist/types/{storeApi → api/global}/filter/SimpleFilter.d.ts +2 -2
  280. package/dist/types/api/global/index.d.ts +6 -0
  281. package/dist/types/{storeApi → api/global}/price/Price.d.ts +2 -2
  282. package/dist/types/api/global/price/index.d.ts +1 -0
  283. package/dist/types/api/global/query/Criteria.d.ts +23 -0
  284. package/dist/types/api/global/query/Includes.d.ts +1 -0
  285. package/dist/types/api/global/query/Query.d.ts +8 -0
  286. package/dist/types/{storeApi → api/global}/query/Sort.d.ts +2 -2
  287. package/dist/types/{storeApi → api/global}/query/index.d.ts +2 -1
  288. package/dist/types/{storeApi → api/global}/query/product/ProductListingCriteria.d.ts +2 -1
  289. package/dist/types/{storeApi → api/global}/query/product/ProductListingFlags.d.ts +2 -2
  290. package/dist/types/{storeApi → api/store}/Currency.d.ts +6 -13
  291. package/dist/types/{storeApi → api/store}/DeliveryTime.d.ts +3 -3
  292. package/dist/types/{storeApi → api/store}/EntitySearchResult.d.ts +2 -2
  293. package/dist/types/{storeApi → api/store}/PaymentMethod.d.ts +4 -4
  294. package/dist/types/{storeApi → api/store}/Rule.d.ts +3 -3
  295. package/dist/types/{storeApi → api/store}/Salutation.d.ts +3 -3
  296. package/dist/types/{storeApi → api/store}/StateMachineState.d.ts +3 -3
  297. package/dist/types/{storeApi → api/store}/Tag.d.ts +2 -2
  298. package/dist/types/{storeApi → api/store}/Tax.d.ts +3 -3
  299. package/dist/types/{storeApi → api/store}/Unit.d.ts +3 -3
  300. package/dist/types/{storeApi → api/store}/cart/Cart.d.ts +6 -4
  301. package/dist/types/{storeApi → api/store}/cart/CartError.d.ts +2 -2
  302. package/dist/types/api/store/cart/CartItems.d.ts +2 -0
  303. package/dist/types/api/store/cart/delivery/CartDelivery.d.ts +15 -0
  304. package/dist/types/{storeApi/cart → api/store/cart/delivery}/CartDeliveryDate.d.ts +2 -2
  305. package/dist/types/{storeApi/cart → api/store/cart/delivery}/CartDeliveryInformation.d.ts +3 -3
  306. package/dist/types/api/store/cart/delivery/CartDeliveryPosition.d.ts +9 -0
  307. package/dist/types/api/store/cart/delivery/CartDeliveryShippingLocation.d.ts +7 -0
  308. package/dist/types/{storeApi/cart → api/store/cart/delivery}/CartDeliveryTime.d.ts +2 -2
  309. package/dist/types/api/store/cart/index.d.ts +3 -0
  310. package/dist/types/{storeApi → api/store}/category/Category.d.ts +8 -8
  311. package/dist/types/{storeApi → api/store}/category/MainCategory.d.ts +2 -2
  312. package/dist/types/{storeApi → api/store}/cms/CmsBlock.d.ts +7 -5
  313. package/dist/types/{storeApi → api/store}/cms/CmsPage.d.ts +6 -5
  314. package/dist/types/{storeApi → api/store}/cms/CmsSection.d.ts +8 -5
  315. package/dist/types/{storeApi → api/store}/cms/CmsSlot.d.ts +4 -4
  316. package/dist/types/{storeApi → api/store}/cms/LandingPage.d.ts +5 -5
  317. package/dist/types/{storeApi → api/store}/cms/Visibility.d.ts +2 -2
  318. package/dist/types/{storeApi → api/store}/country/Country.d.ts +4 -4
  319. package/dist/types/{storeApi → api/store}/country/CountryState.d.ts +3 -3
  320. package/dist/types/api/store/country/index.d.ts +2 -0
  321. package/dist/types/{storeApi → api/store}/customer/Customer.d.ts +6 -5
  322. package/dist/types/{storeApi → api/store}/customer/CustomerGroup.d.ts +3 -3
  323. package/dist/types/{storeApi/customer → api/store/customer/address}/CustomerAddress.d.ts +1 -1
  324. package/dist/types/{storeApi/customer → api/store/customer/address}/CustomerAddressBody.d.ts +6 -5
  325. package/dist/types/api/store/customer/index.d.ts +2 -0
  326. package/dist/types/{storeApi → api/store}/document/ShopwareDocument.d.ts +6 -6
  327. package/dist/types/{storeApi → api/store}/document/ShopwareDocumentBaseConfig.d.ts +4 -4
  328. package/dist/types/{storeApi → api/store}/document/ShopwareDocumentType.d.ts +3 -3
  329. package/dist/types/{storeApi → api/store}/index.d.ts +0 -5
  330. package/dist/types/{storeApi → api/store}/lineItem/LineItem.d.ts +8 -6
  331. package/dist/types/{storeApi → api/store}/lineItem/LineItemPayload.d.ts +5 -5
  332. package/dist/types/{storeApi → api/store}/link/Links.d.ts +1 -1
  333. package/dist/types/{storeApi → api/store}/locale/Language.d.ts +4 -4
  334. package/dist/types/{storeApi → api/store}/locale/Locale.d.ts +3 -3
  335. package/dist/types/api/store/locale/index.d.ts +2 -0
  336. package/dist/types/{storeApi → api/store}/media/Media.d.ts +4 -4
  337. package/dist/types/{storeApi → api/store}/media/MediaThumbnail.d.ts +3 -3
  338. package/dist/types/{storeApi → api/store}/media/ProductMedia.d.ts +5 -4
  339. package/dist/types/{storeApi → api/store}/order/Order.d.ts +14 -17
  340. package/dist/types/{storeApi → api/store}/order/OrderAddress.d.ts +1 -1
  341. package/dist/types/{storeApi → api/store}/order/OrderCustomer.d.ts +3 -3
  342. package/dist/types/{storeApi → api/store}/order/OrderLineItem.d.ts +9 -8
  343. package/dist/types/{storeApi → api/store}/order/OrderLineItemDownload.d.ts +5 -5
  344. package/dist/types/api/store/order/OrderPrice.d.ts +9 -0
  345. package/dist/types/{storeApi/order → api/store/order/delivery}/OrderDelivery.d.ts +7 -6
  346. package/dist/types/{storeApi/order → api/store/order/delivery}/OrderDeliveryPosition.d.ts +4 -4
  347. package/dist/types/api/store/order/index.d.ts +6 -0
  348. package/dist/types/{storeApi/order → api/store/order/return}/OrderReturn.d.ts +3 -3
  349. package/dist/types/{storeApi/order → api/store/order/return}/OrderReturnLineItem.d.ts +2 -2
  350. package/dist/types/{storeApi/order → api/store/order/return}/OrderReturnLineItemReason.d.ts +2 -2
  351. package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransaction.d.ts +7 -7
  352. package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransactionCapture.d.ts +7 -6
  353. package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransactionCaptureRefund.d.ts +7 -6
  354. package/dist/types/{storeApi/order → api/store/order/transaction}/OrderTransactionCaptureRefundPosition.d.ts +6 -5
  355. package/dist/types/{storeApi → api/store}/price/CalculatedPrice.d.ts +7 -5
  356. package/dist/types/{storeApi/price → api/store/price/cart}/CartListPrice.d.ts +2 -2
  357. package/dist/types/{storeApi/price → api/store/price/cart}/CartPriceQuantity.d.ts +3 -3
  358. package/dist/types/{storeApi/price → api/store/price/cart}/CartPriceReference.d.ts +4 -3
  359. package/dist/types/{storeApi/price → api/store/price/cart}/CartRegulationPrice.d.ts +2 -2
  360. package/dist/types/api/store/price/index.d.ts +1 -0
  361. package/dist/types/{storeApi → api/store}/product/Product.d.ts +17 -10
  362. package/dist/types/{storeApi → api/store}/product/ProductConfiguratorSetting.d.ts +5 -5
  363. package/dist/types/{storeApi → api/store}/product/ProductDownload.d.ts +5 -5
  364. package/dist/types/{storeApi → api/store}/product/ProductListingResult.d.ts +1 -1
  365. package/dist/types/{storeApi → api/store}/product/ProductManufacturer.d.ts +4 -4
  366. package/dist/types/{storeApi → api/store}/product/ProductStream.d.ts +3 -3
  367. package/dist/types/{storeApi → api/store}/product/crossSelling/CrossSellingElement.d.ts +3 -3
  368. package/dist/types/{storeApi → api/store}/product/crossSelling/ProductCrossSelling.d.ts +2 -2
  369. package/dist/types/{storeApi → api/store}/product/index.d.ts +0 -2
  370. package/dist/types/{storeApi/product → api/store/product/review}/ProductReview.d.ts +4 -4
  371. package/dist/types/{storeApi/product → api/store/product/review}/ProductReviewSummary.d.ts +2 -2
  372. package/dist/types/{storeApi → api/store}/propertyGroup/PropertyGroup.d.ts +4 -4
  373. package/dist/types/{storeApi → api/store}/propertyGroup/PropertyGroupOption.d.ts +5 -5
  374. package/dist/types/api/store/propertyGroup/index.d.ts +2 -0
  375. package/dist/types/{storeApi → api/store}/salesChannel/SalesChannel.d.ts +13 -12
  376. package/dist/types/{storeApi → api/store}/salesChannel/SalesChannelContext.d.ts +6 -6
  377. package/dist/types/{storeApi → api/store}/seo/SeoUrlEntity.d.ts +3 -3
  378. package/dist/types/{storeApi → api/store}/seo/Sitemap.d.ts +2 -2
  379. package/dist/types/{storeApi → api/store}/shippingMethod/ShippingMethod.d.ts +5 -5
  380. package/dist/types/{storeApi → api/store}/shippingMethod/ShippingMethodPrice.d.ts +4 -4
  381. package/dist/types/clients/admin/AppClient.d.ts +292 -0
  382. package/dist/types/clients/admin/CategoryClient.d.ts +60 -0
  383. package/dist/types/clients/admin/ContentClient.d.ts +176 -0
  384. package/dist/types/clients/admin/CountryClient.d.ts +60 -0
  385. package/dist/types/clients/admin/CurrencyClient.d.ts +60 -0
  386. package/dist/types/clients/admin/CustomDataClient.d.ts +118 -0
  387. package/dist/types/clients/admin/CustomerClient.d.ts +184 -0
  388. package/dist/types/clients/admin/DeliveryTimeClient.d.ts +30 -0
  389. package/dist/types/clients/admin/DocumentClient.d.ts +126 -0
  390. package/dist/types/clients/admin/FlowClient.d.ts +89 -0
  391. package/dist/types/clients/admin/ImportExportClient.d.ts +89 -0
  392. package/dist/types/clients/admin/IntegrationClient.d.ts +30 -0
  393. package/dist/types/clients/admin/LocaleClient.d.ts +60 -0
  394. package/dist/types/clients/admin/MailClient.d.ts +125 -0
  395. package/dist/types/clients/admin/MediaClient.d.ts +176 -0
  396. package/dist/types/clients/admin/NewsletterClient.d.ts +30 -0
  397. package/dist/types/clients/admin/NumberRangeClient.d.ts +118 -0
  398. package/dist/types/clients/admin/OrderClient.d.ts +346 -0
  399. package/dist/types/clients/admin/PaymentMethodClient.d.ts +30 -0
  400. package/dist/types/clients/admin/PluginClient.d.ts +30 -0
  401. package/dist/types/clients/admin/ProductClient.d.ts +553 -0
  402. package/dist/types/clients/admin/PromotionClient.d.ts +176 -0
  403. package/dist/types/clients/admin/PropertyGroupClient.d.ts +60 -0
  404. package/dist/types/clients/admin/RuleClient.d.ts +60 -0
  405. package/dist/types/clients/admin/SalesChannelClient.d.ts +118 -0
  406. package/dist/types/clients/admin/SalutationClient.d.ts +30 -0
  407. package/dist/types/clients/admin/ScriptClient.d.ts +30 -0
  408. package/dist/types/clients/admin/SecurityClient.d.ts +30 -0
  409. package/dist/types/clients/admin/SeoClient.d.ts +60 -0
  410. package/dist/types/clients/admin/ShippingMethodClient.d.ts +60 -0
  411. package/dist/types/clients/admin/SnippetClient.d.ts +60 -0
  412. package/dist/types/clients/admin/StateMachineClient.d.ts +89 -0
  413. package/dist/types/clients/admin/SystemClient.d.ts +185 -0
  414. package/dist/types/clients/admin/TagClient.d.ts +30 -0
  415. package/dist/types/clients/admin/TaxClient.d.ts +118 -0
  416. package/dist/types/clients/admin/UnitClient.d.ts +30 -0
  417. package/dist/types/clients/admin/UserClient.d.ts +118 -0
  418. package/dist/types/clients/admin/WebhookClient.d.ts +60 -0
  419. package/dist/types/clients/admin/index.d.ts +1 -0
  420. package/dist/types/clients/store/AccountClient.d.ts +98 -0
  421. package/dist/types/clients/{AddressClient.d.ts → store/AddressClient.d.ts} +5 -3
  422. package/dist/types/clients/store/CartClient.d.ts +18 -0
  423. package/dist/types/clients/{CategoryClient.d.ts → store/CategoryClient.d.ts} +3 -1
  424. package/dist/types/clients/store/ContentClient.d.ts +32 -0
  425. package/dist/types/clients/{ContextClient.d.ts → store/ContextClient.d.ts} +7 -7
  426. package/dist/types/clients/store/CustomerAuthenticationClient.d.ts +18 -0
  427. package/dist/types/clients/store/DocumentClient.d.ts +4 -0
  428. package/dist/types/clients/{GatewayClient.d.ts → store/GatewayClient.d.ts} +4 -3
  429. package/dist/types/clients/{NewsletterClient.d.ts → store/NewsletterClient.d.ts} +6 -6
  430. package/dist/types/clients/store/OrderClient.d.ts +37 -0
  431. package/dist/types/clients/{ProductClient.d.ts → store/ProductClient.d.ts} +19 -11
  432. package/dist/types/clients/store/SeoClient.d.ts +10 -0
  433. package/dist/types/clients/{SystemClient.d.ts → store/SystemClient.d.ts} +11 -3
  434. package/dist/types/clients/store/WishlistClient.d.ts +22 -0
  435. package/dist/types/clients/{index.d.ts → store/index.d.ts} +0 -1
  436. package/dist/types/index.d.ts +1 -3
  437. package/package.json +27 -7
  438. package/dist/src/ShopwareClient.d.ts +0 -31
  439. package/dist/src/auth/AuthenticationStore.d.ts +0 -8
  440. package/dist/src/auth/AuthenticationType.d.ts +0 -5
  441. package/dist/src/auth/entries/AuthenticationEntry.d.ts +0 -10
  442. package/dist/src/auth/entries/ContextTokenEntry.d.ts +0 -13
  443. package/dist/src/auth/entries/OAuthEntry.d.ts +0 -15
  444. package/dist/src/auth/entries/index.d.ts +0 -3
  445. package/dist/src/auth/errors/ExpiredError.d.ts +0 -4
  446. package/dist/src/auth/errors/NotSavedError.d.ts +0 -4
  447. package/dist/src/auth/errors/index.d.ts +0 -2
  448. package/dist/src/auth/index.d.ts +0 -4
  449. package/dist/src/clients/AccountClient.d.ts +0 -16
  450. package/dist/src/clients/AddressClient.d.ts +0 -11
  451. package/dist/src/clients/CartClient.d.ts +0 -10
  452. package/dist/src/clients/CategoryClient.d.ts +0 -8
  453. package/dist/src/clients/Client.d.ts +0 -16
  454. package/dist/src/clients/ContentClient.d.ts +0 -9
  455. package/dist/src/clients/ContextClient.d.ts +0 -7
  456. package/dist/src/clients/CustomerAuthenticationClient.d.ts +0 -11
  457. package/dist/src/clients/DocumentClient.d.ts +0 -6
  458. package/dist/src/clients/GatewayClient.d.ts +0 -6
  459. package/dist/src/clients/NewsletterClient.d.ts +0 -8
  460. package/dist/src/clients/OrderClient.d.ts +0 -10
  461. package/dist/src/clients/PaymentClient.d.ts +0 -6
  462. package/dist/src/clients/ProductClient.d.ts +0 -14
  463. package/dist/src/clients/SeoClient.d.ts +0 -8
  464. package/dist/src/clients/SystemClient.d.ts +0 -12
  465. package/dist/src/clients/WishlistClient.d.ts +0 -9
  466. package/dist/src/clients/index.d.ts +0 -17
  467. package/dist/src/index.d.ts +0 -1
  468. package/dist/src/payloads/BinaryPayload.d.ts +0 -10
  469. package/dist/src/payloads/JsonPayload.d.ts +0 -10
  470. package/dist/src/payloads/index.d.ts +0 -3
  471. package/dist/tests/auth/AuthenticationStore.test.d.ts +0 -1
  472. package/dist/tests/auth/entries/ContextTokenEntry.test.d.ts +0 -1
  473. package/dist/tests/auth/entries/OAuthEntry.test.d.ts +0 -1
  474. package/dist/types/clients/AccountClient.d.ts +0 -70
  475. package/dist/types/clients/CartClient.d.ts +0 -17
  476. package/dist/types/clients/ContentClient.d.ts +0 -29
  477. package/dist/types/clients/CustomerAuthenticationClient.d.ts +0 -44
  478. package/dist/types/clients/DocumentClient.d.ts +0 -3
  479. package/dist/types/clients/OrderClient.d.ts +0 -26
  480. package/dist/types/clients/PaymentClient.d.ts +0 -8
  481. package/dist/types/clients/SeoClient.d.ts +0 -7
  482. package/dist/types/clients/WishlistClient.d.ts +0 -21
  483. package/dist/types/storeApi/GenericRecord.d.ts +0 -3
  484. package/dist/types/storeApi/aggregation/AggregationFilter.d.ts +0 -6
  485. package/dist/types/storeApi/aggregation/Aggregations.d.ts +0 -2
  486. package/dist/types/storeApi/cart/CartDelivery.d.ts +0 -13
  487. package/dist/types/storeApi/cart/CartDeliveryPosition.d.ts +0 -9
  488. package/dist/types/storeApi/cart/CartDeliveryShippingLocation.d.ts +0 -7
  489. package/dist/types/storeApi/cart/CartItems.d.ts +0 -2
  490. package/dist/types/storeApi/cart/index.d.ts +0 -9
  491. package/dist/types/storeApi/customer/index.d.ts +0 -4
  492. package/dist/types/storeApi/filter/Filters.d.ts +0 -2
  493. package/dist/types/storeApi/order/index.d.ts +0 -14
  494. package/dist/types/storeApi/price/index.d.ts +0 -6
  495. package/dist/types/storeApi/query/Criteria.d.ts +0 -20
  496. package/dist/types/storeApi/query/Include.d.ts +0 -1
  497. package/dist/types/storeApi/query/Query.d.ts +0 -5
  498. package/dist/types/{storeApi → api/admin}/country/index.d.ts +0 -0
  499. package/dist/types/{storeApi → api/admin}/locale/index.d.ts +0 -0
  500. package/dist/types/{storeApi → api/admin}/propertyGroup/index.d.ts +0 -0
  501. package/dist/types/{storeApi → api/global}/filter/index.d.ts +2 -2
  502. /package/dist/types/{storeApi → api/global/query}/TotalCountMode.d.ts +0 -0
  503. /package/dist/types/{storeApi → api/global}/query/product/index.d.ts +0 -0
  504. /package/dist/types/{storeApi → api/store}/category/index.d.ts +0 -0
  505. /package/dist/types/{storeApi → api/store}/cms/BackgroundMediaMode.d.ts +0 -0
  506. /package/dist/types/{storeApi → api/store}/cms/index.d.ts +0 -0
  507. /package/dist/types/{storeApi → api/store}/document/index.d.ts +0 -0
  508. /package/dist/types/{storeApi → api/store}/lineItem/LineItemType.d.ts +0 -0
  509. /package/dist/types/{storeApi → api/store}/lineItem/index.d.ts +0 -0
  510. /package/dist/types/{storeApi → api/store}/link/Link.d.ts +0 -0
  511. /package/dist/types/{storeApi → api/store}/link/index.d.ts +0 -0
  512. /package/dist/types/{storeApi → api/store}/media/index.d.ts +0 -0
  513. /package/dist/types/{storeApi → api/store}/product/crossSelling/index.d.ts +0 -0
  514. /package/dist/types/{storeApi → api/store}/salesChannel/index.d.ts +0 -0
  515. /package/dist/types/{storeApi → api/store}/seo/index.d.ts +0 -0
  516. /package/dist/types/{storeApi → api/store}/shippingMethod/index.d.ts +0 -0
@@ -0,0 +1,98 @@
1
+ import { Criteria } from "#types/api/global/query/Criteria";
2
+ import { Customer } from "#types/api/store/customer/Customer";
3
+ import { CustomerAddress } from "#types/api/store/customer/address/CustomerAddress";
4
+ import { CustomerGroup } from "#types/api/store";
5
+ export interface AccountEmailChangeRequest {
6
+ email: string;
7
+ emailConfirmation: string;
8
+ password: string;
9
+ }
10
+ export interface AccountEmailChangeResponse {
11
+ success?: boolean;
12
+ }
13
+ export type AccountGetRequest = Criteria;
14
+ export type AccountGetResponse = Customer;
15
+ export interface AccountLanguageChangeRequest {
16
+ language?: string;
17
+ }
18
+ export interface AccountLanguageChangeResponse {
19
+ success?: boolean;
20
+ }
21
+ export type AccountNewsletterRecipientListRequest = Criteria;
22
+ export interface AccountNewsletterRecipientListResponse {
23
+ apiAlias: "account_newsletter_recipient";
24
+ status: "undefined" | "notSet" | "direct" | "optIn" | "optOut";
25
+ }
26
+ export interface AccountPasswordChangeRequest {
27
+ password: string;
28
+ newPassword: string;
29
+ newPasswordConfirm: string;
30
+ }
31
+ export interface AccountPasswordChangeResponse {
32
+ success?: boolean;
33
+ }
34
+ export interface AccountPasswordRecoveryMailRequest {
35
+ email: string;
36
+ storefrontUrl: string;
37
+ }
38
+ export interface AccountPasswordRecoveryMailResponse {
39
+ success?: boolean;
40
+ }
41
+ export interface AccountPasswordRecoveryRequest {
42
+ hash: string;
43
+ newPassword: string;
44
+ newPasswordConfirm: string;
45
+ }
46
+ export interface AccountPasswordRecoveryResponse {
47
+ success?: boolean;
48
+ }
49
+ export interface AccountPaymentMethodChangeResponse {
50
+ success?: boolean;
51
+ }
52
+ export interface AccountRecoveryExpiryCheckRequest {
53
+ hash: string;
54
+ }
55
+ export interface AccountRecoveryExpiryCheckResponse {
56
+ apiAlias?: "array_struct";
57
+ data?: {
58
+ isExpired: boolean;
59
+ };
60
+ }
61
+ export interface AccountUpdateRequest {
62
+ salutationId?: string;
63
+ title?: string;
64
+ firstName: string;
65
+ lastName: string;
66
+ company?: string;
67
+ birthdayDay?: number;
68
+ birthdayMonth?: number;
69
+ birthdayYear?: number;
70
+ }
71
+ export interface AccountUpdateResponse {
72
+ success?: boolean;
73
+ }
74
+ export interface CustomerRegisterRequest {
75
+ email: string;
76
+ password: string;
77
+ salutationId: string;
78
+ firstName: string;
79
+ lastName: string;
80
+ acceptedDataProtection: boolean;
81
+ storefrontUrl: string;
82
+ billingAddress: CustomerAddress;
83
+ shippingAddress?: CustomerAddress;
84
+ accountType?: "private" | "business";
85
+ guest?: boolean;
86
+ birthdayDay?: number;
87
+ birthdayMonth?: number;
88
+ birthdayYear?: number;
89
+ title?: string;
90
+ affiliateCode?: string;
91
+ campaignCode?: string;
92
+ }
93
+ export type CustomerRegisterResponse = Customer;
94
+ export type CustomerRegisterGroupConfigResponse = CustomerGroup;
95
+ export interface CustomerRegistrationConfirmRequest {
96
+ hash: string;
97
+ em: string;
98
+ }
@@ -1,7 +1,9 @@
1
- import { Criteria, CustomerAddress, CustomerAddressBody } from "../storeApi";
2
- export type AddressListRequest = Criteria;
3
- export type AddressListResponse = Array<CustomerAddress>;
1
+ import { Criteria } from "#types/api/global/query/Criteria";
2
+ import { CustomerAddress } from "#types/api/store/customer/address/CustomerAddress";
3
+ import { CustomerAddressBody } from "#types/api/store/customer/address/CustomerAddressBody";
4
4
  export type AddressCreateRequest = CustomerAddressBody;
5
5
  export type AddressCreateResponse = CustomerAddress;
6
6
  export type AddressUpdateRequest = CustomerAddressBody;
7
7
  export type AddressUpdateResponse = CustomerAddressBody;
8
+ export type AddressListRequest = Criteria;
9
+ export type AddressListResponse = Array<CustomerAddress>;
@@ -0,0 +1,18 @@
1
+ import { LineItem } from "#types/api/store/lineItem/LineItem";
2
+ import { Cart } from "#types/api/store/cart/Cart";
3
+ export interface CartAddItemsRequest {
4
+ items?: Array<LineItem>;
5
+ }
6
+ export type CartAddItemsResponse = Cart;
7
+ export interface CartRemoveItemsRequest {
8
+ ids: Array<string>;
9
+ }
10
+ export type CartRemoveItemsResponse = Cart;
11
+ export interface CartUpdateItemsRequest {
12
+ items?: Array<LineItem>;
13
+ }
14
+ export type CartUpdateItemsResponse = Cart;
15
+ export interface CartDeleteResponse {
16
+ success?: boolean;
17
+ }
18
+ export type CartGetOrCreateResponse = Cart;
@@ -1,4 +1,6 @@
1
- import { Category, Criteria, EntitySearchResult } from "../storeApi";
1
+ import { Criteria } from "#types/api/global/query/Criteria";
2
+ import { EntitySearchResult } from "#types/api/store/EntitySearchResult";
3
+ import { Category } from "#types/api/store/category/Category";
2
4
  export type CategoryListRequest = Criteria;
3
5
  export type CategoryListResponse = EntitySearchResult & {
4
6
  elements?: Array<Category>;
@@ -0,0 +1,32 @@
1
+ import { ProductListingCriteria } from "#types/api/global/query/product/ProductListingCriteria";
2
+ import { CmsPage } from "#types/api/store/cms/CmsPage";
3
+ import { LandingPage } from "#types/api/store/cms/LandingPage";
4
+ import { Media } from "#types/api/store/media/Media";
5
+ export interface CMSPageResolveRequest extends ProductListingCriteria {
6
+ slots?: string;
7
+ }
8
+ export type CMSPageResolveResponse = CmsPage;
9
+ export interface ContactFormSubmitRequest {
10
+ salutationId: string;
11
+ firstName?: string;
12
+ lastName?: string;
13
+ email: string;
14
+ phone?: string;
15
+ subject: string;
16
+ comment: string;
17
+ navigationId?: string;
18
+ slotId?: string;
19
+ cmsPageType?: string;
20
+ entityName?: string;
21
+ }
22
+ export interface ContactFormSubmitResponse {
23
+ success?: boolean;
24
+ }
25
+ export interface LandingPageResolveRequest extends ProductListingCriteria {
26
+ slots?: string;
27
+ }
28
+ export type LandingPageResolveResponse = LandingPage;
29
+ export interface MediaEntityResolveRequest {
30
+ ids: Array<string>;
31
+ }
32
+ export type MediaEntityResolveResponse = Array<Media>;
@@ -1,9 +1,9 @@
1
- import { SalesChannelContext } from "../storeApi";
2
- export type ContextGetRequest = {
1
+ import { SalesChannelContext } from "#types/api/store/salesChannel/SalesChannelContext";
2
+ export interface ContextGetRequest {
3
3
  id: string;
4
- };
4
+ }
5
5
  export type ContextGetResponse = SalesChannelContext;
6
- export type ContextUpdateRequest = {
6
+ export interface ContextUpdateRequest {
7
7
  currencyId?: string;
8
8
  languageId?: string;
9
9
  billingAddressId?: string;
@@ -12,7 +12,7 @@ export type ContextUpdateRequest = {
12
12
  shippingMethodId?: string;
13
13
  countryId?: string;
14
14
  countryStateId?: string;
15
- };
16
- export type ContextUpdateResponse = {
15
+ }
16
+ export interface ContextUpdateResponse {
17
17
  redirectUrl?: string;
18
- };
18
+ }
@@ -0,0 +1,18 @@
1
+ export interface CustomerLoginRequest {
2
+ username: string;
3
+ password: string;
4
+ }
5
+ export interface CustomerLoginResponse {
6
+ redirectUrl?: string;
7
+ }
8
+ export interface CustomerLogoutResponse {
9
+ redirectUrl?: string;
10
+ }
11
+ export interface CustomerLoginImitateRequest {
12
+ token: string;
13
+ customerId: string;
14
+ userId: string;
15
+ }
16
+ export interface CustomerLoginImitateResponse {
17
+ redirectUrl?: string;
18
+ }
@@ -0,0 +1,4 @@
1
+ import { Criteria } from "#types/api/global/query/Criteria";
2
+ import { ShopwareDocument } from "#types/api/store/document/ShopwareDocument";
3
+ export type DocumentDownloadRequest = Criteria;
4
+ export type DocumentDownloadResponse = ShopwareDocument;
@@ -1,5 +1,6 @@
1
- import { PaymentMethod, ShippingMethod } from "../storeApi";
2
- export type GatewayCheckoutResponse = {
1
+ import { PaymentMethod } from "#types/api/store/PaymentMethod";
2
+ import { ShippingMethod } from "#types/api/store/shippingMethod/ShippingMethod";
3
+ export interface GatewayCheckoutResponse {
3
4
  paymentMethods?: {
4
5
  total?: number;
5
6
  aggregations?: object;
@@ -15,4 +16,4 @@ export type GatewayCheckoutResponse = {
15
16
  detail?: string;
16
17
  blocking?: boolean;
17
18
  }>;
18
- };
19
+ }
@@ -1,8 +1,8 @@
1
- export type NewsletterConfirmRequest = {
1
+ export interface NewsletterConfirmRequest {
2
2
  hash: string;
3
3
  em: string;
4
- };
5
- export type NewsletterUpdateRequest = {
4
+ }
5
+ export interface NewsletterUpdateRequest {
6
6
  email: string;
7
7
  option: "direct" | "subscribe" | "unsubscribe" | "confirmSubscribe";
8
8
  storefrontUrl: string;
@@ -15,7 +15,7 @@ export type NewsletterUpdateRequest = {
15
15
  tags?: string;
16
16
  languageId?: string;
17
17
  customFields?: string;
18
- };
19
- export type NewsletterUnsubscribeRequest = {
18
+ }
19
+ export interface NewsletterUnsubscribeRequest {
20
20
  email: string;
21
- };
21
+ }
@@ -0,0 +1,37 @@
1
+ import { StateMachineState } from "#types/api/store/StateMachineState";
2
+ import { Order } from "#types/api/store/order/Order";
3
+ import { Criteria } from "#types/api/global/query/Criteria";
4
+ import { EntitySearchResult } from "#types/api/store/EntitySearchResult";
5
+ export interface OrderPaymentInitiateRequest {
6
+ orderId: string;
7
+ finishUrl?: string;
8
+ errorUrl?: string;
9
+ }
10
+ export interface OrderPaymentInitiateResponse {
11
+ redirectUrl: string;
12
+ }
13
+ export interface OrderCancelRequest {
14
+ orderId: string;
15
+ }
16
+ export type OrderCancelResponse = StateMachineState;
17
+ export type OrderDownloadFileResponse = Blob;
18
+ export interface OrderFromCartRequest {
19
+ customerComment?: string;
20
+ affiliateCode?: string;
21
+ campaignCode?: string;
22
+ }
23
+ export type OrderFromCartResponse = Order;
24
+ export type OrderListRequest = Criteria & {
25
+ checkPromotion?: boolean;
26
+ };
27
+ export interface OrderListResponse {
28
+ orders: Array<Order> & EntitySearchResult;
29
+ paymentChangeable: Record<string, boolean>;
30
+ }
31
+ export interface OrderUpdatePaymentMethodRequest {
32
+ paymentMethodId: string;
33
+ orderId: string;
34
+ }
35
+ export interface OrderUpdatePaymentMethodResponse {
36
+ success?: boolean;
37
+ }
@@ -1,4 +1,12 @@
1
- import { Criteria, CrossSellingElement, EntitySearchResult, Product, ProductListingCriteria, ProductListingFlags, ProductListingResult, ProductReview, PropertyGroup } from "../storeApi";
1
+ import { EntitySearchResult } from "#types/api/store/EntitySearchResult";
2
+ import { Criteria } from "#types/api/global/query/Criteria";
3
+ import { Product } from "#types/api/store/product/Product";
4
+ import { ProductReview } from "#types/api/store/product/review/ProductReview";
5
+ import { ProductListingCriteria } from "#types/api/global/query/product/ProductListingCriteria";
6
+ import { ProductListingFlags } from "#types/api/global/query/product/ProductListingFlags";
7
+ import { ProductListingResult } from "#types/api/store/product/ProductListingResult";
8
+ import { PropertyGroup } from "#types/api/store/propertyGroup/PropertyGroup";
9
+ import { CrossSellingElement } from "#types/api/store/product/crossSelling/CrossSellingElement";
2
10
  export type ProductListRequest = Criteria;
3
11
  export type ProductListResponse = EntitySearchResult & {
4
12
  elements?: Array<Product>;
@@ -14,16 +22,16 @@ export type ProductReviewSaveRequest = {
14
22
  content: string;
15
23
  points: number;
16
24
  };
17
- export type ProductSearchRequest = {
25
+ export interface ProductSearchRequest extends ProductListingCriteria, ProductListingFlags {
18
26
  search: string;
19
- } & ProductListingCriteria & ProductListingFlags;
27
+ }
20
28
  export type ProductSearchResponse = ProductListingResult;
21
- export type ProductSearchSuggestionListRequest = ProductListingFlags & {
29
+ export interface ProductSearchSuggestionListRequest extends ProductListingFlags {
22
30
  search: string;
23
- };
31
+ }
24
32
  export type ProductSearchSuggestionListResponse = ProductListingResult;
25
33
  export type ProductSingleRequest = Criteria;
26
- export type ProductSingleResponse = {
34
+ export interface ProductSingleResponse {
27
35
  product: Product;
28
36
  configurator?: Array<PropertyGroup>;
29
37
  id?: any;
@@ -33,17 +41,17 @@ export type ProductSingleResponse = {
33
41
  manufacturerNumber?: any;
34
42
  stock?: any;
35
43
  sortedProperties?: any;
36
- };
37
- export type ProductVariantWithOptionsRequest = {
44
+ }
45
+ export interface ProductVariantWithOptionsRequest {
38
46
  options: Array<string>;
39
47
  switchedGroup?: string;
40
- };
41
- export type ProductVariantWithOptionsResponse = {
48
+ }
49
+ export interface ProductVariantWithOptionsResponse {
42
50
  foundCombination?: {
43
51
  variantId?: string;
44
52
  options: Array<string>;
45
53
  };
46
- };
54
+ }
47
55
  export type ProductListingListWithCategoryRequest = ProductListingCriteria & ProductListingFlags;
48
56
  export type ProductListingListWithCategoryResponse = ProductListingResult;
49
57
  export type ProductCrossSellingGroupListResponse = Array<CrossSellingElement>;
@@ -0,0 +1,10 @@
1
+ import { EntitySearchResult } from "#types/api/store/EntitySearchResult";
2
+ import { Criteria } from "#types/api/global/query/Criteria";
3
+ import { SeoUrlEntity } from "#types/api/store/seo/SeoUrlEntity";
4
+ import { Sitemap } from "#types/api/store/seo/Sitemap";
5
+ export type SeoRouteListRequest = Criteria;
6
+ export type SeoRouteListResponse = EntitySearchResult & {
7
+ elements?: Array<SeoUrlEntity>;
8
+ };
9
+ export type SitemapListResponse = Array<Sitemap>;
10
+ export type SitemapDownloadResponse = Blob;
@@ -1,4 +1,12 @@
1
- import { Country, CountryState, Criteria, Currency, EntitySearchResult, Language, PaymentMethod, Salutation, ShippingMethod } from "../storeApi";
1
+ import { Criteria } from "#types/api/global/query/Criteria";
2
+ import { EntitySearchResult } from "#types/api/store/EntitySearchResult";
3
+ import { Country } from "#types/api/store/country/Country";
4
+ import { CountryState } from "#types/api/store/country/CountryState";
5
+ import { Currency } from "#types/api/store/Currency";
6
+ import { Language } from "#types/api/store/locale/Language";
7
+ import { Salutation } from "#types/api/store/Salutation";
8
+ import { ShippingMethod } from "#types/api/store/shippingMethod/ShippingMethod";
9
+ import { PaymentMethod } from "#types/api/store/PaymentMethod";
2
10
  export type CountryListRequest = Criteria;
3
11
  export type CountryListResponse = EntitySearchResult & {
4
12
  elements?: Array<Country>;
@@ -26,8 +34,8 @@ export type ShippingMethodListResponse = EntitySearchResult & {
26
34
  export type PaymentMethodListRequest = Criteria & {
27
35
  onlyAvailable?: boolean;
28
36
  };
29
- export type PaymentMethodListResponse = {
37
+ export interface PaymentMethodListResponse {
30
38
  total?: number;
31
39
  aggregations?: object;
32
40
  elements?: Array<PaymentMethod>;
33
- };
41
+ }
@@ -0,0 +1,22 @@
1
+ import { ProductListingResult } from "#types/api/store/product/ProductListingResult";
2
+ import { Criteria } from "#types/api/global/query/Criteria";
3
+ export type WishlistGetRequest = Criteria;
4
+ export interface WishlistGetResponse {
5
+ wishlist?: {
6
+ customerId?: string;
7
+ salesChannelId?: string;
8
+ };
9
+ products?: ProductListingResult;
10
+ }
11
+ export interface WishlistMergeOrCreateRequest {
12
+ productIds?: Array<string>;
13
+ }
14
+ export interface WishlistMergeOrCreateResponse {
15
+ success?: boolean;
16
+ }
17
+ export interface WishlistProductAddResponse {
18
+ success?: boolean;
19
+ }
20
+ export interface WishlistProductRemoveResponse {
21
+ success?: boolean;
22
+ }
@@ -9,7 +9,6 @@ export * from "./DocumentClient";
9
9
  export * from "./GatewayClient";
10
10
  export * from "./NewsletterClient";
11
11
  export * from "./OrderClient";
12
- export * from "./PaymentClient";
13
12
  export * from "./ProductClient";
14
13
  export * from "./SeoClient";
15
14
  export * from "./SystemClient";
@@ -1,7 +1,5 @@
1
1
  export * from "./auth";
2
- export * from "./clients";
3
- export * from "./storeApi";
4
- export { HTTPRequestMethod } from "./HTTPRequestMethod";
5
2
  export { ClientRequestOptions } from "./ClientRequestOptions";
6
3
  export { ClientResponse } from "./ClientResponse";
4
+ export { OAuthScope } from "./OAuthScope";
7
5
  export { RequestCacheEntry } from "./RequestCacheEntry";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@devite/shopware-client",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Third party API client for Shopware 6.",
5
5
  "repository": "devite-io/shopware-client",
6
6
  "license": "MIT",
@@ -11,13 +11,32 @@
11
11
  "type": "module",
12
12
  "exports": {
13
13
  ".": {
14
- "types": "./dist/types.d.ts",
15
- "import": "./dist/module.mjs",
16
- "require": "./dist/module.cjs"
14
+ "import": "./dist/index.mjs",
15
+ "require": "./dist/index.cjs"
16
+ },
17
+ "./api/global": {
18
+ "import": "./dist/types/api/global/index.d.ts",
19
+ "require": "./dist/types/api/global/index.d.ts"
20
+ },
21
+ "./api/admin": {
22
+ "import": "./dist/types/api/admin/index.d.ts",
23
+ "require": "./dist/types/api/admin/index.d.ts"
24
+ },
25
+ "./api/store": {
26
+ "import": "./dist/types/api/store/index.d.ts",
27
+ "require": "./dist/types/api/store/index.d.ts"
28
+ },
29
+ "./clients/admin": {
30
+ "import": "./dist/types/clients/admin/index.d.ts",
31
+ "require": "./dist/types/clients/admin/index.d.ts"
32
+ },
33
+ "./clients/store": {
34
+ "import": "./dist/types/clients/store/index.d.ts",
35
+ "require": "./dist/types/clients/store/index.d.ts"
17
36
  }
18
37
  },
19
- "main": "./dist/module.cjs",
20
- "types": "./dist/types.d.ts",
38
+ "main": "./dist/index.cjs",
39
+ "types": "./dist/index.d.ts",
21
40
  "files": [
22
41
  "dist"
23
42
  ],
@@ -32,7 +51,8 @@
32
51
  "vitest": "^2.1.8"
33
52
  },
34
53
  "dependencies": {
35
- "ofetch": "^1.4.1"
54
+ "ofetch": "^1.4.1",
55
+ "ohash": "^1.1.4"
36
56
  },
37
57
  "scripts": {
38
58
  "build": "export NODE_ENV=production && unbuild && pnpm build:types",
@@ -1,31 +0,0 @@
1
- import { ClientRequestOptions, ClientResponse, RequestCacheEntry } from "#types";
2
- import { AccountClient, AddressClient, CartClient, CategoryClient, ContentClient, ContextClient, CustomerAuthenticationClient, DocumentClient, GatewayClient, NewsletterClient, OrderClient, PaymentClient, ProductClient, SeoClient, SystemClient, WishlistClient } from "#clients";
3
- import { AuthenticationStore } from "#auth";
4
- declare class ShopwareClient {
5
- private readonly baseUrl;
6
- private readonly apiKey;
7
- readonly authStore: AuthenticationStore;
8
- readonly cache: Map<string, RequestCacheEntry>;
9
- constructor(baseUrl: string, apiKey: string);
10
- doRequest(path: string, options?: ClientRequestOptions): Promise<ClientResponse>;
11
- private parseBody;
12
- withContextToken(options: ClientRequestOptions): ClientRequestOptions;
13
- withOAuth(options: ClientRequestOptions): Promise<ClientRequestOptions>;
14
- forAccount(): AccountClient;
15
- forAddress(): AddressClient;
16
- forCart(): CartClient;
17
- forCategory(): CategoryClient;
18
- forContent(): ContentClient;
19
- forContext(): ContextClient;
20
- forCustomerAuthentication(): CustomerAuthenticationClient;
21
- forDocument(): DocumentClient;
22
- forGateway(): GatewayClient;
23
- forNewsletter(): NewsletterClient;
24
- forOrder(): OrderClient;
25
- forPayment(): PaymentClient;
26
- forProduct(): ProductClient;
27
- forSeo(): SeoClient;
28
- forSystem(): SystemClient;
29
- forWishlist(): WishlistClient;
30
- }
31
- export default ShopwareClient;
@@ -1,8 +0,0 @@
1
- import { AuthenticationEntry } from "./entries";
2
- import AuthenticationType from "./AuthenticationType";
3
- declare class AuthenticationStore {
4
- entries: Map<AuthenticationType, AuthenticationEntry>;
5
- getOrCreateEntry(entry: AuthenticationEntry): AuthenticationEntry;
6
- getEntry(type: AuthenticationType): AuthenticationEntry | undefined;
7
- }
8
- export default AuthenticationStore;
@@ -1,5 +0,0 @@
1
- declare enum AuthenticationType {
2
- CONTEXT_TOKEN = "context_token",
3
- OAUTH = "oauth"
4
- }
5
- export default AuthenticationType;
@@ -1,10 +0,0 @@
1
- import { AuthenticationType } from "..";
2
- import { ClientRequestOptions, ClientResponse } from "#types";
3
- interface AuthenticationEntry {
4
- getType(): AuthenticationType;
5
- isSaved(): boolean;
6
- save(response: ClientResponse): void;
7
- clear(): void;
8
- load(): ClientRequestOptions;
9
- }
10
- export default AuthenticationEntry;
@@ -1,13 +0,0 @@
1
- import { AuthenticationEntry } from ".";
2
- import { ClientRequestOptions, ClientResponse } from "#types";
3
- import { AuthenticationType } from "..";
4
- declare class ContextTokenEntry implements AuthenticationEntry {
5
- token: string | null;
6
- constructor(token?: string | null);
7
- getType(): AuthenticationType;
8
- isSaved(): boolean;
9
- save(response: ClientResponse): void;
10
- clear(): void;
11
- load(): ClientRequestOptions;
12
- }
13
- export default ContextTokenEntry;
@@ -1,15 +0,0 @@
1
- import { AuthenticationEntry } from ".";
2
- import { ClientResponse } from "#types";
3
- import { AuthenticationType } from "..";
4
- declare class OAuthEntry implements AuthenticationEntry {
5
- accessToken: string | null;
6
- refreshToken: string | null;
7
- expiresAt: number | null;
8
- constructor(accessToken?: string | null, refreshToken?: string | null, expiresAt?: number | null);
9
- getType(): AuthenticationType;
10
- isSaved(): boolean;
11
- save(response: ClientResponse): void;
12
- clear(): void;
13
- load(): any;
14
- }
15
- export default OAuthEntry;
@@ -1,3 +0,0 @@
1
- export { default as AuthenticationEntry } from "./AuthenticationEntry";
2
- export { default as ContextTokenEntry } from "./ContextTokenEntry";
3
- export { default as OAuthEntry } from "./OAuthEntry";
@@ -1,4 +0,0 @@
1
- declare class ExpiredError extends Error {
2
- constructor(message: string);
3
- }
4
- export default ExpiredError;
@@ -1,4 +0,0 @@
1
- declare class NotSavedError extends Error {
2
- constructor(message: string);
3
- }
4
- export default NotSavedError;
@@ -1,2 +0,0 @@
1
- export { default as NotSavedError } from "./NotSavedError";
2
- export { default as ExpiredError } from "./ExpiredError";
@@ -1,4 +0,0 @@
1
- export * from "./entries";
2
- export * from "./errors";
3
- export { default as AuthenticationStore } from "./AuthenticationStore";
4
- export { default as AuthenticationType } from "./AuthenticationType";
@@ -1,16 +0,0 @@
1
- import { Client } from "#clients";
2
- import { AccountEmailChangeRequest, AccountEmailChangeResponse, AccountGetRequest, AccountGetResponse, AccountLanguageChangeRequest, AccountLanguageChangeResponse, AccountNewsletterRecipientListRequest, AccountNewsletterRecipientListResponse, AccountPasswordChangeRequest, AccountPasswordChangeResponse, AccountPasswordRecoveryMailRequest, AccountPasswordRecoveryMailResponse, AccountPasswordRecoveryRequest, AccountPasswordRecoveryResponse, AccountPaymentMethodChangeResponse, AccountRecoveryExpiryCheckRequest, AccountRecoveryExpiryCheckResponse, AccountUpdateRequest, AccountUpdateResponse } from "#types";
3
- declare class AccountClient extends Client {
4
- getNewsletterRecipientList(request?: AccountNewsletterRecipientListRequest): Promise<AccountNewsletterRecipientListResponse>;
5
- changeProfile(request: AccountUpdateRequest): Promise<AccountUpdateResponse>;
6
- changeEmail(request: AccountEmailChangeRequest): Promise<AccountEmailChangeResponse>;
7
- changeLanguage(request: AccountLanguageChangeRequest): Promise<AccountLanguageChangeResponse>;
8
- changePassword(request: AccountPasswordChangeRequest): Promise<AccountPasswordChangeResponse>;
9
- changePaymentMethod(paymentMethodId: string): Promise<AccountPaymentMethodChangeResponse>;
10
- isCustomerRecoveryExpired(request: AccountRecoveryExpiryCheckRequest): Promise<AccountRecoveryExpiryCheckResponse>;
11
- getCustomer(request?: AccountGetRequest): Promise<AccountGetResponse>;
12
- deleteCustomer(): Promise<undefined>;
13
- confirmRecoveryPassword(request: AccountPasswordRecoveryRequest): Promise<AccountPasswordRecoveryResponse>;
14
- requestPasswordRecoveryMail(request: AccountPasswordRecoveryMailRequest): Promise<AccountPasswordRecoveryMailResponse>;
15
- }
16
- export default AccountClient;
@@ -1,11 +0,0 @@
1
- import { Client } from "#clients";
2
- import { AddressCreateRequest, AddressCreateResponse, AddressListRequest, AddressListResponse, AddressUpdateRequest, AddressUpdateResponse } from "#types";
3
- declare class AddressClient extends Client {
4
- deleteAddress(addressId: string): Promise<undefined>;
5
- updateAddress(addressId: string, request: AddressUpdateRequest): Promise<AddressUpdateResponse>;
6
- getAddressList(request?: AddressListRequest): Promise<AddressListResponse>;
7
- changeDefaultShippingAddress(addressId: string): Promise<undefined>;
8
- changeDefaultBillingAddress(addressId: string): Promise<undefined>;
9
- createAddress(request: AddressCreateRequest): Promise<AddressCreateResponse>;
10
- }
11
- export default AddressClient;