@shopify/ui-extensions 2024.4.2 → 2024.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (341) hide show
  1. package/build/cjs/surfaces/admin/components/AdminPrintAction/AdminPrintAction.js +12 -0
  2. package/build/cjs/surfaces/admin/components/DatePicker/DatePicker.js +12 -0
  3. package/build/cjs/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.js +5 -0
  4. package/build/cjs/surfaces/admin.js +2 -0
  5. package/build/cjs/surfaces/checkout/components/DatePicker/DatePicker.js +4 -10
  6. package/build/cjs/surfaces/checkout/components/Progress/Progress.js +9 -0
  7. package/build/cjs/surfaces/checkout/components/Switch/Switch.js +9 -0
  8. package/build/cjs/surfaces/checkout.js +4 -0
  9. package/build/cjs/surfaces/customer-account.js +4 -0
  10. package/build/cjs/surfaces/point-of-sale/components/Actiontem/ActionItem.js +7 -0
  11. package/build/cjs/surfaces/point-of-sale/components/Badge/Badge.js +6 -0
  12. package/build/cjs/surfaces/point-of-sale/components/Banner/Banner.js +9 -0
  13. package/build/cjs/surfaces/point-of-sale/components/Button/Button.js +8 -0
  14. package/build/cjs/surfaces/point-of-sale/components/CameraScanner/CameraScanner.js +6 -0
  15. package/build/cjs/surfaces/point-of-sale/components/DatePicker/DatePicker.js +8 -0
  16. package/build/cjs/surfaces/point-of-sale/components/Dialog/Dialog.js +12 -0
  17. package/build/cjs/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.js +10 -0
  18. package/build/cjs/surfaces/point-of-sale/components/Navigator/Navigator.js +1 -1
  19. package/build/cjs/surfaces/point-of-sale/components/NumberField/NumberField.js +6 -0
  20. package/build/cjs/surfaces/point-of-sale/components/PinPad/PinPad.js +24 -0
  21. package/build/cjs/surfaces/point-of-sale/components/Screen/Screen.js +18 -0
  22. package/build/cjs/surfaces/point-of-sale/components/Section/Section.js +10 -0
  23. package/build/cjs/surfaces/point-of-sale/components/TextArea/TextArea.js +6 -0
  24. package/build/cjs/surfaces/point-of-sale/components/TextField/TextField.js +6 -0
  25. package/build/cjs/surfaces/point-of-sale/components/Tile/Tile.js +9 -0
  26. package/build/cjs/surfaces/point-of-sale/components/TimePicker/TimePicker.js +9 -0
  27. package/build/esm/surfaces/admin/components/AdminPrintAction/AdminPrintAction.mjs +8 -0
  28. package/build/esm/surfaces/admin/components/DatePicker/DatePicker.mjs +12 -0
  29. package/build/esm/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.mjs +5 -0
  30. package/build/esm/surfaces/admin.mjs +1 -0
  31. package/build/esm/surfaces/checkout/components/DatePicker/DatePicker.mjs +5 -11
  32. package/build/esm/surfaces/checkout/components/Progress/Progress.mjs +5 -0
  33. package/build/esm/surfaces/checkout/components/Switch/Switch.mjs +5 -0
  34. package/build/esm/surfaces/checkout.mjs +2 -0
  35. package/build/esm/surfaces/customer-account.mjs +2 -0
  36. package/build/esm/surfaces/point-of-sale/components/Actiontem/ActionItem.mjs +7 -0
  37. package/build/esm/surfaces/point-of-sale/components/Badge/Badge.mjs +6 -0
  38. package/build/esm/surfaces/point-of-sale/components/Banner/Banner.mjs +9 -0
  39. package/build/esm/surfaces/point-of-sale/components/Button/Button.mjs +8 -0
  40. package/build/esm/surfaces/point-of-sale/components/CameraScanner/CameraScanner.mjs +6 -0
  41. package/build/esm/surfaces/point-of-sale/components/DatePicker/DatePicker.mjs +8 -0
  42. package/build/esm/surfaces/point-of-sale/components/Dialog/Dialog.mjs +12 -0
  43. package/build/esm/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.mjs +10 -0
  44. package/build/esm/surfaces/point-of-sale/components/Navigator/Navigator.mjs +1 -1
  45. package/build/esm/surfaces/point-of-sale/components/NumberField/NumberField.mjs +6 -0
  46. package/build/esm/surfaces/point-of-sale/components/PinPad/PinPad.mjs +24 -0
  47. package/build/esm/surfaces/point-of-sale/components/Screen/Screen.mjs +18 -0
  48. package/build/esm/surfaces/point-of-sale/components/Section/Section.mjs +10 -0
  49. package/build/esm/surfaces/point-of-sale/components/TextArea/TextArea.mjs +6 -0
  50. package/build/esm/surfaces/point-of-sale/components/TextField/TextField.mjs +6 -0
  51. package/build/esm/surfaces/point-of-sale/components/Tile/Tile.mjs +9 -0
  52. package/build/esm/surfaces/point-of-sale/components/TimePicker/TimePicker.mjs +9 -0
  53. package/build/esnext/surfaces/admin/components/AdminPrintAction/AdminPrintAction.esnext +8 -0
  54. package/build/esnext/surfaces/admin/components/DatePicker/DatePicker.esnext +12 -0
  55. package/build/esnext/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.esnext +5 -0
  56. package/build/esnext/surfaces/admin.esnext +1 -0
  57. package/build/esnext/surfaces/checkout/components/DatePicker/DatePicker.esnext +5 -11
  58. package/build/esnext/surfaces/checkout/components/Progress/Progress.esnext +5 -0
  59. package/build/esnext/surfaces/checkout/components/Switch/Switch.esnext +5 -0
  60. package/build/esnext/surfaces/checkout.esnext +2 -0
  61. package/build/esnext/surfaces/customer-account.esnext +2 -0
  62. package/build/esnext/surfaces/point-of-sale/components/Actiontem/ActionItem.esnext +7 -0
  63. package/build/esnext/surfaces/point-of-sale/components/Badge/Badge.esnext +6 -0
  64. package/build/esnext/surfaces/point-of-sale/components/Banner/Banner.esnext +9 -0
  65. package/build/esnext/surfaces/point-of-sale/components/Button/Button.esnext +8 -0
  66. package/build/esnext/surfaces/point-of-sale/components/CameraScanner/CameraScanner.esnext +6 -0
  67. package/build/esnext/surfaces/point-of-sale/components/DatePicker/DatePicker.esnext +8 -0
  68. package/build/esnext/surfaces/point-of-sale/components/Dialog/Dialog.esnext +12 -0
  69. package/build/esnext/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.esnext +10 -0
  70. package/build/esnext/surfaces/point-of-sale/components/Navigator/Navigator.esnext +1 -1
  71. package/build/esnext/surfaces/point-of-sale/components/NumberField/NumberField.esnext +6 -0
  72. package/build/esnext/surfaces/point-of-sale/components/PinPad/PinPad.esnext +24 -0
  73. package/build/esnext/surfaces/point-of-sale/components/Screen/Screen.esnext +18 -0
  74. package/build/esnext/surfaces/point-of-sale/components/Section/Section.esnext +10 -0
  75. package/build/esnext/surfaces/point-of-sale/components/TextArea/TextArea.esnext +6 -0
  76. package/build/esnext/surfaces/point-of-sale/components/TextField/TextField.esnext +6 -0
  77. package/build/esnext/surfaces/point-of-sale/components/Tile/Tile.esnext +9 -0
  78. package/build/esnext/surfaces/point-of-sale/components/TimePicker/TimePicker.esnext +9 -0
  79. package/build/ts/shared.d.ts +16 -2
  80. package/build/ts/shared.d.ts.map +1 -1
  81. package/build/ts/surfaces/admin/api/block/block.d.ts +5 -0
  82. package/build/ts/surfaces/admin/api/block/block.d.ts.map +1 -1
  83. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts +1 -1
  84. package/build/ts/surfaces/admin/api/checkout-rules/metafields.d.ts.map +1 -1
  85. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +1 -1
  86. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -1
  87. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts +10 -0
  88. package/build/ts/surfaces/admin/api/print-action/print-action.d.ts.map +1 -0
  89. package/build/ts/surfaces/admin/api/{extension-targets/extension-targets.doc.d.ts → print-action/print-action.doc.d.ts} +1 -1
  90. package/build/ts/surfaces/admin/api/print-action/print-action.doc.d.ts.map +1 -0
  91. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts +221 -0
  92. package/build/ts/surfaces/admin/api/resource-picker/resource-picker.d.ts.map +1 -0
  93. package/build/ts/surfaces/admin/api.d.ts +1 -0
  94. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  95. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.d.ts +16 -0
  96. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.d.ts.map +1 -0
  97. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.doc.d.ts +4 -0
  98. package/build/ts/surfaces/admin/components/AdminPrintAction/AdminPrintAction.doc.d.ts.map +1 -0
  99. package/build/ts/surfaces/admin/components/Image/Image.d.ts +2 -2
  100. package/build/ts/surfaces/admin/components.d.ts +2 -0
  101. package/build/ts/surfaces/admin/components.d.ts.map +1 -1
  102. package/build/ts/surfaces/admin/extension-targets.d.ts +60 -6
  103. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  104. package/build/ts/surfaces/checkout/api/address-autocomplete/shared.d.ts +1 -1
  105. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +10 -6
  106. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  107. package/build/ts/surfaces/checkout/api/docs.d.ts +2 -0
  108. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -1
  109. package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts +5 -0
  110. package/build/ts/surfaces/checkout/api/order-status/order-status.d.ts.map +1 -1
  111. package/build/ts/surfaces/checkout/api/shared.d.ts +6 -0
  112. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  113. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +13 -0
  114. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  115. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +49 -3
  116. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  117. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +102 -19
  118. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  119. package/build/ts/surfaces/checkout/components/BlockLayout/BlockLayout.doc.d.ts.map +1 -1
  120. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +14 -6
  121. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
  122. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.doc.d.ts.map +1 -1
  123. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +15 -6
  124. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
  125. package/build/ts/surfaces/checkout/components/Grid/Grid.doc.d.ts.map +1 -1
  126. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +15 -6
  127. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
  128. package/build/ts/surfaces/checkout/components/GridItem/GridItem.doc.d.ts.map +1 -1
  129. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +2 -2
  130. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
  131. package/build/ts/surfaces/checkout/components/InlineLayout/InlineLayout.doc.d.ts.map +1 -1
  132. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +15 -6
  133. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
  134. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.doc.d.ts.map +1 -1
  135. package/build/ts/surfaces/checkout/components/Link/Link.d.ts +1 -1
  136. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +12 -11
  137. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
  138. package/build/ts/surfaces/checkout/components/Pressable/Pressable.doc.d.ts.map +1 -1
  139. package/build/ts/surfaces/checkout/components/Progress/Progress.d.ts +40 -0
  140. package/build/ts/surfaces/checkout/components/Progress/Progress.d.ts.map +1 -0
  141. package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts +4 -0
  142. package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -0
  143. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +32 -5
  144. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -1
  145. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.doc.d.ts.map +1 -1
  146. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
  147. package/build/ts/surfaces/checkout/components/Switch/Switch.d.ts +49 -0
  148. package/build/ts/surfaces/checkout/components/Switch/Switch.d.ts.map +1 -0
  149. package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts +4 -0
  150. package/build/ts/surfaces/checkout/components/Switch/Switch.doc.d.ts.map +1 -0
  151. package/build/ts/surfaces/checkout/components/View/View.d.ts +12 -11
  152. package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
  153. package/build/ts/surfaces/checkout/components/View/View.doc.d.ts.map +1 -1
  154. package/build/ts/surfaces/checkout/components/shared.d.ts +1 -1
  155. package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
  156. package/build/ts/surfaces/checkout/components.d.ts +5 -1
  157. package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
  158. package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
  159. package/build/ts/surfaces/checkout/style/style.doc.d.ts.map +1 -1
  160. package/build/ts/surfaces/checkout/style/types.d.ts +10 -3
  161. package/build/ts/surfaces/checkout/style/types.d.ts.map +1 -1
  162. package/build/ts/surfaces/checkout/targets.d.ts +1 -7
  163. package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
  164. package/build/ts/surfaces/checkout.d.ts +5 -4
  165. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  166. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +1 -1
  167. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -1
  168. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +9 -0
  169. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
  170. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +1 -1
  171. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
  172. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
  173. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
  174. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
  175. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +2 -2
  176. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +10 -0
  177. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
  178. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +2 -2
  179. package/build/ts/surfaces/point-of-sale/api.d.ts +6 -1
  180. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  181. package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts +12 -0
  182. package/build/ts/surfaces/point-of-sale/components/Actiontem/ActionItem.d.ts.map +1 -1
  183. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts +14 -0
  184. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts.map +1 -1
  185. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts +17 -8
  186. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts.map +1 -1
  187. package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts +22 -0
  188. package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts.map +1 -1
  189. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts +20 -2
  190. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +1 -1
  191. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts +21 -0
  192. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts.map +1 -1
  193. package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts +38 -0
  194. package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts.map +1 -1
  195. package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts +17 -0
  196. package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts.map +1 -1
  197. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts +7 -0
  198. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts.map +1 -1
  199. package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts +3 -0
  200. package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts.map +1 -1
  201. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts +14 -2
  202. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +1 -1
  203. package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts +4 -1
  204. package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts.map +1 -1
  205. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts +0 -2
  206. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +1 -1
  207. package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts +27 -0
  208. package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts.map +1 -1
  209. package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts +12 -0
  210. package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts.map +1 -1
  211. package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts +43 -2
  212. package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts.map +1 -1
  213. package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts +18 -0
  214. package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts.map +1 -1
  215. package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts +20 -0
  216. package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts.map +1 -1
  217. package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts +18 -0
  218. package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts.map +1 -1
  219. package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts +6 -0
  220. package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts.map +1 -1
  221. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts +27 -1
  222. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts.map +1 -1
  223. package/build/ts/surfaces/point-of-sale/components/Stepper/Stepper.d.ts +3 -3
  224. package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts +6 -0
  225. package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts.map +1 -1
  226. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts +3 -0
  227. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +1 -1
  228. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts +26 -0
  229. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts.map +1 -1
  230. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts +4 -0
  231. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts.map +1 -1
  232. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts +27 -0
  233. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts.map +1 -1
  234. package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts +26 -1
  235. package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts.map +1 -1
  236. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts +48 -0
  237. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +1 -1
  238. package/build/ts/surfaces/point-of-sale/targets.d.ts +14 -3
  239. package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -1
  240. package/build/tsconfig.tsbuildinfo +1 -1
  241. package/package.json +5 -3
  242. package/src/shared.ts +23 -0
  243. package/src/surfaces/admin/api/block/block.ts +6 -0
  244. package/src/surfaces/admin/api/checkout-rules/metafields.ts +1 -1
  245. package/src/surfaces/admin/api/checkout-rules/validation-settings.doc.ts +1 -1
  246. package/src/surfaces/admin/api/order-routing-rule/metafields.ts +1 -1
  247. package/src/surfaces/admin/api/print-action/print-action.doc.ts +20 -0
  248. package/src/surfaces/admin/api/print-action/print-action.ts +12 -0
  249. package/src/surfaces/admin/api/resource-picker/resource-picker.ts +240 -0
  250. package/src/surfaces/admin/api.ts +1 -0
  251. package/src/surfaces/admin/components/AdminPrintAction/AdminPrintAction.doc.ts +52 -0
  252. package/src/surfaces/admin/components/AdminPrintAction/AdminPrintAction.ts +17 -0
  253. package/src/surfaces/admin/components/AdminPrintAction/examples/basic-adminprintaction.example.ts +14 -0
  254. package/src/surfaces/admin/components/Image/Image.ts +2 -2
  255. package/src/surfaces/admin/components.ts +2 -0
  256. package/src/surfaces/admin/extension-targets.ts +100 -5
  257. package/src/surfaces/checkout/api/address-autocomplete/shared.ts +1 -1
  258. package/src/surfaces/checkout/api/checkout/checkout.ts +15 -6
  259. package/src/surfaces/checkout/api/docs.ts +3 -0
  260. package/src/surfaces/checkout/api/order-status/order-status.ts +5 -0
  261. package/src/surfaces/checkout/api/shared.ts +7 -0
  262. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +15 -0
  263. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +58 -3
  264. package/src/surfaces/checkout/api/standard/standard.ts +121 -25
  265. package/src/surfaces/checkout/components/BlockLayout/BlockLayout.doc.ts +8 -1
  266. package/src/surfaces/checkout/components/BlockStack/BlockStack.doc.ts +8 -1
  267. package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +14 -4
  268. package/src/surfaces/checkout/components/Grid/Grid.doc.ts +6 -0
  269. package/src/surfaces/checkout/components/Grid/Grid.ts +15 -4
  270. package/src/surfaces/checkout/components/GridItem/GridItem.doc.ts +6 -0
  271. package/src/surfaces/checkout/components/GridItem/GridItem.ts +15 -4
  272. package/src/surfaces/checkout/components/Icon/Icon.ts +3 -0
  273. package/src/surfaces/checkout/components/InlineLayout/InlineLayout.doc.ts +8 -1
  274. package/src/surfaces/checkout/components/InlineStack/InlineStack.doc.ts +8 -1
  275. package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +15 -4
  276. package/src/surfaces/checkout/components/Link/Link.ts +1 -1
  277. package/src/surfaces/checkout/components/Pressable/Pressable.doc.ts +8 -1
  278. package/src/surfaces/checkout/components/Pressable/Pressable.ts +12 -11
  279. package/src/surfaces/checkout/components/Progress/Progress.doc.ts +89 -0
  280. package/src/surfaces/checkout/components/Progress/Progress.ts +44 -0
  281. package/src/surfaces/checkout/components/Progress/examples/basic-progress.example.ts +9 -0
  282. package/src/surfaces/checkout/components/ScrollView/ScrollView.doc.ts +8 -1
  283. package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +31 -3
  284. package/src/surfaces/checkout/components/Spinner/Spinner.doc.ts +8 -1
  285. package/src/surfaces/checkout/components/Switch/Switch.doc.ts +80 -0
  286. package/src/surfaces/checkout/components/Switch/Switch.ts +50 -0
  287. package/src/surfaces/checkout/components/Switch/examples/basic-switch.example.ts +9 -0
  288. package/src/surfaces/checkout/components/View/View.doc.ts +8 -1
  289. package/src/surfaces/checkout/components/View/View.ts +12 -11
  290. package/src/surfaces/checkout/components/shared.ts +1 -1
  291. package/src/surfaces/checkout/components.ts +7 -0
  292. package/src/surfaces/checkout/helper.docs.ts +18 -0
  293. package/src/surfaces/checkout/style/examples/hiding.example.tsx +8 -0
  294. package/src/surfaces/checkout/style/style.doc.ts +14 -0
  295. package/src/surfaces/checkout/style/types.ts +10 -3
  296. package/src/surfaces/checkout/targets.ts +1 -6
  297. package/src/surfaces/checkout.ts +19 -2
  298. package/src/surfaces/customer-account/components/shared-checkout-components.ts +4 -0
  299. package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +9 -0
  300. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +1 -1
  301. package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
  302. package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
  303. package/src/surfaces/point-of-sale/api/order-api/order-api.tsx +2 -2
  304. package/src/surfaces/point-of-sale/api/product-api/product-api.ts +10 -0
  305. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +2 -2
  306. package/src/surfaces/point-of-sale/api.ts +19 -1
  307. package/src/surfaces/point-of-sale/components/Actiontem/ActionItem.ts +12 -0
  308. package/src/surfaces/point-of-sale/components/Badge/Badge.ts +16 -0
  309. package/src/surfaces/point-of-sale/components/Banner/Banner.ts +17 -8
  310. package/src/surfaces/point-of-sale/components/Button/Button.ts +22 -0
  311. package/src/surfaces/point-of-sale/components/CameraScanner/CameraScanner.ts +21 -5
  312. package/src/surfaces/point-of-sale/components/DatePicker/DatePicker.ts +22 -0
  313. package/src/surfaces/point-of-sale/components/Dialog/Dialog.ts +46 -0
  314. package/src/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.ts +17 -1
  315. package/src/surfaces/point-of-sale/components/Icon/Icon.ts +7 -0
  316. package/src/surfaces/point-of-sale/components/Image/Image.ts +3 -0
  317. package/src/surfaces/point-of-sale/components/List/List.ts +16 -2
  318. package/src/surfaces/point-of-sale/components/Navigator/Navigator.ts +4 -1
  319. package/src/surfaces/point-of-sale/components/NumberField/NumberField.ts +0 -2
  320. package/src/surfaces/point-of-sale/components/PinPad/PinPad.ts +27 -0
  321. package/src/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.ts +12 -0
  322. package/src/surfaces/point-of-sale/components/Screen/Screen.ts +43 -2
  323. package/src/surfaces/point-of-sale/components/SearchBar/SearchBar.ts +18 -0
  324. package/src/surfaces/point-of-sale/components/Section/Section.ts +20 -0
  325. package/src/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.ts +18 -0
  326. package/src/surfaces/point-of-sale/components/Selectable/Selectable.ts +6 -0
  327. package/src/surfaces/point-of-sale/components/Stack/Stack.ts +27 -1
  328. package/src/surfaces/point-of-sale/components/Stepper/Stepper.ts +3 -3
  329. package/src/surfaces/point-of-sale/components/Text/Text.ts +6 -0
  330. package/src/surfaces/point-of-sale/components/TextArea/TextArea.ts +3 -0
  331. package/src/surfaces/point-of-sale/components/Tile/Tile.ts +26 -0
  332. package/src/surfaces/point-of-sale/components/TimeField/TimeField.ts +4 -0
  333. package/src/surfaces/point-of-sale/components/TimePicker/TimePicker.ts +27 -0
  334. package/src/surfaces/point-of-sale/components/shared/BaseTextField.ts +26 -1
  335. package/src/surfaces/point-of-sale/components/shared/InputField.ts +48 -0
  336. package/src/surfaces/point-of-sale/targets.ts +56 -6
  337. package/build/ts/surfaces/admin/api/extension-targets/extension-targets.doc.d.ts.map +0 -1
  338. package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts +0 -76
  339. package/build/ts/surfaces/checkout/api/address-autocomplete/address-autocomplete.d.ts.map +0 -1
  340. package/src/surfaces/admin/api/extension-targets/extension-targets.doc.ts +0 -20
  341. package/src/surfaces/checkout/api/address-autocomplete/address-autocomplete.ts +0 -87
