@jetshop/core 5.16.0 → 5.16.2-build-tools.77

Sign up to get free protection for your applications and to get access to all the features.
Files changed (682) hide show
  1. package/data/fragments/StockStatusFragment.gql +0 -1
  2. package/global.d.ts +26 -2
  3. package/package.json +4 -3
  4. package/types.d.ts +19 -88
  5. package/ChannelHandler/ChannelHandler.d.ts +0 -53
  6. package/ChannelHandler/ChannelHandler.js +0 -114
  7. package/ChannelHandler/ChannelHandler.js.map +0 -1
  8. package/ChannelHandler/channelUtils.d.ts +0 -73
  9. package/ChannelHandler/channelUtils.js +0 -313
  10. package/ChannelHandler/channelUtils.js.map +0 -1
  11. package/ChannelHandler/redirectUtils.d.ts +0 -4
  12. package/ChannelHandler/redirectUtils.js +0 -50
  13. package/ChannelHandler/redirectUtils.js.map +0 -1
  14. package/analytics/Analytics.d.ts +0 -18
  15. package/analytics/Analytics.js +0 -57
  16. package/analytics/Analytics.js.map +0 -1
  17. package/analytics/AnalyticsProvider.d.ts +0 -54
  18. package/analytics/AnalyticsProvider.js +0 -217
  19. package/analytics/AnalyticsProvider.js.map +0 -1
  20. package/analytics/deprecatedTracking.d.ts +0 -17
  21. package/analytics/deprecatedTracking.js +0 -33
  22. package/analytics/deprecatedTracking.js.map +0 -1
  23. package/analytics/integrations/ga4.d.ts +0 -27
  24. package/analytics/integrations/ga4.js +0 -186
  25. package/analytics/integrations/ga4.js.map +0 -1
  26. package/analytics/integrations/gtag/gtag.d.ts +0 -8
  27. package/analytics/integrations/gtag/gtag.js +0 -209
  28. package/analytics/integrations/gtag/gtag.js.map +0 -1
  29. package/analytics/integrations/gtag/index.d.ts +0 -1
  30. package/analytics/integrations/gtag/index.js +0 -2
  31. package/analytics/integrations/gtag/index.js.map +0 -1
  32. package/analytics/integrations/gtm/gtm.d.ts +0 -12
  33. package/analytics/integrations/gtm/gtm.js +0 -227
  34. package/analytics/integrations/gtm/gtm.js.map +0 -1
  35. package/analytics/integrations/gtm/index.d.ts +0 -1
  36. package/analytics/integrations/gtm/index.js +0 -2
  37. package/analytics/integrations/gtm/index.js.map +0 -1
  38. package/analytics/integrations/gtm/referrerModifier.d.ts +0 -1
  39. package/analytics/integrations/gtm/referrerModifier.js +0 -62
  40. package/analytics/integrations/gtm/referrerModifier.js.map +0 -1
  41. package/analytics/integrations/releware/index.d.ts +0 -3
  42. package/analytics/integrations/releware/index.js +0 -39
  43. package/analytics/integrations/releware/index.js.map +0 -1
  44. package/analytics/integrations/unslugify.d.ts +0 -1
  45. package/analytics/integrations/unslugify.js +0 -16
  46. package/analytics/integrations/unslugify.js.map +0 -1
  47. package/analytics/trackerRegistry.d.ts +0 -113
  48. package/analytics/trackerRegistry.js +0 -222
  49. package/analytics/trackerRegistry.js.map +0 -1
  50. package/analytics/tracking.d.ts +0 -14
  51. package/analytics/tracking.js +0 -72
  52. package/analytics/tracking.js.map +0 -1
  53. package/analytics/utils/breadcrumbsWithoutProduct.d.ts +0 -1
  54. package/analytics/utils/breadcrumbsWithoutProduct.js +0 -9
  55. package/analytics/utils/breadcrumbsWithoutProduct.js.map +0 -1
  56. package/analytics/utils/script.d.ts +0 -8
  57. package/analytics/utils/script.js +0 -40
  58. package/analytics/utils/script.js.map +0 -1
  59. package/analytics/webVitals.d.ts +0 -5
  60. package/analytics/webVitals.js +0 -39
  61. package/analytics/webVitals.js.map +0 -1
  62. package/boot/AuthHandler.d.ts +0 -14
  63. package/boot/AuthHandler.js +0 -39
  64. package/boot/AuthHandler.js.map +0 -1
  65. package/boot/PreviewHandler.d.ts +0 -7
  66. package/boot/PreviewHandler.js +0 -14
  67. package/boot/PreviewHandler.js.map +0 -1
  68. package/boot/SharedTree.d.ts +0 -25
  69. package/boot/SharedTree.js +0 -29
  70. package/boot/SharedTree.js.map +0 -1
  71. package/boot/addMissingConfig.d.ts +0 -5
  72. package/boot/addMissingConfig.js +0 -34
  73. package/boot/addMissingConfig.js.map +0 -1
  74. package/boot/apollo.d.ts +0 -21
  75. package/boot/apollo.js +0 -198
  76. package/boot/apollo.js.map +0 -1
  77. package/boot/client/entrypoint.d.ts +0 -1
  78. package/boot/client/entrypoint.js +0 -5
  79. package/boot/client/entrypoint.js.map +0 -1
  80. package/boot/client/index.d.ts +0 -1
  81. package/boot/client/index.js +0 -2
  82. package/boot/client/index.js.map +0 -1
  83. package/boot/client/startClient.d.ts +0 -4
  84. package/boot/client/startClient.js +0 -144
  85. package/boot/client/startClient.js.map +0 -1
  86. package/boot/server/IntervalQuery.d.ts +0 -32
  87. package/boot/server/IntervalQuery.js +0 -95
  88. package/boot/server/IntervalQuery.js.map +0 -1
  89. package/boot/server/PersistedApolloClient.d.ts +0 -20
  90. package/boot/server/PersistedApolloClient.js +0 -40
  91. package/boot/server/PersistedApolloClient.js.map +0 -1
  92. package/boot/server/asyncErrorHandler.d.ts +0 -3
  93. package/boot/server/asyncErrorHandler.js +0 -5
  94. package/boot/server/asyncErrorHandler.js.map +0 -1
  95. package/boot/server/breakpointMiddleware.d.ts +0 -3
  96. package/boot/server/breakpointMiddleware.js +0 -10
  97. package/boot/server/breakpointMiddleware.js.map +0 -1
  98. package/boot/server/createApolloServer.d.ts +0 -28
  99. package/boot/server/createApolloServer.js +0 -144
  100. package/boot/server/createApolloServer.js.map +0 -1
  101. package/boot/server/createDevServer.d.ts +0 -14
  102. package/boot/server/createDevServer.js +0 -30
  103. package/boot/server/createDevServer.js.map +0 -1
  104. package/boot/server/createRenderer.d.ts +0 -28
  105. package/boot/server/createRenderer.js +0 -237
  106. package/boot/server/createRenderer.js.map +0 -1
  107. package/boot/server/createServer.d.ts +0 -14
  108. package/boot/server/createServer.js +0 -42
  109. package/boot/server/createServer.js.map +0 -1
  110. package/boot/server/entrypoint.d.ts +0 -1
  111. package/boot/server/entrypoint.js +0 -36
  112. package/boot/server/entrypoint.js.map +0 -1
  113. package/boot/server/getPrefetchFiles.d.ts +0 -10
  114. package/boot/server/getPrefetchFiles.js +0 -20
  115. package/boot/server/getPrefetchFiles.js.map +0 -1
  116. package/boot/server/getPreloadAssets.d.ts +0 -10
  117. package/boot/server/getPreloadAssets.js +0 -18
  118. package/boot/server/getPreloadAssets.js.map +0 -1
  119. package/boot/server/index.d.ts +0 -9
  120. package/boot/server/index.js +0 -123
  121. package/boot/server/index.js.map +0 -1
  122. package/boot/server/listen.d.ts +0 -13
  123. package/boot/server/listen.js +0 -17
  124. package/boot/server/listen.js.map +0 -1
  125. package/boot/server/persistedQueries/PersistedClient.d.ts +0 -22
  126. package/boot/server/persistedQueries/PersistedClient.js +0 -58
  127. package/boot/server/persistedQueries/PersistedClient.js.map +0 -1
  128. package/boot/server/persistedQueries/getPersistedQueriesForRequest.d.ts +0 -3
  129. package/boot/server/persistedQueries/getPersistedQueriesForRequest.js +0 -27
  130. package/boot/server/persistedQueries/getPersistedQueriesForRequest.js.map +0 -1
  131. package/boot/server/salesSource.d.ts +0 -8
  132. package/boot/server/salesSource.js +0 -16
  133. package/boot/server/salesSource.js.map +0 -1
  134. package/boot/utils/createIntOptions.d.ts +0 -6
  135. package/boot/utils/createIntOptions.js +0 -19
  136. package/boot/utils/createIntOptions.js.map +0 -1
  137. package/boot/utils/queryLoggingMiddleware.d.ts +0 -2
  138. package/boot/utils/queryLoggingMiddleware.js +0 -15
  139. package/boot/utils/queryLoggingMiddleware.js.map +0 -1
  140. package/boot/utils/uid.d.ts +0 -3
  141. package/boot/utils/uid.js +0 -20
  142. package/boot/utils/uid.js.map +0 -1
  143. package/cart/AddToCartFormik.d.ts +0 -42
  144. package/cart/AddToCartFormik.js +0 -77
  145. package/cart/AddToCartFormik.js.map +0 -1
  146. package/cart/useAddToCart.d.ts +0 -88
  147. package/cart/useAddToCart.js +0 -119
  148. package/cart/useAddToCart.js.map +0 -1
  149. package/cart/useCart.d.ts +0 -0
  150. package/cart/useCart.js +0 -1
  151. package/cart/useCart.js.map +0 -1
  152. package/components/Auth/CustomerFormContainer.d.ts +0 -0
  153. package/components/Auth/CustomerFormContainer.js +0 -1
  154. package/components/Auth/CustomerFormContainer.js.map +0 -1
  155. package/components/Auth/CustomerUpdateForm.d.ts +0 -32
  156. package/components/Auth/CustomerUpdateForm.js +0 -122
  157. package/components/Auth/CustomerUpdateForm.js.map +0 -1
  158. package/components/Auth/ForgotPasswordProvider.d.ts +0 -71
  159. package/components/Auth/ForgotPasswordProvider.js +0 -57
  160. package/components/Auth/ForgotPasswordProvider.js.map +0 -1
  161. package/components/Auth/ResetPasswordProvider.d.ts +0 -88
  162. package/components/Auth/ResetPasswordProvider.js +0 -78
  163. package/components/Auth/ResetPasswordProvider.js.map +0 -1
  164. package/components/Auth/SSN.d.ts +0 -12
  165. package/components/Auth/SSN.js +0 -35
  166. package/components/Auth/SSN.js.map +0 -1
  167. package/components/Auth/SSNLookupContainer.d.ts +0 -15
  168. package/components/Auth/SSNLookupContainer.js +0 -20
  169. package/components/Auth/SSNLookupContainer.js.map +0 -1
  170. package/components/Auth/SignupFormContainer.d.ts +0 -19
  171. package/components/Auth/SignupFormContainer.js +0 -82
  172. package/components/Auth/SignupFormContainer.js.map +0 -1
  173. package/components/Auth/UpdatePasswordForm.d.ts +0 -44
  174. package/components/Auth/UpdatePasswordForm.js +0 -98
  175. package/components/Auth/UpdatePasswordForm.js.map +0 -1
  176. package/components/Auth/formFieldsFromSettings.d.ts +0 -65
  177. package/components/Auth/formFieldsFromSettings.js +0 -77
  178. package/components/Auth/formFieldsFromSettings.js.map +0 -1
  179. package/components/Auth/formatSignupInput.d.ts +0 -8
  180. package/components/Auth/formatSignupInput.js +0 -43
  181. package/components/Auth/formatSignupInput.js.map +0 -1
  182. package/components/Auth/signup-context.d.ts +0 -36
  183. package/components/Auth/signup-context.js +0 -72
  184. package/components/Auth/signup-context.js.map +0 -1
  185. package/components/Auth/signup-field-translations.d.ts +0 -3
  186. package/components/Auth/signup-field-translations.js +0 -44
  187. package/components/Auth/signup-field-translations.js.map +0 -1
  188. package/components/Auth/signupSubmit.d.ts +0 -6
  189. package/components/Auth/signupSubmit.js +0 -57
  190. package/components/Auth/signupSubmit.js.map +0 -1
  191. package/components/Auth/useAddressFields.d.ts +0 -22
  192. package/components/Auth/useAddressFields.js +0 -33
  193. package/components/Auth/useAddressFields.js.map +0 -1
  194. package/components/Auth/useCustomer.d.ts +0 -116
  195. package/components/Auth/useCustomer.js +0 -189
  196. package/components/Auth/useCustomer.js.map +0 -1
  197. package/components/Auth/useLoginFields.d.ts +0 -20
  198. package/components/Auth/useLoginFields.js +0 -21
  199. package/components/Auth/useLoginFields.js.map +0 -1
  200. package/components/Auth/useSignupForm.d.ts +0 -7
  201. package/components/Auth/useSignupForm.js +0 -15
  202. package/components/Auth/useSignupForm.js.map +0 -1
  203. package/components/AuthContext/AuthContext.d.ts +0 -8
  204. package/components/AuthContext/AuthContext.js +0 -9
  205. package/components/AuthContext/AuthContext.js.map +0 -1
  206. package/components/AuthContext/AuthProvider.d.ts +0 -6
  207. package/components/AuthContext/AuthProvider.js +0 -85
  208. package/components/AuthContext/AuthProvider.js.map +0 -1
  209. package/components/AuthContext/LogOut.d.ts +0 -5
  210. package/components/AuthContext/LogOut.js +0 -15
  211. package/components/AuthContext/LogOut.js.map +0 -1
  212. package/components/AuthContext/useAuth.d.ts +0 -6
  213. package/components/AuthContext/useAuth.js +0 -21
  214. package/components/AuthContext/useAuth.js.map +0 -1
  215. package/components/BreakpointProvider.d.ts +0 -21
  216. package/components/BreakpointProvider.js +0 -24
  217. package/components/BreakpointProvider.js.map +0 -1
  218. package/components/Cart/CartIdContext.d.ts +0 -11
  219. package/components/Cart/CartIdContext.js +0 -61
  220. package/components/Cart/CartIdContext.js.map +0 -1
  221. package/components/ChannelContext/ChannelContext.d.ts +0 -21
  222. package/components/ChannelContext/ChannelContext.js +0 -4
  223. package/components/ChannelContext/ChannelContext.js.map +0 -1
  224. package/components/ChannelContext/ChannelProvider.d.ts +0 -10
  225. package/components/ChannelContext/ChannelProvider.js +0 -45
  226. package/components/ChannelContext/ChannelProvider.js.map +0 -1
  227. package/components/ChannelContext/index.d.ts +0 -2
  228. package/components/ChannelContext/index.js +0 -3
  229. package/components/ChannelContext/index.js.map +0 -1
  230. package/components/ChannelContext/useCountrySettings.d.ts +0 -8
  231. package/components/ChannelContext/useCountrySettings.js +0 -24
  232. package/components/ChannelContext/useCountrySettings.js.map +0 -1
  233. package/components/ConfigProvider.d.ts +0 -108
  234. package/components/ConfigProvider.js +0 -20
  235. package/components/ConfigProvider.js.map +0 -1
  236. package/components/DynamicRoute/CategoryRoute.d.ts +0 -13
  237. package/components/DynamicRoute/CategoryRoute.js +0 -56
  238. package/components/DynamicRoute/CategoryRoute.js.map +0 -1
  239. package/components/DynamicRoute/ContentRoute.d.ts +0 -14
  240. package/components/DynamicRoute/ContentRoute.js +0 -28
  241. package/components/DynamicRoute/ContentRoute.js.map +0 -1
  242. package/components/DynamicRoute/CustomerRoute.d.ts +0 -0
  243. package/components/DynamicRoute/CustomerRoute.js +0 -1
  244. package/components/DynamicRoute/CustomerRoute.js.map +0 -1
  245. package/components/DynamicRoute/PreviewRoute.d.ts +0 -17
  246. package/components/DynamicRoute/PreviewRoute.js +0 -58
  247. package/components/DynamicRoute/PreviewRoute.js.map +0 -1
  248. package/components/DynamicRoute/ProductByArticlenumber.d.ts +0 -5
  249. package/components/DynamicRoute/ProductByArticlenumber.js +0 -22
  250. package/components/DynamicRoute/ProductByArticlenumber.js.map +0 -1
  251. package/components/DynamicRoute/ProductRoute.d.ts +0 -15
  252. package/components/DynamicRoute/ProductRoute.js +0 -65
  253. package/components/DynamicRoute/ProductRoute.js.map +0 -1
  254. package/components/DynamicRoute/RouteResolver.d.ts +0 -22
  255. package/components/DynamicRoute/RouteResolver.js +0 -65
  256. package/components/DynamicRoute/RouteResolver.js.map +0 -1
  257. package/components/DynamicRoute/Status.d.ts +0 -14
  258. package/components/DynamicRoute/Status.js +0 -20
  259. package/components/DynamicRoute/Status.js.map +0 -1
  260. package/components/DynamicRoute/index.d.ts +0 -17
  261. package/components/DynamicRoute/index.js +0 -96
  262. package/components/DynamicRoute/index.js.map +0 -1
  263. package/components/Filters/index.d.ts +0 -1
  264. package/components/Filters/index.js +0 -2
  265. package/components/Filters/index.js.map +0 -1
  266. package/components/Filters/utils/replaceInSearch.d.ts +0 -14
  267. package/components/Filters/utils/replaceInSearch.js +0 -23
  268. package/components/Filters/utils/replaceInSearch.js.map +0 -1
  269. package/components/Filters/utils/updateHistory.d.ts +0 -25
  270. package/components/Filters/utils/updateHistory.js +0 -30
  271. package/components/Filters/utils/updateHistory.js.map +0 -1
  272. package/components/Fonts/CustomFont.d.ts +0 -14
  273. package/components/Fonts/CustomFont.js +0 -17
  274. package/components/Fonts/CustomFont.js.map +0 -1
  275. package/components/Fonts/GoogleFont.d.ts +0 -10
  276. package/components/Fonts/GoogleFont.js +0 -35
  277. package/components/Fonts/GoogleFont.js.map +0 -1
  278. package/components/Fonts/TypekitFont.d.ts +0 -16
  279. package/components/Fonts/TypekitFont.js +0 -25
  280. package/components/Fonts/TypekitFont.js.map +0 -1
  281. package/components/Fonts/injectFont.d.ts +0 -11
  282. package/components/Fonts/injectFont.js +0 -30
  283. package/components/Fonts/injectFont.js.map +0 -1
  284. package/components/Head.d.ts +0 -11
  285. package/components/Head.js +0 -84
  286. package/components/Head.js.map +0 -1
  287. package/components/Mutation/AddToCart/addToCartUtils.d.ts +0 -18
  288. package/components/Mutation/AddToCart/addToCartUtils.js +0 -52
  289. package/components/Mutation/AddToCart/addToCartUtils.js.map +0 -1
  290. package/components/Mutation/AddToCartFormik.d.ts +0 -53
  291. package/components/Mutation/AddToCartFormik.js +0 -173
  292. package/components/Mutation/AddToCartFormik.js.map +0 -1
  293. package/components/Mutation/DecrementQuantity.d.ts +0 -4
  294. package/components/Mutation/DecrementQuantity.js +0 -35
  295. package/components/Mutation/DecrementQuantity.js.map +0 -1
  296. package/components/Mutation/IncrementQuantity.d.ts +0 -4
  297. package/components/Mutation/IncrementQuantity.js +0 -35
  298. package/components/Mutation/IncrementQuantity.js.map +0 -1
  299. package/components/Mutation/RemoveFromCart.d.ts +0 -5
  300. package/components/Mutation/RemoveFromCart.js +0 -52
  301. package/components/Mutation/RemoveFromCart.js.map +0 -1
  302. package/components/Mutation/SetQuantity.d.ts +0 -4
  303. package/components/Mutation/SetQuantity.js +0 -37
  304. package/components/Mutation/SetQuantity.js.map +0 -1
  305. package/components/Mutation/SubscribeToNewsletter.d.ts +0 -4
  306. package/components/Mutation/SubscribeToNewsletter.js +0 -30
  307. package/components/Mutation/SubscribeToNewsletter.js.map +0 -1
  308. package/components/Mutation/SubscribeToStockNotifications.d.ts +0 -4
  309. package/components/Mutation/SubscribeToStockNotifications.js +0 -31
  310. package/components/Mutation/SubscribeToStockNotifications.js.map +0 -1
  311. package/components/Mutation/cartMutationUtils.d.ts +0 -28
  312. package/components/Mutation/cartMutationUtils.js +0 -109
  313. package/components/Mutation/cartMutationUtils.js.map +0 -1
  314. package/components/Mutation/useDecrementQuantity.d.ts +0 -11
  315. package/components/Mutation/useDecrementQuantity.js +0 -54
  316. package/components/Mutation/useDecrementQuantity.js.map +0 -1
  317. package/components/Mutation/useIncrementQuantity.d.ts +0 -11
  318. package/components/Mutation/useIncrementQuantity.js +0 -54
  319. package/components/Mutation/useIncrementQuantity.js.map +0 -1
  320. package/components/Mutation/useRemoveFromCart.d.ts +0 -13
  321. package/components/Mutation/useRemoveFromCart.js +0 -50
  322. package/components/Mutation/useRemoveFromCart.js.map +0 -1
  323. package/components/Mutation/useSetQuantity.d.ts +0 -12
  324. package/components/Mutation/useSetQuantity.js +0 -38
  325. package/components/Mutation/useSetQuantity.js.map +0 -1
  326. package/components/Notifications/Notifications.d.ts +0 -15
  327. package/components/Notifications/Notifications.js +0 -27
  328. package/components/Notifications/Notifications.js.map +0 -1
  329. package/components/Notifications/index.d.ts +0 -2
  330. package/components/Notifications/index.js +0 -3
  331. package/components/Notifications/index.js.map +0 -1
  332. package/components/Notifications/notificationMachine.d.ts +0 -30
  333. package/components/Notifications/notificationMachine.js +0 -74
  334. package/components/Notifications/notificationMachine.js.map +0 -1
  335. package/components/Notifications/notificationsMachine.d.ts +0 -37
  336. package/components/Notifications/notificationsMachine.js +0 -66
  337. package/components/Notifications/notificationsMachine.js.map +0 -1
  338. package/components/Notifications/useNotification.d.ts +0 -9
  339. package/components/Notifications/useNotification.js +0 -27
  340. package/components/Notifications/useNotification.js.map +0 -1
  341. package/components/OpenGraph/OpenGraphGeneralPageData.d.ts +0 -25
  342. package/components/OpenGraph/OpenGraphGeneralPageData.js +0 -37
  343. package/components/OpenGraph/OpenGraphGeneralPageData.js.map +0 -1
  344. package/components/OpenGraph/OpenGraphProductData.d.ts +0 -25
  345. package/components/OpenGraph/OpenGraphProductData.js +0 -49
  346. package/components/OpenGraph/OpenGraphProductData.js.map +0 -1
  347. package/components/OpenGraph/index.d.ts +0 -2
  348. package/components/OpenGraph/index.js +0 -3
  349. package/components/OpenGraph/index.js.map +0 -1
  350. package/components/Pagination/PaginationContainer.d.ts +0 -2
  351. package/components/Pagination/PaginationContainer.js +0 -5
  352. package/components/Pagination/PaginationContainer.js.map +0 -1
  353. package/components/Pagination/PaginationContext.d.ts +0 -14
  354. package/components/Pagination/PaginationContext.js +0 -4
  355. package/components/Pagination/PaginationContext.js.map +0 -1
  356. package/components/Pagination/PaginationProvider.d.ts +0 -19
  357. package/components/Pagination/PaginationProvider.js +0 -95
  358. package/components/Pagination/PaginationProvider.js.map +0 -1
  359. package/components/PreviewContext.d.ts +0 -10
  360. package/components/PreviewContext.js +0 -27
  361. package/components/PreviewContext.js.map +0 -1
  362. package/components/ProductConfigurationProvider/ProductConfigurationContext.d.ts +0 -13
  363. package/components/ProductConfigurationProvider/ProductConfigurationContext.js +0 -5
  364. package/components/ProductConfigurationProvider/ProductConfigurationContext.js.map +0 -1
  365. package/components/ProductConfigurationProvider/ProductConfigurationProvider.d.ts +0 -6
  366. package/components/ProductConfigurationProvider/ProductConfigurationProvider.js +0 -50
  367. package/components/ProductConfigurationProvider/ProductConfigurationProvider.js.map +0 -1
  368. package/components/Query/CartProvider.d.ts +0 -22
  369. package/components/Query/CartProvider.js +0 -68
  370. package/components/Query/CartProvider.js.map +0 -1
  371. package/components/SortOrder/SortOrderContainer.d.ts +0 -40
  372. package/components/SortOrder/SortOrderContainer.js +0 -108
  373. package/components/SortOrder/SortOrderContainer.js.map +0 -1
  374. package/components/SortOrder/SortOrderContext.d.ts +0 -9
  375. package/components/SortOrder/SortOrderContext.js +0 -9
  376. package/components/SortOrder/SortOrderContext.js.map +0 -1
  377. package/components/StructuredData/SiteLinksSearchStructuredData.d.ts +0 -3
  378. package/components/StructuredData/SiteLinksSearchStructuredData.js +0 -25
  379. package/components/StructuredData/SiteLinksSearchStructuredData.js.map +0 -1
  380. package/components/StructuredData/StructuredBreadcrumbData.d.ts +0 -12
  381. package/components/StructuredData/StructuredBreadcrumbData.js +0 -55
  382. package/components/StructuredData/StructuredBreadcrumbData.js.map +0 -1
  383. package/components/StructuredData/StructuredCategoryData.d.ts +0 -16
  384. package/components/StructuredData/StructuredCategoryData.js +0 -18
  385. package/components/StructuredData/StructuredCategoryData.js.map +0 -1
  386. package/components/StructuredData/StructuredData.d.ts +0 -9
  387. package/components/StructuredData/StructuredData.js +0 -7
  388. package/components/StructuredData/StructuredData.js.map +0 -1
  389. package/components/StructuredData/StructuredPageData.d.ts +0 -16
  390. package/components/StructuredData/StructuredPageData.js +0 -17
  391. package/components/StructuredData/StructuredPageData.js.map +0 -1
  392. package/components/StructuredData/StructuredProductData.d.ts +0 -18
  393. package/components/StructuredData/StructuredProductData.js +0 -43
  394. package/components/StructuredData/StructuredProductData.js.map +0 -1
  395. package/components/StructuredData/index.d.ts +0 -5
  396. package/components/StructuredData/index.js +0 -6
  397. package/components/StructuredData/index.js.map +0 -1
  398. package/data/cache.d.ts +0 -3
  399. package/data/cache.js +0 -21
  400. package/data/cache.js.map +0 -1
  401. package/data/fragmentTypes.d.ts +0 -8
  402. package/data/fragmentTypes.js +0 -84
  403. package/data/fragmentTypes.js.map +0 -1
  404. package/data/fragments/index.d.ts +0 -1
  405. package/data/fragments/index.js +0 -2
  406. package/data/fragments/index.js.map +0 -1
  407. package/errorReporting.browser.d.ts +0 -3
  408. package/errorReporting.browser.js +0 -12
  409. package/errorReporting.browser.js.map +0 -1
  410. package/errorReporting.d.ts +0 -3
  411. package/errorReporting.js +0 -20
  412. package/errorReporting.js.map +0 -1
  413. package/errorReporting.server.d.ts +0 -3
  414. package/errorReporting.server.js +0 -12
  415. package/errorReporting.server.js.map +0 -1
  416. package/errorReporting.shared.d.ts +0 -5
  417. package/errorReporting.shared.js +0 -17
  418. package/errorReporting.shared.js.map +0 -1
  419. package/experiments/ExperimentsProvider.d.ts +0 -4
  420. package/experiments/ExperimentsProvider.js +0 -29
  421. package/experiments/ExperimentsProvider.js.map +0 -1
  422. package/experiments/selectExperimentVariant.d.ts +0 -3
  423. package/experiments/selectExperimentVariant.js +0 -35
  424. package/experiments/selectExperimentVariant.js.map +0 -1
  425. package/experiments/useExperiment.d.ts +0 -2
  426. package/experiments/useExperiment.js +0 -11
  427. package/experiments/useExperiment.js.map +0 -1
  428. package/helpers/decodeUrlQuery.d.ts +0 -9
  429. package/helpers/decodeUrlQuery.js +0 -27
  430. package/helpers/decodeUrlQuery.js.map +0 -1
  431. package/helpers/distance.d.ts +0 -7
  432. package/helpers/distance.js +0 -13
  433. package/helpers/distance.js.map +0 -1
  434. package/helpers/encodeVariant.d.ts +0 -3
  435. package/helpers/encodeVariant.js +0 -25
  436. package/helpers/encodeVariant.js.map +0 -1
  437. package/helpers/getBreakpointsFromValues.d.ts +0 -6
  438. package/helpers/getBreakpointsFromValues.js +0 -15
  439. package/helpers/getBreakpointsFromValues.js.map +0 -1
  440. package/helpers/getCartItemVariant.d.ts +0 -7
  441. package/helpers/getCartItemVariant.js +0 -9
  442. package/helpers/getCartItemVariant.js.map +0 -1
  443. package/helpers/getErrorDetail.d.ts +0 -7
  444. package/helpers/getErrorDetail.js +0 -12
  445. package/helpers/getErrorDetail.js.map +0 -1
  446. package/helpers/getHeaders.d.ts +0 -6
  447. package/helpers/getHeaders.js +0 -4
  448. package/helpers/getHeaders.js.map +0 -1
  449. package/helpers/isRelativeUrl.d.ts +0 -1
  450. package/helpers/isRelativeUrl.js +0 -4
  451. package/helpers/isRelativeUrl.js.map +0 -1
  452. package/helpers/logError.d.ts +0 -1
  453. package/helpers/logError.js +0 -17
  454. package/helpers/logError.js.map +0 -1
  455. package/helpers/logWarningInDev.d.ts +0 -1
  456. package/helpers/logWarningInDev.js +0 -7
  457. package/helpers/logWarningInDev.js.map +0 -1
  458. package/helpers/throwErrorInDev.d.ts +0 -6
  459. package/helpers/throwErrorInDev.js +0 -15
  460. package/helpers/throwErrorInDev.js.map +0 -1
  461. package/helpers/uniqueId.d.ts +0 -5
  462. package/helpers/uniqueId.js +0 -10
  463. package/helpers/uniqueId.js.map +0 -1
  464. package/hooks/Channels/useChannelSettings.d.ts +0 -7
  465. package/hooks/Channels/useChannelSettings.js +0 -12
  466. package/hooks/Channels/useChannelSettings.js.map +0 -1
  467. package/hooks/Filters/useBooleanFilter.d.ts +0 -8
  468. package/hooks/Filters/useBooleanFilter.js +0 -21
  469. package/hooks/Filters/useBooleanFilter.js.map +0 -1
  470. package/hooks/Filters/useFilters.d.ts +0 -3
  471. package/hooks/Filters/useFilters.js +0 -16
  472. package/hooks/Filters/useFilters.js.map +0 -1
  473. package/hooks/Filters/useListFilter.d.ts +0 -10
  474. package/hooks/Filters/useListFilter.js +0 -38
  475. package/hooks/Filters/useListFilter.js.map +0 -1
  476. package/hooks/Filters/useMultiFilter.d.ts +0 -13
  477. package/hooks/Filters/useMultiFilter.js +0 -50
  478. package/hooks/Filters/useMultiFilter.js.map +0 -1
  479. package/hooks/Filters/useRangeFilter.d.ts +0 -10
  480. package/hooks/Filters/useRangeFilter.js +0 -36
  481. package/hooks/Filters/useRangeFilter.js.map +0 -1
  482. package/hooks/Filters/useSortOrder.d.ts +0 -11
  483. package/hooks/Filters/useSortOrder.js +0 -22
  484. package/hooks/Filters/useSortOrder.js.map +0 -1
  485. package/hooks/PackageProducts/index.d.ts +0 -2
  486. package/hooks/PackageProducts/index.js +0 -3
  487. package/hooks/PackageProducts/index.js.map +0 -1
  488. package/hooks/PackageProducts/usePackageProductItem.d.ts +0 -17
  489. package/hooks/PackageProducts/usePackageProductItem.js +0 -27
  490. package/hooks/PackageProducts/usePackageProductItem.js.map +0 -1
  491. package/hooks/PackageProducts/usePackageProducts.d.ts +0 -19
  492. package/hooks/PackageProducts/usePackageProducts.js +0 -346
  493. package/hooks/PackageProducts/usePackageProducts.js.map +0 -1
  494. package/hooks/Product/index.d.ts +0 -1
  495. package/hooks/Product/index.js +0 -2
  496. package/hooks/Product/index.js.map +0 -1
  497. package/hooks/Product/useStockStatus.d.ts +0 -9
  498. package/hooks/Product/useStockStatus.js +0 -26
  499. package/hooks/Product/useStockStatus.js.map +0 -1
  500. package/hooks/Product/useSwitchToVariantImage.d.ts +0 -9
  501. package/hooks/Product/useSwitchToVariantImage.js +0 -21
  502. package/hooks/Product/useSwitchToVariantImage.js.map +0 -1
  503. package/hooks/ProductList/ProductListContext.d.ts +0 -7
  504. package/hooks/ProductList/ProductListContext.js +0 -111
  505. package/hooks/ProductList/ProductListContext.js.map +0 -1
  506. package/hooks/ProductList/action-creators.d.ts +0 -46
  507. package/hooks/ProductList/action-creators.js +0 -297
  508. package/hooks/ProductList/action-creators.js.map +0 -1
  509. package/hooks/ProductList/index.d.ts +0 -118
  510. package/hooks/ProductList/index.js +0 -22
  511. package/hooks/ProductList/index.js.map +0 -1
  512. package/hooks/ProductList/list-transforms.d.ts +0 -75
  513. package/hooks/ProductList/list-transforms.js +0 -107
  514. package/hooks/ProductList/list-transforms.js.map +0 -1
  515. package/hooks/ProductList/product-list-reducer.d.ts +0 -76
  516. package/hooks/ProductList/product-list-reducer.js +0 -198
  517. package/hooks/ProductList/product-list-reducer.js.map +0 -1
  518. package/hooks/ProductList/useProductList.d.ts +0 -13
  519. package/hooks/ProductList/useProductList.js +0 -94
  520. package/hooks/ProductList/useProductList.js.map +0 -1
  521. package/hooks/ProductList/useProductListItems.d.ts +0 -10
  522. package/hooks/ProductList/useProductListItems.js +0 -49
  523. package/hooks/ProductList/useProductListItems.js.map +0 -1
  524. package/hooks/ProductList/validate-product.d.ts +0 -6
  525. package/hooks/ProductList/validate-product.js +0 -41
  526. package/hooks/ProductList/validate-product.js.map +0 -1
  527. package/hooks/Subscriptions/useNewsletterSubscription.d.ts +0 -38
  528. package/hooks/Subscriptions/useNewsletterSubscription.js +0 -42
  529. package/hooks/Subscriptions/useNewsletterSubscription.js.map +0 -1
  530. package/hooks/Subscriptions/useStockNotifications.d.ts +0 -36
  531. package/hooks/Subscriptions/useStockNotifications.js +0 -38
  532. package/hooks/Subscriptions/useStockNotifications.js.map +0 -1
  533. package/hooks/Subscriptions/useStoreSubscriptions.d.ts +0 -48
  534. package/hooks/Subscriptions/useStoreSubscriptions.js +0 -151
  535. package/hooks/Subscriptions/useStoreSubscriptions.js.map +0 -1
  536. package/hooks/useAddMultipleToCart.d.ts +0 -27
  537. package/hooks/useAddMultipleToCart.js +0 -114
  538. package/hooks/useAddMultipleToCart.js.map +0 -1
  539. package/hooks/useChannels.d.ts +0 -1
  540. package/hooks/useChannels.js +0 -10
  541. package/hooks/useChannels.js.map +0 -1
  542. package/hooks/useCustomerOrdersQuery.d.ts +0 -21
  543. package/hooks/useCustomerOrdersQuery.js +0 -21
  544. package/hooks/useCustomerOrdersQuery.js.map +0 -1
  545. package/hooks/useDeleteAccountMutation.d.ts +0 -15
  546. package/hooks/useDeleteAccountMutation.js +0 -39
  547. package/hooks/useDeleteAccountMutation.js.map +0 -1
  548. package/hooks/useDynamicPrice.d.ts +0 -3
  549. package/hooks/useDynamicPrice.js +0 -25
  550. package/hooks/useDynamicPrice.js.map +0 -1
  551. package/hooks/useFreeShippingCheck.d.ts +0 -15
  552. package/hooks/useFreeShippingCheck.js +0 -31
  553. package/hooks/useFreeShippingCheck.js.map +0 -1
  554. package/hooks/useGeolocation.d.ts +0 -11
  555. package/hooks/useGeolocation.js +0 -34
  556. package/hooks/useGeolocation.js.map +0 -1
  557. package/hooks/useInfinitePagination.d.ts +0 -37
  558. package/hooks/useInfinitePagination.js +0 -139
  559. package/hooks/useInfinitePagination.js.map +0 -1
  560. package/hooks/useLogError.d.ts +0 -1
  561. package/hooks/useLogError.js +0 -8
  562. package/hooks/useLogError.js.map +0 -1
  563. package/hooks/useLoginMutation.d.ts +0 -12
  564. package/hooks/useLoginMutation.js +0 -15
  565. package/hooks/useLoginMutation.js.map +0 -1
  566. package/hooks/useLoginRedirect.d.ts +0 -4
  567. package/hooks/useLoginRedirect.js +0 -37
  568. package/hooks/useLoginRedirect.js.map +0 -1
  569. package/hooks/useOrderDetailQuery.d.ts +0 -20
  570. package/hooks/useOrderDetailQuery.js +0 -29
  571. package/hooks/useOrderDetailQuery.js.map +0 -1
  572. package/hooks/usePreconnectLinks.d.ts +0 -10
  573. package/hooks/usePreconnectLinks.js +0 -30
  574. package/hooks/usePreconnectLinks.js.map +0 -1
  575. package/hooks/usePrice.d.ts +0 -41
  576. package/hooks/usePrice.js +0 -73
  577. package/hooks/usePrice.js.map +0 -1
  578. package/hooks/useProductVariants/index.d.ts +0 -1
  579. package/hooks/useProductVariants/index.js +0 -2
  580. package/hooks/useProductVariants/index.js.map +0 -1
  581. package/hooks/useProductVariants/useProductVariants.d.ts +0 -19
  582. package/hooks/useProductVariants/useProductVariants.js +0 -203
  583. package/hooks/useProductVariants/useProductVariants.js.map +0 -1
  584. package/hooks/useProductVariants/useVariantFromUrl.d.ts +0 -5
  585. package/hooks/useProductVariants/useVariantFromUrl.js +0 -16
  586. package/hooks/useProductVariants/useVariantFromUrl.js.map +0 -1
  587. package/hooks/useRoutePreload.d.ts +0 -24
  588. package/hooks/useRoutePreload.js +0 -40
  589. package/hooks/useRoutePreload.js.map +0 -1
  590. package/hooks/useShopConfig.d.ts +0 -1
  591. package/hooks/useShopConfig.js +0 -11
  592. package/hooks/useShopConfig.js.map +0 -1
  593. package/hooks/useThrowErrorInDev.d.ts +0 -1
  594. package/hooks/useThrowErrorInDev.js +0 -8
  595. package/hooks/useThrowErrorInDev.js.map +0 -1
  596. package/hooks/useThunkReducer.d.ts +0 -7
  597. package/hooks/useThunkReducer.js +0 -24
  598. package/hooks/useThunkReducer.js.map +0 -1
  599. package/hooks/useWarningInDev.d.ts +0 -1
  600. package/hooks/useWarningInDev.js +0 -10
  601. package/hooks/useWarningInDev.js.map +0 -1
  602. package/inServer.d.ts +0 -1
  603. package/inServer.js +0 -3
  604. package/inServer.js.map +0 -1
  605. package/index.d.ts +0 -1
  606. package/index.js +0 -2
  607. package/index.js.map +0 -1
  608. package/integrations/addwishSchemaExtension.d.ts +0 -35
  609. package/integrations/addwishSchemaExtension.js +0 -141
  610. package/integrations/addwishSchemaExtension.js.map +0 -1
  611. package/integrations/nostoSchemaExtension.d.ts +0 -5
  612. package/integrations/nostoSchemaExtension.js +0 -77
  613. package/integrations/nostoSchemaExtension.js.map +0 -1
  614. package/integrations/sluggishSchemaExtension.d.ts +0 -2
  615. package/integrations/sluggishSchemaExtension.js +0 -27
  616. package/integrations/sluggishSchemaExtension.js.map +0 -1
  617. package/polyfills.d.ts +0 -1
  618. package/polyfills.js +0 -38
  619. package/polyfills.js.map +0 -1
  620. package/resolvers/filters/boolFilter.d.ts +0 -3
  621. package/resolvers/filters/boolFilter.js +0 -85
  622. package/resolvers/filters/boolFilter.js.map +0 -1
  623. package/resolvers/filters/defaultActiveFilters.d.ts +0 -3
  624. package/resolvers/filters/defaultActiveFilters.js +0 -9
  625. package/resolvers/filters/defaultActiveFilters.js.map +0 -1
  626. package/resolvers/filters/filterParams.d.ts +0 -3
  627. package/resolvers/filters/filterParams.js +0 -85
  628. package/resolvers/filters/filterParams.js.map +0 -1
  629. package/resolvers/filters/filters.d.ts +0 -5
  630. package/resolvers/filters/filters.js +0 -79
  631. package/resolvers/filters/filters.js.map +0 -1
  632. package/resolvers/filters/index.d.ts +0 -27
  633. package/resolvers/filters/index.js +0 -8
  634. package/resolvers/filters/index.js.map +0 -1
  635. package/resolvers/filters/listFilter.d.ts +0 -7
  636. package/resolvers/filters/listFilter.js +0 -74
  637. package/resolvers/filters/listFilter.js.map +0 -1
  638. package/resolvers/filters/listFilterItem.d.ts +0 -3
  639. package/resolvers/filters/listFilterItem.js +0 -123
  640. package/resolvers/filters/listFilterItem.js.map +0 -1
  641. package/resolvers/filters/multiListFilter.d.ts +0 -5
  642. package/resolvers/filters/multiListFilter.js +0 -196
  643. package/resolvers/filters/multiListFilter.js.map +0 -1
  644. package/resolvers/filters/multiListFilterList.d.ts +0 -3
  645. package/resolvers/filters/multiListFilterList.js +0 -56
  646. package/resolvers/filters/multiListFilterList.js.map +0 -1
  647. package/resolvers/filters/rangeFilter.d.ts +0 -5
  648. package/resolvers/filters/rangeFilter.js +0 -138
  649. package/resolvers/filters/rangeFilter.js.map +0 -1
  650. package/resolvers/filters/updateQueryString.d.ts +0 -12
  651. package/resolvers/filters/updateQueryString.js +0 -117
  652. package/resolvers/filters/updateQueryString.js.map +0 -1
  653. package/resolvers/index.d.ts +0 -37
  654. package/resolvers/index.js +0 -38
  655. package/resolvers/index.js.map +0 -1
  656. package/sentry/client.d.ts +0 -1
  657. package/sentry/client.js +0 -30
  658. package/sentry/client.js.map +0 -1
  659. package/sentry/common.d.ts +0 -1
  660. package/sentry/common.js +0 -5
  661. package/sentry/common.js.map +0 -1
  662. package/sentry/server.d.ts +0 -1
  663. package/sentry/server.js +0 -20
  664. package/sentry/server.js.map +0 -1
  665. package/sentry/utils.d.ts +0 -1
  666. package/sentry/utils.js +0 -2
  667. package/sentry/utils.js.map +0 -1
  668. package/server/graphql.d.ts +0 -20
  669. package/server/graphql.js +0 -119
  670. package/server/graphql.js.map +0 -1
  671. package/server/index.d.ts +0 -2
  672. package/server/index.js +0 -3
  673. package/server/index.js.map +0 -1
  674. package/server/tracking/facebook.d.ts +0 -5
  675. package/server/tracking/facebook.js +0 -148
  676. package/server/tracking/facebook.js.map +0 -1
  677. package/server/tracking/middleware.d.ts +0 -8
  678. package/server/tracking/middleware.js +0 -15
  679. package/server/tracking/middleware.js.map +0 -1
  680. package/time.d.ts +0 -1
  681. package/time.js +0 -6
  682. package/time.js.map +0 -1
