@shopify/ui-extensions 2025.10.7 → 2025.10.9

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 (287) hide show
  1. package/build/cjs/surfaces/point-of-sale/types/storage.js +3 -0
  2. package/build/esm/surfaces/point-of-sale/types/storage.mjs +3 -0
  3. package/build/esnext/surfaces/point-of-sale/types/storage.esnext +3 -0
  4. package/build/ts/shared.d.ts +7 -7
  5. package/build/ts/shared.d.ts.map +1 -1
  6. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -1
  7. package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -1
  8. package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts.map +1 -1
  9. package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
  10. package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
  11. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -1
  12. package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
  13. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -1
  14. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  15. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -1
  16. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -1
  17. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -1
  18. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
  19. package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
  20. package/build/ts/surfaces/admin/components/DropZone/{DropZone.ab.doc.d.ts → DropZone.doc.d.ts} +1 -1
  21. package/build/ts/surfaces/admin/components/DropZone/DropZone.doc.d.ts.map +1 -0
  22. package/build/ts/surfaces/admin/components/Grid/Grid.doc.d.ts.map +1 -1
  23. package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +1 -1
  24. package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +1 -1
  25. package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
  26. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -1
  27. package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -1
  28. package/build/ts/surfaces/admin/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  29. package/build/ts/surfaces/admin/components/Page/Page.ab.doc.d.ts.map +1 -1
  30. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -1
  31. package/build/ts/surfaces/admin/components/SearchField/SearchField.doc.d.ts.map +1 -1
  32. package/build/ts/surfaces/admin/components/Spinner/Spinner.doc.d.ts.map +1 -1
  33. package/build/ts/surfaces/admin/components/Stack/Stack.doc.d.ts.map +1 -1
  34. package/build/ts/surfaces/admin/components/Table/Table.doc.d.ts.map +1 -1
  35. package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
  36. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -1
  37. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -1
  38. package/build/ts/surfaces/admin/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  39. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +3 -5
  40. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -1
  41. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +38 -33
  42. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -1
  43. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +2 -2
  44. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +6 -4
  45. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -1
  46. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +4 -1
  47. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -1
  48. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +4 -4
  49. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +6 -3
  50. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -1
  51. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +2 -3
  52. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -1
  53. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +22 -8
  54. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -1
  55. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +5 -5
  56. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +6 -10
  57. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -1
  58. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +10 -11
  59. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -1
  60. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +5 -2
  61. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -1
  62. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +24 -10
  63. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -1
  64. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +26 -8
  65. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -1
  66. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +3 -6
  67. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -1
  68. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +2 -0
  69. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -1
  70. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +3 -0
  71. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -1
  72. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +11 -1
  73. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -1
  74. package/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
  75. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  76. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -1
  77. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +23 -4
  78. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -1
  79. package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +24 -6
  80. package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -1
  81. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +34 -37
  82. package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -1
  83. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +56 -16
  84. package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +14 -2
  85. package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  86. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +41 -5
  87. package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -1
  88. package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +40 -4
  89. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -1
  90. package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +42 -6
  91. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -1
  92. package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +42 -6
  93. package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -1
  94. package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +42 -6
  95. package/build/ts/surfaces/point-of-sale/components/Divider/Divider.doc.d.ts.map +1 -1
  96. package/build/ts/surfaces/point-of-sale/components/Divider.d.ts +14 -2
  97. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -1
  98. package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +43 -7
  99. package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -1
  100. package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +15 -3
  101. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -1
  102. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +17 -2
  103. package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -1
  104. package/build/ts/surfaces/point-of-sale/components/Image.d.ts +6 -3
  105. package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -1
  106. package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +43 -11
  107. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -1
  108. package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +56 -41
  109. package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -1
  110. package/build/ts/surfaces/point-of-sale/components/Page.d.ts +19 -7
  111. package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -1
  112. package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +16 -4
  113. package/build/ts/surfaces/point-of-sale/components/QrCode.d.ts +14 -2
  114. package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -1
  115. package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +33 -36
  116. package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -1
  117. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +42 -6
  118. package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -1
  119. package/build/ts/surfaces/point-of-sale/components/Section.d.ts +17 -7
  120. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -1
  121. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +47 -61
  122. package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -1
  123. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +28 -6
  124. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -1
  125. package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +43 -7
  126. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -1
  127. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +43 -7
  128. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -1
  129. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +40 -4
  130. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -1
  131. package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +42 -6
  132. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -1
  133. package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +42 -6
  134. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +638 -878
  135. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +1 -1
  136. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -1
  137. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
  138. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -1
  139. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +15 -0
  140. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -1
  141. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +6 -0
  142. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -1
  143. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +27 -0
  144. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -1
  145. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +18 -0
  146. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -1
  147. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +9 -0
  148. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -1
  149. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +18 -0
  150. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -1
  151. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +12 -0
  152. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -1
  153. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +27 -0
  154. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -1
  155. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +17 -0
  156. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -1
  157. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +135 -0
  158. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -1
  159. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +43 -0
  160. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -1
  161. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +227 -31
  162. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
  163. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +3 -0
  164. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -1
  165. package/build/ts/surfaces/point-of-sale/types/device.d.ts +6 -3
  166. package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -1
  167. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +3 -3
  168. package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts +6 -0
  169. package/build/ts/surfaces/point-of-sale/types/discount-allocation.d.ts.map +1 -1
  170. package/build/ts/surfaces/point-of-sale/types/money.d.ts +18 -0
  171. package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -1
  172. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +1 -2
  173. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -1
  174. package/build/ts/surfaces/point-of-sale/types/order.d.ts +18 -0
  175. package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -1
  176. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +2 -3
  177. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -1
  178. package/build/ts/surfaces/point-of-sale/types/payment.d.ts +15 -0
  179. package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -1
  180. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +36 -16
  181. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -1
  182. package/build/ts/surfaces/point-of-sale/types/product.d.ts +170 -0
  183. package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -1
  184. package/build/ts/surfaces/point-of-sale/types/session.d.ts +7 -5
  185. package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -1
  186. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +32 -0
  187. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -1
  188. package/build/ts/surfaces/point-of-sale/types/storage.d.ts +13 -11
  189. package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -1
  190. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +21 -0
  191. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -1
  192. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +7 -0
  193. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -1
  194. package/build/tsconfig.tsbuildinfo +1 -1
  195. package/package.json +6 -1
  196. package/src/shared.ts +7 -7
  197. package/src/surfaces/admin/api/intents/examples/edit-metafield-definition.js +1 -0
  198. package/src/surfaces/admin/api/intents/examples/edit-metaobject-definition.js +1 -1
  199. package/src/surfaces/admin/components/Icon/icon-data.json +9 -0
  200. package/src/surfaces/admin/components/Page/examples/page-with-breadcrumbs-and-title.html +7 -0
  201. package/src/surfaces/admin/components/Page/examples/page-with-breadcrumbs-and-title.jsx +7 -0
  202. package/src/surfaces/admin/components/Page/examples/page-with-secondary-actions.html +8 -0
  203. package/src/surfaces/admin/components/Page/examples/page-with-secondary-actions.jsx +8 -0
  204. package/src/surfaces/point-of-sale/api/action-api/action-api.ts +3 -5
  205. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +38 -33
  206. package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +2 -2
  207. package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +6 -4
  208. package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +4 -1
  209. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +4 -4
  210. package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +6 -3
  211. package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +2 -3
  212. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +23 -8
  213. package/src/surfaces/point-of-sale/api/order-api/order-api.ts +5 -5
  214. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +6 -10
  215. package/src/surfaces/point-of-sale/api/print-api/print-api.ts +10 -11
  216. package/src/surfaces/point-of-sale/api/product-api/product-api.ts +5 -2
  217. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +24 -10
  218. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +26 -8
  219. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +3 -6
  220. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +2 -0
  221. package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +3 -0
  222. package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +11 -1
  223. package/src/surfaces/point-of-sale/api.ts +1 -0
  224. package/src/surfaces/point-of-sale/components/Badge.d.ts +23 -4
  225. package/src/surfaces/point-of-sale/components/Banner.d.ts +24 -6
  226. package/src/surfaces/point-of-sale/components/Box.d.ts +34 -37
  227. package/src/surfaces/point-of-sale/components/Button.d.ts +56 -16
  228. package/src/surfaces/point-of-sale/components/Choice.d.ts +14 -2
  229. package/src/surfaces/point-of-sale/components/ChoiceList/examples/composed-choices.jsx +35 -0
  230. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +41 -5
  231. package/src/surfaces/point-of-sale/components/Clickable.d.ts +40 -4
  232. package/src/surfaces/point-of-sale/components/DateField.d.ts +42 -6
  233. package/src/surfaces/point-of-sale/components/DatePicker.d.ts +42 -6
  234. package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +42 -6
  235. package/src/surfaces/point-of-sale/components/Divider.d.ts +14 -2
  236. package/src/surfaces/point-of-sale/components/EmailField.d.ts +43 -7
  237. package/src/surfaces/point-of-sale/components/Heading.d.ts +15 -3
  238. package/src/surfaces/point-of-sale/components/Icon.d.ts +17 -2
  239. package/src/surfaces/point-of-sale/components/Image.d.ts +6 -3
  240. package/src/surfaces/point-of-sale/components/Modal.d.ts +43 -11
  241. package/src/surfaces/point-of-sale/components/NumberField.d.ts +56 -41
  242. package/src/surfaces/point-of-sale/components/Page.d.ts +19 -7
  243. package/src/surfaces/point-of-sale/components/PosBlock.d.ts +16 -4
  244. package/src/surfaces/point-of-sale/components/QrCode.d.ts +14 -2
  245. package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +33 -36
  246. package/src/surfaces/point-of-sale/components/SearchField.d.ts +42 -6
  247. package/src/surfaces/point-of-sale/components/Section.d.ts +17 -7
  248. package/src/surfaces/point-of-sale/components/Stack.d.ts +47 -61
  249. package/src/surfaces/point-of-sale/components/Text.d.ts +28 -6
  250. package/src/surfaces/point-of-sale/components/TextArea.d.ts +43 -7
  251. package/src/surfaces/point-of-sale/components/TextField.d.ts +43 -7
  252. package/src/surfaces/point-of-sale/components/Tile.d.ts +40 -4
  253. package/src/surfaces/point-of-sale/components/TimeField.d.ts +42 -6
  254. package/src/surfaces/point-of-sale/components/TimePicker.d.ts +42 -6
  255. package/src/surfaces/point-of-sale/components/components-shared.d.ts +638 -878
  256. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +0 -1
  257. package/src/surfaces/point-of-sale/components.d.ts +1506 -1537
  258. package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
  259. package/src/surfaces/point-of-sale/event/data/BaseData.ts +15 -0
  260. package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +6 -0
  261. package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +27 -0
  262. package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +18 -0
  263. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +9 -0
  264. package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +18 -0
  265. package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +12 -0
  266. package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +27 -0
  267. package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +17 -0
  268. package/src/surfaces/point-of-sale/extension-targets.ts +135 -0
  269. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +43 -0
  270. package/src/surfaces/point-of-sale/types/cart.ts +227 -31
  271. package/src/surfaces/point-of-sale/types/country-code.ts +3 -0
  272. package/src/surfaces/point-of-sale/types/device.ts +6 -3
  273. package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +3 -3
  274. package/src/surfaces/point-of-sale/types/discount-allocation.ts +6 -0
  275. package/src/surfaces/point-of-sale/types/money.ts +18 -0
  276. package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +1 -2
  277. package/src/surfaces/point-of-sale/types/order.ts +18 -1
  278. package/src/surfaces/point-of-sale/types/paginated-result.ts +2 -3
  279. package/src/surfaces/point-of-sale/types/payment.ts +16 -0
  280. package/src/surfaces/point-of-sale/types/pin-pad.ts +32 -14
  281. package/src/surfaces/point-of-sale/types/product.ts +170 -0
  282. package/src/surfaces/point-of-sale/types/session.ts +7 -5
  283. package/src/surfaces/point-of-sale/types/shipping-line.ts +32 -0
  284. package/src/surfaces/point-of-sale/types/storage.ts +13 -11
  285. package/src/surfaces/point-of-sale/types/tax-line.ts +21 -0
  286. package/src/surfaces/point-of-sale/types/transaction-type.ts +7 -0
  287. package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"base-transaction-complete.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/base-transaction-complete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAC/C,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AACvC,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AAExD,MAAM,WAAW,uBAAuB;IACtC,eAAe,EAAE,eAAe,CAAC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB,QAAQ,EAAE,KAAK,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC;IAChB,UAAU,EAAE,KAAK,CAAC;IAClB,cAAc,EAAE,OAAO,EAAE,CAAC;IAC1B,UAAU,EAAE,KAAK,CAAC;IAClB,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;CACpB"}