@@ -1,6 +1,6 @@
1
1
  import type { RenderExtension } from '../../extension';
2
2
  import type { Components } from './shared';
3
- import type { StandardApi, CustomerSegmentTemplateApi, ActionExtensionApi, BlockExtensionApi, ProductDetailsConfigurationApi, ProductVariantDetailsConfigurationApi, OrderRoutingRuleApi, ValidationSettingsApi } from './api';
3
+ import type { StandardApi, CustomerSegmentTemplateApi, ActionExtensionApi, BlockExtensionApi, PrintActionExtensionApi, ProductDetailsConfigurationApi, ProductVariantDetailsConfigurationApi, OrderRoutingRuleApi, ValidationSettingsApi } from './api';
4
4
  import { AnyComponentBuilder } from '../../shared';
5
5
  type CustomerSegmentTemplateComponent = AnyComponentBuilder<Pick<Components, 'CustomerSegmentTemplate' | 'InternalCustomerSegmentTemplate'>>;
6
6
  type ProductConfigurationComponents = AnyComponentBuilder<Pick<Components, 'Box' | 'InlineStack' | 'BlockStack' | 'Divider' | 'HeadingGroup' | 'Heading' | 'Text' | 'Link' | 'Image' | 'Icon' | 'ResourceList' | 'ResourceItem' | 'Thumbnail'>>;
