@shopify/hydrogen 0.22.1 → 0.25.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +378 -0
- package/dist/esnext/components/AddToCartButton/AddToCartButton.client.d.ts +2 -5
- package/dist/esnext/components/AddToCartButton/AddToCartButton.client.js +18 -17
- package/dist/esnext/components/BaseButton/BaseButton.client.d.ts +14 -0
- package/dist/esnext/components/BaseButton/BaseButton.client.js +15 -0
- package/dist/esnext/components/BaseButton/index.d.ts +1 -0
- package/dist/esnext/components/BaseButton/index.js +1 -0
- package/dist/esnext/components/BuyNowButton/BuyNowButton.client.d.ts +2 -5
- package/dist/esnext/components/BuyNowButton/BuyNowButton.client.js +5 -4
- package/dist/esnext/components/CartEstimatedCost/CartEstimatedCost.client.js +4 -4
- package/dist/esnext/components/CartLinePrice/CartLinePrice.client.js +5 -8
- package/dist/esnext/components/CartLineProvider/context.d.ts +10 -0
- package/dist/esnext/components/CartLineQuantityAdjustButton/CartLineQuantityAdjustButton.d.ts +4 -5
- package/dist/esnext/components/CartLineQuantityAdjustButton/CartLineQuantityAdjustButton.js +16 -14
- package/dist/esnext/components/CartLines/{CartLines.d.ts → CartLines.client.d.ts} +0 -0
- package/dist/esnext/components/CartLines/{CartLines.js → CartLines.client.js} +1 -1
- package/dist/esnext/components/CartLines/index.d.ts +1 -1
- package/dist/esnext/components/CartLines/index.js +1 -1
- package/dist/esnext/components/CartProvider/CartProvider.client.js +31 -38
- package/dist/esnext/components/CartProvider/cart-queries.d.ts +1 -1
- package/dist/esnext/components/CartProvider/cart-queries.js +11 -0
- package/dist/esnext/components/CartProvider/graphql/CartAttributesUpdateMutation.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartBuyerIdentityUpdateMutation.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartCreateMutation.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartDiscountCodesUpdateMutation.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartFragment.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartLineAddMutation.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartLineRemoveMutation.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartLineUpdateMutation.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartNoteUpdateMutation.d.ts +11 -1
- package/dist/esnext/components/CartProvider/graphql/CartQuery.d.ts +11 -1
- package/dist/esnext/components/CartProvider/hooks.client.js +5 -8
- package/dist/esnext/components/CartProvider/types.d.ts +2 -0
- package/dist/esnext/components/ExternalVideo/ExternalVideo.js +1 -1
- package/dist/esnext/components/Image/Image.d.ts +21 -0
- package/dist/esnext/components/Image/Image.js +88 -14
- package/dist/esnext/components/Link/Link.client.d.ts +2 -0
- package/dist/esnext/components/Link/Link.client.js +8 -5
- package/dist/esnext/components/LocalizationProvider/LocalizationProvider.server.js +2 -2
- package/dist/esnext/components/Metafield/Metafield.client.d.ts +6 -10
- package/dist/esnext/components/Metafield/Metafield.client.js +67 -31
- package/dist/esnext/components/Metafield/components/StarRating/StarRating.js +1 -1
- package/dist/esnext/components/ModelViewer/ModelViewer.client.js +2 -3
- package/dist/esnext/components/Money/Money.client.js +1 -1
- package/dist/esnext/components/ProductOptionsProvider/ProductOptionsProvider.client.d.ts +21 -0
- package/dist/esnext/components/ProductOptionsProvider/ProductOptionsProvider.client.js +133 -0
- package/dist/esnext/components/ProductOptionsProvider/context.d.ts +2 -0
- package/dist/esnext/components/{ProductProvider → ProductOptionsProvider}/context.js +0 -1
- package/dist/esnext/components/ProductOptionsProvider/index.d.ts +2 -0
- package/dist/esnext/components/ProductOptionsProvider/index.js +2 -0
- package/dist/esnext/components/ProductPrice/ProductPrice.client.d.ts +5 -2
- package/dist/esnext/components/ProductPrice/ProductPrice.client.js +10 -12
- package/dist/esnext/components/Seo/CollectionSeo.client.js +2 -3
- package/dist/esnext/components/Seo/DefaultPageSeo.client.js +3 -3
- package/dist/esnext/components/Seo/NoIndexSeo.client.js +2 -2
- package/dist/esnext/components/Seo/PageSeo.client.js +2 -3
- package/dist/esnext/components/Seo/ProductSeo.client.js +9 -10
- package/dist/esnext/components/ShopPayButton/ShopPayButton.client.js +2 -3
- package/dist/esnext/components/Video/Video.js +2 -3
- package/dist/esnext/components/index.d.ts +1 -1
- package/dist/esnext/components/index.js +1 -1
- package/dist/esnext/config.d.ts +4 -0
- package/dist/esnext/config.js +4 -0
- package/dist/esnext/constants.d.ts +2 -0
- package/dist/esnext/constants.js +2 -0
- package/dist/esnext/entry-client.js +107 -21
- package/dist/esnext/entry-server.d.ts +2 -31
- package/dist/esnext/entry-server.js +400 -335
- package/dist/esnext/foundation/Analytics/Analytics.client.js +15 -13
- package/dist/esnext/foundation/Analytics/Analytics.server.js +27 -20
- package/dist/esnext/foundation/Analytics/ClientAnalytics.d.ts +4 -2
- package/dist/esnext/foundation/Analytics/ClientAnalytics.js +16 -14
- package/dist/esnext/foundation/Analytics/ServerAnalyticsRoute.d.ts +4 -0
- package/dist/esnext/foundation/Analytics/ServerAnalyticsRoute.js +36 -0
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/ServerAnalyticsConnector.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/ServerAnalyticsConnector.js +27 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ServerAnalyticsConnector.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ServerAnalyticsConnector.js +21 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ShopifyAnalytics.client.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ShopifyAnalytics.client.js +190 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ShopifyAnalytics.server.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ShopifyAnalytics.server.js +23 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/const.d.ts +28 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/const.js +51 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/utils.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/utils.js +56 -0
- package/dist/esnext/foundation/Analytics/hook.js +4 -2
- package/dist/esnext/foundation/Analytics/utils.d.ts +2 -0
- package/dist/esnext/foundation/Analytics/utils.js +21 -0
- package/dist/esnext/foundation/BuiltInRoutes/BuiltInRoutes.d.ts +2 -0
- package/dist/esnext/foundation/BuiltInRoutes/BuiltInRoutes.js +23 -0
- package/dist/esnext/foundation/BuiltInRoutes/healthCheck.d.ts +1 -0
- package/dist/esnext/foundation/BuiltInRoutes/healthCheck.js +3 -0
- package/dist/{node/framework → esnext/foundation/Cache}/cache-sub-request.d.ts +1 -1
- package/dist/esnext/{framework → foundation/Cache}/cache-sub-request.js +4 -4
- package/dist/esnext/{framework → foundation/Cache}/cache.d.ts +1 -1
- package/dist/esnext/{framework → foundation/Cache}/cache.js +4 -4
- package/dist/esnext/foundation/Cache/strategies/index.d.ts +7 -0
- package/dist/esnext/foundation/Cache/strategies/index.js +54 -0
- package/dist/esnext/foundation/Cookie/Cookie.d.ts +3 -3
- package/dist/esnext/foundation/Cookie/Cookie.js +5 -0
- package/dist/esnext/foundation/DevTools/DevTools.client.d.ts +3 -0
- package/dist/esnext/foundation/DevTools/DevTools.client.js +17 -0
- package/dist/esnext/foundation/DevTools/DevTools.server.d.ts +1 -0
- package/dist/esnext/foundation/DevTools/DevTools.server.js +14 -0
- package/dist/esnext/foundation/DevTools/components/GraphQL.client.d.ts +1 -0
- package/dist/esnext/foundation/DevTools/components/GraphQL.client.js +25 -0
- package/dist/esnext/foundation/DevTools/components/Heading.d.ts +5 -0
- package/dist/esnext/foundation/DevTools/components/Heading.js +12 -0
- package/dist/esnext/foundation/DevTools/components/Interface.client.d.ts +11 -0
- package/dist/esnext/foundation/DevTools/components/Interface.client.js +47 -0
- package/dist/esnext/foundation/DevTools/components/Panels.d.ts +8 -0
- package/dist/esnext/foundation/DevTools/components/Panels.js +60 -0
- package/dist/esnext/foundation/DevTools/components/Performance.client.d.ts +14 -0
- package/dist/esnext/foundation/DevTools/components/Performance.client.js +26 -0
- package/dist/esnext/foundation/DevTools/components/Settings.client.d.ts +7 -0
- package/dist/esnext/foundation/DevTools/components/Settings.client.js +20 -0
- package/dist/esnext/foundation/DevTools/components/Table.d.ts +9 -0
- package/dist/esnext/foundation/DevTools/components/Table.js +7 -0
- package/dist/esnext/foundation/DevTools/components/icons.d.ts +2 -0
- package/dist/esnext/foundation/DevTools/components/icons.js +13 -0
- package/dist/esnext/foundation/DevTools/components/index.d.ts +2 -0
- package/dist/esnext/foundation/DevTools/components/index.js +2 -0
- package/dist/esnext/foundation/FileRoutes/FileRoutes.server.js +4 -4
- package/dist/{node/framework/Hydration → esnext/foundation/Html}/Html.d.ts +3 -1
- package/dist/esnext/{framework/Hydration → foundation/Html}/Html.js +15 -5
- package/dist/esnext/{framework/Hydration/ServerComponentRequest.server.d.ts → foundation/HydrogenRequest/HydrogenRequest.server.d.ts} +14 -4
- package/dist/esnext/{framework/Hydration/ServerComponentRequest.server.js → foundation/HydrogenRequest/HydrogenRequest.server.js} +70 -12
- package/dist/esnext/{framework/Hydration/ServerComponentResponse.server.d.ts → foundation/HydrogenResponse/HydrogenResponse.server.d.ts} +6 -11
- package/dist/esnext/foundation/HydrogenResponse/HydrogenResponse.server.js +48 -0
- package/dist/esnext/foundation/Router/BrowserRouter.client.js +15 -9
- package/dist/esnext/foundation/ServerPropsProvider/ServerPropsProvider.d.ts +2 -1
- package/dist/esnext/foundation/ServerPropsProvider/ServerPropsProvider.js +1 -1
- package/dist/esnext/foundation/ServerRequestProvider/ServerRequestProvider.d.ts +5 -6
- package/dist/esnext/foundation/ServerRequestProvider/ServerRequestProvider.js +19 -24
- package/dist/esnext/foundation/ServerStateProvider/ServerStateProvider.d.ts +1 -1
- package/dist/esnext/foundation/ServerStateProvider/ServerStateProvider.js +1 -1
- package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.server.js +4 -5
- package/dist/esnext/foundation/fetchSync/server/fetchSync.js +1 -1
- package/dist/esnext/foundation/index.d.ts +1 -1
- package/dist/esnext/foundation/index.js +1 -1
- package/dist/esnext/foundation/runtime.d.ts +2 -0
- package/dist/esnext/foundation/runtime.js +6 -0
- package/dist/esnext/foundation/session/session.d.ts +3 -3
- package/dist/esnext/foundation/ssr-interop.d.ts +2 -2
- package/dist/esnext/foundation/useNavigate/useNavigate.d.ts +2 -0
- package/dist/esnext/foundation/useNavigate/useNavigate.js +10 -4
- package/dist/esnext/foundation/useQuery/hooks.d.ts +1 -0
- package/dist/esnext/foundation/useQuery/hooks.js +29 -18
- package/dist/esnext/foundation/useRequestContext/index.d.ts +15 -0
- package/dist/esnext/foundation/useRequestContext/index.js +23 -0
- package/dist/esnext/foundation/useServerProps/use-server-props.js +2 -2
- package/dist/esnext/foundation/useSession/useSession.js +1 -2
- package/dist/esnext/foundation/useUrl/useUrl.js +1 -2
- package/dist/esnext/framework/cache/in-memory.js +3 -3
- package/dist/esnext/framework/middleware.d.ts +1 -1
- package/dist/esnext/framework/middleware.js +3 -4
- package/dist/esnext/framework/plugin.d.ts +7 -3
- package/dist/esnext/framework/plugin.js +4 -1
- package/dist/esnext/framework/plugins/vite-plugin-client-imports.js +1 -1
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-config.js +70 -64
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-middleware.d.ts +1 -1
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-middleware.js +3 -4
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-rsc.js +5 -13
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-suppress-warnings.d.ts +3 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-suppress-warnings.js +19 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-virtual-files.d.ts +1 -1
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-virtual-files.js +6 -4
- package/dist/esnext/framework/types.d.ts +5 -0
- package/dist/esnext/framework/types.js +1 -0
- package/dist/esnext/hooks/index.d.ts +0 -1
- package/dist/esnext/hooks/index.js +0 -1
- package/dist/esnext/hooks/useCartLine/useCartLine.d.ts +10 -0
- package/dist/esnext/hooks/useMoney/hooks.js +53 -39
- package/dist/esnext/hooks/useProductOptions/helpers.js +6 -10
- package/dist/esnext/hooks/useProductOptions/types.d.ts +17 -15
- package/dist/esnext/hooks/useProductOptions/useProductOptions.client.d.ts +1 -15
- package/dist/esnext/hooks/useProductOptions/useProductOptions.client.js +8 -107
- package/dist/esnext/hooks/useShopQuery/hooks.js +30 -18
- package/dist/esnext/index.d.ts +7 -5
- package/dist/esnext/index.js +5 -5
- package/dist/esnext/shared-types.d.ts +26 -0
- package/dist/esnext/shared-types.js +4 -0
- package/dist/esnext/storefront-api-types.d.ts +37 -443
- package/dist/esnext/streaming.server.d.ts +9 -19
- package/dist/esnext/streaming.server.js +2 -11
- package/dist/esnext/types.d.ts +40 -40
- package/dist/esnext/types.js +1 -1
- package/dist/esnext/utilities/apiRoutes.d.ts +8 -4
- package/dist/esnext/utilities/apiRoutes.js +6 -4
- package/dist/esnext/utilities/devtools.d.ts +1 -1
- package/dist/esnext/utilities/devtools.js +3 -3
- package/dist/esnext/utilities/flattenConnection/flattenConnection.d.ts +1 -0
- package/dist/esnext/utilities/flattenConnection/flattenConnection.js +13 -6
- package/dist/esnext/utilities/graphql-tracker.js +7 -9
- package/dist/esnext/utilities/hash.d.ts +2 -2
- package/dist/esnext/utilities/hash.js +29 -6
- package/dist/esnext/utilities/image_size.d.ts +24 -3
- package/dist/esnext/utilities/image_size.js +53 -31
- package/dist/esnext/utilities/index.d.ts +2 -2
- package/dist/esnext/utilities/index.js +2 -2
- package/dist/esnext/utilities/isBrowser/index.d.ts +1 -0
- package/dist/esnext/utilities/isBrowser/index.js +1 -0
- package/dist/esnext/utilities/isBrowser/isBrowser.d.ts +4 -0
- package/dist/esnext/utilities/isBrowser/isBrowser.js +6 -0
- package/dist/esnext/utilities/isServer/isServer.js +2 -2
- package/dist/esnext/utilities/load_script.js +1 -1
- package/dist/esnext/utilities/log/index.d.ts +1 -1
- package/dist/esnext/utilities/log/index.js +1 -1
- package/dist/esnext/utilities/log/log-cache-api-status.js +3 -2
- package/dist/esnext/utilities/log/log-cache-header.d.ts +4 -4
- package/dist/esnext/utilities/log/log-query-timeline.d.ts +3 -3
- package/dist/esnext/utilities/log/log-query-timeline.js +29 -10
- package/dist/esnext/utilities/log/log.d.ts +17 -11
- package/dist/esnext/utilities/log/log.js +28 -20
- package/dist/esnext/utilities/log/utils.js +1 -6
- package/dist/esnext/utilities/parseMetafield/index.d.ts +1 -0
- package/dist/esnext/utilities/parseMetafield/index.js +1 -0
- package/dist/esnext/utilities/parseMetafield/parseMetafield.d.ts +15 -0
- package/dist/esnext/utilities/{parseMetafieldValue/parseMetafieldValue.js → parseMetafield/parseMetafield.js} +28 -2
- package/dist/esnext/utilities/storefrontApi.js +9 -5
- package/dist/esnext/utilities/template.js +1 -2
- package/dist/esnext/utilities/web-api-polyfill.js +6 -0
- package/dist/esnext/version.d.ts +1 -1
- package/dist/esnext/version.js +1 -1
- package/dist/node/framework/cache/in-memory.js +3 -3
- package/dist/node/framework/middleware.d.ts +1 -1
- package/dist/node/framework/middleware.js +3 -4
- package/dist/node/framework/plugin.d.ts +4 -3
- package/dist/node/framework/plugin.js +5 -2
- package/dist/node/framework/plugins/vite-plugin-client-imports.js +1 -1
- package/dist/node/framework/plugins/vite-plugin-hydrogen-config.js +70 -64
- package/dist/node/framework/plugins/vite-plugin-hydrogen-middleware.d.ts +1 -1
- package/dist/node/framework/plugins/vite-plugin-hydrogen-middleware.js +3 -4
- package/dist/node/framework/plugins/vite-plugin-hydrogen-rsc.js +6 -14
- package/dist/node/framework/plugins/vite-plugin-hydrogen-suppress-warnings.d.ts +3 -0
- package/dist/node/framework/plugins/vite-plugin-hydrogen-suppress-warnings.js +21 -0
- package/dist/node/framework/plugins/vite-plugin-hydrogen-virtual-files.d.ts +1 -1
- package/dist/node/framework/plugins/vite-plugin-hydrogen-virtual-files.js +6 -4
- package/dist/node/framework/types.d.ts +5 -0
- package/dist/node/{foundation/Analytics → framework}/types.js +0 -0
- package/dist/node/shared-types.d.ts +26 -0
- package/dist/node/shared-types.js +5 -0
- package/dist/node/utilities/web-api-polyfill.js +6 -0
- package/package.json +34 -26
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-plugin.js +275 -60
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.browser.development.server.js +119 -64
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.browser.production.min.server.js +33 -32
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.node.development.server.js +241 -75
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.node.production.min.server.js +38 -35
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite.development.js +9 -8
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite.production.min.js +3 -3
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite-client-proxy.js +3 -9
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite-plugin.js +276 -61
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite-writer.browser.server.js +119 -64
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite-writer.node.server.js +241 -75
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite.js +9 -8
- package/vendor/react-server-dom-vite/package.json +1 -1
- package/client.d.ts +0 -1
- package/client.js +0 -1
- package/config.d.ts +0 -1
- package/config.js +0 -1
- package/dist/esnext/components/DevTools.client.d.ts +0 -1
- package/dist/esnext/components/DevTools.client.js +0 -129
- package/dist/esnext/components/ProductProvider/ProductOptionsProvider.client.d.ts +0 -8
- package/dist/esnext/components/ProductProvider/ProductOptionsProvider.client.js +0 -12
- package/dist/esnext/components/ProductProvider/ProductProvider.client.d.ts +0 -24
- package/dist/esnext/components/ProductProvider/ProductProvider.client.js +0 -34
- package/dist/esnext/components/ProductProvider/context.d.ts +0 -29
- package/dist/esnext/components/ProductProvider/index.d.ts +0 -2
- package/dist/esnext/components/ProductProvider/index.js +0 -2
- package/dist/esnext/foundation/Analytics/ServerAnalyticsRoute.server.d.ts +0 -2
- package/dist/esnext/foundation/Analytics/ServerAnalyticsRoute.server.js +0 -33
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/PerformanceMetrics.server.d.ts +0 -1
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/PerformanceMetrics.server.js +0 -24
- package/dist/esnext/framework/CachingStrategy/index.d.ts +0 -10
- package/dist/esnext/framework/CachingStrategy/index.js +0 -96
- package/dist/esnext/framework/Hydration/Html.d.ts +0 -11
- package/dist/esnext/framework/Hydration/ServerComponentResponse.server.js +0 -42
- package/dist/esnext/framework/Hydration/rsc.d.ts +0 -8
- package/dist/esnext/framework/Hydration/rsc.js +0 -100
- package/dist/esnext/framework/cache-sub-request.d.ts +0 -17
- package/dist/esnext/framework/config.d.ts +0 -6
- package/dist/esnext/framework/config.js +0 -6
- package/dist/esnext/framework/runtime.d.ts +0 -13
- package/dist/esnext/framework/runtime.js +0 -27
- package/dist/esnext/hooks/useParsedMetafields/index.d.ts +0 -1
- package/dist/esnext/hooks/useParsedMetafields/index.js +0 -1
- package/dist/esnext/hooks/useParsedMetafields/useParsedMetafields.d.ts +0 -21
- package/dist/esnext/hooks/useParsedMetafields/useParsedMetafields.js +0 -21
- package/dist/esnext/hooks/useProduct/index.d.ts +0 -1
- package/dist/esnext/hooks/useProduct/index.js +0 -1
- package/dist/esnext/hooks/useProduct/useProduct.d.ts +0 -52
- package/dist/esnext/hooks/useProduct/useProduct.js +0 -43
- package/dist/esnext/utilities/isClient/index.d.ts +0 -1
- package/dist/esnext/utilities/isClient/index.js +0 -1
- package/dist/esnext/utilities/isClient/isClient.d.ts +0 -4
- package/dist/esnext/utilities/isClient/isClient.js +0 -6
- package/dist/esnext/utilities/parseMetafieldValue/index.d.ts +0 -1
- package/dist/esnext/utilities/parseMetafieldValue/index.js +0 -1
- package/dist/esnext/utilities/parseMetafieldValue/parseMetafieldValue.d.ts +0 -6
- package/dist/node/components/Image/Image.d.ts +0 -84
- package/dist/node/components/Image/Image.js +0 -89
- package/dist/node/components/Image/index.d.ts +0 -2
- package/dist/node/components/Image/index.js +0 -5
- package/dist/node/constants.d.ts +0 -7
- package/dist/node/constants.js +0 -10
- package/dist/node/entry-server.d.ts +0 -35
- package/dist/node/entry-server.js +0 -571
- package/dist/node/foundation/Analytics/Analytics.client.d.ts +0 -3
- package/dist/node/foundation/Analytics/Analytics.client.js +0 -32
- package/dist/node/foundation/Analytics/Analytics.server.d.ts +0 -1
- package/dist/node/foundation/Analytics/Analytics.server.js +0 -70
- package/dist/node/foundation/Analytics/ClientAnalytics.d.ts +0 -25
- package/dist/node/foundation/Analytics/ClientAnalytics.js +0 -100
- package/dist/node/foundation/Analytics/ServerAnalyticsRoute.server.d.ts +0 -2
- package/dist/node/foundation/Analytics/ServerAnalyticsRoute.server.js +0 -37
- package/dist/node/foundation/Analytics/const.d.ts +0 -9
- package/dist/node/foundation/Analytics/const.js +0 -12
- package/dist/node/foundation/Analytics/hook.d.ts +0 -1
- package/dist/node/foundation/Analytics/hook.js +0 -11
- package/dist/node/foundation/Analytics/types.d.ts +0 -5
- package/dist/node/foundation/Analytics/utils.d.ts +0 -1
- package/dist/node/foundation/Analytics/utils.js +0 -12
- package/dist/node/foundation/AnalyticsErrorBoundary.client.d.ts +0 -4
- package/dist/node/foundation/AnalyticsErrorBoundary.client.js +0 -14
- package/dist/node/foundation/Redirect/Redirect.client.d.ts +0 -5
- package/dist/node/foundation/Redirect/Redirect.client.js +0 -18
- package/dist/node/foundation/Router/BrowserRouter.client.d.ts +0 -14
- package/dist/node/foundation/Router/BrowserRouter.client.js +0 -159
- package/dist/node/foundation/ServerPropsProvider/ServerPropsProvider.d.ts +0 -40
- package/dist/node/foundation/ServerPropsProvider/ServerPropsProvider.js +0 -90
- package/dist/node/foundation/ServerPropsProvider/index.d.ts +0 -2
- package/dist/node/foundation/ServerPropsProvider/index.js +0 -6
- package/dist/node/foundation/ServerRequestProvider/ServerRequestProvider.d.ts +0 -23
- package/dist/node/foundation/ServerRequestProvider/ServerRequestProvider.js +0 -158
- package/dist/node/foundation/ServerRequestProvider/index.d.ts +0 -1
- package/dist/node/foundation/ServerRequestProvider/index.js +0 -17
- package/dist/node/foundation/ShopifyProvider/types.d.ts +0 -13
- package/dist/node/foundation/ShopifyProvider/types.js +0 -2
- package/dist/node/foundation/session/session.d.ts +0 -27
- package/dist/node/foundation/session/session.js +0 -43
- package/dist/node/foundation/ssr-interop.d.ts +0 -29
- package/dist/node/foundation/ssr-interop.js +0 -39
- package/dist/node/foundation/useNavigate/useNavigate.d.ts +0 -13
- package/dist/node/foundation/useNavigate/useNavigate.js +0 -18
- package/dist/node/foundation/useServerProps/use-server-props.d.ts +0 -21
- package/dist/node/foundation/useServerProps/use-server-props.js +0 -40
- package/dist/node/framework/CachingStrategy/index.d.ts +0 -10
- package/dist/node/framework/CachingStrategy/index.js +0 -108
- package/dist/node/framework/Hydration/Html.js +0 -94
- package/dist/node/framework/Hydration/ServerComponentRequest.server.d.ts +0 -58
- package/dist/node/framework/Hydration/ServerComponentRequest.server.js +0 -150
- package/dist/node/framework/Hydration/ServerComponentResponse.server.d.ts +0 -26
- package/dist/node/framework/Hydration/ServerComponentResponse.server.js +0 -49
- package/dist/node/framework/Hydration/rsc.d.ts +0 -8
- package/dist/node/framework/Hydration/rsc.js +0 -103
- package/dist/node/framework/cache-sub-request.js +0 -95
- package/dist/node/framework/cache.d.ts +0 -17
- package/dist/node/framework/cache.js +0 -135
- package/dist/node/framework/config.d.ts +0 -6
- package/dist/node/framework/config.js +0 -11
- package/dist/node/framework/runtime.d.ts +0 -13
- package/dist/node/framework/runtime.js +0 -35
- package/dist/node/storefront-api-types.d.ts +0 -6405
- package/dist/node/storefront-api-types.js +0 -1766
- package/dist/node/streaming.server.d.ts +0 -26
- package/dist/node/streaming.server.js +0 -33
- package/dist/node/types.d.ts +0 -105
- package/dist/node/types.js +0 -2
- package/dist/node/utilities/apiRoutes.d.ts +0 -37
- package/dist/node/utilities/apiRoutes.js +0 -157
- package/dist/node/utilities/bot-ua.d.ts +0 -4
- package/dist/node/utilities/bot-ua.js +0 -65
- package/dist/node/utilities/defer.d.ts +0 -6
- package/dist/node/utilities/defer.js +0 -18
- package/dist/node/utilities/error.d.ts +0 -1
- package/dist/node/utilities/error.js +0 -10
- package/dist/node/utilities/fetch.d.ts +0 -9
- package/dist/node/utilities/fetch.js +0 -37
- package/dist/node/utilities/flattenConnection/flattenConnection.d.ts +0 -6
- package/dist/node/utilities/flattenConnection/flattenConnection.js +0 -15
- package/dist/node/utilities/flattenConnection/index.d.ts +0 -1
- package/dist/node/utilities/flattenConnection/index.js +0 -5
- package/dist/node/utilities/hash.d.ts +0 -2
- package/dist/node/utilities/hash.js +0 -11
- package/dist/node/utilities/html-encoding.d.ts +0 -1
- package/dist/node/utilities/html-encoding.js +0 -12
- package/dist/node/utilities/image_size.d.ts +0 -12
- package/dist/node/utilities/image_size.js +0 -68
- package/dist/node/utilities/index.d.ts +0 -12
- package/dist/node/utilities/index.js +0 -33
- package/dist/node/utilities/isClient/index.d.ts +0 -1
- package/dist/node/utilities/isClient/index.js +0 -5
- package/dist/node/utilities/isClient/isClient.d.ts +0 -4
- package/dist/node/utilities/isClient/isClient.js +0 -10
- package/dist/node/utilities/isServer/index.d.ts +0 -1
- package/dist/node/utilities/isServer/index.js +0 -5
- package/dist/node/utilities/isServer/isServer.d.ts +0 -4
- package/dist/node/utilities/isServer/isServer.js +0 -11
- package/dist/node/utilities/load_script.d.ts +0 -3
- package/dist/node/utilities/load_script.js +0 -27
- package/dist/node/utilities/log/index.d.ts +0 -4
- package/dist/node/utilities/log/index.js +0 -18
- package/dist/node/utilities/log/log-cache-api-status.d.ts +0 -1
- package/dist/node/utilities/log/log-cache-api-status.js +0 -17
- package/dist/node/utilities/log/log-cache-header.d.ts +0 -10
- package/dist/node/utilities/log/log-cache-header.js +0 -35
- package/dist/node/utilities/log/log-query-timeline.d.ts +0 -12
- package/dist/node/utilities/log/log-query-timeline.js +0 -88
- package/dist/node/utilities/log/log.d.ts +0 -22
- package/dist/node/utilities/log/log.js +0 -74
- package/dist/node/utilities/log/utils.d.ts +0 -3
- package/dist/node/utilities/log/utils.js +0 -21
- package/dist/node/utilities/matchPath.d.ts +0 -10
- package/dist/node/utilities/matchPath.js +0 -58
- package/dist/node/utilities/measurement.d.ts +0 -3
- package/dist/node/utilities/measurement.js +0 -103
- package/dist/node/utilities/parse.d.ts +0 -1
- package/dist/node/utilities/parse.js +0 -13
- package/dist/node/utilities/parseMetafieldValue/index.d.ts +0 -1
- package/dist/node/utilities/parseMetafieldValue/index.js +0 -5
- package/dist/node/utilities/parseMetafieldValue/parseMetafieldValue.d.ts +0 -6
- package/dist/node/utilities/parseMetafieldValue/parseMetafieldValue.js +0 -40
- package/dist/node/utilities/storefrontApi.d.ts +0 -4
- package/dist/node/utilities/storefrontApi.js +0 -26
- package/dist/node/utilities/suspense.d.ts +0 -12
- package/dist/node/utilities/suspense.js +0 -64
- package/dist/node/utilities/template.d.ts +0 -9
- package/dist/node/utilities/template.js +0 -27
- package/dist/node/utilities/timing.d.ts +0 -7
- package/dist/node/utilities/timing.js +0 -18
- package/dist/node/utilities/video_parameters.d.ts +0 -47
- package/dist/node/utilities/video_parameters.js +0 -27
- package/dist/node/version.d.ts +0 -1
- package/dist/node/version.js +0 -4
- package/entry-client.d.ts +0 -1
- package/entry-client.js +0 -1
- package/entry-server.d.ts +0 -1
- package/entry-server.js +0 -1
- package/middleware.d.ts +0 -1
- package/middleware.js +0 -1
- package/plugin.d.ts +0 -1
- package/plugin.js +0 -1
- package/web-polyfills.js +0 -1
|
@@ -147,11 +147,10 @@ export declare type Article = HasMetafields & Node & OnlineStorePublishable & {
|
|
|
147
147
|
/** Returns a metafield found by namespace and key. */
|
|
148
148
|
metafield?: Maybe<Metafield>;
|
|
149
149
|
/**
|
|
150
|
-
*
|
|
151
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
150
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
152
151
|
*
|
|
153
152
|
*/
|
|
154
|
-
metafields:
|
|
153
|
+
metafields: Array<Maybe<Metafield>>;
|
|
155
154
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
156
155
|
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
157
156
|
/** The date and time when the article was published. */
|
|
@@ -186,12 +185,7 @@ export declare type ArticleMetafieldArgs = {
|
|
|
186
185
|
};
|
|
187
186
|
/** An article in an online store blog. */
|
|
188
187
|
export declare type ArticleMetafieldsArgs = {
|
|
189
|
-
|
|
190
|
-
before?: InputMaybe<Scalars['String']>;
|
|
191
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
192
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
193
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
194
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
188
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
195
189
|
};
|
|
196
190
|
/** The author of an article. */
|
|
197
191
|
export declare type ArticleAuthor = {
|
|
@@ -316,11 +310,10 @@ export declare type Blog = HasMetafields & Node & OnlineStorePublishable & {
|
|
|
316
310
|
/** Returns a metafield found by namespace and key. */
|
|
317
311
|
metafield?: Maybe<Metafield>;
|
|
318
312
|
/**
|
|
319
|
-
*
|
|
320
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
313
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
321
314
|
*
|
|
322
315
|
*/
|
|
323
|
-
metafields:
|
|
316
|
+
metafields: Array<Maybe<Metafield>>;
|
|
324
317
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
325
318
|
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
326
319
|
/** The blog's SEO information. */
|
|
@@ -349,12 +342,7 @@ export declare type BlogMetafieldArgs = {
|
|
|
349
342
|
};
|
|
350
343
|
/** An online store blog. */
|
|
351
344
|
export declare type BlogMetafieldsArgs = {
|
|
352
|
-
|
|
353
|
-
before?: InputMaybe<Scalars['String']>;
|
|
354
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
355
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
356
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
357
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
345
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
358
346
|
};
|
|
359
347
|
/**
|
|
360
348
|
* An auto-generated type for paginating through multiple Blogs.
|
|
@@ -884,34 +872,6 @@ export declare type CheckoutLineItemsArgs = {
|
|
|
884
872
|
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
885
873
|
};
|
|
886
874
|
/** Specifies the fields required to update a checkout's attributes. */
|
|
887
|
-
export declare type CheckoutAttributesUpdateInput = {
|
|
888
|
-
/**
|
|
889
|
-
* Allows setting partial addresses on a Checkout, skipping the full validation of attributes.
|
|
890
|
-
* The required attributes are city, province, and country.
|
|
891
|
-
* Full validation of the addresses is still done at completion time. Defaults to `false` with
|
|
892
|
-
* each operation.
|
|
893
|
-
*
|
|
894
|
-
*/
|
|
895
|
-
allowPartialAddresses?: InputMaybe<Scalars['Boolean']>;
|
|
896
|
-
/** A list of extra information that is added to the checkout. */
|
|
897
|
-
customAttributes?: InputMaybe<Array<AttributeInput>>;
|
|
898
|
-
/** The text of an optional note that a shop owner can attach to the checkout. */
|
|
899
|
-
note?: InputMaybe<Scalars['String']>;
|
|
900
|
-
};
|
|
901
|
-
/** Return type for `checkoutAttributesUpdate` mutation. */
|
|
902
|
-
export declare type CheckoutAttributesUpdatePayload = {
|
|
903
|
-
__typename?: 'CheckoutAttributesUpdatePayload';
|
|
904
|
-
/** The updated checkout object. */
|
|
905
|
-
checkout: Checkout;
|
|
906
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
907
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
908
|
-
/**
|
|
909
|
-
* The list of errors that occurred from executing the mutation.
|
|
910
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
911
|
-
*/
|
|
912
|
-
userErrors: Array<UserError>;
|
|
913
|
-
};
|
|
914
|
-
/** Specifies the fields required to update a checkout's attributes. */
|
|
915
875
|
export declare type CheckoutAttributesUpdateV2Input = {
|
|
916
876
|
/**
|
|
917
877
|
* Allows setting partial addresses on a Checkout, skipping the full validation of attributes.
|
|
@@ -968,21 +928,6 @@ export declare type CheckoutCompleteFreePayload = {
|
|
|
968
928
|
*/
|
|
969
929
|
userErrors: Array<UserError>;
|
|
970
930
|
};
|
|
971
|
-
/** Return type for `checkoutCompleteWithCreditCard` mutation. */
|
|
972
|
-
export declare type CheckoutCompleteWithCreditCardPayload = {
|
|
973
|
-
__typename?: 'CheckoutCompleteWithCreditCardPayload';
|
|
974
|
-
/** The checkout on which the payment was applied. */
|
|
975
|
-
checkout: Checkout;
|
|
976
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
977
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
978
|
-
/** A representation of the attempted payment. */
|
|
979
|
-
payment?: Maybe<Payment>;
|
|
980
|
-
/**
|
|
981
|
-
* The list of errors that occurred from executing the mutation.
|
|
982
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
983
|
-
*/
|
|
984
|
-
userErrors: Array<UserError>;
|
|
985
|
-
};
|
|
986
931
|
/** Return type for `checkoutCompleteWithCreditCardV2` mutation. */
|
|
987
932
|
export declare type CheckoutCompleteWithCreditCardV2Payload = {
|
|
988
933
|
__typename?: 'CheckoutCompleteWithCreditCardV2Payload';
|
|
@@ -998,36 +943,6 @@ export declare type CheckoutCompleteWithCreditCardV2Payload = {
|
|
|
998
943
|
*/
|
|
999
944
|
userErrors: Array<UserError>;
|
|
1000
945
|
};
|
|
1001
|
-
/** Return type for `checkoutCompleteWithTokenizedPayment` mutation. */
|
|
1002
|
-
export declare type CheckoutCompleteWithTokenizedPaymentPayload = {
|
|
1003
|
-
__typename?: 'CheckoutCompleteWithTokenizedPaymentPayload';
|
|
1004
|
-
/** The checkout on which the payment was applied. */
|
|
1005
|
-
checkout: Checkout;
|
|
1006
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1007
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1008
|
-
/** A representation of the attempted payment. */
|
|
1009
|
-
payment?: Maybe<Payment>;
|
|
1010
|
-
/**
|
|
1011
|
-
* The list of errors that occurred from executing the mutation.
|
|
1012
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
1013
|
-
*/
|
|
1014
|
-
userErrors: Array<UserError>;
|
|
1015
|
-
};
|
|
1016
|
-
/** Return type for `checkoutCompleteWithTokenizedPaymentV2` mutation. */
|
|
1017
|
-
export declare type CheckoutCompleteWithTokenizedPaymentV2Payload = {
|
|
1018
|
-
__typename?: 'CheckoutCompleteWithTokenizedPaymentV2Payload';
|
|
1019
|
-
/** The checkout on which the payment was applied. */
|
|
1020
|
-
checkout?: Maybe<Checkout>;
|
|
1021
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1022
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1023
|
-
/** A representation of the attempted payment. */
|
|
1024
|
-
payment?: Maybe<Payment>;
|
|
1025
|
-
/**
|
|
1026
|
-
* The list of errors that occurred from executing the mutation.
|
|
1027
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
1028
|
-
*/
|
|
1029
|
-
userErrors: Array<UserError>;
|
|
1030
|
-
};
|
|
1031
946
|
/** Return type for `checkoutCompleteWithTokenizedPaymentV3` mutation. */
|
|
1032
947
|
export declare type CheckoutCompleteWithTokenizedPaymentV3Payload = {
|
|
1033
948
|
__typename?: 'CheckoutCompleteWithTokenizedPaymentV3Payload';
|
|
@@ -1087,16 +1002,6 @@ export declare type CheckoutCreatePayload = {
|
|
|
1087
1002
|
*/
|
|
1088
1003
|
userErrors: Array<UserError>;
|
|
1089
1004
|
};
|
|
1090
|
-
/** Return type for `checkoutCustomerAssociate` mutation. */
|
|
1091
|
-
export declare type CheckoutCustomerAssociatePayload = {
|
|
1092
|
-
__typename?: 'CheckoutCustomerAssociatePayload';
|
|
1093
|
-
/** The updated checkout object. */
|
|
1094
|
-
checkout: Checkout;
|
|
1095
|
-
/** The associated customer object. */
|
|
1096
|
-
customer?: Maybe<Customer>;
|
|
1097
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1098
|
-
userErrors: Array<UserError>;
|
|
1099
|
-
};
|
|
1100
1005
|
/** Return type for `checkoutCustomerAssociateV2` mutation. */
|
|
1101
1006
|
export declare type CheckoutCustomerAssociateV2Payload = {
|
|
1102
1007
|
__typename?: 'CheckoutCustomerAssociateV2Payload';
|
|
@@ -1112,19 +1017,6 @@ export declare type CheckoutCustomerAssociateV2Payload = {
|
|
|
1112
1017
|
*/
|
|
1113
1018
|
userErrors: Array<UserError>;
|
|
1114
1019
|
};
|
|
1115
|
-
/** Return type for `checkoutCustomerDisassociate` mutation. */
|
|
1116
|
-
export declare type CheckoutCustomerDisassociatePayload = {
|
|
1117
|
-
__typename?: 'CheckoutCustomerDisassociatePayload';
|
|
1118
|
-
/** The updated checkout object. */
|
|
1119
|
-
checkout: Checkout;
|
|
1120
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1121
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1122
|
-
/**
|
|
1123
|
-
* The list of errors that occurred from executing the mutation.
|
|
1124
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
1125
|
-
*/
|
|
1126
|
-
userErrors: Array<UserError>;
|
|
1127
|
-
};
|
|
1128
1020
|
/** Return type for `checkoutCustomerDisassociateV2` mutation. */
|
|
1129
1021
|
export declare type CheckoutCustomerDisassociateV2Payload = {
|
|
1130
1022
|
__typename?: 'CheckoutCustomerDisassociateV2Payload';
|
|
@@ -1138,19 +1030,6 @@ export declare type CheckoutCustomerDisassociateV2Payload = {
|
|
|
1138
1030
|
*/
|
|
1139
1031
|
userErrors: Array<UserError>;
|
|
1140
1032
|
};
|
|
1141
|
-
/** Return type for `checkoutDiscountCodeApply` mutation. */
|
|
1142
|
-
export declare type CheckoutDiscountCodeApplyPayload = {
|
|
1143
|
-
__typename?: 'CheckoutDiscountCodeApplyPayload';
|
|
1144
|
-
/** The updated checkout object. */
|
|
1145
|
-
checkout: Checkout;
|
|
1146
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1147
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1148
|
-
/**
|
|
1149
|
-
* The list of errors that occurred from executing the mutation.
|
|
1150
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
1151
|
-
*/
|
|
1152
|
-
userErrors: Array<UserError>;
|
|
1153
|
-
};
|
|
1154
1033
|
/** Return type for `checkoutDiscountCodeApplyV2` mutation. */
|
|
1155
1034
|
export declare type CheckoutDiscountCodeApplyV2Payload = {
|
|
1156
1035
|
__typename?: 'CheckoutDiscountCodeApplyV2Payload';
|
|
@@ -1177,19 +1056,6 @@ export declare type CheckoutDiscountCodeRemovePayload = {
|
|
|
1177
1056
|
*/
|
|
1178
1057
|
userErrors: Array<UserError>;
|
|
1179
1058
|
};
|
|
1180
|
-
/** Return type for `checkoutEmailUpdate` mutation. */
|
|
1181
|
-
export declare type CheckoutEmailUpdatePayload = {
|
|
1182
|
-
__typename?: 'CheckoutEmailUpdatePayload';
|
|
1183
|
-
/** The checkout object with the updated email. */
|
|
1184
|
-
checkout: Checkout;
|
|
1185
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1186
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1187
|
-
/**
|
|
1188
|
-
* The list of errors that occurred from executing the mutation.
|
|
1189
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
1190
|
-
*/
|
|
1191
|
-
userErrors: Array<UserError>;
|
|
1192
|
-
};
|
|
1193
1059
|
/** Return type for `checkoutEmailUpdateV2` mutation. */
|
|
1194
1060
|
export declare type CheckoutEmailUpdateV2Payload = {
|
|
1195
1061
|
__typename?: 'CheckoutEmailUpdateV2Payload';
|
|
@@ -1290,32 +1156,6 @@ export declare enum CheckoutErrorCode {
|
|
|
1290
1156
|
/** Unable to apply discount. */
|
|
1291
1157
|
UnableToApply = "UNABLE_TO_APPLY"
|
|
1292
1158
|
}
|
|
1293
|
-
/** Return type for `checkoutGiftCardApply` mutation. */
|
|
1294
|
-
export declare type CheckoutGiftCardApplyPayload = {
|
|
1295
|
-
__typename?: 'CheckoutGiftCardApplyPayload';
|
|
1296
|
-
/** The updated checkout object. */
|
|
1297
|
-
checkout: Checkout;
|
|
1298
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1299
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1300
|
-
/**
|
|
1301
|
-
* The list of errors that occurred from executing the mutation.
|
|
1302
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
1303
|
-
*/
|
|
1304
|
-
userErrors: Array<UserError>;
|
|
1305
|
-
};
|
|
1306
|
-
/** Return type for `checkoutGiftCardRemove` mutation. */
|
|
1307
|
-
export declare type CheckoutGiftCardRemovePayload = {
|
|
1308
|
-
__typename?: 'CheckoutGiftCardRemovePayload';
|
|
1309
|
-
/** The updated checkout object. */
|
|
1310
|
-
checkout: Checkout;
|
|
1311
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1312
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1313
|
-
/**
|
|
1314
|
-
* The list of errors that occurred from executing the mutation.
|
|
1315
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
1316
|
-
*/
|
|
1317
|
-
userErrors: Array<UserError>;
|
|
1318
|
-
};
|
|
1319
1159
|
/** Return type for `checkoutGiftCardRemoveV2` mutation. */
|
|
1320
1160
|
export declare type CheckoutGiftCardRemoveV2Payload = {
|
|
1321
1161
|
__typename?: 'CheckoutGiftCardRemoveV2Payload';
|
|
@@ -1451,19 +1291,6 @@ export declare type CheckoutLineItemsUpdatePayload = {
|
|
|
1451
1291
|
*/
|
|
1452
1292
|
userErrors: Array<UserError>;
|
|
1453
1293
|
};
|
|
1454
|
-
/** Return type for `checkoutShippingAddressUpdate` mutation. */
|
|
1455
|
-
export declare type CheckoutShippingAddressUpdatePayload = {
|
|
1456
|
-
__typename?: 'CheckoutShippingAddressUpdatePayload';
|
|
1457
|
-
/** The updated checkout object. */
|
|
1458
|
-
checkout: Checkout;
|
|
1459
|
-
/** The list of errors that occurred from executing the mutation. */
|
|
1460
|
-
checkoutUserErrors: Array<CheckoutUserError>;
|
|
1461
|
-
/**
|
|
1462
|
-
* The list of errors that occurred from executing the mutation.
|
|
1463
|
-
* @deprecated Use `checkoutUserErrors` instead
|
|
1464
|
-
*/
|
|
1465
|
-
userErrors: Array<UserError>;
|
|
1466
|
-
};
|
|
1467
1294
|
/** Return type for `checkoutShippingAddressUpdateV2` mutation. */
|
|
1468
1295
|
export declare type CheckoutShippingAddressUpdateV2Payload = {
|
|
1469
1296
|
__typename?: 'CheckoutShippingAddressUpdateV2Payload';
|
|
@@ -1520,11 +1347,10 @@ export declare type Collection = HasMetafields & Node & OnlineStorePublishable &
|
|
|
1520
1347
|
/** Returns a metafield found by namespace and key. */
|
|
1521
1348
|
metafield?: Maybe<Metafield>;
|
|
1522
1349
|
/**
|
|
1523
|
-
*
|
|
1524
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
1350
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
1525
1351
|
*
|
|
1526
1352
|
*/
|
|
1527
|
-
metafields:
|
|
1353
|
+
metafields: Array<Maybe<Metafield>>;
|
|
1528
1354
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
1529
1355
|
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
1530
1356
|
/** List of products in the collection. */
|
|
@@ -1547,12 +1373,7 @@ export declare type CollectionMetafieldArgs = {
|
|
|
1547
1373
|
};
|
|
1548
1374
|
/** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */
|
|
1549
1375
|
export declare type CollectionMetafieldsArgs = {
|
|
1550
|
-
|
|
1551
|
-
before?: InputMaybe<Scalars['String']>;
|
|
1552
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
1553
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
1554
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
1555
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
1376
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
1556
1377
|
};
|
|
1557
1378
|
/** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */
|
|
1558
1379
|
export declare type CollectionProductsArgs = {
|
|
@@ -2184,23 +2005,6 @@ export declare type CreditCard = {
|
|
|
2184
2005
|
/** The masked credit card number with only the last 4 digits displayed. */
|
|
2185
2006
|
maskedNumber?: Maybe<Scalars['String']>;
|
|
2186
2007
|
};
|
|
2187
|
-
/**
|
|
2188
|
-
* Specifies the fields required to complete a checkout with
|
|
2189
|
-
* a Shopify vaulted credit card payment.
|
|
2190
|
-
*
|
|
2191
|
-
*/
|
|
2192
|
-
export declare type CreditCardPaymentInput = {
|
|
2193
|
-
/** The amount of the payment. */
|
|
2194
|
-
amount: Scalars['Money'];
|
|
2195
|
-
/** The billing address for the payment. */
|
|
2196
|
-
billingAddress: MailingAddressInput;
|
|
2197
|
-
/** A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). */
|
|
2198
|
-
idempotencyKey: Scalars['String'];
|
|
2199
|
-
/** Executes the payment in test mode if possible. Defaults to `false`. */
|
|
2200
|
-
test?: InputMaybe<Scalars['Boolean']>;
|
|
2201
|
-
/** The ID returned by Shopify's Card Vault. */
|
|
2202
|
-
vaultId: Scalars['String'];
|
|
2203
|
-
};
|
|
2204
2008
|
/**
|
|
2205
2009
|
* Specifies the fields required to complete a checkout with
|
|
2206
2010
|
* a Shopify vaulted credit card payment.
|
|
@@ -2596,11 +2400,10 @@ export declare type Customer = HasMetafields & {
|
|
|
2596
2400
|
/** Returns a metafield found by namespace and key. */
|
|
2597
2401
|
metafield?: Maybe<Metafield>;
|
|
2598
2402
|
/**
|
|
2599
|
-
*
|
|
2600
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
2403
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
2601
2404
|
*
|
|
2602
2405
|
*/
|
|
2603
|
-
metafields:
|
|
2406
|
+
metafields: Array<Maybe<Metafield>>;
|
|
2604
2407
|
/** The orders associated with the customer. */
|
|
2605
2408
|
orders: OrderConnection;
|
|
2606
2409
|
/** The customer’s phone number. */
|
|
@@ -2629,12 +2432,7 @@ export declare type CustomerMetafieldArgs = {
|
|
|
2629
2432
|
};
|
|
2630
2433
|
/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */
|
|
2631
2434
|
export declare type CustomerMetafieldsArgs = {
|
|
2632
|
-
|
|
2633
|
-
before?: InputMaybe<Scalars['String']>;
|
|
2634
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
2635
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
2636
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
2637
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
2435
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
2638
2436
|
};
|
|
2639
2437
|
/** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */
|
|
2640
2438
|
export declare type CustomerOrdersArgs = {
|
|
@@ -3255,11 +3053,10 @@ export declare type HasMetafields = {
|
|
|
3255
3053
|
/** Returns a metafield found by namespace and key. */
|
|
3256
3054
|
metafield?: Maybe<Metafield>;
|
|
3257
3055
|
/**
|
|
3258
|
-
*
|
|
3259
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
3056
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
3260
3057
|
*
|
|
3261
3058
|
*/
|
|
3262
|
-
metafields:
|
|
3059
|
+
metafields: Array<Maybe<Metafield>>;
|
|
3263
3060
|
};
|
|
3264
3061
|
/** Represents information about the metafields associated to the specified resource. */
|
|
3265
3062
|
export declare type HasMetafieldsMetafieldArgs = {
|
|
@@ -3268,12 +3065,14 @@ export declare type HasMetafieldsMetafieldArgs = {
|
|
|
3268
3065
|
};
|
|
3269
3066
|
/** Represents information about the metafields associated to the specified resource. */
|
|
3270
3067
|
export declare type HasMetafieldsMetafieldsArgs = {
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3068
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
3069
|
+
};
|
|
3070
|
+
/** Identifies a metafield on an owner resource by namespace and key. */
|
|
3071
|
+
export declare type HasMetafieldsIdentifier = {
|
|
3072
|
+
/** The identifier for the metafield. */
|
|
3073
|
+
key: Scalars['String'];
|
|
3074
|
+
/** A container for a set of metafields. */
|
|
3075
|
+
namespace: Scalars['String'];
|
|
3277
3076
|
};
|
|
3278
3077
|
/** Represents an image resource. */
|
|
3279
3078
|
export declare type Image = {
|
|
@@ -4102,30 +3901,6 @@ export declare type Metafield = Node & {
|
|
|
4102
3901
|
/** The value of a metafield. */
|
|
4103
3902
|
value: Scalars['String'];
|
|
4104
3903
|
};
|
|
4105
|
-
/**
|
|
4106
|
-
* An auto-generated type for paginating through multiple Metafields.
|
|
4107
|
-
*
|
|
4108
|
-
*/
|
|
4109
|
-
export declare type MetafieldConnection = {
|
|
4110
|
-
__typename?: 'MetafieldConnection';
|
|
4111
|
-
/** A list of edges. */
|
|
4112
|
-
edges: Array<MetafieldEdge>;
|
|
4113
|
-
/** A list of the nodes contained in MetafieldEdge. */
|
|
4114
|
-
nodes: Array<Metafield>;
|
|
4115
|
-
/** Information to aid in pagination. */
|
|
4116
|
-
pageInfo: PageInfo;
|
|
4117
|
-
};
|
|
4118
|
-
/**
|
|
4119
|
-
* An auto-generated type which holds one Metafield and a cursor during pagination.
|
|
4120
|
-
*
|
|
4121
|
-
*/
|
|
4122
|
-
export declare type MetafieldEdge = {
|
|
4123
|
-
__typename?: 'MetafieldEdge';
|
|
4124
|
-
/** A cursor for use in pagination. */
|
|
4125
|
-
cursor: Scalars['String'];
|
|
4126
|
-
/** The item at the end of MetafieldEdge. */
|
|
4127
|
-
node: Metafield;
|
|
4128
|
-
};
|
|
4129
3904
|
/**
|
|
4130
3905
|
* A filter used to view a subset of products in a collection matching a specific metafield value.
|
|
4131
3906
|
*
|
|
@@ -4220,76 +3995,26 @@ export declare type Mutation = {
|
|
|
4220
3995
|
cartLinesUpdate?: Maybe<CartLinesUpdatePayload>;
|
|
4221
3996
|
/** Updates the note on the cart. */
|
|
4222
3997
|
cartNoteUpdate?: Maybe<CartNoteUpdatePayload>;
|
|
4223
|
-
/**
|
|
4224
|
-
* Updates the attributes of a checkout if `allowPartialAddresses` is `true`.
|
|
4225
|
-
* @deprecated Use `checkoutAttributesUpdateV2` instead
|
|
4226
|
-
*/
|
|
4227
|
-
checkoutAttributesUpdate?: Maybe<CheckoutAttributesUpdatePayload>;
|
|
4228
3998
|
/** Updates the attributes of a checkout if `allowPartialAddresses` is `true`. */
|
|
4229
3999
|
checkoutAttributesUpdateV2?: Maybe<CheckoutAttributesUpdateV2Payload>;
|
|
4230
4000
|
/** Completes a checkout without providing payment information. You can use this mutation for free items or items whose purchase price is covered by a gift card. */
|
|
4231
4001
|
checkoutCompleteFree?: Maybe<CheckoutCompleteFreePayload>;
|
|
4232
|
-
/**
|
|
4233
|
-
* Completes a checkout using a credit card token from Shopify's Vault.
|
|
4234
|
-
* @deprecated Use `checkoutCompleteWithCreditCardV2` instead
|
|
4235
|
-
*/
|
|
4236
|
-
checkoutCompleteWithCreditCard?: Maybe<CheckoutCompleteWithCreditCardPayload>;
|
|
4237
4002
|
/** Completes a checkout using a credit card token from Shopify's card vault. Before you can complete checkouts using CheckoutCompleteWithCreditCardV2, you need to [_request payment processing_](https://shopify.dev/apps/channels/getting-started#request-payment-processing). */
|
|
4238
4003
|
checkoutCompleteWithCreditCardV2?: Maybe<CheckoutCompleteWithCreditCardV2Payload>;
|
|
4239
|
-
/**
|
|
4240
|
-
* Completes a checkout with a tokenized payment.
|
|
4241
|
-
* @deprecated Use `checkoutCompleteWithTokenizedPaymentV2` instead
|
|
4242
|
-
*/
|
|
4243
|
-
checkoutCompleteWithTokenizedPayment?: Maybe<CheckoutCompleteWithTokenizedPaymentPayload>;
|
|
4244
|
-
/**
|
|
4245
|
-
* Completes a checkout with a tokenized payment.
|
|
4246
|
-
* @deprecated Use `checkoutCompleteWithTokenizedPaymentV3` instead
|
|
4247
|
-
*/
|
|
4248
|
-
checkoutCompleteWithTokenizedPaymentV2?: Maybe<CheckoutCompleteWithTokenizedPaymentV2Payload>;
|
|
4249
4004
|
/** Completes a checkout with a tokenized payment. */
|
|
4250
4005
|
checkoutCompleteWithTokenizedPaymentV3?: Maybe<CheckoutCompleteWithTokenizedPaymentV3Payload>;
|
|
4251
4006
|
/** Creates a new checkout. */
|
|
4252
4007
|
checkoutCreate?: Maybe<CheckoutCreatePayload>;
|
|
4253
|
-
/**
|
|
4254
|
-
* Associates a customer to the checkout.
|
|
4255
|
-
* @deprecated Use `checkoutCustomerAssociateV2` instead
|
|
4256
|
-
*/
|
|
4257
|
-
checkoutCustomerAssociate?: Maybe<CheckoutCustomerAssociatePayload>;
|
|
4258
4008
|
/** Associates a customer to the checkout. */
|
|
4259
4009
|
checkoutCustomerAssociateV2?: Maybe<CheckoutCustomerAssociateV2Payload>;
|
|
4260
|
-
/**
|
|
4261
|
-
* Disassociates the current checkout customer from the checkout.
|
|
4262
|
-
* @deprecated Use `checkoutCustomerDisassociateV2` instead
|
|
4263
|
-
*/
|
|
4264
|
-
checkoutCustomerDisassociate?: Maybe<CheckoutCustomerDisassociatePayload>;
|
|
4265
4010
|
/** Disassociates the current checkout customer from the checkout. */
|
|
4266
4011
|
checkoutCustomerDisassociateV2?: Maybe<CheckoutCustomerDisassociateV2Payload>;
|
|
4267
|
-
/**
|
|
4268
|
-
* Applies a discount to an existing checkout using a discount code.
|
|
4269
|
-
* @deprecated Use `checkoutDiscountCodeApplyV2` instead
|
|
4270
|
-
*/
|
|
4271
|
-
checkoutDiscountCodeApply?: Maybe<CheckoutDiscountCodeApplyPayload>;
|
|
4272
4012
|
/** Applies a discount to an existing checkout using a discount code. */
|
|
4273
4013
|
checkoutDiscountCodeApplyV2?: Maybe<CheckoutDiscountCodeApplyV2Payload>;
|
|
4274
4014
|
/** Removes the applied discounts from an existing checkout. */
|
|
4275
4015
|
checkoutDiscountCodeRemove?: Maybe<CheckoutDiscountCodeRemovePayload>;
|
|
4276
|
-
/**
|
|
4277
|
-
* Updates the email on an existing checkout.
|
|
4278
|
-
* @deprecated Use `checkoutEmailUpdateV2` instead
|
|
4279
|
-
*/
|
|
4280
|
-
checkoutEmailUpdate?: Maybe<CheckoutEmailUpdatePayload>;
|
|
4281
4016
|
/** Updates the email on an existing checkout. */
|
|
4282
4017
|
checkoutEmailUpdateV2?: Maybe<CheckoutEmailUpdateV2Payload>;
|
|
4283
|
-
/**
|
|
4284
|
-
* Applies a gift card to an existing checkout using a gift card code. This will replace all currently applied gift cards.
|
|
4285
|
-
* @deprecated Use `checkoutGiftCardsAppend` instead
|
|
4286
|
-
*/
|
|
4287
|
-
checkoutGiftCardApply?: Maybe<CheckoutGiftCardApplyPayload>;
|
|
4288
|
-
/**
|
|
4289
|
-
* Removes an applied gift card from the checkout.
|
|
4290
|
-
* @deprecated Use `checkoutGiftCardRemoveV2` instead
|
|
4291
|
-
*/
|
|
4292
|
-
checkoutGiftCardRemove?: Maybe<CheckoutGiftCardRemovePayload>;
|
|
4293
4018
|
/** Removes an applied gift card from the checkout. */
|
|
4294
4019
|
checkoutGiftCardRemoveV2?: Maybe<CheckoutGiftCardRemoveV2Payload>;
|
|
4295
4020
|
/** Appends gift cards to an existing checkout. */
|
|
@@ -4302,11 +4027,6 @@ export declare type Mutation = {
|
|
|
4302
4027
|
checkoutLineItemsReplace?: Maybe<CheckoutLineItemsReplacePayload>;
|
|
4303
4028
|
/** Updates line items on a checkout. */
|
|
4304
4029
|
checkoutLineItemsUpdate?: Maybe<CheckoutLineItemsUpdatePayload>;
|
|
4305
|
-
/**
|
|
4306
|
-
* Updates the shipping address of an existing checkout.
|
|
4307
|
-
* @deprecated Use `checkoutShippingAddressUpdateV2` instead
|
|
4308
|
-
*/
|
|
4309
|
-
checkoutShippingAddressUpdate?: Maybe<CheckoutShippingAddressUpdatePayload>;
|
|
4310
4030
|
/** Updates the shipping address of an existing checkout. */
|
|
4311
4031
|
checkoutShippingAddressUpdateV2?: Maybe<CheckoutShippingAddressUpdateV2Payload>;
|
|
4312
4032
|
/** Updates the shipping lines on an existing checkout. */
|
|
@@ -4397,11 +4117,6 @@ export declare type MutationCartNoteUpdateArgs = {
|
|
|
4397
4117
|
note?: InputMaybe<Scalars['String']>;
|
|
4398
4118
|
};
|
|
4399
4119
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4400
|
-
export declare type MutationCheckoutAttributesUpdateArgs = {
|
|
4401
|
-
checkoutId: Scalars['ID'];
|
|
4402
|
-
input: CheckoutAttributesUpdateInput;
|
|
4403
|
-
};
|
|
4404
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4405
4120
|
export declare type MutationCheckoutAttributesUpdateV2Args = {
|
|
4406
4121
|
checkoutId: Scalars['ID'];
|
|
4407
4122
|
input: CheckoutAttributesUpdateV2Input;
|
|
@@ -4411,26 +4126,11 @@ export declare type MutationCheckoutCompleteFreeArgs = {
|
|
|
4411
4126
|
checkoutId: Scalars['ID'];
|
|
4412
4127
|
};
|
|
4413
4128
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4414
|
-
export declare type MutationCheckoutCompleteWithCreditCardArgs = {
|
|
4415
|
-
checkoutId: Scalars['ID'];
|
|
4416
|
-
payment: CreditCardPaymentInput;
|
|
4417
|
-
};
|
|
4418
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4419
4129
|
export declare type MutationCheckoutCompleteWithCreditCardV2Args = {
|
|
4420
4130
|
checkoutId: Scalars['ID'];
|
|
4421
4131
|
payment: CreditCardPaymentInputV2;
|
|
4422
4132
|
};
|
|
4423
4133
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4424
|
-
export declare type MutationCheckoutCompleteWithTokenizedPaymentArgs = {
|
|
4425
|
-
checkoutId: Scalars['ID'];
|
|
4426
|
-
payment: TokenizedPaymentInput;
|
|
4427
|
-
};
|
|
4428
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4429
|
-
export declare type MutationCheckoutCompleteWithTokenizedPaymentV2Args = {
|
|
4430
|
-
checkoutId: Scalars['ID'];
|
|
4431
|
-
payment: TokenizedPaymentInputV2;
|
|
4432
|
-
};
|
|
4433
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4434
4134
|
export declare type MutationCheckoutCompleteWithTokenizedPaymentV3Args = {
|
|
4435
4135
|
checkoutId: Scalars['ID'];
|
|
4436
4136
|
payment: TokenizedPaymentInputV3;
|
|
@@ -4441,29 +4141,15 @@ export declare type MutationCheckoutCreateArgs = {
|
|
|
4441
4141
|
queueToken?: InputMaybe<Scalars['String']>;
|
|
4442
4142
|
};
|
|
4443
4143
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4444
|
-
export declare type MutationCheckoutCustomerAssociateArgs = {
|
|
4445
|
-
checkoutId: Scalars['ID'];
|
|
4446
|
-
customerAccessToken: Scalars['String'];
|
|
4447
|
-
};
|
|
4448
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4449
4144
|
export declare type MutationCheckoutCustomerAssociateV2Args = {
|
|
4450
4145
|
checkoutId: Scalars['ID'];
|
|
4451
4146
|
customerAccessToken: Scalars['String'];
|
|
4452
4147
|
};
|
|
4453
4148
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4454
|
-
export declare type MutationCheckoutCustomerDisassociateArgs = {
|
|
4455
|
-
checkoutId: Scalars['ID'];
|
|
4456
|
-
};
|
|
4457
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4458
4149
|
export declare type MutationCheckoutCustomerDisassociateV2Args = {
|
|
4459
4150
|
checkoutId: Scalars['ID'];
|
|
4460
4151
|
};
|
|
4461
4152
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4462
|
-
export declare type MutationCheckoutDiscountCodeApplyArgs = {
|
|
4463
|
-
checkoutId: Scalars['ID'];
|
|
4464
|
-
discountCode: Scalars['String'];
|
|
4465
|
-
};
|
|
4466
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4467
4153
|
export declare type MutationCheckoutDiscountCodeApplyV2Args = {
|
|
4468
4154
|
checkoutId: Scalars['ID'];
|
|
4469
4155
|
discountCode: Scalars['String'];
|
|
@@ -4473,26 +4159,11 @@ export declare type MutationCheckoutDiscountCodeRemoveArgs = {
|
|
|
4473
4159
|
checkoutId: Scalars['ID'];
|
|
4474
4160
|
};
|
|
4475
4161
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4476
|
-
export declare type MutationCheckoutEmailUpdateArgs = {
|
|
4477
|
-
checkoutId: Scalars['ID'];
|
|
4478
|
-
email: Scalars['String'];
|
|
4479
|
-
};
|
|
4480
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4481
4162
|
export declare type MutationCheckoutEmailUpdateV2Args = {
|
|
4482
4163
|
checkoutId: Scalars['ID'];
|
|
4483
4164
|
email: Scalars['String'];
|
|
4484
4165
|
};
|
|
4485
4166
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4486
|
-
export declare type MutationCheckoutGiftCardApplyArgs = {
|
|
4487
|
-
checkoutId: Scalars['ID'];
|
|
4488
|
-
giftCardCode: Scalars['String'];
|
|
4489
|
-
};
|
|
4490
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4491
|
-
export declare type MutationCheckoutGiftCardRemoveArgs = {
|
|
4492
|
-
appliedGiftCardId: Scalars['ID'];
|
|
4493
|
-
checkoutId: Scalars['ID'];
|
|
4494
|
-
};
|
|
4495
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4496
4167
|
export declare type MutationCheckoutGiftCardRemoveV2Args = {
|
|
4497
4168
|
appliedGiftCardId: Scalars['ID'];
|
|
4498
4169
|
checkoutId: Scalars['ID'];
|
|
@@ -4523,11 +4194,6 @@ export declare type MutationCheckoutLineItemsUpdateArgs = {
|
|
|
4523
4194
|
lineItems: Array<CheckoutLineItemUpdateInput>;
|
|
4524
4195
|
};
|
|
4525
4196
|
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4526
|
-
export declare type MutationCheckoutShippingAddressUpdateArgs = {
|
|
4527
|
-
checkoutId: Scalars['ID'];
|
|
4528
|
-
shippingAddress: MailingAddressInput;
|
|
4529
|
-
};
|
|
4530
|
-
/** The schema’s entry-point for mutations. This acts as the public, top-level API from which all mutation queries must start. */
|
|
4531
4197
|
export declare type MutationCheckoutShippingAddressUpdateV2Args = {
|
|
4532
4198
|
checkoutId: Scalars['ID'];
|
|
4533
4199
|
shippingAddress: MailingAddressInput;
|
|
@@ -4661,11 +4327,10 @@ export declare type Order = HasMetafields & Node & {
|
|
|
4661
4327
|
/** Returns a metafield found by namespace and key. */
|
|
4662
4328
|
metafield?: Maybe<Metafield>;
|
|
4663
4329
|
/**
|
|
4664
|
-
*
|
|
4665
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
4330
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
4666
4331
|
*
|
|
4667
4332
|
*/
|
|
4668
|
-
metafields:
|
|
4333
|
+
metafields: Array<Maybe<Metafield>>;
|
|
4669
4334
|
/**
|
|
4670
4335
|
* Unique identifier for the order that appears on the order.
|
|
4671
4336
|
* For example, _#1000_ or _Store1001.
|
|
@@ -4757,12 +4422,7 @@ export declare type OrderMetafieldArgs = {
|
|
|
4757
4422
|
};
|
|
4758
4423
|
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
4759
4424
|
export declare type OrderMetafieldsArgs = {
|
|
4760
|
-
|
|
4761
|
-
before?: InputMaybe<Scalars['String']>;
|
|
4762
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
4763
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
4764
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
4765
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
4425
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
4766
4426
|
};
|
|
4767
4427
|
/** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
|
|
4768
4428
|
export declare type OrderSuccessfulFulfillmentsArgs = {
|
|
@@ -4918,11 +4578,10 @@ export declare type Page = HasMetafields & Node & OnlineStorePublishable & {
|
|
|
4918
4578
|
/** Returns a metafield found by namespace and key. */
|
|
4919
4579
|
metafield?: Maybe<Metafield>;
|
|
4920
4580
|
/**
|
|
4921
|
-
*
|
|
4922
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
4581
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
4923
4582
|
*
|
|
4924
4583
|
*/
|
|
4925
|
-
metafields:
|
|
4584
|
+
metafields: Array<Maybe<Metafield>>;
|
|
4926
4585
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
4927
4586
|
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
4928
4587
|
/** The page's SEO information. */
|
|
@@ -4939,12 +4598,7 @@ export declare type PageMetafieldArgs = {
|
|
|
4939
4598
|
};
|
|
4940
4599
|
/** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */
|
|
4941
4600
|
export declare type PageMetafieldsArgs = {
|
|
4942
|
-
|
|
4943
|
-
before?: InputMaybe<Scalars['String']>;
|
|
4944
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
4945
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
4946
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
4947
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
4601
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
4948
4602
|
};
|
|
4949
4603
|
/**
|
|
4950
4604
|
* An auto-generated type for paginating through multiple Pages.
|
|
@@ -5123,11 +4777,10 @@ export declare type Product = HasMetafields & Node & OnlineStorePublishable & {
|
|
|
5123
4777
|
/** Returns a metafield found by namespace and key. */
|
|
5124
4778
|
metafield?: Maybe<Metafield>;
|
|
5125
4779
|
/**
|
|
5126
|
-
*
|
|
5127
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
4780
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
5128
4781
|
*
|
|
5129
4782
|
*/
|
|
5130
|
-
metafields:
|
|
4783
|
+
metafields: Array<Maybe<Metafield>>;
|
|
5131
4784
|
/** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
|
|
5132
4785
|
onlineStoreUrl?: Maybe<Scalars['URL']>;
|
|
5133
4786
|
/** List of product options. */
|
|
@@ -5229,12 +4882,7 @@ export declare type ProductMetafieldArgs = {
|
|
|
5229
4882
|
* For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty).
|
|
5230
4883
|
*/
|
|
5231
4884
|
export declare type ProductMetafieldsArgs = {
|
|
5232
|
-
|
|
5233
|
-
before?: InputMaybe<Scalars['String']>;
|
|
5234
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
5235
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
5236
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
5237
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
4885
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
5238
4886
|
};
|
|
5239
4887
|
/**
|
|
5240
4888
|
* A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
|
|
@@ -5441,11 +5089,10 @@ export declare type ProductVariant = HasMetafields & Node & {
|
|
|
5441
5089
|
/** Returns a metafield found by namespace and key. */
|
|
5442
5090
|
metafield?: Maybe<Metafield>;
|
|
5443
5091
|
/**
|
|
5444
|
-
*
|
|
5445
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
5092
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
5446
5093
|
*
|
|
5447
5094
|
*/
|
|
5448
|
-
metafields:
|
|
5095
|
+
metafields: Array<Maybe<Metafield>>;
|
|
5449
5096
|
/**
|
|
5450
5097
|
* The product variant’s price.
|
|
5451
5098
|
* @deprecated Use `priceV2` instead
|
|
@@ -5485,12 +5132,7 @@ export declare type ProductVariantMetafieldArgs = {
|
|
|
5485
5132
|
};
|
|
5486
5133
|
/** A product variant represents a different version of a product, such as differing sizes or differing colors. */
|
|
5487
5134
|
export declare type ProductVariantMetafieldsArgs = {
|
|
5488
|
-
|
|
5489
|
-
before?: InputMaybe<Scalars['String']>;
|
|
5490
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
5491
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
5492
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
5493
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
5135
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
5494
5136
|
};
|
|
5495
5137
|
/** A product variant represents a different version of a product, such as differing sizes or differing colors. */
|
|
5496
5138
|
export declare type ProductVariantSellingPlanAllocationsArgs = {
|
|
@@ -6009,11 +5651,10 @@ export declare type Shop = HasMetafields & Node & {
|
|
|
6009
5651
|
/** Returns a metafield found by namespace and key. */
|
|
6010
5652
|
metafield?: Maybe<Metafield>;
|
|
6011
5653
|
/**
|
|
6012
|
-
*
|
|
6013
|
-
* @deprecated The `metafields` field will be removed in the future in favor of using [aliases](https://graphql.org/learn/queries/#aliases) with the `metafield` field.
|
|
5654
|
+
* The metafields associated with the resource matching the supplied list of namespaces and keys.
|
|
6014
5655
|
*
|
|
6015
5656
|
*/
|
|
6016
|
-
metafields:
|
|
5657
|
+
metafields: Array<Maybe<Metafield>>;
|
|
6017
5658
|
/** A string representing the way currency is formatted when the currency isn’t specified. */
|
|
6018
5659
|
moneyFormat: Scalars['String'];
|
|
6019
5660
|
/** The shop’s name. */
|
|
@@ -6042,12 +5683,7 @@ export declare type ShopMetafieldArgs = {
|
|
|
6042
5683
|
};
|
|
6043
5684
|
/** Shop represents a collection of the general settings and information about the shop. */
|
|
6044
5685
|
export declare type ShopMetafieldsArgs = {
|
|
6045
|
-
|
|
6046
|
-
before?: InputMaybe<Scalars['String']>;
|
|
6047
|
-
first?: InputMaybe<Scalars['Int']>;
|
|
6048
|
-
last?: InputMaybe<Scalars['Int']>;
|
|
6049
|
-
namespace?: InputMaybe<Scalars['String']>;
|
|
6050
|
-
reverse?: InputMaybe<Scalars['Boolean']>;
|
|
5686
|
+
identifiers: Array<HasMetafieldsIdentifier>;
|
|
6051
5687
|
};
|
|
6052
5688
|
/** Policy that a merchant has configured for their store, such as their refund or privacy policy. */
|
|
6053
5689
|
export declare type ShopPolicy = Node & {
|
|
@@ -6142,48 +5778,6 @@ export declare type StringEdge = {
|
|
|
6142
5778
|
/** The item at the end of StringEdge. */
|
|
6143
5779
|
node: Scalars['String'];
|
|
6144
5780
|
};
|
|
6145
|
-
/**
|
|
6146
|
-
* Specifies the fields required to complete a checkout with
|
|
6147
|
-
* a tokenized payment.
|
|
6148
|
-
*
|
|
6149
|
-
*/
|
|
6150
|
-
export declare type TokenizedPaymentInput = {
|
|
6151
|
-
/** The amount of the payment. */
|
|
6152
|
-
amount: Scalars['Money'];
|
|
6153
|
-
/** The billing address for the payment. */
|
|
6154
|
-
billingAddress: MailingAddressInput;
|
|
6155
|
-
/** A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). */
|
|
6156
|
-
idempotencyKey: Scalars['String'];
|
|
6157
|
-
/** Public Hash Key used for AndroidPay payments only. */
|
|
6158
|
-
identifier?: InputMaybe<Scalars['String']>;
|
|
6159
|
-
/** A simple string or JSON containing the required payment data for the tokenized payment. */
|
|
6160
|
-
paymentData: Scalars['String'];
|
|
6161
|
-
/** Executes the payment in test mode if possible. Defaults to `false`. */
|
|
6162
|
-
test?: InputMaybe<Scalars['Boolean']>;
|
|
6163
|
-
/** The type of payment token. */
|
|
6164
|
-
type: Scalars['String'];
|
|
6165
|
-
};
|
|
6166
|
-
/**
|
|
6167
|
-
* Specifies the fields required to complete a checkout with
|
|
6168
|
-
* a tokenized payment.
|
|
6169
|
-
*
|
|
6170
|
-
*/
|
|
6171
|
-
export declare type TokenizedPaymentInputV2 = {
|
|
6172
|
-
/** The billing address for the payment. */
|
|
6173
|
-
billingAddress: MailingAddressInput;
|
|
6174
|
-
/** A unique client generated key used to avoid duplicate charges. When a duplicate payment is found, the original is returned instead of creating a new one. For more information, refer to [Idempotent requests](https://shopify.dev/api/usage/idempotent-requests). */
|
|
6175
|
-
idempotencyKey: Scalars['String'];
|
|
6176
|
-
/** Public Hash Key used for AndroidPay payments only. */
|
|
6177
|
-
identifier?: InputMaybe<Scalars['String']>;
|
|
6178
|
-
/** The amount and currency of the payment. */
|
|
6179
|
-
paymentAmount: MoneyInput;
|
|
6180
|
-
/** A simple string or JSON containing the required payment data for the tokenized payment. */
|
|
6181
|
-
paymentData: Scalars['String'];
|
|
6182
|
-
/** Whether to execute the payment in test mode, if possible. Test mode is not supported in production stores. Defaults to `false`. */
|
|
6183
|
-
test?: InputMaybe<Scalars['Boolean']>;
|
|
6184
|
-
/** The type of payment token. */
|
|
6185
|
-
type: Scalars['String'];
|
|
6186
|
-
};
|
|
6187
5781
|
/**
|
|
6188
5782
|
* Specifies the fields required to complete a checkout with
|
|
6189
5783
|
* a tokenized payment.
|