@shopify/ui-extensions 2026.4.0-rc.3 → 2026.4.1

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 (1103) 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/generated/generated.d.ts +62 -0
  166. package/build/ts/surfaces/admin/api/generated/generated.d.ts.map +1 -0
  167. package/build/ts/surfaces/admin/api/intents/intent-render.d.ts +24 -0
  168. package/build/ts/surfaces/admin/api/intents/intent-render.d.ts.map +1 -0
  169. package/build/ts/surfaces/admin/api/intents/intents.d.ts +44 -8
  170. package/build/ts/surfaces/admin/api/intents/intents.d.ts.map +1 -1
  171. package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +5 -3
  172. package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -1
  173. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +8 -3
  174. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
  175. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +1 -0
  176. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -1
  177. package/build/ts/surfaces/admin/api/picker/picker.d.ts +15 -7
  178. package/build/ts/surfaces/admin/api/picker/picker.d.ts.map +1 -1
  179. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +1 -0
  180. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -1
  181. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts +4 -2
  182. package/build/ts/surfaces/admin/api/product-configuration/product-details-configuration.d.ts.map +1 -1
  183. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts +4 -2
  184. package/build/ts/surfaces/admin/api/product-configuration/product-variant-details-configuration.d.ts.map +1 -1
  185. package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts +1 -0
  186. package/build/ts/surfaces/admin/api/purchase-options-card-action.d.ts.map +1 -1
  187. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +36 -17
  188. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -1
  189. package/build/ts/surfaces/admin/api/shared.d.ts +2 -0
  190. package/build/ts/surfaces/admin/api/shared.d.ts.map +1 -1
  191. package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts +3 -0
  192. package/build/ts/surfaces/admin/api/standard/standard-rendering.d.ts.map +1 -1
  193. package/build/ts/surfaces/admin/api/standard/standard.d.ts +4 -1
  194. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  195. package/build/ts/surfaces/admin/api/standard/storage.d.ts +4 -0
  196. package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -1
  197. package/build/ts/surfaces/admin/api.d.ts +2 -0
  198. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  199. package/build/ts/surfaces/admin/components/AdminAction.d.ts +6 -0
  200. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +6 -0
  201. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
  202. package/build/ts/surfaces/admin/components/Avatar.d.ts +9 -0
  203. package/build/ts/surfaces/admin/components/Badge.d.ts +9 -0
  204. package/build/ts/surfaces/admin/components/Banner.d.ts +11 -0
  205. package/build/ts/surfaces/admin/components/Box.d.ts +14 -0
  206. package/build/ts/surfaces/admin/components/Button.d.ts +14 -0
  207. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +8 -0
  208. package/build/ts/surfaces/admin/components/Checkbox.d.ts +12 -1
  209. package/build/ts/surfaces/admin/components/Chip.d.ts +4 -2
  210. package/build/ts/surfaces/admin/components/Choice.d.ts +10 -2
  211. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +12 -2
  212. package/build/ts/surfaces/admin/components/Clickable.d.ts +16 -4
  213. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +11 -0
  214. package/build/ts/surfaces/admin/components/ColorField.d.ts +12 -0
  215. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +9 -0
  216. package/build/ts/surfaces/admin/components/DateField.d.ts +11 -0
  217. package/build/ts/surfaces/admin/components/DatePicker.d.ts +10 -1
  218. package/build/ts/surfaces/admin/components/Divider.d.ts +7 -0
  219. package/build/ts/surfaces/admin/components/DropZone.d.ts +8 -4
  220. package/build/ts/surfaces/admin/components/EmailField.d.ts +12 -0
  221. package/build/ts/surfaces/admin/components/Form.d.ts +10 -0
  222. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +12 -0
  223. package/build/ts/surfaces/admin/components/Grid.d.ts +16 -0
  224. package/build/ts/surfaces/admin/components/GridItem.d.ts +15 -0
  225. package/build/ts/surfaces/admin/components/Heading.d.ts +8 -0
  226. package/build/ts/surfaces/admin/components/Icon.d.ts +6 -3
  227. package/build/ts/surfaces/admin/components/Image.d.ts +15 -0
  228. package/build/ts/surfaces/admin/components/Link.d.ts +13 -3
  229. package/build/ts/surfaces/admin/components/ListItem.d.ts +8 -0
  230. package/build/ts/surfaces/admin/components/Menu.d.ts +11 -0
  231. package/build/ts/surfaces/admin/components/Modal.d.ts +8 -4
  232. package/build/ts/surfaces/admin/components/MoneyField.d.ts +13 -0
  233. package/build/ts/surfaces/admin/components/NumberField.d.ts +12 -0
  234. package/build/ts/surfaces/admin/components/Option.d.ts +10 -2
  235. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +10 -2
  236. package/build/ts/surfaces/admin/components/OrderedList.d.ts +8 -0
  237. package/build/ts/surfaces/admin/components/Page.d.ts +4 -2
  238. package/build/ts/surfaces/admin/components/Paragraph.d.ts +8 -0
  239. package/build/ts/surfaces/admin/components/PasswordField.d.ts +12 -0
  240. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +8 -0
  241. package/build/ts/surfaces/admin/components/SearchField.d.ts +13 -1
  242. package/build/ts/surfaces/admin/components/Section.d.ts +9 -0
  243. package/build/ts/surfaces/admin/components/Select.d.ts +14 -2
  244. package/build/ts/surfaces/admin/components/Spinner.d.ts +7 -0
  245. package/build/ts/surfaces/admin/components/Stack.d.ts +16 -0
  246. package/build/ts/surfaces/admin/components/Switch.d.ts +12 -1
  247. package/build/ts/surfaces/admin/components/Table.d.ts +15 -0
  248. package/build/ts/surfaces/admin/components/TableBody.d.ts +8 -0
  249. package/build/ts/surfaces/admin/components/TableCell.d.ts +9 -0
  250. package/build/ts/surfaces/admin/components/TableHeader.d.ts +9 -0
  251. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
  252. package/build/ts/surfaces/admin/components/TableRow.d.ts +8 -0
  253. package/build/ts/surfaces/admin/components/Text.d.ts +19 -0
  254. package/build/ts/surfaces/admin/components/TextArea.d.ts +12 -0
  255. package/build/ts/surfaces/admin/components/TextField.d.ts +13 -0
  256. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +9 -0
  257. package/build/ts/surfaces/admin/components/Tooltip.d.ts +11 -0
  258. package/build/ts/surfaces/admin/components/URLField.d.ts +12 -0
  259. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +14 -0
  260. package/build/ts/surfaces/admin/components/shared.d.ts +267 -0
  261. package/build/ts/surfaces/admin/extension-targets.d.ts +8 -1
  262. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  263. package/build/ts/surfaces/admin/targets/admin.app.intent.render.d.ts +61 -0
  264. package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts +2 -0
  265. package/build/ts/surfaces/checkout/api/address-autocomplete/format-suggestion.d.ts.map +1 -1
  266. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +3 -0
  267. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts.map +1 -1
  268. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts +2 -1
  269. package/build/ts/surfaces/checkout/api/address-autocomplete/standard.d.ts.map +1 -1
  270. package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts +2 -0
  271. package/build/ts/surfaces/checkout/api/address-autocomplete/suggest.d.ts.map +1 -1
  272. package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts +1 -0
  273. package/build/ts/surfaces/checkout/api/announcement/announcement.d.ts.map +1 -1
  274. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +5 -1
  275. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
  276. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +258 -122
  277. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  278. package/build/ts/surfaces/checkout/api/docs.d.ts +33 -6
  279. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
  280. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +12 -5
  281. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
  282. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +7 -0
  283. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  284. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +3 -2
  285. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
  286. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +4 -1
  287. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
  288. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +4 -1
  289. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
  290. package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +7 -0
  291. package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -1
  292. package/build/ts/surfaces/checkout/api/shared.d.ts +79 -31
  293. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  294. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +6 -4
  295. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  296. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +18 -12
  297. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  298. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +659 -425
  299. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  300. package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +1 -0
  301. package/build/ts/surfaces/checkout/components/Announcement.d.ts +34 -9
  302. package/build/ts/surfaces/checkout/components/Badge.d.ts +44 -3
  303. package/build/ts/surfaces/checkout/components/Banner.d.ts +60 -9
  304. package/build/ts/surfaces/checkout/components/Box.d.ts +50 -0
  305. package/build/ts/surfaces/checkout/components/Button.d.ts +10 -3
  306. package/build/ts/surfaces/checkout/components/Chat.d.ts +20 -0
  307. package/build/ts/surfaces/checkout/components/Checkbox.d.ts +10 -2
  308. package/build/ts/surfaces/checkout/components/Chip.d.ts +3 -3
  309. package/build/ts/surfaces/checkout/components/Choice.d.ts +2 -0
  310. package/build/ts/surfaces/checkout/components/ChoiceList.d.ts +10 -2
  311. package/build/ts/surfaces/checkout/components/Clickable.d.ts +31 -7
  312. package/build/ts/surfaces/checkout/components/ClickableChip.d.ts +15 -8
  313. package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
  314. package/build/ts/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
  315. package/build/ts/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
  316. package/build/ts/surfaces/checkout/components/DateField.d.ts +24 -6
  317. package/build/ts/surfaces/checkout/components/DatePicker.d.ts +21 -5
  318. package/build/ts/surfaces/checkout/components/Details.d.ts +13 -8
  319. package/build/ts/surfaces/checkout/components/Divider.d.ts +1 -0
  320. package/build/ts/surfaces/checkout/components/DropZone.d.ts +15 -3
  321. package/build/ts/surfaces/checkout/components/EmailField.d.ts +18 -10
  322. package/build/ts/surfaces/checkout/components/Form.d.ts +9 -1
  323. package/build/ts/surfaces/checkout/components/Grid.d.ts +137 -0
  324. package/build/ts/surfaces/checkout/components/GridItem.d.ts +55 -0
  325. package/build/ts/surfaces/checkout/components/Heading.d.ts +1 -0
  326. package/build/ts/surfaces/checkout/components/Icon.d.ts +49 -4
  327. package/build/ts/surfaces/checkout/components/Image.d.ts +43 -1
  328. package/build/ts/surfaces/checkout/components/Link.d.ts +10 -3
  329. package/build/ts/surfaces/checkout/components/ListItem.d.ts +1 -0
  330. package/build/ts/surfaces/checkout/components/Map.d.ts +68 -6
  331. package/build/ts/surfaces/checkout/components/MapMarker.d.ts +36 -8
  332. package/build/ts/surfaces/checkout/components/Modal.d.ts +52 -8
  333. package/build/ts/surfaces/checkout/components/MoneyField.d.ts +16 -8
  334. package/build/ts/surfaces/checkout/components/NumberField.d.ts +18 -10
  335. package/build/ts/surfaces/checkout/components/Option.d.ts +1 -0
  336. package/build/ts/surfaces/checkout/components/OrderedList.d.ts +1 -0
  337. package/build/ts/surfaces/checkout/components/Paragraph.d.ts +12 -0
  338. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +18 -10
  339. package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
  340. package/build/ts/surfaces/checkout/components/PhoneField.d.ts +18 -10
  341. package/build/ts/surfaces/checkout/components/Popover.d.ts +39 -22
  342. package/build/ts/surfaces/checkout/components/PressButton.d.ts +14 -6
  343. package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
  344. package/build/ts/surfaces/checkout/components/Progress.d.ts +27 -0
  345. package/build/ts/surfaces/checkout/components/QRCode.d.ts +28 -3
  346. package/build/ts/surfaces/checkout/components/QueryContainer.d.ts +1 -0
  347. package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +55 -0
  348. package/build/ts/surfaces/checkout/components/Section.d.ts +4 -0
  349. package/build/ts/surfaces/checkout/components/Select.d.ts +14 -6
  350. package/build/ts/surfaces/checkout/components/Sheet.d.ts +40 -13
  351. package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
  352. package/build/ts/surfaces/checkout/components/Spinner.d.ts +16 -0
  353. package/build/ts/surfaces/checkout/components/Stack.d.ts +110 -0
  354. package/build/ts/surfaces/checkout/components/Summary.d.ts +1 -0
  355. package/build/ts/surfaces/checkout/components/Switch.d.ts +10 -2
  356. package/build/ts/surfaces/checkout/components/Text.d.ts +18 -1
  357. package/build/ts/surfaces/checkout/components/TextArea.d.ts +16 -8
  358. package/build/ts/surfaces/checkout/components/TextField.d.ts +18 -10
  359. package/build/ts/surfaces/checkout/components/Time.d.ts +1 -0
  360. package/build/ts/surfaces/checkout/components/Tooltip.d.ts +21 -2
  361. package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +1 -0
  362. package/build/ts/surfaces/checkout/components/UrlField.d.ts +18 -10
  363. package/build/ts/surfaces/checkout/components/components-shared.d.ts +728 -718
  364. package/build/ts/surfaces/checkout/components/components.d.ts +575 -297
  365. package/build/ts/surfaces/checkout/extension-targets.d.ts +13 -0
  366. package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
  367. package/build/ts/surfaces/checkout/globals.d.ts +1 -0
  368. package/build/ts/surfaces/checkout/globals.d.ts.map +1 -1
  369. package/build/ts/surfaces/checkout/preact/api.d.ts +2 -0
  370. package/build/ts/surfaces/checkout/preact/api.d.ts.map +1 -1
  371. package/build/ts/surfaces/checkout/preact/app-metafields.d.ts +1 -0
  372. package/build/ts/surfaces/checkout/preact/app-metafields.d.ts.map +1 -1
  373. package/build/ts/surfaces/checkout/preact/attributes.d.ts +3 -0
  374. package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
  375. package/build/ts/surfaces/checkout/preact/billing-address.d.ts +1 -0
  376. package/build/ts/surfaces/checkout/preact/billing-address.d.ts.map +1 -1
  377. package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts +4 -0
  378. package/build/ts/surfaces/checkout/preact/buyer-identity.d.ts.map +1 -1
  379. package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts +5 -0
  380. package/build/ts/surfaces/checkout/preact/buyer-journey.d.ts.map +1 -1
  381. package/build/ts/surfaces/checkout/preact/capabilities.d.ts +2 -0
  382. package/build/ts/surfaces/checkout/preact/capabilities.d.ts.map +1 -1
  383. package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts +1 -0
  384. package/build/ts/surfaces/checkout/preact/cart-line-target.d.ts.map +1 -1
  385. package/build/ts/surfaces/checkout/preact/cart-lines.d.ts +2 -0
  386. package/build/ts/surfaces/checkout/preact/cart-lines.d.ts.map +1 -1
  387. package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts +1 -0
  388. package/build/ts/surfaces/checkout/preact/checkout-settings.d.ts.map +1 -1
  389. package/build/ts/surfaces/checkout/preact/checkout-token.d.ts +1 -0
  390. package/build/ts/surfaces/checkout/preact/checkout-token.d.ts.map +1 -1
  391. package/build/ts/surfaces/checkout/preact/cost.d.ts +4 -0
  392. package/build/ts/surfaces/checkout/preact/cost.d.ts.map +1 -1
  393. package/build/ts/surfaces/checkout/preact/country.d.ts +1 -0
  394. package/build/ts/surfaces/checkout/preact/country.d.ts.map +1 -1
  395. package/build/ts/surfaces/checkout/preact/currency.d.ts +1 -0
  396. package/build/ts/surfaces/checkout/preact/currency.d.ts.map +1 -1
  397. package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts +1 -0
  398. package/build/ts/surfaces/checkout/preact/customer-privacy.d.ts.map +1 -1
  399. package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts +1 -0
  400. package/build/ts/surfaces/checkout/preact/delivery-group-list-target.d.ts.map +1 -1
  401. package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts +1 -0
  402. package/build/ts/surfaces/checkout/preact/delivery-group-target.d.ts.map +1 -1
  403. package/build/ts/surfaces/checkout/preact/delivery-group.d.ts +1 -0
  404. package/build/ts/surfaces/checkout/preact/delivery-group.d.ts.map +1 -1
  405. package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts +1 -0
  406. package/build/ts/surfaces/checkout/preact/delivery-groups.d.ts.map +1 -1
  407. package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts +1 -0
  408. package/build/ts/surfaces/checkout/preact/delivery-selection-groups.d.ts.map +1 -1
  409. package/build/ts/surfaces/checkout/preact/discounts.d.ts +3 -0
  410. package/build/ts/surfaces/checkout/preact/discounts.d.ts.map +1 -1
  411. package/build/ts/surfaces/checkout/preact/extension-editor.d.ts +1 -0
  412. package/build/ts/surfaces/checkout/preact/extension-editor.d.ts.map +1 -1
  413. package/build/ts/surfaces/checkout/preact/extension-language.d.ts +1 -0
  414. package/build/ts/surfaces/checkout/preact/extension-language.d.ts.map +1 -1
  415. package/build/ts/surfaces/checkout/preact/extension.d.ts +2 -0
  416. package/build/ts/surfaces/checkout/preact/extension.d.ts.map +1 -1
  417. package/build/ts/surfaces/checkout/preact/gift-cards.d.ts +2 -0
  418. package/build/ts/surfaces/checkout/preact/gift-cards.d.ts.map +1 -1
  419. package/build/ts/surfaces/checkout/preact/instructions.d.ts +1 -0
  420. package/build/ts/surfaces/checkout/preact/instructions.d.ts.map +1 -1
  421. package/build/ts/surfaces/checkout/preact/language.d.ts +1 -0
  422. package/build/ts/surfaces/checkout/preact/language.d.ts.map +1 -1
  423. package/build/ts/surfaces/checkout/preact/localized-fields.d.ts +2 -0
  424. package/build/ts/surfaces/checkout/preact/localized-fields.d.ts.map +1 -1
  425. package/build/ts/surfaces/checkout/preact/market.d.ts +1 -0
  426. package/build/ts/surfaces/checkout/preact/market.d.ts.map +1 -1
  427. package/build/ts/surfaces/checkout/preact/metafields.d.ts +1 -0
  428. package/build/ts/surfaces/checkout/preact/metafields.d.ts.map +1 -1
  429. package/build/ts/surfaces/checkout/preact/note.d.ts +2 -0
  430. package/build/ts/surfaces/checkout/preact/note.d.ts.map +1 -1
  431. package/build/ts/surfaces/checkout/preact/payment-method.d.ts +3 -0
  432. package/build/ts/surfaces/checkout/preact/payment-method.d.ts.map +1 -1
  433. package/build/ts/surfaces/checkout/preact/payment-options.d.ts +2 -0
  434. package/build/ts/surfaces/checkout/preact/payment-options.d.ts.map +1 -1
  435. package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts +1 -0
  436. package/build/ts/surfaces/checkout/preact/pickup-location-option-target.d.ts.map +1 -1
  437. package/build/ts/surfaces/checkout/preact/redeemable.d.ts +1 -0
  438. package/build/ts/surfaces/checkout/preact/redeemable.d.ts.map +1 -1
  439. package/build/ts/surfaces/checkout/preact/session-token.d.ts +1 -0
  440. package/build/ts/surfaces/checkout/preact/session-token.d.ts.map +1 -1
  441. package/build/ts/surfaces/checkout/preact/settings.d.ts +1 -0
  442. package/build/ts/surfaces/checkout/preact/settings.d.ts.map +1 -1
  443. package/build/ts/surfaces/checkout/preact/shipping-address.d.ts +2 -0
  444. package/build/ts/surfaces/checkout/preact/shipping-address.d.ts.map +1 -1
  445. package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts +1 -0
  446. package/build/ts/surfaces/checkout/preact/shipping-option-target.d.ts.map +1 -1
  447. package/build/ts/surfaces/checkout/preact/shop.d.ts +1 -0
  448. package/build/ts/surfaces/checkout/preact/shop.d.ts.map +1 -1
  449. package/build/ts/surfaces/checkout/preact/storage.d.ts +1 -0
  450. package/build/ts/surfaces/checkout/preact/storage.d.ts.map +1 -1
  451. package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -0
  452. package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
  453. package/build/ts/surfaces/checkout/preact/target.d.ts +1 -0
  454. package/build/ts/surfaces/checkout/preact/target.d.ts.map +1 -1
  455. package/build/ts/surfaces/checkout/preact/timezone.d.ts +1 -0
  456. package/build/ts/surfaces/checkout/preact/timezone.d.ts.map +1 -1
  457. package/build/ts/surfaces/checkout/preact/translate.d.ts +1 -0
  458. package/build/ts/surfaces/checkout/preact/translate.d.ts.map +1 -1
  459. package/build/ts/surfaces/checkout/shared.d.ts +11 -19
  460. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  461. package/build/ts/surfaces/checkout/style/style.d.ts +1 -0
  462. package/build/ts/surfaces/checkout/style/style.d.ts.map +1 -1
  463. package/build/ts/surfaces/checkout/style/types.d.ts +20 -8
  464. package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
  465. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +1 -0
  466. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +1 -0
  467. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +1 -0
  468. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +1 -0
  469. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +1 -0
  470. package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +2 -1
  471. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +1 -0
  472. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +1 -0
  473. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +1 -0
  474. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +1 -0
  475. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +1 -0
  476. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +1 -0
  477. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +1 -0
  478. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +1 -0
  479. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +1 -0
  480. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +1 -0
  481. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +1 -0
  482. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +1 -0
  483. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +1 -0
  484. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +1 -0
  485. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +1 -0
  486. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +1 -0
  487. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +1 -0
  488. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +1 -0
  489. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +1 -0
  490. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +1 -0
  491. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +1 -0
  492. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +1 -0
  493. package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +1 -0
  494. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +1 -0
  495. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +1 -0
  496. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +1 -0
  497. package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +2 -1
  498. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +1 -0
  499. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +1 -0
  500. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +1 -0
  501. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +3 -0
  502. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
  503. package/build/ts/surfaces/customer-account/api/docs.d.ts +239 -17
  504. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  505. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +453 -296
  506. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  507. package/build/ts/surfaces/customer-account/api/shared.d.ts +209 -138
  508. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  509. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +84 -68
  510. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  511. package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +1 -0
  512. package/build/ts/surfaces/customer-account/components/Announcement.d.ts +34 -9
  513. package/build/ts/surfaces/customer-account/components/Avatar.d.ts +43 -15
  514. package/build/ts/surfaces/customer-account/components/Badge.d.ts +44 -3
  515. package/build/ts/surfaces/customer-account/components/Banner.d.ts +60 -9
  516. package/build/ts/surfaces/customer-account/components/Box.d.ts +50 -0
  517. package/build/ts/surfaces/customer-account/components/Button.d.ts +10 -3
  518. package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
  519. package/build/ts/surfaces/customer-account/components/Chat.d.ts +20 -0
  520. package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +10 -2
  521. package/build/ts/surfaces/customer-account/components/Chip.d.ts +3 -3
  522. package/build/ts/surfaces/customer-account/components/Choice.d.ts +2 -0
  523. package/build/ts/surfaces/customer-account/components/ChoiceList.d.ts +10 -2
  524. package/build/ts/surfaces/customer-account/components/Clickable.d.ts +31 -7
  525. package/build/ts/surfaces/customer-account/components/ClickableChip.d.ts +15 -8
  526. package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +10 -2
  527. package/build/ts/surfaces/customer-account/components/ConsentCheckbox.d.ts +16 -2
  528. package/build/ts/surfaces/customer-account/components/ConsentPhoneField.d.ts +24 -10
  529. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
  530. package/build/ts/surfaces/customer-account/components/DateField.d.ts +24 -6
  531. package/build/ts/surfaces/customer-account/components/DatePicker.d.ts +21 -5
  532. package/build/ts/surfaces/customer-account/components/Details.d.ts +13 -8
  533. package/build/ts/surfaces/customer-account/components/Divider.d.ts +1 -0
  534. package/build/ts/surfaces/customer-account/components/DropZone.d.ts +15 -3
  535. package/build/ts/surfaces/customer-account/components/EmailField.d.ts +18 -10
  536. package/build/ts/surfaces/customer-account/components/Form.d.ts +9 -1
  537. package/build/ts/surfaces/customer-account/components/Grid.d.ts +137 -0
  538. package/build/ts/surfaces/customer-account/components/GridItem.d.ts +55 -0
  539. package/build/ts/surfaces/customer-account/components/Heading.d.ts +1 -0
  540. package/build/ts/surfaces/customer-account/components/Icon.d.ts +49 -4
  541. package/build/ts/surfaces/customer-account/components/Image.d.ts +43 -1
  542. package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
  543. package/build/ts/surfaces/customer-account/components/Link.d.ts +10 -3
  544. package/build/ts/surfaces/customer-account/components/ListItem.d.ts +1 -0
  545. package/build/ts/surfaces/customer-account/components/Map.d.ts +68 -6
  546. package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +36 -8
  547. package/build/ts/surfaces/customer-account/components/Menu.d.ts +1 -1
  548. package/build/ts/surfaces/customer-account/components/Modal.d.ts +52 -8
  549. package/build/ts/surfaces/customer-account/components/MoneyField.d.ts +16 -8
  550. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +18 -10
  551. package/build/ts/surfaces/customer-account/components/Option.d.ts +1 -0
  552. package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +1 -0
  553. package/build/ts/surfaces/customer-account/components/Page.d.ts +5 -5
  554. package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +12 -0
  555. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +18 -10
  556. package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +17 -1
  557. package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +18 -10
  558. package/build/ts/surfaces/customer-account/components/Popover.d.ts +39 -22
  559. package/build/ts/surfaces/customer-account/components/PressButton.d.ts +14 -6
  560. package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +26 -1
  561. package/build/ts/surfaces/customer-account/components/Progress.d.ts +27 -0
  562. package/build/ts/surfaces/customer-account/components/QRCode.d.ts +28 -3
  563. package/build/ts/surfaces/customer-account/components/QueryContainer.d.ts +1 -0
  564. package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +55 -0
  565. package/build/ts/surfaces/customer-account/components/Section.d.ts +4 -0
  566. package/build/ts/surfaces/customer-account/components/Select.d.ts +14 -6
  567. package/build/ts/surfaces/customer-account/components/Sheet.d.ts +40 -13
  568. package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +1 -0
  569. package/build/ts/surfaces/customer-account/components/Spinner.d.ts +16 -0
  570. package/build/ts/surfaces/customer-account/components/Stack.d.ts +110 -0
  571. package/build/ts/surfaces/customer-account/components/Summary.d.ts +1 -0
  572. package/build/ts/surfaces/customer-account/components/Switch.d.ts +10 -2
  573. package/build/ts/surfaces/customer-account/components/Text.d.ts +18 -1
  574. package/build/ts/surfaces/customer-account/components/TextArea.d.ts +16 -8
  575. package/build/ts/surfaces/customer-account/components/TextField.d.ts +18 -10
  576. package/build/ts/surfaces/customer-account/components/Time.d.ts +1 -0
  577. package/build/ts/surfaces/customer-account/components/Tooltip.d.ts +21 -2
  578. package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +1 -0
  579. package/build/ts/surfaces/customer-account/components/UrlField.d.ts +18 -10
  580. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +728 -718
  581. package/build/ts/surfaces/customer-account/components/components.d.ts +575 -297
  582. package/build/ts/surfaces/customer-account/components/shared.d.ts +23 -2
  583. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
  584. package/build/ts/surfaces/customer-account/components/shared.ts +23 -5
  585. package/build/ts/surfaces/customer-account/extension-targets.d.ts +8 -0
  586. package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
  587. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +1 -0
  588. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +1 -0
  589. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +1 -0
  590. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +1 -0
  591. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +1 -0
  592. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +1 -0
  593. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +1 -0
  594. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +1 -0
  595. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +1 -0
  596. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +1 -0
  597. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +1 -0
  598. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +1 -0
  599. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +1 -0
  600. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +1 -0
  601. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +1 -0
  602. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +1 -0
  603. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +1 -0
  604. package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +1 -0
  605. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +1 -0
  606. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +1 -0
  607. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +1 -0
  608. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +1 -0
  609. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +1 -0
  610. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +1 -0
  611. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +4 -0
  612. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -1
  613. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +3 -0
  614. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -1
  615. package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts +4 -0
  616. package/build/ts/surfaces/point-of-sale/api/camera-api/camera-api.d.ts.map +1 -1
  617. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +7 -0
  618. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
  619. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +1 -0
  620. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -1
  621. package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts +2 -0
  622. package/build/ts/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.d.ts.map +1 -1
  623. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +9 -0
  624. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -1
  625. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +5 -0
  626. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -1
  627. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +5 -0
  628. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -1
  629. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +5 -0
  630. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -1
  631. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +5 -0
  632. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -1
  633. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +9 -0
  634. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
  635. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +2 -0
  636. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -1
  637. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +5 -0
  638. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
  639. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +2 -0
  640. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
  641. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +5 -0
  642. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -1
  643. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +10 -0
  644. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
  645. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +12 -1
  646. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -1
  647. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +5 -0
  648. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -1
  649. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +3 -0
  650. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
  651. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +1 -0
  652. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -1
  653. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +5 -0
  654. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -1
  655. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +5 -0
  656. package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +6 -0
  657. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +6 -0
  658. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +6 -0
  659. package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +5 -0
  660. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
  661. package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
  662. package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +7 -0
  663. package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
  664. package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
  665. package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +5 -0
  666. package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
  667. package/build/ts/surfaces/point-of-sale/components/Embed.d.ts +6 -0
  668. package/build/ts/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
  669. package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +5 -0
  670. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +6 -0
  671. package/build/ts/surfaces/point-of-sale/components/Image.d.ts +5 -0
  672. package/build/ts/surfaces/point-of-sale/components/Link.d.ts +7 -0
  673. package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +7 -0
  674. package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
  675. package/build/ts/surfaces/point-of-sale/components/Page.d.ts +6 -0
  676. package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
  677. package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
  678. package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
  679. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
  680. package/build/ts/surfaces/point-of-sale/components/Section.d.ts +6 -0
  681. package/build/ts/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
  682. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +7 -0
  683. package/build/ts/surfaces/point-of-sale/components/Switch.d.ts +7 -0
  684. package/build/ts/surfaces/point-of-sale/components/Tab.d.ts +6 -0
  685. package/build/ts/surfaces/point-of-sale/components/TabList.d.ts +6 -0
  686. package/build/ts/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
  687. package/build/ts/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
  688. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +5 -0
  689. package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
  690. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +7 -0
  691. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +6 -0
  692. package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
  693. package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
  694. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
  695. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +3 -0
  696. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -1
  697. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
  698. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -1
  699. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +3 -0
  700. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -1
  701. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +3 -0
  702. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -1
  703. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +3 -0
  704. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -1
  705. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
  706. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
  707. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +1 -0
  708. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
  709. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +3 -2
  710. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
  711. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +1 -0
  712. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
  713. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +2 -0
  714. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
  715. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +1 -0
  716. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
  717. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +1 -0
  718. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
  719. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +1 -0
  720. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
  721. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +1 -0
  722. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
  723. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +2 -0
  724. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
  725. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +1 -0
  726. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
  727. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +18 -0
  728. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
  729. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +1 -0
  730. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
  731. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +13 -0
  732. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
  733. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +1 -0
  734. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -1
  735. package/build/ts/surfaces/point-of-sale/types/device.d.ts +1 -0
  736. package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -1
  737. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +1 -0
  738. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -1
  739. package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +1 -0
  740. package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -1
  741. package/build/ts/surfaces/point-of-sale/types/money.d.ts +2 -0
  742. package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
  743. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +1 -0
  744. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -1
  745. package/build/ts/surfaces/point-of-sale/types/order.d.ts +2 -0
  746. package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -1
  747. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +1 -0
  748. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -1
  749. package/build/ts/surfaces/point-of-sale/types/payment.d.ts +2 -0
  750. package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
  751. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +5 -0
  752. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
  753. package/build/ts/surfaces/point-of-sale/types/product.d.ts +5 -0
  754. package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -1
  755. package/build/ts/surfaces/point-of-sale/types/session.d.ts +1 -0
  756. package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
  757. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +3 -0
  758. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -1
  759. package/build/ts/surfaces/point-of-sale/types/storage.d.ts +4 -0
  760. package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
  761. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +1 -0
  762. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -1
  763. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +1 -0
  764. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -1
  765. package/build/tsconfig.tsbuildinfo +1 -1
  766. package/package.json +2 -2
  767. package/src/shared.ts +32 -12
  768. package/src/surfaces/admin/api/action/action.ts +1 -0
  769. package/src/surfaces/admin/api/block/block.ts +2 -0
  770. package/src/surfaces/admin/api/checkout-rules/launch-options.ts +7 -3
  771. package/src/surfaces/admin/api/checkout-rules/metafields.ts +13 -6
  772. package/src/surfaces/admin/api/checkout-rules/validation-settings.ts +1 -0
  773. package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.ts +3 -0
  774. package/src/surfaces/admin/api/discount-function-settings/discount-function-settings.ts +1 -0
  775. package/src/surfaces/admin/api/discount-function-settings/launch-options.ts +7 -2
  776. package/src/surfaces/admin/api/discount-function-settings/metafields.ts +13 -6
  777. package/src/surfaces/admin/api/generated/generated.ts +76 -0
  778. package/src/surfaces/admin/api/intents/intent-render.ts +26 -0
  779. package/src/surfaces/admin/api/intents/intents.ts +49 -8
  780. package/src/surfaces/admin/api/order-routing-rule/data.ts +5 -2
  781. package/src/surfaces/admin/api/order-routing-rule/metafields.ts +8 -3
  782. package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +1 -0
  783. package/src/surfaces/admin/api/picker/picker.ts +15 -6
  784. package/src/surfaces/admin/api/print-action/print-action.ts +1 -0
  785. package/src/surfaces/admin/api/product-configuration/product-details-configuration.ts +4 -1
  786. package/src/surfaces/admin/api/product-configuration/product-variant-details-configuration.ts +4 -1
  787. package/src/surfaces/admin/api/purchase-options-card-action.ts +1 -0
  788. package/src/surfaces/admin/api/resource-picker/resource-picker.ts +36 -17
  789. package/src/surfaces/admin/api/shared.ts +2 -0
  790. package/src/surfaces/admin/api/standard/standard-rendering.ts +3 -0
  791. package/src/surfaces/admin/api/standard/standard.ts +4 -1
  792. package/src/surfaces/admin/api/standard/storage.ts +4 -0
  793. package/src/surfaces/admin/api.ts +7 -0
  794. package/src/surfaces/admin/components/AdminAction.d.ts +6 -0
  795. package/src/surfaces/admin/components/AdminBlock.d.ts +6 -0
  796. package/src/surfaces/admin/components/AdminPrintAction.d.ts +6 -0
  797. package/src/surfaces/admin/components/Avatar.d.ts +9 -0
  798. package/src/surfaces/admin/components/Badge.d.ts +9 -0
  799. package/src/surfaces/admin/components/Banner.d.ts +11 -0
  800. package/src/surfaces/admin/components/Box.d.ts +14 -0
  801. package/src/surfaces/admin/components/Button.d.ts +14 -0
  802. package/src/surfaces/admin/components/ButtonGroup.d.ts +8 -0
  803. package/src/surfaces/admin/components/Checkbox.d.ts +12 -1
  804. package/src/surfaces/admin/components/Chip.d.ts +4 -2
  805. package/src/surfaces/admin/components/Choice.d.ts +10 -2
  806. package/src/surfaces/admin/components/ChoiceList.d.ts +12 -2
  807. package/src/surfaces/admin/components/Clickable.d.ts +16 -4
  808. package/src/surfaces/admin/components/ClickableChip.d.ts +11 -0
  809. package/src/surfaces/admin/components/ColorField.d.ts +12 -0
  810. package/src/surfaces/admin/components/ColorPicker.d.ts +9 -0
  811. package/src/surfaces/admin/components/DateField.d.ts +11 -0
  812. package/src/surfaces/admin/components/DatePicker.d.ts +10 -1
  813. package/src/surfaces/admin/components/Divider.d.ts +7 -0
  814. package/src/surfaces/admin/components/DropZone.d.ts +8 -4
  815. package/src/surfaces/admin/components/EmailField.d.ts +12 -0
  816. package/src/surfaces/admin/components/Form.d.ts +10 -0
  817. package/src/surfaces/admin/components/FunctionSettings.d.ts +12 -0
  818. package/src/surfaces/admin/components/Grid.d.ts +16 -0
  819. package/src/surfaces/admin/components/GridItem.d.ts +15 -0
  820. package/src/surfaces/admin/components/Heading.d.ts +8 -0
  821. package/src/surfaces/admin/components/Icon.d.ts +6 -3
  822. package/src/surfaces/admin/components/Image.d.ts +15 -0
  823. package/src/surfaces/admin/components/Link.d.ts +13 -3
  824. package/src/surfaces/admin/components/ListItem.d.ts +8 -0
  825. package/src/surfaces/admin/components/Menu.d.ts +11 -0
  826. package/src/surfaces/admin/components/Modal.d.ts +8 -4
  827. package/src/surfaces/admin/components/MoneyField.d.ts +13 -0
  828. package/src/surfaces/admin/components/NumberField.d.ts +12 -0
  829. package/src/surfaces/admin/components/Option.d.ts +10 -2
  830. package/src/surfaces/admin/components/OptionGroup.d.ts +10 -2
  831. package/src/surfaces/admin/components/OrderedList.d.ts +8 -0
  832. package/src/surfaces/admin/components/Page.d.ts +4 -2
  833. package/src/surfaces/admin/components/Paragraph.d.ts +8 -0
  834. package/src/surfaces/admin/components/PasswordField.d.ts +12 -0
  835. package/src/surfaces/admin/components/QueryContainer.d.ts +8 -0
  836. package/src/surfaces/admin/components/SearchField.d.ts +13 -1
  837. package/src/surfaces/admin/components/Section.d.ts +9 -0
  838. package/src/surfaces/admin/components/Select.d.ts +14 -2
  839. package/src/surfaces/admin/components/Spinner.d.ts +7 -0
  840. package/src/surfaces/admin/components/Stack.d.ts +16 -0
  841. package/src/surfaces/admin/components/Switch.d.ts +12 -1
  842. package/src/surfaces/admin/components/Table.d.ts +15 -0
  843. package/src/surfaces/admin/components/TableBody.d.ts +8 -0
  844. package/src/surfaces/admin/components/TableCell.d.ts +9 -0
  845. package/src/surfaces/admin/components/TableHeader.d.ts +9 -0
  846. package/src/surfaces/admin/components/TableHeaderRow.d.ts +8 -0
  847. package/src/surfaces/admin/components/TableRow.d.ts +8 -0
  848. package/src/surfaces/admin/components/Text.d.ts +19 -0
  849. package/src/surfaces/admin/components/TextArea.d.ts +12 -0
  850. package/src/surfaces/admin/components/TextField.d.ts +13 -0
  851. package/src/surfaces/admin/components/Thumbnail.d.ts +9 -0
  852. package/src/surfaces/admin/components/Tooltip.d.ts +11 -0
  853. package/src/surfaces/admin/components/URLField.d.ts +12 -0
  854. package/src/surfaces/admin/components/UnorderedList.d.ts +14 -0
  855. package/src/surfaces/admin/components/shared.d.ts +267 -0
  856. package/src/surfaces/admin/components.d.ts +700 -0
  857. package/src/surfaces/admin/extension-targets.ts +12 -0
  858. package/src/surfaces/checkout/api/address-autocomplete/format-suggestion.ts +2 -0
  859. package/src/surfaces/checkout/api/address-autocomplete/shared.ts +3 -0
  860. package/src/surfaces/checkout/api/address-autocomplete/standard.ts +2 -1
  861. package/src/surfaces/checkout/api/address-autocomplete/suggest.ts +2 -0
  862. package/src/surfaces/checkout/api/announcement/announcement.ts +1 -0
  863. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +5 -1
  864. package/src/surfaces/checkout/api/checkout/checkout.ts +258 -122
  865. package/src/surfaces/checkout/api/docs.ts +34 -1
  866. package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +12 -5
  867. package/src/surfaces/checkout/api/payment/payment-option-item.ts +7 -0
  868. package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +3 -2
  869. package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +4 -1
  870. package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +4 -1
  871. package/src/surfaces/checkout/api/redeemable/redeemable.ts +7 -0
  872. package/src/surfaces/checkout/api/shared.ts +79 -31
  873. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +6 -4
  874. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +18 -12
  875. package/src/surfaces/checkout/api/standard/standard.ts +661 -425
  876. package/src/surfaces/checkout/components/Abbreviation.d.ts +1 -0
  877. package/src/surfaces/checkout/components/Announcement.d.ts +34 -9
  878. package/src/surfaces/checkout/components/Badge.d.ts +44 -3
  879. package/src/surfaces/checkout/components/Banner.d.ts +60 -9
  880. package/src/surfaces/checkout/components/Box.d.ts +50 -0
  881. package/src/surfaces/checkout/components/Button.d.ts +10 -3
  882. package/src/surfaces/checkout/components/Chat.d.ts +20 -0
  883. package/src/surfaces/checkout/components/Checkbox.d.ts +10 -2
  884. package/src/surfaces/checkout/components/Chip.d.ts +3 -3
  885. package/src/surfaces/checkout/components/Choice.d.ts +2 -0
  886. package/src/surfaces/checkout/components/ChoiceList.d.ts +10 -2
  887. package/src/surfaces/checkout/components/Clickable.d.ts +31 -7
  888. package/src/surfaces/checkout/components/ClickableChip.d.ts +15 -8
  889. package/src/surfaces/checkout/components/ClipboardItem.d.ts +10 -2
  890. package/src/surfaces/checkout/components/ConsentCheckbox.d.ts +16 -2
  891. package/src/surfaces/checkout/components/ConsentPhoneField.d.ts +24 -10
  892. package/src/surfaces/checkout/components/DateField.d.ts +24 -6
  893. package/src/surfaces/checkout/components/DatePicker.d.ts +21 -5
  894. package/src/surfaces/checkout/components/Details.d.ts +13 -8
  895. package/src/surfaces/checkout/components/Divider.d.ts +1 -0
  896. package/src/surfaces/checkout/components/DropZone.d.ts +15 -3
  897. package/src/surfaces/checkout/components/EmailField.d.ts +18 -10
  898. package/src/surfaces/checkout/components/Form.d.ts +9 -1
  899. package/src/surfaces/checkout/components/Grid.d.ts +137 -0
  900. package/src/surfaces/checkout/components/GridItem.d.ts +55 -0
  901. package/src/surfaces/checkout/components/Heading.d.ts +1 -0
  902. package/src/surfaces/checkout/components/Icon.d.ts +49 -4
  903. package/src/surfaces/checkout/components/Image.d.ts +43 -1
  904. package/src/surfaces/checkout/components/Link.d.ts +10 -3
  905. package/src/surfaces/checkout/components/ListItem.d.ts +1 -0
  906. package/src/surfaces/checkout/components/Map.d.ts +68 -6
  907. package/src/surfaces/checkout/components/MapMarker.d.ts +36 -8
  908. package/src/surfaces/checkout/components/Modal.d.ts +52 -8
  909. package/src/surfaces/checkout/components/MoneyField.d.ts +16 -8
  910. package/src/surfaces/checkout/components/NumberField.d.ts +18 -10
  911. package/src/surfaces/checkout/components/Option.d.ts +1 -0
  912. package/src/surfaces/checkout/components/OrderedList.d.ts +1 -0
  913. package/src/surfaces/checkout/components/Paragraph.d.ts +12 -0
  914. package/src/surfaces/checkout/components/PasswordField.d.ts +18 -10
  915. package/src/surfaces/checkout/components/PaymentIcon.d.ts +17 -1
  916. package/src/surfaces/checkout/components/PhoneField.d.ts +18 -10
  917. package/src/surfaces/checkout/components/Popover.d.ts +39 -22
  918. package/src/surfaces/checkout/components/PressButton.d.ts +14 -6
  919. package/src/surfaces/checkout/components/ProductThumbnail.d.ts +26 -1
  920. package/src/surfaces/checkout/components/Progress.d.ts +27 -0
  921. package/src/surfaces/checkout/components/QRCode.d.ts +28 -3
  922. package/src/surfaces/checkout/components/QueryContainer.d.ts +1 -0
  923. package/src/surfaces/checkout/components/ScrollBox.d.ts +55 -0
  924. package/src/surfaces/checkout/components/Section.d.ts +4 -0
  925. package/src/surfaces/checkout/components/Select.d.ts +14 -6
  926. package/src/surfaces/checkout/components/Sheet.d.ts +40 -13
  927. package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +1 -0
  928. package/src/surfaces/checkout/components/Spinner.d.ts +16 -0
  929. package/src/surfaces/checkout/components/Stack.d.ts +110 -0
  930. package/src/surfaces/checkout/components/Summary.d.ts +1 -0
  931. package/src/surfaces/checkout/components/Switch.d.ts +10 -2
  932. package/src/surfaces/checkout/components/Text.d.ts +18 -1
  933. package/src/surfaces/checkout/components/TextArea.d.ts +16 -8
  934. package/src/surfaces/checkout/components/TextField.d.ts +18 -10
  935. package/src/surfaces/checkout/components/Time.d.ts +1 -0
  936. package/src/surfaces/checkout/components/Tooltip.d.ts +21 -2
  937. package/src/surfaces/checkout/components/UnorderedList.d.ts +1 -0
  938. package/src/surfaces/checkout/components/UrlField.d.ts +18 -10
  939. package/src/surfaces/checkout/components/components-shared.d.ts +728 -718
  940. package/src/surfaces/checkout/components/components.d.ts +575 -297
  941. package/src/surfaces/checkout/extension-targets.ts +13 -0
  942. package/src/surfaces/checkout/globals.ts +1 -0
  943. package/src/surfaces/checkout/preact/api.ts +2 -0
  944. package/src/surfaces/checkout/preact/app-metafields.ts +1 -0
  945. package/src/surfaces/checkout/preact/attributes.ts +3 -0
  946. package/src/surfaces/checkout/preact/billing-address.ts +1 -0
  947. package/src/surfaces/checkout/preact/buyer-identity.ts +4 -0
  948. package/src/surfaces/checkout/preact/buyer-journey.ts +5 -0
  949. package/src/surfaces/checkout/preact/capabilities.ts +2 -0
  950. package/src/surfaces/checkout/preact/cart-line-target.ts +1 -0
  951. package/src/surfaces/checkout/preact/cart-lines.ts +2 -0
  952. package/src/surfaces/checkout/preact/checkout-settings.ts +1 -0
  953. package/src/surfaces/checkout/preact/checkout-token.ts +1 -0
  954. package/src/surfaces/checkout/preact/cost.ts +4 -0
  955. package/src/surfaces/checkout/preact/country.ts +1 -0
  956. package/src/surfaces/checkout/preact/currency.ts +1 -0
  957. package/src/surfaces/checkout/preact/customer-privacy.ts +1 -0
  958. package/src/surfaces/checkout/preact/delivery-group-list-target.ts +1 -0
  959. package/src/surfaces/checkout/preact/delivery-group-target.ts +1 -0
  960. package/src/surfaces/checkout/preact/delivery-group.ts +1 -0
  961. package/src/surfaces/checkout/preact/delivery-groups.ts +1 -0
  962. package/src/surfaces/checkout/preact/delivery-selection-groups.ts +1 -0
  963. package/src/surfaces/checkout/preact/discounts.ts +3 -0
  964. package/src/surfaces/checkout/preact/extension-editor.ts +1 -0
  965. package/src/surfaces/checkout/preact/extension-language.ts +1 -0
  966. package/src/surfaces/checkout/preact/extension.ts +2 -0
  967. package/src/surfaces/checkout/preact/gift-cards.ts +2 -0
  968. package/src/surfaces/checkout/preact/instructions.ts +1 -0
  969. package/src/surfaces/checkout/preact/language.ts +1 -0
  970. package/src/surfaces/checkout/preact/localized-fields.ts +2 -0
  971. package/src/surfaces/checkout/preact/market.ts +1 -0
  972. package/src/surfaces/checkout/preact/metafields.ts +1 -0
  973. package/src/surfaces/checkout/preact/note.ts +2 -0
  974. package/src/surfaces/checkout/preact/payment-method.ts +3 -0
  975. package/src/surfaces/checkout/preact/payment-options.ts +2 -0
  976. package/src/surfaces/checkout/preact/pickup-location-option-target.ts +1 -0
  977. package/src/surfaces/checkout/preact/redeemable.ts +1 -0
  978. package/src/surfaces/checkout/preact/session-token.ts +1 -0
  979. package/src/surfaces/checkout/preact/settings.ts +1 -0
  980. package/src/surfaces/checkout/preact/shipping-address.ts +2 -0
  981. package/src/surfaces/checkout/preact/shipping-option-target.ts +1 -0
  982. package/src/surfaces/checkout/preact/shop.ts +1 -0
  983. package/src/surfaces/checkout/preact/storage.ts +1 -0
  984. package/src/surfaces/checkout/preact/subscription.ts +1 -0
  985. package/src/surfaces/checkout/preact/target.ts +1 -0
  986. package/src/surfaces/checkout/preact/timezone.ts +1 -0
  987. package/src/surfaces/checkout/preact/translate.ts +1 -0
  988. package/src/surfaces/checkout/shared.ts +11 -21
  989. package/src/surfaces/checkout/style/style.ts +1 -0
  990. package/src/surfaces/checkout/style/types.ts +20 -7
  991. package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +3 -0
  992. package/src/surfaces/customer-account/api/docs.ts +244 -19
  993. package/src/surfaces/customer-account/api/order-status/order-status.ts +460 -296
  994. package/src/surfaces/customer-account/api/shared.ts +210 -138
  995. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +84 -68
  996. package/src/surfaces/customer-account/components/Avatar.d.ts +43 -15
  997. package/src/surfaces/customer-account/components/ButtonGroup.d.ts +3 -3
  998. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +3 -3
  999. package/src/surfaces/customer-account/components/ImageGroup.d.ts +7 -2
  1000. package/src/surfaces/customer-account/components/Menu.d.ts +1 -1
  1001. package/src/surfaces/customer-account/components/Page.d.ts +5 -5
  1002. package/src/surfaces/customer-account/components/Section.d.ts +3 -7
  1003. package/src/surfaces/customer-account/components/shared.ts +23 -5
  1004. package/src/surfaces/customer-account/components.d.ts +93 -0
  1005. package/src/surfaces/customer-account/extension-targets.ts +8 -0
  1006. package/src/surfaces/point-of-sale/api/action-api/action-api.ts +4 -0
  1007. package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +3 -0
  1008. package/src/surfaces/point-of-sale/api/camera-api/camera-api.ts +4 -0
  1009. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +7 -0
  1010. package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +1 -0
  1011. package/src/surfaces/point-of-sale/api/cash-drawer-api/cash-drawer-api.ts +2 -0
  1012. package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +9 -0
  1013. package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +5 -0
  1014. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +5 -0
  1015. package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +5 -0
  1016. package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +5 -0
  1017. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +9 -0
  1018. package/src/surfaces/point-of-sale/api/order-api/order-api.ts +2 -0
  1019. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +5 -0
  1020. package/src/surfaces/point-of-sale/api/print-api/print-api.ts +2 -0
  1021. package/src/surfaces/point-of-sale/api/product-api/product-api.ts +5 -0
  1022. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +10 -0
  1023. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +12 -1
  1024. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +5 -0
  1025. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +3 -0
  1026. package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +1 -0
  1027. package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +5 -0
  1028. package/src/surfaces/point-of-sale/components/Badge.d.ts +5 -0
  1029. package/src/surfaces/point-of-sale/components/Banner.d.ts +6 -0
  1030. package/src/surfaces/point-of-sale/components/Box.d.ts +6 -0
  1031. package/src/surfaces/point-of-sale/components/Button.d.ts +6 -0
  1032. package/src/surfaces/point-of-sale/components/Choice.d.ts +5 -0
  1033. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +6 -0
  1034. package/src/surfaces/point-of-sale/components/Clickable.d.ts +6 -0
  1035. package/src/surfaces/point-of-sale/components/DateField.d.ts +7 -0
  1036. package/src/surfaces/point-of-sale/components/DatePicker.d.ts +6 -0
  1037. package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +6 -0
  1038. package/src/surfaces/point-of-sale/components/Divider.d.ts +5 -0
  1039. package/src/surfaces/point-of-sale/components/EmailField.d.ts +8 -0
  1040. package/src/surfaces/point-of-sale/components/Embed.d.ts +6 -0
  1041. package/src/surfaces/point-of-sale/components/EmptyState.d.ts +7 -0
  1042. package/src/surfaces/point-of-sale/components/Heading.d.ts +5 -0
  1043. package/src/surfaces/point-of-sale/components/Icon.d.ts +6 -0
  1044. package/src/surfaces/point-of-sale/components/Image.d.ts +5 -0
  1045. package/src/surfaces/point-of-sale/components/Link.d.ts +7 -0
  1046. package/src/surfaces/point-of-sale/components/Modal.d.ts +7 -0
  1047. package/src/surfaces/point-of-sale/components/NumberField.d.ts +7 -0
  1048. package/src/surfaces/point-of-sale/components/Page.d.ts +6 -0
  1049. package/src/surfaces/point-of-sale/components/PosBlock.d.ts +6 -0
  1050. package/src/surfaces/point-of-sale/components/QrCode.d.ts +5 -0
  1051. package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +6 -0
  1052. package/src/surfaces/point-of-sale/components/SearchField.d.ts +6 -0
  1053. package/src/surfaces/point-of-sale/components/Section.d.ts +6 -0
  1054. package/src/surfaces/point-of-sale/components/Spinner.d.ts +6 -0
  1055. package/src/surfaces/point-of-sale/components/Stack.d.ts +7 -0
  1056. package/src/surfaces/point-of-sale/components/Switch.d.ts +7 -0
  1057. package/src/surfaces/point-of-sale/components/Tab.d.ts +6 -0
  1058. package/src/surfaces/point-of-sale/components/TabList.d.ts +6 -0
  1059. package/src/surfaces/point-of-sale/components/TabPanel.d.ts +6 -0
  1060. package/src/surfaces/point-of-sale/components/Tabs.d.ts +7 -0
  1061. package/src/surfaces/point-of-sale/components/Text.d.ts +5 -0
  1062. package/src/surfaces/point-of-sale/components/TextArea.d.ts +8 -0
  1063. package/src/surfaces/point-of-sale/components/TextField.d.ts +7 -0
  1064. package/src/surfaces/point-of-sale/components/Tile.d.ts +6 -0
  1065. package/src/surfaces/point-of-sale/components/TimeField.d.ts +6 -0
  1066. package/src/surfaces/point-of-sale/components/TimePicker.d.ts +6 -0
  1067. package/src/surfaces/point-of-sale/components/components-shared.d.ts +135 -0
  1068. package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +3 -0
  1069. package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
  1070. package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +3 -0
  1071. package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +3 -0
  1072. package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +3 -0
  1073. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +3 -0
  1074. package/src/surfaces/point-of-sale/components.d.ts +286 -0
  1075. package/src/surfaces/point-of-sale/event/data/BaseApi.ts +1 -0
  1076. package/src/surfaces/point-of-sale/event/data/BaseData.ts +7 -2
  1077. package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +1 -0
  1078. package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +2 -0
  1079. package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +1 -0
  1080. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +1 -0
  1081. package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +1 -0
  1082. package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +1 -0
  1083. package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +2 -0
  1084. package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +1 -0
  1085. package/src/surfaces/point-of-sale/extension-targets.ts +18 -0
  1086. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +1 -0
  1087. package/src/surfaces/point-of-sale/types/cart.ts +13 -0
  1088. package/src/surfaces/point-of-sale/types/country-code.ts +1 -0
  1089. package/src/surfaces/point-of-sale/types/device.ts +1 -0
  1090. package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +1 -0
  1091. package/src/surfaces/point-of-sale/types/discount-allocation.ts +1 -0
  1092. package/src/surfaces/point-of-sale/types/money.ts +2 -0
  1093. package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -0
  1094. package/src/surfaces/point-of-sale/types/order.ts +2 -0
  1095. package/src/surfaces/point-of-sale/types/paginated-result.ts +1 -0
  1096. package/src/surfaces/point-of-sale/types/payment.ts +2 -0
  1097. package/src/surfaces/point-of-sale/types/pin-pad.ts +5 -0
  1098. package/src/surfaces/point-of-sale/types/product.ts +5 -0
  1099. package/src/surfaces/point-of-sale/types/session.ts +1 -0
  1100. package/src/surfaces/point-of-sale/types/shipping-line.ts +3 -0
  1101. package/src/surfaces/point-of-sale/types/storage.ts +4 -0
  1102. package/src/surfaces/point-of-sale/types/tax-line.ts +1 -0
  1103. package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
