@sixtyninecommerce/client 0.30.0 → 0.32.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (361) hide show
  1. package/README.md +574 -14
  2. package/dist/admin/http.d.ts.map +1 -1
  3. package/dist/admin/http.js.map +1 -1
  4. package/dist/admin/types.d.ts.map +1 -1
  5. package/dist/build-client.d.ts +9 -0
  6. package/dist/build-client.d.ts.map +1 -0
  7. package/dist/build-client.js +58 -0
  8. package/dist/build-client.js.map +1 -0
  9. package/dist/cache-tags.d.ts +35 -1
  10. package/dist/cache-tags.d.ts.map +1 -1
  11. package/dist/cache-tags.js +39 -1
  12. package/dist/cache-tags.js.map +1 -1
  13. package/dist/client.d.ts +25 -0
  14. package/dist/client.d.ts.map +1 -1
  15. package/dist/client.js +9 -62
  16. package/dist/client.js.map +1 -1
  17. package/dist/commerce/age-verification.d.ts +7 -4
  18. package/dist/commerce/age-verification.d.ts.map +1 -1
  19. package/dist/commerce/age-verification.js +6 -4
  20. package/dist/commerce/age-verification.js.map +1 -1
  21. package/dist/commerce/arguments.d.ts +13 -0
  22. package/dist/commerce/arguments.d.ts.map +1 -0
  23. package/dist/commerce/arguments.js +19 -0
  24. package/dist/commerce/arguments.js.map +1 -0
  25. package/dist/commerce/branding.d.ts.map +1 -1
  26. package/dist/commerce/branding.js.map +1 -1
  27. package/dist/commerce/capabilities.d.ts +40 -0
  28. package/dist/commerce/capabilities.d.ts.map +1 -0
  29. package/dist/commerce/capabilities.js +41 -0
  30. package/dist/commerce/capabilities.js.map +1 -0
  31. package/dist/commerce/cart.d.ts +9 -12
  32. package/dist/commerce/cart.d.ts.map +1 -1
  33. package/dist/commerce/cart.js +6 -1
  34. package/dist/commerce/cart.js.map +1 -1
  35. package/dist/commerce/checkout.d.ts +95 -15
  36. package/dist/commerce/checkout.d.ts.map +1 -1
  37. package/dist/commerce/checkout.js +230 -10
  38. package/dist/commerce/checkout.js.map +1 -1
  39. package/dist/commerce/customer.d.ts +83 -38
  40. package/dist/commerce/customer.d.ts.map +1 -1
  41. package/dist/commerce/customer.js +149 -10
  42. package/dist/commerce/customer.js.map +1 -1
  43. package/dist/commerce/favorites.d.ts +2 -5
  44. package/dist/commerce/favorites.d.ts.map +1 -1
  45. package/dist/commerce/favorites.js.map +1 -1
  46. package/dist/commerce/index.d.ts +194 -133
  47. package/dist/commerce/index.d.ts.map +1 -1
  48. package/dist/commerce/index.js +15 -0
  49. package/dist/commerce/index.js.map +1 -1
  50. package/dist/commerce/order-states.d.ts +18 -0
  51. package/dist/commerce/order-states.d.ts.map +1 -0
  52. package/dist/commerce/order-states.js +30 -0
  53. package/dist/commerce/order-states.js.map +1 -0
  54. package/dist/commerce/parcel-pricing.d.ts +48 -0
  55. package/dist/commerce/parcel-pricing.d.ts.map +1 -0
  56. package/dist/commerce/parcel-pricing.js +39 -0
  57. package/dist/commerce/parcel-pricing.js.map +1 -0
  58. package/dist/commerce/parked-orders.d.ts +22 -0
  59. package/dist/commerce/parked-orders.d.ts.map +1 -0
  60. package/dist/commerce/parked-orders.js +47 -0
  61. package/dist/commerce/parked-orders.js.map +1 -0
  62. package/dist/commerce/payments.d.ts +12 -5
  63. package/dist/commerce/payments.d.ts.map +1 -1
  64. package/dist/commerce/payments.js +10 -1
  65. package/dist/commerce/payments.js.map +1 -1
  66. package/dist/commerce/placement-error.d.ts +17 -0
  67. package/dist/commerce/placement-error.d.ts.map +1 -1
  68. package/dist/commerce/placement-error.js.map +1 -1
  69. package/dist/commerce/products.d.ts +92 -38
  70. package/dist/commerce/products.d.ts.map +1 -1
  71. package/dist/commerce/products.js +157 -123
  72. package/dist/commerce/products.js.map +1 -1
  73. package/dist/commerce/queries.d.ts +216 -49
  74. package/dist/commerce/queries.d.ts.map +1 -1
  75. package/dist/commerce/queries.js +1347 -743
  76. package/dist/commerce/queries.js.map +1 -1
  77. package/dist/commerce/quotes.d.ts +5 -4
  78. package/dist/commerce/quotes.d.ts.map +1 -1
  79. package/dist/commerce/quotes.js +1 -36
  80. package/dist/commerce/quotes.js.map +1 -1
  81. package/dist/commerce/receipt-claim.d.ts +35 -0
  82. package/dist/commerce/receipt-claim.d.ts.map +1 -0
  83. package/dist/commerce/receipt-claim.js +66 -0
  84. package/dist/commerce/receipt-claim.js.map +1 -0
  85. package/dist/commerce/recommendations.d.ts +3 -3
  86. package/dist/commerce/recommendations.d.ts.map +1 -1
  87. package/dist/commerce/recommendations.js +3 -1
  88. package/dist/commerce/recommendations.js.map +1 -1
  89. package/dist/commerce/returns.d.ts +7 -6
  90. package/dist/commerce/returns.d.ts.map +1 -1
  91. package/dist/commerce/returns.js +24 -3
  92. package/dist/commerce/returns.js.map +1 -1
  93. package/dist/commerce/reviews.d.ts +24 -15
  94. package/dist/commerce/reviews.d.ts.map +1 -1
  95. package/dist/commerce/reviews.js +67 -50
  96. package/dist/commerce/reviews.js.map +1 -1
  97. package/dist/commerce/saved-lists.d.ts +15 -15
  98. package/dist/commerce/saved-lists.d.ts.map +1 -1
  99. package/dist/commerce/saved-lists.js +67 -56
  100. package/dist/commerce/saved-lists.js.map +1 -1
  101. package/dist/commerce/search.d.ts +3 -2
  102. package/dist/commerce/search.d.ts.map +1 -1
  103. package/dist/commerce/search.js +2 -2
  104. package/dist/commerce/search.js.map +1 -1
  105. package/dist/commerce/shipping.d.ts +11 -4
  106. package/dist/commerce/shipping.d.ts.map +1 -1
  107. package/dist/commerce/shipping.js +17 -2
  108. package/dist/commerce/shipping.js.map +1 -1
  109. package/dist/commerce/stock-notifications.d.ts +2 -0
  110. package/dist/commerce/stock-notifications.d.ts.map +1 -1
  111. package/dist/commerce/stock-notifications.js +2 -2
  112. package/dist/commerce/stock-notifications.js.map +1 -1
  113. package/dist/commerce/store-pickup.d.ts +37 -0
  114. package/dist/commerce/store-pickup.d.ts.map +1 -0
  115. package/dist/commerce/store-pickup.js +66 -0
  116. package/dist/commerce/store-pickup.js.map +1 -0
  117. package/dist/commerce/subscriptions.d.ts +35 -37
  118. package/dist/commerce/subscriptions.d.ts.map +1 -1
  119. package/dist/commerce/subscriptions.js +159 -120
  120. package/dist/commerce/subscriptions.js.map +1 -1
  121. package/dist/commerce/vat-validation.d.ts +6 -3
  122. package/dist/commerce/vat-validation.d.ts.map +1 -1
  123. package/dist/commerce/vat-validation.js +24 -19
  124. package/dist/commerce/vat-validation.js.map +1 -1
  125. package/dist/constants.d.ts.map +1 -1
  126. package/dist/constants.js.map +1 -1
  127. package/dist/content/assets.d.ts +5 -4
  128. package/dist/content/assets.d.ts.map +1 -1
  129. package/dist/content/assets.js.map +1 -1
  130. package/dist/content/collection-pages.d.ts +3 -2
  131. package/dist/content/collection-pages.d.ts.map +1 -1
  132. package/dist/content/collection-pages.js.map +1 -1
  133. package/dist/content/collections.d.ts +5 -4
  134. package/dist/content/collections.d.ts.map +1 -1
  135. package/dist/content/collections.js.map +1 -1
  136. package/dist/content/filtered-products.d.ts.map +1 -1
  137. package/dist/content/filtered-products.js.map +1 -1
  138. package/dist/content/form-field-types.d.ts +3 -3
  139. package/dist/content/form-field-types.d.ts.map +1 -1
  140. package/dist/content/form-field-types.js.map +1 -1
  141. package/dist/content/forms.d.ts +4 -3
  142. package/dist/content/forms.d.ts.map +1 -1
  143. package/dist/content/forms.js +3 -0
  144. package/dist/content/forms.js.map +1 -1
  145. package/dist/content/index.d.ts +18 -17
  146. package/dist/content/index.d.ts.map +1 -1
  147. package/dist/content/items.d.ts +5 -4
  148. package/dist/content/items.d.ts.map +1 -1
  149. package/dist/content/items.js +2 -0
  150. package/dist/content/items.js.map +1 -1
  151. package/dist/content/menus.d.ts +3 -2
  152. package/dist/content/menus.d.ts.map +1 -1
  153. package/dist/content/menus.js +7 -1
  154. package/dist/content/menus.js.map +1 -1
  155. package/dist/content/resolve.d.ts +3 -2
  156. package/dist/content/resolve.d.ts.map +1 -1
  157. package/dist/content/resolve.js +1 -1
  158. package/dist/content/resolve.js.map +1 -1
  159. package/dist/content/sitemap.d.ts +3 -2
  160. package/dist/content/sitemap.d.ts.map +1 -1
  161. package/dist/content/sitemap.js.map +1 -1
  162. package/dist/content/strings.d.ts +16 -2
  163. package/dist/content/strings.d.ts.map +1 -1
  164. package/dist/content/strings.js +32 -4
  165. package/dist/content/strings.js.map +1 -1
  166. package/dist/core/context.d.ts +127 -1
  167. package/dist/core/context.d.ts.map +1 -1
  168. package/dist/core/context.js +436 -45
  169. package/dist/core/context.js.map +1 -1
  170. package/dist/core/currency.d.ts +14 -0
  171. package/dist/core/currency.d.ts.map +1 -0
  172. package/dist/core/currency.js +52 -0
  173. package/dist/core/currency.js.map +1 -0
  174. package/dist/core/deprecation.d.ts +23 -0
  175. package/dist/core/deprecation.d.ts.map +1 -0
  176. package/dist/core/deprecation.js +81 -0
  177. package/dist/core/deprecation.js.map +1 -0
  178. package/dist/core/http.d.ts +15 -1
  179. package/dist/core/http.d.ts.map +1 -1
  180. package/dist/core/http.js +55 -3
  181. package/dist/core/http.js.map +1 -1
  182. package/dist/core/public-artifact.d.ts +72 -0
  183. package/dist/core/public-artifact.d.ts.map +1 -0
  184. package/dist/core/public-artifact.js +122 -0
  185. package/dist/core/public-artifact.js.map +1 -0
  186. package/dist/core/unknown-field-rejection.d.ts +18 -0
  187. package/dist/core/unknown-field-rejection.d.ts.map +1 -0
  188. package/dist/core/unknown-field-rejection.js +37 -0
  189. package/dist/core/unknown-field-rejection.js.map +1 -0
  190. package/dist/credit/credit-status.d.ts +2 -0
  191. package/dist/credit/credit-status.d.ts.map +1 -1
  192. package/dist/credit/credit-status.js +71 -19
  193. package/dist/credit/credit-status.js.map +1 -1
  194. package/dist/credit/index.d.ts +1 -1
  195. package/dist/credit/payment-terms.d.ts +3 -3
  196. package/dist/credit/payment-terms.d.ts.map +1 -1
  197. package/dist/credit/payment-terms.js +28 -24
  198. package/dist/credit/payment-terms.js.map +1 -1
  199. package/dist/currency/exchange.d.ts +7 -7
  200. package/dist/currency/exchange.d.ts.map +1 -1
  201. package/dist/currency/exchange.js +5 -1
  202. package/dist/currency/exchange.js.map +1 -1
  203. package/dist/errors.d.ts +17 -0
  204. package/dist/errors.d.ts.map +1 -1
  205. package/dist/errors.js +13 -0
  206. package/dist/errors.js.map +1 -1
  207. package/dist/events/index.d.ts +20 -7
  208. package/dist/events/index.d.ts.map +1 -1
  209. package/dist/events/index.js +17 -5
  210. package/dist/events/index.js.map +1 -1
  211. package/dist/events/payloads.d.ts +7 -4
  212. package/dist/events/payloads.d.ts.map +1 -1
  213. package/dist/events/payloads.js +6 -3
  214. package/dist/events/payloads.js.map +1 -1
  215. package/dist/feeds/index.d.ts +5 -0
  216. package/dist/feeds/index.d.ts.map +1 -0
  217. package/dist/feeds/index.js +12 -0
  218. package/dist/feeds/index.js.map +1 -0
  219. package/dist/feeds/types.d.ts +18 -0
  220. package/dist/feeds/types.d.ts.map +1 -0
  221. package/dist/feeds/types.js +8 -0
  222. package/dist/feeds/types.js.map +1 -0
  223. package/dist/generated/cms.d.ts +2136 -0
  224. package/dist/generated/cms.d.ts.map +1 -0
  225. package/dist/generated/cms.js +4 -0
  226. package/dist/generated/cms.js.map +1 -0
  227. package/dist/generated/plugins.d.ts +550 -0
  228. package/dist/generated/plugins.d.ts.map +1 -0
  229. package/dist/generated/plugins.js +4 -0
  230. package/dist/generated/plugins.js.map +1 -0
  231. package/dist/generated/shop.d.ts +5663 -0
  232. package/dist/generated/shop.d.ts.map +1 -0
  233. package/dist/generated/shop.js +5 -0
  234. package/dist/generated/shop.js.map +1 -0
  235. package/dist/graphql-document.d.ts +29 -0
  236. package/dist/graphql-document.d.ts.map +1 -0
  237. package/dist/graphql-document.js +21 -0
  238. package/dist/graphql-document.js.map +1 -0
  239. package/dist/index.d.ts +10 -4
  240. package/dist/index.d.ts.map +1 -1
  241. package/dist/index.js +5 -2
  242. package/dist/index.js.map +1 -1
  243. package/dist/media/urls.d.ts.map +1 -1
  244. package/dist/media/urls.js +12 -1
  245. package/dist/media/urls.js.map +1 -1
  246. package/dist/media/video.d.ts.map +1 -1
  247. package/dist/media/video.js.map +1 -1
  248. package/dist/multi-store.d.ts +200 -0
  249. package/dist/multi-store.d.ts.map +1 -0
  250. package/dist/multi-store.js +558 -0
  251. package/dist/multi-store.js.map +1 -0
  252. package/dist/navigation/routes.d.ts +4 -3
  253. package/dist/navigation/routes.d.ts.map +1 -1
  254. package/dist/navigation/routes.js.map +1 -1
  255. package/dist/next/artifact-handler.d.ts +21 -13
  256. package/dist/next/artifact-handler.d.ts.map +1 -1
  257. package/dist/next/artifact-handler.js +28 -66
  258. package/dist/next/artifact-handler.js.map +1 -1
  259. package/dist/next/event-revalidate-handler.d.ts +26 -6
  260. package/dist/next/event-revalidate-handler.d.ts.map +1 -1
  261. package/dist/next/event-revalidate-handler.js +126 -19
  262. package/dist/next/event-revalidate-handler.js.map +1 -1
  263. package/dist/next/feed-handler.d.ts +50 -0
  264. package/dist/next/feed-handler.d.ts.map +1 -0
  265. package/dist/next/feed-handler.js +61 -0
  266. package/dist/next/feed-handler.js.map +1 -0
  267. package/dist/next/index.d.ts +3 -1
  268. package/dist/next/index.d.ts.map +1 -1
  269. package/dist/next/index.js +1 -0
  270. package/dist/next/index.js.map +1 -1
  271. package/dist/next/metadata.d.ts.map +1 -1
  272. package/dist/next/metadata.js.map +1 -1
  273. package/dist/next/redirect-middleware.d.ts +5 -31
  274. package/dist/next/redirect-middleware.d.ts.map +1 -1
  275. package/dist/next/redirect-middleware.js +4 -46
  276. package/dist/next/redirect-middleware.js.map +1 -1
  277. package/dist/next/revalidate-handler.d.ts.map +1 -1
  278. package/dist/next/revalidate-handler.js.map +1 -1
  279. package/dist/pricing/index.d.ts.map +1 -1
  280. package/dist/pricing/index.js.map +1 -1
  281. package/dist/pricing/tax-display.js +1 -1
  282. package/dist/pricing/tax-display.js.map +1 -1
  283. package/dist/pricing/tiers.d.ts +3 -2
  284. package/dist/pricing/tiers.d.ts.map +1 -1
  285. package/dist/pricing/tiers.js.map +1 -1
  286. package/dist/pricing/validation.d.ts +88 -12
  287. package/dist/pricing/validation.d.ts.map +1 -1
  288. package/dist/pricing/validation.js +93 -12
  289. package/dist/pricing/validation.js.map +1 -1
  290. package/dist/redirects/index.d.ts.map +1 -1
  291. package/dist/redirects/index.js +2 -1
  292. package/dist/redirects/index.js.map +1 -1
  293. package/dist/redirects/store.d.ts.map +1 -1
  294. package/dist/redirects/store.js +6 -2
  295. package/dist/redirects/store.js.map +1 -1
  296. package/dist/redirects/types.d.ts +5 -2
  297. package/dist/redirects/types.d.ts.map +1 -1
  298. package/dist/revalidation/event-plan.d.ts +55 -4
  299. package/dist/revalidation/event-plan.d.ts.map +1 -1
  300. package/dist/revalidation/event-plan.js +115 -8
  301. package/dist/revalidation/event-plan.js.map +1 -1
  302. package/dist/revalidation/event-verify.d.ts +8 -37
  303. package/dist/revalidation/event-verify.d.ts.map +1 -1
  304. package/dist/revalidation/event-verify.js +7 -97
  305. package/dist/revalidation/event-verify.js.map +1 -1
  306. package/dist/revalidation/types.d.ts.map +1 -1
  307. package/dist/revalidation/url-context.d.ts +17 -0
  308. package/dist/revalidation/url-context.d.ts.map +1 -1
  309. package/dist/revalidation/url-context.js +35 -2
  310. package/dist/revalidation/url-context.js.map +1 -1
  311. package/dist/seo/ai.d.ts.map +1 -1
  312. package/dist/seo/ai.js.map +1 -1
  313. package/dist/seo/artifacts.d.ts +86 -4
  314. package/dist/seo/artifacts.d.ts.map +1 -1
  315. package/dist/seo/artifacts.js +115 -16
  316. package/dist/seo/artifacts.js.map +1 -1
  317. package/dist/seo/availability.d.ts +2 -2
  318. package/dist/seo/availability.d.ts.map +1 -1
  319. package/dist/seo/availability.js.map +1 -1
  320. package/dist/seo/index.d.ts +2 -0
  321. package/dist/seo/index.d.ts.map +1 -1
  322. package/dist/seo/index.js +3 -1
  323. package/dist/seo/index.js.map +1 -1
  324. package/dist/seo/json-ld.d.ts.map +1 -1
  325. package/dist/seo/json-ld.js.map +1 -1
  326. package/dist/seo/meta-tags.d.ts.map +1 -1
  327. package/dist/seo/meta-tags.js.map +1 -1
  328. package/dist/seo/metadata-parser.d.ts.map +1 -1
  329. package/dist/seo/metadata-parser.js.map +1 -1
  330. package/dist/seo/metadata-types.d.ts.map +1 -1
  331. package/dist/seo/robots.d.ts.map +1 -1
  332. package/dist/seo/robots.js.map +1 -1
  333. package/dist/seo/types.d.ts +9 -2
  334. package/dist/seo/types.d.ts.map +1 -1
  335. package/dist/seo/url-builder.d.ts +5 -3
  336. package/dist/seo/url-builder.d.ts.map +1 -1
  337. package/dist/seo/url-builder.js +3 -1
  338. package/dist/seo/url-builder.js.map +1 -1
  339. package/dist/types.d.ts +1381 -2537
  340. package/dist/types.d.ts.map +1 -1
  341. package/dist/web/artifact-responder.d.ts +69 -0
  342. package/dist/web/artifact-responder.d.ts.map +1 -0
  343. package/dist/web/artifact-responder.js +90 -0
  344. package/dist/web/artifact-responder.js.map +1 -0
  345. package/dist/web/feed-responder.d.ts +72 -0
  346. package/dist/web/feed-responder.d.ts.map +1 -0
  347. package/dist/web/feed-responder.js +81 -0
  348. package/dist/web/feed-responder.js.map +1 -0
  349. package/dist/web/index.d.ts +23 -0
  350. package/dist/web/index.d.ts.map +1 -0
  351. package/dist/web/index.js +19 -0
  352. package/dist/web/index.js.map +1 -0
  353. package/dist/web/redirect-middleware.d.ts +76 -0
  354. package/dist/web/redirect-middleware.d.ts.map +1 -0
  355. package/dist/web/redirect-middleware.js +94 -0
  356. package/dist/web/redirect-middleware.js.map +1 -0
  357. package/dist/web/respond.d.ts +20 -0
  358. package/dist/web/respond.d.ts.map +1 -0
  359. package/dist/web/respond.js +52 -0
  360. package/dist/web/respond.js.map +1 -0
  361. package/package.json +18 -2