1
+ {"version":3,"file":"base-transaction-complete.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/base-transaction-complete.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAE,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAC/C,OAAO,KAAK,EAAC,KAAK,EAAC,MAAM,SAAS,CAAC;AACnC,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,WAAW,CAAC;AACvC,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,iBAAiB,CAAC;AAClD,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACxC,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,oBAAoB,CAAC;AAExD;;GAEG;AACH,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,eAAe,EAAE,eAAe,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,QAAQ,EAAE,CAAC;IACvB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,QAAQ,EAAE,KAAK,CAAC;IAChB;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,cAAc,EAAE,OAAO,EAAE,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,KAAK,CAAC;IAClB;;OAEG;IACH,aAAa,CAAC,EAAE,YAAY,EAAE,CAAC;IAC/B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,EAAE,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB"}
@@ -1,87 +1,207 @@
1
1
  import { CountryCode } from './country-code';
2
2
  import { TaxLine } from './tax-line';
3
3
  import { DiscountAllocation } from './discount-allocation';
4
+ /**
5
+ * Represents the shopping cart state, including line items, pricing, customer information, and applied discounts. Provides comprehensive access to all cart data and operations.
6
+ */
4
7
  export interface Cart {
5
8
  /**
6
- * Indicates whether the cart is currently editable.
7
- *
8
- * An undefined value should be treated as `true` for backward compatibility.
9
+ * Indicates whether the cart is currently editable. An `undefined` value should be treated as `true` for backward compatibility. Use this to determine if cart modification operations are allowed.
9
10
  */
10
11
  editable?: boolean;
12
+ /**
13
+ * The subtotal amount of the cart before taxes and discounts, formatted as a currency string.
14
+ */
11
15
  subtotal: string;
16
+ /**
17
+ * The total tax amount for the cart, formatted as a currency string.
18
+ */
12
19
  taxTotal: string;
20
+ /**
21
+ * The final total amount including all items, taxes, and discounts, formatted as a currency string.
22
+ */
13
23
  grandTotal: string;
24
+ /**
25
+ * The cart note to set during bulk update. Replaces existing note or sets new note if none exists. Set to `undefined` to remove current note.
26
+ */
14
27
  note?: string;
28
+ /**
29
+ * The cart-level discount to apply during bulk update. Replaces existing cart discount. Set to `undefined` to remove current discount.
30
+ */
15
31
  cartDiscount?: Discount;
32
+ /**
33
+ * An array of cart-level discounts to apply during bulk update. Replaces all existing cart discounts with the provided array.
34
+ */
16
35
  cartDiscounts: Discount[];
36
+ /**
37
+ * The customer to associate with the cart during bulk update. Replaces existing customer or converts guest cart to customer cart.
38
+ */
17
39
  customer?: Customer;
40
+ /**
41
+ * An array of line items to set during bulk update. Completely replaces existing cart contents—removes all current items and adds the provided ones.
42
+ */
18
43
  lineItems: LineItem[];
44
+ /**
45
+ * The custom key-value properties to apply to the line item. Merged with existing properties—duplicate keys overwrite existing values.
46
+ */
19
47
  properties: Record<string, string>;
20
48
  }
