@shopify/hydrogen 1.0.0-alpha.21 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +2206 -0
- package/README.md +2 -2
- package/dist/esnext/FileSessionStorage.d.ts +1 -0
- package/dist/esnext/FileSessionStorage.js +1 -0
- package/dist/esnext/client.d.ts +14 -5
- package/dist/esnext/client.js +14 -5
- package/dist/esnext/components/AddToCartButton/AddToCartButton.client.d.ts +12 -7
- package/dist/esnext/components/AddToCartButton/AddToCartButton.client.js +40 -36
- package/dist/esnext/components/AddToCartButton/index.d.ts +1 -1
- 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 +15 -0
- package/dist/esnext/components/BuyNowButton/BuyNowButton.client.js +27 -0
- package/dist/esnext/components/BuyNowButton/index.d.ts +1 -1
- package/dist/esnext/components/BuyNowButton/index.js +1 -1
- package/dist/esnext/components/CartCheckoutButton/CartCheckoutButton.client.d.ts +7 -3
- package/dist/esnext/components/CartCheckoutButton/CartCheckoutButton.client.js +9 -6
- package/dist/esnext/components/CartCost/CartCost.client.d.ts +14 -0
- package/dist/esnext/components/CartCost/CartCost.client.js +29 -0
- package/dist/esnext/components/CartCost/index.d.ts +1 -0
- package/dist/esnext/components/CartCost/index.js +1 -0
- package/dist/esnext/components/CartLineImage/CartLineImage.client.d.ts +9 -6
- package/dist/esnext/components/CartLineImage/CartLineImage.client.js +6 -3
- package/dist/esnext/components/CartLinePrice/CartLinePrice.client.d.ts +10 -4
- package/dist/esnext/components/CartLinePrice/CartLinePrice.client.js +9 -8
- package/dist/esnext/components/CartLineProductTitle/CartLineProductTitle.client.d.ts +8 -3
- package/dist/esnext/components/CartLineProductTitle/CartLineProductTitle.client.js +4 -0
- package/dist/esnext/components/CartLineProvider/CartLineProvider.client.d.ts +5 -0
- package/dist/esnext/components/CartLineProvider/CartLineProvider.client.js +3 -0
- package/dist/esnext/components/CartLineProvider/context.d.ts +20 -10
- package/dist/esnext/components/CartLineProvider/index.d.ts +1 -1
- package/dist/esnext/components/CartLineProvider/index.js +1 -1
- package/dist/esnext/components/CartLineQuantity/CartLineQuantity.client.d.ts +8 -3
- package/dist/esnext/components/CartLineQuantity/CartLineQuantity.client.js +4 -0
- package/dist/esnext/components/CartLineQuantityAdjustButton/CartLineQuantityAdjustButton.d.ts +9 -4
- package/dist/esnext/components/CartLineQuantityAdjustButton/CartLineQuantityAdjustButton.js +22 -13
- package/dist/esnext/components/CartLines/CartLines.client.d.ts +15 -0
- package/dist/esnext/components/CartLines/{CartLines.js → CartLines.client.js} +7 -5
- 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.d.ts +37 -3
- package/dist/esnext/components/CartProvider/CartProvider.client.js +474 -370
- package/dist/esnext/components/CartProvider/cart-queries.d.ts +10 -0
- package/dist/esnext/components/CartProvider/cart-queries.js +202 -0
- package/dist/esnext/components/CartProvider/constants.d.ts +1 -1
- package/dist/esnext/components/CartProvider/constants.js +1 -1
- package/dist/esnext/components/CartProvider/graphql/CartAttributesUpdateMutation.d.ts +82 -4
- package/dist/esnext/components/CartProvider/graphql/CartBuyerIdentityUpdateMutation.d.ts +82 -4
- package/dist/esnext/components/CartProvider/graphql/CartCreateMutation.d.ts +82 -4
- package/dist/esnext/components/CartProvider/graphql/CartDiscountCodesUpdateMutation.d.ts +83 -5
- package/dist/esnext/components/CartProvider/graphql/CartFragment.d.ts +22 -8
- package/dist/esnext/components/CartProvider/graphql/CartLineAddMutation.d.ts +82 -4
- package/dist/esnext/components/CartProvider/graphql/CartLineRemoveMutation.d.ts +82 -4
- package/dist/esnext/components/CartProvider/graphql/CartLineUpdateMutation.d.ts +82 -4
- package/dist/esnext/components/CartProvider/graphql/CartNoteUpdateMutation.d.ts +83 -5
- package/dist/esnext/components/CartProvider/graphql/CartQuery.d.ts +82 -4
- package/dist/esnext/components/CartProvider/hooks.client.d.ts +15 -0
- package/dist/esnext/components/CartProvider/hooks.client.js +71 -0
- package/dist/esnext/components/CartProvider/index.d.ts +3 -3
- package/dist/esnext/components/CartProvider/index.js +2 -3
- package/dist/esnext/components/CartProvider/types.d.ts +48 -49
- package/dist/esnext/components/CartShopPayButton/CartShopPayButton.client.d.ts +7 -2
- package/dist/esnext/components/CartShopPayButton/CartShopPayButton.client.js +11 -4
- package/dist/esnext/components/ExternalVideo/ExternalVideo.d.ts +16 -9
- package/dist/esnext/components/ExternalVideo/ExternalVideo.js +11 -6
- package/dist/esnext/components/ExternalVideo/index.d.ts +1 -1
- package/dist/esnext/components/Image/Image.d.ts +103 -12
- package/dist/esnext/components/Image/Image.js +133 -7
- package/dist/esnext/components/Image/index.d.ts +2 -1
- package/dist/esnext/components/Link/Link.client.d.ts +27 -0
- package/dist/esnext/components/Link/Link.client.js +145 -0
- package/dist/esnext/components/Link/index.d.ts +1 -0
- package/dist/esnext/components/Link/index.js +1 -0
- package/dist/esnext/components/LocalizationProvider/LocalizationClientProvider.client.d.ts +2 -2
- package/dist/esnext/components/LocalizationProvider/LocalizationClientProvider.client.js +3 -12
- package/dist/esnext/components/LocalizationProvider/LocalizationContext.client.d.ts +6 -5
- package/dist/esnext/components/LocalizationProvider/LocalizationProvider.server.d.ts +19 -2
- package/dist/esnext/components/LocalizationProvider/LocalizationProvider.server.js +24 -5
- package/dist/esnext/components/LocalizationProvider/index.d.ts +0 -1
- package/dist/esnext/components/LocalizationProvider/index.js +0 -1
- package/dist/esnext/components/MediaFile/MediaFile.d.ts +18 -18
- package/dist/esnext/components/MediaFile/MediaFile.js +20 -10
- package/dist/esnext/components/MediaFile/index.d.ts +1 -1
- package/dist/esnext/components/Metafield/Metafield.client.d.ts +17 -0
- package/dist/esnext/components/Metafield/Metafield.client.js +104 -0
- package/dist/esnext/components/Metafield/components/StarRating/StarRating.d.ts +12 -0
- package/dist/esnext/components/Metafield/components/StarRating/StarRating.js +48 -0
- package/dist/esnext/components/Metafield/components/StarRating/index.d.ts +1 -0
- package/dist/esnext/components/Metafield/components/StarRating/index.js +1 -0
- package/dist/esnext/components/Metafield/components/index.d.ts +1 -0
- package/dist/esnext/components/Metafield/components/index.js +1 -0
- package/dist/esnext/components/Metafield/index.d.ts +2 -0
- package/dist/esnext/components/Metafield/index.js +1 -0
- package/dist/esnext/components/Metafield/types.d.ts +4 -0
- package/dist/esnext/components/{ProductProvider → Metafield}/types.js +0 -0
- package/dist/esnext/components/ModelViewer/ModelViewer.client.d.ts +128 -0
- package/dist/esnext/components/ModelViewer/ModelViewer.client.js +104 -0
- package/dist/esnext/components/ModelViewer/index.d.ts +1 -0
- package/dist/esnext/components/ModelViewer/index.js +1 -0
- package/dist/esnext/components/Money/Money.client.d.ts +24 -6
- package/dist/esnext/components/Money/Money.client.js +36 -7
- package/dist/esnext/components/Money/index.d.ts +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/ProductOptionsProvider/context.js +2 -0
- 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 +15 -4
- package/dist/esnext/components/ProductPrice/ProductPrice.client.js +35 -13
- package/dist/esnext/components/Seo/CollectionSeo.client.d.ts +3 -0
- package/dist/esnext/components/Seo/CollectionSeo.client.js +14 -0
- package/dist/esnext/components/Seo/DefaultPageSeo.client.d.ts +3 -0
- package/dist/esnext/components/Seo/DefaultPageSeo.client.js +18 -0
- package/dist/esnext/components/Seo/DescriptionSeo.client.d.ts +4 -0
- package/dist/esnext/components/Seo/DescriptionSeo.client.js +10 -0
- package/dist/esnext/components/Seo/HomePageSeo.client.d.ts +2 -0
- package/dist/esnext/components/Seo/HomePageSeo.client.js +25 -0
- package/dist/esnext/components/Seo/ImageSeo.client.d.ts +3 -0
- package/dist/esnext/components/Seo/ImageSeo.client.js +10 -0
- package/dist/esnext/components/Seo/NoIndexSeo.client.d.ts +3 -0
- package/dist/esnext/components/Seo/NoIndexSeo.client.js +10 -0
- package/dist/esnext/components/Seo/PageSeo.client.d.ts +3 -0
- package/dist/esnext/components/Seo/PageSeo.client.js +12 -0
- package/dist/esnext/components/Seo/ProductSeo.client.d.ts +5 -0
- package/dist/esnext/components/Seo/ProductSeo.client.js +62 -0
- package/dist/esnext/components/Seo/Seo.client.d.ts +30 -0
- package/dist/esnext/components/Seo/Seo.client.js +31 -0
- package/dist/esnext/components/Seo/TitleSeo.client.d.ts +3 -0
- package/dist/esnext/components/Seo/TitleSeo.client.js +10 -0
- package/dist/esnext/components/Seo/TwitterSeo.client.d.ts +2 -0
- package/dist/esnext/components/Seo/TwitterSeo.client.js +9 -0
- package/dist/esnext/components/Seo/index.d.ts +1 -0
- package/dist/esnext/components/Seo/index.js +1 -0
- package/dist/esnext/components/Seo/seo-types.d.ts +18 -0
- package/dist/esnext/components/{ExternalVideo/ExternalVideoFragment.js → Seo/seo-types.js} +0 -0
- package/dist/esnext/components/ShopPayButton/ShopPayButton.client.d.ts +29 -4
- package/dist/esnext/components/ShopPayButton/ShopPayButton.client.js +50 -26
- package/dist/esnext/components/ShopPayButton/index.d.ts +1 -1
- package/dist/esnext/components/Video/Video.d.ts +13 -12
- package/dist/esnext/components/Video/Video.js +21 -6
- package/dist/esnext/components/Video/index.d.ts +1 -1
- package/dist/esnext/components/index.d.ts +28 -44
- package/dist/esnext/components/index.js +26 -86
- package/dist/esnext/components/types.d.ts +4 -6
- package/dist/esnext/components/types.js +1 -1
- package/dist/esnext/config.d.ts +7 -0
- package/dist/esnext/config.js +5 -0
- package/dist/esnext/constants.d.ts +13 -0
- package/dist/esnext/constants.js +13 -0
- package/dist/esnext/entry-client.js +145 -23
- package/dist/esnext/entry-server.d.ts +5 -2
- package/dist/esnext/entry-server.js +570 -247
- package/dist/esnext/foundation/Analytics/Analytics.client.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/Analytics.client.js +30 -0
- package/dist/esnext/foundation/Analytics/Analytics.server.d.ts +1 -0
- package/dist/esnext/foundation/Analytics/Analytics.server.js +47 -0
- package/dist/esnext/foundation/Analytics/ClientAnalytics.d.ts +27 -0
- package/dist/esnext/foundation/Analytics/ClientAnalytics.js +99 -0
- package/dist/esnext/foundation/Analytics/ServerAnalyticsRoute.d.ts +4 -0
- package/dist/esnext/foundation/Analytics/ServerAnalyticsRoute.js +51 -0
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/PerformanceMetrics.client.d.ts +7 -0
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/PerformanceMetrics.client.js +81 -0
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/PerformanceMetricsDebug.client.d.ts +1 -0
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/PerformanceMetricsDebug.client.js +23 -0
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/ServerAnalyticsConnector.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/PerformanceMetrics/ServerAnalyticsConnector.js +7 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ServerAnalyticsConnector.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ServerAnalyticsConnector.js +7 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ShopifyAnalytics.client.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ShopifyAnalytics.client.js +182 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ShopifyAnalytics.server.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/ShopifyAnalytics.server.js +43 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/const.d.ts +26 -0
- package/dist/esnext/foundation/Analytics/connectors/Shopify/const.js +49 -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/const.d.ts +9 -0
- package/dist/esnext/foundation/Analytics/const.js +9 -0
- package/dist/esnext/foundation/Analytics/hook.d.ts +1 -0
- package/dist/esnext/foundation/Analytics/hook.js +9 -0
- package/dist/esnext/foundation/Analytics/index.d.ts +1 -0
- package/dist/esnext/foundation/Analytics/index.js +1 -0
- package/dist/esnext/foundation/Analytics/types.d.ts +5 -0
- package/dist/{worker → esnext/foundation/Analytics}/types.js +0 -0
- package/dist/esnext/foundation/Analytics/utils.d.ts +3 -0
- package/dist/esnext/foundation/Analytics/utils.js +29 -0
- package/dist/esnext/foundation/AnalyticsErrorBoundary.client.d.ts +4 -0
- package/dist/esnext/foundation/AnalyticsErrorBoundary.client.js +8 -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/esnext/foundation/Cache/cache-sub-request.d.ts +17 -0
- package/dist/esnext/foundation/Cache/cache-sub-request.js +64 -0
- package/dist/esnext/foundation/Cache/cache.d.ts +17 -0
- package/dist/esnext/foundation/Cache/cache.js +127 -0
- 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 +48 -0
- package/dist/esnext/foundation/Cookie/Cookie.js +72 -0
- package/dist/esnext/foundation/CookieSessionStorage/CookieSessionStorage.d.ts +5 -0
- package/dist/esnext/foundation/CookieSessionStorage/CookieSessionStorage.js +31 -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.d.ts +22 -0
- package/dist/esnext/foundation/FileRoutes/FileRoutes.server.js +69 -0
- package/dist/esnext/foundation/FileSessionStorage/FileSessionStorage.d.ts +6 -0
- package/dist/esnext/foundation/FileSessionStorage/FileSessionStorage.js +149 -0
- package/dist/esnext/foundation/Head/Head.client.d.ts +5 -0
- package/dist/esnext/foundation/Head/Head.client.js +10 -0
- package/dist/esnext/foundation/Head/index.d.ts +1 -0
- package/dist/esnext/foundation/Head/index.js +1 -0
- package/dist/esnext/foundation/Html/Html.d.ts +13 -0
- package/dist/esnext/foundation/Html/Html.js +96 -0
- package/dist/esnext/foundation/HydrogenRequest/HydrogenRequest.server.d.ts +76 -0
- package/dist/esnext/foundation/HydrogenRequest/HydrogenRequest.server.js +210 -0
- package/dist/esnext/foundation/HydrogenResponse/HydrogenResponse.server.d.ts +21 -0
- package/dist/esnext/foundation/HydrogenResponse/HydrogenResponse.server.js +48 -0
- package/dist/esnext/foundation/MemorySessionStorage/MemorySessionStorage.d.ts +5 -0
- package/dist/esnext/foundation/MemorySessionStorage/MemorySessionStorage.js +53 -0
- package/dist/esnext/foundation/Redirect/Redirect.client.d.ts +5 -0
- package/dist/esnext/foundation/Redirect/Redirect.client.js +15 -0
- package/dist/esnext/foundation/Route/Route.server.d.ts +12 -0
- package/dist/esnext/foundation/Route/Route.server.js +28 -0
- package/dist/esnext/foundation/Router/BrowserRouter.client.d.ts +14 -0
- package/dist/esnext/foundation/Router/BrowserRouter.client.js +138 -0
- package/dist/esnext/foundation/Router/Router.server.d.ts +10 -0
- package/dist/esnext/foundation/Router/Router.server.js +8 -0
- package/dist/esnext/foundation/ServerPropsProvider/ServerPropsProvider.d.ts +41 -0
- package/dist/esnext/foundation/ServerPropsProvider/ServerPropsProvider.js +65 -0
- package/dist/esnext/foundation/ServerPropsProvider/index.d.ts +2 -0
- package/dist/esnext/foundation/ServerPropsProvider/index.js +1 -0
- package/dist/esnext/foundation/ServerRequestProvider/ServerRequestProvider.d.ts +23 -0
- package/dist/esnext/foundation/ServerRequestProvider/ServerRequestProvider.js +125 -0
- package/dist/esnext/foundation/ServerRequestProvider/index.d.ts +1 -0
- package/dist/esnext/foundation/ServerRequestProvider/index.js +1 -0
- package/dist/esnext/foundation/ServerStateProvider/ServerStateProvider.d.ts +30 -0
- package/dist/esnext/foundation/ServerStateProvider/ServerStateProvider.js +59 -0
- package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.client.d.ts +7 -0
- package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.client.js +8 -0
- package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.server.d.ts +16 -0
- package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.server.js +60 -0
- package/dist/esnext/foundation/ShopifyProvider/index.d.ts +1 -2
- package/dist/esnext/foundation/ShopifyProvider/index.js +1 -2
- package/dist/esnext/foundation/ShopifyProvider/types.d.ts +12 -10
- package/dist/esnext/foundation/constants.d.ts +2 -0
- package/dist/esnext/foundation/constants.js +4 -0
- package/dist/esnext/foundation/fetchSync/client/fetchSync.d.ts +10 -0
- package/dist/esnext/foundation/fetchSync/client/fetchSync.js +28 -0
- package/dist/esnext/foundation/fetchSync/server/fetchSync.d.ts +8 -0
- package/dist/esnext/foundation/fetchSync/server/fetchSync.js +32 -0
- package/dist/esnext/foundation/fetchSync/types.d.ts +5 -0
- package/dist/esnext/{components/Image/ImageFragment.js → foundation/fetchSync/types.js} +0 -0
- package/dist/esnext/foundation/index.d.ts +3 -4
- package/dist/esnext/foundation/index.js +3 -4
- 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 +27 -0
- package/dist/esnext/foundation/session/session.js +37 -0
- package/dist/esnext/foundation/ssr-interop.d.ts +29 -0
- package/dist/esnext/foundation/ssr-interop.js +35 -0
- package/dist/esnext/foundation/useNavigate/useNavigate.d.ts +17 -0
- package/dist/esnext/foundation/useNavigate/useNavigate.js +39 -0
- package/dist/esnext/foundation/useQuery/hooks.d.ts +37 -0
- package/dist/esnext/foundation/useQuery/hooks.js +105 -0
- package/dist/esnext/foundation/useQuery/index.d.ts +1 -0
- package/dist/esnext/foundation/useQuery/index.js +1 -0
- package/dist/esnext/foundation/useRequestContext/index.d.ts +15 -0
- package/dist/esnext/foundation/useRequestContext/index.js +23 -0
- package/dist/esnext/foundation/useRouteParams/RouteParamsProvider.client.d.ts +13 -0
- package/dist/esnext/foundation/useRouteParams/RouteParamsProvider.client.js +12 -0
- package/dist/esnext/foundation/useRouteParams/useRouteParams.d.ts +4 -0
- package/dist/esnext/foundation/useRouteParams/useRouteParams.js +9 -0
- package/dist/esnext/foundation/useServerProps/index.d.ts +1 -0
- package/dist/esnext/foundation/useServerProps/index.js +1 -0
- package/dist/esnext/foundation/useServerProps/use-server-props.d.ts +21 -0
- package/dist/esnext/foundation/useServerProps/use-server-props.js +35 -0
- package/dist/esnext/foundation/useSession/useSession.d.ts +2 -0
- package/dist/esnext/foundation/useSession/useSession.js +7 -0
- package/dist/esnext/foundation/useShop/index.d.ts +1 -0
- package/dist/esnext/foundation/useShop/index.js +1 -0
- package/dist/esnext/foundation/useShop/use-shop.d.ts +6 -0
- package/dist/esnext/foundation/useShop/use-shop.js +14 -0
- package/dist/esnext/foundation/useUrl/index.d.ts +1 -0
- package/dist/esnext/foundation/useUrl/index.js +1 -0
- package/dist/esnext/foundation/useUrl/useUrl.d.ts +4 -0
- package/dist/esnext/foundation/useUrl/useUrl.js +29 -0
- package/dist/esnext/framework/cache/in-memory.d.ts +17 -0
- package/dist/esnext/framework/cache/in-memory.js +80 -0
- package/dist/esnext/framework/graphiql.d.ts +1 -1
- package/dist/esnext/framework/graphiql.js +1 -2
- package/dist/esnext/framework/load-config.d.ts +5 -0
- package/dist/esnext/framework/load-config.js +7 -0
- package/dist/esnext/framework/middleware.d.ts +11 -7
- package/dist/esnext/framework/middleware.js +49 -68
- package/dist/esnext/framework/plugin.d.ts +8 -3
- package/dist/esnext/framework/plugin.js +23 -4
- package/dist/esnext/framework/plugins/vite-plugin-client-imports.d.ts +2 -0
- package/dist/esnext/framework/plugins/vite-plugin-client-imports.js +25 -0
- package/dist/esnext/framework/plugins/vite-plugin-css-modules-rsc.d.ts +2 -0
- package/dist/esnext/framework/plugins/vite-plugin-css-modules-rsc.js +98 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydration-auto-import.d.ts +3 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydration-auto-import.js +35 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-client-middleware.d.ts +9 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-client-middleware.js +36 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-config.d.ts +1 -1
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-config.js +79 -20
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-middleware.d.ts +10 -3
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-middleware.js +47 -7
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-rsc.d.ts +2 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-rsc.js +23 -0
- 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 +7 -0
- package/dist/esnext/framework/plugins/vite-plugin-hydrogen-virtual-files.js +101 -0
- package/dist/esnext/framework/plugins/vite-plugin-platform-entry.d.ts +3 -0
- package/dist/esnext/framework/plugins/vite-plugin-platform-entry.js +70 -0
- package/dist/esnext/framework/plugins/{vite-plugin-react-server-components-shim.d.ts → vite-plugin-purge-query-cache.d.ts} +0 -0
- package/dist/esnext/framework/plugins/vite-plugin-purge-query-cache.js +11 -0
- package/dist/{node/framework/plugins/vite-plugin-react-server-components-shim.d.ts → esnext/framework/plugins/vite-plugin-ssr-interop.d.ts} +0 -0
- package/dist/esnext/framework/plugins/vite-plugin-ssr-interop.js +16 -0
- package/dist/esnext/framework/types.d.ts +6 -0
- package/dist/esnext/{components/LocalizationProvider/LocalizationQuery.js → framework/types.js} +0 -0
- package/dist/esnext/framework/viteception.d.ts +5 -0
- package/dist/esnext/framework/viteception.js +16 -0
- package/dist/esnext/hooks/index.d.ts +5 -4
- package/dist/esnext/hooks/index.js +5 -4
- package/dist/esnext/hooks/useCart/index.d.ts +1 -0
- package/dist/esnext/hooks/useCart/index.js +1 -0
- package/dist/esnext/hooks/useCart/useCart.d.ts +4 -0
- package/dist/esnext/hooks/useCart/useCart.js +12 -0
- package/dist/esnext/hooks/useCartLine/index.d.ts +1 -0
- package/dist/esnext/hooks/useCartLine/index.js +1 -0
- package/dist/esnext/hooks/useCartLine/useCartLine.d.ts +39 -0
- package/dist/esnext/{components/CartLineProvider/hooks.js → hooks/useCartLine/useCartLine.js} +4 -1
- package/dist/esnext/hooks/useLoadScript/index.d.ts +1 -0
- package/dist/esnext/hooks/useLoadScript/index.js +1 -0
- package/dist/esnext/hooks/useLoadScript/useLoadScript.client.d.ts +8 -0
- package/dist/esnext/hooks/useLoadScript/useLoadScript.client.js +23 -0
- package/dist/esnext/hooks/useLocalization/useLocalization.d.ts +4 -0
- package/dist/esnext/hooks/useLocalization/useLocalization.js +14 -0
- package/dist/esnext/hooks/useMeasurement/hooks.d.ts +9 -0
- package/dist/esnext/hooks/useMeasurement/hooks.js +13 -0
- package/dist/esnext/hooks/useMeasurement/index.d.ts +1 -0
- package/dist/esnext/hooks/useMeasurement/index.js +1 -0
- package/dist/esnext/hooks/useMoney/hooks.d.ts +44 -1
- package/dist/esnext/hooks/useMoney/hooks.js +69 -22
- package/dist/esnext/hooks/useProductOptions/helpers.d.ts +6 -4
- package/dist/esnext/hooks/useProductOptions/helpers.js +9 -6
- package/dist/esnext/hooks/useProductOptions/index.d.ts +1 -1
- package/dist/esnext/hooks/useProductOptions/index.js +1 -1
- package/dist/esnext/hooks/useProductOptions/types.d.ts +42 -46
- package/dist/esnext/hooks/useProductOptions/useProductOptions.client.d.ts +1 -0
- package/dist/esnext/hooks/useProductOptions/useProductOptions.client.js +9 -0
- package/dist/esnext/hooks/useShopQuery/hooks.d.ts +22 -3
- package/dist/esnext/hooks/useShopQuery/hooks.js +163 -24
- package/dist/esnext/hooks/useShopQuery/index.d.ts +1 -1
- package/dist/esnext/hooks/useShopQuery/index.js +1 -1
- package/dist/esnext/index.d.ts +41 -8
- package/dist/esnext/index.js +37 -10
- package/dist/esnext/node.d.ts +1 -0
- package/dist/esnext/node.js +1 -0
- package/dist/esnext/platforms/node.d.ts +9 -0
- package/dist/esnext/platforms/node.js +41 -0
- package/dist/esnext/{components/MediaFile/MediaFileFragment.js → platforms/worker-event.d.ts} +0 -0
- package/dist/esnext/platforms/worker-event.js +3 -0
- package/dist/esnext/platforms/worker.d.ts +14 -0
- package/dist/esnext/platforms/worker.js +25 -0
- package/dist/esnext/shared-types.d.ts +27 -0
- package/dist/esnext/shared-types.js +4 -0
- package/dist/esnext/{graphql/types/types.d.ts → storefront-api-types.d.ts} +2404 -1886
- package/dist/esnext/{graphql/types/types.js → storefront-api-types.js} +1079 -722
- package/dist/esnext/streaming.server.d.ts +16 -0
- package/dist/esnext/streaming.server.js +24 -0
- package/dist/esnext/types.d.ts +102 -35
- package/dist/esnext/types.js +1 -1
- package/dist/esnext/utilities/apiRoutes.d.ts +42 -0
- package/dist/esnext/utilities/apiRoutes.js +152 -0
- package/dist/esnext/utilities/bot-ua.d.ts +4 -0
- package/dist/esnext/utilities/bot-ua.js +61 -0
- package/dist/esnext/utilities/defer.d.ts +6 -0
- package/dist/esnext/utilities/defer.js +14 -0
- package/dist/esnext/utilities/devtools.d.ts +11 -0
- package/dist/esnext/utilities/devtools.js +11 -0
- package/dist/esnext/utilities/empty-hydrogen-config.d.ts +2 -0
- package/dist/esnext/utilities/empty-hydrogen-config.js +2 -0
- package/dist/esnext/utilities/error.d.ts +1 -0
- package/dist/esnext/utilities/error.js +6 -0
- package/dist/esnext/utilities/fetch.d.ts +9 -0
- package/dist/esnext/utilities/fetch.js +31 -0
- package/dist/esnext/utilities/flattenConnection/flattenConnection.d.ts +7 -0
- package/dist/esnext/utilities/flattenConnection/flattenConnection.js +18 -0
- package/dist/esnext/utilities/flattenConnection/index.d.ts +1 -0
- package/dist/esnext/utilities/flattenConnection/index.js +1 -0
- package/dist/esnext/utilities/graphql-tag.d.ts +1 -0
- package/dist/esnext/utilities/graphql-tag.js +6 -0
- package/dist/esnext/utilities/graphql-tracker.d.ts +17 -0
- package/dist/esnext/utilities/graphql-tracker.js +121 -0
- package/dist/esnext/utilities/hash.d.ts +2 -0
- package/dist/esnext/utilities/hash.js +30 -0
- package/dist/esnext/utilities/html-encoding.d.ts +1 -0
- package/dist/esnext/utilities/html-encoding.js +8 -0
- package/dist/esnext/utilities/image_size.d.ts +30 -14
- package/dist/esnext/utilities/image_size.js +80 -30
- package/dist/esnext/utilities/index.d.ts +10 -4
- package/dist/esnext/utilities/index.js +10 -4
- 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/index.d.ts +1 -0
- package/dist/esnext/utilities/isServer/index.js +1 -0
- package/dist/esnext/utilities/isServer/isServer.d.ts +4 -0
- package/dist/esnext/utilities/isServer/isServer.js +7 -0
- package/dist/esnext/utilities/{script_loader.d.ts → load_script.d.ts} +0 -0
- package/dist/esnext/utilities/{script_loader.js → load_script.js} +1 -1
- package/dist/esnext/utilities/log/index.d.ts +4 -0
- package/dist/esnext/utilities/log/index.js +4 -0
- package/dist/esnext/utilities/log/log-cache-api-status.d.ts +1 -0
- package/dist/esnext/utilities/log/log-cache-api-status.js +17 -0
- package/dist/esnext/utilities/log/log-cache-header.d.ts +10 -0
- package/dist/esnext/utilities/log/log-cache-header.js +30 -0
- package/dist/esnext/utilities/log/log-query-timeline.d.ts +12 -0
- package/dist/esnext/utilities/log/log-query-timeline.js +102 -0
- package/dist/esnext/utilities/log/log.d.ts +28 -0
- package/dist/esnext/utilities/log/log.js +74 -0
- package/dist/esnext/utilities/log/utils.d.ts +3 -0
- package/dist/esnext/utilities/log/utils.js +11 -0
- package/dist/esnext/utilities/matchPath.d.ts +10 -0
- package/dist/esnext/utilities/matchPath.js +54 -0
- package/dist/esnext/utilities/measurement.d.ts +3 -0
- package/dist/esnext/utilities/measurement.js +98 -0
- package/dist/esnext/utilities/object.d.ts +5 -0
- package/dist/esnext/utilities/object.js +7 -0
- package/dist/esnext/utilities/parse.d.ts +1 -0
- package/dist/esnext/utilities/parse.js +9 -0
- 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/parseMetafield/parseMetafield.js +62 -0
- package/dist/esnext/utilities/storefrontApi.d.ts +5 -0
- package/dist/esnext/utilities/storefrontApi.js +26 -0
- package/dist/esnext/utilities/suspense.d.ts +7 -2
- package/dist/esnext/utilities/suspense.js +32 -6
- package/dist/esnext/utilities/template.d.ts +9 -0
- package/dist/esnext/utilities/template.js +22 -0
- package/dist/esnext/utilities/timing.d.ts +7 -0
- package/dist/esnext/utilities/timing.js +14 -0
- package/dist/esnext/{components/Model3D/Model3DFragment.js → utilities/web-api-polyfill.d.ts} +0 -0
- package/dist/esnext/utilities/web-api-polyfill.js +25 -0
- package/dist/esnext/version.d.ts +1 -1
- package/dist/esnext/version.js +1 -1
- package/dist/node/framework/cache/in-memory.d.ts +17 -0
- package/dist/node/framework/cache/in-memory.js +84 -0
- package/dist/node/framework/graphiql.d.ts +1 -1
- package/dist/node/framework/graphiql.js +1 -2
- package/dist/node/framework/load-config.d.ts +5 -0
- package/dist/node/framework/load-config.js +11 -0
- package/dist/node/framework/middleware.d.ts +11 -7
- package/dist/node/framework/middleware.js +56 -73
- package/dist/node/framework/plugin.d.ts +5 -3
- package/dist/node/framework/plugin.js +27 -8
- package/dist/node/framework/plugins/vite-plugin-client-imports.d.ts +2 -0
- package/dist/node/framework/plugins/vite-plugin-client-imports.js +28 -0
- package/dist/node/framework/plugins/vite-plugin-css-modules-rsc.d.ts +2 -0
- package/dist/node/framework/plugins/vite-plugin-css-modules-rsc.js +104 -0
- package/dist/node/framework/plugins/vite-plugin-hydration-auto-import.d.ts +3 -0
- package/dist/node/framework/plugins/vite-plugin-hydration-auto-import.js +40 -0
- package/dist/node/framework/plugins/vite-plugin-hydrogen-client-middleware.d.ts +9 -0
- package/dist/node/framework/plugins/vite-plugin-hydrogen-client-middleware.js +38 -0
- package/dist/node/framework/plugins/vite-plugin-hydrogen-config.d.ts +1 -1
- package/dist/node/framework/plugins/vite-plugin-hydrogen-config.js +79 -20
- package/dist/node/framework/plugins/vite-plugin-hydrogen-middleware.d.ts +10 -3
- package/dist/node/framework/plugins/vite-plugin-hydrogen-middleware.js +48 -7
- package/dist/node/framework/plugins/vite-plugin-hydrogen-rsc.d.ts +2 -0
- package/dist/node/framework/plugins/vite-plugin-hydrogen-rsc.js +29 -0
- 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 +7 -0
- package/dist/node/framework/plugins/vite-plugin-hydrogen-virtual-files.js +107 -0
- package/dist/node/framework/plugins/vite-plugin-platform-entry.d.ts +3 -0
- package/dist/node/framework/plugins/vite-plugin-platform-entry.js +75 -0
- package/dist/node/framework/plugins/vite-plugin-purge-query-cache.d.ts +3 -0
- package/dist/node/framework/plugins/vite-plugin-purge-query-cache.js +16 -0
- package/dist/node/framework/plugins/vite-plugin-ssr-interop.d.ts +3 -0
- package/dist/node/framework/plugins/vite-plugin-ssr-interop.js +18 -0
- package/dist/node/framework/types.d.ts +6 -0
- package/dist/node/{foundation/ShopifyProvider → framework}/types.js +0 -0
- package/dist/node/framework/viteception.d.ts +5 -0
- package/dist/node/framework/viteception.js +20 -0
- package/dist/node/shared-types.d.ts +27 -0
- package/dist/node/shared-types.js +5 -0
- package/dist/{esnext/components/ProductProvider/ProductProviderFragment.js → node/utilities/web-api-polyfill.d.ts} +0 -0
- package/dist/node/utilities/web-api-polyfill.js +53 -0
- package/package.json +101 -56
- package/vendor/react-server-dom-vite/LICENSE +21 -0
- package/vendor/react-server-dom-vite/README.md +5 -0
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-plugin.js +600 -0
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.browser.development.server.js +1808 -0
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.browser.production.min.server.js +47 -0
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.node.development.server.js +1882 -0
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite-writer.node.production.min.server.js +47 -0
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite.development.js +629 -0
- package/vendor/react-server-dom-vite/cjs/react-server-dom-vite.production.min.js +19 -0
- package/vendor/react-server-dom-vite/esm/package.json +3 -0
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite-client-proxy.js +83 -0
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite-plugin.js +596 -0
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite-writer.browser.server.js +1800 -0
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite-writer.node.server.js +1874 -0
- package/vendor/react-server-dom-vite/esm/react-server-dom-vite.js +619 -0
- package/vendor/react-server-dom-vite/index.js +7 -0
- package/vendor/react-server-dom-vite/package.json +67 -0
- package/vendor/react-server-dom-vite/plugin.js +3 -0
- package/vendor/react-server-dom-vite/writer.browser.server.js +7 -0
- package/vendor/react-server-dom-vite/writer.node.server.js +7 -0
- package/client.d.ts +0 -1
- package/client.js +0 -1
- package/dist/esnext/components/BuyNowButton/BuyNowButton.d.ts +0 -12
- package/dist/esnext/components/BuyNowButton/BuyNowButton.js +0 -29
- package/dist/esnext/components/CartContainer/CartContainer.client.d.ts +0 -9
- package/dist/esnext/components/CartContainer/CartContainer.client.js +0 -24
- package/dist/esnext/components/CartContainer/index.d.ts +0 -1
- package/dist/esnext/components/CartContainer/index.js +0 -1
- package/dist/esnext/components/CartLineAttributes/CartLineAttributes.client.d.ts +0 -10
- package/dist/esnext/components/CartLineAttributes/CartLineAttributes.client.js +0 -9
- package/dist/esnext/components/CartLineAttributes/index.d.ts +0 -1
- package/dist/esnext/components/CartLineAttributes/index.js +0 -1
- package/dist/esnext/components/CartLineProvider/hooks.d.ts +0 -26
- package/dist/esnext/components/CartLineSelectedOptions/CartLineSelectedOptions.client.d.ts +0 -10
- package/dist/esnext/components/CartLineSelectedOptions/CartLineSelectedOptions.client.js +0 -9
- package/dist/esnext/components/CartLineSelectedOptions/index.d.ts +0 -1
- package/dist/esnext/components/CartLineSelectedOptions/index.js +0 -1
- package/dist/esnext/components/CartLines/CartLines.d.ts +0 -7
- package/dist/esnext/components/CartProvider/CartServerProvider.server.d.ts +0 -11
- package/dist/esnext/components/CartProvider/CartServerProvider.server.js +0 -20
- package/dist/esnext/components/CartProvider/hooks.d.ts +0 -18
- package/dist/esnext/components/CartProvider/hooks.js +0 -79
- package/dist/esnext/components/CartToggle/CartToggle.client.d.ts +0 -8
- package/dist/esnext/components/CartToggle/CartToggle.client.js +0 -11
- package/dist/esnext/components/CartToggle/index.d.ts +0 -1
- package/dist/esnext/components/CartToggle/index.js +0 -1
- package/dist/esnext/components/CartTotal/CartTotal.client.d.ts +0 -3
- package/dist/esnext/components/CartTotal/CartTotal.client.js +0 -8
- package/dist/esnext/components/CartTotal/index.d.ts +0 -1
- package/dist/esnext/components/CartTotal/index.js +0 -1
- package/dist/esnext/components/CartUIProvider/CartUIProvider.client.d.ts +0 -5
- package/dist/esnext/components/CartUIProvider/CartUIProvider.client.js +0 -26
- package/dist/esnext/components/CartUIProvider/context.d.ts +0 -9
- package/dist/esnext/components/CartUIProvider/context.js +0 -2
- package/dist/esnext/components/CartUIProvider/hooks.d.ts +0 -1
- package/dist/esnext/components/CartUIProvider/hooks.js +0 -9
- package/dist/esnext/components/CartUIProvider/index.d.ts +0 -2
- package/dist/esnext/components/CartUIProvider/index.js +0 -2
- package/dist/esnext/components/ExternalVideo/ExternalVideoFragment.d.ts +0 -4
- package/dist/esnext/components/Image/ImageFragment.d.ts +0 -4
- package/dist/esnext/components/LocalizationProvider/LocalizationQuery.d.ts +0 -18
- package/dist/esnext/components/LocalizationProvider/hooks.d.ts +0 -8
- package/dist/esnext/components/LocalizationProvider/hooks.js +0 -17
- package/dist/esnext/components/MediaFile/MediaFileFragment.d.ts +0 -22
- package/dist/esnext/components/MetafieldDate/MetafieldDate.client.d.ts +0 -8
- package/dist/esnext/components/MetafieldDate/MetafieldDate.client.js +0 -11
- package/dist/esnext/components/MetafieldDate/index.d.ts +0 -1
- package/dist/esnext/components/MetafieldDate/index.js +0 -1
- package/dist/esnext/components/MetafieldJson/MetafieldJson.d.ts +0 -8
- package/dist/esnext/components/MetafieldJson/MetafieldJson.js +0 -9
- package/dist/esnext/components/MetafieldJson/index.d.ts +0 -1
- package/dist/esnext/components/MetafieldJson/index.js +0 -1
- package/dist/esnext/components/MetafieldPrimitive/MetafieldPrimitive.client.d.ts +0 -12
- package/dist/esnext/components/MetafieldPrimitive/MetafieldPrimitive.client.js +0 -31
- package/dist/esnext/components/MetafieldPrimitive/index.d.ts +0 -1
- package/dist/esnext/components/MetafieldPrimitive/index.js +0 -1
- package/dist/esnext/components/MetafieldText/MetafieldText.d.ts +0 -7
- package/dist/esnext/components/MetafieldText/MetafieldText.js +0 -9
- package/dist/esnext/components/MetafieldText/index.d.ts +0 -1
- package/dist/esnext/components/MetafieldText/index.js +0 -1
- package/dist/esnext/components/MetafieldUrl/MetafieldUrl.client.d.ts +0 -8
- package/dist/esnext/components/MetafieldUrl/MetafieldUrl.client.js +0 -5
- package/dist/esnext/components/MetafieldUrl/index.d.ts +0 -1
- package/dist/esnext/components/MetafieldUrl/index.js +0 -1
- package/dist/esnext/components/MetafieldWeight/MetafieldWeight.client.d.ts +0 -9
- package/dist/esnext/components/MetafieldWeight/MetafieldWeight.client.js +0 -10
- package/dist/esnext/components/MetafieldWeight/index.d.ts +0 -1
- package/dist/esnext/components/MetafieldWeight/index.js +0 -1
- package/dist/esnext/components/Model3D/Model3D.client.d.ts +0 -25
- package/dist/esnext/components/Model3D/Model3D.client.js +0 -30
- package/dist/esnext/components/Model3D/Model3DFragment.d.ts +0 -11
- package/dist/esnext/components/Model3D/index.d.ts +0 -1
- package/dist/esnext/components/Model3D/index.js +0 -1
- package/dist/esnext/components/ProductDescription/ProductDescription.client.d.ts +0 -3
- package/dist/esnext/components/ProductDescription/ProductDescription.client.js +0 -10
- package/dist/esnext/components/ProductDescription/index.d.ts +0 -1
- package/dist/esnext/components/ProductDescription/index.js +0 -1
- package/dist/esnext/components/ProductProvider/ProductProvider.client.d.ts +0 -7
- package/dist/esnext/components/ProductProvider/ProductProvider.client.js +0 -46
- package/dist/esnext/components/ProductProvider/ProductProviderFragment.d.ts +0 -84
- package/dist/esnext/components/ProductProvider/context.d.ts +0 -10
- package/dist/esnext/components/ProductProvider/context.js +0 -2
- package/dist/esnext/components/ProductProvider/hooks.d.ts +0 -1
- package/dist/esnext/components/ProductProvider/hooks.js +0 -6
- package/dist/esnext/components/ProductProvider/index.d.ts +0 -2
- package/dist/esnext/components/ProductProvider/index.js +0 -2
- package/dist/esnext/components/ProductProvider/types.d.ts +0 -5
- package/dist/esnext/components/ProductTitle/ProductTitle.client.d.ts +0 -3
- package/dist/esnext/components/ProductTitle/ProductTitle.client.js +0 -11
- package/dist/esnext/components/ProductTitle/index.d.ts +0 -1
- package/dist/esnext/components/ProductTitle/index.js +0 -1
- package/dist/esnext/components/RawHtml/RawHtml.d.ts +0 -7
- package/dist/esnext/components/RawHtml/RawHtml.js +0 -13
- package/dist/esnext/components/RawHtml/index.d.ts +0 -1
- package/dist/esnext/components/RawHtml/index.js +0 -1
- package/dist/esnext/components/SelectedVariantAddToCartButton/SelectedVariantAddToCartButton.client.d.ts +0 -6
- package/dist/esnext/components/SelectedVariantAddToCartButton/SelectedVariantAddToCartButton.client.js +0 -12
- package/dist/esnext/components/SelectedVariantAddToCartButton/index.d.ts +0 -1
- package/dist/esnext/components/SelectedVariantAddToCartButton/index.js +0 -1
- package/dist/esnext/components/SelectedVariantBuyNowButton/SelectedVariantBuyNowButton.d.ts +0 -4
- package/dist/esnext/components/SelectedVariantBuyNowButton/SelectedVariantBuyNowButton.js +0 -12
- package/dist/esnext/components/SelectedVariantBuyNowButton/index.d.ts +0 -1
- package/dist/esnext/components/SelectedVariantBuyNowButton/index.js +0 -1
- package/dist/esnext/components/SelectedVariantImage/SelectedVariantImage.client.d.ts +0 -6
- package/dist/esnext/components/SelectedVariantImage/SelectedVariantImage.client.js +0 -12
- package/dist/esnext/components/SelectedVariantImage/index.d.ts +0 -1
- package/dist/esnext/components/SelectedVariantImage/index.js +0 -1
- package/dist/esnext/components/SelectedVariantPrice/SelectedVariantPrice.client.d.ts +0 -6
- package/dist/esnext/components/SelectedVariantPrice/SelectedVariantPrice.client.js +0 -18
- package/dist/esnext/components/SelectedVariantPrice/index.d.ts +0 -1
- package/dist/esnext/components/SelectedVariantPrice/index.js +0 -1
- package/dist/esnext/components/SelectedVariantShopPayButton/SelectedVariantShopPayButton.client.d.ts +0 -2
- package/dist/esnext/components/SelectedVariantShopPayButton/SelectedVariantShopPayButton.client.js +0 -12
- package/dist/esnext/components/SelectedVariantShopPayButton/index.d.ts +0 -1
- package/dist/esnext/components/SelectedVariantShopPayButton/index.js +0 -1
- package/dist/esnext/components/SelectedVariantUnitPrice/SelectedVariantUnitPrice.client.d.ts +0 -3
- package/dist/esnext/components/SelectedVariantUnitPrice/SelectedVariantUnitPrice.client.js +0 -12
- package/dist/esnext/components/SelectedVariantUnitPrice/index.d.ts +0 -1
- package/dist/esnext/components/SelectedVariantUnitPrice/index.js +0 -1
- package/dist/esnext/components/UnitPrice/UnitPrice.client.d.ts +0 -8
- package/dist/esnext/components/UnitPrice/UnitPrice.client.js +0 -16
- package/dist/esnext/components/UnitPrice/index.d.ts +0 -1
- package/dist/esnext/components/UnitPrice/index.js +0 -1
- package/dist/esnext/components/Video/VideoFragment.d.ts +0 -11
- package/dist/esnext/components/Video/VideoFragment.js +0 -1
- package/dist/esnext/foundation/ClientMarker/ClientMarker.d.ts +0 -10
- package/dist/esnext/foundation/ClientMarker/ClientMarker.js +0 -25
- package/dist/esnext/foundation/ClientMarker/index.d.ts +0 -1
- package/dist/esnext/foundation/ClientMarker/index.js +0 -1
- package/dist/esnext/foundation/Hydration/Cache.client.d.ts +0 -9
- package/dist/esnext/foundation/Hydration/Cache.client.js +0 -131
- package/dist/esnext/foundation/Hydration/ClientComponents.server.d.ts +0 -13
- package/dist/esnext/foundation/Hydration/ClientComponents.server.js +0 -18
- package/dist/esnext/foundation/Hydration/Html.d.ts +0 -5
- package/dist/esnext/foundation/Hydration/Html.js +0 -9
- package/dist/esnext/foundation/Hydration/HydrationContext.server.d.ts +0 -1
- package/dist/esnext/foundation/Hydration/HydrationContext.server.js +0 -2
- package/dist/esnext/foundation/Hydration/ServerComponentRequest.server.d.ts +0 -13
- package/dist/esnext/foundation/Hydration/ServerComponentRequest.server.js +0 -39
- package/dist/esnext/foundation/Hydration/ServerComponentResponse.server.d.ts +0 -18
- package/dist/esnext/foundation/Hydration/ServerComponentResponse.server.js +0 -35
- package/dist/esnext/foundation/Hydration/react-utils.d.ts +0 -5
- package/dist/esnext/foundation/Hydration/react-utils.js +0 -55
- package/dist/esnext/foundation/Hydration/wire.server.d.ts +0 -4
- package/dist/esnext/foundation/Hydration/wire.server.js +0 -75
- package/dist/esnext/foundation/Hydration/writer.server.d.ts +0 -14
- package/dist/esnext/foundation/Hydration/writer.server.js +0 -29
- package/dist/esnext/foundation/Router/DefaultRoutes.d.ts +0 -20
- package/dist/esnext/foundation/Router/DefaultRoutes.js +0 -54
- package/dist/esnext/foundation/Router/ServerStateRouter.client.d.ts +0 -6
- package/dist/esnext/foundation/Router/ServerStateRouter.client.js +0 -27
- package/dist/esnext/foundation/Router/index.d.ts +0 -1
- package/dist/esnext/foundation/Router/index.js +0 -1
- package/dist/esnext/foundation/ServerStateProvider/ServerStateProvider.client.d.ts +0 -11
- package/dist/esnext/foundation/ServerStateProvider/ServerStateProvider.client.js +0 -48
- package/dist/esnext/foundation/ServerStateProvider/index.d.ts +0 -1
- package/dist/esnext/foundation/ServerStateProvider/index.js +0 -1
- package/dist/esnext/foundation/ShopifyProvider/ShopifyContext.d.ts +0 -1
- package/dist/esnext/foundation/ShopifyProvider/ShopifyContext.js +0 -2
- package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.d.ts +0 -3
- package/dist/esnext/foundation/ShopifyProvider/ShopifyProvider.js +0 -11
- package/dist/esnext/foundation/ShopifyProvider/ShopifyServerProvider.server.d.ts +0 -8
- package/dist/esnext/foundation/ShopifyProvider/ShopifyServerProvider.server.js +0 -7
- package/dist/esnext/foundation/ShopifyProvider/hooks.d.ts +0 -2
- package/dist/esnext/foundation/ShopifyProvider/hooks.js +0 -9
- package/dist/esnext/framework/plugins/vite-plugin-react-server-components-shim.js +0 -123
- package/dist/esnext/framework/server-components.d.ts +0 -12
- package/dist/esnext/framework/server-components.js +0 -72
- package/dist/esnext/graphql/graphql-constants.d.ts +0 -1267
- package/dist/esnext/graphql/graphql-constants.js +0 -2432
- package/dist/esnext/handle-event.d.ts +0 -20
- package/dist/esnext/handle-event.js +0 -140
- package/dist/esnext/handle-worker-event.d.ts +0 -11
- package/dist/esnext/handle-worker-event.js +0 -14
- package/dist/esnext/hooks/useProductOptions/useProductOptions.d.ts +0 -23
- package/dist/esnext/hooks/useProductOptions/useProductOptions.js +0 -84
- package/dist/esnext/hooks/useQuery/QueryProvider.d.ts +0 -6
- package/dist/esnext/hooks/useQuery/QueryProvider.js +0 -13
- package/dist/esnext/hooks/useQuery/hooks.d.ts +0 -12
- package/dist/esnext/hooks/useQuery/hooks.js +0 -28
- package/dist/esnext/hooks/useQuery/index.d.ts +0 -2
- package/dist/esnext/hooks/useQuery/index.js +0 -2
- package/dist/esnext/hooks/useWeight/hooks.d.ts +0 -11
- package/dist/esnext/hooks/useWeight/hooks.js +0 -29
- package/dist/esnext/hooks/useWeight/index.d.ts +0 -1
- package/dist/esnext/hooks/useWeight/index.js +0 -1
- package/dist/esnext/utilities/connections.d.ts +0 -2
- package/dist/esnext/utilities/connections.js +0 -4
- package/dist/esnext/utilities/environment.d.ts +0 -2
- package/dist/esnext/utilities/environment.js +0 -2
- package/dist/node/foundation/ClientMarker/ClientMarker.d.ts +0 -10
- package/dist/node/foundation/ClientMarker/ClientMarker.js +0 -48
- package/dist/node/foundation/ClientMarker/index.d.ts +0 -1
- package/dist/node/foundation/ClientMarker/index.js +0 -13
- package/dist/node/foundation/Hydration/HydrationContext.server.d.ts +0 -1
- package/dist/node/foundation/Hydration/HydrationContext.server.js +0 -5
- package/dist/node/foundation/Hydration/ServerComponentRequest.server.d.ts +0 -13
- package/dist/node/foundation/Hydration/ServerComponentRequest.server.js +0 -43
- package/dist/node/foundation/Hydration/ServerComponentResponse.server.d.ts +0 -18
- package/dist/node/foundation/Hydration/ServerComponentResponse.server.js +0 -39
- package/dist/node/foundation/Hydration/react-utils.d.ts +0 -5
- package/dist/node/foundation/Hydration/react-utils.js +0 -63
- package/dist/node/foundation/Router/DefaultRoutes.d.ts +0 -20
- package/dist/node/foundation/Router/DefaultRoutes.js +0 -78
- package/dist/node/foundation/Router/index.d.ts +0 -1
- package/dist/node/foundation/Router/index.js +0 -5
- package/dist/node/foundation/ShopifyProvider/ShopifyContext.d.ts +0 -1
- package/dist/node/foundation/ShopifyProvider/ShopifyContext.js +0 -5
- package/dist/node/foundation/ShopifyProvider/ShopifyProvider.d.ts +0 -3
- package/dist/node/foundation/ShopifyProvider/ShopifyProvider.js +0 -34
- package/dist/node/foundation/ShopifyProvider/ShopifyServerProvider.server.d.ts +0 -8
- package/dist/node/foundation/ShopifyProvider/ShopifyServerProvider.server.js +0 -14
- package/dist/node/foundation/ShopifyProvider/hooks.d.ts +0 -2
- package/dist/node/foundation/ShopifyProvider/hooks.js +0 -13
- package/dist/node/foundation/ShopifyProvider/index.d.ts +0 -2
- package/dist/node/foundation/ShopifyProvider/index.js +0 -8
- package/dist/node/foundation/ShopifyProvider/types.d.ts +0 -12
- package/dist/node/foundation/index.d.ts +0 -4
- package/dist/node/foundation/index.js +0 -13
- package/dist/node/framework/plugins/vite-plugin-react-server-components-shim.js +0 -128
- package/dist/node/framework/server-components.d.ts +0 -12
- package/dist/node/framework/server-components.js +0 -77
- package/dist/node/handle-event.d.ts +0 -20
- package/dist/node/handle-event.js +0 -143
- package/dist/node/hooks/useQuery/QueryProvider.d.ts +0 -6
- package/dist/node/hooks/useQuery/QueryProvider.js +0 -20
- package/dist/node/hooks/useQuery/hooks.d.ts +0 -12
- package/dist/node/hooks/useQuery/hooks.js +0 -32
- package/dist/node/hooks/useQuery/index.d.ts +0 -2
- package/dist/node/hooks/useQuery/index.js +0 -14
- package/dist/node/types.d.ts +0 -48
- package/dist/node/types.js +0 -2
- package/dist/worker/foundation/Hydration/ServerComponentRequest.server.d.ts +0 -13
- package/dist/worker/foundation/Hydration/ServerComponentRequest.server.js +0 -39
- package/dist/worker/foundation/Hydration/ServerComponentResponse.server.d.ts +0 -18
- package/dist/worker/foundation/Hydration/ServerComponentResponse.server.js +0 -35
- package/dist/worker/handle-event.d.ts +0 -20
- package/dist/worker/handle-event.js +0 -140
- package/dist/worker/handle-worker-event.d.ts +0 -11
- package/dist/worker/handle-worker-event.js +0 -14
- package/dist/worker/types.d.ts +0 -48
- 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/marker.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/worker.js +0 -1
|
@@ -1,662 +1,668 @@
|
|
|
1
1
|
/** The set of valid sort keys for the Article query. */
|
|
2
2
|
export var ArticleSortKeys;
|
|
3
3
|
(function (ArticleSortKeys) {
|
|
4
|
-
/** Sort by the `title` value. */
|
|
5
|
-
ArticleSortKeys["Title"] = "TITLE";
|
|
6
|
-
/** Sort by the `blog_title` value. */
|
|
7
|
-
ArticleSortKeys["BlogTitle"] = "BLOG_TITLE";
|
|
8
4
|
/** Sort by the `author` value. */
|
|
9
5
|
ArticleSortKeys["Author"] = "AUTHOR";
|
|
10
|
-
/** Sort by the `
|
|
11
|
-
ArticleSortKeys["
|
|
12
|
-
/** Sort by the `published_at` value. */
|
|
13
|
-
ArticleSortKeys["PublishedAt"] = "PUBLISHED_AT";
|
|
6
|
+
/** Sort by the `blog_title` value. */
|
|
7
|
+
ArticleSortKeys["BlogTitle"] = "BLOG_TITLE";
|
|
14
8
|
/** Sort by the `id` value. */
|
|
15
9
|
ArticleSortKeys["Id"] = "ID";
|
|
10
|
+
/** Sort by the `published_at` value. */
|
|
11
|
+
ArticleSortKeys["PublishedAt"] = "PUBLISHED_AT";
|
|
16
12
|
/**
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
13
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
14
|
+
* Don't use this sort key when no search query is specified.
|
|
15
|
+
*
|
|
20
16
|
*/
|
|
21
17
|
ArticleSortKeys["Relevance"] = "RELEVANCE";
|
|
18
|
+
/** Sort by the `title` value. */
|
|
19
|
+
ArticleSortKeys["Title"] = "TITLE";
|
|
20
|
+
/** Sort by the `updated_at` value. */
|
|
21
|
+
ArticleSortKeys["UpdatedAt"] = "UPDATED_AT";
|
|
22
22
|
})(ArticleSortKeys || (ArticleSortKeys = {}));
|
|
23
23
|
/** The set of valid sort keys for the Blog query. */
|
|
24
24
|
export var BlogSortKeys;
|
|
25
25
|
(function (BlogSortKeys) {
|
|
26
26
|
/** Sort by the `handle` value. */
|
|
27
27
|
BlogSortKeys["Handle"] = "HANDLE";
|
|
28
|
-
/** Sort by the `title` value. */
|
|
29
|
-
BlogSortKeys["Title"] = "TITLE";
|
|
30
28
|
/** Sort by the `id` value. */
|
|
31
29
|
BlogSortKeys["Id"] = "ID";
|
|
32
30
|
/**
|
|
33
|
-
*
|
|
34
|
-
*
|
|
35
|
-
*
|
|
31
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
32
|
+
* Don't use this sort key when no search query is specified.
|
|
33
|
+
*
|
|
36
34
|
*/
|
|
37
35
|
BlogSortKeys["Relevance"] = "RELEVANCE";
|
|
36
|
+
/** Sort by the `title` value. */
|
|
37
|
+
BlogSortKeys["Title"] = "TITLE";
|
|
38
38
|
})(BlogSortKeys || (BlogSortKeys = {}));
|
|
39
39
|
/** Card brand, such as Visa or Mastercard, which can be used for payments. */
|
|
40
40
|
export var CardBrand;
|
|
41
41
|
(function (CardBrand) {
|
|
42
|
-
/** Visa. */
|
|
43
|
-
CardBrand["Visa"] = "VISA";
|
|
44
|
-
/** Mastercard. */
|
|
45
|
-
CardBrand["Mastercard"] = "MASTERCARD";
|
|
46
|
-
/** Discover. */
|
|
47
|
-
CardBrand["Discover"] = "DISCOVER";
|
|
48
42
|
/** American Express. */
|
|
49
43
|
CardBrand["AmericanExpress"] = "AMERICAN_EXPRESS";
|
|
50
44
|
/** Diners Club. */
|
|
51
45
|
CardBrand["DinersClub"] = "DINERS_CLUB";
|
|
46
|
+
/** Discover. */
|
|
47
|
+
CardBrand["Discover"] = "DISCOVER";
|
|
52
48
|
/** JCB. */
|
|
53
49
|
CardBrand["Jcb"] = "JCB";
|
|
50
|
+
/** Mastercard. */
|
|
51
|
+
CardBrand["Mastercard"] = "MASTERCARD";
|
|
52
|
+
/** Visa. */
|
|
53
|
+
CardBrand["Visa"] = "VISA";
|
|
54
54
|
})(CardBrand || (CardBrand = {}));
|
|
55
|
-
/** Possible error codes that
|
|
55
|
+
/** Possible error codes that can be returned by `CartUserError`. */
|
|
56
56
|
export var CartErrorCode;
|
|
57
57
|
(function (CartErrorCode) {
|
|
58
58
|
/** The input value is invalid. */
|
|
59
59
|
CartErrorCode["Invalid"] = "INVALID";
|
|
60
|
-
/** The input value should be less than the maximum value allowed. */
|
|
61
|
-
CartErrorCode["LessThan"] = "LESS_THAN";
|
|
62
60
|
/** Merchandise line was not found in cart. */
|
|
63
61
|
CartErrorCode["InvalidMerchandiseLine"] = "INVALID_MERCHANDISE_LINE";
|
|
62
|
+
/** The input value should be less than the maximum value allowed. */
|
|
63
|
+
CartErrorCode["LessThan"] = "LESS_THAN";
|
|
64
64
|
/** Missing discount code. */
|
|
65
65
|
CartErrorCode["MissingDiscountCode"] = "MISSING_DISCOUNT_CODE";
|
|
66
66
|
/** Missing note. */
|
|
67
67
|
CartErrorCode["MissingNote"] = "MISSING_NOTE";
|
|
68
68
|
})(CartErrorCode || (CartErrorCode = {}));
|
|
69
|
-
/** Possible error codes that
|
|
69
|
+
/** Possible error codes that can be returned by `CheckoutUserError`. */
|
|
70
70
|
export var CheckoutErrorCode;
|
|
71
71
|
(function (CheckoutErrorCode) {
|
|
72
|
-
/** The input value is blank. */
|
|
73
|
-
CheckoutErrorCode["Blank"] = "BLANK";
|
|
74
|
-
/** The input value is invalid. */
|
|
75
|
-
CheckoutErrorCode["Invalid"] = "INVALID";
|
|
76
|
-
/** The input value is too long. */
|
|
77
|
-
CheckoutErrorCode["TooLong"] = "TOO_LONG";
|
|
78
|
-
/** The input value needs to be blank. */
|
|
79
|
-
CheckoutErrorCode["Present"] = "PRESENT";
|
|
80
|
-
/** The input value should be less than the maximum value allowed. */
|
|
81
|
-
CheckoutErrorCode["LessThan"] = "LESS_THAN";
|
|
82
|
-
/** The input value should be greater than or equal to the minimum value allowed. */
|
|
83
|
-
CheckoutErrorCode["GreaterThanOrEqualTo"] = "GREATER_THAN_OR_EQUAL_TO";
|
|
84
|
-
/** The input value should be less than or equal to the maximum value allowed. */
|
|
85
|
-
CheckoutErrorCode["LessThanOrEqualTo"] = "LESS_THAN_OR_EQUAL_TO";
|
|
86
72
|
/** Checkout is already completed. */
|
|
87
73
|
CheckoutErrorCode["AlreadyCompleted"] = "ALREADY_COMPLETED";
|
|
88
|
-
/** Checkout is locked. */
|
|
89
|
-
CheckoutErrorCode["Locked"] = "LOCKED";
|
|
90
|
-
/** Input value is not supported. */
|
|
91
|
-
CheckoutErrorCode["NotSupported"] = "NOT_SUPPORTED";
|
|
92
74
|
/** Input email contains an invalid domain name. */
|
|
93
75
|
CheckoutErrorCode["BadDomain"] = "BAD_DOMAIN";
|
|
94
|
-
/**
|
|
95
|
-
CheckoutErrorCode["
|
|
96
|
-
/** Input Zip is invalid for country and province provided. */
|
|
97
|
-
CheckoutErrorCode["InvalidForCountryAndProvince"] = "INVALID_FOR_COUNTRY_AND_PROVINCE";
|
|
98
|
-
/** Invalid state in country. */
|
|
99
|
-
CheckoutErrorCode["InvalidStateInCountry"] = "INVALID_STATE_IN_COUNTRY";
|
|
100
|
-
/** Invalid province in country. */
|
|
101
|
-
CheckoutErrorCode["InvalidProvinceInCountry"] = "INVALID_PROVINCE_IN_COUNTRY";
|
|
102
|
-
/** Invalid region in country. */
|
|
103
|
-
CheckoutErrorCode["InvalidRegionInCountry"] = "INVALID_REGION_IN_COUNTRY";
|
|
104
|
-
/** Shipping rate expired. */
|
|
105
|
-
CheckoutErrorCode["ShippingRateExpired"] = "SHIPPING_RATE_EXPIRED";
|
|
106
|
-
/** Gift card cannot be applied to a checkout that contains a gift card. */
|
|
107
|
-
CheckoutErrorCode["GiftCardUnusable"] = "GIFT_CARD_UNUSABLE";
|
|
108
|
-
/** Gift card is disabled. */
|
|
109
|
-
CheckoutErrorCode["GiftCardDisabled"] = "GIFT_CARD_DISABLED";
|
|
110
|
-
/** Gift card code is invalid. */
|
|
111
|
-
CheckoutErrorCode["GiftCardCodeInvalid"] = "GIFT_CARD_CODE_INVALID";
|
|
112
|
-
/** Gift card has already been applied. */
|
|
113
|
-
CheckoutErrorCode["GiftCardAlreadyApplied"] = "GIFT_CARD_ALREADY_APPLIED";
|
|
114
|
-
/** Gift card currency does not match checkout currency. */
|
|
115
|
-
CheckoutErrorCode["GiftCardCurrencyMismatch"] = "GIFT_CARD_CURRENCY_MISMATCH";
|
|
116
|
-
/** Gift card is expired. */
|
|
117
|
-
CheckoutErrorCode["GiftCardExpired"] = "GIFT_CARD_EXPIRED";
|
|
118
|
-
/** Gift card has no funds left. */
|
|
119
|
-
CheckoutErrorCode["GiftCardDepleted"] = "GIFT_CARD_DEPLETED";
|
|
120
|
-
/** Gift card was not found. */
|
|
121
|
-
CheckoutErrorCode["GiftCardNotFound"] = "GIFT_CARD_NOT_FOUND";
|
|
76
|
+
/** The input value is blank. */
|
|
77
|
+
CheckoutErrorCode["Blank"] = "BLANK";
|
|
122
78
|
/** Cart does not meet discount requirements notice. */
|
|
123
79
|
CheckoutErrorCode["CartDoesNotMeetDiscountRequirementsNotice"] = "CART_DOES_NOT_MEET_DISCOUNT_REQUIREMENTS_NOTICE";
|
|
124
|
-
/**
|
|
125
|
-
CheckoutErrorCode["
|
|
80
|
+
/** Customer already used once per customer discount notice. */
|
|
81
|
+
CheckoutErrorCode["CustomerAlreadyUsedOncePerCustomerDiscountNotice"] = "CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE";
|
|
82
|
+
/** Discount already applied. */
|
|
83
|
+
CheckoutErrorCode["DiscountAlreadyApplied"] = "DISCOUNT_ALREADY_APPLIED";
|
|
126
84
|
/** Discount disabled. */
|
|
127
85
|
CheckoutErrorCode["DiscountDisabled"] = "DISCOUNT_DISABLED";
|
|
86
|
+
/** Discount expired. */
|
|
87
|
+
CheckoutErrorCode["DiscountExpired"] = "DISCOUNT_EXPIRED";
|
|
128
88
|
/** Discount limit reached. */
|
|
129
89
|
CheckoutErrorCode["DiscountLimitReached"] = "DISCOUNT_LIMIT_REACHED";
|
|
130
90
|
/** Discount not found. */
|
|
131
91
|
CheckoutErrorCode["DiscountNotFound"] = "DISCOUNT_NOT_FOUND";
|
|
132
|
-
/** Customer already used once per customer discount notice. */
|
|
133
|
-
CheckoutErrorCode["CustomerAlreadyUsedOncePerCustomerDiscountNotice"] = "CUSTOMER_ALREADY_USED_ONCE_PER_CUSTOMER_DISCOUNT_NOTICE";
|
|
134
92
|
/** Checkout is already completed. */
|
|
135
93
|
CheckoutErrorCode["Empty"] = "EMPTY";
|
|
136
|
-
/**
|
|
137
|
-
CheckoutErrorCode["
|
|
94
|
+
/** Queue token has expired. */
|
|
95
|
+
CheckoutErrorCode["ExpiredQueueToken"] = "EXPIRED_QUEUE_TOKEN";
|
|
96
|
+
/** Gift card has already been applied. */
|
|
97
|
+
CheckoutErrorCode["GiftCardAlreadyApplied"] = "GIFT_CARD_ALREADY_APPLIED";
|
|
98
|
+
/** Gift card code is invalid. */
|
|
99
|
+
CheckoutErrorCode["GiftCardCodeInvalid"] = "GIFT_CARD_CODE_INVALID";
|
|
100
|
+
/** Gift card currency does not match checkout currency. */
|
|
101
|
+
CheckoutErrorCode["GiftCardCurrencyMismatch"] = "GIFT_CARD_CURRENCY_MISMATCH";
|
|
102
|
+
/** Gift card has no funds left. */
|
|
103
|
+
CheckoutErrorCode["GiftCardDepleted"] = "GIFT_CARD_DEPLETED";
|
|
104
|
+
/** Gift card is disabled. */
|
|
105
|
+
CheckoutErrorCode["GiftCardDisabled"] = "GIFT_CARD_DISABLED";
|
|
106
|
+
/** Gift card is expired. */
|
|
107
|
+
CheckoutErrorCode["GiftCardExpired"] = "GIFT_CARD_EXPIRED";
|
|
108
|
+
/** Gift card was not found. */
|
|
109
|
+
CheckoutErrorCode["GiftCardNotFound"] = "GIFT_CARD_NOT_FOUND";
|
|
110
|
+
/** Gift card cannot be applied to a checkout that contains a gift card. */
|
|
111
|
+
CheckoutErrorCode["GiftCardUnusable"] = "GIFT_CARD_UNUSABLE";
|
|
112
|
+
/** The input value should be greater than or equal to the minimum value allowed. */
|
|
113
|
+
CheckoutErrorCode["GreaterThanOrEqualTo"] = "GREATER_THAN_OR_EQUAL_TO";
|
|
114
|
+
/** The input value is invalid. */
|
|
115
|
+
CheckoutErrorCode["Invalid"] = "INVALID";
|
|
116
|
+
/** Cannot specify country and presentment currency code. */
|
|
117
|
+
CheckoutErrorCode["InvalidCountryAndCurrency"] = "INVALID_COUNTRY_AND_CURRENCY";
|
|
118
|
+
/** Input Zip is invalid for country provided. */
|
|
119
|
+
CheckoutErrorCode["InvalidForCountry"] = "INVALID_FOR_COUNTRY";
|
|
120
|
+
/** Input Zip is invalid for country and province provided. */
|
|
121
|
+
CheckoutErrorCode["InvalidForCountryAndProvince"] = "INVALID_FOR_COUNTRY_AND_PROVINCE";
|
|
122
|
+
/** Invalid province in country. */
|
|
123
|
+
CheckoutErrorCode["InvalidProvinceInCountry"] = "INVALID_PROVINCE_IN_COUNTRY";
|
|
124
|
+
/** Queue token is invalid. */
|
|
125
|
+
CheckoutErrorCode["InvalidQueueToken"] = "INVALID_QUEUE_TOKEN";
|
|
126
|
+
/** Invalid region in country. */
|
|
127
|
+
CheckoutErrorCode["InvalidRegionInCountry"] = "INVALID_REGION_IN_COUNTRY";
|
|
128
|
+
/** Invalid state in country. */
|
|
129
|
+
CheckoutErrorCode["InvalidStateInCountry"] = "INVALID_STATE_IN_COUNTRY";
|
|
130
|
+
/** The input value should be less than the maximum value allowed. */
|
|
131
|
+
CheckoutErrorCode["LessThan"] = "LESS_THAN";
|
|
132
|
+
/** The input value should be less than or equal to the maximum value allowed. */
|
|
133
|
+
CheckoutErrorCode["LessThanOrEqualTo"] = "LESS_THAN_OR_EQUAL_TO";
|
|
134
|
+
/** Line item was not found in checkout. */
|
|
135
|
+
CheckoutErrorCode["LineItemNotFound"] = "LINE_ITEM_NOT_FOUND";
|
|
136
|
+
/** Checkout is locked. */
|
|
137
|
+
CheckoutErrorCode["Locked"] = "LOCKED";
|
|
138
138
|
/** Missing payment input. */
|
|
139
139
|
CheckoutErrorCode["MissingPaymentInput"] = "MISSING_PAYMENT_INPUT";
|
|
140
|
+
/** Not enough in stock. */
|
|
141
|
+
CheckoutErrorCode["NotEnoughInStock"] = "NOT_ENOUGH_IN_STOCK";
|
|
142
|
+
/** Input value is not supported. */
|
|
143
|
+
CheckoutErrorCode["NotSupported"] = "NOT_SUPPORTED";
|
|
144
|
+
/** The input value needs to be blank. */
|
|
145
|
+
CheckoutErrorCode["Present"] = "PRESENT";
|
|
146
|
+
/** Shipping rate expired. */
|
|
147
|
+
CheckoutErrorCode["ShippingRateExpired"] = "SHIPPING_RATE_EXPIRED";
|
|
148
|
+
/** Throttled during checkout. */
|
|
149
|
+
CheckoutErrorCode["ThrottledDuringCheckout"] = "THROTTLED_DURING_CHECKOUT";
|
|
150
|
+
/** The input value is too long. */
|
|
151
|
+
CheckoutErrorCode["TooLong"] = "TOO_LONG";
|
|
140
152
|
/** The amount of the payment does not match the value to be paid. */
|
|
141
153
|
CheckoutErrorCode["TotalPriceMismatch"] = "TOTAL_PRICE_MISMATCH";
|
|
142
|
-
/** Line item was not found in checkout. */
|
|
143
|
-
CheckoutErrorCode["LineItemNotFound"] = "LINE_ITEM_NOT_FOUND";
|
|
144
154
|
/** Unable to apply discount. */
|
|
145
155
|
CheckoutErrorCode["UnableToApply"] = "UNABLE_TO_APPLY";
|
|
146
|
-
/** Discount already applied. */
|
|
147
|
-
CheckoutErrorCode["DiscountAlreadyApplied"] = "DISCOUNT_ALREADY_APPLIED";
|
|
148
|
-
/** Throttled during checkout. */
|
|
149
|
-
CheckoutErrorCode["ThrottledDuringCheckout"] = "THROTTLED_DURING_CHECKOUT";
|
|
150
|
-
/** Queue token has expired. */
|
|
151
|
-
CheckoutErrorCode["ExpiredQueueToken"] = "EXPIRED_QUEUE_TOKEN";
|
|
152
|
-
/** Queue token is invalid. */
|
|
153
|
-
CheckoutErrorCode["InvalidQueueToken"] = "INVALID_QUEUE_TOKEN";
|
|
154
|
-
/** Cannot specify country and presentment currency code. */
|
|
155
|
-
CheckoutErrorCode["InvalidCountryAndCurrency"] = "INVALID_COUNTRY_AND_CURRENCY";
|
|
156
156
|
})(CheckoutErrorCode || (CheckoutErrorCode = {}));
|
|
157
157
|
/** The set of valid sort keys for the Collection query. */
|
|
158
158
|
export var CollectionSortKeys;
|
|
159
159
|
(function (CollectionSortKeys) {
|
|
160
|
-
/** Sort by the `title` value. */
|
|
161
|
-
CollectionSortKeys["Title"] = "TITLE";
|
|
162
|
-
/** Sort by the `updated_at` value. */
|
|
163
|
-
CollectionSortKeys["UpdatedAt"] = "UPDATED_AT";
|
|
164
160
|
/** Sort by the `id` value. */
|
|
165
161
|
CollectionSortKeys["Id"] = "ID";
|
|
166
162
|
/**
|
|
167
|
-
*
|
|
168
|
-
*
|
|
169
|
-
*
|
|
163
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
164
|
+
* Don't use this sort key when no search query is specified.
|
|
165
|
+
*
|
|
170
166
|
*/
|
|
171
167
|
CollectionSortKeys["Relevance"] = "RELEVANCE";
|
|
168
|
+
/** Sort by the `title` value. */
|
|
169
|
+
CollectionSortKeys["Title"] = "TITLE";
|
|
170
|
+
/** Sort by the `updated_at` value. */
|
|
171
|
+
CollectionSortKeys["UpdatedAt"] = "UPDATED_AT";
|
|
172
172
|
})(CollectionSortKeys || (CollectionSortKeys = {}));
|
|
173
|
-
/**
|
|
173
|
+
/**
|
|
174
|
+
* The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.
|
|
175
|
+
* If a territory doesn't have a country code value in the `CountryCode` enum, it might be considered a subdivision
|
|
176
|
+
* of another country. For example, the territories associated with Spain are represented by the country code `ES`,
|
|
177
|
+
* and the territories associated with the United States of America are represented by the country code `US`.
|
|
178
|
+
*
|
|
179
|
+
*/
|
|
174
180
|
export var CountryCode;
|
|
175
181
|
(function (CountryCode) {
|
|
182
|
+
/** Ascension Island. */
|
|
183
|
+
CountryCode["Ac"] = "AC";
|
|
184
|
+
/** Andorra. */
|
|
185
|
+
CountryCode["Ad"] = "AD";
|
|
186
|
+
/** United Arab Emirates. */
|
|
187
|
+
CountryCode["Ae"] = "AE";
|
|
176
188
|
/** Afghanistan. */
|
|
177
189
|
CountryCode["Af"] = "AF";
|
|
178
|
-
/**
|
|
179
|
-
CountryCode["
|
|
190
|
+
/** Antigua & Barbuda. */
|
|
191
|
+
CountryCode["Ag"] = "AG";
|
|
192
|
+
/** Anguilla. */
|
|
193
|
+
CountryCode["Ai"] = "AI";
|
|
180
194
|
/** Albania. */
|
|
181
195
|
CountryCode["Al"] = "AL";
|
|
182
|
-
/**
|
|
183
|
-
CountryCode["
|
|
184
|
-
/**
|
|
185
|
-
CountryCode["
|
|
196
|
+
/** Armenia. */
|
|
197
|
+
CountryCode["Am"] = "AM";
|
|
198
|
+
/** Netherlands Antilles. */
|
|
199
|
+
CountryCode["An"] = "AN";
|
|
186
200
|
/** Angola. */
|
|
187
201
|
CountryCode["Ao"] = "AO";
|
|
188
|
-
/** Anguilla. */
|
|
189
|
-
CountryCode["Ai"] = "AI";
|
|
190
|
-
/** Antigua & Barbuda. */
|
|
191
|
-
CountryCode["Ag"] = "AG";
|
|
192
202
|
/** Argentina. */
|
|
193
203
|
CountryCode["Ar"] = "AR";
|
|
194
|
-
/** Armenia. */
|
|
195
|
-
CountryCode["Am"] = "AM";
|
|
196
|
-
/** Aruba. */
|
|
197
|
-
CountryCode["Aw"] = "AW";
|
|
198
|
-
/** Ascension Island. */
|
|
199
|
-
CountryCode["Ac"] = "AC";
|
|
200
|
-
/** Australia. */
|
|
201
|
-
CountryCode["Au"] = "AU";
|
|
202
204
|
/** Austria. */
|
|
203
205
|
CountryCode["At"] = "AT";
|
|
206
|
+
/** Australia. */
|
|
207
|
+
CountryCode["Au"] = "AU";
|
|
208
|
+
/** Aruba. */
|
|
209
|
+
CountryCode["Aw"] = "AW";
|
|
210
|
+
/** Åland Islands. */
|
|
211
|
+
CountryCode["Ax"] = "AX";
|
|
204
212
|
/** Azerbaijan. */
|
|
205
213
|
CountryCode["Az"] = "AZ";
|
|
206
|
-
/**
|
|
207
|
-
CountryCode["
|
|
208
|
-
/** Bahrain. */
|
|
209
|
-
CountryCode["Bh"] = "BH";
|
|
210
|
-
/** Bangladesh. */
|
|
211
|
-
CountryCode["Bd"] = "BD";
|
|
214
|
+
/** Bosnia & Herzegovina. */
|
|
215
|
+
CountryCode["Ba"] = "BA";
|
|
212
216
|
/** Barbados. */
|
|
213
217
|
CountryCode["Bb"] = "BB";
|
|
214
|
-
/**
|
|
215
|
-
CountryCode["
|
|
218
|
+
/** Bangladesh. */
|
|
219
|
+
CountryCode["Bd"] = "BD";
|
|
216
220
|
/** Belgium. */
|
|
217
221
|
CountryCode["Be"] = "BE";
|
|
218
|
-
/**
|
|
219
|
-
CountryCode["
|
|
222
|
+
/** Burkina Faso. */
|
|
223
|
+
CountryCode["Bf"] = "BF";
|
|
224
|
+
/** Bulgaria. */
|
|
225
|
+
CountryCode["Bg"] = "BG";
|
|
226
|
+
/** Bahrain. */
|
|
227
|
+
CountryCode["Bh"] = "BH";
|
|
228
|
+
/** Burundi. */
|
|
229
|
+
CountryCode["Bi"] = "BI";
|
|
220
230
|
/** Benin. */
|
|
221
231
|
CountryCode["Bj"] = "BJ";
|
|
232
|
+
/** St. Barthélemy. */
|
|
233
|
+
CountryCode["Bl"] = "BL";
|
|
222
234
|
/** Bermuda. */
|
|
223
235
|
CountryCode["Bm"] = "BM";
|
|
224
|
-
/**
|
|
225
|
-
CountryCode["
|
|
236
|
+
/** Brunei. */
|
|
237
|
+
CountryCode["Bn"] = "BN";
|
|
226
238
|
/** Bolivia. */
|
|
227
239
|
CountryCode["Bo"] = "BO";
|
|
228
|
-
/**
|
|
229
|
-
CountryCode["
|
|
230
|
-
/** Botswana. */
|
|
231
|
-
CountryCode["Bw"] = "BW";
|
|
232
|
-
/** Bouvet Island. */
|
|
233
|
-
CountryCode["Bv"] = "BV";
|
|
240
|
+
/** Caribbean Netherlands. */
|
|
241
|
+
CountryCode["Bq"] = "BQ";
|
|
234
242
|
/** Brazil. */
|
|
235
243
|
CountryCode["Br"] = "BR";
|
|
236
|
-
/**
|
|
237
|
-
CountryCode["
|
|
238
|
-
/**
|
|
239
|
-
CountryCode["
|
|
240
|
-
/**
|
|
241
|
-
CountryCode["
|
|
242
|
-
/**
|
|
243
|
-
CountryCode["
|
|
244
|
-
/**
|
|
245
|
-
CountryCode["
|
|
246
|
-
/**
|
|
247
|
-
CountryCode["
|
|
244
|
+
/** Bahamas. */
|
|
245
|
+
CountryCode["Bs"] = "BS";
|
|
246
|
+
/** Bhutan. */
|
|
247
|
+
CountryCode["Bt"] = "BT";
|
|
248
|
+
/** Bouvet Island. */
|
|
249
|
+
CountryCode["Bv"] = "BV";
|
|
250
|
+
/** Botswana. */
|
|
251
|
+
CountryCode["Bw"] = "BW";
|
|
252
|
+
/** Belarus. */
|
|
253
|
+
CountryCode["By"] = "BY";
|
|
254
|
+
/** Belize. */
|
|
255
|
+
CountryCode["Bz"] = "BZ";
|
|
248
256
|
/** Canada. */
|
|
249
257
|
CountryCode["Ca"] = "CA";
|
|
250
|
-
/**
|
|
251
|
-
CountryCode["
|
|
252
|
-
/**
|
|
253
|
-
CountryCode["
|
|
254
|
-
/** Cayman Islands. */
|
|
255
|
-
CountryCode["Ky"] = "KY";
|
|
258
|
+
/** Cocos (Keeling) Islands. */
|
|
259
|
+
CountryCode["Cc"] = "CC";
|
|
260
|
+
/** Congo - Kinshasa. */
|
|
261
|
+
CountryCode["Cd"] = "CD";
|
|
256
262
|
/** Central African Republic. */
|
|
257
263
|
CountryCode["Cf"] = "CF";
|
|
258
|
-
/**
|
|
259
|
-
CountryCode["
|
|
264
|
+
/** Congo - Brazzaville. */
|
|
265
|
+
CountryCode["Cg"] = "CG";
|
|
266
|
+
/** Switzerland. */
|
|
267
|
+
CountryCode["Ch"] = "CH";
|
|
268
|
+
/** Côte d’Ivoire. */
|
|
269
|
+
CountryCode["Ci"] = "CI";
|
|
270
|
+
/** Cook Islands. */
|
|
271
|
+
CountryCode["Ck"] = "CK";
|
|
260
272
|
/** Chile. */
|
|
261
273
|
CountryCode["Cl"] = "CL";
|
|
274
|
+
/** Cameroon. */
|
|
275
|
+
CountryCode["Cm"] = "CM";
|
|
262
276
|
/** China. */
|
|
263
277
|
CountryCode["Cn"] = "CN";
|
|
264
|
-
/** Christmas Island. */
|
|
265
|
-
CountryCode["Cx"] = "CX";
|
|
266
|
-
/** Cocos (Keeling) Islands. */
|
|
267
|
-
CountryCode["Cc"] = "CC";
|
|
268
278
|
/** Colombia. */
|
|
269
279
|
CountryCode["Co"] = "CO";
|
|
270
|
-
/** Comoros. */
|
|
271
|
-
CountryCode["Km"] = "KM";
|
|
272
|
-
/** Congo - Brazzaville. */
|
|
273
|
-
CountryCode["Cg"] = "CG";
|
|
274
|
-
/** Congo - Kinshasa. */
|
|
275
|
-
CountryCode["Cd"] = "CD";
|
|
276
|
-
/** Cook Islands. */
|
|
277
|
-
CountryCode["Ck"] = "CK";
|
|
278
280
|
/** Costa Rica. */
|
|
279
281
|
CountryCode["Cr"] = "CR";
|
|
280
|
-
/** Croatia. */
|
|
281
|
-
CountryCode["Hr"] = "HR";
|
|
282
282
|
/** Cuba. */
|
|
283
283
|
CountryCode["Cu"] = "CU";
|
|
284
|
+
/** Cape Verde. */
|
|
285
|
+
CountryCode["Cv"] = "CV";
|
|
284
286
|
/** Curaçao. */
|
|
285
287
|
CountryCode["Cw"] = "CW";
|
|
288
|
+
/** Christmas Island. */
|
|
289
|
+
CountryCode["Cx"] = "CX";
|
|
286
290
|
/** Cyprus. */
|
|
287
291
|
CountryCode["Cy"] = "CY";
|
|
288
292
|
/** Czechia. */
|
|
289
293
|
CountryCode["Cz"] = "CZ";
|
|
290
|
-
/**
|
|
291
|
-
CountryCode["
|
|
292
|
-
/** Denmark. */
|
|
293
|
-
CountryCode["Dk"] = "DK";
|
|
294
|
+
/** Germany. */
|
|
295
|
+
CountryCode["De"] = "DE";
|
|
294
296
|
/** Djibouti. */
|
|
295
297
|
CountryCode["Dj"] = "DJ";
|
|
298
|
+
/** Denmark. */
|
|
299
|
+
CountryCode["Dk"] = "DK";
|
|
296
300
|
/** Dominica. */
|
|
297
301
|
CountryCode["Dm"] = "DM";
|
|
298
302
|
/** Dominican Republic. */
|
|
299
303
|
CountryCode["Do"] = "DO";
|
|
304
|
+
/** Algeria. */
|
|
305
|
+
CountryCode["Dz"] = "DZ";
|
|
300
306
|
/** Ecuador. */
|
|
301
307
|
CountryCode["Ec"] = "EC";
|
|
308
|
+
/** Estonia. */
|
|
309
|
+
CountryCode["Ee"] = "EE";
|
|
302
310
|
/** Egypt. */
|
|
303
311
|
CountryCode["Eg"] = "EG";
|
|
304
|
-
/**
|
|
305
|
-
CountryCode["
|
|
306
|
-
/** Equatorial Guinea. */
|
|
307
|
-
CountryCode["Gq"] = "GQ";
|
|
312
|
+
/** Western Sahara. */
|
|
313
|
+
CountryCode["Eh"] = "EH";
|
|
308
314
|
/** Eritrea. */
|
|
309
315
|
CountryCode["Er"] = "ER";
|
|
310
|
-
/**
|
|
311
|
-
CountryCode["
|
|
312
|
-
/** Eswatini. */
|
|
313
|
-
CountryCode["Sz"] = "SZ";
|
|
316
|
+
/** Spain. */
|
|
317
|
+
CountryCode["Es"] = "ES";
|
|
314
318
|
/** Ethiopia. */
|
|
315
319
|
CountryCode["Et"] = "ET";
|
|
320
|
+
/** Finland. */
|
|
321
|
+
CountryCode["Fi"] = "FI";
|
|
322
|
+
/** Fiji. */
|
|
323
|
+
CountryCode["Fj"] = "FJ";
|
|
316
324
|
/** Falkland Islands. */
|
|
317
325
|
CountryCode["Fk"] = "FK";
|
|
318
326
|
/** Faroe Islands. */
|
|
319
327
|
CountryCode["Fo"] = "FO";
|
|
320
|
-
/** Fiji. */
|
|
321
|
-
CountryCode["Fj"] = "FJ";
|
|
322
|
-
/** Finland. */
|
|
323
|
-
CountryCode["Fi"] = "FI";
|
|
324
328
|
/** France. */
|
|
325
329
|
CountryCode["Fr"] = "FR";
|
|
326
|
-
/** French Guiana. */
|
|
327
|
-
CountryCode["Gf"] = "GF";
|
|
328
|
-
/** French Polynesia. */
|
|
329
|
-
CountryCode["Pf"] = "PF";
|
|
330
|
-
/** French Southern Territories. */
|
|
331
|
-
CountryCode["Tf"] = "TF";
|
|
332
330
|
/** Gabon. */
|
|
333
331
|
CountryCode["Ga"] = "GA";
|
|
334
|
-
/**
|
|
335
|
-
CountryCode["
|
|
332
|
+
/** United Kingdom. */
|
|
333
|
+
CountryCode["Gb"] = "GB";
|
|
334
|
+
/** Grenada. */
|
|
335
|
+
CountryCode["Gd"] = "GD";
|
|
336
336
|
/** Georgia. */
|
|
337
337
|
CountryCode["Ge"] = "GE";
|
|
338
|
-
/**
|
|
339
|
-
CountryCode["
|
|
338
|
+
/** French Guiana. */
|
|
339
|
+
CountryCode["Gf"] = "GF";
|
|
340
|
+
/** Guernsey. */
|
|
341
|
+
CountryCode["Gg"] = "GG";
|
|
340
342
|
/** Ghana. */
|
|
341
343
|
CountryCode["Gh"] = "GH";
|
|
342
344
|
/** Gibraltar. */
|
|
343
345
|
CountryCode["Gi"] = "GI";
|
|
344
|
-
/** Greece. */
|
|
345
|
-
CountryCode["Gr"] = "GR";
|
|
346
346
|
/** Greenland. */
|
|
347
347
|
CountryCode["Gl"] = "GL";
|
|
348
|
-
/**
|
|
349
|
-
CountryCode["
|
|
348
|
+
/** Gambia. */
|
|
349
|
+
CountryCode["Gm"] = "GM";
|
|
350
|
+
/** Guinea. */
|
|
351
|
+
CountryCode["Gn"] = "GN";
|
|
350
352
|
/** Guadeloupe. */
|
|
351
353
|
CountryCode["Gp"] = "GP";
|
|
354
|
+
/** Equatorial Guinea. */
|
|
355
|
+
CountryCode["Gq"] = "GQ";
|
|
356
|
+
/** Greece. */
|
|
357
|
+
CountryCode["Gr"] = "GR";
|
|
358
|
+
/** South Georgia & South Sandwich Islands. */
|
|
359
|
+
CountryCode["Gs"] = "GS";
|
|
352
360
|
/** Guatemala. */
|
|
353
361
|
CountryCode["Gt"] = "GT";
|
|
354
|
-
/** Guernsey. */
|
|
355
|
-
CountryCode["Gg"] = "GG";
|
|
356
|
-
/** Guinea. */
|
|
357
|
-
CountryCode["Gn"] = "GN";
|
|
358
362
|
/** Guinea-Bissau. */
|
|
359
363
|
CountryCode["Gw"] = "GW";
|
|
360
364
|
/** Guyana. */
|
|
361
365
|
CountryCode["Gy"] = "GY";
|
|
362
|
-
/**
|
|
363
|
-
CountryCode["
|
|
366
|
+
/** Hong Kong SAR. */
|
|
367
|
+
CountryCode["Hk"] = "HK";
|
|
364
368
|
/** Heard & McDonald Islands. */
|
|
365
369
|
CountryCode["Hm"] = "HM";
|
|
366
|
-
/** Vatican City. */
|
|
367
|
-
CountryCode["Va"] = "VA";
|
|
368
370
|
/** Honduras. */
|
|
369
371
|
CountryCode["Hn"] = "HN";
|
|
370
|
-
/**
|
|
371
|
-
CountryCode["
|
|
372
|
+
/** Croatia. */
|
|
373
|
+
CountryCode["Hr"] = "HR";
|
|
374
|
+
/** Haiti. */
|
|
375
|
+
CountryCode["Ht"] = "HT";
|
|
372
376
|
/** Hungary. */
|
|
373
377
|
CountryCode["Hu"] = "HU";
|
|
374
|
-
/** Iceland. */
|
|
375
|
-
CountryCode["Is"] = "IS";
|
|
376
|
-
/** India. */
|
|
377
|
-
CountryCode["In"] = "IN";
|
|
378
378
|
/** Indonesia. */
|
|
379
379
|
CountryCode["Id"] = "ID";
|
|
380
|
-
/** Iran. */
|
|
381
|
-
CountryCode["Ir"] = "IR";
|
|
382
|
-
/** Iraq. */
|
|
383
|
-
CountryCode["Iq"] = "IQ";
|
|
384
380
|
/** Ireland. */
|
|
385
381
|
CountryCode["Ie"] = "IE";
|
|
386
|
-
/** Isle of Man. */
|
|
387
|
-
CountryCode["Im"] = "IM";
|
|
388
382
|
/** Israel. */
|
|
389
383
|
CountryCode["Il"] = "IL";
|
|
384
|
+
/** Isle of Man. */
|
|
385
|
+
CountryCode["Im"] = "IM";
|
|
386
|
+
/** India. */
|
|
387
|
+
CountryCode["In"] = "IN";
|
|
388
|
+
/** British Indian Ocean Territory. */
|
|
389
|
+
CountryCode["Io"] = "IO";
|
|
390
|
+
/** Iraq. */
|
|
391
|
+
CountryCode["Iq"] = "IQ";
|
|
392
|
+
/** Iran. */
|
|
393
|
+
CountryCode["Ir"] = "IR";
|
|
394
|
+
/** Iceland. */
|
|
395
|
+
CountryCode["Is"] = "IS";
|
|
390
396
|
/** Italy. */
|
|
391
397
|
CountryCode["It"] = "IT";
|
|
392
|
-
/** Jamaica. */
|
|
393
|
-
CountryCode["Jm"] = "JM";
|
|
394
|
-
/** Japan. */
|
|
395
|
-
CountryCode["Jp"] = "JP";
|
|
396
398
|
/** Jersey. */
|
|
397
399
|
CountryCode["Je"] = "JE";
|
|
400
|
+
/** Jamaica. */
|
|
401
|
+
CountryCode["Jm"] = "JM";
|
|
398
402
|
/** Jordan. */
|
|
399
403
|
CountryCode["Jo"] = "JO";
|
|
400
|
-
/**
|
|
401
|
-
CountryCode["
|
|
404
|
+
/** Japan. */
|
|
405
|
+
CountryCode["Jp"] = "JP";
|
|
402
406
|
/** Kenya. */
|
|
403
407
|
CountryCode["Ke"] = "KE";
|
|
408
|
+
/** Kyrgyzstan. */
|
|
409
|
+
CountryCode["Kg"] = "KG";
|
|
410
|
+
/** Cambodia. */
|
|
411
|
+
CountryCode["Kh"] = "KH";
|
|
404
412
|
/** Kiribati. */
|
|
405
413
|
CountryCode["Ki"] = "KI";
|
|
414
|
+
/** Comoros. */
|
|
415
|
+
CountryCode["Km"] = "KM";
|
|
416
|
+
/** St. Kitts & Nevis. */
|
|
417
|
+
CountryCode["Kn"] = "KN";
|
|
406
418
|
/** North Korea. */
|
|
407
419
|
CountryCode["Kp"] = "KP";
|
|
408
|
-
/**
|
|
409
|
-
CountryCode["
|
|
420
|
+
/** South Korea. */
|
|
421
|
+
CountryCode["Kr"] = "KR";
|
|
410
422
|
/** Kuwait. */
|
|
411
423
|
CountryCode["Kw"] = "KW";
|
|
412
|
-
/**
|
|
413
|
-
CountryCode["
|
|
424
|
+
/** Cayman Islands. */
|
|
425
|
+
CountryCode["Ky"] = "KY";
|
|
426
|
+
/** Kazakhstan. */
|
|
427
|
+
CountryCode["Kz"] = "KZ";
|
|
414
428
|
/** Laos. */
|
|
415
429
|
CountryCode["La"] = "LA";
|
|
416
|
-
/** Latvia. */
|
|
417
|
-
CountryCode["Lv"] = "LV";
|
|
418
430
|
/** Lebanon. */
|
|
419
431
|
CountryCode["Lb"] = "LB";
|
|
420
|
-
/**
|
|
421
|
-
CountryCode["
|
|
422
|
-
/** Liberia. */
|
|
423
|
-
CountryCode["Lr"] = "LR";
|
|
424
|
-
/** Libya. */
|
|
425
|
-
CountryCode["Ly"] = "LY";
|
|
432
|
+
/** St. Lucia. */
|
|
433
|
+
CountryCode["Lc"] = "LC";
|
|
426
434
|
/** Liechtenstein. */
|
|
427
435
|
CountryCode["Li"] = "LI";
|
|
436
|
+
/** Sri Lanka. */
|
|
437
|
+
CountryCode["Lk"] = "LK";
|
|
438
|
+
/** Liberia. */
|
|
439
|
+
CountryCode["Lr"] = "LR";
|
|
440
|
+
/** Lesotho. */
|
|
441
|
+
CountryCode["Ls"] = "LS";
|
|
428
442
|
/** Lithuania. */
|
|
429
443
|
CountryCode["Lt"] = "LT";
|
|
430
444
|
/** Luxembourg. */
|
|
431
445
|
CountryCode["Lu"] = "LU";
|
|
432
|
-
/**
|
|
433
|
-
CountryCode["
|
|
446
|
+
/** Latvia. */
|
|
447
|
+
CountryCode["Lv"] = "LV";
|
|
448
|
+
/** Libya. */
|
|
449
|
+
CountryCode["Ly"] = "LY";
|
|
450
|
+
/** Morocco. */
|
|
451
|
+
CountryCode["Ma"] = "MA";
|
|
452
|
+
/** Monaco. */
|
|
453
|
+
CountryCode["Mc"] = "MC";
|
|
454
|
+
/** Moldova. */
|
|
455
|
+
CountryCode["Md"] = "MD";
|
|
456
|
+
/** Montenegro. */
|
|
457
|
+
CountryCode["Me"] = "ME";
|
|
458
|
+
/** St. Martin. */
|
|
459
|
+
CountryCode["Mf"] = "MF";
|
|
434
460
|
/** Madagascar. */
|
|
435
461
|
CountryCode["Mg"] = "MG";
|
|
436
|
-
/**
|
|
437
|
-
CountryCode["
|
|
438
|
-
/** Malaysia. */
|
|
439
|
-
CountryCode["My"] = "MY";
|
|
440
|
-
/** Maldives. */
|
|
441
|
-
CountryCode["Mv"] = "MV";
|
|
462
|
+
/** North Macedonia. */
|
|
463
|
+
CountryCode["Mk"] = "MK";
|
|
442
464
|
/** Mali. */
|
|
443
465
|
CountryCode["Ml"] = "ML";
|
|
444
|
-
/**
|
|
445
|
-
CountryCode["
|
|
466
|
+
/** Myanmar (Burma). */
|
|
467
|
+
CountryCode["Mm"] = "MM";
|
|
468
|
+
/** Mongolia. */
|
|
469
|
+
CountryCode["Mn"] = "MN";
|
|
470
|
+
/** Macao SAR. */
|
|
471
|
+
CountryCode["Mo"] = "MO";
|
|
446
472
|
/** Martinique. */
|
|
447
473
|
CountryCode["Mq"] = "MQ";
|
|
448
474
|
/** Mauritania. */
|
|
449
475
|
CountryCode["Mr"] = "MR";
|
|
476
|
+
/** Montserrat. */
|
|
477
|
+
CountryCode["Ms"] = "MS";
|
|
478
|
+
/** Malta. */
|
|
479
|
+
CountryCode["Mt"] = "MT";
|
|
450
480
|
/** Mauritius. */
|
|
451
481
|
CountryCode["Mu"] = "MU";
|
|
452
|
-
/**
|
|
453
|
-
CountryCode["
|
|
482
|
+
/** Maldives. */
|
|
483
|
+
CountryCode["Mv"] = "MV";
|
|
484
|
+
/** Malawi. */
|
|
485
|
+
CountryCode["Mw"] = "MW";
|
|
454
486
|
/** Mexico. */
|
|
455
487
|
CountryCode["Mx"] = "MX";
|
|
456
|
-
/**
|
|
457
|
-
CountryCode["
|
|
458
|
-
/** Monaco. */
|
|
459
|
-
CountryCode["Mc"] = "MC";
|
|
460
|
-
/** Mongolia. */
|
|
461
|
-
CountryCode["Mn"] = "MN";
|
|
462
|
-
/** Montenegro. */
|
|
463
|
-
CountryCode["Me"] = "ME";
|
|
464
|
-
/** Montserrat. */
|
|
465
|
-
CountryCode["Ms"] = "MS";
|
|
466
|
-
/** Morocco. */
|
|
467
|
-
CountryCode["Ma"] = "MA";
|
|
488
|
+
/** Malaysia. */
|
|
489
|
+
CountryCode["My"] = "MY";
|
|
468
490
|
/** Mozambique. */
|
|
469
491
|
CountryCode["Mz"] = "MZ";
|
|
470
|
-
/** Myanmar (Burma). */
|
|
471
|
-
CountryCode["Mm"] = "MM";
|
|
472
492
|
/** Namibia. */
|
|
473
493
|
CountryCode["Na"] = "NA";
|
|
474
|
-
/** Nauru. */
|
|
475
|
-
CountryCode["Nr"] = "NR";
|
|
476
|
-
/** Nepal. */
|
|
477
|
-
CountryCode["Np"] = "NP";
|
|
478
|
-
/** Netherlands. */
|
|
479
|
-
CountryCode["Nl"] = "NL";
|
|
480
|
-
/** Netherlands Antilles. */
|
|
481
|
-
CountryCode["An"] = "AN";
|
|
482
494
|
/** New Caledonia. */
|
|
483
495
|
CountryCode["Nc"] = "NC";
|
|
484
|
-
/** New Zealand. */
|
|
485
|
-
CountryCode["Nz"] = "NZ";
|
|
486
|
-
/** Nicaragua. */
|
|
487
|
-
CountryCode["Ni"] = "NI";
|
|
488
496
|
/** Niger. */
|
|
489
497
|
CountryCode["Ne"] = "NE";
|
|
490
|
-
/** Nigeria. */
|
|
491
|
-
CountryCode["Ng"] = "NG";
|
|
492
|
-
/** Niue. */
|
|
493
|
-
CountryCode["Nu"] = "NU";
|
|
494
498
|
/** Norfolk Island. */
|
|
495
499
|
CountryCode["Nf"] = "NF";
|
|
496
|
-
/**
|
|
497
|
-
CountryCode["
|
|
500
|
+
/** Nigeria. */
|
|
501
|
+
CountryCode["Ng"] = "NG";
|
|
502
|
+
/** Nicaragua. */
|
|
503
|
+
CountryCode["Ni"] = "NI";
|
|
504
|
+
/** Netherlands. */
|
|
505
|
+
CountryCode["Nl"] = "NL";
|
|
498
506
|
/** Norway. */
|
|
499
507
|
CountryCode["No"] = "NO";
|
|
508
|
+
/** Nepal. */
|
|
509
|
+
CountryCode["Np"] = "NP";
|
|
510
|
+
/** Nauru. */
|
|
511
|
+
CountryCode["Nr"] = "NR";
|
|
512
|
+
/** Niue. */
|
|
513
|
+
CountryCode["Nu"] = "NU";
|
|
514
|
+
/** New Zealand. */
|
|
515
|
+
CountryCode["Nz"] = "NZ";
|
|
500
516
|
/** Oman. */
|
|
501
517
|
CountryCode["Om"] = "OM";
|
|
502
|
-
/** Pakistan. */
|
|
503
|
-
CountryCode["Pk"] = "PK";
|
|
504
|
-
/** Palestinian Territories. */
|
|
505
|
-
CountryCode["Ps"] = "PS";
|
|
506
518
|
/** Panama. */
|
|
507
519
|
CountryCode["Pa"] = "PA";
|
|
508
|
-
/** Papua New Guinea. */
|
|
509
|
-
CountryCode["Pg"] = "PG";
|
|
510
|
-
/** Paraguay. */
|
|
511
|
-
CountryCode["Py"] = "PY";
|
|
512
520
|
/** Peru. */
|
|
513
521
|
CountryCode["Pe"] = "PE";
|
|
522
|
+
/** French Polynesia. */
|
|
523
|
+
CountryCode["Pf"] = "PF";
|
|
524
|
+
/** Papua New Guinea. */
|
|
525
|
+
CountryCode["Pg"] = "PG";
|
|
514
526
|
/** Philippines. */
|
|
515
527
|
CountryCode["Ph"] = "PH";
|
|
528
|
+
/** Pakistan. */
|
|
529
|
+
CountryCode["Pk"] = "PK";
|
|
530
|
+
/** Poland. */
|
|
531
|
+
CountryCode["Pl"] = "PL";
|
|
532
|
+
/** St. Pierre & Miquelon. */
|
|
533
|
+
CountryCode["Pm"] = "PM";
|
|
516
534
|
/** Pitcairn Islands. */
|
|
517
535
|
CountryCode["Pn"] = "PN";
|
|
518
|
-
/**
|
|
519
|
-
CountryCode["
|
|
536
|
+
/** Palestinian Territories. */
|
|
537
|
+
CountryCode["Ps"] = "PS";
|
|
520
538
|
/** Portugal. */
|
|
521
539
|
CountryCode["Pt"] = "PT";
|
|
540
|
+
/** Paraguay. */
|
|
541
|
+
CountryCode["Py"] = "PY";
|
|
522
542
|
/** Qatar. */
|
|
523
543
|
CountryCode["Qa"] = "QA";
|
|
524
|
-
/** Cameroon. */
|
|
525
|
-
CountryCode["Cm"] = "CM";
|
|
526
544
|
/** Réunion. */
|
|
527
545
|
CountryCode["Re"] = "RE";
|
|
528
546
|
/** Romania. */
|
|
529
547
|
CountryCode["Ro"] = "RO";
|
|
548
|
+
/** Serbia. */
|
|
549
|
+
CountryCode["Rs"] = "RS";
|
|
530
550
|
/** Russia. */
|
|
531
551
|
CountryCode["Ru"] = "RU";
|
|
532
552
|
/** Rwanda. */
|
|
533
553
|
CountryCode["Rw"] = "RW";
|
|
534
|
-
/** St. Barthélemy. */
|
|
535
|
-
CountryCode["Bl"] = "BL";
|
|
536
|
-
/** St. Helena. */
|
|
537
|
-
CountryCode["Sh"] = "SH";
|
|
538
|
-
/** St. Kitts & Nevis. */
|
|
539
|
-
CountryCode["Kn"] = "KN";
|
|
540
|
-
/** St. Lucia. */
|
|
541
|
-
CountryCode["Lc"] = "LC";
|
|
542
|
-
/** St. Martin. */
|
|
543
|
-
CountryCode["Mf"] = "MF";
|
|
544
|
-
/** St. Pierre & Miquelon. */
|
|
545
|
-
CountryCode["Pm"] = "PM";
|
|
546
|
-
/** Samoa. */
|
|
547
|
-
CountryCode["Ws"] = "WS";
|
|
548
|
-
/** San Marino. */
|
|
549
|
-
CountryCode["Sm"] = "SM";
|
|
550
|
-
/** São Tomé & Príncipe. */
|
|
551
|
-
CountryCode["St"] = "ST";
|
|
552
554
|
/** Saudi Arabia. */
|
|
553
555
|
CountryCode["Sa"] = "SA";
|
|
554
|
-
/**
|
|
555
|
-
CountryCode["
|
|
556
|
-
/** Serbia. */
|
|
557
|
-
CountryCode["Rs"] = "RS";
|
|
556
|
+
/** Solomon Islands. */
|
|
557
|
+
CountryCode["Sb"] = "SB";
|
|
558
558
|
/** Seychelles. */
|
|
559
559
|
CountryCode["Sc"] = "SC";
|
|
560
|
-
/**
|
|
561
|
-
CountryCode["
|
|
560
|
+
/** Sudan. */
|
|
561
|
+
CountryCode["Sd"] = "SD";
|
|
562
|
+
/** Sweden. */
|
|
563
|
+
CountryCode["Se"] = "SE";
|
|
562
564
|
/** Singapore. */
|
|
563
565
|
CountryCode["Sg"] = "SG";
|
|
564
|
-
/**
|
|
565
|
-
CountryCode["
|
|
566
|
-
/** Slovakia. */
|
|
567
|
-
CountryCode["Sk"] = "SK";
|
|
566
|
+
/** St. Helena. */
|
|
567
|
+
CountryCode["Sh"] = "SH";
|
|
568
568
|
/** Slovenia. */
|
|
569
569
|
CountryCode["Si"] = "SI";
|
|
570
|
-
/**
|
|
571
|
-
CountryCode["
|
|
570
|
+
/** Svalbard & Jan Mayen. */
|
|
571
|
+
CountryCode["Sj"] = "SJ";
|
|
572
|
+
/** Slovakia. */
|
|
573
|
+
CountryCode["Sk"] = "SK";
|
|
574
|
+
/** Sierra Leone. */
|
|
575
|
+
CountryCode["Sl"] = "SL";
|
|
576
|
+
/** San Marino. */
|
|
577
|
+
CountryCode["Sm"] = "SM";
|
|
578
|
+
/** Senegal. */
|
|
579
|
+
CountryCode["Sn"] = "SN";
|
|
572
580
|
/** Somalia. */
|
|
573
581
|
CountryCode["So"] = "SO";
|
|
574
|
-
/** South Africa. */
|
|
575
|
-
CountryCode["Za"] = "ZA";
|
|
576
|
-
/** South Georgia & South Sandwich Islands. */
|
|
577
|
-
CountryCode["Gs"] = "GS";
|
|
578
|
-
/** South Korea. */
|
|
579
|
-
CountryCode["Kr"] = "KR";
|
|
580
|
-
/** South Sudan. */
|
|
581
|
-
CountryCode["Ss"] = "SS";
|
|
582
|
-
/** Spain. */
|
|
583
|
-
CountryCode["Es"] = "ES";
|
|
584
|
-
/** Sri Lanka. */
|
|
585
|
-
CountryCode["Lk"] = "LK";
|
|
586
|
-
/** St. Vincent & Grenadines. */
|
|
587
|
-
CountryCode["Vc"] = "VC";
|
|
588
|
-
/** Sudan. */
|
|
589
|
-
CountryCode["Sd"] = "SD";
|
|
590
582
|
/** Suriname. */
|
|
591
583
|
CountryCode["Sr"] = "SR";
|
|
592
|
-
/**
|
|
593
|
-
CountryCode["
|
|
594
|
-
/**
|
|
595
|
-
CountryCode["
|
|
596
|
-
/**
|
|
597
|
-
CountryCode["
|
|
584
|
+
/** South Sudan. */
|
|
585
|
+
CountryCode["Ss"] = "SS";
|
|
586
|
+
/** São Tomé & Príncipe. */
|
|
587
|
+
CountryCode["St"] = "ST";
|
|
588
|
+
/** El Salvador. */
|
|
589
|
+
CountryCode["Sv"] = "SV";
|
|
590
|
+
/** Sint Maarten. */
|
|
591
|
+
CountryCode["Sx"] = "SX";
|
|
598
592
|
/** Syria. */
|
|
599
593
|
CountryCode["Sy"] = "SY";
|
|
600
|
-
/**
|
|
601
|
-
CountryCode["
|
|
602
|
-
/**
|
|
603
|
-
CountryCode["
|
|
604
|
-
/**
|
|
605
|
-
CountryCode["
|
|
606
|
-
/**
|
|
607
|
-
CountryCode["
|
|
608
|
-
/**
|
|
609
|
-
CountryCode["
|
|
594
|
+
/** Eswatini. */
|
|
595
|
+
CountryCode["Sz"] = "SZ";
|
|
596
|
+
/** Tristan da Cunha. */
|
|
597
|
+
CountryCode["Ta"] = "TA";
|
|
598
|
+
/** Turks & Caicos Islands. */
|
|
599
|
+
CountryCode["Tc"] = "TC";
|
|
600
|
+
/** Chad. */
|
|
601
|
+
CountryCode["Td"] = "TD";
|
|
602
|
+
/** French Southern Territories. */
|
|
603
|
+
CountryCode["Tf"] = "TF";
|
|
610
604
|
/** Togo. */
|
|
611
605
|
CountryCode["Tg"] = "TG";
|
|
606
|
+
/** Thailand. */
|
|
607
|
+
CountryCode["Th"] = "TH";
|
|
608
|
+
/** Tajikistan. */
|
|
609
|
+
CountryCode["Tj"] = "TJ";
|
|
612
610
|
/** Tokelau. */
|
|
613
611
|
CountryCode["Tk"] = "TK";
|
|
614
|
-
/**
|
|
615
|
-
CountryCode["
|
|
616
|
-
/**
|
|
617
|
-
CountryCode["
|
|
618
|
-
/** Tristan da Cunha. */
|
|
619
|
-
CountryCode["Ta"] = "TA";
|
|
612
|
+
/** Timor-Leste. */
|
|
613
|
+
CountryCode["Tl"] = "TL";
|
|
614
|
+
/** Turkmenistan. */
|
|
615
|
+
CountryCode["Tm"] = "TM";
|
|
620
616
|
/** Tunisia. */
|
|
621
617
|
CountryCode["Tn"] = "TN";
|
|
618
|
+
/** Tonga. */
|
|
619
|
+
CountryCode["To"] = "TO";
|
|
622
620
|
/** Turkey. */
|
|
623
621
|
CountryCode["Tr"] = "TR";
|
|
624
|
-
/**
|
|
625
|
-
CountryCode["
|
|
626
|
-
/** Turks & Caicos Islands. */
|
|
627
|
-
CountryCode["Tc"] = "TC";
|
|
622
|
+
/** Trinidad & Tobago. */
|
|
623
|
+
CountryCode["Tt"] = "TT";
|
|
628
624
|
/** Tuvalu. */
|
|
629
625
|
CountryCode["Tv"] = "TV";
|
|
630
|
-
/**
|
|
631
|
-
CountryCode["
|
|
626
|
+
/** Taiwan. */
|
|
627
|
+
CountryCode["Tw"] = "TW";
|
|
628
|
+
/** Tanzania. */
|
|
629
|
+
CountryCode["Tz"] = "TZ";
|
|
632
630
|
/** Ukraine. */
|
|
633
631
|
CountryCode["Ua"] = "UA";
|
|
634
|
-
/**
|
|
635
|
-
CountryCode["
|
|
636
|
-
/** United Kingdom. */
|
|
637
|
-
CountryCode["Gb"] = "GB";
|
|
638
|
-
/** United States. */
|
|
639
|
-
CountryCode["Us"] = "US";
|
|
632
|
+
/** Uganda. */
|
|
633
|
+
CountryCode["Ug"] = "UG";
|
|
640
634
|
/** U.S. Outlying Islands. */
|
|
641
635
|
CountryCode["Um"] = "UM";
|
|
636
|
+
/** United States. */
|
|
637
|
+
CountryCode["Us"] = "US";
|
|
642
638
|
/** Uruguay. */
|
|
643
639
|
CountryCode["Uy"] = "UY";
|
|
644
640
|
/** Uzbekistan. */
|
|
645
641
|
CountryCode["Uz"] = "UZ";
|
|
646
|
-
/**
|
|
647
|
-
CountryCode["
|
|
642
|
+
/** Vatican City. */
|
|
643
|
+
CountryCode["Va"] = "VA";
|
|
644
|
+
/** St. Vincent & Grenadines. */
|
|
645
|
+
CountryCode["Vc"] = "VC";
|
|
648
646
|
/** Venezuela. */
|
|
649
647
|
CountryCode["Ve"] = "VE";
|
|
650
|
-
/** Vietnam. */
|
|
651
|
-
CountryCode["Vn"] = "VN";
|
|
652
648
|
/** British Virgin Islands. */
|
|
653
649
|
CountryCode["Vg"] = "VG";
|
|
650
|
+
/** Vietnam. */
|
|
651
|
+
CountryCode["Vn"] = "VN";
|
|
652
|
+
/** Vanuatu. */
|
|
653
|
+
CountryCode["Vu"] = "VU";
|
|
654
654
|
/** Wallis & Futuna. */
|
|
655
655
|
CountryCode["Wf"] = "WF";
|
|
656
|
-
/**
|
|
657
|
-
CountryCode["
|
|
656
|
+
/** Samoa. */
|
|
657
|
+
CountryCode["Ws"] = "WS";
|
|
658
|
+
/** Kosovo. */
|
|
659
|
+
CountryCode["Xk"] = "XK";
|
|
658
660
|
/** Yemen. */
|
|
659
661
|
CountryCode["Ye"] = "YE";
|
|
662
|
+
/** Mayotte. */
|
|
663
|
+
CountryCode["Yt"] = "YT";
|
|
664
|
+
/** South Africa. */
|
|
665
|
+
CountryCode["Za"] = "ZA";
|
|
660
666
|
/** Zambia. */
|
|
661
667
|
CountryCode["Zm"] = "ZM";
|
|
662
668
|
/** Zimbabwe. */
|
|
@@ -667,380 +673,404 @@ export var CountryCode;
|
|
|
667
673
|
/** The part of the image that should remain after cropping. */
|
|
668
674
|
export var CropRegion;
|
|
669
675
|
(function (CropRegion) {
|
|
670
|
-
/** Keep the center of the image. */
|
|
671
|
-
CropRegion["Center"] = "CENTER";
|
|
672
|
-
/** Keep the top of the image. */
|
|
673
|
-
CropRegion["Top"] = "TOP";
|
|
674
676
|
/** Keep the bottom of the image. */
|
|
675
677
|
CropRegion["Bottom"] = "BOTTOM";
|
|
678
|
+
/** Keep the center of the image. */
|
|
679
|
+
CropRegion["Center"] = "CENTER";
|
|
676
680
|
/** Keep the left of the image. */
|
|
677
681
|
CropRegion["Left"] = "LEFT";
|
|
678
682
|
/** Keep the right of the image. */
|
|
679
683
|
CropRegion["Right"] = "RIGHT";
|
|
684
|
+
/** Keep the top of the image. */
|
|
685
|
+
CropRegion["Top"] = "TOP";
|
|
680
686
|
})(CropRegion || (CropRegion = {}));
|
|
681
|
-
/**
|
|
687
|
+
/**
|
|
688
|
+
* The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes,
|
|
689
|
+
* and non-standard codes.
|
|
690
|
+
*
|
|
691
|
+
*/
|
|
682
692
|
export var CurrencyCode;
|
|
683
693
|
(function (CurrencyCode) {
|
|
684
|
-
/** United
|
|
685
|
-
CurrencyCode["
|
|
686
|
-
/** Euro (EUR). */
|
|
687
|
-
CurrencyCode["Eur"] = "EUR";
|
|
688
|
-
/** United Kingdom Pounds (GBP). */
|
|
689
|
-
CurrencyCode["Gbp"] = "GBP";
|
|
690
|
-
/** Canadian Dollars (CAD). */
|
|
691
|
-
CurrencyCode["Cad"] = "CAD";
|
|
694
|
+
/** United Arab Emirates Dirham (AED). */
|
|
695
|
+
CurrencyCode["Aed"] = "AED";
|
|
692
696
|
/** Afghan Afghani (AFN). */
|
|
693
697
|
CurrencyCode["Afn"] = "AFN";
|
|
694
698
|
/** Albanian Lek (ALL). */
|
|
695
699
|
CurrencyCode["All"] = "ALL";
|
|
696
|
-
/**
|
|
697
|
-
CurrencyCode["
|
|
700
|
+
/** Armenian Dram (AMD). */
|
|
701
|
+
CurrencyCode["Amd"] = "AMD";
|
|
702
|
+
/** Netherlands Antillean Guilder. */
|
|
703
|
+
CurrencyCode["Ang"] = "ANG";
|
|
698
704
|
/** Angolan Kwanza (AOA). */
|
|
699
705
|
CurrencyCode["Aoa"] = "AOA";
|
|
700
706
|
/** Argentine Pesos (ARS). */
|
|
701
707
|
CurrencyCode["Ars"] = "ARS";
|
|
702
|
-
/** Armenian Dram (AMD). */
|
|
703
|
-
CurrencyCode["Amd"] = "AMD";
|
|
704
|
-
/** Aruban Florin (AWG). */
|
|
705
|
-
CurrencyCode["Awg"] = "AWG";
|
|
706
708
|
/** Australian Dollars (AUD). */
|
|
707
709
|
CurrencyCode["Aud"] = "AUD";
|
|
708
|
-
/**
|
|
709
|
-
CurrencyCode["
|
|
710
|
+
/** Aruban Florin (AWG). */
|
|
711
|
+
CurrencyCode["Awg"] = "AWG";
|
|
710
712
|
/** Azerbaijani Manat (AZN). */
|
|
711
713
|
CurrencyCode["Azn"] = "AZN";
|
|
714
|
+
/** Bosnia and Herzegovina Convertible Mark (BAM). */
|
|
715
|
+
CurrencyCode["Bam"] = "BAM";
|
|
716
|
+
/** Barbadian Dollar (BBD). */
|
|
717
|
+
CurrencyCode["Bbd"] = "BBD";
|
|
712
718
|
/** Bangladesh Taka (BDT). */
|
|
713
719
|
CurrencyCode["Bdt"] = "BDT";
|
|
714
|
-
/**
|
|
715
|
-
CurrencyCode["
|
|
720
|
+
/** Bulgarian Lev (BGN). */
|
|
721
|
+
CurrencyCode["Bgn"] = "BGN";
|
|
716
722
|
/** Bahraini Dinar (BHD). */
|
|
717
723
|
CurrencyCode["Bhd"] = "BHD";
|
|
718
724
|
/** Burundian Franc (BIF). */
|
|
719
725
|
CurrencyCode["Bif"] = "BIF";
|
|
720
|
-
/** Belize Dollar (BZD). */
|
|
721
|
-
CurrencyCode["Bzd"] = "BZD";
|
|
722
726
|
/** Bermudian Dollar (BMD). */
|
|
723
727
|
CurrencyCode["Bmd"] = "BMD";
|
|
724
|
-
/**
|
|
725
|
-
CurrencyCode["
|
|
726
|
-
/** Bosnia and Herzegovina Convertible Mark (BAM). */
|
|
727
|
-
CurrencyCode["Bam"] = "BAM";
|
|
728
|
-
/** Brazilian Real (BRL). */
|
|
729
|
-
CurrencyCode["Brl"] = "BRL";
|
|
728
|
+
/** Brunei Dollar (BND). */
|
|
729
|
+
CurrencyCode["Bnd"] = "BND";
|
|
730
730
|
/** Bolivian Boliviano (BOB). */
|
|
731
731
|
CurrencyCode["Bob"] = "BOB";
|
|
732
|
+
/** Brazilian Real (BRL). */
|
|
733
|
+
CurrencyCode["Brl"] = "BRL";
|
|
734
|
+
/** Bahamian Dollar (BSD). */
|
|
735
|
+
CurrencyCode["Bsd"] = "BSD";
|
|
736
|
+
/** Bhutanese Ngultrum (BTN). */
|
|
737
|
+
CurrencyCode["Btn"] = "BTN";
|
|
732
738
|
/** Botswana Pula (BWP). */
|
|
733
739
|
CurrencyCode["Bwp"] = "BWP";
|
|
734
|
-
/**
|
|
735
|
-
CurrencyCode["
|
|
736
|
-
/**
|
|
737
|
-
CurrencyCode["
|
|
738
|
-
/**
|
|
739
|
-
CurrencyCode["
|
|
740
|
-
/**
|
|
741
|
-
CurrencyCode["
|
|
742
|
-
/**
|
|
743
|
-
CurrencyCode["
|
|
744
|
-
/**
|
|
745
|
-
CurrencyCode["
|
|
746
|
-
/** Central African CFA Franc (XAF). */
|
|
747
|
-
CurrencyCode["Xaf"] = "XAF";
|
|
740
|
+
/** Belarusian Ruble (BYN). */
|
|
741
|
+
CurrencyCode["Byn"] = "BYN";
|
|
742
|
+
/** Belarusian Ruble (BYR). */
|
|
743
|
+
CurrencyCode["Byr"] = "BYR";
|
|
744
|
+
/** Belize Dollar (BZD). */
|
|
745
|
+
CurrencyCode["Bzd"] = "BZD";
|
|
746
|
+
/** Canadian Dollars (CAD). */
|
|
747
|
+
CurrencyCode["Cad"] = "CAD";
|
|
748
|
+
/** Congolese franc (CDF). */
|
|
749
|
+
CurrencyCode["Cdf"] = "CDF";
|
|
750
|
+
/** Swiss Francs (CHF). */
|
|
751
|
+
CurrencyCode["Chf"] = "CHF";
|
|
748
752
|
/** Chilean Peso (CLP). */
|
|
749
753
|
CurrencyCode["Clp"] = "CLP";
|
|
750
754
|
/** Chinese Yuan Renminbi (CNY). */
|
|
751
755
|
CurrencyCode["Cny"] = "CNY";
|
|
752
756
|
/** Colombian Peso (COP). */
|
|
753
757
|
CurrencyCode["Cop"] = "COP";
|
|
754
|
-
/** Comorian Franc (KMF). */
|
|
755
|
-
CurrencyCode["Kmf"] = "KMF";
|
|
756
|
-
/** Congolese franc (CDF). */
|
|
757
|
-
CurrencyCode["Cdf"] = "CDF";
|
|
758
758
|
/** Costa Rican Colones (CRC). */
|
|
759
759
|
CurrencyCode["Crc"] = "CRC";
|
|
760
|
-
/**
|
|
761
|
-
CurrencyCode["
|
|
760
|
+
/** Cape Verdean escudo (CVE). */
|
|
761
|
+
CurrencyCode["Cve"] = "CVE";
|
|
762
762
|
/** Czech Koruny (CZK). */
|
|
763
763
|
CurrencyCode["Czk"] = "CZK";
|
|
764
|
+
/** Djiboutian Franc (DJF). */
|
|
765
|
+
CurrencyCode["Djf"] = "DJF";
|
|
764
766
|
/** Danish Kroner (DKK). */
|
|
765
767
|
CurrencyCode["Dkk"] = "DKK";
|
|
766
768
|
/** Dominican Peso (DOP). */
|
|
767
769
|
CurrencyCode["Dop"] = "DOP";
|
|
768
|
-
/**
|
|
769
|
-
CurrencyCode["
|
|
770
|
+
/** Algerian Dinar (DZD). */
|
|
771
|
+
CurrencyCode["Dzd"] = "DZD";
|
|
770
772
|
/** Egyptian Pound (EGP). */
|
|
771
773
|
CurrencyCode["Egp"] = "EGP";
|
|
774
|
+
/** Eritrean Nakfa (ERN). */
|
|
775
|
+
CurrencyCode["Ern"] = "ERN";
|
|
772
776
|
/** Ethiopian Birr (ETB). */
|
|
773
777
|
CurrencyCode["Etb"] = "ETB";
|
|
774
|
-
/**
|
|
775
|
-
CurrencyCode["
|
|
778
|
+
/** Euro (EUR). */
|
|
779
|
+
CurrencyCode["Eur"] = "EUR";
|
|
776
780
|
/** Fijian Dollars (FJD). */
|
|
777
781
|
CurrencyCode["Fjd"] = "FJD";
|
|
778
|
-
/**
|
|
779
|
-
CurrencyCode["
|
|
782
|
+
/** Falkland Islands Pounds (FKP). */
|
|
783
|
+
CurrencyCode["Fkp"] = "FKP";
|
|
784
|
+
/** United Kingdom Pounds (GBP). */
|
|
785
|
+
CurrencyCode["Gbp"] = "GBP";
|
|
786
|
+
/** Georgian Lari (GEL). */
|
|
787
|
+
CurrencyCode["Gel"] = "GEL";
|
|
780
788
|
/** Ghanaian Cedi (GHS). */
|
|
781
789
|
CurrencyCode["Ghs"] = "GHS";
|
|
790
|
+
/** Gibraltar Pounds (GIP). */
|
|
791
|
+
CurrencyCode["Gip"] = "GIP";
|
|
792
|
+
/** Gambian Dalasi (GMD). */
|
|
793
|
+
CurrencyCode["Gmd"] = "GMD";
|
|
794
|
+
/** Guinean Franc (GNF). */
|
|
795
|
+
CurrencyCode["Gnf"] = "GNF";
|
|
782
796
|
/** Guatemalan Quetzal (GTQ). */
|
|
783
797
|
CurrencyCode["Gtq"] = "GTQ";
|
|
784
798
|
/** Guyanese Dollar (GYD). */
|
|
785
799
|
CurrencyCode["Gyd"] = "GYD";
|
|
786
|
-
/** Georgian Lari (GEL). */
|
|
787
|
-
CurrencyCode["Gel"] = "GEL";
|
|
788
|
-
/** Haitian Gourde (HTG). */
|
|
789
|
-
CurrencyCode["Htg"] = "HTG";
|
|
790
|
-
/** Honduran Lempira (HNL). */
|
|
791
|
-
CurrencyCode["Hnl"] = "HNL";
|
|
792
800
|
/** Hong Kong Dollars (HKD). */
|
|
793
801
|
CurrencyCode["Hkd"] = "HKD";
|
|
802
|
+
/** Honduran Lempira (HNL). */
|
|
803
|
+
CurrencyCode["Hnl"] = "HNL";
|
|
804
|
+
/** Croatian Kuna (HRK). */
|
|
805
|
+
CurrencyCode["Hrk"] = "HRK";
|
|
806
|
+
/** Haitian Gourde (HTG). */
|
|
807
|
+
CurrencyCode["Htg"] = "HTG";
|
|
794
808
|
/** Hungarian Forint (HUF). */
|
|
795
809
|
CurrencyCode["Huf"] = "HUF";
|
|
796
|
-
/** Icelandic Kronur (ISK). */
|
|
797
|
-
CurrencyCode["Isk"] = "ISK";
|
|
798
|
-
/** Indian Rupees (INR). */
|
|
799
|
-
CurrencyCode["Inr"] = "INR";
|
|
800
810
|
/** Indonesian Rupiah (IDR). */
|
|
801
811
|
CurrencyCode["Idr"] = "IDR";
|
|
802
812
|
/** Israeli New Shekel (NIS). */
|
|
803
813
|
CurrencyCode["Ils"] = "ILS";
|
|
814
|
+
/** Indian Rupees (INR). */
|
|
815
|
+
CurrencyCode["Inr"] = "INR";
|
|
804
816
|
/** Iraqi Dinar (IQD). */
|
|
805
817
|
CurrencyCode["Iqd"] = "IQD";
|
|
806
|
-
/**
|
|
807
|
-
CurrencyCode["
|
|
808
|
-
/**
|
|
809
|
-
CurrencyCode["
|
|
818
|
+
/** Iranian Rial (IRR). */
|
|
819
|
+
CurrencyCode["Irr"] = "IRR";
|
|
820
|
+
/** Icelandic Kronur (ISK). */
|
|
821
|
+
CurrencyCode["Isk"] = "ISK";
|
|
810
822
|
/** Jersey Pound. */
|
|
811
823
|
CurrencyCode["Jep"] = "JEP";
|
|
824
|
+
/** Jamaican Dollars (JMD). */
|
|
825
|
+
CurrencyCode["Jmd"] = "JMD";
|
|
812
826
|
/** Jordanian Dinar (JOD). */
|
|
813
827
|
CurrencyCode["Jod"] = "JOD";
|
|
814
|
-
/**
|
|
815
|
-
CurrencyCode["
|
|
828
|
+
/** Japanese Yen (JPY). */
|
|
829
|
+
CurrencyCode["Jpy"] = "JPY";
|
|
816
830
|
/** Kenyan Shilling (KES). */
|
|
817
831
|
CurrencyCode["Kes"] = "KES";
|
|
818
|
-
/** Kuwaiti Dinar (KWD). */
|
|
819
|
-
CurrencyCode["Kwd"] = "KWD";
|
|
820
832
|
/** Kyrgyzstani Som (KGS). */
|
|
821
833
|
CurrencyCode["Kgs"] = "KGS";
|
|
834
|
+
/** Cambodian Riel. */
|
|
835
|
+
CurrencyCode["Khr"] = "KHR";
|
|
836
|
+
/** Kiribati Dollar (KID). */
|
|
837
|
+
CurrencyCode["Kid"] = "KID";
|
|
838
|
+
/** Comorian Franc (KMF). */
|
|
839
|
+
CurrencyCode["Kmf"] = "KMF";
|
|
840
|
+
/** South Korean Won (KRW). */
|
|
841
|
+
CurrencyCode["Krw"] = "KRW";
|
|
842
|
+
/** Kuwaiti Dinar (KWD). */
|
|
843
|
+
CurrencyCode["Kwd"] = "KWD";
|
|
844
|
+
/** Cayman Dollars (KYD). */
|
|
845
|
+
CurrencyCode["Kyd"] = "KYD";
|
|
846
|
+
/** Kazakhstani Tenge (KZT). */
|
|
847
|
+
CurrencyCode["Kzt"] = "KZT";
|
|
822
848
|
/** Laotian Kip (LAK). */
|
|
823
849
|
CurrencyCode["Lak"] = "LAK";
|
|
824
|
-
/** Latvian Lati (LVL). */
|
|
825
|
-
CurrencyCode["Lvl"] = "LVL";
|
|
826
850
|
/** Lebanese Pounds (LBP). */
|
|
827
851
|
CurrencyCode["Lbp"] = "LBP";
|
|
828
|
-
/**
|
|
829
|
-
CurrencyCode["
|
|
852
|
+
/** Sri Lankan Rupees (LKR). */
|
|
853
|
+
CurrencyCode["Lkr"] = "LKR";
|
|
830
854
|
/** Liberian Dollar (LRD). */
|
|
831
855
|
CurrencyCode["Lrd"] = "LRD";
|
|
856
|
+
/** Lesotho Loti (LSL). */
|
|
857
|
+
CurrencyCode["Lsl"] = "LSL";
|
|
832
858
|
/** Lithuanian Litai (LTL). */
|
|
833
859
|
CurrencyCode["Ltl"] = "LTL";
|
|
860
|
+
/** Latvian Lati (LVL). */
|
|
861
|
+
CurrencyCode["Lvl"] = "LVL";
|
|
862
|
+
/** Libyan Dinar (LYD). */
|
|
863
|
+
CurrencyCode["Lyd"] = "LYD";
|
|
864
|
+
/** Moroccan Dirham. */
|
|
865
|
+
CurrencyCode["Mad"] = "MAD";
|
|
866
|
+
/** Moldovan Leu (MDL). */
|
|
867
|
+
CurrencyCode["Mdl"] = "MDL";
|
|
834
868
|
/** Malagasy Ariary (MGA). */
|
|
835
869
|
CurrencyCode["Mga"] = "MGA";
|
|
836
870
|
/** Macedonia Denar (MKD). */
|
|
837
871
|
CurrencyCode["Mkd"] = "MKD";
|
|
872
|
+
/** Burmese Kyat (MMK). */
|
|
873
|
+
CurrencyCode["Mmk"] = "MMK";
|
|
874
|
+
/** Mongolian Tugrik. */
|
|
875
|
+
CurrencyCode["Mnt"] = "MNT";
|
|
838
876
|
/** Macanese Pataca (MOP). */
|
|
839
877
|
CurrencyCode["Mop"] = "MOP";
|
|
840
|
-
/**
|
|
841
|
-
CurrencyCode["
|
|
878
|
+
/** Mauritanian Ouguiya (MRU). */
|
|
879
|
+
CurrencyCode["Mru"] = "MRU";
|
|
880
|
+
/** Mauritian Rupee (MUR). */
|
|
881
|
+
CurrencyCode["Mur"] = "MUR";
|
|
842
882
|
/** Maldivian Rufiyaa (MVR). */
|
|
843
883
|
CurrencyCode["Mvr"] = "MVR";
|
|
884
|
+
/** Malawian Kwacha (MWK). */
|
|
885
|
+
CurrencyCode["Mwk"] = "MWK";
|
|
844
886
|
/** Mexican Pesos (MXN). */
|
|
845
887
|
CurrencyCode["Mxn"] = "MXN";
|
|
846
888
|
/** Malaysian Ringgits (MYR). */
|
|
847
889
|
CurrencyCode["Myr"] = "MYR";
|
|
848
|
-
/** Mauritian Rupee (MUR). */
|
|
849
|
-
CurrencyCode["Mur"] = "MUR";
|
|
850
|
-
/** Moldovan Leu (MDL). */
|
|
851
|
-
CurrencyCode["Mdl"] = "MDL";
|
|
852
|
-
/** Moroccan Dirham. */
|
|
853
|
-
CurrencyCode["Mad"] = "MAD";
|
|
854
|
-
/** Mongolian Tugrik. */
|
|
855
|
-
CurrencyCode["Mnt"] = "MNT";
|
|
856
890
|
/** Mozambican Metical. */
|
|
857
891
|
CurrencyCode["Mzn"] = "MZN";
|
|
858
892
|
/** Namibian Dollar. */
|
|
859
893
|
CurrencyCode["Nad"] = "NAD";
|
|
860
|
-
/** Nepalese Rupee (NPR). */
|
|
861
|
-
CurrencyCode["Npr"] = "NPR";
|
|
862
|
-
/** Netherlands Antillean Guilder. */
|
|
863
|
-
CurrencyCode["Ang"] = "ANG";
|
|
864
|
-
/** New Zealand Dollars (NZD). */
|
|
865
|
-
CurrencyCode["Nzd"] = "NZD";
|
|
866
|
-
/** Nicaraguan Córdoba (NIO). */
|
|
867
|
-
CurrencyCode["Nio"] = "NIO";
|
|
868
894
|
/** Nigerian Naira (NGN). */
|
|
869
895
|
CurrencyCode["Ngn"] = "NGN";
|
|
896
|
+
/** Nicaraguan Córdoba (NIO). */
|
|
897
|
+
CurrencyCode["Nio"] = "NIO";
|
|
870
898
|
/** Norwegian Kroner (NOK). */
|
|
871
899
|
CurrencyCode["Nok"] = "NOK";
|
|
900
|
+
/** Nepalese Rupee (NPR). */
|
|
901
|
+
CurrencyCode["Npr"] = "NPR";
|
|
902
|
+
/** New Zealand Dollars (NZD). */
|
|
903
|
+
CurrencyCode["Nzd"] = "NZD";
|
|
872
904
|
/** Omani Rial (OMR). */
|
|
873
905
|
CurrencyCode["Omr"] = "OMR";
|
|
874
906
|
/** Panamian Balboa (PAB). */
|
|
875
907
|
CurrencyCode["Pab"] = "PAB";
|
|
876
|
-
/** Pakistani Rupee (PKR). */
|
|
877
|
-
CurrencyCode["Pkr"] = "PKR";
|
|
878
|
-
/** Papua New Guinean Kina (PGK). */
|
|
879
|
-
CurrencyCode["Pgk"] = "PGK";
|
|
880
|
-
/** Paraguayan Guarani (PYG). */
|
|
881
|
-
CurrencyCode["Pyg"] = "PYG";
|
|
882
908
|
/** Peruvian Nuevo Sol (PEN). */
|
|
883
909
|
CurrencyCode["Pen"] = "PEN";
|
|
910
|
+
/** Papua New Guinean Kina (PGK). */
|
|
911
|
+
CurrencyCode["Pgk"] = "PGK";
|
|
884
912
|
/** Philippine Peso (PHP). */
|
|
885
913
|
CurrencyCode["Php"] = "PHP";
|
|
914
|
+
/** Pakistani Rupee (PKR). */
|
|
915
|
+
CurrencyCode["Pkr"] = "PKR";
|
|
886
916
|
/** Polish Zlotych (PLN). */
|
|
887
917
|
CurrencyCode["Pln"] = "PLN";
|
|
918
|
+
/** Paraguayan Guarani (PYG). */
|
|
919
|
+
CurrencyCode["Pyg"] = "PYG";
|
|
888
920
|
/** Qatari Rial (QAR). */
|
|
889
921
|
CurrencyCode["Qar"] = "QAR";
|
|
890
922
|
/** Romanian Lei (RON). */
|
|
891
923
|
CurrencyCode["Ron"] = "RON";
|
|
924
|
+
/** Serbian dinar (RSD). */
|
|
925
|
+
CurrencyCode["Rsd"] = "RSD";
|
|
892
926
|
/** Russian Rubles (RUB). */
|
|
893
927
|
CurrencyCode["Rub"] = "RUB";
|
|
894
928
|
/** Rwandan Franc (RWF). */
|
|
895
929
|
CurrencyCode["Rwf"] = "RWF";
|
|
896
|
-
/** Samoan Tala (WST). */
|
|
897
|
-
CurrencyCode["Wst"] = "WST";
|
|
898
930
|
/** Saudi Riyal (SAR). */
|
|
899
931
|
CurrencyCode["Sar"] = "SAR";
|
|
900
|
-
/**
|
|
901
|
-
CurrencyCode["
|
|
902
|
-
/** Serbian dinar (RSD). */
|
|
903
|
-
CurrencyCode["Rsd"] = "RSD";
|
|
932
|
+
/** Solomon Islands Dollar (SBD). */
|
|
933
|
+
CurrencyCode["Sbd"] = "SBD";
|
|
904
934
|
/** Seychellois Rupee (SCR). */
|
|
905
935
|
CurrencyCode["Scr"] = "SCR";
|
|
906
|
-
/** Singapore Dollars (SGD). */
|
|
907
|
-
CurrencyCode["Sgd"] = "SGD";
|
|
908
936
|
/** Sudanese Pound (SDG). */
|
|
909
937
|
CurrencyCode["Sdg"] = "SDG";
|
|
910
|
-
/** Syrian Pound (SYP). */
|
|
911
|
-
CurrencyCode["Syp"] = "SYP";
|
|
912
|
-
/** South African Rand (ZAR). */
|
|
913
|
-
CurrencyCode["Zar"] = "ZAR";
|
|
914
|
-
/** South Korean Won (KRW). */
|
|
915
|
-
CurrencyCode["Krw"] = "KRW";
|
|
916
|
-
/** South Sudanese Pound (SSP). */
|
|
917
|
-
CurrencyCode["Ssp"] = "SSP";
|
|
918
|
-
/** Solomon Islands Dollar (SBD). */
|
|
919
|
-
CurrencyCode["Sbd"] = "SBD";
|
|
920
|
-
/** Sri Lankan Rupees (LKR). */
|
|
921
|
-
CurrencyCode["Lkr"] = "LKR";
|
|
922
|
-
/** Surinamese Dollar (SRD). */
|
|
923
|
-
CurrencyCode["Srd"] = "SRD";
|
|
924
|
-
/** Swazi Lilangeni (SZL). */
|
|
925
|
-
CurrencyCode["Szl"] = "SZL";
|
|
926
938
|
/** Swedish Kronor (SEK). */
|
|
927
939
|
CurrencyCode["Sek"] = "SEK";
|
|
928
|
-
/**
|
|
929
|
-
CurrencyCode["
|
|
930
|
-
/** Taiwan Dollars (TWD). */
|
|
931
|
-
CurrencyCode["Twd"] = "TWD";
|
|
932
|
-
/** Thai baht (THB). */
|
|
933
|
-
CurrencyCode["Thb"] = "THB";
|
|
934
|
-
/** Tanzanian Shilling (TZS). */
|
|
935
|
-
CurrencyCode["Tzs"] = "TZS";
|
|
936
|
-
/** Trinidad and Tobago Dollars (TTD). */
|
|
937
|
-
CurrencyCode["Ttd"] = "TTD";
|
|
938
|
-
/** Tunisian Dinar (TND). */
|
|
939
|
-
CurrencyCode["Tnd"] = "TND";
|
|
940
|
-
/** Turkish Lira (TRY). */
|
|
941
|
-
CurrencyCode["Try"] = "TRY";
|
|
942
|
-
/** Turkmenistani Manat (TMT). */
|
|
943
|
-
CurrencyCode["Tmt"] = "TMT";
|
|
944
|
-
/** Ugandan Shilling (UGX). */
|
|
945
|
-
CurrencyCode["Ugx"] = "UGX";
|
|
946
|
-
/** Ukrainian Hryvnia (UAH). */
|
|
947
|
-
CurrencyCode["Uah"] = "UAH";
|
|
948
|
-
/** United Arab Emirates Dirham (AED). */
|
|
949
|
-
CurrencyCode["Aed"] = "AED";
|
|
950
|
-
/** Uruguayan Pesos (UYU). */
|
|
951
|
-
CurrencyCode["Uyu"] = "UYU";
|
|
952
|
-
/** Uzbekistan som (UZS). */
|
|
953
|
-
CurrencyCode["Uzs"] = "UZS";
|
|
954
|
-
/** Vanuatu Vatu (VUV). */
|
|
955
|
-
CurrencyCode["Vuv"] = "VUV";
|
|
956
|
-
/** Vietnamese đồng (VND). */
|
|
957
|
-
CurrencyCode["Vnd"] = "VND";
|
|
958
|
-
/** West African CFA franc (XOF). */
|
|
959
|
-
CurrencyCode["Xof"] = "XOF";
|
|
960
|
-
/** Yemeni Rial (YER). */
|
|
961
|
-
CurrencyCode["Yer"] = "YER";
|
|
962
|
-
/** Zambian Kwacha (ZMW). */
|
|
963
|
-
CurrencyCode["Zmw"] = "ZMW";
|
|
964
|
-
/** Belarusian Ruble (BYN). */
|
|
965
|
-
CurrencyCode["Byn"] = "BYN";
|
|
966
|
-
/** Belarusian Ruble (BYR). */
|
|
967
|
-
CurrencyCode["Byr"] = "BYR";
|
|
968
|
-
/** Djiboutian Franc (DJF). */
|
|
969
|
-
CurrencyCode["Djf"] = "DJF";
|
|
970
|
-
/** Eritrean Nakfa (ERN). */
|
|
971
|
-
CurrencyCode["Ern"] = "ERN";
|
|
972
|
-
/** Falkland Islands Pounds (FKP). */
|
|
973
|
-
CurrencyCode["Fkp"] = "FKP";
|
|
974
|
-
/** Gibraltar Pounds (GIP). */
|
|
975
|
-
CurrencyCode["Gip"] = "GIP";
|
|
976
|
-
/** Guinean Franc (GNF). */
|
|
977
|
-
CurrencyCode["Gnf"] = "GNF";
|
|
978
|
-
/** Iranian Rial (IRR). */
|
|
979
|
-
CurrencyCode["Irr"] = "IRR";
|
|
980
|
-
/** Kiribati Dollar (KID). */
|
|
981
|
-
CurrencyCode["Kid"] = "KID";
|
|
982
|
-
/** Libyan Dinar (LYD). */
|
|
983
|
-
CurrencyCode["Lyd"] = "LYD";
|
|
984
|
-
/** Mauritanian Ouguiya (MRU). */
|
|
985
|
-
CurrencyCode["Mru"] = "MRU";
|
|
986
|
-
/** Sierra Leonean Leone (SLL). */
|
|
987
|
-
CurrencyCode["Sll"] = "SLL";
|
|
940
|
+
/** Singapore Dollars (SGD). */
|
|
941
|
+
CurrencyCode["Sgd"] = "SGD";
|
|
988
942
|
/** Saint Helena Pounds (SHP). */
|
|
989
943
|
CurrencyCode["Shp"] = "SHP";
|
|
944
|
+
/** Sierra Leonean Leone (SLL). */
|
|
945
|
+
CurrencyCode["Sll"] = "SLL";
|
|
990
946
|
/** Somali Shilling (SOS). */
|
|
991
947
|
CurrencyCode["Sos"] = "SOS";
|
|
948
|
+
/** Surinamese Dollar (SRD). */
|
|
949
|
+
CurrencyCode["Srd"] = "SRD";
|
|
950
|
+
/** South Sudanese Pound (SSP). */
|
|
951
|
+
CurrencyCode["Ssp"] = "SSP";
|
|
952
|
+
/** Sao Tome And Principe Dobra (STD). */
|
|
953
|
+
CurrencyCode["Std"] = "STD";
|
|
954
|
+
/** Sao Tome And Principe Dobra (STN). */
|
|
955
|
+
CurrencyCode["Stn"] = "STN";
|
|
956
|
+
/** Syrian Pound (SYP). */
|
|
957
|
+
CurrencyCode["Syp"] = "SYP";
|
|
958
|
+
/** Swazi Lilangeni (SZL). */
|
|
959
|
+
CurrencyCode["Szl"] = "SZL";
|
|
960
|
+
/** Thai baht (THB). */
|
|
961
|
+
CurrencyCode["Thb"] = "THB";
|
|
992
962
|
/** Tajikistani Somoni (TJS). */
|
|
993
963
|
CurrencyCode["Tjs"] = "TJS";
|
|
964
|
+
/** Turkmenistani Manat (TMT). */
|
|
965
|
+
CurrencyCode["Tmt"] = "TMT";
|
|
966
|
+
/** Tunisian Dinar (TND). */
|
|
967
|
+
CurrencyCode["Tnd"] = "TND";
|
|
994
968
|
/** Tongan Pa'anga (TOP). */
|
|
995
969
|
CurrencyCode["Top"] = "TOP";
|
|
970
|
+
/** Turkish Lira (TRY). */
|
|
971
|
+
CurrencyCode["Try"] = "TRY";
|
|
972
|
+
/** Trinidad and Tobago Dollars (TTD). */
|
|
973
|
+
CurrencyCode["Ttd"] = "TTD";
|
|
974
|
+
/** Taiwan Dollars (TWD). */
|
|
975
|
+
CurrencyCode["Twd"] = "TWD";
|
|
976
|
+
/** Tanzanian Shilling (TZS). */
|
|
977
|
+
CurrencyCode["Tzs"] = "TZS";
|
|
978
|
+
/** Ukrainian Hryvnia (UAH). */
|
|
979
|
+
CurrencyCode["Uah"] = "UAH";
|
|
980
|
+
/** Ugandan Shilling (UGX). */
|
|
981
|
+
CurrencyCode["Ugx"] = "UGX";
|
|
982
|
+
/** United States Dollars (USD). */
|
|
983
|
+
CurrencyCode["Usd"] = "USD";
|
|
984
|
+
/** Uruguayan Pesos (UYU). */
|
|
985
|
+
CurrencyCode["Uyu"] = "UYU";
|
|
986
|
+
/** Uzbekistan som (UZS). */
|
|
987
|
+
CurrencyCode["Uzs"] = "UZS";
|
|
988
|
+
/** Venezuelan Bolivares (VED). */
|
|
989
|
+
CurrencyCode["Ved"] = "VED";
|
|
996
990
|
/** Venezuelan Bolivares (VEF). */
|
|
997
991
|
CurrencyCode["Vef"] = "VEF";
|
|
998
992
|
/** Venezuelan Bolivares (VES). */
|
|
999
993
|
CurrencyCode["Ves"] = "VES";
|
|
994
|
+
/** Vietnamese đồng (VND). */
|
|
995
|
+
CurrencyCode["Vnd"] = "VND";
|
|
996
|
+
/** Vanuatu Vatu (VUV). */
|
|
997
|
+
CurrencyCode["Vuv"] = "VUV";
|
|
998
|
+
/** Samoan Tala (WST). */
|
|
999
|
+
CurrencyCode["Wst"] = "WST";
|
|
1000
|
+
/** Central African CFA Franc (XAF). */
|
|
1001
|
+
CurrencyCode["Xaf"] = "XAF";
|
|
1002
|
+
/** East Caribbean Dollar (XCD). */
|
|
1003
|
+
CurrencyCode["Xcd"] = "XCD";
|
|
1004
|
+
/** West African CFA franc (XOF). */
|
|
1005
|
+
CurrencyCode["Xof"] = "XOF";
|
|
1006
|
+
/** CFP Franc (XPF). */
|
|
1007
|
+
CurrencyCode["Xpf"] = "XPF";
|
|
1000
1008
|
/** Unrecognized currency. */
|
|
1001
1009
|
CurrencyCode["Xxx"] = "XXX";
|
|
1010
|
+
/** Yemeni Rial (YER). */
|
|
1011
|
+
CurrencyCode["Yer"] = "YER";
|
|
1012
|
+
/** South African Rand (ZAR). */
|
|
1013
|
+
CurrencyCode["Zar"] = "ZAR";
|
|
1014
|
+
/** Zambian Kwacha (ZMW). */
|
|
1015
|
+
CurrencyCode["Zmw"] = "ZMW";
|
|
1002
1016
|
})(CurrencyCode || (CurrencyCode = {}));
|
|
1003
|
-
/** Possible error codes that
|
|
1017
|
+
/** Possible error codes that can be returned by `CustomerUserError`. */
|
|
1004
1018
|
export var CustomerErrorCode;
|
|
1005
1019
|
(function (CustomerErrorCode) {
|
|
1020
|
+
/** Customer already enabled. */
|
|
1021
|
+
CustomerErrorCode["AlreadyEnabled"] = "ALREADY_ENABLED";
|
|
1022
|
+
/** Input email contains an invalid domain name. */
|
|
1023
|
+
CustomerErrorCode["BadDomain"] = "BAD_DOMAIN";
|
|
1006
1024
|
/** The input value is blank. */
|
|
1007
1025
|
CustomerErrorCode["Blank"] = "BLANK";
|
|
1026
|
+
/** Input contains HTML tags. */
|
|
1027
|
+
CustomerErrorCode["ContainsHtmlTags"] = "CONTAINS_HTML_TAGS";
|
|
1028
|
+
/** Input contains URL. */
|
|
1029
|
+
CustomerErrorCode["ContainsUrl"] = "CONTAINS_URL";
|
|
1030
|
+
/** Customer is disabled. */
|
|
1031
|
+
CustomerErrorCode["CustomerDisabled"] = "CUSTOMER_DISABLED";
|
|
1008
1032
|
/** The input value is invalid. */
|
|
1009
1033
|
CustomerErrorCode["Invalid"] = "INVALID";
|
|
1034
|
+
/** Multipass token is not valid. */
|
|
1035
|
+
CustomerErrorCode["InvalidMultipassRequest"] = "INVALID_MULTIPASS_REQUEST";
|
|
1036
|
+
/** Address does not exist. */
|
|
1037
|
+
CustomerErrorCode["NotFound"] = "NOT_FOUND";
|
|
1038
|
+
/** Input password starts or ends with whitespace. */
|
|
1039
|
+
CustomerErrorCode["PasswordStartsOrEndsWithWhitespace"] = "PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE";
|
|
1010
1040
|
/** The input value is already taken. */
|
|
1011
1041
|
CustomerErrorCode["Taken"] = "TAKEN";
|
|
1042
|
+
/** Invalid activation token. */
|
|
1043
|
+
CustomerErrorCode["TokenInvalid"] = "TOKEN_INVALID";
|
|
1012
1044
|
/** The input value is too long. */
|
|
1013
1045
|
CustomerErrorCode["TooLong"] = "TOO_LONG";
|
|
1014
1046
|
/** The input value is too short. */
|
|
1015
1047
|
CustomerErrorCode["TooShort"] = "TOO_SHORT";
|
|
1016
1048
|
/** Unidentified customer. */
|
|
1017
1049
|
CustomerErrorCode["UnidentifiedCustomer"] = "UNIDENTIFIED_CUSTOMER";
|
|
1018
|
-
/** Customer is disabled. */
|
|
1019
|
-
CustomerErrorCode["CustomerDisabled"] = "CUSTOMER_DISABLED";
|
|
1020
|
-
/** Input password starts or ends with whitespace. */
|
|
1021
|
-
CustomerErrorCode["PasswordStartsOrEndsWithWhitespace"] = "PASSWORD_STARTS_OR_ENDS_WITH_WHITESPACE";
|
|
1022
|
-
/** Input contains HTML tags. */
|
|
1023
|
-
CustomerErrorCode["ContainsHtmlTags"] = "CONTAINS_HTML_TAGS";
|
|
1024
|
-
/** Input contains URL. */
|
|
1025
|
-
CustomerErrorCode["ContainsUrl"] = "CONTAINS_URL";
|
|
1026
|
-
/** Invalid activation token. */
|
|
1027
|
-
CustomerErrorCode["TokenInvalid"] = "TOKEN_INVALID";
|
|
1028
|
-
/** Customer already enabled. */
|
|
1029
|
-
CustomerErrorCode["AlreadyEnabled"] = "ALREADY_ENABLED";
|
|
1030
|
-
/** Address does not exist. */
|
|
1031
|
-
CustomerErrorCode["NotFound"] = "NOT_FOUND";
|
|
1032
|
-
/** Input email contains an invalid domain name. */
|
|
1033
|
-
CustomerErrorCode["BadDomain"] = "BAD_DOMAIN";
|
|
1034
|
-
/** Multipass token is not valid. */
|
|
1035
|
-
CustomerErrorCode["InvalidMultipassRequest"] = "INVALID_MULTIPASS_REQUEST";
|
|
1036
1050
|
})(CustomerErrorCode || (CustomerErrorCode = {}));
|
|
1051
|
+
/** List of different delivery method types. */
|
|
1052
|
+
export var DeliveryMethodType;
|
|
1053
|
+
(function (DeliveryMethodType) {
|
|
1054
|
+
/** Local Delivery. */
|
|
1055
|
+
DeliveryMethodType["Local"] = "LOCAL";
|
|
1056
|
+
/** None. */
|
|
1057
|
+
DeliveryMethodType["None"] = "NONE";
|
|
1058
|
+
/** Shipping to a Pickup Point. */
|
|
1059
|
+
DeliveryMethodType["PickupPoint"] = "PICKUP_POINT";
|
|
1060
|
+
/** Local Pickup. */
|
|
1061
|
+
DeliveryMethodType["PickUp"] = "PICK_UP";
|
|
1062
|
+
/** Retail. */
|
|
1063
|
+
DeliveryMethodType["Retail"] = "RETAIL";
|
|
1064
|
+
/** Shipping. */
|
|
1065
|
+
DeliveryMethodType["Shipping"] = "SHIPPING";
|
|
1066
|
+
})(DeliveryMethodType || (DeliveryMethodType = {}));
|
|
1037
1067
|
/** Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. */
|
|
1038
1068
|
export var DigitalWallet;
|
|
1039
1069
|
(function (DigitalWallet) {
|
|
1040
|
-
/** Apple Pay. */
|
|
1041
|
-
DigitalWallet["ApplePay"] = "APPLE_PAY";
|
|
1042
1070
|
/** Android Pay. */
|
|
1043
1071
|
DigitalWallet["AndroidPay"] = "ANDROID_PAY";
|
|
1072
|
+
/** Apple Pay. */
|
|
1073
|
+
DigitalWallet["ApplePay"] = "APPLE_PAY";
|
|
1044
1074
|
/** Google Pay. */
|
|
1045
1075
|
DigitalWallet["GooglePay"] = "GOOGLE_PAY";
|
|
1046
1076
|
/** Shopify Pay. */
|
|
@@ -1057,19 +1087,25 @@ export var DiscountApplicationAllocationMethod;
|
|
|
1057
1087
|
DiscountApplicationAllocationMethod["One"] = "ONE";
|
|
1058
1088
|
})(DiscountApplicationAllocationMethod || (DiscountApplicationAllocationMethod = {}));
|
|
1059
1089
|
/**
|
|
1060
|
-
*
|
|
1061
|
-
*
|
|
1090
|
+
* The lines on the order to which the discount is applied, of the type defined by
|
|
1091
|
+
* the discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of
|
|
1092
|
+
* `LINE_ITEM`, applies the discount on all line items that are entitled to the discount.
|
|
1093
|
+
* The value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.
|
|
1094
|
+
*
|
|
1062
1095
|
*/
|
|
1063
1096
|
export var DiscountApplicationTargetSelection;
|
|
1064
1097
|
(function (DiscountApplicationTargetSelection) {
|
|
1065
1098
|
/** The discount is allocated onto all the lines. */
|
|
1066
1099
|
DiscountApplicationTargetSelection["All"] = "ALL";
|
|
1067
|
-
/** The discount is allocated onto only the lines it
|
|
1100
|
+
/** The discount is allocated onto only the lines that it's entitled for. */
|
|
1068
1101
|
DiscountApplicationTargetSelection["Entitled"] = "ENTITLED";
|
|
1069
1102
|
/** The discount is allocated onto explicitly chosen lines. */
|
|
1070
1103
|
DiscountApplicationTargetSelection["Explicit"] = "EXPLICIT";
|
|
1071
1104
|
})(DiscountApplicationTargetSelection || (DiscountApplicationTargetSelection = {}));
|
|
1072
|
-
/**
|
|
1105
|
+
/**
|
|
1106
|
+
* The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
|
|
1107
|
+
*
|
|
1108
|
+
*/
|
|
1073
1109
|
export var DiscountApplicationTargetType;
|
|
1074
1110
|
(function (DiscountApplicationTargetType) {
|
|
1075
1111
|
/** The discount applies onto line items. */
|
|
@@ -1077,27 +1113,321 @@ export var DiscountApplicationTargetType;
|
|
|
1077
1113
|
/** The discount applies onto shipping lines. */
|
|
1078
1114
|
DiscountApplicationTargetType["ShippingLine"] = "SHIPPING_LINE";
|
|
1079
1115
|
})(DiscountApplicationTargetType || (DiscountApplicationTargetType = {}));
|
|
1116
|
+
/**
|
|
1117
|
+
* The type of data that the filter group represents.
|
|
1118
|
+
*
|
|
1119
|
+
* For more information, refer to [Filter products in a collection with the Storefront API]
|
|
1120
|
+
* (https://shopify.dev/api/examples/filter-products).
|
|
1121
|
+
*
|
|
1122
|
+
*/
|
|
1123
|
+
export var FilterType;
|
|
1124
|
+
(function (FilterType) {
|
|
1125
|
+
/** A boolean value. */
|
|
1126
|
+
FilterType["Boolean"] = "BOOLEAN";
|
|
1127
|
+
/** A list of selectable values. */
|
|
1128
|
+
FilterType["List"] = "LIST";
|
|
1129
|
+
/** A range of prices. */
|
|
1130
|
+
FilterType["PriceRange"] = "PRICE_RANGE";
|
|
1131
|
+
})(FilterType || (FilterType = {}));
|
|
1080
1132
|
/** List of supported image content types. */
|
|
1081
1133
|
export var ImageContentType;
|
|
1082
1134
|
(function (ImageContentType) {
|
|
1083
|
-
/** A PNG image. */
|
|
1084
|
-
ImageContentType["Png"] = "PNG";
|
|
1085
1135
|
/** A JPG image. */
|
|
1086
1136
|
ImageContentType["Jpg"] = "JPG";
|
|
1137
|
+
/** A PNG image. */
|
|
1138
|
+
ImageContentType["Png"] = "PNG";
|
|
1087
1139
|
/** A WEBP image. */
|
|
1088
1140
|
ImageContentType["Webp"] = "WEBP";
|
|
1089
1141
|
})(ImageContentType || (ImageContentType = {}));
|
|
1142
|
+
/** ISO 639-1 language codes supported by Shopify. */
|
|
1143
|
+
export var LanguageCode;
|
|
1144
|
+
(function (LanguageCode) {
|
|
1145
|
+
/** Afrikaans. */
|
|
1146
|
+
LanguageCode["Af"] = "AF";
|
|
1147
|
+
/** Akan. */
|
|
1148
|
+
LanguageCode["Ak"] = "AK";
|
|
1149
|
+
/** Amharic. */
|
|
1150
|
+
LanguageCode["Am"] = "AM";
|
|
1151
|
+
/** Arabic. */
|
|
1152
|
+
LanguageCode["Ar"] = "AR";
|
|
1153
|
+
/** Assamese. */
|
|
1154
|
+
LanguageCode["As"] = "AS";
|
|
1155
|
+
/** Azerbaijani. */
|
|
1156
|
+
LanguageCode["Az"] = "AZ";
|
|
1157
|
+
/** Belarusian. */
|
|
1158
|
+
LanguageCode["Be"] = "BE";
|
|
1159
|
+
/** Bulgarian. */
|
|
1160
|
+
LanguageCode["Bg"] = "BG";
|
|
1161
|
+
/** Bambara. */
|
|
1162
|
+
LanguageCode["Bm"] = "BM";
|
|
1163
|
+
/** Bangla. */
|
|
1164
|
+
LanguageCode["Bn"] = "BN";
|
|
1165
|
+
/** Tibetan. */
|
|
1166
|
+
LanguageCode["Bo"] = "BO";
|
|
1167
|
+
/** Breton. */
|
|
1168
|
+
LanguageCode["Br"] = "BR";
|
|
1169
|
+
/** Bosnian. */
|
|
1170
|
+
LanguageCode["Bs"] = "BS";
|
|
1171
|
+
/** Catalan. */
|
|
1172
|
+
LanguageCode["Ca"] = "CA";
|
|
1173
|
+
/** Chechen. */
|
|
1174
|
+
LanguageCode["Ce"] = "CE";
|
|
1175
|
+
/** Czech. */
|
|
1176
|
+
LanguageCode["Cs"] = "CS";
|
|
1177
|
+
/** Church Slavic. */
|
|
1178
|
+
LanguageCode["Cu"] = "CU";
|
|
1179
|
+
/** Welsh. */
|
|
1180
|
+
LanguageCode["Cy"] = "CY";
|
|
1181
|
+
/** Danish. */
|
|
1182
|
+
LanguageCode["Da"] = "DA";
|
|
1183
|
+
/** German. */
|
|
1184
|
+
LanguageCode["De"] = "DE";
|
|
1185
|
+
/** Dzongkha. */
|
|
1186
|
+
LanguageCode["Dz"] = "DZ";
|
|
1187
|
+
/** Ewe. */
|
|
1188
|
+
LanguageCode["Ee"] = "EE";
|
|
1189
|
+
/** Greek. */
|
|
1190
|
+
LanguageCode["El"] = "EL";
|
|
1191
|
+
/** English. */
|
|
1192
|
+
LanguageCode["En"] = "EN";
|
|
1193
|
+
/** Esperanto. */
|
|
1194
|
+
LanguageCode["Eo"] = "EO";
|
|
1195
|
+
/** Spanish. */
|
|
1196
|
+
LanguageCode["Es"] = "ES";
|
|
1197
|
+
/** Estonian. */
|
|
1198
|
+
LanguageCode["Et"] = "ET";
|
|
1199
|
+
/** Basque. */
|
|
1200
|
+
LanguageCode["Eu"] = "EU";
|
|
1201
|
+
/** Persian. */
|
|
1202
|
+
LanguageCode["Fa"] = "FA";
|
|
1203
|
+
/** Fulah. */
|
|
1204
|
+
LanguageCode["Ff"] = "FF";
|
|
1205
|
+
/** Finnish. */
|
|
1206
|
+
LanguageCode["Fi"] = "FI";
|
|
1207
|
+
/** Faroese. */
|
|
1208
|
+
LanguageCode["Fo"] = "FO";
|
|
1209
|
+
/** French. */
|
|
1210
|
+
LanguageCode["Fr"] = "FR";
|
|
1211
|
+
/** Western Frisian. */
|
|
1212
|
+
LanguageCode["Fy"] = "FY";
|
|
1213
|
+
/** Irish. */
|
|
1214
|
+
LanguageCode["Ga"] = "GA";
|
|
1215
|
+
/** Scottish Gaelic. */
|
|
1216
|
+
LanguageCode["Gd"] = "GD";
|
|
1217
|
+
/** Galician. */
|
|
1218
|
+
LanguageCode["Gl"] = "GL";
|
|
1219
|
+
/** Gujarati. */
|
|
1220
|
+
LanguageCode["Gu"] = "GU";
|
|
1221
|
+
/** Manx. */
|
|
1222
|
+
LanguageCode["Gv"] = "GV";
|
|
1223
|
+
/** Hausa. */
|
|
1224
|
+
LanguageCode["Ha"] = "HA";
|
|
1225
|
+
/** Hebrew. */
|
|
1226
|
+
LanguageCode["He"] = "HE";
|
|
1227
|
+
/** Hindi. */
|
|
1228
|
+
LanguageCode["Hi"] = "HI";
|
|
1229
|
+
/** Croatian. */
|
|
1230
|
+
LanguageCode["Hr"] = "HR";
|
|
1231
|
+
/** Hungarian. */
|
|
1232
|
+
LanguageCode["Hu"] = "HU";
|
|
1233
|
+
/** Armenian. */
|
|
1234
|
+
LanguageCode["Hy"] = "HY";
|
|
1235
|
+
/** Interlingua. */
|
|
1236
|
+
LanguageCode["Ia"] = "IA";
|
|
1237
|
+
/** Indonesian. */
|
|
1238
|
+
LanguageCode["Id"] = "ID";
|
|
1239
|
+
/** Igbo. */
|
|
1240
|
+
LanguageCode["Ig"] = "IG";
|
|
1241
|
+
/** Sichuan Yi. */
|
|
1242
|
+
LanguageCode["Ii"] = "II";
|
|
1243
|
+
/** Icelandic. */
|
|
1244
|
+
LanguageCode["Is"] = "IS";
|
|
1245
|
+
/** Italian. */
|
|
1246
|
+
LanguageCode["It"] = "IT";
|
|
1247
|
+
/** Japanese. */
|
|
1248
|
+
LanguageCode["Ja"] = "JA";
|
|
1249
|
+
/** Javanese. */
|
|
1250
|
+
LanguageCode["Jv"] = "JV";
|
|
1251
|
+
/** Georgian. */
|
|
1252
|
+
LanguageCode["Ka"] = "KA";
|
|
1253
|
+
/** Kikuyu. */
|
|
1254
|
+
LanguageCode["Ki"] = "KI";
|
|
1255
|
+
/** Kazakh. */
|
|
1256
|
+
LanguageCode["Kk"] = "KK";
|
|
1257
|
+
/** Kalaallisut. */
|
|
1258
|
+
LanguageCode["Kl"] = "KL";
|
|
1259
|
+
/** Khmer. */
|
|
1260
|
+
LanguageCode["Km"] = "KM";
|
|
1261
|
+
/** Kannada. */
|
|
1262
|
+
LanguageCode["Kn"] = "KN";
|
|
1263
|
+
/** Korean. */
|
|
1264
|
+
LanguageCode["Ko"] = "KO";
|
|
1265
|
+
/** Kashmiri. */
|
|
1266
|
+
LanguageCode["Ks"] = "KS";
|
|
1267
|
+
/** Kurdish. */
|
|
1268
|
+
LanguageCode["Ku"] = "KU";
|
|
1269
|
+
/** Cornish. */
|
|
1270
|
+
LanguageCode["Kw"] = "KW";
|
|
1271
|
+
/** Kyrgyz. */
|
|
1272
|
+
LanguageCode["Ky"] = "KY";
|
|
1273
|
+
/** Luxembourgish. */
|
|
1274
|
+
LanguageCode["Lb"] = "LB";
|
|
1275
|
+
/** Ganda. */
|
|
1276
|
+
LanguageCode["Lg"] = "LG";
|
|
1277
|
+
/** Lingala. */
|
|
1278
|
+
LanguageCode["Ln"] = "LN";
|
|
1279
|
+
/** Lao. */
|
|
1280
|
+
LanguageCode["Lo"] = "LO";
|
|
1281
|
+
/** Lithuanian. */
|
|
1282
|
+
LanguageCode["Lt"] = "LT";
|
|
1283
|
+
/** Luba-Katanga. */
|
|
1284
|
+
LanguageCode["Lu"] = "LU";
|
|
1285
|
+
/** Latvian. */
|
|
1286
|
+
LanguageCode["Lv"] = "LV";
|
|
1287
|
+
/** Malagasy. */
|
|
1288
|
+
LanguageCode["Mg"] = "MG";
|
|
1289
|
+
/** Maori. */
|
|
1290
|
+
LanguageCode["Mi"] = "MI";
|
|
1291
|
+
/** Macedonian. */
|
|
1292
|
+
LanguageCode["Mk"] = "MK";
|
|
1293
|
+
/** Malayalam. */
|
|
1294
|
+
LanguageCode["Ml"] = "ML";
|
|
1295
|
+
/** Mongolian. */
|
|
1296
|
+
LanguageCode["Mn"] = "MN";
|
|
1297
|
+
/** Marathi. */
|
|
1298
|
+
LanguageCode["Mr"] = "MR";
|
|
1299
|
+
/** Malay. */
|
|
1300
|
+
LanguageCode["Ms"] = "MS";
|
|
1301
|
+
/** Maltese. */
|
|
1302
|
+
LanguageCode["Mt"] = "MT";
|
|
1303
|
+
/** Burmese. */
|
|
1304
|
+
LanguageCode["My"] = "MY";
|
|
1305
|
+
/** Norwegian (Bokmål). */
|
|
1306
|
+
LanguageCode["Nb"] = "NB";
|
|
1307
|
+
/** North Ndebele. */
|
|
1308
|
+
LanguageCode["Nd"] = "ND";
|
|
1309
|
+
/** Nepali. */
|
|
1310
|
+
LanguageCode["Ne"] = "NE";
|
|
1311
|
+
/** Dutch. */
|
|
1312
|
+
LanguageCode["Nl"] = "NL";
|
|
1313
|
+
/** Norwegian Nynorsk. */
|
|
1314
|
+
LanguageCode["Nn"] = "NN";
|
|
1315
|
+
/** Norwegian. */
|
|
1316
|
+
LanguageCode["No"] = "NO";
|
|
1317
|
+
/** Oromo. */
|
|
1318
|
+
LanguageCode["Om"] = "OM";
|
|
1319
|
+
/** Odia. */
|
|
1320
|
+
LanguageCode["Or"] = "OR";
|
|
1321
|
+
/** Ossetic. */
|
|
1322
|
+
LanguageCode["Os"] = "OS";
|
|
1323
|
+
/** Punjabi. */
|
|
1324
|
+
LanguageCode["Pa"] = "PA";
|
|
1325
|
+
/** Polish. */
|
|
1326
|
+
LanguageCode["Pl"] = "PL";
|
|
1327
|
+
/** Pashto. */
|
|
1328
|
+
LanguageCode["Ps"] = "PS";
|
|
1329
|
+
/** Portuguese. */
|
|
1330
|
+
LanguageCode["Pt"] = "PT";
|
|
1331
|
+
/** Portuguese (Brazil). */
|
|
1332
|
+
LanguageCode["PtBr"] = "PT_BR";
|
|
1333
|
+
/** Portuguese (Portugal). */
|
|
1334
|
+
LanguageCode["PtPt"] = "PT_PT";
|
|
1335
|
+
/** Quechua. */
|
|
1336
|
+
LanguageCode["Qu"] = "QU";
|
|
1337
|
+
/** Romansh. */
|
|
1338
|
+
LanguageCode["Rm"] = "RM";
|
|
1339
|
+
/** Rundi. */
|
|
1340
|
+
LanguageCode["Rn"] = "RN";
|
|
1341
|
+
/** Romanian. */
|
|
1342
|
+
LanguageCode["Ro"] = "RO";
|
|
1343
|
+
/** Russian. */
|
|
1344
|
+
LanguageCode["Ru"] = "RU";
|
|
1345
|
+
/** Kinyarwanda. */
|
|
1346
|
+
LanguageCode["Rw"] = "RW";
|
|
1347
|
+
/** Sindhi. */
|
|
1348
|
+
LanguageCode["Sd"] = "SD";
|
|
1349
|
+
/** Northern Sami. */
|
|
1350
|
+
LanguageCode["Se"] = "SE";
|
|
1351
|
+
/** Sango. */
|
|
1352
|
+
LanguageCode["Sg"] = "SG";
|
|
1353
|
+
/** Sinhala. */
|
|
1354
|
+
LanguageCode["Si"] = "SI";
|
|
1355
|
+
/** Slovak. */
|
|
1356
|
+
LanguageCode["Sk"] = "SK";
|
|
1357
|
+
/** Slovenian. */
|
|
1358
|
+
LanguageCode["Sl"] = "SL";
|
|
1359
|
+
/** Shona. */
|
|
1360
|
+
LanguageCode["Sn"] = "SN";
|
|
1361
|
+
/** Somali. */
|
|
1362
|
+
LanguageCode["So"] = "SO";
|
|
1363
|
+
/** Albanian. */
|
|
1364
|
+
LanguageCode["Sq"] = "SQ";
|
|
1365
|
+
/** Serbian. */
|
|
1366
|
+
LanguageCode["Sr"] = "SR";
|
|
1367
|
+
/** Sundanese. */
|
|
1368
|
+
LanguageCode["Su"] = "SU";
|
|
1369
|
+
/** Swedish. */
|
|
1370
|
+
LanguageCode["Sv"] = "SV";
|
|
1371
|
+
/** Swahili. */
|
|
1372
|
+
LanguageCode["Sw"] = "SW";
|
|
1373
|
+
/** Tamil. */
|
|
1374
|
+
LanguageCode["Ta"] = "TA";
|
|
1375
|
+
/** Telugu. */
|
|
1376
|
+
LanguageCode["Te"] = "TE";
|
|
1377
|
+
/** Tajik. */
|
|
1378
|
+
LanguageCode["Tg"] = "TG";
|
|
1379
|
+
/** Thai. */
|
|
1380
|
+
LanguageCode["Th"] = "TH";
|
|
1381
|
+
/** Tigrinya. */
|
|
1382
|
+
LanguageCode["Ti"] = "TI";
|
|
1383
|
+
/** Turkmen. */
|
|
1384
|
+
LanguageCode["Tk"] = "TK";
|
|
1385
|
+
/** Tongan. */
|
|
1386
|
+
LanguageCode["To"] = "TO";
|
|
1387
|
+
/** Turkish. */
|
|
1388
|
+
LanguageCode["Tr"] = "TR";
|
|
1389
|
+
/** Tatar. */
|
|
1390
|
+
LanguageCode["Tt"] = "TT";
|
|
1391
|
+
/** Uyghur. */
|
|
1392
|
+
LanguageCode["Ug"] = "UG";
|
|
1393
|
+
/** Ukrainian. */
|
|
1394
|
+
LanguageCode["Uk"] = "UK";
|
|
1395
|
+
/** Urdu. */
|
|
1396
|
+
LanguageCode["Ur"] = "UR";
|
|
1397
|
+
/** Uzbek. */
|
|
1398
|
+
LanguageCode["Uz"] = "UZ";
|
|
1399
|
+
/** Vietnamese. */
|
|
1400
|
+
LanguageCode["Vi"] = "VI";
|
|
1401
|
+
/** Volapük. */
|
|
1402
|
+
LanguageCode["Vo"] = "VO";
|
|
1403
|
+
/** Wolof. */
|
|
1404
|
+
LanguageCode["Wo"] = "WO";
|
|
1405
|
+
/** Xhosa. */
|
|
1406
|
+
LanguageCode["Xh"] = "XH";
|
|
1407
|
+
/** Yiddish. */
|
|
1408
|
+
LanguageCode["Yi"] = "YI";
|
|
1409
|
+
/** Yoruba. */
|
|
1410
|
+
LanguageCode["Yo"] = "YO";
|
|
1411
|
+
/** Chinese. */
|
|
1412
|
+
LanguageCode["Zh"] = "ZH";
|
|
1413
|
+
/** Chinese (Simplified). */
|
|
1414
|
+
LanguageCode["ZhCn"] = "ZH_CN";
|
|
1415
|
+
/** Chinese (Traditional). */
|
|
1416
|
+
LanguageCode["ZhTw"] = "ZH_TW";
|
|
1417
|
+
/** Zulu. */
|
|
1418
|
+
LanguageCode["Zu"] = "ZU";
|
|
1419
|
+
})(LanguageCode || (LanguageCode = {}));
|
|
1090
1420
|
/** The set of valid sort keys for the Location query. */
|
|
1091
1421
|
export var LocationSortKeys;
|
|
1092
1422
|
(function (LocationSortKeys) {
|
|
1093
|
-
/** Sort by the `id` value. */
|
|
1094
|
-
LocationSortKeys["Id"] = "ID";
|
|
1095
|
-
/** Sort by the `name` value. */
|
|
1096
|
-
LocationSortKeys["Name"] = "NAME";
|
|
1097
1423
|
/** Sort by the `city` value. */
|
|
1098
1424
|
LocationSortKeys["City"] = "CITY";
|
|
1099
1425
|
/** Sort by the `distance` value. */
|
|
1100
1426
|
LocationSortKeys["Distance"] = "DISTANCE";
|
|
1427
|
+
/** Sort by the `id` value. */
|
|
1428
|
+
LocationSortKeys["Id"] = "ID";
|
|
1429
|
+
/** Sort by the `name` value. */
|
|
1430
|
+
LocationSortKeys["Name"] = "NAME";
|
|
1101
1431
|
})(LocationSortKeys || (LocationSortKeys = {}));
|
|
1102
1432
|
/** The possible content types for a media object. */
|
|
1103
1433
|
export var MediaContentType;
|
|
@@ -1114,283 +1444,310 @@ export var MediaContentType;
|
|
|
1114
1444
|
/** Host for a Media Resource. */
|
|
1115
1445
|
export var MediaHost;
|
|
1116
1446
|
(function (MediaHost) {
|
|
1117
|
-
/** Host for YouTube embedded videos. */
|
|
1118
|
-
MediaHost["Youtube"] = "YOUTUBE";
|
|
1119
1447
|
/** Host for Vimeo embedded videos. */
|
|
1120
1448
|
MediaHost["Vimeo"] = "VIMEO";
|
|
1449
|
+
/** Host for YouTube embedded videos. */
|
|
1450
|
+
MediaHost["Youtube"] = "YOUTUBE";
|
|
1121
1451
|
})(MediaHost || (MediaHost = {}));
|
|
1122
|
-
/**
|
|
1123
|
-
export var
|
|
1124
|
-
(function (
|
|
1125
|
-
/**
|
|
1126
|
-
|
|
1127
|
-
/**
|
|
1128
|
-
|
|
1129
|
-
/** A
|
|
1130
|
-
|
|
1131
|
-
|
|
1452
|
+
/** A menu item type. */
|
|
1453
|
+
export var MenuItemType;
|
|
1454
|
+
(function (MenuItemType) {
|
|
1455
|
+
/** An article link. */
|
|
1456
|
+
MenuItemType["Article"] = "ARTICLE";
|
|
1457
|
+
/** A blog link. */
|
|
1458
|
+
MenuItemType["Blog"] = "BLOG";
|
|
1459
|
+
/** A catalog link. */
|
|
1460
|
+
MenuItemType["Catalog"] = "CATALOG";
|
|
1461
|
+
/** A collection link. */
|
|
1462
|
+
MenuItemType["Collection"] = "COLLECTION";
|
|
1463
|
+
/** A collection link. */
|
|
1464
|
+
MenuItemType["Collections"] = "COLLECTIONS";
|
|
1465
|
+
/** A frontpage link. */
|
|
1466
|
+
MenuItemType["Frontpage"] = "FRONTPAGE";
|
|
1467
|
+
/** An http link. */
|
|
1468
|
+
MenuItemType["Http"] = "HTTP";
|
|
1469
|
+
/** A page link. */
|
|
1470
|
+
MenuItemType["Page"] = "PAGE";
|
|
1471
|
+
/** A product link. */
|
|
1472
|
+
MenuItemType["Product"] = "PRODUCT";
|
|
1473
|
+
/** A search link. */
|
|
1474
|
+
MenuItemType["Search"] = "SEARCH";
|
|
1475
|
+
/** A shop policy link. */
|
|
1476
|
+
MenuItemType["ShopPolicy"] = "SHOP_POLICY";
|
|
1477
|
+
})(MenuItemType || (MenuItemType = {}));
|
|
1132
1478
|
/** Represents the reason for the order's cancellation. */
|
|
1133
1479
|
export var OrderCancelReason;
|
|
1134
1480
|
(function (OrderCancelReason) {
|
|
1135
1481
|
/** The customer wanted to cancel the order. */
|
|
1136
1482
|
OrderCancelReason["Customer"] = "CUSTOMER";
|
|
1483
|
+
/** Payment was declined. */
|
|
1484
|
+
OrderCancelReason["Declined"] = "DECLINED";
|
|
1137
1485
|
/** The order was fraudulent. */
|
|
1138
1486
|
OrderCancelReason["Fraud"] = "FRAUD";
|
|
1139
1487
|
/** There was insufficient inventory. */
|
|
1140
1488
|
OrderCancelReason["Inventory"] = "INVENTORY";
|
|
1141
|
-
/** Payment was declined. */
|
|
1142
|
-
OrderCancelReason["Declined"] = "DECLINED";
|
|
1143
1489
|
/** The order was canceled for an unlisted reason. */
|
|
1144
1490
|
OrderCancelReason["Other"] = "OTHER";
|
|
1145
1491
|
})(OrderCancelReason || (OrderCancelReason = {}));
|
|
1146
1492
|
/** Represents the order's current financial status. */
|
|
1147
1493
|
export var OrderFinancialStatus;
|
|
1148
1494
|
(function (OrderFinancialStatus) {
|
|
1149
|
-
/** Displayed as **Pending**. */
|
|
1150
|
-
OrderFinancialStatus["Pending"] = "PENDING";
|
|
1151
1495
|
/** Displayed as **Authorized**. */
|
|
1152
1496
|
OrderFinancialStatus["Authorized"] = "AUTHORIZED";
|
|
1497
|
+
/** Displayed as **Paid**. */
|
|
1498
|
+
OrderFinancialStatus["Paid"] = "PAID";
|
|
1153
1499
|
/** Displayed as **Partially paid**. */
|
|
1154
1500
|
OrderFinancialStatus["PartiallyPaid"] = "PARTIALLY_PAID";
|
|
1155
1501
|
/** Displayed as **Partially refunded**. */
|
|
1156
1502
|
OrderFinancialStatus["PartiallyRefunded"] = "PARTIALLY_REFUNDED";
|
|
1157
|
-
/** Displayed as **
|
|
1158
|
-
OrderFinancialStatus["
|
|
1159
|
-
/** Displayed as **Paid**. */
|
|
1160
|
-
OrderFinancialStatus["Paid"] = "PAID";
|
|
1503
|
+
/** Displayed as **Pending**. */
|
|
1504
|
+
OrderFinancialStatus["Pending"] = "PENDING";
|
|
1161
1505
|
/** Displayed as **Refunded**. */
|
|
1162
1506
|
OrderFinancialStatus["Refunded"] = "REFUNDED";
|
|
1507
|
+
/** Displayed as **Voided**. */
|
|
1508
|
+
OrderFinancialStatus["Voided"] = "VOIDED";
|
|
1163
1509
|
})(OrderFinancialStatus || (OrderFinancialStatus = {}));
|
|
1164
|
-
/** Represents the order's
|
|
1510
|
+
/** Represents the order's aggregated fulfillment status for display purposes. */
|
|
1165
1511
|
export var OrderFulfillmentStatus;
|
|
1166
1512
|
(function (OrderFulfillmentStatus) {
|
|
1167
|
-
/** Displayed as **
|
|
1168
|
-
OrderFulfillmentStatus["Unfulfilled"] = "UNFULFILLED";
|
|
1169
|
-
/** Displayed as **Partially fulfilled**. */
|
|
1170
|
-
OrderFulfillmentStatus["PartiallyFulfilled"] = "PARTIALLY_FULFILLED";
|
|
1171
|
-
/** Displayed as **Fulfilled**. */
|
|
1513
|
+
/** Displayed as **Fulfilled**. All of the items in the order have been fulfilled. */
|
|
1172
1514
|
OrderFulfillmentStatus["Fulfilled"] = "FULFILLED";
|
|
1173
|
-
/** Displayed as **
|
|
1174
|
-
OrderFulfillmentStatus["Restocked"] = "RESTOCKED";
|
|
1175
|
-
/** Displayed as **Pending fulfillment**. */
|
|
1176
|
-
OrderFulfillmentStatus["PendingFulfillment"] = "PENDING_FULFILLMENT";
|
|
1177
|
-
/** Displayed as **Open**. */
|
|
1178
|
-
OrderFulfillmentStatus["Open"] = "OPEN";
|
|
1179
|
-
/** Displayed as **In progress**. */
|
|
1515
|
+
/** Displayed as **In progress**. Some of the items in the order have been fulfilled, or a request for fulfillment has been sent to the fulfillment service. */
|
|
1180
1516
|
OrderFulfillmentStatus["InProgress"] = "IN_PROGRESS";
|
|
1181
|
-
/** Displayed as **On hold**. */
|
|
1517
|
+
/** Displayed as **On hold**. All of the unfulfilled items in this order are on hold. */
|
|
1182
1518
|
OrderFulfillmentStatus["OnHold"] = "ON_HOLD";
|
|
1183
|
-
/** Displayed as **
|
|
1519
|
+
/** Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by "UNFULFILLED" status. */
|
|
1520
|
+
OrderFulfillmentStatus["Open"] = "OPEN";
|
|
1521
|
+
/** Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled. */
|
|
1522
|
+
OrderFulfillmentStatus["PartiallyFulfilled"] = "PARTIALLY_FULFILLED";
|
|
1523
|
+
/** Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by "IN_PROGRESS" status. */
|
|
1524
|
+
OrderFulfillmentStatus["PendingFulfillment"] = "PENDING_FULFILLMENT";
|
|
1525
|
+
/** Displayed as **Restocked**. All of the items in the order have been restocked. Replaced by "UNFULFILLED" status. */
|
|
1526
|
+
OrderFulfillmentStatus["Restocked"] = "RESTOCKED";
|
|
1527
|
+
/** Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time. */
|
|
1184
1528
|
OrderFulfillmentStatus["Scheduled"] = "SCHEDULED";
|
|
1529
|
+
/** Displayed as **Unfulfilled**. None of the items in the order have been fulfilled. */
|
|
1530
|
+
OrderFulfillmentStatus["Unfulfilled"] = "UNFULFILLED";
|
|
1185
1531
|
})(OrderFulfillmentStatus || (OrderFulfillmentStatus = {}));
|
|
1186
1532
|
/** The set of valid sort keys for the Order query. */
|
|
1187
1533
|
export var OrderSortKeys;
|
|
1188
1534
|
(function (OrderSortKeys) {
|
|
1189
|
-
/** Sort by the `processed_at` value. */
|
|
1190
|
-
OrderSortKeys["ProcessedAt"] = "PROCESSED_AT";
|
|
1191
|
-
/** Sort by the `total_price` value. */
|
|
1192
|
-
OrderSortKeys["TotalPrice"] = "TOTAL_PRICE";
|
|
1193
1535
|
/** Sort by the `id` value. */
|
|
1194
1536
|
OrderSortKeys["Id"] = "ID";
|
|
1537
|
+
/** Sort by the `processed_at` value. */
|
|
1538
|
+
OrderSortKeys["ProcessedAt"] = "PROCESSED_AT";
|
|
1195
1539
|
/**
|
|
1196
|
-
*
|
|
1197
|
-
*
|
|
1198
|
-
*
|
|
1540
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
1541
|
+
* Don't use this sort key when no search query is specified.
|
|
1542
|
+
*
|
|
1199
1543
|
*/
|
|
1200
1544
|
OrderSortKeys["Relevance"] = "RELEVANCE";
|
|
1545
|
+
/** Sort by the `total_price` value. */
|
|
1546
|
+
OrderSortKeys["TotalPrice"] = "TOTAL_PRICE";
|
|
1201
1547
|
})(OrderSortKeys || (OrderSortKeys = {}));
|
|
1202
1548
|
/** The set of valid sort keys for the Page query. */
|
|
1203
1549
|
export var PageSortKeys;
|
|
1204
1550
|
(function (PageSortKeys) {
|
|
1205
|
-
/** Sort by the `title` value. */
|
|
1206
|
-
PageSortKeys["Title"] = "TITLE";
|
|
1207
|
-
/** Sort by the `updated_at` value. */
|
|
1208
|
-
PageSortKeys["UpdatedAt"] = "UPDATED_AT";
|
|
1209
1551
|
/** Sort by the `id` value. */
|
|
1210
1552
|
PageSortKeys["Id"] = "ID";
|
|
1211
1553
|
/**
|
|
1212
|
-
*
|
|
1213
|
-
*
|
|
1214
|
-
*
|
|
1554
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
1555
|
+
* Don't use this sort key when no search query is specified.
|
|
1556
|
+
*
|
|
1215
1557
|
*/
|
|
1216
1558
|
PageSortKeys["Relevance"] = "RELEVANCE";
|
|
1559
|
+
/** Sort by the `title` value. */
|
|
1560
|
+
PageSortKeys["Title"] = "TITLE";
|
|
1561
|
+
/** Sort by the `updated_at` value. */
|
|
1562
|
+
PageSortKeys["UpdatedAt"] = "UPDATED_AT";
|
|
1217
1563
|
})(PageSortKeys || (PageSortKeys = {}));
|
|
1218
1564
|
/** The valid values for the types of payment token. */
|
|
1219
1565
|
export var PaymentTokenType;
|
|
1220
1566
|
(function (PaymentTokenType) {
|
|
1221
1567
|
/** Apple Pay token type. */
|
|
1222
1568
|
PaymentTokenType["ApplePay"] = "APPLE_PAY";
|
|
1223
|
-
/** Vault payment token type. */
|
|
1224
|
-
PaymentTokenType["Vault"] = "VAULT";
|
|
1225
|
-
/** Shopify Pay token type. */
|
|
1226
|
-
PaymentTokenType["ShopifyPay"] = "SHOPIFY_PAY";
|
|
1227
1569
|
/** Google Pay token type. */
|
|
1228
1570
|
PaymentTokenType["GooglePay"] = "GOOGLE_PAY";
|
|
1571
|
+
/** Shopify Pay token type. */
|
|
1572
|
+
PaymentTokenType["ShopifyPay"] = "SHOPIFY_PAY";
|
|
1573
|
+
/** Stripe token type. */
|
|
1574
|
+
PaymentTokenType["StripeVaultToken"] = "STRIPE_VAULT_TOKEN";
|
|
1575
|
+
/** Vault payment token type. */
|
|
1576
|
+
PaymentTokenType["Vault"] = "VAULT";
|
|
1229
1577
|
})(PaymentTokenType || (PaymentTokenType = {}));
|
|
1230
1578
|
/** The set of valid sort keys for the ProductCollection query. */
|
|
1231
1579
|
export var ProductCollectionSortKeys;
|
|
1232
1580
|
(function (ProductCollectionSortKeys) {
|
|
1233
|
-
/** Sort by the `title` value. */
|
|
1234
|
-
ProductCollectionSortKeys["Title"] = "TITLE";
|
|
1235
|
-
/** Sort by the `price` value. */
|
|
1236
|
-
ProductCollectionSortKeys["Price"] = "PRICE";
|
|
1237
1581
|
/** Sort by the `best-selling` value. */
|
|
1238
1582
|
ProductCollectionSortKeys["BestSelling"] = "BEST_SELLING";
|
|
1583
|
+
/** Sort by the `collection-default` value. */
|
|
1584
|
+
ProductCollectionSortKeys["CollectionDefault"] = "COLLECTION_DEFAULT";
|
|
1239
1585
|
/** Sort by the `created` value. */
|
|
1240
1586
|
ProductCollectionSortKeys["Created"] = "CREATED";
|
|
1241
1587
|
/** Sort by the `id` value. */
|
|
1242
1588
|
ProductCollectionSortKeys["Id"] = "ID";
|
|
1243
1589
|
/** Sort by the `manual` value. */
|
|
1244
1590
|
ProductCollectionSortKeys["Manual"] = "MANUAL";
|
|
1245
|
-
/** Sort by the `
|
|
1246
|
-
ProductCollectionSortKeys["
|
|
1591
|
+
/** Sort by the `price` value. */
|
|
1592
|
+
ProductCollectionSortKeys["Price"] = "PRICE";
|
|
1247
1593
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
*
|
|
1250
|
-
*
|
|
1594
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
1595
|
+
* Don't use this sort key when no search query is specified.
|
|
1596
|
+
*
|
|
1251
1597
|
*/
|
|
1252
1598
|
ProductCollectionSortKeys["Relevance"] = "RELEVANCE";
|
|
1599
|
+
/** Sort by the `title` value. */
|
|
1600
|
+
ProductCollectionSortKeys["Title"] = "TITLE";
|
|
1253
1601
|
})(ProductCollectionSortKeys || (ProductCollectionSortKeys = {}));
|
|
1254
1602
|
/** The set of valid sort keys for the ProductImage query. */
|
|
1255
1603
|
export var ProductImageSortKeys;
|
|
1256
1604
|
(function (ProductImageSortKeys) {
|
|
1257
1605
|
/** Sort by the `created_at` value. */
|
|
1258
1606
|
ProductImageSortKeys["CreatedAt"] = "CREATED_AT";
|
|
1259
|
-
/** Sort by the `position` value. */
|
|
1260
|
-
ProductImageSortKeys["Position"] = "POSITION";
|
|
1261
1607
|
/** Sort by the `id` value. */
|
|
1262
1608
|
ProductImageSortKeys["Id"] = "ID";
|
|
1609
|
+
/** Sort by the `position` value. */
|
|
1610
|
+
ProductImageSortKeys["Position"] = "POSITION";
|
|
1263
1611
|
/**
|
|
1264
|
-
*
|
|
1265
|
-
*
|
|
1266
|
-
*
|
|
1612
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
1613
|
+
* Don't use this sort key when no search query is specified.
|
|
1614
|
+
*
|
|
1267
1615
|
*/
|
|
1268
1616
|
ProductImageSortKeys["Relevance"] = "RELEVANCE";
|
|
1269
1617
|
})(ProductImageSortKeys || (ProductImageSortKeys = {}));
|
|
1270
1618
|
/** The set of valid sort keys for the ProductMedia query. */
|
|
1271
1619
|
export var ProductMediaSortKeys;
|
|
1272
1620
|
(function (ProductMediaSortKeys) {
|
|
1273
|
-
/** Sort by the `position` value. */
|
|
1274
|
-
ProductMediaSortKeys["Position"] = "POSITION";
|
|
1275
1621
|
/** Sort by the `id` value. */
|
|
1276
1622
|
ProductMediaSortKeys["Id"] = "ID";
|
|
1623
|
+
/** Sort by the `position` value. */
|
|
1624
|
+
ProductMediaSortKeys["Position"] = "POSITION";
|
|
1277
1625
|
/**
|
|
1278
|
-
*
|
|
1279
|
-
*
|
|
1280
|
-
*
|
|
1626
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
1627
|
+
* Don't use this sort key when no search query is specified.
|
|
1628
|
+
*
|
|
1281
1629
|
*/
|
|
1282
1630
|
ProductMediaSortKeys["Relevance"] = "RELEVANCE";
|
|
1283
1631
|
})(ProductMediaSortKeys || (ProductMediaSortKeys = {}));
|
|
1284
1632
|
/** The set of valid sort keys for the Product query. */
|
|
1285
1633
|
export var ProductSortKeys;
|
|
1286
1634
|
(function (ProductSortKeys) {
|
|
1287
|
-
/** Sort by the `title` value. */
|
|
1288
|
-
ProductSortKeys["Title"] = "TITLE";
|
|
1289
|
-
/** Sort by the `product_type` value. */
|
|
1290
|
-
ProductSortKeys["ProductType"] = "PRODUCT_TYPE";
|
|
1291
|
-
/** Sort by the `vendor` value. */
|
|
1292
|
-
ProductSortKeys["Vendor"] = "VENDOR";
|
|
1293
|
-
/** Sort by the `updated_at` value. */
|
|
1294
|
-
ProductSortKeys["UpdatedAt"] = "UPDATED_AT";
|
|
1295
|
-
/** Sort by the `created_at` value. */
|
|
1296
|
-
ProductSortKeys["CreatedAt"] = "CREATED_AT";
|
|
1297
1635
|
/** Sort by the `best_selling` value. */
|
|
1298
1636
|
ProductSortKeys["BestSelling"] = "BEST_SELLING";
|
|
1299
|
-
/** Sort by the `
|
|
1300
|
-
ProductSortKeys["
|
|
1637
|
+
/** Sort by the `created_at` value. */
|
|
1638
|
+
ProductSortKeys["CreatedAt"] = "CREATED_AT";
|
|
1301
1639
|
/** Sort by the `id` value. */
|
|
1302
1640
|
ProductSortKeys["Id"] = "ID";
|
|
1641
|
+
/** Sort by the `price` value. */
|
|
1642
|
+
ProductSortKeys["Price"] = "PRICE";
|
|
1643
|
+
/** Sort by the `product_type` value. */
|
|
1644
|
+
ProductSortKeys["ProductType"] = "PRODUCT_TYPE";
|
|
1303
1645
|
/**
|
|
1304
|
-
*
|
|
1305
|
-
*
|
|
1306
|
-
*
|
|
1646
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
1647
|
+
* Don't use this sort key when no search query is specified.
|
|
1648
|
+
*
|
|
1307
1649
|
*/
|
|
1308
1650
|
ProductSortKeys["Relevance"] = "RELEVANCE";
|
|
1651
|
+
/** Sort by the `title` value. */
|
|
1652
|
+
ProductSortKeys["Title"] = "TITLE";
|
|
1653
|
+
/** Sort by the `updated_at` value. */
|
|
1654
|
+
ProductSortKeys["UpdatedAt"] = "UPDATED_AT";
|
|
1655
|
+
/** Sort by the `vendor` value. */
|
|
1656
|
+
ProductSortKeys["Vendor"] = "VENDOR";
|
|
1309
1657
|
})(ProductSortKeys || (ProductSortKeys = {}));
|
|
1310
1658
|
/** The set of valid sort keys for the ProductVariant query. */
|
|
1311
1659
|
export var ProductVariantSortKeys;
|
|
1312
1660
|
(function (ProductVariantSortKeys) {
|
|
1313
|
-
/** Sort by the `title` value. */
|
|
1314
|
-
ProductVariantSortKeys["Title"] = "TITLE";
|
|
1315
|
-
/** Sort by the `sku` value. */
|
|
1316
|
-
ProductVariantSortKeys["Sku"] = "SKU";
|
|
1317
|
-
/** Sort by the `position` value. */
|
|
1318
|
-
ProductVariantSortKeys["Position"] = "POSITION";
|
|
1319
1661
|
/** Sort by the `id` value. */
|
|
1320
1662
|
ProductVariantSortKeys["Id"] = "ID";
|
|
1663
|
+
/** Sort by the `position` value. */
|
|
1664
|
+
ProductVariantSortKeys["Position"] = "POSITION";
|
|
1321
1665
|
/**
|
|
1322
|
-
*
|
|
1323
|
-
*
|
|
1324
|
-
*
|
|
1666
|
+
* Sort by relevance to the search terms when the `query` parameter is specified on the connection.
|
|
1667
|
+
* Don't use this sort key when no search query is specified.
|
|
1668
|
+
*
|
|
1325
1669
|
*/
|
|
1326
1670
|
ProductVariantSortKeys["Relevance"] = "RELEVANCE";
|
|
1671
|
+
/** Sort by the `sku` value. */
|
|
1672
|
+
ProductVariantSortKeys["Sku"] = "SKU";
|
|
1673
|
+
/** Sort by the `title` value. */
|
|
1674
|
+
ProductVariantSortKeys["Title"] = "TITLE";
|
|
1327
1675
|
})(ProductVariantSortKeys || (ProductVariantSortKeys = {}));
|
|
1676
|
+
/** The checkout charge when the full amount isn't charged at checkout. */
|
|
1677
|
+
export var SellingPlanCheckoutChargeType;
|
|
1678
|
+
(function (SellingPlanCheckoutChargeType) {
|
|
1679
|
+
/** The checkout charge is a percentage of the product or variant price. */
|
|
1680
|
+
SellingPlanCheckoutChargeType["Percentage"] = "PERCENTAGE";
|
|
1681
|
+
/** The checkout charge is a fixed price amount. */
|
|
1682
|
+
SellingPlanCheckoutChargeType["Price"] = "PRICE";
|
|
1683
|
+
})(SellingPlanCheckoutChargeType || (SellingPlanCheckoutChargeType = {}));
|
|
1328
1684
|
/** The different kinds of order transactions. */
|
|
1329
1685
|
export var TransactionKind;
|
|
1330
1686
|
(function (TransactionKind) {
|
|
1331
|
-
/** An authorization and capture performed together in a single step. */
|
|
1332
|
-
TransactionKind["Sale"] = "SALE";
|
|
1333
|
-
/** A transfer of the money that was reserved during the authorization stage. */
|
|
1334
|
-
TransactionKind["Capture"] = "CAPTURE";
|
|
1335
1687
|
/**
|
|
1336
1688
|
* An amount reserved against the cardholder's funding source.
|
|
1337
1689
|
* Money does not change hands until the authorization is captured.
|
|
1690
|
+
*
|
|
1338
1691
|
*/
|
|
1339
1692
|
TransactionKind["Authorization"] = "AUTHORIZATION";
|
|
1340
|
-
/**
|
|
1341
|
-
TransactionKind["
|
|
1693
|
+
/** A transfer of the money that was reserved during the authorization stage. */
|
|
1694
|
+
TransactionKind["Capture"] = "CAPTURE";
|
|
1342
1695
|
/** Money returned to the customer when they have paid too much. */
|
|
1343
1696
|
TransactionKind["Change"] = "CHANGE";
|
|
1697
|
+
/** An authorization for a payment taken with an EMV credit card reader. */
|
|
1698
|
+
TransactionKind["EmvAuthorization"] = "EMV_AUTHORIZATION";
|
|
1699
|
+
/** An authorization and capture performed together in a single step. */
|
|
1700
|
+
TransactionKind["Sale"] = "SALE";
|
|
1344
1701
|
})(TransactionKind || (TransactionKind = {}));
|
|
1345
1702
|
/** Transaction statuses describe the status of a transaction. */
|
|
1346
1703
|
export var TransactionStatus;
|
|
1347
1704
|
(function (TransactionStatus) {
|
|
1705
|
+
/** There was an error while processing the transaction. */
|
|
1706
|
+
TransactionStatus["Error"] = "ERROR";
|
|
1707
|
+
/** The transaction failed. */
|
|
1708
|
+
TransactionStatus["Failure"] = "FAILURE";
|
|
1348
1709
|
/** The transaction is pending. */
|
|
1349
1710
|
TransactionStatus["Pending"] = "PENDING";
|
|
1350
1711
|
/** The transaction succeeded. */
|
|
1351
1712
|
TransactionStatus["Success"] = "SUCCESS";
|
|
1352
|
-
/** The transaction failed. */
|
|
1353
|
-
TransactionStatus["Failure"] = "FAILURE";
|
|
1354
|
-
/** There was an error while processing the transaction. */
|
|
1355
|
-
TransactionStatus["Error"] = "ERROR";
|
|
1356
1713
|
})(TransactionStatus || (TransactionStatus = {}));
|
|
1357
1714
|
/** The accepted types of unit of measurement. */
|
|
1358
1715
|
export var UnitPriceMeasurementMeasuredType;
|
|
1359
1716
|
(function (UnitPriceMeasurementMeasuredType) {
|
|
1717
|
+
/** Unit of measurements representing areas. */
|
|
1718
|
+
UnitPriceMeasurementMeasuredType["Area"] = "AREA";
|
|
1719
|
+
/** Unit of measurements representing lengths. */
|
|
1720
|
+
UnitPriceMeasurementMeasuredType["Length"] = "LENGTH";
|
|
1360
1721
|
/** Unit of measurements representing volumes. */
|
|
1361
1722
|
UnitPriceMeasurementMeasuredType["Volume"] = "VOLUME";
|
|
1362
1723
|
/** Unit of measurements representing weights. */
|
|
1363
1724
|
UnitPriceMeasurementMeasuredType["Weight"] = "WEIGHT";
|
|
1364
|
-
/** Unit of measurements representing lengths. */
|
|
1365
|
-
UnitPriceMeasurementMeasuredType["Length"] = "LENGTH";
|
|
1366
|
-
/** Unit of measurements representing areas. */
|
|
1367
|
-
UnitPriceMeasurementMeasuredType["Area"] = "AREA";
|
|
1368
1725
|
})(UnitPriceMeasurementMeasuredType || (UnitPriceMeasurementMeasuredType = {}));
|
|
1369
1726
|
/** The valid units of measurement for a unit price measurement. */
|
|
1370
1727
|
export var UnitPriceMeasurementMeasuredUnit;
|
|
1371
1728
|
(function (UnitPriceMeasurementMeasuredUnit) {
|
|
1372
|
-
/** 1000 milliliters equals 1 liter. */
|
|
1373
|
-
UnitPriceMeasurementMeasuredUnit["Ml"] = "ML";
|
|
1374
1729
|
/** 100 centiliters equals 1 liter. */
|
|
1375
1730
|
UnitPriceMeasurementMeasuredUnit["Cl"] = "CL";
|
|
1376
|
-
/**
|
|
1377
|
-
UnitPriceMeasurementMeasuredUnit["
|
|
1378
|
-
/** 1 cubic meter equals 1000 liters. */
|
|
1379
|
-
UnitPriceMeasurementMeasuredUnit["M3"] = "M3";
|
|
1380
|
-
/** 1000 milligrams equals 1 gram. */
|
|
1381
|
-
UnitPriceMeasurementMeasuredUnit["Mg"] = "MG";
|
|
1731
|
+
/** 100 centimeters equals 1 meter. */
|
|
1732
|
+
UnitPriceMeasurementMeasuredUnit["Cm"] = "CM";
|
|
1382
1733
|
/** Metric system unit of weight. */
|
|
1383
1734
|
UnitPriceMeasurementMeasuredUnit["G"] = "G";
|
|
1384
1735
|
/** 1 kilogram equals 1000 grams. */
|
|
1385
1736
|
UnitPriceMeasurementMeasuredUnit["Kg"] = "KG";
|
|
1386
|
-
/**
|
|
1387
|
-
UnitPriceMeasurementMeasuredUnit["
|
|
1388
|
-
/** 100 centimeters equals 1 meter. */
|
|
1389
|
-
UnitPriceMeasurementMeasuredUnit["Cm"] = "CM";
|
|
1737
|
+
/** Metric system unit of volume. */
|
|
1738
|
+
UnitPriceMeasurementMeasuredUnit["L"] = "L";
|
|
1390
1739
|
/** Metric system unit of length. */
|
|
1391
1740
|
UnitPriceMeasurementMeasuredUnit["M"] = "M";
|
|
1392
1741
|
/** Metric system unit of area. */
|
|
1393
1742
|
UnitPriceMeasurementMeasuredUnit["M2"] = "M2";
|
|
1743
|
+
/** 1 cubic meter equals 1000 liters. */
|
|
1744
|
+
UnitPriceMeasurementMeasuredUnit["M3"] = "M3";
|
|
1745
|
+
/** 1000 milligrams equals 1 gram. */
|
|
1746
|
+
UnitPriceMeasurementMeasuredUnit["Mg"] = "MG";
|
|
1747
|
+
/** 1000 milliliters equals 1 liter. */
|
|
1748
|
+
UnitPriceMeasurementMeasuredUnit["Ml"] = "ML";
|
|
1749
|
+
/** 1000 millimeters equals 1 meter. */
|
|
1750
|
+
UnitPriceMeasurementMeasuredUnit["Mm"] = "MM";
|
|
1394
1751
|
})(UnitPriceMeasurementMeasuredUnit || (UnitPriceMeasurementMeasuredUnit = {}));
|
|
1395
1752
|
/** Systems of weights and measures. */
|
|
1396
1753
|
export var UnitSystem;
|
|
@@ -1403,12 +1760,12 @@ export var UnitSystem;
|
|
|
1403
1760
|
/** Units of measurement for weight. */
|
|
1404
1761
|
export var WeightUnit;
|
|
1405
1762
|
(function (WeightUnit) {
|
|
1406
|
-
/** 1 kilogram equals 1000 grams. */
|
|
1407
|
-
WeightUnit["Kilograms"] = "KILOGRAMS";
|
|
1408
1763
|
/** Metric system unit of mass. */
|
|
1409
1764
|
WeightUnit["Grams"] = "GRAMS";
|
|
1410
|
-
/** 1
|
|
1411
|
-
WeightUnit["
|
|
1765
|
+
/** 1 kilogram equals 1000 grams. */
|
|
1766
|
+
WeightUnit["Kilograms"] = "KILOGRAMS";
|
|
1412
1767
|
/** Imperial system unit of mass. */
|
|
1413
1768
|
WeightUnit["Ounces"] = "OUNCES";
|
|
1769
|
+
/** 1 pound equals 16 ounces. */
|
|
1770
|
+
WeightUnit["Pounds"] = "POUNDS";
|
|
1414
1771
|
})(WeightUnit || (WeightUnit = {}));
|