@shopify/ui-extensions 2025.10.0-rc.36 → 2025.10.0-rc.38

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 (215) hide show
  1. package/build/ts/shared.d.ts +24 -4
  2. package/build/ts/shared.d.ts.map +1 -1
  3. package/build/ts/surfaces/admin/components/AdminAction.d.ts +1 -1
  4. package/build/ts/surfaces/admin/components/AdminBlock.d.ts +1 -1
  5. package/build/ts/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  6. package/build/ts/surfaces/admin/components/Avatar.d.ts +1 -1
  7. package/build/ts/surfaces/admin/components/Badge.d.ts +1 -1
  8. package/build/ts/surfaces/admin/components/Banner.d.ts +1 -1
  9. package/build/ts/surfaces/admin/components/Box.d.ts +8 -1
  10. package/build/ts/surfaces/admin/components/Button.d.ts +1 -1
  11. package/build/ts/surfaces/admin/components/ButtonGroup.d.ts +14 -2
  12. package/build/ts/surfaces/admin/components/Checkbox.d.ts +1 -1
  13. package/build/ts/surfaces/admin/components/Chip.d.ts +1 -1
  14. package/build/ts/surfaces/admin/components/Choice.d.ts +1 -1
  15. package/build/ts/surfaces/admin/components/ChoiceList.d.ts +1 -1
  16. package/build/ts/surfaces/admin/components/Clickable.d.ts +8 -1
  17. package/build/ts/surfaces/admin/components/ClickableChip.d.ts +1 -1
  18. package/build/ts/surfaces/admin/components/ColorField.d.ts +3 -1
  19. package/build/ts/surfaces/admin/components/ColorPicker.d.ts +1 -1
  20. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts +2 -2
  21. package/build/ts/surfaces/admin/components/DateField/DateField.doc.d.ts.map +1 -1
  22. package/build/ts/surfaces/admin/components/DateField.d.ts +1 -1
  23. package/build/ts/surfaces/admin/components/DatePicker.d.ts +1 -1
  24. package/build/ts/surfaces/admin/components/Divider.d.ts +1 -1
  25. package/build/ts/surfaces/admin/components/DropZone.d.ts +1 -1
  26. package/build/ts/surfaces/admin/components/EmailField.d.ts +1 -1
  27. package/build/ts/surfaces/admin/components/Form.d.ts +1 -1
  28. package/build/ts/surfaces/admin/components/FunctionSettings.d.ts +1 -1
  29. package/build/ts/surfaces/admin/components/Grid.d.ts +20 -1
  30. package/build/ts/surfaces/admin/components/GridItem.d.ts +8 -1
  31. package/build/ts/surfaces/admin/components/Heading.d.ts +1 -1
  32. package/build/ts/surfaces/admin/components/Icon.d.ts +1 -1
  33. package/build/ts/surfaces/admin/components/Image.d.ts +8 -1
  34. package/build/ts/surfaces/admin/components/Link.d.ts +1 -1
  35. package/build/ts/surfaces/admin/components/ListItem.d.ts +1 -1
  36. package/build/ts/surfaces/admin/components/Menu.d.ts +1 -1
  37. package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts +4 -0
  38. package/build/ts/surfaces/admin/components/Modal/Modal.ab.doc.d.ts.map +1 -0
  39. package/build/ts/surfaces/admin/components/Modal.d.ts +1 -1
  40. package/build/ts/surfaces/admin/components/MoneyField.d.ts +1 -3
  41. package/build/ts/surfaces/admin/components/NumberField.d.ts +1 -3
  42. package/build/ts/surfaces/admin/components/Option.d.ts +1 -1
  43. package/build/ts/surfaces/admin/components/OptionGroup.d.ts +1 -1
  44. package/build/ts/surfaces/admin/components/OrderedList.d.ts +1 -1
  45. package/build/ts/surfaces/admin/components/Page.d.ts +1 -1
  46. package/build/ts/surfaces/admin/components/Paragraph.d.ts +1 -1
  47. package/build/ts/surfaces/admin/components/PasswordField.d.ts +1 -1
  48. package/build/ts/surfaces/admin/components/QueryContainer.d.ts +1 -1
  49. package/build/ts/surfaces/admin/components/SearchField.d.ts +1 -1
  50. package/build/ts/surfaces/admin/components/Section.d.ts +1 -1
  51. package/build/ts/surfaces/admin/components/Select.d.ts +1 -1
  52. package/build/ts/surfaces/admin/components/Spinner.d.ts +1 -1
  53. package/build/ts/surfaces/admin/components/Stack.d.ts +14 -1
  54. package/build/ts/surfaces/admin/components/Switch.d.ts +1 -1
  55. package/build/ts/surfaces/admin/components/Table.d.ts +3 -2
  56. package/build/ts/surfaces/admin/components/TableBody.d.ts +1 -1
  57. package/build/ts/surfaces/admin/components/TableCell.d.ts +1 -1
  58. package/build/ts/surfaces/admin/components/TableHeader.d.ts +3 -2
  59. package/build/ts/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  60. package/build/ts/surfaces/admin/components/TableRow.d.ts +1 -1
  61. package/build/ts/surfaces/admin/components/Text.d.ts +1 -1
  62. package/build/ts/surfaces/admin/components/TextArea.d.ts +1 -1
  63. package/build/ts/surfaces/admin/components/TextField.d.ts +1 -1
  64. package/build/ts/surfaces/admin/components/Thumbnail.d.ts +1 -1
  65. package/build/ts/surfaces/admin/components/Tooltip.d.ts +1 -1
  66. package/build/ts/surfaces/admin/components/URLField.d.ts +1 -1
  67. package/build/ts/surfaces/admin/components/UnorderedList.d.ts +1 -1
  68. package/build/ts/surfaces/admin/components/patterns/indexTable.ab.doc.d.ts.map +1 -1
  69. package/build/ts/surfaces/admin/components/shared.d.ts +245 -222
  70. package/build/ts/surfaces/admin/docs-types.d.ts +4 -0
  71. package/build/ts/surfaces/admin/docs-types.d.ts.map +1 -1
  72. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts +2 -2
  73. package/build/ts/surfaces/customer-account/api/cart-line/cart-line-item.d.ts.map +1 -1
  74. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts +29 -29
  75. package/build/ts/surfaces/customer-account/api/order-status/order-status.d.ts.map +1 -1
  76. package/build/ts/surfaces/customer-account/api/shared.d.ts +6 -6
  77. package/build/ts/surfaces/customer-account/api/shared.d.ts.map +1 -1
  78. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts +6 -6
  79. package/build/ts/surfaces/customer-account/api/standard-api/standard-api.d.ts.map +1 -1
  80. package/build/ts/surfaces/customer-account/api.d.ts +1 -1
  81. package/build/ts/surfaces/customer-account/api.d.ts.map +1 -1
  82. package/build/ts/surfaces/customer-account/preact/subscription.d.ts +2 -2
  83. package/build/ts/surfaces/customer-account/preact/subscription.d.ts.map +1 -1
  84. package/build/ts/surfaces/point-of-sale/api.d.ts +1 -1
  85. package/build/ts/surfaces/point-of-sale/api.d.ts.map +1 -1
  86. package/build/ts/surfaces/point-of-sale/components/Badge.d.ts +1 -1
  87. package/build/ts/surfaces/point-of-sale/components/Box.d.ts +82 -8
  88. package/build/ts/surfaces/point-of-sale/components/Icon.d.ts +111 -30
  89. package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts +4 -0
  90. package/build/ts/surfaces/point-of-sale/components/PosBlock/PosBlock.doc.d.ts.map +1 -0
  91. package/build/ts/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
  92. package/build/ts/surfaces/point-of-sale/components/SearchField.d.ts +1 -4
  93. package/build/ts/surfaces/point-of-sale/components/Stack.d.ts +82 -8
  94. package/build/ts/surfaces/point-of-sale/components/Tile.d.ts +1 -38
  95. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts +4 -0
  96. package/build/ts/surfaces/point-of-sale/components/TimeField/TimeField.doc.d.ts.map +1 -0
  97. package/build/ts/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
  98. package/build/ts/surfaces/point-of-sale/components/components-shared.d.ts +321 -150
  99. package/build/ts/surfaces/point-of-sale/targets/pos.cart.line-item-details.action.render.d.ts +2 -0
  100. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.action.render.d.ts +2 -0
  101. package/build/ts/surfaces/point-of-sale/targets/pos.customer-details.block.render.d.ts +1 -0
  102. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.action.render.d.ts +2 -0
  103. package/build/ts/surfaces/point-of-sale/targets/pos.draft-order-details.block.render.d.ts +1 -0
  104. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.action.render.d.ts +2 -0
  105. package/build/ts/surfaces/point-of-sale/targets/pos.exchange.post.block.render.d.ts +1 -0
  106. package/build/ts/surfaces/point-of-sale/targets/pos.home.modal.render.d.ts +2 -0
  107. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.action.render.d.ts +2 -0
  108. package/build/ts/surfaces/point-of-sale/targets/pos.order-details.block.render.d.ts +1 -0
  109. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.action.render.d.ts +2 -0
  110. package/build/ts/surfaces/point-of-sale/targets/pos.product-details.block.render.d.ts +1 -0
  111. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.action.render.d.ts +2 -0
  112. package/build/ts/surfaces/point-of-sale/targets/pos.purchase.post.block.render.d.ts +1 -0
  113. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.action.render.d.ts +2 -0
  114. package/build/ts/surfaces/point-of-sale/targets/pos.return.post.block.render.d.ts +1 -0
  115. package/build/ts/surfaces/point-of-sale/types/cart.d.ts +2 -17
  116. package/build/ts/surfaces/point-of-sale/types/cart.d.ts.map +1 -1
  117. package/build/tsconfig.tsbuildinfo +1 -1
  118. package/package.json +1 -1
  119. package/src/docs/shared/components/Modal.ts +1 -1
  120. package/src/shared.ts +25 -4
  121. package/src/surfaces/admin/components/AdminAction.d.ts +1 -1
  122. package/src/surfaces/admin/components/AdminBlock.d.ts +1 -1
  123. package/src/surfaces/admin/components/AdminPrintAction.d.ts +1 -1
  124. package/src/surfaces/admin/components/Avatar.d.ts +1 -1
  125. package/src/surfaces/admin/components/Badge.d.ts +1 -1
  126. package/src/surfaces/admin/components/Banner.d.ts +1 -1
  127. package/src/surfaces/admin/components/Box.d.ts +8 -1
  128. package/src/surfaces/admin/components/Button.d.ts +1 -1
  129. package/src/surfaces/admin/components/ButtonGroup.d.ts +14 -2
  130. package/src/surfaces/admin/components/Checkbox.d.ts +1 -1
  131. package/src/surfaces/admin/components/Chip.d.ts +1 -1
  132. package/src/surfaces/admin/components/Choice.d.ts +1 -1
  133. package/src/surfaces/admin/components/ChoiceList.d.ts +1 -1
  134. package/src/surfaces/admin/components/Clickable.d.ts +8 -1
  135. package/src/surfaces/admin/components/ClickableChip.d.ts +1 -1
  136. package/src/surfaces/admin/components/ColorField.d.ts +3 -1
  137. package/src/surfaces/admin/components/ColorPicker.d.ts +1 -1
  138. package/src/surfaces/admin/components/DateField.d.ts +1 -1
  139. package/src/surfaces/admin/components/DatePicker.d.ts +1 -1
  140. package/src/surfaces/admin/components/Divider.d.ts +1 -1
  141. package/src/surfaces/admin/components/DropZone.d.ts +1 -1
  142. package/src/surfaces/admin/components/EmailField.d.ts +1 -1
  143. package/src/surfaces/admin/components/Form.d.ts +1 -1
  144. package/src/surfaces/admin/components/FunctionSettings.d.ts +1 -1
  145. package/src/surfaces/admin/components/Grid.d.ts +20 -1
  146. package/src/surfaces/admin/components/GridItem.d.ts +8 -1
  147. package/src/surfaces/admin/components/Heading.d.ts +1 -1
  148. package/src/surfaces/admin/components/Icon.d.ts +1 -1
  149. package/src/surfaces/admin/components/Image.d.ts +8 -1
  150. package/src/surfaces/admin/components/Link.d.ts +1 -1
  151. package/src/surfaces/admin/components/ListItem.d.ts +1 -1
  152. package/src/surfaces/admin/components/Menu.d.ts +1 -1
  153. package/src/surfaces/admin/components/Modal/examples/default.html +23 -0
  154. package/src/surfaces/admin/components/Modal.d.ts +1 -1
  155. package/src/surfaces/admin/components/MoneyField.d.ts +1 -3
  156. package/src/surfaces/admin/components/NumberField.d.ts +1 -3
  157. package/src/surfaces/admin/components/Option.d.ts +1 -1
  158. package/src/surfaces/admin/components/OptionGroup.d.ts +1 -1
  159. package/src/surfaces/admin/components/OrderedList.d.ts +1 -1
  160. package/src/surfaces/admin/components/Page.d.ts +1 -1
  161. package/src/surfaces/admin/components/Paragraph.d.ts +1 -1
  162. package/src/surfaces/admin/components/PasswordField.d.ts +1 -1
  163. package/src/surfaces/admin/components/QueryContainer.d.ts +1 -1
  164. package/src/surfaces/admin/components/SearchField.d.ts +1 -1
  165. package/src/surfaces/admin/components/Section.d.ts +1 -1
  166. package/src/surfaces/admin/components/Select.d.ts +1 -1
  167. package/src/surfaces/admin/components/Spinner.d.ts +1 -1
  168. package/src/surfaces/admin/components/Stack.d.ts +14 -1
  169. package/src/surfaces/admin/components/Switch.d.ts +1 -1
  170. package/src/surfaces/admin/components/Table.d.ts +3 -2
  171. package/src/surfaces/admin/components/TableBody.d.ts +1 -1
  172. package/src/surfaces/admin/components/TableCell.d.ts +1 -1
  173. package/src/surfaces/admin/components/TableHeader.d.ts +3 -2
  174. package/src/surfaces/admin/components/TableHeaderRow.d.ts +1 -1
  175. package/src/surfaces/admin/components/TableRow.d.ts +1 -1
  176. package/src/surfaces/admin/components/Text.d.ts +1 -1
  177. package/src/surfaces/admin/components/TextArea.d.ts +1 -1
  178. package/src/surfaces/admin/components/TextField.d.ts +1 -1
  179. package/src/surfaces/admin/components/Thumbnail.d.ts +1 -1
  180. package/src/surfaces/admin/components/Tooltip.d.ts +1 -1
  181. package/src/surfaces/admin/components/URLField.d.ts +1 -1
  182. package/src/surfaces/admin/components/UnorderedList.d.ts +1 -1
  183. package/src/surfaces/admin/components/patterns/examples/details.html +5 -11
  184. package/src/surfaces/admin/components/patterns/examples/details.jsx +4 -13
  185. package/src/surfaces/admin/components/patterns/examples/homepage.html +3 -12
  186. package/src/surfaces/admin/components/patterns/examples/homepage.jsx +3 -12
  187. package/src/surfaces/admin/components/patterns/examples/index.html +4 -10
  188. package/src/surfaces/admin/components/patterns/examples/index.jsx +4 -11
  189. package/src/surfaces/admin/components/patterns/examples/indexTable.html +4 -9
  190. package/src/surfaces/admin/components/patterns/examples/mediaCard.html +1 -1
  191. package/src/surfaces/admin/components/patterns/examples/settings.html +1 -2
  192. package/src/surfaces/admin/components/patterns/examples/settings.jsx +2 -6
  193. package/src/surfaces/admin/components/shared.d.ts +245 -222
  194. package/src/surfaces/admin/components.d.ts +293 -228
  195. package/src/surfaces/admin/docs-types.ts +8 -1
  196. package/src/surfaces/customer-account/api/cart-line/cart-line-item.ts +2 -2
  197. package/src/surfaces/customer-account/api/order-status/order-status.ts +29 -29
  198. package/src/surfaces/customer-account/api/shared.ts +6 -6
  199. package/src/surfaces/customer-account/api/standard-api/standard-api.ts +6 -6
  200. package/src/surfaces/customer-account/api.ts +1 -1
  201. package/src/surfaces/customer-account/preact/subscription.ts +3 -3
  202. package/src/surfaces/point-of-sale/api.ts +0 -1
  203. package/src/surfaces/point-of-sale/components/Badge.d.ts +1 -1
  204. package/src/surfaces/point-of-sale/components/Box.d.ts +82 -8
  205. package/src/surfaces/point-of-sale/components/Icon.d.ts +111 -30
  206. package/src/surfaces/point-of-sale/components/PosBlock/examples/default.html +11 -0
  207. package/src/surfaces/point-of-sale/components/PosBlock.d.ts +64 -0
  208. package/src/surfaces/point-of-sale/components/SearchField.d.ts +1 -4
  209. package/src/surfaces/point-of-sale/components/Stack.d.ts +82 -8
  210. package/src/surfaces/point-of-sale/components/Tile.d.ts +1 -38
  211. package/src/surfaces/point-of-sale/components/TimeField/examples/default.html +12 -0
  212. package/src/surfaces/point-of-sale/components/TimeField.d.ts +65 -0
  213. package/src/surfaces/point-of-sale/components/components-shared.d.ts +321 -150
  214. package/src/surfaces/point-of-sale/components.d.ts +1041 -530
  215. package/src/surfaces/point-of-sale/types/cart.ts +2 -18
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -6,6 +6,7 @@ import "../components/Heading.d.ts";
6
6
  import "../components/Icon.d.ts";
