@shopify/ui-extensions 2026.4.0-rc.2 → 2026.4.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 (1178) hide show
  1. package/build/cjs/surfaces/checkout/preact/api.js +2 -0
  2. package/build/cjs/surfaces/checkout/preact/app-metafields.js +1 -0
  3. package/build/cjs/surfaces/checkout/preact/attributes.js +3 -0
  4. package/build/cjs/surfaces/checkout/preact/billing-address.js +1 -0
  5. package/build/cjs/surfaces/checkout/preact/buyer-identity.js +4 -0
  6. package/build/cjs/surfaces/checkout/preact/buyer-journey.js +5 -0
  7. package/build/cjs/surfaces/checkout/preact/capabilities.js +2 -0
  8. package/build/cjs/surfaces/checkout/preact/cart-line-target.js +1 -0
  9. package/build/cjs/surfaces/checkout/preact/cart-lines.js +2 -0
  10. package/build/cjs/surfaces/checkout/preact/checkout-settings.js +1 -0
  11. package/build/cjs/surfaces/checkout/preact/checkout-token.js +1 -0
  12. package/build/cjs/surfaces/checkout/preact/cost.js +4 -0
  13. package/build/cjs/surfaces/checkout/preact/country.js +1 -0
  14. package/build/cjs/surfaces/checkout/preact/currency.js +1 -0
  15. package/build/cjs/surfaces/checkout/preact/customer-privacy.js +1 -0
  16. package/build/cjs/surfaces/checkout/preact/delivery-group-list-target.js +1 -0
  17. package/build/cjs/surfaces/checkout/preact/delivery-group-target.js +1 -0
  18. package/build/cjs/surfaces/checkout/preact/delivery-group.js +1 -0
  19. package/build/cjs/surfaces/checkout/preact/delivery-groups.js +1 -0
  20. package/build/cjs/surfaces/checkout/preact/delivery-selection-groups.js +1 -0
  21. package/build/cjs/surfaces/checkout/preact/discounts.js +3 -0
  22. package/build/cjs/surfaces/checkout/preact/extension-editor.js +1 -0
  23. package/build/cjs/surfaces/checkout/preact/extension-language.js +1 -0
  24. package/build/cjs/surfaces/checkout/preact/extension.js +2 -0
  25. package/build/cjs/surfaces/checkout/preact/gift-cards.js +2 -0
  26. package/build/cjs/surfaces/checkout/preact/instructions.js +1 -0
  27. package/build/cjs/surfaces/checkout/preact/language.js +1 -0
  28. package/build/cjs/surfaces/checkout/preact/localized-fields.js +2 -0
  29. package/build/cjs/surfaces/checkout/preact/market.js +1 -0
  30. package/build/cjs/surfaces/checkout/preact/metafields.js +1 -0
  31. package/build/cjs/surfaces/checkout/preact/note.js +2 -0
  32. package/build/cjs/surfaces/checkout/preact/payment-method.js +3 -0
  33. package/build/cjs/surfaces/checkout/preact/payment-options.js +2 -0
  34. package/build/cjs/surfaces/checkout/preact/pickup-location-option-target.js +1 -0
  35. package/build/cjs/surfaces/checkout/preact/redeemable.js +1 -0
  36. package/build/cjs/surfaces/checkout/preact/session-token.js +1 -0
  37. package/build/cjs/surfaces/checkout/preact/settings.js +1 -0
  38. package/build/cjs/surfaces/checkout/preact/shipping-address.js +2 -0
  39. package/build/cjs/surfaces/checkout/preact/shipping-option-target.js +1 -0
  40. package/build/cjs/surfaces/checkout/preact/shop.js +1 -0
  41. package/build/cjs/surfaces/checkout/preact/storage.js +1 -0
  42. package/build/cjs/surfaces/checkout/preact/subscription.js +1 -0
  43. package/build/cjs/surfaces/checkout/preact/target.js +1 -0
  44. package/build/cjs/surfaces/checkout/preact/timezone.js +1 -0
  45. package/build/cjs/surfaces/checkout/preact/translate.js +1 -0
  46. package/build/cjs/surfaces/checkout/shared.js +3 -16
  47. package/build/cjs/surfaces/checkout/style/style.js +1 -0
  48. package/build/cjs/surfaces/point-of-sale/types/storage.js +4 -0
  49. package/build/esm/surfaces/checkout/preact/api.mjs +2 -0
  50. package/build/esm/surfaces/checkout/preact/app-metafields.mjs +1 -0
  51. package/build/esm/surfaces/checkout/preact/attributes.mjs +3 -0
  52. package/build/esm/surfaces/checkout/preact/billing-address.mjs +1 -0
  53. package/build/esm/surfaces/checkout/preact/buyer-identity.mjs +4 -0
  54. package/build/esm/surfaces/checkout/preact/buyer-journey.mjs +5 -0
  55. package/build/esm/surfaces/checkout/preact/capabilities.mjs +2 -0
  56. package/build/esm/surfaces/checkout/preact/cart-line-target.mjs +1 -0
  57. package/build/esm/surfaces/checkout/preact/cart-lines.mjs +2 -0
  58. package/build/esm/surfaces/checkout/preact/checkout-settings.mjs +1 -0
  59. package/build/esm/surfaces/checkout/preact/checkout-token.mjs +1 -0
  60. package/build/esm/surfaces/checkout/preact/cost.mjs +4 -0
  61. package/build/esm/surfaces/checkout/preact/country.mjs +1 -0
  62. package/build/esm/surfaces/checkout/preact/currency.mjs +1 -0
  63. package/build/esm/surfaces/checkout/preact/customer-privacy.mjs +1 -0
  64. package/build/esm/surfaces/checkout/preact/delivery-group-list-target.mjs +1 -0
  65. package/build/esm/surfaces/checkout/preact/delivery-group-target.mjs +1 -0
  66. package/build/esm/surfaces/checkout/preact/delivery-group.mjs +1 -0
  67. package/build/esm/surfaces/checkout/preact/delivery-groups.mjs +1 -0
  68. package/build/esm/surfaces/checkout/preact/delivery-selection-groups.mjs +1 -0
  69. package/build/esm/surfaces/checkout/preact/discounts.mjs +3 -0
  70. package/build/esm/surfaces/checkout/preact/extension-editor.mjs +1 -0
  71. package/build/esm/surfaces/checkout/preact/extension-language.mjs +1 -0
  72. package/build/esm/surfaces/checkout/preact/extension.mjs +2 -0
  73. package/build/esm/surfaces/checkout/preact/gift-cards.mjs +2 -0
  74. package/build/esm/surfaces/checkout/preact/instructions.mjs +1 -0
  75. package/build/esm/surfaces/checkout/preact/language.mjs +1 -0
  76. package/build/esm/surfaces/checkout/preact/localized-fields.mjs +2 -0
  77. package/build/esm/surfaces/checkout/preact/market.mjs +1 -0
  78. package/build/esm/surfaces/checkout/preact/metafields.mjs +1 -0
  79. package/build/esm/surfaces/checkout/preact/note.mjs +2 -0
  80. package/build/esm/surfaces/checkout/preact/payment-method.mjs +3 -0
  81. package/build/esm/surfaces/checkout/preact/payment-options.mjs +2 -0
  82. package/build/esm/surfaces/checkout/preact/pickup-location-option-target.mjs +1 -0
  83. package/build/esm/surfaces/checkout/preact/redeemable.mjs +1 -0
  84. package/build/esm/surfaces/checkout/preact/session-token.mjs +1 -0
  85. package/build/esm/surfaces/checkout/preact/settings.mjs +1 -0
  86. package/build/esm/surfaces/checkout/preact/shipping-address.mjs +2 -0
  87. package/build/esm/surfaces/checkout/preact/shipping-option-target.mjs +1 -0
  88. package/build/esm/surfaces/checkout/preact/shop.mjs +1 -0
  89. package/build/esm/surfaces/checkout/preact/storage.mjs +1 -0
  90. package/build/esm/surfaces/checkout/preact/subscription.mjs +1 -0
  91. package/build/esm/surfaces/checkout/preact/target.mjs +1 -0
  92. package/build/esm/surfaces/checkout/preact/timezone.mjs +1 -0
  93. package/build/esm/surfaces/checkout/preact/translate.mjs +1 -0
  94. package/build/esm/surfaces/checkout/shared.mjs +3 -16
  95. package/build/esm/surfaces/checkout/style/style.mjs +1 -0
  96. package/build/esm/surfaces/point-of-sale/types/storage.mjs +4 -0
  97. package/build/esnext/surfaces/checkout/preact/api.esnext +2 -0
  98. package/build/esnext/surfaces/checkout/preact/app-metafields.esnext +1 -0
  99. package/build/esnext/surfaces/checkout/preact/attributes.esnext +3 -0
  100. package/build/esnext/surfaces/checkout/preact/billing-address.esnext +1 -0
  101. package/build/esnext/surfaces/checkout/preact/buyer-identity.esnext +4 -0
  102. package/build/esnext/surfaces/checkout/preact/buyer-journey.esnext +5 -0
  103. package/build/esnext/surfaces/checkout/preact/capabilities.esnext +2 -0
  104. package/build/esnext/surfaces/checkout/preact/cart-line-target.esnext +1 -0
  105. package/build/esnext/surfaces/checkout/preact/cart-lines.esnext +2 -0
  106. package/build/esnext/surfaces/checkout/preact/checkout-settings.esnext +1 -0
  107. package/build/esnext/surfaces/checkout/preact/checkout-token.esnext +1 -0
  108. package/build/esnext/surfaces/checkout/preact/cost.esnext +4 -0
  109. package/build/esnext/surfaces/checkout/preact/country.esnext +1 -0
  110. package/build/esnext/surfaces/checkout/preact/currency.esnext +1 -0
  111. package/build/esnext/surfaces/checkout/preact/customer-privacy.esnext +1 -0
  112. package/build/esnext/surfaces/checkout/preact/delivery-group-list-target.esnext +1 -0
  113. package/build/esnext/surfaces/checkout/preact/delivery-group-target.esnext +1 -0
  114. package/build/esnext/surfaces/checkout/preact/delivery-group.esnext +1 -0
  115. package/build/esnext/surfaces/checkout/preact/delivery-groups.esnext +1 -0
  116. package/build/esnext/surfaces/checkout/preact/delivery-selection-groups.esnext +1 -0
  117. package/build/esnext/surfaces/checkout/preact/discounts.esnext +3 -0
  118. package/build/esnext/surfaces/checkout/preact/extension-editor.esnext +1 -0
  119. package/build/esnext/surfaces/checkout/preact/extension-language.esnext +1 -0
  120. package/build/esnext/surfaces/checkout/preact/extension.esnext +2 -0
  121. package/build/esnext/surfaces/checkout/preact/gift-cards.esnext +2 -0
  122. package/build/esnext/surfaces/checkout/preact/instructions.esnext +1 -0
  123. package/build/esnext/surfaces/checkout/preact/language.esnext +1 -0
  124. package/build/esnext/surfaces/checkout/preact/localized-fields.esnext +2 -0
  125. package/build/esnext/surfaces/checkout/preact/market.esnext +1 -0
  126. package/build/esnext/surfaces/checkout/preact/metafields.esnext +1 -0
  127. package/build/esnext/surfaces/checkout/preact/note.esnext +2 -0
  128. package/build/esnext/surfaces/checkout/preact/payment-method.esnext +3 -0
  129. package/build/esnext/surfaces/checkout/preact/payment-options.esnext +2 -0
  130. package/build/esnext/surfaces/checkout/preact/pickup-location-option-target.esnext +1 -0
  131. package/build/esnext/surfaces/checkout/preact/redeemable.esnext +1 -0
  132. package/build/esnext/surfaces/checkout/preact/session-token.esnext +1 -0
  133. package/build/esnext/surfaces/checkout/preact/settings.esnext +1 -0
  134. package/build/esnext/surfaces/checkout/preact/shipping-address.esnext +2 -0
  135. package/build/esnext/surfaces/checkout/preact/shipping-option-target.esnext +1 -0
  136. package/build/esnext/surfaces/checkout/preact/shop.esnext +1 -0
  137. package/build/esnext/surfaces/checkout/preact/storage.esnext +1 -0
  138. package/build/esnext/surfaces/checkout/preact/subscription.esnext +1 -0
  139. package/build/esnext/surfaces/checkout/preact/target.esnext +1 -0
  140. package/build/esnext/surfaces/checkout/preact/timezone.esnext +1 -0
  141. package/build/esnext/surfaces/checkout/preact/translate.esnext +1 -0
  142. package/build/esnext/surfaces/checkout/shared.esnext +3 -16
  143. package/build/esnext/surfaces/checkout/style/style.esnext +1 -0
  144. package/build/esnext/surfaces/point-of-sale/types/storage.esnext +4 -0
  145. package/build/ts/shared.d.ts +32 -12
  146. package/build/ts/shared.d.ts.map +1 -1
  147. package/build/ts/surfaces/admin/api/action/action.d.ts +1 -0
  148. package/build/ts/surfaces/admin/api/action/action.d.ts.map +1 -1
  149. package/build/ts/surfaces/admin/api/block/block.d.ts +2 -0
  150. package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
  151. package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts +7 -4
  152. package/build/ts/surfaces/admin/api/checkout-rules/launch-options.d.ts.map +1 -1
  153. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +13 -7
  154. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
  155. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts +1 -0
  156. package/build/ts/surfaces/admin/api/checkout-rules/validation-settings.d.ts.map +1 -1
  157. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts +3 -0
  158. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -1
  159. package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts +1 -0
  160. package/build/ts/surfaces/admin/api/discount-function-settings/discount-function-settings.d.ts.map +1 -1
  161. package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts +7 -3
  162. package/build/ts/surfaces/admin/api/discount-function-settings/launch-options.d.ts.map +1 -1
  163. package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts +13 -7
  164. package/build/ts/surfaces/admin/api/discount-function-settings/metafields.d.ts.map +1 -1
  165. package/build/ts/surfaces/admin/api/intents/intent-render.d.ts +24 -0
  166. package/build/ts/surfaces/admin/api/intents/intent-render.d.ts.map +1 -0
  167. package/build/ts/surfaces/admin/api/intents/intents.d.ts +44 -8
  168. package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
  169. package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +5 -3
  170. package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -1
  171. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +8 -3
  172. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
  173. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +1 -0
  174. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -1
  175. package/build/ts/surfaces/admin/api/picker/picker.d.ts +15 -7
  176. package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
  177. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +1 -0
  178. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
  179. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +4 -2
  180. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -1
  181. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +4 -2
  182. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -1
  183. package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts +1 -0
  184. package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts.map +1 -1
  185. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +36 -17
  186. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
  187. package/build/ts/surfaces/admin/api/shared.d.ts +2 -0
  188. package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
  189. package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts +3 -0
  190. package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts.map +1 -1
  191. package/build/ts/surfaces/admin/api/standard/standard.d.ts +4 -1
  192. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  193. package/build/ts/surfaces/admin/api/standard/storage.d.ts +4 -0
  194. package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
  195. package/build/ts/surfaces/admin/api.d.ts +1 -0
  196. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  197. package/build/ts/surfaces/admin/components/AdminAction.d.ts +6 -0
  198. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +6 -0
  199. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
  200. package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -0
  201. package/build/ts/surfaces/admin/components/Badge.d.ts +10 -1
  202. package/build/ts/surfaces/admin/components/Banner.d.ts +11 -0
  203. package/build/ts/surfaces/admin/components/Box.d.ts +14 -0
  204. package/build/ts/surfaces/admin/components/Button.d.ts +15 -1
  205. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +8 -0
  206. package/build/ts/surfaces/admin/components/Checkbox.d.ts +12 -1
  207. package/build/ts/surfaces/admin/components/Chip.d.ts +4 -2
  208. package/build/ts/surfaces/admin/components/Choice.d.ts +10 -2
  209. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +12 -2
  210. package/build/ts/surfaces/admin/components/Clickable.d.ts +23 -11
  211. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +11 -0
  212. package/build/ts/surfaces/admin/components/ColorField.d.ts +12 -0
  213. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +9 -0
  214. package/build/ts/surfaces/admin/components/DateField.d.ts +11 -0
  215. package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -1
  216. package/build/ts/surfaces/admin/components/Divider.d.ts +7 -0
  217. package/build/ts/surfaces/admin/components/DropZone.d.ts +8 -4
  218. package/build/ts/surfaces/admin/components/EmailField.d.ts +12 -0
  219. package/build/ts/surfaces/admin/components/Form.d.ts +10 -0
  220. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +12 -0
  221. package/build/ts/surfaces/admin/components/Grid.d.ts +28 -12
  222. package/build/ts/surfaces/admin/components/GridItem.d.ts +22 -7
  223. package/build/ts/surfaces/admin/components/Heading.d.ts +8 -0
  224. package/build/ts/surfaces/admin/components/Icon.d.ts +6 -3
  225. package/build/ts/surfaces/admin/components/Image.d.ts +22 -7
  226. package/build/ts/surfaces/admin/components/Link.d.ts +13 -3
  227. package/build/ts/surfaces/admin/components/ListItem.d.ts +8 -0
  228. package/build/ts/surfaces/admin/components/Menu.d.ts +11 -0
  229. package/build/ts/surfaces/admin/components/Modal.d.ts +8 -4
  230. package/build/ts/surfaces/admin/components/MoneyField.d.ts +13 -0
  231. package/build/ts/surfaces/admin/components/NumberField.d.ts +12 -0
  232. package/build/ts/surfaces/admin/components/Option.d.ts +10 -2
  233. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +10 -2
  234. package/build/ts/surfaces/admin/components/OrderedList.d.ts +8 -0
  235. package/build/ts/surfaces/admin/components/Page.d.ts +4 -2
  236. package/build/ts/surfaces/admin/components/Paragraph.d.ts +8 -0
  237. package/build/ts/surfaces/admin/components/PasswordField.d.ts +12 -0
  238. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +8 -0
  239. package/build/ts/surfaces/admin/components/SearchField.d.ts +13 -1
  240. package/build/ts/surfaces/admin/components/Section.d.ts +9 -0
  241. package/build/ts/surfaces/admin/components/Select.d.ts +14 -2
  242. package/build/ts/surfaces/admin/components/Spinner.d.ts +7 -0
  243. package/build/ts/surfaces/admin/components/Stack.d.ts +27 -11
  244. package/build/ts/surfaces/admin/components/Switch.d.ts +12 -1
  245. package/build/ts/surfaces/admin/components/Table.d.ts +15 -0
  246. package/build/ts/surfaces/admin/components/TableBody.d.ts +8 -0
  247. package/build/ts/surfaces/admin/components/TableCell.d.ts +9 -0
  248. package/build/ts/surfaces/admin/components/TableHeader.d.ts +9 -0
  249. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
  250. package/build/ts/surfaces/admin/components/TableRow.d.ts +8 -0
  251. package/build/ts/surfaces/admin/components/Text.d.ts +19 -0
  252. package/build/ts/surfaces/admin/components/TextArea.d.ts +12 -0
  253. package/build/ts/surfaces/admin/components/TextField.d.ts +14 -1
  254. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +9 -0
  255. package/build/ts/surfaces/admin/components/Tooltip.d.ts +11 -0
  256. package/build/ts/surfaces/admin/components/URLField.d.ts +12 -0
  257. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +14 -0
  258. package/build/ts/surfaces/admin/components/shared.d.ts +267 -0
  259. package/build/ts/surfaces/admin/extension-targets.d.ts +8 -1
  260. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  261. package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +61 -0
  262. package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +2 -0
  263. package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
  264. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +3 -0
  265. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
  266. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +1 -0
  267. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
  268. package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +2 -0
  269. package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
  270. package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +1 -0
  271. package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
  272. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +5 -1
  273. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
  274. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +258 -122
  275. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  276. package/build/ts/surfaces/checkout/api/docs.d.ts +33 -8
  277. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
  278. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +12 -5
  279. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
  280. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +7 -0
  281. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  282. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -2
  283. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
  284. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +4 -1
  285. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
  286. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +4 -1
  287. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
  288. package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +7 -0
  289. package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -1
  290. package/build/ts/surfaces/checkout/api/shared.d.ts +79 -31
  291. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  292. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +6 -4
  293. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  294. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +18 -12
  295. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  296. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +659 -443
  297. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  298. package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +4 -0
  299. package/build/ts/surfaces/checkout/components/Announcement.d.ts +38 -9
  300. package/build/ts/surfaces/checkout/components/Badge.d.ts +46 -3
  301. package/build/ts/surfaces/checkout/components/Banner.d.ts +64 -9
  302. package/build/ts/surfaces/checkout/components/Box.d.ts +52 -0
  303. package/build/ts/surfaces/checkout/components/Button.d.ts +16 -3
  304. package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
  305. package/build/ts/surfaces/checkout/components/Checkbox.d.ts +17 -2
  306. package/build/ts/surfaces/checkout/components/Chip.d.ts +8 -0
  307. package/build/ts/surfaces/checkout/components/Choice.d.ts +8 -0
  308. package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +17 -2
  309. package/build/ts/surfaces/checkout/components/Clickable.d.ts +37 -7
  310. package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +23 -5
  311. package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +16 -2
  312. package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +17 -2
  313. package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +29 -10
  314. package/build/ts/surfaces/checkout/components/DateField.d.ts +31 -6
  315. package/build/ts/surfaces/checkout/components/DatePicker.d.ts +28 -5
  316. package/build/ts/surfaces/checkout/components/Details.d.ts +14 -0
  317. package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
  318. package/build/ts/surfaces/checkout/components/DropZone.d.ts +22 -3
  319. package/build/ts/surfaces/checkout/components/EmailField.d.ts +29 -10
  320. package/build/ts/surfaces/checkout/components/Form.d.ts +16 -1
  321. package/build/ts/surfaces/checkout/components/Grid.d.ts +139 -0
  322. package/build/ts/surfaces/checkout/components/GridItem.d.ts +57 -0
  323. package/build/ts/surfaces/checkout/components/Heading.d.ts +4 -0
  324. package/build/ts/surfaces/checkout/components/Icon.d.ts +49 -4
  325. package/build/ts/surfaces/checkout/components/Image.d.ts +43 -1
  326. package/build/ts/surfaces/checkout/components/Link.d.ts +16 -3
  327. package/build/ts/surfaces/checkout/components/ListItem.d.ts +4 -0
  328. package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
  329. package/build/ts/surfaces/checkout/components/MapMarker.d.ts +39 -8
  330. package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
  331. package/build/ts/surfaces/checkout/components/MoneyField.d.ts +23 -8
  332. package/build/ts/surfaces/checkout/components/NumberField.d.ts +29 -10
  333. package/build/ts/surfaces/checkout/components/Option.d.ts +4 -0
  334. package/build/ts/surfaces/checkout/components/OrderedList.d.ts +4 -0
  335. package/build/ts/surfaces/checkout/components/Paragraph.d.ts +4 -0
  336. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +29 -10
  337. package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
  338. package/build/ts/surfaces/checkout/components/PhoneField.d.ts +29 -10
  339. package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
  340. package/build/ts/surfaces/checkout/components/PressButton.d.ts +20 -6
  341. package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
  342. package/build/ts/surfaces/checkout/components/Progress.d.ts +29 -0
  343. package/build/ts/surfaces/checkout/components/QRCode.d.ts +28 -3
  344. package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +1 -0
  345. package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +57 -0
  346. package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
  347. package/build/ts/surfaces/checkout/components/Select.d.ts +21 -6
  348. package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
  349. package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +4 -0
  350. package/build/ts/surfaces/checkout/components/Spinner.d.ts +18 -0
  351. package/build/ts/surfaces/checkout/components/Stack.d.ts +112 -0
  352. package/build/ts/surfaces/checkout/components/Summary.d.ts +4 -0
  353. package/build/ts/surfaces/checkout/components/Switch.d.ts +17 -2
  354. package/build/ts/surfaces/checkout/components/Text.d.ts +4 -0
  355. package/build/ts/surfaces/checkout/components/TextArea.d.ts +23 -8
  356. package/build/ts/surfaces/checkout/components/TextField.d.ts +29 -10
  357. package/build/ts/surfaces/checkout/components/Time.d.ts +4 -0
  358. package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
  359. package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +4 -0
  360. package/build/ts/surfaces/checkout/components/UrlField.d.ts +29 -10
  361. package/build/ts/surfaces/checkout/components/components-shared.d.ts +616 -605
  362. package/build/ts/surfaces/checkout/components/components.d.ts +568 -288
  363. package/build/ts/surfaces/checkout/extension-targets.d.ts +13 -0
  364. package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
  365. package/build/ts/surfaces/checkout/globals.d.ts +1 -0
  366. package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
  367. package/build/ts/surfaces/checkout/preact/api.d.ts +2 -0
  368. package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
  369. package/build/ts/surfaces/checkout/preact/app-metafields.d.ts +1 -0
  370. package/build/ts/surfaces/checkout/preact/app-metafields.d.ts.map +1 -1
  371. package/build/ts/surfaces/checkout/preact/attributes.d.ts +3 -0
  372. package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
  373. package/build/ts/surfaces/checkout/preact/billing-address.d.ts +1 -0
  374. package/build/ts/surfaces/checkout/preact/billing-address.d.ts.map +1 -1
  375. package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts +4 -0
  376. package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts.map +1 -1
  377. package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +5 -0
  378. package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
  379. package/build/ts/surfaces/checkout/preact/capabilities.d.ts +2 -0
  380. package/build/ts/surfaces/checkout/preact/capabilities.d.ts.map +1 -1
  381. package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts +1 -0
  382. package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts.map +1 -1
  383. package/build/ts/surfaces/checkout/preact/cart-lines.d.ts +2 -0
  384. package/build/ts/surfaces/checkout/preact/cart-lines.d.ts.map +1 -1
  385. package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts +1 -0
  386. package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts.map +1 -1
  387. package/build/ts/surfaces/checkout/preact/checkout-token.d.ts +1 -0
  388. package/build/ts/surfaces/checkout/preact/checkout-token.d.ts.map +1 -1
  389. package/build/ts/surfaces/checkout/preact/cost.d.ts +4 -0
  390. package/build/ts/surfaces/checkout/preact/cost.d.ts.map +1 -1
  391. package/build/ts/surfaces/checkout/preact/country.d.ts +1 -0
  392. package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
  393. package/build/ts/surfaces/checkout/preact/currency.d.ts +1 -0
  394. package/build/ts/surfaces/checkout/preact/currency.d.ts.map +1 -1
  395. package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts +1 -0
  396. package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts.map +1 -1
  397. package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts +1 -0
  398. package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts.map +1 -1
  399. package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts +1 -0
  400. package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts.map +1 -1
  401. package/build/ts/surfaces/checkout/preact/delivery-group.d.ts +1 -0
  402. package/build/ts/surfaces/checkout/preact/delivery-group.d.ts.map +1 -1
  403. package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts +1 -0
  404. package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts.map +1 -1
  405. package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts +1 -0
  406. package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts.map +1 -1
  407. package/build/ts/surfaces/checkout/preact/discounts.d.ts +3 -0
  408. package/build/ts/surfaces/checkout/preact/discounts.d.ts.map +1 -1
  409. package/build/ts/surfaces/checkout/preact/extension-editor.d.ts +1 -0
  410. package/build/ts/surfaces/checkout/preact/extension-editor.d.ts.map +1 -1
  411. package/build/ts/surfaces/checkout/preact/extension-language.d.ts +1 -0
  412. package/build/ts/surfaces/checkout/preact/extension-language.d.ts.map +1 -1
  413. package/build/ts/surfaces/checkout/preact/extension.d.ts +2 -0
  414. package/build/ts/surfaces/checkout/preact/extension.d.ts.map +1 -1
  415. package/build/ts/surfaces/checkout/preact/gift-cards.d.ts +2 -0
  416. package/build/ts/surfaces/checkout/preact/gift-cards.d.ts.map +1 -1
  417. package/build/ts/surfaces/checkout/preact/instructions.d.ts +1 -0
  418. package/build/ts/surfaces/checkout/preact/instructions.d.ts.map +1 -1
  419. package/build/ts/surfaces/checkout/preact/language.d.ts +1 -0
  420. package/build/ts/surfaces/checkout/preact/language.d.ts.map +1 -1
  421. package/build/ts/surfaces/checkout/preact/localized-fields.d.ts +2 -0
  422. package/build/ts/surfaces/checkout/preact/localized-fields.d.ts.map +1 -1
  423. package/build/ts/surfaces/checkout/preact/market.d.ts +1 -0
  424. package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
  425. package/build/ts/surfaces/checkout/preact/metafields.d.ts +1 -0
  426. package/build/ts/surfaces/checkout/preact/metafields.d.ts.map +1 -1
  427. package/build/ts/surfaces/checkout/preact/note.d.ts +2 -0
  428. package/build/ts/surfaces/checkout/preact/note.d.ts.map +1 -1
  429. package/build/ts/surfaces/checkout/preact/payment-method.d.ts +3 -0
  430. package/build/ts/surfaces/checkout/preact/payment-method.d.ts.map +1 -1
  431. package/build/ts/surfaces/checkout/preact/payment-options.d.ts +2 -0
  432. package/build/ts/surfaces/checkout/preact/payment-options.d.ts.map +1 -1
  433. package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts +1 -0
  434. package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts.map +1 -1
  435. package/build/ts/surfaces/checkout/preact/redeemable.d.ts +1 -0
  436. package/build/ts/surfaces/checkout/preact/redeemable.d.ts.map +1 -1
  437. package/build/ts/surfaces/checkout/preact/session-token.d.ts +1 -0
  438. package/build/ts/surfaces/checkout/preact/session-token.d.ts.map +1 -1
  439. package/build/ts/surfaces/checkout/preact/settings.d.ts +1 -0
  440. package/build/ts/surfaces/checkout/preact/settings.d.ts.map +1 -1
  441. package/build/ts/surfaces/checkout/preact/shipping-address.d.ts +2 -0
  442. package/build/ts/surfaces/checkout/preact/shipping-address.d.ts.map +1 -1
  443. package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +1 -0
  444. package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
  445. package/build/ts/surfaces/checkout/preact/shop.d.ts +1 -0
  446. package/build/ts/surfaces/checkout/preact/shop.d.ts.map +1 -1
  447. package/build/ts/surfaces/checkout/preact/storage.d.ts +1 -0
  448. package/build/ts/surfaces/checkout/preact/storage.d.ts.map +1 -1
  449. package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -0
  450. package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
  451. package/build/ts/surfaces/checkout/preact/target.d.ts +1 -0
  452. package/build/ts/surfaces/checkout/preact/target.d.ts.map +1 -1
  453. package/build/ts/surfaces/checkout/preact/timezone.d.ts +1 -0
  454. package/build/ts/surfaces/checkout/preact/timezone.d.ts.map +1 -1
  455. package/build/ts/surfaces/checkout/preact/translate.d.ts +1 -0
  456. package/build/ts/surfaces/checkout/preact/translate.d.ts.map +1 -1
  457. package/build/ts/surfaces/checkout/shared.d.ts +11 -19
  458. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  459. package/build/ts/surfaces/checkout/style/style.d.ts +1 -0
  460. package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
  461. package/build/ts/surfaces/checkout/style/types.d.ts +20 -8
  462. package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
  463. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +1 -0
  464. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +1 -0
  465. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +1 -0
  466. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +1 -0
  467. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +1 -0
  468. package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +2 -1
  469. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +1 -0
  470. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +1 -0
  471. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +1 -0
  472. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +1 -0
  473. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +1 -0
  474. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +1 -0
  475. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +1 -0
  476. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +1 -0
  477. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +1 -0
  478. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +1 -0
  479. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +1 -0
  480. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +1 -0
  481. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +1 -0
  482. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +1 -0
  483. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +1 -0
  484. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +1 -0
  485. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +1 -0
  486. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +1 -0
  487. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +1 -0
  488. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +1 -0
  489. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +1 -0
  490. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +1 -0
  491. package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +1 -0
  492. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +1 -0
  493. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +1 -0
  494. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +1 -0
  495. package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +2 -1
  496. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +1 -0
  497. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +1 -0
  498. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +1 -0
  499. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +3 -0
  500. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
  501. package/build/ts/surfaces/customer-account/api/docs.d.ts +231 -3
  502. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  503. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +454 -295
  504. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  505. package/build/ts/surfaces/customer-account/api/shared.d.ts +209 -137
  506. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  507. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +84 -68
  508. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  509. package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +4 -0
  510. package/build/ts/surfaces/customer-account/components/Announcement.d.ts +38 -9
  511. package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
  512. package/build/ts/surfaces/customer-account/components/Badge.d.ts +46 -3
  513. package/build/ts/surfaces/customer-account/components/Banner.d.ts +64 -9
  514. package/build/ts/surfaces/customer-account/components/Box.d.ts +52 -0
  515. package/build/ts/surfaces/customer-account/components/Button.d.ts +16 -3
  516. package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
  517. package/build/ts/surfaces/customer-account/components/Chat.d.ts +20 -0
  518. package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +17 -2
  519. package/build/ts/surfaces/customer-account/components/Chip.d.ts +8 -0
  520. package/build/ts/surfaces/customer-account/components/Choice.d.ts +8 -0
  521. package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +17 -2
  522. package/build/ts/surfaces/customer-account/components/Clickable.d.ts +37 -7
  523. package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +23 -5
  524. package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +16 -2
  525. package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +17 -2
  526. package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +29 -10
  527. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
  528. package/build/ts/surfaces/customer-account/components/DateField.d.ts +31 -6
  529. package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +28 -5
  530. package/build/ts/surfaces/customer-account/components/Details.d.ts +14 -0
  531. package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
  532. package/build/ts/surfaces/customer-account/components/DropZone.d.ts +22 -3
  533. package/build/ts/surfaces/customer-account/components/EmailField.d.ts +29 -10
  534. package/build/ts/surfaces/customer-account/components/Form.d.ts +16 -1
  535. package/build/ts/surfaces/customer-account/components/Grid.d.ts +139 -0
  536. package/build/ts/surfaces/customer-account/components/GridItem.d.ts +57 -0
  537. package/build/ts/surfaces/customer-account/components/Heading.d.ts +4 -0
  538. package/build/ts/surfaces/customer-account/components/Icon.d.ts +49 -4
  539. package/build/ts/surfaces/customer-account/components/Image.d.ts +43 -1
  540. package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
  541. package/build/ts/surfaces/customer-account/components/Link.d.ts +16 -3
  542. package/build/ts/surfaces/customer-account/components/ListItem.d.ts +4 -0
  543. package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
  544. package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +39 -8
  545. package/build/ts/surfaces/customer-account/components/Menu.d.ts +1 -1
  546. package/build/ts/surfaces/customer-account/components/Modal.d.ts +52 -8
  547. package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +23 -8
  548. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +29 -10
  549. package/build/ts/surfaces/customer-account/components/Option.d.ts +4 -0
  550. package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +4 -0
  551. package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
  552. package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +4 -0
  553. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +29 -10
  554. package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
  555. package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +29 -10
  556. package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
  557. package/build/ts/surfaces/customer-account/components/PressButton.d.ts +20 -6
  558. package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
  559. package/build/ts/surfaces/customer-account/components/Progress.d.ts +29 -0
  560. package/build/ts/surfaces/customer-account/components/QRCode.d.ts +28 -3
  561. package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +1 -0
  562. package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +57 -0
  563. package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
  564. package/build/ts/surfaces/customer-account/components/Select.d.ts +21 -6
  565. package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
  566. package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +4 -0
  567. package/build/ts/surfaces/customer-account/components/Spinner.d.ts +18 -0
  568. package/build/ts/surfaces/customer-account/components/Stack.d.ts +112 -0
  569. package/build/ts/surfaces/customer-account/components/Summary.d.ts +4 -0
  570. package/build/ts/surfaces/customer-account/components/Switch.d.ts +17 -2
  571. package/build/ts/surfaces/customer-account/components/Text.d.ts +4 -0
  572. package/build/ts/surfaces/customer-account/components/TextArea.d.ts +23 -8
  573. package/build/ts/surfaces/customer-account/components/TextField.d.ts +29 -10
  574. package/build/ts/surfaces/customer-account/components/Time.d.ts +4 -0
  575. package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
  576. package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +4 -0
  577. package/build/ts/surfaces/customer-account/components/UrlField.d.ts +29 -10
  578. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +616 -605
  579. package/build/ts/surfaces/customer-account/components/components.d.ts +568 -288
  580. package/build/ts/surfaces/customer-account/components/shared.d.ts +23 -2
  581. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
  582. package/build/ts/surfaces/customer-account/components/shared.ts +23 -5
  583. package/build/ts/surfaces/customer-account/extension-targets.d.ts +8 -0
  584. package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
  585. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +1 -0
  586. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +1 -0
  587. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +1 -0
  588. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +1 -0
  589. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +1 -0
  590. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +1 -0
  591. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +1 -0
  592. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +1 -0
  593. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +1 -0
  594. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +1 -0
  595. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +1 -0
  596. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +1 -0
  597. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +1 -0
  598. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +1 -0
  599. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +1 -0
  600. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +1 -0
  601. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +1 -0
  602. package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +1 -0
  603. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +1 -0
  604. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +1 -0
  605. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +1 -0
  606. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +1 -0
  607. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +1 -0
  608. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +1 -0
  609. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +4 -0
  610. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -1
  611. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +3 -0
  612. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -1
  613. package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts +4 -0
  614. package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts.map +1 -1
  615. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +7 -0
  616. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
  617. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +1 -0
  618. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -1
  619. package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts +2 -0
  620. package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts.map +1 -1
  621. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +9 -0
  622. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -1
  623. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +5 -0
  624. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -1
  625. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +5 -0
  626. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
  627. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +5 -0
  628. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -1
  629. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +5 -0
  630. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -1
  631. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +9 -0
  632. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
  633. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +2 -0
  634. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -1
  635. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +5 -0
  636. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
  637. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +2 -0
  638. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
  639. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +5 -0
  640. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -1
  641. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +10 -0
  642. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
  643. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +12 -1
  644. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -1
  645. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +5 -0
  646. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -1
  647. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +3 -0
  648. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
  649. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +1 -0
  650. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -1
  651. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +5 -0
  652. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -1
  653. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +5 -0
  654. package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +6 -0
  655. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +6 -0
  656. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +6 -0
  657. package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +5 -0
  658. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
  659. package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
  660. package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +7 -0
  661. package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
  662. package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
  663. package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +5 -0
  664. package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
  665. package/build/ts/surfaces/point-of-sale/components/Embed.d.ts +6 -0
  666. package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
  667. package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +5 -0
  668. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +6 -0
  669. package/build/ts/surfaces/point-of-sale/components/Image.d.ts +5 -0
  670. package/build/ts/surfaces/point-of-sale/components/Link.d.ts +7 -0
  671. package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +7 -0
  672. package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
  673. package/build/ts/surfaces/point-of-sale/components/Page.d.ts +6 -0
  674. package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
  675. package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
  676. package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
  677. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
  678. package/build/ts/surfaces/point-of-sale/components/Section.d.ts +6 -0
  679. package/build/ts/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
  680. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +7 -0
  681. package/build/ts/surfaces/point-of-sale/components/Switch.d.ts +7 -0
  682. package/build/ts/surfaces/point-of-sale/components/Tab.d.ts +6 -0
  683. package/build/ts/surfaces/point-of-sale/components/TabList.d.ts +6 -0
  684. package/build/ts/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
  685. package/build/ts/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
  686. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +5 -0
  687. package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
  688. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +7 -0
  689. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +6 -0
  690. package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
  691. package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
  692. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
  693. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +3 -0
  694. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -1
  695. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
  696. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -1
  697. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +3 -0
  698. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
  699. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +3 -0
  700. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
  701. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +3 -0
  702. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -1
  703. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
  704. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
  705. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +1 -0
  706. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
  707. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +3 -2
  708. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
  709. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +1 -0
  710. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
  711. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +2 -0
  712. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
  713. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +1 -0
  714. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
  715. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +24 -2
  716. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
  717. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +1 -0
  718. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
  719. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +1 -0
  720. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
  721. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +2 -0
  722. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
  723. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +1 -0
  724. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
  725. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +18 -0
  726. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
  727. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +1 -0
  728. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
  729. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +13 -0
  730. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
  731. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +1 -0
  732. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -1
  733. package/build/ts/surfaces/point-of-sale/types/device.d.ts +1 -0
  734. package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -1
  735. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +1 -0
  736. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -1
  737. package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +1 -0
  738. package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -1
  739. package/build/ts/surfaces/point-of-sale/types/money.d.ts +2 -0
  740. package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
  741. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +1 -0
  742. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -1
  743. package/build/ts/surfaces/point-of-sale/types/order.d.ts +2 -0
  744. package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -1
  745. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +1 -0
  746. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -1
  747. package/build/ts/surfaces/point-of-sale/types/payment.d.ts +2 -0
  748. package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
  749. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +5 -0
  750. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
  751. package/build/ts/surfaces/point-of-sale/types/product.d.ts +5 -0
  752. package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -1
  753. package/build/ts/surfaces/point-of-sale/types/session.d.ts +1 -0
  754. package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
  755. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +3 -0
  756. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -1
  757. package/build/ts/surfaces/point-of-sale/types/storage.d.ts +4 -0
  758. package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
  759. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +1 -0
  760. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -1
  761. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +1 -0
  762. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -1
  763. package/build/tsconfig.tsbuildinfo +1 -1
  764. package/package.json +2 -2
  765. package/src/docs/shared/components/Abbreviation.ts +1 -1
  766. package/src/docs/shared/components/Announcement.ts +1 -1
  767. package/src/docs/shared/components/Avatar.ts +2 -2
  768. package/src/docs/shared/components/Badge.ts +2 -2
  769. package/src/docs/shared/components/Banner.ts +2 -2
  770. package/src/docs/shared/components/Box.ts +2 -2
  771. package/src/docs/shared/components/Button.ts +2 -2
  772. package/src/docs/shared/components/ButtonGroup.ts +2 -2
  773. package/src/docs/shared/components/Checkbox.ts +2 -2
  774. package/src/docs/shared/components/Chip.ts +2 -2
  775. package/src/docs/shared/components/Choice.ts +1 -1
  776. package/src/docs/shared/components/ChoiceList.ts +2 -2
  777. package/src/docs/shared/components/Clickable.ts +2 -2
  778. package/src/docs/shared/components/ClickableChip.ts +2 -2
  779. package/src/docs/shared/components/ClipboardItem.ts +1 -1
  780. package/src/docs/shared/components/ColorField.ts +2 -2
  781. package/src/docs/shared/components/ColorPicker.ts +2 -2
  782. package/src/docs/shared/components/ConsentCheckbox.ts +1 -1
  783. package/src/docs/shared/components/ConsentPhoneField.ts +1 -1
  784. package/src/docs/shared/components/DateField.ts +2 -2
  785. package/src/docs/shared/components/DatePicker.ts +2 -2
  786. package/src/docs/shared/components/Details.ts +1 -1
  787. package/src/docs/shared/components/Divider.ts +2 -2
  788. package/src/docs/shared/components/DropZone.ts +1 -1
  789. package/src/docs/shared/components/EmailField.ts +2 -2
  790. package/src/docs/shared/components/Form.ts +2 -2
  791. package/src/docs/shared/components/FunctionSettings.ts +2 -2
  792. package/src/docs/shared/components/Grid.ts +2 -2
  793. package/src/docs/shared/components/GridItem.ts +1 -1
  794. package/src/docs/shared/components/Heading.ts +2 -2
  795. package/src/docs/shared/components/Icon.ts +2 -2
  796. package/src/docs/shared/components/Image.ts +2 -2
  797. package/src/docs/shared/components/Link.ts +2 -2
  798. package/src/docs/shared/components/ListItem.ts +1 -1
  799. package/src/docs/shared/components/Map.ts +1 -1
  800. package/src/docs/shared/components/MapMarker.ts +1 -1
  801. package/src/docs/shared/components/Menu.ts +1 -1
  802. package/src/docs/shared/components/Modal.ts +1 -1
  803. package/src/docs/shared/components/MoneyField.ts +2 -2
  804. package/src/docs/shared/components/NumberField.ts +2 -2
  805. package/src/docs/shared/components/Option.ts +1 -1
  806. package/src/docs/shared/components/OptionGroup.ts +1 -1
  807. package/src/docs/shared/components/OrderedList.ts +2 -2
  808. package/src/docs/shared/components/Page.ts +2 -2
  809. package/src/docs/shared/components/Paragraph.ts +2 -2
  810. package/src/docs/shared/components/PasswordField.ts +2 -2
  811. package/src/docs/shared/components/PaymentIcon.ts +1 -1
  812. package/src/docs/shared/components/PhoneField.ts +1 -1
  813. package/src/docs/shared/components/Popover.ts +1 -1
  814. package/src/docs/shared/components/PressButton.ts +1 -1
  815. package/src/docs/shared/components/ProductThumbnail.ts +1 -1
  816. package/src/docs/shared/components/Progress.ts +1 -1
  817. package/src/docs/shared/components/QRCode.ts +1 -1
  818. package/src/docs/shared/components/QueryContainer.ts +1 -1
  819. package/src/docs/shared/components/ScrollBox.ts +1 -1
  820. package/src/docs/shared/components/SearchField.ts +2 -2
  821. package/src/docs/shared/components/Section.ts +2 -2
  822. package/src/docs/shared/components/Select.ts +2 -2
  823. package/src/docs/shared/components/Sheet.ts +1 -1
  824. package/src/docs/shared/components/SkeletonParagraph.ts +1 -1
  825. package/src/docs/shared/components/Spinner.ts +2 -2
  826. package/src/docs/shared/components/Stack.ts +2 -2
  827. package/src/docs/shared/components/Summary.ts +1 -1
  828. package/src/docs/shared/components/Switch.ts +2 -2
  829. package/src/docs/shared/components/Table.ts +1 -1
  830. package/src/docs/shared/components/TableBody.ts +1 -1
  831. package/src/docs/shared/components/TableCell.ts +1 -1
  832. package/src/docs/shared/components/TableHeader.ts +1 -1
  833. package/src/docs/shared/components/TableHeaderRow.ts +1 -1
  834. package/src/docs/shared/components/TableRow.ts +1 -1
  835. package/src/docs/shared/components/Text.ts +2 -2
  836. package/src/docs/shared/components/TextArea.ts +2 -2
  837. package/src/docs/shared/components/TextField.ts +2 -2
  838. package/src/docs/shared/components/Thumbnail.ts +2 -2
  839. package/src/docs/shared/components/Time.ts +1 -1
  840. package/src/docs/shared/components/Tooltip.ts +1 -1
  841. package/src/docs/shared/components/URLField.ts +2 -2
  842. package/src/docs/shared/components/UnorderedList.ts +2 -2
  843. package/src/shared.ts +32 -12
  844. package/src/surfaces/admin/api/action/action.ts +1 -0
  845. package/src/surfaces/admin/api/block/block.ts +2 -0
  846. package/src/surfaces/admin/api/checkout-rules/launch-options.ts +7 -3
  847. package/src/surfaces/admin/api/checkout-rules/metafields.ts +13 -6
  848. package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +1 -0
  849. package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +3 -0
  850. package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +1 -0
  851. package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +7 -2
  852. package/src/surfaces/admin/api/discount-function-settings/metafields.ts +13 -6
  853. package/src/surfaces/admin/api/intents/intent-render.ts +26 -0
  854. package/src/surfaces/admin/api/intents/intents.ts +49 -8
  855. package/src/surfaces/admin/api/order-routing-rule/data.ts +5 -2
  856. package/src/surfaces/admin/api/order-routing-rule/metafields.ts +8 -3
  857. package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +1 -0
  858. package/src/surfaces/admin/api/picker/picker.ts +15 -6
  859. package/src/surfaces/admin/api/print-action/print-action.ts +1 -0
  860. package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +4 -1
  861. package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +4 -1
  862. package/src/surfaces/admin/api/purchase-options-card-action.ts +1 -0
  863. package/src/surfaces/admin/api/resource-picker/resource-picker.ts +36 -17
  864. package/src/surfaces/admin/api/shared.ts +2 -0
  865. package/src/surfaces/admin/api/standard/standard-rendering.ts +3 -0
  866. package/src/surfaces/admin/api/standard/standard.ts +4 -1
  867. package/src/surfaces/admin/api/standard/storage.ts +4 -0
  868. package/src/surfaces/admin/api.ts +1 -0
  869. package/src/surfaces/admin/components/AdminAction.d.ts +6 -0
  870. package/src/surfaces/admin/components/AdminBlock.d.ts +6 -0
  871. package/src/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
  872. package/src/surfaces/admin/components/Avatar.d.ts +9 -0
  873. package/src/surfaces/admin/components/Badge.d.ts +10 -1
  874. package/src/surfaces/admin/components/Banner.d.ts +11 -0
  875. package/src/surfaces/admin/components/Box.d.ts +14 -0
  876. package/src/surfaces/admin/components/Button.d.ts +15 -1
  877. package/src/surfaces/admin/components/ButtonGroup.d.ts +8 -0
  878. package/src/surfaces/admin/components/Checkbox.d.ts +12 -1
  879. package/src/surfaces/admin/components/Chip.d.ts +4 -2
  880. package/src/surfaces/admin/components/Choice.d.ts +10 -2
  881. package/src/surfaces/admin/components/ChoiceList.d.ts +12 -2
  882. package/src/surfaces/admin/components/Clickable.d.ts +23 -11
  883. package/src/surfaces/admin/components/ClickableChip.d.ts +11 -0
  884. package/src/surfaces/admin/components/ColorField.d.ts +12 -0
  885. package/src/surfaces/admin/components/ColorPicker.d.ts +9 -0
  886. package/src/surfaces/admin/components/DateField.d.ts +11 -0
  887. package/src/surfaces/admin/components/DatePicker.d.ts +10 -1
  888. package/src/surfaces/admin/components/Divider.d.ts +7 -0
  889. package/src/surfaces/admin/components/DropZone.d.ts +8 -4
  890. package/src/surfaces/admin/components/EmailField.d.ts +12 -0
  891. package/src/surfaces/admin/components/Form.d.ts +10 -0
  892. package/src/surfaces/admin/components/FunctionSettings.d.ts +12 -0
  893. package/src/surfaces/admin/components/Grid.d.ts +28 -12
  894. package/src/surfaces/admin/components/GridItem.d.ts +22 -7
  895. package/src/surfaces/admin/components/Heading.d.ts +8 -0
  896. package/src/surfaces/admin/components/Icon.d.ts +6 -3
  897. package/src/surfaces/admin/components/Image.d.ts +22 -7
  898. package/src/surfaces/admin/components/Link.d.ts +13 -3
  899. package/src/surfaces/admin/components/ListItem.d.ts +8 -0
  900. package/src/surfaces/admin/components/Menu.d.ts +11 -0
  901. package/src/surfaces/admin/components/Modal.d.ts +8 -4
  902. package/src/surfaces/admin/components/MoneyField.d.ts +13 -0
  903. package/src/surfaces/admin/components/NumberField.d.ts +12 -0
  904. package/src/surfaces/admin/components/Option.d.ts +10 -2
  905. package/src/surfaces/admin/components/OptionGroup.d.ts +10 -2
  906. package/src/surfaces/admin/components/OrderedList.d.ts +8 -0
  907. package/src/surfaces/admin/components/Page.d.ts +4 -2
  908. package/src/surfaces/admin/components/Paragraph.d.ts +8 -0
  909. package/src/surfaces/admin/components/PasswordField.d.ts +12 -0
  910. package/src/surfaces/admin/components/QueryContainer.d.ts +8 -0
  911. package/src/surfaces/admin/components/SearchField.d.ts +13 -1
  912. package/src/surfaces/admin/components/Section.d.ts +9 -0
  913. package/src/surfaces/admin/components/Select.d.ts +14 -2
  914. package/src/surfaces/admin/components/Spinner.d.ts +7 -0
  915. package/src/surfaces/admin/components/Stack.d.ts +27 -11
  916. package/src/surfaces/admin/components/Switch.d.ts +12 -1
  917. package/src/surfaces/admin/components/Table.d.ts +15 -0
  918. package/src/surfaces/admin/components/TableBody.d.ts +8 -0
  919. package/src/surfaces/admin/components/TableCell.d.ts +9 -0
  920. package/src/surfaces/admin/components/TableHeader.d.ts +9 -0
  921. package/src/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
  922. package/src/surfaces/admin/components/TableRow.d.ts +8 -0
  923. package/src/surfaces/admin/components/Text.d.ts +19 -0
  924. package/src/surfaces/admin/components/TextArea.d.ts +12 -0
  925. package/src/surfaces/admin/components/TextField.d.ts +14 -1
  926. package/src/surfaces/admin/components/Thumbnail.d.ts +9 -0
  927. package/src/surfaces/admin/components/Tooltip.d.ts +11 -0
  928. package/src/surfaces/admin/components/URLField.d.ts +12 -0
  929. package/src/surfaces/admin/components/UnorderedList.d.ts +14 -0
  930. package/src/surfaces/admin/components/shared.d.ts +267 -0
  931. package/src/surfaces/admin/components.d.ts +722 -22
  932. package/src/surfaces/admin/extension-targets.ts +12 -0
  933. package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +2 -0
  934. package/src/surfaces/checkout/api/address-autocomplete/shared.ts +3 -0
  935. package/src/surfaces/checkout/api/address-autocomplete/standard.ts +1 -0
  936. package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +2 -0
  937. package/src/surfaces/checkout/api/announcement/announcement.ts +1 -0
  938. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +5 -1
  939. package/src/surfaces/checkout/api/checkout/checkout.ts +258 -122
  940. package/src/surfaces/checkout/api/docs.ts +34 -3
  941. package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +12 -5
  942. package/src/surfaces/checkout/api/payment/payment-option-item.ts +7 -0
  943. package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -2
  944. package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +4 -1
  945. package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +4 -1
  946. package/src/surfaces/checkout/api/redeemable/redeemable.ts +7 -0
  947. package/src/surfaces/checkout/api/shared.ts +79 -31
  948. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +6 -4
  949. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +18 -12
  950. package/src/surfaces/checkout/api/standard/standard.ts +661 -446
  951. package/src/surfaces/checkout/components/Abbreviation.d.ts +4 -0
  952. package/src/surfaces/checkout/components/Announcement.d.ts +38 -9
  953. package/src/surfaces/checkout/components/Badge.d.ts +46 -3
  954. package/src/surfaces/checkout/components/Banner.d.ts +64 -9
  955. package/src/surfaces/checkout/components/Box.d.ts +52 -0
  956. package/src/surfaces/checkout/components/Button.d.ts +16 -3
  957. package/src/surfaces/checkout/components/Chat.d.ts +20 -0
  958. package/src/surfaces/checkout/components/Checkbox.d.ts +17 -2
  959. package/src/surfaces/checkout/components/Chip.d.ts +8 -0
  960. package/src/surfaces/checkout/components/Choice.d.ts +8 -0
  961. package/src/surfaces/checkout/components/ChoiceList.d.ts +17 -2
  962. package/src/surfaces/checkout/components/Clickable.d.ts +37 -7
  963. package/src/surfaces/checkout/components/ClickableChip.d.ts +23 -5
  964. package/src/surfaces/checkout/components/ClipboardItem.d.ts +16 -2
  965. package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +17 -2
  966. package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +29 -10
  967. package/src/surfaces/checkout/components/DateField.d.ts +31 -6
  968. package/src/surfaces/checkout/components/DatePicker.d.ts +28 -5
  969. package/src/surfaces/checkout/components/Details.d.ts +14 -0
  970. package/src/surfaces/checkout/components/Divider.d.ts +1 -0
  971. package/src/surfaces/checkout/components/DropZone.d.ts +22 -3
  972. package/src/surfaces/checkout/components/EmailField.d.ts +29 -10
  973. package/src/surfaces/checkout/components/Form.d.ts +16 -1
  974. package/src/surfaces/checkout/components/Grid.d.ts +139 -0
  975. package/src/surfaces/checkout/components/GridItem.d.ts +57 -0
  976. package/src/surfaces/checkout/components/Heading.d.ts +4 -0
  977. package/src/surfaces/checkout/components/Icon.d.ts +49 -4
  978. package/src/surfaces/checkout/components/Image.d.ts +43 -1
  979. package/src/surfaces/checkout/components/Link.d.ts +16 -3
  980. package/src/surfaces/checkout/components/ListItem.d.ts +4 -0
  981. package/src/surfaces/checkout/components/Map.d.ts +68 -6
  982. package/src/surfaces/checkout/components/MapMarker.d.ts +39 -8
  983. package/src/surfaces/checkout/components/Modal.d.ts +52 -8
  984. package/src/surfaces/checkout/components/MoneyField.d.ts +23 -8
  985. package/src/surfaces/checkout/components/NumberField.d.ts +29 -10
  986. package/src/surfaces/checkout/components/Option.d.ts +4 -0
  987. package/src/surfaces/checkout/components/OrderedList.d.ts +4 -0
  988. package/src/surfaces/checkout/components/Paragraph.d.ts +4 -0
  989. package/src/surfaces/checkout/components/PasswordField.d.ts +29 -10
  990. package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
  991. package/src/surfaces/checkout/components/PhoneField.d.ts +29 -10
  992. package/src/surfaces/checkout/components/Popover.d.ts +39 -22
  993. package/src/surfaces/checkout/components/PressButton.d.ts +20 -6
  994. package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
  995. package/src/surfaces/checkout/components/Progress.d.ts +29 -0
  996. package/src/surfaces/checkout/components/QRCode.d.ts +28 -3
  997. package/src/surfaces/checkout/components/QueryContainer.d.ts +1 -0
  998. package/src/surfaces/checkout/components/ScrollBox.d.ts +57 -0
  999. package/src/surfaces/checkout/components/Section.d.ts +4 -0
  1000. package/src/surfaces/checkout/components/Select.d.ts +21 -6
  1001. package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
  1002. package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +4 -0
  1003. package/src/surfaces/checkout/components/Spinner.d.ts +18 -0
  1004. package/src/surfaces/checkout/components/Stack.d.ts +112 -0
  1005. package/src/surfaces/checkout/components/Summary.d.ts +4 -0
  1006. package/src/surfaces/checkout/components/Switch.d.ts +17 -2
  1007. package/src/surfaces/checkout/components/Text.d.ts +4 -0
  1008. package/src/surfaces/checkout/components/TextArea.d.ts +23 -8
  1009. package/src/surfaces/checkout/components/TextField.d.ts +29 -10
  1010. package/src/surfaces/checkout/components/Time.d.ts +4 -0
  1011. package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
  1012. package/src/surfaces/checkout/components/UnorderedList.d.ts +4 -0
  1013. package/src/surfaces/checkout/components/UrlField.d.ts +29 -10
  1014. package/src/surfaces/checkout/components/components-shared.d.ts +616 -605
  1015. package/src/surfaces/checkout/components/components.d.ts +568 -288
  1016. package/src/surfaces/checkout/extension-targets.ts +13 -0
  1017. package/src/surfaces/checkout/globals.ts +1 -0
  1018. package/src/surfaces/checkout/preact/api.ts +2 -0
  1019. package/src/surfaces/checkout/preact/app-metafields.ts +1 -0
  1020. package/src/surfaces/checkout/preact/attributes.ts +3 -0
  1021. package/src/surfaces/checkout/preact/billing-address.ts +1 -0
  1022. package/src/surfaces/checkout/preact/buyer-identity.ts +4 -0
  1023. package/src/surfaces/checkout/preact/buyer-journey.ts +5 -0
  1024. package/src/surfaces/checkout/preact/capabilities.ts +2 -0
  1025. package/src/surfaces/checkout/preact/cart-line-target.ts +1 -0
  1026. package/src/surfaces/checkout/preact/cart-lines.ts +2 -0
  1027. package/src/surfaces/checkout/preact/checkout-settings.ts +1 -0
  1028. package/src/surfaces/checkout/preact/checkout-token.ts +1 -0
  1029. package/src/surfaces/checkout/preact/cost.ts +4 -0
  1030. package/src/surfaces/checkout/preact/country.ts +1 -0
  1031. package/src/surfaces/checkout/preact/currency.ts +1 -0
  1032. package/src/surfaces/checkout/preact/customer-privacy.ts +1 -0
  1033. package/src/surfaces/checkout/preact/delivery-group-list-target.ts +1 -0
  1034. package/src/surfaces/checkout/preact/delivery-group-target.ts +1 -0
  1035. package/src/surfaces/checkout/preact/delivery-group.ts +1 -0
  1036. package/src/surfaces/checkout/preact/delivery-groups.ts +1 -0
  1037. package/src/surfaces/checkout/preact/delivery-selection-groups.ts +1 -0
  1038. package/src/surfaces/checkout/preact/discounts.ts +3 -0
  1039. package/src/surfaces/checkout/preact/extension-editor.ts +1 -0
  1040. package/src/surfaces/checkout/preact/extension-language.ts +1 -0
  1041. package/src/surfaces/checkout/preact/extension.ts +2 -0
  1042. package/src/surfaces/checkout/preact/gift-cards.ts +2 -0
  1043. package/src/surfaces/checkout/preact/instructions.ts +1 -0
  1044. package/src/surfaces/checkout/preact/language.ts +1 -0
  1045. package/src/surfaces/checkout/preact/localized-fields.ts +2 -0
  1046. package/src/surfaces/checkout/preact/market.ts +1 -0
  1047. package/src/surfaces/checkout/preact/metafields.ts +1 -0
  1048. package/src/surfaces/checkout/preact/note.ts +2 -0
  1049. package/src/surfaces/checkout/preact/payment-method.ts +3 -0
  1050. package/src/surfaces/checkout/preact/payment-options.ts +2 -0
  1051. package/src/surfaces/checkout/preact/pickup-location-option-target.ts +1 -0
  1052. package/src/surfaces/checkout/preact/redeemable.ts +1 -0
  1053. package/src/surfaces/checkout/preact/session-token.ts +1 -0
  1054. package/src/surfaces/checkout/preact/settings.ts +1 -0
  1055. package/src/surfaces/checkout/preact/shipping-address.ts +2 -0
  1056. package/src/surfaces/checkout/preact/shipping-option-target.ts +1 -0
  1057. package/src/surfaces/checkout/preact/shop.ts +1 -0
  1058. package/src/surfaces/checkout/preact/storage.ts +1 -0
  1059. package/src/surfaces/checkout/preact/subscription.ts +1 -0
  1060. package/src/surfaces/checkout/preact/target.ts +1 -0
  1061. package/src/surfaces/checkout/preact/timezone.ts +1 -0
  1062. package/src/surfaces/checkout/preact/translate.ts +1 -0
  1063. package/src/surfaces/checkout/shared.ts +11 -21
  1064. package/src/surfaces/checkout/style/style.ts +1 -0
  1065. package/src/surfaces/checkout/style/types.ts +20 -7
  1066. package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +3 -0
  1067. package/src/surfaces/customer-account/api/docs.ts +236 -5
  1068. package/src/surfaces/customer-account/api/order-status/order-status.ts +461 -295
  1069. package/src/surfaces/customer-account/api/shared.ts +210 -137
  1070. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +84 -68
  1071. package/src/surfaces/customer-account/components/Avatar.d.ts +43 -15
  1072. package/src/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
  1073. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
  1074. package/src/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
  1075. package/src/surfaces/customer-account/components/Menu.d.ts +1 -1
  1076. package/src/surfaces/customer-account/components/Page.d.ts +5 -5
  1077. package/src/surfaces/customer-account/components/Section.d.ts +3 -7
  1078. package/src/surfaces/customer-account/components/shared.ts +23 -5
  1079. package/src/surfaces/customer-account/components.d.ts +93 -0
  1080. package/src/surfaces/customer-account/extension-targets.ts +8 -0
  1081. package/src/surfaces/point-of-sale/api/action-api/action-api.ts +4 -0
  1082. package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +3 -0
  1083. package/src/surfaces/point-of-sale/api/camera-api/camera-api.ts +4 -0
  1084. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +7 -0
  1085. package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +1 -0
  1086. package/src/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.ts +2 -0
  1087. package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +9 -0
  1088. package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +5 -0
  1089. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +5 -0
  1090. package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +5 -0
  1091. package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +5 -0
  1092. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +9 -0
  1093. package/src/surfaces/point-of-sale/api/order-api/order-api.ts +2 -0
  1094. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +5 -0
  1095. package/src/surfaces/point-of-sale/api/print-api/print-api.ts +2 -0
  1096. package/src/surfaces/point-of-sale/api/product-api/product-api.ts +5 -0
  1097. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +10 -0
  1098. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +12 -1
  1099. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +5 -0
  1100. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +3 -0
  1101. package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +1 -0
  1102. package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +5 -0
  1103. package/src/surfaces/point-of-sale/components/Badge.d.ts +5 -0
  1104. package/src/surfaces/point-of-sale/components/Banner.d.ts +6 -0
  1105. package/src/surfaces/point-of-sale/components/Box.d.ts +6 -0
  1106. package/src/surfaces/point-of-sale/components/Button.d.ts +6 -0
  1107. package/src/surfaces/point-of-sale/components/Choice.d.ts +5 -0
  1108. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
  1109. package/src/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
  1110. package/src/surfaces/point-of-sale/components/DateField.d.ts +7 -0
  1111. package/src/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
  1112. package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
  1113. package/src/surfaces/point-of-sale/components/Divider.d.ts +5 -0
  1114. package/src/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
  1115. package/src/surfaces/point-of-sale/components/Embed.d.ts +6 -0
  1116. package/src/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
  1117. package/src/surfaces/point-of-sale/components/Heading.d.ts +5 -0
  1118. package/src/surfaces/point-of-sale/components/Icon.d.ts +6 -0
  1119. package/src/surfaces/point-of-sale/components/Image.d.ts +5 -0
  1120. package/src/surfaces/point-of-sale/components/Link.d.ts +7 -0
  1121. package/src/surfaces/point-of-sale/components/Modal.d.ts +7 -0
  1122. package/src/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
  1123. package/src/surfaces/point-of-sale/components/Page.d.ts +6 -0
  1124. package/src/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
  1125. package/src/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
  1126. package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
  1127. package/src/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
  1128. package/src/surfaces/point-of-sale/components/Section.d.ts +6 -0
  1129. package/src/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
  1130. package/src/surfaces/point-of-sale/components/Stack.d.ts +7 -0
  1131. package/src/surfaces/point-of-sale/components/Switch.d.ts +7 -0
  1132. package/src/surfaces/point-of-sale/components/Tab.d.ts +6 -0
  1133. package/src/surfaces/point-of-sale/components/TabList.d.ts +6 -0
  1134. package/src/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
  1135. package/src/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
  1136. package/src/surfaces/point-of-sale/components/Text.d.ts +5 -0
  1137. package/src/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
  1138. package/src/surfaces/point-of-sale/components/TextField.d.ts +7 -0
  1139. package/src/surfaces/point-of-sale/components/Tile.d.ts +6 -0
  1140. package/src/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
  1141. package/src/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
  1142. package/src/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
  1143. package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +3 -0
  1144. package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
  1145. package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +3 -0
  1146. package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +3 -0
  1147. package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +3 -0
  1148. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +3 -0
  1149. package/src/surfaces/point-of-sale/components.d.ts +286 -0
  1150. package/src/surfaces/point-of-sale/event/data/BaseApi.ts +1 -0
  1151. package/src/surfaces/point-of-sale/event/data/BaseData.ts +7 -2
  1152. package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +1 -0
  1153. package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +2 -0
  1154. package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +1 -0
  1155. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +24 -2
  1156. package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +1 -0
  1157. package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +1 -0
  1158. package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +2 -0
  1159. package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +1 -0
  1160. package/src/surfaces/point-of-sale/extension-targets.ts +18 -0
  1161. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +1 -0
  1162. package/src/surfaces/point-of-sale/types/cart.ts +13 -0
  1163. package/src/surfaces/point-of-sale/types/country-code.ts +1 -0
  1164. package/src/surfaces/point-of-sale/types/device.ts +1 -0
  1165. package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +1 -0
  1166. package/src/surfaces/point-of-sale/types/discount-allocation.ts +1 -0
  1167. package/src/surfaces/point-of-sale/types/money.ts +2 -0
  1168. package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -0
  1169. package/src/surfaces/point-of-sale/types/order.ts +2 -0
  1170. package/src/surfaces/point-of-sale/types/paginated-result.ts +1 -0
  1171. package/src/surfaces/point-of-sale/types/payment.ts +2 -0
  1172. package/src/surfaces/point-of-sale/types/pin-pad.ts +5 -0
  1173. package/src/surfaces/point-of-sale/types/product.ts +5 -0
  1174. package/src/surfaces/point-of-sale/types/session.ts +1 -0
  1175. package/src/surfaces/point-of-sale/types/shipping-line.ts +3 -0
  1176. package/src/surfaces/point-of-sale/types/storage.ts +4 -0
  1177. package/src/surfaces/point-of-sale/types/tax-line.ts +1 -0
  1178. package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
