@shopify/ui-extensions 2023.7.2 → 2024.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (744) hide show
  1. package/build/cjs/surfaces/admin/components/Badge/Badge.js +9 -0
  2. package/build/cjs/surfaces/admin/components/Banner/Banner.js +9 -0
  3. package/build/cjs/surfaces/admin/components/Card/Card.js +9 -0
  4. package/build/cjs/surfaces/admin/components/ChoiceList/ChoiceList.js +9 -0
  5. package/build/cjs/surfaces/admin/components/ColorPicker/ColorPicker.js +9 -0
  6. package/build/cjs/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.js +17 -0
  7. package/build/cjs/surfaces/admin/components/DateField/DateField.js +9 -0
  8. package/build/cjs/surfaces/admin/components/DatePicker/DatePicker.js +9 -0
  9. package/build/cjs/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.js +12 -0
  10. package/build/cjs/surfaces/admin/components/InternalLocationList/InternalLocationList.js +9 -0
  11. package/build/cjs/surfaces/admin/components/MoneyField/MoneyField.js +9 -0
  12. package/build/cjs/surfaces/admin/components/Paragraph/Paragraph.js +9 -0
  13. package/build/cjs/surfaces/admin/components/ProgressIndicator/ProgressIndicator.js +9 -0
  14. package/build/cjs/surfaces/admin.js +26 -2
  15. package/build/cjs/surfaces/checkout/components/Choice/Choice.js +1 -0
  16. package/build/cjs/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.js +9 -0
  17. package/build/cjs/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.js +9 -0
  18. package/build/cjs/surfaces/checkout/components/LoginWithShop/LoginWithShop.js +9 -0
  19. package/build/cjs/surfaces/checkout/components/Map/Map.js +13 -0
  20. package/build/cjs/surfaces/checkout/components/MapMarker/MapMarker.js +12 -0
  21. package/build/cjs/surfaces/checkout/components/MapPopover/MapPopover.js +12 -0
  22. package/build/cjs/surfaces/checkout/components/PaymentIcon/PaymentIcon.js +11 -0
  23. package/build/cjs/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.js +9 -0
  24. package/build/cjs/surfaces/checkout/components/ToggleButton/ToggleButton.js +12 -0
  25. package/build/cjs/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.js +14 -0
  26. package/build/cjs/surfaces/checkout.js +20 -0
  27. package/build/cjs/surfaces/customer-account/components/Card/Card.js +9 -0
  28. package/build/cjs/surfaces/customer-account.js +12 -0
  29. package/build/cjs/surfaces/point-of-sale/components/Badge/Badge.js +9 -0
  30. package/build/cjs/surfaces/point-of-sale/components/Banner/Banner.js +9 -0
  31. package/build/cjs/surfaces/point-of-sale/components/Button/Button.js +9 -0
  32. package/build/cjs/surfaces/point-of-sale/components/CameraScanner/CameraScanner.js +9 -0
  33. package/build/cjs/surfaces/point-of-sale/components/DateField/DateField.js +9 -0
  34. package/build/cjs/surfaces/point-of-sale/components/DatePicker/DatePicker.js +9 -0
  35. package/build/cjs/surfaces/point-of-sale/components/Dialog/Dialog.js +9 -0
  36. package/build/cjs/surfaces/point-of-sale/components/EmailField/EmailField.js +9 -0
  37. package/build/cjs/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.js +9 -0
  38. package/build/cjs/surfaces/point-of-sale/components/Icon/Icon.js +9 -0
  39. package/build/cjs/surfaces/point-of-sale/components/Image/Image.js +9 -0
  40. package/build/cjs/surfaces/point-of-sale/components/List/List.js +9 -0
  41. package/build/cjs/surfaces/point-of-sale/components/Navigator/Navigator.js +13 -0
  42. package/build/cjs/surfaces/point-of-sale/components/NumberField/NumberField.js +9 -0
  43. package/build/cjs/surfaces/point-of-sale/components/PinPad/PinPad.js +14 -0
  44. package/build/cjs/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.js +9 -0
  45. package/build/cjs/surfaces/point-of-sale/components/Screen/Screen.js +13 -0
  46. package/build/cjs/surfaces/point-of-sale/components/ScrollView/ScrollView.js +9 -0
  47. package/build/cjs/surfaces/point-of-sale/components/SearchBar/SearchBar.js +9 -0
  48. package/build/cjs/surfaces/point-of-sale/components/Section/Section.js +9 -0
  49. package/build/cjs/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.js +9 -0
  50. package/build/cjs/surfaces/point-of-sale/components/Selectable/Selectable.js +9 -0
  51. package/build/cjs/surfaces/point-of-sale/components/Stack/Stack.js +9 -0
  52. package/build/cjs/surfaces/point-of-sale/components/Stepper/Stepper.js +9 -0
  53. package/build/cjs/surfaces/point-of-sale/components/Text/Text.js +9 -0
  54. package/build/cjs/surfaces/point-of-sale/components/TextArea/TextArea.js +9 -0
  55. package/build/cjs/surfaces/point-of-sale/components/TextField/TextField.js +9 -0
  56. package/build/cjs/surfaces/point-of-sale/components/Tile/Tile.js +9 -0
  57. package/build/cjs/surfaces/point-of-sale/components/TimeField/TimeField.js +9 -0
  58. package/build/cjs/surfaces/point-of-sale/components/TimePicker/TimePicker.js +9 -0
  59. package/build/cjs/surfaces/point-of-sale/extension.js +23 -0
  60. package/build/cjs/surfaces/point-of-sale.js +70 -0
  61. package/build/esm/surfaces/admin/components/Badge/Badge.mjs +5 -0
  62. package/build/esm/surfaces/admin/components/Banner/Banner.mjs +5 -0
  63. package/build/esm/surfaces/admin/components/Card/Card.mjs +5 -0
  64. package/build/esm/surfaces/admin/components/ChoiceList/ChoiceList.mjs +5 -0
  65. package/build/esm/surfaces/admin/components/ColorPicker/ColorPicker.mjs +5 -0
  66. package/build/esm/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.mjs +13 -0
  67. package/build/esm/surfaces/admin/components/DateField/DateField.mjs +5 -0
  68. package/build/esm/surfaces/admin/components/DatePicker/DatePicker.mjs +5 -0
  69. package/build/esm/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.mjs +8 -0
  70. package/build/esm/surfaces/admin/components/InternalLocationList/InternalLocationList.mjs +5 -0
  71. package/build/esm/surfaces/admin/components/MoneyField/MoneyField.mjs +5 -0
  72. package/build/esm/surfaces/admin/components/Paragraph/Paragraph.mjs +5 -0
  73. package/build/esm/surfaces/admin/components/ProgressIndicator/ProgressIndicator.mjs +5 -0
  74. package/build/esm/surfaces/admin.mjs +13 -1
  75. package/build/esm/surfaces/checkout/components/Choice/Choice.mjs +1 -0
  76. package/build/esm/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.mjs +5 -0
  77. package/build/esm/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.mjs +5 -0
  78. package/build/esm/surfaces/checkout/components/LoginWithShop/LoginWithShop.mjs +5 -0
  79. package/build/esm/surfaces/checkout/components/Map/Map.mjs +9 -0
  80. package/build/esm/surfaces/checkout/components/MapMarker/MapMarker.mjs +8 -0
  81. package/build/esm/surfaces/checkout/components/MapPopover/MapPopover.mjs +8 -0
  82. package/build/esm/surfaces/checkout/components/PaymentIcon/PaymentIcon.mjs +7 -0
  83. package/build/esm/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.mjs +5 -0
  84. package/build/esm/surfaces/checkout/components/ToggleButton/ToggleButton.mjs +8 -0
  85. package/build/esm/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.mjs +10 -0
  86. package/build/esm/surfaces/checkout.mjs +10 -0
  87. package/build/esm/surfaces/customer-account/components/Card/Card.mjs +5 -0
  88. package/build/esm/surfaces/customer-account.mjs +6 -0
  89. package/build/esm/surfaces/point-of-sale/components/Badge/Badge.mjs +5 -0
  90. package/build/esm/surfaces/point-of-sale/components/Banner/Banner.mjs +5 -0
  91. package/build/esm/surfaces/point-of-sale/components/Button/Button.mjs +5 -0
  92. package/build/esm/surfaces/point-of-sale/components/CameraScanner/CameraScanner.mjs +5 -0
  93. package/build/esm/surfaces/point-of-sale/components/DateField/DateField.mjs +5 -0
  94. package/build/esm/surfaces/point-of-sale/components/DatePicker/DatePicker.mjs +5 -0
  95. package/build/esm/surfaces/point-of-sale/components/Dialog/Dialog.mjs +5 -0
  96. package/build/esm/surfaces/point-of-sale/components/EmailField/EmailField.mjs +5 -0
  97. package/build/esm/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.mjs +5 -0
  98. package/build/esm/surfaces/point-of-sale/components/Icon/Icon.mjs +5 -0
  99. package/build/esm/surfaces/point-of-sale/components/Image/Image.mjs +5 -0
  100. package/build/esm/surfaces/point-of-sale/components/List/List.mjs +5 -0
  101. package/build/esm/surfaces/point-of-sale/components/Navigator/Navigator.mjs +9 -0
  102. package/build/esm/surfaces/point-of-sale/components/NumberField/NumberField.mjs +5 -0
  103. package/build/esm/surfaces/point-of-sale/components/PinPad/PinPad.mjs +10 -0
  104. package/build/esm/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.mjs +5 -0
  105. package/build/esm/surfaces/point-of-sale/components/Screen/Screen.mjs +9 -0
  106. package/build/esm/surfaces/point-of-sale/components/ScrollView/ScrollView.mjs +5 -0
  107. package/build/esm/surfaces/point-of-sale/components/SearchBar/SearchBar.mjs +5 -0
  108. package/build/esm/surfaces/point-of-sale/components/Section/Section.mjs +5 -0
  109. package/build/esm/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.mjs +5 -0
  110. package/build/esm/surfaces/point-of-sale/components/Selectable/Selectable.mjs +5 -0
  111. package/build/esm/surfaces/point-of-sale/components/Stack/Stack.mjs +5 -0
  112. package/build/esm/surfaces/point-of-sale/components/Stepper/Stepper.mjs +5 -0
  113. package/build/esm/surfaces/point-of-sale/components/Text/Text.mjs +5 -0
  114. package/build/esm/surfaces/point-of-sale/components/TextArea/TextArea.mjs +5 -0
  115. package/build/esm/surfaces/point-of-sale/components/TextField/TextField.mjs +5 -0
  116. package/build/esm/surfaces/point-of-sale/components/Tile/Tile.mjs +5 -0
  117. package/build/esm/surfaces/point-of-sale/components/TimeField/TimeField.mjs +5 -0
  118. package/build/esm/surfaces/point-of-sale/components/TimePicker/TimePicker.mjs +5 -0
  119. package/build/esm/surfaces/point-of-sale/extension.mjs +18 -0
  120. package/build/esm/surfaces/point-of-sale.mjs +31 -0
  121. package/build/esnext/surfaces/admin/components/Badge/Badge.esnext +5 -0
  122. package/build/esnext/surfaces/admin/components/Banner/Banner.esnext +5 -0
  123. package/build/esnext/surfaces/admin/components/Card/Card.esnext +5 -0
  124. package/build/esnext/surfaces/admin/components/ChoiceList/ChoiceList.esnext +5 -0
  125. package/build/esnext/surfaces/admin/components/ColorPicker/ColorPicker.esnext +5 -0
  126. package/build/esnext/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.esnext +13 -0
  127. package/build/esnext/surfaces/admin/components/DateField/DateField.esnext +5 -0
  128. package/build/esnext/surfaces/admin/components/DatePicker/DatePicker.esnext +5 -0
  129. package/build/esnext/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.esnext +8 -0
  130. package/build/esnext/surfaces/admin/components/InternalLocationList/InternalLocationList.esnext +5 -0
  131. package/build/esnext/surfaces/admin/components/MoneyField/MoneyField.esnext +5 -0
  132. package/build/esnext/surfaces/admin/components/Paragraph/Paragraph.esnext +5 -0
  133. package/build/esnext/surfaces/admin/components/ProgressIndicator/ProgressIndicator.esnext +5 -0
  134. package/build/esnext/surfaces/admin.esnext +13 -1
  135. package/build/esnext/surfaces/checkout/components/Choice/Choice.esnext +1 -0
  136. package/build/esnext/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.esnext +5 -0
  137. package/build/esnext/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.esnext +5 -0
  138. package/build/esnext/surfaces/checkout/components/LoginWithShop/LoginWithShop.esnext +5 -0
  139. package/build/esnext/surfaces/checkout/components/Map/Map.esnext +9 -0
  140. package/build/esnext/surfaces/checkout/components/MapMarker/MapMarker.esnext +8 -0
  141. package/build/esnext/surfaces/checkout/components/MapPopover/MapPopover.esnext +8 -0
  142. package/build/esnext/surfaces/checkout/components/PaymentIcon/PaymentIcon.esnext +7 -0
  143. package/build/esnext/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.esnext +5 -0
  144. package/build/esnext/surfaces/checkout/components/ToggleButton/ToggleButton.esnext +8 -0
  145. package/build/esnext/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.esnext +10 -0
  146. package/build/esnext/surfaces/checkout.esnext +10 -0
  147. package/build/esnext/surfaces/customer-account/components/Card/Card.esnext +5 -0
  148. package/build/esnext/surfaces/customer-account.esnext +6 -0
  149. package/build/esnext/surfaces/point-of-sale/components/Badge/Badge.esnext +5 -0
  150. package/build/esnext/surfaces/point-of-sale/components/Banner/Banner.esnext +5 -0
  151. package/build/esnext/surfaces/point-of-sale/components/Button/Button.esnext +5 -0
  152. package/build/esnext/surfaces/point-of-sale/components/CameraScanner/CameraScanner.esnext +5 -0
  153. package/build/esnext/surfaces/point-of-sale/components/DateField/DateField.esnext +5 -0
  154. package/build/esnext/surfaces/point-of-sale/components/DatePicker/DatePicker.esnext +5 -0
  155. package/build/esnext/surfaces/point-of-sale/components/Dialog/Dialog.esnext +5 -0
  156. package/build/esnext/surfaces/point-of-sale/components/EmailField/EmailField.esnext +5 -0
  157. package/build/esnext/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.esnext +5 -0
  158. package/build/esnext/surfaces/point-of-sale/components/Icon/Icon.esnext +5 -0
  159. package/build/esnext/surfaces/point-of-sale/components/Image/Image.esnext +5 -0
  160. package/build/esnext/surfaces/point-of-sale/components/List/List.esnext +5 -0
  161. package/build/esnext/surfaces/point-of-sale/components/Navigator/Navigator.esnext +9 -0
  162. package/build/esnext/surfaces/point-of-sale/components/NumberField/NumberField.esnext +5 -0
  163. package/build/esnext/surfaces/point-of-sale/components/PinPad/PinPad.esnext +10 -0
  164. package/build/esnext/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.esnext +5 -0
  165. package/build/esnext/surfaces/point-of-sale/components/Screen/Screen.esnext +9 -0
  166. package/build/esnext/surfaces/point-of-sale/components/ScrollView/ScrollView.esnext +5 -0
  167. package/build/esnext/surfaces/point-of-sale/components/SearchBar/SearchBar.esnext +5 -0
  168. package/build/esnext/surfaces/point-of-sale/components/Section/Section.esnext +5 -0
  169. package/build/esnext/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.esnext +5 -0
  170. package/build/esnext/surfaces/point-of-sale/components/Selectable/Selectable.esnext +5 -0
  171. package/build/esnext/surfaces/point-of-sale/components/Stack/Stack.esnext +5 -0
  172. package/build/esnext/surfaces/point-of-sale/components/Stepper/Stepper.esnext +5 -0
  173. package/build/esnext/surfaces/point-of-sale/components/Text/Text.esnext +5 -0
  174. package/build/esnext/surfaces/point-of-sale/components/TextArea/TextArea.esnext +5 -0
  175. package/build/esnext/surfaces/point-of-sale/components/TextField/TextField.esnext +5 -0
  176. package/build/esnext/surfaces/point-of-sale/components/Tile/Tile.esnext +5 -0
  177. package/build/esnext/surfaces/point-of-sale/components/TimeField/TimeField.esnext +5 -0
  178. package/build/esnext/surfaces/point-of-sale/components/TimePicker/TimePicker.esnext +5 -0
  179. package/build/esnext/surfaces/point-of-sale/extension.esnext +18 -0
  180. package/build/esnext/surfaces/point-of-sale.esnext +31 -0
  181. package/build/ts/shared.d.ts +1 -1
  182. package/build/ts/shared.d.ts.map +1 -1
  183. package/build/ts/surfaces/admin/api/{customer-segmentation-template/customer-segmentation-template.d.ts → customer-segment-template/customer-segment-template.d.ts} +3 -3
  184. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.d.ts.map +1 -0
  185. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.d.ts +4 -0
  186. package/build/ts/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.d.ts.map +1 -0
  187. package/build/ts/surfaces/admin/api/extension-targets/extension-targets.doc.d.ts.map +1 -1
  188. package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts +20 -0
  189. package/build/ts/surfaces/admin/api/order-routing-rule/data.d.ts.map +1 -0
  190. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts +18 -0
  191. package/build/ts/surfaces/admin/api/order-routing-rule/metafields.d.ts.map +1 -0
  192. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts +9 -0
  193. package/build/ts/surfaces/admin/api/order-routing-rule/order-routing-rule.d.ts.map +1 -0
  194. package/build/ts/surfaces/admin/api/standard/standard.doc.d.ts.map +1 -1
  195. package/build/ts/surfaces/admin/api.d.ts +2 -1
  196. package/build/ts/surfaces/admin/api.d.ts.map +1 -1
  197. package/build/ts/surfaces/admin/components/AdminAction/AdminAction.d.ts +7 -3
  198. package/build/ts/surfaces/admin/components/AdminAction/AdminAction.d.ts.map +1 -1
  199. package/build/ts/surfaces/admin/components/AdminAction/AdminAction.doc.d.ts.map +1 -1
  200. package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.d.ts +4 -2
  201. package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.d.ts.map +1 -1
  202. package/build/ts/surfaces/admin/components/AdminBlock/AdminBlock.doc.d.ts.map +1 -1
  203. package/build/ts/surfaces/admin/components/Badge/Badge.d.ts +36 -0
  204. package/build/ts/surfaces/admin/components/Badge/Badge.d.ts.map +1 -0
  205. package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts +4 -0
  206. package/build/ts/surfaces/admin/components/Badge/Badge.doc.d.ts.map +1 -0
  207. package/build/ts/surfaces/admin/components/Banner/Banner.d.ts +34 -0
  208. package/build/ts/surfaces/admin/components/Banner/Banner.d.ts.map +1 -0
  209. package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts +4 -0
  210. package/build/ts/surfaces/admin/components/Banner/Banner.doc.d.ts.map +1 -0
  211. package/build/ts/surfaces/admin/components/BlockStack/BlockStack.d.ts +3 -7
  212. package/build/ts/surfaces/admin/components/BlockStack/BlockStack.d.ts.map +1 -1
  213. package/build/ts/surfaces/admin/components/BlockStack/BlockStack.doc.d.ts.map +1 -1
  214. package/build/ts/surfaces/admin/components/Box/Box.doc.d.ts.map +1 -1
  215. package/build/ts/surfaces/admin/components/Button/Button.d.ts +10 -0
  216. package/build/ts/surfaces/admin/components/Button/Button.d.ts.map +1 -1
  217. package/build/ts/surfaces/admin/components/Button/Button.doc.d.ts.map +1 -1
  218. package/build/ts/surfaces/admin/components/Card/Card.d.ts +15 -0
  219. package/build/ts/surfaces/admin/components/Card/Card.d.ts.map +1 -0
  220. package/build/ts/surfaces/admin/components/Card/Card.doc-skip.d.ts +4 -0
  221. package/build/ts/surfaces/admin/components/Card/Card.doc-skip.d.ts.map +1 -0
  222. package/build/ts/surfaces/admin/components/Checkbox/Checkbox.d.ts +2 -6
  223. package/build/ts/surfaces/admin/components/Checkbox/Checkbox.d.ts.map +1 -1
  224. package/build/ts/surfaces/admin/components/Checkbox/Checkbox.doc.d.ts.map +1 -1
  225. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.d.ts +20 -0
  226. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.d.ts.map +1 -0
  227. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts +4 -0
  228. package/build/ts/surfaces/admin/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -0
  229. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.d.ts +39 -0
  230. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.d.ts.map +1 -0
  231. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts +4 -0
  232. package/build/ts/surfaces/admin/components/ColorPicker/ColorPicker.doc.d.ts.map +1 -0
  233. package/build/ts/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.d.ts +44 -0
  234. package/build/ts/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.d.ts.map +1 -0
  235. package/build/ts/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.d.ts +4 -0
  236. package/build/ts/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.d.ts.map +1 -0
  237. package/build/ts/surfaces/admin/components/DateField/DateField.d.ts +10 -0
  238. package/build/ts/surfaces/admin/components/DateField/DateField.d.ts.map +1 -0
  239. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +4 -0
  240. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -0
  241. package/build/ts/surfaces/admin/components/DatePicker/DatePicker.d.ts +87 -0
  242. package/build/ts/surfaces/admin/components/DatePicker/DatePicker.d.ts.map +1 -0
  243. package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts +4 -0
  244. package/build/ts/surfaces/admin/components/DatePicker/DatePicker.doc.d.ts.map +1 -0
  245. package/build/ts/surfaces/admin/components/Divider/Divider.doc.d.ts.map +1 -1
  246. package/build/ts/surfaces/admin/components/EmailField/EmailField.doc.d.ts.map +1 -1
  247. package/build/ts/surfaces/admin/components/Form/Form.doc.d.ts.map +1 -1
  248. package/build/ts/surfaces/admin/components/Heading/Heading.doc.d.ts.map +1 -1
  249. package/build/ts/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.d.ts.map +1 -1
  250. package/build/ts/surfaces/admin/components/Icon/Icon.d.ts +13 -2
  251. package/build/ts/surfaces/admin/components/Icon/Icon.d.ts.map +1 -1
  252. package/build/ts/surfaces/admin/components/Icon/Icon.doc.d.ts.map +1 -1
  253. package/build/ts/surfaces/admin/components/Image/Image.doc.d.ts.map +1 -1
  254. package/build/ts/surfaces/admin/components/InlineStack/InlineStack.d.ts +2 -8
  255. package/build/ts/surfaces/admin/components/InlineStack/InlineStack.d.ts.map +1 -1
  256. package/build/ts/surfaces/admin/components/InlineStack/InlineStack.doc.d.ts.map +1 -1
  257. package/build/ts/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.d.ts +30 -0
  258. package/build/ts/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.d.ts.map +1 -0
  259. package/build/ts/surfaces/admin/components/InternalLocationList/InternalLocationList.d.ts +61 -0
  260. package/build/ts/surfaces/admin/components/InternalLocationList/InternalLocationList.d.ts.map +1 -0
  261. package/build/ts/surfaces/admin/components/Link/Link.d.ts +2 -6
  262. package/build/ts/surfaces/admin/components/Link/Link.d.ts.map +1 -1
  263. package/build/ts/surfaces/admin/components/Link/Link.doc.d.ts.map +1 -1
  264. package/build/ts/surfaces/admin/components/MoneyField/MoneyField.d.ts +10 -0
  265. package/build/ts/surfaces/admin/components/MoneyField/MoneyField.d.ts.map +1 -0
  266. package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts +4 -0
  267. package/build/ts/surfaces/admin/components/MoneyField/MoneyField.doc.d.ts.map +1 -0
  268. package/build/ts/surfaces/admin/components/NumberField/NumberField.d.ts +2 -27
  269. package/build/ts/surfaces/admin/components/NumberField/NumberField.d.ts.map +1 -1
  270. package/build/ts/surfaces/admin/components/NumberField/NumberField.doc.d.ts.map +1 -1
  271. package/build/ts/surfaces/admin/components/Paragraph/Paragraph.d.ts +10 -0
  272. package/build/ts/surfaces/admin/components/Paragraph/Paragraph.d.ts.map +1 -0
  273. package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts +4 -0
  274. package/build/ts/surfaces/admin/components/Paragraph/Paragraph.doc.d.ts.map +1 -0
  275. package/build/ts/surfaces/admin/components/PasswordField/PasswordField.doc.d.ts.map +1 -1
  276. package/build/ts/surfaces/admin/components/Pressable/Pressable.doc.d.ts.map +1 -1
  277. package/build/ts/surfaces/admin/components/ProgressIndicator/ProgressIndicator.d.ts +30 -0
  278. package/build/ts/surfaces/admin/components/ProgressIndicator/ProgressIndicator.d.ts.map +1 -0
  279. package/build/ts/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.d.ts +4 -0
  280. package/build/ts/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.d.ts.map +1 -0
  281. package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts +5 -0
  282. package/build/ts/surfaces/admin/components/ResourceItem/ResourceItem.d.ts.map +1 -1
  283. package/build/ts/surfaces/admin/components/Select/Select.doc.d.ts.map +1 -1
  284. package/build/ts/surfaces/admin/components/Text/Text.d.ts +1 -62
  285. package/build/ts/surfaces/admin/components/Text/Text.d.ts.map +1 -1
  286. package/build/ts/surfaces/admin/components/Text/Text.doc.d.ts.map +1 -1
  287. package/build/ts/surfaces/admin/components/TextArea/TextArea.doc.d.ts.map +1 -1
  288. package/build/ts/surfaces/admin/components/TextField/TextField.doc.d.ts.map +1 -1
  289. package/build/ts/surfaces/admin/components/URLField/URLField.doc.d.ts.map +1 -1
  290. package/build/ts/surfaces/admin/components/shared/index.d.ts +143 -0
  291. package/build/ts/surfaces/admin/components/shared/index.d.ts.map +1 -1
  292. package/build/ts/surfaces/admin/components.d.ts +26 -2
  293. package/build/ts/surfaces/admin/components.d.ts.map +1 -1
  294. package/build/ts/surfaces/admin/extension-targets.d.ts +67 -18
  295. package/build/ts/surfaces/admin/extension-targets.d.ts.map +1 -1
  296. package/build/ts/surfaces/checkout/api/checkout/checkout.d.ts +6 -6
  297. package/build/ts/surfaces/checkout/api/docs.d.ts +70 -0
  298. package/build/ts/surfaces/checkout/api/docs.d.ts.map +1 -0
  299. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts +3 -0
  300. package/build/ts/surfaces/checkout/api/payment/payment-option-item.d.ts.map +1 -1
  301. package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts +5 -1
  302. package/build/ts/surfaces/checkout/api/redeemable/redeemable.d.ts.map +1 -1
  303. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts +9 -0
  304. package/build/ts/surfaces/checkout/api/shipping/shipping-option-list.d.ts.map +1 -0
  305. package/build/ts/surfaces/checkout/api/standard/standard.d.ts +125 -21
  306. package/build/ts/surfaces/checkout/api/standard/standard.d.ts.map +1 -1
  307. package/build/ts/surfaces/checkout/api.d.ts +2 -1
  308. package/build/ts/surfaces/checkout/api.d.ts.map +1 -1
  309. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts +5 -0
  310. package/build/ts/surfaces/checkout/components/BlockSpacer/BlockSpacer.d.ts.map +1 -1
  311. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts +2 -2
  312. package/build/ts/surfaces/checkout/components/BlockStack/BlockStack.d.ts.map +1 -1
  313. package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts +26 -0
  314. package/build/ts/surfaces/checkout/components/Choice/Choice.d.ts.map +1 -1
  315. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.d.ts +12 -4
  316. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.d.ts.map +1 -1
  317. package/build/ts/surfaces/checkout/components/ChoiceList/ChoiceList.doc.d.ts.map +1 -1
  318. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts +15 -0
  319. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.d.ts.map +1 -0
  320. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts +4 -0
  321. package/build/ts/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.d.ts.map +1 -0
  322. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts +16 -0
  323. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.d.ts.map +1 -0
  324. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts +4 -0
  325. package/build/ts/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.d.ts.map +1 -0
  326. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts +2 -2
  327. package/build/ts/surfaces/checkout/components/Grid/Grid.d.ts.map +1 -1
  328. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts +2 -2
  329. package/build/ts/surfaces/checkout/components/GridItem/GridItem.d.ts.map +1 -1
  330. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts +2 -4
  331. package/build/ts/surfaces/checkout/components/Icon/Icon.d.ts.map +1 -1
  332. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts +2 -2
  333. package/build/ts/surfaces/checkout/components/InlineStack/InlineStack.d.ts.map +1 -1
  334. package/build/ts/surfaces/checkout/components/LoginWithShop/LoginWithShop.d.ts +19 -0
  335. package/build/ts/surfaces/checkout/components/LoginWithShop/LoginWithShop.d.ts.map +1 -0
  336. package/build/ts/surfaces/checkout/components/Map/Map.d.ts +76 -0
  337. package/build/ts/surfaces/checkout/components/Map/Map.d.ts.map +1 -0
  338. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts +4 -0
  339. package/build/ts/surfaces/checkout/components/Map/Map.doc.d.ts.map +1 -0
  340. package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.d.ts +46 -0
  341. package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.d.ts.map +1 -0
  342. package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts +4 -0
  343. package/build/ts/surfaces/checkout/components/MapMarker/MapMarker.doc.d.ts.map +1 -0
  344. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts +23 -0
  345. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.d.ts.map +1 -0
  346. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts +4 -0
  347. package/build/ts/surfaces/checkout/components/MapPopover/MapPopover.doc.d.ts.map +1 -0
  348. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.d.ts +32 -0
  349. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.d.ts.map +1 -0
  350. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts +4 -0
  351. package/build/ts/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.d.ts.map +1 -0
  352. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts +2 -2
  353. package/build/ts/surfaces/checkout/components/Pressable/Pressable.d.ts.map +1 -1
  354. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts +79 -0
  355. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.d.ts.map +1 -0
  356. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts +4 -0
  357. package/build/ts/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.d.ts.map +1 -0
  358. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts +2 -2
  359. package/build/ts/surfaces/checkout/components/ScrollView/ScrollView.d.ts.map +1 -1
  360. package/build/ts/surfaces/checkout/components/Select/Select.doc.d.ts.map +1 -1
  361. package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.d.ts +3 -1
  362. package/build/ts/surfaces/checkout/components/SkeletonText/SkeletonText.d.ts.map +1 -1
  363. package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.d.ts +5 -1
  364. package/build/ts/surfaces/checkout/components/SkeletonTextBlock/SkeletonTextBlock.d.ts.map +1 -1
  365. package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts +1 -3
  366. package/build/ts/surfaces/checkout/components/Tag/Tag.d.ts.map +1 -1
  367. package/build/ts/surfaces/checkout/components/Text/Text.d.ts +1 -1
  368. package/build/ts/surfaces/checkout/components/Text/Text.d.ts.map +1 -1
  369. package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.d.ts +4 -2
  370. package/build/ts/surfaces/checkout/components/TextBlock/TextBlock.d.ts.map +1 -1
  371. package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.d.ts +28 -0
  372. package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.d.ts.map +1 -0
  373. package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts +4 -0
  374. package/build/ts/surfaces/checkout/components/ToggleButton/ToggleButton.doc.d.ts.map +1 -0
  375. package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +29 -0
  376. package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.d.ts.map +1 -0
  377. package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts +4 -0
  378. package/build/ts/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.d.ts.map +1 -0
  379. package/build/ts/surfaces/checkout/components/View/View.d.ts +2 -2
  380. package/build/ts/surfaces/checkout/components/View/View.d.ts.map +1 -1
  381. package/build/ts/surfaces/checkout/components/shared.d.ts +23 -15
  382. package/build/ts/surfaces/checkout/components/shared.d.ts.map +1 -1
  383. package/build/ts/surfaces/checkout/components.d.ts +20 -0
  384. package/build/ts/surfaces/checkout/components.d.ts.map +1 -1
  385. package/build/ts/surfaces/checkout/helper.docs.d.ts.map +1 -1
  386. package/build/ts/surfaces/checkout/targets.d.ts +105 -50
  387. package/build/ts/surfaces/checkout/targets.d.ts.map +1 -1
  388. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +15 -4
  389. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  390. package/build/ts/surfaces/customer-account/api.d.ts +1 -1
  391. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  392. package/build/ts/surfaces/customer-account/components/Card/Card.d.ts +14 -0
  393. package/build/ts/surfaces/customer-account/components/Card/Card.d.ts.map +1 -0
  394. package/build/ts/surfaces/customer-account/components/Card/index.d.ts +3 -0
  395. package/build/ts/surfaces/customer-account/components/Card/index.d.ts.map +1 -0
  396. package/build/ts/surfaces/customer-account/components/index.d.ts +3 -0
  397. package/build/ts/surfaces/customer-account/components/index.d.ts.map +1 -0
  398. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts +3 -0
  399. package/build/ts/surfaces/customer-account/components/shared-checkout-components.d.ts.map +1 -0
  400. package/build/ts/surfaces/customer-account/targets.d.ts +4 -4
  401. package/build/ts/surfaces/customer-account.d.ts +1 -1
  402. package/build/ts/surfaces/customer-account.d.ts.map +1 -1
  403. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts +113 -0
  404. package/build/ts/surfaces/point-of-sale/api/cart-api/cart-api.d.ts.map +1 -0
  405. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts +22 -0
  406. package/build/ts/surfaces/point-of-sale/api/connectivity-api/connectivity-api.d.ts.map +1 -0
  407. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts +21 -0
  408. package/build/ts/surfaces/point-of-sale/api/device-api/device-api.d.ts.map +1 -0
  409. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts +15 -0
  410. package/build/ts/surfaces/point-of-sale/api/locale-api/locale-api.d.ts.map +1 -0
  411. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts +19 -0
  412. package/build/ts/surfaces/point-of-sale/api/navigation-api/navigation-api.d.ts.map +1 -0
  413. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts +58 -0
  414. package/build/ts/surfaces/point-of-sale/api/product-search-api/product-search-api.d.ts.map +1 -0
  415. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts +27 -0
  416. package/build/ts/surfaces/point-of-sale/api/scanner-api/scanner-api.d.ts.map +1 -0
  417. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts +19 -0
  418. package/build/ts/surfaces/point-of-sale/api/session-api/session-api.d.ts.map +1 -0
  419. package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts +12 -0
  420. package/build/ts/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.d.ts.map +1 -0
  421. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts +13 -0
  422. package/build/ts/surfaces/point-of-sale/api/standard/standard-api.d.ts.map +1 -0
  423. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts +15 -0
  424. package/build/ts/surfaces/point-of-sale/api/toast-api/toast-api.d.ts.map +1 -0
  425. package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts +101 -0
  426. package/build/ts/surfaces/point-of-sale/api/types/cart.d.ts.map +1 -0
  427. package/build/ts/surfaces/point-of-sale/api/types/country-code.d.ts +248 -0
  428. package/build/ts/surfaces/point-of-sale/api/types/country-code.d.ts.map +1 -0
  429. package/build/ts/surfaces/point-of-sale/api/types/multiple-resource-result.d.ts +15 -0
  430. package/build/ts/surfaces/point-of-sale/api/types/multiple-resource-result.d.ts.map +1 -0
  431. package/build/ts/surfaces/point-of-sale/api/types/paginated-result.d.ts +19 -0
  432. package/build/ts/surfaces/point-of-sale/api/types/paginated-result.d.ts.map +1 -0
  433. package/build/ts/surfaces/point-of-sale/api/types/product.d.ts +59 -0
  434. package/build/ts/surfaces/point-of-sale/api/types/product.d.ts.map +1 -0
  435. package/build/ts/surfaces/point-of-sale/api/types/session.d.ts +24 -0
  436. package/build/ts/surfaces/point-of-sale/api/types/session.d.ts.map +1 -0
  437. package/build/ts/surfaces/point-of-sale/api.d.ts +16 -0
  438. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -0
  439. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts +13 -0
  440. package/build/ts/surfaces/point-of-sale/components/Badge/Badge.d.ts.map +1 -0
  441. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts +35 -0
  442. package/build/ts/surfaces/point-of-sale/components/Banner/Banner.d.ts.map +1 -0
  443. package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts +14 -0
  444. package/build/ts/surfaces/point-of-sale/components/Button/Button.d.ts.map +1 -0
  445. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts +8 -0
  446. package/build/ts/surfaces/point-of-sale/components/CameraScanner/CameraScanner.d.ts.map +1 -0
  447. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.d.ts +9 -0
  448. package/build/ts/surfaces/point-of-sale/components/DateField/DateField.d.ts.map +1 -0
  449. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts +12 -0
  450. package/build/ts/surfaces/point-of-sale/components/DatePicker/DatePicker.d.ts.map +1 -0
  451. package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts +18 -0
  452. package/build/ts/surfaces/point-of-sale/components/Dialog/Dialog.d.ts.map +1 -0
  453. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts +9 -0
  454. package/build/ts/surfaces/point-of-sale/components/EmailField/EmailField.d.ts.map +1 -0
  455. package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts +14 -0
  456. package/build/ts/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.d.ts.map +1 -0
  457. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts +12 -0
  458. package/build/ts/surfaces/point-of-sale/components/Icon/Icon.d.ts.map +1 -0
  459. package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts +9 -0
  460. package/build/ts/surfaces/point-of-sale/components/Image/Image.d.ts.map +1 -0
  461. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts +106 -0
  462. package/build/ts/surfaces/point-of-sale/components/List/List.d.ts.map +1 -0
  463. package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts +12 -0
  464. package/build/ts/surfaces/point-of-sale/components/Navigator/Navigator.d.ts.map +1 -0
  465. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts +19 -0
  466. package/build/ts/surfaces/point-of-sale/components/NumberField/NumberField.d.ts.map +1 -0
  467. package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts +46 -0
  468. package/build/ts/surfaces/point-of-sale/components/PinPad/PinPad.d.ts.map +1 -0
  469. package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts +12 -0
  470. package/build/ts/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.d.ts.map +1 -0
  471. package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts +43 -0
  472. package/build/ts/surfaces/point-of-sale/components/Screen/Screen.d.ts.map +1 -0
  473. package/build/ts/surfaces/point-of-sale/components/ScrollView/ScrollView.d.ts +6 -0
  474. package/build/ts/surfaces/point-of-sale/components/ScrollView/ScrollView.d.ts.map +1 -0
  475. package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts +14 -0
  476. package/build/ts/surfaces/point-of-sale/components/SearchBar/SearchBar.d.ts.map +1 -0
  477. package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts +14 -0
  478. package/build/ts/surfaces/point-of-sale/components/Section/Section.d.ts.map +1 -0
  479. package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts +16 -0
  480. package/build/ts/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.d.ts.map +1 -0
  481. package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts +10 -0
  482. package/build/ts/surfaces/point-of-sale/components/Selectable/Selectable.d.ts.map +1 -0
  483. package/build/ts/surfaces/point-of-sale/components/Spacing/Spacing.d.ts +3 -0
  484. package/build/ts/surfaces/point-of-sale/components/Spacing/Spacing.d.ts.map +1 -0
  485. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts +18 -0
  486. package/build/ts/surfaces/point-of-sale/components/Stack/Stack.d.ts.map +1 -0
  487. package/build/ts/surfaces/point-of-sale/components/Stepper/Stepper.d.ts +34 -0
  488. package/build/ts/surfaces/point-of-sale/components/Stepper/Stepper.d.ts.map +1 -0
  489. package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts +12 -0
  490. package/build/ts/surfaces/point-of-sale/components/Text/Text.d.ts.map +1 -0
  491. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts +15 -0
  492. package/build/ts/surfaces/point-of-sale/components/TextArea/TextArea.d.ts.map +1 -0
  493. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.d.ts +37 -0
  494. package/build/ts/surfaces/point-of-sale/components/TextField/TextField.d.ts.map +1 -0
  495. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts +14 -0
  496. package/build/ts/surfaces/point-of-sale/components/Tile/Tile.d.ts.map +1 -0
  497. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts +10 -0
  498. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.d.ts.map +1 -0
  499. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts +13 -0
  500. package/build/ts/surfaces/point-of-sale/components/TimePicker/TimePicker.d.ts.map +1 -0
  501. package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts +10 -0
  502. package/build/ts/surfaces/point-of-sale/components/shared/BaseTextField.d.ts.map +1 -0
  503. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts +59 -0
  504. package/build/ts/surfaces/point-of-sale/components/shared/InputField.d.ts.map +1 -0
  505. package/build/ts/surfaces/point-of-sale/components/shared/auto-capitalization-type.d.ts +2 -0
  506. package/build/ts/surfaces/point-of-sale/components/shared/auto-capitalization-type.d.ts.map +1 -0
  507. package/build/ts/surfaces/point-of-sale/components.d.ts +64 -0
  508. package/build/ts/surfaces/point-of-sale/components.d.ts.map +1 -0
  509. package/build/ts/surfaces/point-of-sale/extension.d.ts +16 -0
  510. package/build/ts/surfaces/point-of-sale/extension.d.ts.map +1 -0
  511. package/build/ts/surfaces/point-of-sale/globals.d.ts +11 -0
  512. package/build/ts/surfaces/point-of-sale/globals.d.ts.map +1 -0
  513. package/build/ts/surfaces/point-of-sale/shared.d.ts +6 -0
  514. package/build/ts/surfaces/point-of-sale/shared.d.ts.map +1 -0
  515. package/build/ts/surfaces/point-of-sale/targets.d.ts +54 -0
  516. package/build/ts/surfaces/point-of-sale/targets.d.ts.map +1 -0
  517. package/build/ts/surfaces/point-of-sale.d.ts +7 -0
  518. package/build/ts/surfaces/point-of-sale.d.ts.map +1 -0
  519. package/build/tsconfig.tsbuildinfo +1 -1
  520. package/package.json +12 -3
  521. package/src/shared.ts +1 -1
  522. package/src/surfaces/admin/api/action/action.doc.ts +2 -2
  523. package/src/surfaces/admin/api/block/block.doc.ts +2 -2
  524. package/src/surfaces/admin/api/customer-segment-template/customer-segment-template.doc.ts +20 -0
  525. package/src/surfaces/admin/api/{customer-segmentation-template/customer-segmentation-template.ts → customer-segment-template/customer-segment-template.ts} +3 -5
  526. package/src/surfaces/admin/api/extension-targets/extension-targets.doc.ts +0 -1
  527. package/src/surfaces/admin/api/order-routing-rule/data.ts +21 -0
  528. package/src/surfaces/admin/api/order-routing-rule/metafields.ts +67 -0
  529. package/src/surfaces/admin/api/order-routing-rule/order-routing-rule.ts +11 -0
  530. package/src/surfaces/admin/api/standard/standard.doc.ts +0 -1
  531. package/src/surfaces/admin/api.ts +2 -1
  532. package/src/surfaces/admin/components/AdminAction/AdminAction.doc.ts +0 -1
  533. package/src/surfaces/admin/components/AdminAction/AdminAction.ts +8 -3
  534. package/src/surfaces/admin/components/AdminBlock/AdminBlock.doc.ts +0 -1
  535. package/src/surfaces/admin/components/AdminBlock/AdminBlock.ts +4 -2
  536. package/src/surfaces/admin/components/AdminBlock/examples/basic-adminblock.example.ts +0 -1
  537. package/src/surfaces/admin/components/Badge/Badge.doc.ts +42 -0
  538. package/src/surfaces/admin/components/Badge/Badge.ts +36 -0
  539. package/src/surfaces/admin/components/Badge/examples/basic-Badge.example.ts +11 -0
  540. package/src/surfaces/admin/components/Banner/Banner.doc.ts +42 -0
  541. package/src/surfaces/admin/components/Banner/Banner.ts +33 -0
  542. package/src/surfaces/admin/components/Banner/examples/basic-Banner.example.ts +11 -0
  543. package/src/surfaces/admin/components/BlockStack/BlockStack.doc.ts +0 -1
  544. package/src/surfaces/admin/components/BlockStack/BlockStack.ts +2 -5
  545. package/src/surfaces/admin/components/Box/Box.doc.ts +0 -1
  546. package/src/surfaces/admin/components/Button/Button.doc.ts +0 -1
  547. package/src/surfaces/admin/components/Button/Button.ts +12 -0
  548. package/src/surfaces/admin/components/Card/Card.doc-skip.ts +42 -0
  549. package/src/surfaces/admin/components/Card/Card.ts +13 -0
  550. package/src/surfaces/admin/components/Card/examples/basic-card.example.ts +11 -0
  551. package/src/surfaces/admin/components/Checkbox/Checkbox.doc.ts +0 -1
  552. package/src/surfaces/admin/components/Checkbox/Checkbox.ts +2 -7
  553. package/src/surfaces/admin/components/ChoiceList/ChoiceList.doc.ts +48 -0
  554. package/src/surfaces/admin/components/ChoiceList/ChoiceList.ts +36 -0
  555. package/src/surfaces/admin/components/ChoiceList/examples/basic-ChoiceList.example.ts +23 -0
  556. package/src/surfaces/admin/components/ColorPicker/ColorPicker.doc.ts +47 -0
  557. package/src/surfaces/admin/components/ColorPicker/ColorPicker.ts +43 -0
  558. package/src/surfaces/admin/components/ColorPicker/examples/basic-ColorPicker.example.ts +19 -0
  559. package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.doc.ts +42 -0
  560. package/src/surfaces/admin/components/CustomerSegmentTemplate/CustomerSegmentTemplate.ts +45 -0
  561. package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/CustomerSegmentTemplate.example.ts +17 -0
  562. package/src/surfaces/admin/components/CustomerSegmentTemplate/examples/CustomerSegmentTemplate.example.tsx +15 -0
  563. package/src/surfaces/admin/components/DateField/DateField.doc.ts +83 -0
  564. package/src/surfaces/admin/components/DateField/DateField.ts +26 -0
  565. package/src/surfaces/admin/components/DateField/examples/basic-datefield.example.ts +11 -0
  566. package/src/surfaces/admin/components/DateField/examples/multiple-datefield.example.ts +11 -0
  567. package/src/surfaces/admin/components/DateField/examples/range-datefield.example.ts +11 -0
  568. package/src/surfaces/admin/components/DatePicker/DatePicker.doc.ts +83 -0
  569. package/src/surfaces/admin/components/DatePicker/DatePicker.ts +100 -0
  570. package/src/surfaces/admin/components/DatePicker/examples/basic-datepicker.example.ts +11 -0
  571. package/src/surfaces/admin/components/DatePicker/examples/multiple-datepicker.example.ts +11 -0
  572. package/src/surfaces/admin/components/DatePicker/examples/range-datepicker.example.ts +11 -0
  573. package/src/surfaces/admin/components/Divider/Divider.doc.ts +0 -1
  574. package/src/surfaces/admin/components/EmailField/EmailField.doc.ts +0 -1
  575. package/src/surfaces/admin/components/Form/Form.doc.ts +1 -2
  576. package/src/surfaces/admin/components/Heading/Heading.doc.ts +0 -1
  577. package/src/surfaces/admin/components/HeadingGroup/HeadingGroup.doc.ts +0 -1
  578. package/src/surfaces/admin/components/Icon/Icon.doc.ts +0 -6
  579. package/src/surfaces/admin/components/Icon/Icon.ts +4 -10
  580. package/src/surfaces/admin/components/Image/Image.doc.ts +0 -1
  581. package/src/surfaces/admin/components/InlineStack/InlineStack.doc.ts +0 -1
  582. package/src/surfaces/admin/components/InlineStack/InlineStack.ts +2 -7
  583. package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/InternalCustomerSegmentTemplate.ts +68 -0
  584. package/src/surfaces/admin/components/InternalCustomerSegmentTemplate/examples/InternalCustomerSegmentTemplate.example.ts +45 -0
  585. package/src/surfaces/admin/components/InternalLocationList/InternalLocationList.ts +76 -0
  586. package/src/surfaces/admin/components/Link/Link.doc.ts +0 -1
  587. package/src/surfaces/admin/components/Link/Link.ts +2 -7
  588. package/src/surfaces/admin/components/MoneyField/MoneyField.doc.ts +47 -0
  589. package/src/surfaces/admin/components/MoneyField/MoneyField.ts +22 -0
  590. package/src/surfaces/admin/components/MoneyField/README.md +3 -0
  591. package/src/surfaces/admin/components/MoneyField/examples/basic-moneyfield.example.ts +9 -0
  592. package/src/surfaces/admin/components/NumberField/NumberField.doc.ts +0 -1
  593. package/src/surfaces/admin/components/NumberField/NumberField.ts +2 -28
  594. package/src/surfaces/admin/components/Paragraph/Paragraph.doc.ts +48 -0
  595. package/src/surfaces/admin/components/Paragraph/Paragraph.ts +10 -0
  596. package/src/surfaces/admin/components/Paragraph/README.md +7 -0
  597. package/src/surfaces/admin/components/Paragraph/examples/basic-paragraph.example.ts +10 -0
  598. package/src/surfaces/admin/components/PasswordField/PasswordField.doc.ts +0 -1
  599. package/src/surfaces/admin/components/Pressable/Pressable.doc.ts +0 -1
  600. package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.doc.ts +48 -0
  601. package/src/surfaces/admin/components/ProgressIndicator/ProgressIndicator.ts +32 -0
  602. package/src/surfaces/admin/components/ProgressIndicator/examples/basic-ProgressIndicator.example.ts +18 -0
  603. package/src/surfaces/admin/components/Select/Select.doc.ts +0 -1
  604. package/src/surfaces/admin/components/Text/Text.doc.ts +0 -1
  605. package/src/surfaces/admin/components/Text/Text.ts +7 -84
  606. package/src/surfaces/admin/components/TextArea/TextArea.doc.ts +0 -1
  607. package/src/surfaces/admin/components/TextField/TextField.doc.ts +0 -1
  608. package/src/surfaces/admin/components/URLField/URLField.doc.ts +0 -1
  609. package/src/surfaces/admin/components/shared/index.ts +349 -0
  610. package/src/surfaces/admin/components.ts +30 -2
  611. package/src/surfaces/admin/extension-targets.ts +96 -21
  612. package/src/surfaces/checkout/api/checkout/checkout.ts +6 -6
  613. package/src/surfaces/checkout/api/docs.ts +99 -0
  614. package/src/surfaces/checkout/api/payment/payment-option-item.ts +6 -0
  615. package/src/surfaces/checkout/api/redeemable/redeemable.ts +6 -1
  616. package/src/surfaces/checkout/api/shipping/shipping-option-list.ts +10 -0
  617. package/src/surfaces/checkout/api/standard/standard.ts +141 -20
  618. package/src/surfaces/checkout/api.ts +2 -0
  619. package/src/surfaces/checkout/components/BlockStack/BlockStack.ts +3 -1
  620. package/src/surfaces/checkout/components/Choice/Choice.ts +23 -1
  621. package/src/surfaces/checkout/components/Choice/examples/basic-choice.example.ts +6 -17
  622. package/src/surfaces/checkout/components/ChoiceList/ChoiceList.doc.ts +48 -8
  623. package/src/surfaces/checkout/components/ChoiceList/ChoiceList.ts +12 -4
  624. package/src/surfaces/checkout/components/ChoiceList/examples/basic-choicelist.example.ts +68 -37
  625. package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.doc.ts +72 -0
  626. package/src/surfaces/checkout/components/ConsentCheckbox/ConsentCheckbox.ts +17 -0
  627. package/src/surfaces/checkout/components/ConsentCheckbox/examples/basic-consent-checkbox.example.ts +11 -0
  628. package/src/surfaces/checkout/components/ConsentCheckbox/examples/with-consent-phone-field-consent-checkbox.example.ts +43 -0
  629. package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.doc.ts +72 -0
  630. package/src/surfaces/checkout/components/ConsentPhoneField/ConsentPhoneField.ts +19 -0
  631. package/src/surfaces/checkout/components/ConsentPhoneField/examples/basic-consent-phone-field.example.ts +10 -0
  632. package/src/surfaces/checkout/components/ConsentPhoneField/examples/with-consent-checkbox-consent-phone-field.example.ts +43 -0
  633. package/src/surfaces/checkout/components/Grid/Grid.ts +3 -1
  634. package/src/surfaces/checkout/components/GridItem/GridItem.ts +3 -1
  635. package/src/surfaces/checkout/components/Icon/Icon.ts +3 -3
  636. package/src/surfaces/checkout/components/InlineStack/InlineStack.ts +3 -1
  637. package/src/surfaces/checkout/components/LoginWithShop/LoginWithShop.ts +22 -0
  638. package/src/surfaces/checkout/components/Map/Map.doc.ts +54 -0
  639. package/src/surfaces/checkout/components/Map/Map.ts +99 -0
  640. package/src/surfaces/checkout/components/Map/examples/basic-map.example.ts +13 -0
  641. package/src/surfaces/checkout/components/MapMarker/MapMarker.doc.ts +62 -0
  642. package/src/surfaces/checkout/components/MapMarker/MapMarker.ts +47 -0
  643. package/src/surfaces/checkout/components/MapMarker/examples/basic-mapmarker.example.ts +23 -0
  644. package/src/surfaces/checkout/components/MapPopover/MapPopover.doc.ts +62 -0
  645. package/src/surfaces/checkout/components/MapPopover/MapPopover.ts +21 -0
  646. package/src/surfaces/checkout/components/MapPopover/examples/basic-mappopover.example.ts +36 -0
  647. package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.doc.ts +55 -0
  648. package/src/surfaces/checkout/components/PaymentIcon/PaymentIcon.ts +481 -0
  649. package/src/surfaces/checkout/components/PaymentIcon/examples/basic-paymenticon.example.ts +7 -0
  650. package/src/surfaces/checkout/components/Pressable/Pressable.ts +3 -1
  651. package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.doc.ts +50 -0
  652. package/src/surfaces/checkout/components/ProductThumbnail/ProductThumbnail.ts +86 -0
  653. package/src/surfaces/checkout/components/ProductThumbnail/examples/basic-productthumbnail.example.ts +11 -0
  654. package/src/surfaces/checkout/components/ScrollView/ScrollView.ts +9 -2
  655. package/src/surfaces/checkout/components/Select/Select.doc.ts +26 -0
  656. package/src/surfaces/checkout/components/Select/examples/time-picking-select.example.ts +36 -0
  657. package/src/surfaces/checkout/components/Text/Text.ts +7 -1
  658. package/src/surfaces/checkout/components/TextBlock/TextBlock.ts +7 -1
  659. package/src/surfaces/checkout/components/ToggleButton/ToggleButton.doc.ts +48 -0
  660. package/src/surfaces/checkout/components/ToggleButton/ToggleButton.ts +29 -0
  661. package/src/surfaces/checkout/components/ToggleButton/examples/basic-togglebutton.example.ts +20 -0
  662. package/src/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.doc.ts +80 -0
  663. package/src/surfaces/checkout/components/ToggleButtonGroup/ToggleButtonGroup.ts +30 -0
  664. package/src/surfaces/checkout/components/ToggleButtonGroup/examples/basic-togglebuttongroup.example.ts +76 -0
  665. package/src/surfaces/checkout/components/View/View.ts +3 -1
  666. package/src/surfaces/checkout/components/shared.ts +26 -25
  667. package/src/surfaces/checkout/components.ts +41 -0
  668. package/src/surfaces/checkout/helper.docs.ts +34 -0
  669. package/src/surfaces/checkout/targets.ts +149 -51
  670. package/src/surfaces/customer-account/api/order-status/order-status.ts +18 -4
  671. package/src/surfaces/customer-account/api.ts +1 -0
  672. package/src/surfaces/customer-account/components/Card/Card.ts +12 -0
  673. package/src/surfaces/customer-account/components/Card/index.ts +2 -0
  674. package/src/surfaces/customer-account/components/index.ts +2 -0
  675. package/src/surfaces/customer-account/components/shared-checkout-components.ts +154 -0
  676. package/src/surfaces/customer-account/targets.ts +4 -4
  677. package/src/surfaces/customer-account.ts +1 -1
  678. package/src/surfaces/point-of-sale/api/cart-api/cart-api.ts +168 -0
  679. package/src/surfaces/point-of-sale/api/connectivity-api/connectivity-api.ts +25 -0
  680. package/src/surfaces/point-of-sale/api/device-api/device-api.ts +21 -0
  681. package/src/surfaces/point-of-sale/api/locale-api/locale-api.ts +16 -0
  682. package/src/surfaces/point-of-sale/api/navigation-api/navigation-api.ts +21 -0
  683. package/src/surfaces/point-of-sale/api/product-search-api/product-search-api.ts +80 -0
  684. package/src/surfaces/point-of-sale/api/scanner-api/scanner-api.ts +30 -0
  685. package/src/surfaces/point-of-sale/api/session-api/session-api.ts +20 -0
  686. package/src/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.ts +12 -0
  687. package/src/surfaces/point-of-sale/api/standard/standard-api.ts +17 -0
  688. package/src/surfaces/point-of-sale/api/toast-api/toast-api.ts +16 -0
  689. package/src/surfaces/point-of-sale/api/types/cart.ts +107 -0
  690. package/src/surfaces/point-of-sale/api/types/country-code.ts +249 -0
  691. package/src/surfaces/point-of-sale/api/types/multiple-resource-result.ts +14 -0
  692. package/src/surfaces/point-of-sale/api/types/paginated-result.ts +20 -0
  693. package/src/surfaces/point-of-sale/api/types/product.ts +62 -0
  694. package/src/surfaces/point-of-sale/api/types/session.ts +27 -0
  695. package/src/surfaces/point-of-sale/api.ts +79 -0
  696. package/src/surfaces/point-of-sale/components/Badge/Badge.ts +18 -0
  697. package/src/surfaces/point-of-sale/components/Banner/Banner.ts +39 -0
  698. package/src/surfaces/point-of-sale/components/Button/Button.ts +13 -0
  699. package/src/surfaces/point-of-sale/components/CameraScanner/CameraScanner.ts +8 -0
  700. package/src/surfaces/point-of-sale/components/DateField/DateField.ts +20 -0
  701. package/src/surfaces/point-of-sale/components/DatePicker/DatePicker.ts +12 -0
  702. package/src/surfaces/point-of-sale/components/Dialog/Dialog.ts +17 -0
  703. package/src/surfaces/point-of-sale/components/EmailField/EmailField.ts +8 -0
  704. package/src/surfaces/point-of-sale/components/FormattedTextField/FormattedTextField.ts +16 -0
  705. package/src/surfaces/point-of-sale/components/Icon/Icon.ts +93 -0
  706. package/src/surfaces/point-of-sale/components/Image/Image.ts +7 -0
  707. package/src/surfaces/point-of-sale/components/List/List.ts +110 -0
  708. package/src/surfaces/point-of-sale/components/Navigator/Navigator.ts +12 -0
  709. package/src/surfaces/point-of-sale/components/NumberField/NumberField.ts +20 -0
  710. package/src/surfaces/point-of-sale/components/PinPad/PinPad.ts +47 -0
  711. package/src/surfaces/point-of-sale/components/RadioButtonList/RadioButtonList.ts +13 -0
  712. package/src/surfaces/point-of-sale/components/Screen/Screen.ts +43 -0
  713. package/src/surfaces/point-of-sale/components/ScrollView/ScrollView.ts +3 -0
  714. package/src/surfaces/point-of-sale/components/SearchBar/SearchBar.ts +14 -0
  715. package/src/surfaces/point-of-sale/components/Section/Section.ts +15 -0
  716. package/src/surfaces/point-of-sale/components/SegmentedControl/SegmentedControl.ts +18 -0
  717. package/src/surfaces/point-of-sale/components/Selectable/Selectable.ts +10 -0
  718. package/src/surfaces/point-of-sale/components/Spacing/Spacing.ts +16 -0
  719. package/src/surfaces/point-of-sale/components/Stack/Stack.ts +37 -0
  720. package/src/surfaces/point-of-sale/components/Stepper/Stepper.ts +39 -0
  721. package/src/surfaces/point-of-sale/components/Text/Text.ts +28 -0
  722. package/src/surfaces/point-of-sale/components/TextArea/TextArea.ts +15 -0
  723. package/src/surfaces/point-of-sale/components/TextField/TextField.ts +47 -0
  724. package/src/surfaces/point-of-sale/components/Tile/Tile.ts +12 -0
  725. package/src/surfaces/point-of-sale/components/TimeField/TimeField.ts +22 -0
  726. package/src/surfaces/point-of-sale/components/TimePicker/TimePicker.ts +13 -0
  727. package/src/surfaces/point-of-sale/components/shared/BaseTextField.ts +9 -0
  728. package/src/surfaces/point-of-sale/components/shared/InputField.ts +61 -0
  729. package/src/surfaces/point-of-sale/components/shared/auto-capitalization-type.ts +5 -0
  730. package/src/surfaces/point-of-sale/components.ts +104 -0
  731. package/src/surfaces/point-of-sale/extension.ts +21 -0
  732. package/src/surfaces/point-of-sale/globals.ts +18 -0
  733. package/src/surfaces/point-of-sale/shared.ts +6 -0
  734. package/src/surfaces/point-of-sale/targets.ts +87 -0
  735. package/src/surfaces/point-of-sale.ts +6 -0
  736. package/build/cjs/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.js +0 -12
  737. package/build/esm/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.mjs +0 -8
  738. package/build/esnext/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.esnext +0 -8
  739. package/build/ts/surfaces/admin/api/customer-segmentation-template/customer-segmentation-template.d.ts.map +0 -1
  740. package/build/ts/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.d.ts +0 -27
  741. package/build/ts/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.d.ts.map +0 -1
  742. package/src/surfaces/admin/components/CustomerSegmentationTemplate/CustomerSegmentationTemplate.ts +0 -68
  743. package/src/surfaces/admin/components/CustomerSegmentationTemplate/examples/CustomerSegmentationTemplate.example.ts +0 -37
  744. package/src/surfaces/checkout/style/examples/.eslintrc.js +0 -8