7
7
  import "../components/Image.d.ts";
8
8
  import "../components/Modal.d.ts";
9
+ import "../components/PosBlock.d.ts";
9
10
  import "../components/Section.d.ts";
10
11
  import "../components/Stack.d.ts";
11
12
  import "../components/Text.d.ts";
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -6,6 +6,7 @@ import "../components/Heading.d.ts";
6
6
  import "../components/Icon.d.ts";
7
7
  import "../components/Image.d.ts";
8
8
  import "../components/Modal.d.ts";
9
+ import "../components/PosBlock.d.ts";
9
10
  import "../components/Section.d.ts";
10
11
  import "../components/Stack.d.ts";
11
12
  import "../components/Text.d.ts";
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -6,6 +6,7 @@ import "../components/Heading.d.ts";
6
6
  import "../components/Icon.d.ts";
7
7
  import "../components/Image.d.ts";
8
8
  import "../components/Modal.d.ts";
9
+ import "../components/PosBlock.d.ts";
9
10
  import "../components/Section.d.ts";
10
11
  import "../components/Stack.d.ts";
11
12
  import "../components/Text.d.ts";
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -6,6 +6,7 @@ import "../components/Heading.d.ts";
6
6
  import "../components/Icon.d.ts";
7
7
  import "../components/Image.d.ts";