@@ -1,151 +1,199 @@
1
1
  import type { Attribute, SellingPlan, MailingAddress, ShippingAddress } from '../shared';
2
2
  /**
3
- * Removes a note
3
+ * Clears the buyer's note from the checkout. Pass this to `applyNoteChange()` to remove any existing note.
4
+ * @publicDocs
4
5
  */
5
6
  export interface NoteRemoveChange {
6
7
  /**
7
- * The type of the `NoteRemoveChange` API.
8
+ * Identifies this as a note removal. Set this when creating a change to clear the buyer's note.
8
9
  */
9
10
  type: 'removeNote';
10
11
  }
11
12
  /**
12
- * An Update to a note on the order.
13
- * for example, the buyer could request detailed packaging instructions in an order note
13
+ * Sets or replaces the buyer's note on the checkout. Pass this to `applyNoteChange()` to update the note.
14
+ * @publicDocs
14
15
  */
15
16
  export interface NoteUpdateChange {
16
17
  /**
17
- * The type of the `NoteUpdateChange` API.
18
+ * Identifies this as a note update. Set this when creating a change to set or replace the buyer's note.
18
19
  */
19
20
  type: 'updateNote';
20
21
  /**
21
- * The new value of the note.
22
+ * The text to set as the buyer's note. This replaces any existing note entirely rather than appending to it.
22
23
  */
23
24
  note: string;
24
25
  }
