@shopify/ui-extensions 2025.10.0-rc.3 → 2025.10.0-rc.31

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 (1189) hide show
  1. package/build/cjs/surfaces/checkout/preact/attributes.js +1 -1
  2. package/build/cjs/surfaces/checkout/shared.js +22 -0
  3. package/build/cjs/surfaces/checkout.js +2 -0
  4. package/build/cjs/surfaces/customer-account/preact/live-navigation.js +0 -2
  5. package/build/cjs/surfaces/customer-account/preact/navigation.js +1 -3
  6. package/build/cjs/surfaces/customer-account/preact/subscription.js +3 -3
  7. package/build/cjs/surfaces/point-of-sale/types/storage.js +13 -0
  8. package/build/cjs/surfaces/point-of-sale.js +9 -0
  9. package/build/esm/surfaces/checkout/preact/attributes.mjs +1 -1
  10. package/build/esm/surfaces/checkout/shared.mjs +18 -0
  11. package/build/esm/surfaces/checkout.mjs +1 -0
  12. package/build/esm/surfaces/customer-account/preact/live-navigation.mjs +0 -2
  13. package/build/esm/surfaces/customer-account/preact/navigation.mjs +1 -3
  14. package/build/esm/surfaces/customer-account/preact/subscription.mjs +3 -3
  15. package/build/esm/surfaces/point-of-sale/types/storage.mjs +9 -0
  16. package/build/esm/surfaces/point-of-sale.mjs +1 -0
  17. package/build/esnext/surfaces/checkout/preact/attributes.esnext +1 -1
  18. package/build/esnext/surfaces/checkout/shared.esnext +18 -0
  19. package/build/esnext/surfaces/checkout.esnext +1 -0
  20. package/build/esnext/surfaces/customer-account/preact/live-navigation.esnext +0 -2
  21. package/build/esnext/surfaces/customer-account/preact/navigation.esnext +1 -3
  22. package/build/esnext/surfaces/customer-account/preact/subscription.esnext +3 -3
  23. package/build/esnext/surfaces/point-of-sale/types/storage.esnext +9 -0
  24. package/build/esnext/surfaces/point-of-sale.esnext +1 -0
  25. package/build/ts/docs/shared/components/Avatar.d.ts +4 -0
  26. package/build/ts/docs/shared/components/Avatar.d.ts.map +1 -0
  27. package/build/ts/docs/shared/components/Badge.d.ts +1 -1
  28. package/build/ts/docs/shared/components/Badge.d.ts.map +1 -1
  29. package/build/ts/docs/shared/components/Banner.d.ts +1 -1
  30. package/build/ts/docs/shared/components/Banner.d.ts.map +1 -1
  31. package/build/ts/docs/shared/components/ButtonGroup.d.ts +4 -0
  32. package/build/ts/docs/shared/components/ButtonGroup.d.ts.map +1 -0
  33. package/build/ts/docs/shared/components/Checkbox.d.ts +1 -1
  34. package/build/ts/docs/shared/components/Checkbox.d.ts.map +1 -1
  35. package/build/ts/docs/shared/components/Chip.d.ts +4 -0
  36. package/build/ts/docs/shared/components/Chip.d.ts.map +1 -0
  37. package/build/ts/docs/shared/components/Choice.d.ts +1 -1
  38. package/build/ts/docs/shared/components/Choice.d.ts.map +1 -1
  39. package/build/ts/docs/shared/components/ChoiceList.d.ts +1 -1
  40. package/build/ts/docs/shared/components/ChoiceList.d.ts.map +1 -1
  41. package/build/ts/docs/shared/components/Clickable.d.ts +1 -1
  42. package/build/ts/docs/shared/components/Clickable.d.ts.map +1 -1
  43. package/build/ts/docs/shared/components/ClickableChip.d.ts +4 -0
  44. package/build/ts/docs/shared/components/ClickableChip.d.ts.map +1 -0
  45. package/build/ts/docs/shared/components/ColorField.d.ts +4 -0
  46. package/build/ts/docs/shared/components/ColorField.d.ts.map +1 -0
  47. package/build/ts/docs/shared/components/ColorPicker.d.ts +4 -0
  48. package/build/ts/docs/shared/components/ColorPicker.d.ts.map +1 -0
  49. package/build/ts/docs/shared/components/DatePicker.d.ts +1 -1
  50. package/build/ts/docs/shared/components/DatePicker.d.ts.map +1 -1
  51. package/build/ts/docs/shared/components/Divider.d.ts +1 -1
  52. package/build/ts/docs/shared/components/Divider.d.ts.map +1 -1
  53. package/build/ts/docs/shared/components/EmailField.d.ts +1 -1
  54. package/build/ts/docs/shared/components/EmailField.d.ts.map +1 -1
  55. package/build/ts/docs/shared/components/Grid.d.ts +1 -1
  56. package/build/ts/docs/shared/components/Grid.d.ts.map +1 -1
  57. package/build/ts/docs/shared/components/GridItem.d.ts +1 -1
  58. package/build/ts/docs/shared/components/GridItem.d.ts.map +1 -1
  59. package/build/ts/docs/shared/components/Map.d.ts +4 -0
  60. package/build/ts/docs/shared/components/Map.d.ts.map +1 -0
  61. package/build/ts/docs/shared/components/MapMarker.d.ts +4 -0
  62. package/build/ts/docs/shared/components/MapMarker.d.ts.map +1 -0
  63. package/build/ts/docs/shared/components/Menu.d.ts +4 -0
  64. package/build/ts/docs/shared/components/Menu.d.ts.map +1 -0
  65. package/build/ts/docs/shared/components/Modal.d.ts +4 -0
  66. package/build/ts/docs/shared/components/Modal.d.ts.map +1 -0
  67. package/build/ts/docs/shared/components/MoneyField.d.ts +1 -1
  68. package/build/ts/docs/shared/components/MoneyField.d.ts.map +1 -1
  69. package/build/ts/docs/shared/components/NumberField.d.ts +1 -1
  70. package/build/ts/docs/shared/components/NumberField.d.ts.map +1 -1
  71. package/build/ts/docs/shared/components/Option.d.ts +4 -0
  72. package/build/ts/docs/shared/components/Option.d.ts.map +1 -0
  73. package/build/ts/docs/shared/components/OptionGroup.d.ts +4 -0
  74. package/build/ts/docs/shared/components/OptionGroup.d.ts.map +1 -0
  75. package/build/ts/docs/shared/components/PasswordField.d.ts +1 -1
  76. package/build/ts/docs/shared/components/PasswordField.d.ts.map +1 -1
  77. package/build/ts/docs/shared/components/PhoneField.d.ts +4 -0
  78. package/build/ts/docs/shared/components/PhoneField.d.ts.map +1 -0
  79. package/build/ts/docs/shared/components/Popover.d.ts +4 -0
  80. package/build/ts/docs/shared/components/Popover.d.ts.map +1 -0
  81. package/build/ts/docs/shared/components/ProductThumbnail.d.ts +4 -0
  82. package/build/ts/docs/shared/components/ProductThumbnail.d.ts.map +1 -0
  83. package/build/ts/docs/shared/components/QueryContainer.d.ts +4 -0
  84. package/build/ts/docs/shared/components/QueryContainer.d.ts.map +1 -0
  85. package/build/ts/docs/shared/components/SearchField.d.ts +1 -1
  86. package/build/ts/docs/shared/components/SearchField.d.ts.map +1 -1
  87. package/build/ts/docs/shared/components/Section.d.ts +1 -1
  88. package/build/ts/docs/shared/components/Section.d.ts.map +1 -1
  89. package/build/ts/docs/shared/components/Select.d.ts +1 -1
  90. package/build/ts/docs/shared/components/Select.d.ts.map +1 -1
  91. package/build/ts/docs/shared/components/Switch.d.ts +1 -1
  92. package/build/ts/docs/shared/components/Switch.d.ts.map +1 -1
  93. package/build/ts/docs/shared/components/Table.d.ts +1 -1
  94. package/build/ts/docs/shared/components/Table.d.ts.map +1 -1
  95. package/build/ts/docs/shared/components/TableBody.d.ts +1 -1
  96. package/build/ts/docs/shared/components/TableBody.d.ts.map +1 -1
  97. package/build/ts/docs/shared/components/TableCell.d.ts +1 -1
  98. package/build/ts/docs/shared/components/TableCell.d.ts.map +1 -1
  99. package/build/ts/docs/shared/components/TableHeader.d.ts +1 -1
  100. package/build/ts/docs/shared/components/TableHeader.d.ts.map +1 -1
  101. package/build/ts/docs/shared/components/TableHeaderRow.d.ts +1 -1
  102. package/build/ts/docs/shared/components/TableHeaderRow.d.ts.map +1 -1
  103. package/build/ts/docs/shared/components/TableRow.d.ts +1 -1
  104. package/build/ts/docs/shared/components/TableRow.d.ts.map +1 -1
  105. package/build/ts/docs/shared/components/TextArea.d.ts +1 -1
  106. package/build/ts/docs/shared/components/TextArea.d.ts.map +1 -1
  107. package/build/ts/docs/shared/components/Thumbnail.d.ts +4 -0
  108. package/build/ts/docs/shared/components/Thumbnail.d.ts.map +1 -0
  109. package/build/ts/docs/shared/components/Tooltip.d.ts +4 -0
  110. package/build/ts/docs/shared/components/Tooltip.d.ts.map +1 -0
  111. package/build/ts/docs/shared/components/URLField.d.ts +1 -1
  112. package/build/ts/docs/shared/components/URLField.d.ts.map +1 -1
  113. package/build/ts/docs/shared/docs-type.d.ts +3 -2
  114. package/build/ts/docs/shared/docs-type.d.ts.map +1 -1
  115. package/build/ts/shared.d.ts +23 -0
  116. package/build/ts/shared.d.ts.map +1 -1
  117. package/build/ts/surfaces/admin/api/should-render/should-render.doc.d.ts.map +1 -1
  118. package/build/ts/surfaces/admin/api/standard/standard.d.ts +6 -1
  119. package/build/ts/surfaces/admin/api/standard/standard.d.ts.map +1 -1
  120. package/build/ts/surfaces/admin/api/standard/storage.d.ts +70 -0
  121. package/build/ts/surfaces/admin/api/standard/storage.d.ts.map +1 -0
  122. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  123. package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.ext.doc.d.ts.map +1 -1
  124. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  125. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  126. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts +4 -0
  127. package/build/ts/surfaces/admin/components/Avatar/Avatar.doc.d.ts.map +1 -0
  128. package/build/ts/surfaces/admin/components/Avatar.d.ts +133 -0
  129. package/build/ts/surfaces/admin/components/Badge.d.ts +21 -7
  130. package/build/ts/surfaces/admin/components/Banner.d.ts +21 -16
  131. package/build/ts/surfaces/admin/components/Box.d.ts +35 -26
  132. package/build/ts/surfaces/admin/components/Button.d.ts +34 -20
  133. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
  134. package/build/ts/surfaces/admin/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
  135. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +117 -0
  136. package/build/ts/surfaces/admin/components/Checkbox.d.ts +22 -12
  137. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts +4 -0
  138. package/build/ts/surfaces/admin/components/Chip/Chip.doc.d.ts.map +1 -0
  139. package/build/ts/surfaces/admin/components/Chip.d.ts +120 -0
  140. package/build/ts/surfaces/admin/components/Choice.d.ts +39 -9
  141. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  142. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +21 -16
  143. package/build/ts/surfaces/admin/components/Clickable.d.ts +49 -39
  144. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts +4 -0
  145. package/build/ts/surfaces/admin/components/ClickableChip/ClickableChip.doc.d.ts.map +1 -0
  146. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +151 -0
  147. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts +4 -0
  148. package/build/ts/surfaces/admin/components/ColorField/ColorField.doc.d.ts.map +1 -0
  149. package/build/ts/surfaces/admin/components/ColorField.d.ts +238 -0
  150. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
  151. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
  152. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +132 -0
  153. package/build/ts/surfaces/admin/components/DatePicker.d.ts +18 -35
  154. package/build/ts/surfaces/admin/components/Divider.d.ts +12 -5
  155. package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts +4 -0
  156. package/build/ts/surfaces/admin/components/DropZone/DropZone.ab.doc.d.ts.map +1 -0
  157. package/build/ts/surfaces/admin/components/DropZone.d.ts +160 -0
  158. package/build/ts/surfaces/admin/components/EmailField.d.ts +15 -15
  159. package/build/ts/surfaces/admin/components/Form/Form.ext.doc.d.ts.map +1 -1
  160. package/build/ts/surfaces/admin/components/Form.d.ts +43 -35
  161. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +183 -0
  162. package/build/ts/surfaces/admin/components/Grid.d.ts +42 -33
  163. package/build/ts/surfaces/admin/components/GridItem.d.ts +36 -26
  164. package/build/ts/surfaces/admin/components/Heading.d.ts +17 -6
  165. package/build/ts/surfaces/admin/components/Icon.d.ts +17 -6
  166. package/build/ts/surfaces/admin/components/Image.d.ts +34 -42
  167. package/build/ts/surfaces/admin/components/Link.d.ts +35 -29
  168. package/build/ts/surfaces/admin/components/ListItem.d.ts +18 -6
  169. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts +4 -0
  170. package/build/ts/surfaces/admin/components/Menu/Menu.doc.d.ts.map +1 -0
  171. package/build/ts/surfaces/admin/components/Menu.d.ts +133 -0
  172. package/build/ts/surfaces/admin/components/MoneyField.d.ts +16 -18
  173. package/build/ts/surfaces/admin/components/NumberField.d.ts +15 -15
  174. package/build/ts/surfaces/admin/components/Option.d.ts +17 -5
  175. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +18 -5
  176. package/build/ts/surfaces/admin/components/OrderedList.d.ts +18 -6
  177. package/build/ts/surfaces/admin/components/Page.d.ts +38 -6
  178. package/build/ts/surfaces/admin/components/Paragraph.d.ts +18 -6
  179. package/build/ts/surfaces/admin/components/PasswordField.d.ts +15 -15
  180. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts +4 -0
  181. package/build/ts/surfaces/admin/components/Popover/Popover.ab.doc.d.ts.map +1 -0
  182. package/build/ts/surfaces/admin/components/Popover.d.ts +379 -0
  183. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts +4 -0
  184. package/build/ts/surfaces/admin/components/QueryContainer/QueryContainer.doc.d.ts.map +1 -0
  185. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +106 -0
  186. package/build/ts/surfaces/admin/components/SearchField.d.ts +18 -16
  187. package/build/ts/surfaces/admin/components/Section.d.ts +17 -6
  188. package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
  189. package/build/ts/surfaces/admin/components/Select.d.ts +20 -16
  190. package/build/ts/surfaces/admin/components/Spinner.d.ts +12 -2
  191. package/build/ts/surfaces/admin/components/Stack.d.ts +53 -43
  192. package/build/ts/surfaces/admin/components/StandardComponents.d.ts +1 -1
  193. package/build/ts/surfaces/admin/components/StandardComponents.d.ts.map +1 -1
  194. package/build/ts/surfaces/admin/components/Switch.d.ts +16 -12
  195. package/build/ts/surfaces/admin/components/Table.d.ts +27 -16
  196. package/build/ts/surfaces/admin/components/TableBody.d.ts +18 -6
  197. package/build/ts/surfaces/admin/components/TableCell.d.ts +34 -7
  198. package/build/ts/surfaces/admin/components/TableHeader.d.ts +24 -6
  199. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
  200. package/build/ts/surfaces/admin/components/TableRow.d.ts +21 -7
  201. package/build/ts/surfaces/admin/components/Text.d.ts +19 -6
  202. package/build/ts/surfaces/admin/components/TextArea.d.ts +15 -15
  203. package/build/ts/surfaces/admin/components/TextField.d.ts +17 -15
  204. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts +4 -0
  205. package/build/ts/surfaces/admin/components/Thumbnail/Thumbnail.doc.d.ts.map +1 -0
  206. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +127 -0
  207. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts +4 -0
  208. package/build/ts/surfaces/admin/components/Tooltip/Tooltip.doc.d.ts.map +1 -0
  209. package/build/ts/surfaces/admin/components/Tooltip.d.ts +141 -0
  210. package/build/ts/surfaces/admin/components/URLField.d.ts +15 -15
  211. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +18 -6
  212. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts +4 -0
  213. package/build/ts/surfaces/admin/components/patterns/details.ab.doc.d.ts.map +1 -0
  214. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts +4 -0
  215. package/build/ts/surfaces/admin/components/patterns/homepage.ab.doc.d.ts.map +1 -0
  216. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts +4 -0
  217. package/build/ts/surfaces/admin/components/patterns/index.ab.doc.d.ts.map +1 -0
  218. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts +4 -0
  219. package/build/ts/surfaces/admin/components/patterns/settings.ab.doc.d.ts.map +1 -0
  220. package/build/ts/surfaces/admin/components/shared.d.ts +953 -597
  221. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.render.d.ts +50 -3083
  222. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.action.should-render.d.ts +1 -3
  223. package/build/ts/surfaces/admin/targets/admin.abandoned-checkout-details.block.render.d.ts +51 -3125
  224. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.render.d.ts +50 -3083
  225. package/build/ts/surfaces/admin/targets/admin.catalog-details.action.should-render.d.ts +1 -3
  226. package/build/ts/surfaces/admin/targets/admin.catalog-details.block.render.d.ts +51 -3125
  227. package/build/ts/surfaces/admin/targets/admin.collection-details.action.render.d.ts +50 -3083
  228. package/build/ts/surfaces/admin/targets/admin.collection-details.action.should-render.d.ts +1 -3
  229. package/build/ts/surfaces/admin/targets/admin.collection-details.block.render.d.ts +51 -3125
  230. package/build/ts/surfaces/admin/targets/admin.collection-index.action.render.d.ts +50 -3083
  231. package/build/ts/surfaces/admin/targets/admin.collection-index.action.should-render.d.ts +1 -3
  232. package/build/ts/surfaces/admin/targets/admin.company-details.action.render.d.ts +50 -3083
  233. package/build/ts/surfaces/admin/targets/admin.company-details.action.should-render.d.ts +1 -3
  234. package/build/ts/surfaces/admin/targets/admin.company-details.block.render.d.ts +51 -3125
  235. package/build/ts/surfaces/admin/targets/admin.company-location-details.block.render.d.ts +51 -3125
  236. package/build/ts/surfaces/admin/targets/admin.customer-details.action.render.d.ts +50 -3083
  237. package/build/ts/surfaces/admin/targets/admin.customer-details.action.should-render.d.ts +1 -3
  238. package/build/ts/surfaces/admin/targets/admin.customer-details.block.render.d.ts +51 -3125
  239. package/build/ts/surfaces/admin/targets/admin.customer-index.action.render.d.ts +50 -3083
  240. package/build/ts/surfaces/admin/targets/admin.customer-index.action.should-render.d.ts +1 -3
  241. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.render.d.ts +50 -3083
  242. package/build/ts/surfaces/admin/targets/admin.customer-index.selection-action.should-render.d.ts +1 -3
  243. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.render.d.ts +50 -3083
  244. package/build/ts/surfaces/admin/targets/admin.customer-segment-details.action.should-render.d.ts +1 -3
  245. package/build/ts/surfaces/admin/targets/admin.customers.segmentation-templates.render.d.ts +49 -3032
  246. package/build/ts/surfaces/admin/targets/admin.discount-details.action.render.d.ts +50 -3083
  247. package/build/ts/surfaces/admin/targets/admin.discount-details.action.should-render.d.ts +1 -3
  248. package/build/ts/surfaces/admin/targets/admin.discount-details.function-settings.render.d.ts +51 -3125
  249. package/build/ts/surfaces/admin/targets/admin.discount-index.action.render.d.ts +50 -3083
  250. package/build/ts/surfaces/admin/targets/admin.discount-index.action.should-render.d.ts +1 -3
  251. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.render.d.ts +50 -3083
  252. package/build/ts/surfaces/admin/targets/admin.draft-order-details.action.should-render.d.ts +1 -3
  253. package/build/ts/surfaces/admin/targets/admin.draft-order-details.block.render.d.ts +51 -3125
  254. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.render.d.ts +50 -3083
  255. package/build/ts/surfaces/admin/targets/admin.draft-order-index.action.should-render.d.ts +1 -3
  256. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.render.d.ts +50 -3083
  257. package/build/ts/surfaces/admin/targets/admin.draft-order-index.selection-action.should-render.d.ts +1 -3
  258. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.render.d.ts +50 -3083
  259. package/build/ts/surfaces/admin/targets/admin.gift-card-details.action.should-render.d.ts +1 -3
  260. package/build/ts/surfaces/admin/targets/admin.gift-card-details.block.render.d.ts +51 -3125
  261. package/build/ts/surfaces/admin/targets/admin.order-details.action.render.d.ts +50 -3083
  262. package/build/ts/surfaces/admin/targets/admin.order-details.action.should-render.d.ts +1 -3
  263. package/build/ts/surfaces/admin/targets/admin.order-details.block.render.d.ts +51 -3125
  264. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.render.d.ts +50 -3072
  265. package/build/ts/surfaces/admin/targets/admin.order-details.print-action.should-render.d.ts +1 -3
  266. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.render.d.ts +50 -3083
  267. package/build/ts/surfaces/admin/targets/admin.order-fulfilled-card.action.should-render.d.ts +1 -3
  268. package/build/ts/surfaces/admin/targets/admin.order-index.action.render.d.ts +50 -3083
  269. package/build/ts/surfaces/admin/targets/admin.order-index.action.should-render.d.ts +1 -3
  270. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.render.d.ts +50 -3083
  271. package/build/ts/surfaces/admin/targets/admin.order-index.selection-action.should-render.d.ts +1 -3
  272. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.render.d.ts +50 -3072
  273. package/build/ts/surfaces/admin/targets/admin.order-index.selection-print-action.should-render.d.ts +1 -3
  274. package/build/ts/surfaces/admin/targets/admin.product-details.action.render.d.ts +50 -3083
  275. package/build/ts/surfaces/admin/targets/admin.product-details.action.should-render.d.ts +1 -3
  276. package/build/ts/surfaces/admin/targets/admin.product-details.block.render.d.ts +51 -3125
  277. package/build/ts/surfaces/admin/targets/admin.product-details.configuration.render.d.ts +51 -3125
  278. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.render.d.ts +50 -3072
  279. package/build/ts/surfaces/admin/targets/admin.product-details.print-action.should-render.d.ts +1 -3
  280. package/build/ts/surfaces/admin/targets/admin.product-details.reorder.render.d.ts +51 -3125
  281. package/build/ts/surfaces/admin/targets/admin.product-index.action.render.d.ts +50 -3083
  282. package/build/ts/surfaces/admin/targets/admin.product-index.action.should-render.d.ts +1 -3
  283. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.render.d.ts +50 -3083
  284. package/build/ts/surfaces/admin/targets/admin.product-index.selection-action.should-render.d.ts +1 -3
  285. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.render.d.ts +50 -3072
  286. package/build/ts/surfaces/admin/targets/admin.product-index.selection-print-action.should-render.d.ts +1 -3
  287. package/build/ts/surfaces/admin/targets/admin.product-purchase-option.action.render.d.ts +50 -3083
  288. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.render.d.ts +50 -3083
  289. package/build/ts/surfaces/admin/targets/admin.product-variant-details.action.should-render.d.ts +1 -3
  290. package/build/ts/surfaces/admin/targets/admin.product-variant-details.block.render.d.ts +51 -3125
  291. package/build/ts/surfaces/admin/targets/admin.product-variant-details.configuration.render.d.ts +51 -3125
  292. package/build/ts/surfaces/admin/targets/admin.product-variant-purchase-option.action.render.d.ts +50 -3083
  293. package/build/ts/surfaces/admin/targets/admin.settings.internal-order-routing-rule.render.d.ts +49 -3032
  294. package/build/ts/surfaces/admin/targets/admin.settings.order-routing-rule.render.d.ts +49 -3032
  295. package/build/ts/surfaces/admin/targets/admin.settings.validation.render.d.ts +49 -3032
  296. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts +1 -1
  297. package/build/ts/surfaces/checkout/api/cart-line/cart-line-item.d.ts.map +1 -1
  298. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +18 -2
  299. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts.map +1 -1
  300. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts +1 -1
  301. package/build/ts/surfaces/checkout/api/order-confirmation/order-confirmation.d.ts.map +1 -1
  302. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +1 -1
  303. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  304. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts +1 -1
  305. package/build/ts/surfaces/checkout/api/pickup/pickup-location-item.d.ts.map +1 -1
  306. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts +1 -1
  307. package/build/ts/surfaces/checkout/api/pickup/pickup-location-list.d.ts.map +1 -1
  308. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts +1 -1
  309. package/build/ts/surfaces/checkout/api/pickup/pickup-point-list.d.ts.map +1 -1
  310. package/build/ts/surfaces/checkout/api/shared.d.ts +4 -0
  311. package/build/ts/surfaces/checkout/api/shared.d.ts.map +1 -1
  312. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts +1 -1
  313. package/build/ts/surfaces/checkout/api/shipping/shipping-option-item.d.ts.map +1 -1
  314. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +1 -1
  315. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -1
  316. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +21 -3
  317. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  318. package/build/ts/surfaces/checkout/components/Abbreviation/Abbreviation.doc.d.ts.map +1 -1
  319. package/build/ts/surfaces/checkout/components/Abbreviation.d.ts +21 -9
  320. package/build/ts/surfaces/checkout/components/Badge.d.ts +56 -0
  321. package/build/ts/surfaces/checkout/components/Banner/Banner.doc.d.ts.map +1 -1
  322. package/build/ts/surfaces/checkout/components/Banner.d.ts +55 -13
  323. package/build/ts/surfaces/checkout/components/Box/Box.doc.d.ts.map +1 -1
  324. package/build/ts/surfaces/checkout/components/Box.d.ts +20 -9
  325. package/build/ts/surfaces/checkout/components/Button/Button.doc.d.ts.map +1 -1
  326. package/build/ts/surfaces/checkout/components/Button.d.ts +44 -13
  327. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts +4 -0
  328. package/build/ts/surfaces/checkout/components/Checkbox/Checkbox.doc.d.ts.map +1 -0
  329. package/build/ts/surfaces/checkout/components/Checkbox.d.ts +60 -0
  330. package/build/ts/surfaces/checkout/components/Clickable.d.ts +89 -0
  331. package/build/ts/surfaces/checkout/components/ClipboardItem/ClipboardItem.doc.d.ts.map +1 -1
  332. package/build/ts/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
  333. package/build/ts/surfaces/checkout/components/Details.d.ts +72 -0
  334. package/build/ts/surfaces/checkout/components/Divider.d.ts +31 -0
  335. package/build/ts/surfaces/checkout/components/DropZone/DropZone.doc.d.ts.map +1 -1
  336. package/build/ts/surfaces/checkout/components/DropZone.d.ts +39 -9
  337. package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts +4 -0
  338. package/build/ts/surfaces/checkout/components/EmailField/EmailField.doc.d.ts.map +1 -0
  339. package/build/ts/surfaces/checkout/components/EmailField.d.ts +85 -0
  340. package/build/ts/surfaces/checkout/components/Form/Form.doc.d.ts.map +1 -1
  341. package/build/ts/surfaces/checkout/components/Form.d.ts +40 -12
  342. package/build/ts/surfaces/checkout/components/Grid.d.ts +64 -0
  343. package/build/ts/surfaces/checkout/components/GridItem.d.ts +54 -0
  344. package/build/ts/surfaces/checkout/components/Heading/Heading.doc.d.ts.map +1 -1
  345. package/build/ts/surfaces/checkout/components/Heading.d.ts +20 -8
  346. package/build/ts/surfaces/checkout/components/Icon/Icon.doc.d.ts.map +1 -1
  347. package/build/ts/surfaces/checkout/components/Icon.d.ts +22 -9
  348. package/build/ts/surfaces/checkout/components/Image/Image.doc.d.ts.map +1 -1
  349. package/build/ts/surfaces/checkout/components/Image.d.ts +13 -7
  350. package/build/ts/surfaces/checkout/components/Link/Link.doc.d.ts.map +1 -1
  351. package/build/ts/surfaces/checkout/components/Link.d.ts +44 -13
  352. package/build/ts/surfaces/checkout/components/ListItem.d.ts +22 -10
  353. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
  354. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
  355. package/build/ts/surfaces/checkout/components/Map.d.ts +78 -0
  356. package/build/ts/surfaces/checkout/components/MapMarker.d.ts +77 -0
  357. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts +4 -0
  358. package/build/ts/surfaces/checkout/components/Modal/Modal.doc.d.ts.map +1 -0
  359. package/build/ts/surfaces/checkout/components/Modal.d.ts +90 -0
  360. package/build/ts/surfaces/checkout/components/NumberField.d.ts +85 -0
  361. package/build/ts/surfaces/checkout/components/Option.d.ts +46 -0
  362. package/build/ts/surfaces/checkout/components/OrderedList/OrderedList.doc.d.ts.map +1 -1
  363. package/build/ts/surfaces/checkout/components/OrderedList.d.ts +20 -8
  364. package/build/ts/surfaces/checkout/components/Paragraph/Paragraph.doc.d.ts.map +1 -1
  365. package/build/ts/surfaces/checkout/components/Paragraph.d.ts +20 -8
  366. package/build/ts/surfaces/checkout/components/PasswordField.d.ts +84 -0
  367. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -1
  368. package/build/ts/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
  369. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts +4 -0
  370. package/build/ts/surfaces/checkout/components/PhoneField/PhoneField.doc.d.ts.map +1 -0
  371. package/build/ts/surfaces/checkout/components/PhoneField.d.ts +100 -0
  372. package/build/ts/surfaces/checkout/components/Popover.d.ts +68 -0
  373. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
  374. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
  375. package/build/ts/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
  376. package/build/ts/surfaces/checkout/components/Progress/Progress.doc.d.ts.map +1 -1
  377. package/build/ts/surfaces/checkout/components/Progress.d.ts +14 -4
  378. package/build/ts/surfaces/checkout/components/QRCode/QRCode.doc.d.ts.map +1 -1
  379. package/build/ts/surfaces/checkout/components/QRCode.d.ts +35 -8
  380. package/build/ts/surfaces/checkout/components/ScrollBox.d.ts +54 -0
  381. package/build/ts/surfaces/checkout/components/Section/Section.doc.d.ts.map +1 -1
  382. package/build/ts/surfaces/checkout/components/Section.d.ts +20 -8
  383. package/build/ts/surfaces/checkout/components/Select.d.ts +79 -0
  384. package/build/ts/surfaces/checkout/components/Sheet.d.ts +94 -0
  385. package/build/ts/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
  386. package/build/ts/surfaces/checkout/components/Spinner/Spinner.doc.d.ts.map +1 -1
  387. package/build/ts/surfaces/checkout/components/Spinner.d.ts +14 -4
  388. package/build/ts/surfaces/checkout/components/Stack/Stack.doc.d.ts.map +1 -1
  389. package/build/ts/surfaces/checkout/components/Stack.d.ts +20 -9
  390. package/build/ts/surfaces/checkout/components/Summary.d.ts +35 -0
  391. package/build/ts/surfaces/checkout/components/Switch.d.ts +60 -0
  392. package/build/ts/surfaces/checkout/components/Text/Text.doc.d.ts.map +1 -1
  393. package/build/ts/surfaces/checkout/components/Text.d.ts +20 -8
  394. package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts +4 -0
  395. package/build/ts/surfaces/checkout/components/TextArea/TextArea.doc.d.ts.map +1 -0
  396. package/build/ts/surfaces/checkout/components/TextArea.d.ts +85 -0
  397. package/build/ts/surfaces/checkout/components/TextField/TextField.doc.d.ts.map +1 -1
  398. package/build/ts/surfaces/checkout/components/TextField.d.ts +88 -21
  399. package/build/ts/surfaces/checkout/components/Time/Time.doc.d.ts.map +1 -1
  400. package/build/ts/surfaces/checkout/components/Time.d.ts +21 -9
  401. package/build/ts/surfaces/checkout/components/UnorderedList/UnorderedList.doc.d.ts.map +1 -1
  402. package/build/ts/surfaces/checkout/components/UnorderedList.d.ts +20 -8
  403. package/build/ts/surfaces/checkout/components/UrlField.d.ts +84 -0
  404. package/build/ts/surfaces/checkout/components/components-shared.d.ts +853 -85
  405. package/build/ts/surfaces/checkout/components/components.d.ts +1683 -244
  406. package/build/ts/surfaces/checkout/extension-targets.d.ts +4 -0
  407. package/build/ts/surfaces/checkout/extension-targets.d.ts.map +1 -1
  408. package/build/ts/surfaces/checkout/preact/attributes.d.ts +1 -1
  409. package/build/ts/surfaces/checkout/preact/attributes.d.ts.map +1 -1
  410. package/build/ts/surfaces/checkout/preact/subscription.d.ts +1 -1
  411. package/build/ts/surfaces/checkout/preact/subscription.d.ts.map +1 -1
  412. package/build/ts/surfaces/checkout/shared.d.ts +8 -3
  413. package/build/ts/surfaces/checkout/shared.d.ts.map +1 -1
  414. package/build/ts/surfaces/checkout/targets/Checkout::Actions::RenderBefore.d.ts +49 -549
  415. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderAfter.d.ts +49 -549
  416. package/build/ts/surfaces/checkout/targets/Checkout::CartLineDetails::RenderLineComponents.d.ts +49 -549
  417. package/build/ts/surfaces/checkout/targets/Checkout::CartLines::RenderAfter.d.ts +49 -549
  418. package/build/ts/surfaces/checkout/targets/Checkout::Contact::RenderAfter.d.ts +49 -549
  419. package/build/ts/surfaces/checkout/targets/Checkout::CustomerInformation::RenderAfter.d.ts +49 -549
  420. package/build/ts/surfaces/checkout/targets/Checkout::DeliveryAddress::RenderBefore.d.ts +49 -549
  421. package/build/ts/surfaces/checkout/targets/Checkout::Dynamic::Render.d.ts +49 -549
  422. package/build/ts/surfaces/checkout/targets/Checkout::GiftCard::Render.d.ts +47 -494
  423. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::HostedFields::RenderAfter.d.ts +47 -494
  424. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::Render.d.ts +47 -494
  425. package/build/ts/surfaces/checkout/targets/Checkout::PaymentMethod::RenderRequiredAction.d.ts +49 -549
  426. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderAfter.d.ts +49 -549
  427. package/build/ts/surfaces/checkout/targets/Checkout::PickupLocations::RenderBefore.d.ts +49 -549
  428. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderAfter.d.ts +49 -549
  429. package/build/ts/surfaces/checkout/targets/Checkout::PickupPoints::RenderBefore.d.ts +49 -549
  430. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderAfter.d.ts +49 -549
  431. package/build/ts/surfaces/checkout/targets/Checkout::Reductions::RenderBefore.d.ts +49 -549
  432. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderAfter.d.ts +49 -549
  433. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethodDetails::RenderExpanded.d.ts +49 -549
  434. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderAfter.d.ts +49 -549
  435. package/build/ts/surfaces/checkout/targets/Checkout::ShippingMethods::RenderBefore.d.ts +49 -549
  436. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLineDetails::RenderAfter.d.ts +49 -549
  437. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CartLines::RenderAfter.d.ts +49 -549
  438. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::CustomerInformation::RenderAfter.d.ts +49 -549
  439. package/build/ts/surfaces/checkout/targets/Checkout::ThankYou::Dynamic::Render.d.ts +49 -549
  440. package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.format-suggestion.d.ts +1 -3
  441. package/build/ts/surfaces/checkout/targets/purchase.address-autocomplete.suggest.d.ts +1 -3
  442. package/build/ts/surfaces/checkout/targets/purchase.cart-line-item.line-components.render.d.ts +49 -549
  443. package/build/ts/surfaces/checkout/targets/purchase.checkout.actions.render-before.d.ts +49 -549
  444. package/build/ts/surfaces/checkout/targets/purchase.checkout.block.render.d.ts +49 -549
  445. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-item.render-after.d.ts +49 -549
  446. package/build/ts/surfaces/checkout/targets/purchase.checkout.cart-line-list.render-after.d.ts +49 -549
  447. package/build/ts/surfaces/checkout/targets/purchase.checkout.chat.render.d.ts +1 -3
  448. package/build/ts/surfaces/checkout/targets/purchase.checkout.contact.render-after.d.ts +49 -549
  449. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-after.d.ts +49 -549
  450. package/build/ts/surfaces/checkout/targets/purchase.checkout.delivery-address.render-before.d.ts +49 -549
  451. package/build/ts/surfaces/checkout/targets/purchase.checkout.footer.render-after.d.ts +49 -549
  452. package/build/ts/surfaces/checkout/targets/purchase.checkout.gift-card.render.d.ts +47 -494
  453. package/build/ts/surfaces/checkout/targets/purchase.checkout.header.render-after.d.ts +49 -549
  454. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-after.d.ts +49 -549
  455. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-method-list.render-before.d.ts +49 -549
  456. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.action-required.render.d.ts +49 -549
  457. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.details.render.d.ts +47 -494
  458. package/build/ts/surfaces/checkout/targets/purchase.checkout.payment-option-item.hosted-fields.render-after.d.ts +49 -549
  459. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-after.d.ts +49 -549
  460. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-list.render-before.d.ts +49 -549
  461. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-location-option-item.render-after.d.ts +49 -549
  462. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-after.d.ts +49 -549
  463. package/build/ts/surfaces/checkout/targets/purchase.checkout.pickup-point-list.render-before.d.ts +49 -549
  464. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-after.d.ts +49 -549
  465. package/build/ts/surfaces/checkout/targets/purchase.checkout.reductions.render-before.d.ts +49 -549
  466. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.details.render.d.ts +49 -549
  467. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-item.render-after.d.ts +49 -549
  468. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-after.d.ts +49 -549
  469. package/build/ts/surfaces/checkout/targets/purchase.checkout.shipping-option-list.render-before.d.ts +49 -549
  470. package/build/ts/surfaces/checkout/targets/purchase.thank-you.announcement.render.d.ts +54 -0
  471. package/build/ts/surfaces/checkout/targets/purchase.thank-you.block.render.d.ts +49 -549
  472. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-item.render-after.d.ts +49 -549
  473. package/build/ts/surfaces/checkout/targets/purchase.thank-you.cart-line-list.render-after.d.ts +49 -549
  474. package/build/ts/surfaces/checkout/targets/purchase.thank-you.chat.render.d.ts +1 -3
  475. package/build/ts/surfaces/checkout/targets/purchase.thank-you.customer-information.render-after.d.ts +49 -549
  476. package/build/ts/surfaces/checkout/targets/purchase.thank-you.footer.render-after.d.ts +49 -549
  477. package/build/ts/surfaces/checkout/targets/purchase.thank-you.header.render-after.d.ts +49 -549
  478. package/build/ts/surfaces/checkout.d.ts +1 -1
  479. package/build/ts/surfaces/checkout.d.ts.map +1 -1
  480. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
  481. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
  482. package/build/ts/surfaces/customer-account/api/docs.d.ts +46 -17
  483. package/build/ts/surfaces/customer-account/api/docs.d.ts.map +1 -1
  484. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -42
  485. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  486. package/build/ts/surfaces/customer-account/api/shared.d.ts +53 -46
  487. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  488. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +38 -23
  489. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  490. package/build/ts/surfaces/customer-account/api.d.ts +2 -2
  491. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  492. package/build/ts/surfaces/customer-account/components/Abbreviation.d.ts +21 -9
  493. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts +4 -0
  494. package/build/ts/surfaces/customer-account/components/Avatar/Avatar.doc.d.ts.map +1 -0
  495. package/build/ts/surfaces/customer-account/components/Avatar.d.ts +92 -0
  496. package/build/ts/surfaces/customer-account/components/Badge.d.ts +56 -0
  497. package/build/ts/surfaces/customer-account/components/Banner.d.ts +55 -13
  498. package/build/ts/surfaces/customer-account/components/Box.d.ts +20 -9
  499. package/build/ts/surfaces/customer-account/components/Button.d.ts +44 -13
  500. package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts +4 -0
  501. package/build/ts/surfaces/customer-account/components/ButtonGroup/ButtonGroup.doc.d.ts.map +1 -0
  502. package/build/ts/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
  503. package/build/ts/surfaces/customer-account/components/Checkbox.d.ts +60 -0
  504. package/build/ts/surfaces/customer-account/components/Clickable.d.ts +89 -0
  505. package/build/ts/surfaces/customer-account/components/ClipboardItem.d.ts +39 -9
  506. package/build/ts/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
  507. package/build/ts/surfaces/customer-account/components/Details.d.ts +72 -0
  508. package/build/ts/surfaces/customer-account/components/Divider.d.ts +31 -0
  509. package/build/ts/surfaces/customer-account/components/DropZone.d.ts +39 -9
  510. package/build/ts/surfaces/customer-account/components/EmailField.d.ts +85 -0
  511. package/build/ts/surfaces/customer-account/components/Form.d.ts +40 -12
  512. package/build/ts/surfaces/customer-account/components/Grid.d.ts +64 -0
  513. package/build/ts/surfaces/customer-account/components/GridItem.d.ts +54 -0
  514. package/build/ts/surfaces/customer-account/components/Heading.d.ts +20 -8
  515. package/build/ts/surfaces/customer-account/components/Icon.d.ts +22 -9
  516. package/build/ts/surfaces/customer-account/components/Image.d.ts +13 -7
  517. package/build/ts/surfaces/customer-account/components/ImageGroup/ImageGroup.doc.d.ts.map +1 -1
  518. package/build/ts/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
  519. package/build/ts/surfaces/customer-account/components/Link.d.ts +44 -13
  520. package/build/ts/surfaces/customer-account/components/ListItem.d.ts +22 -10
  521. package/build/ts/surfaces/customer-account/components/Map.d.ts +78 -0
  522. package/build/ts/surfaces/customer-account/components/MapMarker.d.ts +77 -0
  523. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts +4 -0
  524. package/build/ts/surfaces/customer-account/components/Menu/Menu.doc.d.ts.map +1 -0
  525. package/build/ts/surfaces/customer-account/components/Menu.d.ts +25 -0
  526. package/build/ts/surfaces/customer-account/components/Modal.d.ts +90 -0
  527. package/build/ts/surfaces/customer-account/components/NumberField.d.ts +85 -0
  528. package/build/ts/surfaces/customer-account/components/Option.d.ts +46 -0
  529. package/build/ts/surfaces/customer-account/components/OrderedList.d.ts +20 -8
  530. package/build/ts/surfaces/customer-account/components/Page/Page.doc.d.ts.map +1 -1
  531. package/build/ts/surfaces/customer-account/components/Page.d.ts +19 -6
  532. package/build/ts/surfaces/customer-account/components/Paragraph.d.ts +20 -8
  533. package/build/ts/surfaces/customer-account/components/PasswordField.d.ts +84 -0
  534. package/build/ts/surfaces/customer-account/components/PaymentIcon.d.ts +14 -7
  535. package/build/ts/surfaces/customer-account/components/PhoneField.d.ts +100 -0
  536. package/build/ts/surfaces/customer-account/components/Popover.d.ts +68 -0
  537. package/build/ts/surfaces/customer-account/components/ProductThumbnail.d.ts +41 -0
  538. package/build/ts/surfaces/customer-account/components/Progress.d.ts +14 -4
  539. package/build/ts/surfaces/customer-account/components/QRCode.d.ts +35 -8
  540. package/build/ts/surfaces/customer-account/components/ScrollBox.d.ts +54 -0
  541. package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts +4 -0
  542. package/build/ts/surfaces/customer-account/components/Section/Section.doc.d.ts.map +1 -0
  543. package/build/ts/surfaces/customer-account/components/Section.d.ts +20 -8
  544. package/build/ts/surfaces/customer-account/components/Select.d.ts +79 -0
  545. package/build/ts/surfaces/customer-account/components/Sheet.d.ts +94 -0
  546. package/build/ts/surfaces/customer-account/components/SkeletonParagraph.d.ts +40 -0
  547. package/build/ts/surfaces/customer-account/components/Spinner.d.ts +14 -4
  548. package/build/ts/surfaces/customer-account/components/Stack.d.ts +20 -9
  549. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts +1 -1
  550. package/build/ts/surfaces/customer-account/components/StandardComponents.d.ts.map +1 -1
  551. package/build/ts/surfaces/customer-account/components/Summary.d.ts +35 -0
  552. package/build/ts/surfaces/customer-account/components/Switch.d.ts +60 -0
  553. package/build/ts/surfaces/customer-account/components/Text.d.ts +20 -8
  554. package/build/ts/surfaces/customer-account/components/TextArea.d.ts +85 -0
  555. package/build/ts/surfaces/customer-account/components/TextField.d.ts +88 -21
  556. package/build/ts/surfaces/customer-account/components/Time.d.ts +21 -9
  557. package/build/ts/surfaces/customer-account/components/UnorderedList.d.ts +20 -8
  558. package/build/ts/surfaces/customer-account/components/UrlField.d.ts +84 -0
  559. package/build/ts/surfaces/customer-account/components/components-shared.d.ts +853 -85
  560. package/build/ts/surfaces/customer-account/components/components.d.ts +1683 -244
  561. package/build/ts/surfaces/customer-account/components/shared.d.ts +13 -2
  562. package/build/ts/surfaces/customer-account/components/shared.d.ts.map +1 -1
  563. package/build/ts/surfaces/customer-account/components/shared.ts +29 -5
  564. package/build/ts/surfaces/customer-account/extension-targets.d.ts +6 -6
  565. package/build/ts/surfaces/customer-account/extension-targets.d.ts.map +1 -1
  566. package/build/ts/surfaces/customer-account/globals.d.ts +2 -1
  567. package/build/ts/surfaces/customer-account/globals.d.ts.map +1 -1
  568. package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts +1 -2
  569. package/build/ts/surfaces/customer-account/preact/live-navigation.d.ts.map +1 -1
  570. package/build/ts/surfaces/customer-account/preact/navigation.d.ts +2 -2
  571. package/build/ts/surfaces/customer-account/preact/navigation.d.ts.map +1 -1
  572. package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
  573. package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
  574. package/build/ts/surfaces/customer-account/targets/customer-account.footer.render-after.d.ts +56 -640
  575. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.announcement.render.d.ts +61 -0
  576. package/build/ts/surfaces/customer-account/targets/customer-account.order-index.block.render.d.ts +56 -640
  577. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.announcement.render.d.ts +61 -0
  578. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.block.render.d.ts +56 -640
  579. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-item.render-after.d.ts +56 -640
  580. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.cart-line-list.render-after.d.ts +56 -640
  581. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.customer-information.render-after.d.ts +56 -640
  582. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.fulfillment-details.render-after.d.ts +56 -640
  583. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.payment-details.render-after.d.ts +56 -640
  584. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.return-details.render-after.d.ts +56 -640
  585. package/build/ts/surfaces/customer-account/targets/customer-account.order-status.unfulfilled-items.render-after.d.ts +56 -640
  586. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.menu-item.render.d.ts +56 -640
  587. package/build/ts/surfaces/customer-account/targets/customer-account.order.action.render.d.ts +56 -640
  588. package/build/ts/surfaces/customer-account/targets/customer-account.order.page.render.d.ts +56 -640
  589. package/build/ts/surfaces/customer-account/targets/customer-account.page.render.d.ts +56 -640
  590. package/build/ts/surfaces/customer-account/targets/customer-account.profile.addresses.render-after.d.ts +56 -640
  591. package/build/ts/surfaces/customer-account/targets/customer-account.profile.announcement.render.d.ts +61 -0
  592. package/build/ts/surfaces/customer-account/targets/customer-account.profile.block.render.d.ts +56 -640
  593. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-details.render-after.d.ts +56 -640
  594. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-addresses.render-after.d.ts +56 -640
  595. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-payment.render-after.d.ts +56 -640
  596. package/build/ts/surfaces/customer-account/targets/customer-account.profile.company-location-staff.render-after.d.ts +56 -640
  597. package/build/ts/surfaces/customer-account/targets/customer-account.profile.payment.render-after.d.ts +56 -640
  598. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts +15 -0
  599. package/build/ts/surfaces/point-of-sale/api/action-api/action-api.d.ts.map +1 -0
  600. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts +9 -0
  601. package/build/ts/surfaces/point-of-sale/api/action-target-api/action-target-api.d.ts.map +1 -0
  602. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +182 -0
  603. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
  604. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts +11 -0
  605. package/build/ts/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.d.ts.map +1 -0
  606. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
  607. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
  608. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts +10 -0
  609. package/build/ts/surfaces/point-of-sale/api/customer-api/customer-api.d.ts.map +1 -0
  610. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
  611. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
  612. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts +18 -0
  613. package/build/ts/surfaces/point-of-sale/api/draft-order-api/draft-order-api.d.ts.map +1 -0
  614. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
  615. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
  616. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +41 -0
  617. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
  618. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts +24 -0
  619. package/build/ts/surfaces/point-of-sale/api/order-api/order-api.d.ts.map +1 -0
  620. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts +17 -0
  621. package/build/ts/surfaces/point-of-sale/api/pin-pad-api.d.ts.map +1 -0
  622. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts +29 -0
  623. package/build/ts/surfaces/point-of-sale/api/print-api/print-api.d.ts.map +1 -0
  624. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts +14 -0
  625. package/build/ts/surfaces/point-of-sale/api/product-api/product-api.d.ts.map +1 -0
  626. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +67 -0
  627. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
  628. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +37 -0
  629. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
  630. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +21 -0
  631. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
  632. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +15 -0
  633. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
  634. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts +5 -0
  635. package/build/ts/surfaces/point-of-sale/api/storage-api/storage-api.d.ts.map +1 -0
  636. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
  637. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
  638. package/build/ts/surfaces/point-of-sale/api.d.ts +35 -0
  639. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
  640. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts +4 -0
  641. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.doc.d.ts.map +1 -0
  642. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +52 -0
  643. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts +4 -0
  644. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.doc.d.ts.map +1 -0
  645. package/build/ts/surfaces/point-of-sale/components/Banner.d.ts +60 -0
  646. package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts +4 -0
  647. package/build/ts/surfaces/point-of-sale/components/Box/Box.doc.d.ts.map +1 -0
  648. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +64 -0
  649. package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts +4 -0
  650. package/build/ts/surfaces/point-of-sale/components/Button/Button.doc.d.ts.map +1 -0
  651. package/build/ts/surfaces/point-of-sale/components/Button.d.ts +67 -0
  652. package/build/ts/surfaces/point-of-sale/components/Choice.d.ts +49 -0
  653. package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
  654. package/build/ts/surfaces/point-of-sale/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
  655. package/build/ts/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
  656. package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts +4 -0
  657. package/build/ts/surfaces/point-of-sale/components/Clickable/Clickable.doc.d.ts.map +1 -0
  658. package/build/ts/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
  659. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts +4 -0
  660. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.doc.d.ts.map +1 -0
  661. package/build/ts/surfaces/point-of-sale/components/DateField.d.ts +71 -0
  662. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts +4 -0
  663. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
  664. package/build/ts/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
  665. package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts +4 -0
  666. package/build/ts/surfaces/point-of-sale/components/DateSpinner/DateSpinner.doc.d.ts.map +1 -0
  667. package/build/ts/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
  668. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts +4 -0
  669. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.doc.d.ts.map +1 -0
  670. package/build/ts/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
  671. package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts +4 -0
  672. package/build/ts/surfaces/point-of-sale/components/Heading/Heading.doc.d.ts.map +1 -0
  673. package/build/ts/surfaces/point-of-sale/components/Heading.d.ts +49 -0
  674. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts +4 -0
  675. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.doc.d.ts.map +1 -0
  676. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +92 -0
  677. package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts +4 -0
  678. package/build/ts/surfaces/point-of-sale/components/Image/Image.doc.d.ts.map +1 -0
  679. package/build/ts/surfaces/point-of-sale/components/Image.d.ts +64 -0
  680. package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts +4 -0
  681. package/build/ts/surfaces/point-of-sale/components/Modal/Modal.doc.d.ts.map +1 -0
  682. package/build/ts/surfaces/point-of-sale/components/Modal.d.ts +70 -0
  683. package/build/ts/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
  684. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts +4 -0
  685. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.doc.d.ts.map +1 -0
  686. package/build/ts/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
  687. package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts +4 -0
  688. package/build/ts/surfaces/point-of-sale/components/Page/Page.doc.d.ts.map +1 -0
  689. package/build/ts/surfaces/point-of-sale/components/Page.d.ts +62 -0
  690. package/build/ts/surfaces/point-of-sale/components/Screen.d.ts +91 -0
  691. package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts +4 -0
  692. package/build/ts/surfaces/point-of-sale/components/ScrollBox/ScrollBox.doc.d.ts.map +1 -0
  693. package/build/ts/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
  694. package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts +4 -0
  695. package/build/ts/surfaces/point-of-sale/components/SearchField/SearchField.doc.d.ts.map +1 -0
  696. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
  697. package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts +4 -0
  698. package/build/ts/surfaces/point-of-sale/components/Section/Section.doc.d.ts.map +1 -0
  699. package/build/ts/surfaces/point-of-sale/components/Section.d.ts +62 -0
  700. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts +4 -0
  701. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.doc.d.ts.map +1 -0
  702. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +116 -0
  703. package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts +4 -0
  704. package/build/ts/surfaces/point-of-sale/components/Text/Text.doc.d.ts.map +1 -0
  705. package/build/ts/surfaces/point-of-sale/components/Text.d.ts +54 -0
  706. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts +4 -0
  707. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.doc.d.ts.map +1 -0
  708. package/build/ts/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
  709. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts +4 -0
  710. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.doc.d.ts.map +1 -0
  711. package/build/ts/surfaces/point-of-sale/components/TextField.d.ts +78 -0
  712. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts +4 -0
  713. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.doc.d.ts.map +1 -0
  714. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +98 -0
  715. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts +4 -0
  716. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.doc.d.ts.map +1 -0
  717. package/build/ts/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
  718. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
  719. package/build/ts/surfaces/point-of-sale/components/shared.d.ts +76 -0
  720. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts +2 -0
  721. package/build/ts/surfaces/point-of-sale/components/targets/ActionExtensionComponents.d.ts.map +1 -0
  722. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts +3 -0
  723. package/build/ts/surfaces/point-of-sale/components/targets/BasicComponents.d.ts.map +1 -0
  724. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts +2 -0
  725. package/build/ts/surfaces/point-of-sale/components/targets/BlockExtensionComponents.d.ts.map +1 -0
  726. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts +2 -0
  727. package/build/ts/surfaces/point-of-sale/components/targets/ReceiptComponents.d.ts.map +1 -0
  728. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts +2 -0
  729. package/build/ts/surfaces/point-of-sale/components/targets/SmartGridComponents.d.ts.map +1 -0
  730. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts +3 -0
  731. package/build/ts/surfaces/point-of-sale/components/targets/StandardComponents.d.ts.map +1 -0
  732. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts +3 -0
  733. package/build/ts/surfaces/point-of-sale/event/data/BaseApi.d.ts.map +1 -0
  734. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts +8 -0
  735. package/build/ts/surfaces/point-of-sale/event/data/BaseData.d.ts.map +1 -0
  736. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts +7 -0
  737. package/build/ts/surfaces/point-of-sale/event/data/CartUpdateEventData.d.ts.map +1 -0
  738. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts +16 -0
  739. package/build/ts/surfaces/point-of-sale/event/data/CashTrackingSessionData.d.ts.map +1 -0
  740. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts +10 -0
  741. package/build/ts/surfaces/point-of-sale/event/data/ExchangeTransactionData.d.ts.map +1 -0
  742. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts +7 -0
  743. package/build/ts/surfaces/point-of-sale/event/data/ReprintReceiptData.d.ts.map +1 -0
  744. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts +10 -0
  745. package/build/ts/surfaces/point-of-sale/event/data/ReturnTransactionData.d.ts.map +1 -0
  746. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts +8 -0
  747. package/build/ts/surfaces/point-of-sale/event/data/SaleTransactionData.d.ts.map +1 -0
  748. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts +13 -0
  749. package/build/ts/surfaces/point-of-sale/event/data/TransactionCompleteData.d.ts.map +1 -0
  750. package/build/ts/surfaces/point-of-sale/event/data.d.ts +9 -0
  751. package/build/ts/surfaces/point-of-sale/event/data.d.ts.map +1 -0
  752. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts +9 -0
  753. package/build/ts/surfaces/point-of-sale/event/output/BaseOutput.d.ts.map +1 -0
  754. package/build/ts/surfaces/point-of-sale/event/output.d.ts +2 -0
  755. package/build/ts/surfaces/point-of-sale/event/output.d.ts.map +1 -0
  756. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts +57 -0
  757. package/build/ts/surfaces/point-of-sale/extension-targets.d.ts.map +1 -0
  758. package/build/ts/surfaces/point-of-sale/targets/pos.cart-update.event.observe.d.ts +6 -0
  759. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.menu-item.render.d.ts +7 -0
  760. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +31 -0
  761. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-complete.event.observe.d.ts +6 -0
  762. package/build/ts/surfaces/point-of-sale/targets/pos.cash-tracking-session-start.event.observe.d.ts +6 -0
  763. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.menu-item.render.d.ts +7 -0
  764. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +31 -0
  765. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +18 -0
  766. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.menu-item.render.d.ts +7 -0
  767. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +31 -0
  768. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +18 -0
  769. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.menu-item.render.d.ts +7 -0
  770. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +31 -0
  771. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +18 -0
  772. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +31 -0
  773. package/build/ts/surfaces/point-of-sale/targets/pos.home.tile.render.d.ts +7 -0
  774. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.menu-item.render.d.ts +7 -0
  775. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +31 -0
  776. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +18 -0
  777. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.menu-item.render.d.ts +7 -0
  778. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +31 -0
  779. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +18 -0
  780. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.menu-item.render.d.ts +7 -0
  781. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +31 -0
  782. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +18 -0
  783. package/build/ts/surfaces/point-of-sale/targets/pos.receipt-footer.block.render.d.ts +7 -0
  784. package/build/ts/surfaces/point-of-sale/targets/pos.receipt-header.block.render.d.ts +7 -0
  785. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.menu-item.render.d.ts +7 -0
  786. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +31 -0
  787. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +18 -0
  788. package/build/ts/surfaces/point-of-sale/targets/pos.transaction-complete.event.observe.d.ts +6 -0
  789. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts +21 -0
  790. package/build/ts/surfaces/point-of-sale/types/base-transaction-complete.d.ts.map +1 -0
  791. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +178 -0
  792. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -0
  793. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts +248 -0
  794. package/build/ts/surfaces/point-of-sale/types/country-code.d.ts.map +1 -0
  795. package/build/ts/surfaces/point-of-sale/types/device.d.ts +15 -0
  796. package/build/ts/surfaces/point-of-sale/types/device.d.ts.map +1 -0
  797. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts +14 -0
  798. package/build/ts/surfaces/point-of-sale/types/direct-api-request-body.d.ts.map +1 -0
  799. package/build/ts/surfaces/point-of-sale/types/money.d.ts +5 -0
  800. package/build/ts/surfaces/point-of-sale/types/money.d.ts.map +1 -0
  801. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts +15 -0
  802. package/build/ts/surfaces/point-of-sale/types/multiple-resource-result.d.ts.map +1 -0
  803. package/build/ts/surfaces/point-of-sale/types/order.d.ts +10 -0
  804. package/build/ts/surfaces/point-of-sale/types/order.d.ts.map +1 -0
  805. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts +19 -0
  806. package/build/ts/surfaces/point-of-sale/types/paginated-result.d.ts.map +1 -0
  807. package/build/ts/surfaces/point-of-sale/types/payment.d.ts +7 -0
  808. package/build/ts/surfaces/point-of-sale/types/payment.d.ts.map +1 -0
  809. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts +55 -0
  810. package/build/ts/surfaces/point-of-sale/types/pin-pad.d.ts.map +1 -0
  811. package/build/ts/surfaces/point-of-sale/types/product.d.ts +61 -0
  812. package/build/ts/surfaces/point-of-sale/types/product.d.ts.map +1 -0
  813. package/build/ts/surfaces/point-of-sale/types/session.d.ts +33 -0
  814. package/build/ts/surfaces/point-of-sale/types/session.d.ts.map +1 -0
  815. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts +16 -0
  816. package/build/ts/surfaces/point-of-sale/types/shipping-line.d.ts.map +1 -0
  817. package/build/ts/surfaces/point-of-sale/types/storage.d.ts +45 -0
  818. package/build/ts/surfaces/point-of-sale/types/storage.d.ts.map +1 -0
  819. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts +13 -0
  820. package/build/ts/surfaces/point-of-sale/types/tax-line.d.ts.map +1 -0
  821. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts +2 -0
  822. package/build/ts/surfaces/point-of-sale/types/transaction-type.d.ts.map +1 -0
  823. package/build/ts/surfaces/point-of-sale.d.ts +5 -0
  824. package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
  825. package/build/tsconfig.tsbuildinfo +1 -1
  826. package/package.json +23 -2
  827. package/src/docs/shared/components/Avatar.ts +12 -0
  828. package/src/docs/shared/components/Badge.ts +1 -1
  829. package/src/docs/shared/components/Banner.ts +1 -1
  830. package/src/docs/shared/components/ButtonGroup.ts +11 -0
  831. package/src/docs/shared/components/Checkbox.ts +1 -1
  832. package/src/docs/shared/components/Chip.ts +12 -0
  833. package/src/docs/shared/components/Choice.ts +1 -1
  834. package/src/docs/shared/components/ChoiceList.ts +1 -1
  835. package/src/docs/shared/components/Clickable.ts +1 -1
  836. package/src/docs/shared/components/ClickableChip.ts +12 -0
  837. package/src/docs/shared/components/ColorField.ts +11 -0
  838. package/src/docs/shared/components/ColorPicker.ts +11 -0
  839. package/src/docs/shared/components/DatePicker.ts +1 -1
  840. package/src/docs/shared/components/Divider.ts +1 -1
  841. package/src/docs/shared/components/EmailField.ts +1 -1
  842. package/src/docs/shared/components/Grid.ts +1 -1
  843. package/src/docs/shared/components/GridItem.ts +1 -1
  844. package/src/docs/shared/components/Map.ts +12 -0
  845. package/src/docs/shared/components/MapMarker.ts +12 -0
  846. package/src/docs/shared/components/Menu.ts +12 -0
  847. package/src/docs/shared/components/Modal.ts +12 -0
  848. package/src/docs/shared/components/MoneyField.ts +1 -1
  849. package/src/docs/shared/components/NumberField.ts +1 -1
  850. package/src/docs/shared/components/Option.ts +12 -0
  851. package/src/docs/shared/components/OptionGroup.ts +12 -0
  852. package/src/docs/shared/components/Paragraph.ts +1 -1
  853. package/src/docs/shared/components/PasswordField.ts +1 -1
  854. package/src/docs/shared/components/PhoneField.ts +11 -0
  855. package/src/docs/shared/components/Popover.ts +12 -0
  856. package/src/docs/shared/components/ProductThumbnail.ts +11 -0
  857. package/src/docs/shared/components/QueryContainer.ts +12 -0
  858. package/src/docs/shared/components/SearchField.ts +1 -1
  859. package/src/docs/shared/components/Section.ts +1 -1
  860. package/src/docs/shared/components/Select.ts +1 -1
  861. package/src/docs/shared/components/Switch.ts +1 -1
  862. package/src/docs/shared/components/Table.ts +1 -1
  863. package/src/docs/shared/components/TableBody.ts +1 -1
  864. package/src/docs/shared/components/TableCell.ts +1 -1
  865. package/src/docs/shared/components/TableHeader.ts +1 -1
  866. package/src/docs/shared/components/TableHeaderRow.ts +1 -1
  867. package/src/docs/shared/components/TableRow.ts +1 -1
  868. package/src/docs/shared/components/TextArea.ts +1 -1
  869. package/src/docs/shared/components/Thumbnail.ts +12 -0
  870. package/src/docs/shared/components/Tooltip.ts +12 -0
  871. package/src/docs/shared/components/URLField.ts +1 -1
  872. package/src/docs/shared/docs-type.ts +6 -5
  873. package/src/shared.ts +25 -0
  874. package/src/surfaces/admin/api/standard/standard.ts +7 -1
  875. package/src/surfaces/admin/api/standard/storage.ts +110 -0
  876. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  877. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  878. package/src/surfaces/admin/components/AdminPrintAction/examples/default.tsx +1 -1
  879. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  880. package/src/surfaces/admin/components/Avatar/examples/default.html +4 -0
  881. package/src/surfaces/admin/components/Avatar.d.ts +133 -0
  882. package/src/surfaces/admin/components/Badge.d.ts +21 -7
  883. package/src/surfaces/admin/components/Banner.d.ts +21 -16
  884. package/src/surfaces/admin/components/Box.d.ts +35 -26
  885. package/src/surfaces/admin/components/Button.d.ts +34 -20
  886. package/src/surfaces/admin/components/ButtonGroup/examples/default.html +4 -0
  887. package/src/surfaces/admin/components/ButtonGroup.d.ts +117 -0
  888. package/src/surfaces/admin/components/Checkbox.d.ts +22 -12
  889. package/src/surfaces/admin/components/Chip/examples/default.html +1 -0
  890. package/src/surfaces/admin/components/Chip.d.ts +120 -0
  891. package/src/surfaces/admin/components/Choice.d.ts +39 -9
  892. package/src/surfaces/admin/components/ChoiceList/examples/default.html +3 -3
  893. package/src/surfaces/admin/components/ChoiceList.d.ts +21 -16
  894. package/src/surfaces/admin/components/Clickable.d.ts +49 -39
  895. package/src/surfaces/admin/components/ClickableChip/examples/default.html +1 -0
  896. package/src/surfaces/admin/components/ClickableChip.d.ts +151 -0
  897. package/src/surfaces/admin/components/ColorField/examples/default.html +4 -0
  898. package/src/surfaces/admin/components/ColorField.d.ts +238 -0
  899. package/src/surfaces/admin/components/ColorPicker/examples/default.html +4 -0
  900. package/src/surfaces/admin/components/ColorPicker.d.ts +132 -0
  901. package/src/surfaces/admin/components/DatePicker.d.ts +18 -35
  902. package/src/surfaces/admin/components/Divider.d.ts +12 -5
  903. package/src/surfaces/admin/components/DropZone/examples/default.html +9 -0
  904. package/src/surfaces/admin/components/DropZone.d.ts +160 -0
  905. package/src/surfaces/admin/components/EmailField.d.ts +15 -15
  906. package/src/surfaces/admin/components/Form.d.ts +43 -35
  907. package/src/surfaces/admin/components/FunctionSettings.d.ts +183 -0
  908. package/src/surfaces/admin/components/Grid.d.ts +42 -33
  909. package/src/surfaces/admin/components/GridItem.d.ts +36 -26
  910. package/src/surfaces/admin/components/Heading.d.ts +17 -6
  911. package/src/surfaces/admin/components/Icon.d.ts +17 -6
  912. package/src/surfaces/admin/components/Image.d.ts +34 -42
  913. package/src/surfaces/admin/components/Link.d.ts +35 -29
  914. package/src/surfaces/admin/components/ListItem.d.ts +18 -6
  915. package/src/surfaces/admin/components/Menu/examples/default.html +7 -0
  916. package/src/surfaces/admin/components/Menu.d.ts +133 -0
  917. package/src/surfaces/admin/components/MoneyField.d.ts +16 -18
  918. package/src/surfaces/admin/components/NumberField.d.ts +15 -15
  919. package/src/surfaces/admin/components/Option.d.ts +17 -5
  920. package/src/surfaces/admin/components/OptionGroup.d.ts +18 -5
  921. package/src/surfaces/admin/components/OrderedList.d.ts +18 -6
  922. package/src/surfaces/admin/components/Page.d.ts +38 -6
  923. package/src/surfaces/admin/components/Paragraph.d.ts +18 -6
  924. package/src/surfaces/admin/components/PasswordField.d.ts +15 -15
  925. package/src/surfaces/admin/components/Popover/examples/default.html +8 -0
  926. package/src/surfaces/admin/components/Popover.d.ts +379 -0
  927. package/src/surfaces/admin/components/QueryContainer/examples/default.html +8 -0
  928. package/src/surfaces/admin/components/QueryContainer.d.ts +106 -0
  929. package/src/surfaces/admin/components/SearchField.d.ts +18 -16
  930. package/src/surfaces/admin/components/Section.d.ts +17 -6
  931. package/src/surfaces/admin/components/Select/examples/default.html +4 -0
  932. package/src/surfaces/admin/components/Select.d.ts +20 -16
  933. package/src/surfaces/admin/components/Spinner.d.ts +12 -2
  934. package/src/surfaces/admin/components/Stack.d.ts +53 -43
  935. package/src/surfaces/admin/components/StandardComponents.ts +8 -0
  936. package/src/surfaces/admin/components/Switch.d.ts +16 -12
  937. package/src/surfaces/admin/components/Table.d.ts +27 -16
  938. package/src/surfaces/admin/components/TableBody.d.ts +18 -6
  939. package/src/surfaces/admin/components/TableCell.d.ts +34 -7
  940. package/src/surfaces/admin/components/TableHeader.d.ts +24 -6
  941. package/src/surfaces/admin/components/TableHeaderRow.d.ts +19 -6
  942. package/src/surfaces/admin/components/TableRow.d.ts +21 -7
  943. package/src/surfaces/admin/components/Text.d.ts +19 -6
  944. package/src/surfaces/admin/components/TextArea.d.ts +15 -15
  945. package/src/surfaces/admin/components/TextField.d.ts +17 -15
  946. package/src/surfaces/admin/components/Thumbnail/examples/default.html +4 -0
  947. package/src/surfaces/admin/components/Thumbnail.d.ts +127 -0
  948. package/src/surfaces/admin/components/Tooltip/examples/default.html +2 -0
  949. package/src/surfaces/admin/components/Tooltip.d.ts +141 -0
  950. package/src/surfaces/admin/components/URLField.d.ts +15 -15
  951. package/src/surfaces/admin/components/UnorderedList.d.ts +18 -6
  952. package/src/surfaces/admin/components/patterns/examples/details.html +228 -0
  953. package/src/surfaces/admin/components/patterns/examples/details.jsx +262 -0
  954. package/src/surfaces/admin/components/patterns/examples/homepage.html +587 -0
  955. package/src/surfaces/admin/components/patterns/examples/homepage.jsx +691 -0
  956. package/src/surfaces/admin/components/patterns/examples/index.html +143 -0
  957. package/src/surfaces/admin/components/patterns/examples/index.jsx +162 -0
  958. package/src/surfaces/admin/components/patterns/examples/settings.html +154 -0
  959. package/src/surfaces/admin/components/patterns/examples/settings.jsx +166 -0
  960. package/src/surfaces/admin/components/patterns/index.ab.doc.ts +79 -0
  961. package/src/surfaces/admin/components/shared.d.ts +953 -597
  962. package/src/surfaces/admin/components.d.ts +2962 -1505
  963. package/src/surfaces/checkout/api/cart-line/cart-line-item.ts +1 -2
  964. package/src/surfaces/checkout/api/checkout/checkout.ts +12 -2
  965. package/src/surfaces/checkout/api/order-confirmation/order-confirmation.ts +1 -1
  966. package/src/surfaces/checkout/api/payment/payment-option-item.ts +1 -1
  967. package/src/surfaces/checkout/api/pickup/pickup-location-item.ts +1 -2
  968. package/src/surfaces/checkout/api/pickup/pickup-location-list.ts +1 -1
  969. package/src/surfaces/checkout/api/pickup/pickup-point-list.ts +1 -1
  970. package/src/surfaces/checkout/api/shared.ts +5 -0
  971. package/src/surfaces/checkout/api/shipping/shipping-option-item.ts +1 -2
  972. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +1 -2
  973. package/src/surfaces/checkout/api/standard/standard.ts +23 -3
  974. package/src/surfaces/checkout/components/Abbreviation.d.ts +21 -9
  975. package/src/surfaces/checkout/components/Badge.d.ts +56 -0
  976. package/src/surfaces/checkout/components/Banner.d.ts +55 -13
  977. package/src/surfaces/checkout/components/Box.d.ts +20 -9
  978. package/src/surfaces/checkout/components/Button.d.ts +44 -13
  979. package/src/surfaces/checkout/components/Chat/examples/app-bridge-communication.example.tsx +58 -0
  980. package/src/surfaces/checkout/components/Chat/examples/app-bridge-css.example.css +16 -0
  981. package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.html +48 -0
  982. package/src/surfaces/checkout/components/Chat/examples/app-bridge-resize.example.tsx +9 -0
  983. package/src/surfaces/checkout/components/Chat/examples/include-app-bridge.example.html +3 -0
  984. package/src/surfaces/checkout/components/Chat/examples/shopify-extension-toml.example.toml +5 -0
  985. package/src/surfaces/checkout/components/Checkbox/examples/basic-checkbox.example.html +1 -0
  986. package/src/surfaces/checkout/components/Checkbox.d.ts +60 -0
  987. package/src/surfaces/checkout/components/Clickable.d.ts +89 -0
  988. package/src/surfaces/checkout/components/ClipboardItem.d.ts +39 -9
  989. package/src/surfaces/checkout/components/Details.d.ts +72 -0
  990. package/src/surfaces/checkout/components/Divider.d.ts +31 -0
  991. package/src/surfaces/checkout/components/DropZone.d.ts +39 -9
  992. package/src/surfaces/checkout/components/EmailField/examples/basic-emailfield.example.html +4 -0
  993. package/src/surfaces/checkout/components/EmailField.d.ts +85 -0
  994. package/src/surfaces/checkout/components/Form/examples/basic-form.example.html +1 -1
  995. package/src/surfaces/checkout/components/Form.d.ts +40 -12
  996. package/src/surfaces/checkout/components/Grid.d.ts +64 -0
  997. package/src/surfaces/checkout/components/GridItem.d.ts +54 -0
  998. package/src/surfaces/checkout/components/Heading.d.ts +20 -8
  999. package/src/surfaces/checkout/components/Icon.d.ts +22 -9
  1000. package/src/surfaces/checkout/components/Image.d.ts +13 -7
  1001. package/src/surfaces/checkout/components/Link.d.ts +44 -13
  1002. package/src/surfaces/checkout/components/ListItem.d.ts +22 -10
  1003. package/src/surfaces/checkout/components/Map/examples/basic-map.example.html +3 -0
  1004. package/src/surfaces/checkout/components/Map.d.ts +78 -0
  1005. package/src/surfaces/checkout/components/MapMarker.d.ts +77 -0
  1006. package/src/surfaces/checkout/components/Modal/examples/basic-modal.example.html +20 -0
  1007. package/src/surfaces/checkout/components/Modal.d.ts +90 -0
  1008. package/src/surfaces/checkout/components/NumberField.d.ts +85 -0
  1009. package/src/surfaces/checkout/components/Option.d.ts +46 -0
  1010. package/src/surfaces/checkout/components/OrderedList.d.ts +20 -8
  1011. package/src/surfaces/checkout/components/Paragraph.d.ts +20 -8
  1012. package/src/surfaces/checkout/components/PasswordField.d.ts +84 -0
  1013. package/src/surfaces/checkout/components/PaymentIcon.d.ts +14 -7
  1014. package/src/surfaces/checkout/components/PhoneField/examples/basic-phonefield.example.html +2 -0
  1015. package/src/surfaces/checkout/components/PhoneField.d.ts +100 -0
  1016. package/src/surfaces/checkout/components/Popover.d.ts +68 -0
  1017. package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.html +4 -0
  1018. package/src/surfaces/checkout/components/ProductThumbnail.d.ts +41 -0
  1019. package/src/surfaces/checkout/components/Progress.d.ts +14 -4
  1020. package/src/surfaces/checkout/components/QRCode.d.ts +35 -8
  1021. package/src/surfaces/checkout/components/ScrollBox.d.ts +54 -0
  1022. package/src/surfaces/checkout/components/Section.d.ts +20 -8
  1023. package/src/surfaces/checkout/components/Select.d.ts +79 -0
  1024. package/src/surfaces/checkout/components/Sheet.d.ts +94 -0
  1025. package/src/surfaces/checkout/components/SkeletonParagraph.d.ts +40 -0
  1026. package/src/surfaces/checkout/components/Spinner.d.ts +14 -4
  1027. package/src/surfaces/checkout/components/Stack.d.ts +20 -9
  1028. package/src/surfaces/checkout/components/Summary.d.ts +35 -0
  1029. package/src/surfaces/checkout/components/Switch.d.ts +60 -0
  1030. package/src/surfaces/checkout/components/Text.d.ts +20 -8
  1031. package/src/surfaces/checkout/components/TextArea/examples/basic-textarea.example.html +5 -0
  1032. package/src/surfaces/checkout/components/TextArea.d.ts +85 -0
  1033. package/src/surfaces/checkout/components/TextField.d.ts +88 -21
  1034. package/src/surfaces/checkout/components/Time.d.ts +21 -9
  1035. package/src/surfaces/checkout/components/UnorderedList.d.ts +20 -8
  1036. package/src/surfaces/checkout/components/UrlField.d.ts +84 -0
  1037. package/src/surfaces/checkout/components/components-shared.d.ts +853 -85
  1038. package/src/surfaces/checkout/components/components.d.ts +1683 -244
  1039. package/src/surfaces/checkout/extension-targets.ts +8 -0
  1040. package/src/surfaces/checkout/preact/attributes.ts +2 -2
  1041. package/src/surfaces/checkout/preact/subscription.ts +2 -1
  1042. package/src/surfaces/checkout/preact/tests/delivery-group-target.test.ts +2 -2
  1043. package/src/surfaces/checkout/shared.ts +65 -28
  1044. package/src/surfaces/checkout.ts +1 -0
  1045. package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -3
  1046. package/src/surfaces/customer-account/api/docs.ts +81 -26
  1047. package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -42
  1048. package/src/surfaces/customer-account/api/shared.ts +55 -44
  1049. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +42 -23
  1050. package/src/surfaces/customer-account/api.ts +8 -4
  1051. package/src/surfaces/customer-account/components/Avatar/examples/basic-Avatar-preact.example.tsx +10 -0
  1052. package/src/surfaces/customer-account/components/Avatar.d.ts +92 -0
  1053. package/src/surfaces/customer-account/components/ButtonGroup/examples/basic-ButtonGroup-preact.example.tsx +22 -0
  1054. package/src/surfaces/customer-account/components/ButtonGroup.d.ts +39 -0
  1055. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-preact.example.tsx +8 -7
  1056. package/src/surfaces/customer-account/components/CustomerAccountAction.d.ts +16 -6
  1057. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-preact.example.tsx +6 -4
  1058. package/src/surfaces/customer-account/components/ImageGroup.d.ts +5 -5
  1059. package/src/surfaces/customer-account/components/Menu/examples/basic-Menu-preact.example.tsx +24 -0
  1060. package/src/surfaces/customer-account/components/Menu.d.ts +25 -0
  1061. package/src/surfaces/customer-account/components/Page/examples/basic-Page-preact.example.tsx +10 -9
  1062. package/src/surfaces/customer-account/components/Page.d.ts +19 -6
  1063. package/src/surfaces/customer-account/components/Section/examples/basic-Section-preact.example.tsx +23 -0
  1064. package/src/surfaces/customer-account/components/Section.d.ts +46 -0
  1065. package/src/surfaces/customer-account/components/StandardComponents.ts +6 -2
  1066. package/src/surfaces/customer-account/components/shared.ts +29 -5
  1067. package/src/surfaces/customer-account/components.d.ts +124 -31
  1068. package/src/surfaces/customer-account/extension-targets.ts +15 -9
  1069. package/src/surfaces/customer-account/globals.ts +2 -4
  1070. package/src/surfaces/customer-account/preact/live-navigation.ts +1 -8
  1071. package/src/surfaces/customer-account/preact/navigation.ts +3 -10
  1072. package/src/surfaces/customer-account/preact/subscription.ts +7 -6
  1073. package/src/surfaces/point-of-sale/api/action-api/action-api.ts +15 -0
  1074. package/src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts +9 -0
  1075. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +239 -0
  1076. package/src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts +11 -0
  1077. package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
  1078. package/src/surfaces/point-of-sale/api/customer-api/customer-api.ts +10 -0
  1079. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
  1080. package/src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts +20 -0
  1081. package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
  1082. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +45 -0
  1083. package/src/surfaces/point-of-sale/api/order-api/order-api.ts +26 -0
  1084. package/src/surfaces/point-of-sale/api/pin-pad-api.ts +23 -0
  1085. package/src/surfaces/point-of-sale/api/print-api/print-api.ts +29 -0
  1086. package/src/surfaces/point-of-sale/api/product-api/product-api.ts +14 -0
  1087. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +94 -0
  1088. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +42 -0
  1089. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +22 -0
  1090. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +21 -0
  1091. package/src/surfaces/point-of-sale/api/storage-api/storage-api.ts +5 -0
  1092. package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
  1093. package/src/surfaces/point-of-sale/api.ts +133 -0
  1094. package/src/surfaces/point-of-sale/components/Badge/examples/default.html +7 -0
  1095. package/src/surfaces/point-of-sale/components/Badge.d.ts +52 -0
  1096. package/src/surfaces/point-of-sale/components/Banner/examples/default.html +15 -0
  1097. package/src/surfaces/point-of-sale/components/Banner.d.ts +60 -0
  1098. package/src/surfaces/point-of-sale/components/Box/examples/default.html +3 -0
  1099. package/src/surfaces/point-of-sale/components/Box.d.ts +64 -0
  1100. package/src/surfaces/point-of-sale/components/Button/examples/default.html +4 -0
  1101. package/src/surfaces/point-of-sale/components/Button.d.ts +67 -0
  1102. package/src/surfaces/point-of-sale/components/Choice.d.ts +49 -0
  1103. package/src/surfaces/point-of-sale/components/ChoiceList/examples/default.html +5 -0
  1104. package/src/surfaces/point-of-sale/components/ChoiceList.d.ts +61 -0
  1105. package/src/surfaces/point-of-sale/components/Clickable/examples/default.html +3 -0
  1106. package/src/surfaces/point-of-sale/components/Clickable.d.ts +59 -0
  1107. package/src/surfaces/point-of-sale/components/DateField/examples/default.html +14 -0
  1108. package/src/surfaces/point-of-sale/components/DateField.d.ts +71 -0
  1109. package/src/surfaces/point-of-sale/components/DatePicker/examples/default.html +8 -0
  1110. package/src/surfaces/point-of-sale/components/DatePicker.d.ts +62 -0
  1111. package/src/surfaces/point-of-sale/components/DateSpinner/examples/default.html +8 -0
  1112. package/src/surfaces/point-of-sale/components/DateSpinner.d.ts +62 -0
  1113. package/src/surfaces/point-of-sale/components/EmailField/examples/default.html +12 -0
  1114. package/src/surfaces/point-of-sale/components/EmailField.d.ts +78 -0
  1115. package/src/surfaces/point-of-sale/components/Heading/examples/default.html +8 -0
  1116. package/src/surfaces/point-of-sale/components/Heading.d.ts +49 -0
  1117. package/src/surfaces/point-of-sale/components/Icon/examples/default.html +1 -0
  1118. package/src/surfaces/point-of-sale/components/Icon.d.ts +92 -0
  1119. package/src/surfaces/point-of-sale/components/Image/examples/default.html +1 -0
  1120. package/src/surfaces/point-of-sale/components/Image.d.ts +64 -0
  1121. package/src/surfaces/point-of-sale/components/Modal/examples/default.html +9 -0
  1122. package/src/surfaces/point-of-sale/components/Modal.d.ts +70 -0
  1123. package/src/surfaces/point-of-sale/components/Navigator.d.ts +50 -0
  1124. package/src/surfaces/point-of-sale/components/NumberField/examples/default.html +2 -0
  1125. package/src/surfaces/point-of-sale/components/NumberField.d.ts +150 -0
  1126. package/src/surfaces/point-of-sale/components/Page/examples/default.html +6 -0
  1127. package/src/surfaces/point-of-sale/components/Page.d.ts +62 -0
  1128. package/src/surfaces/point-of-sale/components/Screen.d.ts +91 -0
  1129. package/src/surfaces/point-of-sale/components/ScrollBox/examples/default.html +7 -0
  1130. package/src/surfaces/point-of-sale/components/ScrollBox.d.ts +49 -0
  1131. package/src/surfaces/point-of-sale/components/SearchField/examples/default.html +1 -0
  1132. package/src/surfaces/point-of-sale/components/SearchField.d.ts +65 -0
  1133. package/src/surfaces/point-of-sale/components/Section/examples/default.html +10 -0
  1134. package/src/surfaces/point-of-sale/components/Section.d.ts +62 -0
  1135. package/src/surfaces/point-of-sale/components/Stack/examples/default.html +4 -0
  1136. package/src/surfaces/point-of-sale/components/Stack.d.ts +116 -0
  1137. package/src/surfaces/point-of-sale/components/Text/examples/default.html +6 -0
  1138. package/src/surfaces/point-of-sale/components/Text.d.ts +54 -0
  1139. package/src/surfaces/point-of-sale/components/TextArea/examples/default.html +1 -0
  1140. package/src/surfaces/point-of-sale/components/TextArea.d.ts +79 -0
  1141. package/src/surfaces/point-of-sale/components/TextField/examples/default.html +3 -0
  1142. package/src/surfaces/point-of-sale/components/TextField.d.ts +78 -0
  1143. package/src/surfaces/point-of-sale/components/Tile/examples/default.html +5 -0
  1144. package/src/surfaces/point-of-sale/components/Tile.d.ts +98 -0
  1145. package/src/surfaces/point-of-sale/components/TimePicker/examples/default.html +4 -0
  1146. package/src/surfaces/point-of-sale/components/TimePicker.d.ts +62 -0
  1147. package/src/surfaces/point-of-sale/components/components-shared.d.ts +2924 -0
  1148. package/src/surfaces/point-of-sale/components/shared.d.ts +76 -0
  1149. package/src/surfaces/point-of-sale/components/targets/ActionExtensionComponents.ts +1 -0
  1150. package/src/surfaces/point-of-sale/components/targets/BasicComponents.ts +3 -0
  1151. package/src/surfaces/point-of-sale/components/targets/BlockExtensionComponents.ts +18 -0
  1152. package/src/surfaces/point-of-sale/components/targets/ReceiptComponents.ts +1 -0
  1153. package/src/surfaces/point-of-sale/components/targets/SmartGridComponents.ts +1 -0
  1154. package/src/surfaces/point-of-sale/components/targets/StandardComponents.ts +36 -0
  1155. package/src/surfaces/point-of-sale/components.d.ts +5327 -0
  1156. package/src/surfaces/point-of-sale/event/data/BaseApi.ts +3 -0
  1157. package/src/surfaces/point-of-sale/event/data/BaseData.ts +8 -0
  1158. package/src/surfaces/point-of-sale/event/data/CartUpdateEventData.ts +7 -0
  1159. package/src/surfaces/point-of-sale/event/data/CashTrackingSessionData.ts +17 -0
  1160. package/src/surfaces/point-of-sale/event/data/ExchangeTransactionData.ts +10 -0
  1161. package/src/surfaces/point-of-sale/event/data/ReprintReceiptData.ts +7 -0
  1162. package/src/surfaces/point-of-sale/event/data/ReturnTransactionData.ts +10 -0
  1163. package/src/surfaces/point-of-sale/event/data/SaleTransactionData.ts +8 -0
  1164. package/src/surfaces/point-of-sale/event/data/TransactionCompleteData.ts +21 -0
  1165. package/src/surfaces/point-of-sale/event/data.ts +16 -0
  1166. package/src/surfaces/point-of-sale/event/output/BaseOutput.ts +8 -0
  1167. package/src/surfaces/point-of-sale/event/output.ts +1 -0
  1168. package/src/surfaces/point-of-sale/extension-targets.ts +202 -0
  1169. package/src/surfaces/point-of-sale/types/base-transaction-complete.ts +21 -0
  1170. package/src/surfaces/point-of-sale/types/cart.ts +188 -0
  1171. package/src/surfaces/point-of-sale/types/country-code.ts +249 -0
  1172. package/src/surfaces/point-of-sale/types/device.ts +14 -0
  1173. package/src/surfaces/point-of-sale/types/direct-api-request-body.ts +13 -0
  1174. package/src/surfaces/point-of-sale/types/money.ts +4 -0
  1175. package/src/surfaces/point-of-sale/types/multiple-resource-result.ts +14 -0
  1176. package/src/surfaces/point-of-sale/types/order.ts +12 -0
  1177. package/src/surfaces/point-of-sale/types/paginated-result.ts +20 -0
  1178. package/src/surfaces/point-of-sale/types/payment.ts +16 -0
  1179. package/src/surfaces/point-of-sale/types/pin-pad.ts +58 -0
  1180. package/src/surfaces/point-of-sale/types/product.ts +64 -0
  1181. package/src/surfaces/point-of-sale/types/session.ts +39 -0
  1182. package/src/surfaces/point-of-sale/types/shipping-line.ts +18 -0
  1183. package/src/surfaces/point-of-sale/types/storage.ts +73 -0
  1184. package/src/surfaces/point-of-sale/types/tax-line.ts +10 -0
  1185. package/src/surfaces/point-of-sale/types/transaction-type.ts +1 -0
  1186. package/src/surfaces/point-of-sale.ts +4 -0
  1187. package/src/surfaces/customer-account/components/CustomerAccountAction/examples/basic-CustomerAccountAction-js.example.ts +0 -15
  1188. package/src/surfaces/customer-account/components/ImageGroup/examples/basic-ImageGroup-js.example.ts +0 -17
  1189. package/src/surfaces/customer-account/components/Page/examples/basic-Page-js.example.ts +0 -39