@@ -0,0 +1,113 @@
1
+ import type { RemoteSubscribable } from '@remote-ui/async-subscription';
2
+ import type { Address, Cart, Customer, CustomSale, SetLineItemDiscountInput, SetLineItemPropertiesInput } from '../types/cart';
3
+ /**
4
+ * Access and modify the merchant’s current cart.
5
+ */
6
+ export interface CartApi {
7
+ cart: CartApiContent;
8
+ }
9
+ /**
10
+ * @deprecated
11
+ * PriceOverride is no longer supported. Code discounts are only supported at the Cart level.
12
+ * Please migrate to using CartDiscountType and LineItemDiscountType as soon as possible.
13
+ */
14
+ export type DiscountType = 'Percentage' | 'FixedAmount' | 'PriceOverride' | 'Code';
15
+ export type CartDiscountType = 'Percentage' | 'FixedAmount' | 'Code';
16
+ export type LineItemDiscountType = 'Percentage' | 'FixedAmount';
17
+ export interface CartApiContent {
18
+ /** Provides a subscription to POS cart changes.
19
+ * Provides an initial value and a callback to subsribe to value changes. Currently supports only one subscription.
20
+ * You can utilize `makeStatefulSubscribable` on a `RemoteSubscribable` to implement multiple subscriptions.
21
+ * Using `makeStatefulSubscribable` or the corresponding hooks counts as a subscription.
22
+ */
23
+ subscribable: RemoteSubscribable<Cart>;
24
+ /** Apply a cart level discount
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
+ /** Remove the cart discount */
31
+ removeCartDiscount(): Promise<void>;
32
+ /** Clear the cart */
33
+ clearCart(): Promise<void>;
34
+ /** Set the customer in the cart
35
+ * @param customer the customer object to add to the cart
36
+ */
37
+ setCustomer(customer: Customer): Promise<void>;
38
+ /** Remove the current customer from the cart */
39
+ removeCustomer(): Promise<void>;
40
+ /** Add a custom sale to the cart
41
+ * @param customSale the custom sale object to add to the cart
42
+ */
43
+ addCustomSale(customSale: CustomSale): Promise<void>;
44
+ /** Add a line item by variant ID to the cart
45
+ * @param variantId the product variant's numeric ID to add to the cart
46
+ * @param quantity the number of this variant to add to the cart
47
+ */
48
+ addLineItem(variantId: number, quantity: number): Promise<void>;
49
+ /** Remove the line item at this uuid from the cart
50
+ * @param uuid the uuid of the line item that should be removed
51
+ */
52
+ removeLineItem(uuid: string): Promise<void>;
53
+ /** Adds custom properties to the cart
54
+ * @param properties the custom key to value object to attribute to the cart
55
+ */
56
+ addCartProperties(properties: Record<string, string>): Promise<void>;
57
+ /** Removes the specified cart properties
58
+ * @param keys the collection of keys to be removed from the cart properties
59
+ */
60
+ removeCartProperties(keys: string[]): Promise<void>;
61
+ /** Adds custom properties to the specified line item
62
+ * @param uuid the uuid of the line item to which the properties should be stringd
63
+ * @param properties the custom key to value object to attribute to the line item
64
+ */
65
+ addLineItemProperties(uuid: string, properties: Record<string, string>): Promise<void>;
66
+ /** Adds custom properties to multiple line items at the same time.
67
+ * @param lineItemProperties the collection of custom line item properties to apply to their respective line items.
68
+ */
69
+ bulkAddLineItemProperties(lineItemProperties: SetLineItemPropertiesInput[]): Promise<void>;
70
+ /** Removes the specified line item properties
71
+ * @param uuid the uuid of the line item to which the properties should be removed
72
+ * @param keys the collection of keys to be removed from the line item properties
73
+ */
74
+ removeLineItemProperties(uuid: string, keys: string[]): Promise<void>;
75
+ /** Add a discount on a line item to the cart
76
+ * @param uuid the uuid of the line item that should receive a discount
77
+ * @param type the type of discount applied (example: 'Percentage')
78
+ * @param title the title attributed with the discount
79
+ * @param amount the percentage or fixed monetary amount deducted with the discout
80
+ */
81
+ setLineItemDiscount(uuid: string, type: LineItemDiscountType, title: string, amount: string): Promise<void>;
82
+ /** Set line item discounts to multiple line items at the same time.
83
+ * @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.
84
+ */
85
+ bulkSetLineItemDiscounts(lineItemDiscounts: SetLineItemDiscountInput[]): Promise<void>;
86
+ /** Sets an attributed staff to all line items in the cart.
87
+ * @param staffId the ID of the staff. Providing undefined will clear the attributed staff from all line items.
88
+ */
89
+ setAttributedStaff(staffId: number | undefined): Promise<void>;
90
+ /** Sets an attributed staff to a specific line items in the cart.
91
+ * @param staffId the ID of the staff. Providing undefined will clear the attributed staff on the line item.
92
+ * @param lineItemUuid the UUID of the line item.
93
+ */
94
+ setAttributedStaffToLineItem(staffId: number | undefined, lineItemUuid: string): Promise<void>;
95
+ /** Remove all discounts from a line item
96
+ * @param uuid the uuid of the line item whose discounts should be removed
97
+ */
98
+ removeLineItemDiscount(uuid: string): Promise<void>;
99
+ /** Add an address to the customer (Customer must be present)
100
+ * @param address the address object to add to the customer in cart
101
+ */
102
+ addAddress(address: Address): Promise<void>;
103
+ /**
104
+ * Delete an address from the customer (Customer must be present)
105
+ * @param addressId the address ID to delete
106
+ */
107
+ deleteAddress(addressId: number): Promise<void>;
108
+ /** Update the default address for the customer (Customer must be present)
109
+ * @param addressId the address ID to set as the default address
110
+ */
111
+ updateDefaultAddress(addressId: number): Promise<void>;
112
+ }
113
+ //# 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,+BAA+B,CAAC;AACtE,OAAO,KAAK,EACV,OAAO,EACP,IAAI,EACJ,QAAQ,EACR,UAAU,EACV,wBAAwB,EACxB,0BAA0B,EAC3B,MAAM,eAAe,CAAC;AAEvB;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,cAAc,CAAC;CACtB;AAED;;;;GAIG;AACH,MAAM,MAAM,YAAY,GACpB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,MAAM,CAAC;AAEX,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,aAAa,GAAG,MAAM,CAAC;AAErE,MAAM,MAAM,oBAAoB,GAAG,YAAY,GAAG,aAAa,CAAC;AAEhE,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,YAAY,EAAE,kBAAkB,CAAC,IAAI,CAAC,CAAC;IAEvC;;;;OAIG;IACH,iBAAiB,CACf,IAAI,EAAE,gBAAgB,EACtB,KAAK,EAAE,MAAM,EACb,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB,+BAA+B;IAC/B,kBAAkB,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpC,qBAAqB;IACrB,SAAS,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAE3B;;OAEG;IACH,WAAW,CAAC,QAAQ,EAAE,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/C,gDAAgD;IAChD,cAAc,IAAI,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhC;;OAEG;IACH,aAAa,CAAC,UAAU,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErD;;;OAGG;IACH,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhE;;OAEG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5C;;OAEG;IACH,iBAAiB,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAErE;;OAEG;IACH,oBAAoB,CAAC,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;;OAGG;IACH,qBAAqB,CACnB,IAAI,EAAE,MAAM,EACZ,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GACjC,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;OAEG;IACH,yBAAyB,CACvB,kBAAkB,EAAE,0BAA0B,EAAE,GAC/C,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;;OAGG;IACH,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEtE;;;;;OAKG;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;;OAEG;IACH,wBAAwB,CACtB,iBAAiB,EAAE,wBAAwB,EAAE,GAC5C,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;OAEG;IACH,kBAAkB,CAAC,OAAO,EAAE,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE/D;;;OAGG;IACH,4BAA4B,CAC1B,OAAO,EAAE,MAAM,GAAG,SAAS,EAC3B,YAAY,EAAE,MAAM,GACnB,OAAO,CAAC,IAAI,CAAC,CAAC;IAEjB;;OAEG;IACH,sBAAsB,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEpD;;OAEG;IACH,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAE5C;;;OAGG;IACH,aAAa,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAEhD;;OAEG;IACH,oBAAoB,CAAC,SAAS,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD"}
@@ -0,0 +1,22 @@
1
+ import type { RemoteSubscribable } from '@remote-ui/async-subscription';
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
+ * Creates a subscription to changes in connectivity.
12
+ * Provides an initial value and a callback to subscribe to value changes.
13
+ */
14
+ subscribable: RemoteSubscribable<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,+BAA+B,CAAC;AAEtE,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,YAAY,EAAE,kBAAkB,CAAC,iBAAiB,CAAC,CAAC;CACrD;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,YAAY,EAAE,sBAAsB,CAAC;CACtC"}
@@ -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,15 @@
1
+ import type { RemoteSubscribable } from '@remote-ui/async-subscription';
2
+ export interface LocaleApiContent {
3
+ /** IETF-formatted locale at time of page load and a callback to subsribe to value changes. Current supports only one subscription.
4
+ * You can utilize `makeStatefulSubscribable` on a `RemoteSubscribable` to implement multiple subscriptions.
5
+ * Using `makeStatefulSubscribable` or the corresponding hooks counts as a subscription.
6
+ */
7
+ subscribable: RemoteSubscribable<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,+BAA+B,CAAC;AAEtE,MAAM,WAAW,gBAAgB;IAC/B;;;OAGG;IACH,YAAY,EAAE,kBAAkB,CAAC,MAAM,CAAC,CAAC;CAC1C;AAED;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,MAAM,EAAE,gBAAgB,CAAC;CAC1B"}
@@ -0,0 +1,19 @@
1
+ export interface NavigationApiContent {
2
+ /** Navigate to a route in current navigation tree.
3
+ * Pushes the specified screen if it isn't present in the navigation tree, goes back to a created screen otherwise.
4
+ * @param screenName the name of the screen you want to navigate to.
5
+ * @param params the parameters you want to pass to that screen.
6
+ */
7
+ navigate(screenName: string, params?: any): void;
8
+ /** Pops the currently shown screen */
9
+ pop(): void;
10
+ /** Dismisses the modal highest on the stack */
11
+ dismiss(): void;
12
+ }
13
+ /**
14
+ * Access the navigation API for navigation functionality from a full screen modal.
15
+ */
16
+ export interface NavigationApi {
17
+ navigation: NavigationApiContent;
18
+ }
19
+ //# 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;;;;OAIG;IACH,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,MAAM,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;IAEjD,sCAAsC;IACtC,GAAG,IAAI,IAAI,CAAC;IAEZ,+CAA+C;IAC/C,OAAO,IAAI,IAAI,CAAC;CACjB;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,UAAU,EAAE,oBAAoB,CAAC;CAClC"}
@@ -0,0 +1,58 @@
1
+ import type { Product, ProductVariant } from '../types/product';
2
+ import { MultipleResourceResult } from '../types/multiple-resource-result';
3
+ import { PaginatedResult } from '../types/paginated-result';
4
+ export type ProductSortType = 'RECENTLY_ADDED' | 'RECENTLY_ADDED_ASCENDING' | 'ALPHABETICAL_A_TO_Z' | 'ALPHABETICAL_Z_TO_A';
5
+ /**
6
+ * Parameters for using the searchProducts function.
7
+ */
8
+ export interface ProductSearchParams {
9
+ /**
10
+ * The search term to be used to search for POS products.
11
+ */
12
+ queryString?: string;
13
+ /**
14
+ * Specifies the number of results to be returned in this page of products. The maximum number of products that will be returned is 50.
15
+ */
16
+ first?: number;
17
+ /**
18
+ * Specifies the page cursor. Products after this cursor will be returned.
19
+ */
20
+ afterCursor?: string;
21
+ /**
22
+ * 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`.
23
+ */
24
+ sortType?: ProductSortType;
25
+ }
26
+ export interface ProductSearchApiContent {
27
+ /** Search for products on the POS device.
28
+ * @param searchParams The parameters for the product search.
29
+ */
30
+ searchProducts(searchParams: ProductSearchParams): Promise<PaginatedResult<Product>>;
31
+ /** Fetches a single product's details.
32
+ * @param productId The ID of the product to lookup.
33
+ */
34
+ fetchProductWithId(productId: number): Promise<Product | undefined>;
35
+ /** Fetches multiple products' details.
36
+ * @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.
37
+ */
38
+ fetchProductsWithIds(productIds: number[]): Promise<MultipleResourceResult<Product>>;
39
+ /** Fetches a single product variant's details.
40
+ * @param productVariantId The ID of the product variant to lookup.
41
+ */
42
+ fetchProductVariantWithId(productVariantId: number): Promise<ProductVariant | undefined>;
43
+ /** Fetches multiple product variants' details.
44
+ * @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.
45
+ */
46
+ fetchProductVariantsWithIds(productVariantIds: number[]): Promise<MultipleResourceResult<ProductVariant>>;
47
+ /** Fetches all product variants associated with a product.
48
+ * @param productId The product ID. All variants' details associated with this product ID are returned.
49
+ */
50
+ fetchProductVariantsWithProductId(productId: number): Promise<ProductVariant[]>;
51
+ }
52
+ /**
53
+ * Access Point of Sale's native product search functionality.
54
+ */
55
+ export interface ProductSearchApi {
56
+ productSearch: ProductSearchApiContent;
57
+ }
58
+ //# 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,OAAO,EAAE,cAAc,EAAC,MAAM,kBAAkB,CAAC;AAC9D,OAAO,EAAC,sBAAsB,EAAC,MAAM,mCAAmC,CAAC;AACzE,OAAO,EAAC,eAAe,EAAC,MAAM,2BAA2B,CAAC;AAE1D,MAAM,MAAM,eAAe,GACvB,gBAAgB,GAChB,0BAA0B,GAC1B,qBAAqB,GACrB,qBAAqB,CAAC;AAE1B;;GAEG;AACH,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;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;CAC9B;AAED;;GAEG;AACH,MAAM,WAAW,gBAAgB;IAC/B,aAAa,EAAE,uBAAuB,CAAC;CACxC"}
@@ -0,0 +1,27 @@
1
+ import type { RemoteSubscribable } from '@remote-ui/async-subscription';
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 ScannerApiContent {
11
+ /** Creates a subscription to scan events
12
+ * Provides an initial value and a callback to subsribe to value changes. Currently supports only one subscription.
13
+ * You can utilize `makeStatefulSubscribable` on a `RemoteSubscribable` to implement multiple subscriptions.
14
+ * Using `makeStatefulSubscribable` or the corresponding hooks counts as a subscription.
15
+ */
16
+ scannerDataSubscribable: RemoteSubscribable<ScannerSubscriptionResult>;
17
+ /** Creates a subscription to the scanning sources available on the POS device.
18
+ * Provides an initial value and a callback to subsribe to value changes. Currently supports only one subscription.
19
+ * You can utilize `makeStatefulSubscribable` on a `RemoteSubscribable` to implement multiple subscriptions.
20
+ * Using `makeStatefulSubscribable` or the corresponding hooks counts as a subscription.
21
+ */
22
+ scannerSourcesSubscribable: RemoteSubscribable<ScannerSource[]>;
23
+ }
24
+ export interface ScannerApi {
25
+ scanner: ScannerApiContent;
26
+ }
27
+ //# 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,+BAA+B,CAAC;AAEtE,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,iBAAiB;IAChC;;;;OAIG;IACH,uBAAuB,EAAE,kBAAkB,CAAC,yBAAyB,CAAC,CAAC;IACvE;;;;OAIG;IACH,0BAA0B,EAAE,kBAAkB,CAAC,aAAa,EAAE,CAAC,CAAC;CACjE;AAED,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC5B"}
@@ -0,0 +1,19 @@
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
+ * Calls to Shopify APIs must be made by your app’s backend service.
10
+ */
11
+ getSessionToken: () => Promise<string | undefined>;
12
+ }
13
+ /**
14
+ * Access information on the current Session, including data on the current shop, user, staff and location.
15
+ */
16
+ export interface SessionApi {
17
+ session: SessionApiContent;
18
+ }
19
+ //# sourceMappingURL=session-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"session-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/session-api/session-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,kBAAkB,CAAC;AAE9C,MAAM,WAAW,iBAAiB;IAChC;;OAEG;IACH,cAAc,EAAE,OAAO,CAAC;IACxB;;;OAGG;IACH,eAAe,EAAE,MAAM,OAAO,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,UAAU;IACzB,OAAO,EAAE,iBAAiB,CAAC;CAC5B"}
@@ -0,0 +1,12 @@
1
+ export interface SmartGridApiContent {
2
+ /** Presents the `pos.home.modal.render` extension point on top of the Smart Grid.
3
+ */
4
+ presentModal(): void;
5
+ }
6
+ /**
7
+ * Access the SmartGrid API to present your app in a full screen modal.
8
+ */
9
+ export interface SmartGridApi {
10
+ smartGrid: SmartGridApiContent;
11
+ }
12
+ //# sourceMappingURL=smartgrid-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"smartgrid-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/smartgrid-api/smartgrid-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAClC;OACG;IACH,YAAY,IAAI,IAAI,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IAC3B,SAAS,EAAE,mBAAmB,CAAC;CAChC"}
@@ -0,0 +1,13 @@
1
+ import type { CartApi } from '../cart-api/cart-api';
2
+ import type { ConnectivityApi } from '../connectivity-api/connectivity-api';
3
+ import type { DeviceApi } from '../device-api/device-api';
4
+ import type { LocaleApi } from '../locale-api/locale-api';
5
+ import type { SessionApi } from '../session-api/session-api';
6
+ import type { ToastApi } from '../toast-api/toast-api';
7
+ import type { ProductSearchApi } from '../product-search-api/product-search-api';
8
+ export type StandardApi<T> = {
9
+ [key: string]: any;
10
+ } & {
11
+ extensionPoint: T;
12
+ } & LocaleApi & CartApi & ToastApi & SessionApi & ProductSearchApi & DeviceApi & ConnectivityApi;
13
+ //# sourceMappingURL=standard-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"standard-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/standard/standard-api.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,OAAO,EAAC,MAAM,sBAAsB,CAAC;AAClD,OAAO,KAAK,EAAC,eAAe,EAAC,MAAM,sCAAsC,CAAC;AAC1E,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,4BAA4B,CAAC;AAC3D,OAAO,KAAK,EAAC,QAAQ,EAAC,MAAM,wBAAwB,CAAC;AACrD,OAAO,KAAK,EAAC,gBAAgB,EAAC,MAAM,0CAA0C,CAAC;AAE/E,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAAC,GAAG;IAClD,cAAc,EAAE,CAAC,CAAC;CACnB,GAAG,SAAS,GACX,OAAO,GACP,QAAQ,GACR,UAAU,GACV,gBAAgB,GAChB,SAAS,GACT,eAAe,CAAC"}
@@ -0,0 +1,15 @@
1
+ export interface ShowToastOptions {
2
+ duration?: number;
3
+ }
4
+ export interface ToastApiContent {
5
+ /**
6
+ * Show a toast.
7
+ * @param content The text content to display.
8
+ * @param options An object containing ShowToastOptions.
9
+ */
10
+ show: (content: string, options?: ShowToastOptions) => void;
11
+ }
12
+ export interface ToastApi {
13
+ toast: ToastApiContent;
14
+ }
15
+ //# sourceMappingURL=toast-api.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"toast-api.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/toast-api/toast-api.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B;;;;OAIG;IACH,IAAI,EAAE,CAAC,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC7D;AAED,MAAM,WAAW,QAAQ;IACvB,KAAK,EAAE,eAAe,CAAC;CACxB"}
@@ -0,0 +1,101 @@
1
+ import { CountryCode } from './country-code';
2
+ export interface Cart {
3
+ subtotal: string;
4
+ taxTotal: string;
5
+ grandTotal: string;
6
+ note?: string;
7
+ cartDiscount?: Discount;
8
+ customer?: Customer;
9
+ lineItems: LineItem[];
10
+ properties: Record<string, string>;
11
+ }
12
+ export interface Customer {
13
+ id: number;
14
+ email?: string;
15
+ firstName?: string;
16
+ lastName?: string;
17
+ note?: string;
18
+ }
19
+ export interface LineItem {
20
+ uuid: string;
21
+ price?: number;
22
+ quantity: number;
23
+ title?: string;
24
+ variantId?: number;
25
+ productId?: number;
26
+ discounts: Discount[];
27
+ taxable: boolean;
28
+ sku?: string;
29
+ vendor?: string;
30
+ properties: {
31
+ [key: string]: string;
32
+ };
33
+ isGiftCard: boolean;
34
+ }
35
+ export interface Discount {
36
+ amount: number;
37
+ discountDescription?: string;
38
+ type?: string;
39
+ }
40
+ /**
41
+ * Parameters for adding custom properties to a line item.
42
+ */
43
+ export interface SetLineItemPropertiesInput {
44
+ /**
45
+ * The uuid belonging to the line item which should receive the custom properties.
46
+ */
47
+ lineItemUuid: string;
48
+ /**
49
+ * The custom properties to apply to the line item.
50
+ */
51
+ properties: Record<string, string>;
52
+ }
53
+ /**
54
+ * Parameters for adding a line item discount.
55
+ */
56
+ export interface SetLineItemDiscountInput {
57
+ /**
58
+ * The uuid belonging to the line item which should receive the discount.
59
+ */
60
+ lineItemUuid: string;
61
+ /**
62
+ * The discount to be applied to the line item.
63
+ */
64
+ lineItemDiscount: LineItemDiscount;
65
+ }
66
+ export interface LineItemDiscount {
67
+ /**
68
+ * The title of the line item discount.
69
+ */
70
+ title: string;
71
+ /**
72
+ * The discount type.
73
+ */
74
+ type: 'Percentage' | 'FixedAmount';
75
+ /**
76
+ * The percentage or fixed amount for the discount.
77
+ */
78
+ amount: string;
79
+ }
80
+ export interface CustomSale {
81
+ quantity: number;
82
+ title: string;
83
+ price: string;
84
+ taxable: boolean;
85
+ }
86
+ export interface Address {
87
+ address1?: string;
88
+ address2?: string;
89
+ city?: string;
90
+ company?: string;
91
+ firstName?: string;
92
+ lastName?: string;
93
+ phone?: string;
94
+ province?: string;
95
+ country?: string;
96
+ zip?: string;
97
+ name?: string;
98
+ provinceCode?: string;
99
+ countryCode?: CountryCode;
100
+ }
101
+ //# sourceMappingURL=cart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cart.d.ts","sourceRoot":"","sources":["../../../../../../src/surfaces/point-of-sale/api/types/cart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAE3C,MAAM,WAAW,IAAI;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IACpB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAED,MAAM,WAAW,QAAQ;IACvB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,QAAQ,EAAE,CAAC;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,UAAU,EAAE;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAC,CAAC;IACpC,UAAU,EAAE,OAAO,CAAC;CACrB;AAED,MAAM,WAAW,QAAQ;IACvB,MAAM,EAAE,MAAM,CAAC;IACf,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAC7B,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,0BAA0B;IACzC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CACpC;AAED;;GAEG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,gBAAgB,EAAE,gBAAgB,CAAC;CACpC;AAED,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,IAAI,EAAE,YAAY,GAAG,aAAa,CAAC;IACnC;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,MAAM,WAAW,OAAO;IACtB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B"}