49
+ /**
50
+ * Specifies the parameters for updating cart information. Includes options for modifying customer data, notes, references, and other cart-level metadata.
51
+ */
21
52
  export interface CartUpdateInput {
53
+ /**
54
+ * The cart note to set during bulk update. Replaces existing note or sets new note if none exists. Set to `undefined` to remove current note.
55
+ */
22
56
  note?: string;
57
+ /**
58
+ * The cart-level discount to apply during bulk update. Replaces existing cart discount. Set to `undefined` to remove current discount.
59
+ */
23
60
  cartDiscount?: Discount;
61
+ /**
62
+ * An array of cart-level discounts to apply during bulk update. Replaces all existing cart discounts with the provided array.
63
+ */
24
64
  cartDiscounts: Discount[];
65
+ /**
66
+ * The customer to associate with the cart during bulk update. Replaces existing customer or converts guest cart to customer cart.
67
+ */
25
68
  customer?: Customer;
69
+ /**
70
+ * An array of line items to set during bulk update. Completely replaces existing cart contents—removes all current items and adds the provided ones.
71
+ */
26
72
  lineItems: LineItem[];
73
+ /**
74
+ * The custom key-value properties to apply to the line item. Merged with existing properties—duplicate keys overwrite existing values.
75
+ */
27
76
  properties: Record<string, string>;
28
77
  }