@@ -1,5 +1,4 @@
1
1
  fragment StockStatus on StockStatus {
2
- id
3
2
  buyable
4
3
  maxOrderQuantity
5
4
  stockDate
package/global.d.ts CHANGED
@@ -1,2 +1,26 @@
1
- declare var __IN_SERVER__: boolean;
2
- declare module 'format-message-generate-id/underscored_crc32';
1
+ import * as ReactRouter from 'react-router';
2
+ import * as History from 'history';
3
+ declare let __IN_SERVER__: boolean;
4
+
5
+ declare module 'format-message-generate-id';
6
+
7
+ declare global {
8
+ let __IN_SERVER__: boolean;
9
+ }
10
+
11
+ declare module 'history' {
12
+ export type Location = {
13
+ state?: {
14
+ type: any;
15
+ list: any;
16
+ };
17
+ };
18
+ }
19
+ declare module 'react-router' {
20
+ export namespace History {
21
+ export type LocationState = {
22
+ list: any;
23
+ type: any;
24
+ };
25
+ }
26
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jetshop/core",
3
- "version": "5.16.0",
3
+ "version": "5.16.2-build-tools.77+539ee0513",
4
4
  "license": "MIT",
5
5
  "files": [
6
6
  "**/*.js",
@@ -124,7 +124,7 @@
124
124
  "@types/request-ip": "^0.0.36",
125
125
  "@types/uuid": "^8.3.0",
126
126
  "apollo-link-mock": "^1.0.1",
127
- "chalk": "^2.4.1",
127
+ "chalk": "^4.1.2",
128
128
  "jest-dom": "^3.4.0",
129
129
  "lint-staged": "^8.1.5",
130
130
  "nock": "^10.0.6",
@@ -133,5 +133,6 @@
133
133
  "peerDependencies": {
134
134
  "react": "^16.9.0",
135
135
  "react-dom": "^16.9.0"
136
- }
136
+ },
137
+ "gitHead": "539ee0513eef9ea7e80af0976d65ae3d462790b9"
137
138
  }
package/types.d.ts CHANGED
@@ -1,7 +1,13 @@
1
1
  export type Maybe<T> = T | null;
2
- export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
3
- export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
4
- export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
2
+ export type Exact<T extends { [key: string]: unknown }> = {
3
+ [K in keyof T]: T[K];
4
+ };
5
+ export type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
6
+ [SubKey in K]?: Maybe<T[SubKey]>;
7
+ };
8
+ export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
9
+ [SubKey in K]: Maybe<T[SubKey]>;
10
+ };
5
11
  /** All built-in and custom scalars, mapped to their actual values */
