@kosdev-code/kos-dispense-sdk 0.1.0-dev.5053

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 (346) hide show
  1. package/dispense-registration-manager-BZ5L3AWX.cjs +2 -0
  2. package/dispense-registration-manager-BZ5L3AWX.cjs.map +1 -0
  3. package/dispense-registration-manager-CB_nSTZw.js +1912 -0
  4. package/dispense-registration-manager-CB_nSTZw.js.map +1 -0
  5. package/extension-utils-CkYqorcG.js +381 -0
  6. package/extension-utils-CkYqorcG.js.map +1 -0
  7. package/extension-utils-DUel3wIz.cjs +2 -0
  8. package/extension-utils-DUel3wIz.cjs.map +1 -0
  9. package/extensions/control-pour-extension.d.ts +70 -0
  10. package/extensions/control-pour-extension.d.ts.map +1 -0
  11. package/extensions/index.d.ts +2 -0
  12. package/extensions/index.d.ts.map +1 -0
  13. package/index.cjs +2 -0
  14. package/index.cjs.map +1 -0
  15. package/index.d.ts +6 -0
  16. package/index.d.ts.map +1 -0
  17. package/index.js +133 -0
  18. package/index.js.map +1 -0
  19. package/models/constants/constants.d.ts +230 -0
  20. package/models/constants/constants.d.ts.map +1 -0
  21. package/models/constants/index.d.ts +2 -0
  22. package/models/constants/index.d.ts.map +1 -0
  23. package/models/index.d.ts +6 -0
  24. package/models/index.d.ts.map +1 -0
  25. package/models/models/assembly/assembly-model.d.ts +41 -0
  26. package/models/models/assembly/assembly-model.d.ts.map +1 -0
  27. package/models/models/assembly/assembly-registration.d.ts +81 -0
  28. package/models/models/assembly/assembly-registration.d.ts.map +1 -0
  29. package/models/models/assembly/board-utils.d.ts +6 -0
  30. package/models/models/assembly/board-utils.d.ts.map +1 -0
  31. package/models/models/assembly/holder-utils.d.ts +5 -0
  32. package/models/models/assembly/holder-utils.d.ts.map +1 -0
  33. package/models/models/assembly/index.d.ts +5 -0
  34. package/models/models/assembly/index.d.ts.map +1 -0
  35. package/models/models/assembly/nozzle-utils.d.ts +6 -0
  36. package/models/models/assembly/nozzle-utils.d.ts.map +1 -0
  37. package/models/models/assembly/pump-utils.d.ts +7 -0
  38. package/models/models/assembly/pump-utils.d.ts.map +1 -0
  39. package/models/models/assembly/services/assembly-services.d.ts +8 -0
  40. package/models/models/assembly/services/assembly-services.d.ts.map +1 -0
  41. package/models/models/assembly/services/index.d.ts +2 -0
  42. package/models/models/assembly/services/index.d.ts.map +1 -0
  43. package/models/models/assembly/types/index.d.ts +64 -0
  44. package/models/models/availability/availability-model.d.ts +89 -0
  45. package/models/models/availability/availability-model.d.ts.map +1 -0
  46. package/models/models/availability/index.d.ts +3 -0
  47. package/models/models/availability/index.d.ts.map +1 -0
  48. package/models/models/availability/types/index.d.ts +79 -0
  49. package/models/models/board/board-container-model.d.ts +23 -0
  50. package/models/models/board/board-container-model.d.ts.map +1 -0
  51. package/models/models/board/board-container-registration.d.ts +87 -0
  52. package/models/models/board/board-container-registration.d.ts.map +1 -0
  53. package/models/models/board/board-model.d.ts +18 -0
  54. package/models/models/board/board-model.d.ts.map +1 -0
  55. package/models/models/board/board-registration.d.ts +84 -0
  56. package/models/models/board/board-registration.d.ts.map +1 -0
  57. package/models/models/board/index.d.ts +5 -0
  58. package/models/models/board/index.d.ts.map +1 -0
  59. package/models/models/board/types/index.d.ts +36 -0
  60. package/models/models/board/types/services.d.ts +12 -0
  61. package/models/models/board/types/services.d.ts.map +1 -0
  62. package/models/models/board/utils/board-trouble-data-mapper.d.ts +7 -0
  63. package/models/models/board/utils/board-trouble-data-mapper.d.ts.map +1 -0
  64. package/models/models/board/utils/board-trouble-resolver.d.ts +7 -0
  65. package/models/models/board/utils/board-trouble-resolver.d.ts.map +1 -0
  66. package/models/models/device-assembly/device-assembly-model.d.ts +17 -0
  67. package/models/models/device-assembly/device-assembly-model.d.ts.map +1 -0
  68. package/models/models/device-assembly/device-assembly-registration.d.ts +89 -0
  69. package/models/models/device-assembly/device-assembly-registration.d.ts.map +1 -0
  70. package/models/models/device-assembly/index.d.ts +4 -0
  71. package/models/models/device-assembly/index.d.ts.map +1 -0
  72. package/models/models/device-assembly/types/index.d.ts +1 -0
  73. package/models/models/generic-pour/generic-pour-model.d.ts +53 -0
  74. package/models/models/generic-pour/generic-pour-model.d.ts.map +1 -0
  75. package/models/models/generic-pour/generic-pour-registration.d.ts +87 -0
  76. package/models/models/generic-pour/generic-pour-registration.d.ts.map +1 -0
  77. package/models/models/generic-pour/index.d.ts +5 -0
  78. package/models/models/generic-pour/index.d.ts.map +1 -0
  79. package/models/models/generic-pour/services/generic-pour-services.d.ts +16 -0
  80. package/models/models/generic-pour/services/generic-pour-services.d.ts.map +1 -0
  81. package/models/models/generic-pour/services/index.d.ts +2 -0
  82. package/models/models/generic-pour/services/index.d.ts.map +1 -0
  83. package/models/models/generic-pour/types/index.d.ts +5 -0
  84. package/models/models/holder/holder-model.d.ts +93 -0
  85. package/models/models/holder/holder-model.d.ts.map +1 -0
  86. package/models/models/holder/index.d.ts +5 -0
  87. package/models/models/holder/index.d.ts.map +1 -0
  88. package/models/models/holder/services/assignment-services.d.ts +25 -0
  89. package/models/models/holder/services/assignment-services.d.ts.map +1 -0
  90. package/models/models/holder/services/holder-services.d.ts +28 -0
  91. package/models/models/holder/services/holder-services.d.ts.map +1 -0
  92. package/models/models/holder/services/index.d.ts +3 -0
  93. package/models/models/holder/services/index.d.ts.map +1 -0
  94. package/models/models/holder/types/index.d.ts +170 -0
  95. package/models/models/holder/utils/holder-utils.d.ts +9 -0
  96. package/models/models/holder/utils/holder-utils.d.ts.map +1 -0
  97. package/models/models/holder-container/holder-container-model.d.ts +80 -0
  98. package/models/models/holder-container/holder-container-model.d.ts.map +1 -0
  99. package/models/models/holder-container/index.d.ts +3 -0
  100. package/models/models/holder-container/index.d.ts.map +1 -0
  101. package/models/models/holder-container/types/index.d.ts +69 -0
  102. package/models/models/index.d.ts +14 -0
  103. package/models/models/index.d.ts.map +1 -0
  104. package/models/models/ingredient/index.d.ts +4 -0
  105. package/models/models/ingredient/index.d.ts.map +1 -0
  106. package/models/models/ingredient/ingredient-model.d.ts +86 -0
  107. package/models/models/ingredient/ingredient-model.d.ts.map +1 -0
  108. package/models/models/ingredient/services/index.d.ts +2 -0
  109. package/models/models/ingredient/services/index.d.ts.map +1 -0
  110. package/models/models/ingredient/services/ingredient-services.d.ts +30 -0
  111. package/models/models/ingredient/services/ingredient-services.d.ts.map +1 -0
  112. package/models/models/ingredient/types/index.d.ts +67 -0
  113. package/models/models/ingredient-container/index.d.ts +3 -0
  114. package/models/models/ingredient-container/index.d.ts.map +1 -0
  115. package/models/models/ingredient-container/ingredient-container-model.d.ts +80 -0
  116. package/models/models/ingredient-container/ingredient-container-model.d.ts.map +1 -0
  117. package/models/models/ingredient-container/types/index.d.ts +67 -0
  118. package/models/models/nozzle/index.d.ts +5 -0
  119. package/models/models/nozzle/index.d.ts.map +1 -0
  120. package/models/models/nozzle/nozzle-model.d.ts +257 -0
  121. package/models/models/nozzle/nozzle-model.d.ts.map +1 -0
  122. package/models/models/nozzle/services/index.d.ts +2 -0
  123. package/models/models/nozzle/services/index.d.ts.map +1 -0
  124. package/models/models/nozzle/services/nozzle-services.d.ts +182 -0
  125. package/models/models/nozzle/services/nozzle-services.d.ts.map +1 -0
  126. package/models/models/nozzle/types/index.d.ts +85 -0
  127. package/models/models/pump/index.d.ts +4 -0
  128. package/models/models/pump/index.d.ts.map +1 -0
  129. package/models/models/pump/pump-model.d.ts +91 -0
  130. package/models/models/pump/pump-model.d.ts.map +1 -0
  131. package/models/models/pump/services/index.d.ts +2 -0
  132. package/models/models/pump/services/index.d.ts.map +1 -0
  133. package/models/models/pump/services/pump-services.d.ts +27 -0
  134. package/models/models/pump/services/pump-services.d.ts.map +1 -0
  135. package/models/models/pump/types/index.d.ts +56 -0
  136. package/models/models/pump/utils/pump-trouble-resolver.d.ts +8 -0
  137. package/models/models/pump/utils/pump-trouble-resolver.d.ts.map +1 -0
  138. package/models/models/pump-container/index.d.ts +3 -0
  139. package/models/models/pump-container/index.d.ts.map +1 -0
  140. package/models/models/pump-container/pump-container-model.d.ts +85 -0
  141. package/models/models/pump-container/pump-container-model.d.ts.map +1 -0
  142. package/models/models/pump-container/types/index.d.ts +31 -0
  143. package/models/models/types/assembly.d.ts +83 -0
  144. package/models/models/types/assembly.d.ts.map +1 -0
  145. package/models/models/types/index.d.ts +4 -0
  146. package/models/models/types/index.d.ts.map +1 -0
  147. package/models/models/types/intent.d.ts +19 -0
  148. package/models/models/types/intent.d.ts.map +1 -0
  149. package/models/models/types/pouring.d.ts +9 -0
  150. package/models/models/types/pouring.d.ts.map +1 -0
  151. package/models/utils/dispense-registration-manager.d.ts +28 -0
  152. package/models/utils/dispense-registration-manager.d.ts.map +1 -0
  153. package/models/utils/extension-utils.d.ts +266 -0
  154. package/models/utils/extension-utils.d.ts.map +1 -0
  155. package/models/utils/openapi.d.ts +9276 -0
  156. package/models/utils/registration.d.ts +4 -0
  157. package/models/utils/registration.d.ts.map +1 -0
  158. package/models/utils/service.d.ts +80 -0
  159. package/models/utils/service.d.ts.map +1 -0
  160. package/models.cjs +2 -0
  161. package/models.cjs.map +1 -0
  162. package/models.d.ts +1 -0
  163. package/models.js +42 -0
  164. package/models.js.map +1 -0
  165. package/package.json +39 -0
  166. package/pump-provider-86479YU2.cjs +2 -0
  167. package/pump-provider-86479YU2.cjs.map +1 -0
  168. package/pump-provider-DSyiDoPF.js +1304 -0
  169. package/pump-provider-DSyiDoPF.js.map +1 -0
  170. package/ui/contexts/assembly/assembly-provider.d.ts +12 -0
  171. package/ui/contexts/assembly/assembly-provider.d.ts.map +1 -0
  172. package/ui/contexts/assembly/index.d.ts +2 -0
  173. package/ui/contexts/assembly/index.d.ts.map +1 -0
  174. package/ui/contexts/availability/availability-provider.d.ts +13 -0
  175. package/ui/contexts/availability/availability-provider.d.ts.map +1 -0
  176. package/ui/contexts/availability/index.d.ts +2 -0
  177. package/ui/contexts/availability/index.d.ts.map +1 -0
  178. package/ui/contexts/board/board-provider.d.ts +13 -0
  179. package/ui/contexts/board/board-provider.d.ts.map +1 -0
  180. package/ui/contexts/board/index.d.ts +2 -0
  181. package/ui/contexts/board/index.d.ts.map +1 -0
  182. package/ui/contexts/board-container/board-container-provider.d.ts +12 -0
  183. package/ui/contexts/board-container/board-container-provider.d.ts.map +1 -0
  184. package/ui/contexts/board-container/index.d.ts +2 -0
  185. package/ui/contexts/board-container/index.d.ts.map +1 -0
  186. package/ui/contexts/cui-kit/cui-kit.d.ts +29 -0
  187. package/ui/contexts/cui-kit/cui-kit.d.ts.map +1 -0
  188. package/ui/contexts/cui-kit/index.d.ts +2 -0
  189. package/ui/contexts/cui-kit/index.d.ts.map +1 -0
  190. package/ui/contexts/device-assembly/device-assembly-provider.d.ts +12 -0
  191. package/ui/contexts/device-assembly/device-assembly-provider.d.ts.map +1 -0
  192. package/ui/contexts/device-assembly/index.d.ts +2 -0
  193. package/ui/contexts/device-assembly/index.d.ts.map +1 -0
  194. package/ui/contexts/holder/holder-provider.d.ts +13 -0
  195. package/ui/contexts/holder/holder-provider.d.ts.map +1 -0
  196. package/ui/contexts/holder/index.d.ts +2 -0
  197. package/ui/contexts/holder/index.d.ts.map +1 -0
  198. package/ui/contexts/holder-container/holder-container-provider.d.ts +13 -0
  199. package/ui/contexts/holder-container/holder-container-provider.d.ts.map +1 -0
  200. package/ui/contexts/holder-container/index.d.ts +2 -0
  201. package/ui/contexts/holder-container/index.d.ts.map +1 -0
  202. package/ui/contexts/index.d.ts +13 -0
  203. package/ui/contexts/index.d.ts.map +1 -0
  204. package/ui/contexts/ingredient/index.d.ts +2 -0
  205. package/ui/contexts/ingredient/index.d.ts.map +1 -0
  206. package/ui/contexts/ingredient/ingredient-provider.d.ts +13 -0
  207. package/ui/contexts/ingredient/ingredient-provider.d.ts.map +1 -0
  208. package/ui/contexts/ingredient-container/index.d.ts +2 -0
  209. package/ui/contexts/ingredient-container/index.d.ts.map +1 -0
  210. package/ui/contexts/ingredient-container/ingredient-container-provider.d.ts +13 -0
  211. package/ui/contexts/ingredient-container/ingredient-container-provider.d.ts.map +1 -0
  212. package/ui/contexts/nozzle/index.d.ts +2 -0
  213. package/ui/contexts/nozzle/index.d.ts.map +1 -0
  214. package/ui/contexts/nozzle/nozzle-provider.d.ts +13 -0
  215. package/ui/contexts/nozzle/nozzle-provider.d.ts.map +1 -0
  216. package/ui/contexts/pump/index.d.ts +2 -0
  217. package/ui/contexts/pump/index.d.ts.map +1 -0
  218. package/ui/contexts/pump/pump-provider.d.ts +13 -0
  219. package/ui/contexts/pump/pump-provider.d.ts.map +1 -0
  220. package/ui/hooks/assembly/index.d.ts +3 -0
  221. package/ui/hooks/assembly/index.d.ts.map +1 -0
  222. package/ui/hooks/assembly/use-assembly.d.ts +14 -0
  223. package/ui/hooks/assembly/use-assembly.d.ts.map +1 -0
  224. package/ui/hooks/assembly/with-assembly.d.ts +8 -0
  225. package/ui/hooks/assembly/with-assembly.d.ts.map +1 -0
  226. package/ui/hooks/availability/index.d.ts +3 -0
  227. package/ui/hooks/availability/index.d.ts.map +1 -0
  228. package/ui/hooks/availability/use-availability.d.ts +14 -0
  229. package/ui/hooks/availability/use-availability.d.ts.map +1 -0
  230. package/ui/hooks/availability/with-availability.d.ts +8 -0
  231. package/ui/hooks/availability/with-availability.d.ts.map +1 -0
  232. package/ui/hooks/board/index.d.ts +3 -0
  233. package/ui/hooks/board/index.d.ts.map +1 -0
  234. package/ui/hooks/board/use-board.d.ts +14 -0
  235. package/ui/hooks/board/use-board.d.ts.map +1 -0
  236. package/ui/hooks/board/with-board.d.ts +8 -0
  237. package/ui/hooks/board/with-board.d.ts.map +1 -0
  238. package/ui/hooks/board-container/index.d.ts +3 -0
  239. package/ui/hooks/board-container/index.d.ts.map +1 -0
  240. package/ui/hooks/board-container/use-board-container.d.ts +14 -0
  241. package/ui/hooks/board-container/use-board-container.d.ts.map +1 -0
  242. package/ui/hooks/board-container/with-board-container.d.ts +8 -0
  243. package/ui/hooks/board-container/with-board-container.d.ts.map +1 -0
  244. package/ui/hooks/cui-kit/index.d.ts +8 -0
  245. package/ui/hooks/cui-kit/index.d.ts.map +1 -0
  246. package/ui/hooks/cui-kit/use-ambient-attract-timers.d.ts +18 -0
  247. package/ui/hooks/cui-kit/use-ambient-attract-timers.d.ts.map +1 -0
  248. package/ui/hooks/cui-kit/use-beverages.d.ts +17 -0
  249. package/ui/hooks/cui-kit/use-beverages.d.ts.map +1 -0
  250. package/ui/hooks/cui-kit/use-brands.d.ts +17 -0
  251. package/ui/hooks/cui-kit/use-brands.d.ts.map +1 -0
  252. package/ui/hooks/cui-kit/use-cui-kit.d.ts +192 -0
  253. package/ui/hooks/cui-kit/use-cui-kit.d.ts.map +1 -0
  254. package/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.d.ts +162 -0
  255. package/ui/hooks/cui-kit/use-default-cui-kit-lifecycle.d.ts.map +1 -0
  256. package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts +23 -0
  257. package/ui/hooks/cui-kit/use-dispense-lifecycle.d.ts.map +1 -0
  258. package/ui/hooks/cui-kit/use-dispense-timers.d.ts +17 -0
  259. package/ui/hooks/cui-kit/use-dispense-timers.d.ts.map +1 -0
  260. package/ui/hooks/cui-kit/use-flavors.d.ts +17 -0
  261. package/ui/hooks/cui-kit/use-flavors.d.ts.map +1 -0
  262. package/ui/hooks/device-assembly/index.d.ts +3 -0
  263. package/ui/hooks/device-assembly/index.d.ts.map +1 -0
  264. package/ui/hooks/device-assembly/use-device-assembly.d.ts +14 -0
  265. package/ui/hooks/device-assembly/use-device-assembly.d.ts.map +1 -0
  266. package/ui/hooks/device-assembly/with-device-assembly.d.ts +9 -0
  267. package/ui/hooks/device-assembly/with-device-assembly.d.ts.map +1 -0
  268. package/ui/hooks/generic-pour/index.d.ts +3 -0
  269. package/ui/hooks/generic-pour/index.d.ts.map +1 -0
  270. package/ui/hooks/generic-pour/use-generic-pour.d.ts +15 -0
  271. package/ui/hooks/generic-pour/use-generic-pour.d.ts.map +1 -0
  272. package/ui/hooks/generic-pour/with-generic-pour.d.ts +14 -0
  273. package/ui/hooks/generic-pour/with-generic-pour.d.ts.map +1 -0
  274. package/ui/hooks/holder/index.d.ts +3 -0
  275. package/ui/hooks/holder/index.d.ts.map +1 -0
  276. package/ui/hooks/holder/use-holder.d.ts +14 -0
  277. package/ui/hooks/holder/use-holder.d.ts.map +1 -0
  278. package/ui/hooks/holder/with-holder.d.ts +8 -0
  279. package/ui/hooks/holder/with-holder.d.ts.map +1 -0
  280. package/ui/hooks/holder-container/index.d.ts +3 -0
  281. package/ui/hooks/holder-container/index.d.ts.map +1 -0
  282. package/ui/hooks/holder-container/use-holder-container.d.ts +14 -0
  283. package/ui/hooks/holder-container/use-holder-container.d.ts.map +1 -0
  284. package/ui/hooks/holder-container/with-holder-container.d.ts +8 -0
  285. package/ui/hooks/holder-container/with-holder-container.d.ts.map +1 -0
  286. package/ui/hooks/index.d.ts +16 -0
  287. package/ui/hooks/index.d.ts.map +1 -0
  288. package/ui/hooks/ingredient/index.d.ts +4 -0
  289. package/ui/hooks/ingredient/index.d.ts.map +1 -0
  290. package/ui/hooks/ingredient/use-ingredient-pour.d.ts +49 -0
  291. package/ui/hooks/ingredient/use-ingredient-pour.d.ts.map +1 -0
  292. package/ui/hooks/ingredient/use-ingredient.d.ts +14 -0
  293. package/ui/hooks/ingredient/use-ingredient.d.ts.map +1 -0
  294. package/ui/hooks/ingredient/with-ingredient.d.ts +8 -0
  295. package/ui/hooks/ingredient/with-ingredient.d.ts.map +1 -0
  296. package/ui/hooks/ingredient-container/index.d.ts +3 -0
  297. package/ui/hooks/ingredient-container/index.d.ts.map +1 -0
  298. package/ui/hooks/ingredient-container/use-ingredient-container.d.ts +14 -0
  299. package/ui/hooks/ingredient-container/use-ingredient-container.d.ts.map +1 -0
  300. package/ui/hooks/ingredient-container/with-ingredient-container.d.ts +8 -0
  301. package/ui/hooks/ingredient-container/with-ingredient-container.d.ts.map +1 -0
  302. package/ui/hooks/nozzle/index.d.ts +3 -0
  303. package/ui/hooks/nozzle/index.d.ts.map +1 -0
  304. package/ui/hooks/nozzle/use-dispense-kit.d.ts +22 -0
  305. package/ui/hooks/nozzle/use-dispense-kit.d.ts.map +1 -0
  306. package/ui/hooks/nozzle/use-nozzle.d.ts +14 -0
  307. package/ui/hooks/nozzle/use-nozzle.d.ts.map +1 -0
  308. package/ui/hooks/nozzle/with-nozzle.d.ts +8 -0
  309. package/ui/hooks/nozzle/with-nozzle.d.ts.map +1 -0
  310. package/ui/hooks/nozzle-pour/index.d.ts +2 -0
  311. package/ui/hooks/nozzle-pour/index.d.ts.map +1 -0
  312. package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts +57 -0
  313. package/ui/hooks/nozzle-pour/use-nozzle-pour.d.ts.map +1 -0
  314. package/ui/hooks/pour/index.d.ts +2 -0
  315. package/ui/hooks/pour/index.d.ts.map +1 -0
  316. package/ui/hooks/pour/use-pour.d.ts +55 -0
  317. package/ui/hooks/pour/use-pour.d.ts.map +1 -0
  318. package/ui/hooks/pump/index.d.ts +3 -0
  319. package/ui/hooks/pump/index.d.ts.map +1 -0
  320. package/ui/hooks/pump/use-pump.d.ts +14 -0
  321. package/ui/hooks/pump/use-pump.d.ts.map +1 -0
  322. package/ui/hooks/pump/with-pump.d.ts +8 -0
  323. package/ui/hooks/pump/with-pump.d.ts.map +1 -0
  324. package/ui/hooks/utils/pour-strategy/hold-to-pour-intent-strategy.d.ts +5 -0
  325. package/ui/hooks/utils/pour-strategy/hold-to-pour-intent-strategy.d.ts.map +1 -0
  326. package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts +4 -0
  327. package/ui/hooks/utils/pour-strategy/hold-to-pour-strategy.d.ts.map +1 -0
  328. package/ui/hooks/utils/pour-strategy/index.d.ts +7 -0
  329. package/ui/hooks/utils/pour-strategy/index.d.ts.map +1 -0
  330. package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts +16 -0
  331. package/ui/hooks/utils/pour-strategy/pour-strategy.d.ts.map +1 -0
  332. package/ui/hooks/utils/pour-strategy/tap-or-hold-to-pour-intent-strategy.d.ts +13 -0
  333. package/ui/hooks/utils/pour-strategy/tap-or-hold-to-pour-intent-strategy.d.ts.map +1 -0
  334. package/ui/hooks/utils/pour-strategy/tap-to-pour-intent-strategy.d.ts +5 -0
  335. package/ui/hooks/utils/pour-strategy/tap-to-pour-intent-strategy.d.ts.map +1 -0
  336. package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts +4 -0
  337. package/ui/hooks/utils/pour-strategy/tap-to-pour-strategy.d.ts.map +1 -0
  338. package/ui/index.d.ts +4 -0
  339. package/ui/index.d.ts.map +1 -0
  340. package/ui/utils/pour-context.d.ts +8 -0
  341. package/ui/utils/pour-context.d.ts.map +1 -0
  342. package/ui.cjs +2 -0
  343. package/ui.cjs.map +1 -0
  344. package/ui.d.ts +1 -0
  345. package/ui.js +75 -0
  346. package/ui.js.map +1 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pump-services.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/pump/services/pump-services.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,cAAc,EAEd,kBAAkB,EAGnB,MAAM,yBAAyB,CAAC;AAWjC,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,OAAO,CAAC;IAClB,YAAY,EAAE,OAAO,CAAC;IACtB,cAAc,EAAE,OAAO,CAAC;IACxB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;IACrB,UAAU,EAAE,MAAM,CAAC;IACnB,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,UAAU,aAAa;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,UAAU,oBAAoB;IAC5B,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,eAAO,MAAM,UAAU,iCAIpB,aAAa,4DAQf,CAAC;AAEF,eAAO,MAAM,eAAe,WAAkB,MAAM,UAAU,MAAM,kCAQnE,CAAC"}