78
+ /**
79
+ * Represents basic customer identification information. Contains the customer ID for linking to detailed customer data and enabling customer-specific features.
80
+ */
29
81
  export interface Customer {
82
+ /**
83
+ * The unique numeric identifier for the customer in Shopify's system. This ID is consistent across all Shopify systems and APIs. Used to link this customer reference to the full customer record with complete profile information. Commonly used for customer lookups, applying customer-specific pricing or discounts, linking orders to customer accounts, or integrating with customer management systems.
84
+ */
30
85
  id: number;
31
86
  }
87
+ /**
88
+ * Represents an individual item in the shopping cart. Contains product information, pricing, quantity, discounts, and customization details for a single cart entry.
89
+ */
32
90
  export interface LineItem {
91
+ /**
92
+ * The unique identifier for this line item within the cart. Use for line item-specific operations like updates, removals, or property modifications.
93
+ */
33
94
  uuid: string;
95
+ /**
96
+ * The unit price of the line item. Returns 'undefined' for custom sales without set prices. Use for pricing calculations and displays.
97
+ */
34
98
  price?: number;
99
+ /**
100
+ * The quantity of this item in the cart. Always a positive integer. Use for quantity displays, calculations, and inventory management.
101
+ */
35
102
  quantity: number;
103
+ /**
104
+ * The display title of the line item. Returns 'undefined' for items without titles. Use for customer-facing displays and cart item identification.
105
+ */
36
106
  title?: string;
107
+ /**
108
+ * The product variant 'ID' this line item represents. Returns 'undefined' for custom sales or non-variant items. Use for variant-specific operations and product details.
109
+ */
37
110
  variantId?: number;
111
+ /**
112
+ * The product 'ID' this line item represents. Returns 'undefined' for custom sales or non-product items. Use for product-specific operations and linking to product details.
113
+ */
38
114
  productId?: number;
115
+ /**
116
+ * An array of discounts applied to this line item. Empty array if no discounts are active. Use for displaying line item savings and discount details.
117
+ */
39
118
  discounts: Discount[];
119
+ /**
120
+ * An array of discount allocations applied to this line item, providing detailed breakdown of how discounts are distributed. Returns 'undefined' if no allocations exist. Use for enhanced discount tracking and reporting.
121
+ */
40
122
  discountAllocations?: DiscountAllocation[];
123
+ /**
124
+ * Determines whether this line item is subject to tax calculations. Use for tax computation, compliance, and pricing displays.
125
+ */
41
126
  taxable: boolean;
127
+ /**
128
+ * An array of tax lines applied to this line item, containing tax amounts and rates. Use for detailed tax reporting and compliance.
129
+ */
42
130
  taxLines: TaxLine[];
131
+ /**
132
+ * The Stock Keeping Unit (SKU) identifier for this line item. Returns 'undefined' if no SKU is configured. Use for inventory tracking and product identification.
133
+ */
43
134
  sku?: string;
135
+ /**
136
+ * The vendor or brand name for this line item. Returns 'undefined' if no vendor is set. Use for vendor-specific displays and organization.
137
+ */
44
138
  vendor?: string;
139
+ /**
140
+ * The custom key-value properties attached to this line item. Empty object if no properties are set. Use for metadata, customization options, or integration data.
141
+ */
45
142
  properties: {
46
143
  [key: string]: string;
47
144
  };
145
+ /**
146
+ * Determines whether this line item is a gift card. Gift cards have special handling requirements and business logic. Use for implementing gift card-specific workflows.
147
+ */
48
148
  isGiftCard: boolean;
149
+ /**
150
+ * The staff member 'ID' attributed to this line item. Returns 'undefined' if no staff attribution is set. Use for commission tracking and performance analytics.
151
+ */
49
152
  attributedUserId?: number;
153
+ /**
154
+ * Determines whether this line item requires a selling plan (subscription) to be purchased. Returns 'undefined' if selling plan information is unavailable. Use for implementing subscription-based product handling.
155
+ */
50
156
  requiresSellingPlan?: boolean;
157
+ /**
158
+ * Determines whether this line item has selling plan groups (subscription options) available. Returns 'undefined' if selling plan information is unavailable. Use for displaying subscription options.
159
+ */
51
160
  hasSellingPlanGroups?: boolean;
52
161
  /**
53
- * The currently selected selling plan for this line item.
162
+ * The currently selected selling plan for this line item. Returns 'undefined' if no selling plan is applied. Contains selling plan details including 'ID', name, and delivery intervals. Use for subscription management and recurring purchase functionality.
54
163
  */
55
164
  sellingPlan?: SellingPlan;
56
165
  /**
57
- * Bundle components for this line item. Only present for product bundles.
58
- * Each component represents an individual item within the bundle with its own tax information.
166
+ * Bundle components for this line item. Only present for [product bundles](/docs/apps/build/product-merchandising/bundles). Each component represents an individual item within the bundle with its own tax information.
59
167
  */
60
168
  components?: LineItemComponent[];
61
169
  }