8
8
  import "../components/Modal.d.ts";
9
+ import "../components/PosBlock.d.ts";
9
10
  import "../components/Section.d.ts";
10
11
  import "../components/Stack.d.ts";
11
12
  import "../components/Text.d.ts";
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -6,6 +6,7 @@ import "../components/Heading.d.ts";
6
6
  import "../components/Icon.d.ts";
7
7
  import "../components/Image.d.ts";
8
8
  import "../components/Modal.d.ts";
9
+ import "../components/PosBlock.d.ts";
9
10
  import "../components/Section.d.ts";
10
11
  import "../components/Stack.d.ts";
11
12
  import "../components/Text.d.ts";
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -6,6 +6,7 @@ import "../components/Heading.d.ts";
6
6
  import "../components/Icon.d.ts";
7
7
  import "../components/Image.d.ts";
8
8
  import "../components/Modal.d.ts";
9
+ import "../components/PosBlock.d.ts";
9
10
  import "../components/Section.d.ts";
10
11
  import "../components/Stack.d.ts";
11
12
  import "../components/Text.d.ts";
@@ -15,6 +15,7 @@ import "../components/Image.d.ts";
15
15
  import "../components/Modal.d.ts";
16
16
  import "../components/NumberField.d.ts";
17
17
  import "../components/Page.d.ts";