@@ -1,6 +1,30 @@
1
- export declare const GET_PRODUCT = "\n query GetProduct($slug: String!) {\n product(slug: $slug) {\n id name slug description\n availability { state availableFrom orderable }\n featuredAsset {\n source name width height\n customFields { altText }\n presets {\n xxs { url webpUrl } xs { url webpUrl }\n s { url webpUrl } m { url webpUrl }\n l { url webpUrl } xl { url webpUrl }\n }\n }\n assets {\n source name width height\n customFields { altText }\n presets {\n xs { url webpUrl } m { url webpUrl }\n l { url webpUrl } xl { url webpUrl }\n }\n }\n variants {\n id name sku\n price priceWithTax currencyCode stockLevel\n stockOnHand stockAllocated saleable\n incomingStock projectedSaleable nextExpectedArrival\n backorderAllowance\n availability { state availableFrom orderable }\n priceListName retailPrice retailPriceWithTax taxRateApplied { value }\n priceTiers { minQuantity price priceWithTax discountLabel }\n availabilityByLocation { locationId locationName inStock }\n options { id code name group { id name code } }\n customFields { minOrderQuantity salesUnit position }\n featuredAsset {\n source name width height\n customFields { altText }\n presets { xs { url webpUrl } m { url webpUrl } }\n }\n assets {\n source name width height\n customFields { altText }\n presets { m { url webpUrl } l { url webpUrl } }\n }\n }\n optionGroups { id name code options { id name code } }\n facetValues { id name code facet { id name code } }\n translations { languageCode name slug description }\n collections {\n id name slug position\n parent { id slug }\n translations { languageCode name slug }\n customFields { isRoutable isCanonical }\n }\n documents {\n id position title description fileUrl fileMimeType fileSize fileName requiresAuth\n }\n \n metadata {\n seoTitle seoDescription canonicalUrl\n socialTitle socialDescription socialImageAlt socialOgType\n socialImage {\n source name\n customFields { altText }\n presets {\n xs { url webpUrl } m { url webpUrl }\n l { url webpUrl } xl { url webpUrl }\n }\n }\n twitterCardType twitterTitleOverride twitterDescriptionOverride\n twitterImageOverride {\n source name\n customFields { altText }\n presets {\n xs { url webpUrl } m { url webpUrl }\n l { url webpUrl } xl { url webpUrl }\n }\n }\n aiSummary qaPairs qaEmitFaqpageJsonld\n breadcrumbOverride hreflangOverrides\n metaRobots resolvedBotDirectives\n includeReviewsInJsonld\n }\n\n }\n }\n";
2
- export declare const GET_PRODUCT_BY_ID = "\n query GetProductById($id: ID!) {\n product(id: $id) {\n id name slug description\n availability { state availableFrom orderable }\n featuredAsset {\n source name width height\n customFields { altText }\n presets {\n xxs { url webpUrl } xs { url webpUrl }\n s { url webpUrl } m { url webpUrl }\n l { url webpUrl } xl { url webpUrl }\n }\n }\n assets {\n source name width height\n customFields { altText }\n presets {\n xs { url webpUrl } m { url webpUrl }\n l { url webpUrl } xl { url webpUrl }\n }\n }\n variants {\n id name sku\n price priceWithTax currencyCode stockLevel\n stockOnHand stockAllocated saleable\n incomingStock projectedSaleable nextExpectedArrival\n backorderAllowance\n availability { state availableFrom orderable }\n priceListName retailPrice retailPriceWithTax taxRateApplied { value }\n priceTiers { minQuantity price priceWithTax discountLabel }\n availabilityByLocation { locationId locationName inStock }\n options { id code name group { id name code } }\n customFields { minOrderQuantity salesUnit position }\n featuredAsset {\n source name width height\n customFields { altText }\n presets { xs { url webpUrl } m { url webpUrl } }\n }\n assets {\n source name width height\n customFields { altText }\n presets { m { url webpUrl } l { url webpUrl } }\n }\n }\n optionGroups { id name code options { id name code } }\n facetValues { id name code facet { id name code } }\n translations { languageCode name slug description }\n collections {\n id name slug position\n parent { id slug }\n translations { languageCode name slug }\n customFields { isRoutable isCanonical }\n }\n documents {\n id position title description fileUrl fileMimeType fileSize fileName requiresAuth\n }\n \n metadata {\n seoTitle seoDescription canonicalUrl\n socialTitle socialDescription socialImageAlt socialOgType\n socialImage {\n source name\n customFields { altText }\n presets {\n xs { url webpUrl } m { url webpUrl }\n l { url webpUrl } xl { url webpUrl }\n }\n }\n twitterCardType twitterTitleOverride twitterDescriptionOverride\n twitterImageOverride {\n source name\n customFields { altText }\n presets {\n xs { url webpUrl } m { url webpUrl }\n l { url webpUrl } xl { url webpUrl }\n }\n }\n aiSummary qaPairs qaEmitFaqpageJsonld\n breadcrumbOverride hreflangOverrides\n metaRobots resolvedBotDirectives\n includeReviewsInJsonld\n }\n\n }\n }\n";
3
- export declare const LIST_PRODUCTS = "\n query ListProducts($options: ProductListOptions) {\n products(options: $options) {\n items {\n id name slug description enabled\n featuredAsset {\n source name width height\n customFields { altText }\n presets { xs { url webpUrl } m { url webpUrl } l { url webpUrl } }\n }\n variants {\n id name sku\n price priceWithTax currencyCode stockLevel\n stockOnHand stockAllocated saleable\n incomingStock projectedSaleable nextExpectedArrival\n backorderAllowance\n availability { state availableFrom orderable }\n priceListName retailPrice retailPriceWithTax taxRateApplied { value }\n priceTiers { minQuantity price priceWithTax discountLabel }\n availabilityByLocation { locationId locationName inStock }\n customFields { minOrderQuantity salesUnit position }\n }\n facetValues { id name code facet { id name code } }\n translations { languageCode name slug description }\n collections {\n id name slug position\n parent { id slug }\n translations { languageCode name slug }\n customFields { isRoutable isCanonical }\n }\n }\n totalItems\n }\n }\n";
1
+ /** The merchant publication state — the same three fields wherever it is read. */
2
+ export declare const PRODUCT_AVAILABILITY_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
3
+ export declare const PRICE_TIER_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
4
+ export declare const VARIANT_LOCATION_AVAILABILITY_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
5
+ export declare const FACET_VALUE_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
6
+ /**
7
+ * A product's collections, as canonical/hreflang resolution reads them.
8
+ *
9
+ * The parent's `slug` is load-bearing: a top-level collection is parented to
10
+ * the `__root_collection__` SENTINEL (Vendure resolves `parent` to null only
11
+ * when the real parent is PRIVATE), so the slug is what tells "root" from
12
+ * "nested" — see `isUserFacingRoot`.
13
+ */
14
+ export declare const COLLECTION_REF_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
15
+ /**
16
+ * `Product.metadata` (vendure-plugin-product-metadata). The server already
17
+ * picks the active-language translation and composes `metaRobots` +
18
+ * `resolvedBotDirectives` — the SDK only validates and type-narrows the
19
+ * JSON-scalar fields at the boundary (`parseProductMetadata`).
20
+ */
21
+ export declare const PRODUCT_METADATA_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
22
+ /** A variant as the product DETAIL read returns it. */
23
+ export declare const PRODUCT_VARIANT_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
24
+ /** The product DETAIL read (`getProduct`, `getProductById`). */
25
+ export declare const PRODUCT_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
26
+ /** A row of the full product LIST (`getProducts`, the default `detail`). */
27
+ export declare const PRODUCT_SUMMARY_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
4
28
  /**
5
29
  * The card selection: what a product GRID tile renders, and nothing else.
6
30
  *
@@ -41,9 +65,15 @@ export declare const LIST_PRODUCTS = "\n query ListProducts($options: ProductLi
41
65
  * `customFields.isCanonical` + `parent.slug` + `position`, and its localized
42
66
  * slug from the translations. A card row still satisfies `ProductForSeo`
43
67
  * structurally, so omitting these does not fail to compile — it silently
44
- * hands every product the FLAT path. Note these cost bytes, not queries:
45
- * Vendure resolves `Product.collections` in one query per product whichever
46
- * subfields are asked for.
68
+ * hands every product the FLAT path. Cost: a constant number of queries per
69
+ * page, not per row. The platform batches `Product.collections` for every
70
+ * product of the page into ONE statement and `parent` for every listed
71
+ * collection into one more (`services/vendure/src/collection-batching`),
72
+ * and `translations` / `customFields` come back in those same rows. Core
73
+ * Vendure alone ran one query per product plus one per listed collection
74
+ * — measured 419 statements for an 80-product page, 2 with the batching.
75
+ * Not batched: `featuredAsset`, `children`, `breadcrumbs` or
76
+ * `productVariants` under `collections` still cost a query per collection.
47
77
  * - `priceTiers` — the SDK's own `getPriceDisplay()` reads
48
78
  * `variant.priceTiers?.length ? … : null`, so an ABSENT ladder is
49
79
  * indistinguishable from "this variant has no tiers": a tile would quietly
@@ -57,34 +87,123 @@ export declare const LIST_PRODUCTS = "\n query ListProducts($options: ProductLi
57
87
  * Reached with `getProducts(..., { detail: 'card' })`. The default stays
58
88
  * `LIST_PRODUCTS`, so no existing caller changes behaviour.
59
89
  */