26
+ /**
27
+ * The input for `applyNoteChange()`. Pass either a `NoteUpdateChange` (with `type: 'updateNote'`) to set the note or a `NoteRemoveChange` (with `type: 'removeNote'`) to clear it.
28
+ * @publicDocs
29
+ */
25
30
  export type NoteChange = NoteRemoveChange | NoteUpdateChange;
31
+ /**
32
+ * The result of a successful note change. The `type` property is `'success'`.
33
+ * @publicDocs
34
+ */
26
35
  export interface NoteChangeResultSuccess {
27
36
  /**
28
- * The type of the `NoteChangeResultSuccess` API.
37
+ * Indicates that the note change was applied successfully.
29
38
  */
30
39
  type: 'success';
31
40
  }
41
+ /**
42
+ * The result of a failed note change. Check the `message` property for details about what went wrong.
43
+ * @publicDocs
44
+ */
32
45
  export interface NoteChangeResultError {
33
46
  /**
34
- * The type of the `NoteChangeResultError` API.
47
+ * Indicates that the note change couldn't be applied. Check the `message` property for details.
35
48
  */
36
49
  type: 'error';
37
50
  /**
38
51
  * A message that explains the error. This message is useful for debugging.
39
- * It is **not** localized, and therefore should not be presented directly
40
- * to the buyer.
52
+ * It isn't localized and shouldn't be displayed to the buyer.
41
53
  */
42
54
  message: string;
43
55
  }
