@shopify/hydrogen 0.11.1 → 0.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/CHANGELOG.md +500 -3
  2. package/dist/esnext/client.d.ts +2 -0
  3. package/dist/esnext/client.js +2 -0
  4. package/dist/esnext/components/AddToCartButton/AddToCartButton.client.d.ts +3 -4
  5. package/dist/esnext/components/AddToCartButton/AddToCartButton.client.js +9 -22
  6. package/dist/esnext/components/AddToCartButton/index.d.ts +1 -1
  7. package/dist/esnext/components/BuyNowButton/BuyNowButton.client.d.ts +4 -5
  8. package/dist/esnext/components/BuyNowButton/index.d.ts +1 -1
  9. package/dist/esnext/components/BuyNowButton/index.js +1 -1
  10. package/dist/esnext/components/CartCheckoutButton/CartCheckoutButton.client.d.ts +2 -3
  11. package/dist/esnext/components/CartEstimatedCost/CartEstimatedCost.client.d.ts +3 -3
  12. package/dist/esnext/components/CartLineImage/CartLineImage.client.d.ts +5 -3
  13. package/dist/esnext/components/CartLinePrice/CartLinePrice.client.d.ts +5 -5
  14. package/dist/esnext/components/CartLinePrice/CartLinePrice.client.js +1 -1
  15. package/dist/esnext/components/CartLineProductTitle/CartLineProductTitle.client.d.ts +1 -3
  16. package/dist/esnext/components/CartLineProvider/context.d.ts +10 -16
  17. package/dist/esnext/components/CartLineQuantity/CartLineQuantity.client.d.ts +1 -3
  18. package/dist/esnext/components/CartProvider/CartProvider.client.d.ts +1 -1
  19. package/dist/esnext/components/CartProvider/CartProvider.client.js +8 -2
  20. package/dist/esnext/components/CartProvider/cart-queries.d.ts +9 -0
  21. package/dist/esnext/components/CartProvider/cart-queries.js +876 -0
  22. package/dist/esnext/components/CartProvider/graphql/CartAttributesUpdateMutation.d.ts +72 -5
  23. package/dist/esnext/components/CartProvider/graphql/CartBuyerIdentityUpdateMutation.d.ts +72 -5
  24. package/dist/esnext/components/CartProvider/graphql/CartCreateMutation.d.ts +72 -5
  25. package/dist/esnext/components/CartProvider/graphql/CartDiscountCodesUpdateMutation.d.ts +73 -6
  26. package/dist/esnext/components/CartProvider/graphql/CartFragment.d.ts +13 -11
  27. package/dist/esnext/components/CartProvider/graphql/CartLineAddMutation.d.ts +72 -5
  28. package/dist/esnext/components/CartProvider/graphql/CartLineRemoveMutation.d.ts +72 -5
  29. package/dist/esnext/components/CartProvider/graphql/CartLineUpdateMutation.d.ts +72 -5
  30. package/dist/esnext/components/CartProvider/graphql/CartNoteUpdateMutation.d.ts +73 -6
  31. package/dist/esnext/components/CartProvider/graphql/CartQuery.d.ts +72 -5
  32. package/dist/esnext/components/CartProvider/hooks.d.ts +1 -1
  33. package/dist/esnext/components/CartProvider/hooks.js +4 -1
  34. package/dist/esnext/components/CartProvider/types.d.ts +1 -1
  35. package/dist/esnext/components/CartShopPayButton/CartShopPayButton.client.d.ts +3 -2
  36. package/dist/esnext/components/ExternalVideo/ExternalVideo.d.ts +8 -13
  37. package/dist/esnext/components/ExternalVideo/ExternalVideo.js +7 -7
  38. package/dist/esnext/components/ExternalVideo/index.d.ts +1 -1
  39. package/dist/esnext/components/ExternalVideo/index.js +1 -1
  40. package/dist/esnext/components/Image/Image.d.ts +14 -16
  41. package/dist/esnext/components/Image/Image.js +17 -17
  42. package/dist/esnext/components/Image/index.d.ts +1 -1
  43. package/dist/esnext/components/Image/index.js +1 -1
  44. package/dist/esnext/components/Link/Link.client.d.ts +4 -5
  45. package/dist/esnext/components/Link/Link.client.js +5 -4
  46. package/dist/esnext/components/LocalizationProvider/LocalizationClientProvider.client.js +1 -3
  47. package/dist/esnext/components/LocalizationProvider/LocalizationContext.client.d.ts +0 -1
  48. package/dist/esnext/components/LocalizationProvider/LocalizationProvider.server.d.ts +4 -5
  49. package/dist/esnext/components/LocalizationProvider/LocalizationProvider.server.js +15 -4
  50. package/dist/esnext/components/LocalizationProvider/LocalizationQuery.d.ts +5 -8
  51. package/dist/esnext/components/LocalizationProvider/index.d.ts +0 -1
  52. package/dist/esnext/components/LocalizationProvider/index.js +0 -1
  53. package/dist/esnext/components/MediaFile/MediaFile.d.ts +10 -21
  54. package/dist/esnext/components/MediaFile/MediaFile.js +7 -5
  55. package/dist/esnext/components/MediaFile/index.d.ts +1 -1
  56. package/dist/esnext/components/MediaFile/index.js +1 -1
  57. package/dist/esnext/components/Metafield/Metafield.client.d.ts +2 -6
  58. package/dist/esnext/components/Metafield/Metafield.client.js +8 -8
  59. package/dist/esnext/components/Metafield/components/StarRating/StarRating.d.ts +1 -3
  60. package/dist/esnext/components/Metafield/index.d.ts +1 -2
  61. package/dist/esnext/components/Metafield/index.js +1 -1
  62. package/dist/esnext/components/Metafield/types.d.ts +1 -1
  63. package/dist/esnext/components/ModelViewer/ModelViewer.client.d.ts +58 -66
  64. package/dist/esnext/components/ModelViewer/ModelViewer.client.js +10 -7
  65. package/dist/esnext/components/ModelViewer/index.d.ts +1 -1
  66. package/dist/esnext/components/Money/Money.client.d.ts +8 -12
  67. package/dist/esnext/components/Money/Money.client.js +1 -4
  68. package/dist/esnext/components/Money/index.d.ts +1 -1
  69. package/dist/esnext/components/Money/index.js +1 -1
  70. package/dist/esnext/components/ProductDescription/ProductDescription.client.d.ts +7 -2
  71. package/dist/esnext/components/ProductDescription/ProductDescription.client.js +4 -3
  72. package/dist/esnext/components/ProductMetafield/ProductMetafield.client.js +3 -3
  73. package/dist/esnext/components/ProductPrice/ProductPrice.client.d.ts +5 -5
  74. package/dist/esnext/components/ProductPrice/ProductPrice.client.js +2 -2
  75. package/dist/esnext/components/ProductProvider/ProductProvider.client.d.ts +8 -8
  76. package/dist/esnext/components/ProductProvider/ProductProvider.client.js +2 -4
  77. package/dist/esnext/components/ProductProvider/context.d.ts +23 -14
  78. package/dist/esnext/components/ProductProvider/index.d.ts +1 -1
  79. package/dist/esnext/components/ProductProvider/index.js +1 -1
  80. package/dist/esnext/components/Seo/CollectionSeo.client.d.ts +3 -2
  81. package/dist/esnext/components/Seo/CollectionSeo.client.js +3 -3
  82. package/dist/esnext/components/Seo/DefaultPageSeo.client.d.ts +3 -2
  83. package/dist/esnext/components/Seo/DefaultPageSeo.client.js +2 -2
  84. package/dist/esnext/components/Seo/DescriptionSeo.client.d.ts +3 -3
  85. package/dist/esnext/components/Seo/DescriptionSeo.client.js +1 -1
  86. package/dist/esnext/components/Seo/HomePageSeo.client.d.ts +1 -1
  87. package/dist/esnext/components/Seo/ImageSeo.client.d.ts +3 -2
  88. package/dist/esnext/components/Seo/PageSeo.client.d.ts +3 -2
  89. package/dist/esnext/components/Seo/PageSeo.client.js +2 -2
  90. package/dist/esnext/components/Seo/ProductSeo.client.d.ts +5 -2
  91. package/dist/esnext/components/Seo/ProductSeo.client.js +10 -5
  92. package/dist/esnext/components/Seo/Seo.client.d.ts +11 -7
  93. package/dist/esnext/components/Seo/Seo.client.js +8 -14
  94. package/dist/esnext/components/Seo/TitleSeo.client.d.ts +3 -4
  95. package/dist/esnext/components/Seo/TwitterSeo.client.d.ts +1 -1
  96. package/dist/esnext/components/Seo/seo-types.d.ts +17 -0
  97. package/dist/esnext/components/{ExternalVideo/ExternalVideoFragment.js → Seo/seo-types.js} +0 -0
  98. package/dist/esnext/components/ShopPayButton/ShopPayButton.client.d.ts +2 -1
  99. package/dist/esnext/components/ShopPayButton/ShopPayButton.client.js +1 -9
  100. package/dist/esnext/components/ShopPayButton/index.d.ts +1 -1
  101. package/dist/esnext/components/UnitPrice/UnitPrice.client.d.ts +8 -13
  102. package/dist/esnext/components/UnitPrice/UnitPrice.client.js +9 -4
  103. package/dist/esnext/components/UnitPrice/index.d.ts +1 -1
  104. package/dist/esnext/components/UnitPrice/index.js +1 -1
  105. package/dist/esnext/components/Video/Video.d.ts +8 -16
  106. package/dist/esnext/components/Video/Video.js +11 -6
  107. package/dist/esnext/components/Video/index.d.ts +1 -2
  108. package/dist/esnext/components/Video/index.js +1 -1
  109. package/dist/esnext/components/index.d.ts +3 -16
  110. package/dist/esnext/components/index.js +2 -5
  111. package/dist/esnext/entry-client.js +27 -8
  112. package/dist/esnext/entry-server.d.ts +2 -1
  113. package/dist/esnext/entry-server.js +127 -160
  114. package/dist/esnext/foundation/Boomerang/Boomerang.client.d.ts +3 -1
  115. package/dist/esnext/foundation/Boomerang/Boomerang.client.js +17 -3
  116. package/dist/esnext/foundation/FileRoutes/FileRoutes.server.d.ts +22 -0
  117. package/dist/esnext/foundation/{Router/DefaultRoutes.js → FileRoutes/FileRoutes.server.js} +24 -23
  118. package/dist/esnext/foundation/Redirect/Redirect.client.d.ts +5 -0
  119. package/dist/esnext/foundation/Redirect/Redirect.client.js +14 -0
  120. package/dist/esnext/foundation/Route/Route.server.d.ts +12 -0
  121. package/dist/esnext/foundation/Route/Route.server.js +33 -0
  122. package/dist/esnext/foundation/Router/{Router.client.d.ts → BrowserRouter.client.d.ts} +3 -2
  123. package/dist/esnext/foundation/Router/{Router.client.js → BrowserRouter.client.js} +11 -7
  124. package/dist/esnext/foundation/Router/Router.server.d.ts +10 -0
  125. package/dist/esnext/foundation/Router/Router.server.js +8 -0
  126. package/dist/esnext/foundation/ServerRequestProvider/ServerRequestProvider.js +19 -24
  127. package/dist/esnext/foundation/ServerStateProvider/{ServerStateProvider.client.d.ts → ServerStateProvider.d.ts} +0 -0
  128. package/dist/esnext/foundation/ServerStateProvider/{ServerStateProvider.client.js → ServerStateProvider.js} +0 -0
  129. package/dist/esnext/foundation/ServerStateProvider/index.d.ts +2 -2
  130. package/dist/esnext/foundation/ServerStateProvider/index.js +1 -1
  131. package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.client.js +3 -0
  132. package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.server.js +3 -0
  133. package/dist/esnext/foundation/ShopifyProvider/index.d.ts +0 -1
  134. package/dist/esnext/foundation/ShopifyProvider/index.js +0 -1
  135. package/dist/esnext/foundation/index.d.ts +0 -2
  136. package/dist/esnext/foundation/index.js +0 -2
  137. package/dist/esnext/{hooks → foundation}/useNavigate/useNavigate.d.ts +6 -3
  138. package/dist/esnext/{hooks → foundation}/useNavigate/useNavigate.js +4 -1
  139. package/dist/esnext/foundation/useQuery/hooks.d.ts +5 -4
  140. package/dist/esnext/foundation/useQuery/hooks.js +13 -4
  141. package/dist/esnext/foundation/useRouteParams/RouteParamsProvider.client.d.ts +9 -0
  142. package/dist/esnext/foundation/useRouteParams/RouteParamsProvider.client.js +7 -0
  143. package/dist/esnext/foundation/useRouteParams/useRouteParams.d.ts +4 -0
  144. package/dist/esnext/foundation/useRouteParams/useRouteParams.js +9 -0
  145. package/dist/esnext/foundation/useUrl/useUrl.js +1 -1
  146. package/dist/esnext/framework/Hydration/Html.d.ts +2 -0
  147. package/dist/esnext/framework/Hydration/Html.js +71 -2
  148. package/dist/esnext/framework/Hydration/ServerComponentRequest.server.d.ts +13 -0
  149. package/dist/esnext/framework/Hydration/ServerComponentRequest.server.js +28 -7
  150. package/dist/esnext/framework/Hydration/ServerComponentResponse.server.d.ts +4 -1
  151. package/dist/esnext/framework/Hydration/ServerComponentResponse.server.js +5 -0
  152. package/dist/esnext/framework/Hydration/rsc.js +1 -1
  153. package/dist/esnext/framework/cache/in-memory.d.ts +1 -0
  154. package/dist/esnext/framework/cache/in-memory.js +15 -5
  155. package/dist/esnext/framework/middleware.js +25 -3
  156. package/dist/esnext/framework/plugin.js +6 -1
  157. package/dist/esnext/framework/plugins/vite-plugin-css-modules-rsc.d.ts +2 -0
  158. package/dist/esnext/framework/plugins/vite-plugin-css-modules-rsc.js +28 -0
  159. package/dist/esnext/framework/plugins/vite-plugin-hydrogen-config.js +61 -77
  160. package/dist/esnext/framework/plugins/vite-plugin-platform-entry.js +1 -1
  161. package/dist/esnext/hooks/index.d.ts +0 -1
  162. package/dist/esnext/hooks/index.js +0 -1
  163. package/dist/esnext/hooks/useCartLine/useCartLine.d.ts +10 -18
  164. package/dist/esnext/hooks/useCountry/useCountry.d.ts +4 -4
  165. package/dist/esnext/hooks/useMoney/hooks.d.ts +3 -3
  166. package/dist/esnext/hooks/useMoney/hooks.js +2 -2
  167. package/dist/esnext/hooks/useParsedMetafields/useParsedMetafields.d.ts +17 -2
  168. package/dist/esnext/hooks/useParsedMetafields/useParsedMetafields.js +7 -3
  169. package/dist/esnext/hooks/useProduct/useProduct.d.ts +36 -138
  170. package/dist/esnext/hooks/useProductOptions/helpers.d.ts +6 -4
  171. package/dist/esnext/hooks/useProductOptions/helpers.js +13 -6
  172. package/dist/esnext/hooks/useProductOptions/types.d.ts +15 -35
  173. package/dist/esnext/hooks/useProductOptions/useProductOptions.d.ts +6 -5
  174. package/dist/esnext/hooks/useProductOptions/useProductOptions.js +13 -3
  175. package/dist/esnext/hooks/useShopQuery/hooks.js +79 -21
  176. package/dist/esnext/index.d.ts +8 -2
  177. package/dist/esnext/index.js +8 -2
  178. package/dist/esnext/platforms/node.d.ts +2 -3
  179. package/dist/esnext/platforms/node.js +5 -3
  180. package/dist/esnext/platforms/worker-event.d.ts +0 -8
  181. package/dist/esnext/platforms/worker-event.js +2 -23
  182. package/dist/esnext/platforms/worker.d.ts +14 -0
  183. package/dist/esnext/platforms/worker.js +25 -0
  184. package/dist/esnext/{graphql/types/types.d.ts → storefront-api-types.d.ts} +2016 -1593
  185. package/dist/esnext/{graphql/types/types.js → storefront-api-types.js} +1025 -732
  186. package/dist/esnext/streaming.server.d.ts +9 -6
  187. package/dist/esnext/streaming.server.js +2 -27
  188. package/dist/esnext/types.d.ts +3 -18
  189. package/dist/esnext/utilities/apiRoutes.d.ts +19 -3
  190. package/dist/esnext/utilities/apiRoutes.js +27 -5
  191. package/dist/esnext/utilities/devtools.d.ts +11 -0
  192. package/dist/esnext/utilities/devtools.js +11 -0
  193. package/dist/esnext/utilities/fetch.d.ts +7 -1
  194. package/dist/esnext/utilities/fetch.js +9 -18
  195. package/dist/esnext/utilities/flattenConnection/flattenConnection.d.ts +3 -2
  196. package/dist/esnext/utilities/flattenConnection/flattenConnection.js +6 -2
  197. package/dist/esnext/utilities/graphql-tracker.d.ts +17 -0
  198. package/dist/esnext/utilities/graphql-tracker.js +119 -0
  199. package/dist/esnext/utilities/image_size.d.ts +5 -4
  200. package/dist/esnext/utilities/log/log-query-timeline.d.ts +1 -1
  201. package/dist/esnext/utilities/log/log-query-timeline.js +1 -2
  202. package/dist/esnext/utilities/log/log.d.ts +1 -0
  203. package/dist/esnext/utilities/log/utils.js +3 -0
  204. package/dist/esnext/utilities/parseMetafieldValue/parseMetafieldValue.d.ts +3 -2
  205. package/dist/esnext/utilities/video_parameters.js +0 -4
  206. package/dist/esnext/version.d.ts +1 -1
  207. package/dist/esnext/version.js +1 -1
  208. package/dist/node/entry-server.d.ts +2 -1
  209. package/dist/node/entry-server.js +129 -158
  210. package/dist/node/foundation/Redirect/Redirect.client.d.ts +5 -0
  211. package/dist/node/foundation/Redirect/Redirect.client.js +17 -0
  212. package/dist/node/foundation/Router/BrowserRouter.client.d.ts +13 -0
  213. package/dist/node/foundation/Router/BrowserRouter.client.js +77 -0
  214. package/dist/node/foundation/ServerRequestProvider/ServerRequestProvider.js +24 -25
  215. package/dist/node/foundation/ServerRequestProvider/index.js +5 -1
  216. package/dist/node/foundation/ServerStateProvider/{ServerStateProvider.client.d.ts → ServerStateProvider.d.ts} +0 -0
  217. package/dist/node/foundation/ServerStateProvider/{ServerStateProvider.client.js → ServerStateProvider.js} +5 -1
  218. package/dist/node/foundation/ServerStateProvider/index.d.ts +2 -2
  219. package/dist/node/foundation/ServerStateProvider/index.js +3 -3
  220. package/dist/node/foundation/ssr-interop.d.ts +29 -0
  221. package/dist/node/foundation/ssr-interop.js +39 -0
  222. package/dist/node/foundation/useNavigate/useNavigate.d.ts +13 -0
  223. package/dist/node/foundation/useNavigate/useNavigate.js +18 -0
  224. package/dist/node/foundation/useServerState/index.d.ts +1 -0
  225. package/dist/node/foundation/useServerState/index.js +5 -0
  226. package/dist/node/foundation/useServerState/use-server-state.d.ts +16 -0
  227. package/dist/node/foundation/useServerState/use-server-state.js +24 -0
  228. package/dist/node/framework/Hydration/Html.d.ts +2 -0
  229. package/dist/node/framework/Hydration/Html.js +73 -3
  230. package/dist/node/framework/Hydration/ServerComponentRequest.server.d.ts +13 -0
  231. package/dist/node/framework/Hydration/ServerComponentRequest.server.js +28 -7
  232. package/dist/node/framework/Hydration/ServerComponentResponse.server.d.ts +4 -1
  233. package/dist/node/framework/Hydration/ServerComponentResponse.server.js +8 -0
  234. package/dist/node/framework/Hydration/rsc.js +1 -1
  235. package/dist/node/framework/cache/in-memory.d.ts +1 -0
  236. package/dist/node/framework/cache/in-memory.js +15 -5
  237. package/dist/node/framework/middleware.js +30 -4
  238. package/dist/node/framework/plugin.js +11 -2
  239. package/dist/node/framework/plugins/vite-plugin-css-modules-rsc.d.ts +2 -0
  240. package/dist/node/framework/plugins/vite-plugin-css-modules-rsc.js +31 -0
  241. package/dist/node/framework/plugins/vite-plugin-hydrogen-config.js +61 -77
  242. package/dist/node/framework/plugins/vite-plugin-platform-entry.js +1 -1
  243. package/dist/node/{graphql/types/types.d.ts → storefront-api-types.d.ts} +2016 -1593
  244. package/dist/node/{graphql/types/types.js → storefront-api-types.js} +1026 -733
  245. package/dist/node/streaming.server.d.ts +9 -6
  246. package/dist/node/streaming.server.js +3 -29
  247. package/dist/node/types.d.ts +3 -18
  248. package/dist/node/utilities/apiRoutes.d.ts +19 -3
  249. package/dist/node/utilities/apiRoutes.js +29 -7
  250. package/dist/node/utilities/fetch.d.ts +10 -0
  251. package/dist/node/utilities/fetch.js +39 -0
  252. package/dist/node/utilities/log/log-query-timeline.d.ts +1 -1
  253. package/dist/node/utilities/log/log-query-timeline.js +1 -2
  254. package/dist/node/utilities/log/log.d.ts +1 -0
  255. package/dist/node/utilities/log/utils.js +3 -0
  256. package/dist/node/utilities/web-api-polyfill.js +5 -1
  257. package/dist/node/version.d.ts +1 -0
  258. package/dist/node/version.js +4 -0
  259. package/package.json +21 -21
  260. package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-plugin.js +43 -104
  261. package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.browser.development.server.js +1566 -848
  262. package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.browser.production.min.server.js +36 -421
  263. package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.node.development.server.js +1523 -864
  264. package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.node.production.min.server.js +35 -437
  265. package/vendor/react-server-dom-vite/cjs/react-server-dom-vite.development.js +507 -517
  266. package/vendor/react-server-dom-vite/cjs/react-server-dom-vite.production.min.js +10 -246
  267. package/vendor/react-server-dom-vite/esm/react-server-dom-vite-client-proxy.js +18 -25
  268. package/vendor/react-server-dom-vite/esm/react-server-dom-vite-plugin.js +47 -108
  269. package/vendor/react-server-dom-vite/esm/react-server-dom-vite-writer.browser.server.js +1033 -306
  270. package/vendor/react-server-dom-vite/esm/react-server-dom-vite-writer.node.server.js +965 -293
  271. package/vendor/react-server-dom-vite/esm/react-server-dom-vite.js +98 -108
  272. package/vendor/react-server-dom-vite/package.json +0 -2
  273. package/dist/esnext/components/ExternalVideo/ExternalVideoFragment.d.ts +0 -4
  274. package/dist/esnext/components/Image/ImageFragment.d.ts +0 -4
  275. package/dist/esnext/components/Image/ImageFragment.js +0 -1
  276. package/dist/esnext/components/MediaFile/MediaFileFragment.d.ts +0 -22
  277. package/dist/esnext/components/MediaFile/MediaFileFragment.js +0 -1
  278. package/dist/esnext/components/Metafield/MetafieldFragment.d.ts +0 -19
  279. package/dist/esnext/components/Metafield/MetafieldFragment.js +0 -1
  280. package/dist/esnext/components/ModelViewer/Model3DFragment.d.ts +0 -11
  281. package/dist/esnext/components/ModelViewer/Model3DFragment.js +0 -1
  282. package/dist/esnext/components/Money/MoneyFragment.d.ts +0 -4
  283. package/dist/esnext/components/Money/MoneyFragment.js +0 -1
  284. package/dist/esnext/components/ProductProvider/ProductProviderFragment.d.ts +0 -80
  285. package/dist/esnext/components/ProductProvider/ProductProviderFragment.js +0 -1
  286. package/dist/esnext/components/ProductProvider/types.d.ts +0 -19
  287. package/dist/esnext/components/ProductProvider/types.js +0 -1
  288. package/dist/esnext/components/RawHtml/RawHtml.d.ts +0 -19
  289. package/dist/esnext/components/RawHtml/RawHtml.js +0 -21
  290. package/dist/esnext/components/RawHtml/index.d.ts +0 -1
  291. package/dist/esnext/components/RawHtml/index.js +0 -1
  292. package/dist/esnext/components/Router/index.d.ts +0 -1
  293. package/dist/esnext/components/Router/index.js +0 -1
  294. package/dist/esnext/components/Seo/types.d.ts +0 -67
  295. package/dist/esnext/components/Seo/types.js +0 -1
  296. package/dist/esnext/components/UnitPrice/UnitPriceFragment.d.ts +0 -12
  297. package/dist/esnext/components/UnitPrice/UnitPriceFragment.js +0 -1
  298. package/dist/esnext/components/Video/VideoFragment.d.ts +0 -11
  299. package/dist/esnext/components/Video/VideoFragment.js +0 -1
  300. package/dist/esnext/foundation/Boomerang/BoomerangPageTemplate.client.d.ts +0 -3
  301. package/dist/esnext/foundation/Boomerang/BoomerangPageTemplate.client.js +0 -14
  302. package/dist/esnext/foundation/Router/DefaultRoutes.d.ts +0 -22
  303. package/dist/esnext/foundation/Router/index.d.ts +0 -1
  304. package/dist/esnext/foundation/Router/index.js +0 -1
  305. package/dist/esnext/graphql/graphql-constants.d.ts +0 -1751
  306. package/dist/esnext/graphql/graphql-constants.js +0 -3364
  307. package/dist/esnext/hooks/useAvailableCountries/index.d.ts +0 -1
  308. package/dist/esnext/hooks/useAvailableCountries/index.js +0 -1
  309. package/dist/esnext/hooks/useAvailableCountries/useAvailableCountries.d.ts +0 -11
  310. package/dist/esnext/hooks/useAvailableCountries/useAvailableCountries.js +0 -17
  311. package/dist/esnext/hooks/useNavigate/index.d.ts +0 -1
  312. package/dist/esnext/hooks/useNavigate/index.js +0 -1
  313. package/dist/esnext/hooks/useProductOptions/SellingPlanFragment.d.ts +0 -28
  314. package/dist/esnext/hooks/useProductOptions/SellingPlanFragment.js +0 -1
  315. package/dist/esnext/hooks/useProductOptions/SellingPlanGroupsFragment.d.ts +0 -20
  316. package/dist/esnext/hooks/useProductOptions/SellingPlanGroupsFragment.js +0 -1
  317. package/dist/esnext/hooks/useProductOptions/VariantFragment.d.ts +0 -64
  318. package/dist/esnext/hooks/useProductOptions/VariantFragment.js +0 -1