60
- export declare const LIST_PRODUCT_CARDS = "\n query ListProductCards($options: ProductListOptions) {\n products(options: $options) {\n items {\n id name slug enabled\n featuredAsset {\n source name width height\n customFields { altText }\n presets { xs { url webpUrl } m { url webpUrl } l { url webpUrl } }\n }\n variants {\n id name sku\n price priceWithTax currencyCode stockLevel saleable backorderAllowance\n availability { state availableFrom orderable }\n priceListName retailPrice retailPriceWithTax taxRateApplied { value }\n priceTiers { minQuantity price priceWithTax discountLabel }\n customFields { minOrderQuantity salesUnit position }\n }\n facetValues { id name code facet { id name code } }\n translations { languageCode name slug }\n collections {\n id name slug position\n parent { id slug }\n translations { languageCode name slug }\n customFields { isRoutable isCanonical }\n }\n }\n totalItems\n }\n }\n";
61
- export declare const LIST_FACETS = "\n query ListFacets {\n facets {\n items {\n id name code\n values { id name code }\n }\n totalItems\n }\n }\n";
62
- export declare const LIST_COLLECTIONS = "\n query ListCollections($options: CollectionListOptions) {\n collections(options: $options) {\n items {\n id name slug description\n breadcrumbs { id name slug }\n featuredAsset {\n source width height\n presets { xs { url webpUrl } m { url webpUrl } }\n }\n parent { id name slug }\n children { id name slug }\n }\n totalItems\n }\n }\n";
63
- export declare const GET_COLLECTION = "\n query GetCollection($slug: String!) {\n collection(slug: $slug) {\n id name slug description position\n featuredAsset {\n source width height\n presets { l { url webpUrl } xl { url webpUrl } }\n }\n breadcrumbs { id name slug }\n parent { id }\n children { id name slug }\n customFields {\n isRoutable\n isCanonical\n noindex\n nofollow\n metaRobotsMaxImagePreview\n socialImageId\n socialOgType\n twitterCardType\n }\n translations {\n languageCode\n name\n slug\n customFields {\n seoTitle\n seoDescription\n canonicalUrl\n socialTitle\n socialDescription\n socialImageAlt\n }\n }\n productVariants(options: { take: 20 }) {\n items {\n id\n product {\n id name slug\n featuredAsset { source width height presets { m { url webpUrl } } }\n }\n price priceWithTax currencyCode stockLevel\n stockOnHand stockAllocated saleable\n incomingStock projectedSaleable nextExpectedArrival\n backorderAllowance\n availability { state availableFrom orderable }\n priceListName retailPrice retailPriceWithTax taxRateApplied { value }\n priceTiers { minQuantity price priceWithTax discountLabel }\n availabilityByLocation { locationId locationName inStock }\n customFields { minOrderQuantity salesUnit position }\n }\n totalItems\n }\n }\n }\n";
64
- export declare const GET_COLLECTION_BY_ID = "\n query GetCollectionById($id: ID!) {\n collection(id: $id) {\n id name slug description position\n featuredAsset {\n source width height\n presets { l { url webpUrl } xl { url webpUrl } }\n }\n breadcrumbs { id name slug }\n parent { id }\n children { id name slug }\n customFields {\n isRoutable\n isCanonical\n noindex\n nofollow\n metaRobotsMaxImagePreview\n socialImageId\n socialOgType\n twitterCardType\n }\n translations {\n languageCode\n name\n slug\n customFields {\n seoTitle\n seoDescription\n canonicalUrl\n socialTitle\n socialDescription\n socialImageAlt\n }\n }\n productVariants(options: { take: 20 }) {\n items {\n id\n product {\n id name slug\n featuredAsset { source width height presets { m { url webpUrl } } }\n }\n price priceWithTax currencyCode stockLevel\n stockOnHand stockAllocated saleable\n incomingStock projectedSaleable nextExpectedArrival\n backorderAllowance\n availability { state availableFrom orderable }\n priceListName retailPrice retailPriceWithTax taxRateApplied { value }\n priceTiers { minQuantity price priceWithTax discountLabel }\n availabilityByLocation { locationId locationName inStock }\n customFields { minOrderQuantity salesUnit position }\n }\n totalItems\n }\n }\n }\n";
65
- export declare const SEARCH_PRODUCTS = "\n query SearchProducts($input: SearchInput!) {\n search(input: $input) {\n items {\n productId productVariantId productName slug description\n price { ... on SinglePrice { value } ... on PriceRange { min max } }\n priceWithTax { ... on SinglePrice { value } ... on PriceRange { min max } }\n currencyCode\n productAsset { preview focalPoint { x y } }\n collectionIds\n inStock\n availability { state availableFrom orderable }\n }\n totalItems\n facetValues { facetValue { id name code facet { id name code } } count }\n }\n }\n";
66
- export declare const ACTIVE_ORDER = "\n query ActiveOrder {\n activeOrder { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n }\n";
67
- export declare const ADD_TO_CART = "\n mutation AddToCart($variantId: ID!, $quantity: Int!) {\n addItemToOrder(productVariantId: $variantId, quantity: $quantity) {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on OrderModificationError { errorCode message }\n ... on OrderLimitError { errorCode message maxItems }\n ... on NegativeQuantityError { errorCode message }\n ... on InsufficientStockError { \n errorCode message quantityAvailable\n productVariantId orderLineId sku productName productVariantName\n quantityRequested inputIndex\n order { id } }\n }\n }\n";
68
- export declare const ADJUST_ORDER_LINE = "\n mutation AdjustOrderLine($lineId: ID!, $quantity: Int!) {\n adjustOrderLine(orderLineId: $lineId, quantity: $quantity) {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on OrderModificationError { errorCode message }\n ... on OrderLimitError { errorCode message maxItems }\n ... on NegativeQuantityError { errorCode message }\n ... on InsufficientStockError { \n errorCode message quantityAvailable\n productVariantId orderLineId sku productName productVariantName\n quantityRequested inputIndex\n }\n }\n }\n";
69
- export declare const REMOVE_ORDER_LINE = "\n mutation RemoveOrderLine($lineId: ID!) {\n removeOrderLine(orderLineId: $lineId) {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on OrderModificationError { errorCode message }\n }\n }\n";
70
- export declare const APPLY_COUPON = "\n mutation ApplyCoupon($code: String!) {\n applyCouponCode(couponCode: $code) {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on CouponCodeExpiredError { errorCode message couponCode }\n ... on CouponCodeInvalidError { errorCode message couponCode }\n ... on CouponCodeLimitError { errorCode message couponCode limit }\n }\n }\n";
71
- export declare const REMOVE_COUPON = "\n mutation RemoveCoupon($code: String!) {\n removeCouponCode(couponCode: $code) { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n }\n";
72
- export declare const REMOVE_ALL_ORDER_LINES = "\n mutation RemoveAllOrderLines {\n removeAllOrderLines {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on OrderModificationError { errorCode message }\n }\n }\n";
90
+ export declare const PRODUCT_CARD_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
91
+ export declare const FACET_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
92
+ export declare const BREADCRUMB_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
93
+ /** A row of the collection LIST (`getCollections`). */
94
+ export declare const COLLECTION_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
95
+ /** The collection DETAIL read, shared by the slug and the id lookup. */
96
+ export declare const COLLECTION_DETAIL_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
97
+ /**
98
+ * One search hit. `productVariantId` is the orderable id (never pass
99
+ * `productId` to `addToCart`); `availability` is null for a document indexed
100
+ * before the attribute existed, until the channel is fully reindexed.
101
+ */
102
+ export declare const SEARCH_RESULT_ITEM_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
103
+ export declare const SEARCH_RESULT_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
104
+ export declare const GET_PRODUCT: string;
105
+ export declare const GET_PRODUCT_BY_ID: string;
106
+ /**
107
+ * A storefront-visible metafield as it arrives ON an entity: the
108
+ * `storefront: read` values an app or the store published (headless spec
109
+ * §8.13). `value` is whatever the definition's type describes.
110
+ */
111
+ export declare const METAFIELD_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
112
+ /**
113
+ * OPT-IN product reads, chosen by `getProduct(slug, { metafields })` and
114
+ * `getProductById(id, { metafields })`: the default `Product` selection plus
115
+ * the product's own metafields and every variant's, `$namespace` narrowing
116
+ * both to one app (`null` is every namespace).
117
+ *
118
+ * Separate documents, never a `metafields` selection in `PRODUCT_FRAGMENT`
119
+ * (the rule `ORDER_FULFILLMENT_PARCELS_FRAGMENT` follows): `Product.metafields`
120
+ * is an additive Shop API field, and an engine without it fails the WHOLE
121
+ * document at validation. Selected by default, an SDK upgraded ahead of the
122
+ * engine deploy would 400 every product page; selected here, only a caller
123
+ * that asked for metafields needs the newer engine. GraphQL merges this
124
+ * `variants` selection with the fragment's, so each variant still comes back
125
+ * whole.
126
+ *
127
+ * The server reads every product's (and every variant's) metafields of the
128
+ * request in one statement per owner type, so the variant selection costs one
129
+ * read, not one per variant.
130
+ */
131
+ export declare const GET_PRODUCT_WITH_METAFIELDS: string;
132
+ /** {@link GET_PRODUCT_WITH_METAFIELDS} by id. */
133
+ export declare const GET_PRODUCT_BY_ID_WITH_METAFIELDS: string;
134
+ export declare const LIST_PRODUCTS: string;
135
+ export declare const LIST_PRODUCT_CARDS: string;
136
+ export declare const LIST_FACETS: string;
137
+ export declare const LIST_COLLECTIONS: string;
138
+ export declare const GET_COLLECTION: string;
139
+ export declare const GET_COLLECTION_BY_ID: string;
140
+ /**
141
+ * OPT-IN collection reads with the collection's own metafields, chosen by
142
+ * `getCollection(slug, { metafields })` and `getCollectionById(id, {
143
+ * metafields })`. Separate documents for the reason
144
+ * {@link GET_PRODUCT_WITH_METAFIELDS} gives.
145
+ */
146
+ export declare const GET_COLLECTION_WITH_METAFIELDS: string;
147
+ /** {@link GET_COLLECTION_WITH_METAFIELDS} by id. */
148
+ export declare const GET_COLLECTION_BY_ID_WITH_METAFIELDS: string;
149
+ export declare const SEARCH_PRODUCTS: string;
150
+ export declare const ACTIVE_ORDER: string;
151
+ export declare const ADD_TO_CART: string;
152
+ export declare const ADJUST_ORDER_LINE: string;
153
+ export declare const REMOVE_ORDER_LINE: string;
154
+ export declare const APPLY_COUPON: string;
155
+ export declare const REMOVE_COUPON: string;
156
+ export declare const REMOVE_ALL_ORDER_LINES: string;
73
157
  /**
74
158
  * Bulk add (favourite-box bundles). `addItemsToOrder` returns
75
159
  * UpdateMultipleOrderItemsResult: a single resulting Order plus a per-input
76
160
  * `errorResults` list — partial success is possible, so surface both.
77
161
  */