@@ -4,21 +4,18 @@ import type { ApiVersion, Capability, CurrencyCode, Country, CountryCode, Timezo
4
4
  import type { SubscribableSignalLike } from '../../shared';
5
5
  export type { ApiVersion, Capability } from '../../../../shared';
6
6
  /**
7
- * A key-value storage object for the extension.
8
- *
9
- * Stored data is only available to this specific extension
10
- * and any of its instances.
11
- *
12
- * The storage backend is implemented with `localStorage` and
13
- * should persist across the buyer's checkout session.
14
- * However, data persistence isn't guaranteed.
7
+ * Key-value storage for a specific extension. Use storage to save
8
+ * preferences or cached data that should survive page reloads without
9
+ * requiring a backend call. Stored data is only available to this
10
+ * specific extension. The storage backend is implemented with
11
+ * `localStorage` and data persistence isn't guaranteed.
15
12
  */
16
13
  export interface Storage {
17
14
  /**
18
15
  * Read and return a stored value by key.
19
16
  *
20
17
  * The stored data is deserialized from JSON and returned as
21
- * its original primitive.
18
+ * its original type.
22
19
  *
23
20
  * Returns `null` if no stored data exists.
24
21
  */
@@ -30,12 +27,14 @@ export interface Storage {
30
27
  */
31
28
  write(key: string, data: any): Promise<void>;
32
29
  /**
33
- * Delete stored data by key.
30
+ * Deletes a previously stored value by key.
34
31
  */
35
32
  delete(key: string): Promise<void>;
36
33
  }
37
34
  /**
38
- * The meta information about an extension target.
35
+ * Metadata about the running extension, including its API version, target,
36
+ * capabilities, and editor context. Use this to read configuration details or
37
+ * conditionally render content based on where the extension is running.
39
38
  */
40
39
  export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
41
40
  /**
@@ -46,32 +45,32 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
46
45
  apiVersion: ApiVersion;
47
46
  /**
48
47
  * The allowed capabilities of the extension, defined
49
- * in your [shopify.extension.toml](https://shopify.dev/docs/api/checkout-ui-extensions/configuration) file.
48
+ * in your [shopify.extension.toml](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration) file.
50
49
  *
51
- * * [`api_access`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#api-access): the extension can access the Storefront API.
50
+ * * [`api_access`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#api-access): the extension can access the Storefront API.
52
51
  *
53
- * * [`network_access`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#network-access): the extension can make external network calls.
52
+ * * [`network_access`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#network-access): the extension can make external network calls.
54
53
  *
55
- * * [`block_progress`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#block-progress): the extension can block a customer's progress and the merchant has allowed this blocking behavior.
54
+ * * [`block_progress`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#block-progress): the extension can block a customer's progress and the merchant has allowed this blocking behavior.
56
55
  *
57
- * * [`collect_buyer_consent.sms_marketing`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#collect-buyer-consent): the extension can collect customer consent for SMS marketing.
56
+ * * [`collect_buyer_consent.sms_marketing`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#collect-buyer-consent): the extension can collect customer consent for SMS marketing.
58
57
  *
59
- * * [`collect_buyer_consent.customer_privacy`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#collect-buyer-consent): the extension can register customer consent decisions that will be honored on Shopify-managed services.
58
+ * * [`collect_buyer_consent.customer_privacy`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#collect-buyer-consent): the extension can register customer consent decisions that are honored on Shopify-managed services.
60
59
  *
61
- * * [`iframe.sources`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#iframe): the extension can embed an external URL in an iframe.
60
+ * * [`iframe.sources`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#iframe): the extension can embed an external URL in an iframe.
62
61
  */
63
62
  capabilities: SubscribableSignalLike<Capability[]>;
64
63
  /**
65
64
  * Information about the editor where the extension is being rendered.
66
65
  *
67
- * If the value is undefined, then the extension is not running in an editor.
66
+ * If the value is undefined, then the extension isn't running in an editor.
68
67
  */
69
68
  editor?: Editor;
70
69
  /**
71
70
  * A Boolean to show whether your extension is currently rendered to the screen.
72
71
  *
73
72
  * Shopify might render your extension before it's visible in the UI,
74
- * typically to pre-render extensions that will appear on a later step of the
73
+ * typically to pre-render extensions that appear on a later step of the
75
74
  * checkout.
76
75
  *
77
76
  * Your extension might also continue to run after the customer has navigated away
@@ -84,12 +83,12 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
84
83
  */
85
84
  scriptUrl: string;
86
85
  /**
87
- * The identifier that specifies where in Shopifys UI your code is being
88
- * injected. This will be one of the targets you have included in your
89
- * extensions configuration file.
86
+ * The identifier that specifies where in Shopify's UI your code is being
87
+ * injected. This is one of the targets you've included in your
88
+ * extension's configuration file.
90
89
  *
91
90
  * @example 'purchase.checkout.block.render'
92
- * @see https://shopify.dev/docs/api/checkout-ui-extensions/latest/extension-targets-overview
91
+ * @see https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/extension-targets-overview
93
92
  * @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
94
93
  */
95
94
  target: Target;
@@ -102,102 +101,167 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
102
101
  */
103
102
  version?: string;
104
103
  }
104
+ /**
105
+ * Information about the editor environment when an extension is rendered
106
+ * inside the checkout editor. The value is `undefined` when the extension
107
+ * is not rendering in an editor.
108
+ */
105
109
  export interface Editor {
106
110
  /**
107
- * Indicates whether the extension is rendering in the checkout editor.
111
+ * Indicates whether the extension is rendering in the [checkout editor](https://shopify.dev/docs/apps/checkout). Always `'checkout'`.
108
112
  */
109
113
  type: 'checkout';
110
114
  }
111
115
  /**
112
- * Metadata associated with the checkout.
116
+ * Metadata associated with the checkout. See the [metafields documentation](https://shopify.dev/docs/apps/build/custom-data/metafields) for more information on how metafields work.
117
+ * @publicDocs
113
118
  */
114
119
  export interface Metafield {
115
120
  /**
116
- * The name of the metafield. It must be between 3 and 30 characters in
117
- * length (inclusive).
121
+ * The name of the metafield.
122
+ *
123
+ * @example 'delivery_instructions'
118
124
  */
119
125
  key: string;
120
126
  /**
121
127
  * A container for a set of metafields. You need to define a custom
122
128
  * namespace for your metafields to distinguish them from the metafields
123
- * used by other apps. This must be between 2 and 20 characters in length (inclusive).
129
+ * used by other apps.
130
+ *
131
+ * @example 'my_app'
124
132
  */
125
133
  namespace: string;
126
134
  /**
127
- * The information to be stored as metadata. Always stored as a string, regardless of the metafield's type.
135
+ * The information to be stored as metadata.
128
136
  */
129
137
  value: string | number;
130
- /** The metafield’s information type. */
138
+ /**
139
+ * The metafield's information type.
140
+ *
141
+ * - `'integer'`: A whole number value.
142
+ * - `'string'`: A plain text value.
143
+ * - `'json_string'`: A JSON-encoded string value.
144
+ */
131
145
  valueType: 'integer' | 'string' | 'json_string';
132
146
  }
133
147
  /**
134
- * Represents a custom metadata attached to a resource.
148
+ * Represents a custom [metafield](https://shopify.dev/docs/apps/build/custom-data/metafields) attached to a resource such as a product, variant, customer, or shop.
149
+ * @publicDocs
135
150
  */
136
151
  export interface AppMetafield {
137
- /** The key name of a metafield. */
152
+ /**
153
+ * The identifier for the metafield within its namespace, such as `'ingredients'` or `'shipping_weight'`.
154
+ */
138
155
  key: string;
139
156
  /**
140
- * The namespace for a metafield.
157
+ * The namespace that the metafield belongs to. Namespaces group related metafields and prevent naming collisions between different apps.
141
158
  *
142
- * App owned metafield namespaces are returned using the `$app` format. See [app owned metafields](/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
159
+ * App owned metafield namespaces are returned using the `$app` format. See [app owned metafields](https://shopify.dev/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
143
160
  */
144
161
  namespace: string;
145
- /** The value of a metafield. */
162
+ /**
163
+ * The value of a metafield, stored as a string regardless of the underlying type. For JSON metafields, parse the string to access structured data.
164
+ */
146
165
  value: string;
147
- /** The metafield’s information type. */
166
+ /**
167
+ * The metafield's information type.
168
+ *
169
+ * - `'boolean'`: A true or false value.
170
+ * - `'float'`: A decimal number value.
171
+ * - `'integer'`: A whole number value.
172
+ * - `'json_string'`: A JSON-encoded string value.
173
+ * - `'string'`: A plain text value.
174
+ */
148
175
  valueType: 'boolean' | 'float' | 'integer' | 'json_string' | 'string';
149
- /** The metafield's type name. */
176
+ /**
177
+ * The metafield's [type name](https://shopify.dev/docs/apps/build/custom-data/metafields/list-of-data-types), such as `'single_line_text_field'` or `'json'`. This is the full type identifier, whereas `valueType` is a simplified category.
178
+ */
150
179
  type: string;
151
180
  }
152
181
  /**
153
- * Represents a custom metadata attached to a resource.
182
+ * Represents a custom metadata attached to the cart. Unlike `AppMetafield`, cart metafield values are always strings and don't include a `valueType` discriminator.
183
+ *
184
+ * Cart [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields) are set by extensions using `applyMetafieldChange()` and can be copied to order metafields at order creation time.
185
+ * @publicDocs
154
186
  */
155
187
  export interface CartMetafield {
156
- /** The key name of a metafield. */
188
+ /**
189
+ * The key name of a metafield, such as `'delivery_instructions'` or `'gift_message'`. Together with `namespace`, this uniquely identifies the metafield on the cart.
190
+ */
157
191
  key: string;
158
- /** The namespace for a metafield. */
192
+ /**
193
+ * The namespace for a metafield, such as `'custom'` or `'my_app'`. Together with `key`, this uniquely identifies the metafield on the cart.
194
+ */
159
195
  namespace: string;
160
- /** The value of a metafield. */
196
+ /**
197
+ * The string value stored in the cart metafield. Unlike `AppMetafield`, cart metafield values are always strings.
198
+ */
161
199
  value: string;
162
- /** The metafield's type name. */
200
+ /**
201
+ * The metafield's [type name](https://shopify.dev/docs/apps/build/custom-data/metafields/list-of-data-types), such as `'single_line_text_field'` or `'json'`.
202
+ */
163
203
  type: string;
164
204
  }
165
205
  /**
166
- * The metafield owner.
206
+ * The Shopify resource that a metafield is attached to. Each entry identifies a specific resource by its type and globally-unique ID, so you can trace where the data comes from.
207
+ * @publicDocs
167
208
  */
168
209
  export interface AppMetafieldEntryTarget {
169
210
  /**
170
- * The type of the metafield owner.
211
+ * The kind of Shopify resource this metafield belongs to:
212
+ *
213
+ * - `'customer'`: The customer who placed the order.
214
+ * - `'product'`: A product in the merchant's catalog.
215
+ * - `'shop'`: The merchant's shop.
216
+ * - `'shopUser'`: A staff member or collaborator account on the shop.
217
+ * - `'variant'`: A specific variant of a product.
218
+ * - `'company'`: A [B2B](https://shopify.dev/docs/apps/build/b2b) company associated with the order.
219
+ * - `'companyLocation'`: A location belonging to a [B2B](https://shopify.dev/docs/apps/build/b2b) company.
220
+ * - `'cart'`: The cart associated with the checkout.
171
221
  *
172
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
222
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
173
223
  */
174
224
  type: 'customer' | 'product' | 'shop' | 'shopUser' | 'variant' | 'company' | 'companyLocation' | 'cart';
175
- /** The numeric owner ID that is associated with the metafield. */
225
+ /**
226
+ * The globally-unique identifier of the Shopify resource, in [GID](https://shopify.dev/docs/api/usage/gids) format. Use this value to match the metafield to a specific resource in your extension or when querying the [Storefront API](https://shopify.dev/docs/api/storefront).
227
+ *
228
+ * @example 'gid://shopify/Product/123'
229
+ */
176
230
  id: string;
177
231
  }
178
232
  /**
179
- * A metafield associated with the shop or a resource on the checkout.
233
+ * An entry that pairs a Shopify resource with one of its [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields). Each entry contains a `target` identifying which resource the metafield belongs to and a `metafield` object with the actual data.
234
+ * @publicDocs
180
235
  */
181
236
  export interface AppMetafieldEntry {
182
237
  /**
183
- * The target that is associated to the metadata.
238
+ * The Shopify resource that this metafield is attached to, including the resource type (such as `'product'` or `'customer'`) and its globally-unique ID.
184
239
  *
185
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
240
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data) when the type is `customer`, `company` or `companyLocation`.
186
241
  */
187
242
  target: AppMetafieldEntryTarget;
188
- /** The metadata information. */
243
+ /**
244
+ * The metafield data, including the namespace, key, value, and content type. Use the `namespace` and `key` together to uniquely identify the metafield within its resource.
245
+ */
189
246
  metafield: AppMetafield;
190
247
  }
248
+ /** @publicDocs */
191
249
  export type Version = string;
250
+ /** @publicDocs */
192
251
  export type CheckoutToken = string;
193
252
  /**
194
- * This returns a translated string matching a key in a locale file.
195
- *
196
- * @example translate("banner.title")
253
+ * Translates a key from your extension's locale files into a localized string.
254
+ * Supports interpolation with placeholder replacements and pluralization
255
+ * via the special `count` option.
197
256
  */
198
257
  export interface I18nTranslate {
199
258
  <ReplacementType = string>(key: string, options?: Record<string, ReplacementType | string | number>): ReplacementType extends string | number ? string : (string | ReplacementType)[];
200
259
  }
260
+ /**
261
+ * Utilities for translating strings, formatting currencies, numbers,
262
+ * and dates according to the buyer's locale. Use the I18n API alongside
263
+ * the Localization API to build fully localized extensions.
264
+ */
201
265
  export interface I18n {
202
266
  /**
203
267
  * Returns a localized number.
@@ -205,7 +269,7 @@ export interface I18n {
205
269
  * This function behaves like the standard `Intl.NumberFormat()`
206
270
  * with a style of `decimal` applied. It uses the buyer's locale by default.
207
271
  *
208
- * @param options.inExtensionLocale - if true, use the extension's locale
272
+ * @param options.inExtensionLocale - If true, uses the extension's locale.
209
273
  */
210
274
  formatNumber: (number: number | bigint, options?: {
211
275
  inExtensionLocale?: boolean;
@@ -216,7 +280,7 @@ export interface I18n {
216
280
  * This function behaves like the standard `Intl.NumberFormat()`
217
281
  * with a style of `currency` applied. It uses the buyer's locale by default.
218
282
  *
219
- * @param options.inExtensionLocale - if true, use the extension's locale
283
+ * @param options.inExtensionLocale - If true, uses the extension's locale.
220
284
  */
221
285
  formatCurrency: (number: number | bigint, options?: {
222
286
  inExtensionLocale?: boolean;
@@ -224,14 +288,11 @@ export interface I18n {
224
288
  /**
225
289
  * Returns a localized date value.
226
290
  *
227
- * This function behaves like the standard `Intl.DateTimeFormatOptions()` and uses
228
- * the buyer's locale by default. Formatting options can be passed in as
291
+ * This function behaves like the standard [`Intl.DateTimeFormat()`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat) and uses
292
+ * the buyer's locale by default. Formatting [options](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options) can be passed in as
229
293
  * options.
230
294
  *
231
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat0
232
- * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat#using_options
233
- *
234
- * @param options.inExtensionLocale - if true, use the extension's locale
295
+ * @param options.inExtensionLocale - If true, uses the extension's locale.
235
296
  */
236
297
  formatDate: (date: Date, options?: {
237
298
  inExtensionLocale?: boolean;
@@ -247,115 +308,117 @@ export interface I18n {
247
308
  */
248
309
  translate: I18nTranslate;
249
310
  }
311
+ /** @publicDocs */
250
312
  export interface Language {
251
313
  /**
252
- * The BCP-47 language tag. It may contain a dash followed by an ISO 3166-1 alpha-2 region code.
253
- *
254
- * @example 'en' for English, or 'en-US' for English local to United States.
255
- * @see https://en.wikipedia.org/wiki/IETF_language_tag
256
- * @see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
314
+ * The [BCP-47](https://en.wikipedia.org/wiki/IETF_language_tag) language tag that identifies the language. This is a standardized code that might include a base language and an optional region subtag separated by a dash. For example, `'en'` represents English and `'en-US'` represents English as used in the United States. The region subtag follows the [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) standard.
257
315
  */
258
316
  isoCode: string;
259
317
  }
318
+ /** @publicDocs */
260
319
  export interface Currency {
261
320
  /**
262
- * The ISO-4217 code for this currency.
263
- * @see https://www.iso.org/iso-4217-currency-codes.html
321
+ * The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format, such as `'USD'`, `'EUR'`, or `'CAD'`.
264
322
  */
265
323
  isoCode: CurrencyCode;
266
324
  }
325
+ /**
326
+ * A [Shopify Market](https://shopify.dev/docs/apps/build/markets) that represents a group of one or more regions for international selling.
327
+ * @publicDocs
328
+ */
267
329
  export interface Market {
268
330
  /**
269
- * A globally-unique identifier for a market.
331
+ * A globally-unique identifier for the market in the format `gid://shopify/Market/<id>`.
270
332
  */
271
333
  id: string;
272
334
  /**
273
- * The human-readable, shop-scoped identifier for the market.
335
+ * The human-readable, shop-scoped identifier for the market, such as `'us'` or `'eu'`. Merchants define these handles when configuring [Shopify Markets](https://shopify.dev/docs/apps/build/markets).
274
336
  */
275
337
  handle: string;
276
338
  }
339
+ /**
340
+ * The buyer's language, country, currency, and timezone context. Use this
341
+ * to adapt your extension to the buyer's region and display localized content.
342
+ */
277
343
  export interface Localization {
278
344
  /**
279
- * The currency that the customer sees for money amounts in the checkout.
345
+ * The currency that the buyer sees for money amounts in the checkout. Use this value to format prices and totals in the buyer's expected currency.
280
346
  */
281
347
  currency: SubscribableSignalLike<Currency>;
282
348
  /**
283
- * The buyers time zone.
349
+ * The buyer's time zone, based on their browser or account settings. Use this value to format dates and times relative to the buyer's local time.
284
350
  */
285
351
  timezone: SubscribableSignalLike<Timezone>;
286
352
  /**
287
- * The language the customer sees in the checkout.
353
+ * The language the buyer sees in the checkout. This reflects the language selected by the buyer or determined by their browser settings, and might differ from the languages your extension supports.
288
354
  */
289
355
  language: SubscribableSignalLike<Language>;
290
356
  /**
291
- * This is the customer's language, as supported by the extension.
292
- * If the customer's actual language is not supported by the extension,
293
- * then this is the language that is used for translations.
294
- *
295
- * For example, if the customer's language is 'fr-CA' but your extension
296
- * only supports translations for 'fr', then the `isoCode` for this
297
- * language is 'fr'. If your extension does not provide french
298
- * translations at all, then this value is the default locale for your
299
- * extension (that is, the one matching your .default.json file).
357
+ * The best available language match for your extension based on the buyer's language. If the buyer's language is `'fr-CA'` but your extension supports only `'fr'`, this returns `'fr'`. If your extension doesn't support any variant of the buyer's language, this falls back to your extension's default locale (the `.default.json` translation file). Use this value to load the correct translation file for your extension.
300
358
  */
301
359
  extensionLanguage: SubscribableSignalLike<Language>;
302
360
  /**
303
- * The country context of the checkout. This value carries over from the
304
- * context of the cart, where it was used to contextualize the storefront
305
- * experience. It will update if the buyer changes the country of their
306
- * shipping address. If the country is unknown, then the value is undefined.
361
+ * The country context of the checkout, carried over from the cart. It updates when the buyer changes their shipping address country. Use this value to display region-specific content such as local support information or regional policies. The value is `undefined` if the buyer's country is unknown.
307
362
  */
308
363
  country: SubscribableSignalLike<Country | undefined>;
309
364
  /**
310
- * The [market](https://shopify.dev/docs/apps/markets) context of the
311
- * checkout. This value carries over from the context of the cart, where it
312
- * was used to contextualize the storefront experience. It will update if the
313
- * buyer changes the country of their shipping address. If the market is unknown,
314
- * then the value is undefined.
365
+ * The [market](https://shopify.dev/docs/apps/build/markets) context of the checkout, carried over from the cart context. Markets group countries and regions with shared pricing, languages, and domains. It updates when the buyer changes the country of their shipping address. The value is `undefined` if the market is unknown.
315
366
  *
316
- * > Caution: This field is deprecated and will be removed in a future version.
367
+ * > Caution: Deprecated as of version `2025-04`. Merchants now manage which extensions load for each market, so extensions no longer need to check this value.
317
368
  *
318
369
  * @deprecated Deprecated as of version `2025-04`
319
370
  */
320
371
  market: SubscribableSignalLike<Market | undefined>;
321
372
  }
373
+ /** @publicDocs */
322
374
  export interface LocalizedField {
375
+ /**
376
+ * The identifier for the localized field, indicating the type of information
377
+ * collected (for example, a tax credential or shipping credential for a
378
+ * specific country).
379
+ */
323
380
  key: LocalizedFieldKey;
381
+ /**
382
+ * The localized display label for the field, suitable for rendering in the UI.
383
+ *
384
+ * @example 'CPF/CNPJ' for a Brazilian tax credential
385
+ */
324
386
  title: string;
387
+ /**
388
+ * The current value entered by the buyer for this field.
389
+ */
325
390
  value: string;
326
391
  }
327
392
  /**
328
393
  * Provides details on the buyer's progression through the checkout.
394
+ * @publicDocs
329
395
  */
330
396
  export interface BuyerJourney {
331
397
  /**
332
398
  * Installs a function for intercepting and preventing progress on checkout.
333
399
  *
334
400
  * This returns a promise that resolves to a teardown function. Calling the
335
- * teardown function will remove the interceptor.
401
+ * teardown function removes the interceptor.
336
402
  *
337
- * To block checkout progress, you must set the [block_progress](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#block-progress)
403
+ * To block checkout progress, you must set the [block_progress](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#block-progress)
338
404
  * capability in your extension's configuration.
339
405
  *
340
406
  * If you do, then you're expected to inform the buyer why navigation was blocked,
341
407
  * either by passing validation errors to the checkout UI or rendering the errors in your extension.
342
408
  *
343
- * It is good practice to show a warning in the checkout editor when the merchant has not given permission for your extension
344
- * to block checkout progress.
409
+ * If the merchant hasn't allowed your extension to block checkout progress, show a warning in the [checkout editor](https://shopify.dev/docs/apps/build/checkout/test-checkout-ui-extensions#test-the-extension-in-the-checkout-editor).
345
410
  */
346
411
  intercept(interceptor: Interceptor): Promise<() => void>;
347
412
  /**
348
- * This subscribable value will be true if the buyer completed submitting their order.
349
- *
350
- * For example, when viewing the **Order status** page after submitting payment, the buyer will have completed their order.
413
+ * Whether the buyer has completed submitting their order. When `true`, the buyer is on the order status page after submitting payment. When `false`, the buyer is still in the checkout flow.
351
414
  */
352
415
  completed: SubscribableSignalLike<boolean>;
353
416
  /**
354
- * All possible steps a buyer can take to complete the checkout. These steps may vary depending on the type of checkout or the shop's configuration.
417
+ * All possible steps the buyer can take to complete checkout. These steps vary depending on whether the checkout is one-page or three-page, and on the shop's configuration.
355
418
  */
356
419
  steps: SubscribableSignalLike<BuyerJourneyStep[]>;
357
420
  /**
358
- * What step of checkout the buyer is currently on.
421
+ * The step of checkout the buyer is currently on. The value is `undefined` if the current step can't be determined.
359
422
  */
360
423
  activeStep: SubscribableSignalLike<BuyerJourneyStepReference | undefined>;
361
424
  }
@@ -377,82 +440,91 @@ type BuyerJourneyStepHandle = 'cart' | 'checkout' | 'information' | 'shipping' |
377
440
  */
378
441
  interface BuyerJourneyStepReference {
379
442
  /**
380
- * The handle that uniquely identifies the buyer journey step.
443
+ * The handle identifying which step the buyer is on, such as `'information'`,
444
+ * `'shipping'`, or `'payment'`. See `BuyerJourneyStepHandle` for all values.
381
445
  */
382
446
  handle: BuyerJourneyStepHandle;
383
447
  }
448
+ /** @publicDocs */
384
449
  export interface BuyerJourneyStep {
385
450
  /**
386
- * The handle that uniquely identifies the buyer journey step.
451
+ * The handle that uniquely identifies the buyer journey step, such as `'information'`, `'shipping'`, or `'payment'`.
387
452
  */
388
453
  handle: BuyerJourneyStepHandle;
389
454
  /**
390
- * The localized label of the buyer journey step.
455
+ * The localized label of the buyer journey step, suitable for rendering in navigation UI.
391
456
  */
392
457
  label: string;
393
458
  /**
394
- * The url of the buyer journey step. This property leverages the `shopify:` protocol
395
- * E.g. `shopify:cart` or `shopify:checkout/information`.
459
+ * The URL of the buyer journey step, using the `shopify:` protocol.
460
+ *
461
+ * @example 'shopify:cart'
462
+ * @example 'shopify:checkout/information'
396
463
  */
397
464
  to: string;
398
465
  /**
399
- * The disabled state of the buyer journey step. This value will be true if the buyer has not reached the step yet.
466
+ * Whether this step is disabled. When `true`, the buyer hasn't reached this step yet and can't navigate to it. When `false`, the step is accessible.
400
467
  *
401
- * For example, if the buyer has not reached the `shipping` step yet, `shipping` would be disabled.
468
+ * For example, if the buyer hasn't reached the `shipping` step yet, then `shipping` is disabled.
402
469
  */
403
470
  disabled: boolean;
404
471
  }
472
+ /** @publicDocs */
405
473
  export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
406
474
  /**
407
- * The methods for interacting with [Web Pixels](https://shopify.dev/docs/apps/marketing), such as emitting an event.
475
+ * Tracks custom events and sends visitor information to
476
+ * [Web Pixels](https://shopify.dev/docs/apps/marketing). Use `publish()` to emit events
477
+ * and `visitor()` to submit buyer contact details.
408
478
  */
409
479
  analytics: Analytics;
410
480
  /**
411
- * Gift Cards that have been applied to the checkout.
481
+ * The gift cards that have been applied to the checkout. Each entry includes
482
+ * the last four characters of the gift card code, the amount used at
483
+ * checkout, and the card's remaining balance.
412
484
  */
413
485
  appliedGiftCards: SubscribableSignalLike<AppliedGiftCard[]>;
414
486
  /**
415
487
  * The cart instructions used to create the checkout and possibly limit extension capabilities.
416
488
  *
417
- * These instructions should be checked prior to performing any actions that may be affected by them.
489
+ * These instructions should be checked before performing any actions that might be affected by them.
418
490
  *
419
491
  * For example, if you intend to add a discount code via the `applyDiscountCodeChange` method,
420
492
  * check `discounts.canUpdateDiscountCodes` to ensure it's supported in this checkout.
421
493
  *
422
- * > Caution: As of version `2024-07`, UI extension code must check for instructions before calling select APIs in case those APIs are not available.
423
- * See the [update guide](/docs/api/checkout-ui-extensions/apis/cart-instructions#examples) for more information.
494
+ * > Caution: As of version `2024-07`, UI extension code must check for instructions before calling select APIs in case those APIs aren't available.
495
+ * See the [update guide](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-instructions#examples) for more information.
424
496
  *
425
497
  */
426
498
  instructions: SubscribableSignalLike<CartInstructions>;
427
499
  /**
428
500
  * The metafields requested in the
429
- * [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration)
501
+ * [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration)
430
502
  * file. These metafields are updated when there's a change in the merchandise items
431
503
  * being purchased by the customer.
432
504
  *
433
- * App owned metafields are supported and are returned using the `$app` format. The fully qualified reserved namespace format such as `app--{your-app-id}[--{optional-namespace}]` is not supported. See [app owned metafields](/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
505
+ * App owned metafields are supported and are returned using the `$app` format. The fully qualified reserved namespace format such as `app--{your-app-id}[--{optional-namespace}]` isn't supported. See [app owned metafields](https://shopify.dev/docs/apps/build/custom-data/ownership#reserved-prefixes) for more information.
434
506
  *
435
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
507
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
436
508
  */
437
509
  appMetafields: SubscribableSignalLike<AppMetafieldEntry[]>;
438
510
  /**
439
- * The custom attributes left by the customer to the merchant, either in their cart or during checkout.
511
+ * The custom key-value attributes attached to the cart or checkout. These are set by the buyer or by an extension using `applyAttributeChange()`. The list is empty if no attributes have been added.
440
512
  */
441
513
  attributes: SubscribableSignalLike<Attribute[]>;
442
514
  /**
443
- * All available payment options.
515
+ * All payment options available to the buyer for this checkout, such as credit cards, wallets, and local payment methods. The list depends on the shop's payment configuration and the buyer's region.
444
516
  */
445
517
  availablePaymentOptions: SubscribableSignalLike<PaymentOption[]>;
446
518
  /**
447
- * Information about the buyer that is interacting with the checkout.
519
+ * Information about the buyer that's interacting with the checkout. The property is available only if the extension has access to protected customer data.
448
520
  *
449
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
521
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
450
522
  */
451
523
  buyerIdentity?: BuyerIdentity;
452
524
  /**
453
- * Provides details on the buyer's progression through the checkout.
525
+ * Provides details on the buyer's progression through the checkout and lets you intercept navigation to validate data before the buyer continues.
454
526
  *
455
- * Refer to [buyer journey](https://shopify.dev/docs/api/checkout-ui-extensions/apis/buyer-journey#examples)
527
+ * Refer to [buyer journey](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/buyer-journey#examples)
456
528
  * examples for more information.
457
529
  */
458
530
  buyerJourney: BuyerJourney;
@@ -463,70 +535,76 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
463
535
  /**
464
536
  * A stable ID that represents the current checkout.
465
537
  *
538
+ * The value is `undefined` when the checkout hasn't been created on the server yet.
539
+ *
540
+ * Use this to correlate checkout sessions across your extension, web pixels, and backend systems.
541
+ *
466
542
  * This matches the `data.checkout.token` field in a [checkout-related WebPixel event](https://shopify.dev/docs/api/web-pixels-api/standard-events/checkout_started#properties-propertydetail-data)
467
543
  * and the `checkout_token` field in the [REST Admin API `Order` resource](https://shopify.dev/docs/api/admin-rest/unstable/resources/order#resource-object).
468
544
  */
469
545
  checkoutToken: SubscribableSignalLike<CheckoutToken | undefined>;
470
546
  /**
471
- * Details on the costs the buyer will pay for this checkout.
547
+ * The cost breakdown for the current checkout, including subtotal, shipping, tax, and total amounts. These values update as the buyer progresses through checkout and costs like shipping and tax are calculated.
472
548
  */
473
549
  cost: CartCost;
474
550
  /**
475
- * A list of delivery groups containing information about the delivery of the items the customer intends to purchase.
551
+ * The delivery groups for this checkout. Each group contains one or more cart lines and the available delivery options (shipping, pickup point, or pickup location) for those items.
476
552
  */
477
553
  deliveryGroups: SubscribableSignalLike<DeliveryGroup[]>;
478
554
  /**
479
- * A list of discount codes currently applied to the checkout.
555
+ * The discount codes currently applied to the checkout. The list is empty if no discount codes have been applied. Use `applyDiscountCodeChange()` to add or remove codes.
480
556
  */
481
557
  discountCodes: SubscribableSignalLike<CartDiscountCode[]>;
482
558
  /**
483
- * Discounts that have been applied to the entire cart.
559
+ * The discount allocations applied to the entire cart, including automatic discounts, code-based discounts, and custom discounts from [Shopify Functions](https://shopify.dev/docs/apps/build/functions). Each allocation indicates how much was discounted and how the discount was triggered.
484
560
  */
485
561
  discountAllocations: SubscribableSignalLike<CartDiscountAllocation[]>;
486
562
  /**
487
- * The meta information about the extension.
563
+ * Metadata about the running extension, including the current target, API version,
564
+ * capabilities, and editor context. Use this to conditionally render content
565
+ * based on where the extension is running.
488
566
  */
489
567
  extension: Extension<Target>;
490
568
  /**
491
- * The identifier that specifies where in Shopifys UI your code is being
492
- * injected. This will be one of the targets you have included in your
493
- * extensions configuration file.
569
+ * The identifier that specifies where in Shopify's UI your code is being
570
+ * injected. This is one of the targets you've included in your
571
+ * extension's configuration file.
494
572
  *
495
573
  * @example 'purchase.checkout.block.render'
496
- * @see https://shopify.dev/docs/api/checkout-ui-extensions/latest/extension-targets-overview
574
+ * @see https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/extension-targets-overview
497
575
  * @see https://shopify.dev/docs/apps/app-extensions/configuration#targets
498
576
  *
499
577
  * @deprecated Deprecated as of version `2023-07`, use `extension.target` instead.
500
578
  */
501
579
  extensionPoint: Target;
502
580
  /**
503
- * Utilities for translating content and formatting values according to the current
504
- * [`localization`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/localization)
505
- * of the checkout.
506
- *
507
- * Refer to [`localization` examples](https://shopify.dev/docs/api/checkout-ui-extensions/apis/localization#examples)
508
- * for more information.
581
+ * Utilities for translating strings, formatting currencies, numbers, and dates
582
+ * according to the buyer's locale. Use alongside
583
+ * [`localization`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/localization)
584
+ * to build fully localized extensions.
509
585
  */
510
586
  i18n: I18n;
511
587
  /**
512
- * A list of lines containing information about the items the customer intends to purchase.
588
+ * The list of line items the buyer intends to purchase. Each entry includes the merchandise, quantity, cost, and any custom attributes. Use `applyCartLinesChange()` to add, remove, or update line items.
513
589
  */
514
590
  lines: SubscribableSignalLike<CartLine[]>;
515
591
  /**
516
- * The details about the location, language, and currency of the customer. For utilities to easily
517
- * format and translate content based on these details, you can use the
518
- * [`i18n`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/localization#standardapi-propertydetail-i18n)
592
+ * The buyer's language, country, currency, and timezone context. For
593
+ * formatting and translation helpers, use the
594
+ * [`i18n`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/localization#standardapi-propertydetail-i18n)
519
595
  * object instead.
520
596
  */
521
597
  localization: Localization;
522
598
  /**
523
599
  * A note left by the customer to the merchant, either in their cart or during checkout.
600
+ *
601
+ * The value is `undefined` if the buyer hasn't entered a note. Use this to display or react to order-level instructions such as delivery preferences or gift messages.
524
602
  */
525
603
  note: SubscribableSignalLike<string | undefined>;
526
604
  /**
527
605
  * The method used to query the Storefront GraphQL API with a prefetched token.
528
606
  *
529
- * Refer to [Storefront API access examples](https://shopify.dev/docs/api/checkout-ui-extensions/apis/storefront-api) for more information.
607
+ * Refer to [Storefront API access examples](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/storefront-api) for more information.
530
608
  */
531
609
  query: <Data = unknown, Variables = Record<string, unknown>>(query: string, options?: {
532
610
  variables?: Variables;
@@ -536,62 +614,61 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
536
614
  errors?: GraphQLError[];
537
615
  }>;
538
616
  /**
539
- * Payment options selected by the buyer.
617
+ * The payment options the buyer has currently selected. This updates as the buyer changes their payment method. The array can contain multiple entries when the buyer splits payment across methods (for example, a gift card and a credit card).
540
618
  */
541
619
  selectedPaymentOptions: SubscribableSignalLike<SelectedPaymentOption[]>;
542
620
  /**
543
621
  * The session token providing a set of claims as a signed JSON Web Token (JWT).
544
622
  *
545
- * The token has a TTL of 5 minutes.
623
+ * The token has a TTL of five minutes.
546
624
  *
547
- * If the previous token expires, this value will reflect a new session token with a new signature and expiry.
625
+ * If the previous token expires, this value reflects a new session token with a new signature and expiry.
548
626
  *
549
- * Refer to [session token examples](https://shopify.dev/docs/api/checkout-ui-extensions/apis/session-token) for more information.
627
+ * Refer to [session token examples](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/session-token) for more information.
550
628
  */
551
629
  sessionToken: SessionToken;
552
630
  /**
553
631
  * The settings matching the settings definition written in the
554
- * [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration) file.
632
+ * [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration) file.
555
633
  *
556
- * Refer to [settings examples](https://shopify.dev/docs/api/checkout-ui-extensions/apis/settings#examples) for more information.
634
+ * Refer to [settings examples](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/settings#examples) for more information.
557
635
  *
558
- * > Note: When an extension is being installed in the editor, the settings will be empty until
559
- * a merchant sets a value. In that case, this object will be updated in real time as a merchant fills in the settings.
636
+ * > Note: When an extension is being installed in the editor, the settings are empty until
637
+ * a merchant sets a value. In that case, this object updates in real time as a merchant fills in the settings.
560
638
  */
561
639
  settings: SubscribableSignalLike<ExtensionSettings>;
562
640
  /**
563
641
  * The proposed customer shipping address. During the information step, the address
564
642
  * updates when the field is committed (on change) rather than every keystroke.
565
- * An address value is only present if delivery is required. Otherwise, the
566
- * subscribable value is undefined.
643
+ * The property is available only if the extension has access to protected customer
644
+ * data. When available, the subscribable value is `undefined` if delivery isn't required.
567
645
  *
568
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
646
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
569
647
  */
570
648
  shippingAddress?: SubscribableSignalLike<ShippingAddress | undefined>;
571
649
  /**
572
650
  * The proposed customer billing address. The address updates when the field is
573
- * committed (on change) rather than every keystroke.
651
+ * committed (on change) rather than every keystroke. The property is available only
652
+ * if the extension has access to protected customer data. The subscribable value is
653
+ * `undefined` if the billing address hasn't been provided yet.
574
654
  *
575
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
655
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
576
656
  */
577
657
  billingAddress?: SubscribableSignalLike<MailingAddress | undefined>;
578
- /** The shop where the checkout is taking place. */
658
+ /**
659
+ * The store where the checkout is taking place, including the shop name,
660
+ * storefront URL, `.myshopify.com` subdomain, and a globally-unique ID.
661
+ */
579
662
  shop: Shop;
580
663
  /**
581
- * The key-value storage for the extension.
664
+ * Key-value storage that persists across page loads within the current checkout
665
+ * session. Data is shared across all activated extension targets of this
666
+ * extension.
582
667
  *
583
- * It uses `localStorage` and should persist across the customer's current checkout session.
584
- *
585
- * > Caution: Data persistence isn't guaranteed and storage is reset when the customer starts a new checkout.
586
- *
587
- * Data is shared across all activated extension targets of this extension. In versions 2023-07 and earlier,
588
- * each activated extension target had its own storage.
668
+ * > Caution: Data persistence isn't guaranteed and storage is cleared when the
669
+ * buyer starts a new checkout.
589
670
  */
590
671
  storage: Storage;
591
- /**
592
- * Methods to interact with the extension’s UI.
593
- */
594
- ui: Ui;
595
672
  /**
596
673
  * The renderer version being used for the extension.
597
674
  *
@@ -603,237 +680,236 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
603
680
  */
604
681
  customerPrivacy: SubscribableSignalLike<CustomerPrivacy>;
605
682
  /**
606
- * Allows setting and updating customer privacy consent settings and tracking consent metafields.
683
+ * Enables setting and updating customer privacy consent settings and tracking consent metafields.
607
684
  *
608
- * > Note: Requires the [`customer_privacy` capability](https://shopify.dev/docs/api/checkout-ui-extensions/latest/configuration#collect-buyer-consent) to be set to `true`.
685
+ * > Note: Requires the [`customer_privacy` capability](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#collect-buyer-consent) to be set to `true`.
609
686
  *
610
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
687
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
611
688
  */
612
689
  applyTrackingConsentChange: ApplyTrackingConsentChangeType;
613
690
  /**
614
- * The API for reading additional fields that are required in checkout under certain circumstances.
615
- * For example, some countries require additional fields for customs information or tax identification numbers.
691
+ * Additional region-specific fields required during checkout, such as tax identification numbers (Brazil's CPF/CNPJ) or customs credentials. The property is available only if the extension has access to protected customer data. The array is empty if the current checkout doesn't require any localized fields.
616
692
  */
617
693
  localizedFields?: SubscribableSignalLike<LocalizedField[]>;
618
694
  }
619
- export interface Ui {
620
- /**
621
- * Allows the extension to close an overlay programmatically.
622
- *
623
- * Supported overlay components are [Modal](/docs/api/checkout-ui-extensions/latest/components/overlays/modal), [Sheet](/docs/api/checkout-ui-extensions/latest/components/overlays/sheet) and [Popover](/docs/api/checkout-ui-extensions/latest/components/overlays/popover).
624
- */
625
- overlay: Overlay;
626
- }
627
- interface Overlay {
628
- /**
629
- * Closes the overlay with the given ID.
630
- */
631
- close(overlayId: string): void;
632
- }
695
+ /**
696
+ * Authenticates requests between your extension and your app backend.
697
+ * Use session tokens to verify the identity of the buyer and the shop
698
+ * context when making server-side API calls. The token is a signed JWT
699
+ * that contains claims such as the customer ID, shop domain, and expiration.
700
+ */
633
701
  export interface SessionToken {
634
702
  /**
635
703
  * Requests a session token that hasn't expired. You should call this method every
636
704
  * time you need to make a request to your backend in order to get a valid token.
637
- * This method will return cached tokens when possible, so you dont need to worry
705
+ * This method returns cached tokens when possible, so you don't need to worry
638
706
  * about storing these tokens yourself.
639
707
  */
640
708
  get(): Promise<string>;
641
709
  }
710
+ /**
711
+ * Information about the buyer who is completing the checkout.
712
+ *
713
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data). The `customer` and `purchasingCompany` properties require level 1 access. The `email` and `phone` properties require level 2 access.
714
+ * @publicDocs
715
+ */
642
716
  export interface BuyerIdentity {
643
717
  /**
644
- * The buyer's customer account. The value is undefined if the buyer isnt a
718
+ * The buyer's customer account, including their ID and whether they've accepted marketing. The value is `undefined` if the buyer isn't a
645
719
  * known customer for this shop or if they haven't logged in yet.
646
720
  *
647
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
721
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
648
722
  */
649
723
  customer: SubscribableSignalLike<Customer | undefined>;
650
724
  /**
651
- * The email address of the buyer that is interacting with the cart.
652
- * The value is `undefined` if the app does not have access to customer data.
725
+ * The email address the buyer provided during checkout. The value is `undefined` if the app doesn't have access to customer data.
653
726
  *
654
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
727
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
655
728
  */
656
729
  email: SubscribableSignalLike<string | undefined>;
657
730
  /**
658
- * The phone number of the buyer that is interacting with the cart.
659
- * The value is `undefined` if the app does not have access to customer data.
731
+ * The phone number the buyer provided during checkout. The value is `undefined` if no phone number was provided or the app doesn't have access to customer data.
660
732
  *
661
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
733
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
662
734
  */
663
735
  phone: SubscribableSignalLike<string | undefined>;
664
736
  /**
665
- * Provides details of the company and the company location that the business customer is purchasing on behalf of.
666
- * This includes information that can be used to identify the company and the company location that the business
667
- * customer belongs to.
737
+ * The company and company location that a B2B (business-to-business) customer is purchasing on behalf of. Use this to identify the business context of the order. The value is `undefined` if the buyer isn't a B2B customer.
668
738
  *
669
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
739
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
670
740
  */
671
741
  purchasingCompany: SubscribableSignalLike<PurchasingCompany | undefined>;
672
742
  }
673
743
  /**
674
- * The information about a company that the business customer is purchasing on behalf of.
744
+ * The company and location that the [B2B](https://shopify.dev/docs/apps/build/b2b) customer is purchasing on behalf of. This is present only when the buyer is logged in as a business customer.
745
+ * @publicDocs
675
746
  */
676
747
  export interface PurchasingCompany {
677
748
  /**
678
- * Includes information of the company that the business customer is purchasing on behalf of.
749
+ * The company the B2B customer belongs to.
679
750
  *
680
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
751
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
681
752
  */
682
753
  company: Company;
683
754
  /**
684
- * Includes information of the company location that the business customer is purchasing on behalf of.
755
+ * The specific company location associated with this B2B purchase.
685
756
  *
686
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
757
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
687
758
  */
688
759
  location: CompanyLocation;
689
760
  }
761
+ /** @publicDocs */
690
762
  export interface Company {
691
763
  /**
692
- * The company ID.
764
+ * A globally-unique identifier for the company in the format `gid://shopify/Company/<id>`.
765
+ *
766
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
693
767
  *
694
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
768
+ * @example 'gid://shopify/Company/123'
695
769
  */
696
770
  id: string;
697
771
  /**
698
- * The name of the company.
772
+ * The company's display name.
699
773
  *
700
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
774
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
701
775
  */
702
776
  name: string;
703
777
  /**
704
- * The external ID of the company that can be set by the merchant.
778
+ * A merchant-defined external identifier for the company. The value is `undefined` if the merchant hasn't set one.
705
779
  *
706
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
780
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
707
781
  */
708
782
  externalId?: string;
709
783
  }
784
+ /** @publicDocs */
710
785
  export interface CompanyLocation {
711
786
  /**
712
- * The company location ID.
787
+ * A globally-unique identifier for the company location in the format `gid://shopify/CompanyLocation/<id>`.
713
788
  *
714
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
789
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
790
+ *
791
+ * @example 'gid://shopify/CompanyLocation/123'
715
792
  */
716
793
  id: string;
717
794
  /**
718
- * The name of the company location.
795
+ * The display name of the company location.
719
796
  *
720
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
797
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
721
798
  */
722
799
  name: string;
723
800
  /**
724
- * The external ID of the company location that can be set by the merchant.
801
+ * A merchant-defined external identifier for the company location. The value is `undefined` if the merchant hasn't set one.
725
802
  *
726
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
803
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
727
804
  */
728
805
  externalId?: string;
729
806
  }
807
+ /** @publicDocs */
730
808
  export interface AppliedGiftCard {
731
809
  /**
732
- * The last four characters of the applied gift card's code.
810
+ * The last four characters of the applied gift card's code. The full code isn't exposed for security reasons. Use this value to display which card is applied.
733
811
  */
734
812
  lastCharacters: string;
735
813
  /**
736
- * The amount of the applied gift card that will be used when the checkout is completed.
814
+ * The amount of the applied gift card that's used when the checkout is completed. This might be less than `balance` if the order total is lower than the card's remaining balance.
737
815
  */
738
816
  amountUsed: Money;
739
817
  /**
740
- * The current balance of the applied gift card prior to checkout completion.
818
+ * The current balance of the applied gift card before checkout completion. This reflects the full remaining value on the card, not just the amount being applied to this order.
741
819
  */
742
820
  balance: Money;
743
821
  }
822
+ /**
823
+ * Metadata about the merchant's store, including its name, storefront
824
+ * URL, `.myshopify.com` subdomain, and a globally-unique ID.
825
+ */
744
826
  export interface Shop {
745
827
  /**
746
- * The shop ID.
828
+ * A globally-unique identifier for the shop in the format `gid://shopify/Shop/<id>`.
829
+ *
747
830
  * @example 'gid://shopify/Shop/123'
748
831
  */
749
832
  id: string;
750
833
  /**
751
- * The name of the shop.
834
+ * The display name of the shop as configured by the merchant in Shopify admin.
752
835
  */
753
836
  name: string;
754
837
  /**
755
- * The primary storefront URL.
756
- *
757
- * > Caution:
758
- * > As of version `2024-04` this value will no longer have a trailing slash.
838
+ * The primary storefront URL for the shop, such as `'https://example.myshopify.com'`. Use this to build links back to the merchant's online store.
759
839
  */
760
840
  storefrontUrl?: string;
761
841
  /**
762
- * The shop's myshopify.com domain.
842
+ * The shop's unique `.myshopify.com` subdomain, such as `'example.myshopify.com'`. This domain is permanent and doesn't change even if the merchant adds a custom domain.
763
843
  */
764
844
  myshopifyDomain: string;
765
845
  }
846
+ /** @publicDocs */
766
847
  export interface CartCost {
767
848
  /**
768
- * A `Money` value representing the subtotal value of the items in the cart at the current
769
- * step of checkout.
849
+ * The sum of all line item prices at the current step of checkout, before shipping and taxes are applied. Use this value to display the base cost of the items the buyer purchased.
770
850
  */
771
851
  subtotalAmount: SubscribableSignalLike<Money>;
772
852
  /**
773
- * A `Money` value representing the total shipping a buyer can expect to pay at the current
774
- * step of checkout. This value includes shipping discounts. Returns undefined if shipping
775
- * has not been negotiated yet, such as on the information step.
853
+ * The total shipping cost after shipping discounts have been applied. The value is `undefined` if shipping hasn't been calculated yet, such as when the buyer is still on the information step.
776
854
  */
777
855
  totalShippingAmount: SubscribableSignalLike<Money | undefined>;
778
856
  /**
779
- * A `Money` value representing the total tax a buyer can expect to pay at the current
780
- * step of checkout or the total tax included in product and shipping prices. Returns
781
- * undefined if taxes are unavailable.
857
+ * The total tax the buyer can expect to pay, or the total tax already included in product and shipping prices (for tax-inclusive regions). The value is `undefined` if taxes haven't been calculated yet.
782
858
  */
783
859
  totalTaxAmount: SubscribableSignalLike<Money | undefined>;
784
860
  /**
785
- * A `Money` value representing the minimum a buyer can expect to pay at the current
786
- * step of checkout. This value excludes amounts yet to be negotiated. For example,
787
- * the information step might not have delivery costs calculated.
861
+ * The minimum total at the current step of checkout. Costs not yet calculated, such as shipping on the information step, aren't included. Gift cards and store credits are excluded from this total.
788
862
  */
789
863
  totalAmount: SubscribableSignalLike<Money>;
790
864
  }
865
+ /** @publicDocs */
791
866
  export interface CartLine {
792
867
  /**
793
- * These line item IDs are not stable at the moment, they might change after
794
- * any operations on the line items. You should always look up for an updated
795
- * ID before any call to `applyCartLinesChange` because you'll need the ID to
796
- * create a `CartLineChange` object.
868
+ * A unique identifier for the cart line in the format `gid://shopify/CartLine/<id>`. This ID isn't stable and can change after any cart operation, so avoid persisting it. Always look up the current ID before calling `applyCartLinesChange()`, because you'll need it to create a `CartLineChange` object.
869
+ *
797
870
  * @example 'gid://shopify/CartLine/123'
798
871
  */
799
872
  id: string;
800
873
  /**
801
- * The merchandise being purchased.
874
+ * The product variant or other merchandise associated with this line item. Use this to access product details such as the title, image, SKU, and selected options.
802
875
  */
803
876
  merchandise: Merchandise;
804
877
  /**
805
- * The quantity of the merchandise being purchased.
878
+ * The number of units of this merchandise that the buyer purchased.
806
879
  */
807
880
  quantity: number;
808
881
  /**
809
- * The details about the cost components attributed to the cart line.
882
+ * The cost breakdown for this line item, including the total price after any line-level discounts have been applied.
810
883
  */
811
884
  cost: CartLineCost;
812
885
  /**
813
- * The line item additional custom attributes.
886
+ * Custom key-value attributes attached to this cart line, such as gift messages or engraving text. Use `applyCartLinesChange()` to update these values.
814
887
  */
815
888
  attributes: Attribute[];
816
889
  /**
817
- * Discounts applied to the cart line.
890
+ * Discounts applied to this cart line, including code-based, automatic, and custom discounts. Each allocation shows the discounted amount and how the discount was triggered.
818
891
  */
819
892
  discountAllocations: CartDiscountAllocation[];
820
893
  /**
821
- * Sub lines of the merchandise line. If no sub lines are present, this will be an empty array.
894
+ * The individual components of a [bundle](https://shopify.dev/docs/apps/build/product-merchandising/bundles) line item. Each component represents a separate product within the bundle. Returns an empty array if the line item isn't a bundle.
822
895
  */
823
896
  lineComponents: CartLineComponentType[];
824
897
  /**
825
- * The relationship details between cart lines.
898
+ * The parent line item that this line belongs to, or `null` if this is a
899
+ * top-level line item. Used to identify lines added as children of a bundle
900
+ * or other grouped product.
826
901
  */
827
902
  parentRelationship: CartLineParentRelationship | null;
828
903
  }
904
+ /** @publicDocs */
829
905
  export interface CartLineParentRelationship {
830
906
  /**
831
907
  * The parent cart line that a cart line is associated with.
832
908
  */
833
909
  parent: {
834
910
  /**
835
- * These line item IDs are not stable at the moment, they might change after
836
- * any operations on the line items. You should always look up for an updated
911
+ * These line item IDs aren't stable at the moment, and they might change after
912
+ * any operations on the line items. Always look up an updated
837
913
  * ID before any call to `applyCartLinesChange` because you'll need the ID to
838
914
  * create a `CartLineChange` object.
839
915
  * @example 'gid://shopify/CartLine/123'
@@ -842,143 +918,168 @@ export interface CartLineParentRelationship {
842
918
  };
843
919
  }
844
920
  type CartLineComponentType = CartBundleLineComponent;
921
+ /**
922
+ * An individual component within a bundled cart line. Each `CartLine` that represents a bundle has a `lineComponents` array containing these components.
923
+ * @publicDocs
924
+ */
845
925
  export interface CartBundleLineComponent {
926
+ /**
927
+ * Identifies this as a bundle line component. This is currently the only component type.
928
+ */
846
929
  type: 'bundle';
847
930
  /**
848
- * A unique identifier for the bundle line component.
849
- *
850
- * This ID is not stable. If an operation updates the line items in any way, all IDs could change.
931
+ * A unique identifier for this component within the bundle, in the format `gid://shopify/CartLineComponent/<id>`. This ID isn't stable and might change after any operation that updates the line items.
851
932
  *
852
933
  * @example 'gid://shopify/CartLineComponent/123'
853
934
  */
854
935
  id: string;
855
936
  /**
856
- * The merchandise of this bundle line component.
937
+ * The product variant included in this bundle component. Use this to display product details for individual items within a bundle.
857
938
  */
858
939
  merchandise: Merchandise;
859
940
  /**
860
- * The quantity of merchandise being purchased.
941
+ * The number of units of this component included in the bundle.
861
942
  */
862
943
  quantity: number;
863
944
  /**
864
- * The cost attributed to this bundle line component.
945
+ * The cost breakdown for this bundle component, including the total amount after any per-item discounts.
865
946
  */
866
947
  cost: CartLineCost;
867
948
  /**
868
- * Additional custom attributes for the bundle line component.
949
+ * Custom key-value pairs attached to this bundle component, such as personalization options specific to this item within the bundle.
869
950
  *
870
951
  * @example [{key: 'engraving', value: 'hello world'}]
871
952
  */
872
953
  attributes: Attribute[];
873
954
  }
955
+ /** @publicDocs */
874
956
  export interface CartLineCost {
875
957
  /**
876
- * The total amount after reductions the buyer can expect to pay that is directly attributable to a single
877
- * cart line.
958
+ * The total price the buyer pays for this line item after all line-level discounts have been applied, but before order-level discounts, taxes, and shipping.
878
959
  */
879
960
  totalAmount: Money;
880
961
  }
962
+ /** @publicDocs */
881
963
  export interface Money {
882
964
  /**
883
- * The price amount.
965
+ * The decimal amount of the price. For example, `29.99` represents twenty-nine dollars and ninety-nine cents.
884
966
  */
885
967
  amount: number;
886
968
  /**
887
- * The ISO 4217 format for the currency.
969
+ * The three-letter currency code in [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) format.
970
+ *
888
971
  * @example 'CAD' for Canadian dollar
889
972
  */
890
973
  currencyCode: CurrencyCode;
891
974
  }
975
+ /** @publicDocs */
892
976
  export type Merchandise = ProductVariant;
977
+ /** @publicDocs */
893
978
  export interface BaseMerchandise {
894
979
  /**
895
- * The merchandise ID.
980
+ * A globally unique identifier for the merchandise.
981
+ *
982
+ * @example 'gid://shopify/ProductVariant/123'
896
983
  */
897
984
  id: string;
898
985
  }
986
+ /** @publicDocs */
899
987
  export interface ProductVariant extends BaseMerchandise {
988
+ /**
989
+ * Identifies the merchandise as a product variant. This is currently the only merchandise type in checkout.
990
+ */
900
991
  type: 'variant';
901
992
  /**
902
- * A globally-unique identifier.
993
+ * A globally-unique identifier for the product variant in the format `gid://shopify/ProductVariant/<id>`.
994
+ *
903
995
  * @example 'gid://shopify/ProductVariant/123'
904
996
  */
905
997
  id: string;
906
998
  /**
907
- * The product variant’s title.
999
+ * The display title of the product variant, such as "Small" or "Red / Large". This is the variant-specific label, not the parent product title.
908
1000
  */
909
1001
  title: string;
910
1002
  /**
911
- * The product variant's subtitle.
1003
+ * A secondary description for the variant that provides additional context, such as a color or size combination. The value is `undefined` if no subtitle is available.
912
1004
  */
913
1005
  subtitle?: string;
914
1006
  /**
915
- * Image associated with the product variant. This field falls back to the product
916
- * image if no image is available.
1007
+ * The image associated with the product variant. Falls back to the product image if the variant doesn't have its own. The value is `undefined` if neither the variant nor the product has an image.
917
1008
  */
918
1009
  image?: ImageDetails;
919
1010
  /**
920
- * List of product options applied to the variant.
1011
+ * The product options applied to this variant, such as size, color, or material. Each entry contains the option name and the selected value.
921
1012
  */
922
1013
  selectedOptions: SelectedOption[];
923
1014
  /**
924
- * The product object that the product variant belongs to.
1015
+ * The parent product that this variant belongs to. Use this to access the product's ID, vendor, and type.
925
1016
  */
926
1017
  product: Product;
927
1018
  /**
928
- * Whether or not the product requires shipping.
1019
+ * Whether this product variant requires physical shipping. When `true`, the buyer must provide a shipping address. Returns `false` for digital products, gift cards, and services.
929
1020
  */
930
1021
  requiresShipping: boolean;
931
1022
  /**
932
- * The selling plan associated with the merchandise.
1023
+ * The [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions) associated with this variant, such as a subscription or pre-order plan. The value is `undefined` if the item isn't being purchased through a selling plan.
933
1024
  */
934
1025
  sellingPlan?: SellingPlan;
935
1026
  /**
936
- * The product variant's sku.
1027
+ * The stock keeping unit (SKU) assigned to this variant by the merchant, used for inventory tracking. The value is `undefined` if no SKU has been set.
937
1028
  */
938
1029
  sku?: string;
939
1030
  }
1031
+ /** @publicDocs */
940
1032
  export interface Product {
941
1033
  /**
942
- * A globally-unique identifier.
1034
+ * A globally-unique identifier for the product in the format `gid://shopify/Product/<id>`.
1035
+ *
1036
+ * @example 'gid://shopify/Product/123'
943
1037
  */
944
1038
  id: string;
945
1039
  /**
946
- * The products vendor name.
1040
+ * The name of the product's vendor or manufacturer, as set by the merchant in Shopify admin.
947
1041
  */
948
1042
  vendor: string;
949
1043
  /**
950
- * A categorization that a product can be tagged with, commonly used for filtering and searching.
1044
+ * A merchant-defined categorization for the product, such as "Accessories" or "Clothing". Commonly used for filtering and organizing products in a storefront.
951
1045
  */
952
1046
  productType: string;
953
1047
  }
1048
+ /** @publicDocs */
954
1049
  export interface ImageDetails {
955
1050
  /**
956
- * The image URL.
1051
+ * The fully-qualified URL of the image. Use this to render the product or variant image in your extension.
957
1052
  */
958
1053
  url: string;
959
1054
  /**
960
- * The alternative text for the image.
1055
+ * The alternative text for the image, used for accessibility. The value is `undefined` if the merchant hasn't provided alt text.
961
1056
  */
962
1057
  altText?: string;
963
1058
  }
1059
+ /** @publicDocs */
964
1060
  export interface SelectedOption {
965
1061
  /**
966
- * The name of the merchandise option.
1062
+ * The name of the product option, such as "Color" or "Size".
1063
+ *
1064
+ * @example 'Size'
967
1065
  */
968
1066
  name: string;
969
1067
  /**
970
- * The value of the merchandise option.
1068
+ * The selected value for the product option, such as "Red" or "Large".
1069
+ *
1070
+ * @example 'Large'
971
1071
  */
972
1072
  value: string;
973
1073
  }
974
1074
  /**
975
1075
  * A payment option presented to the buyer.
1076
+ * @publicDocs
976
1077
  */
977
1078
  export interface PaymentOption {
978
1079
  /**
979
1080
  * The type of the payment option.
980
1081
  *
981
- * Shops can be configured to support many different payment options. Some options are only available to buyers in specific regions.
1082
+ * Shops can be configured to support many different payment options. Some options are available only to buyers in specific regions.
982
1083
  *
983
1084
  * | Type | Description |
984
1085
  * |---|---|
@@ -988,60 +1089,75 @@ export interface PaymentOption {
988
1089
  * | `manualPayment` | A manual payment option such as an in-person retail transaction. |
989
1090
  * | `offsite` | A payment processed outside of Shopify's checkout, excluding integrated wallets. |
990
1091
  * | `other` | Another type of payment not defined here. |
991
- * | `paymentOnDelivery` | A payment that will be collected on delivery. |
1092
+ * | `paymentOnDelivery` | A payment collected on delivery. |
992
1093
  * | `redeemable` | A redeemable payment option such as a gift card or store credit. |
993
- * | `wallet` | An integrated wallet such as PayPal, Google Pay, Apple Pay, etc. |
994
- * | `customOnsite` | A custom payment option that is processed through a checkout extension with a payments app. |
1094
+ * | `wallet` | An integrated wallet such as PayPal, Google Pay, or Apple Pay. |
1095
+ * | `customOnsite` | A custom payment option that's processed through a checkout extension with a payments app. |
995
1096
  */
996
1097
  type: 'creditCard' | 'deferred' | 'local' | 'manualPayment' | 'offsite' | 'other' | 'paymentOnDelivery' | 'redeemable' | 'wallet' | 'customOnsite';
997
1098
  /**
998
- * The unique handle for the payment option.
999
- *
1000
- * This is not a globally unique identifier. It may be an identifier specific to the given checkout session or the current shop.
1099
+ * A session-scoped identifier for this payment option. This handle isn't globally unique; it's specific to the current checkout session or the shop.
1001
1100
  */
1002
1101
  handle: string;
1003
1102
  }
1103
+ /**
1104
+ * A payment option that the buyer has actively selected. This is the same shape as `PaymentOption` and appears in `selectedPaymentOptions`.
1105
+ * @publicDocs
1106
+ */
1004
1107
  export type SelectedPaymentOption = PaymentOption;
1108
+ /** @publicDocs */
1005
1109
  export interface CartDiscountCode {
1006
1110
  /**
1007
- * The code for the discount
1111
+ * The discount code string entered by the buyer during checkout or applied programmatically, such as `"SAVE10"` or `"FREESHIP"`. Use this to display which discount codes were applied.
1008
1112
  */
1009
1113
  code: string;
1010
1114
  }
1115
+ /**
1116
+ * A discount allocation applied to the cart. Use the `type` property to determine how the discount was triggered:
1117
+ *
1118
+ * - `CartCodeDiscountAllocation` (`type: 'code'`): Triggered by a discount code the buyer entered.
1119
+ * - `CartAutomaticDiscountAllocation` (`type: 'automatic'`): Applied automatically based on merchant-configured rules.
1120
+ * - `CartCustomDiscountAllocation` (`type: 'custom'`): Applied by a [Shopify Function](https://shopify.dev/docs/api/functions/latest/discount).
1121
+ * @publicDocs
1122
+ */
1011
1123
  export type CartDiscountAllocation = CartCodeDiscountAllocation | CartAutomaticDiscountAllocation | CartCustomDiscountAllocation;
1124
+ /** @publicDocs */
1012
1125
  export interface CartDiscountAllocationBase {
1013
1126
  /**
1014
- * The money amount that has been discounted from the order
1127
+ * The monetary value that was deducted from the line item or order total by this discount allocation.
1015
1128
  */
1016
1129
  discountedAmount: Money;
1017
1130
  }
1131
+ /** @publicDocs */
1018
1132
  export interface CartCodeDiscountAllocation extends CartDiscountAllocationBase {
1019
1133
  /**
1020
- * The code for the discount
1134
+ * The discount code string that the buyer entered during checkout, such as `"SAVE10"` or `"FREESHIP"`.
1021
1135
  */
1022
1136
  code: string;
1023
1137
  /**
1024
- * The type of the code discount
1138
+ * Identifies this as a code-based discount, triggered by a discount code the buyer entered at checkout.
1025
1139
  */
1026
1140
  type: 'code';
1027
1141
  }
1142
+ /** @publicDocs */
1028
1143
  export interface CartAutomaticDiscountAllocation extends CartDiscountAllocationBase {
1029
1144
  /**
1030
- * The title of the automatic discount
1145
+ * The merchant-defined title of the automatic discount as displayed to the buyer, such as "Summer Sale 10% Off".
1031
1146
  */
1032
1147
  title: string;
1033
1148
  /**
1034
- * The type of the automatic discount
1149
+ * Identifies this as an automatic discount, applied based on merchant-configured rules without a code.
1035
1150
  */
1036
1151
  type: 'automatic';
1037
1152
  }
1153
+ /** @publicDocs */
1038
1154
  export interface CartCustomDiscountAllocation extends CartDiscountAllocationBase {
1039
1155
  /**
1040
- * The title of the custom discount
1156
+ * The title of the custom discount, typically applied by a [Shopify Function](https://shopify.dev/docs/api/functions/latest/discount).
1041
1157
  */
1042
1158
  title: string;
1043
1159
  /**
1044
- * The type of the custom discount
1160
+ * Identifies this as a custom discount applied by a [Shopify Function](https://shopify.dev/docs/api/functions/latest/discount).
1045
1161
  */
1046
1162
  type: 'custom';
1047
1163
  }
@@ -1055,15 +1171,16 @@ interface InterceptorResultAllow {
1055
1171
  interface InterceptorResultBlock {
1056
1172
  /**
1057
1173
  * Indicates that some part of the checkout UI intercepted and prevented
1058
- * the buyers progress. The buyer typically needs to take some action
1174
+ * the buyer's progress. The buyer typically needs to take some action
1059
1175
  * to resolve this issue and to move on to the next step.
1060
1176
  */
1061
1177
  behavior: 'block';
1062
1178
  }
1179
+ /** @publicDocs */
1063
1180
  export type InterceptorRequest = InterceptorRequestAllow | InterceptorRequestBlock;
1064
1181
  interface InterceptorRequestAllow {
1065
1182
  /**
1066
- * Indicates that the interceptor will allow the buyer's journey to continue.
1183
+ * Indicates that the interceptor allows the buyer's journey to continue.
1067
1184
  */
1068
1185
  behavior: 'allow';
1069
1186
  /**
@@ -1076,12 +1193,12 @@ interface InterceptorRequestAllow {
1076
1193
  }
1077
1194
  interface InterceptorRequestBlock {
1078
1195
  /**
1079
- * Indicates that the interceptor will block the buyer's journey from continuing.
1196
+ * Indicates that the interceptor blocks the buyer's journey from continuing.
1080
1197
  */
1081
1198
  behavior: 'block';
1082
1199
  /**
1083
1200
  * The reason for blocking the interceptor request. This value isn't presented to
1084
- * the buyer, so it doesn't need to be localized. The value is used only for Shopifys
1201
+ * the buyer, so it doesn't need to be localized. The value is used only for Shopify's
1085
1202
  * own internal debugging and metrics.
1086
1203
  */
1087
1204
  reason: string;
@@ -1097,75 +1214,77 @@ interface InterceptorRequestBlock {
1097
1214
  */
1098
1215
  perform?(result: InterceptorResult): void | Promise<void>;
1099
1216
  }
1217
+ /** @publicDocs */
1100
1218
  export interface InterceptorProps {
1101
1219
  /**
1102
- * Whether the interceptor has the capability to block a buyer's progress through
1103
- * checkout. This ability might be granted by a merchant in differing checkout contexts.
1220
+ * Whether the interceptor can block the buyer's progress through checkout. When `true`, the merchant has granted your extension the `block_progress` capability. When `false`, you can still validate but can't prevent the buyer from continuing.
1104
1221
  */
1105
1222
  canBlockProgress: boolean;
1106
1223
  }
1107
1224
  /**
1108
1225
  * A function for intercepting and preventing navigation on checkout. You can block
1109
1226
  * navigation by returning an object with
1110
- * `{behavior: 'block', reason: InvalidResultReason.InvalidExtensionState, errors?: ValidationErrors[]}`.
1227
+ * `{behavior: 'block', reason: 'your reason here', errors?: ValidationError[]}`.
1111
1228
  * If you do, then you're expected to also update some part of your UI to reflect the reason why navigation
1112
- * was blocked, either by targeting checkout UI fields, passing errors to the page level or rendering the errors in your extension.
1229
+ * was blocked, either by targeting checkout UI fields, passing errors to the page level, or rendering the errors in your extension.
1230
+ * @publicDocs
1113
1231
  */
1114
1232
  export type Interceptor = (interceptorProps: InterceptorProps) => InterceptorRequest | Promise<InterceptorRequest>;
1115
1233
  /**
1116
1234
  * Information about a customer who has previously purchased from this shop.
1117
1235
  *
1118
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1236
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1237
+ * @publicDocs
1119
1238
  */
1120
1239
  export interface Customer {
1121
1240
  /**
1122
- * Customer ID.
1241
+ * A globally-unique identifier for the customer in the format `gid://shopify/Customer/<id>`.
1123
1242
  *
1124
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1243
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1125
1244
  *
1126
1245
  * @example 'gid://shopify/Customer/123'
1127
1246
  */
1128
1247
  id: string;
1129
1248
  /**
1130
- * The email of the customer.
1249
+ * The email address associated with the customer's account. The value is `undefined` if the app doesn't have the required access level.
1131
1250
  *
1132
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1251
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1133
1252
  */
1134
1253
  email?: string;
1135
1254
  /**
1136
- * The phone number of the customer.
1255
+ * The phone number associated with the customer's account. The value is `undefined` if no phone number is on file or the app doesn't have the required access level.
1137
1256
  *
1138
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1257
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1139
1258
  */
1140
1259
  phone?: string;
1141
1260
  /**
1142
- * The full name of the customer.
1261
+ * The customer's full name, typically a combination of first and last name. The value is `undefined` if the app doesn't have the required access level.
1143
1262
  *
1144
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1263
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1145
1264
  */
1146
1265
  fullName?: string;
1147
1266
  /**
1148
- * The first name of the customer.
1267
+ * The customer's first name. The value is `undefined` if the app doesn't have the required access level.
1149
1268
  *
1150
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1269
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1151
1270
  */
1152
1271
  firstName?: string;
1153
1272
  /**
1154
- * The last name of the customer.
1273
+ * The customer's last name. The value is `undefined` if the app doesn't have the required access level.
1155
1274
  *
1156
- * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1275
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 2 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1157
1276
  */
1158
1277
  lastName?: string;
1159
1278
  /**
1160
- * The image associated with the customer.
1279
+ * The customer's profile image, such as a Gravatar avatar. Use this to personalize the extension UI for the logged-in buyer.
1161
1280
  *
1162
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1281
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1163
1282
  */
1164
1283
  image: ImageDetails;
1165
1284
  /**
1166
- * Defines if the customer email accepts marketing activities.
1285
+ * Whether the customer has opted in to receiving marketing communications from the merchant, such as email campaigns and promotional offers.
1167
1286
  *
1168
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1287
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1169
1288
  *
1170
1289
  * > Caution: This field is deprecated and will be removed in a future version. Use `acceptsEmailMarketing` or `acceptsSmsMarketing` instead.
1171
1290
  *
@@ -1173,105 +1292,121 @@ export interface Customer {
1173
1292
  */
1174
1293
  acceptsMarketing: boolean;
1175
1294
  /**
1176
- * Defines if the customer accepts email marketing activities.
1295
+ * Whether the customer has opted in to email marketing.
1177
1296
  *
1178
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1297
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1179
1298
  */
1180
1299
  acceptsEmailMarketing: boolean;
1181
1300
  /**
1182
- * Defines if the customer accepts SMS marketing activities.
1301
+ * Whether the customer has opted in to SMS marketing.
1183
1302
  *
1184
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1303
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1185
1304
  */
1186
1305
  acceptsSmsMarketing: boolean;
1187
1306
  /**
1188
- * The Store Credit Accounts owned by the customer and usable during the checkout process.
1307
+ * The store credit accounts owned by this customer that can be used as payment during checkout. Each account has a balance representing available store credit.
1189
1308
  *
1190
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1309
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1191
1310
  *
1192
1311
  * @private
1193
1312
  */
1194
1313
  storeCreditAccounts: StoreCreditAccount[];
1195
1314
  /**
1196
- * The number of previous orders made by this customer.
1315
+ * The number of orders the customer has previously placed with this shop.
1197
1316
  *
1198
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1317
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1199
1318
  */
1200
1319
  ordersCount: number;
1201
1320
  }
1202
1321
  /**
1203
1322
  * Settings describing the behavior of the buyer's checkout.
1323
+ * @publicDocs
1204
1324
  */
1205
1325
  export interface CheckoutSettings {
1206
1326
  /**
1207
- * The type of order that will be created once the buyer completes checkout.
1327
+ * The type of order created when the buyer completes checkout.
1328
+ *
1329
+ * - `'DRAFT_ORDER'`: The checkout creates a draft order that the merchant must manually confirm before fulfillment. Common for B2B checkouts with deferred payment terms.
1330
+ * - `'ORDER'`: The checkout creates a confirmed order immediately upon completion.
1208
1331
  */
1209
1332
  orderSubmission: 'DRAFT_ORDER' | 'ORDER';
1210
1333
  /**
1211
- * Represents the merchant configured payment terms.
1334
+ * The payment terms configured by the merchant for B2B orders, such as net-30 or net-60. The value is `undefined` if no payment terms are configured.
1212
1335
  */
1213
1336
  paymentTermsTemplate?: PaymentTermsTemplate;
1214
1337
  /**
1215
- * Settings describing the behavior of the shipping address.
1338
+ * Settings that control how the shipping address behaves during checkout, such as whether the buyer can edit the address.
1216
1339
  */
1217
1340
  shippingAddress: ShippingAddressSettings;
1218
1341
  }
1219
1342
  /**
1220
1343
  * Settings describing the behavior of the shipping address.
1344
+ * @publicDocs
1221
1345
  */
1222
1346
  export interface ShippingAddressSettings {
1223
1347
  /**
1224
- * Describes whether the buyer can ship to any address during checkout.
1348
+ * Whether the buyer is allowed to edit the shipping address during checkout. When `false`, the shipping address is locked and can't be changed, which is common for B2B orders with a predefined ship-to address.
1225
1349
  */
1226
1350
  isEditable: boolean;
1227
1351
  }
1228
1352
  /**
1229
- * Represents the payment terms template object.
1353
+ * A payment terms template configured by the merchant, defining when payment is due for B2B orders. Common examples include "Net 30" (due in 30 days) or "Due on receipt".
1354
+ * @publicDocs
1230
1355
  */
1231
1356
  export interface PaymentTermsTemplate {
1232
1357
  /**
1233
- * A globally-unique ID.
1358
+ * A globally-unique identifier for the payment terms template in the format `gid://shopify/PaymentTermsTemplate/<id>`.
1359
+ *
1234
1360
  * @example 'gid://shopify/PaymentTermsTemplate/1'
1235
1361
  */
1236
1362
  id: string;
1237
1363
  /**
1238
- * The name of the payment terms translated to the buyer's current language. Refer to [localization.language](https://shopify.dev/docs/api/checkout-ui-extensions/apis/localization#standardapi-propertydetail-localization).
1364
+ * The name of the payment terms translated to the buyer's current language, such as "Net 30" or "Due on receipt".
1239
1365
  */
1240
1366
  name: string;
1241
1367
  /**
1242
- * The due date for net payment terms as a ISO 8601 formatted string `YYYY-MM-DDTHH:mm:ss.sssZ`.
1368
+ * The due date for payment in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format (`YYYY-MM-DDTHH:mm:ss.sssZ`). The value is `undefined` if the payment terms don't have a fixed due date.
1243
1369
  */
1244
1370
  dueDate?: string;
1245
1371
  /**
1246
- * The number of days between the issued date and due date if using net payment terms.
1372
+ * The number of days the buyer has to pay after the order is placed, such as `30` for "Net 30" terms. The value is `undefined` if the payment terms aren't net-based.
1247
1373
  */
1248
1374
  dueInDays?: number;
1249
1375
  }
1250
1376
  /**
1251
- * Information about a Store Credit Account.
1377
+ * A store credit account owned by the customer. Store credit is a form of payment that merchants can issue to customers for returns, refunds, or promotional purposes.
1378
+ * @publicDocs
1252
1379
  */
1253
1380
  export interface StoreCreditAccount {
1254
1381
  /**
1255
- * A globally-unique identifier.
1382
+ * A globally-unique identifier for the store credit account in the format `gid://shopify/StoreCreditAccount/<id>`.
1383
+ *
1256
1384
  * @example 'gid://shopify/StoreCreditAccount/1'
1257
1385
  */
1258
1386
  id: string;
1259
1387
  /**
1260
- * The current balance of the Store Credit Account.
1388
+ * The remaining balance available in this store credit account. This reflects the amount that can still be applied toward purchases.
1261
1389
  */
1262
1390
  balance: Money;
1263
1391
  }
1264
1392
  /**
1265
1393
  * The merchant-defined setting values for the extension.
1394
+ * @publicDocs
1266
1395
  */
1267
1396
  export type ExtensionSettings = Record<string, string | number | boolean | undefined>;
1397
+ /**
1398
+ * Tracks custom events and sends visitor information to
1399
+ * [Web Pixels](https://shopify.dev/docs/apps/marketing). Use `publish()` to emit events
1400
+ * and `visitor()` to submit buyer contact details.
1401
+ */
1268
1402
  export interface Analytics {
1269
1403
  /**
1270
- * Publish method to emit analytics events to [Web Pixels](https://shopify.dev/docs/apps/marketing).
1404
+ * Publishes a custom event to [Web Pixels](https://shopify.dev/docs/apps/marketing).
1405
+ * Returns `true` when the event is successfully dispatched.
1271
1406
  */
1272
1407
  publish(name: string, data: Record<string, unknown>): Promise<boolean>;
1273
1408
  /**
1274
- * A method for capturing details about a visitor on the online store.
1409
+ * Submits buyer contact details for attribution and analytics purposes.
1275
1410
  */
1276
1411
  visitor(data: {
1277
1412
  email?: string;
@@ -1280,10 +1415,12 @@ export interface Analytics {
1280
1415
  }
1281
1416
  /**
1282
1417
  * Represents a visitor result.
1418
+ * @publicDocs
1283
1419
  */
1284
1420
  export type VisitorResult = VisitorSuccess | VisitorError;
1285
1421
  /**
1286
1422
  * Represents a successful visitor result.
1423
+ * @publicDocs
1287
1424
  */
1288
1425
  export interface VisitorSuccess {
1289
1426
  /**
@@ -1293,180 +1430,209 @@ export interface VisitorSuccess {
1293
1430
  }
1294
1431
  /**
1295
1432
  * Represents an unsuccessful visitor result.
1433
+ * @publicDocs
1296
1434
  */
1297
1435
  export interface VisitorError {
1298
1436
  /**
1299
1437
  * Indicates that the visitor information is invalid and wasn't submitted.
1300
- * Examples are using the wrong data type or missing a required property.
1438
+ * Common causes include using the wrong data type or omitting a required property.
1301
1439
  */
1302
1440
  type: 'error';
1303
1441
  /**
1304
1442
  * A message that explains the error. This message is useful for debugging.
1305
- * It's **not** localized, and therefore should not be presented directly
1306
- * to the buyer.
1443
+ * It isn't localized and shouldn't be displayed to the buyer.
1307
1444
  */
1308
1445
  message: string;
1309
1446
  }
1310
1447
  /**
1311
- * Represents the delivery information and options available for one or
1312
- * more cart lines.
1448
+ * A group of cart lines that share the same set of delivery options. For example, physical items might form one delivery group while digital items form another.
1449
+ * @publicDocs
1313
1450
  */
1314
1451
  export interface DeliveryGroup {
1315
1452
  /**
1316
- * The unique identifier of the delivery group. On the Thank You page this value is undefined.
1453
+ * A unique identifier for the delivery group. The value is `undefined` if the underlying delivery line doesn't have an ID assigned.
1317
1454
  */
1318
1455
  id?: string;
1319
1456
  /**
1320
- * The cart line references associated to the delivery group.
1457
+ * The cart lines that belong to this delivery group. Each reference contains the cart line's `id`, which you can match against `lines` to get the full cart line details.
1321
1458
  */
1322
1459
  targetedCartLines: CartLineReference[];
1323
1460
  /**
1324
- * The delivery options available for the delivery group.
1461
+ * The delivery options available for this group, including shipping, pickup point, and pickup location options. The buyer selects one of these to determine how their items are delivered.
1325
1462
  */
1326
1463
  deliveryOptions: DeliveryOption[];
1327
1464
  /**
1328
- * The selected delivery option for the delivery group.
1465
+ * The delivery option the buyer has selected for this group. The value is `undefined` if the buyer hasn't selected a delivery option yet. Contains a `handle` you can match against `deliveryOptions` entries.
1329
1466
  */
1330
1467
  selectedDeliveryOption?: DeliveryOptionReference;
1331
1468
  /**
1332
- * The type of the delivery group.
1469
+ * Whether this group contains items for a one-time purchase or a subscription.
1470
+ * Subscription delivery groups might have different shipping options. See `DeliveryGroupType` for possible values.
1333
1471
  */
1334
1472
  groupType: DeliveryGroupType;
1335
1473
  /**
1336
- * Whether delivery is required for the delivery group.
1474
+ * Whether physical delivery is required for the items in this group.
1475
+ * Digital-only groups don't require delivery.
1337
1476
  */
1338
1477
  isDeliveryRequired: boolean;
1339
1478
  }
1340
1479
  /**
1341
1480
  * The possible types of a delivery group.
1481
+ *
1482
+ * - `'oneTimePurchase'`: Items bought as a single, non-recurring purchase.
1483
+ * - `'subscription'`: Items bought through a [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions) that results in recurring deliveries.
1484
+ * @publicDocs
1342
1485
  */
1343
1486
  export type DeliveryGroupType = 'oneTimePurchase' | 'subscription';
1344
1487
  /**
1345
- * Represents a reference to a cart line.
1488
+ * A reference to a cart line within a delivery group, identified by the cart line's ID.
1489
+ * @publicDocs
1346
1490
  */
1347
1491
  export interface CartLineReference {
1348
1492
  /**
1349
- * The unique identifier of the referenced cart line.
1493
+ * The unique identifier of the referenced cart line. Match this against `CartLine.id` from the `lines` property to get the full line item details.
1350
1494
  */
1351
1495
  id: string;
1352
1496
  }
1353
1497
  /**
1354
- * Represents a reference to a delivery option.
1498
+ * A reference to the delivery option selected by the buyer for a delivery group.
1499
+ * @publicDocs
1355
1500
  */
1356
1501
  export interface DeliveryOptionReference {
1357
1502
  /**
1358
- * The unique identifier of the referenced delivery option.
1503
+ * The unique identifier of the referenced delivery option. Match this against `DeliveryOption.handle` from the `deliveryOptions` array to get the full option details.
1359
1504
  */
1360
1505
  handle: string;
1361
1506
  }
1507
+ /**
1508
+ * A delivery option available to the buyer. Use the `type` property to determine which kind of option it is:
1509
+ *
1510
+ * - `ShippingOption` (`type: 'shipping' | 'local'`): Items shipped by a carrier or delivered locally by the merchant.
1511
+ * - `PickupPointOption` (`type: 'pickupPoint'`): Items shipped to a third-party collection point for the buyer to pick up.
1512
+ * - `PickupLocationOption` (`type: 'pickup'`): Items picked up directly from a merchant's store or warehouse.
1513
+ * @publicDocs
1514
+ */
1362
1515
  export type DeliveryOption = ShippingOption | PickupPointOption | PickupLocationOption;
1363
1516
  /**
1364
1517
  * Represents a base interface for a single delivery option.
1518
+ * @publicDocs
1365
1519
  */
1366
1520
  export interface DeliveryOptionBase {
1367
1521
  /**
1368
- * The unique identifier of the delivery option.
1522
+ * The unique identifier of the delivery option. Use this to match against `DeliveryOptionReference.handle` or `DeliverySelectionGroup` entries.
1369
1523
  */
1370
1524
  handle: string;
1371
1525
  /**
1372
- * The title of the delivery option.
1526
+ * The merchant-facing or carrier-provided display name for the delivery
1527
+ * option, such as "Standard Shipping" or "Express".
1373
1528
  */
1374
1529
  title?: string;
1375
1530
  /**
1376
- * The description of the delivery option.
1531
+ * Additional details about the delivery option provided by the carrier
1532
+ * or merchant, such as estimated delivery windows or service level notes.
1377
1533
  */
1378
1534
  description?: string;
1379
1535
  /**
1380
- * The code of the delivery option.
1536
+ * The carrier service code or rate identifier for this delivery option.
1381
1537
  */
1382
1538
  code: string;
1383
1539
  /**
1384
- * The metafields associated with this delivery option.
1540
+ * Custom [metafields](https://shopify.dev/docs/apps/build/custom-data/metafields) attached to this delivery option by the carrier or a [Shopify Function](https://shopify.dev/docs/apps/build/functions). Use these to display additional information about the option.
1385
1541
  */
1386
1542
  metafields: Metafield[];
1387
1543
  }
1388
1544
  /**
1389
- * Represents a delivery option that is a shipping option.
1545
+ * Represents a delivery option that's a shipping option.
1546
+ * @publicDocs
1390
1547
  */
1391
1548
  export interface ShippingOption extends DeliveryOptionBase {
1392
1549
  /**
1393
- * The type of this delivery option.
1550
+ * Identifies the delivery method. `'shipping'` means items are shipped by a carrier. `'local'` means the merchant handles delivery themselves, for example same-day local delivery.
1394
1551
  */
1395
1552
  type: 'shipping' | 'local';
1396
1553
  /**
1397
- * Information about the carrier.
1554
+ * Information about the carrier providing this shipping option, including the carrier's display name.
1398
1555
  */
1399
1556
  carrier: ShippingOptionCarrier;
1400
1557
  /**
1401
- * The cost of the delivery.
1558
+ * The cost of this delivery option before any shipping discounts are applied. Compare with `costAfterDiscounts` to show savings.
1402
1559
  */
1403
1560
  cost: Money;
1404
1561
  /**
1405
- * The cost of the delivery including discounts.
1562
+ * The cost of this delivery option after shipping discounts have been applied. This is the price the buyer actually pays for shipping.
1406
1563
  */
1407
1564
  costAfterDiscounts: Money;
1408
1565
  /**
1409
- * Information about the estimated delivery time.
1566
+ * The estimated delivery time for this shipping option. Use the `timeInTransit` range to display an estimated arrival window to the buyer.
1410
1567
  */
1411
1568
  deliveryEstimate: DeliveryEstimate;
1412
1569
  }
1570
+ /** @publicDocs */
1413
1571
  export interface DeliveryEstimate {
1414
1572
  /**
1415
- * The estimated time in transit for the delivery in seconds.
1573
+ * The estimated time in transit for the delivery, expressed as a range
1574
+ * in seconds. Undefined when the carrier doesn't provide an estimate.
1575
+ * When present, either the lower or upper bound of the range might still
1576
+ * be omitted.
1416
1577
  */
1417
1578
  timeInTransit?: NumberRange;
1418
1579
  }
1580
+ /** @publicDocs */
1419
1581
  export interface ShippingOptionCarrier {
1420
1582
  /**
1421
- * The name of the carrier.
1583
+ * The display name of the shipping carrier, such as "Canada Post" or "UPS". The value is `undefined` if the carrier name isn't available.
1422
1584
  */
1423
1585
  name?: string;
1424
1586
  }
1587
+ /** @publicDocs */
1425
1588
  export interface PickupPointOption extends DeliveryOptionBase {
1426
1589
  /**
1427
- * The type of this delivery option.
1590
+ * Identifies this as a pickup point option, where items are shipped to a third-party collection point for the buyer to pick up.
1428
1591
  */
1429
1592
  type: 'pickupPoint';
1430
1593
  /**
1431
- * Information about the carrier that ships to the pickup point.
1594
+ * Information about the carrier that ships items to this pickup point, including the carrier's name and code.
1432
1595
  */
1433
1596
  carrier: PickupPointCarrier;
1434
1597
  /**
1435
- * The cost to ship to this pickup point.
1598
+ * The cost of this delivery option before any shipping discounts are applied. Compare with `costAfterDiscounts` to show savings.
1436
1599
  */
1437
1600
  cost: Money;
1438
1601
  /**
1439
- * The cost to ship to this pickup point including discounts.
1602
+ * The cost of this delivery option after shipping discounts have been applied. This is the price the buyer actually pays for shipping.
1440
1603
  */
1441
1604
  costAfterDiscounts: Money;
1442
1605
  /**
1443
- * The location details of the pickup point.
1606
+ * The physical location where the buyer picks up their order, including the address and display name of the collection point.
1444
1607
  */
1445
1608
  location: PickupPointLocation;
1446
1609
  }
1610
+ /** @publicDocs */
1447
1611
  export interface PickupLocationOption extends DeliveryOptionBase {
1448
1612
  /**
1449
- * The type of this delivery option.
1613
+ * Identifies this as a pickup location option, where the buyer picks up items directly from a merchant's store or warehouse.
1450
1614
  */
1451
1615
  type: 'pickup';
1452
1616
  /**
1453
- * The location details of the pickup location.
1617
+ * The merchant's store or warehouse where the buyer picks up their order, including the address and display name.
1454
1618
  */
1455
1619
  location: PickupLocation;
1456
1620
  }
1457
1621
  interface PickupLocation {
1458
1622
  /**
1459
- * The name of the pickup location.
1623
+ * The merchant-defined display name of the pickup location, such as a
1624
+ * store name or warehouse label.
1460
1625
  */
1461
1626
  name?: string;
1462
1627
  /**
1463
- * The address of the pickup location.
1628
+ * The physical address of the pickup location.
1464
1629
  */
1465
1630
  address: MailingAddress;
1466
1631
  }
1467
1632
  interface PickupPointLocation {
1468
1633
  /**
1469
- * The name of the pickup point.
1634
+ * The display name of the pickup point, such as the name of the locker
1635
+ * or collection point.
1470
1636
  */
1471
1637
  name?: string;
1472
1638
  /**
@@ -1474,152 +1640,174 @@ interface PickupPointLocation {
1474
1640
  */
1475
1641
  handle: string;
1476
1642
  /**
1477
- * The address of the pickup point.
1643
+ * The physical address of the pickup point.
1478
1644
  */
1479
1645
  address: MailingAddress;
1480
1646
  }
1481
1647
  interface PickupPointCarrier {
1482
1648
  /**
1483
- * The code identifying the carrier.
1649
+ * The carrier's unique identifier code, used to distinguish between
1650
+ * different carriers that deliver to pickup points.
1484
1651
  */
1485
1652
  code?: string;
1486
1653
  /**
1487
- * The name of the carrier.
1654
+ * The display name of the carrier that delivers to this pickup point.
1488
1655
  */
1489
1656
  name?: string;
1490
1657
  }
1658
+ /** @publicDocs */
1491
1659
  export interface NumberRange {
1492
1660
  /**
1493
- * The lower bound of the number range.
1661
+ * The lower bound of the range. Undefined if only an upper bound is
1662
+ * provided.
1494
1663
  */
1495
1664
  lower?: number;
1496
1665
  /**
1497
- * The upper bound of the number range.
1666
+ * The upper bound of the range. Undefined if only a lower bound is
1667
+ * provided.
1498
1668
  */
1499
1669
  upper?: number;
1500
1670
  }
1501
1671
  /**
1502
1672
  * Represents a DeliveryGroup with expanded reference fields and full details.
1673
+ * @publicDocs
1503
1674
  */
1504
1675
  export interface DeliveryGroupDetails extends DeliveryGroup {
1505
1676
  /**
1506
- * The selected delivery option for the delivery group.
1677
+ * The full delivery option the buyer has selected for this group, with all cost and carrier details included. The value is `undefined` if the buyer hasn't selected an option yet. Unlike `DeliveryGroup.selectedDeliveryOption`, which is a reference, this contains the complete `DeliveryOption` object.
1507
1678
  */
1508
1679
  selectedDeliveryOption?: DeliveryOption;
1509
1680
  /**
1510
- * The cart lines associated to the delivery group.
1681
+ * The full cart line objects associated with this delivery group, with all merchandise and cost details included. Unlike `DeliveryGroup.targetedCartLines`, which contains references, this contains the complete `CartLine` objects.
1511
1682
  */
1512
1683
  targetedCartLines: CartLine[];
1513
1684
  }
1685
+ /** @publicDocs */
1514
1686
  export interface AllowedProcessing {
1515
1687
  /**
1516
- * Can collect customer analytics about how the shop was used and interactions made on the shop.
1688
+ * Whether analytics data can be collected based on the visitor's consent,
1689
+ * the merchant's privacy configuration, and the visitor's region. Analytics
1690
+ * data includes how the shop was used and what interactions occurred.
1517
1691
  */
1518
1692
  analytics: boolean;
1519
1693
  /**
1520
- * Can collect customer preference for marketing, attribution and targeted advertising from the merchant.
1694
+ * Whether marketing data can be collected based on the visitor's consent,
1695
+ * the merchant's privacy configuration, and the visitor's region. Marketing
1696
+ * data includes attribution and targeted advertising preferences.
1521
1697
  */
1522
1698
  marketing: boolean;
1523
1699
  /**
1524
- * Can collect customer preferences such as language, currency, size, and more.
1700
+ * Whether preference data can be collected based on the visitor's consent,
1701
+ * the merchant's privacy configuration, and the visitor's region. Preference
1702
+ * data includes language, currency, and sizing choices.
1525
1703
  */
1526
1704
  preferences: boolean;
1527
1705
  /**
1528
- * Can collect customer preference for sharing data with third parties, usually for behavioral advertising.
1706
+ * Whether data can be shared with third parties based on the visitor's
1707
+ * consent, the merchant's privacy configuration, and the visitor's region.
1708
+ * This typically applies to behavioral advertising data.
1529
1709
  */
1530
1710
  saleOfData: boolean;
1531
1711
  }
1712
+ /** @publicDocs */
1532
1713
  export interface VisitorConsent {
1533
1714
  /**
1534
- * Visitor consents to recording data to understand how customers interact with the site.
1715
+ * The visitor's consent for analytics tracking. `true` means the visitor
1716
+ * actively granted consent, `false` means actively denied, and `undefined`
1717
+ * means no decision has been made yet.
1535
1718
  */
1536
1719
  analytics?: boolean;
1537
1720
  /**
1538
- * Visitor consents to ads and marketing communications based on customer interests.
1721
+ * The visitor's consent for marketing and targeted advertising. `true` means
1722
+ * the visitor actively granted consent, `false` means actively denied, and
1723
+ * `undefined` means no decision has been made yet.
1539
1724
  */
1540
1725
  marketing?: boolean;
1541
1726
  /**
1542
- * Visitor consent to remembering customer preferences, such as country or language, to personalize visits to the website.
1727
+ * The visitor's consent for storing preferences such as language and currency.
1728
+ * `true` means the visitor actively granted consent, `false` means actively
1729
+ * denied, and `undefined` means no decision has been made yet.
1543
1730
  */
1544
1731
  preferences?: boolean;
1545
1732
  /**
1546
- * Opts the visitor out of data sharing / sales.
1733
+ * The visitor's consent for the sale or sharing of their personal data with
1734
+ * third parties. `true` means the visitor actively granted consent, `false`
1735
+ * means actively denied, and `undefined` means no decision has been made yet.
1547
1736
  */
1548
1737
  saleOfData?: boolean;
1549
1738
  }
1739
+ /** @publicDocs */
1550
1740
  export interface TrackingConsentMetafield {
1551
1741
  /**
1552
- * The name of the metafield. It must be between 3 and 30 characters in
1553
- * length (inclusive).
1742
+ * The identifier for the tracking consent metafield, such as `'analyticsType'` or `'marketingType'`.
1554
1743
  */
1555
1744
  key: string;
1556
1745
  /**
1557
- * The information to be stored as metadata.
1558
- *
1559
- * @example 'any string', '', or a stringified JSON object
1746
+ * The value stored in the tracking consent metafield, such as `'granular'` or a stringified JSON object.
1560
1747
  */
1561
1748
  value: string;
1562
1749
  }
1750
+ /** @publicDocs */
1563
1751
  export interface TrackingConsentMetafieldChange {
1564
1752
  /**
1565
- * The name of the metafield. It must be between 3 and 30 characters in
1566
- * length (inclusive).
1753
+ * The identifier for the tracking consent metafield to update.
1567
1754
  */
1568
1755
  key: string;
1569
1756
  /**
1570
- * The information to be stored as metadata. If the value is `null`, the metafield will be deleted.
1571
- *
1572
- * @example 'any string', `null`, or a stringified JSON object
1757
+ * The new value to store in the metafield. Set to `null` to delete the metafield.
1573
1758
  */
1574
1759
  value: string | null;
1575
1760
  }
1761
+ /** @publicDocs */
1576
1762
  export interface VisitorConsentChange extends VisitorConsent {
1577
1763
  /**
1578
1764
  * Tracking consent metafield data to be saved.
1579
1765
  *
1580
- * If the value is `null`, the metafield will be deleted.
1766
+ * If the value is `null`, the metafield is deleted.
1581
1767
  *
1582
1768
  * @example `[{key: 'granularAnalytics', value: 'true'}, {key: 'granularMarketing', value: 'false'}]`
1583
1769
  */
1584
1770
  metafields?: TrackingConsentMetafieldChange[];
1771
+ /**
1772
+ * Identifies this as a visitor consent change. This is the only supported change type for `applyTrackingConsentChange()`.
1773
+ */
1585
1774
  type: 'changeVisitorConsent';
1586
1775
  }
1776
+ /** @publicDocs */
1587
1777
  export type ApplyTrackingConsentChangeType = (visitorConsent: VisitorConsentChange) => Promise<TrackingConsentChangeResult>;
1778
+ /** @publicDocs */
1588
1779
  export interface CustomerPrivacyRegion {
1589
1780
  /**
1590
- * The [ISO 3166 Alpha-2 format](https://www.iso.org/iso-3166-country-codes.html) for the buyer's country.
1781
+ * The buyer's country code in [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. The value is `undefined` if geolocation failed.
1591
1782
  *
1592
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1783
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1593
1784
  *
1594
- * @example 'CA' for Canada, 'US' for United States, 'GB' for Great Britain, or undefined if geolocation failed.
1785
+ * @example 'CA' for Canada, 'US' for United States, 'GB' for Great Britain
1595
1786
  */
1596
1787
  countryCode?: CountryCode;
1597
1788
  /**
1598
- * The buyer's province code, such as state, province, prefecture, or region.
1599
- *
1600
- * Province codes can be found by clicking on the `Subdivisions assigned codes` column for countries listed [here](https://en.wikipedia.org/wiki/ISO_3166-2).
1789
+ * The buyer's province, state, or region code in [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2) format. The value is `undefined` if geolocation failed or only the country was detected.
1601
1790
  *
1602
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1791
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1603
1792
  *
1604
- * @example 'ON' for Ontario, 'ENG' for England, 'CA' for California, or undefined if geolocation failed or only the country was detected.
1793
+ * @example 'ON' for Ontario, 'ENG' for England, 'CA' for California
1605
1794
  */
1606
1795
  provinceCode?: string;
1607
1796
  }
1797
+ /** @publicDocs */
1608
1798
  export interface CustomerPrivacy {
1609
1799
  /**
1610
- * An object containing flags for each consent property denoting whether they can be processed based on visitor consent, merchant configuration, and user location.
1800
+ * Flags indicating whether each type of data processing is permitted, based on the visitor's consent, the merchant's privacy configuration, and the visitor's geographic location.
1611
1801
  */
1612
1802
  allowedProcessing: AllowedProcessing;
1613
1803
  /**
1614
- * Stored tracking consent metafield data.
1804
+ * The tracking consent metafields that have been stored for this visitor. These contain app-specific consent data beyond the standard categories.
1615
1805
  *
1616
1806
  * @example `[{key: 'analyticsType', value: 'granular'}, {key: 'marketingType', value: 'granular'}]`, or `[]`
1617
1807
  */
1618
1808
  metafields: TrackingConsentMetafield[];
1619
1809
  /**
1620
- * An object containing the customer's current privacy consent settings.
1621
- * *
1622
- * @example `true` — the customer has actively granted consent, `false` — the customer has actively denied consent, or `undefined` — the customer has not yet made a decision.
1810
+ * The visitor's current privacy consent settings. Each property represents a consent category and is `true` (actively granted), `false` (actively denied), or `undefined` (no decision made yet).
1623
1811
  */
1624
1812
  visitorConsent: VisitorConsent;
1625
1813
  /**
@@ -1629,117 +1817,145 @@ export interface CustomerPrivacy {
1629
1817
  */
1630
1818
  shouldShowBanner: boolean;
1631
1819
  /**
1632
- * Whether the visitor is in a region requiring data sale opt-outs.
1820
+ * Whether the visitor is located in a region that requires an explicit opt-out option for the sale or sharing of personal data, such as California (CCPA) or other jurisdictions with similar regulations.
1633
1821
  */
1634
1822
  saleOfDataRegion: boolean;
1635
1823
  /**
1636
- * Details about the visitor's current location for use in evaluating if more granular consent controls should render.
1824
+ * The visitor's geographic location, used to determine whether more granular consent controls should be displayed based on regional privacy regulations.
1637
1825
  *
1638
1826
  * @example `{countryCode: 'CA', provinceCode: 'ON'}` for a visitor in Ontario, Canada; `{countryCode: 'US', provinceCode: undefined}` for a visitor in the United States if geolocation fails to detect the state; or `undefined` if neither country nor province is detected or geolocation fails.
1639
1827
  *
1640
- * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
1828
+ * {% include /apps/checkout/privacy-icon.md %} Requires level 1 access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
1641
1829
  */
1642
1830
  region?: CustomerPrivacyRegion;
1643
1831
  }
1832
+ /** @publicDocs */
1644
1833
  export type TrackingConsentChangeResult = TrackingConsentChangeResultSuccess | TrackingConsentChangeResultError;
1645
1834
  /**
1646
1835
  * The returned result of a successful tracking consent preference update.
1836
+ * @publicDocs
1647
1837
  */
1648
1838
  export interface TrackingConsentChangeResultSuccess {
1649
1839
  /**
1650
- * The type of the `TrackingConsentChangeResultSuccess` API.
1840
+ * Indicates that the tracking consent update was applied successfully.
1651
1841
  */
1652
1842
  type: 'success';
1653
1843
  }
1654
1844
  /**
1655
1845
  * The returned result of an unsuccessful tracking consent preference update
1656
1846
  * with a message detailing the type of error that occurred.
1847
+ * @publicDocs
1657
1848
  */
1658
1849
  export interface TrackingConsentChangeResultError {
1659
1850
  /**
1660
- * The type of the `TrackingConsentChangeResultError` API.
1851
+ * Indicates that the tracking consent update couldn't be applied. Check the `message` property for details.
1661
1852
  */
1662
1853
  type: 'error';
1663
1854
  /**
1664
1855
  * A message that explains the error. This message is useful for debugging.
1665
- * It is **not** localized, and therefore should not be presented directly
1666
- * to the buyer.
1856
+ * It isn't localized and shouldn't be displayed to the buyer.
1667
1857
  */
1668
1858
  message: string;
1669
1859
  }
1860
+ /** @publicDocs */
1670
1861
  export interface CartInstructions {
1671
1862
  /**
1672
- * Cart instructions related to cart attributes.
1863
+ * Whether the extension can update custom attributes using `applyAttributeChange()`.
1673
1864
  */
1674
1865
  attributes: AttributesCartInstructions;
1675
1866
  /**
1676
- * Cart instructions related to delivery.
1867
+ * Whether the extension can modify the shipping address using `applyShippingAddressChange()`.
1677
1868
  */
1678
1869
  delivery: DeliveryCartInstructions;
1679
1870
  /**
1680
- * Cart instructions related to discounts.
1871
+ * Whether the extension can add or remove discount codes using `applyDiscountCodeChange()`.
1681
1872
  */
1682
1873
  discounts: DiscountsCartInstructions;
1683
1874
  /**
1684
- * Cart instructions related to cart lines.
1875
+ * Whether the extension can add, remove, or update cart lines using `applyCartLinesChange()`.
1685
1876
  */
1686
1877
  lines: CartLinesCartInstructions;
1687
1878
  /**
1688
- * Cart instructions related to metafields.
1879
+ * Whether the extension can add, update, or delete cart metafields using `applyMetafieldChange()`.
1689
1880
  */
1690
1881
  metafields: MetafieldsCartInstructions;
1691
1882
  /**
1692
- * Cart instructions related to notes.
1883
+ * Whether the extension can update the order note using `applyNoteChange()`.
1693
1884
  */
1694
1885
  notes: NotesCartInstructions;
1695
1886
  }
1887
+ /** @publicDocs */
1696
1888
  export interface AttributesCartInstructions {
1697
1889
  /**
1698
- * Indicates whether or not cart attributes can be updated.
1890
+ * Whether attributes can be updated using `applyAttributeChange()`. When
1891
+ * `false`, the checkout configuration doesn't allow attribute changes.
1892
+ * Even when `true`, calls to `applyAttributeChange()` can still fail
1893
+ * during accelerated checkout (Apple Pay, Google Pay).
1699
1894
  */
1700
1895
  canUpdateAttributes: boolean;
1701
1896
  }
1897
+ /** @publicDocs */
1702
1898
  export interface DeliveryCartInstructions {
1703
1899
  /**
1704
- * Indicates whether a buyer can select a custom address.
1705
- *
1706
- * When true, this implies extensions can update the delivery address.
1900
+ * Whether the shipping address can be modified using
1901
+ * `applyShippingAddressChange()`. When `false`, the buyer is using an
1902
+ * accelerated checkout flow (Apple Pay, Google Pay) where the address
1903
+ * can't be changed.
1707
1904
  */
1708
1905
  canSelectCustomAddress: boolean;
1709
1906
  }
1907
+ /** @publicDocs */
1710
1908
  export interface DiscountsCartInstructions {
1711
1909
  /**
1712
- * Indicates whether or not discount codes can be updated.
1910
+ * Whether discount codes can be updated using `applyDiscountCodeChange()`.
1911
+ * When `false`, the checkout configuration doesn't allow discount code
1912
+ * changes. Even when `true`, calls to `applyDiscountCodeChange()` can
1913
+ * still fail during accelerated checkout (Apple Pay, Google Pay).
1713
1914
  */
1714
1915
  canUpdateDiscountCodes: boolean;
1715
1916
  }
1917
+ /** @publicDocs */
1716
1918
  export interface CartLinesCartInstructions {
1717
1919
  /**
1718
- * Indicates whether or not new cart lines can be added.
1920
+ * Whether new cart lines can be added using `applyCartLinesChange()`. When
1921
+ * `false`, the checkout configuration doesn't allow adding lines (for
1922
+ * example, draft orders). Even when `true`, calls can still fail during
1923
+ * accelerated checkout (Apple Pay, Google Pay).
1719
1924
  */
1720
1925
  canAddCartLine: boolean;
1721
1926
  /**
1722
- * Indicates whether or not cart lines can be removed.
1927
+ * Whether cart lines can be removed using `applyCartLinesChange()`. When
1928
+ * `false`, the checkout configuration doesn't allow removing lines.
1929
+ * Even when `true`, calls can still fail during accelerated checkout.
1723
1930
  */
1724
1931
  canRemoveCartLine: boolean;
1725
1932
  /**
1726
- * Indicates whether or not cart lines can be updated.
1933
+ * Whether cart lines can be updated using `applyCartLinesChange()`. When
1934
+ * `false`, the checkout configuration doesn't allow updating lines.
1935
+ * Even when `true`, calls can still fail during accelerated checkout.
1727
1936
  */
1728
1937
  canUpdateCartLine: boolean;
1729
1938
  }
1939
+ /** @publicDocs */
1730
1940
  export interface MetafieldsCartInstructions {
1731
1941
  /**
1732
- * Indicates whether or not cart metafields can be added or updated.
1942
+ * Whether the extension can add or update cart metafields using
1943
+ * `applyMetafieldChange()`.
1733
1944
  */
1734
1945
  canSetCartMetafields: boolean;
1735
1946
  /**
1736
- * Indicates whether or not cart metafields can be deleted.
1947
+ * Whether the extension can delete cart metafields using
1948
+ * `applyMetafieldChange()`.
1737
1949
  */
1738
1950
  canDeleteCartMetafield: boolean;
1739
1951
  }
1952
+ /** @publicDocs */
1740
1953
  export interface NotesCartInstructions {
1741
1954
  /**
1742
- * Indicates whether or not notes can be updated.
1955
+ * Whether the order note can be updated using `applyNoteChange()`. When
1956
+ * `false`, the checkout configuration doesn't allow note changes. Even
1957
+ * when `true`, calls to `applyNoteChange()` can still fail during
1958
+ * accelerated checkout (Apple Pay, Google Pay).
1743
1959
  */
1744
1960
  canUpdateNote: boolean;
1745
1961
  }