62
170
  /**
63
- * Represents a component of a product bundle line item.
64
- * Bundle components contain the individual items that make up a bundle,
65
- * each with their own pricing and tax information.
171
+ * Represents a component of a [product bundle](/docs/apps/build/product-merchandising/bundles) line item. Bundle components contain the individual items that make up a bundle, each with their own pricing and tax information.
66
172
  */
67
173
  export interface LineItemComponent {
68
- /** The title/name of the component product */
174
+ /**
175
+ * The display name for the custom sale item. Appears on receipts and in cart displays. Should be descriptive and customer-friendly.
176
+ */
69
177
  title?: string;
70
- /** The quantity of this component in the bundle */
178
+ /**
179
+ * The quantity of the custom sale item. Must be a positive integer. Use for quantity-based pricing and inventory management.
180
+ */
71
181
  quantity: number;
72
- /** The price of this component */
182
+ /**
183
+ * The price for the custom sale item as currency string. Must be a valid positive amount. Use for non-catalog items and custom pricing.
184
+ */
73
185
  price?: number;
74
- /** Whether this component is taxable */
186
+ /**
187
+ * Determines whether the custom sale item is taxable. Set to `true` to apply tax calculations, `false` to exempt from taxes.
188
+ */
75
189
  taxable: boolean;
76
- /** Tax lines applied to this component */
190
+ /**
191
+ * An array of tax lines applied to this component.
192
+ */
77
193
  taxLines: TaxLine[];
78
- /** The variant ID of this component, if applicable */
194
+ /**
195
+ * The unique numeric identifier for the product variant this component represents, if applicable.
196
+ */
79
197
  variantId?: number;
80
- /** The product ID of this component, if applicable */
198
+ /**
199
+ * The unique numeric identifier for the product this component represents, if applicable.
200
+ */
81
201
  productId?: number;
82
202
  }
83
203
  /**
84
- * Represents a selling plan associated with a line item.
204
+ * Represents a selling plan (subscription) associated with a line item, containing delivery schedule and plan identification details.
85
205
  */
86
206
  export interface SellingPlan {
87
207
  /**
@@ -89,12 +209,11 @@ export interface SellingPlan {
89
209
  */
90
210
  id: number;
91
211
  /**
92
- * The name of the selling plan.
212
+ * The name of the POS device.
93
213
  */
94
214
  name: string;
95
215
  /**
96
- * The fingerprint of the applied selling plan within this cart session.
97
- * Provided by POS. Not available during refund / exchanges.
216
+ * The fingerprint of the applied selling plan within this cart session. Provided by POS. Not available during refund / exchanges.
98
217
  */
99
218
  digest?: string;
100
219
  /**
@@ -106,41 +225,59 @@ export interface SellingPlan {
106
225
  */
107
226
  deliveryIntervalCount?: number;
108
227
  }
228
+ /**
229
+ * Represents a discount applied to a cart or transaction, including amount and description.
230
+ */
109
231
  export interface Discount {
232
+ /**
233
+ * The discount value to apply. For `'Percentage'` type, this represents the percentage value (For example, "10" for 10% off). For `'FixedAmount'` type, this represents the fixed monetary amount to deduct from the line item price. Commonly used for discount calculations and displaying the discount value to merchants.
234
+ */
110
235
  amount: number;
236
+ /**
237
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code associated with the location currently active on POS.
238
+ */
111
239
  currency?: string;
240
+ /**
241
+ * A human-readable description of the discount shown to merchants and customers. This typically includes the discount name, promotion details, or discount code (for example, "SUMMER2024", "10% off entire order", "Buy 2 Get 1 Free"). Returns `undefined` when no description is provided.
242
+ */
112
243
  discountDescription?: string;
244
+ /**
245
+ * The [discount type](https://help.shopify.com/en/manual/discounts/discount-types) applied to this line item. Can be either `'Percentage'` for percentage-based discounts or `'FixedAmount'` for fixed monetary amount discounts. This determines how the discount amount is calculated and displayed.
246
+ */
113
247
  type?: string;
114
248
  }