@@ -1,1751 +0,0 @@
1
- /**
2
- *```
3
- *
4
- * mutation CartAttributesUpdate($attributes: [AttributeInput!]!, $cartId: ID!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {
5
- * cartAttributesUpdate(attributes: $attributes, cartId: $cartId) {
6
- * cart {
7
- * ...CartFragment
8
- * }
9
- * }
10
- * }
11
- *
12
- * fragment CartFragment on Cart {
13
- * id
14
- * checkoutUrl
15
- * buyerIdentity {
16
- * countryCode
17
- * customer {
18
- * id
19
- * email
20
- * firstName
21
- * lastName
22
- * displayName
23
- * }
24
- * email
25
- * phone
26
- * }
27
- * lines(first: $numCartLines) {
28
- * edges {
29
- * node {
30
- * id
31
- * quantity
32
- * attributes {
33
- * key
34
- * value
35
- * }
36
- * merchandise {
37
- * ... on ProductVariant {
38
- * id
39
- * availableForSale
40
- * compareAtPriceV2 {
41
- * ...MoneyFragment
42
- * }
43
- * priceV2 {
44
- * ...MoneyFragment
45
- * }
46
- * requiresShipping
47
- * title
48
- * image {
49
- * ...ImageFragment
50
- * }
51
- * product {
52
- * handle
53
- * title
54
- * }
55
- * selectedOptions {
56
- * name
57
- * value
58
- * }
59
- * }
60
- * }
61
- * }
62
- * }
63
- * }
64
- * estimatedCost {
65
- * subtotalAmount {
66
- * ...MoneyFragment
67
- * }
68
- * totalAmount {
69
- * ...MoneyFragment
70
- * }
71
- * totalDutyAmount {
72
- * ...MoneyFragment
73
- * }
74
- * totalTaxAmount {
75
- * ...MoneyFragment
76
- * }
77
- * }
78
- * note
79
- * attributes {
80
- * key
81
- * value
82
- * }
83
- * discountCodes {
84
- * code
85
- * }
86
- * }
87
- *
88
- * fragment MoneyFragment on MoneyV2 {
89
- * currencyCode
90
- * amount
91
- * }
92
- * fragment ImageFragment on Image {
93
- * id
94
- * url
95
- * altText
96
- * width
97
- * height
98
- * }
99
- *
100
- *```
101
- */
102
- export declare const CartAttributesUpdate = "\nmutation CartAttributesUpdate($attributes: [AttributeInput!]!, $cartId: ID!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {\n cartAttributesUpdate(attributes: $attributes, cartId: $cartId) {\n cart {\n ...CartFragment\n }\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
103
- /**
104
- *```
105
- *
106
- * mutation CartBuyerIdentityUpdate(
107
- * $cartId: ID!
108
- * $buyerIdentity: CartBuyerIdentityInput!
109
- * $numCartLines: Int = 250
110
- * $country: CountryCode = ZZ
111
- * ) @inContext(country: $country) {
112
- * cartBuyerIdentityUpdate(cartId: $cartId, buyerIdentity: $buyerIdentity) {
113
- * cart {
114
- * ...CartFragment
115
- * }
116
- * }
117
- * }
118
- *
119
- * fragment CartFragment on Cart {
120
- * id
121
- * checkoutUrl
122
- * buyerIdentity {
123
- * countryCode
124
- * customer {
125
- * id
126
- * email
127
- * firstName
128
- * lastName
129
- * displayName
130
- * }
131
- * email
132
- * phone
133
- * }
134
- * lines(first: $numCartLines) {
135
- * edges {
136
- * node {
137
- * id
138
- * quantity
139
- * attributes {
140
- * key
141
- * value
142
- * }
143
- * merchandise {
144
- * ... on ProductVariant {
145
- * id
146
- * availableForSale
147
- * compareAtPriceV2 {
148
- * ...MoneyFragment
149
- * }
150
- * priceV2 {
151
- * ...MoneyFragment
152
- * }
153
- * requiresShipping
154
- * title
155
- * image {
156
- * ...ImageFragment
157
- * }
158
- * product {
159
- * handle
160
- * title
161
- * }
162
- * selectedOptions {
163
- * name
164
- * value
165
- * }
166
- * }
167
- * }
168
- * }
169
- * }
170
- * }
171
- * estimatedCost {
172
- * subtotalAmount {
173
- * ...MoneyFragment
174
- * }
175
- * totalAmount {
176
- * ...MoneyFragment
177
- * }
178
- * totalDutyAmount {
179
- * ...MoneyFragment
180
- * }
181
- * totalTaxAmount {
182
- * ...MoneyFragment
183
- * }
184
- * }
185
- * note
186
- * attributes {
187
- * key
188
- * value
189
- * }
190
- * discountCodes {
191
- * code
192
- * }
193
- * }
194
- *
195
- * fragment MoneyFragment on MoneyV2 {
196
- * currencyCode
197
- * amount
198
- * }
199
- * fragment ImageFragment on Image {
200
- * id
201
- * url
202
- * altText
203
- * width
204
- * height
205
- * }
206
- *
207
- *```
208
- */
209
- export declare const CartBuyerIdentityUpdate = "\nmutation CartBuyerIdentityUpdate(\n $cartId: ID!\n $buyerIdentity: CartBuyerIdentityInput!\n $numCartLines: Int = 250\n $country: CountryCode = ZZ\n) @inContext(country: $country) {\n cartBuyerIdentityUpdate(cartId: $cartId, buyerIdentity: $buyerIdentity) {\n cart {\n ...CartFragment\n }\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
210
- /**
211
- *```
212
- *
213
- * mutation CartCreate($input: CartInput!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {
214
- * cartCreate(input: $input) {
215
- * cart {
216
- * ...CartFragment
217
- * }
218
- * }
219
- * }
220
- *
221
- * fragment CartFragment on Cart {
222
- * id
223
- * checkoutUrl
224
- * buyerIdentity {
225
- * countryCode
226
- * customer {
227
- * id
228
- * email
229
- * firstName
230
- * lastName
231
- * displayName
232
- * }
233
- * email
234
- * phone
235
- * }
236
- * lines(first: $numCartLines) {
237
- * edges {
238
- * node {
239
- * id
240
- * quantity
241
- * attributes {
242
- * key
243
- * value
244
- * }
245
- * merchandise {
246
- * ... on ProductVariant {
247
- * id
248
- * availableForSale
249
- * compareAtPriceV2 {
250
- * ...MoneyFragment
251
- * }
252
- * priceV2 {
253
- * ...MoneyFragment
254
- * }
255
- * requiresShipping
256
- * title
257
- * image {
258
- * ...ImageFragment
259
- * }
260
- * product {
261
- * handle
262
- * title
263
- * }
264
- * selectedOptions {
265
- * name
266
- * value
267
- * }
268
- * }
269
- * }
270
- * }
271
- * }
272
- * }
273
- * estimatedCost {
274
- * subtotalAmount {
275
- * ...MoneyFragment
276
- * }
277
- * totalAmount {
278
- * ...MoneyFragment
279
- * }
280
- * totalDutyAmount {
281
- * ...MoneyFragment
282
- * }
283
- * totalTaxAmount {
284
- * ...MoneyFragment
285
- * }
286
- * }
287
- * note
288
- * attributes {
289
- * key
290
- * value
291
- * }
292
- * discountCodes {
293
- * code
294
- * }
295
- * }
296
- *
297
- * fragment MoneyFragment on MoneyV2 {
298
- * currencyCode
299
- * amount
300
- * }
301
- * fragment ImageFragment on Image {
302
- * id
303
- * url
304
- * altText
305
- * width
306
- * height
307
- * }
308
- *
309
- *```
310
- */
311
- export declare const CartCreate = "\nmutation CartCreate($input: CartInput!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {\n cartCreate(input: $input) {\n cart {\n ...CartFragment\n }\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
312
- /**
313
- *```
314
- *
315
- * mutation CartDiscountCodesUpdate($cartId: ID!, $discountCodes: [String!], $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {
316
- * cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) {
317
- * cart {
318
- * ...CartFragment
319
- * }
320
- * }
321
- * }
322
- *
323
- * fragment CartFragment on Cart {
324
- * id
325
- * checkoutUrl
326
- * buyerIdentity {
327
- * countryCode
328
- * customer {
329
- * id
330
- * email
331
- * firstName
332
- * lastName
333
- * displayName
334
- * }
335
- * email
336
- * phone
337
- * }
338
- * lines(first: $numCartLines) {
339
- * edges {
340
- * node {
341
- * id
342
- * quantity
343
- * attributes {
344
- * key
345
- * value
346
- * }
347
- * merchandise {
348
- * ... on ProductVariant {
349
- * id
350
- * availableForSale
351
- * compareAtPriceV2 {
352
- * ...MoneyFragment
353
- * }
354
- * priceV2 {
355
- * ...MoneyFragment
356
- * }
357
- * requiresShipping
358
- * title
359
- * image {
360
- * ...ImageFragment
361
- * }
362
- * product {
363
- * handle
364
- * title
365
- * }
366
- * selectedOptions {
367
- * name
368
- * value
369
- * }
370
- * }
371
- * }
372
- * }
373
- * }
374
- * }
375
- * estimatedCost {
376
- * subtotalAmount {
377
- * ...MoneyFragment
378
- * }
379
- * totalAmount {
380
- * ...MoneyFragment
381
- * }
382
- * totalDutyAmount {
383
- * ...MoneyFragment
384
- * }
385
- * totalTaxAmount {
386
- * ...MoneyFragment
387
- * }
388
- * }
389
- * note
390
- * attributes {
391
- * key
392
- * value
393
- * }
394
- * discountCodes {
395
- * code
396
- * }
397
- * }
398
- *
399
- * fragment MoneyFragment on MoneyV2 {
400
- * currencyCode
401
- * amount
402
- * }
403
- * fragment ImageFragment on Image {
404
- * id
405
- * url
406
- * altText
407
- * width
408
- * height
409
- * }
410
- *
411
- *```
412
- */
413
- export declare const CartDiscountCodesUpdate = "\nmutation CartDiscountCodesUpdate($cartId: ID!, $discountCodes: [String!], $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {\n cartDiscountCodesUpdate(cartId: $cartId, discountCodes: $discountCodes) {\n cart {\n ...CartFragment\n }\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
414
- /**
415
- *```
416
- * fragment CartFragment on Cart {
417
- * id
418
- * checkoutUrl
419
- * buyerIdentity {
420
- * countryCode
421
- * customer {
422
- * id
423
- * email
424
- * firstName
425
- * lastName
426
- * displayName
427
- * }
428
- * email
429
- * phone
430
- * }
431
- * lines(first: $numCartLines) {
432
- * edges {
433
- * node {
434
- * id
435
- * quantity
436
- * attributes {
437
- * key
438
- * value
439
- * }
440
- * merchandise {
441
- * ... on ProductVariant {
442
- * id
443
- * availableForSale
444
- * compareAtPriceV2 {
445
- * ...MoneyFragment
446
- * }
447
- * priceV2 {
448
- * ...MoneyFragment
449
- * }
450
- * requiresShipping
451
- * title
452
- * image {
453
- * ...ImageFragment
454
- * }
455
- * product {
456
- * handle
457
- * title
458
- * }
459
- * selectedOptions {
460
- * name
461
- * value
462
- * }
463
- * }
464
- * }
465
- * }
466
- * }
467
- * }
468
- * estimatedCost {
469
- * subtotalAmount {
470
- * ...MoneyFragment
471
- * }
472
- * totalAmount {
473
- * ...MoneyFragment
474
- * }
475
- * totalDutyAmount {
476
- * ...MoneyFragment
477
- * }
478
- * totalTaxAmount {
479
- * ...MoneyFragment
480
- * }
481
- * }
482
- * note
483
- * attributes {
484
- * key
485
- * value
486
- * }
487
- * discountCodes {
488
- * code
489
- * }
490
- * }
491
- *
492
- * fragment MoneyFragment on MoneyV2 {
493
- * currencyCode
494
- * amount
495
- * }
496
- * fragment ImageFragment on Image {
497
- * id
498
- * url
499
- * altText
500
- * width
501
- * height
502
- * }
503
- *
504
- *```
505
- */
506
- export declare const CartFragment = "fragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
507
- /**
508
- *```
509
- *
510
- * mutation CartLineAdd($cartId: ID!, $lines: [CartLineInput!]!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {
511
- * cartLinesAdd(cartId: $cartId, lines: $lines) {
512
- * cart {
513
- * ...CartFragment
514
- * }
515
- * }
516
- * }
517
- *
518
- * fragment CartFragment on Cart {
519
- * id
520
- * checkoutUrl
521
- * buyerIdentity {
522
- * countryCode
523
- * customer {
524
- * id
525
- * email
526
- * firstName
527
- * lastName
528
- * displayName
529
- * }
530
- * email
531
- * phone
532
- * }
533
- * lines(first: $numCartLines) {
534
- * edges {
535
- * node {
536
- * id
537
- * quantity
538
- * attributes {
539
- * key
540
- * value
541
- * }
542
- * merchandise {
543
- * ... on ProductVariant {
544
- * id
545
- * availableForSale
546
- * compareAtPriceV2 {
547
- * ...MoneyFragment
548
- * }
549
- * priceV2 {
550
- * ...MoneyFragment
551
- * }
552
- * requiresShipping
553
- * title
554
- * image {
555
- * ...ImageFragment
556
- * }
557
- * product {
558
- * handle
559
- * title
560
- * }
561
- * selectedOptions {
562
- * name
563
- * value
564
- * }
565
- * }
566
- * }
567
- * }
568
- * }
569
- * }
570
- * estimatedCost {
571
- * subtotalAmount {
572
- * ...MoneyFragment
573
- * }
574
- * totalAmount {
575
- * ...MoneyFragment
576
- * }
577
- * totalDutyAmount {
578
- * ...MoneyFragment
579
- * }
580
- * totalTaxAmount {
581
- * ...MoneyFragment
582
- * }
583
- * }
584
- * note
585
- * attributes {
586
- * key
587
- * value
588
- * }
589
- * discountCodes {
590
- * code
591
- * }
592
- * }
593
- *
594
- * fragment MoneyFragment on MoneyV2 {
595
- * currencyCode
596
- * amount
597
- * }
598
- * fragment ImageFragment on Image {
599
- * id
600
- * url
601
- * altText
602
- * width
603
- * height
604
- * }
605
- *
606
- *```
607
- */
608
- export declare const CartLineAdd = "\nmutation CartLineAdd($cartId: ID!, $lines: [CartLineInput!]!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {\n cartLinesAdd(cartId: $cartId, lines: $lines) {\n cart {\n ...CartFragment\n }\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
609
- /**
610
- *```
611
- *
612
- * mutation CartLineRemove($cartId: ID!, $lines: [ID!]!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {
613
- * cartLinesRemove(cartId: $cartId, lineIds: $lines) {
614
- * cart {
615
- * ...CartFragment
616
- * }
617
- * }
618
- * }
619
- *
620
- * fragment CartFragment on Cart {
621
- * id
622
- * checkoutUrl
623
- * buyerIdentity {
624
- * countryCode
625
- * customer {
626
- * id
627
- * email
628
- * firstName
629
- * lastName
630
- * displayName
631
- * }
632
- * email
633
- * phone
634
- * }
635
- * lines(first: $numCartLines) {
636
- * edges {
637
- * node {
638
- * id
639
- * quantity
640
- * attributes {
641
- * key
642
- * value
643
- * }
644
- * merchandise {
645
- * ... on ProductVariant {
646
- * id
647
- * availableForSale
648
- * compareAtPriceV2 {
649
- * ...MoneyFragment
650
- * }
651
- * priceV2 {
652
- * ...MoneyFragment
653
- * }
654
- * requiresShipping
655
- * title
656
- * image {
657
- * ...ImageFragment
658
- * }
659
- * product {
660
- * handle
661
- * title
662
- * }
663
- * selectedOptions {
664
- * name
665
- * value
666
- * }
667
- * }
668
- * }
669
- * }
670
- * }
671
- * }
672
- * estimatedCost {
673
- * subtotalAmount {
674
- * ...MoneyFragment
675
- * }
676
- * totalAmount {
677
- * ...MoneyFragment
678
- * }
679
- * totalDutyAmount {
680
- * ...MoneyFragment
681
- * }
682
- * totalTaxAmount {
683
- * ...MoneyFragment
684
- * }
685
- * }
686
- * note
687
- * attributes {
688
- * key
689
- * value
690
- * }
691
- * discountCodes {
692
- * code
693
- * }
694
- * }
695
- *
696
- * fragment MoneyFragment on MoneyV2 {
697
- * currencyCode
698
- * amount
699
- * }
700
- * fragment ImageFragment on Image {
701
- * id
702
- * url
703
- * altText
704
- * width
705
- * height
706
- * }
707
- *
708
- *```
709
- */
710
- export declare const CartLineRemove = "\nmutation CartLineRemove($cartId: ID!, $lines: [ID!]!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {\n cartLinesRemove(cartId: $cartId, lineIds: $lines) {\n cart {\n ...CartFragment\n }\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
711
- /**
712
- *```
713
- *
714
- * mutation CartLineUpdate($cartId: ID!, $lines: [CartLineUpdateInput!]!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {
715
- * cartLinesUpdate(cartId: $cartId, lines: $lines) {
716
- * cart {
717
- * ...CartFragment
718
- * }
719
- * }
720
- * }
721
- *
722
- * fragment CartFragment on Cart {
723
- * id
724
- * checkoutUrl
725
- * buyerIdentity {
726
- * countryCode
727
- * customer {
728
- * id
729
- * email
730
- * firstName
731
- * lastName
732
- * displayName
733
- * }
734
- * email
735
- * phone
736
- * }
737
- * lines(first: $numCartLines) {
738
- * edges {
739
- * node {
740
- * id
741
- * quantity
742
- * attributes {
743
- * key
744
- * value
745
- * }
746
- * merchandise {
747
- * ... on ProductVariant {
748
- * id
749
- * availableForSale
750
- * compareAtPriceV2 {
751
- * ...MoneyFragment
752
- * }
753
- * priceV2 {
754
- * ...MoneyFragment
755
- * }
756
- * requiresShipping
757
- * title
758
- * image {
759
- * ...ImageFragment
760
- * }
761
- * product {
762
- * handle
763
- * title
764
- * }
765
- * selectedOptions {
766
- * name
767
- * value
768
- * }
769
- * }
770
- * }
771
- * }
772
- * }
773
- * }
774
- * estimatedCost {
775
- * subtotalAmount {
776
- * ...MoneyFragment
777
- * }
778
- * totalAmount {
779
- * ...MoneyFragment
780
- * }
781
- * totalDutyAmount {
782
- * ...MoneyFragment
783
- * }
784
- * totalTaxAmount {
785
- * ...MoneyFragment
786
- * }
787
- * }
788
- * note
789
- * attributes {
790
- * key
791
- * value
792
- * }
793
- * discountCodes {
794
- * code
795
- * }
796
- * }
797
- *
798
- * fragment MoneyFragment on MoneyV2 {
799
- * currencyCode
800
- * amount
801
- * }
802
- * fragment ImageFragment on Image {
803
- * id
804
- * url
805
- * altText
806
- * width
807
- * height
808
- * }
809
- *
810
- *```
811
- */
812
- export declare const CartLineUpdate = "\nmutation CartLineUpdate($cartId: ID!, $lines: [CartLineUpdateInput!]!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {\n cartLinesUpdate(cartId: $cartId, lines: $lines) {\n cart {\n ...CartFragment\n }\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
813
- /**
814
- *```
815
- *
816
- * mutation CartNoteUpdate($cartId: ID!, $note: String, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {
817
- * cartNoteUpdate(cartId: $cartId, note: $note) {
818
- * cart {
819
- * ...CartFragment
820
- * }
821
- * }
822
- * }
823
- *
824
- * fragment CartFragment on Cart {
825
- * id
826
- * checkoutUrl
827
- * buyerIdentity {
828
- * countryCode
829
- * customer {
830
- * id
831
- * email
832
- * firstName
833
- * lastName
834
- * displayName
835
- * }
836
- * email
837
- * phone
838
- * }
839
- * lines(first: $numCartLines) {
840
- * edges {
841
- * node {
842
- * id
843
- * quantity
844
- * attributes {
845
- * key
846
- * value
847
- * }
848
- * merchandise {
849
- * ... on ProductVariant {
850
- * id
851
- * availableForSale
852
- * compareAtPriceV2 {
853
- * ...MoneyFragment
854
- * }
855
- * priceV2 {
856
- * ...MoneyFragment
857
- * }
858
- * requiresShipping
859
- * title
860
- * image {
861
- * ...ImageFragment
862
- * }
863
- * product {
864
- * handle
865
- * title
866
- * }
867
- * selectedOptions {
868
- * name
869
- * value
870
- * }
871
- * }
872
- * }
873
- * }
874
- * }
875
- * }
876
- * estimatedCost {
877
- * subtotalAmount {
878
- * ...MoneyFragment
879
- * }
880
- * totalAmount {
881
- * ...MoneyFragment
882
- * }
883
- * totalDutyAmount {
884
- * ...MoneyFragment
885
- * }
886
- * totalTaxAmount {
887
- * ...MoneyFragment
888
- * }
889
- * }
890
- * note
891
- * attributes {
892
- * key
893
- * value
894
- * }
895
- * discountCodes {
896
- * code
897
- * }
898
- * }
899
- *
900
- * fragment MoneyFragment on MoneyV2 {
901
- * currencyCode
902
- * amount
903
- * }
904
- * fragment ImageFragment on Image {
905
- * id
906
- * url
907
- * altText
908
- * width
909
- * height
910
- * }
911
- *
912
- *```
913
- */
914
- export declare const CartNoteUpdate = "\nmutation CartNoteUpdate($cartId: ID!, $note: String, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {\n cartNoteUpdate(cartId: $cartId, note: $note) {\n cart {\n ...CartFragment\n }\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
915
- /**
916
- *```
917
- *
918
- * query CartQuery($id: ID!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {
919
- * cart(id: $id) {
920
- * ...CartFragment
921
- * }
922
- * }
923
- *
924
- * fragment CartFragment on Cart {
925
- * id
926
- * checkoutUrl
927
- * buyerIdentity {
928
- * countryCode
929
- * customer {
930
- * id
931
- * email
932
- * firstName
933
- * lastName
934
- * displayName
935
- * }
936
- * email
937
- * phone
938
- * }
939
- * lines(first: $numCartLines) {
940
- * edges {
941
- * node {
942
- * id
943
- * quantity
944
- * attributes {
945
- * key
946
- * value
947
- * }
948
- * merchandise {
949
- * ... on ProductVariant {
950
- * id
951
- * availableForSale
952
- * compareAtPriceV2 {
953
- * ...MoneyFragment
954
- * }
955
- * priceV2 {
956
- * ...MoneyFragment
957
- * }
958
- * requiresShipping
959
- * title
960
- * image {
961
- * ...ImageFragment
962
- * }
963
- * product {
964
- * handle
965
- * title
966
- * }
967
- * selectedOptions {
968
- * name
969
- * value
970
- * }
971
- * }
972
- * }
973
- * }
974
- * }
975
- * }
976
- * estimatedCost {
977
- * subtotalAmount {
978
- * ...MoneyFragment
979
- * }
980
- * totalAmount {
981
- * ...MoneyFragment
982
- * }
983
- * totalDutyAmount {
984
- * ...MoneyFragment
985
- * }
986
- * totalTaxAmount {
987
- * ...MoneyFragment
988
- * }
989
- * }
990
- * note
991
- * attributes {
992
- * key
993
- * value
994
- * }
995
- * discountCodes {
996
- * code
997
- * }
998
- * }
999
- *
1000
- * fragment MoneyFragment on MoneyV2 {
1001
- * currencyCode
1002
- * amount
1003
- * }
1004
- * fragment ImageFragment on Image {
1005
- * id
1006
- * url
1007
- * altText
1008
- * width
1009
- * height
1010
- * }
1011
- *
1012
- *```
1013
- */
1014
- export declare const CartQuery = "\nquery CartQuery($id: ID!, $numCartLines: Int = 250, $country: CountryCode = ZZ) @inContext(country: $country) {\n cart(id: $id) {\n ...CartFragment\n }\n}\n\nfragment CartFragment on Cart {\n id\n checkoutUrl\n buyerIdentity {\n countryCode\n customer {\n id\n email\n firstName\n lastName\n displayName\n }\n email\n phone\n }\n lines(first: $numCartLines) {\n edges {\n node {\n id\n quantity\n attributes {\n key\n value\n }\n merchandise {\n ... on ProductVariant {\n id\n availableForSale\n compareAtPriceV2 {\n ...MoneyFragment\n }\n priceV2 {\n ...MoneyFragment\n }\n requiresShipping\n title\n image {\n ...ImageFragment\n }\n product {\n handle\n title\n }\n selectedOptions {\n name\n value\n }\n }\n }\n }\n }\n }\n estimatedCost {\n subtotalAmount {\n ...MoneyFragment\n }\n totalAmount {\n ...MoneyFragment\n }\n totalDutyAmount {\n ...MoneyFragment\n }\n totalTaxAmount {\n ...MoneyFragment\n }\n }\n note\n attributes {\n key\n value\n }\n discountCodes {\n code\n }\n}\n\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
1015
- /**
1016
- *```
1017
- * fragment ExternalVideoFragment on ExternalVideo {
1018
- * id
1019
- * embeddedUrl
1020
- * host
1021
- * }
1022
- *
1023
-
1024
- *```
1025
- */
1026
- export declare const ExternalVideoFragment = "fragment ExternalVideoFragment on ExternalVideo {\n id\n embeddedUrl\n host\n}\n\n";
1027
- /**
1028
- *```
1029
- * fragment ImageFragment on Image {
1030
- * id
1031
- * url
1032
- * altText
1033
- * width
1034
- * height
1035
- * }
1036
- *
1037
-
1038
- *```
1039
- */
1040
- export declare const ImageFragment = "fragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n\n";
1041
- /**
1042
- *```
1043
- * query Localization {
1044
- * localization {
1045
- * country {
1046
- * isoCode
1047
- * name
1048
- * currency {
1049
- * isoCode
1050
- * }
1051
- * }
1052
- * availableCountries {
1053
- * isoCode
1054
- * name
1055
- * currency {
1056
- * isoCode
1057
- * }
1058
- * }
1059
- * }
1060
- * }
1061
- *
1062
-
1063
- *```
1064
- */
1065
- export declare const Localization = "query Localization {\n localization {\n country {\n isoCode\n name\n currency {\n isoCode\n }\n }\n availableCountries {\n isoCode\n name\n currency {\n isoCode\n }\n }\n }\n}\n\n";
1066
- /**
1067
- *```
1068
- *
1069
- * fragment MediaFileFragment on Media {
1070
- * ... on MediaImage {
1071
- * mediaContentType
1072
- * image {
1073
- * ...ImageFragment
1074
- * }
1075
- * }
1076
- * ... on Video {
1077
- * mediaContentType
1078
- * ...VideoFragment
1079
- * }
1080
- * ... on ExternalVideo {
1081
- * mediaContentType
1082
- * ...ExternalVideoFragment
1083
- * }
1084
- * ... on Model3d {
1085
- * mediaContentType
1086
- * ...Model3DFragment
1087
- * }
1088
- * }
1089
- *
1090
- * fragment ImageFragment on Image {
1091
- * id
1092
- * url
1093
- * altText
1094
- * width
1095
- * height
1096
- * }
1097
- *
1098
- * fragment VideoFragment on Video {
1099
- * id
1100
- * previewImage {
1101
- * url
1102
- * }
1103
- * sources {
1104
- * mimeType
1105
- * url
1106
- * }
1107
- * }
1108
- *
1109
- * fragment ExternalVideoFragment on ExternalVideo {
1110
- * id
1111
- * embeddedUrl
1112
- * host
1113
- * }
1114
- *
1115
- * fragment Model3DFragment on Model3d {
1116
- * id
1117
- * alt
1118
- * mediaContentType
1119
- * previewImage {
1120
- * url
1121
- * }
1122
- * sources {
1123
- * url
1124
- * }
1125
- * }
1126
- *
1127
- *```
1128
- */
1129
- export declare const MediaFileFragment = "\nfragment MediaFileFragment on Media {\n ... on MediaImage {\n mediaContentType\n image {\n ...ImageFragment\n }\n }\n ... on Video {\n mediaContentType\n ...VideoFragment\n }\n ... on ExternalVideo {\n mediaContentType\n ...ExternalVideoFragment\n }\n ... on Model3d {\n mediaContentType\n ...Model3DFragment\n }\n}\n\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n\nfragment VideoFragment on Video {\n id\n previewImage {\n url\n }\n sources {\n mimeType\n url\n }\n}\n\nfragment ExternalVideoFragment on ExternalVideo {\n id\n embeddedUrl\n host\n}\n\nfragment Model3DFragment on Model3d {\n id\n alt\n mediaContentType\n previewImage {\n url\n }\n sources {\n url\n }\n}\n";
1130
- /**
1131
- *```
1132
- *
1133
- * fragment MetafieldFragment on Metafield {
1134
- * id
1135
- * type
1136
- * namespace
1137
- * key
1138
- * value
1139
- * createdAt
1140
- * updatedAt
1141
- * description
1142
- * reference @include(if: $includeReferenceMetafieldDetails) {
1143
- * __typename
1144
- * ... on MediaImage {
1145
- * id
1146
- * mediaContentType
1147
- * image {
1148
- * ...ImageFragment
1149
- * }
1150
- * }
1151
- * }
1152
- * }
1153
- * fragment ImageFragment on Image {
1154
- * id
1155
- * url
1156
- * altText
1157
- * width
1158
- * height
1159
- * }
1160
- *
1161
- *```
1162
- */
1163
- export declare const MetafieldFragment = "\nfragment MetafieldFragment on Metafield {\n id\n type\n namespace\n key\n value\n createdAt\n updatedAt\n description\n reference @include(if: $includeReferenceMetafieldDetails) {\n __typename\n ... on MediaImage {\n id\n mediaContentType\n image {\n ...ImageFragment\n }\n }\n }\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n";
1164
- /**
1165
- *```
1166
- * fragment Model3DFragment on Model3d {
1167
- * id
1168
- * alt
1169
- * mediaContentType
1170
- * previewImage {
1171
- * url
1172
- * }
1173
- * sources {
1174
- * url
1175
- * }
1176
- * }
1177
- *
1178
-
1179
- *```
1180
- */
1181
- export declare const Model3DFragment = "fragment Model3DFragment on Model3d {\n id\n alt\n mediaContentType\n previewImage {\n url\n }\n sources {\n url\n }\n}\n\n";
1182
- /**
1183
- *```
1184
- * fragment MoneyFragment on MoneyV2 {
1185
- * currencyCode
1186
- * amount
1187
- * }
1188
-
1189
- *```
1190
- */
1191
- export declare const MoneyFragment = "fragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\n";
1192
- /**
1193
- *```
1194
- *
1195
- * fragment ProductProviderFragment on Product {
1196
- * compareAtPriceRange {
1197
- * maxVariantPrice {
1198
- * ...MoneyFragment
1199
- * }
1200
- * minVariantPrice {
1201
- * ...MoneyFragment
1202
- * }
1203
- * }
1204
- * descriptionHtml
1205
- * handle
1206
- * id
1207
- * media(first: $numProductMedia) {
1208
- * edges {
1209
- * node {
1210
- * ...MediaFileFragment
1211
- * }
1212
- * }
1213
- * }
1214
- * metafields(first: $numProductMetafields) {
1215
- * edges {
1216
- * node {
1217
- * ...MetafieldFragment
1218
- * }
1219
- * }
1220
- * }
1221
- * priceRange {
1222
- * maxVariantPrice {
1223
- * ...MoneyFragment
1224
- * }
1225
- * minVariantPrice {
1226
- * ...MoneyFragment
1227
- * }
1228
- * }
1229
- * title
1230
- * variants(first: $numProductVariants) {
1231
- * edges {
1232
- * node {
1233
- * ...VariantFragment
1234
- * }
1235
- * }
1236
- * }
1237
- * sellingPlanGroups(first: $numProductSellingPlanGroups) {
1238
- * edges {
1239
- * node {
1240
- * ...SellingPlanGroupsFragment
1241
- * }
1242
- * }
1243
- * }
1244
- * }
1245
- *
1246
- *
1247
- * fragment MediaFileFragment on Media {
1248
- * ... on MediaImage {
1249
- * mediaContentType
1250
- * image {
1251
- * ...ImageFragment
1252
- * }
1253
- * }
1254
- * ... on Video {
1255
- * mediaContentType
1256
- * ...VideoFragment
1257
- * }
1258
- * ... on ExternalVideo {
1259
- * mediaContentType
1260
- * ...ExternalVideoFragment
1261
- * }
1262
- * ... on Model3d {
1263
- * mediaContentType
1264
- * ...Model3DFragment
1265
- * }
1266
- * }
1267
- *
1268
- *
1269
- * fragment MetafieldFragment on Metafield {
1270
- * id
1271
- * type
1272
- * namespace
1273
- * key
1274
- * value
1275
- * createdAt
1276
- * updatedAt
1277
- * description
1278
- * reference @include(if: $includeReferenceMetafieldDetails) {
1279
- * __typename
1280
- * ... on MediaImage {
1281
- * id
1282
- * mediaContentType
1283
- * image {
1284
- * ...ImageFragment
1285
- * }
1286
- * }
1287
- * }
1288
- * }
1289
- *
1290
- * fragment VariantFragment on ProductVariant {
1291
- * id
1292
- * title
1293
- * availableForSale
1294
- * image {
1295
- * ...ImageFragment
1296
- * }
1297
- * ...UnitPriceFragment
1298
- * priceV2 {
1299
- * ...MoneyFragment
1300
- * }
1301
- * compareAtPriceV2 {
1302
- * ...MoneyFragment
1303
- * }
1304
- * selectedOptions {
1305
- * name
1306
- * value
1307
- * }
1308
- * metafields(first: $numProductVariantMetafields) {
1309
- * edges {
1310
- * node {
1311
- * ...MetafieldFragment
1312
- * }
1313
- * }
1314
- * }
1315
- * sellingPlanAllocations(first: $numProductVariantSellingPlanAllocations) {
1316
- * edges {
1317
- * node {
1318
- * priceAdjustments {
1319
- * compareAtPrice {
1320
- * ...MoneyFragment
1321
- * }
1322
- * perDeliveryPrice {
1323
- * ...MoneyFragment
1324
- * }
1325
- * price {
1326
- * ...MoneyFragment
1327
- * }
1328
- * unitPrice {
1329
- * ...MoneyFragment
1330
- * }
1331
- * }
1332
- * sellingPlan {
1333
- * ...SellingPlanFragment
1334
- * }
1335
- * }
1336
- * }
1337
- * }
1338
- * }
1339
- *
1340
- *
1341
- * fragment SellingPlanGroupsFragment on SellingPlanGroup {
1342
- * sellingPlans(first:$numProductSellingPlans) {
1343
- * edges {
1344
- * node {
1345
- * ...SellingPlanFragment
1346
- * }
1347
- * }
1348
- * }
1349
- * appName
1350
- * name
1351
- * options {
1352
- * name
1353
- * values
1354
- * }
1355
- * }
1356
- * fragment MoneyFragment on MoneyV2 {
1357
- * currencyCode
1358
- * amount
1359
- * }
1360
- * fragment ImageFragment on Image {
1361
- * id
1362
- * url
1363
- * altText
1364
- * width
1365
- * height
1366
- * }
1367
- *
1368
- * fragment VideoFragment on Video {
1369
- * id
1370
- * previewImage {
1371
- * url
1372
- * }
1373
- * sources {
1374
- * mimeType
1375
- * url
1376
- * }
1377
- * }
1378
- *
1379
- * fragment ExternalVideoFragment on ExternalVideo {
1380
- * id
1381
- * embeddedUrl
1382
- * host
1383
- * }
1384
- *
1385
- * fragment Model3DFragment on Model3d {
1386
- * id
1387
- * alt
1388
- * mediaContentType
1389
- * previewImage {
1390
- * url
1391
- * }
1392
- * sources {
1393
- * url
1394
- * }
1395
- * }
1396
- *
1397
- * fragment ImageFragment on Image {
1398
- * id
1399
- * url
1400
- * altText
1401
- * width
1402
- * height
1403
- * }
1404
- *
1405
- *
1406
- * fragment SellingPlanFragment on SellingPlan {
1407
- * id
1408
- * description
1409
- * name
1410
- * options {
1411
- * name
1412
- * value
1413
- * }
1414
- * priceAdjustments {
1415
- * orderCount
1416
- * adjustmentValue {
1417
- * ...on SellingPlanFixedAmountPriceAdjustment {
1418
- * adjustmentAmount {
1419
- * ...MoneyFragment
1420
- * }
1421
- * }
1422
- * ...on SellingPlanFixedPriceAdjustment {
1423
- * price {
1424
- * ...MoneyFragment
1425
- * }
1426
- * }
1427
- * ...on SellingPlanPercentagePriceAdjustment {
1428
- * adjustmentPercentage
1429
- * }
1430
- * }
1431
- * }
1432
- * recurringDeliveries
1433
- * }
1434
- * fragment MoneyFragment on MoneyV2 {
1435
- * currencyCode
1436
- * amount
1437
- * }
1438
- * fragment ImageFragment on Image {
1439
- * id
1440
- * url
1441
- * altText
1442
- * width
1443
- * height
1444
- * }
1445
- *
1446
- *
1447
- * fragment UnitPriceFragment on ProductVariant {
1448
- * unitPriceMeasurement {
1449
- * measuredType
1450
- * quantityUnit
1451
- * quantityValue
1452
- * referenceUnit
1453
- * referenceValue
1454
- * }
1455
- * unitPrice {
1456
- * ...MoneyFragment
1457
- * }
1458
- * }
1459
- * fragment MoneyFragment on MoneyV2 {
1460
- * currencyCode
1461
- * amount
1462
- * }
1463
- * fragment MoneyFragment on MoneyV2 {
1464
- * currencyCode
1465
- * amount
1466
- * }
1467
- *
1468
- * fragment SellingPlanFragment on SellingPlan {
1469
- * id
1470
- * description
1471
- * name
1472
- * options {
1473
- * name
1474
- * value
1475
- * }
1476
- * priceAdjustments {
1477
- * orderCount
1478
- * adjustmentValue {
1479
- * ...on SellingPlanFixedAmountPriceAdjustment {
1480
- * adjustmentAmount {
1481
- * ...MoneyFragment
1482
- * }
1483
- * }
1484
- * ...on SellingPlanFixedPriceAdjustment {
1485
- * price {
1486
- * ...MoneyFragment
1487
- * }
1488
- * }
1489
- * ...on SellingPlanPercentagePriceAdjustment {
1490
- * adjustmentPercentage
1491
- * }
1492
- * }
1493
- * }
1494
- * recurringDeliveries
1495
- * }
1496
- * fragment MoneyFragment on MoneyV2 {
1497
- * currencyCode
1498
- * amount
1499
- * }
1500
- *```
1501
- */
1502
- export declare const ProductProviderFragment = "\nfragment ProductProviderFragment on Product {\n compareAtPriceRange {\n maxVariantPrice {\n ...MoneyFragment\n }\n minVariantPrice {\n ...MoneyFragment\n }\n }\n descriptionHtml\n handle\n id\n media(first: $numProductMedia) {\n edges {\n node {\n ...MediaFileFragment\n }\n }\n }\n metafields(first: $numProductMetafields) {\n edges {\n node {\n ...MetafieldFragment\n }\n }\n }\n priceRange {\n maxVariantPrice {\n ...MoneyFragment\n }\n minVariantPrice {\n ...MoneyFragment\n }\n }\n title\n variants(first: $numProductVariants) {\n edges {\n node {\n ...VariantFragment\n }\n }\n }\n sellingPlanGroups(first: $numProductSellingPlanGroups) {\n edges {\n node {\n ...SellingPlanGroupsFragment\n }\n }\n }\n}\n\n\nfragment MediaFileFragment on Media {\n ... on MediaImage {\n mediaContentType\n image {\n ...ImageFragment\n }\n }\n ... on Video {\n mediaContentType\n ...VideoFragment\n }\n ... on ExternalVideo {\n mediaContentType\n ...ExternalVideoFragment\n }\n ... on Model3d {\n mediaContentType\n ...Model3DFragment\n }\n}\n\n\nfragment MetafieldFragment on Metafield {\n id\n type\n namespace\n key\n value\n createdAt\n updatedAt\n description\n reference @include(if: $includeReferenceMetafieldDetails) {\n __typename\n ... on MediaImage {\n id\n mediaContentType\n image {\n ...ImageFragment\n }\n }\n }\n}\n\nfragment VariantFragment on ProductVariant {\n id\n title\n availableForSale\n image {\n ...ImageFragment\n }\n ...UnitPriceFragment\n priceV2 {\n ...MoneyFragment\n }\n compareAtPriceV2 {\n ...MoneyFragment\n }\n selectedOptions {\n name\n value\n }\n metafields(first: $numProductVariantMetafields) {\n edges {\n node {\n ...MetafieldFragment\n }\n }\n }\n sellingPlanAllocations(first: $numProductVariantSellingPlanAllocations) {\n edges {\n node {\n priceAdjustments {\n compareAtPrice {\n ...MoneyFragment\n }\n perDeliveryPrice {\n ...MoneyFragment\n }\n price {\n ...MoneyFragment\n }\n unitPrice {\n ...MoneyFragment\n }\n }\n sellingPlan {\n ...SellingPlanFragment\n }\n }\n }\n }\n}\n\n\nfragment SellingPlanGroupsFragment on SellingPlanGroup {\n sellingPlans(first:$numProductSellingPlans) {\n edges {\n node {\n ...SellingPlanFragment\n }\n }\n }\n appName\n name\n options {\n name\n values\n }\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n\nfragment VideoFragment on Video {\n id\n previewImage {\n url\n }\n sources {\n mimeType\n url\n }\n}\n\nfragment ExternalVideoFragment on ExternalVideo {\n id\n embeddedUrl\n host\n}\n\nfragment Model3DFragment on Model3d {\n id\n alt\n mediaContentType\n previewImage {\n url\n }\n sources {\n url\n }\n}\n\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n\n\nfragment SellingPlanFragment on SellingPlan {\n id\n description\n name\n options {\n name\n value\n }\n priceAdjustments {\n orderCount\n adjustmentValue {\n ...on SellingPlanFixedAmountPriceAdjustment {\n adjustmentAmount {\n ...MoneyFragment\n }\n }\n ...on SellingPlanFixedPriceAdjustment {\n price {\n ...MoneyFragment\n }\n }\n ...on SellingPlanPercentagePriceAdjustment {\n adjustmentPercentage\n }\n }\n }\n recurringDeliveries\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n\n\nfragment UnitPriceFragment on ProductVariant {\n unitPriceMeasurement {\n measuredType\n quantityUnit\n quantityValue\n referenceUnit\n referenceValue\n }\n unitPrice {\n ...MoneyFragment\n }\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\n\nfragment SellingPlanFragment on SellingPlan {\n id\n description\n name\n options {\n name\n value\n }\n priceAdjustments {\n orderCount\n adjustmentValue {\n ...on SellingPlanFixedAmountPriceAdjustment {\n adjustmentAmount {\n ...MoneyFragment\n }\n }\n ...on SellingPlanFixedPriceAdjustment {\n price {\n ...MoneyFragment\n }\n }\n ...on SellingPlanPercentagePriceAdjustment {\n adjustmentPercentage\n }\n }\n }\n recurringDeliveries\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}";
1503
- /**
1504
- *```
1505
- *
1506
- * fragment UnitPriceFragment on ProductVariant {
1507
- * unitPriceMeasurement {
1508
- * measuredType
1509
- * quantityUnit
1510
- * quantityValue
1511
- * referenceUnit
1512
- * referenceValue
1513
- * }
1514
- * unitPrice {
1515
- * ...MoneyFragment
1516
- * }
1517
- * }
1518
- * fragment MoneyFragment on MoneyV2 {
1519
- * currencyCode
1520
- * amount
1521
- * }
1522
- *```
1523
- */
1524
- export declare const UnitPriceFragment = "\nfragment UnitPriceFragment on ProductVariant {\n unitPriceMeasurement {\n measuredType\n quantityUnit\n quantityValue\n referenceUnit\n referenceValue\n }\n unitPrice {\n ...MoneyFragment\n }\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}";
1525
- /**
1526
- *```
1527
- * fragment VideoFragment on Video {
1528
- * id
1529
- * previewImage {
1530
- * url
1531
- * }
1532
- * sources {
1533
- * mimeType
1534
- * url
1535
- * }
1536
- * }
1537
- *
1538
-
1539
- *```
1540
- */
1541
- export declare const VideoFragment = "fragment VideoFragment on Video {\n id\n previewImage {\n url\n }\n sources {\n mimeType\n url\n }\n}\n\n";
1542
- /**
1543
- *```
1544
- *
1545
- * fragment SellingPlanFragment on SellingPlan {
1546
- * id
1547
- * description
1548
- * name
1549
- * options {
1550
- * name
1551
- * value
1552
- * }
1553
- * priceAdjustments {
1554
- * orderCount
1555
- * adjustmentValue {
1556
- * ...on SellingPlanFixedAmountPriceAdjustment {
1557
- * adjustmentAmount {
1558
- * ...MoneyFragment
1559
- * }
1560
- * }
1561
- * ...on SellingPlanFixedPriceAdjustment {
1562
- * price {
1563
- * ...MoneyFragment
1564
- * }
1565
- * }
1566
- * ...on SellingPlanPercentagePriceAdjustment {
1567
- * adjustmentPercentage
1568
- * }
1569
- * }
1570
- * }
1571
- * recurringDeliveries
1572
- * }
1573
- * fragment MoneyFragment on MoneyV2 {
1574
- * currencyCode
1575
- * amount
1576
- * }
1577
- *```
1578
- */
1579
- export declare const SellingPlanFragment = "\nfragment SellingPlanFragment on SellingPlan {\n id\n description\n name\n options {\n name\n value\n }\n priceAdjustments {\n orderCount\n adjustmentValue {\n ...on SellingPlanFixedAmountPriceAdjustment {\n adjustmentAmount {\n ...MoneyFragment\n }\n }\n ...on SellingPlanFixedPriceAdjustment {\n price {\n ...MoneyFragment\n }\n }\n ...on SellingPlanPercentagePriceAdjustment {\n adjustmentPercentage\n }\n }\n }\n recurringDeliveries\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}";
1580
- /**
1581
- *```
1582
- *
1583
- * fragment SellingPlanGroupsFragment on SellingPlanGroup {
1584
- * sellingPlans(first:$numProductSellingPlans) {
1585
- * edges {
1586
- * node {
1587
- * ...SellingPlanFragment
1588
- * }
1589
- * }
1590
- * }
1591
- * appName
1592
- * name
1593
- * options {
1594
- * name
1595
- * values
1596
- * }
1597
- * }
1598
- *
1599
- * fragment SellingPlanFragment on SellingPlan {
1600
- * id
1601
- * description
1602
- * name
1603
- * options {
1604
- * name
1605
- * value
1606
- * }
1607
- * priceAdjustments {
1608
- * orderCount
1609
- * adjustmentValue {
1610
- * ...on SellingPlanFixedAmountPriceAdjustment {
1611
- * adjustmentAmount {
1612
- * ...MoneyFragment
1613
- * }
1614
- * }
1615
- * ...on SellingPlanFixedPriceAdjustment {
1616
- * price {
1617
- * ...MoneyFragment
1618
- * }
1619
- * }
1620
- * ...on SellingPlanPercentagePriceAdjustment {
1621
- * adjustmentPercentage
1622
- * }
1623
- * }
1624
- * }
1625
- * recurringDeliveries
1626
- * }
1627
- * fragment MoneyFragment on MoneyV2 {
1628
- * currencyCode
1629
- * amount
1630
- * }
1631
- *```
1632
- */
1633
- export declare const SellingPlanGroupsFragment = "\nfragment SellingPlanGroupsFragment on SellingPlanGroup {\n sellingPlans(first:$numProductSellingPlans) {\n edges {\n node {\n ...SellingPlanFragment\n }\n }\n }\n appName\n name\n options {\n name\n values\n }\n}\n\nfragment SellingPlanFragment on SellingPlan {\n id\n description\n name\n options {\n name\n value\n }\n priceAdjustments {\n orderCount\n adjustmentValue {\n ...on SellingPlanFixedAmountPriceAdjustment {\n adjustmentAmount {\n ...MoneyFragment\n }\n }\n ...on SellingPlanFixedPriceAdjustment {\n price {\n ...MoneyFragment\n }\n }\n ...on SellingPlanPercentagePriceAdjustment {\n adjustmentPercentage\n }\n }\n }\n recurringDeliveries\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}";
1634
- /**
1635
- *```
1636
- *
1637
- * fragment VariantFragment on ProductVariant {
1638
- * id
1639
- * title
1640
- * availableForSale
1641
- * image {
1642
- * ...ImageFragment
1643
- * }
1644
- * ...UnitPriceFragment
1645
- * priceV2 {
1646
- * ...MoneyFragment
1647
- * }
1648
- * compareAtPriceV2 {
1649
- * ...MoneyFragment
1650
- * }
1651
- * selectedOptions {
1652
- * name
1653
- * value
1654
- * }
1655
- * metafields(first: $numProductVariantMetafields) {
1656
- * edges {
1657
- * node {
1658
- * ...MetafieldFragment
1659
- * }
1660
- * }
1661
- * }
1662
- * sellingPlanAllocations(first: $numProductVariantSellingPlanAllocations) {
1663
- * edges {
1664
- * node {
1665
- * priceAdjustments {
1666
- * compareAtPrice {
1667
- * ...MoneyFragment
1668
- * }
1669
- * perDeliveryPrice {
1670
- * ...MoneyFragment
1671
- * }
1672
- * price {
1673
- * ...MoneyFragment
1674
- * }
1675
- * unitPrice {
1676
- * ...MoneyFragment
1677
- * }
1678
- * }
1679
- * sellingPlan {
1680
- * ...SellingPlanFragment
1681
- * }
1682
- * }
1683
- * }
1684
- * }
1685
- * }
1686
- *
1687
- *
1688
- * fragment SellingPlanFragment on SellingPlan {
1689
- * id
1690
- * description
1691
- * name
1692
- * options {
1693
- * name
1694
- * value
1695
- * }
1696
- * priceAdjustments {
1697
- * orderCount
1698
- * adjustmentValue {
1699
- * ...on SellingPlanFixedAmountPriceAdjustment {
1700
- * adjustmentAmount {
1701
- * ...MoneyFragment
1702
- * }
1703
- * }
1704
- * ...on SellingPlanFixedPriceAdjustment {
1705
- * price {
1706
- * ...MoneyFragment
1707
- * }
1708
- * }
1709
- * ...on SellingPlanPercentagePriceAdjustment {
1710
- * adjustmentPercentage
1711
- * }
1712
- * }
1713
- * }
1714
- * recurringDeliveries
1715
- * }
1716
- * fragment MoneyFragment on MoneyV2 {
1717
- * currencyCode
1718
- * amount
1719
- * }
1720
- * fragment ImageFragment on Image {
1721
- * id
1722
- * url
1723
- * altText
1724
- * width
1725
- * height
1726
- * }
1727
- *
1728
- *
1729
- * fragment UnitPriceFragment on ProductVariant {
1730
- * unitPriceMeasurement {
1731
- * measuredType
1732
- * quantityUnit
1733
- * quantityValue
1734
- * referenceUnit
1735
- * referenceValue
1736
- * }
1737
- * unitPrice {
1738
- * ...MoneyFragment
1739
- * }
1740
- * }
1741
- * fragment MoneyFragment on MoneyV2 {
1742
- * currencyCode
1743
- * amount
1744
- * }
1745
- * fragment MoneyFragment on MoneyV2 {
1746
- * currencyCode
1747
- * amount
1748
- * }
1749
- *```
1750
- */
1751
- export declare const VariantFragment = "\nfragment VariantFragment on ProductVariant {\n id\n title\n availableForSale\n image {\n ...ImageFragment\n }\n ...UnitPriceFragment\n priceV2 {\n ...MoneyFragment\n }\n compareAtPriceV2 {\n ...MoneyFragment\n }\n selectedOptions {\n name\n value\n }\n metafields(first: $numProductVariantMetafields) {\n edges {\n node {\n ...MetafieldFragment\n }\n }\n }\n sellingPlanAllocations(first: $numProductVariantSellingPlanAllocations) {\n edges {\n node {\n priceAdjustments {\n compareAtPrice {\n ...MoneyFragment\n }\n perDeliveryPrice {\n ...MoneyFragment\n }\n price {\n ...MoneyFragment\n }\n unitPrice {\n ...MoneyFragment\n }\n }\n sellingPlan {\n ...SellingPlanFragment\n }\n }\n }\n }\n}\n\n\nfragment SellingPlanFragment on SellingPlan {\n id\n description\n name\n options {\n name\n value\n }\n priceAdjustments {\n orderCount\n adjustmentValue {\n ...on SellingPlanFixedAmountPriceAdjustment {\n adjustmentAmount {\n ...MoneyFragment\n }\n }\n ...on SellingPlanFixedPriceAdjustment {\n price {\n ...MoneyFragment\n }\n }\n ...on SellingPlanPercentagePriceAdjustment {\n adjustmentPercentage\n }\n }\n }\n recurringDeliveries\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment ImageFragment on Image {\n id\n url\n altText\n width\n height\n}\n\n\nfragment UnitPriceFragment on ProductVariant {\n unitPriceMeasurement {\n measuredType\n quantityUnit\n quantityValue\n referenceUnit\n referenceValue\n }\n unitPrice {\n ...MoneyFragment\n }\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}\nfragment MoneyFragment on MoneyV2 {\n currencyCode\n amount\n}";