@@ -19,23 +19,53 @@ export interface ExtensionTargets {
19
19
  */
20
20
  'admin.customers.segmentation-templates.render': RenderExtension<CustomerSegmentTemplateApi<'admin.customers.segmentation-templates.render'>, CustomerSegmentTemplateComponent>;
21
21
  /**
22
- * Renders an Admin Block in the product details page.
22
+ * Renders an admin block in the product details page.
23
23
  *
24
24
  * See the [list of available components](/docs/api/admin-extensions/components).
25
25
  */
26
26
  'admin.product-details.block.render': RenderExtension<BlockExtensionApi<'admin.product-details.block.render'>, AllComponents>;
27
27
  /**
28
- * Renders an Admin Block in the order details page.
28
+ * Renders an admin block in the order details page.
29
29
  *
30
30
  * See the [list of available components](/docs/api/admin-extensions/components).
31
31
  */
32
32
  'admin.order-details.block.render': RenderExtension<BlockExtensionApi<'admin.order-details.block.render'>, AllComponents>;
33
33
  /**
34
- * Renders an Admin Block in the customer details page.
34
+ * Renders an admin block in the customer details page.
35
35
  *
36
36
  * See the [list of available components](/docs/api/admin-extensions/components).
37
37
  */
38
38
  'admin.customer-details.block.render': RenderExtension<BlockExtensionApi<'admin.customer-details.block.render'>, AllComponents>;
39
+ /**
40
+ * Renders an admin block in the collection details page.
41
+ *
42
+ * See the [list of available components](/docs/api/admin-extensions/components).
43
+ */
44
+ 'admin.collection-details.block.render': RenderExtension<BlockExtensionApi<'admin.collection-details.block.render'>, AllComponents>;
45
+ /**
46
+ * Renders an admin block in the draft order details page.
47
+ *
48
+ * See the [list of available components](/docs/api/admin-extensions/components).
49
+ */
50
+ 'admin.draft-order-details.block.render': RenderExtension<BlockExtensionApi<'admin.draft-order-details.block.render'>, AllComponents>;
51
+ /**
52
+ * Renders an admin block in the abandoned checkout details page.
53
+ *
54
+ * See the [list of available components](/docs/api/admin-extensions/components).
55
+ */
56
+ 'admin.abandoned-checkout-details.block.render': RenderExtension<BlockExtensionApi<'admin.abandoned-checkout-details.block.render'>, AllComponents>;
57
+ /**
58
+ * Renders an admin block in the product variant details page.
59
+ *
60
+ * See the [list of available components](/docs/api/admin-extensions/components).
61
+ */
62
+ 'admin.product-variant-details.block.render': RenderExtension<BlockExtensionApi<'admin.product-variant-details.block.render'>, AllComponents>;
63
+ /**
64
+ * Renders an admin block in the product details page.
65
+ *
66
+ * See the [list of available components](/docs/api/admin-extensions/components).
67
+ */
68
+ 'admin.product-details.reorder.render': RenderExtension<BlockExtensionApi<'admin.product-details.reorder.render'>, AllComponents>;
39
69
  /**
40
70
  * Renders an admin action extension in the product details page. Open this extension from the "More Actions" menu.
41
71
  *
@@ -97,7 +127,7 @@ export interface ExtensionTargets {
97
127
  */
98
128
  'admin.collection-index.action.render': RenderExtension<ActionExtensionApi<'admin.collection-index.action.render'>, AllComponents>;
99
129
  /**
100
- * Renders an admin action extension in the abandonded checkout page. Open this extension from the "More Actions" menu.
130
+ * Renders an admin action extension in the abandoned checkout page. Open this extension from the "More Actions" menu.
101
131
  *
102
132
  * See the [list of available components](/docs/api/admin-extensions/components).
103
133
  */
@@ -146,7 +176,7 @@ export interface ExtensionTargets {
146
176
  */
147
177
  'admin.order-index.selection-action.render': RenderExtension<ActionExtensionApi<'admin.order-index.selection-action.render'>, AllComponents>;
148
178
  /**
149
- * Renders an admin action extension in the customer index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
179
+ * Renders an admin action extension in the customer index page when multiple resources are selected. Open this extension from the "More Actions" menu of the resource list. The resource ids are available to this extension at runtime.
150
180
  *
151
181
  * See the [list of available components](/docs/api/admin-extensions/components).
152
182
  */
@@ -157,6 +187,30 @@ export interface ExtensionTargets {
157
187
  * See the [list of available components](/docs/api/admin-extensions/components).
158
188
  */
159
189
  'admin.draft-order-index.selection-action.render': RenderExtension<ActionExtensionApi<'admin.draft-order-index.selection-action.render'>, AllComponents>;
190
+ /**
191
+ * Renders an admin print action extension in the order index page when multiple resources are selected. Open this extension from the "Print" menu of the resource list. The resource ids are available to this extension at runtime.
192
+ *
193
+ * See the [list of available components](/docs/api/admin-extensions/components).
194
+ */
195
+ 'admin.order-details.print-action.render': RenderExtension<PrintActionExtensionApi<'admin.order-details.print-action.render'>, AllComponents>;
196
+ /**
197
+ * Renders an admin print action extension in the product index page when multiple resources are selected. Open this extension from the "Print" menu of the resource list. The resource ids are available to this extension at runtime.
198
+ *
199
+ * See the [list of available components](/docs/api/admin-extensions/components).
200
+ */
201
+ 'admin.product-details.print-action.render': RenderExtension<PrintActionExtensionApi<'admin.product-details.print-action.render'>, AllComponents>;
202
+ /**
203
+ * Renders an admin print action extension in the order index page when multiple resources are selected. Open this extension from the "Print" menu of the resource list. The resource ids are available to this extension at runtime.
204
+ *
205
+ * See the [list of available components](/docs/api/admin-extensions/components).
206
+ */
207
+ 'admin.order-index.selection-print-action.render': RenderExtension<PrintActionExtensionApi<'admin.order-index.selection-print-action.render'>, AllComponents>;
208
+ /**
209
+ * Renders an admin print action extension in the product index page when multiple resources are selected. Open this extension from the "Print" menu of the resource list. The resource ids are available to this extension at runtime.
210
+ *
211
+ * See the [list of available components](/docs/api/admin-extensions/components).
212
+ */
213
+ 'admin.product-index.selection-print-action.render': RenderExtension<PrintActionExtensionApi<'admin.product-index.selection-print-action.render'>, AllComponents>;
160
214
  /**
161
215
  * Renders Product Configuration on product details and product variant details
162
216
  *
@@ -1 +1 @@
1
- {"version":3,"file":"extension-targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/extension-targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAErD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,UAAU,CAAC;AACzC,OAAO,KAAK,EACV,WAAW,EACX,0BAA0B,EAC1B,kBAAkB,EAClB,iBAAiB,EACjB,8BAA8B,EAC9B,qCAAqC,EACrC,mBAAmB,EACnB,qBAAqB,EACtB,MAAM,OAAO,CAAC;AACf,OAAO,EAAC,mBAAmB,EAAC,MAAM,cAAc,CAAC;AAEjD,KAAK,gCAAgC,GAAG,mBAA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AM,sBAAsB,CAAC,EAAE,SAAS,MAAM,gBAAgB,IAClE,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEnC;;;GAGG;AACH,MAAM,MAAM,qBAAqB,CAAC,EAAE,SAAS,MAAM,gBAAgB,IACjE,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEnC;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG;KACjC,EAAE,IAAI,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,EAAE,CAAC,SAAS,eAAe,CAC1E,GAAG,EACH,GAAG,CACJ,GACG,EAAE,GACF,KAAK;CACV,CAAC,MAAM,gBAAgB,CAAC,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;KAC5B,EAAE,IAAI,qBAAqB,GAAG,gBAAgB,CAAC,EAAE,CAAC;CACpD,CAAC;AAEF,KAAK,+BAA+B,CAAC,CAAC,IAAI,CAAC,SAAS,eAAe,CACjE,MAAM,GAAG,EACT,GAAG,CACJ,GACG,GAAG,GACH,KAAK,CAAC;AAEV,KAAK,6CAA6C,CAAC,CAAC,IAClD,CAAC,SAAS,eAAe,CAAC,GAAG,EAAE,MAAM,UAAU,CAAC,GAAG,UAAU,GAAG,KAAK,CAAC;AAExE;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,CAAC,EAAE,SAAS,MAAM,gBAAgB,IACjE,+BAA+B,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,mCAAmC,CAC7C,EAAE,SAAS,MAAM,gBAAgB,IAC/B,6CAA6C,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC"}
1
+ {"version":3,"file":"extension-targets.d.ts","sourceRoot":"","sources":["../../../../src/surfaces/admin/extension-targets.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,iBAAiB,CAAC;AAErD,OAAO,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gB,IAClE,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEnC;;;GAGG;AACH,MAAM,MAAM,qBAAqB,CAAC,EAAE,SAAS,MAAM,gBAAgB,IACjE,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;AAEnC;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,GAAG;KACjC,EAAE,IAAI,MAAM,gBAAgB,GAAG,gBAAgB,CAAC,EAAE,CAAC,SAAS,eAAe,CAC1E,GAAG,EACH,GAAG,CACJ,GACG,EAAE,GACF,KAAK;CACV,CAAC,MAAM,gBAAgB,CAAC,CAAC;AAE1B;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;KAC5B,EAAE,IAAI,qBAAqB,GAAG,gBAAgB,CAAC,EAAE,CAAC;CACpD,CAAC;AAEF,KAAK,+BAA+B,CAAC,CAAC,IAAI,CAAC,SAAS,eAAe,CACjE,MAAM,GAAG,EACT,GAAG,CACJ,GACG,GAAG,GACH,KAAK,CAAC;AAEV,KAAK,6CAA6C,CAAC,CAAC,IAClD,CAAC,SAAS,eAAe,CAAC,GAAG,EAAE,MAAM,UAAU,CAAC,GAAG,UAAU,GAAG,KAAK,CAAC;AAExE;;;;;GAKG;AACH,MAAM,MAAM,qBAAqB,CAAC,EAAE,SAAS,MAAM,gBAAgB,IACjE,+BAA+B,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,mCAAmC,CAC7C,EAAE,SAAS,MAAM,gBAAgB,IAC/B,6CAA6C,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC,CAAC"}
@@ -31,7 +31,7 @@ export interface AddressAutocompleteSuggestion {
31
31
  */
32
32
  matchedSubstrings?: MatchedSubstring[];
33
33
  /**
34
- * The formatted address that will auto-fill the remaining address fields.
34
+ * The address object used to auto-populate the remaining address fields.
35
35
  *
36
36
  * If this value is returned for every suggestion, then the
37
37
  * `purchase.address-autocomplete.format-suggestion` extension target is not needed.
@@ -1,4 +1,4 @@
1
- import type { Attribute, SellingPlan, MailingAddress } from '../shared';
1
+ import type { Attribute, SellingPlan, MailingAddress, ShippingAddress } from '../shared';
2
2
  /**
3
3
  * Removes a note
4
4
  */
@@ -358,7 +358,7 @@ export interface ShippingAddressUpdateChange {
358
358
  * values for the fields you want to update — any fields you do not list
359
359
  * will keep their current values.
360
360
  */
361
- address: Partial<MailingAddress>;
361
+ address: Partial<ShippingAddress>;
362
362
  }
363
363
  export type ShippingAddressChange = ShippingAddressUpdateChange;
364
364
  /**
@@ -407,7 +407,7 @@ export interface CheckoutApi {
407
407
  * successful, this mutation results in an update to the value retrieved
408
408
  * through the [`attributes`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/attributes#standardapi-propertydetail-attributes) property.
409
409
  *
410
- * > Note: This method will return an error if the buyer is using an accelerated checkout method, such as Apple Pay, Google Pay, or Meta Pay.
410
+ * > 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, Google Pay, or Meta Pay.
411
411
  */
412
412
  applyAttributeChange(change: AttributeChange): Promise<AttributeChangeResult>;
413
413
  /**
@@ -417,7 +417,7 @@ export interface CheckoutApi {
417
417
  * [`lines`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/cart-lines#standardapi-propertydetail-lines)
418
418
  * property.
419
419
  *
420
- * > Note: This method will return an error if the buyer is using an accelerated checkout method, such as Apple Pay, Google Pay, or Meta Pay.
420
+ * > 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, Google Pay, or Meta Pay.
421
421
  */
422
422
  applyCartLinesChange(change: CartLineChange): Promise<CartLineChangeResult>;
423
423
  /**
@@ -428,7 +428,7 @@ export interface CheckoutApi {
428
428
  * > Caution:
429
429
  * > See [security considerations](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#network-access) if your extension retrieves discount codes through a network call.
430
430
  *
431
- * > Note: This method will return an error if the buyer is using an accelerated checkout method, such as Apple Pay, Google Pay, or Meta Pay.
431
+ * > 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, Google Pay, or Meta Pay.
432
432
  */
433
433
  applyDiscountCodeChange(change: DiscountCodeChange): Promise<DiscountCodeChangeResult>;
434
434
  /**
@@ -446,6 +446,8 @@ export interface CheckoutApi {
446
446
  * Performs an update on a piece of metadata attached to the checkout. If
447
447
  * successful, this mutation results in an update to the value retrieved
448
448
  * through the [`metafields`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/metafields#standardapi-propertydetail-metafields) property.
449
+ *
450
+ * > 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, Google Pay, or Meta Pay.
449
451
  */
450
452
  applyMetafieldChange(change: MetafieldChange): Promise<MetafieldChangeResult>;
451
453
  /**
@@ -453,7 +455,7 @@ export interface CheckoutApi {
453
455
  * successful, this mutation results in an update to the value retrieved
454
456
  * through the [`note`](https://shopify.dev/docs/api/checkout-ui-extensions/apis/note#standardapi-propertydetail-note) property.
455
457
  *
456
- * > Note: This method will return an error if the buyer is using an accelerated checkout method, such as Apple Pay, Google Pay, or Meta Pay.
458
+ * > 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, Google Pay, or Meta Pay.
457
459
  */
458
460
  applyNoteChange(change: NoteChange): Promise<NoteChangeResult>;
459
461
  /**
@@ -466,6 +468,8 @@ export interface CheckoutApi {
466
468
  * any prompts. If successful, this mutation results in an update to the value
467
469
  * retrieved through the `shippingAddress` property.
468
470
  *
471
+ * > 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, Google Pay, or Meta Pay.
472
+ *
469
473
  * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
470
474
  */
471
475
  applyShippingAddressChange?(change: ShippingAddressChange): Promise<ShippingAddressChangeResult>;
@@ -1 +1 @@
1
- {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/checkout/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,SAAS,EAAE,WAAW,EAAE,cAAc,EAAC,MAAM,WAAW,CAAC;AAEtE;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,UAAU,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAE7D,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,GAAG,qBAAqB,CAAC;AAE/E;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,E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C,wBAAwB,CAAC,CAAC;IAErC;;;;;;;;;OASG;IACH,mBAAmB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAE3E;;;;OAIG;IACH,oBAAoB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAE9E;;;;;;OAMG;IACH,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAE/D;;OAEG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC;;;;;;;OAOG;IACH,0BAA0B,CAAC,CACzB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
1
+ {"version":3,"file":"checkout.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/checkout/checkout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,SAAS,EACT,WAAW,EACX,cAAc,EACd,eAAe,EAChB,MAAM,WAAW,CAAC;AAEnB;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;CACpB;AAED;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,YAAY,CAAC;IACnB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,MAAM,UAAU,GAAG,gBAAgB,GAAG,gBAAgB,CAAC;AAE7D,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,IAAI,EAAE,SAAS,CAAC;CACjB;AAED,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC;IAEd;;;;OAIG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,GAAG,uBAAuB,GAAG,qBAAqB,CAAC;AAE/E;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;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B,OAAO,CAAC,wBAAwB,CAAC,CAAC;IAErC;;;;;;;;;OASG;IACH,mBAAmB,CAAC,MAAM,EAAE,cAAc,GAAG,OAAO,CAAC,oBAAoB,CAAC,CAAC;IAE3E;;;;;;OAMG;IACH,oBAAoB,CAAC,MAAM,EAAE,eAAe,GAAG,OAAO,CAAC,qBAAqB,CAAC,CAAC;IAE9E;;;;;;OAMG;IACH,eAAe,CAAC,MAAM,EAAE,UAAU,GAAG,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAE/D;;OAEG;IACH,0BAA0B,CAAC,EAAE,OAAO,CAAC;IAErC;;;;;;;;;OASG;IACH,0BAA0B,CAAC,CACzB,MAAM,EAAE,qBAAqB,GAC5B,OAAO,CAAC,2BAA2B,CAAC,CAAC;CACzC"}
@@ -20,6 +20,8 @@ export interface Docs_Standard_BuyerIdentityApi extends Pick<StandardApi, 'buyer
20
20
  }
21
21
  export interface Docs_Standard_BuyerJourneyApi extends Pick<StandardApi, 'buyerJourney'> {
22
22
  }
23
+ export interface Docs_Standard_CartInstructionsApi extends Pick<StandardApi, 'instructions'> {
24
+ }
23
25
  export interface Docs_Standard_CartLinesApi extends Pick<StandardApi, 'lines'> {
24
26
  }
25
27
  export interface Docs_Checkout_CartLinesApi extends Pick<CheckoutApi, 'applyCartLinesChange'> {
@@ -1 +1 @@
1
- {"version":3,"file":"docs.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/api/docs.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,qBAAqB,CAAC;AACrD,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,4BAA4B,CAAC;AAChE,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,6BAA6B,CAAC;AAEhE;;;;;GAKG;AAEH,MAAM,WAAW,wBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,iBAAiB,GAAG,gBAAg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C;CAAG;AAE9C,MAAM,WAAW,yBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,UAAU,CAAC;CAAG;AAE1C,MAAM,WAAW,wBACf,SAAQ,IAAI,CAAC,WAAW,EAAE,SAAS,CAAC;CAAG;AAEzC,MAAM,WAAW,sBAAuB,SAAQ,IAAI,CAAC,WAAW,EAAE,OAAO,CAAC;CAAG;AAE7E,MAAM,WAAW,0BACf,SAAQ,IAAI,CAAC,WAAW,EAAE,WAAW,CAAC;CAAG;AAE3C,MAAM,WAAW,gCACf,SAAQ,IAAI,CAAC,WAAW,EAAE,iBAAiB,GAAG,4BAA4B,CAAC;CAAG"}
@@ -17,6 +17,11 @@ export interface Order {
17
17
  * If cancelled, the time at which the order was cancelled.
18
18
  */
19
19
  cancelledAt?: string;
20
+ /**
21
+ * The date and time when the order was processed.
22
+ * Processing happens after the checkout has completed, and indicates that the order is available in the admin.
23
+ */
24
+ processedAt?: string;
20
25
  /**
21
26
  * A randomly generated alpha-numeric identifier for the order.
22
27
  * For orders created in 2024 and onwards, the number will always be present. For orders created before that date, the number might not be present.
@@ -1 +1 @@
1
- {"version":3,"file":"order-status.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/order-status/order-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC;CACtD"}
1
+ {"version":3,"file":"order-status.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/order-status/order-status.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,KAAK,EAAE,0BAA0B,CAAC,KAAK,GAAG,SAAS,CAAC,CAAC;CACtD"}
@@ -121,4 +121,10 @@ export interface MailingAddress {
121
121
  */
122
122
  phone?: string;
123
123
  }
124
+ export interface ShippingAddress extends MailingAddress {
125
+ /**
126
+ * Specifies whether the address should be saved to the buyer's account.
127
+ */
128
+ oneTimeUse?: boolean;
129
+ }
124
130
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/checkout/api/shared.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,iBAAiB,CAAC;AAEjD,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;;;;;;OAOG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,cAAc;IAC7B;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IA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,CAAC;IAEjB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;;;;OAMG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;;;;;OAMG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;;;;;OAMG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;;;;;OAMG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,eAAgB,SAAQ,cAAc;IACrD;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -9,5 +9,18 @@ export interface ShippingOptionItemApi {
9
9
  * Whether the shipping option the extension is attached to is currently selected in the UI.
10
10
  */
11
11
  isTargetSelected: StatefulRemoteSubscribable<boolean>;
12
+ /**
13
+ * The render mode of the shipping option.
14
+ */
15
+ renderMode: ShippingOptionItemRenderMode;
16
+ }
17
+ /**
18
+ * The render mode of a shipping option.
19
+ */
20
+ export interface ShippingOptionItemRenderMode {
21
+ /**
22
+ * Whether the shipping option is rendered in an overlay.
23
+ */
24
+ overlay: boolean;
12
25
  }
13
26
  //# sourceMappingURL=shipping-option-item.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-option-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/shipping/shipping-option-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAEnD;;OAEG;IACH,gBAAgB,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;CACvD"}
1
+ {"version":3,"file":"shipping-option-item.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/shipping/shipping-option-item.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,sBAAsB,CAAC;AAEzD,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,cAAc,CAAC,CAAC;IAEnD;;OAEG;IACH,gBAAgB,EAAE,0BAA0B,CAAC,OAAO,CAAC,CAAC;IAEtD;;OAEG;IACH,UAAU,EAAE,4BAA4B,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;CAClB"}
@@ -1,9 +1,55 @@
1
1
  import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
2
- import type { DeliveryGroup } from '../standard/standard';
2
+ import type { DeliveryGroup, DeliveryGroupType, DeliveryOptionReference, Money } from '../standard/standard';
3
3
  export interface ShippingOptionListApi {
4
4
  /**
5
- * The delivery group the extension is attached to. The target will be undefined if the group is not available.
5
+ * The delivery group list the extension is attached to. The target will be undefined when there are no groups for a given type.
6
6
  */
7
- target: StatefulRemoteSubscribable<DeliveryGroup | undefined>;
7
+ target: StatefulRemoteSubscribable<DeliveryGroupList | undefined>;
8
+ /**
9
+ * The list of selection groups available to the buyers. The property will be undefined when no such groups are available.
10
+ */
11
+ deliverySelectionGroups: StatefulRemoteSubscribable<DeliverySelectionGroup[] | undefined>;
12
+ }
13
+ /**
14
+ * The delivery group list the extension is associated to.
15
+ */
16
+ export interface DeliveryGroupList {
17
+ /**
18
+ * The group type of the delivery group list.
19
+ */
20
+ groupType: DeliveryGroupType;
21
+ /**
22
+ * The delivery groups that compose this list.
23
+ */
24
+ deliveryGroups: DeliveryGroup[];
25
+ }
26
+ /**
27
+ * A selection group for delivery options.
28
+ */
29
+ export interface DeliverySelectionGroup {
30
+ /**
31
+ * The handle of the selection group.
32
+ */
33
+ handle: string;
34
+ /**
35
+ * If the selection group is selected.
36
+ */
37
+ selected: boolean;
38
+ /**
39
+ * The localized title of the selection group.
40
+ */
41
+ title: string;
42
+ /**
43
+ * The associated delivery option handles with the selection group. The handles will match the delivery group's delivery option handles.
44
+ */
45
+ associatedDeliveryOptions: DeliveryOptionReference[];
46
+ /**
47
+ * The sum of each delivery option's cost.
48
+ */
49
+ cost: Money;
50
+ /**
51
+ * The sum of each delivery option's cost after discounts.
52
+ */
53
+ costAfterDiscounts: Money;
8
54
  }
9
55
  //# sourceMappingURL=shipping-option-list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shipping-option-list.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/shipping/shipping-option-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,sBAAsB,CAAC;AAExD,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,aAAa,GAAG,SAAS,CAAC,CAAC;CAC/D"}
1
+ {"version":3,"file":"shipping-option-list.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/checkout/api/shipping/shipping-option-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,0BAA0B,EAAC,MAAM,+BAA+B,CAAC;AAE9E,OAAO,KAAK,EACV,aAAa,EACb,iBAAiB,EACjB,uBAAuB,EACvB,KAAK,EACN,MAAM,sBAAsB,CAAC;AAE9B,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,EAAE,0BAA0B,CAAC,iBAAiB,GAAG,SAAS,CAAC,CAAC;IAClE;;OAEG;IACH,uBAAuB,EAAE,0BAA0B,CACjD,sBAAsB,EAAE,GAAG,SAAS,CACrC,CAAC;CACH;AAED;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,SAAS,EAAE,iBAAiB,CAAC;IAC7B;;OAEG;IACH,cAAc,EAAE,aAAa,EAAE,CAAC;CACjC;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACrC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;IAClB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,yBAAyB,EAAE,uBAAuB,EAAE,CAAC;IACrD;;OAEG;IACH,IAAI,EAAE,KAAK,CAAC;IACZ;;OAEG;IACH,kBAAkB,EAAE,KAAK,CAAC;CAC3B"}
@@ -1,7 +1,8 @@
1
1
  import type { StatefulRemoteSubscribable } from '@remote-ui/async-subscription';
2
- import type { ValidationError, SellingPlan, Attribute, MailingAddress } from '../shared';
2
+ import type { ValidationError, SellingPlan, Attribute, MailingAddress, ShippingAddress } from '../shared';
3
3
  import type { ExtensionTarget } from '../../targets';
4
- import type { ApiVersion, CurrencyCode, CountryCode, Timezone, GraphQLError, StorefrontApiVersion } from '../../../../shared';
4
+ import type { ApiVersion, Capability, CurrencyCode, CountryCode, Timezone, GraphQLError, StorefrontApiVersion } from '../../../../shared';
5
+ export type { ApiVersion, Capability } from '../../../../shared';
5
6
  /**
6
7
  * A key-value storage object for the extension.
7
8
  *
@@ -33,20 +34,6 @@ export interface Storage {
33
34
  */
34
35
  delete(key: string): Promise<void>;
35
36
  }
36
- /**
37
- * The capabilities an extension has access to.
38
- *
39
- * * [`api_access`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#api-access): the extension can access the Storefront API.
40
- *
41
- * * [`network_access`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#network-access): the extension can make external network calls.
42
- *
43
- * * [`block_progress`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#block-progress): the extension can block a buyer's progress and the merchant has allowed this blocking behavior.
44
- *
45
- * * [`collect_buyer_consent.sms_marketing`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#collect-buyer-consent): the extension can collect buyer consent for SMS marketing.
46
- *
47
- * * [`collect_buyer_consent.customer_privacy`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration#collect-buyer-consent): the extension can register buyer consent decisions that will be honored on Shopify-managed services.
48
- */
49
- export type Capability = 'api_access' | 'network_access' | 'block_progress' | 'collect_buyer_consent.sms_marketing' | 'collect_buyer_consent.customer_privacy';
50
37
  /**
51
38
  * The meta information about an extension target.
52
39
  */
@@ -54,7 +41,7 @@ export interface Extension<Target extends ExtensionTarget = ExtensionTarget> {
54
41
  /**
55
42
  * The API version that was set in the extension config file.
56
43
  *
57
- * @example '2023-07', '2023-10', '2024-01', '2024-04', 'unstable'
44
+ * @example '2023-07', '2023-10', '2024-01', '2024-04', '2024-07', 'unstable'
58
45
  */
59
46
  apiVersion: ApiVersion;
60
47
  /**
@@ -195,7 +182,6 @@ export interface AppMetafieldEntry {
195
182
  /** The metadata information. */
196
183
  metafield: AppMetafield;
197
184
  }
198
- export type { ApiVersion } from '../../../../shared';
199
185
  export type Version = string;
200
186
  export type CheckoutToken = string;
201
187
  /**
@@ -411,6 +397,19 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
411
397
  * Gift Cards that have been applied to the checkout.
412
398
  */
413
399
  appliedGiftCards: StatefulRemoteSubscribable<AppliedGiftCard[]>;
400
+ /**
401
+ * The cart instructions used to create the checkout and possibly limit extension capabilities.
402
+ *
403
+ * These instructions should be checked prior to performing any actions that may be affected by them.
404
+ *
405
+ * For example, if you intend to add a discount code via the `applyDiscountCodeChange` method,
406
+ * check `discounts.canUpdateDiscountCodes` to ensure it's supported in this checkout.
407
+ *
408
+ * > Caution: As of version `2024-07`, UI extension code must check for instructions before calling select APIs in case those APIs are not available.
409
+ * See the [update guide](/docs/api/checkout-ui-extensions/instructions-update) for more information.
410
+ *
411
+ */
412
+ instructions: StatefulRemoteSubscribable<CartInstructions>;
414
413
  /**
415
414
  * The metafields requested in the
416
415
  * [`shopify.extension.toml`](https://shopify.dev/docs/api/checkout-ui-extensions/configuration)
@@ -567,7 +566,7 @@ export interface StandardApi<Target extends ExtensionTarget = ExtensionTarget> {
567
566
  *
568
567
  * {% include /apps/checkout/privacy-icon.md %} Requires access to [protected customer data](/docs/apps/store/data-protection/protected-customer-data).
569
568
  */
570
- shippingAddress?: StatefulRemoteSubscribable<MailingAddress | undefined>;
569
+ shippingAddress?: StatefulRemoteSubscribable<ShippingAddress | undefined>;
571
570
  /**
572
571
  * The proposed customer billing address. The address updates when the field is
573
572
  * committed (on change) rather than every keystroke.
@@ -899,6 +898,10 @@ export interface ProductVariant extends BaseMerchandise {
899
898
  * The selling plan associated with the merchandise.
900
899
  */
901
900
  sellingPlan?: SellingPlan;
901
+ /**
902
+ * The product variant's sku.
903
+ */
904
+ sku?: string;
902
905
  }
903
906
  export interface Product {
904
907
  /**
@@ -1416,6 +1419,10 @@ export interface PickupLocationOption extends DeliveryOptionBase {
1416
1419
  * The location details of the pickup location.
1417
1420
  */
1418
1421
  location: PickupLocation;
1422
+ /**
1423
+ * The metafields associated with this delivery option.
1424
+ */
1425
+ metafields?: Metafield[];
1419
1426
  }
1420
1427
  interface PickupLocation {
1421
1428
  /**
@@ -1630,4 +1637,80 @@ export interface TrackingConsentChangeResultError {
1630
1637
  */
1631
1638
  message: string;
1632
1639
  }
1640
+ export interface CartInstructions {
1641
+ /**
1642
+ * Cart instructions related to cart attributes.
1643
+ */
1644
+ attributes: AttributesCartInstructions;
1645
+ /**
1646
+ * Cart instructions related to delivery.
1647
+ */
1648
+ delivery: DeliveryCartInstructions;
1649
+ /**
1650
+ * Cart instructions related to discounts.
1651
+ */
1652
+ discounts: DiscountsCartInstructions;
1653
+ /**
1654
+ * Cart instructions related to cart lines.
1655
+ */
1656
+ lines: CartLinesCartInstructions;
1657
+ /**
1658
+ * Cart instructions related to metafields.
1659
+ */
1660
+ metafields: MetafieldsCartInstructions;
1661
+ /**
1662
+ * Cart instructions related to notes.
1663
+ */
1664
+ notes: NotesCartInstructions;
1665
+ }
1666
+ export interface AttributesCartInstructions {
1667
+ /**
1668
+ * Indicates whether or not cart attributes can be updated.
1669
+ */
1670
+ canUpdateAttributes: boolean;
1671
+ }
1672
+ export interface DeliveryCartInstructions {
1673
+ /**
1674
+ * Indicates whether a buyer can select a custom address.
1675
+ *
1676
+ * When true, this implies extensions can update the delivery address.
1677
+ */
1678
+ canSelectCustomAddress: boolean;
1679
+ }
1680
+ export interface DiscountsCartInstructions {
1681
+ /**
1682
+ * Indicates whether or not discount codes can be updated.
1683
+ */
1684
+ canUpdateDiscountCodes: boolean;
1685
+ }
1686
+ export interface CartLinesCartInstructions {
1687
+ /**
1688
+ * Indicates whether or not new cart lines can be added.
1689
+ */
1690
+ canAddCartLine: boolean;
1691
+ /**
1692
+ * Indicates whether or not cart lines can be removed.
1693
+ */
1694
+ canRemoveCartLine: boolean;
1695
+ /**
1696
+ * Indicates whether or not cart lines can be updated.
1697
+ */
1698
+ canUpdateCartLine: boolean;
1699
+ }
1700
+ export interface MetafieldsCartInstructions {
1701
+ /**
1702
+ * Indicates whether or not cart metafields can be added or updated.
1703
+ */
1704
+ canSetCartMetafields: boolean;
1705
+ /**
1706
+ * Indicates whether or not cart metafields can be deleted.
1707
+ */
1708
+ canDeleteCartMetafield: boolean;
1709
+ }
1710
+ export interface NotesCartInstructions {
1711
+ /**
1712
+ * Indicates whether or not notes can be updated.
1713
+ */
1714
+ canUpdateNote: boolean;
1715
+ }
1633
1716
  //# sourceMappingURL=standard.d.ts.map