78
- export declare const ADD_ITEMS_TO_CART = "\n mutation AddItemsToCart($inputs: [AddItemInput!]!) {\n addItemsToOrder(inputs: $inputs) {\n order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n errorResults {\n ... on OrderModificationError { errorCode message }\n ... on OrderLimitError { errorCode message maxItems }\n ... on NegativeQuantityError { errorCode message }\n ... on InsufficientStockError { \n errorCode message quantityAvailable\n productVariantId orderLineId sku productName productVariantName\n quantityRequested inputIndex\n }\n ... on OrderInterceptorError { errorCode message interceptorError }\n }\n }\n }\n";
79
- export declare const SET_CUSTOMER = "\n mutation SetCustomer($input: CreateCustomerInput!) {\n setCustomerForOrder(input: $input) {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on AlreadyLoggedInError { errorCode message }\n ... on EmailAddressConflictError { errorCode message }\n ... on GuestCheckoutError { errorCode message }\n ... on NoActiveOrderError { errorCode message }\n }\n }\n";
80
- export declare const SET_SHIPPING_ADDRESS = "\n mutation SetShippingAddress($input: CreateAddressInput!) {\n setOrderShippingAddress(input: $input) {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on NoActiveOrderError { errorCode message }\n }\n }\n";
81
- export declare const SET_BILLING_ADDRESS = "\n mutation SetBillingAddress($input: CreateAddressInput!) {\n setOrderBillingAddress(input: $input) {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on NoActiveOrderError { errorCode message }\n }\n }\n";
162
+ export declare const ADD_ITEMS_TO_CART: string;
163
+ export declare const SET_CUSTOMER: string;
164
+ export declare const SET_SHIPPING_ADDRESS: string;
165
+ export declare const SET_BILLING_ADDRESS: string;
82
166
  export declare const ELIGIBLE_SHIPPING_METHODS = "\n query ShippingMethods {\n eligibleShippingMethods {\n id name description price priceWithTax metadata isPreferred isDeliveryTermsEligible\n }\n }\n";