115
249
  /**
116
- * Parameters for adding custom properties to a line item.
250
+ * Specifies the parameters for adding custom properties to line items. Properties are key-value pairs used for storing metadata, tracking information, or integration data.
117
251
  */
118
252
  export interface SetLineItemPropertiesInput {
119
253
  /**
120
- * The uuid belonging to the line item which should receive the custom properties.
254
+ * The target line item `UUID` for selling plan assignment. Must match an existing line item in the cart.
121
255
  */
122
256
  lineItemUuid: string;
123
257
  /**
124
- * The custom properties to apply to the line item.
258
+ * The custom key-value properties to apply to the line item. Merged with existing properties—duplicate keys overwrite existing values.
125
259
  */
126
260
  properties: Record<string, string>;
127
261
  }
128
262
  /**
129
- * Parameters for adding a line item discount.
263
+ * Specifies the parameters for applying discounts to individual line items. Includes the discount type, value, and reason for audit and reporting purposes.
130
264
  */
131
265
  export interface SetLineItemDiscountInput {
132
266
  /**
133
- * The uuid belonging to the line item which should receive the discount.
267
+ * The target line item `UUID` for selling plan assignment. Must match an existing line item in the cart.
134
268
  */
135
269
  lineItemUuid: string;
136
270
  /**
137
- * The discount to be applied to the line item.
271
+ * The discount details to apply to the line item. Contains title, type (`'Percentage'` or `'FixedAmount'`), and amount value.
138
272
  */
139
273
  lineItemDiscount: LineItemDiscount;
140
274
  }
275
+ /**
276
+ * Represents a discount applied to an individual line item in the cart.
277
+ */
141
278
  export interface LineItemDiscount {
142
279
  /**
143
- * The title of the line item discount.
280
+ * The display name for the custom sale item. Appears on receipts and in cart displays. Should be descriptive and customer-friendly.
144
281
  */
145
282
  title: string;
146
283
  /**
@@ -152,39 +289,98 @@ export interface LineItemDiscount {
152
289
  */
153
290
  amount: string;
154
291
  }
292
+ /**
293
+ * Represents a custom sale item that is not associated with a product in the catalog. Includes pricing, taxation, and descriptive information for manually created line items.
294
+ */
155
295
  export interface CustomSale {
296
+ /**
297
+ * The quantity of the custom sale item. Must be a positive integer. Use for quantity-based pricing and inventory management.
298
+ */
156
299
  quantity: number;
300
+ /**
301
+ * The display name for the custom sale item. Appears on receipts and in cart displays. Should be descriptive and customer-friendly.
302
+ */
157
303
  title: string;
304
+ /**
305
+ * The price for the custom sale item as currency string. Must be a valid positive amount. Use for non-catalog items and custom pricing.
306
+ */
158
307
  price: string;
308
+ /**
309
+ * Determines whether the custom sale item is taxable. Set to `true` to apply tax calculations, `false` to exempt from taxes.
310
+ */
159
311
  taxable: boolean;
160
312
  }
313
+ /**
314
+ * Represents physical address information for customer shipping and billing. Contains standard address fields including street, city, region, postal code, and country data.
315
+ */
161
316
  export interface Address {
317
+ /**
318
+ * The primary street address line. Required for most shipping and billing operations. Should contain street number and name.
319
+ */
162
320
  address1?: string;
321
+ /**
322
+ * The secondary address line for apartment, suite, or unit information. Optional field for additional address details.
323
+ */
163
324
  address2?: string;
325
+ /**
326
+ * The city name for the address. Required for shipping calculations and location-based services.
327
+ */
164
328
  city?: string;
329
+ /**
330
+ * The company name associated with the address. Optional field for business customers and B2B transactions.
331
+ */
165
332
  company?: string;
333
+ /**
334
+ * The first name for the address contact. Used for personalized shipping labels and customer communication.
335
+ */
166
336
  firstName?: string;
337
+ /**
338
+ * The last name for the address contact. Required for complete customer identification and shipping labels.
339
+ */
167
340
  lastName?: string;
341
+ /**
342
+ * The phone number for the address contact. Used for delivery notifications, shipping updates, and customer communication.
343
+ */
168
344
  phone?: string;
345
+ /**
346
+ * The province or state name for the address. Required for regional shipping rates and tax calculations.
347
+ */
169
348
  province?: string;
349
+ /**
350
+ * The country name for the address. Required for international shipping, tax calculations, and compliance.
351
+ */
170
352
  country?: string;
353
+ /**
354
+ * The postal or ZIP code for the address. Required for accurate shipping rates and location-based services.
355
+ */
171
356
  zip?: string;
357
+ /**
358
+ * The full name for the address contact. Use when first and last names are combined or unavailable as separate fields.
359
+ */
172
360
  name?: string;
361
+ /**
362
+ * The standardized province or state code. Use for precise regional identification and automated shipping calculations.
363
+ */
173
364
  provinceCode?: string;
365
+ /**
366
+ * The standardized country code (ISO format). Use for precise country identification and international shipping operations.
367
+ */
174
368
  countryCode?: CountryCode;
175
369
  }