@@ -0,0 +1,15 @@
1
+ export interface ActionApiContent {
2
+ /** Presents the `action-overlay.render` extension target on top of present view.
3
+ *
4
+ * For example: if we are calling presentModal() from pos.purchase.post.action.menu-item.render,
5
+ * it should present pos.purchase.post.action.render.
6
+ */
7
+ presentModal(): void;
8
+ }
9
+ /**
10
+ * Access the Action API to present your app in a full screen modal.
11
+ */
12
+ export interface ActionApi {
13
+ action: ActionApiContent;
14
+ }
15
+ //# sourceMappingURL=action-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/action-api/action-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B;;;;OAIG;IACH,YAAY,IAAI,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
@@ -0,0 +1,9 @@
1
+ import { ScannerApi } from '../scanner-api/scanner-api';
2
+ import { NavigationApi } from '../navigation-api/navigation-api';
3
+ import { StandardApi } from '../standard/standard-api';
4
+ export type ActionTargetApi<T> = {
5
+ [key: string]: any;
6
+ } & {
7
+ extensionPoint: T;
8
+ } & StandardApi<T> & ScannerApi & NavigationApi;
9
+ //# sourceMappingURL=action-target-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"action-target-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/action-target-api/action-target-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,MAAM,4BAA4B,CAAC;AACtD,OAAO,EAAC,aAAa,EAAC,MAAM,kCAAkC,CAAC;AAC/D,OAAO,EAAC,WAAW,EAAC,MAAM,0BAA0B,CAAC;AAErD,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAAG;IACtD,cAAc,EAAE,CAAC,CAAC;CACnB,GAAG,WAAW,CAAC,CAAC,CAAC,GAChB,UAAU,GACV,aAAa,CAAC"}
@@ -0,0 +1,182 @@
1
+ import type { ReadonlySignalLike } from '../../../../shared';
2
+ import type { Address, Cart, CartUpdateInput, Customer, CustomSale, SetLineItemDiscountInput, SetLineItemPropertiesInput, SetLineItemSellingPlanInput } from '../../types/cart';
3
+ /**
4
+ * Access and modify the merchant’s current cart.
5
+ */
6
+ export interface CartApi {
7
+ cart: CartApiContent;
8
+ }
9
+ export type CartDiscountType = 'Percentage' | 'FixedAmount' | 'Code';
10
+ export type LineItemDiscountType = 'Percentage' | 'FixedAmount';
11
+ export interface CartApiContent {
12
+ /**
13
+ * Provides read-only access to the current cart state and allows subscribing to cart changes.
14
+ * The `value` property provides the current cart state, and `subscribe` allows listening to changes.
15
+ */
16
+ current: ReadonlySignalLike<Cart>;
17
+ /** Bulk update the cart
18
+ *
19
+ * @param cartState the cart state to set
20
+ * @returns the updated cart
21
+ */
22
+ bulkCartUpdate(cartState: CartUpdateInput): Promise<Cart>;
23
+ /** Apply a cart level discount
24
+ *
25
+ * @param type the type of discount applied (example: 'Percentage')
26
+ * @param title the title attributed with the discount
27
+ * @param amount the percentage or fixed monetary amount deducted with the discount. Pass in `undefined` if using discount codes.
28
+ */
29
+ applyCartDiscount(type: CartDiscountType, title: string, amount?: string): Promise<void>;
30
+ /**
31
+ * Add a code discount to the cart
32
+ *
33
+ * @param code the code for the discount to add to the cart
34
+ */
35
+ addCartCodeDiscount(code: string): Promise<void>;
36
+ /**
37
+ * Remove the cart discount
38
+ */
39
+ removeCartDiscount(): Promise<void>;
40
+ /**
41
+ * Remove all cart and line item discounts
42
+ *
43
+ * @param disableAutomaticDiscounts Whether or not automatic discounts should be enabled after removing the discounts.
44
+ */
45
+ removeAllDiscounts(disableAutomaticDiscounts: boolean): Promise<void>;
46
+ /**
47
+ * Clear the cart
48
+ */
49
+ clearCart(): Promise<void>;
50
+ /**
51
+ * Set the customer in the cart
52
+ *
53
+ * @param customer the customer object to add to the cart
54
+ */
55
+ setCustomer(customer: Customer): Promise<void>;
56
+ /**
57
+ * Remove the current customer from the cart
58
+ */
59
+ removeCustomer(): Promise<void>;
60
+ /**
61
+ * Add a custom sale to the cart
62
+ *
63
+ * @param customSale the custom sale object to add to the cart
64
+ * @returns {string} the uuid of the line item added
65
+ */
66
+ addCustomSale(customSale: CustomSale): Promise<string>;
67
+ /**
68
+ * Add a line item by variant ID to the cart.
69
+ * Returns the uuid of the line item added, or the empty string if the user dismissed an oversell guard modal without adding anything.
70
+ * Throws if POS fails to add the line item. Throws if POS fails to add the line item.
71
+ *
72
+ * @param variantId the product variant's numeric ID to add to the cart
73
+ * @param quantity the number of this variant to add to the cart
74
+ * @returns {string} the uuid of the line item added, or the empty string if the user dismissed an oversell guard modal
75
+ * @throws {Error} if POS fails to add the line item
76
+ */
77
+ addLineItem(variantId: number, quantity: number): Promise<string>;
78
+ /**
79
+ * Remove the line item at this uuid from the cart
80
+ *
81
+ * @param uuid the uuid of the line item that should be removed
82
+ */
83
+ removeLineItem(uuid: string): Promise<void>;
84
+ /**
85
+ * Adds custom properties to the cart
86
+ *
87
+ * @param properties the custom key to value object to attribute to the cart
88
+ */
89
+ addCartProperties(properties: Record<string, string>): Promise<void>;
90
+ /**
91
+ * Removes the specified cart properties
92
+ *
93
+ * @param keys the collection of keys to be removed from the cart properties
94
+ */
95
+ removeCartProperties(keys: string[]): Promise<void>;
96
+ /**
97
+ * Adds custom properties to the specified line item
98
+ *
99
+ * @param uuid the uuid of the line item to which the properties should be stringd
100
+ * @param properties the custom key to value object to attribute to the line item
101
+ */
102
+ addLineItemProperties(uuid: string, properties: Record<string, string>): Promise<void>;
103
+ /**
104
+ * Adds custom properties to multiple line items at the same time.
105
+ *
106
+ * @param lineItemProperties the collection of custom line item properties to apply to their respective line items.
107
+ */
108
+ bulkAddLineItemProperties(lineItemProperties: SetLineItemPropertiesInput[]): Promise<void>;
109
+ /**
110
+ * Removes the specified line item properties
111
+ *
112
+ * @param uuid the uuid of the line item to which the properties should be removed
113
+ * @param keys the collection of keys to be removed from the line item properties
114
+ */
115
+ removeLineItemProperties(uuid: string, keys: string[]): Promise<void>;
116
+ /**
117
+ * Add a discount on a line item to the cart
118
+ *
119
+ * @param uuid the uuid of the line item that should receive a discount
120
+ * @param type the type of discount applied (example: 'Percentage')
121
+ * @param title the title attributed with the discount
122
+ * @param amount the percentage or fixed monetary amount deducted with the discout
123
+ */
124
+ setLineItemDiscount(uuid: string, type: LineItemDiscountType, title: string, amount: string): Promise<void>;
125
+ /**
126
+ * Set line item discounts to multiple line items at the same time.
127
+ *
128
+ * @param lineItemDiscounts a map of discounts to add. They key is the uuid of the line item you want to add the discount to. The value is the discount input.
129
+ */
130
+ bulkSetLineItemDiscounts(lineItemDiscounts: SetLineItemDiscountInput[]): Promise<void>;
131
+ /**
132
+ * Sets an attributed staff to all line items in the cart.
133
+ *
134
+ * @param staffId the ID of the staff. Providing undefined will clear the attributed staff from all line items.
135
+ */
136
+ setAttributedStaff(staffId: number | undefined): Promise<void>;
137
+ /**
138
+ * Sets an attributed staff to a specific line items in the cart.
139
+ *
140
+ * @param staffId the ID of the staff. Providing undefined will clear the attributed staff on the line item.
141
+ * @param lineItemUuid the UUID of the line item.
142
+ */
143
+ setAttributedStaffToLineItem(staffId: number | undefined, lineItemUuid: string): Promise<void>;
144
+ /**
145
+ * Remove all discounts from a line item
146
+ *
147
+ * @param uuid the uuid of the line item whose discounts should be removed
148
+ */
149
+ removeLineItemDiscount(uuid: string): Promise<void>;
150
+ /**
151
+ * Add an address to the customer (Customer must be present)
152
+ *
153
+ * @param address the address object to add to the customer in cart
154
+ */
155
+ addAddress(address: Address): Promise<void>;
156
+ /**
157
+ * Delete an address from the customer (Customer must be present)
158
+ *
159
+ * @param addressId the address ID to delete
160
+ */
161
+ deleteAddress(addressId: number): Promise<void>;
162
+ /**
163
+ * Update the default address for the customer (Customer must be present)
164
+ *
165
+ * @param addressId the address ID to set as the default address
166
+ */
167
+ updateDefaultAddress(addressId: number): Promise<void>;
168
+ /**
169
+ * Add a selling plan to a line item in the cart.
170
+ *
171
+ * @param uuid the uuid of the line item that should receive the selling plan
172
+ * @param sellingPlanId the ID of the selling plan to add to the line item
173
+ */
174
+ addLineItemSellingPlan(input: SetLineItemSellingPlanInput): Promise<void>;
175
+ /**
176
+ * Remove the selling plan from a line item in the cart.
177
+ *
178
+ * @param uuid the uuid of the line item whose selling plan should be removed
179
+ */
180
+ removeLineItemSellingPlan(uuid: string): Promise<void>;
181
+ }
182
+ //# sourceMappingURL=cart-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/cart-api/cart-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAC3D,OAAO,KAAK,EACV,OAAO,EACP,IAAI,EACJ,eAAe,EACf,QAAQ,EACR,UAAU,EACV,wBAAwB,EACxB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,kBAAkB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,cAAc,CAAC;CACtB;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,aAAa,GAAG,MAAM,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG,aAAa,CAAC;AAEhE,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,OAAO,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAElC;;;;OAIG;IACH,cAAc,CAAC,SAAS,EAAE,eAAe,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1D;;;;;OAKG;IACH,iBAAiB,CACf,IAAI,EAAE,gBAAgB,EACtB,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;OAIG;IACH,mBAAmB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjD;;OAEG;IACH,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpC;;;;OAIG;IACH,kBAAkB,CAAC,yBAAyB,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtE;;OAEG;IACH,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3B;;;;OAIG;IACH,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C;;OAEG;IACH,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhC;;;;;OAKG;IACH,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAEvD;;;;;;;;;OASG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,CAAC,CAAC;IAElE;;;;OAIG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5C;;;;OAIG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErE;;;;OAIG;IACH,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;;;;OAKG;IACH,qBAAqB,CACnB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACjC,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;OAIG;IACH,yBAAyB,CACvB,kBAAkB,EAAE,0BAA0B,EAAE,GAC/C,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;;OAKG;IACH,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtE;;;;;;;OAOG;IACH,mBAAmB,CACjB,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,oBAAoB,EAC1B,KAAK,EAAE,MAAM,EACb,MAAM,EAAE,MAAM,GACb,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;OAIG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,wBAAwB,EAAE,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;OAIG;IACH,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/D;;;;;OAKG;IACH,4BAA4B,CAC1B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;;OAIG;IACH,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;;;OAIG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5C;;;;OAIG;IACH,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhD;;;;OAIG;IACH,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEvD;;;;;OAKG;IACH,sBAAsB,CAAC,KAAK,EAAE,2BAA2B,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1E;;;;OAIG;IACH,yBAAyB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD"}
@@ -0,0 +1,11 @@
1
+ import type { LineItem } from '../../types/cart';
2
+ /**
3
+ * Access to the selected line item in the merchant’s current cart.
4
+ */
5
+ export interface CartLineItemApi {
6
+ /**
7
+ * The selected line item in the merchant’s current cart.
8
+ */
9
+ cartLineItem: LineItem;
10
+ }
11
+ //# sourceMappingURL=cart-line-item-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart-line-item-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/cart-line-item-api/cart-line-item-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,kBAAkB,CAAC;AAE/C;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,YAAY,EAAE,QAAQ,CAAC;CACxB"}
@@ -0,0 +1,22 @@
1
+ import type { ReadonlySignalLike } from '../../../../shared';
2
+ export type ConnectivityStateSeverity = 'Connected' | 'Disconnected';
3
+ export interface ConnectivityState {
4
+ /**
5
+ * Whether the device is connected to the internet
6
+ */
7
+ internetConnected: ConnectivityStateSeverity;
8
+ }
9
+ export interface ConnectivityApiContent {
10
+ /**
11
+ * Provides read-only access to the current connectivity state and allows subscribing to connectivity changes.
12
+ * The `value` property provides the current connectivity state, and `subscribe` allows listening to changes.
13
+ */
14
+ current: ReadonlySignalLike<ConnectivityState>;
15
+ }
16
+ /**
17
+ * Access information about the device connectivity
18
+ */
19
+ export interface ConnectivityApi {
20
+ connectivity: ConnectivityApiContent;
21
+ }
22
+ //# sourceMappingURL=connectivity-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"connectivity-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,yBAAyB,GAAG,WAAW,GAAG,cAAc,CAAC;AAErE,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,iBAAiB,EAAE,yBAAyB,CAAC;CAC9C;AAED,MAAM,WAAW,sBAAsB;IACrC;;;OAGG;IACH,OAAO,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,sBAAsB,CAAC;CACtC"}
@@ -0,0 +1,10 @@
1
+ export interface CustomerApi {
2
+ customer: CustomerApiContent;
3
+ }
4
+ export interface CustomerApiContent {
5
+ /**
6
+ * The unique identifier for the customer
7
+ */
8
+ id: number;
9
+ }
10
+ //# sourceMappingURL=customer-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"customer-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/customer-api/customer-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,kBAAkB,CAAC;CAC9B;AAED,MAAM,WAAW,kBAAkB;IACjC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -0,0 +1,21 @@
1
+ export interface DeviceApiContent {
2
+ /**
3
+ * The name of the device
4
+ */
5
+ name: string;
6
+ /**
7
+ * The string ID of the device
8
+ */
9
+ getDeviceId(): Promise<string>;
10
+ /**
11
+ * Whether the device is a tablet
12
+ */
13
+ isTablet(): Promise<boolean>;
14
+ }
15
+ /**
16
+ * Access information about the device, like name and ID
17
+ */
18
+ export interface DeviceApi {
19
+ device: DeviceApiContent;
20
+ }
21
+ //# sourceMappingURL=device-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"device-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/device-api/device-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,WAAW,IAAI,OAAO,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,QAAQ,IAAI,OAAO,CAAC,OAAO,CAAC,CAAC;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
@@ -0,0 +1,18 @@
1
+ export interface DraftOrderApi {
2
+ draftOrder: DraftOrderApiContent;
3
+ }
4
+ export interface DraftOrderApiContent {
5
+ /**
6
+ * The unique identifier for the draft order
7
+ */
8
+ id: number;
9
+ /**
10
+ * The name of the draft order
11
+ */
12
+ name: string;
13
+ /**
14
+ * The unique identifier of the customer associated with the draft order
15
+ */
16
+ customerId?: number;
17
+ }
18
+ //# sourceMappingURL=draft-order-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"draft-order-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/draft-order-api/draft-order-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,oBAAoB,CAAC;CAClC;AAED,MAAM,WAAW,oBAAoB;IACnC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,15 @@
1
+ import type { ReadonlySignalLike } from '../../../../shared';
2
+ export interface LocaleApiContent {
3
+ /**
4
+ * Provides read-only access to the current IETF-formatted locale and allows subscribing to locale changes.
5
+ * The `value` property provides the current locale, and `subscribe` allows listening to changes.
6
+ */
7
+ current: ReadonlySignalLike<string>;
8
+ }
9
+ /**
10
+ * Access the merchant’s current locale (in [IETF format](https://en.wikipedia.org/wiki/IETF_language_tag)) to internationalize your extension content.
11
+ */
12
+ export interface LocaleApi {
13
+ locale: LocaleApiContent;
14
+ }
15
+ //# sourceMappingURL=locale-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"locale-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/locale-api/locale-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAE3D,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,OAAO,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;CACrC;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
@@ -0,0 +1,41 @@
1
+ export interface NavigationApiContent {
2
+ /**
3
+ * Using `(screenName: string, params?: any)` navigates to a route in current navigation tree.
4
+ * Pushes the specified screen if it isn't present in the navigation tree, goes back to a created screen otherwise.
5
+ * @param screenName the name of the screen you want to navigate to.
6
+ * @param params the parameters you want to pass to that screen.
7
+ */
8
+ navigate(screenName: string, params?: any): Promise<void>;
9
+ /**
10
+ * Using `(uri: string | URL)` opens a POS Native screen modally.
11
+ * If the uri starts with `shopify:point-of-sale/` it will be treated as a POS Native screen. Otherwise it will try to navigate to an extension screen.
12
+ * Available POS Native screens:
13
+ * - `shopify:point-of-sale/products/{product_id}` to present product details.
14
+ * - `shopify:point-of-sale/products/{product_id}/variants/{variant_id}` to present product variant details.
15
+ * - `shopify:point-of-sale/customers/{customer_id}` to present customer details.
16
+ * - `shopify:point-of-sale/orders/{order_id}` to present order details.
17
+ * - `shopify:point-of-sale/draft_orders/{draft_order_id}` to present draft order details.
18
+ * - `shopify:point-of-sale/staff/{staff_id}` to present staff details.
19
+ * @param uri the uri of the POS Native screen to present modally.
20
+ * @returns A promise that resolves when the POS screen is presented, rejects when an error occurs.
21
+ * @example Open product variant details screen for product id 123 and variant id 456
22
+ * navigate('shopify:point-of-sale/products/123/variants/456');
23
+ */
24
+ navigate(uri: string | URL): Promise<void>;
25
+ /** Pops the currently shown screen */
26
+ pop(): void;
27
+ /** Dismisses the extension. */
28
+ dismiss(): void;
29
+ /** Checks if the user has permission to navigate to the specified screen.
30
+ * @param uri the uri to check if the user has permission to navigate to.
31
+ * @returns false if the uri is a valid uri to navigate to a POS screen and the user does not have permission to navigate to the specified screen, true otherwise. The promise rejects if the user is not on the correct API version of POS extensions.
32
+ */
33
+ canNavigate(uri: string | URL): Promise<boolean>;
34
+ }
35
+ /**
36
+ * Access the navigation API for navigation functionality from a full screen modal.
37
+ */
38
+ export interface NavigationApi {
39
+ navigation: NavigationApiContent;
40
+ }
41
+ //# sourceMappingURL=navigation-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"navigation-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;IACnC;;;;;OAKG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE1D;;;;;;;;;;;;;;OAcG;IACH,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3C,sCAAsC;IACtC,GAAG,IAAI,IAAI,CAAC;IAEZ,+BAA+B;IAC/B,OAAO,IAAI,IAAI,CAAC;IAEhB;;;OAGG;IACH,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;CAClD;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,oBAAoB,CAAC;CAClC"}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Interface to access the order
3
+ */
4
+ export interface OrderApi {
5
+ order: OrderApiContent;
6
+ }
7
+ /**
8
+ * Interface for Order details
9
+ */
10
+ export interface OrderApiContent {
11
+ /**
12
+ * The unique identifier for the order
13
+ */
14
+ id: number;
15
+ /**
16
+ * The name of the order
17
+ */
18
+ name: string;
19
+ /**
20
+ * The unique identifier of the customer associated with the order
21
+ */
22
+ customerId?: number;
23
+ }
24
+ //# sourceMappingURL=order-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"order-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/order-api/order-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,eAAe,CAAC;CACxB;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB"}
@@ -0,0 +1,17 @@
1
+ import { PinPadOptions, PinValidationResult } from '../types/pin-pad';
2
+ export interface PinPadApiContent {
3
+ /** Shows a pin pad to the user in a modal dialog.
4
+ *
5
+ * @param onSubmit the function to be called when the PIN is submitted.
6
+ * The callback should be used to validate the PIN and return `accept` or `reject`.
7
+ * @param options the options for the pin pad
8
+ */
9
+ showPinPad(onSubmit: (pin: number[]) => Promise<PinValidationResult> | PinValidationResult, options?: PinPadOptions): void;
10
+ }
11
+ /**
12
+ * Access the Pin Pad API for pin pad functionality in a modal.
13
+ */
14
+ export interface PinPadApi {
15
+ pinPad: PinPadApiContent;
16
+ }
17
+ //# sourceMappingURL=pin-pad-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pin-pad-api.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/api/pin-pad-api.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,mBAAmB,EAAC,MAAM,kBAAkB,CAAC;AAEpE,MAAM,WAAW,gBAAgB;IAC/B;;;;;OAKG;IACH,UAAU,CACR,QAAQ,EAAE,CACR,GAAG,EAAE,MAAM,EAAE,KACV,OAAO,CAAC,mBAAmB,CAAC,GAAG,mBAAmB,EACvD,OAAO,CAAC,EAAE,aAAa,GACtB,IAAI,CAAC;CACT;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * Access the print API for printing functionality
3
+ */
4
+ export interface PrintApiContent {
5
+ /**
6
+ * Trigger a print dialog.
7
+ *
8
+ * The src must be either:
9
+ * - A relative path that will be appended to your app's [application_url](/docs/apps/build/cli-for-apps/app-configuration#application_url)
10
+ * - A full URL to your app's backend that will be used to return the document to print
11
+ *
12
+ * Supported document types:
13
+ * - HTML documents (recommended for best printing experience)
14
+ * - Text files
15
+ * - Image files (PNG, JPEG, etc.)
16
+ * - PDF files (Note: On Android devices, PDFs will be downloaded and must be printed using an external application)
17
+ *
18
+ * @param src the source URL of the content to print.
19
+ * @returns Promise<void> that resolves when content is ready and native print dialog appears.
20
+ */
21
+ print(src: string): Promise<void>;
22
+ }
23
+ /**
24
+ * Interface for printing
25
+ */
26
+ export interface PrintApi {
27
+ print: PrintApiContent;
28
+ }
29
+ //# sourceMappingURL=print-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"print-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/print-api/print-api.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;;;;;;;;;;;;;;OAeG;IACH,KAAK,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACnC;AAED;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,eAAe,CAAC;CACxB"}
@@ -0,0 +1,14 @@
1
+ export interface ProductApi {
2
+ product: ProductApiContent;
3
+ }
4
+ export interface ProductApiContent {
5
+ /**
6
+ * The unique identifier for the product.
7
+ */
8
+ id: number;
9
+ /**
10
+ * The unique identifier for the product variant.
11
+ */
12
+ variantId: number;
13
+ }
14
+ //# sourceMappingURL=product-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/product-api/product-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC5B;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -0,0 +1,67 @@
1
+ import type { MultipleResourceResult } from '../../types/multiple-resource-result';
2
+ import type { PaginatedResult } from '../../types/paginated-result';
3
+ import type { Product, ProductVariant } from '../../types/product';
4
+ export type ProductSortType = 'RECENTLY_ADDED' | 'RECENTLY_ADDED_ASCENDING' | 'ALPHABETICAL_A_TO_Z' | 'ALPHABETICAL_Z_TO_A';
5
+ /**
6
+ * Base interface for pagination.
7
+ */
8
+ export interface PaginationParams {
9
+ /**
10
+ * Specifies the number of results to be returned in this page. The maximum number of items that will be returned is 50.
11
+ */
12
+ first?: number;
13
+ /**
14
+ * Specifies the page cursor. Items after this cursor will be returned.
15
+ */
16
+ afterCursor?: string;
17
+ }
18
+ /**
19
+ * Interface for product search
20
+ */
21
+ export interface ProductSearchParams extends PaginationParams {
22
+ /**
23
+ * The search term to be used to search for POS products.
24
+ */
25
+ queryString?: string;
26
+ /**
27
+ * Specifies the order in which products should be sorted. When a `queryString` is provided, sortType will not have any effect, as the results will be returned in order by relevance to the `queryString`.
28
+ */
29
+ sortType?: ProductSortType;
30
+ }
31
+ export interface ProductSearchApiContent {
32
+ /** Search for products on the POS device.
33
+ * @param searchParams The parameters for the product search.
34
+ */
35
+ searchProducts(searchParams: ProductSearchParams): Promise<PaginatedResult<Product>>;
36
+ /** Fetches a single product's details.
37
+ * @param productId The ID of the product to lookup.
38
+ */
39
+ fetchProductWithId(productId: number): Promise<Product | undefined>;
40
+ /** Fetches multiple products' details.
41
+ * @param productIds Specifies the array of product IDs to lookup. This is limited to 50 products. All excess requested IDs will be removed from the array.
42
+ */
43
+ fetchProductsWithIds(productIds: number[]): Promise<MultipleResourceResult<Product>>;
44
+ /** Fetches a single product variant's details.
45
+ * @param productVariantId The ID of the product variant to lookup.
46
+ */
47
+ fetchProductVariantWithId(productVariantId: number): Promise<ProductVariant | undefined>;
48
+ /** Fetches multiple product variants' details.
49
+ * @param productVariantIds Specifies the array of product variant IDs to lookup. This is limited to 50 product variants. All excess requested IDs will be removed from the array.
50
+ */
51
+ fetchProductVariantsWithIds(productVariantIds: number[]): Promise<MultipleResourceResult<ProductVariant>>;
52
+ /** Fetches all product variants associated with a product.
53
+ * @param productId The product ID. All variants' details associated with this product ID are returned.
54
+ */
55
+ fetchProductVariantsWithProductId(productId: number): Promise<ProductVariant[]>;
56
+ /** Fetches a page of product variants associated with a product.
57
+ * @param paginationParams The parameters for pagination.
58
+ */
59
+ fetchPaginatedProductVariantsWithProductId(productId: number, paginationParams: PaginationParams): Promise<PaginatedResult<ProductVariant>>;
60
+ }
61
+ /**
62
+ * Access Point of Sale's native product search functionality.
63
+ */
64
+ export interface ProductSearchApi {
65
+ productSearch: ProductSearchApiContent;
66
+ }
67
+ //# sourceMappingURL=product-search-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"product-search-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,sBAAsB,EAAC,MAAM,sCAAsC,CAAC;AACjF,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAC,OAAO,EAAE,cAAc,EAAC,MAAM,qBAAqB,CAAC;AAEjE,MAAM,MAAM,eAAe,GACvB,gBAAgB,GAChB,0BAA0B,GAC1B,qBAAqB,GACrB,qBAAqB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,mBAAoB,SAAQ,gBAAgB;IAC3D;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,eAAe,CAAC;CAC5B;AAED,MAAM,WAAW,uBAAuB;IACtC;;OAEG;IACH,cAAc,CACZ,YAAY,EAAE,mBAAmB,GAChC,OAAO,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC,CAAC;IAErC;;OAEG;IACH,kBAAkB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAEpE;;OAEG;IACH,oBAAoB,CAClB,UAAU,EAAE,MAAM,EAAE,GACnB,OAAO,CAAC,sBAAsB,CAAC,OAAO,CAAC,CAAC,CAAC;IAE5C;;OAEG;IACH,yBAAyB,CACvB,gBAAgB,EAAE,MAAM,GACvB,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;IAEvC;;OAEG;IACH,2BAA2B,CACzB,iBAAiB,EAAE,MAAM,EAAE,GAC1B,OAAO,CAAC,sBAAsB,CAAC,cAAc,CAAC,CAAC,CAAC;IAEnD;;OAEG;IACH,iCAAiC,CAC/B,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,cAAc,EAAE,CAAC,CAAC;IAE7B;;OAEG;IACH,0CAA0C,CACxC,SAAS,EAAE,MAAM,EACjB,gBAAgB,EAAE,gBAAgB,GACjC,OAAO,CAAC,eAAe,CAAC,cAAc,CAAC,CAAC,CAAC;CAC7C;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,uBAAuB,CAAC;CACxC"}
@@ -0,0 +1,37 @@
1
+ import type { ReadonlySignalLike } from '../../../../shared';
2
+ /** The scanner source the POS device supports. */
3
+ export type ScannerSource = 'camera' | 'external' | 'embedded';
4
+ export interface ScannerSubscriptionResult {
5
+ /** The string data from the last scanner event received. */
6
+ data?: string;
7
+ /** The scanning source from which the scan event came. */
8
+ source?: ScannerSource;
9
+ }
10
+ export interface ScannerSources {
11
+ /**
12
+ * The current available scanner sources.
13
+ * The `value` property provides the current sources, and `subscribe` allows listening to changes.
14
+ */
15
+ current: ReadonlySignalLike<ScannerSource[]>;
16
+ }
17
+ export interface ScannerData {
18
+ /**
19
+ * The current scan data.
20
+ * The `value` property provides the current scan result, and `subscribe` allows listening to new scans.
21
+ */
22
+ current: ReadonlySignalLike<ScannerSubscriptionResult>;
23
+ }
24
+ export interface ScannerApiContent {
25
+ /**
26
+ * Provides read-only access to scanner data and allows subscribing to new scan events.
27
+ */
28
+ scannerData: ScannerData;
29
+ /**
30
+ * Provides read-only access to the available scanner sources on the POS device.
31
+ */
32
+ sources: ScannerSources;
33
+ }
34
+ export interface ScannerApi {
35
+ scanner: ScannerApiContent;
36
+ }
37
+ //# sourceMappingURL=scanner-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scanner-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,kBAAkB,EAAC,MAAM,oBAAoB,CAAC;AAE3D,kDAAkD;AAClD,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;AAE/D,MAAM,WAAW,yBAAyB;IACxC,4DAA4D;IAC5D,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,0DAA0D;IAC1D,MAAM,CAAC,EAAE,aAAa,CAAC;CACxB;AAED,MAAM,WAAW,cAAc;IAC7B;;;OAGG;IACH,OAAO,EAAE,kBAAkB,CAAC,aAAa,EAAE,CAAC,CAAC;CAC9C;AAED,MAAM,WAAW,WAAW;IAC1B;;;OAGG;IACH,OAAO,EAAE,kBAAkB,CAAC,yBAAyB,CAAC,CAAC;CACxD;AAED,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;IACzB;;OAEG;IACH,OAAO,EAAE,cAAc,CAAC;CACzB;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC5B"}
@@ -0,0 +1,21 @@
1
+ import type { Session } from '../../types/session';
2
+ export interface SessionApiContent {
3
+ /**
4
+ * Access information on the current POS session.
5
+ */
6
+ currentSession: Session;
7
+ /**
8
+ * Get a fresh session token for communication with your app's backend service.
9
+ * When the authenticated user (the user that logged into Shopify POS with their email address) doesn't have the correct app permissions enabled for your app, null will be returned. This is irrelevant of which POS Staff member is pinned in, as those are not authenticated users.
10
+ * For more information, see our [app permissions documentation](https://help.shopify.com/en/manual/your-account/users/roles/permissions/store-permissions#apps-and-channels-permissions).
11
+ * Calls to Shopify APIs must be made by your app’s backend service.
12
+ */
13
+ getSessionToken: () => Promise<string | undefined>;
14
+ }
15
+ /**
16
+ * Access information on the current Session, including data on the current shop, user, staff and location.
17
+ */
18
+ export interface SessionApi {
19
+ session: SessionApiContent;
20
+ }
21
+ //# sourceMappingURL=session-api.d.ts.map