167
+ /** Every platform method and every app rate the active order can ship with (`shipping.rates`). */
168
+ export declare const ELIGIBLE_SHIPPING_RATES = "\n query ShippingRates {\n eligibleShippingRates {\n shippingMethodId code rateCode name description price priceWithTax source appSlug selected\n isPreferred isDeliveryTermsEligible\n }\n }\n";
169
+ export declare const SET_SHIPPING_RATE: string;
83
170
  export declare const MY_DELIVERY_TERMS = "\n query MyDeliveryTerms {\n myDeliveryTerms {\n customerId source managedExternally status shippingMethodStatus policyStatus summary\n preferredShippingMethodId preferredShippingMethodCode preferredShippingMethodName\n preferredShippingMethodAvailable\n eligibleShippingMethodIds\n incotermStatus incotermCode incotermVersion incotermAddress incotermDescription\n shippingLeadDays deliveryAdvice stale syncedAt warning\n }\n }\n";
84
- export declare const SET_SHIPPING_METHOD = "\n mutation SetShippingMethod($ids: [ID!]!) {\n selectOrderDeliveryMethod(shippingMethodIds: $ids) {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on OrderModificationError { errorCode message }\n ... on IneligibleShippingMethodError { errorCode message }\n ... on NoActiveOrderError { errorCode message }\n }\n }\n";
85
- export declare const APPLY_PREFERRED_SHIPPING_METHOD = "\n mutation ApplyPreferredShippingMethod {\n applyPreferredDeliveryMethod {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on OrderModificationError { errorCode message }\n ... on IneligibleShippingMethodError { errorCode message }\n ... on NoActiveOrderError { errorCode message }\n }\n }\n";
171
+ export declare const SET_SHIPPING_METHOD: string;
172
+ export declare const APPLY_PREFERRED_SHIPPING_METHOD: string;
173
+ /**
174
+ * Store pickup (C1/33): the store's shops that offer pickup, each with `available` for the active
175
+ * order (a boolean, never a quantity). Its own document, never in ORDER_FRAGMENT: an engine before
176
+ * store pickup refuses only this read.
177
+ */
178
+ export declare const STORE_PICKUP_LOCATIONS: import("../graphql-document.js").GraphQLFragment;
179
+ export declare const STORE_PICKUP_LOCATIONS_QUERY: string;
180
+ /** Name the shop the active order is collected at (null clears); sets the shipping address. */
181
+ export declare const SET_ACTIVE_ORDER_STORE_PICKUP_LOCATION: string;
182
+ /** The active order's store pickup: the chosen shop, then the pickup's state once placed. */
183
+ export declare const ACTIVE_ORDER_STORE_PICKUP: string;
184
+ /** The active order's eligible methods with their codes: how `chooseStorePickup` finds its method. */
185
+ export declare const ELIGIBLE_SHIPPING_METHOD_CODES = "\n query EligibleShippingMethodCodes {\n eligibleShippingMethods { id code }\n }\n";
86
186
  export declare const ELIGIBLE_PAYMENT_METHODS = "\n query PaymentMethods {\n eligiblePaymentMethods {\n id name code description isEligible eligibilityMessage\n }\n }\n";
87
- export declare const TRANSITION_TO_ARRANGING_PAYMENT = "\n mutation TransitionToArrangingPayment {\n transitionOrderToState(state: \"ArrangingPayment\") {\n ... on Order { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n ... on OrderStateTransitionError {\n errorCode message transitionError\n placement { \n code\n customerMessage\n linesTruncated\n requiredAmount\n currencyCode\n amountBasis\n requiredQuantity\n priceListName\n salesUnit\n minimumAge\n lines {\n orderLineId\n productVariantId\n sku\n productName\n productVariantName\n quantityRequested\n quantityAvailable\n }\n details { field code message }\n }\n }\n }\n }\n";
187
+ export declare const TRANSITION_TO_ARRANGING_PAYMENT: string;
188
+ /**
189
+ * `TRANSITION_TO_ARRANGING_PAYMENT` with the target state as a variable. The
190
+ * engine's order process and its placement guards decide which targets a
191
+ * shopper may reach; the document only carries the request.
192
+ */
193
+ export declare const TRANSITION_ORDER: string;
194
+ export declare const NEXT_ORDER_STATES = "\n query NextOrderStates {\n nextOrderStates\n }\n";
195
+ export declare const ACTIVE_PAYMENT_METHODS: string;
196
+ /** Every shipping method offered on the channel's storefront, whatever the active order. */
197
+ export declare const ACTIVE_SHIPPING_METHODS: string;
198
+ export declare const SET_ORDER_CUSTOM_FIELDS: string;
199
+ export declare const UNSET_SHIPPING_ADDRESS: string;
200
+ export declare const UNSET_BILLING_ADDRESS: string;
201
+ /**
202
+ * `setCurrencyCodeForOrder` answers `UpdateOrderItemsResult`, so every member of
203
+ * that union is selected: an unselected member comes back as `{}`, which
204
+ * carries no `errorCode` and would read as success.
205
+ */
206
+ export declare const SET_ORDER_CURRENCY: string;
88
207
  /**
89
208
  * Record how the buyer intends to pay AND re-price the order in one round trip.
90
209
  *
@@ -96,33 +215,63 @@ export declare const TRANSITION_TO_ARRANGING_PAYMENT = "\n mutation TransitionT
96
215
  * the pay-now discount.
97
216
  *
98
217
  * `customFields { paymentIntent }` is selected HERE and nowhere else, and that
99
- * is deliberate. Putting it in the shared `ORDER_FIELDS` would make every order
218
+ * is deliberate. Putting it in the shared `ORDER_FRAGMENT` would make every order
100
219
  * query and cart mutation in this client fail GraphQL validation against an
101
220
  * engine that predates the field — one missing feature would take the whole cart
102
221
  * down. Confined to this document, only the call that needs the field is
103
222
  * coupled to an engine that has it.
104
223
  */
105
- export declare const SET_PAYMENT_INTENT = "\n mutation SetOrderPaymentIntent($intent: OrderPaymentIntent!) {\n setOrderPaymentIntent(intent: $intent) {\n ... on Order {\n \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n\n customFields { paymentIntent }\n }\n ... on NoActiveOrderError { errorCode message }\n }\n }\n";
106
- export declare const ADD_PAYMENT = "\n mutation AddPayment($input: PaymentInput!) {\n addPaymentToOrder(input: $input) {\n ... on Order {\n \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n\n \n paymentTerms {\n source managedExternally status\n conditionCode conditionDescription summary classification\n paymentDays paymentEndOfMonths paymentMethod percentage\n discountPaymentDays discountPercentage paymentDiscountType\n stale syncedAt error\n resolvedAt remoteConditionCode remoteConfirmedAt remoteMismatch\n }\n\n \n deliveryTerms {\n source managedExternally status shippingMethodStatus policyStatus summary selectionSource\n selectedShippingMethodId selectedShippingMethodCode selectedShippingMethodName\n platformShippingMethodCode platformShippingMethodName platformShippingMethodDescription\n platformShippingPrice platformShippingPriceWithTax\n preferredShippingMethodId\n incotermStatus incotermCode incotermVersion incotermAddress incotermDescription\n shippingLeadDays deliveryAdvice stale syncedAt warning resolvedAt\n remoteShippingMethodCode remoteShippingMethodName\n remoteIncotermCode remoteIncotermVersion remoteIncotermAddress remoteDeliveryDate\n remoteConfirmedAt remoteMismatch\n }\n\n }\n ... on OrderPaymentStateError { errorCode message }\n ... on IneligiblePaymentMethodError { errorCode message }\n ... on PaymentFailedError {\n errorCode message paymentErrorMessage\n placement { \n code\n customerMessage\n linesTruncated\n requiredAmount\n currencyCode\n amountBasis\n requiredQuantity\n priceListName\n salesUnit\n minimumAge\n lines {\n orderLineId\n productVariantId\n sku\n productName\n productVariantName\n quantityRequested\n quantityAvailable\n }\n details { field code message }\n }\n }\n ... on PaymentDeclinedError {\n errorCode message paymentErrorMessage\n placement { \n code\n customerMessage\n linesTruncated\n requiredAmount\n currencyCode\n amountBasis\n requiredQuantity\n priceListName\n salesUnit\n minimumAge\n lines {\n orderLineId\n productVariantId\n sku\n productName\n productVariantName\n quantityRequested\n quantityAvailable\n }\n details { field code message }\n }\n }\n ... on OrderStateTransitionError {\n errorCode message transitionError\n placement { \n code\n customerMessage\n linesTruncated\n requiredAmount\n currencyCode\n amountBasis\n requiredQuantity\n priceListName\n salesUnit\n minimumAge\n lines {\n orderLineId\n productVariantId\n sku\n productName\n productVariantName\n quantityRequested\n quantityAvailable\n }\n details { field code message }\n }\n }\n ... on NoActiveOrderError { errorCode message }\n }\n }\n";
107
- export declare const PICKUP_LOCATIONS = "\n query PickupLocations($input: PickupLocationSearchInput!) {\n pickupLocations(input: $input) {\n \n provider\n carrier\n locationCode\n name\n address {\n streetLine1\n number\n postalCode\n city\n countryCode\n region\n }\n openingHours {\n weekday\n open\n close\n }\n details\n\n }\n }\n";
108
- export declare const ACTIVE_ORDER_PICKUP_LOCATION = "\n query ActiveOrderPickupLocation {\n activeOrderPickupLocation {\n \n provider\n carrier\n locationCode\n name\n address {\n streetLine1\n number\n postalCode\n city\n countryCode\n region\n }\n openingHours {\n weekday\n open\n close\n }\n details\n\n }\n }\n";
224
+ export declare const SET_PAYMENT_INTENT: string;
225
+ export declare const ADD_PAYMENT: string;
226
+ export declare const PICKUP_LOCATIONS: string;
227
+ export declare const ACTIVE_ORDER_PICKUP_LOCATION: string;
109
228
  export declare const SET_ACTIVE_ORDER_PICKUP_LOCATION = "\n mutation SetActiveOrderPickupLocation($location: StoredPickupLocationInput!) {\n setActiveOrderPickupLocation(location: $location) {\n __typename\n ... on Order {\n id code state\n }\n ... on ErrorResult {\n errorCode\n message\n }\n }\n }\n";
110
229
  export declare const CREATE_STRIPE_PAYMENT_INTENT = "\n mutation CreateStripePaymentIntent {\n createStripePaymentIntent\n }\n";