56
+ /**
57
+ * The result of calling `applyNoteChange()`. Use the `type` property to determine whether the change succeeded or failed.
58
+ * @publicDocs
59
+ */
44
60
  export type NoteChangeResult = NoteChangeResultSuccess | NoteChangeResultError;
45
61
  /**
46
- * Updates an attribute on the order. If an attribute with the
47
- * provided key does not already exist, it gets created.
62
+ * Updates an attribute on the cart and checkout. If an attribute with the
63
+ * provided key doesn't already exist, then it gets created.
64
+ * @publicDocs
48
65
  */
49
66
  export interface AttributeUpdateChange {
50
67
  /**
51
- * The type of the `AttributeUpdateChange` API.
68
+ * Identifies this as an attribute update or creation. Set this when creating a change to add or replace an attribute value.
52
69
  */
53
70
  type: 'updateAttribute';
54
71
  /**
55
- * Key of the attribute to add or update
72
+ * The key of the attribute to add or update. If an attribute with this key
73
+ * already exists, then its value is replaced.
56
74
  */
57
75
  key: string;
58
76
  /**
59
- * Value for the attribute to add or update
77
+ * The new value for the attribute.
60
78
  */
61
79
  value: string;
62
80
  }
63
81
  /**
64
- * Removes an attribute on the order if an attribute with the
65
- * provided key already exists.
82
+ * Removes an attribute from the checkout. Pass this to `applyAttributeChange()` to delete an attribute by key. If the key doesn't exist, then the change has no effect.
83
+ * @publicDocs
66
84
  */