6
12
  export type Scalars = {
7
13
  ID: string;
@@ -17,7 +23,6 @@ export type Scalars = {
17
23
  Paging: any;
18
24
  };
19
25
 
20
-
21
26
  export type ActivateExternalCustomerByIdInput = {
22
27
  externalCustomerId: Scalars['String'];
23
28
  };
@@ -133,7 +138,6 @@ export type BusinessCustomer = Customer & {
133
138
  googleUserId?: Maybe<Scalars['String']>;
134
139
  };
135
140
 
136
-
137
141
  export type BusinessCustomerOrderHeadersArgs = {
138
142
  first?: Maybe<Scalars['Int']>;
139
143
  offset?: Maybe<Scalars['Int']>;
@@ -249,7 +253,6 @@ export type Category = Document & {
249
253
  allowWebIndexing?: Maybe<Scalars['Boolean']>;
250
254
  };
251
255
 
252
-
253
256
  export type CategoryProductsArgs = {
254
257
  first?: Maybe<Scalars['Paging']>;
255
258
  offset?: Maybe<Scalars['Int']>;
@@ -275,7 +278,10 @@ export type CategoryDynamicFilter = {
275
278
  value?: Maybe<CategoryDynamicFilterValue>;
276
279
  };
277
280
 
278
- export type CategoryDynamicFilterValue = StringValue | ListStringValue | BoolValue;
281
+ export type CategoryDynamicFilterValue =
282
+ | StringValue
283
+ | ListStringValue
284
+ | BoolValue;
279
285
 
280
286
  export type CategoryImage = {
281
287
  __typename?: 'CategoryImage';
@@ -354,7 +360,6 @@ export type ContentItem = {
354
360
  children?: Maybe<Array<Maybe<ContentItem>>>;
355
361
  };
356
362
 
357
-
358
363
  export type ContentItemPropertiesArgs = {
359
364
  getImageAsImageValue?: Maybe<Scalars['Boolean']>;
360
365
  };
@@ -367,7 +372,12 @@ export type ContentItemProperty = {
367
372
  value?: Maybe<ContentItemPropertyValue>;
368
373
  };
369
374
 
370
- export type ContentItemPropertyValue = StringValue | ImageValue | BoolValue | Product | Category;
375
+ export type ContentItemPropertyValue =
376
+ | StringValue
377
+ | ImageValue
378
+ | BoolValue
379
+ | Product
380
+ | Category;
371
381
 
372
382
  export enum ContentPropertyValueType {
373
383
  Object = 'OBJECT',
@@ -466,7 +476,6 @@ export type Customer = {
466
476
  googleUserId?: Maybe<Scalars['String']>;
467
477
  };
468
478
 
469
-
470
479
  export type CustomerOrderHeadersArgs = {
471
480
  first?: Maybe<Scalars['Int']>;
472
481
  offset?: Maybe<Scalars['Int']>;
@@ -523,7 +532,6 @@ export type CustomerLoyalty = {
523
532
  bonusPoints?: Maybe<CustomerLoyaltyBonusPoints>;
524
533
  };
525
534
 
526
-
527
535
  export type CustomerLoyaltyDiscountsArgs = {
528
536
  includeRedeemed?: Scalars['Boolean'];
529
537
  };
@@ -756,8 +764,6 @@ export type CustomStringField = CustomField & {
756
764
  title?: Maybe<Scalars['String']>;
757
765
  };
758
766
 
759
-
760
-
761
767
  export type DeleteCustomerProductListResult = {
762
768
  __typename?: 'DeleteCustomerProductListResult';
763
769
  success?: Maybe<Scalars['Boolean']>;
@@ -1211,65 +1217,53 @@ export type Mutation = {
1211
1217
  clearMultiListFilterList?: Maybe<MultiListFilter>;
1212
1218
  };
1213
1219
 
1214
-
1215
1220
  export type MutationSubscribeToStockNotificationsArgs = {
1216
1221
  email: Scalars['String'];
1217
1222
  articleNumber: Scalars['String'];
1218
1223
  };
1219
1224
 
1220
-
1221
1225
  export type MutationSubscribeToNewsletterArgs = {
1222
1226
  email: Scalars['String'];
1223
1227
  };
1224
1228
 
1225
-
1226
1229
  export type MutationAddToCustomerProductListArgs = {
1227
1230
  id?: Maybe<Scalars['ID']>;
1228
1231
  items: Array<AddToCustomerProductListInput>;
1229
1232
  };
1230
1233
 
1231
-
1232
1234
  export type MutationCreateCustomerProductListArgs = {
1233
1235
  input: CreateCustomerProductListInput;
1234
1236
  };
1235
1237
 
1236
-
1237
1238
  export type MutationDeleteCustomerProductListArgs = {
1238
1239
  id: Scalars['ID'];
1239
1240
  };
1240
1241
 
1241
-
1242
1242
  export type MutationRemoveFromCustomerProductListArgs = {
1243
1243
  id?: Maybe<Scalars['ID']>;
1244
1244
  articleNumbers?: Maybe<Array<Scalars['String']>>;
1245
1245
  };
1246
1246
 
1247
-
1248
1247
  export type MutationUpdateCustomerProductListItemArgs = {
1249
1248
  input: UpdateCustomerProductListItemInput;
1250
1249
  };
1251
1250
 
1252
-
1253
1251
  export type MutationUpdateCustomerProductListArgs = {
1254
1252
  input: UpdateCustomerProductListInput;
1255
1253
  };
1256
1254
 
1257
-
1258
1255
  export type MutationActivateExternalCustomerByIdArgs = {
1259
1256
  input?: Maybe<ActivateExternalCustomerByIdInput>;
1260
1257
  };
1261
1258
 
1262
-
1263
1259
  export type MutationActivateExternalCustomerByTokenArgs = {
1264
1260
  input?: Maybe<ActivateExternalCustomerByTokenInput>;
1265
1261
  };
1266
1262
 
1267
-
1268
1263
  export type MutationLoginExternalCustomerArgs = {
1269
1264
  input?: Maybe<LoginExternalCustomerInput>;
1270
1265
  };
1271
1266
 
1272
-
1273
1267
  export type MutationLoginArgs = {
1274
1268
  password?: Maybe<Scalars['String']>;
1275
1269
  email?: Maybe<Scalars['String']>;
@@ -1281,132 +1275,108 @@ export type MutationLoginArgs = {
1281
1275
  customerId?: Maybe<Scalars['Int']>;
1282
1276
  };
1283
1277
 
1284
-
1285
1278
  export type MutationRequestPasswordResetArgs = {
1286
1279
  email: Scalars['String'];
1287
1280
  };
1288
1281
 
1289
-
1290
1282
  export type MutationResetPasswordArgs = {
1291
1283
  resetPasswordToken: Scalars['String'];
1292
1284
  newPassword: Scalars['String'];
1293
1285
  };
1294
1286
 
1295
-
1296
1287
  export type MutationSignUpArgs = {
1297
1288
  input: SignUpInput;
1298
1289
  };
1299
1290
 
1300
-
1301
1291
  export type MutationUpdateCustomerGroupArgs = {
1302
1292
  customerGroupAccessCode: Scalars['String'];
1303
1293
  };
1304
1294
 
1305
-
1306
1295
  export type MutationUpdateCustomerArgs = {
1307
1296
  input: CustomerUpdateInput;
1308
1297
  };
1309
1298
 
1310
-
1311
1299
  export type MutationUpdateCustomerPriceListArgs = {
1312
1300
  priceListAccessCode: Scalars['String'];
1313
1301
  };
1314
1302
 
1315
-
1316
1303
  export type MutationUpdatePasswordArgs = {
1317
1304
  oldPassword: Scalars['String'];
1318
1305
  newPassword: Scalars['String'];
1319
1306
  };
1320
1307
 
1321
-
1322
1308
  export type MutationAddMultipleToCartArgs = {
1323
1309
  cartId?: Maybe<Scalars['String']>;
1324
1310
  items: Array<Maybe<AddMultipleToCartInput>>;
1325
1311
  };
1326
1312
 
1327
-
1328
1313
  export type MutationAddToCartArgs = {
1329
1314
  input: AddToCartInput;
1330
1315
  };
1331
1316
 
1332
-
1333
1317
  export type MutationDecrementItemQuantityArgs = {
1334
1318
  input: ChangeByOneItemQuantityInput;
1335
1319
  };
1336
1320
 
1337
-
1338
1321
  export type MutationSetItemQuantityArgs = {
1339
1322
  input: SetItemQuantityInput;
1340
1323
  };
1341
1324
 
1342
-
1343
1325
  export type MutationIncrementItemQuantityArgs = {
1344
1326
  input: ChangeByOneItemQuantityInput;
1345
1327
  };
1346
1328
 
1347
-
1348
1329
  export type MutationRemoveFromCartArgs = {
1349
1330
  input: RemoveFromCartInput;
1350
1331
  };
1351
1332
 
1352
-
1353
1333
  export type MutationRemoveMultipleFromCartArgs = {
1354
1334
  input: RemoveMultipleFromCartInput;
1355
1335
  };
1356
1336
 
1357
-
1358
1337
  export type MutationUpdateCartArgs = {
1359
1338
  input: UpdateCartInput;
1360
1339
  };
1361
1340
 
1362
-
1363
1341
  export type MutationToggleListFilterItemArgs = {
1364
1342
  value: Scalars['String'];
1365
1343
  parentId: Scalars['String'];
1366
1344
  set?: Maybe<Scalars['Boolean']>;
1367
1345
  };
1368
1346
 
1369
-
1370
1347
  export type MutationClearListFilterArgs = {
1371
1348
  id: Scalars['String'];
1372
1349
  };
1373
1350
 
1374
-
1375
1351
  export type MutationSetBoolFilterArgs = {
1376
1352
  value: Scalars['Boolean'];
1377
1353
  id: Scalars['String'];
1378
1354
  };
1379
1355
 
1380
-
1381
1356
  export type MutationSetRangeFilterArgs = {
1382
1357
  value: Array<Scalars['Decimal']>;
1383
1358
  id: Scalars['String'];
1384
1359
  };
1385
1360
 
1386
-
1387
1361
  export type MutationClearRangeFilterArgs = {
1388
1362
  id: Scalars['String'];
1389
1363
  };
1390
1364
 
1391
-
1392
1365
  export type MutationToggleMultiListFilterItemArgs = {
1393
1366
  value: Scalars['String'];
1394
1367
  listIndex: Scalars['Int'];
1395
1368
  filter: MultiListFilter;
1396
1369
  };
1397
1370
 
1398
-
1399
1371
  export type MutationSetMultiListFilterArgs = {
1400
1372
  values?: Maybe<Array<Scalars['String']>>;
1401
1373
  id: Scalars['String'];
1402
1374
  };
1403
1375
 
1404
-
1405
1376
  export type MutationClearMultiListFilterArgs = {
1406
1377
  id: Scalars['String'];
1407
1378
  };
1408
1379
 
1409
-
1410
1380
  export type MutationClearMultiListFilterListArgs = {
1411
1381
  listIndex: Scalars['Int'];
1412
1382
  filter: MultiListFilter;
@@ -1446,7 +1416,6 @@ export type Order = {
1446
1416
  orderPurchaseLocation?: Maybe<Scalars['String']>;
1447
1417
  };
1448
1418
 
1449
-
1450
1419
  export type OrderItemsArgs = {
1451
1420
  first?: Maybe<Scalars['Int']>;
1452
1421
  offset?: Maybe<Scalars['Int']>;
@@ -1653,7 +1622,6 @@ export type Page = Document & {
1653
1622
  allowWebIndexing?: Maybe<Scalars['Boolean']>;
1654
1623
  };
1655
1624
 
1656
-
1657
1625
  export type PageSubPagesArgs = {
1658
1626
  includeHidden?: Maybe<Scalars['Boolean']>;
1659
1627
  };
@@ -1668,12 +1636,10 @@ export type PagedResult = {
1668
1636
  result: Array<Maybe<Product>>;
1669
1637
  };
1670
1638
 
1671
-
1672
1639
  export type PagedResultFiltersArgs = {
1673
1640
  ids?: Maybe<Array<Maybe<Scalars['String']>>>;
1674
1641
  };
1675
1642
 
1676
-
1677
1643
  export type PagingInput = {
1678
1644
  first?: Maybe<Scalars['Paging']>;
1679
1645
  offset?: Maybe<Scalars['Int']>;
@@ -1737,7 +1703,6 @@ export type PrivateCustomer = Customer & {
1737
1703
  googleUserId?: Maybe<Scalars['String']>;
1738
1704
  };
1739
1705
 
1740
-
1741
1706
  export type PrivateCustomerOrderHeadersArgs = {
1742
1707
  first?: Maybe<Scalars['Int']>;
1743
1708
  offset?: Maybe<Scalars['Int']>;
@@ -1876,33 +1841,27 @@ export type Product = Document & {
1876
1841
  history?: Maybe<ProductHistory>;
1877
1842
  };
1878
1843
 
1879
-
1880
1844
  export type ProductCategoriesArgs = {
1881
1845
  includeHidden?: Maybe<Scalars['Boolean']>;
1882
1846
  };
1883
1847
 
1884
-
1885
1848
  export type ProductImagesArgs = {
1886
1849
  includeVariantImages?: Maybe<Scalars['Boolean']>;
1887
1850
  limit?: Maybe<Scalars['Int']>;
1888
1851
  };
1889
1852
 
1890
-
1891
1853
  export type ProductWarehouseStockArgs = {
1892
1854
  includeInactive?: Maybe<Scalars['Boolean']>;
1893
1855
  };
1894
1856
 
1895
-
1896
1857
  export type ProductConfigurationPriceArgs = {
1897
1858
  options?: Maybe<Array<ProductConfigurationPriceInput>>;
1898
1859
  };
1899
1860
 
1900
-
1901
1861
  export type ProductPackageArgs = {
1902
1862
  articleNumbers?: Maybe<Array<Maybe<PackagePriceInput>>>;
1903
1863
  };
1904
1864
 
1905
-
1906
1865
  export type ProductHistoryArgs = {
1907
1866
  days?: Maybe<Scalars['Int']>;
1908
1867
  };
@@ -2102,12 +2061,10 @@ export type ProductVariant = {
2102
2061
  history?: Maybe<ProductVariantHistory>;
2103
2062
  };
2104
2063
 
2105
-
2106
2064
  export type ProductVariantWarehouseStockArgs = {
2107
2065
  includeInactive?: Maybe<Scalars['Boolean']>;
2108
2066
  };
2109
2067
 
2110
-
2111
2068
  export type ProductVariantHistoryArgs = {
2112
2069
  days?: Maybe<Scalars['Int']>;
2113
2070
  };
@@ -2182,106 +2139,87 @@ export type Query = {
2182
2139
  cart?: Maybe<Cart>;
2183
2140
  };
2184
2141
 
2185
-
2186
2142
  export type QueryStoreArgs = {
2187
2143
  id: Scalars['Int'];
2188
2144
  };
2189
2145
 
2190
-
2191
2146
  export type QueryStoresArgs = {
2192
2147
  includeInactive?: Scalars['Boolean'];
2193
2148
  };
2194
2149
 
2195
-
2196
2150
  export type QueryStartPageArgs = {
2197
2151
  id?: Maybe<Scalars['Int']>;
2198
2152
  };
2199
2153
 
2200
-
2201
2154
  export type QuerySearchAutoCompleteArgs = {
2202
2155
  term: Scalars['String'];
2203
2156
  };
2204
2157
 
2205
-
2206
2158
  export type QuerySearchArgs = {
2207
2159
  term: Scalars['String'];
2208
2160
  };
2209
2161
 
2210
-
2211
2162
  export type QueryRouteArgs = {
2212
2163
  path: Scalars['String'];
2213
2164
  };
2214
2165
 
2215
-
2216
2166
  export type QueryProductArgs = {
2217
2167
  articleNumber?: Maybe<Scalars['String']>;
2218
2168
  id?: Maybe<Scalars['Int']>;
2219
2169
  barcode?: Maybe<Scalars['String']>;
2220
2170
  };
2221
2171
 
2222
-
2223
2172
  export type QueryProductsArgs = {
2224
2173
  articleNumbers?: Maybe<Array<Maybe<Scalars['String']>>>;
2225
2174
  ids?: Maybe<Array<Maybe<Scalars['Int']>>>;
2226
2175
  barcodes?: Maybe<Array<Maybe<Scalars['String']>>>;
2227
2176
  };
2228
2177
 
2229
-
2230
2178
  export type QueryPageArgs = {
2231
2179
  id: Scalars['Int'];
2232
2180
  };
2233
2181
 
2234
-
2235
2182
  export type QueryOrderArgs = {
2236
2183
  id?: Maybe<Scalars['Int']>;
2237
2184
  orderId?: Maybe<Scalars['ID']>;
2238
2185
  };
2239
2186
 
2240
-
2241
2187
  export type QueryCustomerProductListArgs = {
2242
2188
  id?: Maybe<Scalars['ID']>;
2243
2189
  shareToken?: Maybe<Scalars['String']>;
2244
2190
  };
2245
2191
 
2246
-
2247
2192
  export type QueryCustomerLookupArgs = {
2248
2193
  phoneNumber?: Maybe<Scalars['String']>;
2249
2194
  };
2250
2195
 
2251
-
2252
2196
  export type QueryExternalCustomerLookupArgs = {
2253
2197
  key?: Maybe<Scalars['String']>;
2254
2198
  };
2255
2199
 
2256
-
2257
2200
  export type QueryPersonLookupArgs = {
2258
2201
  key: Scalars['String'];
2259
2202
  };
2260
2203
 
2261
-
2262
2204
  export type QueryContentArgs = {
2263
2205
  ids?: Maybe<Array<Maybe<Scalars['String']>>>;
2264
2206
  tags?: Maybe<Array<Maybe<Scalars['String']>>>;
2265
2207
  };
2266
2208
 
2267
-
2268
2209
  export type QueryChannelArgs = {
2269
2210
  id?: Maybe<Scalars['String']>;
2270
2211
  };
2271
2212
 
2272
-
2273
2213
  export type QueryCategoriesArgs = {
2274
2214
  root?: Maybe<Scalars['Int']>;
2275
2215
  levels?: Maybe<Scalars['Int']>;
2276
2216
  includeHidden?: Maybe<Scalars['Boolean']>;
2277
2217
  };
2278
2218
 
2279
-
2280
2219
  export type QueryCategoryArgs = {
2281
2220
  id: Scalars['ID'];
2282
2221
  };
2283
2222
 
2284
-
2285
2223
  export type QueryCartArgs = {
2286
2224
  id?: Maybe<Scalars['String']>;
2287
2225
  };
@@ -2302,17 +2240,14 @@ export type RecommendedProducts = {
2302
2240
  shuffledToplist?: Maybe<Array<Maybe<Product>>>;
2303
2241
  };
2304
2242
 
2305
-
2306
2243
  export type RecommendedProductsBoughtArgs = {
2307
2244
  count?: Maybe<Scalars['Int']>;
2308
2245
  };
2309
2246
 
2310
-
2311
2247
  export type RecommendedProductsViewedArgs = {
2312
2248
  count?: Maybe<Scalars['Int']>;
2313
2249
  };
2314
2250
 
2315
-
2316
2251
  export type RecommendedProductsShuffledToplistArgs = {
2317
2252
  count?: Maybe<Scalars['Int']>;
2318
2253
  };
@@ -2376,7 +2311,6 @@ export type SearchAutoCompleteResult = {
2376
2311
  categories?: Maybe<CategoryAutoCompleteResult>;
2377
2312
  };
2378
2313
 
2379
-
2380
2314
  export type SearchAutoCompleteResultCategoriesArgs = {
2381
2315
  first?: Maybe<Scalars['Paging']>;
2382
2316
  };
@@ -2388,13 +2322,11 @@ export type SearchResult = {
2388
2322
  categories?: Maybe<CategorySearchResult>;
2389
2323
  };
2390
2324
 
2391
-
2392
2325
  export type SearchResultProductsArgs = {
2393
2326
  paging?: Maybe<PagingInput>;
2394
2327
  filters?: Maybe<FilterInput>;
2395
2328
  };
2396
2329
 
2397
-
2398
2330
  export type SearchResultCategoriesArgs = {
2399
2331
  paging?: Maybe<PagingInput>;
2400
2332
  };
@@ -2682,7 +2614,6 @@ export type UpsellItem = {
2682
2614
  discount: UpsellDiscount;
2683
2615
  };
2684
2616
 
2685
-
2686
2617
  export type Warehouse = {
2687
2618
  __typename?: 'Warehouse';
2688
2619
  stockLevel?: Maybe<Scalars['Int']>;
@@ -1,53 +0,0 @@
1
- import { SelectedChannel } from '@jetshop/core/components/ChannelContext/ChannelContext';
2
- import { Channel } from '@jetshop/core/types';
3
- import { RendererOptions } from '@jetshop/core/boot/server/createRenderer';
4
- import { BootOptions, Routes } from '@jetshop/core/components/ConfigProvider';
5
- import type { GetPrimaryRoutePath } from './redirectUtils';
6
- export declare class ChannelHandler {
7
- selectedChannel?: SelectedChannel;
8
- recommendedChannel?: SelectedChannel;
9
- channels?: Channel[];
10
- getPrimaryRoutePath?: GetPrimaryRoutePath;
11
- selectedChannelGroup?: Channel[] | undefined;
12
- constructor(args?: {
13
- selectedChannel?: SelectedChannel;
14
- recommendedChannel?: SelectedChannel;
15
- channels?: Channel[];
16
- getPrimaryRoutePath?: GetPrimaryRoutePath;
17
- selectedChannelGroup?: Channel[] | undefined;
18
- });
19
- setGetPrimaryRoutePath: (getPrimaryRoutePath: GetPrimaryRoutePath) => GetPrimaryRoutePath;
20
- getSelectedChannel: () => SelectedChannel;
21
- setSelectedChannel: (selectedChannel: SelectedChannel) => void;
22
- setRecommendedChannel: (recommendedChannel: SelectedChannel) => void;
23
- getRecommendedChannel: () => SelectedChannel;
24
- setChannels: (channels: Channel[]) => void;
25
- setChannelGroup: (channels: Channel[]) => void;
26
- getChannels: () => Channel[];
27
- getChannelHeaders: () => {
28
- currency: string;
29
- channelid: number;
30
- culture: string;
31
- country: string;
32
- name: string;
33
- } | {
34
- currency?: undefined;
35
- channelid?: undefined;
36
- culture?: undefined;
37
- country?: undefined;
38
- name?: undefined;
39
- };
40
- getChannelBasename: () => string;
41
- private getPreservedRedirect;
42
- getRedirectUrl: ({ newChannel, preserveRedirect, url, routes }: {
43
- newChannel: SelectedChannel;
44
- preserveRedirect?: boolean;
45
- url: string;
46
- routes?: Routes;
47
- }) => Promise<string>;
48
- updateChannel: ({ config, ...args }: {
49
- newChannel: SelectedChannel;
50
- config: BootOptions | RendererOptions;
51
- }) => void;
52
- private getPathWithoutBasename;
53
- }