@anker-in/campaign-ui 0.2.10-beta.2 → 0.2.10-beta.21

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 (726) hide show
  1. package/dist/index.d.mts +494 -0
  2. package/dist/index.d.ts +494 -0
  3. package/dist/index.js +31215 -0
  4. package/dist/index.js.map +1 -0
  5. package/dist/index.mjs +31199 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +33 -30
  8. package/src/components/credits/context/hooks/useActivities.ts +2 -2
  9. package/src/components/credits/context/hooks/useAddressValidate.ts +2 -2
  10. package/src/components/credits/context/hooks/useAlpcFetch.ts +8 -8
  11. package/src/components/credits/context/hooks/useCountries.ts +2 -2
  12. package/src/components/credits/context/hooks/useMyRewards.ts +2 -2
  13. package/src/components/credits/context/hooks/useRedeemAndBuy.ts +21 -24
  14. package/src/components/credits/context/hooks/useRedeemCoupon.ts +2 -2
  15. package/src/components/credits/context/hooks/useRedeemProduct.ts +2 -2
  16. package/src/components/credits/context/hooks/useRedeemableList.ts +2 -2
  17. package/src/components/credits/context/hooks/useSendEmailValidation.ts +2 -2
  18. package/src/components/credits/context/hooks/useSubscribed.ts +2 -2
  19. package/src/components/credits/context/hooks/useSubscriptions.ts +2 -2
  20. package/src/components/credits/creditsBanner/index.tsx +1 -1
  21. package/src/components/credits/creditsBenefits/benefitItem.tsx +1 -1
  22. package/src/components/credits/creditsBenefits/index.tsx +6 -8
  23. package/src/components/credits/creditsCash/RedeemableItem.tsx +13 -18
  24. package/src/components/credits/creditsCash/index.tsx +2 -2
  25. package/src/components/credits/creditsCash/type.ts +1 -1
  26. package/src/components/credits/creditsInfoCard/index.tsx +4 -3
  27. package/src/components/credits/creditsRedeemList/AddressForm/index.tsx +2 -2
  28. package/src/components/credits/creditsRedeemList/RedeemCouponModal.tsx +2 -2
  29. package/src/components/credits/creditsRedeemList/RedeemProductModal/Address.tsx +2 -2
  30. package/src/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.tsx +2 -2
  31. package/src/components/credits/creditsRedeemList/RedeemProductModal/index.tsx +2 -2
  32. package/src/components/credits/creditsRedeemList/index.tsx +1 -1
  33. package/src/components/credits/creditsWaysToGetCredits/useActions.ts +4 -3
  34. package/src/components/credits/modal/MyRewardsModal.tsx +77 -65
  35. package/src/components/credits/modal/activitiesModal.tsx +54 -44
  36. package/src/components/credits/modal/loadingDots.tsx +8 -6
  37. package/src/components/credits/type.ts +1 -1
  38. package/src/helpers/track.ts +18 -0
  39. package/src/index.ts +2 -21
  40. package/tailwind.config.ts +10 -0
  41. package/dist/cjs/components/chat/action.d.ts +0 -25
  42. package/dist/cjs/components/chat/action.js +0 -2
  43. package/dist/cjs/components/chat/action.js.map +0 -7
  44. package/dist/cjs/components/chat/button.d.ts +0 -3
  45. package/dist/cjs/components/chat/button.js +0 -2
  46. package/dist/cjs/components/chat/button.js.map +0 -7
  47. package/dist/cjs/components/chat/chatContext.d.ts +0 -101
  48. package/dist/cjs/components/chat/chatContext.js +0 -2
  49. package/dist/cjs/components/chat/chatContext.js.map +0 -7
  50. package/dist/cjs/components/chat/index.d.ts +0 -71
  51. package/dist/cjs/components/chat/index.js +0 -2
  52. package/dist/cjs/components/chat/index.js.map +0 -7
  53. package/dist/cjs/components/chat/markdown.d.ts +0 -5
  54. package/dist/cjs/components/chat/markdown.js +0 -2
  55. package/dist/cjs/components/chat/markdown.js.map +0 -7
  56. package/dist/cjs/components/chat/messages.d.ts +0 -3
  57. package/dist/cjs/components/chat/messages.js +0 -2
  58. package/dist/cjs/components/chat/messages.js.map +0 -7
  59. package/dist/cjs/components/chat/props.d.ts +0 -43
  60. package/dist/cjs/components/chat/props.js +0 -2
  61. package/dist/cjs/components/chat/props.js.map +0 -7
  62. package/dist/cjs/components/chat/response.d.ts +0 -4
  63. package/dist/cjs/components/chat/response.js +0 -2
  64. package/dist/cjs/components/chat/response.js.map +0 -7
  65. package/dist/cjs/components/chat/suggestions.d.ts +0 -3
  66. package/dist/cjs/components/chat/suggestions.js +0 -2
  67. package/dist/cjs/components/chat/suggestions.js.map +0 -7
  68. package/dist/cjs/components/chat/utils.d.ts +0 -3
  69. package/dist/cjs/components/chat/utils.js +0 -2
  70. package/dist/cjs/components/chat/utils.js.map +0 -7
  71. package/dist/cjs/components/credits/context/const.d.ts +0 -81
  72. package/dist/cjs/components/credits/context/const.js +0 -2
  73. package/dist/cjs/components/credits/context/const.js.map +0 -7
  74. package/dist/cjs/components/credits/context/hooks/useActivities.d.ts +0 -12
  75. package/dist/cjs/components/credits/context/hooks/useActivities.js +0 -2
  76. package/dist/cjs/components/credits/context/hooks/useActivities.js.map +0 -7
  77. package/dist/cjs/components/credits/context/hooks/useAddressValidate.d.ts +0 -34
  78. package/dist/cjs/components/credits/context/hooks/useAddressValidate.js +0 -2
  79. package/dist/cjs/components/credits/context/hooks/useAddressValidate.js.map +0 -7
  80. package/dist/cjs/components/credits/context/hooks/useAlpcFetch.d.ts +0 -23
  81. package/dist/cjs/components/credits/context/hooks/useAlpcFetch.js +0 -2
  82. package/dist/cjs/components/credits/context/hooks/useAlpcFetch.js.map +0 -7
  83. package/dist/cjs/components/credits/context/hooks/useClickOutside.d.ts +0 -3
  84. package/dist/cjs/components/credits/context/hooks/useClickOutside.js +0 -2
  85. package/dist/cjs/components/credits/context/hooks/useClickOutside.js.map +0 -7
  86. package/dist/cjs/components/credits/context/hooks/useCopy.d.ts +0 -5
  87. package/dist/cjs/components/credits/context/hooks/useCopy.js +0 -2
  88. package/dist/cjs/components/credits/context/hooks/useCopy.js.map +0 -7
  89. package/dist/cjs/components/credits/context/hooks/useCountries.d.ts +0 -8
  90. package/dist/cjs/components/credits/context/hooks/useCountries.js +0 -2
  91. package/dist/cjs/components/credits/context/hooks/useCountries.js.map +0 -7
  92. package/dist/cjs/components/credits/context/hooks/useFirstPurchaseFinished.d.ts +0 -1
  93. package/dist/cjs/components/credits/context/hooks/useFirstPurchaseFinished.js +0 -2
  94. package/dist/cjs/components/credits/context/hooks/useFirstPurchaseFinished.js.map +0 -7
  95. package/dist/cjs/components/credits/context/hooks/useMyRewards.d.ts +0 -14
  96. package/dist/cjs/components/credits/context/hooks/useMyRewards.js +0 -2
  97. package/dist/cjs/components/credits/context/hooks/useMyRewards.js.map +0 -7
  98. package/dist/cjs/components/credits/context/hooks/useReceiptUploaded.d.ts +0 -2
  99. package/dist/cjs/components/credits/context/hooks/useReceiptUploaded.js +0 -2
  100. package/dist/cjs/components/credits/context/hooks/useReceiptUploaded.js.map +0 -7
  101. package/dist/cjs/components/credits/context/hooks/useRedeemAndBuy.d.ts +0 -14
  102. package/dist/cjs/components/credits/context/hooks/useRedeemAndBuy.js +0 -2
  103. package/dist/cjs/components/credits/context/hooks/useRedeemAndBuy.js.map +0 -7
  104. package/dist/cjs/components/credits/context/hooks/useRedeemCoupon.d.ts +0 -17
  105. package/dist/cjs/components/credits/context/hooks/useRedeemCoupon.js +0 -2
  106. package/dist/cjs/components/credits/context/hooks/useRedeemCoupon.js.map +0 -7
  107. package/dist/cjs/components/credits/context/hooks/useRedeemProduct.d.ts +0 -16
  108. package/dist/cjs/components/credits/context/hooks/useRedeemProduct.js +0 -2
  109. package/dist/cjs/components/credits/context/hooks/useRedeemProduct.js.map +0 -7
  110. package/dist/cjs/components/credits/context/hooks/useRedeemableList.d.ts +0 -7
  111. package/dist/cjs/components/credits/context/hooks/useRedeemableList.js +0 -2
  112. package/dist/cjs/components/credits/context/hooks/useRedeemableList.js.map +0 -7
  113. package/dist/cjs/components/credits/context/hooks/useSendEmailValidation.d.ts +0 -1
  114. package/dist/cjs/components/credits/context/hooks/useSendEmailValidation.js +0 -2
  115. package/dist/cjs/components/credits/context/hooks/useSendEmailValidation.js.map +0 -7
  116. package/dist/cjs/components/credits/context/hooks/useSubscribed.d.ts +0 -1
  117. package/dist/cjs/components/credits/context/hooks/useSubscribed.js +0 -2
  118. package/dist/cjs/components/credits/context/hooks/useSubscribed.js.map +0 -7
  119. package/dist/cjs/components/credits/context/hooks/useSubscriptions.d.ts +0 -5
  120. package/dist/cjs/components/credits/context/hooks/useSubscriptions.js +0 -2
  121. package/dist/cjs/components/credits/context/hooks/useSubscriptions.js.map +0 -7
  122. package/dist/cjs/components/credits/context/hooks/useUploadReceipt.d.ts +0 -14
  123. package/dist/cjs/components/credits/context/hooks/useUploadReceipt.js +0 -2
  124. package/dist/cjs/components/credits/context/hooks/useUploadReceipt.js.map +0 -7
  125. package/dist/cjs/components/credits/context/provider.d.ts +0 -49
  126. package/dist/cjs/components/credits/context/provider.js +0 -2
  127. package/dist/cjs/components/credits/context/provider.js.map +0 -7
  128. package/dist/cjs/components/credits/context/response.d.ts +0 -63
  129. package/dist/cjs/components/credits/context/response.js +0 -2
  130. package/dist/cjs/components/credits/context/response.js.map +0 -7
  131. package/dist/cjs/components/credits/context/utils.d.ts +0 -25
  132. package/dist/cjs/components/credits/context/utils.js +0 -2
  133. package/dist/cjs/components/credits/context/utils.js.map +0 -7
  134. package/dist/cjs/components/credits/creditsBanner/index.d.ts +0 -23
  135. package/dist/cjs/components/credits/creditsBanner/index.js +0 -2
  136. package/dist/cjs/components/credits/creditsBanner/index.js.map +0 -7
  137. package/dist/cjs/components/credits/creditsBenefits/benefitItem.d.ts +0 -19
  138. package/dist/cjs/components/credits/creditsBenefits/benefitItem.js +0 -2
  139. package/dist/cjs/components/credits/creditsBenefits/benefitItem.js.map +0 -7
  140. package/dist/cjs/components/credits/creditsBenefits/iconInfo.d.ts +0 -2
  141. package/dist/cjs/components/credits/creditsBenefits/iconInfo.js +0 -2
  142. package/dist/cjs/components/credits/creditsBenefits/iconInfo.js.map +0 -7
  143. package/dist/cjs/components/credits/creditsBenefits/index.d.ts +0 -12
  144. package/dist/cjs/components/credits/creditsBenefits/index.js +0 -4
  145. package/dist/cjs/components/credits/creditsBenefits/index.js.map +0 -7
  146. package/dist/cjs/components/credits/creditsCash/RedeemableItem.d.ts +0 -15
  147. package/dist/cjs/components/credits/creditsCash/RedeemableItem.js +0 -2
  148. package/dist/cjs/components/credits/creditsCash/RedeemableItem.js.map +0 -7
  149. package/dist/cjs/components/credits/creditsCash/index.d.ts +0 -13
  150. package/dist/cjs/components/credits/creditsCash/index.js +0 -2
  151. package/dist/cjs/components/credits/creditsCash/index.js.map +0 -7
  152. package/dist/cjs/components/credits/creditsCash/type.d.ts +0 -47
  153. package/dist/cjs/components/credits/creditsCash/type.js +0 -2
  154. package/dist/cjs/components/credits/creditsCash/type.js.map +0 -7
  155. package/dist/cjs/components/credits/creditsFaq/faqItem/FaqItem.d.ts +0 -13
  156. package/dist/cjs/components/credits/creditsFaq/faqItem/FaqItem.js +0 -2
  157. package/dist/cjs/components/credits/creditsFaq/faqItem/FaqItem.js.map +0 -7
  158. package/dist/cjs/components/credits/creditsFaq/index.d.ts +0 -16
  159. package/dist/cjs/components/credits/creditsFaq/index.js +0 -2
  160. package/dist/cjs/components/credits/creditsFaq/index.js.map +0 -7
  161. package/dist/cjs/components/credits/creditsInfoCard/index.d.ts +0 -20
  162. package/dist/cjs/components/credits/creditsInfoCard/index.js +0 -2
  163. package/dist/cjs/components/credits/creditsInfoCard/index.js.map +0 -7
  164. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/CountrySelect.d.ts +0 -14
  165. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/CountrySelect.js +0 -2
  166. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/CountrySelect.js.map +0 -7
  167. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/FormItem.d.ts +0 -6
  168. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/FormItem.js +0 -2
  169. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/FormItem.js.map +0 -7
  170. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/Input.d.ts +0 -13
  171. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/Input.js +0 -2
  172. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/Input.js.map +0 -7
  173. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/StateSelect.d.ts +0 -15
  174. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/StateSelect.js +0 -2
  175. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/StateSelect.js.map +0 -7
  176. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/index.d.ts +0 -2
  177. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/index.js +0 -2
  178. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/index.js.map +0 -7
  179. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/type.d.ts +0 -26
  180. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/type.js +0 -2
  181. package/dist/cjs/components/credits/creditsRedeemList/AddressForm/type.js.map +0 -7
  182. package/dist/cjs/components/credits/creditsRedeemList/RedeemCouponModal.d.ts +0 -9
  183. package/dist/cjs/components/credits/creditsRedeemList/RedeemCouponModal.js +0 -2
  184. package/dist/cjs/components/credits/creditsRedeemList/RedeemCouponModal.js.map +0 -7
  185. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Address.d.ts +0 -20
  186. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Address.js +0 -2
  187. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Address.js.map +0 -7
  188. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Error.d.ts +0 -8
  189. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Error.js +0 -2
  190. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Error.js.map +0 -7
  191. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Init.d.ts +0 -11
  192. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Init.js +0 -2
  193. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Init.js.map +0 -7
  194. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.d.ts +0 -8
  195. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.js +0 -2
  196. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.js.map +0 -7
  197. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Success.d.ts +0 -13
  198. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Success.js +0 -2
  199. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/Success.js.map +0 -7
  200. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/index.d.ts +0 -11
  201. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/index.js +0 -2
  202. package/dist/cjs/components/credits/creditsRedeemList/RedeemProductModal/index.js.map +0 -7
  203. package/dist/cjs/components/credits/creditsRedeemList/RedeemableItem.d.ts +0 -9
  204. package/dist/cjs/components/credits/creditsRedeemList/RedeemableItem.js +0 -2
  205. package/dist/cjs/components/credits/creditsRedeemList/RedeemableItem.js.map +0 -7
  206. package/dist/cjs/components/credits/creditsRedeemList/index.d.ts +0 -13
  207. package/dist/cjs/components/credits/creditsRedeemList/index.js +0 -2
  208. package/dist/cjs/components/credits/creditsRedeemList/index.js.map +0 -7
  209. package/dist/cjs/components/credits/creditsRedeemList/type.d.ts +0 -77
  210. package/dist/cjs/components/credits/creditsRedeemList/type.js +0 -2
  211. package/dist/cjs/components/credits/creditsRedeemList/type.js.map +0 -7
  212. package/dist/cjs/components/credits/creditsWaysToGetCredits/index.d.ts +0 -2
  213. package/dist/cjs/components/credits/creditsWaysToGetCredits/index.js +0 -2
  214. package/dist/cjs/components/credits/creditsWaysToGetCredits/index.js.map +0 -7
  215. package/dist/cjs/components/credits/creditsWaysToGetCredits/type.d.ts +0 -60
  216. package/dist/cjs/components/credits/creditsWaysToGetCredits/type.js +0 -2
  217. package/dist/cjs/components/credits/creditsWaysToGetCredits/type.js.map +0 -7
  218. package/dist/cjs/components/credits/creditsWaysToGetCredits/useActions.d.ts +0 -96
  219. package/dist/cjs/components/credits/creditsWaysToGetCredits/useActions.js +0 -2
  220. package/dist/cjs/components/credits/creditsWaysToGetCredits/useActions.js.map +0 -7
  221. package/dist/cjs/components/credits/index.d.ts +0 -10
  222. package/dist/cjs/components/credits/index.js +0 -2
  223. package/dist/cjs/components/credits/index.js.map +0 -7
  224. package/dist/cjs/components/credits/modal/MyRewardsModal.d.ts +0 -29
  225. package/dist/cjs/components/credits/modal/MyRewardsModal.js +0 -2
  226. package/dist/cjs/components/credits/modal/MyRewardsModal.js.map +0 -7
  227. package/dist/cjs/components/credits/modal/activitiesModal.d.ts +0 -29
  228. package/dist/cjs/components/credits/modal/activitiesModal.js +0 -2
  229. package/dist/cjs/components/credits/modal/activitiesModal.js.map +0 -7
  230. package/dist/cjs/components/credits/modal/creditsUploadReceiptModal.d.ts +0 -24
  231. package/dist/cjs/components/credits/modal/creditsUploadReceiptModal.js +0 -2
  232. package/dist/cjs/components/credits/modal/creditsUploadReceiptModal.js.map +0 -7
  233. package/dist/cjs/components/credits/modal/loadingDots.d.ts +0 -5
  234. package/dist/cjs/components/credits/modal/loadingDots.js +0 -2
  235. package/dist/cjs/components/credits/modal/loadingDots.js.map +0 -7
  236. package/dist/cjs/components/credits/modal/modalContainer.d.ts +0 -15
  237. package/dist/cjs/components/credits/modal/modalContainer.js +0 -2
  238. package/dist/cjs/components/credits/modal/modalContainer.js.map +0 -7
  239. package/dist/cjs/components/credits/modal/rulesModal.d.ts +0 -7
  240. package/dist/cjs/components/credits/modal/rulesModal.js +0 -2
  241. package/dist/cjs/components/credits/modal/rulesModal.js.map +0 -7
  242. package/dist/cjs/components/credits/modal/tip.d.ts +0 -5
  243. package/dist/cjs/components/credits/modal/tip.js +0 -2
  244. package/dist/cjs/components/credits/modal/tip.js.map +0 -7
  245. package/dist/cjs/components/credits/type.d.ts +0 -55
  246. package/dist/cjs/components/credits/type.js +0 -2
  247. package/dist/cjs/components/credits/type.js.map +0 -7
  248. package/dist/cjs/components/index.d.ts +0 -3
  249. package/dist/cjs/components/index.js +0 -2
  250. package/dist/cjs/components/index.js.map +0 -7
  251. package/dist/cjs/debug-env.d.ts +0 -7
  252. package/dist/cjs/helpers/fetchResponse.d.ts +0 -14
  253. package/dist/cjs/helpers/fetchResponse.js +0 -2
  254. package/dist/cjs/helpers/fetchResponse.js.map +0 -7
  255. package/dist/cjs/helpers/fetcher.d.ts +0 -2
  256. package/dist/cjs/helpers/fetcher.js +0 -2
  257. package/dist/cjs/helpers/fetcher.js.map +0 -7
  258. package/dist/cjs/helpers/index.d.ts +0 -2
  259. package/dist/cjs/helpers/index.js +0 -2
  260. package/dist/cjs/helpers/index.js.map +0 -7
  261. package/dist/cjs/helpers/track.d.ts +0 -15
  262. package/dist/cjs/helpers/track.js +0 -2
  263. package/dist/cjs/helpers/track.js.map +0 -7
  264. package/dist/cjs/helpers/utils.d.ts +0 -3
  265. package/dist/cjs/helpers/utils.js +0 -2
  266. package/dist/cjs/helpers/utils.js.map +0 -7
  267. package/dist/cjs/index.css +0 -2
  268. package/dist/cjs/index.css.map +0 -7
  269. package/dist/cjs/index.d.ts +0 -7
  270. package/dist/cjs/index.js +0 -2
  271. package/dist/cjs/index.js.map +0 -7
  272. package/dist/cjs/shopify/context/ShopifyProvider.d.ts +0 -10
  273. package/dist/cjs/shopify/fetchers/create-cart.d.ts +0 -13
  274. package/dist/cjs/shopify/fetchers/get-products-by-handles.d.ts +0 -7
  275. package/dist/cjs/shopify/fetchers/index.d.ts +0 -2
  276. package/dist/cjs/shopify/fragments/article.d.ts +0 -2
  277. package/dist/cjs/shopify/fragments/blog.d.ts +0 -1
  278. package/dist/cjs/shopify/fragments/cart.d.ts +0 -1
  279. package/dist/cjs/shopify/fragments/collection.d.ts +0 -1
  280. package/dist/cjs/shopify/fragments/image.d.ts +0 -1
  281. package/dist/cjs/shopify/fragments/index.d.ts +0 -11
  282. package/dist/cjs/shopify/fragments/metafields.d.ts +0 -2
  283. package/dist/cjs/shopify/fragments/page-info.d.ts +0 -1
  284. package/dist/cjs/shopify/fragments/page.d.ts +0 -1
  285. package/dist/cjs/shopify/fragments/product.d.ts +0 -1
  286. package/dist/cjs/shopify/fragments/seo.d.ts +0 -1
  287. package/dist/cjs/shopify/fragments/variant.d.ts +0 -1
  288. package/dist/cjs/shopify/gql/fragment-masking.d.ts +0 -15
  289. package/dist/cjs/shopify/gql/gql.d.ts +0 -87
  290. package/dist/cjs/shopify/gql/graphql.d.ts +0 -7669
  291. package/dist/cjs/shopify/gql/index.d.ts +0 -3
  292. package/dist/cjs/shopify/hooks/index.d.ts +0 -2
  293. package/dist/cjs/shopify/hooks/useCreateCart.d.ts +0 -2
  294. package/dist/cjs/shopify/hooks/useProductsByHandles.d.ts +0 -4
  295. package/dist/cjs/shopify/mutations/create-cart.d.ts +0 -1
  296. package/dist/cjs/shopify/queries/get-product-by-handles.d.ts +0 -1
  297. package/dist/cjs/shopify/queries/index.d.ts +0 -1
  298. package/dist/cjs/shopify/src/index.d.ts +0 -5
  299. package/dist/cjs/shopify/tsup.config.d.ts +0 -2
  300. package/dist/cjs/shopify/types/article.d.ts +0 -48
  301. package/dist/cjs/shopify/types/cart.d.ts +0 -173
  302. package/dist/cjs/shopify/types/checkout.d.ts +0 -42
  303. package/dist/cjs/shopify/types/collection.d.ts +0 -122
  304. package/dist/cjs/shopify/types/common.d.ts +0 -42
  305. package/dist/cjs/shopify/types/config.d.ts +0 -12
  306. package/dist/cjs/shopify/types/customer.d.ts +0 -30
  307. package/dist/cjs/shopify/types/fetcher.d.ts +0 -38
  308. package/dist/cjs/shopify/types/index.d.ts +0 -10
  309. package/dist/cjs/shopify/types/page.d.ts +0 -33
  310. package/dist/cjs/shopify/types/product.d.ts +0 -174
  311. package/dist/cjs/shopify/types/search.d.ts +0 -54
  312. package/dist/cjs/shopify/types/site.d.ts +0 -33
  313. package/dist/cjs/shopify/types/type-helper.d.ts +0 -5
  314. package/dist/cjs/shopify/utils/colors.d.ts +0 -3
  315. package/dist/cjs/shopify/utils/const.d.ts +0 -76
  316. package/dist/cjs/shopify/utils/cookie.d.ts +0 -15
  317. package/dist/cjs/shopify/utils/errors.d.ts +0 -38
  318. package/dist/cjs/shopify/utils/fetch-graphql-api.d.ts +0 -19
  319. package/dist/cjs/shopify/utils/handle-fetch-response.d.ts +0 -5
  320. package/dist/cjs/shopify/utils/helper.d.ts +0 -28
  321. package/dist/cjs/shopify/utils/normalize/cart.d.ts +0 -7
  322. package/dist/cjs/shopify/utils/normalize/customer.d.ts +0 -3
  323. package/dist/cjs/shopify/utils/normalize/index.d.ts +0 -2
  324. package/dist/cjs/shopify/utils/normalize/metafield.d.ts +0 -5
  325. package/dist/cjs/shopify/utils/normalize/product.d.ts +0 -16
  326. package/dist/cjs/shopify/utils/store.d.ts +0 -2
  327. package/dist/cjs/shopify/utils/type-helper.d.ts +0 -5
  328. package/dist/cjs/stories/chat.stories.d.ts +0 -7
  329. package/dist/esm/components/chat/action.d.ts +0 -25
  330. package/dist/esm/components/chat/action.js +0 -2
  331. package/dist/esm/components/chat/action.js.map +0 -7
  332. package/dist/esm/components/chat/button.d.ts +0 -3
  333. package/dist/esm/components/chat/button.js +0 -2
  334. package/dist/esm/components/chat/button.js.map +0 -7
  335. package/dist/esm/components/chat/chatContext.d.ts +0 -101
  336. package/dist/esm/components/chat/chatContext.js +0 -2
  337. package/dist/esm/components/chat/chatContext.js.map +0 -7
  338. package/dist/esm/components/chat/index.d.ts +0 -71
  339. package/dist/esm/components/chat/index.js +0 -2
  340. package/dist/esm/components/chat/index.js.map +0 -7
  341. package/dist/esm/components/chat/markdown.d.ts +0 -5
  342. package/dist/esm/components/chat/markdown.js +0 -2
  343. package/dist/esm/components/chat/markdown.js.map +0 -7
  344. package/dist/esm/components/chat/messages.d.ts +0 -3
  345. package/dist/esm/components/chat/messages.js +0 -2
  346. package/dist/esm/components/chat/messages.js.map +0 -7
  347. package/dist/esm/components/chat/props.d.ts +0 -43
  348. package/dist/esm/components/chat/props.js +0 -1
  349. package/dist/esm/components/chat/props.js.map +0 -7
  350. package/dist/esm/components/chat/response.d.ts +0 -4
  351. package/dist/esm/components/chat/response.js +0 -2
  352. package/dist/esm/components/chat/response.js.map +0 -7
  353. package/dist/esm/components/chat/suggestions.d.ts +0 -3
  354. package/dist/esm/components/chat/suggestions.js +0 -2
  355. package/dist/esm/components/chat/suggestions.js.map +0 -7
  356. package/dist/esm/components/chat/utils.d.ts +0 -3
  357. package/dist/esm/components/chat/utils.js +0 -2
  358. package/dist/esm/components/chat/utils.js.map +0 -7
  359. package/dist/esm/components/credits/context/const.d.ts +0 -81
  360. package/dist/esm/components/credits/context/const.js +0 -2
  361. package/dist/esm/components/credits/context/const.js.map +0 -7
  362. package/dist/esm/components/credits/context/hooks/useActivities.d.ts +0 -12
  363. package/dist/esm/components/credits/context/hooks/useActivities.js +0 -2
  364. package/dist/esm/components/credits/context/hooks/useActivities.js.map +0 -7
  365. package/dist/esm/components/credits/context/hooks/useAddressValidate.d.ts +0 -34
  366. package/dist/esm/components/credits/context/hooks/useAddressValidate.js +0 -2
  367. package/dist/esm/components/credits/context/hooks/useAddressValidate.js.map +0 -7
  368. package/dist/esm/components/credits/context/hooks/useAlpcFetch.d.ts +0 -23
  369. package/dist/esm/components/credits/context/hooks/useAlpcFetch.js +0 -2
  370. package/dist/esm/components/credits/context/hooks/useAlpcFetch.js.map +0 -7
  371. package/dist/esm/components/credits/context/hooks/useClickOutside.d.ts +0 -3
  372. package/dist/esm/components/credits/context/hooks/useClickOutside.js +0 -2
  373. package/dist/esm/components/credits/context/hooks/useClickOutside.js.map +0 -7
  374. package/dist/esm/components/credits/context/hooks/useCopy.d.ts +0 -5
  375. package/dist/esm/components/credits/context/hooks/useCopy.js +0 -2
  376. package/dist/esm/components/credits/context/hooks/useCopy.js.map +0 -7
  377. package/dist/esm/components/credits/context/hooks/useCountries.d.ts +0 -8
  378. package/dist/esm/components/credits/context/hooks/useCountries.js +0 -2
  379. package/dist/esm/components/credits/context/hooks/useCountries.js.map +0 -7
  380. package/dist/esm/components/credits/context/hooks/useFirstPurchaseFinished.d.ts +0 -1
  381. package/dist/esm/components/credits/context/hooks/useFirstPurchaseFinished.js +0 -2
  382. package/dist/esm/components/credits/context/hooks/useFirstPurchaseFinished.js.map +0 -7
  383. package/dist/esm/components/credits/context/hooks/useMyRewards.d.ts +0 -14
  384. package/dist/esm/components/credits/context/hooks/useMyRewards.js +0 -2
  385. package/dist/esm/components/credits/context/hooks/useMyRewards.js.map +0 -7
  386. package/dist/esm/components/credits/context/hooks/useReceiptUploaded.d.ts +0 -2
  387. package/dist/esm/components/credits/context/hooks/useReceiptUploaded.js +0 -2
  388. package/dist/esm/components/credits/context/hooks/useReceiptUploaded.js.map +0 -7
  389. package/dist/esm/components/credits/context/hooks/useRedeemAndBuy.d.ts +0 -14
  390. package/dist/esm/components/credits/context/hooks/useRedeemAndBuy.js +0 -2
  391. package/dist/esm/components/credits/context/hooks/useRedeemAndBuy.js.map +0 -7
  392. package/dist/esm/components/credits/context/hooks/useRedeemCoupon.d.ts +0 -17
  393. package/dist/esm/components/credits/context/hooks/useRedeemCoupon.js +0 -2
  394. package/dist/esm/components/credits/context/hooks/useRedeemCoupon.js.map +0 -7
  395. package/dist/esm/components/credits/context/hooks/useRedeemProduct.d.ts +0 -16
  396. package/dist/esm/components/credits/context/hooks/useRedeemProduct.js +0 -2
  397. package/dist/esm/components/credits/context/hooks/useRedeemProduct.js.map +0 -7
  398. package/dist/esm/components/credits/context/hooks/useRedeemableList.d.ts +0 -7
  399. package/dist/esm/components/credits/context/hooks/useRedeemableList.js +0 -2
  400. package/dist/esm/components/credits/context/hooks/useRedeemableList.js.map +0 -7
  401. package/dist/esm/components/credits/context/hooks/useSendEmailValidation.d.ts +0 -1
  402. package/dist/esm/components/credits/context/hooks/useSendEmailValidation.js +0 -2
  403. package/dist/esm/components/credits/context/hooks/useSendEmailValidation.js.map +0 -7
  404. package/dist/esm/components/credits/context/hooks/useSubscribed.d.ts +0 -1
  405. package/dist/esm/components/credits/context/hooks/useSubscribed.js +0 -2
  406. package/dist/esm/components/credits/context/hooks/useSubscribed.js.map +0 -7
  407. package/dist/esm/components/credits/context/hooks/useSubscriptions.d.ts +0 -5
  408. package/dist/esm/components/credits/context/hooks/useSubscriptions.js +0 -2
  409. package/dist/esm/components/credits/context/hooks/useSubscriptions.js.map +0 -7
  410. package/dist/esm/components/credits/context/hooks/useUploadReceipt.d.ts +0 -14
  411. package/dist/esm/components/credits/context/hooks/useUploadReceipt.js +0 -2
  412. package/dist/esm/components/credits/context/hooks/useUploadReceipt.js.map +0 -7
  413. package/dist/esm/components/credits/context/provider.d.ts +0 -49
  414. package/dist/esm/components/credits/context/provider.js +0 -2
  415. package/dist/esm/components/credits/context/provider.js.map +0 -7
  416. package/dist/esm/components/credits/context/response.d.ts +0 -63
  417. package/dist/esm/components/credits/context/response.js +0 -1
  418. package/dist/esm/components/credits/context/response.js.map +0 -7
  419. package/dist/esm/components/credits/context/utils.d.ts +0 -25
  420. package/dist/esm/components/credits/context/utils.js +0 -2
  421. package/dist/esm/components/credits/context/utils.js.map +0 -7
  422. package/dist/esm/components/credits/creditsBanner/index.d.ts +0 -23
  423. package/dist/esm/components/credits/creditsBanner/index.js +0 -2
  424. package/dist/esm/components/credits/creditsBanner/index.js.map +0 -7
  425. package/dist/esm/components/credits/creditsBenefits/benefitItem.d.ts +0 -19
  426. package/dist/esm/components/credits/creditsBenefits/benefitItem.js +0 -2
  427. package/dist/esm/components/credits/creditsBenefits/benefitItem.js.map +0 -7
  428. package/dist/esm/components/credits/creditsBenefits/iconInfo.d.ts +0 -2
  429. package/dist/esm/components/credits/creditsBenefits/iconInfo.js +0 -2
  430. package/dist/esm/components/credits/creditsBenefits/iconInfo.js.map +0 -7
  431. package/dist/esm/components/credits/creditsBenefits/index.d.ts +0 -12
  432. package/dist/esm/components/credits/creditsBenefits/index.js +0 -4
  433. package/dist/esm/components/credits/creditsBenefits/index.js.map +0 -7
  434. package/dist/esm/components/credits/creditsCash/RedeemableItem.d.ts +0 -15
  435. package/dist/esm/components/credits/creditsCash/RedeemableItem.js +0 -2
  436. package/dist/esm/components/credits/creditsCash/RedeemableItem.js.map +0 -7
  437. package/dist/esm/components/credits/creditsCash/index.d.ts +0 -13
  438. package/dist/esm/components/credits/creditsCash/index.js +0 -2
  439. package/dist/esm/components/credits/creditsCash/index.js.map +0 -7
  440. package/dist/esm/components/credits/creditsCash/type.d.ts +0 -47
  441. package/dist/esm/components/credits/creditsCash/type.js +0 -1
  442. package/dist/esm/components/credits/creditsCash/type.js.map +0 -7
  443. package/dist/esm/components/credits/creditsFaq/faqItem/FaqItem.d.ts +0 -13
  444. package/dist/esm/components/credits/creditsFaq/faqItem/FaqItem.js +0 -2
  445. package/dist/esm/components/credits/creditsFaq/faqItem/FaqItem.js.map +0 -7
  446. package/dist/esm/components/credits/creditsFaq/index.d.ts +0 -16
  447. package/dist/esm/components/credits/creditsFaq/index.js +0 -2
  448. package/dist/esm/components/credits/creditsFaq/index.js.map +0 -7
  449. package/dist/esm/components/credits/creditsInfoCard/index.d.ts +0 -20
  450. package/dist/esm/components/credits/creditsInfoCard/index.js +0 -2
  451. package/dist/esm/components/credits/creditsInfoCard/index.js.map +0 -7
  452. package/dist/esm/components/credits/creditsRedeemList/AddressForm/CountrySelect.d.ts +0 -14
  453. package/dist/esm/components/credits/creditsRedeemList/AddressForm/CountrySelect.js +0 -2
  454. package/dist/esm/components/credits/creditsRedeemList/AddressForm/CountrySelect.js.map +0 -7
  455. package/dist/esm/components/credits/creditsRedeemList/AddressForm/FormItem.d.ts +0 -6
  456. package/dist/esm/components/credits/creditsRedeemList/AddressForm/FormItem.js +0 -2
  457. package/dist/esm/components/credits/creditsRedeemList/AddressForm/FormItem.js.map +0 -7
  458. package/dist/esm/components/credits/creditsRedeemList/AddressForm/Input.d.ts +0 -13
  459. package/dist/esm/components/credits/creditsRedeemList/AddressForm/Input.js +0 -2
  460. package/dist/esm/components/credits/creditsRedeemList/AddressForm/Input.js.map +0 -7
  461. package/dist/esm/components/credits/creditsRedeemList/AddressForm/StateSelect.d.ts +0 -15
  462. package/dist/esm/components/credits/creditsRedeemList/AddressForm/StateSelect.js +0 -2
  463. package/dist/esm/components/credits/creditsRedeemList/AddressForm/StateSelect.js.map +0 -7
  464. package/dist/esm/components/credits/creditsRedeemList/AddressForm/index.d.ts +0 -2
  465. package/dist/esm/components/credits/creditsRedeemList/AddressForm/index.js +0 -2
  466. package/dist/esm/components/credits/creditsRedeemList/AddressForm/index.js.map +0 -7
  467. package/dist/esm/components/credits/creditsRedeemList/AddressForm/type.d.ts +0 -26
  468. package/dist/esm/components/credits/creditsRedeemList/AddressForm/type.js +0 -1
  469. package/dist/esm/components/credits/creditsRedeemList/AddressForm/type.js.map +0 -7
  470. package/dist/esm/components/credits/creditsRedeemList/RedeemCouponModal.d.ts +0 -9
  471. package/dist/esm/components/credits/creditsRedeemList/RedeemCouponModal.js +0 -2
  472. package/dist/esm/components/credits/creditsRedeemList/RedeemCouponModal.js.map +0 -7
  473. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Address.d.ts +0 -20
  474. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Address.js +0 -2
  475. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Address.js.map +0 -7
  476. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Error.d.ts +0 -8
  477. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Error.js +0 -2
  478. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Error.js.map +0 -7
  479. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Init.d.ts +0 -11
  480. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Init.js +0 -2
  481. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Init.js.map +0 -7
  482. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.d.ts +0 -8
  483. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.js +0 -2
  484. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/ProductInfo.js.map +0 -7
  485. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Success.d.ts +0 -13
  486. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Success.js +0 -2
  487. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/Success.js.map +0 -7
  488. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/index.d.ts +0 -11
  489. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/index.js +0 -2
  490. package/dist/esm/components/credits/creditsRedeemList/RedeemProductModal/index.js.map +0 -7
  491. package/dist/esm/components/credits/creditsRedeemList/RedeemableItem.d.ts +0 -9
  492. package/dist/esm/components/credits/creditsRedeemList/RedeemableItem.js +0 -2
  493. package/dist/esm/components/credits/creditsRedeemList/RedeemableItem.js.map +0 -7
  494. package/dist/esm/components/credits/creditsRedeemList/index.d.ts +0 -13
  495. package/dist/esm/components/credits/creditsRedeemList/index.js +0 -2
  496. package/dist/esm/components/credits/creditsRedeemList/index.js.map +0 -7
  497. package/dist/esm/components/credits/creditsRedeemList/type.d.ts +0 -77
  498. package/dist/esm/components/credits/creditsRedeemList/type.js +0 -1
  499. package/dist/esm/components/credits/creditsRedeemList/type.js.map +0 -7
  500. package/dist/esm/components/credits/creditsWaysToGetCredits/index.d.ts +0 -2
  501. package/dist/esm/components/credits/creditsWaysToGetCredits/index.js +0 -2
  502. package/dist/esm/components/credits/creditsWaysToGetCredits/index.js.map +0 -7
  503. package/dist/esm/components/credits/creditsWaysToGetCredits/type.d.ts +0 -60
  504. package/dist/esm/components/credits/creditsWaysToGetCredits/type.js +0 -2
  505. package/dist/esm/components/credits/creditsWaysToGetCredits/type.js.map +0 -7
  506. package/dist/esm/components/credits/creditsWaysToGetCredits/useActions.d.ts +0 -96
  507. package/dist/esm/components/credits/creditsWaysToGetCredits/useActions.js +0 -2
  508. package/dist/esm/components/credits/creditsWaysToGetCredits/useActions.js.map +0 -7
  509. package/dist/esm/components/credits/index.d.ts +0 -10
  510. package/dist/esm/components/credits/index.js +0 -2
  511. package/dist/esm/components/credits/index.js.map +0 -7
  512. package/dist/esm/components/credits/modal/MyRewardsModal.d.ts +0 -29
  513. package/dist/esm/components/credits/modal/MyRewardsModal.js +0 -2
  514. package/dist/esm/components/credits/modal/MyRewardsModal.js.map +0 -7
  515. package/dist/esm/components/credits/modal/activitiesModal.d.ts +0 -29
  516. package/dist/esm/components/credits/modal/activitiesModal.js +0 -2
  517. package/dist/esm/components/credits/modal/activitiesModal.js.map +0 -7
  518. package/dist/esm/components/credits/modal/creditsUploadReceiptModal.d.ts +0 -24
  519. package/dist/esm/components/credits/modal/creditsUploadReceiptModal.js +0 -2
  520. package/dist/esm/components/credits/modal/creditsUploadReceiptModal.js.map +0 -7
  521. package/dist/esm/components/credits/modal/loadingDots.d.ts +0 -5
  522. package/dist/esm/components/credits/modal/loadingDots.js +0 -2
  523. package/dist/esm/components/credits/modal/loadingDots.js.map +0 -7
  524. package/dist/esm/components/credits/modal/modalContainer.d.ts +0 -15
  525. package/dist/esm/components/credits/modal/modalContainer.js +0 -2
  526. package/dist/esm/components/credits/modal/modalContainer.js.map +0 -7
  527. package/dist/esm/components/credits/modal/rulesModal.d.ts +0 -7
  528. package/dist/esm/components/credits/modal/rulesModal.js +0 -2
  529. package/dist/esm/components/credits/modal/rulesModal.js.map +0 -7
  530. package/dist/esm/components/credits/modal/tip.d.ts +0 -5
  531. package/dist/esm/components/credits/modal/tip.js +0 -2
  532. package/dist/esm/components/credits/modal/tip.js.map +0 -7
  533. package/dist/esm/components/credits/type.d.ts +0 -55
  534. package/dist/esm/components/credits/type.js +0 -1
  535. package/dist/esm/components/credits/type.js.map +0 -7
  536. package/dist/esm/components/index.d.ts +0 -3
  537. package/dist/esm/components/index.js +0 -2
  538. package/dist/esm/components/index.js.map +0 -7
  539. package/dist/esm/debug-env.d.ts +0 -7
  540. package/dist/esm/helpers/fetchResponse.d.ts +0 -14
  541. package/dist/esm/helpers/fetchResponse.js +0 -2
  542. package/dist/esm/helpers/fetchResponse.js.map +0 -7
  543. package/dist/esm/helpers/fetcher.d.ts +0 -2
  544. package/dist/esm/helpers/fetcher.js +0 -2
  545. package/dist/esm/helpers/fetcher.js.map +0 -7
  546. package/dist/esm/helpers/index.d.ts +0 -2
  547. package/dist/esm/helpers/index.js +0 -2
  548. package/dist/esm/helpers/index.js.map +0 -7
  549. package/dist/esm/helpers/track.d.ts +0 -15
  550. package/dist/esm/helpers/track.js +0 -2
  551. package/dist/esm/helpers/track.js.map +0 -7
  552. package/dist/esm/helpers/utils.d.ts +0 -3
  553. package/dist/esm/helpers/utils.js +0 -2
  554. package/dist/esm/helpers/utils.js.map +0 -7
  555. package/dist/esm/index.css +0 -2
  556. package/dist/esm/index.css.map +0 -7
  557. package/dist/esm/index.d.ts +0 -7
  558. package/dist/esm/index.js +0 -2
  559. package/dist/esm/index.js.map +0 -7
  560. package/dist/esm/package.json +0 -3
  561. package/dist/esm/shopify/context/ShopifyProvider.d.ts +0 -10
  562. package/dist/esm/shopify/fetchers/create-cart.d.ts +0 -13
  563. package/dist/esm/shopify/fetchers/get-products-by-handles.d.ts +0 -7
  564. package/dist/esm/shopify/fetchers/index.d.ts +0 -2
  565. package/dist/esm/shopify/fragments/article.d.ts +0 -2
  566. package/dist/esm/shopify/fragments/blog.d.ts +0 -1
  567. package/dist/esm/shopify/fragments/cart.d.ts +0 -1
  568. package/dist/esm/shopify/fragments/collection.d.ts +0 -1
  569. package/dist/esm/shopify/fragments/image.d.ts +0 -1
  570. package/dist/esm/shopify/fragments/index.d.ts +0 -11
  571. package/dist/esm/shopify/fragments/metafields.d.ts +0 -2
  572. package/dist/esm/shopify/fragments/page-info.d.ts +0 -1
  573. package/dist/esm/shopify/fragments/page.d.ts +0 -1
  574. package/dist/esm/shopify/fragments/product.d.ts +0 -1
  575. package/dist/esm/shopify/fragments/seo.d.ts +0 -1
  576. package/dist/esm/shopify/fragments/variant.d.ts +0 -1
  577. package/dist/esm/shopify/gql/fragment-masking.d.ts +0 -15
  578. package/dist/esm/shopify/gql/gql.d.ts +0 -87
  579. package/dist/esm/shopify/gql/graphql.d.ts +0 -7669
  580. package/dist/esm/shopify/gql/index.d.ts +0 -3
  581. package/dist/esm/shopify/hooks/index.d.ts +0 -2
  582. package/dist/esm/shopify/hooks/useCreateCart.d.ts +0 -2
  583. package/dist/esm/shopify/hooks/useProductsByHandles.d.ts +0 -4
  584. package/dist/esm/shopify/mutations/create-cart.d.ts +0 -1
  585. package/dist/esm/shopify/queries/get-product-by-handles.d.ts +0 -1
  586. package/dist/esm/shopify/queries/index.d.ts +0 -1
  587. package/dist/esm/shopify/src/index.d.ts +0 -5
  588. package/dist/esm/shopify/tsup.config.d.ts +0 -2
  589. package/dist/esm/shopify/types/article.d.ts +0 -48
  590. package/dist/esm/shopify/types/cart.d.ts +0 -173
  591. package/dist/esm/shopify/types/checkout.d.ts +0 -42
  592. package/dist/esm/shopify/types/collection.d.ts +0 -122
  593. package/dist/esm/shopify/types/common.d.ts +0 -42
  594. package/dist/esm/shopify/types/config.d.ts +0 -12
  595. package/dist/esm/shopify/types/customer.d.ts +0 -30
  596. package/dist/esm/shopify/types/fetcher.d.ts +0 -38
  597. package/dist/esm/shopify/types/index.d.ts +0 -10
  598. package/dist/esm/shopify/types/page.d.ts +0 -33
  599. package/dist/esm/shopify/types/product.d.ts +0 -174
  600. package/dist/esm/shopify/types/search.d.ts +0 -54
  601. package/dist/esm/shopify/types/site.d.ts +0 -33
  602. package/dist/esm/shopify/types/type-helper.d.ts +0 -5
  603. package/dist/esm/shopify/utils/colors.d.ts +0 -3
  604. package/dist/esm/shopify/utils/const.d.ts +0 -76
  605. package/dist/esm/shopify/utils/cookie.d.ts +0 -15
  606. package/dist/esm/shopify/utils/errors.d.ts +0 -38
  607. package/dist/esm/shopify/utils/fetch-graphql-api.d.ts +0 -19
  608. package/dist/esm/shopify/utils/handle-fetch-response.d.ts +0 -5
  609. package/dist/esm/shopify/utils/helper.d.ts +0 -28
  610. package/dist/esm/shopify/utils/normalize/cart.d.ts +0 -7
  611. package/dist/esm/shopify/utils/normalize/customer.d.ts +0 -3
  612. package/dist/esm/shopify/utils/normalize/index.d.ts +0 -2
  613. package/dist/esm/shopify/utils/normalize/metafield.d.ts +0 -5
  614. package/dist/esm/shopify/utils/normalize/product.d.ts +0 -16
  615. package/dist/esm/shopify/utils/store.d.ts +0 -2
  616. package/dist/esm/shopify/utils/type-helper.d.ts +0 -5
  617. package/dist/esm/stories/chat.stories.d.ts +0 -7
  618. package/src/shopify/MIGRATION_GUIDE.md +0 -156
  619. package/src/shopify/context/ShopifyProvider.tsx +0 -34
  620. package/src/shopify/dist/cart-BNkVu3fh.d.ts +0 -220
  621. package/src/shopify/dist/cart-BcrGTPdx.d.cts +0 -220
  622. package/src/shopify/dist/fetchers.cjs +0 -7945
  623. package/src/shopify/dist/fetchers.cjs.map +0 -1
  624. package/src/shopify/dist/fetchers.d.cts +0 -3
  625. package/src/shopify/dist/fetchers.d.ts +0 -3
  626. package/src/shopify/dist/fetchers.js +0 -7942
  627. package/src/shopify/dist/fetchers.js.map +0 -1
  628. package/src/shopify/dist/fragments.cjs +0 -731
  629. package/src/shopify/dist/fragments.cjs.map +0 -1
  630. package/src/shopify/dist/fragments.d.cts +0 -25
  631. package/src/shopify/dist/fragments.d.ts +0 -25
  632. package/src/shopify/dist/fragments.js +0 -705
  633. package/src/shopify/dist/fragments.js.map +0 -1
  634. package/src/shopify/dist/graphql-D4M28V-x.d.cts +0 -3558
  635. package/src/shopify/dist/graphql-D4M28V-x.d.ts +0 -3558
  636. package/src/shopify/dist/hooks.cjs +0 -9431
  637. package/src/shopify/dist/hooks.cjs.map +0 -1
  638. package/src/shopify/dist/hooks.d.cts +0 -14
  639. package/src/shopify/dist/hooks.d.ts +0 -14
  640. package/src/shopify/dist/hooks.js +0 -9427
  641. package/src/shopify/dist/hooks.js.map +0 -1
  642. package/src/shopify/dist/index-BTtE4HZM.d.ts +0 -42
  643. package/src/shopify/dist/index-BjNIecYX.d.cts +0 -42
  644. package/src/shopify/dist/index.cjs +0 -9642
  645. package/src/shopify/dist/index.cjs.map +0 -1
  646. package/src/shopify/dist/index.d.cts +0 -11
  647. package/src/shopify/dist/index.d.ts +0 -11
  648. package/src/shopify/dist/index.js +0 -9619
  649. package/src/shopify/dist/index.js.map +0 -1
  650. package/src/shopify/dist/product-Bqi3sqb9.d.cts +0 -262
  651. package/src/shopify/dist/product-DNk6jYAP.d.ts +0 -262
  652. package/src/shopify/dist/queries.cjs +0 -615
  653. package/src/shopify/dist/queries.cjs.map +0 -1
  654. package/src/shopify/dist/queries.d.cts +0 -3
  655. package/src/shopify/dist/queries.d.ts +0 -3
  656. package/src/shopify/dist/queries.js +0 -601
  657. package/src/shopify/dist/queries.js.map +0 -1
  658. package/src/shopify/dist/types.cjs +0 -19
  659. package/src/shopify/dist/types.cjs.map +0 -1
  660. package/src/shopify/dist/types.d.cts +0 -282
  661. package/src/shopify/dist/types.d.ts +0 -282
  662. package/src/shopify/dist/types.js +0 -1
  663. package/src/shopify/dist/types.js.map +0 -1
  664. package/src/shopify/dist/utils.cjs +0 -334
  665. package/src/shopify/dist/utils.cjs.map +0 -1
  666. package/src/shopify/dist/utils.d.cts +0 -12
  667. package/src/shopify/dist/utils.d.ts +0 -12
  668. package/src/shopify/dist/utils.js +0 -319
  669. package/src/shopify/dist/utils.js.map +0 -1
  670. package/src/shopify/fetchers/create-cart.ts +0 -40
  671. package/src/shopify/fetchers/get-products-by-handles.ts +0 -41
  672. package/src/shopify/fetchers/index.ts +0 -3
  673. package/src/shopify/fragments/article.ts +0 -51
  674. package/src/shopify/fragments/blog.ts +0 -10
  675. package/src/shopify/fragments/cart.ts +0 -190
  676. package/src/shopify/fragments/collection.ts +0 -15
  677. package/src/shopify/fragments/image.ts +0 -8
  678. package/src/shopify/fragments/index.ts +0 -11
  679. package/src/shopify/fragments/metafields.ts +0 -17
  680. package/src/shopify/fragments/page-info.ts +0 -8
  681. package/src/shopify/fragments/page.ts +0 -12
  682. package/src/shopify/fragments/product.ts +0 -71
  683. package/src/shopify/fragments/seo.ts +0 -6
  684. package/src/shopify/fragments/variant.ts +0 -29
  685. package/src/shopify/gql/fragment-masking.ts +0 -85
  686. package/src/shopify/gql/gql.ts +0 -110
  687. package/src/shopify/gql/graphql.ts +0 -11780
  688. package/src/shopify/gql/index.ts +0 -4
  689. package/src/shopify/hooks/index.ts +0 -2
  690. package/src/shopify/hooks/useCreateCart.ts +0 -24
  691. package/src/shopify/hooks/useProductsByHandles.ts +0 -25
  692. package/src/shopify/mutations/create-cart.ts +0 -16
  693. package/src/shopify/package.json +0 -84
  694. package/src/shopify/queries/get-product-by-handles.ts +0 -32
  695. package/src/shopify/queries/index.ts +0 -2
  696. package/src/shopify/src/index.ts +0 -5
  697. package/src/shopify/tsconfig.json +0 -25
  698. package/src/shopify/tsup.config.ts +0 -21
  699. package/src/shopify/types/article.ts +0 -46
  700. package/src/shopify/types/cart.ts +0 -202
  701. package/src/shopify/types/checkout.ts +0 -44
  702. package/src/shopify/types/collection.ts +0 -104
  703. package/src/shopify/types/common.ts +0 -53
  704. package/src/shopify/types/config.ts +0 -14
  705. package/src/shopify/types/customer.ts +0 -31
  706. package/src/shopify/types/fetcher.ts +0 -61
  707. package/src/shopify/types/index.ts +0 -10
  708. package/src/shopify/types/page.ts +0 -45
  709. package/src/shopify/types/product.ts +0 -176
  710. package/src/shopify/types/search.ts +0 -62
  711. package/src/shopify/types/site.ts +0 -38
  712. package/src/shopify/types/type-helper.ts +0 -5
  713. package/src/shopify/utils/colors.ts +0 -206
  714. package/src/shopify/utils/const.ts +0 -115
  715. package/src/shopify/utils/cookie.ts +0 -39
  716. package/src/shopify/utils/errors.ts +0 -65
  717. package/src/shopify/utils/fetch-graphql-api.ts +0 -67
  718. package/src/shopify/utils/handle-fetch-response.ts +0 -60
  719. package/src/shopify/utils/helper.ts +0 -89
  720. package/src/shopify/utils/normalize/cart.ts +0 -106
  721. package/src/shopify/utils/normalize/customer.ts +0 -18
  722. package/src/shopify/utils/normalize/index.ts +0 -2
  723. package/src/shopify/utils/normalize/metafield.ts +0 -69
  724. package/src/shopify/utils/normalize/product.ts +0 -193
  725. package/src/shopify/utils/store.ts +0 -5
  726. package/src/shopify/utils/type-helper.ts +0 -7