370
+ /**
371
+ * Specifies the parameters for assigning selling plans to line items. Used to add subscription or purchase option configurations to products.
372
+ */
176
373
  export interface SetLineItemSellingPlanInput {
177
374
  /**
178
- * The uuid of the line item to which the selling plan should be applied.
375
+ * The target line item `UUID` for selling plan assignment. Must match an existing line item in the cart.
179
376
  */
180
377
  lineItemUuid: string;
181
378
  /**
182
- * The ID of the selling plan to apply to the line item.
379
+ * The selling plan `ID` to apply to the line item. Must be a valid selling plan available for the product.
183
380
  */
184
381
  sellingPlanId: number;
185
382
  /**
186
- * The name of the selling plan to apply to the line item.
187
- * If not provided, POS will try to fetch it from the server after syncing the cart.
383
+ * The selling plan name for display purposes. Required for proper selling plan display in the cart.
188
384
  */
189
385
  sellingPlanName?: string;
190
386
  }
@@ -1 +1 @@
1
- {"version":3,"file":"cart.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/cart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,IAAI;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,aAAa,E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OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B;AAED;;GAEG;AACH,MAAM,WAAW,2BAA2B;IAC1C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B"}
@@ -1,3 +1,6 @@
1
+ /**
2
+ * The two-letter [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country codes representing all countries and territories. These standard codes are used for addresses, shipping destinations, tax jurisdictions, and regional settings.
3
+ */
1
4
  export declare enum CountryCode {
2
5
  AF = "AF",
3
6
  AX = "AX",
@@ -1 +1 @@
1
- {"version":3,"file":"country-code.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/country-code.ts"],"names":[],"mappings":"AAEA,oBAAY,WAAW;IACrB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE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IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV"}
1
+ {"version":3,"file":"country-code.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/country-code.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,oBAAY,WAAW;IACrB,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,E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OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;IACT,EAAE,OAAO;CACV"}
@@ -1,14 +1,17 @@
1
+ /**
2
+ * Defines information about the POS device where the extension is running.
3
+ */
1
4
  export interface Device {
2
5
  /**
3
- * The name of the device
6
+ * The name of the POS device.
4
7
  */
5
8
  name: string;
6
9
  /**
7
- * The ID of the device
10
+ * The unique identifier for the POS device.
8
11
  */
9
12
  deviceId: number;
10
13
  /**
11
- * Whether the device is a tablet
14
+ * Whether the device is a tablet form factor.
12
15
  */
13
16
  isTablet: boolean;
14
17
  }
@@ -1 +1 @@
1
- {"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/device.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB"}
1
+ {"version":3,"file":"device.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/device.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,MAAM;IACrB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,QAAQ,EAAE,OAAO,CAAC;CACnB"}
@@ -1,13 +1,13 @@
1
1
  /**
2
- * Interface representing the structure of a direct API request body for GraphQL operations.
2
+ * Represents the structure of a direct API request body for [GraphQL](https://graphql.org/) operations. Contains the query/mutation string and optional variables for parameterized queries.
3
3
  */
4
4
  export interface DirectApiRequestBody {
5
5
  /**
6
- * The GraphQL query or mutation string to be executed.
6
+ * The GraphQL query or mutation string to be executed against the Shopify API. This is the complete GraphQL operation definition including operation type (query/mutation), field selections, and any embedded arguments. For example, a query string might be `"query { product(id: 123) { title price } }"` or a mutation like `"mutation UpdateProduct($id: ID!, $title: String!) { productUpdate(id: $id, title: $title) { product { title } } }"`. Variables should be extracted into the `variables` field rather than embedded directly in the query string for security and reusability.
7
7
  */
8
8
  query: string;
9
9
  /**
10
- * Optional variables to be passed along with the GraphQL query.
10
+ * Optional variables to be passed along with the GraphQL query, used for parameterized queries and mutations. This is a key-value object where keys match the variable names declared in the `query` string (prefixed with `$`) and values are the actual data to substitute. For example, if the query declares `$id: ID!`, the variables object would include `{id: "123"}`. Variables provide security by preventing injection attacks, enable query reuse with different parameters, and improve GraphQL caching. Returns `undefined` when the query has no variables or uses inline arguments instead.
11
11
  */
12
12
  variables?: Record<string, any>;
13
13
  }
@@ -1,5 +1,11 @@
1
1
  import type { MoneyV2 } from './money';
2
+ /**
3
+ * Represents the allocation of a discount to a specific line item.
4
+ */
2
5
  export interface DiscountAllocation {
6
+ /**
7
+ * The amount of discount allocated.
8
+ */
3
9
  allocatedAmount: MoneyV2;
4
10
  }
5
11
  //# sourceMappingURL=discount-allocation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"discount-allocation.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/discount-allocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AAErC,MAAM,WAAW,kBAAkB;IACjC,eAAe,EAAE,OAAO,CAAC;CAC1B"}
1
+ {"version":3,"file":"discount-allocation.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/discount-allocation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,SAAS,CAAC;AAErC;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,eAAe,EAAE,OAAO,CAAC;CAC1B"}
@@ -1,9 +1,27 @@
1
+ /**
2
+ * Represents a monetary amount with currency information.
3
+ */
1
4
  export interface Money {
5
+ /**
6
+ * The monetary amount as a number.
7
+ */
2
8
  amount: number;
9
+ /**
10
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code associated with the location currently active on POS.
11
+ */
3
12
  currency: string;
4
13
  }