@@ -0,0 +1,56 @@
1
+ import { IntentAware } from '../../types';
2
+ import { IKosDataModel, TroubleAware } from '@kosdev-code/kos-ui-sdk';
3
+
4
+
5
+ export enum PourStatus {
6
+ IDLE = "idle",
7
+ POURING = "pouring",
8
+ }
9
+ export interface PumpOptions<AdditionalData extends object = any> {
10
+ inserted: boolean;
11
+ type: string;
12
+ ingredientId?: string;
13
+ holderPath: string;
14
+ boardPath: string;
15
+ nozzlePath: string;
16
+ childPump: boolean;
17
+ virtual?: boolean;
18
+ name: string;
19
+ path: string;
20
+ prevIngredientId?: string;
21
+ [key: keyof AdditionalData]: AdditionalData[key];
22
+ }
23
+
24
+ interface IntentResponse {
25
+ tracker: string;
26
+ id: string;
27
+ }
28
+
29
+ /**
30
+ * @category Model
31
+ */
32
+ export interface PumpModel<AdditionalData extends object = any>
33
+ extends IKosDataModel,
34
+ IntentAware,
35
+ AdditionalData,
36
+ TroubleAware {
37
+ id: string;
38
+ inserted: boolean;
39
+ type: string;
40
+ virtual?: boolean;
41
+ childPump: boolean;
42
+ future?: IFutureModel;
43
+ ingredientId?: string;
44
+ holderPath: string;
45
+ boardPath: string;
46
+ nozzlePath: string;
47
+ name: string;
48
+ path: string;
49
+ prevIngredientId?: string;
50
+ [key: keyof AdditionalData]: AdditionalData[key];
51
+ isPouring: boolean;
52
+ canPour: boolean;
53
+ readonly pouringState: string;
54
+ updateModel(options: PumpOptions): void;
55
+ resolveIntentVolume(intent: string): Promise<{ volume: number }>;
56
+ }
@@ -0,0 +1,8 @@
1
+ import { TroubleModel } from '@kosdev-code/kos-ui-sdk';
2
+
3
+ export interface PumpTroubleData {
4
+ pumpPath: string;
5
+ }
6
+ export declare const getPumpRelatedPaths: (pumpPath: string) => Promise<string[]>;
7
+ export declare const pumpTroubleResolver: (trouble: TroubleModel<PumpTroubleData>) => Promise<string[]>;
8
+ //# sourceMappingURL=pump-trouble-resolver.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pump-trouble-resolver.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/pump/utils/pump-trouble-resolver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAI5D,MAAM,WAAW,eAAe;IAC9B,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,eAAO,MAAM,mBAAmB,aAAoB,MAAM,sBASzD,CAAC;AAEF,eAAO,MAAM,mBAAmB,YACrB,aAAa,eAAe,CAAC,sBAOvC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { PumpContainer, PumpIndex } from './pump-container-model';
2
+ export type * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/pump-container/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AAClE,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,85 @@
1
+ import { PumpContainerModel, PumpContainerOptions } from './types';
2
+ import { SingletonKosModelRegistrationBean } from '@kosdev-code/kos-ui-sdk';
3
+
4
+ export declare enum PumpIndex {
5
+ byBoard = "byBoard",
6
+ byType = "byType",
7
+ byNozzle = "byNozzle"
8
+ }
9
+ /**
10
+ * # PumpContainer
11
+ *
12
+ * The registration bean includes convenience methods for creating and working with PumpContainerModel instances.
13
+ *
14
+ * ## type
15
+ * The type property is a string that identifies the model type.
16
+ * The type is used to identify the model type in the model registry and to narrow down the model type in type predicates. It's most frequently
17
+ * used when declaring dependencies on models.
18
+ *
19
+ * @example
20
+ * ```typescript
21
+ *
22
+ * @kosDependency({modelType: PumpContainer.type})
23
+ * private holderContainerModel: PumpContainerModel;
24
+ * ```
25
+ *
26
+ *
27
+ * ## factory
28
+ *
29
+ * The factory function that can be used to create new PumpContainerModel instances.
30
+ *
31
+ * As this is a singleton model, the factory function accepts the model options as its argument.
32
+ *
33
+ * If a model with the same model type already exists, the factory function will return the existing model. The options will be ignored
34
+ * in this case and the existing model will be returned in its current state.
35
+ *
36
+ *
37
+ * @example
38
+ *
39
+ * ```typescript
40
+ * const model = PumpContainer.factory({ });
41
+ * ```
42
+ *
43
+ * ## predicate
44
+ *
45
+ * [Typescript type predicate](https://www.typescriptlang.org/docs/handbook/2/narrowing.html#using-type-predicates) function that will identify and narrow down a model to a PumpContainerModel.
46
+ *
47
+ * @example
48
+ * ```typescript
49
+ *
50
+ * const model: IKosDataModel = ...; // some model
51
+ *
52
+ * if (PumpContainer.predicate(model)) {
53
+ * // if the function evaluates to true, the model is narrowed down to PumpContainerModel
54
+ * // and the compiler will know that the model has the PumpContainerModel interface
55
+ * model.updateAvailability(false);
56
+ * }
57
+ * ```
58
+ *
59
+ * ## registration
60
+ *
61
+ * The registration property is an object that can be used to simplify registration of the model with the model registry. The registration object
62
+ * can be spread into the model registration and provides all of the required information to register the model implementation class against the model type.
63
+ *
64
+ *
65
+ * @example
66
+ *
67
+ * In an application registration file you can declare the model registration as follows:
68
+ *
69
+ * **registration.ts**
70
+ * ```typescript
71
+ * import { PumpContainer } from "@kosdev-code/kos-dispense-sdk";
72
+ * ...
73
+ * import { IKosRegistry } from "@kosdev-code/kos-ui-sdk";
74
+ * export const kosModels: IKosRegistry["models"] = {
75
+ * ...PumpContainer.registration,
76
+ * };
77
+ * ```
78
+ *
79
+ * ## registration.singleton
80
+ * The PumpContainer model is a singleton. This means that each time the factory function is called , the same instance will be returned.
81
+ * If the model does not yet exist, it will be created passing in the provided options to initialize it.
82
+ *
83
+ * * */
84
+ export declare const PumpContainer: SingletonKosModelRegistrationBean<PumpContainerModel, PumpContainerOptions>;
85
+ //# sourceMappingURL=pump-container-model.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pump-container-model.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/pump-container/pump-container-model.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,iCAAiC,EAClC,MAAM,yBAAyB,CAAC;AASjC,OAAO,KAAK,EAAE,kBAAkB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAQxE,oBAAY,SAAS;IACnB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAiED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA0EO;AACP,eAAO,MAAM,aAAa,EAAE,iCAAiC,CAC3D,kBAAkB,EAClB,oBAAoB,CAarB,CAAC"}
@@ -0,0 +1,31 @@
1
+ import { PumpModel } from '../../pump/types';
2
+ import { IKosDataModel, IKosModelContainer, IKosModelHolder } from '@kosdev-code/kos-ui-sdk';
3
+
4
+
5
+ export interface PumpContainerOptions {}
6
+
7
+ /**
8
+ * Represents a collection of holders for the dispenser or a specific assembly.
9
+ *
10
+ * Provides default indexing to allow for grouping of holders by nozzle.
11
+ *
12
+ *
13
+ * @category Model
14
+ */
15
+ export interface PumpContainerModel<T extends object = unknown>
16
+ extends IKosDataModel,
17
+ IKosModelHolder<PumpModel<T>> {
18
+ /** the unique identifier for the model */
19
+ id: string;
20
+
21
+ /** the collection of holder models */
22
+ models: IKosModelContainer<PumpModel<T>>;
23
+ readonly pumpModels: PumpModel<T>[];
24
+
25
+ /**
26
+ * The collection of pump paths.
27
+ */
28
+ readonly pumpPaths: string[];
29
+ /** convenience method to update the holder container based on the options */
30
+ updateModel(options: PumpContainerOptions): void;
31
+ }
@@ -0,0 +1,83 @@
1
+ export type AssemblyBoard<BoardExt extends object = {}> = {
2
+ [key in keyof BoardExt]: BoardExt[key];
3
+ } & {
4
+ type: string;
5
+ name: string;
6
+ path: string;
7
+ linked: boolean;
8
+ instanceId?: string;
9
+ };
10
+ export interface HolderSlice {
11
+ pos: number;
12
+ maxVolMl?: number;
13
+ currentVolMl?: number;
14
+ }
15
+ export type AssemblyHolder<HolderExt extends object = {}> = {
16
+ [key in keyof HolderExt]: HolderExt[key];
17
+ } & {
18
+ agitated: boolean;
19
+ name: string;
20
+ path: string;
21
+ ingType?: string;
22
+ ingSource?: string;
23
+ ingredientId?: string;
24
+ type?: string;
25
+ slice?: HolderSlice;
26
+ container?: {
27
+ enjoyByDate: number;
28
+ };
29
+ };
30
+ export type SubAssemblyPump<PumpExt extends object = {}> = Omit<AssemblyPump<PumpExt>, "pumps">;
31
+ export type AssemblyPump<PumpExt extends object = {}> = {
32
+ [key in keyof PumpExt]: PumpExt[key];
33
+ } & {
34
+ name: string;
35
+ path: string;
36
+ inserted: boolean;
37
+ childPump?: boolean;
38
+ virtual?: boolean;
39
+ pumps?: SubAssemblyPump<PumpExt>[];
40
+ type: string;
41
+ boardPath: string;
42
+ holderPath: string;
43
+ ingredientId?: string;
44
+ prevIngredientId?: string;
45
+ };
46
+ interface AssemblyPipeline {
47
+ name: string;
48
+ topicPrefix: string;
49
+ path: string;
50
+ }
51
+ export type AssemblyNozzle<NozzleExt extends object = {}, PumpExt extends object = {}> = {
52
+ [key in keyof NozzleExt]: NozzleExt[key];
53
+ } & {
54
+ name: string;
55
+ path: string;
56
+ urlPrefix: string;
57
+ topicPrefix: string;
58
+ pumps: AssemblyPump<PumpExt>[];
59
+ pipelines: AssemblyPipeline[];
60
+ };
61
+ export type Assembly<AssemblyExt extends object = any, NozzleExt extends object = any, HolderExt extends object = any, BoardExt extends object = any, PumpExt extends object = any> = {
62
+ [key in keyof AssemblyExt]: AssemblyExt[key];
63
+ } & {
64
+ boards: AssemblyBoard<BoardExt>[];
65
+ holders: Record<string, AssemblyHolder<HolderExt>[]>;
66
+ nozzles: AssemblyNozzle<NozzleExt, PumpExt>[];
67
+ core: boolean;
68
+ name: string;
69
+ path: string;
70
+ };
71
+ export interface BaseAssemblyResponse<AssemblyExt extends object = any, NozzleExt extends object = any, HolderExt extends object = any, BoardExt extends object = any, PumpExt extends object = any> {
72
+ assemblies: Assembly<AssemblyExt, NozzleExt, HolderExt, BoardExt, PumpExt>[];
73
+ }
74
+ interface AssemblyResponseKeys {
75
+ AssemblyExt: object;
76
+ NozzleExt: object;
77
+ HolderExt: object;
78
+ BoardExt: object;
79
+ PumpExt: object;
80
+ }
81
+ export type AssemblyResponse<T extends Partial<AssemblyResponseKeys>> = BaseAssemblyResponse<T["AssemblyExt"] extends object ? T["AssemblyExt"] : any, T["NozzleExt"] extends object ? T["NozzleExt"] : any, T["HolderExt"] extends object ? T["HolderExt"] : any, T["BoardExt"] extends object ? T["BoardExt"] : any, T["PumpExt"] extends object ? T["PumpExt"] : any>;
82
+ export {};
83
+ //# sourceMappingURL=assembly.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assembly.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/assembly.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,aAAa,CAAC,QAAQ,SAAS,MAAM,GAAG,EAAE,IAAI;KACvD,GAAG,IAAI,MAAM,QAAQ,GAAG,QAAQ,CAAC,GAAG,CAAC;CACvC,GAAG;IACF,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,OAAO,CAAC;IAChB,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEF,MAAM,WAAW,WAAW;IAC1B,GAAG,EAAE,MAAM,CAAC;IACZ,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AACD,MAAM,MAAM,cAAc,CAAC,SAAS,SAAS,MAAM,GAAG,EAAE,IAAI;KACzD,GAAG,IAA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AAC,EAAE,CAAC;CAC9E;AAED,UAAU,oBAAoB;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,OAAO,CAAC,oBAAoB,CAAC,IAClE,oBAAoB,CAClB,CAAC,CAAC,aAAa,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,aAAa,CAAC,GAAG,GAAG,EACxD,CAAC,CAAC,WAAW,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,WAAW,CAAC,GAAG,GAAG,EACpD,CAAC,CAAC,WAAW,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,WAAW,CAAC,GAAG,GAAG,EACpD,CAAC,CAAC,UAAU,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,UAAU,CAAC,GAAG,GAAG,EAClD,CAAC,CAAC,SAAS,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,SAAS,CAAC,GAAG,GAAG,CACjD,CAAC"}
@@ -0,0 +1,4 @@
1
+ export * as AssemblyTypes from './assembly';
2
+ export * from './intent';
3
+ export * from './pouring';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,aAAa,MAAM,YAAY,CAAC;AAC5C,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { IKosIdentifiable, FutureResponse } from '@kosdev-code/kos-ui-sdk';
2
+
3
+ export interface IntentAwareProps {
4
+ intent: string;
5
+ pumpPath?: string;
6
+ }
7
+ /**
8
+ * Perform a named pour intent on the holder pump.
9
+ *
10
+ * @param props.intent The name of the intent to perform.
11
+ * @param props.pumpPath The path of the pump to perform the intent on. If not specified, the first pump will be used.
12
+ */
13
+ export interface IntentAware extends IKosIdentifiable {
14
+ canPour: boolean;
15
+ isPouring: boolean;
16
+ cancelPour: () => Promise<void>;
17
+ performIntent(props: IntentAwareProps | string): Promise<FutureResponse | undefined>;
18
+ }
19
+ //# sourceMappingURL=intent.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"intent.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/intent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAC;AAEhE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAE9D,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;;GAKG;AACH,MAAM,WAAW,WAAY,SAAQ,gBAAgB;IACnD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;IACnB,UAAU,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAChC,aAAa,CACX,KAAK,EAAE,gBAAgB,GAAG,MAAM,GAC/B,OAAO,CAAC,cAAc,GAAG,SAAS,CAAC,CAAC;CACxC"}
@@ -0,0 +1,9 @@
1
+ export declare enum PourState {
2
+ IDLE = "IDLE",
3
+ POURING = "POURING",
4
+ POUR_STARTING = "POUR_STARTING",
5
+ POUR_CANCELING = "POUR_CANCELING",
6
+ POUR_CANCELED = "POUR_CANCELED",
7
+ POUR_COMPLETE = "POUR_COMPLETE"
8
+ }
9
+ //# sourceMappingURL=pouring.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pouring.d.ts","sourceRoot":"","sources":["../../../../../../../packages/sdk/kos-dispense-sdk/src/models/models/types/pouring.ts"],"names":[],"mappings":"AAAA,oBAAY,SAAS;IACnB,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,aAAa,kBAAkB;IAC/B,cAAc,mBAAmB;IACjC,aAAa,kBAAkB;IAC/B,aAAa,kBAAkB;CAChC"}
@@ -0,0 +1,28 @@
1
+ import { KosModelRegistry as CoreKosModelRegistration, RegistrationManager, RegistrationResult } from '@kosdev-code/kos-ui-sdk';
2
+
3
+ export declare const registerDispenseModels: <R>(root: R) => () => {
4
+ preload: (type: string) => RegistrationResult<R>;
5
+ model: <T extends import('@kosdev-code/kos-ui-sdk').BaseKosModelRegistrationBean<any, any> | import('@kosdev-code/kos-ui-sdk').KosModelRegistrationType<any, any>>(registration: T, preload?: boolean | undefined) => RegistrationResult<R>;
6
+ companion: (parentType: string, companion: import('@kosdev-code/kos-ui-sdk').KosCompanionModelType<any>) => RegistrationResult<R>;
7
+ legacy: <T_1 extends import('@kosdev-code/kos-ui-sdk').IKosModelRegistration>(type: string, registration: T_1) => RegistrationResult<R>;
8
+ };
9
+ export type DispenseKosModelRegistration<R> = typeof CoreKosModelRegistration & {
10
+ dispense: {
11
+ models: () => RegistrationResult<R>;
12
+ };
13
+ preload: ReturnType<typeof RegistrationManager.model.preloadModel>;
14
+ model: ReturnType<typeof RegistrationManager.model.register>;
15
+ companion: ReturnType<typeof RegistrationManager.companion.register>;
16
+ };
17
+ declare const _KosModelRegistry: {
18
+ core: {
19
+ models: () => RegistrationResult<{}>;
20
+ };
21
+ preload: (type: string) => RegistrationResult<unknown>;
22
+ model: <T extends import('@kosdev-code/kos-ui-sdk').BaseKosModelRegistrationBean<any, any> | import('@kosdev-code/kos-ui-sdk').KosModelRegistrationType<any, any>>(registration: T, preload?: boolean | undefined) => RegistrationResult<unknown>;
23
+ companion: (parentType: string, companion: import('@kosdev-code/kos-ui-sdk').KosCompanionModelType<any>) => RegistrationResult<unknown>;
24
+ };
25
+ type KosModelRegistryType = DispenseKosModelRegistration<typeof _KosModelRegistry>;
26
+ declare const KosModelRegistry: KosModelRegistryType;
27
+ export { KosModelRegistry };
28
+ //# sourceMappingURL=dispense-registration-manager.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dispense-registration-manager.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-dispense-sdk/src/models/utils/dispense-registration-manager.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,wBAAwB,EAG5C,mBAAmB,EAInB,KAAK,kBAAkB,EAExB,MAAM,yBAAyB,CAAC;AAOjC,eAAO,MAAM,sBAAsB,YACvB,CAAC;;;;;CAuCV,CAAC;AAEJ,MAAM,MAAM,4BAA4B,CAAC,CAAC,IACxC,OAAO,wBAAwB,GAAG;IAChC,QAAQ,EAAE;QAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC,CAAC,CAAC,CAAA;KAAE,CAAC;IAClD,OAAO,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC;IACnE,KAAK,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC7D,SAAS,EAAE,UAAU,CAAC,OAAO,mBAAmB,CAAC,SAAS,CAAC,QAAQ,CAAC,CAAC;CACtE,CAAC;AAEJ,QAAA,MAAM,iBAAiB;;;;;;;CAEtB,CAAC;AAcF,KAAK,oBAAoB,GAAG,4BAA4B,CACtD,OAAO,iBAAiB,CACzB,CAAC;AAEF,QAAA,MAAM,gBAAgB,EAAE,oBAA+C,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,CAAC"}
@@ -0,0 +1,266 @@
1
+ import { SelectedPourable } from '../models/nozzle/types';
2
+ import { BeverageResponse } from '../models/nozzle/services';
3
+ import { IngredientResponse } from '../models/ingredient/services';
4
+ import { HolderModel } from '../models/holder/types';
5
+ import { HolderResponse } from '../models/holder/services';
6
+ import { AssemblyTypes, AssemblyModel } from '../models';
7
+ import { CoreExtensionManager, DataLoader, DataMapper, IndexExtension, PropertyMapper, FlagResolver } from '@kosdev-code/kos-ui-sdk';
8
+
9
+ export type IngredientDataMapper<AdditionalData extends object = Record<string, any>> = DataMapper<IngredientResponse, AdditionalData, any>;
10
+ /**
11
+ * Mapping function that maps an ingredient response into the type property of
12
+ * the {@link IngredientModel}.
13
+ */
14
+ export type IngredientTypeMapper<T extends IngredientResponse = IngredientResponse> = PropertyMapper<T, string>;
15
+ /**
16
+ * Mapping function that maps additional data from holder service response
17
+ * into the {@link HolderModel} data.
18
+ */
19
+ export type HolderTypeMapper<T extends HolderResponse = HolderResponse> = PropertyMapper<T, string>;
20
+ /**
21
+ * Mapping function that maps additional data from holder service response
22
+ * into the {@link HolderModel} data.
23
+ */
24
+ export type HolderDataMapper<AdditionalData extends object = Record<string, any>, HolderData extends HolderResponse = HolderResponse> = DataMapper<HolderData, AdditionalData, any>;
25
+ export type GroupBeverageResponse = BeverageResponse & {
26
+ groupId: string;
27
+ };
28
+ export type AvailabilityDataMapper<AdditionalData extends object = Record<string, any>, AvailabilityData extends GroupBeverageResponse = GroupBeverageResponse> = DataMapper<AvailabilityData, AdditionalData, any>;
29
+ export type SelectedPourableMapper = DataMapper<SelectedPourable, any>;
30
+ export type BoardDataMapper<AdditionalData extends object = Record<string, any>, BoardData extends AssemblyTypes.AssemblyBoard<any> = AssemblyTypes.AssemblyBoard<any>> = DataMapper<BoardData, AdditionalData, any>;
31
+ export type AssemblyMapper<AdditionalData extends object = Record<string, any>, AssemblyResponseData extends AssemblyTypes.AssemblyResponse<any> = AssemblyTypes.AssemblyResponse<any>> = DataMapper<AssemblyResponseData, AdditionalData, any>;
32
+ /**
33
+ * The DispenseExtensionManager is responsible for managing the extension points that are specific to the Dispense application.
34
+ */
35
+ export declare class DispenseExtensionManager {
36
+ core: CoreExtensionManager;
37
+ /**
38
+ * Maps data into the {@link IngredientModel}
39
+ *
40
+ * It is common for the ingredient data provided by the ingredient service to be augmented with additional properties that are
41
+ * not provided by the base KOS Ingredient model. The {@link IngredientMapper} extension point allows for the data to be mapped
42
+ * into the {@link IngredientModel} and the {@link IngredientModel.data} property to be augmented with additional properties.
43
+ *
44
+ * @example
45
+ * The following example shows how to map the data from the service response into the {@link IngredientModel}.
46
+ * The context is provided by the {@link IngredientLoader} extension point with its data being used to optionally augment the
47
+ * ingredient data.
48
+ *
49
+ * The result of the mapping will be available in the `data` property of the {@link IngredientModel}.
50
+ *
51
+ * In this case the `IngedientReponseData` interface represents the data being returned by the ingredient service and the
52
+ * `IngredientData` interface represents the data that will be available in the {@link IngredientModel.data} property. The `ingredientDataMapper`
53
+ * is responsible for mapping from one format to the other.
54
+ *
55
+ * ```typescript
56
+ *
57
+ * interface IngredientResponseData extends NozzleServices.IngredientResponse {
58
+ * chilled: boolean;
59
+ * carbonated: boolean;
60
+ * highYield: boolean;
61
+ * }
62
+ *
63
+ * interface IngredientData {
64
+ * chilled: boolean;
65
+ * carbonated: boolean;
66
+ * highYield: boolean;
67
+ * }
68
+ *
69
+ * export const ingredientDataMapper = async (
70
+ * data: IngredientResponseData,
71
+ * context: IngredientContext
72
+ * ): Promise<IngredientData> => {
73
+ * return {
74
+ * chilled: data.chilled,
75
+ * carbonated: data.carbonated,
76
+ * highYield: data.highYield,
77
+ * }
78
+ * }
79
+ * ```
80
+ * */
81
+ registerIngredientDataMapper(ingredientDataMapper: IngredientDataMapper): this;
82
+ /**
83
+ * Loads data that will be provided as context into the {@link IngredientMapper}
84
+ *
85
+ * @example
86
+ * The following example shows how to load the brandset data, normalize it into a map and then provide it back to the framework
87
+ * where it can be used by the other extension points.
88
+ *
89
+ * In the ingredient container model, the data is provided to the {@link IngredientMapper} extension point in order to augment ingredient data
90
+ * and also loaded into the ingredient container model context in order to make the data available throughout the code.
91
+ *
92
+ * ```typescript
93
+ * export const ingredientContextLoader = async (): Promise<BeverageContext> => {
94
+ * const response = await kosFetch('kos:/system/some/ingredient/endpoint.json');
95
+ *
96
+ * if (response.status !== 200) {
97
+ * KosLog.error('Failed to load ingredient data');
98
+ * return {};
99
+ * }
100
+ * const json = await response.json();
101
+ * return json;
102
+ * };
103
+ * ```
104
+ * */
105
+ registerIngredientLoader(ingredientLoader: DataLoader): this;
106
+ registerIngredientIndex(ingredientIndex: IndexExtension): this;
107
+ /**
108
+ * Registers a data mapper for the {@link IngredientModel}
109
+ * */
110
+ registerIngredientTypeMapper(ingredientTypeMapper: IngredientTypeMapper): this;
111
+ /**
112
+ * Registers a data mapper for the {@link HolderModel} model.
113
+ * @param holderDataMapper - Mapping function that maps additional data from holder service response
114
+ * @returns
115
+ */
116
+ registerHolderDataMapper(holderDataMapper: HolderDataMapper): this;
117
+ registerHolderTypeMapper(holderTypeMapper: HolderTypeMapper): this;
118
+ /**
119
+ * Maps the ingredientId property of the holder into the {@link HolderModel}.
120
+ * If not provided, the ingredientId will assume that the value is mapped from the
121
+ * ingredientId property of the service response.
122
+ * */
123
+ registerHolderIngredientMapper(holderTypeMapper: HolderTypeMapper): this;
124
+ registerHolderIndex<T extends HolderModel = HolderModel>(holderIndex: IndexExtension<T>): this;
125
+ /**
126
+ * Maps data into the {@link AvailabilityModel}
127
+ *
128
+ * @example
129
+ * The following example shows how to map the data from the service response into the {@link AvailabilityModel}.
130
+ * The context is provided by the {@link AvailabilityLoader} extension point with its data being used to augment the
131
+ * availability data.
132
+ *
133
+ * The result of the mapping will be available in the `data` property of the {@link AvailabilityModel}.
134
+ *
135
+ * ```typescript
136
+ * export const beverageDataMapper = async (
137
+ * data: NozzleServices.BeverageResponse,
138
+ * context: BeverageContext
139
+ * ): Promise<BeverageData> => {
140
+ * const id = data.altId;
141
+ * const iconUrl = encodeURI(
142
+ * `http://localhost:8081/system/brandset/${context?.[id]?.icon}`
143
+ * );
144
+ * const cuiColorCode = context?.[id]?.cuiColorCode
145
+ * ? context?.[id]?.cuiColorCode
146
+ * : '';
147
+ * return { iconUrl, cuiColorCode };
148
+ * };
149
+ * ```
150
+ * */
151
+ registerAvailabilityDataMapper(availabilityMapper: AvailabilityDataMapper): this;
152
+ /**
153
+ * Loads data that will be provided as context into the {@link AvailabilityMapper}
154
+ *
155
+ * @example
156
+ * A common use case is to load brandset data that is UI specific and not provided directly by the Java service.
157
+ *
158
+ * The following example shows how to load the brandset data, normalize it into a map and then provide it back to the framework
159
+ * where it can be used by the other extension points.
160
+ *
161
+ * In the nozzle model, the data is provided to the {@link AvailabilityMapper} extension point in order to augment availability data
162
+ * and also loaded into the nozzle model context in order to make the data available throughout the code.
163
+ *
164
+ * ```typescript
165
+ * export const beverageContextLoader = async (): Promise<BeverageContext> => {
166
+ * const response = await kosFetch('kos:/system/brandset/brandset.json');
167
+ *
168
+ * if (response.status !== 200) {
169
+ * KosLog.error('Failed to load beverage data');
170
+ * return {};
171
+ * }
172
+ * const json: BrandsetResponse | null = await response.json();
173
+ * const initialBeverages: Record<string, BrandsetIngredient> = {};
174
+ * const beverages = json?.ingredients?.reduce((acc, beverage) => {
175
+ * acc[beverage.ingredientId] = beverage;
176
+ * return acc;
177
+ * }, initialBeverages);
178
+ * return beverages;
179
+ * };
180
+ * ```
181
+ * */
182
+ registerAvailabilityLoader(availabilityLoader: DataLoader): this;
183
+ /**
184
+ * Maps the abstract {@link SelectedPourable} data into a format that is specific to the nozzle.
185
+ * */
186
+ registerSelectedPourableDataMapper(selectedPourableMapper: SelectedPourableMapper): this;
187
+ /**
188
+ * Maps data into the {@link AssemblyModel} data.
189
+ * Used in cases where the base assembly has been extended with additional properties in the backend. This extension
190
+ * point allows for the data to be mapped into the {@link AssemblyModel} and augmented with additional properties.
191
+ *
192
+ * @example
193
+ *
194
+ * In this example of an implementation of a {@link AssemblyMapper}, the {@link AssemblyResponse} data is mapped into
195
+ * a {@link FreestyleAssembly} object.
196
+ *
197
+ * The {@link FreestyleAssemblyResponse} interface represents the additional data being returned by the assembly service and is
198
+ * merged into the {@link AssemblyResponse} interface.
199
+ *
200
+ * The {@link FreestyleAssembly} interface represents the additional data, beyond the base data set, that will be merged into the {@link AssemblyModel}.
201
+ *
202
+ * The mapper is responsible for mapping from the {@link FreestyleAssemblyResponse} format to the {@link FreestyleAssembly} format.
203
+ * ```typescript
204
+ * import { AssemblyTypes } from "@kosdev-code/kos-dispense-sdk";
205
+ * import { DataMapper } from "@kosdev-code/kos-ui-sdk";
206
+ *
207
+ * // define the additional data being returned by the assembly service
208
+ * export interface FreestyleAssemblyResponse {
209
+ * iceAgitator?: {
210
+ * name: "iceAgitator";
211
+ * path: string;
212
+ * };
213
+ * }
214
+ *
215
+ * // define the additional data structure that will be merged into the assembly model
216
+ * export interface FreestyleAssembly {
217
+ * iceAgitator: {
218
+ * path: string;
219
+ * };
220
+ * carbAgitator: {
221
+ * path: string;
222
+ * };
223
+ * }
224
+ *
225
+ *
226
+ * // define the mapper that will map the data from the service response into the additional data structure
227
+ * // that will be merged into the assembly model.
228
+ * // In this case the mapper is responsible for mapping from the {@link FreestyleAssemblyResponse} format to the {@link FreestyleAssembly} format.
229
+ * export const assemblyDataMapper: DataMapper<
230
+ * AssemblyTypes.AssemblyResponse<FreestyleAssemblyResponse>,
231
+ * FreestyleAssembly
232
+ * > = async (data) => {
233
+ * const response = data.assemblies.reduce((acc, assembly) => {
234
+ * const agitatorKeys = ["iceAgitator", "carbAgitator"];
235
+ * agitatorKeys.forEach((key) => {
236
+ * const agitator = assembly[key];
237
+ * if (agitator) {
238
+ * acc[key] = agitator;
239
+ * }
240
+ * });
241
+ *
242
+ * return acc;
243
+ * }, {} as FreestyleAssembly);
244
+ * return response;
245
+ * };
246
+ *```
247
+ */
248
+ registerAssemblyDataMapper(assemblyDataMapper: AssemblyMapper): this;
249
+ registerBoardIndex(boardIndex: IndexExtension): this;
250
+ registerBoardDataMapper(boardDataMapper: BoardDataMapper<any, any>): this;
251
+ registerAssemblyFeatureFlagResolver(assemblyFeatureFlagResolver: FlagResolver<AssemblyModel>): this;
252
+ }
253
+ /**
254
+ * The KosExtensionManager provides access to the extension points that are provided in the SDK for Dispense applications.
255
+ *
256
+ * The extension points are divided into two categories:
257
+ *
258
+ * @param core - The core extension {@link CoreExtensionManager} points are used to extend the base models that are provided by the SDK.
259
+ * @param dispense - The dispense extension {@link DispenseExtensionManager} points are used to extend the models that are specific to the Dispense SDK.
260
+ */
261
+ export declare class KosExtensionManager {
262
+ dispense: DispenseExtensionManager;
263
+ core: CoreExtensionManager;
264
+ constructor();
265
+ }
266
+ //# sourceMappingURL=extension-utils.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"extension-utils.d.ts","sourceRoot":"","sources":["../../../../../../packages/sdk/kos-dispense-sdk/src/models/utils/extension-utils.ts"],"names":[],"mappings":"AACA,OAAO,EACL,oBAAoB,EACpB,UAAU,EACV,UAAU,EAGV,cAAc,EACd,cAAc,EACd,KAAK,YAAY,EAClB,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,aAAa,EAAE,KAAK,aAAa,EAAE,MAAM,WAAW,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAChE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,+BAA+B,CAAC;AACxE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAClE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE/D,MAAM,MAAM,oBAAoB,CAC9B,cAAc,SAAS,MAAM,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,IACjD,UAAU,CAAC,kBAAkB,EAAE,cAAc,EAAE,GAAG,CAAC,CAAC;AAExD;;;GAGG;AACH,MAAM,MAAM,oBAAoB,CAC9B,CAAC,SAAS,kBAAkB,GAAG,kBAAkB,IAC/C,cAAc,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAE9B;;;GAGG;AACH,MAAM,MAAM,gBAAgB,CAAC,CAAC,SAAS,cAAc,GAAG,cAAc,IACpE,cAAc,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC;AAE5B;;;GAG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