67
85
  export interface AttributeRemoveChange {
68
86
  /**
69
- * The type of the `AttributeRemoveChange` API.
87
+ * Identifies this as an attribute removal. Set this when creating a change to delete an attribute by key.
70
88
  */
71
89
  type: 'removeAttribute';
72
90
  /**
73
- * Key of the attribute to remove
91
+ * The key of the attribute to remove.
74
92
  */
75
93
  key: string;
76
94
  }
95
+ /**
96
+ * The input for `applyAttributeChange()`. Pass either an `AttributeUpdateChange` (with `type: 'updateAttribute'`) to set the attribute or an `AttributeRemoveChange` (with `type: 'removeAttribute'`) to delete it.
97
+ * @publicDocs
98
+ */
77
99
  export type AttributeChange = AttributeUpdateChange | AttributeRemoveChange;
78
100
  /**
79
- * The returned result of a successful update to an attribute.
101
+ * The result of a successful attribute change. The `type` property is `'success'`.
102
+ * @publicDocs
80
103
  */
81
104
  export interface AttributeChangeResultSuccess {
82
105
  /**
83
- * The type of the `AttributeChangeResultSuccess` API.
106
+ * Indicates that the attribute change was applied successfully.
84
107
  */
85
108
  type: 'success';
86
109
  }