18
+ import "../components/PosBlock.d.ts";
18
19
  import "../components/ScrollBox.d.ts";
19
20
  import "../components/SearchField.d.ts";
20
21
  import "../components/Section.d.ts";
@@ -22,6 +23,7 @@ import "../components/Stack.d.ts";
22
23
  import "../components/Text.d.ts";
23
24
  import "../components/TextArea.d.ts";
24
25
  import "../components/TextField.d.ts";
26
+ import "../components/TimeField.d.ts";
25
27
  import "../components/TimePicker.d.ts";
26
28
  import type { ExtensionTargets } from '../extension-targets';
27
29
 
@@ -6,6 +6,7 @@ import "../components/Heading.d.ts";
6
6
  import "../components/Icon.d.ts";
7
7
  import "../components/Image.d.ts";
8
8
  import "../components/Modal.d.ts";
9
+ import "../components/PosBlock.d.ts";
9
10
  import "../components/Section.d.ts";
10
11
  import "../components/Stack.d.ts";
11
12
  import "../components/Text.d.ts";
@@ -74,18 +74,12 @@ export interface SellingPlan {
74
74
  /**
75
75
  * The interval of the selling plan. (DAY, WEEK, MONTH, YEAR).
76
76
  */
77
- deliveryInterval?: SellingPlanDeliveryInterval;
77
+ deliveryInterval?: string;
78
78
  /**
79
79
  * The number of intervals between deliveries.
80
80
  */
81
81
  deliveryIntervalCount?: number;
82
82
  }
