@shopify/hydrogen 0.1.0

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