87
110
  /**
88
- * The returned result of an unsuccessful update to an attribute
89
- * with a message detailing the type of error that occurred.
111
+ * The result of a failed attribute change. Check the `message` property for details about what went wrong.
112
+ * @publicDocs
90
113
  */
91
114
  export interface AttributeChangeResultError {
92
115
  /**
93
- * The type of the `AttributeChangeResultError` API.
116
+ * Indicates that the attribute change couldn't be applied. Check the `message` property for details.
94
117
  */
95
118
  type: 'error';
96
119
  /**
97
120
  * A message that explains the error. This message is useful for debugging.
98
- * It is **not** localized, and therefore should not be presented directly
99
- * to the buyer.
121
+ * It isn't localized and shouldn't be displayed to the buyer.
100
122
  */
101
123
  message: string;
102
124
  }
125
+ /**
126
+ * The result of calling `applyAttributeChange()`. Use the `type` property to determine whether the change succeeded or failed.
127
+ * @publicDocs
128
+ */
103
129
  export type AttributeChangeResult = AttributeChangeResultSuccess | AttributeChangeResultError;
130
+ /**
131
+ * The result of a successful cart line change. The `type` property is `'success'`.
132
+ * @publicDocs
133
+ */
104
134
  export interface CartLineChangeResultSuccess {
105
135
  /**
106
- * Indicates that the line item was changed successfully.
136
+ * Indicates that the cart line change was applied successfully.
107
137
  */
108
138
  type: 'success';
109
139
  }
140
+ /**
141
+ * The result of a failed cart line change. Check the `message` property for details about what went wrong.
142
+ * @publicDocs
143
+ */
110
144
  export interface CartLineChangeResultError {
111
145
  /**
112
- * Indicates that the line item was not changed successfully. Refer to the `message` property for details about the error.
146
+ * Indicates that the line item wasn't changed successfully. Refer to the `message` property for details about the error.
113
147
  */
114
148
  type: 'error';
115
149
  /**
116
150
  * A message that explains the error. This message is useful for debugging.
117
- * It is **not** localized, and therefore should not be presented directly
118
- * to the buyer.
151
+ * It isn't localized and shouldn't be displayed to the buyer.
119
152
  */
120
153
  message: string;
121
154
  }
155
+ /**
156
+ * The result of calling `applyCartLinesChange()`. Use the `type` property to determine whether the change succeeded or failed.
157
+ * @publicDocs
158
+ */
122
159
  export type CartLineChangeResult = CartLineChangeResultSuccess | CartLineChangeResultError;
160
+ /**
161
+ * The input for `applyCartLinesChange()`. Use the `type` property to specify the operation.
162
+ *
163
+ * - `CartLineAddChange` (`type: 'addCartLine'`): Adds a new line item to the cart.
164
+ * - `CartLineRemoveChange` (`type: 'removeCartLine'`): Removes an existing line item.
165
+ * - `CartLineUpdateChange` (`type: 'updateCartLine'`): Updates an existing line item's quantity, variant, or attributes.
166
+ * @publicDocs
167
+ */
123
168
  export type CartLineChange = CartLineAddChange | CartLineRemoveChange | CartLineUpdateChange;