83
- export declare enum SellingPlanDeliveryInterval {
84
- Day = "DAY",
85
- Week = "WEEK",
86
- Month = "MONTH",
87
- Year = "YEAR"
88
- }
89
83
  export interface Discount {
90
84
  amount: number;
91
85
  currency?: string;
@@ -164,17 +158,8 @@ export interface SetLineItemSellingPlanInput {
164
158
  sellingPlanId: number;
165
159
  /**
166
160
  * The name of the selling plan to apply to the line item.
167
- */
168
- sellingPlanName: string;
169
- /**
170
- * The interval of the selling plan. (DAY, WEEK, MONTH, YEAR).
171
- * If not provided, POS will try to fetch it from the server after syncing the cart.
172
- */
173
- sellingPlanDeliveryInterval?: SellingPlanDeliveryInterval;
174
- /**
175
- * The number of intervals between deliveries.
176
161
  * If not provided, POS will try to fetch it from the server after syncing the cart.
177
162
  */
178
- sellingPlanDeliveryIntervalCount?: number;
163
+ sellingPlanName?: string;
179
164
  }
180
165
  //# sourceMappingURL=cart.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cart.d.ts","sourceRoot":"","sources":["../../../../../src/surfaces/point-of-sale/types/cart.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAC3C,OAAO,EAAC,OAAO,EAAC,MAAM,YAAY,CAAC;AACnC,OAAO,EAAC,kBAAkB,EAAC,MAAM,uBAAuB,CAAC;AAEzD,MAAM,WAAW,IAAI;IACnB;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,aAAa,EAAE,QAAQ,EAAE,CAAC;IAC1B,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,eAAe;IAC9B,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,YAAY,CAAC,EAAE,QAAQ,CAAC;IACxB,aAAa,EAAE,QAAQ,EAAE,CAAC;IAC1B,QA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