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