111
230
  export declare const MOLLIE_PAYMENT_METHODS = "\n query MolliePaymentMethods($input: MolliePaymentMethodsInput!) {\n molliePaymentMethods(input: $input) {\n id\n code\n description\n minimumAmount { value currency }\n maximumAmount { value currency }\n image { size1x size2x svg }\n status\n }\n }\n";
112
231
  export declare const ORDERED_MOLLIE_PAYMENT_METHODS = "\n query OrderedMolliePaymentMethods($paymentMethodCode: String!) {\n orderedMolliePaymentMethods(paymentMethodCode: $paymentMethodCode) {\n id\n code\n description\n imageUrl\n status\n }\n }\n";
113
232
  export declare const CREATE_MOLLIE_PAYMENT_INTENT = "\n mutation CreateMolliePaymentIntent($input: MolliePaymentIntentInput!) {\n createMolliePaymentIntent(input: $input) {\n ... on MolliePaymentIntent { url }\n ... on MolliePaymentIntentError { errorCode message }\n }\n }\n";
114
233
  export declare const SYNC_MOLLIE_PAYMENT_STATUS = "\n mutation SyncMolliePaymentStatus($orderCode: String!) {\n syncMolliePaymentStatus(orderCode: $orderCode) {\n id\n code\n state\n }\n }\n";
234
+ export declare const PARKED_ORDERS_QUERY: string;
235
+ export declare const PAY_PARKED_ORDER_MUTATION = "\n mutation PayParkedOrder(\n $orderCode: String!\n $input: PayParkedOrderInput!\n $idempotencyKey: String\n ) {\n payParkedOrder(orderCode: $orderCode, input: $input, idempotencyKey: $idempotencyKey) {\n order { id code state }\n payment { id state amount method metadata }\n position { total covered outstanding currencyCode }\n settled\n }\n }\n";
236
+ export declare const CREATE_PARKED_ORDER_PAYMENT_INTENT_MUTATION = "\n mutation CreateParkedOrderPaymentIntent(\n $orderCode: String!\n $input: ParkedOrderPaymentIntentInput!\n $idempotencyKey: String\n ) {\n createParkedOrderPaymentIntent(\n orderCode: $orderCode\n input: $input\n idempotencyKey: $idempotencyKey\n ) {\n provider\n url\n clientSecret\n amount\n currencyCode\n }\n }\n";
237
+ /**
238
+ * A deposit paid in checkout, which parks the active order (W8-13).
239
+ *
240
+ * `order` selects exactly what `ADD_PAYMENT` selects for its `Order` member, so
241
+ * `addPayment(input, { amount })` — which routes here — resolves to the same
242
+ * type whether it paid in full or paid a deposit. No `idempotencyKey` argument:
243
+ * like `addPaymentToOrder`, this mutation is keyed by the `Idempotency-Key`
244
+ * header (the W8-12 contract), unlike the parked-order calls above.
245
+ */
246
+ export declare const PAY_DEPOSIT_MUTATION: string;
247
+ /** A card (Mollie) deposit in checkout; keyed by the header, as `PAY_DEPOSIT_MUTATION`. */
248
+ export declare const CREATE_DEPOSIT_PAYMENT_INTENT_MUTATION = "\n mutation CreateDepositPaymentIntent($input: DepositPaymentIntentInput!) {\n createDepositPaymentIntent(input: $input) {\n provider\n url\n clientSecret\n amount\n currencyCode\n }\n }\n";
115
249
  export declare const LOGIN = "\n mutation Login($email: String!, $password: String!) {\n login(username: $email, password: $password) {\n ... on CurrentUser { id identifier }\n ... on InvalidCredentialsError { errorCode message authenticationError }\n ... on NotVerifiedError { errorCode message }\n ... on NativeAuthStrategyError { errorCode message }\n }\n }\n";
250
+ /**
251
+ * Sign in through a named authentication strategy (`native` is the only one the
252
+ * engine registers today). Every `AuthenticationResult` member is selected, and
253
+ * `authenticationError` with it: the engine's native strategy reports an
254
+ * imported account with no password (`PASSWORD_RESET_REQUIRED`) or an
255
+ * unverified one (`ACCOUNT_NOT_VERIFIED`) there, not as an error type.
256
+ */
257
+ export declare const AUTHENTICATE: string;
116
258
  export declare const REGISTER = "\n mutation Register($input: RegisterCustomerInput!) {\n registerCustomerAccount(input: $input) {\n ... on Success { success }\n ... on MissingPasswordError { errorCode message }\n ... on PasswordValidationError { errorCode message validationErrorMessage }\n ... on NativeAuthStrategyError { errorCode message }\n }\n }\n";
117
- export declare const GET_CURRENT_CUSTOMER = "\n query Me {\n activeCustomer {\n id firstName lastName emailAddress phoneNumber\n groups { id name }\n isB2B\n addresses {\n id fullName streetLine1 streetLine2 city province postalCode\n country { code name }\n defaultShippingAddress defaultBillingAddress\n }\n orders(options: { take: 10, sort: { createdAt: DESC } }) {\n items {\n \n id code state total totalWithTax currencyCode createdAt\n lines {\n id quantity linePriceWithTax\n productVariant {\n id name sku\n product { slug featuredAsset { preview presets { xs { webpUrl } } } }\n }\n }\n \n fulfillments {\n id state method trackingCode createdAt updatedAt\n lines { orderLineId quantity }\n }\n externalShipments {\n carrier reference isLink shippedAt deliveryNumber\n }\n\n \n paymentTerms {\n source managedExternally status\n conditionCode conditionDescription summary classification\n paymentDays paymentEndOfMonths paymentMethod percentage\n discountPaymentDays discountPercentage paymentDiscountType\n stale syncedAt error\n resolvedAt remoteConditionCode remoteConfirmedAt remoteMismatch\n }\n\n \n deliveryTerms {\n source managedExternally status shippingMethodStatus policyStatus summary selectionSource\n selectedShippingMethodId selectedShippingMethodCode selectedShippingMethodName\n platformShippingMethodCode platformShippingMethodName platformShippingMethodDescription\n platformShippingPrice platformShippingPriceWithTax\n preferredShippingMethodId\n incotermStatus incotermCode incotermVersion incotermAddress incotermDescription\n shippingLeadDays deliveryAdvice stale syncedAt warning resolvedAt\n remoteShippingMethodCode remoteShippingMethodName\n remoteIncotermCode remoteIncotermVersion remoteIncotermAddress remoteDeliveryDate\n remoteConfirmedAt remoteMismatch\n }\n\n\n }\n totalItems\n }\n }\n }\n";
259
+ export declare const GET_CURRENT_CUSTOMER: string;
118
260
  export declare const ACTIVE_CUSTOMER_PRICE_LISTS = "\n query ActiveCustomerPriceLists {\n activeCustomerPriceLists { id name isContract }\n }\n";
119
- export declare const GET_CUSTOMER_ORDERS = "\n query CustomerOrders($options: OrderListOptions) {\n activeCustomer {\n orders(options: $options) {\n items {\n \n id code state total totalWithTax currencyCode createdAt\n lines {\n id quantity linePriceWithTax\n productVariant {\n id name sku\n product { slug featuredAsset { preview presets { xs { webpUrl } } } }\n }\n }\n \n fulfillments {\n id state method trackingCode createdAt updatedAt\n lines { orderLineId quantity }\n }\n externalShipments {\n carrier reference isLink shippedAt deliveryNumber\n }\n\n \n paymentTerms {\n source managedExternally status\n conditionCode conditionDescription summary classification\n paymentDays paymentEndOfMonths paymentMethod percentage\n discountPaymentDays discountPercentage paymentDiscountType\n stale syncedAt error\n resolvedAt remoteConditionCode remoteConfirmedAt remoteMismatch\n }\n\n \n deliveryTerms {\n source managedExternally status shippingMethodStatus policyStatus summary selectionSource\n selectedShippingMethodId selectedShippingMethodCode selectedShippingMethodName\n platformShippingMethodCode platformShippingMethodName platformShippingMethodDescription\n platformShippingPrice platformShippingPriceWithTax\n preferredShippingMethodId\n incotermStatus incotermCode incotermVersion incotermAddress incotermDescription\n shippingLeadDays deliveryAdvice stale syncedAt warning resolvedAt\n remoteShippingMethodCode remoteShippingMethodName\n remoteIncotermCode remoteIncotermVersion remoteIncotermAddress remoteDeliveryDate\n remoteConfirmedAt remoteMismatch\n }\n\n\n lines { id backorderedQuantity }\n }\n totalItems\n }\n }\n }\n";
261
+ export declare const GET_CUSTOMER_ORDERS: string;
120
262
  export declare const LOGOUT = "\n mutation Logout {\n logout { success }\n }\n";
121
263
  export declare const UPDATE_CUSTOMER = "\n mutation UpdateCustomer($input: UpdateCustomerInput!) {\n updateCustomer(input: $input) {\n id firstName lastName emailAddress phoneNumber\n }\n }\n";
122
264
  export declare const UPDATE_PASSWORD = "\n mutation UpdatePassword($currentPassword: String!, $newPassword: String!) {\n updateCustomerPassword(currentPassword: $currentPassword, newPassword: $newPassword) {\n ... on Success { success }\n ... on InvalidCredentialsError { errorCode message }\n ... on PasswordValidationError { errorCode message validationErrorMessage }\n ... on NativeAuthStrategyError { errorCode message }\n }\n }\n";
265
+ /**
266
+ * The signed-in customer's FIRST password, for an account that signed in by
267
+ * email link or code and has none (`updatePassword` needs the current one).
268
+ * Every member is selected: an unselected error member arrives as `{}` and the
269
+ * wrapper would read a refused password as set.
270
+ */
271
+ export declare const SET_CUSTOMER_PASSWORD = "\n mutation SetCustomerPassword($newPassword: String!) {\n setCustomerPassword(newPassword: $newPassword) {\n ... on Success { success }\n ... on PasswordValidationError { errorCode message validationErrorMessage }\n ... on PasswordAlreadySetError { errorCode message }\n ... on NativeAuthStrategyError { errorCode message }\n ... on SetPasswordRequiresEmailSignInError { errorCode message }\n }\n }\n";
123
272
  export declare const REQUEST_PASSWORD_RESET = "\n mutation RequestPasswordReset($emailAddress: String!) {\n requestPasswordReset(emailAddress: $emailAddress) {\n ... on Success { success }\n ... on NativeAuthStrategyError { errorCode message }\n }\n }\n";
124
273
  export declare const RESET_PASSWORD = "\n mutation ResetPassword($token: String!, $password: String!) {\n resetPassword(token: $token, password: $password) {\n ... on CurrentUser { id identifier }\n ... on PasswordResetTokenInvalidError { errorCode message }\n ... on PasswordResetTokenExpiredError { errorCode message }\n ... on PasswordValidationError { errorCode message validationErrorMessage }\n ... on NativeAuthStrategyError { errorCode message }\n ... on NotVerifiedError { errorCode message }\n }\n }\n";