@@ -1,3558 +0,0 @@
1
- type Maybe<T> = T | null;
2
- type InputMaybe<T> = Maybe<T>;
3
- /** All built-in and custom scalars, mapped to their actual values */
4
- type Scalars = {
5
- ID: {
6
- input: string;
7
- output: string;
8
- };
9
- String: {
10
- input: string;
11
- output: string;
12
- };
13
- Boolean: {
14
- input: boolean;
15
- output: boolean;
16
- };
17
- Int: {
18
- input: number;
19
- output: number;
20
- };
21
- Float: {
22
- input: number;
23
- output: number;
24
- };
25
- /**
26
- * A string containing a hexadecimal representation of a color.
27
- *
28
- * For example, "#6A8D48".
29
- *
30
- */
31
- Color: {
32
- input: any;
33
- output: any;
34
- };
35
- /**
36
- * Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string.
37
- * For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is
38
- * represented as `"2019-09-07T15:50:00Z`".
39
- *
40
- */
41
- DateTime: {
42
- input: any;
43
- output: any;
44
- };
45
- /**
46
- * A signed decimal number, which supports arbitrary precision and is serialized as a string.
47
- *
48
- * Example values: `"29.99"`, `"29.999"`.
49
- *
50
- */
51
- Decimal: {
52
- input: any;
53
- output: any;
54
- };
55
- /**
56
- * A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a
57
- * complete list of HTML elements.
58
- *
59
- * Example value: `"<p>Grey cotton knit sweater.</p>"`
60
- *
61
- */
62
- HTML: {
63
- input: any;
64
- output: any;
65
- };
66
- /**
67
- * A [JSON](https://www.json.org/json-en.html) object.
68
- *
69
- * Example value:
70
- * `{
71
- * "product": {
72
- * "id": "gid://shopify/Product/1346443542550",
73
- * "title": "White T-shirt",
74
- * "options": [{
75
- * "name": "Size",
76
- * "values": ["M", "L"]
77
- * }]
78
- * }
79
- * }`
80
- *
81
- */
82
- JSON: {
83
- input: any;
84
- output: any;
85
- };
86
- /**
87
- * Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and
88
- * [RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.
89
- *
90
- * For example, `"https://johns-apparel.myshopify.com"` is a valid URL. It includes a scheme (`https`) and a host
91
- * (`johns-apparel.myshopify.com`).
92
- *
93
- */
94
- URL: {
95
- input: any;
96
- output: any;
97
- };
98
- /**
99
- * An unsigned 64-bit integer. Represents whole numeric values between 0 and 2^64 - 1 encoded as a string of base-10 digits.
100
- *
101
- * Example value: `"50"`.
102
- *
103
- */
104
- UnsignedInt64: {
105
- input: any;
106
- output: any;
107
- };
108
- };
109
- /** Details about the gift card used on the checkout. */
110
- type AppliedGiftCard = Node & {
111
- __typename?: 'AppliedGiftCard';
112
- /** The amount that was taken from the gift card by applying it. */
113
- amountUsed: MoneyV2;
114
- /**
115
- * The amount that was taken from the gift card by applying it.
116
- * @deprecated Use `amountUsed` instead.
117
- */
118
- amountUsedV2: MoneyV2;
119
- /** The amount left on the gift card. */
120
- balance: MoneyV2;
121
- /**
122
- * The amount left on the gift card.
123
- * @deprecated Use `balance` instead.
124
- */
125
- balanceV2: MoneyV2;
126
- /** A globally-unique ID. */
127
- id: Scalars['ID']['output'];
128
- /** The last characters of the gift card. */
129
- lastCharacters: Scalars['String']['output'];
130
- /** The amount that was applied to the checkout in its currency. */
131
- presentmentAmountUsed: MoneyV2;
132
- };
133
- /** An article in an online store blog. */
134
- type Article = HasMetafields & Node & OnlineStorePublishable & Trackable & {
135
- __typename?: 'Article';
136
- /**
137
- * The article's author.
138
- * @deprecated Use `authorV2` instead.
139
- */
140
- author: ArticleAuthor;
141
- /** The article's author. */
142
- authorV2?: Maybe<ArticleAuthor>;
143
- /** The blog that the article belongs to. */
144
- blog: Blog;
145
- /** List of comments posted on the article. */
146
- comments: CommentConnection;
147
- /** Stripped content of the article, single line with HTML tags removed. */
148
- content: Scalars['String']['output'];
149
- /** The content of the article, complete with HTML formatting. */
150
- contentHtml: Scalars['HTML']['output'];
151
- /** Stripped excerpt of the article, single line with HTML tags removed. */
152
- excerpt?: Maybe<Scalars['String']['output']>;
153
- /** The excerpt of the article, complete with HTML formatting. */
154
- excerptHtml?: Maybe<Scalars['HTML']['output']>;
155
- /**
156
- * A human-friendly unique string for the Article automatically generated from its title.
157
- *
158
- */
159
- handle: Scalars['String']['output'];
160
- /** A globally-unique ID. */
161
- id: Scalars['ID']['output'];
162
- /** The image associated with the article. */
163
- image?: Maybe<Image>;
164
- /** Returns a metafield found by namespace and key. */
165
- metafield?: Maybe<Metafield>;
166
- /**
167
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
168
- *
169
- */
170
- metafields: Array<Maybe<Metafield>>;
171
- /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
172
- onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
173
- /** The date and time when the article was published. */
174
- publishedAt: Scalars['DateTime']['output'];
175
- /** The article’s SEO information. */
176
- seo?: Maybe<Seo>;
177
- /** A categorization that a article can be tagged with. */
178
- tags: Array<Scalars['String']['output']>;
179
- /** The article’s name. */
180
- title: Scalars['String']['output'];
181
- /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
182
- trackingParameters?: Maybe<Scalars['String']['output']>;
183
- };
184
- /** The author of an article. */
185
- type ArticleAuthor = {
186
- __typename?: 'ArticleAuthor';
187
- /** The author's bio. */
188
- bio?: Maybe<Scalars['String']['output']>;
189
- /** The author’s email. */
190
- email: Scalars['String']['output'];
191
- /** The author's first name. */
192
- firstName: Scalars['String']['output'];
193
- /** The author's last name. */
194
- lastName: Scalars['String']['output'];
195
- /** The author's full name. */
196
- name: Scalars['String']['output'];
197
- };
198
- /**
199
- * An auto-generated type for paginating through multiple Articles.
200
- *
201
- */
202
- type ArticleConnection = {
203
- __typename?: 'ArticleConnection';
204
- /** A list of edges. */
205
- edges: Array<ArticleEdge>;
206
- /** A list of the nodes contained in ArticleEdge. */
207
- nodes: Array<Article>;
208
- /** Information to aid in pagination. */
209
- pageInfo: PageInfo;
210
- };
211
- /**
212
- * An auto-generated type which holds one Article and a cursor during pagination.
213
- *
214
- */
215
- type ArticleEdge = {
216
- __typename?: 'ArticleEdge';
217
- /** A cursor for use in pagination. */
218
- cursor: Scalars['String']['output'];
219
- /** The item at the end of ArticleEdge. */
220
- node: Article;
221
- };
222
- /** Represents a generic custom attribute. */
223
- type Attribute = {
224
- __typename?: 'Attribute';
225
- /** Key or name of the attribute. */
226
- key: Scalars['String']['output'];
227
- /** Value of the attribute. */
228
- value?: Maybe<Scalars['String']['output']>;
229
- };
230
- /** The input fields for an attribute. */
231
- type AttributeInput = {
232
- /** Key or name of the attribute. */
233
- key: Scalars['String']['input'];
234
- /** Value of the attribute. */
235
- value: Scalars['String']['input'];
236
- };
237
- /** A collection of available shipping rates for a checkout. */
238
- type AvailableShippingRates = {
239
- __typename?: 'AvailableShippingRates';
240
- /**
241
- * Whether or not the shipping rates are ready.
242
- * The `shippingRates` field is `null` when this value is `false`.
243
- * This field should be polled until its value becomes `true`.
244
- *
245
- */
246
- ready: Scalars['Boolean']['output'];
247
- /** The fetched shipping rates. `null` until the `ready` field is `true`. */
248
- shippingRates?: Maybe<Array<ShippingRate>>;
249
- };
250
- /** Represents a cart line common fields. */
251
- type BaseCartLine = {
252
- /** An attribute associated with the cart line. */
253
- attribute?: Maybe<Attribute>;
254
- /** The attributes associated with the cart line. Attributes are represented as key-value pairs. */
255
- attributes: Array<Attribute>;
256
- /** The cost of the merchandise that the buyer will pay for at checkout. The costs are subject to change and changes will be reflected at checkout. */
257
- cost: CartLineCost;
258
- /** The discounts that have been applied to the cart line. */
259
- discountAllocations: Array<CartDiscountAllocation>;
260
- /**
261
- * The estimated cost of the merchandise that the buyer will pay for at checkout. The estimated costs are subject to change and changes will be reflected at checkout.
262
- * @deprecated Use `cost` instead.
263
- */
264
- estimatedCost: CartLineEstimatedCost;
265
- /** A globally-unique ID. */
266
- id: Scalars['ID']['output'];
267
- /** The merchandise that the buyer intends to purchase. */
268
- merchandise: Merchandise;
269
- /** The quantity of the merchandise that the customer intends to purchase. */
270
- quantity: Scalars['Int']['output'];
271
- /** The selling plan associated with the cart line and the effect that each selling plan has on variants when they're purchased. */
272
- sellingPlanAllocation?: Maybe<SellingPlanAllocation>;
273
- };
274
- /**
275
- * An auto-generated type for paginating through multiple BaseCartLines.
276
- *
277
- */
278
- type BaseCartLineConnection = {
279
- __typename?: 'BaseCartLineConnection';
280
- /** A list of edges. */
281
- edges: Array<BaseCartLineEdge>;
282
- /** A list of the nodes contained in BaseCartLineEdge. */
283
- nodes: Array<BaseCartLine>;
284
- /** Information to aid in pagination. */
285
- pageInfo: PageInfo;
286
- };
287
- /**
288
- * An auto-generated type which holds one BaseCartLine and a cursor during pagination.
289
- *
290
- */
291
- type BaseCartLineEdge = {
292
- __typename?: 'BaseCartLineEdge';
293
- /** A cursor for use in pagination. */
294
- cursor: Scalars['String']['output'];
295
- /** The item at the end of BaseCartLineEdge. */
296
- node: BaseCartLine;
297
- };
298
- /** An online store blog. */
299
- type Blog = HasMetafields & Node & OnlineStorePublishable & {
300
- __typename?: 'Blog';
301
- /** Find an article by its handle. */
302
- articleByHandle?: Maybe<Article>;
303
- /** List of the blog's articles. */
304
- articles: ArticleConnection;
305
- /** The authors who have contributed to the blog. */
306
- authors: Array<ArticleAuthor>;
307
- /**
308
- * A human-friendly unique string for the Blog automatically generated from its title.
309
- *
310
- */
311
- handle: Scalars['String']['output'];
312
- /** A globally-unique ID. */
313
- id: Scalars['ID']['output'];
314
- /** Returns a metafield found by namespace and key. */
315
- metafield?: Maybe<Metafield>;
316
- /**
317
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
318
- *
319
- */
320
- metafields: Array<Maybe<Metafield>>;
321
- /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
322
- onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
323
- /** The blog's SEO information. */
324
- seo?: Maybe<Seo>;
325
- /** The blogs’s title. */
326
- title: Scalars['String']['output'];
327
- };
328
- /**
329
- * The store's [branding configuration](https://help.shopify.com/en/manual/promoting-marketing/managing-brand-assets).
330
- *
331
- */
332
- type Brand = {
333
- __typename?: 'Brand';
334
- /** The colors of the store's brand. */
335
- colors: BrandColors;
336
- /** The store's cover image. */
337
- coverImage?: Maybe<MediaImage>;
338
- /** The store's default logo. */
339
- logo?: Maybe<MediaImage>;
340
- /** The store's short description. */
341
- shortDescription?: Maybe<Scalars['String']['output']>;
342
- /** The store's slogan. */
343
- slogan?: Maybe<Scalars['String']['output']>;
344
- /** The store's preferred logo for square UI elements. */
345
- squareLogo?: Maybe<MediaImage>;
346
- };
347
- /**
348
- * A group of related colors for the shop's brand.
349
- *
350
- */
351
- type BrandColorGroup = {
352
- __typename?: 'BrandColorGroup';
353
- /** The background color. */
354
- background?: Maybe<Scalars['Color']['output']>;
355
- /** The foreground color. */
356
- foreground?: Maybe<Scalars['Color']['output']>;
357
- };
358
- /**
359
- * The colors of the shop's brand.
360
- *
361
- */
362
- type BrandColors = {
363
- __typename?: 'BrandColors';
364
- /** The shop's primary brand colors. */
365
- primary: Array<BrandColorGroup>;
366
- /** The shop's secondary brand colors. */
367
- secondary: Array<BrandColorGroup>;
368
- };
369
- /** Card brand, such as Visa or Mastercard, which can be used for payments. */
370
- declare enum CardBrand {
371
- /** American Express. */
372
- AmericanExpress = "AMERICAN_EXPRESS",
373
- /** Diners Club. */
374
- DinersClub = "DINERS_CLUB",
375
- /** Discover. */
376
- Discover = "DISCOVER",
377
- /** JCB. */
378
- Jcb = "JCB",
379
- /** Mastercard. */
380
- Mastercard = "MASTERCARD",
381
- /** Visa. */
382
- Visa = "VISA"
383
- }
384
- /**
385
- * A cart represents the merchandise that a buyer intends to purchase,
386
- * and the estimated cost associated with the cart. Learn how to
387
- * [interact with a cart](https://shopify.dev/custom-storefronts/internationalization/international-pricing)
388
- * during a customer's session.
389
- *
390
- */
391
- type Cart = HasMetafields & Node & {
392
- __typename?: 'Cart';
393
- /** An attribute associated with the cart. */
394
- attribute?: Maybe<Attribute>;
395
- /** The attributes associated with the cart. Attributes are represented as key-value pairs. */
396
- attributes: Array<Attribute>;
397
- /** Information about the buyer that's interacting with the cart. */
398
- buyerIdentity: CartBuyerIdentity;
399
- /** The URL of the checkout for the cart. */
400
- checkoutUrl: Scalars['URL']['output'];
401
- /** The estimated costs that the buyer will pay at checkout. The costs are subject to change and changes will be reflected at checkout. The `cost` field uses the `buyerIdentity` field to determine [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing). */
402
- cost: CartCost;
403
- /** The date and time when the cart was created. */
404
- createdAt: Scalars['DateTime']['output'];
405
- /**
406
- * The delivery groups available for the cart, based on the buyer identity default
407
- * delivery address preference or the default address of the logged-in customer.
408
- *
409
- */
410
- deliveryGroups: CartDeliveryGroupConnection;
411
- /** The discounts that have been applied to the entire cart. */
412
- discountAllocations: Array<CartDiscountAllocation>;
413
- /**
414
- * The case-insensitive discount codes that the customer added at checkout.
415
- *
416
- */
417
- discountCodes: Array<CartDiscountCode>;
418
- /**
419
- * The estimated costs that the buyer will pay at checkout.
420
- * The estimated costs are subject to change and changes will be reflected at checkout.
421
- * The `estimatedCost` field uses the `buyerIdentity` field to determine
422
- * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).
423
- *
424
- * @deprecated Use `cost` instead.
425
- */
426
- estimatedCost: CartEstimatedCost;
427
- /** A globally-unique ID. */
428
- id: Scalars['ID']['output'];
429
- /** A list of lines containing information about the items the customer intends to purchase. */
430
- lines: BaseCartLineConnection;
431
- /** Returns a metafield found by namespace and key. */
432
- metafield?: Maybe<Metafield>;
433
- /**
434
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
435
- *
436
- */
437
- metafields: Array<Maybe<Metafield>>;
438
- /** A note that's associated with the cart. For example, the note can be a personalized message to the buyer. */
439
- note?: Maybe<Scalars['String']['output']>;
440
- /** The total number of items in the cart. */
441
- totalQuantity: Scalars['Int']['output'];
442
- /** The date and time when the cart was updated. */
443
- updatedAt: Scalars['DateTime']['output'];
444
- };
445
- /** Represents information about the buyer that is interacting with the cart. */
446
- type CartBuyerIdentity = {
447
- __typename?: 'CartBuyerIdentity';
448
- /** The country where the buyer is located. */
449
- countryCode?: Maybe<CountryCode>;
450
- /** The customer account associated with the cart. */
451
- customer?: Maybe<Customer>;
452
- /**
453
- * An ordered set of delivery addresses tied to the buyer that is interacting with the cart.
454
- * The rank of the preferences is determined by the order of the addresses in the array. Preferences
455
- * can be used to populate relevant fields in the checkout flow.
456
- *
457
- */
458
- deliveryAddressPreferences: Array<DeliveryAddress>;
459
- /** The email address of the buyer that's interacting with the cart. */
460
- email?: Maybe<Scalars['String']['output']>;
461
- /** The phone number of the buyer that's interacting with the cart. */
462
- phone?: Maybe<Scalars['String']['output']>;
463
- /**
464
- * A set of wallet preferences tied to the buyer that is interacting with the cart.
465
- * Preferences can be used to populate relevant payment fields in the checkout flow.
466
- *
467
- */
468
- walletPreferences: Array<Scalars['String']['output']>;
469
- };
470
- /**
471
- * Specifies the input fields to update the buyer information associated with a cart.
472
- * Buyer identity is used to determine
473
- * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing)
474
- * and should match the customer's shipping address.
475
- *
476
- */
477
- type CartBuyerIdentityInput = {
478
- /** The country where the buyer is located. */
479
- countryCode?: InputMaybe<CountryCode>;
480
- /** The access token used to identify the customer associated with the cart. */
481
- customerAccessToken?: InputMaybe<Scalars['String']['input']>;
482
- /**
483
- * An ordered set of delivery addresses tied to the buyer that is interacting with the cart.
484
- * The rank of the preferences is determined by the order of the addresses in the array. Preferences
485
- * can be used to populate relevant fields in the checkout flow.
486
- *
487
- */
488
- deliveryAddressPreferences?: InputMaybe<Array<DeliveryAddressInput>>;
489
- /** The email address of the buyer that is interacting with the cart. */
490
- email?: InputMaybe<Scalars['String']['input']>;
491
- /** The phone number of the buyer that is interacting with the cart. */
492
- phone?: InputMaybe<Scalars['String']['input']>;
493
- /**
494
- * A set of wallet preferences tied to the buyer that is interacting with the cart.
495
- * Preferences can be used to populate relevant payment fields in the checkout flow.
496
- * Accepted value: `["shop_pay"]`.
497
- *
498
- */
499
- walletPreferences?: InputMaybe<Array<Scalars['String']['input']>>;
500
- };
501
- /**
502
- * The costs that the buyer will pay at checkout.
503
- * The cart cost uses [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity) to determine
504
- * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).
505
- *
506
- */
507
- type CartCost = {
508
- __typename?: 'CartCost';
509
- /** The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to `subtotalAmount`. */
510
- checkoutChargeAmount: MoneyV2;
511
- /** The amount, before taxes and cart-level discounts, for the customer to pay. */
512
- subtotalAmount: MoneyV2;
513
- /** Whether the subtotal amount is estimated. */
514
- subtotalAmountEstimated: Scalars['Boolean']['output'];
515
- /** The total amount for the customer to pay. */
516
- totalAmount: MoneyV2;
517
- /** Whether the total amount is estimated. */
518
- totalAmountEstimated: Scalars['Boolean']['output'];
519
- /** The duty amount for the customer to pay at checkout. */
520
- totalDutyAmount?: Maybe<MoneyV2>;
521
- /** Whether the total duty amount is estimated. */
522
- totalDutyAmountEstimated: Scalars['Boolean']['output'];
523
- /** The tax amount for the customer to pay at checkout. */
524
- totalTaxAmount?: Maybe<MoneyV2>;
525
- /** Whether the total tax amount is estimated. */
526
- totalTaxAmountEstimated: Scalars['Boolean']['output'];
527
- };
528
- /** Information about the options available for one or more line items to be delivered to a specific address. */
529
- type CartDeliveryGroup = {
530
- __typename?: 'CartDeliveryGroup';
531
- /** A list of cart lines for the delivery group. */
532
- cartLines: BaseCartLineConnection;
533
- /** The destination address for the delivery group. */
534
- deliveryAddress: MailingAddress;
535
- /** The delivery options available for the delivery group. */
536
- deliveryOptions: Array<CartDeliveryOption>;
537
- /** The ID for the delivery group. */
538
- id: Scalars['ID']['output'];
539
- /** The selected delivery option for the delivery group. */
540
- selectedDeliveryOption?: Maybe<CartDeliveryOption>;
541
- };
542
- /**
543
- * An auto-generated type for paginating through multiple CartDeliveryGroups.
544
- *
545
- */
546
- type CartDeliveryGroupConnection = {
547
- __typename?: 'CartDeliveryGroupConnection';
548
- /** A list of edges. */
549
- edges: Array<CartDeliveryGroupEdge>;
550
- /** A list of the nodes contained in CartDeliveryGroupEdge. */
551
- nodes: Array<CartDeliveryGroup>;
552
- /** Information to aid in pagination. */
553
- pageInfo: PageInfo;
554
- };
555
- /**
556
- * An auto-generated type which holds one CartDeliveryGroup and a cursor during pagination.
557
- *
558
- */
559
- type CartDeliveryGroupEdge = {
560
- __typename?: 'CartDeliveryGroupEdge';
561
- /** A cursor for use in pagination. */
562
- cursor: Scalars['String']['output'];
563
- /** The item at the end of CartDeliveryGroupEdge. */
564
- node: CartDeliveryGroup;
565
- };
566
- /** Information about a delivery option. */
567
- type CartDeliveryOption = {
568
- __typename?: 'CartDeliveryOption';
569
- /** The code of the delivery option. */
570
- code?: Maybe<Scalars['String']['output']>;
571
- /** The method for the delivery option. */
572
- deliveryMethodType: DeliveryMethodType;
573
- /** The description of the delivery option. */
574
- description?: Maybe<Scalars['String']['output']>;
575
- /** The estimated cost for the delivery option. */
576
- estimatedCost: MoneyV2;
577
- /** The unique identifier of the delivery option. */
578
- handle: Scalars['String']['output'];
579
- /** The title of the delivery option. */
580
- title?: Maybe<Scalars['String']['output']>;
581
- };
582
- /** The discounts that have been applied to the cart line. */
583
- type CartDiscountAllocation = {
584
- /** The discounted amount that has been applied to the cart line. */
585
- discountedAmount: MoneyV2;
586
- title?: string;
587
- code?: string;
588
- };
589
- /** The discount codes applied to the cart. */
590
- type CartDiscountCode = {
591
- __typename?: 'CartDiscountCode';
592
- /** Whether the discount code is applicable to the cart's current contents. */
593
- applicable: Scalars['Boolean']['output'];
594
- /** The code for the discount. */
595
- code: Scalars['String']['output'];
596
- };
597
- /**
598
- * The estimated costs that the buyer will pay at checkout.
599
- * The estimated cost uses
600
- * [`CartBuyerIdentity`](https://shopify.dev/api/storefront/reference/cart/cartbuyeridentity)
601
- * to determine
602
- * [international pricing](https://shopify.dev/custom-storefronts/internationalization/international-pricing).
603
- *
604
- */
605
- type CartEstimatedCost = {
606
- __typename?: 'CartEstimatedCost';
607
- /** The estimated amount, before taxes and discounts, for the customer to pay at checkout. The checkout charge amount doesn't include any deferred payments that'll be paid at a later date. If the cart has no deferred payments, then the checkout charge amount is equivalent to`subtotal_amount`. */
608
- checkoutChargeAmount: MoneyV2;
609
- /** The estimated amount, before taxes and discounts, for the customer to pay. */
610
- subtotalAmount: MoneyV2;
611
- /** The estimated total amount for the customer to pay. */
612
- totalAmount: MoneyV2;
613
- /** The estimated duty amount for the customer to pay at checkout. */
614
- totalDutyAmount?: Maybe<MoneyV2>;
615
- /** The estimated tax amount for the customer to pay at checkout. */
616
- totalTaxAmount?: Maybe<MoneyV2>;
617
- };
618
- /** The input fields to create a cart. */
619
- type CartInput = {
620
- /** An array of key-value pairs that contains additional information about the cart. */
621
- attributes?: InputMaybe<Array<AttributeInput>>;
622
- /**
623
- * The customer associated with the cart. Used to determine [international pricing]
624
- * (https://shopify.dev/custom-storefronts/internationalization/international-pricing).
625
- * Buyer identity should match the customer's shipping address.
626
- *
627
- */
628
- buyerIdentity?: InputMaybe<CartBuyerIdentityInput>;
629
- /**
630
- * The case-insensitive discount codes that the customer added at checkout.
631
- *
632
- */
633
- discountCodes?: InputMaybe<Array<Scalars['String']['input']>>;
634
- /** A list of merchandise lines to add to the cart. */
635
- lines?: InputMaybe<Array<CartLineInput>>;
636
- /** The metafields to associate with this cart. */
637
- metafields?: InputMaybe<Array<CartInputMetafieldInput>>;
638
- /** A note that's associated with the cart. For example, the note can be a personalized message to the buyer. */
639
- note?: InputMaybe<Scalars['String']['input']>;
640
- };
641
- /** The input fields for a cart metafield value to set. */
642
- type CartInputMetafieldInput = {
643
- /** The key name of the metafield. */
644
- key: Scalars['String']['input'];
645
- /**
646
- * The type of data that the cart metafield stores.
647
- * The type of data must be a [supported type](https://shopify.dev/apps/metafields/types).
648
- *
649
- */
650
- type: Scalars['String']['input'];
651
- /**
652
- * The data to store in the cart metafield. The data is always stored as a string, regardless of the metafield's type.
653
- *
654
- */
655
- value: Scalars['String']['input'];
656
- };
657
- /** The cost of the merchandise line that the buyer will pay at checkout. */
658
- type CartLineCost = {
659
- __typename?: 'CartLineCost';
660
- /** The amount of the merchandise line. */
661
- amountPerQuantity: MoneyV2;
662
- /** The compare at amount of the merchandise line. */
663
- compareAtAmountPerQuantity?: Maybe<MoneyV2>;
664
- /** The cost of the merchandise line before line-level discounts. */
665
- subtotalAmount: MoneyV2;
666
- /** The total cost of the merchandise line. */
667
- totalAmount: MoneyV2;
668
- };
669
- /** The estimated cost of the merchandise line that the buyer will pay at checkout. */
670
- type CartLineEstimatedCost = {
671
- __typename?: 'CartLineEstimatedCost';
672
- /** The amount of the merchandise line. */
673
- amount: MoneyV2;
674
- /** The compare at amount of the merchandise line. */
675
- compareAtAmount?: Maybe<MoneyV2>;
676
- /** The estimated cost of the merchandise line before discounts. */
677
- subtotalAmount: MoneyV2;
678
- /** The estimated total cost of the merchandise line. */
679
- totalAmount: MoneyV2;
680
- };
681
- /** The input fields to create a merchandise line on a cart. */
682
- type CartLineInput = {
683
- /** An array of key-value pairs that contains additional information about the merchandise line. */
684
- attributes?: InputMaybe<Array<AttributeInput>>;
685
- /** The ID of the merchandise that the buyer intends to purchase. */
686
- merchandiseId: Scalars['ID']['input'];
687
- /** The quantity of the merchandise. */
688
- quantity?: InputMaybe<Scalars['Int']['input']>;
689
- /** The ID of the selling plan that the merchandise is being purchased with. */
690
- sellingPlanId?: InputMaybe<Scalars['ID']['input']>;
691
- };
692
- /** A container for all the information required to checkout items and pay. */
693
- type Checkout = Node & {
694
- __typename?: 'Checkout';
695
- /** The gift cards used on the checkout. */
696
- appliedGiftCards: Array<AppliedGiftCard>;
697
- /**
698
- * The available shipping rates for this Checkout.
699
- * Should only be used when checkout `requiresShipping` is `true` and
700
- * the shipping address is valid.
701
- *
702
- */
703
- availableShippingRates?: Maybe<AvailableShippingRates>;
704
- /** The identity of the customer associated with the checkout. */
705
- buyerIdentity: CheckoutBuyerIdentity;
706
- /** The date and time when the checkout was completed. */
707
- completedAt?: Maybe<Scalars['DateTime']['output']>;
708
- /** The date and time when the checkout was created. */
709
- createdAt: Scalars['DateTime']['output'];
710
- /** The currency code for the checkout. */
711
- currencyCode: CurrencyCode;
712
- /** A list of extra information that's added to the checkout. */
713
- customAttributes: Array<Attribute>;
714
- /** Discounts that have been applied on the checkout. */
715
- discountApplications: DiscountApplicationConnection;
716
- /** The email attached to this checkout. */
717
- email?: Maybe<Scalars['String']['output']>;
718
- /** A globally-unique ID. */
719
- id: Scalars['ID']['output'];
720
- /** A list of line item objects, each one containing information about an item in the checkout. */
721
- lineItems: CheckoutLineItemConnection;
722
- /** The sum of all the prices of all the items in the checkout. Duties, taxes, shipping and discounts excluded. */
723
- lineItemsSubtotalPrice: MoneyV2;
724
- /** The note associated with the checkout. */
725
- note?: Maybe<Scalars['String']['output']>;
726
- /** The resulting order from a paid checkout. */
727
- order?: Maybe<Order>;
728
- /** The Order Status Page for this Checkout, null when checkout isn't completed. */
729
- orderStatusUrl?: Maybe<Scalars['URL']['output']>;
730
- /** The amount left to be paid. This is equal to the cost of the line items, taxes, and shipping, minus discounts and gift cards. */
731
- paymentDue: MoneyV2;
732
- /**
733
- * The amount left to be paid. This is equal to the cost of the line items, duties, taxes, and shipping, minus discounts and gift cards.
734
- * @deprecated Use `paymentDue` instead.
735
- */
736
- paymentDueV2: MoneyV2;
737
- /**
738
- * Whether or not the Checkout is ready and can be completed. Checkouts may
739
- * have asynchronous operations that can take time to finish. If you want
740
- * to complete a checkout or ensure all the fields are populated and up to
741
- * date, polling is required until the value is true.
742
- *
743
- */
744
- ready: Scalars['Boolean']['output'];
745
- /** States whether or not the fulfillment requires shipping. */
746
- requiresShipping: Scalars['Boolean']['output'];
747
- /** The shipping address to where the line items will be shipped. */
748
- shippingAddress?: Maybe<MailingAddress>;
749
- /**
750
- * The discounts that have been allocated onto the shipping line by discount applications.
751
- *
752
- */
753
- shippingDiscountAllocations: Array<DiscountAllocation>;
754
- /** Once a shipping rate is selected by the customer it's transitioned to a `shipping_line` object. */
755
- shippingLine?: Maybe<ShippingRate>;
756
- /** The price at checkout before shipping and taxes. */
757
- subtotalPrice: MoneyV2;
758
- /**
759
- * The price at checkout before duties, shipping, and taxes.
760
- * @deprecated Use `subtotalPrice` instead.
761
- */
762
- subtotalPriceV2: MoneyV2;
763
- /** Whether the checkout is tax exempt. */
764
- taxExempt: Scalars['Boolean']['output'];
765
- /** Whether taxes are included in the line item and shipping line prices. */
766
- taxesIncluded: Scalars['Boolean']['output'];
767
- /** The sum of all the duties applied to the line items in the checkout. */
768
- totalDuties?: Maybe<MoneyV2>;
769
- /** The sum of all the prices of all the items in the checkout, including taxes and duties. */
770
- totalPrice: MoneyV2;
771
- /**
772
- * The sum of all the prices of all the items in the checkout, including taxes and duties.
773
- * @deprecated Use `totalPrice` instead.
774
- */
775
- totalPriceV2: MoneyV2;
776
- /** The sum of all the taxes applied to the line items and shipping lines in the checkout. */
777
- totalTax: MoneyV2;
778
- /**
779
- * The sum of all the taxes applied to the line items and shipping lines in the checkout.
780
- * @deprecated Use `totalTax` instead.
781
- */
782
- totalTaxV2: MoneyV2;
783
- /** The date and time when the checkout was last updated. */
784
- updatedAt: Scalars['DateTime']['output'];
785
- /** The url pointing to the checkout accessible from the web. */
786
- webUrl: Scalars['URL']['output'];
787
- };
788
- /** The identity of the customer associated with the checkout. */
789
- type CheckoutBuyerIdentity = {
790
- __typename?: 'CheckoutBuyerIdentity';
791
- /** The country code for the checkout. For example, `CA`. */
792
- countryCode?: Maybe<CountryCode>;
793
- };
794
- /** A single line item in the checkout, grouped by variant and attributes. */
795
- type CheckoutLineItem = Node & {
796
- __typename?: 'CheckoutLineItem';
797
- /** Extra information in the form of an array of Key-Value pairs about the line item. */
798
- customAttributes: Array<Attribute>;
799
- /** The discounts that have been allocated onto the checkout line item by discount applications. */
800
- discountAllocations: Array<DiscountAllocation>;
801
- /** A globally-unique ID. */
802
- id: Scalars['ID']['output'];
803
- /** The quantity of the line item. */
804
- quantity: Scalars['Int']['output'];
805
- /** Title of the line item. Defaults to the product's title. */
806
- title: Scalars['String']['output'];
807
- /** Unit price of the line item. */
808
- unitPrice?: Maybe<MoneyV2>;
809
- /** Product variant of the line item. */
810
- variant?: Maybe<ProductVariant>;
811
- };
812
- /**
813
- * An auto-generated type for paginating through multiple CheckoutLineItems.
814
- *
815
- */
816
- type CheckoutLineItemConnection = {
817
- __typename?: 'CheckoutLineItemConnection';
818
- /** A list of edges. */
819
- edges: Array<CheckoutLineItemEdge>;
820
- /** A list of the nodes contained in CheckoutLineItemEdge. */
821
- nodes: Array<CheckoutLineItem>;
822
- /** Information to aid in pagination. */
823
- pageInfo: PageInfo;
824
- };
825
- /**
826
- * An auto-generated type which holds one CheckoutLineItem and a cursor during pagination.
827
- *
828
- */
829
- type CheckoutLineItemEdge = {
830
- __typename?: 'CheckoutLineItemEdge';
831
- /** A cursor for use in pagination. */
832
- cursor: Scalars['String']['output'];
833
- /** The item at the end of CheckoutLineItemEdge. */
834
- node: CheckoutLineItem;
835
- };
836
- /** A collection represents a grouping of products that a shop owner can create to organize them or make their shops easier to browse. */
837
- type Collection = HasMetafields & Node & OnlineStorePublishable & Trackable & {
838
- __typename?: 'Collection';
839
- /** Stripped description of the collection, single line with HTML tags removed. */
840
- description: Scalars['String']['output'];
841
- /** The description of the collection, complete with HTML formatting. */
842
- descriptionHtml: Scalars['HTML']['output'];
843
- /**
844
- * A human-friendly unique string for the collection automatically generated from its title.
845
- * Limit of 255 characters.
846
- *
847
- */
848
- handle: Scalars['String']['output'];
849
- /** A globally-unique ID. */
850
- id: Scalars['ID']['output'];
851
- /** Image associated with the collection. */
852
- image?: Maybe<Image>;
853
- /** Returns a metafield found by namespace and key. */
854
- metafield?: Maybe<Metafield>;
855
- /**
856
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
857
- *
858
- */
859
- metafields: Array<Maybe<Metafield>>;
860
- /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
861
- onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
862
- /** List of products in the collection. */
863
- products: ProductConnection;
864
- /** The collection's SEO information. */
865
- seo: Seo;
866
- /** The collection’s name. Limit of 255 characters. */
867
- title: Scalars['String']['output'];
868
- /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
869
- trackingParameters?: Maybe<Scalars['String']['output']>;
870
- /** The date and time when the collection was last modified. */
871
- updatedAt: Scalars['DateTime']['output'];
872
- };
873
- /**
874
- * An auto-generated type for paginating through multiple Collections.
875
- *
876
- */
877
- type CollectionConnection = {
878
- __typename?: 'CollectionConnection';
879
- /** A list of edges. */
880
- edges: Array<CollectionEdge>;
881
- /** A list of the nodes contained in CollectionEdge. */
882
- nodes: Array<Collection>;
883
- /** Information to aid in pagination. */
884
- pageInfo: PageInfo;
885
- /** The total count of Collections. */
886
- totalCount: Scalars['UnsignedInt64']['output'];
887
- };
888
- /**
889
- * An auto-generated type which holds one Collection and a cursor during pagination.
890
- *
891
- */
892
- type CollectionEdge = {
893
- __typename?: 'CollectionEdge';
894
- /** A cursor for use in pagination. */
895
- cursor: Scalars['String']['output'];
896
- /** The item at the end of CollectionEdge. */
897
- node: Collection;
898
- };
899
- /** A comment on an article. */
900
- type Comment = Node & {
901
- __typename?: 'Comment';
902
- /** The comment’s author. */
903
- author: CommentAuthor;
904
- /** Stripped content of the comment, single line with HTML tags removed. */
905
- content: Scalars['String']['output'];
906
- /** The content of the comment, complete with HTML formatting. */
907
- contentHtml: Scalars['HTML']['output'];
908
- /** A globally-unique ID. */
909
- id: Scalars['ID']['output'];
910
- };
911
- /** The author of a comment. */
912
- type CommentAuthor = {
913
- __typename?: 'CommentAuthor';
914
- /** The author's email. */
915
- email: Scalars['String']['output'];
916
- /** The author’s name. */
917
- name: Scalars['String']['output'];
918
- };
919
- /**
920
- * An auto-generated type for paginating through multiple Comments.
921
- *
922
- */
923
- type CommentConnection = {
924
- __typename?: 'CommentConnection';
925
- /** A list of edges. */
926
- edges: Array<CommentEdge>;
927
- /** A list of the nodes contained in CommentEdge. */
928
- nodes: Array<Comment>;
929
- /** Information to aid in pagination. */
930
- pageInfo: PageInfo;
931
- };
932
- /**
933
- * An auto-generated type which holds one Comment and a cursor during pagination.
934
- *
935
- */
936
- type CommentEdge = {
937
- __typename?: 'CommentEdge';
938
- /** A cursor for use in pagination. */
939
- cursor: Scalars['String']['output'];
940
- /** The item at the end of CommentEdge. */
941
- node: Comment;
942
- };
943
- /**
944
- * The code designating a country/region, which generally follows ISO 3166-1 alpha-2 guidelines.
945
- * If a territory doesn't have a country code value in the `CountryCode` enum, then it might be considered a subdivision
946
- * of another country. For example, the territories associated with Spain are represented by the country code `ES`,
947
- * and the territories associated with the United States of America are represented by the country code `US`.
948
- *
949
- */
950
- declare enum CountryCode {
951
- /** Ascension Island. */
952
- Ac = "AC",
953
- /** Andorra. */
954
- Ad = "AD",
955
- /** United Arab Emirates. */
956
- Ae = "AE",
957
- /** Afghanistan. */
958
- Af = "AF",
959
- /** Antigua & Barbuda. */
960
- Ag = "AG",
961
- /** Anguilla. */
962
- Ai = "AI",
963
- /** Albania. */
964
- Al = "AL",
965
- /** Armenia. */
966
- Am = "AM",
967
- /** Netherlands Antilles. */
968
- An = "AN",
969
- /** Angola. */
970
- Ao = "AO",
971
- /** Argentina. */
972
- Ar = "AR",
973
- /** Austria. */
974
- At = "AT",
975
- /** Australia. */
976
- Au = "AU",
977
- /** Aruba. */
978
- Aw = "AW",
979
- /** Åland Islands. */
980
- Ax = "AX",
981
- /** Azerbaijan. */
982
- Az = "AZ",
983
- /** Bosnia & Herzegovina. */
984
- Ba = "BA",
985
- /** Barbados. */
986
- Bb = "BB",
987
- /** Bangladesh. */
988
- Bd = "BD",
989
- /** Belgium. */
990
- Be = "BE",
991
- /** Burkina Faso. */
992
- Bf = "BF",
993
- /** Bulgaria. */
994
- Bg = "BG",
995
- /** Bahrain. */
996
- Bh = "BH",
997
- /** Burundi. */
998
- Bi = "BI",
999
- /** Benin. */
1000
- Bj = "BJ",
1001
- /** St. Barthélemy. */
1002
- Bl = "BL",
1003
- /** Bermuda. */
1004
- Bm = "BM",
1005
- /** Brunei. */
1006
- Bn = "BN",
1007
- /** Bolivia. */
1008
- Bo = "BO",
1009
- /** Caribbean Netherlands. */
1010
- Bq = "BQ",
1011
- /** Brazil. */
1012
- Br = "BR",
1013
- /** Bahamas. */
1014
- Bs = "BS",
1015
- /** Bhutan. */
1016
- Bt = "BT",
1017
- /** Bouvet Island. */
1018
- Bv = "BV",
1019
- /** Botswana. */
1020
- Bw = "BW",
1021
- /** Belarus. */
1022
- By = "BY",
1023
- /** Belize. */
1024
- Bz = "BZ",
1025
- /** Canada. */
1026
- Ca = "CA",
1027
- /** Cocos (Keeling) Islands. */
1028
- Cc = "CC",
1029
- /** Congo - Kinshasa. */
1030
- Cd = "CD",
1031
- /** Central African Republic. */
1032
- Cf = "CF",
1033
- /** Congo - Brazzaville. */
1034
- Cg = "CG",
1035
- /** Switzerland. */
1036
- Ch = "CH",
1037
- /** Côte d’Ivoire. */
1038
- Ci = "CI",
1039
- /** Cook Islands. */
1040
- Ck = "CK",
1041
- /** Chile. */
1042
- Cl = "CL",
1043
- /** Cameroon. */
1044
- Cm = "CM",
1045
- /** China. */
1046
- Cn = "CN",
1047
- /** Colombia. */
1048
- Co = "CO",
1049
- /** Costa Rica. */
1050
- Cr = "CR",
1051
- /** Cuba. */
1052
- Cu = "CU",
1053
- /** Cape Verde. */
1054
- Cv = "CV",
1055
- /** Curaçao. */
1056
- Cw = "CW",
1057
- /** Christmas Island. */
1058
- Cx = "CX",
1059
- /** Cyprus. */
1060
- Cy = "CY",
1061
- /** Czechia. */
1062
- Cz = "CZ",
1063
- /** Germany. */
1064
- De = "DE",
1065
- /** Djibouti. */
1066
- Dj = "DJ",
1067
- /** Denmark. */
1068
- Dk = "DK",
1069
- /** Dominica. */
1070
- Dm = "DM",
1071
- /** Dominican Republic. */
1072
- Do = "DO",
1073
- /** Algeria. */
1074
- Dz = "DZ",
1075
- /** Ecuador. */
1076
- Ec = "EC",
1077
- /** Estonia. */
1078
- Ee = "EE",
1079
- /** Egypt. */
1080
- Eg = "EG",
1081
- /** Western Sahara. */
1082
- Eh = "EH",
1083
- /** Eritrea. */
1084
- Er = "ER",
1085
- /** Spain. */
1086
- Es = "ES",
1087
- /** Ethiopia. */
1088
- Et = "ET",
1089
- /** Finland. */
1090
- Fi = "FI",
1091
- /** Fiji. */
1092
- Fj = "FJ",
1093
- /** Falkland Islands. */
1094
- Fk = "FK",
1095
- /** Faroe Islands. */
1096
- Fo = "FO",
1097
- /** France. */
1098
- Fr = "FR",
1099
- /** Gabon. */
1100
- Ga = "GA",
1101
- /** United Kingdom. */
1102
- Gb = "GB",
1103
- /** Grenada. */
1104
- Gd = "GD",
1105
- /** Georgia. */
1106
- Ge = "GE",
1107
- /** French Guiana. */
1108
- Gf = "GF",
1109
- /** Guernsey. */
1110
- Gg = "GG",
1111
- /** Ghana. */
1112
- Gh = "GH",
1113
- /** Gibraltar. */
1114
- Gi = "GI",
1115
- /** Greenland. */
1116
- Gl = "GL",
1117
- /** Gambia. */
1118
- Gm = "GM",
1119
- /** Guinea. */
1120
- Gn = "GN",
1121
- /** Guadeloupe. */
1122
- Gp = "GP",
1123
- /** Equatorial Guinea. */
1124
- Gq = "GQ",
1125
- /** Greece. */
1126
- Gr = "GR",
1127
- /** South Georgia & South Sandwich Islands. */
1128
- Gs = "GS",
1129
- /** Guatemala. */
1130
- Gt = "GT",
1131
- /** Guinea-Bissau. */
1132
- Gw = "GW",
1133
- /** Guyana. */
1134
- Gy = "GY",
1135
- /** Hong Kong SAR. */
1136
- Hk = "HK",
1137
- /** Heard & McDonald Islands. */
1138
- Hm = "HM",
1139
- /** Honduras. */
1140
- Hn = "HN",
1141
- /** Croatia. */
1142
- Hr = "HR",
1143
- /** Haiti. */
1144
- Ht = "HT",
1145
- /** Hungary. */
1146
- Hu = "HU",
1147
- /** Indonesia. */
1148
- Id = "ID",
1149
- /** Ireland. */
1150
- Ie = "IE",
1151
- /** Israel. */
1152
- Il = "IL",
1153
- /** Isle of Man. */
1154
- Im = "IM",
1155
- /** India. */
1156
- In = "IN",
1157
- /** British Indian Ocean Territory. */
1158
- Io = "IO",
1159
- /** Iraq. */
1160
- Iq = "IQ",
1161
- /** Iran. */
1162
- Ir = "IR",
1163
- /** Iceland. */
1164
- Is = "IS",
1165
- /** Italy. */
1166
- It = "IT",
1167
- /** Jersey. */
1168
- Je = "JE",
1169
- /** Jamaica. */
1170
- Jm = "JM",
1171
- /** Jordan. */
1172
- Jo = "JO",
1173
- /** Japan. */
1174
- Jp = "JP",
1175
- /** Kenya. */
1176
- Ke = "KE",
1177
- /** Kyrgyzstan. */
1178
- Kg = "KG",
1179
- /** Cambodia. */
1180
- Kh = "KH",
1181
- /** Kiribati. */
1182
- Ki = "KI",
1183
- /** Comoros. */
1184
- Km = "KM",
1185
- /** St. Kitts & Nevis. */
1186
- Kn = "KN",
1187
- /** North Korea. */
1188
- Kp = "KP",
1189
- /** South Korea. */
1190
- Kr = "KR",
1191
- /** Kuwait. */
1192
- Kw = "KW",
1193
- /** Cayman Islands. */
1194
- Ky = "KY",
1195
- /** Kazakhstan. */
1196
- Kz = "KZ",
1197
- /** Laos. */
1198
- La = "LA",
1199
- /** Lebanon. */
1200
- Lb = "LB",
1201
- /** St. Lucia. */
1202
- Lc = "LC",
1203
- /** Liechtenstein. */
1204
- Li = "LI",
1205
- /** Sri Lanka. */
1206
- Lk = "LK",
1207
- /** Liberia. */
1208
- Lr = "LR",
1209
- /** Lesotho. */
1210
- Ls = "LS",
1211
- /** Lithuania. */
1212
- Lt = "LT",
1213
- /** Luxembourg. */
1214
- Lu = "LU",
1215
- /** Latvia. */
1216
- Lv = "LV",
1217
- /** Libya. */
1218
- Ly = "LY",
1219
- /** Morocco. */
1220
- Ma = "MA",
1221
- /** Monaco. */
1222
- Mc = "MC",
1223
- /** Moldova. */
1224
- Md = "MD",
1225
- /** Montenegro. */
1226
- Me = "ME",
1227
- /** St. Martin. */
1228
- Mf = "MF",
1229
- /** Madagascar. */
1230
- Mg = "MG",
1231
- /** North Macedonia. */
1232
- Mk = "MK",
1233
- /** Mali. */
1234
- Ml = "ML",
1235
- /** Myanmar (Burma). */
1236
- Mm = "MM",
1237
- /** Mongolia. */
1238
- Mn = "MN",
1239
- /** Macao SAR. */
1240
- Mo = "MO",
1241
- /** Martinique. */
1242
- Mq = "MQ",
1243
- /** Mauritania. */
1244
- Mr = "MR",
1245
- /** Montserrat. */
1246
- Ms = "MS",
1247
- /** Malta. */
1248
- Mt = "MT",
1249
- /** Mauritius. */
1250
- Mu = "MU",
1251
- /** Maldives. */
1252
- Mv = "MV",
1253
- /** Malawi. */
1254
- Mw = "MW",
1255
- /** Mexico. */
1256
- Mx = "MX",
1257
- /** Malaysia. */
1258
- My = "MY",
1259
- /** Mozambique. */
1260
- Mz = "MZ",
1261
- /** Namibia. */
1262
- Na = "NA",
1263
- /** New Caledonia. */
1264
- Nc = "NC",
1265
- /** Niger. */
1266
- Ne = "NE",
1267
- /** Norfolk Island. */
1268
- Nf = "NF",
1269
- /** Nigeria. */
1270
- Ng = "NG",
1271
- /** Nicaragua. */
1272
- Ni = "NI",
1273
- /** Netherlands. */
1274
- Nl = "NL",
1275
- /** Norway. */
1276
- No = "NO",
1277
- /** Nepal. */
1278
- Np = "NP",
1279
- /** Nauru. */
1280
- Nr = "NR",
1281
- /** Niue. */
1282
- Nu = "NU",
1283
- /** New Zealand. */
1284
- Nz = "NZ",
1285
- /** Oman. */
1286
- Om = "OM",
1287
- /** Panama. */
1288
- Pa = "PA",
1289
- /** Peru. */
1290
- Pe = "PE",
1291
- /** French Polynesia. */
1292
- Pf = "PF",
1293
- /** Papua New Guinea. */
1294
- Pg = "PG",
1295
- /** Philippines. */
1296
- Ph = "PH",
1297
- /** Pakistan. */
1298
- Pk = "PK",
1299
- /** Poland. */
1300
- Pl = "PL",
1301
- /** St. Pierre & Miquelon. */
1302
- Pm = "PM",
1303
- /** Pitcairn Islands. */
1304
- Pn = "PN",
1305
- /** Palestinian Territories. */
1306
- Ps = "PS",
1307
- /** Portugal. */
1308
- Pt = "PT",
1309
- /** Paraguay. */
1310
- Py = "PY",
1311
- /** Qatar. */
1312
- Qa = "QA",
1313
- /** Réunion. */
1314
- Re = "RE",
1315
- /** Romania. */
1316
- Ro = "RO",
1317
- /** Serbia. */
1318
- Rs = "RS",
1319
- /** Russia. */
1320
- Ru = "RU",
1321
- /** Rwanda. */
1322
- Rw = "RW",
1323
- /** Saudi Arabia. */
1324
- Sa = "SA",
1325
- /** Solomon Islands. */
1326
- Sb = "SB",
1327
- /** Seychelles. */
1328
- Sc = "SC",
1329
- /** Sudan. */
1330
- Sd = "SD",
1331
- /** Sweden. */
1332
- Se = "SE",
1333
- /** Singapore. */
1334
- Sg = "SG",
1335
- /** St. Helena. */
1336
- Sh = "SH",
1337
- /** Slovenia. */
1338
- Si = "SI",
1339
- /** Svalbard & Jan Mayen. */
1340
- Sj = "SJ",
1341
- /** Slovakia. */
1342
- Sk = "SK",
1343
- /** Sierra Leone. */
1344
- Sl = "SL",
1345
- /** San Marino. */
1346
- Sm = "SM",
1347
- /** Senegal. */
1348
- Sn = "SN",
1349
- /** Somalia. */
1350
- So = "SO",
1351
- /** Suriname. */
1352
- Sr = "SR",
1353
- /** South Sudan. */
1354
- Ss = "SS",
1355
- /** São Tomé & Príncipe. */
1356
- St = "ST",
1357
- /** El Salvador. */
1358
- Sv = "SV",
1359
- /** Sint Maarten. */
1360
- Sx = "SX",
1361
- /** Syria. */
1362
- Sy = "SY",
1363
- /** Eswatini. */
1364
- Sz = "SZ",
1365
- /** Tristan da Cunha. */
1366
- Ta = "TA",
1367
- /** Turks & Caicos Islands. */
1368
- Tc = "TC",
1369
- /** Chad. */
1370
- Td = "TD",
1371
- /** French Southern Territories. */
1372
- Tf = "TF",
1373
- /** Togo. */
1374
- Tg = "TG",
1375
- /** Thailand. */
1376
- Th = "TH",
1377
- /** Tajikistan. */
1378
- Tj = "TJ",
1379
- /** Tokelau. */
1380
- Tk = "TK",
1381
- /** Timor-Leste. */
1382
- Tl = "TL",
1383
- /** Turkmenistan. */
1384
- Tm = "TM",
1385
- /** Tunisia. */
1386
- Tn = "TN",
1387
- /** Tonga. */
1388
- To = "TO",
1389
- /** Turkey. */
1390
- Tr = "TR",
1391
- /** Trinidad & Tobago. */
1392
- Tt = "TT",
1393
- /** Tuvalu. */
1394
- Tv = "TV",
1395
- /** Taiwan. */
1396
- Tw = "TW",
1397
- /** Tanzania. */
1398
- Tz = "TZ",
1399
- /** Ukraine. */
1400
- Ua = "UA",
1401
- /** Uganda. */
1402
- Ug = "UG",
1403
- /** U.S. Outlying Islands. */
1404
- Um = "UM",
1405
- /** United States. */
1406
- Us = "US",
1407
- /** Uruguay. */
1408
- Uy = "UY",
1409
- /** Uzbekistan. */
1410
- Uz = "UZ",
1411
- /** Vatican City. */
1412
- Va = "VA",
1413
- /** St. Vincent & Grenadines. */
1414
- Vc = "VC",
1415
- /** Venezuela. */
1416
- Ve = "VE",
1417
- /** British Virgin Islands. */
1418
- Vg = "VG",
1419
- /** Vietnam. */
1420
- Vn = "VN",
1421
- /** Vanuatu. */
1422
- Vu = "VU",
1423
- /** Wallis & Futuna. */
1424
- Wf = "WF",
1425
- /** Samoa. */
1426
- Ws = "WS",
1427
- /** Kosovo. */
1428
- Xk = "XK",
1429
- /** Yemen. */
1430
- Ye = "YE",
1431
- /** Mayotte. */
1432
- Yt = "YT",
1433
- /** South Africa. */
1434
- Za = "ZA",
1435
- /** Zambia. */
1436
- Zm = "ZM",
1437
- /** Zimbabwe. */
1438
- Zw = "ZW",
1439
- /** Unknown Region. */
1440
- Zz = "ZZ"
1441
- }
1442
- /**
1443
- * The three-letter currency codes that represent the world currencies used in stores. These include standard ISO 4217 codes, legacy codes,
1444
- * and non-standard codes.
1445
- *
1446
- */
1447
- declare enum CurrencyCode {
1448
- /** United Arab Emirates Dirham (AED). */
1449
- Aed = "AED",
1450
- /** Afghan Afghani (AFN). */
1451
- Afn = "AFN",
1452
- /** Albanian Lek (ALL). */
1453
- All = "ALL",
1454
- /** Armenian Dram (AMD). */
1455
- Amd = "AMD",
1456
- /** Netherlands Antillean Guilder. */
1457
- Ang = "ANG",
1458
- /** Angolan Kwanza (AOA). */
1459
- Aoa = "AOA",
1460
- /** Argentine Pesos (ARS). */
1461
- Ars = "ARS",
1462
- /** Australian Dollars (AUD). */
1463
- Aud = "AUD",
1464
- /** Aruban Florin (AWG). */
1465
- Awg = "AWG",
1466
- /** Azerbaijani Manat (AZN). */
1467
- Azn = "AZN",
1468
- /** Bosnia and Herzegovina Convertible Mark (BAM). */
1469
- Bam = "BAM",
1470
- /** Barbadian Dollar (BBD). */
1471
- Bbd = "BBD",
1472
- /** Bangladesh Taka (BDT). */
1473
- Bdt = "BDT",
1474
- /** Bulgarian Lev (BGN). */
1475
- Bgn = "BGN",
1476
- /** Bahraini Dinar (BHD). */
1477
- Bhd = "BHD",
1478
- /** Burundian Franc (BIF). */
1479
- Bif = "BIF",
1480
- /** Bermudian Dollar (BMD). */
1481
- Bmd = "BMD",
1482
- /** Brunei Dollar (BND). */
1483
- Bnd = "BND",
1484
- /** Bolivian Boliviano (BOB). */
1485
- Bob = "BOB",
1486
- /** Brazilian Real (BRL). */
1487
- Brl = "BRL",
1488
- /** Bahamian Dollar (BSD). */
1489
- Bsd = "BSD",
1490
- /** Bhutanese Ngultrum (BTN). */
1491
- Btn = "BTN",
1492
- /** Botswana Pula (BWP). */
1493
- Bwp = "BWP",
1494
- /** Belarusian Ruble (BYN). */
1495
- Byn = "BYN",
1496
- /**
1497
- * Belarusian Ruble (BYR).
1498
- * @deprecated `BYR` is deprecated. Use `BYN` available from version `2021-01` onwards instead.
1499
- */
1500
- Byr = "BYR",
1501
- /** Belize Dollar (BZD). */
1502
- Bzd = "BZD",
1503
- /** Canadian Dollars (CAD). */
1504
- Cad = "CAD",
1505
- /** Congolese franc (CDF). */
1506
- Cdf = "CDF",
1507
- /** Swiss Francs (CHF). */
1508
- Chf = "CHF",
1509
- /** Chilean Peso (CLP). */
1510
- Clp = "CLP",
1511
- /** Chinese Yuan Renminbi (CNY). */
1512
- Cny = "CNY",
1513
- /** Colombian Peso (COP). */
1514
- Cop = "COP",
1515
- /** Costa Rican Colones (CRC). */
1516
- Crc = "CRC",
1517
- /** Cape Verdean escudo (CVE). */
1518
- Cve = "CVE",
1519
- /** Czech Koruny (CZK). */
1520
- Czk = "CZK",
1521
- /** Djiboutian Franc (DJF). */
1522
- Djf = "DJF",
1523
- /** Danish Kroner (DKK). */
1524
- Dkk = "DKK",
1525
- /** Dominican Peso (DOP). */
1526
- Dop = "DOP",
1527
- /** Algerian Dinar (DZD). */
1528
- Dzd = "DZD",
1529
- /** Egyptian Pound (EGP). */
1530
- Egp = "EGP",
1531
- /** Eritrean Nakfa (ERN). */
1532
- Ern = "ERN",
1533
- /** Ethiopian Birr (ETB). */
1534
- Etb = "ETB",
1535
- /** Euro (EUR). */
1536
- Eur = "EUR",
1537
- /** Fijian Dollars (FJD). */
1538
- Fjd = "FJD",
1539
- /** Falkland Islands Pounds (FKP). */
1540
- Fkp = "FKP",
1541
- /** United Kingdom Pounds (GBP). */
1542
- Gbp = "GBP",
1543
- /** Georgian Lari (GEL). */
1544
- Gel = "GEL",
1545
- /** Ghanaian Cedi (GHS). */
1546
- Ghs = "GHS",
1547
- /** Gibraltar Pounds (GIP). */
1548
- Gip = "GIP",
1549
- /** Gambian Dalasi (GMD). */
1550
- Gmd = "GMD",
1551
- /** Guinean Franc (GNF). */
1552
- Gnf = "GNF",
1553
- /** Guatemalan Quetzal (GTQ). */
1554
- Gtq = "GTQ",
1555
- /** Guyanese Dollar (GYD). */
1556
- Gyd = "GYD",
1557
- /** Hong Kong Dollars (HKD). */
1558
- Hkd = "HKD",
1559
- /** Honduran Lempira (HNL). */
1560
- Hnl = "HNL",
1561
- /** Croatian Kuna (HRK). */
1562
- Hrk = "HRK",
1563
- /** Haitian Gourde (HTG). */
1564
- Htg = "HTG",
1565
- /** Hungarian Forint (HUF). */
1566
- Huf = "HUF",
1567
- /** Indonesian Rupiah (IDR). */
1568
- Idr = "IDR",
1569
- /** Israeli New Shekel (NIS). */
1570
- Ils = "ILS",
1571
- /** Indian Rupees (INR). */
1572
- Inr = "INR",
1573
- /** Iraqi Dinar (IQD). */
1574
- Iqd = "IQD",
1575
- /** Iranian Rial (IRR). */
1576
- Irr = "IRR",
1577
- /** Icelandic Kronur (ISK). */
1578
- Isk = "ISK",
1579
- /** Jersey Pound. */
1580
- Jep = "JEP",
1581
- /** Jamaican Dollars (JMD). */
1582
- Jmd = "JMD",
1583
- /** Jordanian Dinar (JOD). */
1584
- Jod = "JOD",
1585
- /** Japanese Yen (JPY). */
1586
- Jpy = "JPY",
1587
- /** Kenyan Shilling (KES). */
1588
- Kes = "KES",
1589
- /** Kyrgyzstani Som (KGS). */
1590
- Kgs = "KGS",
1591
- /** Cambodian Riel. */
1592
- Khr = "KHR",
1593
- /** Kiribati Dollar (KID). */
1594
- Kid = "KID",
1595
- /** Comorian Franc (KMF). */
1596
- Kmf = "KMF",
1597
- /** South Korean Won (KRW). */
1598
- Krw = "KRW",
1599
- /** Kuwaiti Dinar (KWD). */
1600
- Kwd = "KWD",
1601
- /** Cayman Dollars (KYD). */
1602
- Kyd = "KYD",
1603
- /** Kazakhstani Tenge (KZT). */
1604
- Kzt = "KZT",
1605
- /** Laotian Kip (LAK). */
1606
- Lak = "LAK",
1607
- /** Lebanese Pounds (LBP). */
1608
- Lbp = "LBP",
1609
- /** Sri Lankan Rupees (LKR). */
1610
- Lkr = "LKR",
1611
- /** Liberian Dollar (LRD). */
1612
- Lrd = "LRD",
1613
- /** Lesotho Loti (LSL). */
1614
- Lsl = "LSL",
1615
- /** Lithuanian Litai (LTL). */
1616
- Ltl = "LTL",
1617
- /** Latvian Lati (LVL). */
1618
- Lvl = "LVL",
1619
- /** Libyan Dinar (LYD). */
1620
- Lyd = "LYD",
1621
- /** Moroccan Dirham. */
1622
- Mad = "MAD",
1623
- /** Moldovan Leu (MDL). */
1624
- Mdl = "MDL",
1625
- /** Malagasy Ariary (MGA). */
1626
- Mga = "MGA",
1627
- /** Macedonia Denar (MKD). */
1628
- Mkd = "MKD",
1629
- /** Burmese Kyat (MMK). */
1630
- Mmk = "MMK",
1631
- /** Mongolian Tugrik. */
1632
- Mnt = "MNT",
1633
- /** Macanese Pataca (MOP). */
1634
- Mop = "MOP",
1635
- /** Mauritanian Ouguiya (MRU). */
1636
- Mru = "MRU",
1637
- /** Mauritian Rupee (MUR). */
1638
- Mur = "MUR",
1639
- /** Maldivian Rufiyaa (MVR). */
1640
- Mvr = "MVR",
1641
- /** Malawian Kwacha (MWK). */
1642
- Mwk = "MWK",
1643
- /** Mexican Pesos (MXN). */
1644
- Mxn = "MXN",
1645
- /** Malaysian Ringgits (MYR). */
1646
- Myr = "MYR",
1647
- /** Mozambican Metical. */
1648
- Mzn = "MZN",
1649
- /** Namibian Dollar. */
1650
- Nad = "NAD",
1651
- /** Nigerian Naira (NGN). */
1652
- Ngn = "NGN",
1653
- /** Nicaraguan Córdoba (NIO). */
1654
- Nio = "NIO",
1655
- /** Norwegian Kroner (NOK). */
1656
- Nok = "NOK",
1657
- /** Nepalese Rupee (NPR). */
1658
- Npr = "NPR",
1659
- /** New Zealand Dollars (NZD). */
1660
- Nzd = "NZD",
1661
- /** Omani Rial (OMR). */
1662
- Omr = "OMR",
1663
- /** Panamian Balboa (PAB). */
1664
- Pab = "PAB",
1665
- /** Peruvian Nuevo Sol (PEN). */
1666
- Pen = "PEN",
1667
- /** Papua New Guinean Kina (PGK). */
1668
- Pgk = "PGK",
1669
- /** Philippine Peso (PHP). */
1670
- Php = "PHP",
1671
- /** Pakistani Rupee (PKR). */
1672
- Pkr = "PKR",
1673
- /** Polish Zlotych (PLN). */
1674
- Pln = "PLN",
1675
- /** Paraguayan Guarani (PYG). */
1676
- Pyg = "PYG",
1677
- /** Qatari Rial (QAR). */
1678
- Qar = "QAR",
1679
- /** Romanian Lei (RON). */
1680
- Ron = "RON",
1681
- /** Serbian dinar (RSD). */
1682
- Rsd = "RSD",
1683
- /** Russian Rubles (RUB). */
1684
- Rub = "RUB",
1685
- /** Rwandan Franc (RWF). */
1686
- Rwf = "RWF",
1687
- /** Saudi Riyal (SAR). */
1688
- Sar = "SAR",
1689
- /** Solomon Islands Dollar (SBD). */
1690
- Sbd = "SBD",
1691
- /** Seychellois Rupee (SCR). */
1692
- Scr = "SCR",
1693
- /** Sudanese Pound (SDG). */
1694
- Sdg = "SDG",
1695
- /** Swedish Kronor (SEK). */
1696
- Sek = "SEK",
1697
- /** Singapore Dollars (SGD). */
1698
- Sgd = "SGD",
1699
- /** Saint Helena Pounds (SHP). */
1700
- Shp = "SHP",
1701
- /** Sierra Leonean Leone (SLL). */
1702
- Sll = "SLL",
1703
- /** Somali Shilling (SOS). */
1704
- Sos = "SOS",
1705
- /** Surinamese Dollar (SRD). */
1706
- Srd = "SRD",
1707
- /** South Sudanese Pound (SSP). */
1708
- Ssp = "SSP",
1709
- /**
1710
- * Sao Tome And Principe Dobra (STD).
1711
- * @deprecated `STD` is deprecated. Use `STN` available from version `2022-07` onwards instead.
1712
- */
1713
- Std = "STD",
1714
- /** Sao Tome And Principe Dobra (STN). */
1715
- Stn = "STN",
1716
- /** Syrian Pound (SYP). */
1717
- Syp = "SYP",
1718
- /** Swazi Lilangeni (SZL). */
1719
- Szl = "SZL",
1720
- /** Thai baht (THB). */
1721
- Thb = "THB",
1722
- /** Tajikistani Somoni (TJS). */
1723
- Tjs = "TJS",
1724
- /** Turkmenistani Manat (TMT). */
1725
- Tmt = "TMT",
1726
- /** Tunisian Dinar (TND). */
1727
- Tnd = "TND",
1728
- /** Tongan Pa'anga (TOP). */
1729
- Top = "TOP",
1730
- /** Turkish Lira (TRY). */
1731
- Try = "TRY",
1732
- /** Trinidad and Tobago Dollars (TTD). */
1733
- Ttd = "TTD",
1734
- /** Taiwan Dollars (TWD). */
1735
- Twd = "TWD",
1736
- /** Tanzanian Shilling (TZS). */
1737
- Tzs = "TZS",
1738
- /** Ukrainian Hryvnia (UAH). */
1739
- Uah = "UAH",
1740
- /** Ugandan Shilling (UGX). */
1741
- Ugx = "UGX",
1742
- /** United States Dollars (USD). */
1743
- Usd = "USD",
1744
- /** Uruguayan Pesos (UYU). */
1745
- Uyu = "UYU",
1746
- /** Uzbekistan som (UZS). */
1747
- Uzs = "UZS",
1748
- /** Venezuelan Bolivares (VED). */
1749
- Ved = "VED",
1750
- /**
1751
- * Venezuelan Bolivares (VEF).
1752
- * @deprecated `VEF` is deprecated. Use `VES` available from version `2020-10` onwards instead.
1753
- */
1754
- Vef = "VEF",
1755
- /** Venezuelan Bolivares (VES). */
1756
- Ves = "VES",
1757
- /** Vietnamese đồng (VND). */
1758
- Vnd = "VND",
1759
- /** Vanuatu Vatu (VUV). */
1760
- Vuv = "VUV",
1761
- /** Samoan Tala (WST). */
1762
- Wst = "WST",
1763
- /** Central African CFA Franc (XAF). */
1764
- Xaf = "XAF",
1765
- /** East Caribbean Dollar (XCD). */
1766
- Xcd = "XCD",
1767
- /** West African CFA franc (XOF). */
1768
- Xof = "XOF",
1769
- /** CFP Franc (XPF). */
1770
- Xpf = "XPF",
1771
- /** Unrecognized currency. */
1772
- Xxx = "XXX",
1773
- /** Yemeni Rial (YER). */
1774
- Yer = "YER",
1775
- /** South African Rand (ZAR). */
1776
- Zar = "ZAR",
1777
- /** Zambian Kwacha (ZMW). */
1778
- Zmw = "ZMW"
1779
- }
1780
- /** A customer represents a customer account with the shop. Customer accounts store contact information for the customer, saving logged-in customers the trouble of having to provide it at every checkout. */
1781
- type Customer = HasMetafields & {
1782
- __typename?: 'Customer';
1783
- /** Indicates whether the customer has consented to be sent marketing material via email. */
1784
- acceptsMarketing: Scalars['Boolean']['output'];
1785
- /** A list of addresses for the customer. */
1786
- addresses: MailingAddressConnection;
1787
- /** The date and time when the customer was created. */
1788
- createdAt: Scalars['DateTime']['output'];
1789
- /** The customer’s default address. */
1790
- defaultAddress?: Maybe<MailingAddress>;
1791
- /** The customer’s name, email or phone number. */
1792
- displayName: Scalars['String']['output'];
1793
- /** The customer’s email address. */
1794
- email?: Maybe<Scalars['String']['output']>;
1795
- /** The customer’s first name. */
1796
- firstName?: Maybe<Scalars['String']['output']>;
1797
- /** A unique ID for the customer. */
1798
- id: Scalars['ID']['output'];
1799
- /** The customer's most recently updated, incomplete checkout. */
1800
- lastIncompleteCheckout?: Maybe<Checkout>;
1801
- /** The customer’s last name. */
1802
- lastName?: Maybe<Scalars['String']['output']>;
1803
- /** Returns a metafield found by namespace and key. */
1804
- metafield?: Maybe<Metafield>;
1805
- /**
1806
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
1807
- *
1808
- */
1809
- metafields: Array<Maybe<Metafield>>;
1810
- /** The number of orders that the customer has made at the store in their lifetime. */
1811
- numberOfOrders: Scalars['UnsignedInt64']['output'];
1812
- /** The orders associated with the customer. */
1813
- orders: OrderConnection;
1814
- /** The customer’s phone number. */
1815
- phone?: Maybe<Scalars['String']['output']>;
1816
- /**
1817
- * A comma separated list of tags that have been added to the customer.
1818
- * Additional access scope required: unauthenticated_read_customer_tags.
1819
- *
1820
- */
1821
- tags: Array<Scalars['String']['output']>;
1822
- /** The date and time when the customer information was updated. */
1823
- updatedAt: Scalars['DateTime']['output'];
1824
- };
1825
- /** A delivery address of the buyer that is interacting with the cart. */
1826
- type DeliveryAddress = MailingAddress;
1827
- /**
1828
- * The input fields for delivery address preferences.
1829
- *
1830
- */
1831
- type DeliveryAddressInput = {
1832
- /**
1833
- * The ID of a customer address that is associated with the buyer that is interacting with the cart.
1834
- *
1835
- */
1836
- customerAddressId?: InputMaybe<Scalars['ID']['input']>;
1837
- /** A delivery address preference of a buyer that is interacting with the cart. */
1838
- deliveryAddress?: InputMaybe<MailingAddressInput>;
1839
- };
1840
- /** List of different delivery method types. */
1841
- declare enum DeliveryMethodType {
1842
- /** Local Delivery. */
1843
- Local = "LOCAL",
1844
- /** None. */
1845
- None = "NONE",
1846
- /** Shipping to a Pickup Point. */
1847
- PickupPoint = "PICKUP_POINT",
1848
- /** Local Pickup. */
1849
- PickUp = "PICK_UP",
1850
- /** Retail. */
1851
- Retail = "RETAIL",
1852
- /** Shipping. */
1853
- Shipping = "SHIPPING"
1854
- }
1855
- /** Digital wallet, such as Apple Pay, which can be used for accelerated checkouts. */
1856
- declare enum DigitalWallet {
1857
- /** Android Pay. */
1858
- AndroidPay = "ANDROID_PAY",
1859
- /** Apple Pay. */
1860
- ApplePay = "APPLE_PAY",
1861
- /** Google Pay. */
1862
- GooglePay = "GOOGLE_PAY",
1863
- /** Shopify Pay. */
1864
- ShopifyPay = "SHOPIFY_PAY"
1865
- }
1866
- /**
1867
- * An amount discounting the line that has been allocated by a discount.
1868
- *
1869
- */
1870
- type DiscountAllocation = {
1871
- __typename?: 'DiscountAllocation';
1872
- /** Amount of discount allocated. */
1873
- allocatedAmount: MoneyV2;
1874
- /** The discount this allocated amount originated from. */
1875
- discountApplication: DiscountApplication;
1876
- };
1877
- /**
1878
- * Discount applications capture the intentions of a discount source at
1879
- * the time of application.
1880
- *
1881
- */
1882
- type DiscountApplication = {
1883
- /** The method by which the discount's value is allocated to its entitled items. */
1884
- allocationMethod: DiscountApplicationAllocationMethod;
1885
- /** Which lines of targetType that the discount is allocated over. */
1886
- targetSelection: DiscountApplicationTargetSelection;
1887
- /** The type of line that the discount is applicable towards. */
1888
- targetType: DiscountApplicationTargetType;
1889
- /** The value of the discount application. */
1890
- value: PricingValue;
1891
- };
1892
- /** The method by which the discount's value is allocated onto its entitled lines. */
1893
- declare enum DiscountApplicationAllocationMethod {
1894
- /** The value is spread across all entitled lines. */
1895
- Across = "ACROSS",
1896
- /** The value is applied onto every entitled line. */
1897
- Each = "EACH",
1898
- /**
1899
- * The value is specifically applied onto a particular line.
1900
- * @deprecated Use ACROSS instead.
1901
- */
1902
- One = "ONE"
1903
- }
1904
- /**
1905
- * An auto-generated type for paginating through multiple DiscountApplications.
1906
- *
1907
- */
1908
- type DiscountApplicationConnection = {
1909
- __typename?: 'DiscountApplicationConnection';
1910
- /** A list of edges. */
1911
- edges: Array<DiscountApplicationEdge>;
1912
- /** A list of the nodes contained in DiscountApplicationEdge. */
1913
- nodes: Array<DiscountApplication>;
1914
- /** Information to aid in pagination. */
1915
- pageInfo: PageInfo;
1916
- };
1917
- /**
1918
- * An auto-generated type which holds one DiscountApplication and a cursor during pagination.
1919
- *
1920
- */
1921
- type DiscountApplicationEdge = {
1922
- __typename?: 'DiscountApplicationEdge';
1923
- /** A cursor for use in pagination. */
1924
- cursor: Scalars['String']['output'];
1925
- /** The item at the end of DiscountApplicationEdge. */
1926
- node: DiscountApplication;
1927
- };
1928
- /**
1929
- * The lines on the order to which the discount is applied, of the type defined by
1930
- * the discount application's `targetType`. For example, the value `ENTITLED`, combined with a `targetType` of
1931
- * `LINE_ITEM`, applies the discount on all line items that are entitled to the discount.
1932
- * The value `ALL`, combined with a `targetType` of `SHIPPING_LINE`, applies the discount on all shipping lines.
1933
- *
1934
- */
1935
- declare enum DiscountApplicationTargetSelection {
1936
- /** The discount is allocated onto all the lines. */
1937
- All = "ALL",
1938
- /** The discount is allocated onto only the lines that it's entitled for. */
1939
- Entitled = "ENTITLED",
1940
- /** The discount is allocated onto explicitly chosen lines. */
1941
- Explicit = "EXPLICIT"
1942
- }
1943
- /**
1944
- * The type of line (i.e. line item or shipping line) on an order that the discount is applicable towards.
1945
- *
1946
- */
1947
- declare enum DiscountApplicationTargetType {
1948
- /** The discount applies onto line items. */
1949
- LineItem = "LINE_ITEM",
1950
- /** The discount applies onto shipping lines. */
1951
- ShippingLine = "SHIPPING_LINE"
1952
- }
1953
- /** Represents a web address. */
1954
- type Domain = {
1955
- __typename?: 'Domain';
1956
- /** The host name of the domain (eg: `example.com`). */
1957
- host: Scalars['String']['output'];
1958
- /** Whether SSL is enabled or not. */
1959
- sslEnabled: Scalars['Boolean']['output'];
1960
- /** The URL of the domain (eg: `https://example.com`). */
1961
- url: Scalars['URL']['output'];
1962
- };
1963
- /** A filter that is supported on the parent field. */
1964
- type Filter = {
1965
- __typename?: 'Filter';
1966
- /** A unique identifier. */
1967
- id: Scalars['String']['output'];
1968
- /** A human-friendly string for this filter. */
1969
- label: Scalars['String']['output'];
1970
- /** An enumeration that denotes the type of data this filter represents. */
1971
- type: FilterType;
1972
- /** The list of values for this filter. */
1973
- values: Array<FilterValue>;
1974
- };
1975
- /**
1976
- * The type of data that the filter group represents.
1977
- *
1978
- * For more information, refer to [Filter products in a collection with the Storefront API]
1979
- * (https://shopify.dev/custom-storefronts/products-collections/filter-products).
1980
- *
1981
- */
1982
- declare enum FilterType {
1983
- /** A boolean value. */
1984
- Boolean = "BOOLEAN",
1985
- /** A list of selectable values. */
1986
- List = "LIST",
1987
- /** A range of prices. */
1988
- PriceRange = "PRICE_RANGE"
1989
- }
1990
- /** A selectable value within a filter. */
1991
- type FilterValue = {
1992
- __typename?: 'FilterValue';
1993
- /** The number of results that match this filter value. */
1994
- count: Scalars['Int']['output'];
1995
- /** A unique identifier. */
1996
- id: Scalars['String']['output'];
1997
- /**
1998
- * An input object that can be used to filter by this value on the parent field.
1999
- *
2000
- * The value is provided as a helper for building dynamic filtering UI. For example, if you have a list of selected `FilterValue` objects, you can combine their respective `input` values to use in a subsequent query.
2001
- *
2002
- */
2003
- input: Scalars['JSON']['output'];
2004
- /** A human-friendly string for this filter value. */
2005
- label: Scalars['String']['output'];
2006
- };
2007
- /** Represents a single fulfillment in an order. */
2008
- type Fulfillment = {
2009
- __typename?: 'Fulfillment';
2010
- /** List of the fulfillment's line items. */
2011
- fulfillmentLineItems: FulfillmentLineItemConnection;
2012
- /** The name of the tracking company. */
2013
- trackingCompany?: Maybe<Scalars['String']['output']>;
2014
- /**
2015
- * Tracking information associated with the fulfillment,
2016
- * such as the tracking number and tracking URL.
2017
- *
2018
- */
2019
- trackingInfo: Array<FulfillmentTrackingInfo>;
2020
- };
2021
- /** Represents a single line item in a fulfillment. There is at most one fulfillment line item for each order line item. */
2022
- type FulfillmentLineItem = {
2023
- __typename?: 'FulfillmentLineItem';
2024
- /** The associated order's line item. */
2025
- lineItem: OrderLineItem;
2026
- /** The amount fulfilled in this fulfillment. */
2027
- quantity: Scalars['Int']['output'];
2028
- };
2029
- /**
2030
- * An auto-generated type for paginating through multiple FulfillmentLineItems.
2031
- *
2032
- */
2033
- type FulfillmentLineItemConnection = {
2034
- __typename?: 'FulfillmentLineItemConnection';
2035
- /** A list of edges. */
2036
- edges: Array<FulfillmentLineItemEdge>;
2037
- /** A list of the nodes contained in FulfillmentLineItemEdge. */
2038
- nodes: Array<FulfillmentLineItem>;
2039
- /** Information to aid in pagination. */
2040
- pageInfo: PageInfo;
2041
- };
2042
- /**
2043
- * An auto-generated type which holds one FulfillmentLineItem and a cursor during pagination.
2044
- *
2045
- */
2046
- type FulfillmentLineItemEdge = {
2047
- __typename?: 'FulfillmentLineItemEdge';
2048
- /** A cursor for use in pagination. */
2049
- cursor: Scalars['String']['output'];
2050
- /** The item at the end of FulfillmentLineItemEdge. */
2051
- node: FulfillmentLineItem;
2052
- };
2053
- /** Tracking information associated with the fulfillment. */
2054
- type FulfillmentTrackingInfo = {
2055
- __typename?: 'FulfillmentTrackingInfo';
2056
- /** The tracking number of the fulfillment. */
2057
- number?: Maybe<Scalars['String']['output']>;
2058
- /** The URL to track the fulfillment. */
2059
- url?: Maybe<Scalars['URL']['output']>;
2060
- };
2061
- /** The generic file resource lets you manage files in a merchant’s store. Generic files include any file that doesn’t fit into a designated type such as image or video. Example: PDF, JSON. */
2062
- type GenericFile = Node & {
2063
- __typename?: 'GenericFile';
2064
- /** A word or phrase to indicate the contents of a file. */
2065
- alt?: Maybe<Scalars['String']['output']>;
2066
- /** A globally-unique ID. */
2067
- id: Scalars['ID']['output'];
2068
- /** The MIME type of the file. */
2069
- mimeType?: Maybe<Scalars['String']['output']>;
2070
- /** The size of the original file in bytes. */
2071
- originalFileSize?: Maybe<Scalars['Int']['output']>;
2072
- /** The preview image for the file. */
2073
- previewImage?: Maybe<Image>;
2074
- /** The URL of the file. */
2075
- url?: Maybe<Scalars['URL']['output']>;
2076
- };
2077
- /** Represents information about the metafields associated to the specified resource. */
2078
- type HasMetafields = {
2079
- /** Returns a metafield found by namespace and key. */
2080
- metafield?: Maybe<Metafield>;
2081
- /**
2082
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
2083
- *
2084
- */
2085
- metafields: Array<Maybe<Metafield>>;
2086
- };
2087
- /** The input fields to identify a metafield on an owner resource by namespace and key. */
2088
- type HasMetafieldsIdentifier = {
2089
- /** The identifier for the metafield. */
2090
- key: Scalars['String']['input'];
2091
- /** A container for a set of metafields. */
2092
- namespace: Scalars['String']['input'];
2093
- };
2094
- /** Represents an image resource. */
2095
- type Image = {
2096
- __typename?: 'Image';
2097
- /** A word or phrase to share the nature or contents of an image. */
2098
- altText?: Maybe<Scalars['String']['output']>;
2099
- /** The original height of the image in pixels. Returns `null` if the image isn't hosted by Shopify. */
2100
- height?: Maybe<Scalars['Int']['output']>;
2101
- /** A unique ID for the image. */
2102
- id?: Maybe<Scalars['ID']['output']>;
2103
- /**
2104
- * The location of the original image as a URL.
2105
- *
2106
- * If there are any existing transformations in the original source URL, they will remain and not be stripped.
2107
- *
2108
- * @deprecated Use `url` instead.
2109
- */
2110
- originalSrc: Scalars['URL']['output'];
2111
- /**
2112
- * The location of the image as a URL.
2113
- * @deprecated Use `url` instead.
2114
- */
2115
- src: Scalars['URL']['output'];
2116
- /**
2117
- * The location of the transformed image as a URL.
2118
- *
2119
- * All transformation arguments are considered "best-effort". If they can be applied to an image, they will be.
2120
- * Otherwise any transformations which an image type doesn't support will be ignored.
2121
- *
2122
- * @deprecated Use `url(transform:)` instead
2123
- */
2124
- transformedSrc: Scalars['URL']['output'];
2125
- /**
2126
- * The location of the image as a URL.
2127
- *
2128
- * If no transform options are specified, then the original image will be preserved including any pre-applied transforms.
2129
- *
2130
- * All transformation options are considered "best-effort". Any transformation that the original image type doesn't support will be ignored.
2131
- *
2132
- * If you need multiple variations of the same image, then you can use [GraphQL aliases](https://graphql.org/learn/queries/#aliases).
2133
- *
2134
- */
2135
- url: Scalars['URL']['output'];
2136
- /** The original width of the image in pixels. Returns `null` if the image isn't hosted by Shopify. */
2137
- width?: Maybe<Scalars['Int']['output']>;
2138
- };
2139
- /**
2140
- * An auto-generated type for paginating through multiple Images.
2141
- *
2142
- */
2143
- type ImageConnection = {
2144
- __typename?: 'ImageConnection';
2145
- /** A list of edges. */
2146
- edges: Array<ImageEdge>;
2147
- /** A list of the nodes contained in ImageEdge. */
2148
- nodes: Array<Image>;
2149
- /** Information to aid in pagination. */
2150
- pageInfo: PageInfo;
2151
- };
2152
- /**
2153
- * An auto-generated type which holds one Image and a cursor during pagination.
2154
- *
2155
- */
2156
- type ImageEdge = {
2157
- __typename?: 'ImageEdge';
2158
- /** A cursor for use in pagination. */
2159
- cursor: Scalars['String']['output'];
2160
- /** The item at the end of ImageEdge. */
2161
- node: Image;
2162
- };
2163
- /** Represents a location where product inventory is held. */
2164
- type Location = HasMetafields & Node & {
2165
- __typename?: 'Location';
2166
- /** The address of the location. */
2167
- address: LocationAddress;
2168
- /** A globally-unique ID. */
2169
- id: Scalars['ID']['output'];
2170
- /** Returns a metafield found by namespace and key. */
2171
- metafield?: Maybe<Metafield>;
2172
- /**
2173
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
2174
- *
2175
- */
2176
- metafields: Array<Maybe<Metafield>>;
2177
- /** The name of the location. */
2178
- name: Scalars['String']['output'];
2179
- };
2180
- /**
2181
- * Represents the address of a location.
2182
- *
2183
- */
2184
- type LocationAddress = {
2185
- __typename?: 'LocationAddress';
2186
- /** The first line of the address for the location. */
2187
- address1?: Maybe<Scalars['String']['output']>;
2188
- /** The second line of the address for the location. */
2189
- address2?: Maybe<Scalars['String']['output']>;
2190
- /** The city of the location. */
2191
- city?: Maybe<Scalars['String']['output']>;
2192
- /** The country of the location. */
2193
- country?: Maybe<Scalars['String']['output']>;
2194
- /** The country code of the location. */
2195
- countryCode?: Maybe<Scalars['String']['output']>;
2196
- /** A formatted version of the address for the location. */
2197
- formatted: Array<Scalars['String']['output']>;
2198
- /** The latitude coordinates of the location. */
2199
- latitude?: Maybe<Scalars['Float']['output']>;
2200
- /** The longitude coordinates of the location. */
2201
- longitude?: Maybe<Scalars['Float']['output']>;
2202
- /** The phone number of the location. */
2203
- phone?: Maybe<Scalars['String']['output']>;
2204
- /** The province of the location. */
2205
- province?: Maybe<Scalars['String']['output']>;
2206
- /**
2207
- * The code for the province, state, or district of the address of the location.
2208
- *
2209
- */
2210
- provinceCode?: Maybe<Scalars['String']['output']>;
2211
- /** The ZIP code of the location. */
2212
- zip?: Maybe<Scalars['String']['output']>;
2213
- };
2214
- /** Represents a mailing address for customers and shipping. */
2215
- type MailingAddress = Node & {
2216
- __typename?: 'MailingAddress';
2217
- /** The first line of the address. Typically the street address or PO Box number. */
2218
- address1?: Maybe<Scalars['String']['output']>;
2219
- /**
2220
- * The second line of the address. Typically the number of the apartment, suite, or unit.
2221
- *
2222
- */
2223
- address2?: Maybe<Scalars['String']['output']>;
2224
- /**
2225
- * The name of the city, district, village, or town.
2226
- *
2227
- */
2228
- city?: Maybe<Scalars['String']['output']>;
2229
- /**
2230
- * The name of the customer's company or organization.
2231
- *
2232
- */
2233
- company?: Maybe<Scalars['String']['output']>;
2234
- /**
2235
- * The name of the country.
2236
- *
2237
- */
2238
- country?: Maybe<Scalars['String']['output']>;
2239
- /**
2240
- * The two-letter code for the country of the address.
2241
- *
2242
- * For example, US.
2243
- *
2244
- * @deprecated Use `countryCodeV2` instead.
2245
- */
2246
- countryCode?: Maybe<Scalars['String']['output']>;
2247
- /**
2248
- * The two-letter code for the country of the address.
2249
- *
2250
- * For example, US.
2251
- *
2252
- */
2253
- countryCodeV2?: Maybe<CountryCode>;
2254
- /** The first name of the customer. */
2255
- firstName?: Maybe<Scalars['String']['output']>;
2256
- /** A formatted version of the address, customized by the provided arguments. */
2257
- formatted: Array<Scalars['String']['output']>;
2258
- /** A comma-separated list of the values for city, province, and country. */
2259
- formattedArea?: Maybe<Scalars['String']['output']>;
2260
- /** A globally-unique ID. */
2261
- id: Scalars['ID']['output'];
2262
- /** The last name of the customer. */
2263
- lastName?: Maybe<Scalars['String']['output']>;
2264
- /** The latitude coordinate of the customer address. */
2265
- latitude?: Maybe<Scalars['Float']['output']>;
2266
- /** The longitude coordinate of the customer address. */
2267
- longitude?: Maybe<Scalars['Float']['output']>;
2268
- /**
2269
- * The full name of the customer, based on firstName and lastName.
2270
- *
2271
- */
2272
- name?: Maybe<Scalars['String']['output']>;
2273
- /**
2274
- * A unique phone number for the customer.
2275
- *
2276
- * Formatted using E.164 standard. For example, _+16135551111_.
2277
- *
2278
- */
2279
- phone?: Maybe<Scalars['String']['output']>;
2280
- /** The region of the address, such as the province, state, or district. */
2281
- province?: Maybe<Scalars['String']['output']>;
2282
- /**
2283
- * The two-letter code for the region.
2284
- *
2285
- * For example, ON.
2286
- *
2287
- */
2288
- provinceCode?: Maybe<Scalars['String']['output']>;
2289
- /** The zip or postal code of the address. */
2290
- zip?: Maybe<Scalars['String']['output']>;
2291
- };
2292
- /**
2293
- * An auto-generated type for paginating through multiple MailingAddresses.
2294
- *
2295
- */
2296
- type MailingAddressConnection = {
2297
- __typename?: 'MailingAddressConnection';
2298
- /** A list of edges. */
2299
- edges: Array<MailingAddressEdge>;
2300
- /** A list of the nodes contained in MailingAddressEdge. */
2301
- nodes: Array<MailingAddress>;
2302
- /** Information to aid in pagination. */
2303
- pageInfo: PageInfo;
2304
- };
2305
- /**
2306
- * An auto-generated type which holds one MailingAddress and a cursor during pagination.
2307
- *
2308
- */
2309
- type MailingAddressEdge = {
2310
- __typename?: 'MailingAddressEdge';
2311
- /** A cursor for use in pagination. */
2312
- cursor: Scalars['String']['output'];
2313
- /** The item at the end of MailingAddressEdge. */
2314
- node: MailingAddress;
2315
- };
2316
- /** The input fields to create or update a mailing address. */
2317
- type MailingAddressInput = {
2318
- /**
2319
- * The first line of the address. Typically the street address or PO Box number.
2320
- *
2321
- */
2322
- address1?: InputMaybe<Scalars['String']['input']>;
2323
- /**
2324
- * The second line of the address. Typically the number of the apartment, suite, or unit.
2325
- *
2326
- */
2327
- address2?: InputMaybe<Scalars['String']['input']>;
2328
- /**
2329
- * The name of the city, district, village, or town.
2330
- *
2331
- */
2332
- city?: InputMaybe<Scalars['String']['input']>;
2333
- /**
2334
- * The name of the customer's company or organization.
2335
- *
2336
- */
2337
- company?: InputMaybe<Scalars['String']['input']>;
2338
- /** The name of the country. */
2339
- country?: InputMaybe<Scalars['String']['input']>;
2340
- /** The first name of the customer. */
2341
- firstName?: InputMaybe<Scalars['String']['input']>;
2342
- /** The last name of the customer. */
2343
- lastName?: InputMaybe<Scalars['String']['input']>;
2344
- /**
2345
- * A unique phone number for the customer.
2346
- *
2347
- * Formatted using E.164 standard. For example, _+16135551111_.
2348
- *
2349
- */
2350
- phone?: InputMaybe<Scalars['String']['input']>;
2351
- /** The region of the address, such as the province, state, or district. */
2352
- province?: InputMaybe<Scalars['String']['input']>;
2353
- /** The zip or postal code of the address. */
2354
- zip?: InputMaybe<Scalars['String']['input']>;
2355
- };
2356
- /** A group of one or more regions of the world that a merchant is targeting for sales. To learn more about markets, refer to [the Shopify Markets conceptual overview](/docs/apps/markets). */
2357
- type Market = HasMetafields & Node & {
2358
- __typename?: 'Market';
2359
- /**
2360
- * A human-readable unique string for the market automatically generated from its title.
2361
- *
2362
- */
2363
- handle: Scalars['String']['output'];
2364
- /** A globally-unique ID. */
2365
- id: Scalars['ID']['output'];
2366
- /** Returns a metafield found by namespace and key. */
2367
- metafield?: Maybe<Metafield>;
2368
- /**
2369
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
2370
- *
2371
- */
2372
- metafields: Array<Maybe<Metafield>>;
2373
- };
2374
- /** Represents a media interface. */
2375
- type Media = {
2376
- /** A word or phrase to share the nature or contents of a media. */
2377
- alt?: Maybe<Scalars['String']['output']>;
2378
- /** A globally-unique ID. */
2379
- id: Scalars['ID']['output'];
2380
- /** The media content type. */
2381
- mediaContentType: MediaContentType;
2382
- /** The presentation for a media. */
2383
- presentation?: Maybe<MediaPresentation>;
2384
- /** The preview image for the media. */
2385
- previewImage?: Maybe<Image>;
2386
- };
2387
- /**
2388
- * An auto-generated type for paginating through multiple Media.
2389
- *
2390
- */
2391
- type MediaConnection = {
2392
- __typename?: 'MediaConnection';
2393
- /** A list of edges. */
2394
- edges: Array<MediaEdge>;
2395
- /** A list of the nodes contained in MediaEdge. */
2396
- nodes: Array<Media>;
2397
- /** Information to aid in pagination. */
2398
- pageInfo: PageInfo;
2399
- };
2400
- /** The possible content types for a media object. */
2401
- declare enum MediaContentType {
2402
- /** An externally hosted video. */
2403
- ExternalVideo = "EXTERNAL_VIDEO",
2404
- /** A Shopify hosted image. */
2405
- Image = "IMAGE",
2406
- /** A 3d model. */
2407
- Model_3D = "MODEL_3D",
2408
- /** A Shopify hosted video. */
2409
- Video = "VIDEO"
2410
- }
2411
- /**
2412
- * An auto-generated type which holds one Media and a cursor during pagination.
2413
- *
2414
- */
2415
- type MediaEdge = {
2416
- __typename?: 'MediaEdge';
2417
- /** A cursor for use in pagination. */
2418
- cursor: Scalars['String']['output'];
2419
- /** The item at the end of MediaEdge. */
2420
- node: Media;
2421
- };
2422
- /** Represents a Shopify hosted image. */
2423
- type MediaImage = Media & Node & {
2424
- __typename?: 'MediaImage';
2425
- /** A word or phrase to share the nature or contents of a media. */
2426
- alt?: Maybe<Scalars['String']['output']>;
2427
- /** A globally-unique ID. */
2428
- id: Scalars['ID']['output'];
2429
- /** The image for the media. */
2430
- image?: Maybe<Image>;
2431
- /** The media content type. */
2432
- mediaContentType: MediaContentType;
2433
- /** The presentation for a media. */
2434
- presentation?: Maybe<MediaPresentation>;
2435
- /** The preview image for the media. */
2436
- previewImage?: Maybe<Image>;
2437
- };
2438
- /** A media presentation. */
2439
- type MediaPresentation = Node & {
2440
- __typename?: 'MediaPresentation';
2441
- /** A JSON object representing a presentation view. */
2442
- asJson?: Maybe<Scalars['JSON']['output']>;
2443
- /** A globally-unique ID. */
2444
- id: Scalars['ID']['output'];
2445
- };
2446
- /** The merchandise to be purchased at checkout. */
2447
- type Merchandise = ProductVariant;
2448
- /**
2449
- * Metafields represent custom metadata attached to a resource. Metafields can be sorted into namespaces and are
2450
- * comprised of keys, values, and value types.
2451
- *
2452
- */
2453
- type Metafield = Node & {
2454
- __typename?: 'Metafield';
2455
- /** The date and time when the storefront metafield was created. */
2456
- createdAt: Scalars['DateTime']['output'];
2457
- /** The description of a metafield. */
2458
- description?: Maybe<Scalars['String']['output']>;
2459
- /** A globally-unique ID. */
2460
- id: Scalars['ID']['output'];
2461
- /** The unique identifier for the metafield within its namespace. */
2462
- key: Scalars['String']['output'];
2463
- /** The container for a group of metafields that the metafield is associated with. */
2464
- namespace: Scalars['String']['output'];
2465
- /** The type of resource that the metafield is attached to. */
2466
- parentResource: MetafieldParentResource;
2467
- /** Returns a reference object if the metafield's type is a resource reference. */
2468
- reference?: Maybe<MetafieldReference>;
2469
- /** A list of reference objects if the metafield's type is a resource reference list. */
2470
- references?: Maybe<MetafieldReferenceConnection>;
2471
- /**
2472
- * The type name of the metafield.
2473
- * Refer to the list of [supported types](https://shopify.dev/apps/metafields/definitions/types).
2474
- *
2475
- */
2476
- type: Scalars['String']['output'];
2477
- /** The date and time when the metafield was last updated. */
2478
- updatedAt: Scalars['DateTime']['output'];
2479
- /** The data stored in the metafield. Always stored as a string, regardless of the metafield's type. */
2480
- value: Scalars['String']['output'];
2481
- };
2482
- /** A resource that the metafield belongs to. */
2483
- type MetafieldParentResource = Article | Blog | Cart | Collection | Customer | Location | Market | Order | Page | Product | ProductVariant | Shop;
2484
- /**
2485
- * Returns the resource which is being referred to by a metafield.
2486
- *
2487
- */
2488
- type MetafieldReference = Collection | GenericFile | MediaImage | Metaobject | Page | Product | ProductVariant | Video;
2489
- /**
2490
- * An auto-generated type for paginating through multiple MetafieldReferences.
2491
- *
2492
- */
2493
- type MetafieldReferenceConnection = {
2494
- __typename?: 'MetafieldReferenceConnection';
2495
- /** A list of edges. */
2496
- edges: Array<MetafieldReferenceEdge>;
2497
- /** A list of the nodes contained in MetafieldReferenceEdge. */
2498
- nodes: Array<MetafieldReference>;
2499
- /** Information to aid in pagination. */
2500
- pageInfo: PageInfo;
2501
- };
2502
- /**
2503
- * An auto-generated type which holds one MetafieldReference and a cursor during pagination.
2504
- *
2505
- */
2506
- type MetafieldReferenceEdge = {
2507
- __typename?: 'MetafieldReferenceEdge';
2508
- /** A cursor for use in pagination. */
2509
- cursor: Scalars['String']['output'];
2510
- /** The item at the end of MetafieldReferenceEdge. */
2511
- node: MetafieldReference;
2512
- };
2513
- /** An instance of a user-defined model based on a MetaobjectDefinition. */
2514
- type Metaobject = Node & {
2515
- __typename?: 'Metaobject';
2516
- /** Accesses a field of the object by key. */
2517
- field?: Maybe<MetaobjectField>;
2518
- /**
2519
- * All object fields with defined values.
2520
- * Omitted object keys can be assumed null, and no guarantees are made about field order.
2521
- *
2522
- */
2523
- fields: Array<MetaobjectField>;
2524
- /** The unique handle of the metaobject. Useful as a custom ID. */
2525
- handle: Scalars['String']['output'];
2526
- /** A globally-unique ID. */
2527
- id: Scalars['ID']['output'];
2528
- /** The type of the metaobject. Defines the namespace of its associated metafields. */
2529
- type: Scalars['String']['output'];
2530
- /** The date and time when the metaobject was last updated. */
2531
- updatedAt: Scalars['DateTime']['output'];
2532
- };
2533
- /** Provides the value of a Metaobject field. */
2534
- type MetaobjectField = {
2535
- __typename?: 'MetaobjectField';
2536
- /** The field key. */
2537
- key: Scalars['String']['output'];
2538
- /** A referenced object if the field type is a resource reference. */
2539
- reference?: Maybe<MetafieldReference>;
2540
- /** A list of referenced objects if the field type is a resource reference list. */
2541
- references?: Maybe<MetafieldReferenceConnection>;
2542
- /**
2543
- * The type name of the field.
2544
- * See the list of [supported types](https://shopify.dev/apps/metafields/definitions/types).
2545
- *
2546
- */
2547
- type: Scalars['String']['output'];
2548
- /** The field value. */
2549
- value?: Maybe<Scalars['String']['output']>;
2550
- };
2551
- /**
2552
- * A monetary value with currency.
2553
- *
2554
- */
2555
- type MoneyV2 = {
2556
- __typename?: 'MoneyV2';
2557
- /** Decimal money amount. */
2558
- amount: Scalars['Decimal']['output'];
2559
- /** Currency of the money. */
2560
- currencyCode: CurrencyCode;
2561
- };
2562
- /**
2563
- * An object with an ID field to support global identification, in accordance with the
2564
- * [Relay specification](https://relay.dev/graphql/objectidentification.htm#sec-Node-Interface).
2565
- * This interface is used by the [node](https://shopify.dev/api/admin-graphql/unstable/queries/node)
2566
- * and [nodes](https://shopify.dev/api/admin-graphql/unstable/queries/nodes) queries.
2567
- *
2568
- */
2569
- type Node = {
2570
- /** A globally-unique ID. */
2571
- id: Scalars['ID']['output'];
2572
- };
2573
- /** Represents a resource that can be published to the Online Store sales channel. */
2574
- type OnlineStorePublishable = {
2575
- /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
2576
- onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
2577
- };
2578
- /** An order is a customer’s completed request to purchase one or more products from a shop. An order is created when a customer completes the checkout process, during which time they provides an email address, billing address and payment information. */
2579
- type Order = HasMetafields & Node & {
2580
- __typename?: 'Order';
2581
- /** The address associated with the payment method. */
2582
- billingAddress?: Maybe<MailingAddress>;
2583
- /** The reason for the order's cancellation. Returns `null` if the order wasn't canceled. */
2584
- cancelReason?: Maybe<OrderCancelReason>;
2585
- /** The date and time when the order was canceled. Returns null if the order wasn't canceled. */
2586
- canceledAt?: Maybe<Scalars['DateTime']['output']>;
2587
- /** The code of the currency used for the payment. */
2588
- currencyCode: CurrencyCode;
2589
- /** The subtotal of line items and their discounts, excluding line items that have been removed. Does not contain order-level discounts, duties, shipping costs, or shipping discounts. Taxes aren't included unless the order is a taxes-included order. */
2590
- currentSubtotalPrice: MoneyV2;
2591
- /** The total cost of duties for the order, including refunds. */
2592
- currentTotalDuties?: Maybe<MoneyV2>;
2593
- /** The total amount of the order, including duties, taxes and discounts, minus amounts for line items that have been removed. */
2594
- currentTotalPrice: MoneyV2;
2595
- /** The total of all taxes applied to the order, excluding taxes for returned line items. */
2596
- currentTotalTax: MoneyV2;
2597
- /** A list of the custom attributes added to the order. */
2598
- customAttributes: Array<Attribute>;
2599
- /** The locale code in which this specific order happened. */
2600
- customerLocale?: Maybe<Scalars['String']['output']>;
2601
- /** The unique URL that the customer can use to access the order. */
2602
- customerUrl?: Maybe<Scalars['URL']['output']>;
2603
- /** Discounts that have been applied on the order. */
2604
- discountApplications: DiscountApplicationConnection;
2605
- /** Whether the order has had any edits applied or not. */
2606
- edited: Scalars['Boolean']['output'];
2607
- /** The customer's email address. */
2608
- email?: Maybe<Scalars['String']['output']>;
2609
- /** The financial status of the order. */
2610
- financialStatus?: Maybe<OrderFinancialStatus>;
2611
- /** The fulfillment status for the order. */
2612
- fulfillmentStatus: OrderFulfillmentStatus;
2613
- /** A globally-unique ID. */
2614
- id: Scalars['ID']['output'];
2615
- /** List of the order’s line items. */
2616
- lineItems: OrderLineItemConnection;
2617
- /** Returns a metafield found by namespace and key. */
2618
- metafield?: Maybe<Metafield>;
2619
- /**
2620
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
2621
- *
2622
- */
2623
- metafields: Array<Maybe<Metafield>>;
2624
- /**
2625
- * Unique identifier for the order that appears on the order.
2626
- * For example, _#1000_ or _Store1001.
2627
- *
2628
- */
2629
- name: Scalars['String']['output'];
2630
- /** A unique numeric identifier for the order for use by shop owner and customer. */
2631
- orderNumber: Scalars['Int']['output'];
2632
- /** The total cost of duties charged at checkout. */
2633
- originalTotalDuties?: Maybe<MoneyV2>;
2634
- /** The total price of the order before any applied edits. */
2635
- originalTotalPrice: MoneyV2;
2636
- /** The customer's phone number for receiving SMS notifications. */
2637
- phone?: Maybe<Scalars['String']['output']>;
2638
- /**
2639
- * The date and time when the order was imported.
2640
- * This value can be set to dates in the past when importing from other systems.
2641
- * If no value is provided, it will be auto-generated based on current date and time.
2642
- *
2643
- */
2644
- processedAt: Scalars['DateTime']['output'];
2645
- /** The address to where the order will be shipped. */
2646
- shippingAddress?: Maybe<MailingAddress>;
2647
- /**
2648
- * The discounts that have been allocated onto the shipping line by discount applications.
2649
- *
2650
- */
2651
- shippingDiscountAllocations: Array<DiscountAllocation>;
2652
- /** The unique URL for the order's status page. */
2653
- statusUrl: Scalars['URL']['output'];
2654
- /** Price of the order before shipping and taxes. */
2655
- subtotalPrice?: Maybe<MoneyV2>;
2656
- /**
2657
- * Price of the order before duties, shipping and taxes.
2658
- * @deprecated Use `subtotalPrice` instead.
2659
- */
2660
- subtotalPriceV2?: Maybe<MoneyV2>;
2661
- /** List of the order’s successful fulfillments. */
2662
- successfulFulfillments?: Maybe<Array<Fulfillment>>;
2663
- /** The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive). */
2664
- totalPrice: MoneyV2;
2665
- /**
2666
- * The sum of all the prices of all the items in the order, duties, taxes and discounts included (must be positive).
2667
- * @deprecated Use `totalPrice` instead.
2668
- */
2669
- totalPriceV2: MoneyV2;
2670
- /** The total amount that has been refunded. */
2671
- totalRefunded: MoneyV2;
2672
- /**
2673
- * The total amount that has been refunded.
2674
- * @deprecated Use `totalRefunded` instead.
2675
- */
2676
- totalRefundedV2: MoneyV2;
2677
- /** The total cost of shipping. */
2678
- totalShippingPrice: MoneyV2;
2679
- /**
2680
- * The total cost of shipping.
2681
- * @deprecated Use `totalShippingPrice` instead.
2682
- */
2683
- totalShippingPriceV2: MoneyV2;
2684
- /** The total cost of taxes. */
2685
- totalTax?: Maybe<MoneyV2>;
2686
- /**
2687
- * The total cost of taxes.
2688
- * @deprecated Use `totalTax` instead.
2689
- */
2690
- totalTaxV2?: Maybe<MoneyV2>;
2691
- };
2692
- /** Represents the reason for the order's cancellation. */
2693
- declare enum OrderCancelReason {
2694
- /** The customer wanted to cancel the order. */
2695
- Customer = "CUSTOMER",
2696
- /** Payment was declined. */
2697
- Declined = "DECLINED",
2698
- /** The order was fraudulent. */
2699
- Fraud = "FRAUD",
2700
- /** There was insufficient inventory. */
2701
- Inventory = "INVENTORY",
2702
- /** The order was canceled for an unlisted reason. */
2703
- Other = "OTHER"
2704
- }
2705
- /**
2706
- * An auto-generated type for paginating through multiple Orders.
2707
- *
2708
- */
2709
- type OrderConnection = {
2710
- __typename?: 'OrderConnection';
2711
- /** A list of edges. */
2712
- edges: Array<OrderEdge>;
2713
- /** A list of the nodes contained in OrderEdge. */
2714
- nodes: Array<Order>;
2715
- /** Information to aid in pagination. */
2716
- pageInfo: PageInfo;
2717
- /** The total count of Orders. */
2718
- totalCount: Scalars['UnsignedInt64']['output'];
2719
- };
2720
- /**
2721
- * An auto-generated type which holds one Order and a cursor during pagination.
2722
- *
2723
- */
2724
- type OrderEdge = {
2725
- __typename?: 'OrderEdge';
2726
- /** A cursor for use in pagination. */
2727
- cursor: Scalars['String']['output'];
2728
- /** The item at the end of OrderEdge. */
2729
- node: Order;
2730
- };
2731
- /** Represents the order's current financial status. */
2732
- declare enum OrderFinancialStatus {
2733
- /** Displayed as **Authorized**. */
2734
- Authorized = "AUTHORIZED",
2735
- /** Displayed as **Paid**. */
2736
- Paid = "PAID",
2737
- /** Displayed as **Partially paid**. */
2738
- PartiallyPaid = "PARTIALLY_PAID",
2739
- /** Displayed as **Partially refunded**. */
2740
- PartiallyRefunded = "PARTIALLY_REFUNDED",
2741
- /** Displayed as **Pending**. */
2742
- Pending = "PENDING",
2743
- /** Displayed as **Refunded**. */
2744
- Refunded = "REFUNDED",
2745
- /** Displayed as **Voided**. */
2746
- Voided = "VOIDED"
2747
- }
2748
- /** Represents the order's aggregated fulfillment status for display purposes. */
2749
- declare enum OrderFulfillmentStatus {
2750
- /** Displayed as **Fulfilled**. All of the items in the order have been fulfilled. */
2751
- Fulfilled = "FULFILLED",
2752
- /** 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. */
2753
- InProgress = "IN_PROGRESS",
2754
- /** Displayed as **On hold**. All of the unfulfilled items in this order are on hold. */
2755
- OnHold = "ON_HOLD",
2756
- /** Displayed as **Open**. None of the items in the order have been fulfilled. Replaced by "UNFULFILLED" status. */
2757
- Open = "OPEN",
2758
- /** Displayed as **Partially fulfilled**. Some of the items in the order have been fulfilled. */
2759
- PartiallyFulfilled = "PARTIALLY_FULFILLED",
2760
- /** Displayed as **Pending fulfillment**. A request for fulfillment of some items awaits a response from the fulfillment service. Replaced by "IN_PROGRESS" status. */
2761
- PendingFulfillment = "PENDING_FULFILLMENT",
2762
- /** Displayed as **Restocked**. All of the items in the order have been restocked. Replaced by "UNFULFILLED" status. */
2763
- Restocked = "RESTOCKED",
2764
- /** Displayed as **Scheduled**. All of the unfulfilled items in this order are scheduled for fulfillment at later time. */
2765
- Scheduled = "SCHEDULED",
2766
- /** Displayed as **Unfulfilled**. None of the items in the order have been fulfilled. */
2767
- Unfulfilled = "UNFULFILLED"
2768
- }
2769
- /** Represents a single line in an order. There is one line item for each distinct product variant. */
2770
- type OrderLineItem = {
2771
- __typename?: 'OrderLineItem';
2772
- /** The number of entries associated to the line item minus the items that have been removed. */
2773
- currentQuantity: Scalars['Int']['output'];
2774
- /** List of custom attributes associated to the line item. */
2775
- customAttributes: Array<Attribute>;
2776
- /** The discounts that have been allocated onto the order line item by discount applications. */
2777
- discountAllocations: Array<DiscountAllocation>;
2778
- /** The total price of the line item, including discounts, and displayed in the presentment currency. */
2779
- discountedTotalPrice: MoneyV2;
2780
- /** The total price of the line item, not including any discounts. The total price is calculated using the original unit price multiplied by the quantity, and it's displayed in the presentment currency. */
2781
- originalTotalPrice: MoneyV2;
2782
- /** The number of products variants associated to the line item. */
2783
- quantity: Scalars['Int']['output'];
2784
- /** The title of the product combined with title of the variant. */
2785
- title: Scalars['String']['output'];
2786
- /** The product variant object associated to the line item. */
2787
- variant?: Maybe<ProductVariant>;
2788
- };
2789
- /**
2790
- * An auto-generated type for paginating through multiple OrderLineItems.
2791
- *
2792
- */
2793
- type OrderLineItemConnection = {
2794
- __typename?: 'OrderLineItemConnection';
2795
- /** A list of edges. */
2796
- edges: Array<OrderLineItemEdge>;
2797
- /** A list of the nodes contained in OrderLineItemEdge. */
2798
- nodes: Array<OrderLineItem>;
2799
- /** Information to aid in pagination. */
2800
- pageInfo: PageInfo;
2801
- };
2802
- /**
2803
- * An auto-generated type which holds one OrderLineItem and a cursor during pagination.
2804
- *
2805
- */
2806
- type OrderLineItemEdge = {
2807
- __typename?: 'OrderLineItemEdge';
2808
- /** A cursor for use in pagination. */
2809
- cursor: Scalars['String']['output'];
2810
- /** The item at the end of OrderLineItemEdge. */
2811
- node: OrderLineItem;
2812
- };
2813
- /** Shopify merchants can create pages to hold static HTML content. Each Page object represents a custom page on the online store. */
2814
- type Page = HasMetafields & Node & OnlineStorePublishable & Trackable & {
2815
- __typename?: 'Page';
2816
- /** The description of the page, complete with HTML formatting. */
2817
- body: Scalars['HTML']['output'];
2818
- /** Summary of the page body. */
2819
- bodySummary: Scalars['String']['output'];
2820
- /** The timestamp of the page creation. */
2821
- createdAt: Scalars['DateTime']['output'];
2822
- /** A human-friendly unique string for the page automatically generated from its title. */
2823
- handle: Scalars['String']['output'];
2824
- /** A globally-unique ID. */
2825
- id: Scalars['ID']['output'];
2826
- /** Returns a metafield found by namespace and key. */
2827
- metafield?: Maybe<Metafield>;
2828
- /**
2829
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
2830
- *
2831
- */
2832
- metafields: Array<Maybe<Metafield>>;
2833
- /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
2834
- onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
2835
- /** The page's SEO information. */
2836
- seo?: Maybe<Seo>;
2837
- /** The title of the page. */
2838
- title: Scalars['String']['output'];
2839
- /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
2840
- trackingParameters?: Maybe<Scalars['String']['output']>;
2841
- /** The timestamp of the latest page update. */
2842
- updatedAt: Scalars['DateTime']['output'];
2843
- };
2844
- /**
2845
- * Returns information about pagination in a connection, in accordance with the
2846
- * [Relay specification](https://relay.dev/graphql/connections.htm#sec-undefined.PageInfo).
2847
- * For more information, please read our [GraphQL Pagination Usage Guide](https://shopify.dev/api/usage/pagination-graphql).
2848
- *
2849
- */
2850
- type PageInfo = {
2851
- __typename?: 'PageInfo';
2852
- /** The cursor corresponding to the last node in edges. */
2853
- endCursor?: Maybe<Scalars['String']['output']>;
2854
- /** Whether there are more pages to fetch following the current page. */
2855
- hasNextPage: Scalars['Boolean']['output'];
2856
- /** Whether there are any pages prior to the current page. */
2857
- hasPreviousPage: Scalars['Boolean']['output'];
2858
- /** The cursor corresponding to the first node in edges. */
2859
- startCursor?: Maybe<Scalars['String']['output']>;
2860
- };
2861
- /** Settings related to payments. */
2862
- type PaymentSettings = {
2863
- __typename?: 'PaymentSettings';
2864
- /** List of the card brands which the shop accepts. */
2865
- acceptedCardBrands: Array<CardBrand>;
2866
- /** The url pointing to the endpoint to vault credit cards. */
2867
- cardVaultUrl: Scalars['URL']['output'];
2868
- /** The country where the shop is located. */
2869
- countryCode: CountryCode;
2870
- /** The three-letter code for the shop's primary currency. */
2871
- currencyCode: CurrencyCode;
2872
- /** A list of enabled currencies (ISO 4217 format) that the shop accepts. Merchants can enable currencies from their Shopify Payments settings in the Shopify admin. */
2873
- enabledPresentmentCurrencies: Array<CurrencyCode>;
2874
- /** The shop’s Shopify Payments account ID. */
2875
- shopifyPaymentsAccountId?: Maybe<Scalars['String']['output']>;
2876
- /** List of the digital wallets which the shop supports. */
2877
- supportedDigitalWallets: Array<DigitalWallet>;
2878
- };
2879
- /** The value of the percentage pricing object. */
2880
- type PricingPercentageValue = {
2881
- __typename?: 'PricingPercentageValue';
2882
- /** The percentage value of the object. */
2883
- percentage: Scalars['Float']['output'];
2884
- };
2885
- /** The price value (fixed or percentage) for a discount application. */
2886
- type PricingValue = MoneyV2 | PricingPercentageValue;
2887
- /**
2888
- * A product represents an individual item for sale in a Shopify store. Products are often physical, but they don't have to be.
2889
- * For example, a digital download (such as a movie, music or ebook file) also qualifies as a product, as do services (such as equipment rental, work for hire, customization of another product or an extended warranty).
2890
- */
2891
- type Product = HasMetafields & Node & OnlineStorePublishable & Trackable & {
2892
- __typename?: 'Product';
2893
- /** Indicates if at least one product variant is available for sale. */
2894
- availableForSale: Scalars['Boolean']['output'];
2895
- /** List of collections a product belongs to. */
2896
- collections: CollectionConnection;
2897
- /** The compare at price of the product across all variants. */
2898
- compareAtPriceRange: ProductPriceRange;
2899
- /** The date and time when the product was created. */
2900
- createdAt: Scalars['DateTime']['output'];
2901
- /** Stripped description of the product, single line with HTML tags removed. */
2902
- description: Scalars['String']['output'];
2903
- /** The description of the product, complete with HTML formatting. */
2904
- descriptionHtml: Scalars['HTML']['output'];
2905
- /**
2906
- * The featured image for the product.
2907
- *
2908
- * This field is functionally equivalent to `images(first: 1)`.
2909
- *
2910
- */
2911
- featuredImage?: Maybe<Image>;
2912
- /**
2913
- * A human-friendly unique string for the Product automatically generated from its title.
2914
- * They are used by the Liquid templating language to refer to objects.
2915
- *
2916
- */
2917
- handle: Scalars['String']['output'];
2918
- /** A globally-unique ID. */
2919
- id: Scalars['ID']['output'];
2920
- /** List of images associated with the product. */
2921
- images: ImageConnection;
2922
- /** Whether the product is a gift card. */
2923
- isGiftCard: Scalars['Boolean']['output'];
2924
- /** The media associated with the product. */
2925
- media: MediaConnection;
2926
- /** Returns a metafield found by namespace and key. */
2927
- metafield?: Maybe<Metafield>;
2928
- /**
2929
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
2930
- *
2931
- */
2932
- metafields: Array<Maybe<Metafield>>;
2933
- /** The URL used for viewing the resource on the shop's Online Store. Returns `null` if the resource is currently not published to the Online Store sales channel. */
2934
- onlineStoreUrl?: Maybe<Scalars['URL']['output']>;
2935
- /** List of product options. */
2936
- options: Array<ProductOption>;
2937
- /** The price range. */
2938
- priceRange: ProductPriceRange;
2939
- /** A categorization that a product can be tagged with, commonly used for filtering and searching. */
2940
- productType: Scalars['String']['output'];
2941
- /** The date and time when the product was published to the channel. */
2942
- publishedAt: Scalars['DateTime']['output'];
2943
- /** Whether the product can only be purchased with a selling plan. */
2944
- requiresSellingPlan: Scalars['Boolean']['output'];
2945
- /** A list of a product's available selling plan groups. A selling plan group represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */
2946
- sellingPlanGroups: SellingPlanGroupConnection;
2947
- /** The product's SEO information. */
2948
- seo: Seo;
2949
- /**
2950
- * A comma separated list of tags that have been added to the product.
2951
- * Additional access scope required for private apps: unauthenticated_read_product_tags.
2952
- *
2953
- */
2954
- tags: Array<Scalars['String']['output']>;
2955
- /** The product’s title. */
2956
- title: Scalars['String']['output'];
2957
- /** The total quantity of inventory in stock for this Product. */
2958
- totalInventory?: Maybe<Scalars['Int']['output']>;
2959
- /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
2960
- trackingParameters?: Maybe<Scalars['String']['output']>;
2961
- /**
2962
- * The date and time when the product was last modified.
2963
- * A product's `updatedAt` value can change for different reasons. For example, if an order
2964
- * is placed for a product that has inventory tracking set up, then the inventory adjustment
2965
- * is counted as an update.
2966
- *
2967
- */
2968
- updatedAt: Scalars['DateTime']['output'];
2969
- /**
2970
- * Find a product’s variant based on its selected options.
2971
- * This is useful for converting a user’s selection of product options into a single matching variant.
2972
- * If there is not a variant for the selected options, `null` will be returned.
2973
- *
2974
- */
2975
- variantBySelectedOptions?: Maybe<ProductVariant>;
2976
- /** List of the product’s variants. */
2977
- variants: ProductVariantConnection;
2978
- /** The product’s vendor name. */
2979
- vendor: Scalars['String']['output'];
2980
- };
2981
- /**
2982
- * An auto-generated type for paginating through multiple Products.
2983
- *
2984
- */
2985
- type ProductConnection = {
2986
- __typename?: 'ProductConnection';
2987
- /** A list of edges. */
2988
- edges: Array<ProductEdge>;
2989
- /** A list of available filters. */
2990
- filters: Array<Filter>;
2991
- /** A list of the nodes contained in ProductEdge. */
2992
- nodes: Array<Product>;
2993
- /** Information to aid in pagination. */
2994
- pageInfo: PageInfo;
2995
- };
2996
- /**
2997
- * An auto-generated type which holds one Product and a cursor during pagination.
2998
- *
2999
- */
3000
- type ProductEdge = {
3001
- __typename?: 'ProductEdge';
3002
- /** A cursor for use in pagination. */
3003
- cursor: Scalars['String']['output'];
3004
- /** The item at the end of ProductEdge. */
3005
- node: Product;
3006
- };
3007
- /**
3008
- * Product property names like "Size", "Color", and "Material" that the customers can select.
3009
- * Variants are selected based on permutations of these options.
3010
- * 255 characters limit each.
3011
- *
3012
- */
3013
- type ProductOption = Node & {
3014
- __typename?: 'ProductOption';
3015
- /** A globally-unique ID. */
3016
- id: Scalars['ID']['output'];
3017
- /** The product option’s name. */
3018
- name: Scalars['String']['output'];
3019
- /** The corresponding value to the product option name. */
3020
- values: Array<Scalars['String']['output']>;
3021
- };
3022
- /** The price range of the product. */
3023
- type ProductPriceRange = {
3024
- __typename?: 'ProductPriceRange';
3025
- /** The highest variant's price. */
3026
- maxVariantPrice: MoneyV2;
3027
- /** The lowest variant's price. */
3028
- minVariantPrice: MoneyV2;
3029
- };
3030
- /** A product variant represents a different version of a product, such as differing sizes or differing colors. */
3031
- type ProductVariant = HasMetafields & Node & {
3032
- __typename?: 'ProductVariant';
3033
- /** Indicates if the product variant is available for sale. */
3034
- availableForSale: Scalars['Boolean']['output'];
3035
- /** The barcode (for example, ISBN, UPC, or GTIN) associated with the variant. */
3036
- barcode?: Maybe<Scalars['String']['output']>;
3037
- /** The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPrice` is higher than `price`. */
3038
- compareAtPrice?: Maybe<MoneyV2>;
3039
- /**
3040
- * The compare at price of the variant. This can be used to mark a variant as on sale, when `compareAtPriceV2` is higher than `priceV2`.
3041
- * @deprecated Use `compareAtPrice` instead.
3042
- */
3043
- compareAtPriceV2?: Maybe<MoneyV2>;
3044
- /** Whether a product is out of stock but still available for purchase (used for backorders). */
3045
- currentlyNotInStock: Scalars['Boolean']['output'];
3046
- /** A globally-unique ID. */
3047
- id: Scalars['ID']['output'];
3048
- /**
3049
- * Image associated with the product variant. This field falls back to the product image if no image is available.
3050
- *
3051
- */
3052
- image?: Maybe<Image>;
3053
- /** Returns a metafield found by namespace and key. */
3054
- metafield?: Maybe<Metafield>;
3055
- /**
3056
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
3057
- *
3058
- */
3059
- metafields: Array<Maybe<Metafield>>;
3060
- /** The product variant’s price. */
3061
- price: MoneyV2;
3062
- /**
3063
- * The product variant’s price.
3064
- * @deprecated Use `price` instead.
3065
- */
3066
- priceV2: MoneyV2;
3067
- /** The product object that the product variant belongs to. */
3068
- product: Product;
3069
- /** The total sellable quantity of the variant for online sales channels. */
3070
- quantityAvailable?: Maybe<Scalars['Int']['output']>;
3071
- /** Whether a customer needs to provide a shipping address when placing an order for the product variant. */
3072
- requiresShipping: Scalars['Boolean']['output'];
3073
- /** List of product options applied to the variant. */
3074
- selectedOptions: Array<SelectedOption>;
3075
- /** Represents an association between a variant and a selling plan. Selling plan allocations describe which selling plans are available for each variant, and what their impact is on pricing. */
3076
- sellingPlanAllocations: SellingPlanAllocationConnection;
3077
- /** The SKU (stock keeping unit) associated with the variant. */
3078
- sku?: Maybe<Scalars['String']['output']>;
3079
- /** The in-store pickup availability of this variant by location. */
3080
- storeAvailability: StoreAvailabilityConnection;
3081
- /** The product variant’s title. */
3082
- title: Scalars['String']['output'];
3083
- /** The unit price value for the variant based on the variant's measurement. */
3084
- unitPrice?: Maybe<MoneyV2>;
3085
- /** The unit price measurement for the variant. */
3086
- unitPriceMeasurement?: Maybe<UnitPriceMeasurement>;
3087
- /** The weight of the product variant in the unit system specified with `weight_unit`. */
3088
- weight?: Maybe<Scalars['Float']['output']>;
3089
- /** Unit of measurement for weight. */
3090
- weightUnit: WeightUnit;
3091
- };
3092
- /**
3093
- * An auto-generated type for paginating through multiple ProductVariants.
3094
- *
3095
- */
3096
- type ProductVariantConnection = {
3097
- __typename?: 'ProductVariantConnection';
3098
- /** A list of edges. */
3099
- edges: Array<ProductVariantEdge>;
3100
- /** A list of the nodes contained in ProductVariantEdge. */
3101
- nodes: Array<ProductVariant>;
3102
- /** Information to aid in pagination. */
3103
- pageInfo: PageInfo;
3104
- };
3105
- /**
3106
- * An auto-generated type which holds one ProductVariant and a cursor during pagination.
3107
- *
3108
- */
3109
- type ProductVariantEdge = {
3110
- __typename?: 'ProductVariantEdge';
3111
- /** A cursor for use in pagination. */
3112
- cursor: Scalars['String']['output'];
3113
- /** The item at the end of ProductVariantEdge. */
3114
- node: ProductVariant;
3115
- };
3116
- /** SEO information. */
3117
- type Seo = {
3118
- __typename?: 'SEO';
3119
- /** The meta description. */
3120
- description?: Maybe<Scalars['String']['output']>;
3121
- /** The SEO title. */
3122
- title?: Maybe<Scalars['String']['output']>;
3123
- };
3124
- /**
3125
- * Properties used by customers to select a product variant.
3126
- * Products can have multiple options, like different sizes or colors.
3127
- *
3128
- */
3129
- type SelectedOption = {
3130
- __typename?: 'SelectedOption';
3131
- /** The product option’s name. */
3132
- name: Scalars['String']['output'];
3133
- /** The product option’s value. */
3134
- value: Scalars['String']['output'];
3135
- };
3136
- /** Represents how products and variants can be sold and purchased. */
3137
- type SellingPlan = {
3138
- __typename?: 'SellingPlan';
3139
- /** The initial payment due for the purchase. */
3140
- checkoutCharge: SellingPlanCheckoutCharge;
3141
- /** The description of the selling plan. */
3142
- description?: Maybe<Scalars['String']['output']>;
3143
- /** A globally-unique ID. */
3144
- id: Scalars['ID']['output'];
3145
- /** The name of the selling plan. For example, '6 weeks of prepaid granola, delivered weekly'. */
3146
- name: Scalars['String']['output'];
3147
- /** The selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing. */
3148
- options: Array<SellingPlanOption>;
3149
- /** The price adjustments that a selling plan makes when a variant is purchased with a selling plan. */
3150
- priceAdjustments: Array<SellingPlanPriceAdjustment>;
3151
- /** Whether purchasing the selling plan will result in multiple deliveries. */
3152
- recurringDeliveries: Scalars['Boolean']['output'];
3153
- };
3154
- /** Represents an association between a variant and a selling plan. Selling plan allocations describe the options offered for each variant, and the price of the variant when purchased with a selling plan. */
3155
- type SellingPlanAllocation = {
3156
- __typename?: 'SellingPlanAllocation';
3157
- /** The checkout charge amount due for the purchase. */
3158
- checkoutChargeAmount: MoneyV2;
3159
- /** A list of price adjustments, with a maximum of two. When there are two, the first price adjustment goes into effect at the time of purchase, while the second one starts after a certain number of orders. A price adjustment represents how a selling plan affects pricing when a variant is purchased with a selling plan. Prices display in the customer's currency if the shop is configured for it. */
3160
- priceAdjustments: Array<SellingPlanAllocationPriceAdjustment>;
3161
- /** The remaining balance charge amount due for the purchase. */
3162
- remainingBalanceChargeAmount: MoneyV2;
3163
- /** A representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'. */
3164
- sellingPlan: SellingPlan;
3165
- };
3166
- /**
3167
- * An auto-generated type for paginating through multiple SellingPlanAllocations.
3168
- *
3169
- */
3170
- type SellingPlanAllocationConnection = {
3171
- __typename?: 'SellingPlanAllocationConnection';
3172
- /** A list of edges. */
3173
- edges: Array<SellingPlanAllocationEdge>;
3174
- /** A list of the nodes contained in SellingPlanAllocationEdge. */
3175
- nodes: Array<SellingPlanAllocation>;
3176
- /** Information to aid in pagination. */
3177
- pageInfo: PageInfo;
3178
- };
3179
- /**
3180
- * An auto-generated type which holds one SellingPlanAllocation and a cursor during pagination.
3181
- *
3182
- */
3183
- type SellingPlanAllocationEdge = {
3184
- __typename?: 'SellingPlanAllocationEdge';
3185
- /** A cursor for use in pagination. */
3186
- cursor: Scalars['String']['output'];
3187
- /** The item at the end of SellingPlanAllocationEdge. */
3188
- node: SellingPlanAllocation;
3189
- };
3190
- /** The resulting prices for variants when they're purchased with a specific selling plan. */
3191
- type SellingPlanAllocationPriceAdjustment = {
3192
- __typename?: 'SellingPlanAllocationPriceAdjustment';
3193
- /** The price of the variant when it's purchased without a selling plan for the same number of deliveries. For example, if a customer purchases 6 deliveries of $10.00 granola separately, then the price is 6 x $10.00 = $60.00. */
3194
- compareAtPrice: MoneyV2;
3195
- /** The effective price for a single delivery. For example, for a prepaid subscription plan that includes 6 deliveries at the price of $48.00, the per delivery price is $8.00. */
3196
- perDeliveryPrice: MoneyV2;
3197
- /** The price of the variant when it's purchased with a selling plan For example, for a prepaid subscription plan that includes 6 deliveries of $10.00 granola, where the customer gets 20% off, the price is 6 x $10.00 x 0.80 = $48.00. */
3198
- price: MoneyV2;
3199
- /** The resulting price per unit for the variant associated with the selling plan. If the variant isn't sold by quantity or measurement, then this field returns `null`. */
3200
- unitPrice?: Maybe<MoneyV2>;
3201
- };
3202
- /** The initial payment due for the purchase. */
3203
- type SellingPlanCheckoutCharge = {
3204
- __typename?: 'SellingPlanCheckoutCharge';
3205
- /** The charge type for the checkout charge. */
3206
- type: SellingPlanCheckoutChargeType;
3207
- /** The charge value for the checkout charge. */
3208
- value: SellingPlanCheckoutChargeValue;
3209
- };
3210
- /** The percentage value of the price used for checkout charge. */
3211
- type SellingPlanCheckoutChargePercentageValue = {
3212
- __typename?: 'SellingPlanCheckoutChargePercentageValue';
3213
- /** The percentage value of the price used for checkout charge. */
3214
- percentage: Scalars['Float']['output'];
3215
- };
3216
- /** The checkout charge when the full amount isn't charged at checkout. */
3217
- declare enum SellingPlanCheckoutChargeType {
3218
- /** The checkout charge is a percentage of the product or variant price. */
3219
- Percentage = "PERCENTAGE",
3220
- /** The checkout charge is a fixed price amount. */
3221
- Price = "PRICE"
3222
- }
3223
- /** The portion of the price to be charged at checkout. */
3224
- type SellingPlanCheckoutChargeValue = MoneyV2 | SellingPlanCheckoutChargePercentageValue;
3225
- /**
3226
- * An auto-generated type for paginating through multiple SellingPlans.
3227
- *
3228
- */
3229
- type SellingPlanConnection = {
3230
- __typename?: 'SellingPlanConnection';
3231
- /** A list of edges. */
3232
- edges: Array<SellingPlanEdge>;
3233
- /** A list of the nodes contained in SellingPlanEdge. */
3234
- nodes: Array<SellingPlan>;
3235
- /** Information to aid in pagination. */
3236
- pageInfo: PageInfo;
3237
- };
3238
- /**
3239
- * An auto-generated type which holds one SellingPlan and a cursor during pagination.
3240
- *
3241
- */
3242
- type SellingPlanEdge = {
3243
- __typename?: 'SellingPlanEdge';
3244
- /** A cursor for use in pagination. */
3245
- cursor: Scalars['String']['output'];
3246
- /** The item at the end of SellingPlanEdge. */
3247
- node: SellingPlan;
3248
- };
3249
- /** A fixed amount that's deducted from the original variant price. For example, $10.00 off. */
3250
- type SellingPlanFixedAmountPriceAdjustment = {
3251
- __typename?: 'SellingPlanFixedAmountPriceAdjustment';
3252
- /** The money value of the price adjustment. */
3253
- adjustmentAmount: MoneyV2;
3254
- };
3255
- /** A fixed price adjustment for a variant that's purchased with a selling plan. */
3256
- type SellingPlanFixedPriceAdjustment = {
3257
- __typename?: 'SellingPlanFixedPriceAdjustment';
3258
- /** A new price of the variant when it's purchased with the selling plan. */
3259
- price: MoneyV2;
3260
- };
3261
- /** Represents a selling method. For example, 'Subscribe and save' is a selling method where customers pay for goods or services per delivery. A selling plan group contains individual selling plans. */
3262
- type SellingPlanGroup = {
3263
- __typename?: 'SellingPlanGroup';
3264
- /** A display friendly name for the app that created the selling plan group. */
3265
- appName?: Maybe<Scalars['String']['output']>;
3266
- /** The name of the selling plan group. */
3267
- name: Scalars['String']['output'];
3268
- /** Represents the selling plan options available in the drop-down list in the storefront. For example, 'Delivery every week' or 'Delivery every 2 weeks' specifies the delivery frequency options for the product. */
3269
- options: Array<SellingPlanGroupOption>;
3270
- /** A list of selling plans in a selling plan group. A selling plan is a representation of how products and variants can be sold and purchased. For example, an individual selling plan could be '6 weeks of prepaid granola, delivered weekly'. */
3271
- sellingPlans: SellingPlanConnection;
3272
- };
3273
- /**
3274
- * An auto-generated type for paginating through multiple SellingPlanGroups.
3275
- *
3276
- */
3277
- type SellingPlanGroupConnection = {
3278
- __typename?: 'SellingPlanGroupConnection';
3279
- /** A list of edges. */
3280
- edges: Array<SellingPlanGroupEdge>;
3281
- /** A list of the nodes contained in SellingPlanGroupEdge. */
3282
- nodes: Array<SellingPlanGroup>;
3283
- /** Information to aid in pagination. */
3284
- pageInfo: PageInfo;
3285
- };
3286
- /**
3287
- * An auto-generated type which holds one SellingPlanGroup and a cursor during pagination.
3288
- *
3289
- */
3290
- type SellingPlanGroupEdge = {
3291
- __typename?: 'SellingPlanGroupEdge';
3292
- /** A cursor for use in pagination. */
3293
- cursor: Scalars['String']['output'];
3294
- /** The item at the end of SellingPlanGroupEdge. */
3295
- node: SellingPlanGroup;
3296
- };
3297
- /**
3298
- * Represents an option on a selling plan group that's available in the drop-down list in the storefront.
3299
- *
3300
- * Individual selling plans contribute their options to the associated selling plan group. For example, a selling plan group might have an option called `option1: Delivery every`. One selling plan in that group could contribute `option1: 2 weeks` with the pricing for that option, and another selling plan could contribute `option1: 4 weeks`, with different pricing.
3301
- */
3302
- type SellingPlanGroupOption = {
3303
- __typename?: 'SellingPlanGroupOption';
3304
- /** The name of the option. For example, 'Delivery every'. */
3305
- name: Scalars['String']['output'];
3306
- /** The values for the options specified by the selling plans in the selling plan group. For example, '1 week', '2 weeks', '3 weeks'. */
3307
- values: Array<Scalars['String']['output']>;
3308
- };
3309
- /** An option provided by a Selling Plan. */
3310
- type SellingPlanOption = {
3311
- __typename?: 'SellingPlanOption';
3312
- /** The name of the option (ie "Delivery every"). */
3313
- name?: Maybe<Scalars['String']['output']>;
3314
- /** The value of the option (ie "Month"). */
3315
- value?: Maybe<Scalars['String']['output']>;
3316
- };
3317
- /** A percentage amount that's deducted from the original variant price. For example, 10% off. */
3318
- type SellingPlanPercentagePriceAdjustment = {
3319
- __typename?: 'SellingPlanPercentagePriceAdjustment';
3320
- /** The percentage value of the price adjustment. */
3321
- adjustmentPercentage: Scalars['Int']['output'];
3322
- };
3323
- /** Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. If a variant has multiple price adjustments, then the first price adjustment applies when the variant is initially purchased. The second price adjustment applies after a certain number of orders (specified by the `orderCount` field) are made. If a selling plan doesn't have any price adjustments, then the unadjusted price of the variant is the effective price. */
3324
- type SellingPlanPriceAdjustment = {
3325
- __typename?: 'SellingPlanPriceAdjustment';
3326
- /** The type of price adjustment. An adjustment value can have one of three types: percentage, amount off, or a new price. */
3327
- adjustmentValue: SellingPlanPriceAdjustmentValue;
3328
- /** The number of orders that the price adjustment applies to. If the price adjustment always applies, then this field is `null`. */
3329
- orderCount?: Maybe<Scalars['Int']['output']>;
3330
- };
3331
- /** Represents by how much the price of a variant associated with a selling plan is adjusted. Each variant can have up to two price adjustments. */
3332
- type SellingPlanPriceAdjustmentValue = SellingPlanFixedAmountPriceAdjustment | SellingPlanFixedPriceAdjustment | SellingPlanPercentagePriceAdjustment;
3333
- /** A shipping rate to be applied to a checkout. */
3334
- type ShippingRate = {
3335
- __typename?: 'ShippingRate';
3336
- /** Human-readable unique identifier for this shipping rate. */
3337
- handle: Scalars['String']['output'];
3338
- /** Price of this shipping rate. */
3339
- price: MoneyV2;
3340
- /**
3341
- * Price of this shipping rate.
3342
- * @deprecated Use `price` instead.
3343
- */
3344
- priceV2: MoneyV2;
3345
- /** Title of this shipping rate. */
3346
- title: Scalars['String']['output'];
3347
- };
3348
- /** Shop represents a collection of the general settings and information about the shop. */
3349
- type Shop = HasMetafields & Node & {
3350
- __typename?: 'Shop';
3351
- /** The shop's branding configuration. */
3352
- brand?: Maybe<Brand>;
3353
- /** A description of the shop. */
3354
- description?: Maybe<Scalars['String']['output']>;
3355
- /** A globally-unique ID. */
3356
- id: Scalars['ID']['output'];
3357
- /** Returns a metafield found by namespace and key. */
3358
- metafield?: Maybe<Metafield>;
3359
- /**
3360
- * The metafields associated with the resource matching the supplied list of namespaces and keys.
3361
- *
3362
- */
3363
- metafields: Array<Maybe<Metafield>>;
3364
- /** A string representing the way currency is formatted when the currency isn’t specified. */
3365
- moneyFormat: Scalars['String']['output'];
3366
- /** The shop’s name. */
3367
- name: Scalars['String']['output'];
3368
- /** Settings related to payments. */
3369
- paymentSettings: PaymentSettings;
3370
- /** The primary domain of the shop’s Online Store. */
3371
- primaryDomain: Domain;
3372
- /** The shop’s privacy policy. */
3373
- privacyPolicy?: Maybe<ShopPolicy>;
3374
- /** The shop’s refund policy. */
3375
- refundPolicy?: Maybe<ShopPolicy>;
3376
- /** The shop’s shipping policy. */
3377
- shippingPolicy?: Maybe<ShopPolicy>;
3378
- /** Countries that the shop ships to. */
3379
- shipsToCountries: Array<CountryCode>;
3380
- /** The shop’s subscription policy. */
3381
- subscriptionPolicy?: Maybe<ShopPolicyWithDefault>;
3382
- /** The shop’s terms of service. */
3383
- termsOfService?: Maybe<ShopPolicy>;
3384
- };
3385
- /** Policy that a merchant has configured for their store, such as their refund or privacy policy. */
3386
- type ShopPolicy = Node & {
3387
- __typename?: 'ShopPolicy';
3388
- /** Policy text, maximum size of 64kb. */
3389
- body: Scalars['String']['output'];
3390
- /** Policy’s handle. */
3391
- handle: Scalars['String']['output'];
3392
- /** A globally-unique ID. */
3393
- id: Scalars['ID']['output'];
3394
- /** Policy’s title. */
3395
- title: Scalars['String']['output'];
3396
- /** Public URL to the policy. */
3397
- url: Scalars['URL']['output'];
3398
- };
3399
- /**
3400
- * A policy for the store that comes with a default value, such as a subscription policy.
3401
- * If the merchant hasn't configured a policy for their store, then the policy will return the default value.
3402
- * Otherwise, the policy will return the merchant-configured value.
3403
- *
3404
- */
3405
- type ShopPolicyWithDefault = {
3406
- __typename?: 'ShopPolicyWithDefault';
3407
- /** The text of the policy. Maximum size: 64KB. */
3408
- body: Scalars['String']['output'];
3409
- /** The handle of the policy. */
3410
- handle: Scalars['String']['output'];
3411
- /** The unique ID of the policy. A default policy doesn't have an ID. */
3412
- id?: Maybe<Scalars['ID']['output']>;
3413
- /** The title of the policy. */
3414
- title: Scalars['String']['output'];
3415
- /** Public URL to the policy. */
3416
- url: Scalars['URL']['output'];
3417
- };
3418
- /**
3419
- * The availability of a product variant at a particular location.
3420
- * Local pick-up must be enabled in the store's shipping settings, otherwise this will return an empty result.
3421
- *
3422
- */
3423
- type StoreAvailability = {
3424
- __typename?: 'StoreAvailability';
3425
- /** Whether the product variant is in-stock at this location. */
3426
- available: Scalars['Boolean']['output'];
3427
- /** The location where this product variant is stocked at. */
3428
- location: Location;
3429
- /** Returns the estimated amount of time it takes for pickup to be ready (Example: Usually ready in 24 hours). */
3430
- pickUpTime: Scalars['String']['output'];
3431
- /** The quantity of the product variant in-stock at this location. */
3432
- quantityAvailable: Scalars['Int']['output'];
3433
- };
3434
- /**
3435
- * An auto-generated type for paginating through multiple StoreAvailabilities.
3436
- *
3437
- */
3438
- type StoreAvailabilityConnection = {
3439
- __typename?: 'StoreAvailabilityConnection';
3440
- /** A list of edges. */
3441
- edges: Array<StoreAvailabilityEdge>;
3442
- /** A list of the nodes contained in StoreAvailabilityEdge. */
3443
- nodes: Array<StoreAvailability>;
3444
- /** Information to aid in pagination. */
3445
- pageInfo: PageInfo;
3446
- };
3447
- /**
3448
- * An auto-generated type which holds one StoreAvailability and a cursor during pagination.
3449
- *
3450
- */
3451
- type StoreAvailabilityEdge = {
3452
- __typename?: 'StoreAvailabilityEdge';
3453
- /** A cursor for use in pagination. */
3454
- cursor: Scalars['String']['output'];
3455
- /** The item at the end of StoreAvailabilityEdge. */
3456
- node: StoreAvailability;
3457
- };
3458
- /** Represents a resource that you can track the origin of the search traffic. */
3459
- type Trackable = {
3460
- /** A URL parameters to be added to a page URL when it is linked from a GraphQL result. This allows for tracking the origin of the traffic. */
3461
- trackingParameters?: Maybe<Scalars['String']['output']>;
3462
- };
3463
- /**
3464
- * The measurement used to calculate a unit price for a product variant (e.g. $9.99 / 100ml).
3465
- *
3466
- */
3467
- type UnitPriceMeasurement = {
3468
- __typename?: 'UnitPriceMeasurement';
3469
- /** The type of unit of measurement for the unit price measurement. */
3470
- measuredType?: Maybe<UnitPriceMeasurementMeasuredType>;
3471
- /** The quantity unit for the unit price measurement. */
3472
- quantityUnit?: Maybe<UnitPriceMeasurementMeasuredUnit>;
3473
- /** The quantity value for the unit price measurement. */
3474
- quantityValue: Scalars['Float']['output'];
3475
- /** The reference unit for the unit price measurement. */
3476
- referenceUnit?: Maybe<UnitPriceMeasurementMeasuredUnit>;
3477
- /** The reference value for the unit price measurement. */
3478
- referenceValue: Scalars['Int']['output'];
3479
- };
3480
- /** The accepted types of unit of measurement. */
3481
- declare enum UnitPriceMeasurementMeasuredType {
3482
- /** Unit of measurements representing areas. */
3483
- Area = "AREA",
3484
- /** Unit of measurements representing lengths. */
3485
- Length = "LENGTH",
3486
- /** Unit of measurements representing volumes. */
3487
- Volume = "VOLUME",
3488
- /** Unit of measurements representing weights. */
3489
- Weight = "WEIGHT"
3490
- }
3491
- /** The valid units of measurement for a unit price measurement. */
3492
- declare enum UnitPriceMeasurementMeasuredUnit {
3493
- /** 100 centiliters equals 1 liter. */
3494
- Cl = "CL",
3495
- /** 100 centimeters equals 1 meter. */
3496
- Cm = "CM",
3497
- /** Metric system unit of weight. */
3498
- G = "G",
3499
- /** 1 kilogram equals 1000 grams. */
3500
- Kg = "KG",
3501
- /** Metric system unit of volume. */
3502
- L = "L",
3503
- /** Metric system unit of length. */
3504
- M = "M",
3505
- /** Metric system unit of area. */
3506
- M2 = "M2",
3507
- /** 1 cubic meter equals 1000 liters. */
3508
- M3 = "M3",
3509
- /** 1000 milligrams equals 1 gram. */
3510
- Mg = "MG",
3511
- /** 1000 milliliters equals 1 liter. */
3512
- Ml = "ML",
3513
- /** 1000 millimeters equals 1 meter. */
3514
- Mm = "MM"
3515
- }
3516
- /** Represents a Shopify hosted video. */
3517
- type Video = Media & Node & {
3518
- __typename?: 'Video';
3519
- /** A word or phrase to share the nature or contents of a media. */
3520
- alt?: Maybe<Scalars['String']['output']>;
3521
- /** A globally-unique ID. */
3522
- id: Scalars['ID']['output'];
3523
- /** The media content type. */
3524
- mediaContentType: MediaContentType;
3525
- /** The presentation for a media. */
3526
- presentation?: Maybe<MediaPresentation>;
3527
- /** The preview image for the media. */
3528
- previewImage?: Maybe<Image>;
3529
- /** The sources for a video. */
3530
- sources: Array<VideoSource>;
3531
- };
3532
- /** Represents a source for a Shopify hosted video. */
3533
- type VideoSource = {
3534
- __typename?: 'VideoSource';
3535
- /** The format of the video source. */
3536
- format: Scalars['String']['output'];
3537
- /** The height of the video. */
3538
- height: Scalars['Int']['output'];
3539
- /** The video MIME type. */
3540
- mimeType: Scalars['String']['output'];
3541
- /** The URL of the video. */
3542
- url: Scalars['String']['output'];
3543
- /** The width of the video. */
3544
- width: Scalars['Int']['output'];
3545
- };
3546
- /** Units of measurement for weight. */
3547
- declare enum WeightUnit {
3548
- /** Metric system unit of mass. */
3549
- Grams = "GRAMS",
3550
- /** 1 kilogram equals 1000 grams. */
3551
- Kilograms = "KILOGRAMS",
3552
- /** Imperial system unit of mass. */
3553
- Ounces = "OUNCES",
3554
- /** 1 pound equals 16 ounces. */
3555
- Pounds = "POUNDS"
3556
- }
3557
-
3558
- export type { Article as A, BaseCartLine as B, Cart as C, DeliveryAddress as D, HasMetafieldsIdentifier as H, Image as I, Media as M, ProductVariant as P, Product as a, Maybe as b, Collection as c, ArticleEdge as d, CartInput as e };