@shopify/hydrogen 0.11.1 → 0.13.1

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