125
- export declare const REQUEST_MAGIC_LINK = "\n mutation RequestMagicLink($emailAddress: String!) {\n requestMagicLink(emailAddress: $emailAddress) {\n ... on Success { success }\n ... on NativeAuthStrategyError { errorCode message }\n }\n }\n";
274
+ export declare const REQUEST_MAGIC_LINK = "\n mutation RequestMagicLink($emailAddress: String!, $portal: MagicLinkPortal) {\n requestMagicLink(emailAddress: $emailAddress, portal: $portal) {\n ... on Success { success }\n ... on NativeAuthStrategyError { errorCode message }\n ... on MagicLinkRateLimitedError { errorCode message retryAfterSeconds }\n }\n }\n";
126
275
  export declare const LOGIN_WITH_MAGIC_LINK = "\n mutation LoginWithMagicLink($token: String!) {\n loginWithMagicLink(token: $token) {\n ... on CurrentUser { id identifier }\n ... on MagicLinkInvalidError { errorCode message }\n ... on MagicLinkExpiredError { errorCode message }\n ... on MagicLinkLockedError { errorCode message }\n ... on NotVerifiedError { errorCode message }\n ... on NativeAuthStrategyError { errorCode message }\n }\n }\n";
127
276
  export declare const LOGIN_WITH_MAGIC_CODE = "\n mutation LoginWithMagicCode($emailAddress: String!, $code: String!) {\n loginWithMagicCode(emailAddress: $emailAddress, code: $code) {\n ... on CurrentUser { id identifier }\n ... on MagicLinkInvalidError { errorCode message }\n ... on MagicLinkExpiredError { errorCode message }\n ... on MagicLinkLockedError { errorCode message }\n ... on NotVerifiedError { errorCode message }\n ... on NativeAuthStrategyError { errorCode message }\n }\n }\n";
128
277
  export declare const REQUEST_EMAIL_UPDATE = "\n mutation RequestEmailUpdate($password: String!, $newEmailAddress: String!) {\n requestUpdateCustomerEmailAddress(password: $password, newEmailAddress: $newEmailAddress) {\n ... on Success { success }\n ... on InvalidCredentialsError { errorCode message }\n ... on EmailAddressConflictError { errorCode message }\n ... on NativeAuthStrategyError { errorCode message }\n ... on EmailChangeRateLimitedError { errorCode message retryAfterSeconds }\n ... on ErrorResult { errorCode message }\n }\n }\n";
@@ -136,26 +285,36 @@ export declare const AVAILABLE_COUNTRIES = "\n query AvailableCountries {\n
136
285
  /**
137
286
  * `lines { backorderedQuantity }` is selected HERE and on `GET_CUSTOMER_ORDERS`,
138
287
  * and nowhere else — the same rule `customFields { paymentIntent }` follows
139
- * below. In the shared `ORDER_FIELDS` fragment it would make every cart read
288
+ * below. In the shared `ORDER_FRAGMENT` fragment it would make every cart read
140
289
  * and mutation fail validation against an engine that predates the backorders
141
290
  * plugin, taking the whole cart down for a field a cart line never carries a
142
291
  * value for (the stamp is written at placement). GraphQL merges this `lines`
143
292
  * selection with the fragment's, so the line still comes back whole.
293
+ *
294
+ * `customFields { chargedParcelCount }` follows the same rule: frozen when the
295
+ * order leaves the cart, so it belongs to this placed-order read alone. It
296
+ * does make this document need an engine with the extra-parcel charge: a
297
+ * client release carrying it publishes after that engine is deployed.
144
298
  */
145
- export declare const ORDER_BY_CODE = "\n query OrderByCode($code: String!) {\n orderByCode(code: $code) {\n \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n\n lines { id backorderedQuantity }\n \n fulfillments {\n id state method trackingCode createdAt updatedAt\n lines { orderLineId quantity }\n }\n externalShipments {\n carrier reference isLink shippedAt deliveryNumber\n }\n\n \n paymentTerms {\n source managedExternally status\n conditionCode conditionDescription summary classification\n paymentDays paymentEndOfMonths paymentMethod percentage\n discountPaymentDays discountPercentage paymentDiscountType\n stale syncedAt error\n resolvedAt remoteConditionCode remoteConfirmedAt remoteMismatch\n }\n\n \n deliveryTerms {\n source managedExternally status shippingMethodStatus policyStatus summary selectionSource\n selectedShippingMethodId selectedShippingMethodCode selectedShippingMethodName\n platformShippingMethodCode platformShippingMethodName platformShippingMethodDescription\n platformShippingPrice platformShippingPriceWithTax\n preferredShippingMethodId\n incotermStatus incotermCode incotermVersion incotermAddress incotermDescription\n shippingLeadDays deliveryAdvice stale syncedAt warning resolvedAt\n remoteShippingMethodCode remoteShippingMethodName\n remoteIncotermCode remoteIncotermVersion remoteIncotermAddress remoteDeliveryDate\n remoteConfirmedAt remoteMismatch\n }\n\n }\n }\n";
299
+ export declare const ORDER_BY_CODE: string;
146
300
  export declare const FAVORITE_VARIANT_IDS = "\n query FavoriteVariantIds {\n favoriteProductVariantIds\n }\n";
147
301
  export declare const MY_FAVORITES = "\n query MyFavorites($options: FavoriteListOptions) {\n myFavorites(options: $options) {\n items {\n id\n productVariantId\n createdAt\n productVariant {\n id name sku\n price priceWithTax currencyCode stockLevel\n stockOnHand stockAllocated saleable\n incomingStock projectedSaleable nextExpectedArrival\n backorderAllowance\n availability { state availableFrom orderable }\n priceListName retailPrice retailPriceWithTax taxRateApplied { value }\n priceTiers { minQuantity price priceWithTax discountLabel }\n availabilityByLocation { locationId locationName inStock }\n product {\n id name slug\n featuredAsset {\n source width height\n customFields { altText }\n presets { xs { url webpUrl } m { url webpUrl } l { url webpUrl } }\n }\n }\n options { id name group { name } }\n customFields { minOrderQuantity salesUnit position }\n }\n }\n totalItems\n }\n }\n";
148
302
  export declare const TOGGLE_FAVORITE = "\n mutation ToggleFavorite($productVariantId: ID!) {\n toggleFavorite(productVariantId: $productVariantId)\n }\n";
149
303
  export declare const REMOVE_FAVORITE = "\n mutation RemoveFavorite($productVariantId: ID!) {\n removeFavorite(productVariantId: $productVariantId)\n }\n";
150
- export declare const GET_ACTIVE_CHANNEL = "\n query ActiveChannel {\n activeChannel {\n id code\n defaultLanguageCode\n availableLanguageCodes\n defaultCurrencyCode\n availableCurrencyCodes\n \n customFields {\n businessName businessDescription\n logoAssetId darkLogoAssetId coverAssetId faviconAssetId\n websiteUrl primaryColor\n contactEmail contactPhone\n legalName vatNumber registrationNumber\n addressLine1 addressLine2 city postalCode province country\n socialLinks\n commercePathPrefix commercePathPrefixTranslations productPathSegment\n cdnDomain maintenanceMode\n urlLocaleStrategy urlLocalePrefixDefault\n twitterHandle defaultOgImageId llmsTxtEnabled\n storefrontUrl quotesEnabled\n returnsEnabled returnWindowDays\n taxDisplayDefault taxDisplayB2b taxExclusiveCountries\n }\n\n }\n }\n";
151
- export declare const PROPERTY_GROUPS = "\n query PropertyGroups {\n productPropertyGroups {\n id position\n translations { id languageCode name }\n properties {\n id slug fieldType isFilterable isRequired position\n config { options { value label } min max maxLength allowedCollectionIds filterableFieldSlugs }\n facetId\n fieldFacets { fieldSlug fieldType facetId }\n translations { id languageCode name helpText }\n }\n }\n }\n";
152
- export declare const PRODUCT_PROPERTIES = "\n query ProductProperties($productId: ID!) {\n productPropertyValues(productId: $productId) {\n group {\n id position\n translations { id languageCode name }\n properties {\n id slug fieldType isFilterable isRequired position\n config { options { value label } min max maxLength }\n facetId\n fieldFacets { fieldSlug fieldType facetId }\n translations { id languageCode name helpText }\n }\n }\n values { id propertyId languageCode value }\n }\n }\n";
153
- export declare const GET_PRODUCT_RECOMMENDATIONS = "\n query ProductRecommendations($productId: ID!, $groupSlug: String) {\n productRecommendations(productId: $productId, groupSlug: $groupSlug) {\n groupName\n groupSlug\n products {\n id name slug description\n featuredAsset {\n source name width height\n customFields { altText }\n presets { xs { url webpUrl } m { url webpUrl } l { url webpUrl } }\n }\n variants {\n id name sku\n price priceWithTax currencyCode stockLevel\n stockOnHand stockAllocated saleable\n incomingStock projectedSaleable nextExpectedArrival\n backorderAllowance\n availability { state availableFrom orderable }\n priceListName retailPrice retailPriceWithTax taxRateApplied { value }\n priceTiers { minQuantity price priceWithTax discountLabel }\n availabilityByLocation { locationId locationName inStock }\n customFields { minOrderQuantity salesUnit position }\n }\n }\n }\n }\n";
304
+ export declare const GET_ACTIVE_CHANNEL: string;
305
+ /** Every property group, with each property's full config (`getPropertyGroups`). */
306
+ export declare const PROPERTY_GROUP_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
307
+ /** One product's values per group (`getProductProperties`); the group config is narrower. */
308
+ export declare const PRODUCT_PROPERTY_GROUP_VALUES_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
309
+ export declare const PROPERTY_GROUPS: string;
310
+ export declare const PRODUCT_PROPERTIES: string;
311
+ export declare const RECOMMENDED_PRODUCT_GROUP_FRAGMENT: import("../graphql-document.js").GraphQLFragment;
312
+ export declare const GET_PRODUCT_RECOMMENDATIONS: string;
154
313
  export declare const GET_EXCHANGE_RATES = "\n query ExchangeRates {\n exchangeRates {\n baseCurrency targetCurrency rate inverseRate rateDate\n }\n }\n";
155
- export declare const CONVERT_CURRENCY = "\n query ConvertCurrency($amount: String!, $from: String!, $to: String!) {\n convertCurrency(amount: $amount, fromCurrency: $from, toCurrency: $to) {\n \n originalAmount originalCurrency convertedAmount targetCurrency rate rateDate\n\n }\n }\n";
314
+ export declare const CONVERT_CURRENCY: string;
156
315
  export declare const GET_EXCHANGE_RATE = "\n query ExchangeRate($targetCurrency: String!) {\n exchangeRate(targetCurrency: $targetCurrency) {\n baseCurrency targetCurrency rate inverseRate rateDate\n }\n }\n";