14
+ /**
15
+ * Represents a monetary amount as a string with explicit currency code.
16
+ */
5
17
  export interface MoneyV2 {
18
+ /**
19
+ * The monetary amount as a string.
20
+ */
6
21
  amount: string;
22
+ /**
23
+ * The ISO currency code (for example, USD, CAD).
24
+ */
7
25
  currencyCode: string;
8
26
  }
9
27
  //# sourceMappingURL=money.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"money.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/money.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,KAAK;IACpB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,MAAM,CAAC;CACtB"}
1
+ {"version":3,"file":"money.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/money.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,KAAK;IACpB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;CACtB"}
@@ -1,6 +1,5 @@
1
1
  /**
2
- * The result of a fetch function where the input is multiple IDs.
3
- * This object contains the resources that were found, as well as an array of IDs specifying which IDs, if any, did not correspond to a resource.
2
+ * Represents the result of a bulk resource lookup operation. Contains successfully found resources and identifiers for resources that were not found.
4
3
  */
5
4
  export interface MultipleResourceResult<T> {
6
5
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"multiple-resource-result.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/multiple-resource-result.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC;;OAEG;IACH,gBAAgB,EAAE,CAAC,EAAE,CAAC;IACtB;;OAEG;IACH,uBAAuB,EAAE,MAAM,EAAE,CAAC;CACnC"}
1
+ {"version":3,"file":"multiple-resource-result.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/multiple-resource-result.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,sBAAsB,CAAC,CAAC;IACvC;;OAEG;IACH,gBAAgB,EAAE,CAAC,EAAE,CAAC;IACtB;;OAEG;IACH,uBAAuB,EAAE,MAAM,EAAE,CAAC;CACnC"}
@@ -1,10 +1,28 @@
1
1
  import { LineItem } from './cart';
2
+ /**
3
+ * Represents a refund applied to a line item, including when it was created and the quantity refunded.
4
+ */
2
5
  export interface LineItemRefund {
6
+ /**
7
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp when the refund was created and processed (for example, `"2024-05-15T14:30:00Z"`). This indicates when the refund was initiated and can be used for chronological sorting, refund history displays, or audit trails.
8
+ */
3
9
  createdAt: string;
10
+ /**
11
+ * The number of units refunded in this refund transaction. This must be a positive integer representing how many items were returned to inventory or credited back to the customer. Multiple refunds can exist for the same line item if partial refunds were processed over time.
12
+ */
4
13
  quantity: number;
5
14
  }
15
+ /**
16
+ * Represents a line item from an order, extending the base line item with current quantity and refund information.
17
+ */
6
18
  export interface OrderLineItem extends LineItem {
19
+ /**
20
+ * The current quantity of items that remain with the customer after accounting for refunds. This is calculated as the original `quantity` minus any refunded quantities. For example, if 5 items were ordered and 2 were refunded, `currentQuantity` would be `3`. This value reflects the net quantity the customer kept from this line item.
21
+ */
7
22
  currentQuantity: number;
23
+ /**
24
+ * An array of all refund transactions applied to this line item, ordered chronologically. Each refund entry tracks when the refund occurred and how many units were refunded. Multiple entries indicate partial refunds processed over time. Returns `undefined` or empty array when no refunds have been applied to this line item.
25
+ */
8
26
  refunds?: LineItemRefund[];
9
27
  }
10
28
  //# sourceMappingURL=order.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAEhC,MAAM,WAAW,cAAc;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,WAAW,aAAc,SAAQ,QAAQ;IAE7C,eAAe,EAAE,MAAM,CAAC;IACxB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B"}
1
+ {"version":3,"file":"order.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/order.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,QAAQ,EAAC,MAAM,QAAQ,CAAC;AAEhC;;GAEG;AACH,MAAM,WAAW,cAAc;IAC7B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED;;GAEG;AACH,MAAM,WAAW,aAAc,SAAQ,QAAQ;IAC7C;;OAEG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;CAC5B"}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Contains a page of fetched results.
2
+ * Represents the result of a paginated query. Contains the data items, pagination cursors for navigating pages, and information about whether more results exist.
3
3
  */
4
4
  export interface PaginatedResult<T> {
5
5
  /**
@@ -7,8 +7,7 @@ export interface PaginatedResult<T> {
7
7
  */
8
8
  items: T[];
9
9
  /**
10
- * The cursor of the last item. This can be used to fetch more results.
11
- * The format of this cursor may look different depending on if POS is fetching results from the remote API, or its local database. However, that should not affect its usage with the search functions.
10
+ * The cursor of the last item. This can be used to fetch more results. The format of this cursor may look different depending on if POS is fetching results from the remote API, or its local database. However, that should not affect its usage with the search functions.
12
11
  */
13
12
  lastCursor?: string;
14
13
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"paginated-result.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/paginated-result.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,CAAC,EAAE,CAAC;IAEX;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;CACtB"}
1
+ {"version":3,"file":"paginated-result.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/paginated-result.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe,CAAC,CAAC;IAChC;;OAEG;IACH,KAAK,EAAE,CAAC,EAAE,CAAC;IAEX;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;CACtB"}