169
+ /**
170
+ * Adds a new line item to the cart. Pass this to `applyCartLinesChange()` to add a product variant with a specified quantity and optional attributes.
171
+ * @publicDocs
172
+ */
124
173
  export interface CartLineAddChange {
125
174
  /**
126
- * An identifier for changes that add line items.
175
+ * Identifies this as a line item addition. Set this when creating a change to add a new product to the cart.
127
176
  */
128
177
  type: 'addCartLine';
129
178
  /**
130
- * The merchandise ID being added.
179
+ * The globally-unique identifier of the product variant to add.
131
180
  * @example 'gid://shopify/ProductVariant/123'
132
181
  */
133
182
  merchandiseId: string;
134
183
  /**
135
- * The quantity of the merchandise being added.
184
+ * The number of items to add. Must be a positive integer.
136
185
  */
137
186
  quantity: number;
138
187
  /**
139
- * The attributes associated with the line item.
188
+ * Custom key-value attributes to attach to the new line item.
140
189
  */
141
190
  attributes?: Attribute[];
142
191
  /**
143
- * The identifier of the selling plan that the merchandise is being purchased
144
- * with.
192
+ * The identifier of the [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions) to associate with this line item, such as a subscription or pre-order plan.
145
193
  */
146
194
  sellingPlanId?: SellingPlan['id'];
147
195
  /**
148
- * The identifier for the associated parent cart line.
196
+ * The parent cart line to associate the new item with, identified by either `lineId` or `merchandiseId`. Use this when adding child items to a bundle.
149
197
  */
150
198
  parent?: {
151
199
  lineId: string;
@@ -153,51 +201,58 @@ export interface CartLineAddChange {
153
201
  merchandiseId: string;
154
202
  };
155
203
  }
204
+ /**
205
+ * Removes an existing line item from the cart. Pass this to `applyCartLinesChange()` to remove a specified quantity of a line item.
206
+ * @publicDocs
207
+ */
156
208
  export interface CartLineRemoveChange {
157
209
  /**
158
- * An identifier for changes that remove line items.
210
+ * Identifies this as a line item removal. Set this when creating a change to remove a product from the cart.
159
211
  */
160
212
  type: 'removeCartLine';
161
213
  /**
162
- * Line Item ID.
214
+ * The unique identifier of the cart line to remove. Look up the current ID from `lines` before calling, because cart line IDs aren't stable.
163
215
  * @example 'gid://shopify/CartLine/123'
164
216
  */
165
217
  id: string;
166
218
  /**
167
- * The quantity being removed for this line item.
219
+ * The number of items to remove from this line.
168
220
  */
169
221
  quantity: number;
170
222
  }
223
+ /**
224
+ * Updates an existing line item in the cart. Pass this to `applyCartLinesChange()` to change a line item's quantity, variant, selling plan, or attributes.
225
+ * @publicDocs
226
+ */
171
227
  export interface CartLineUpdateChange {
172
228
  /**
173
- * An identifier for changes that update line items.
229
+ * Identifies this as a line item update. Set this when creating a change to modify a line item's quantity, variant, or attributes.
174
230
  */
175
231
  type: 'updateCartLine';
176
232
  /**
177
- * Line Item ID.
233
+ * The unique identifier of the cart line to update. Look up the current ID from `lines` before calling, because cart line IDs aren't stable.
178
234
  * @example 'gid://shopify/CartLine/123'
179
235
  */
180
236
  id: string;
181
237
  /**
182
- * The new merchandise ID for the line item.
238
+ * The new product variant to swap in for this line item. Only provide this if you want to change the variant.
183
239
  * @example 'gid://shopify/ProductVariant/123'
184
240
  */
185
241
  merchandiseId?: string;
186
242
  /**
187
- * The new quantity for the line item.
243
+ * The new quantity for this line item. Only provide this if you want to change the quantity.
188
244
  */
189
245
  quantity?: number;
190
246
  /**
191
- * The new attributes for the line item.
247
+ * The new custom key-value attributes for this line item. Replaces all existing attributes when provided.
192
248
  */
193
249
  attributes?: Attribute[];
194
250
  /**
195
- * The identifier of the selling plan that the merchandise is being purchased
196
- * with or `null` to remove the the product from the selling plan.
251
+ * The [selling plan](https://shopify.dev/docs/apps/build/purchase-options/subscriptions) to associate with this line item. Pass `null` to remove the item from its current selling plan.
197
252
  */
198
253
  sellingPlanId?: SellingPlan['id'] | null;
199
254
  /**
200
- * The identifier for the associated parent cart line.
255
+ * The parent cart line to associate this item with. Use this when updating the parent relationship for bundled items.
201
256
  */
202
257
  parent?: {
203
258
  lineId: string;
@@ -205,90 +260,140 @@ export interface CartLineUpdateChange {
205
260
  merchandiseId: string;
206
261
  };
207
262
  }
263
+ /**
264
+ * The input for `applyDiscountCodeChange()`. Pass either a `DiscountCodeAddChange` (with `type: 'addDiscountCode'`) to apply a code or a `DiscountCodeRemoveChange` (with `type: 'removeDiscountCode'`) to remove it.
265
+ * @publicDocs
266
+ */
208
267
  export type DiscountCodeChange = DiscountCodeAddChange | DiscountCodeRemoveChange;
268
+ /**
269
+ * The result of calling `applyDiscountCodeChange()`. Use the `type` property to determine whether the change succeeded or failed.
270
+ * @publicDocs
271
+ */
209
272
  export type DiscountCodeChangeResult = DiscountCodeChangeResultSuccess | DiscountCodeChangeResultError;
273
+ /**
274
+ * Applies a discount code to the checkout. Pass this to `applyDiscountCodeChange()` to add a code.
275
+ * @publicDocs
276
+ */
210
277
  export interface DiscountCodeAddChange {
211
278
  /**
212
- * The type of the `DiscountCodeChange` API.
279
+ * Identifies this as a discount code addition. Set this when creating a change to apply a discount code to the checkout.
213
280
  */
214
281
  type: 'addDiscountCode';
215
282
  /**
216
- * The code for the discount (case-insensitive)
283
+ * The discount code to apply. Codes are case-insensitive.
217
284
  */
218
285
  code: string;
219
286
  }
287
+ /**
288
+ * Removes a discount code from the checkout. Pass this to `applyDiscountCodeChange()` to remove a code.
289
+ * @publicDocs
290
+ */
220
291
  export interface DiscountCodeRemoveChange {
221
292
  /**
222
- * The type of the `DiscountCodeChange` API.
293
+ * Identifies this as a discount code removal. Set this when creating a change to remove a discount code from the checkout.
223
294
  */
224
295
  type: 'removeDiscountCode';
225
296
  /**
226
- * The code for the discount (case-insensitive)
297
+ * The discount code to remove. Codes are case-insensitive.
227
298
  */
228
299
  code: string;
229
300
  }
301
+ /**
302
+ * The result of a successful discount code change. The `type` property is `'success'`.
303
+ * @publicDocs
304
+ */
230
305
  export interface DiscountCodeChangeResultSuccess {
231
306
  /**
232
307
  * Indicates that the discount code change was applied successfully.
233
308
  */
234
309
  type: 'success';
235
310
  }
311
+ /**
312
+ * The result of a failed discount code change. Check the `message` property for details about what went wrong.
313
+ * @publicDocs
314
+ */
236
315
  export interface DiscountCodeChangeResultError {
237
316
  /**
238
- * Indicates that the discount code change failed.
317
+ * Indicates that the discount code change couldn't be applied. Check the `message` property for details.
239
318
  */
240
319
  type: 'error';
241
320
  /**
242
321
  * A message that explains the error. This message is useful for debugging.
243
- * It is **not** localized, and therefore should not be presented directly
244
- * to the buyer.
322
+ * It isn't localized and shouldn't be displayed to the buyer.
245
323
  */
246
324
  message: string;
247
325
  }
326
+ /**
327
+ * The input for `applyGiftCardChange()`. Pass either a `GiftCardAddChange` (with `type: 'addGiftCard'`) to apply a gift card or a `GiftCardRemoveChange` (with `type: 'removeGiftCard'`) to remove it.
328
+ * @publicDocs
329
+ */
248
330
  export type GiftCardChange = GiftCardAddChange | GiftCardRemoveChange;
331
+ /**
332
+ * The result of calling `applyGiftCardChange()`. Use the `type` property to determine whether the change succeeded or failed.
333
+ * @publicDocs
334
+ */
249
335
  export type GiftCardChangeResult = GiftCardChangeResultSuccess | GiftCardChangeResultError;
336
+ /**
337
+ * Applies a gift card to the checkout. Pass this to `applyGiftCardChange()` to add a gift card.
338
+ * @publicDocs
339
+ */
250
340
  export interface GiftCardAddChange {
251
341
  /**
252
- * The type of the `GiftCardChange` API.
342
+ * Identifies this as a gift card addition. Set this when creating a change to apply a gift card to the checkout.
253
343
  */
254
344
  type: 'addGiftCard';
255
345
  /**
256
- * Gift card code.
346
+ * The full gift card code to apply to the checkout.
257
347
  */
258
348
  code: string;
259
349
  }
350
+ /**
351
+ * Removes a gift card from the checkout. Pass this to `applyGiftCardChange()` to remove a gift card.
352
+ * @publicDocs
353
+ */
260
354
  export interface GiftCardRemoveChange {
261
355
  /**
262
- * The type of the `GiftCardChange` API.
356
+ * Identifies this as a gift card removal. Set this when creating a change to remove a gift card from the checkout.
263
357
  */
264
358
  type: 'removeGiftCard';
265
359
  /**
266
- * The full gift card code, or the last four digits of the code.
360
+ * The gift card code to remove. You can pass either the full code or
361
+ * just the last four characters.
267
362
  */
268
363
  code: string;
269
364
  }
365
+ /**
366
+ * The result of a successful gift card change. The `type` property is `'success'`.
367
+ * @publicDocs
368
+ */
270
369
  export interface GiftCardChangeResultSuccess {
271
370
  /**
272
371
  * Indicates that the gift card change was applied successfully.
273
372
  */
274
373
  type: 'success';
275
374
  }
375
+ /**
376
+ * The result of a failed gift card change. Check the `message` property for details about what went wrong.
377
+ * @publicDocs
378
+ */
276
379
  export interface GiftCardChangeResultError {
277
380
  /**
278
- * Indicates that the gift card change failed.
381
+ * Indicates that the gift card change couldn't be applied. Check the `message` property for details.
279
382
  */
280
383
  type: 'error';
281
384
  /**
282
385
  * A message that explains the error. This message is useful for debugging.
283
- * It is **not** localized, and therefore should not be presented directly
284
- * to the buyer.
386
+ * It isn't localized and shouldn't be displayed to the buyer.
285
387
  */
286
388
  message: string;
287
389
  }
288
- /** Removes a cart metafield. */
390
+ /**
391
+ * Removes a cart [metafield](https://shopify.dev/docs/apps/build/custom-data/metafields). Pass this to `applyMetafieldChange()` to delete a metafield by key and namespace.
392
+ * @publicDocs
393
+ */
289
394
  export interface MetafieldRemoveCartChange {
290
395
  /**
291
- * The type of the `MetafieldRemoveCartChange` API.
396
+ * Identifies this as a cart metafield removal. Set this when creating a change to delete an existing metafield by key and namespace.
292
397
  */
293
398
  type: 'removeCartMetafield';
294
399
  /**
@@ -301,160 +406,192 @@ export interface MetafieldRemoveCartChange {
301
406
  namespace?: string;
302
407
  }
303
408
  /**
304
- * Updates a cart metafield. If a metafield with the
305
- * provided key and namespace does not already exist, it gets created.
409
+ * Creates or updates a cart [metafield](https://shopify.dev/docs/apps/build/custom-data/metafields). Pass this to `applyMetafieldChange()` to set a metafield value. If a metafield with the provided key and namespace doesn't already exist, then it gets created.
410
+ * @publicDocs
306
411
  */
307
412
  export interface MetafieldUpdateCartChange {
308
413
  /**
309
- * The type of the `MetafieldUpdateCartChange` API.
414
+ * Identifies this as a cart metafield creation or update. Set this when creating a change to set a metafield value.
310
415
  */
311
416
  type: 'updateCartMetafield';
417
+ /**
418
+ * The metafield data to set on the cart. If a metafield with this key and namespace already exists, then its value is replaced.
419
+ */
312
420
  metafield: {
313
421
  /** The name of the metafield to update. */
314
422
  key: string;
315
- /** The namespace of the metafield to add. */
423
+ /** The namespace of the metafield to update. */
316
424
  namespace?: string;
317
425
  /** The new information to store in the metafield. */
318
426
  value: string;
319
427
  /**
320
428
  * The metafield’s information type.
321
- * See the [`metafields documentation`](https://shopify.dev/docs/apps/custom-data/metafields/types) for a list of supported types.
429
+ * See the [metafield types documentation](https://shopify.dev/docs/apps/build/custom-data/metafields/list-of-data-types) for a list of supported types.
322
430
  */
323
431
  type: string;
324
432
  };
325
433
  }
434
+ /**
435
+ * The input for `applyMetafieldChange()`. Use the `type` property to specify the operation.
436
+ *
437
+ * - `MetafieldRemoveCartChange` (`type: 'removeCartMetafield'`): Removes an existing cart [metafield](https://shopify.dev/docs/apps/build/custom-data/metafields).
438
+ * - `MetafieldUpdateCartChange` (`type: 'updateCartMetafield'`): Creates or updates a cart metafield.
439
+ * @publicDocs
440
+ */
326
441
  export type MetafieldChange = MetafieldRemoveCartChange | MetafieldUpdateCartChange;
442
+ /**
443
+ * The result of a successful metafield change. The `type` property is `'success'`.
444
+ * @publicDocs
445
+ */
327
446
  export interface MetafieldChangeResultSuccess {
328
447
  /**
329
- * The type of the `MetafieldChangeResultSuccess` API.
448
+ * Indicates that the metafield change was applied successfully.
330
449
  */
331
450
  type: 'success';
332
451
  }
452
+ /**
453
+ * The result of a failed metafield change. Check the `message` property for details about what went wrong.
454
+ * @publicDocs
455
+ */
333
456
  export interface MetafieldChangeResultError {
334
457
  /**
335
- * The type of the `MetafieldChangeResultError` API.
458
+ * Indicates that the metafield change couldn't be applied. Check the `message` property for details.
336
459
  */
337
460
  type: 'error';
338
461
  /**
339
462
  * A message that explains the error. This message is useful for debugging.
340
- * It is **not** localized, and therefore should not be presented directly
341
- * to the buyer.
463
+ * It isn't localized and shouldn't be displayed to the buyer.
342
464
  */
343
465
  message: string;
344
466
  }
467
+ /**
468
+ * The result of calling `applyMetafieldChange()`. Use the `type` property to determine whether the change succeeded or failed.
469
+ * @publicDocs
470
+ */
345
471
  export type MetafieldChangeResult = MetafieldChangeResultSuccess | MetafieldChangeResultError;
472
+ /**
473
+ * Updates the buyer's shipping address on the checkout. Pass this to `applyShippingAddressChange()` to modify specific address fields without replacing the entire address.
474
+ * @publicDocs
475
+ */
346
476
  export interface ShippingAddressUpdateChange {
347
477
  /**
348
- * The type of the `ShippingAddressUpdateChange` API.
478
+ * Identifies this as a shipping address update. This is the only supported change type for `applyShippingAddressChange()`.
349
479
  */
350
480
  type: 'updateShippingAddress';
351
481
  /**
352
482
  * Fields to update in the shipping address. You only need to provide
353
- * values for the fields you want to update any fields you do not list
354
- * will keep their current values.
483
+ * values for the fields you want to update. Any fields you don't list
484
+ * keep their current values.
355
485
  */
356
486
  address: Partial<ShippingAddress>;
357
487
  }
488
+ /**
489
+ * The input for `applyShippingAddressChange()`. Currently only supports `ShippingAddressUpdateChange` (with `type: 'updateShippingAddress'`).
490
+ * @publicDocs
491
+ */
358
492
  export type ShippingAddressChange = ShippingAddressUpdateChange;
359
493
  /**
360
- * The returned result of a successful update to the shipping address.
494
+ * The result of a successful shipping address change. The `type` property is `'success'` and `errors` is `null`.
495
+ * @publicDocs
361
496
  */
362
497
  export interface ShippingAddressChangeResultSuccess {
363
498
  /**
364
- * The type of the `ShippingAddressChangeResultSuccess` API.
499
+ * Indicates that the shipping address change was applied successfully.
365
500
  */
366
501
  type: 'success';
502
+ /**
503
+ * Always `null` for a successful address change. Present so that you can
504
+ * check `result.errors` without narrowing the union type first.
505
+ */
367
506
  errors: null;
368
507
  }
369
508
  /**
370
- * An error corresponding to a particular field from a given change
509
+ * An error corresponding to a particular field from a given change. Use the `field` property to determine which address field caused the error.
510
+ * @publicDocs
371
511
  */
372
512
  export interface ShippingAddressChangeFieldError {
373
513
  /**
374
- * field key from MailingAddress where the error occurred
514
+ * The `MailingAddress` field that caused the error, such as `'countryCode'` or `'zip'`. The value is `undefined` if the error isn't specific to a single field.
375
515
  */
376
516
  field?: keyof MailingAddress;
377
517
  /**
378
518
  * A message that explains the error. This message is useful for debugging.
379
- * It is **not** localized, and therefore should not be presented directly
380
- * to the buyer.
519
+ * It isn't localized and shouldn't be displayed to the buyer.
381
520
  */
382
521
  message: string;
383
522
  }
384
523
  /**
385
- * The returned result of an update to the shipping address
386
- * with a messages detailing the type of errors that occurred.
524
+ * The result of a failed shipping address change. Check the `errors` array for field-level details about what went wrong.
525
+ * @publicDocs
387
526
  */
388
527
  export interface ShippingAddressChangeResultError {
389
528
  /**
390
- * The type of the `ShippingAddressChangeResultError` API.
529
+ * Indicates that the shipping address change couldn't be applied. Check the `errors` array for field-level details.
391
530
  */
392
531
  type: 'error';
393
532
  /**
394
- * The errors corresponding to particular fields from a given change
533
+ * The list of field-level errors that prevented the address change. Each entry identifies which address field failed and why.
395
534
  */
396
535
  errors: ShippingAddressChangeFieldError[];
397
536
  }
537
+ /**
538
+ * The result of calling `applyShippingAddressChange()`. Use the `type` property to determine whether the change succeeded or failed. On failure, the `errors` array contains field-level details.
539
+ * @publicDocs
540
+ */
398
541
  export type ShippingAddressChangeResult = ShippingAddressChangeResultSuccess | ShippingAddressChangeResultError;
542
+ /**
543
+ * @publicDocs
544
+ * Methods for modifying the checkout, including cart lines, discount codes, gift cards, metafields, notes, attributes, and the shipping address. Each method returns a promise that resolves with a result indicating success or failure.
545
+ */
399
546
  export interface CheckoutApi {
400
547
  /**
401
- * Performs an update on an attribute attached to the cart and checkout. If
402
- * successful, this mutation results in an update to the value retrieved
403
- * through the [`attributes`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/attributes#standardapi-propertydetail-attributes) property.
548
+ * Updates or removes an attribute on the cart and checkout. On success, the
549
+ * [`attributes`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/attributes#standardapi-propertydetail-attributes) property updates to reflect the change.
404
550
  *
405
- * > Note: This method will return an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cart-instructions#standardapi-propertydetail-instructions) `attributes.canUpdateAttributes` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
551
+ * > Note: This method returns an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-instructions#standardapi-propertydetail-instructions) `attributes.canUpdateAttributes` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
406
552
  *
407
- * @deprecated - Consumers should use cart metafields instead.
553
+ * @deprecated Use cart metafields instead.
408
554
  */
409
555
  applyAttributeChange(change: AttributeChange): Promise<AttributeChangeResult>;
410
556
  /**
411
- * Performs an update on the merchandise line items. It resolves when the new
412
- * line items have been negotiated and results in an update to the value
413
- * retrieved through the
414
- * [`lines`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cart-lines#standardapi-propertydetail-lines)
415
- * property.
557
+ * Adds, removes, or updates line items in the cart. The returned promise resolves when the change has been applied by the server, and the [`lines`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-lines#standardapi-propertydetail-lines) property updates with the new state.
416
558
  *
417
- * > Note: This method will return an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cart-instructions#standardapi-propertydetail-instructions) `lines.canAddCartLine` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
559
+ * > Note: This method returns an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-instructions#standardapi-propertydetail-instructions) `lines.canAddCartLine` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
418
560
  */
419
561
  applyCartLinesChange(change: CartLineChange): Promise<CartLineChangeResult>;
420
562
  /**
421
- * Performs an update on the discount codes.
422
- * It resolves when the new discount codes have been negotiated and results in an update
423
- * to the value retrieved through the [`discountCodes`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/discounts#standardapi-propertydetail-discountcodes) property.
563
+ * Adds or removes a discount code on the checkout. The returned promise resolves when the change has been applied by the server, and the [`discountCodes`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/discounts#standardapi-propertydetail-discountcodes) property updates with the new state.
424
564
  *
425
565
  * > Caution:
426
- * > See [security considerations](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#network-access) if your extension retrieves discount codes through a network call.
566
+ * > See [security considerations](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#network-access) if your extension retrieves discount codes through a network call.
427
567
  *
428
- * > Note: This method will return an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cart-instructions#standardapi-propertydetail-instructions) `discounts.canUpdateDiscountCodes` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
568
+ * > Note: This method returns an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-instructions#standardapi-propertydetail-instructions) `discounts.canUpdateDiscountCodes` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
429
569
  */
430
570
  applyDiscountCodeChange(change: DiscountCodeChange): Promise<DiscountCodeChangeResult>;
431
571
  /**
432
- * Performs an update on the gift cards.
433
- * It resolves when gift card change have been negotiated and results in an update
434
- * to the value retrieved through the [`appliedGiftCards`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/gift-cards#standardapi-propertydetail-appliedgiftcards) property.
572
+ * Adds or removes a gift card from the checkout. The returned promise resolves when the change has been applied by the server, and the [`appliedGiftCards`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/gift-cards#standardapi-propertydetail-appliedgiftcards) property updates with the new state.
435
573
  *
436
574
  * > Caution:
437
- * > See [security considerations](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#network-access) if your extension retrieves gift card codes through a network call.
575
+ * > See [security considerations](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/configuration#network-access) if your extension retrieves gift card codes through a network call.
438
576
  *
439
- * > Note: This method will return an error if the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
577
+ * > Note: This method returns an error if the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
440
578
  */
441
579
  applyGiftCardChange(change: GiftCardChange): Promise<GiftCardChangeResult>;
442
580
  /**
443
- * Performs an update on a piece of metadata attached to the checkout. If
444
- * successful, this mutation results in an update to the value retrieved
445
- * through the [`metafields`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/metafields#standardapi-propertydetail-metafields) property.
581
+ * Creates, updates, or removes a cart metafield on the checkout. On success, the
582
+ * [`metafields`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/metafields#standardapi-propertydetail-metafields) property updates to reflect the change.
446
583
  *
447
- * Cart metafields will be copied to order metafields at order creation time if there is a matching order metafield definition with the [`cart to order copyable`](https://shopify.dev/docs/apps/build/metafields/use-metafield-capabilities#cart-to-order-copyable) capability enabled.
584
+ * Cart metafields are copied to order metafields at order creation time if there's a matching order metafield definition with the [`cart to order copyable`](https://shopify.dev/docs/apps/build/metafields/use-metafield-capabilities#cart-to-order-copyable) capability enabled.
448
585
  *
449
- * > Note: This method will return an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cart-instructions#standardapi-propertydetail-instructions) `metafields.canSetCartMetafields` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
586
+ * > Note: This method returns an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-instructions#standardapi-propertydetail-instructions) `metafields.canSetCartMetafields` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
450
587
  */
451
588
  applyMetafieldChange(change: MetafieldChange): Promise<MetafieldChangeResult>;
452
589
  /**
453
- * Performs an update on the note attached to the cart and checkout. If
454
- * successful, this mutation results in an update to the value retrieved
455
- * through the [`note`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/note#standardapi-propertydetail-note) property.
590
+ * Sets or removes the buyer's note on the checkout. On success, the
591
+ * [`note`](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/note#standardapi-propertydetail-note)
592
+ * property updates to reflect the change.
456
593
  *
457
- * > Note: This method will return an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cart-instructions#standardapi-propertydetail-instructions) `notes.canUpdateNote` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
594
+ * > Note: This method returns an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-instructions#standardapi-propertydetail-instructions) `notes.canUpdateNote` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
458
595
  */
459
596
  applyNoteChange(change: NoteChange): Promise<NoteChangeResult>;
460
597
  /**
@@ -462,14 +599,13 @@ export interface CheckoutApi {
462
599
  */
463
600
  experimentalIsShopAppStyle?: boolean;
464
601
  /**
465
- * Performs an update of the shipping address. Shipping address changes will
466
- * completely overwrite the existing shipping address added by the user without
467
- * any prompts. If successful, this mutation results in an update to the value
468
- * retrieved through the `shippingAddress` property.
602
+ * Updates the buyer's shipping address on the checkout. The provided fields
603
+ * are merged into the existing address without prompting the buyer. On success,
604
+ * the `shippingAddress` property updates to reflect the change.
469
605
  *
470
- * > Note: This method will return an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cart-instructions#standardapi-propertydetail-instructions) `delivery.canSelectCustomAddress` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
606
+ * > Note: This method returns an error if the [cart instruction](https://shopify.dev/docs/api/checkout-ui-extensions/{API_VERSION}/apis/cart-instructions#standardapi-propertydetail-instructions) `delivery.canSelectCustomAddress` is false, or the buyer is using an accelerated checkout method, such as Apple Pay or Google Pay.
471
607
  *
472
- * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
608
+ * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](https://shopify.dev/docs/apps/store/data-protection/protected-customer-data).
473
609
  */
474
610
  applyShippingAddressChange?(change: ShippingAddressChange): Promise<ShippingAddressChangeResult>;
475
611
  }