157
- export declare const CONVERT_FROM_BASE = "\n query ConvertFromBase($amount: String!, $targetCurrency: String!) {\n convertFromBase(amount: $amount, targetCurrency: $targetCurrency) {\n \n originalAmount originalCurrency convertedAmount targetCurrency rate rateDate\n\n }\n }\n";
158
- export declare const CONVERT_TO_BASE = "\n query ConvertToBase($amount: String!, $sourceCurrency: String!) {\n convertToBase(amount: $amount, sourceCurrency: $sourceCurrency) {\n \n originalAmount originalCurrency convertedAmount targetCurrency rate rateDate\n\n }\n }\n";
316
+ export declare const CONVERT_FROM_BASE: string;
317
+ export declare const CONVERT_TO_BASE: string;
159
318
  export declare const CONVERT_TO_MULTIPLE = "\n query ConvertToMultiple($amount: String!, $from: String!, $to: [String!]!) {\n convertToMultiple(amount: $amount, fromCurrency: $from, toCurrencies: $to) {\n currency amount rate\n }\n }\n";
160
319
  export declare const MY_QUOTES: string;
161
320
  export declare const MY_QUOTES_LEGACY: string;
@@ -163,7 +322,7 @@ export declare const MY_QUOTE: string;
163
322
  export declare const MY_QUOTE_LEGACY: string;
164
323
  export declare const CREATE_QUOTE_REQUEST: string;
165
324
  export declare const CREATE_QUOTE_REQUEST_LEGACY: string;
166
- export declare const ACCEPT_QUOTE = "\n mutation AcceptQuote($id: ID!) {\n acceptQuote(id: $id) { \n id code state active\n createdAt orderPlacedAt\n totalQuantity\n subTotal subTotalWithTax\n shipping shippingWithTax\n total totalWithTax\n currencyCode\n lines {\n id quantity\n unitPrice unitPriceWithTax taxRate\n linePrice linePriceWithTax\n discountedLinePrice discountedLinePriceWithTax\n discounts { adjustmentSource type description amount amountWithTax }\n productVariant {\n id name sku saleable\n product { id name slug }\n options { id name group { name } }\n }\n featuredAsset { source presets { xs { url webpUrl } } }\n }\n discounts { adjustmentSource type description amount amountWithTax }\n taxSummary { description taxRate taxBase taxTotal }\n promotions { id name couponCode description }\n shippingLines { shippingMethod { id name code } priceWithTax }\n payments { id method amount state transactionId }\n shippingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n billingAddress { fullName company streetLine1 streetLine2 city province postalCode countryCode phoneNumber }\n customer { id firstName lastName emailAddress }\n couponCodes\n }\n }\n";
325
+ export declare const ACCEPT_QUOTE: string;
167
326
  export declare const CANCEL_MY_QUOTE: string;
168
327
  export declare const CANCEL_MY_QUOTE_LEGACY: string;
169
328
  /**
@@ -175,9 +334,17 @@ export declare const GET_BRANDING = "\n query GetBranding($ids: [ID!]!) {\n
175
334
  export declare const ACTIVE_CHANNEL_ORDER_CONSTRAINTS = "\n query ActiveChannelOrderConstraints {\n activeChannelOrderConstraints {\n minOrderAmountGross\n minOrderAmountNet\n minOrderQuantity\n fulfillmentMinOrderNet\n currencyCode\n customerIsExempt\n }\n }\n";
176
335
  export declare const MY_ORDER_INVOICES = "\n query MyOrderInvoices($orderCode: String!) {\n myOrderInvoices(orderCode: $orderCode) {\n id invoiceNumber invoicedOn totalWithTax currencyCode languageCode createdAt\n }\n }\n";
177
336
  export declare const MY_INVOICE_PDF = "\n query MyInvoicePdf($invoiceId: ID!) {\n myInvoicePdf(invoiceId: $invoiceId) {\n base64 filename invoiceNumber\n }\n }\n";
178
- export declare const MY_RETURNS = "\n query MyReturns($take: Int, $skip: Int) {\n myReturns(options: { take: $take, skip: $skip }) {\n items { \n id code state\n orderId orderCode currencyCode\n preferredSettlementMethod settlementMethod\n shippingRefundAmount settledAmount\n customerNote requestedAt resolvedAt createdAt\n lines {\n id orderLineId\n productVariantId productVariantName productVariantSku\n requestedQty approvedQty receivedQty restockQty writeOffQty\n reasonCode reasonNote\n unitPriceWithTax unitPriceWithTaxUnrounded refundAmount\n }\n }\n totalItems\n }\n }\n";
179
- export declare const MY_RETURN = "\n query MyReturn($id: ID!) {\n myReturn(id: $id) { \n id code state\n orderId orderCode currencyCode\n preferredSettlementMethod settlementMethod\n shippingRefundAmount settledAmount\n customerNote requestedAt resolvedAt createdAt\n lines {\n id orderLineId\n productVariantId productVariantName productVariantSku\n requestedQty approvedQty receivedQty restockQty writeOffQty\n reasonCode reasonNote\n unitPriceWithTax unitPriceWithTaxUnrounded refundAmount\n }\n }\n }\n";
180
- export declare const REQUEST_RETURN = "\n mutation RequestReturn(\n $orderId: ID!\n $lines: [ReturnRequestLineInput!]!\n $customerNote: String\n $preferredSettlementMethod: OrderReturnSettlementMethod\n ) {\n requestReturn(\n input: {\n orderId: $orderId\n lines: $lines\n customerNote: $customerNote\n preferredSettlementMethod: $preferredSettlementMethod\n }\n ) { \n id code state\n orderId orderCode currencyCode\n preferredSettlementMethod settlementMethod\n shippingRefundAmount settledAmount\n customerNote requestedAt resolvedAt createdAt\n lines {\n id orderLineId\n productVariantId productVariantName productVariantSku\n requestedQty approvedQty receivedQty restockQty writeOffQty\n reasonCode reasonNote\n unitPriceWithTax unitPriceWithTaxUnrounded refundAmount\n }\n }\n }\n";
181
- export declare const CANCEL_MY_RETURN = "\n mutation CancelMyReturn($id: ID!) {\n cancelMyReturn(id: $id) { \n id code state\n orderId orderCode currencyCode\n preferredSettlementMethod settlementMethod\n shippingRefundAmount settledAmount\n customerNote requestedAt resolvedAt createdAt\n lines {\n id orderLineId\n productVariantId productVariantName productVariantSku\n requestedQty approvedQty receivedQty restockQty writeOffQty\n reasonCode reasonNote\n unitPriceWithTax unitPriceWithTaxUnrounded refundAmount\n }\n }\n }\n";
182
- export declare const RETURNABLE_LINES_FOR_ORDER = "\n query ReturnableLinesForOrder($orderId: ID!) {\n returnableLinesForOrder(orderId: $orderId) {\n orderId eligible reason returnWindowEndsAt\n lines {\n orderLineId\n productVariantId productVariantName productVariantSku\n fulfilledQty returnableQty unitPriceWithTax unitPriceWithTaxUnrounded\n }\n }\n }\n";
337
+ export declare const CREATE_INVOICE_DOWNLOAD_URL = "\n mutation CreateInvoiceDownloadUrl($invoiceId: ID!) {\n createInvoiceDownloadUrl(invoiceId: $invoiceId) {\n url expiresAt filename invoiceNumber\n }\n }\n";
338
+ export declare const MY_ORDER_CREDIT_NOTES = "\n query MyOrderCreditNotes($orderCode: String!) {\n myOrderCreditNotes(orderCode: $orderCode) {\n id creditNoteNumber issuedOn totalWithTax currencyCode kind reason invoiceNumber createdAt\n }\n }\n";
339
+ export declare const CREATE_CREDIT_NOTE_DOWNLOAD_URL = "\n mutation CreateCreditNoteDownloadUrl($creditNoteId: ID!) {\n createCreditNoteDownloadUrl(creditNoteId: $creditNoteId) {\n url expiresAt filename creditNoteNumber\n }\n }\n";
340
+ export declare const MY_RETURNS: string;
341
+ export declare const MY_RETURN: string;
342
+ export declare const REQUEST_RETURN: string;
343
+ export declare const CANCEL_MY_RETURN: string;
344
+ export declare const RETURNABLE_LINES_FOR_ORDER = "\n query ReturnableLinesForOrder($orderId: ID!) {\n returnableLinesForOrder(orderId: $orderId) {\n orderId eligible reason returnWindowEndsAt\n lines {\n orderLineId\n productVariantId productVariantName productVariantSku\n fulfilledQty returnableQty unitPriceWithTax unitPriceWithTaxUnrounded\n creditedQty\n correctionCredits { orderLineId creditNoteId creditNoteNumber ledger quantity amount }\n }\n }\n }\n";
345
+ /**
346
+ * The same read for an engine released before 2026-10-09, which has no `creditedQty` or
347
+ * `correctionCredits`: GraphQL refuses a whole document over one unknown field.
348
+ */
349
+ export declare const RETURNABLE_LINES_FOR_ORDER_LEGACY = "\n query ReturnableLinesForOrderLegacy($orderId: ID!) {\n returnableLinesForOrder(orderId: $orderId) {\n orderId eligible reason returnWindowEndsAt\n lines {\n orderLineId\n productVariantId productVariantName productVariantSku\n fulfilledQty returnableQty unitPriceWithTax unitPriceWithTaxUnrounded\n }\n }\n }\n";
183
350
  //# sourceMappingURL=queries.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"queries.d.ts","sourceRoot":"","sources":["../../src/commerce/queries.ts"],"names":[],"mappings":"AAoCA,eAAO,MAAM,WAAW,izFA4DvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,2yFA4D7B,CAAC;AAEF,eAAO,MAAM,aAAa,2wCAkCzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,eAAO,MAAM,kBAAkB,ikCA8B9B,CAAC;AAEF,eAAO,MAAM,WAAW,wJAUvB,CAAC;AAIF,eAAO,MAAM,gBAAgB,0aAgB5B,CAAC;AAwDF,eAAO,MAAM,cAAc,+kDAI1B,CAAC;AAEF,eAAO,MAAM,oBAAoB,ykDAIhC,CAAC;AAIF,eAAO,MAAM,eAAe,ymBAiB3B,CAAC;AA8JF,eAAO,MAAM,YAAY,8sCAIxB,CAAC;AAEF,eAAO,MAAM,WAAW,yrDAUvB,CAAC;AAEF,eAAO,MAAM,iBAAiB,wqDAU7B,CAAC;AAEF,eAAO,MAAM,iBAAiB,q1CAO7B,CAAC;AAEF,eAAO,MAAM,YAAY,2+CASxB,CAAC;AAEF,eAAO,MAAM,aAAa,0vCAIzB,CAAC;AAEF,eAAO,MAAM,sBAAsB,yzCAOlC,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,svDAa7B,CAAC;AAIF,eAAO,MAAM,YAAY,wgDAUxB,CAAC;AAEF,eAAO,MAAM,oBAAoB,o2CAOhC,CAAC;AAEF,eAAO,MAAM,mBA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