@ovok/native 1.17.0-dev.2299 → 1.17.0-dev.2301

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 (954) hide show
  1. package/README.md +1 -1
  2. package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js +1 -1
  3. package/lib/commonjs/modules/auth/hooks/use-delete-account.js +1 -1
  4. package/lib/commonjs/modules/auth/hooks/use-session.js +1 -1
  5. package/lib/commonjs/modules/auth/hooks/use-sign-in.js +1 -1
  6. package/lib/commonjs/modules/auth/hooks/use-sign-out.js +1 -1
  7. package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +1 -1
  8. package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +1 -1
  9. package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +1 -1
  10. package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +1 -1
  11. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +1 -1
  12. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.web.js +1 -1
  13. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +1 -1
  14. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.web.js +1 -1
  15. package/lib/commonjs/modules/auth/utils/sign-in-error.js +2 -2
  16. package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
  17. package/lib/commonjs/modules/background-sync/index.js +11 -0
  18. package/lib/commonjs/modules/background-sync/index.js.map +1 -1
  19. package/lib/commonjs/modules/{next/background-sync → background-sync}/offline-measurement-background-sync.js +11 -10
  20. package/lib/commonjs/modules/background-sync/offline-measurement-background-sync.js.map +1 -0
  21. package/lib/commonjs/modules/bluetooth/index.js +17 -0
  22. package/lib/commonjs/modules/bluetooth/index.js.map +1 -0
  23. package/lib/commonjs/modules/bluetooth/sqlite/index.js +17 -0
  24. package/lib/commonjs/modules/bluetooth/sqlite/index.js.map +1 -0
  25. package/lib/commonjs/modules/bluetooth/web/index.js +17 -0
  26. package/lib/commonjs/modules/bluetooth/web/index.js.map +1 -0
  27. package/lib/commonjs/modules/bt-device/constants/device-model.js +2 -2
  28. package/lib/commonjs/modules/bt-device/constants/device-model.js.map +1 -1
  29. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +9 -9
  30. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  31. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +81 -81
  32. package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  33. package/lib/commonjs/modules/bt-management/index.js +1 -1
  34. package/lib/commonjs/modules/bt-management/services/custom/compile-case-fields.js +1 -1
  35. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-case.js +1 -1
  36. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-field.js +1 -1
  37. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +2 -2
  38. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
  39. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js +2 -2
  40. package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
  41. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +3 -3
  42. package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
  43. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +2 -2
  44. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
  45. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +4 -4
  46. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
  47. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +2 -2
  48. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  49. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -2
  50. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  51. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js +5 -5
  52. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
  53. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +2 -2
  54. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  55. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.js +2 -2
  56. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.js.map +1 -1
  57. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +9 -9
  58. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  59. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +3 -3
  60. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
  61. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js +8 -8
  62. package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
  63. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +2 -2
  64. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
  65. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +2 -2
  66. package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
  67. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -2
  68. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
  69. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +3 -3
  70. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
  71. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +15 -15
  72. package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
  73. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +2 -2
  74. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
  75. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +2 -2
  76. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
  77. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +2 -2
  78. package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
  79. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +3 -3
  80. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  81. package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js +3 -3
  82. package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
  83. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +2 -2
  84. package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
  85. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +3 -3
  86. package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
  87. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +2 -2
  88. package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
  89. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js +3 -3
  90. package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
  91. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js +3 -3
  92. package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
  93. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.live-ecg-chunks.js +2 -2
  94. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.live-ecg-chunks.js.map +1 -1
  95. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.pulse-wave-chunks.js +2 -2
  96. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.pulse-wave-chunks.js.map +1 -1
  97. package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +2 -2
  98. package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
  99. package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js +2 -2
  100. package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
  101. package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js +5 -5
  102. package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
  103. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +6 -6
  104. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  105. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +3 -3
  106. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  107. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +6 -6
  108. package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
  109. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +2 -2
  110. package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
  111. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +2 -2
  112. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
  113. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +2 -2
  114. package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
  115. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +2 -2
  116. package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
  117. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js +4 -4
  118. package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
  119. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +3 -3
  120. package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
  121. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js +2 -2
  122. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
  123. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +4 -4
  124. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
  125. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +2 -2
  126. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
  127. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +2 -2
  128. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  129. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +6 -6
  130. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
  131. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +2 -2
  132. package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
  133. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -2
  134. package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
  135. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js +2 -2
  136. package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
  137. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +2 -2
  138. package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
  139. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -2
  140. package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
  141. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +2 -2
  142. package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
  143. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +3 -3
  144. package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
  145. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -2
  146. package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
  147. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -2
  148. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
  149. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +2 -2
  150. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
  151. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +2 -2
  152. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
  153. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +3 -3
  154. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
  155. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +3 -3
  156. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
  157. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +2 -2
  158. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
  159. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -2
  160. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
  161. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +2 -2
  162. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  163. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +5 -5
  164. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  165. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +4 -4
  166. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  167. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +3 -3
  168. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
  169. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +7 -7
  170. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
  171. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +2 -2
  172. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
  173. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +2 -2
  174. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
  175. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +2 -2
  176. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
  177. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +4 -4
  178. package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
  179. package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +7 -7
  180. package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
  181. package/lib/commonjs/modules/cms/hooks/use-cms-content.js +1 -1
  182. package/lib/commonjs/modules/cms/hooks/use-cms-translations.js +1 -1
  183. package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js +1 -1
  184. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +2 -2
  185. package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  186. package/lib/commonjs/modules/data-sync/types/health-sync-keys.js +3 -3
  187. package/lib/commonjs/modules/data-sync/types/health-sync-keys.js.map +1 -1
  188. package/lib/commonjs/modules/data-sync/utils/convert-ecg-samples-to-observation.js +2 -2
  189. package/lib/commonjs/modules/data-sync/utils/convert-ecg-samples-to-observation.js.map +1 -1
  190. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +2 -3
  191. package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  192. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +3 -5
  193. package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  194. package/lib/commonjs/modules/data-sync/utils/default-health-coding.js +25 -25
  195. package/lib/commonjs/modules/data-sync/utils/default-health-coding.js.map +1 -1
  196. package/lib/commonjs/modules/data-sync/utils/reading-groups.js +2 -2
  197. package/lib/commonjs/modules/data-sync/utils/reading-groups.js.map +1 -1
  198. package/lib/commonjs/modules/data-sync/utils/retry-save.js +2 -2
  199. package/lib/commonjs/modules/data-sync/utils/retry-save.js.map +1 -1
  200. package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js +2 -2
  201. package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
  202. package/lib/commonjs/modules/measurement/index.js +11 -0
  203. package/lib/commonjs/modules/measurement/index.js.map +1 -1
  204. package/lib/commonjs/modules/{bt-management/constants → measurement}/measurement-field-catalog.js +31 -31
  205. package/lib/commonjs/modules/measurement/measurement-field-catalog.js.map +1 -0
  206. package/lib/commonjs/modules/next/background-sync/index.js +0 -11
  207. package/lib/commonjs/modules/next/background-sync/index.js.map +1 -1
  208. package/lib/commonjs/modules/next/bluetooth/adapters/ecg-measurements.js +2 -2
  209. package/lib/commonjs/modules/next/bluetooth/adapters/ecg-measurements.js.map +1 -1
  210. package/lib/commonjs/modules/next/bluetooth/adapters/live-supersession.js +3 -3
  211. package/lib/commonjs/modules/next/bluetooth/adapters/live-supersession.js.map +1 -1
  212. package/lib/commonjs/modules/next/bluetooth/adapters/ovok-outbox-watch.js +2 -2
  213. package/lib/commonjs/modules/next/bluetooth/adapters/ovok-outbox-watch.js.map +1 -1
  214. package/lib/commonjs/modules/next/bluetooth/adapters/reading-measurements.js +10 -10
  215. package/lib/commonjs/modules/next/bluetooth/adapters/reading-measurements.js.map +1 -1
  216. package/lib/commonjs/modules/next/bluetooth/adapters/series-saving.js +9 -9
  217. package/lib/commonjs/modules/next/bluetooth/adapters/series-saving.js.map +1 -1
  218. package/lib/commonjs/modules/next/bluetooth/adapters/urine-measurements.js +2 -2
  219. package/lib/commonjs/modules/next/bluetooth/adapters/urine-measurements.js.map +1 -1
  220. package/lib/commonjs/modules/next/bluetooth/shared.js +1 -1
  221. package/lib/commonjs/modules/next/data-sync/index.js.map +1 -1
  222. package/lib/commonjs/modules/next/index.js +4 -4
  223. package/lib/commonjs/modules/next/index.js.map +1 -1
  224. package/lib/commonjs/modules/next/ovok.js +3 -3
  225. package/lib/commonjs/modules/next/ovok.js.map +1 -1
  226. package/lib/commonjs/modules/next/register-push-device.js +1 -1
  227. package/lib/commonjs/modules/next/use-native-ovok.js +2 -2
  228. package/lib/commonjs/modules/next/use-native-ovok.js.map +1 -1
  229. package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +1 -1
  230. package/lib/commonjs/modules/socket/components/socket-provider.js +1 -1
  231. package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js +21 -21
  232. package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js.map +1 -1
  233. package/lib/commonjs/modules/ui/components/manual-entry-form.js +2 -2
  234. package/lib/commonjs/modules/ui/components/manual-entry-form.js.map +1 -1
  235. package/lib/commonjs/modules/ui/components/urine-test-result.js +4 -4
  236. package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
  237. package/lib/module/index.js +1 -1
  238. package/lib/module/modules/auth/hooks/use-accept-invite-link.js +1 -1
  239. package/lib/module/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
  240. package/lib/module/modules/auth/hooks/use-delete-account.js +1 -1
  241. package/lib/module/modules/auth/hooks/use-delete-account.js.map +1 -1
  242. package/lib/module/modules/auth/hooks/use-session.js +1 -1
  243. package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
  244. package/lib/module/modules/auth/hooks/use-sign-in.js +1 -1
  245. package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
  246. package/lib/module/modules/auth/hooks/use-sign-out.js +1 -1
  247. package/lib/module/modules/auth/hooks/use-sign-out.js.map +1 -1
  248. package/lib/module/modules/auth/hooks/use-social-sign-in.js +1 -1
  249. package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
  250. package/lib/module/modules/auth/profile/components/profile-form-provider.js +1 -1
  251. package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
  252. package/lib/module/modules/auth/register/components/form/register-form-provider.js +1 -1
  253. package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
  254. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +1 -1
  255. package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
  256. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +1 -1
  257. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  258. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.web.js +1 -1
  259. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.web.js.map +1 -1
  260. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +1 -1
  261. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  262. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.web.js +1 -1
  263. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.web.js.map +1 -1
  264. package/lib/module/modules/auth/utils/sign-in-error.js +1 -1
  265. package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
  266. package/lib/module/modules/background-sync/index.js +1 -0
  267. package/lib/module/modules/background-sync/index.js.map +1 -1
  268. package/lib/module/modules/{next/background-sync → background-sync}/offline-measurement-background-sync.js +11 -9
  269. package/lib/module/modules/background-sync/offline-measurement-background-sync.js.map +1 -0
  270. package/lib/module/modules/bluetooth/index.js +10 -0
  271. package/lib/module/modules/bluetooth/index.js.map +1 -0
  272. package/lib/module/modules/bluetooth/sqlite/index.js +11 -0
  273. package/lib/module/modules/bluetooth/sqlite/index.js.map +1 -0
  274. package/lib/module/modules/bluetooth/web/index.js +10 -0
  275. package/lib/module/modules/bluetooth/web/index.js.map +1 -0
  276. package/lib/module/modules/bt-device/constants/device-model.js +1 -1
  277. package/lib/module/modules/bt-device/constants/device-model.js.map +1 -1
  278. package/lib/module/modules/bt-device/constants/supported-devices.js +1 -1
  279. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  280. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +1 -1
  281. package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
  282. package/lib/module/modules/bt-management/index.js +1 -1
  283. package/lib/module/modules/bt-management/index.js.map +1 -1
  284. package/lib/module/modules/bt-management/services/custom/compile-case-fields.js +1 -1
  285. package/lib/module/modules/bt-management/services/custom/compile-case-fields.js.map +1 -1
  286. package/lib/module/modules/bt-management/services/custom/compile-custom-case.js +1 -1
  287. package/lib/module/modules/bt-management/services/custom/compile-custom-case.js.map +1 -1
  288. package/lib/module/modules/bt-management/services/custom/compile-custom-field.js +1 -1
  289. package/lib/module/modules/bt-management/services/custom/compile-custom-field.js.map +1 -1
  290. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +1 -1
  291. package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
  292. package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js +1 -1
  293. package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
  294. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +1 -1
  295. package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
  296. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +1 -1
  297. package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
  298. package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +1 -1
  299. package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
  300. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  301. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  302. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +1 -1
  303. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  304. package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js +1 -1
  305. package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
  306. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +1 -1
  307. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
  308. package/lib/module/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.js +1 -1
  309. package/lib/module/modules/bt-management/services/devices/blood-glucose/telebgm.sequencer.js.map +1 -1
  310. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +1 -1
  311. package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
  312. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +1 -1
  313. package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
  314. package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js +1 -1
  315. package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
  316. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +1 -1
  317. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
  318. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +1 -1
  319. package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
  320. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +1 -1
  321. package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
  322. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +1 -1
  323. package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
  324. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +1 -1
  325. package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
  326. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +1 -1
  327. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
  328. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +1 -1
  329. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
  330. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +1 -1
  331. package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
  332. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +1 -1
  333. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  334. package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js +1 -1
  335. package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
  336. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +1 -1
  337. package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
  338. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +1 -1
  339. package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
  340. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +1 -1
  341. package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
  342. package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js +1 -1
  343. package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
  344. package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js +1 -1
  345. package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
  346. package/lib/module/modules/bt-management/services/devices/lepu/lepu.live-ecg-chunks.js +1 -1
  347. package/lib/module/modules/bt-management/services/devices/lepu/lepu.live-ecg-chunks.js.map +1 -1
  348. package/lib/module/modules/bt-management/services/devices/lepu/lepu.pulse-wave-chunks.js +1 -1
  349. package/lib/module/modules/bt-management/services/devices/lepu/lepu.pulse-wave-chunks.js.map +1 -1
  350. package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +1 -1
  351. package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
  352. package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js +1 -1
  353. package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
  354. package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js +1 -1
  355. package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
  356. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +1 -1
  357. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
  358. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +1 -1
  359. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
  360. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +1 -1
  361. package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
  362. package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +1 -1
  363. package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
  364. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +1 -1
  365. package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
  366. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +1 -1
  367. package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
  368. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +1 -1
  369. package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
  370. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js +1 -1
  371. package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
  372. package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +1 -1
  373. package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
  374. package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js +1 -1
  375. package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
  376. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +1 -1
  377. package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
  378. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +1 -1
  379. package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
  380. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +1 -1
  381. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
  382. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +1 -1
  383. package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
  384. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +1 -1
  385. package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
  386. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +1 -1
  387. package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
  388. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js +1 -1
  389. package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
  390. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +1 -1
  391. package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
  392. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +1 -1
  393. package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
  394. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +1 -1
  395. package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
  396. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +1 -1
  397. package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
  398. package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js +1 -1
  399. package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
  400. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +1 -1
  401. package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
  402. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +1 -1
  403. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
  404. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +1 -1
  405. package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
  406. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +1 -1
  407. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
  408. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +1 -1
  409. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
  410. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +1 -1
  411. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
  412. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +1 -1
  413. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
  414. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +1 -1
  415. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  416. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +1 -1
  417. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  418. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
  419. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  420. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +1 -1
  421. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
  422. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +1 -1
  423. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
  424. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +1 -1
  425. package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
  426. package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +1 -1
  427. package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
  428. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +1 -1
  429. package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
  430. package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +1 -1
  431. package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
  432. package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +1 -1
  433. package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
  434. package/lib/module/modules/cms/hooks/use-cms-content.js +1 -1
  435. package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -1
  436. package/lib/module/modules/cms/hooks/use-cms-translations.js +1 -1
  437. package/lib/module/modules/cms/hooks/use-cms-translations.js.map +1 -1
  438. package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js +1 -1
  439. package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
  440. package/lib/module/modules/data-sync/services/base-health-sync-service.js +1 -1
  441. package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
  442. package/lib/module/modules/data-sync/types/health-sync-keys.js +1 -1
  443. package/lib/module/modules/data-sync/types/health-sync-keys.js.map +1 -1
  444. package/lib/module/modules/data-sync/utils/convert-ecg-samples-to-observation.js +1 -1
  445. package/lib/module/modules/data-sync/utils/convert-ecg-samples-to-observation.js.map +1 -1
  446. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +2 -3
  447. package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
  448. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +2 -4
  449. package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
  450. package/lib/module/modules/data-sync/utils/default-health-coding.js +1 -1
  451. package/lib/module/modules/data-sync/utils/default-health-coding.js.map +1 -1
  452. package/lib/module/modules/data-sync/utils/reading-groups.js +1 -1
  453. package/lib/module/modules/data-sync/utils/reading-groups.js.map +1 -1
  454. package/lib/module/modules/data-sync/utils/retry-save.js +1 -1
  455. package/lib/module/modules/data-sync/utils/retry-save.js.map +1 -1
  456. package/lib/module/modules/data-sync/utils/to-core-health-observations.js +1 -1
  457. package/lib/module/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
  458. package/lib/module/modules/measurement/index.js +2 -1
  459. package/lib/module/modules/measurement/index.js.map +1 -1
  460. package/lib/module/modules/{bt-management/constants → measurement}/measurement-field-catalog.js +1 -1
  461. package/lib/module/modules/measurement/measurement-field-catalog.js.map +1 -0
  462. package/lib/module/modules/next/background-sync/index.js +1 -4
  463. package/lib/module/modules/next/background-sync/index.js.map +1 -1
  464. package/lib/module/modules/next/bluetooth/adapters/ecg-measurements.js +1 -1
  465. package/lib/module/modules/next/bluetooth/adapters/ecg-measurements.js.map +1 -1
  466. package/lib/module/modules/next/bluetooth/adapters/live-supersession.js +1 -1
  467. package/lib/module/modules/next/bluetooth/adapters/live-supersession.js.map +1 -1
  468. package/lib/module/modules/next/bluetooth/adapters/ovok-outbox-watch.js +1 -1
  469. package/lib/module/modules/next/bluetooth/adapters/ovok-outbox-watch.js.map +1 -1
  470. package/lib/module/modules/next/bluetooth/adapters/reading-measurements.js +1 -1
  471. package/lib/module/modules/next/bluetooth/adapters/reading-measurements.js.map +1 -1
  472. package/lib/module/modules/next/bluetooth/adapters/series-saving.js +1 -1
  473. package/lib/module/modules/next/bluetooth/adapters/series-saving.js.map +1 -1
  474. package/lib/module/modules/next/bluetooth/adapters/urine-measurements.js +1 -1
  475. package/lib/module/modules/next/bluetooth/adapters/urine-measurements.js.map +1 -1
  476. package/lib/module/modules/next/bluetooth/index.js +2 -2
  477. package/lib/module/modules/next/bluetooth/shared.js +1 -1
  478. package/lib/module/modules/next/bluetooth/shared.js.map +1 -1
  479. package/lib/module/modules/next/bluetooth/sqlite/index.js +1 -1
  480. package/lib/module/modules/next/bluetooth/web/index.js +1 -1
  481. package/lib/module/modules/next/data-sync/index.js +1 -3
  482. package/lib/module/modules/next/data-sync/index.js.map +1 -1
  483. package/lib/module/modules/next/index.js +3 -3
  484. package/lib/module/modules/next/index.js.map +1 -1
  485. package/lib/module/modules/next/ovok.js +2 -2
  486. package/lib/module/modules/next/ovok.js.map +1 -1
  487. package/lib/module/modules/next/register-push-device.js +1 -1
  488. package/lib/module/modules/next/use-native-ovok.js +2 -2
  489. package/lib/module/modules/next/use-native-ovok.js.map +1 -1
  490. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +1 -1
  491. package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
  492. package/lib/module/modules/socket/components/socket-provider.js +1 -1
  493. package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
  494. package/lib/module/modules/tile/constants/measurement-icon-svg.js +1 -1
  495. package/lib/module/modules/tile/constants/measurement-icon-svg.js.map +1 -1
  496. package/lib/module/modules/ui/components/manual-entry-form.js +1 -1
  497. package/lib/module/modules/ui/components/manual-entry-form.js.map +1 -1
  498. package/lib/module/modules/ui/components/urine-test-result.js +2 -2
  499. package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
  500. package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts +7 -7
  501. package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
  502. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts +1 -1
  503. package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
  504. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.web.d.ts +1 -1
  505. package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.web.d.ts.map +1 -1
  506. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
  507. package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
  508. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts +1 -1
  509. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
  510. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts +1 -1
  511. package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
  512. package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts +1 -1
  513. package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
  514. package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts +1 -1
  515. package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts.map +1 -1
  516. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +1 -1
  517. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
  518. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +1 -1
  519. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
  520. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts +1 -1
  521. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
  522. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts +1 -1
  523. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
  524. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts +1 -1
  525. package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
  526. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts +1 -1
  527. package/lib/typescript/commonjs/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts.map +1 -1
  528. package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +1 -1
  529. package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
  530. package/lib/typescript/commonjs/src/modules/background-sync/index.d.ts +1 -0
  531. package/lib/typescript/commonjs/src/modules/background-sync/index.d.ts.map +1 -1
  532. package/lib/typescript/{module/src/modules/next → commonjs/src/modules}/background-sync/offline-measurement-background-sync.d.ts +1 -1
  533. package/lib/typescript/commonjs/src/modules/background-sync/offline-measurement-background-sync.d.ts.map +1 -0
  534. package/lib/typescript/commonjs/src/modules/bluetooth/index.d.ts +8 -0
  535. package/lib/typescript/commonjs/src/modules/bluetooth/index.d.ts.map +1 -0
  536. package/lib/typescript/commonjs/src/modules/bluetooth/sqlite/index.d.ts +9 -0
  537. package/lib/typescript/commonjs/src/modules/bluetooth/sqlite/index.d.ts.map +1 -0
  538. package/lib/typescript/commonjs/src/modules/bluetooth/web/index.d.ts +8 -0
  539. package/lib/typescript/commonjs/src/modules/bluetooth/web/index.d.ts.map +1 -0
  540. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts +1 -1
  541. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
  542. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
  543. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  544. package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts +1 -1
  545. package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
  546. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
  547. package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  548. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +1 -1
  549. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  550. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
  551. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
  552. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
  553. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
  554. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
  555. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
  556. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
  557. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  558. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
  559. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  560. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
  561. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
  562. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
  563. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
  564. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
  565. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
  566. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
  567. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
  568. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
  569. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
  570. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.live-ecg-chunks.d.ts +1 -1
  571. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.live-ecg-chunks.d.ts.map +1 -1
  572. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
  573. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
  574. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
  575. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  576. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
  577. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
  578. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  579. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  580. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
  581. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
  582. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
  583. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
  584. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
  585. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
  586. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
  587. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
  588. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
  589. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
  590. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
  591. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
  592. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
  593. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
  594. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
  595. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
  596. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
  597. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
  598. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
  599. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
  600. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
  601. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
  602. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
  603. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
  604. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
  605. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
  606. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
  607. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
  608. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
  609. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
  610. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
  611. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
  612. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
  613. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
  614. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
  615. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
  616. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
  617. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
  618. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
  619. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
  620. package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts +1 -1
  621. package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
  622. package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts +1 -1
  623. package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
  624. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
  625. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
  626. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
  627. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  628. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
  629. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
  630. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
  631. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
  632. package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
  633. package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
  634. package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +1 -1
  635. package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
  636. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
  637. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  638. package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
  639. package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
  640. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts +1 -1
  641. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
  642. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts +1 -1
  643. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
  644. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
  645. package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
  646. package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts +1 -1
  647. package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
  648. package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts +1 -1
  649. package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
  650. package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
  651. package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
  652. package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
  653. package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
  654. package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts +1 -1
  655. package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
  656. package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
  657. package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
  658. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts +4 -4
  659. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
  660. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts +2 -2
  661. package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
  662. package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts +1 -1
  663. package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
  664. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
  665. package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
  666. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  667. package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  668. package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts +1 -1
  669. package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts.map +1 -1
  670. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
  671. package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
  672. package/lib/typescript/commonjs/src/modules/measurement/index.d.ts +2 -1
  673. package/lib/typescript/commonjs/src/modules/measurement/index.d.ts.map +1 -1
  674. package/lib/typescript/commonjs/src/modules/{bt-management/constants → measurement}/measurement-field-catalog.d.ts +1 -1
  675. package/lib/typescript/commonjs/src/modules/measurement/measurement-field-catalog.d.ts.map +1 -0
  676. package/lib/typescript/commonjs/src/modules/next/background-sync/index.d.ts +1 -4
  677. package/lib/typescript/commonjs/src/modules/next/background-sync/index.d.ts.map +1 -1
  678. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/ecg-measurements.d.ts +1 -1
  679. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/ecg-measurements.d.ts.map +1 -1
  680. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/live-supersession.d.ts +1 -1
  681. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/live-supersession.d.ts.map +1 -1
  682. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/ovok-outbox-watch.d.ts +1 -1
  683. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/ovok-outbox-watch.d.ts.map +1 -1
  684. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/reading-measurements.d.ts +1 -1
  685. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/reading-measurements.d.ts.map +1 -1
  686. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/series-saving.d.ts +1 -1
  687. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/series-saving.d.ts.map +1 -1
  688. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/sqlite-database-outbox-store.d.ts +1 -1
  689. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/sqlite-database-outbox-store.d.ts.map +1 -1
  690. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/sqlite-outbox-rows.d.ts +1 -1
  691. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/sqlite-outbox-rows.d.ts.map +1 -1
  692. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/storage-paired-devices.d.ts +1 -1
  693. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/storage-paired-devices.d.ts.map +1 -1
  694. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/urine-measurements.d.ts +1 -1
  695. package/lib/typescript/commonjs/src/modules/next/bluetooth/adapters/urine-measurements.d.ts.map +1 -1
  696. package/lib/typescript/commonjs/src/modules/next/bluetooth/create-bluetooth.d.ts +1 -1
  697. package/lib/typescript/commonjs/src/modules/next/bluetooth/create-bluetooth.d.ts.map +1 -1
  698. package/lib/typescript/commonjs/src/modules/next/bluetooth/index.d.ts +2 -2
  699. package/lib/typescript/commonjs/src/modules/next/bluetooth/shared.d.ts +1 -1
  700. package/lib/typescript/commonjs/src/modules/next/bluetooth/shared.d.ts.map +1 -1
  701. package/lib/typescript/commonjs/src/modules/next/bluetooth/sqlite/index.d.ts +1 -1
  702. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/create-web-bluetooth.d.ts +1 -1
  703. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/create-web-bluetooth.d.ts.map +1 -1
  704. package/lib/typescript/commonjs/src/modules/next/bluetooth/web/index.d.ts +1 -1
  705. package/lib/typescript/commonjs/src/modules/next/data-sync/index.d.ts +1 -3
  706. package/lib/typescript/commonjs/src/modules/next/data-sync/index.d.ts.map +1 -1
  707. package/lib/typescript/commonjs/src/modules/next/index.d.ts +3 -3
  708. package/lib/typescript/commonjs/src/modules/next/index.d.ts.map +1 -1
  709. package/lib/typescript/commonjs/src/modules/next/ovok.d.ts +3 -3
  710. package/lib/typescript/commonjs/src/modules/next/ovok.d.ts.map +1 -1
  711. package/lib/typescript/commonjs/src/modules/next/react-native-outbox-triggers.d.ts +1 -1
  712. package/lib/typescript/commonjs/src/modules/next/react-native-outbox-triggers.d.ts.map +1 -1
  713. package/lib/typescript/commonjs/src/modules/next/secure-store-storage.d.ts +1 -1
  714. package/lib/typescript/commonjs/src/modules/next/secure-store-storage.d.ts.map +1 -1
  715. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +1 -1
  716. package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
  717. package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts +1 -1
  718. package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
  719. package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts +1 -1
  720. package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  721. package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts +1 -1
  722. package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  723. package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts +7 -7
  724. package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
  725. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts +1 -1
  726. package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
  727. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.web.d.ts +1 -1
  728. package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.web.d.ts.map +1 -1
  729. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
  730. package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
  731. package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts +1 -1
  732. package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
  733. package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts +1 -1
  734. package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
  735. package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts +1 -1
  736. package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
  737. package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts +1 -1
  738. package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts.map +1 -1
  739. package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +1 -1
  740. package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
  741. package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +1 -1
  742. package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
  743. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts +1 -1
  744. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
  745. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts +1 -1
  746. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
  747. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts +1 -1
  748. package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
  749. package/lib/typescript/module/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts +1 -1
  750. package/lib/typescript/module/src/modules/auth/sign-in/utils/apple-web-sign-in.d.ts.map +1 -1
  751. package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +1 -1
  752. package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
  753. package/lib/typescript/module/src/modules/background-sync/index.d.ts +1 -0
  754. package/lib/typescript/module/src/modules/background-sync/index.d.ts.map +1 -1
  755. package/lib/typescript/{commonjs/src/modules/next → module/src/modules}/background-sync/offline-measurement-background-sync.d.ts +1 -1
  756. package/lib/typescript/module/src/modules/background-sync/offline-measurement-background-sync.d.ts.map +1 -0
  757. package/lib/typescript/module/src/modules/bluetooth/index.d.ts +8 -0
  758. package/lib/typescript/module/src/modules/bluetooth/index.d.ts.map +1 -0
  759. package/lib/typescript/module/src/modules/bluetooth/sqlite/index.d.ts +9 -0
  760. package/lib/typescript/module/src/modules/bluetooth/sqlite/index.d.ts.map +1 -0
  761. package/lib/typescript/module/src/modules/bluetooth/web/index.d.ts +8 -0
  762. package/lib/typescript/module/src/modules/bluetooth/web/index.d.ts.map +1 -0
  763. package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts +1 -1
  764. package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
  765. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
  766. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  767. package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts +1 -1
  768. package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
  769. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
  770. package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
  771. package/lib/typescript/module/src/modules/bt-management/index.d.ts +1 -1
  772. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  773. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
  774. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
  775. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
  776. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
  777. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
  778. package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
  779. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
  780. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  781. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
  782. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  783. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
  784. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
  785. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
  786. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
  787. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
  788. package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
  789. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
  790. package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
  791. package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
  792. package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
  793. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.live-ecg-chunks.d.ts +1 -1
  794. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.live-ecg-chunks.d.ts.map +1 -1
  795. package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
  796. package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
  797. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
  798. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  799. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
  800. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
  801. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  802. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  803. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
  804. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
  805. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
  806. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
  807. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
  808. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
  809. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
  810. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
  811. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
  812. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
  813. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
  814. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
  815. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
  816. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
  817. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
  818. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
  819. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
  820. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
  821. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
  822. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
  823. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
  824. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
  825. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
  826. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
  827. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
  828. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
  829. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
  830. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
  831. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
  832. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
  833. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
  834. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
  835. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
  836. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
  837. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
  838. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
  839. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
  840. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
  841. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
  842. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
  843. package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts +1 -1
  844. package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
  845. package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts +1 -1
  846. package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
  847. package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
  848. package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
  849. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
  850. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  851. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
  852. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
  853. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
  854. package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
  855. package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
  856. package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
  857. package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +1 -1
  858. package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
  859. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
  860. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  861. package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
  862. package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
  863. package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts +1 -1
  864. package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
  865. package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts +1 -1
  866. package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
  867. package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
  868. package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
  869. package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts +1 -1
  870. package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
  871. package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts +1 -1
  872. package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
  873. package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
  874. package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
  875. package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
  876. package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
  877. package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts +1 -1
  878. package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
  879. package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
  880. package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
  881. package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts +4 -4
  882. package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
  883. package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts +2 -2
  884. package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
  885. package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts +1 -1
  886. package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
  887. package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
  888. package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
  889. package/lib/typescript/module/src/modules/data-sync/utils/convert-records-to-observation.d.ts.map +1 -1
  890. package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
  891. package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts +1 -1
  892. package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts.map +1 -1
  893. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
  894. package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
  895. package/lib/typescript/module/src/modules/measurement/index.d.ts +2 -1
  896. package/lib/typescript/module/src/modules/measurement/index.d.ts.map +1 -1
  897. package/lib/typescript/module/src/modules/{bt-management/constants → measurement}/measurement-field-catalog.d.ts +1 -1
  898. package/lib/typescript/module/src/modules/measurement/measurement-field-catalog.d.ts.map +1 -0
  899. package/lib/typescript/module/src/modules/next/background-sync/index.d.ts +1 -4
  900. package/lib/typescript/module/src/modules/next/background-sync/index.d.ts.map +1 -1
  901. package/lib/typescript/module/src/modules/next/bluetooth/adapters/ecg-measurements.d.ts +1 -1
  902. package/lib/typescript/module/src/modules/next/bluetooth/adapters/ecg-measurements.d.ts.map +1 -1
  903. package/lib/typescript/module/src/modules/next/bluetooth/adapters/live-supersession.d.ts +1 -1
  904. package/lib/typescript/module/src/modules/next/bluetooth/adapters/live-supersession.d.ts.map +1 -1
  905. package/lib/typescript/module/src/modules/next/bluetooth/adapters/ovok-outbox-watch.d.ts +1 -1
  906. package/lib/typescript/module/src/modules/next/bluetooth/adapters/ovok-outbox-watch.d.ts.map +1 -1
  907. package/lib/typescript/module/src/modules/next/bluetooth/adapters/reading-measurements.d.ts +1 -1
  908. package/lib/typescript/module/src/modules/next/bluetooth/adapters/reading-measurements.d.ts.map +1 -1
  909. package/lib/typescript/module/src/modules/next/bluetooth/adapters/series-saving.d.ts +1 -1
  910. package/lib/typescript/module/src/modules/next/bluetooth/adapters/series-saving.d.ts.map +1 -1
  911. package/lib/typescript/module/src/modules/next/bluetooth/adapters/sqlite-database-outbox-store.d.ts +1 -1
  912. package/lib/typescript/module/src/modules/next/bluetooth/adapters/sqlite-database-outbox-store.d.ts.map +1 -1
  913. package/lib/typescript/module/src/modules/next/bluetooth/adapters/sqlite-outbox-rows.d.ts +1 -1
  914. package/lib/typescript/module/src/modules/next/bluetooth/adapters/sqlite-outbox-rows.d.ts.map +1 -1
  915. package/lib/typescript/module/src/modules/next/bluetooth/adapters/storage-paired-devices.d.ts +1 -1
  916. package/lib/typescript/module/src/modules/next/bluetooth/adapters/storage-paired-devices.d.ts.map +1 -1
  917. package/lib/typescript/module/src/modules/next/bluetooth/adapters/urine-measurements.d.ts +1 -1
  918. package/lib/typescript/module/src/modules/next/bluetooth/adapters/urine-measurements.d.ts.map +1 -1
  919. package/lib/typescript/module/src/modules/next/bluetooth/create-bluetooth.d.ts +1 -1
  920. package/lib/typescript/module/src/modules/next/bluetooth/create-bluetooth.d.ts.map +1 -1
  921. package/lib/typescript/module/src/modules/next/bluetooth/index.d.ts +2 -2
  922. package/lib/typescript/module/src/modules/next/bluetooth/shared.d.ts +1 -1
  923. package/lib/typescript/module/src/modules/next/bluetooth/shared.d.ts.map +1 -1
  924. package/lib/typescript/module/src/modules/next/bluetooth/sqlite/index.d.ts +1 -1
  925. package/lib/typescript/module/src/modules/next/bluetooth/web/create-web-bluetooth.d.ts +1 -1
  926. package/lib/typescript/module/src/modules/next/bluetooth/web/create-web-bluetooth.d.ts.map +1 -1
  927. package/lib/typescript/module/src/modules/next/bluetooth/web/index.d.ts +1 -1
  928. package/lib/typescript/module/src/modules/next/data-sync/index.d.ts +1 -3
  929. package/lib/typescript/module/src/modules/next/data-sync/index.d.ts.map +1 -1
  930. package/lib/typescript/module/src/modules/next/index.d.ts +3 -3
  931. package/lib/typescript/module/src/modules/next/index.d.ts.map +1 -1
  932. package/lib/typescript/module/src/modules/next/ovok.d.ts +3 -3
  933. package/lib/typescript/module/src/modules/next/ovok.d.ts.map +1 -1
  934. package/lib/typescript/module/src/modules/next/react-native-outbox-triggers.d.ts +1 -1
  935. package/lib/typescript/module/src/modules/next/react-native-outbox-triggers.d.ts.map +1 -1
  936. package/lib/typescript/module/src/modules/next/secure-store-storage.d.ts +1 -1
  937. package/lib/typescript/module/src/modules/next/secure-store-storage.d.ts.map +1 -1
  938. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +1 -1
  939. package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
  940. package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts +1 -1
  941. package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
  942. package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts +1 -1
  943. package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
  944. package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts +1 -1
  945. package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
  946. package/package.json +3 -3
  947. package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +0 -1
  948. package/lib/commonjs/modules/next/background-sync/offline-measurement-background-sync.js.map +0 -1
  949. package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +0 -1
  950. package/lib/module/modules/next/background-sync/offline-measurement-background-sync.js.map +0 -1
  951. package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +0 -1
  952. package/lib/typescript/commonjs/src/modules/next/background-sync/offline-measurement-background-sync.d.ts.map +0 -1
  953. package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +0 -1
  954. package/lib/typescript/module/src/modules/next/background-sync/offline-measurement-background-sync.d.ts.map +0 -1
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.measurementFieldCatalog = void 0;
7
- var _next = require("@ovok/core/next");
7
+ var _core = require("@ovok/core");
8
8
  /**
9
9
  * The measurement types a declaration may produce, the properties each one accepts, the
10
10
  * canonical unit of every property, and the physiological envelope outside which a decoded
@@ -98,7 +98,7 @@ const urineAnalyteRanges = {
98
98
  }
99
99
  };
100
100
  const urineAnalyteCatalog = Object.fromEntries(Object.entries(urineAnalyteRanges).map(([key, range]) => {
101
- const definition = _next.URINE_ANALYTE_DEFINITIONS.find(analyte => analyte.key === key);
101
+ const definition = _core.URINE_ANALYTE_DEFINITIONS.find(analyte => analyte.key === key);
102
102
  if (!definition) {
103
103
  throw new Error(`Missing shared urine analyte definition for ${key}`);
104
104
  }
@@ -113,7 +113,7 @@ const urineAnalyteCatalog = Object.fromEntries(Object.entries(urineAnalyteRanges
113
113
 
114
114
  /** The catalog of declarable properties per measurement type. */
115
115
  const measurementFieldCatalog = exports.measurementFieldCatalog = {
116
- [_next.MeasurementTypeKey.bloodPressure]: {
116
+ [_core.MeasurementTypeKey.bloodPressure]: {
117
117
  systolic: {
118
118
  unit: "mmHg",
119
119
  min: 30,
@@ -138,7 +138,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
138
138
  normalMax: 100
139
139
  }
140
140
  },
141
- [_next.MeasurementTypeKey.bodyWeight]: {
141
+ [_core.MeasurementTypeKey.bodyWeight]: {
142
142
  bodyWeight: {
143
143
  unit: "kg",
144
144
  min: 1,
@@ -146,7 +146,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
146
146
  required: true
147
147
  }
148
148
  },
149
- [_next.MeasurementTypeKey.temperature]: {
149
+ [_core.MeasurementTypeKey.temperature]: {
150
150
  bodyTemp: {
151
151
  unit: "Cel",
152
152
  min: 25,
@@ -156,7 +156,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
156
156
  required: true
157
157
  }
158
158
  },
159
- [_next.MeasurementTypeKey.bloodGlucose]: {
159
+ [_core.MeasurementTypeKey.bloodGlucose]: {
160
160
  bloodGlucose: {
161
161
  unit: "mg/dL",
162
162
  min: 10,
@@ -164,7 +164,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
164
164
  required: true
165
165
  }
166
166
  },
167
- [_next.MeasurementTypeKey.bloodOxygenPulseRate]: {
167
+ [_core.MeasurementTypeKey.bloodOxygenPulseRate]: {
168
168
  bloodOxygen: {
169
169
  unit: "%",
170
170
  min: 50,
@@ -192,7 +192,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
192
192
  max: 3000
193
193
  }
194
194
  },
195
- [_next.MeasurementTypeKey.heartRate]: {
195
+ [_core.MeasurementTypeKey.heartRate]: {
196
196
  heartRate: {
197
197
  unit: "bpm",
198
198
  min: 20,
@@ -202,7 +202,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
202
202
  required: true
203
203
  }
204
204
  },
205
- [_next.MeasurementTypeKey.ecg]: {
205
+ [_core.MeasurementTypeKey.ecg]: {
206
206
  heartRate: {
207
207
  unit: "bpm",
208
208
  min: 20,
@@ -212,7 +212,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
212
212
  required: true
213
213
  }
214
214
  },
215
- [_next.MeasurementTypeKey.respiratoryRate]: {
215
+ [_core.MeasurementTypeKey.respiratoryRate]: {
216
216
  respiratoryRate: {
217
217
  unit: "/min",
218
218
  min: 2,
@@ -222,9 +222,9 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
222
222
  required: true
223
223
  }
224
224
  },
225
- [_next.MeasurementTypeKey.urineAnalysis]: urineAnalyteCatalog,
226
- [_next.MeasurementTypeKey.uricAcid]: urineAnalyteCatalog,
227
- [_next.MeasurementTypeKey.heartRateVariability]: {
225
+ [_core.MeasurementTypeKey.urineAnalysis]: urineAnalyteCatalog,
226
+ [_core.MeasurementTypeKey.uricAcid]: urineAnalyteCatalog,
227
+ [_core.MeasurementTypeKey.heartRateVariability]: {
228
228
  heartRateVariability: {
229
229
  unit: "ms",
230
230
  min: 1,
@@ -232,7 +232,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
232
232
  required: true
233
233
  }
234
234
  },
235
- [_next.MeasurementTypeKey.lipidPanel]: {
235
+ [_core.MeasurementTypeKey.lipidPanel]: {
236
236
  totalCholesterol: {
237
237
  unit: "mg/dL",
238
238
  min: 50,
@@ -254,7 +254,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
254
254
  max: 5000
255
255
  }
256
256
  },
257
- [_next.MeasurementTypeKey.spirometryPanel]: {
257
+ [_core.MeasurementTypeKey.spirometryPanel]: {
258
258
  fev1: {
259
259
  unit: "L",
260
260
  min: 0.1,
@@ -271,7 +271,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
271
271
  max: 20
272
272
  }
273
273
  },
274
- [_next.MeasurementTypeKey.hemoglobinA1c]: {
274
+ [_core.MeasurementTypeKey.hemoglobinA1c]: {
275
275
  hemoglobinA1c: {
276
276
  unit: "%",
277
277
  min: 3,
@@ -279,7 +279,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
279
279
  required: true
280
280
  }
281
281
  },
282
- [_next.MeasurementTypeKey.bloodKetone]: {
282
+ [_core.MeasurementTypeKey.bloodKetone]: {
283
283
  bloodKetone: {
284
284
  unit: "mmol/L",
285
285
  min: 0,
@@ -287,7 +287,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
287
287
  required: true
288
288
  }
289
289
  },
290
- [_next.MeasurementTypeKey.bloodLactate]: {
290
+ [_core.MeasurementTypeKey.bloodLactate]: {
291
291
  bloodLactate: {
292
292
  unit: "mmol/L",
293
293
  min: 0.1,
@@ -295,7 +295,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
295
295
  required: true
296
296
  }
297
297
  },
298
- [_next.MeasurementTypeKey.creatinine]: {
298
+ [_core.MeasurementTypeKey.creatinine]: {
299
299
  creatinine: {
300
300
  unit: "mg/dL",
301
301
  min: 0.1,
@@ -303,7 +303,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
303
303
  required: true
304
304
  }
305
305
  },
306
- [_next.MeasurementTypeKey.serumUricAcid]: {
306
+ [_core.MeasurementTypeKey.serumUricAcid]: {
307
307
  serumUricAcid: {
308
308
  unit: "mg/dL",
309
309
  min: 0.5,
@@ -311,7 +311,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
311
311
  required: true
312
312
  }
313
313
  },
314
- [_next.MeasurementTypeKey.inr]: {
314
+ [_core.MeasurementTypeKey.inr]: {
315
315
  inr: {
316
316
  unit: "{INR}",
317
317
  min: 0.5,
@@ -319,7 +319,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
319
319
  required: true
320
320
  }
321
321
  },
322
- [_next.MeasurementTypeKey.hemoglobin]: {
322
+ [_core.MeasurementTypeKey.hemoglobin]: {
323
323
  hemoglobin: {
324
324
  unit: "g/dL",
325
325
  min: 2,
@@ -327,7 +327,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
327
327
  required: true
328
328
  }
329
329
  },
330
- [_next.MeasurementTypeKey.hematocrit]: {
330
+ [_core.MeasurementTypeKey.hematocrit]: {
331
331
  hematocrit: {
332
332
  unit: "%",
333
333
  min: 5,
@@ -335,7 +335,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
335
335
  required: true
336
336
  }
337
337
  },
338
- [_next.MeasurementTypeKey.totalProtein]: {
338
+ [_core.MeasurementTypeKey.totalProtein]: {
339
339
  totalProtein: {
340
340
  unit: "g/dL",
341
341
  min: 1,
@@ -343,7 +343,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
343
343
  required: true
344
344
  }
345
345
  },
346
- [_next.MeasurementTypeKey.whiteBloodCells]: {
346
+ [_core.MeasurementTypeKey.whiteBloodCells]: {
347
347
  whiteBloodCells: {
348
348
  unit: "10*3/uL",
349
349
  min: 0.1,
@@ -351,7 +351,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
351
351
  required: true
352
352
  }
353
353
  },
354
- [_next.MeasurementTypeKey.glucoseKetoneIndex]: {
354
+ [_core.MeasurementTypeKey.glucoseKetoneIndex]: {
355
355
  glucoseKetoneIndex: {
356
356
  unit: "1",
357
357
  min: 0.1,
@@ -359,7 +359,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
359
359
  required: true
360
360
  }
361
361
  },
362
- [_next.MeasurementTypeKey.stressLevel]: {
362
+ [_core.MeasurementTypeKey.stressLevel]: {
363
363
  stressLevel: {
364
364
  unit: "{score}",
365
365
  min: 0,
@@ -367,7 +367,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
367
367
  required: true
368
368
  }
369
369
  },
370
- [_next.MeasurementTypeKey.bloodAlcoholContent]: {
370
+ [_core.MeasurementTypeKey.bloodAlcoholContent]: {
371
371
  bloodAlcoholContent: {
372
372
  unit: "%",
373
373
  min: 0,
@@ -375,7 +375,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
375
375
  required: true
376
376
  }
377
377
  },
378
- [_next.MeasurementTypeKey.waterIntake]: {
378
+ [_core.MeasurementTypeKey.waterIntake]: {
379
379
  waterIntake: {
380
380
  unit: "mL",
381
381
  min: 1,
@@ -383,7 +383,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
383
383
  required: true
384
384
  }
385
385
  },
386
- [_next.MeasurementTypeKey.caloriesConsumed]: {
386
+ [_core.MeasurementTypeKey.caloriesConsumed]: {
387
387
  caloriesConsumed: {
388
388
  unit: "kcal",
389
389
  min: 1,
@@ -391,7 +391,7 @@ const measurementFieldCatalog = exports.measurementFieldCatalog = {
391
391
  required: true
392
392
  }
393
393
  },
394
- [_next.MeasurementTypeKey.carbohydrateIntake]: {
394
+ [_core.MeasurementTypeKey.carbohydrateIntake]: {
395
395
  carbohydrateIntake: {
396
396
  unit: "g",
397
397
  min: 0,
@@ -0,0 +1 @@
1
+ {"version":3,"names":["_core","require","urineAnalyteRanges","uro","min","max","normalMin","normalMax","bld","negativeAtZero","bil","ket","glu","pro","ph","nit","qualitative","leu","sg","vc","urineAnalyteCatalog","Object","fromEntries","entries","map","key","range","definition","URINE_ANALYTE_DEFINITIONS","find","analyte","Error","display","unit","measurementFieldCatalog","exports","MeasurementTypeKey","bloodPressure","systolic","required","diastolic","heartRate","bodyWeight","temperature","bodyTemp","bloodGlucose","bloodOxygenPulseRate","bloodOxygen","pulseRate","perfusionIndex","rrInterval","ecg","respiratoryRate","urineAnalysis","uricAcid","heartRateVariability","lipidPanel","totalCholesterol","hdlCholesterol","ldlCholesterol","triglycerides","spirometryPanel","fev1","fvc","pef","hemoglobinA1c","bloodKetone","bloodLactate","creatinine","serumUricAcid","inr","hemoglobin","hematocrit","totalProtein","whiteBloodCells","glucoseKetoneIndex","stressLevel","bloodAlcoholContent","waterIntake","caloriesConsumed","carbohydrateIntake"],"sourceRoot":"../../../../src","sources":["modules/measurement/measurement-field-catalog.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AA+BA,MAAMC,kBAAkB,GAAG;EACzBC,GAAG,EAAE;IAAEC,GAAG,EAAE,GAAG;IAAEC,GAAG,EAAE,CAAC;IAAEC,SAAS,EAAE,GAAG;IAAEC,SAAS,EAAE;EAAE,CAAC;EACvDC,GAAG,EAAE;IAAEJ,GAAG,EAAE,CAAC;IAAEC,GAAG,EAAE,GAAG;IAAEC,SAAS,EAAE,CAAC;IAAEC,SAAS,EAAE,CAAC;IAAEE,cAAc,EAAE;EAAK,CAAC;EAC3EC,GAAG,EAAE;IAAEN,GAAG,EAAE,CAAC;IAAEC,GAAG,EAAE,CAAC;IAAEC,SAAS,EAAE,CAAC;IAAEC,SAAS,EAAE,CAAC;IAAEE,cAAc,EAAE;EAAK,CAAC;EACzEE,GAAG,EAAE;IAAEP,GAAG,EAAE,CAAC;IAAEC,GAAG,EAAE,EAAE;IAAEC,SAAS,EAAE,CAAC;IAAEC,SAAS,EAAE,EAAE;IAAEE,cAAc,EAAE;EAAK,CAAC;EAC3EG,GAAG,EAAE;IAAER,GAAG,EAAE,CAAC;IAAEC,GAAG,EAAE,IAAI;IAAEC,SAAS,EAAE,CAAC;IA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AI,EAAE,IAAI;MAAE7B,GAAG,EAAE,CAAC;MAAEC,GAAG,EAAE,IAAI;MAAEkC,QAAQ,EAAE;IAAK;EAC/D,CAAC;EACD,CAACH,wBAAkB,CAAC2C,gBAAgB,GAAG;IACrCA,gBAAgB,EAAE;MAAE9C,IAAI,EAAE,MAAM;MAAE7B,GAAG,EAAE,CAAC;MAAEC,GAAG,EAAE,KAAK;MAAEkC,QAAQ,EAAE;IAAK;EACvE,CAAC;EACD,CAACH,wBAAkB,CAAC4C,kBAAkB,GAAG;IACvCA,kBAAkB,EAAE;MAAE/C,IAAI,EAAE,GAAG;MAAE7B,GAAG,EAAE,CAAC;MAAEC,GAAG,EAAE,IAAI;MAAEkC,QAAQ,EAAE;IAAK;EACrE;AACF,CAAC","ignoreList":[]}
@@ -14,15 +14,4 @@ Object.keys(_index).forEach(function (key) {
14
14
  }
15
15
  });
16
16
  });
17
- var _offlineMeasurementBackgroundSync = require("./offline-measurement-background-sync.js");
18
- Object.keys(_offlineMeasurementBackgroundSync).forEach(function (key) {
19
- if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _offlineMeasurementBackgroundSync[key]) return;
21
- Object.defineProperty(exports, key, {
22
- enumerable: true,
23
- get: function () {
24
- return _offlineMeasurementBackgroundSync[key];
25
- }
26
- });
27
- });
28
17
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get","_offlineMeasurementBackgroundSync"],"sourceRoot":"../../../../../src","sources":["modules/next/background-sync/index.ts"],"mappings":";;;;;AAOA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA;AACA,IAAAK,iCAAA,GAAAT,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAO,iCAAA,EAAAN,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAK,iCAAA,CAAAL,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAC,iCAAA,CAAAL,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["_index","require","Object","keys","forEach","key","exports","defineProperty","enumerable","get"],"sourceRoot":"../../../../../src","sources":["modules/next/background-sync/index.ts"],"mappings":";;;;;AAKA,IAAAA,MAAA,GAAAC,OAAA;AAAAC,MAAA,CAAAC,IAAA,CAAAH,MAAA,EAAAI,OAAA,WAAAC,GAAA;EAAA,IAAAA,GAAA,kBAAAA,GAAA;EAAA,IAAAA,GAAA,IAAAC,OAAA,IAAAA,OAAA,CAAAD,GAAA,MAAAL,MAAA,CAAAK,GAAA;EAAAH,MAAA,CAAAK,cAAA,CAAAD,OAAA,EAAAD,GAAA;IAAAG,UAAA;IAAAC,GAAA,WAAAA,CAAA;MAAA,OAAAT,MAAA,CAAAK,GAAA;IAAA;EAAA;AAAA","ignoreList":[]}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.ecgMeasurements = void 0;
7
- var _next = require("@ovok/core/next");
7
+ var _core = require("@ovok/core");
8
8
  var _readingValues = require("./reading-values.js");
9
9
  /** Ovok stores ECG points in millivolts; a trace in any other unit is left out rather than mislabelled. */
10
10
  const ECG_POINT_UNIT = "mV";
@@ -14,7 +14,7 @@ const ecgMeasurements = reading => {
14
14
  const waveform = reading.waveform?.unit === ECG_POINT_UNIT ? reading.waveform : undefined;
15
15
  const channels = waveform?.samples ?? [new Int16Array(0)];
16
16
  return channels.map((samples, index) => ({
17
- measurementTypeKey: _next.MeasurementTypeKey.ecg,
17
+ measurementTypeKey: _core.MeasurementTypeKey.ecg,
18
18
  heartRate: index === 0 ? (0, _readingValues.valueOf)(reading, "heart_rate") : undefined,
19
19
  diagramPoints: Array.from(samples, sample => sample * (waveform?.scale ?? 1)),
20
20
  duration: waveform ? samples.length / waveform.sampleRateHz : undefined,
@@ -1 +1 @@
1
- {"version":3,"names":["_next","require","_readingValues","ECG_POINT_UNIT","ecgMeasurements","reading","waveform","unit","undefined","channels","samples","Int16Array","map","index","measurementTypeKey","MeasurementTypeKey","ecg","heartRate","valueOf","diagramPoints","Array","from","sample","scale","duration","length","sampleRateHz","recordedAt","takenAt","exports"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/ecg-measurements.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAIA,IAAAC,cAAA,GAAAD,OAAA;AAEA;AACA,MAAME,cAAc,GAAG,IAAI;;AAE3B;AACA,MAAMC,eAAe,GAAIC,OAAgB,IAAuB;EAC9D,MAAMC,QAAQ,GAAGD,OAAO,CAACC,QAAQ,EAAEC,IAAI,KAAKJ,cAAc,GAAGE,OAAO,CAACC,QAAQ,GAAGE,SAAS;EACzF,MAAMC,QAAQ,GAAGH,QAAQ,EAAEI,OAAO,IAAI,CAAC,IAAIC,UAAU,CAAC,CAAC,CAAC,CAAC;EAEzD,OAAOF,QAAQ,CAACG,GAAG,CAAC,CAACF,OAAO,EAAEG,KAAK,MAAM;IACvCC,kBAAkB,EAAEC,wBAAkB,CAACC,GAAG;IAC1CC,SAAS,EAAEJ,KAAK,KAAK,CAAC,GAAG,IAAAK,sBAAO,EAACb,OAAO,EAAE,YAAY,CAAC,GAAGG,SAAS;IACnEW,aAAa,EAAEC,KAAK,CAACC,IAAI,CAACX,OAAO,EAAGY,MAAM,IAAKA,MAAM,IAAIhB,QAAQ,EAAEiB,KAAK,IAAI,CAAC,CAAC,CAAC;IAC/EC,QAAQ,EAAElB,QAAQ,GAAGI,OAAO,CAACe,MAAM,GAAGnB,QAAQ,CAACoB,YAAY,GAAGlB,SAAS;IACvEmB,UAAU,EAAEtB,OAAO,CAACuB,OAAO,IAAIpB;EACjC,CAAC,CAAC,CAAC;AACL,CAAC;AAACqB,OAAA,CAAAzB,eAAA,GAAAA,eAAA","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_readingValues","ECG_POINT_UNIT","ecgMeasurements","reading","waveform","unit","undefined","channels","samples","Int16Array","map","index","measurementTypeKey","MeasurementTypeKey","ecg","heartRate","valueOf","diagramPoints","Array","from","sample","scale","duration","length","sampleRateHz","recordedAt","takenAt","exports"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/ecg-measurements.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAIA,IAAAC,cAAA,GAAAD,OAAA;AAEA;AACA,MAAME,cAAc,GAAG,IAAI;;AAE3B;AACA,MAAMC,eAAe,GAAIC,OAAgB,IAAuB;EAC9D,MAAMC,QAAQ,GAAGD,OAAO,CAACC,QAAQ,EAAEC,IAAI,KAAKJ,cAAc,GAAGE,OAAO,CAACC,QAAQ,GAAGE,SAAS;EACzF,MAAMC,QAAQ,GAAGH,QAAQ,EAAEI,OAAO,IAAI,CAAC,IAAIC,UAAU,CAAC,CAAC,CAAC,CAAC;EAEzD,OAAOF,QAAQ,CAACG,GAAG,CAAC,CAACF,OAAO,EAAEG,KAAK,MAAM;IACvCC,kBAAkB,EAAEC,wBAAkB,CAACC,GAAG;IAC1CC,SAAS,EAAEJ,KAAK,KAAK,CAAC,GAAG,IAAAK,sBAAO,EAACb,OAAO,EAAE,YAAY,CAAC,GAAGG,SAAS;IACnEW,aAAa,EAAEC,KAAK,CAACC,IAAI,CAACX,OAAO,EAAGY,MAAM,IAAKA,MAAM,IAAIhB,QAAQ,EAAEiB,KAAK,IAAI,CAAC,CAAC,CAAC;IAC/EC,QAAQ,EAAElB,QAAQ,GAAGI,OAAO,CAACe,MAAM,GAAGnB,QAAQ,CAACoB,YAAY,GAAGlB,SAAS;IACvEmB,UAAU,EAAEtB,OAAO,CAACuB,OAAO,IAAIpB;EACjC,CAAC,CAAC,CAAC;AACL,CAAC;AAACqB,OAAA,CAAAzB,eAAA,GAAAA,eAAA","ignoreList":[]}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.replaceLiveRecordings = void 0;
7
- var _next = require("@ovok/core/next");
7
+ var _core = require("@ovok/core");
8
8
  var _readingSourceId = require("./reading-source-id.js");
9
9
  var _seriesSaving = require("./series-saving.js");
10
10
  /** What queues the deletions: the outbox, with the measurements API and the session that name what to delete. */
@@ -26,7 +26,7 @@ const observationsOfSpan = async (client, address, span, patientId) => {
26
26
  }) : [];
27
27
  }
28
28
  const measurement = {
29
- measurementTypeKey: _next.MeasurementTypeKey.ecg,
29
+ measurementTypeKey: _core.MeasurementTypeKey.ecg,
30
30
  diagramPoints: [0],
31
31
  duration: 1,
32
32
  recordedAt: span.from
@@ -44,7 +44,7 @@ const deleteTargetsOf = observations => observations.flatMap(({
44
44
  }) => identifier.flatMap(({
45
45
  system,
46
46
  value
47
- }) => system && value && system !== _next.SEGMENT_IDENTIFIER_SYSTEM ? [{
47
+ }) => system && value && system !== _core.SEGMENT_IDENTIFIER_SYSTEM ? [{
48
48
  system,
49
49
  value
50
50
  }] : []));
@@ -1 +1 @@
1
- {"version":3,"names":["_next","require","_readingSourceId","_seriesSaving","LIVE_SLOT_MS","observationsOfSpan","client","address","span","patientId","sourceId","liveSourceId","channel","field","seriesFieldOf","metric","seriesObservationsOf","start","from","intervalMs","values","measurement","measurementTypeKey","MeasurementTypeKey","ecg","diagramPoints","duration","recordedAt","measurements","build","deleteTargetsOf","observations","flatMap","identifier","system","value","SEGMENT_IDENTIFIER_SYSTEM","replaceLiveRecordings","reading","spans","supersedes","length","owner","ownPatientId","target","source","outbox","enqueueDelete","exports"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/live-supersession.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAMA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,aAAA,GAAAF,OAAA;AAEA;;AAGA,MAAMG,YAAY,GAAG,KAAK;;AAE1B;AACA,MAAMC,kBAAkB,GAAG,MAAAA,CAAOC,MAA0B,EAAEC,OAAe,EAAEC,IAAc,EAAEC,SAAiB,KAA6B;EAC3I,MAAMC,QAAQ,GAAG,IAAAC,6BAAY,EAACJ,OAAO,EAAEC,IAAI,CAAC;EAE5C,IAAIA,IAAI,CAACI,OAAO,KAAK,IAAI,EAAE;IACzB,MAAMC,KAAK,GAAG,IAAAC,2BAAa,EAACN,IAAI,CAACO,MAAM,CAAC;IAExC,OAAOF,KAAK,GAAG,IAAAG,kCAAoB,EAACH,KAAK,EAAE;MAAEI,KAAK,EAAET,IAAI,CAACU,IAAI;MAAEC,UAAU,EAAEf,YAAY;MAAEgB,MAAM,EAAE,CAAC,CAAC;IAAE,CAAC,EAAE;MAAEX,SAAS;MAAEC;IAAS,CAAC,CAAC,GAAG,EAAE;EACvI;EAEA,MAAMW,WAA2B,GAAG;IAAEC,kBAAkB,EAAEC,wBAAkB,CAACC,GAAG;IAAEC,aAAa,EAAE,CAAC,CAAC,CAAC;IAAEC,QAAQ,EAAE,CAAC;IAAEC,UAAU,EAAEnB,IAAI,CAACU;EAAK,CAAC;EAE1I,OAAOZ,MAAM,CAACsB,YAAY,CAACC,KAAK,CAAC;IAAER,WAAW;IAAEX,QAAQ;IAAED;EAAU,CAAC,CAAC;AACxE,CAAC;;AAED;AACA,MAAMqB,eAAe,GAAIC,YAAoC,IAC3DA,YAAY,CAACC,OAAO,CAAC,CAAC;EAAEC,UAAU,GAAG;AAAG,CAAC,KACvCA,UAAU,CAACD,OAAO,CAAC,CAAC;EAAEE,MAAM;EAAEC;AAAM,CAAC,KAAMD,MAAM,IAAIC,KAAK,IAAID,MAAM,KAAKE,+BAAyB,GAAG,CAAC;EAAEF,MAAM;EAAEC;AAAM,CAAC,CAAC,GAAG,EAAG,CAChI,CAAC;;AAEH;AACA;AACA,MAAME,qBAAqB,GAAG,MAAAA,CAAO/B,MAA0B,EAAEgC,OAAgB,EAAE7B,SAAkB,KAAoB;EACvH,MAAM8B,KAAK,GAAGD,OAAO,CAACE,UAAU,IAAI,EAAE;EAEtC,IAAID,KAAK,CAACE,MAAM,KAAK,CAAC,EAAE;IACtB;EACF;EAEA,MAAMC,KAAK,GAAGjC,SAAS,KAAK,MAAM,IAAAkC,0BAAY,EAACrC,MAAM,CAAC,CAAC;EAEvD,KAAK,MAAME,IAAI,IAAI+B,KAAK,EAAE;IACxB,KAAK,MAAMK,MAAM,IAAId,eAAe,CAAC,MAAMzB,kBAAkB,CAACC,MAAM,EAAEgC,OAAO,CAACO,MAAM,CAACtC,OAAO,EAAEC,IAAI,EAAEkC,KAAK,CAAC,CAAC,EAAE;MAC3G,MAAMpC,MAAM,CAACwC,MAAM,CAACC,aAAa,CAACH,MAAM,CAAC;IAC3C;EACF;AACF,CAAC;AAACI,OAAA,CAAAX,qBAAA,GAAAA,qBAAA","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_readingSourceId","_seriesSaving","LIVE_SLOT_MS","observationsOfSpan","client","address","span","patientId","sourceId","liveSourceId","channel","field","seriesFieldOf","metric","seriesObservationsOf","start","from","intervalMs","values","measurement","measurementTypeKey","MeasurementTypeKey","ecg","diagramPoints","duration","recordedAt","measurements","build","deleteTargetsOf","observations","flatMap","identifier","system","value","SEGMENT_IDENTIFIER_SYSTEM","replaceLiveRecordings","reading","spans","supersedes","length","owner","ownPatientId","target","source","outbox","enqueueDelete","exports"],"sourceRoot":"../../../../../../src","sources":["modules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B,GAAG,CAAC;EAAEF,MAAM;EAAEC;AAAM,CAAC,CAAC,GAAG,EAAG,CAChI,CAAC;;AAEH;AACA;AACA,MAAME,qBAAqB,GAAG,MAAAA,CAAO/B,MAA0B,EAAEgC,OAAgB,EAAE7B,SAAkB,KAAoB;EACvH,MAAM8B,KAAK,GAAGD,OAAO,CAACE,UAAU,IAAI,EAAE;EAEtC,IAAID,KAAK,CAACE,MAAM,KAAK,CAAC,EAAE;IACtB;EACF;EAEA,MAAMC,KAAK,GAAGjC,SAAS,KAAK,MAAM,IAAAkC,0BAAY,EAACrC,MAAM,CAAC,CAAC;EAEvD,KAAK,MAAME,IAAI,IAAI+B,KAAK,EAAE;IACxB,KAAK,MAAMK,MAAM,IAAId,eAAe,CAAC,MAAMzB,kBAAkB,CAACC,MAAM,EAAEgC,OAAO,CAACO,MAAM,CAACtC,OAAO,EAAEC,IAAI,EAAEkC,KAAK,CAAC,CAAC,EAAE;MAC3G,MAAMpC,MAAM,CAACwC,MAAM,CAACC,aAAa,CAACH,MAAM,CAAC;IAC3C;EACF;AACF,CAAC;AAACI,OAAA,CAAAX,qBAAA,GAAAA,qBAAA","ignoreList":[]}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.ovokOutboxWatch = void 0;
7
- var _next = require("@ovok/core/next");
7
+ var _core = require("@ovok/core");
8
8
  var _ports = require("../core/ports.js");
9
9
  const idsOf = items => new Set(items.map(({
10
10
  id
@@ -14,7 +14,7 @@ const itemsIn = (items, state) => idsOf(items.filter(item => item.state === stat
14
14
  /** A guest's items wait for an account, not for the network, so nothing says they are waiting to upload. */
15
15
  const uploadsIn = items => itemsIn(items.filter(({
16
16
  ownerKey
17
- }) => ownerKey !== _next.GUEST_OWNER_KEY), "pending");
17
+ }) => ownerKey !== _core.GUEST_OWNER_KEY), "pending");
18
18
  const viewOf = (items, sent) => ({
19
19
  waiting: uploadsIn(items),
20
20
  rejected: itemsIn(items, "rejected"),
@@ -1 +1 @@
1
- {"version":3,"names":["_next","require","_ports","idsOf","items","Set","map","id","itemsIn","state","filter","item","uploadsIn","ownerKey","GUEST_OWNER_KEY","viewOf","sent","waiting","rejected","ovokOutboxWatch","outbox","logger","silentLogger","subscribe","listener","requests","watching","stop","request","then","recentlySent","error","name","exports"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/ovok-outbox-watch.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAKA,IAAAC,MAAA,GAAAD,OAAA;AAIA,MAAME,KAAK,GAAIC,KAAoC,IAAkB,IAAIC,GAAG,CAACD,KAAK,CAACE,GAAG,CAAC,CAAC;EAAEC;AAAG,CAAC,KAAKA,EAAE,CAAC,CAAC;AAEvG,MAAMC,OAAO,GAAGA,CAACJ,KAA0B,EAAEK,KAAkB,KAC7DN,KAAK,CAACC,KAAK,CAACM,MAAM,CAAEC,IAAI,IAAKA,IAAI,CAACF,KAAK,KAAKA,KAAK,CAAC,CAAC;;AAErD;AACA,MAAMG,SAAS,GAAIR,KAA0B,IAC3CI,OAAO,CAACJ,KAAK,CAACM,MAAM,CAAC,CAAC;EAAEG;AAAS,CAAC,KAAKA,QAAQ,KAAKC,qBAAe,CAAC,EAAE,SAAS,CAAC;AAElF,MAAMC,MAAM,GAAGA,CAACX,KAA0B,EAAEY,IAAsB,MAAkB;EAClFC,OAAO,EAAEL,SAAS,CAACR,KAAK,CAAC;EACzBc,QAAQ,EAAEV,OAAO,CAACJ,KAAK,EAAE,UAAU,CAAC;EACpCY,IAAI,EAAEb,KAAK,CAACa,IAAI;AAClB,CAAC,CAAC;;AAEF;AACA,MAAMG,eAAe,GAAGA,CAACC,MAAqB,EAAEC,MAAc,GAAGC,mBAAY,MAAmB;EAC9FC,SAAS,EAAGC,QAAQ,IAAK;IACvB,IAAIC,QAAQ,GAAG,CAAC;IAChB,IAAIC,QAAQ,GAAG,IAAI;;IAEnB;IACA,MAAMC,IAAI,GAAGP,MAAM,CAACG,SAAS,CAAC,MAAM;MAClC,MAAMK,OAAO,GAAG,EAAEH,QAAQ;MAE1B,KAAKL,MAAM,CAAChB,KAAK,CAAC,CAAC,CAACyB,IAAI,CACrBzB,KAAK,IAAK;QACT,IAAIsB,QAAQ,IAAIE,OAAO,KAAKH,QAAQ,EAAE;UACpCD,QAAQ,CAACT,MAAM,CAACX,KAAK,EAAEgB,MAAM,CAACU,YAAY,CAAC,CAAC,CAAC,CAAC;QAChD;MACF,CAAC,EACAC,KAAc,IAAKV,MAAM,CAACU,KAAK,CAAC,+BAA+B,EAAE;QAAEA,KAAK,EAAGA,KAAK,CAAWC;MAAK,CAAC,CACpG,CAAC;IACH,CAAC,CAAC;IAEF,OAAO,MAAM;MACXN,QAAQ,GAAG,KAAK;MAChBC,IAAI,CAAC,CAAC;IACR,CAAC;EACH;AACF,CAAC,CAAC;AAACM,OAAA,CAAAd,eAAA,GAAAA,eAAA","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_ports","idsOf","items","Set","map","id","itemsIn","state","filter","item","uploadsIn","ownerKey","GUEST_OWNER_KEY","viewOf","sent","waiting","rejected","ovokOutboxWatch","outbox","logger","silentLogger","subscribe","listener","requests","watching","stop","request","then","recentlySent","error","name","exports"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/ovok-outbox-watch.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAKA,IAAAC,MAAA,GAAAD,OAAA;AAIA,MAAME,KAAK,GAAIC,KAAoC,IAAkB,IAAIC,GAAG,CAACD,KAAK,CAACE,GAAG,CAAC,CAAC;EAAEC;AAAG,CAAC,KAAKA,EAAE,CAAC,CAAC;AAEvG,MAAMC,OAAO,GAAGA,CAACJ,KAA0B,EAAEK,KAAkB,KAC7DN,KAAK,CAACC,KAAK,CAACM,MAAM,CAAEC,IAAI,IAAKA,IAAI,CAACF,KAAK,KAAKA,KAAK,CAAC,CAAC;;AAErD;AACA,MAAMG,SAAS,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6
  exports.MEASUREMENTS = void 0;
7
- var _next = require("@ovok/core/next");
7
+ var _core = require("@ovok/core");
8
8
  var _ecgMeasurements = require("./ecg-measurements.js");
9
9
  var _readingValues = require("./reading-values.js");
10
10
  var _urineMeasurements = require("./urine-measurements.js");
11
11
  const flagSet = (reading, code) => reading.deviceFlags.some(flag => flag.code === code && flag.raw !== 0) ? true : undefined;
12
12
  const bloodPressure = reading => ({
13
- measurementTypeKey: _next.MeasurementTypeKey.bloodPressure,
13
+ measurementTypeKey: _core.MeasurementTypeKey.bloodPressure,
14
14
  systolic: (0, _readingValues.ovokValueOf)(reading, "systolic"),
15
15
  diastolic: (0, _readingValues.ovokValueOf)(reading, "diastolic"),
16
16
  meanArterialPressure: (0, _readingValues.ovokValueOf)(reading, "mean_arterial_pressure"),
@@ -23,7 +23,7 @@ const bloodPressure = reading => ({
23
23
  const bloodGlucose = reading => {
24
24
  const bloodGlucoseValue = (0, _readingValues.ovokValueOf)(reading, "blood_glucose");
25
25
  return bloodGlucoseValue === undefined ? undefined : {
26
- measurementTypeKey: _next.MeasurementTypeKey.bloodGlucose,
26
+ measurementTypeKey: _core.MeasurementTypeKey.bloodGlucose,
27
27
  bloodGlucose: bloodGlucoseValue,
28
28
  recordedAt: reading.takenAt ?? undefined
29
29
  };
@@ -31,7 +31,7 @@ const bloodGlucose = reading => {
31
31
  const bodyWeight = reading => {
32
32
  const weight = (0, _readingValues.ovokValueOf)(reading, "body_weight");
33
33
  return weight === undefined ? undefined : {
34
- measurementTypeKey: _next.MeasurementTypeKey.bodyWeight,
34
+ measurementTypeKey: _core.MeasurementTypeKey.bodyWeight,
35
35
  bodyWeight: weight,
36
36
  recordedAt: reading.takenAt ?? undefined
37
37
  };
@@ -39,25 +39,25 @@ const bodyWeight = reading => {
39
39
  const bodyTemperature = reading => {
40
40
  const temperature = (0, _readingValues.ovokValueOf)(reading, "body_temperature");
41
41
  return temperature === undefined ? undefined : {
42
- measurementTypeKey: _next.MeasurementTypeKey.temperature,
42
+ measurementTypeKey: _core.MeasurementTypeKey.temperature,
43
43
  bodyTemp: temperature,
44
44
  recordedAt: reading.takenAt ?? undefined
45
45
  };
46
46
  };
47
47
  const pulseOximetry = reading => ({
48
- measurementTypeKey: _next.MeasurementTypeKey.bloodOxygenPulseRate,
48
+ measurementTypeKey: _core.MeasurementTypeKey.bloodOxygenPulseRate,
49
49
  bloodOxygen: (0, _readingValues.valueOf)(reading, "spo2"),
50
50
  pulseRate: (0, _readingValues.valueOf)(reading, "pulse_rate"),
51
51
  perfusionIndex: (0, _readingValues.valueOf)(reading, "perfusion_index"),
52
52
  recordedAt: reading.takenAt ?? undefined
53
53
  });
54
54
  const heartRate = reading => ({
55
- measurementTypeKey: _next.MeasurementTypeKey.heartRate,
55
+ measurementTypeKey: _core.MeasurementTypeKey.heartRate,
56
56
  heartRate: (0, _readingValues.valueOf)(reading, "heart_rate"),
57
57
  recordedAt: reading.takenAt ?? undefined
58
58
  });
59
59
  const respiratoryRate = reading => ({
60
- measurementTypeKey: _next.MeasurementTypeKey.respiratoryRate,
60
+ measurementTypeKey: _core.MeasurementTypeKey.respiratoryRate,
61
61
  respiratoryRate: (0, _readingValues.valueOf)(reading, "respiration_rate"),
62
62
  recordedAt: reading.takenAt ?? undefined
63
63
  });
@@ -70,7 +70,7 @@ const lipidPanel = reading => {
70
70
  const units = new Set(LIPID_METRICS.flatMap(metric => reading.values[metric]?.unit ?? []));
71
71
  const [unit] = units;
72
72
  return units.size === 1 && isLipidUnit(unit) ? {
73
- measurementTypeKey: _next.MeasurementTypeKey.lipidPanel,
73
+ measurementTypeKey: _core.MeasurementTypeKey.lipidPanel,
74
74
  totalCholesterol: (0, _readingValues.valueOf)(reading, "blood_cholesterol"),
75
75
  hdlCholesterol: (0, _readingValues.valueOf)(reading, "hdl_cholesterol"),
76
76
  ldlCholesterol: (0, _readingValues.valueOf)(reading, "ldl_cholesterol"),
@@ -90,7 +90,7 @@ const spirometry = reading => {
90
90
  fef2575: (0, _readingValues.ovokValueOf)(reading, "fef25_75")
91
91
  };
92
92
  return Object.values(values).some(value => value !== undefined) ? {
93
- measurementTypeKey: _next.MeasurementTypeKey.spirometryPanel,
93
+ measurementTypeKey: _core.MeasurementTypeKey.spirometryPanel,
94
94
  ...values,
95
95
  recordedAt: reading.takenAt ?? undefined
96
96
  } : undefined;
@@ -1 +1 @@
1
- {"version":3,"names":["_next","require","_ecgMeasurements","_readingValues","_urineMeasurements","flagSet","reading","code","deviceFlags","some","flag","raw","undefined","bloodPressure","measurementTypeKey","MeasurementTypeKey","systolic","ovokValueOf","diastolic","meanArterialPressure","heartRate","valueOf","irregularHeartbeat","recordedAt","takenAt","bloodGlucose","bloodGlucoseValue","bodyWeight","weight","bodyTemperature","temperature","bodyTemp","pulseOximetry","bloodOxygenPulseRate","bloodOxygen","pulseRate","perfusionIndex","respiratoryRate","LIPID_METRICS","LIPID_UNITS","isLipidUnit","unit","lipidUnit","lipidPanel","units","Set","flatMap","metric","values","size","totalCholesterol","hdlCholesterol","ldlCholesterol","triglycerides","spirometry","fvc","fev1","pef","fef2575","Object","value","spirometryPanel","single","measure","measurement","MEASUREMENTS","exports","blood_pressure","blood_glucose","blood_cholesterol","ecg","ecgMeasurements","heart_rate","oxygen_saturation","respiration_rate","urine_test","urineAnalysis"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/reading-measurements.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAiBA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,kBAAA,GAAAH,OAAA;AAEA,MAAMI,OAAO,GAAGA,CAACC,OAAgB,EAAEC,IAAY,KAC7CD,OAAO,CAACE,WAAW,CAACC,IAAI,CAAEC,IAAI,IAAKA,IAAI,CAACH,IAAI,KAAKA,IAAI,IAAIG,IAAI,CAACC,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,GAAGC,SAAS;AAE7F,MAAMC,aAAa,GAAI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D,KAAK,IAAKA,KAAK,KAAKhD,SAAS,CAAC,GAC7D;IAAEE,kBAAkB,EAAEC,wBAAkB,CAAC8C,eAAe;IAAE,GAAGb,MAAM;IAAEzB,UAAU,EAAEjB,OAAO,CAACkB,OAAO,IAAIZ;EAAU,CAAC,GAC/GA,SAAS;AACf,CAAC;AAED,MAAMkD,MAAM,GACTC,OAAsD,IACtDzD,OAAgB,IAAoB;EACnC,MAAM0D,WAAW,GAAGD,OAAO,CAACzD,OAAO,CAAC;EAEpC,OAAO0D,WAAW,GAAG,CAACA,WAAW,CAAC,GAAG,EAAE;AACzC,CAAC;;AAEH;AACA,MAAMC,YAA4F,GAAAC,OAAA,CAAAD,YAAA,GAAG;EACnGE,cAAc,EAAEL,MAAM,CAACjD,aAAa,CAAC;EACrCuD,aAAa,EAAEN,MAAM,CAACrC,YAAY,CAAC;EACnC4C,iBAAiB,EAAEP,MAAM,CAACnB,UAAU,CAAC;EACrC2B,GAAG,EAAEC,gCAAe;EACpBC,UAAU,EAAEV,MAAM,CAAC1C,SAAS,CAAC;EAC7BqD,iBAAiB,EAAEX,MAAM,CAAC9B,aAAa,CAAC;EACxC0C,gBAAgB,EAAEZ,MAAM,CAACzB,eAAe,CAAC;EACzCiB,UAAU,EAAEQ,MAAM,CAACR,UAAU,CAAC;EAC9BxB,WAAW,EAAEgC,MAAM,CAACjC,eAAe,CAAC;EACpCwB,aAAa,EAAES,MAAM,CAACnB,UAAU,CAAC;EACjCgC,UAAU,EAAEb,MAAM,CAACc,gCAAa,CAAC;EACjChD,MAAM,EAAEkC,MAAM,CAACnC,UAAU;AAC3B,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_ecgMeasurements","_readingValues","_urineMeasurements","flagSet","reading","code","deviceFlags","some","flag","raw","undefined","bloodPressure","measurementTypeKey","MeasurementTypeKey","systolic","ovokValueOf","diastolic","meanArterialPressure","heartRate","valueOf","irregularHeartbeat","recordedAt","takenAt","bloodGlucose","bloodGlucoseValue","bodyWeight","weight","bodyTemperature","temperature","bodyTemp","pulseOximetry","bloodOxygenPulseRate","bloodOxygen","pulseRate","perfusionIndex","respiratoryRate","LIPID_METRICS","LIPID_UNITS","isLipidUnit","unit","lipidUnit","lipidPanel","units","Set","flatMap","metric","values","size","totalCholesterol","hdlCholesterol","ldlCholesterol","triglycerides","spirometry","fvc","fev1","pef","fef2575","Object","value","spirometryPanel","single","measure","measurement","MEASUREMENTS","exports","blood_pressure","blood_glucose","blood_cholesterol","ecg","ecgMeasurements","heart_rate","oxygen_saturation","respiration_rate","urine_test","urineAnalysis"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/reading-measurements.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAiBA,IAAAC,gBAAA,GAAAD,OAAA;AACA,IAAAE,cAAA,GAAAF,OAAA;AACA,IAAAG,kBAAA,GAAAH,OAAA;AAEA,MAAMI,OAAO,GAAGA,CAACC,OAAgB,EAAEC,IAAY,KAC7CD,OAAO,CAACE,WAAW,CAACC,IAAI,CAAEC,IAAI,IAAKA,IAAI,CAACH,IAAI,KAAKA,IAAI,IAAIG,IAAI,CAACC,GAAG,KAAK,CAAC,CAAC,GAAG,IAAI,GAAGC,SAAS;AAE7F,MAAMC,aAAa,GAAIP,OAAgB,KAAgC;EACrEQ,kBAAkB,EAAEC,wBAAkB,CAACF,aAAa;EACpDG,QAAQ,EAAE,IAAAC,0BAAW,EAACX,OAAO,EAAE,UAAU,CAAC;EAC1CY,SAAS,EAAE,IAAAD,0BAAW,EAACX,OAAO,EAAE,WAAW,CAAC;EAC5Ca,oBAAoB,EAAE,IAAAF,0BAAW,EAACX,OAAO,EAAE,wBAAwB,CAAC;EACpEc,SAAS,EAAE,IAAAC,sBAAO,EAACf,OAAO,EAAE,YAAY,CAAC;EACzCgB,kBAAkB,EAAEjB,OAAO,CAACC,OAAO,EAAE,iBAAiB,CAAC;EACvDiB,UAAU,EAAEjB,OAAO,CAACkB,OAAO,IAAI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G;EACnGE,cAAc,EAAEL,MAAM,CAACjD,aAAa,CAAC;EACrCuD,aAAa,EAAEN,MAAM,CAACrC,YAAY,CAAC;EACnC4C,iBAAiB,EAAEP,MAAM,CAACnB,UAAU,CAAC;EACrC2B,GAAG,EAAEC,gCAAe;EACpBC,UAAU,EAAEV,MAAM,CAAC1C,SAAS,CAAC;EAC7BqD,iBAAiB,EAAEX,MAAM,CAAC9B,aAAa,CAAC;EACxC0C,gBAAgB,EAAEZ,MAAM,CAACzB,eAAe,CAAC;EACzCiB,UAAU,EAAEQ,MAAM,CAACR,UAAU,CAAC;EAC9BxB,WAAW,EAAEgC,MAAM,CAACjC,eAAe,CAAC;EACpCwB,aAAa,EAAES,MAAM,CAACnB,UAAU,CAAC;EACjCgC,UAAU,EAAEb,MAAM,CAACc,gCAAa,CAAC;EACjChD,MAAM,EAAEkC,MAAM,CAACnC,UAAU;AAC3B,CAAC","ignoreList":[]}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.seriesObservationsOf = exports.seriesFieldOf = exports.saveSeries = exports.ownPatientId = exports.isSeriesReading = exports.holdSeries = void 0;
7
- var _next = require("@ovok/core/next");
7
+ var _core = require("@ovok/core");
8
8
  var _errors = require("../core/errors.js");
9
9
  var _readingSourceId = require("./reading-source-id.js");
10
10
  var _readingValues = require("./reading-values.js");
@@ -16,23 +16,23 @@ var _readingValues = require("./reading-values.js");
16
16
 
17
17
  const SERIES_FIELDS = {
18
18
  heart_rate: {
19
- type: _next.MeasurementTypeKey.heartRate,
19
+ type: _core.MeasurementTypeKey.heartRate,
20
20
  property: "heartRate"
21
21
  },
22
22
  pulse_rate: {
23
- type: _next.MeasurementTypeKey.bloodOxygenPulseRate,
23
+ type: _core.MeasurementTypeKey.bloodOxygenPulseRate,
24
24
  property: "pulseRate"
25
25
  },
26
26
  spo2: {
27
- type: _next.MeasurementTypeKey.bloodOxygenPulseRate,
27
+ type: _core.MeasurementTypeKey.bloodOxygenPulseRate,
28
28
  property: "bloodOxygen"
29
29
  },
30
30
  respiration_rate: {
31
- type: _next.MeasurementTypeKey.respiratoryRate,
31
+ type: _core.MeasurementTypeKey.respiratoryRate,
32
32
  property: "respiratoryRate"
33
33
  },
34
34
  body_temperature: {
35
- type: _next.MeasurementTypeKey.temperature,
35
+ type: _core.MeasurementTypeKey.temperature,
36
36
  property: "bodyTemp"
37
37
  }
38
38
  };
@@ -49,7 +49,7 @@ const ownPatientId = async ({
49
49
  session
50
50
  }) => {
51
51
  const reference = (await session.current())?.profile.reference;
52
- return reference ? reference.slice(reference.indexOf("/") + 1) : _next.GUEST_PATIENT_ID;
52
+ return reference ? reference.slice(reference.indexOf("/") + 1) : _core.GUEST_PATIENT_ID;
53
53
  };
54
54
 
55
55
  /** The observations that hold one metric's values, one per second or at the interval given. */
@@ -58,7 +58,7 @@ const seriesObservationsOf = (field, {
58
58
  start,
59
59
  intervalMs,
60
60
  values
61
- }, rest) => (0, _next.seriesObservations)({
61
+ }, rest) => (0, _core.seriesObservations)({
62
62
  series: {
63
63
  measurementTypeKey: field.type,
64
64
  start,
@@ -99,6 +99,6 @@ const saveSeries = async (client, reading, device, patientId) => client.measurem
99
99
 
100
100
  /** Keeps a series on the device, naming the guest, until `ovok.outbox.assign` names the patient. */
101
101
  exports.saveSeries = saveSeries;
102
- const holdSeries = async (client, reading, device) => client.measurements.holdObservations(await seriesObservationsFor(client, reading, device, _next.GUEST_PATIENT_ID));
102
+ const holdSeries = async (client, reading, device) => client.measurements.holdObservations(await seriesObservationsFor(client, reading, device, _core.GUEST_PATIENT_ID));
103
103
  exports.holdSeries = holdSeries;
104
104
  //# sourceMappingURL=series-saving.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["_next","require","_errors","_readingSourceId","_readingValues","SERIES_FIELDS","heart_rate","type","MeasurementTypeKey","heartRate","property","pulse_rate","bloodOxygenPulseRate","spo2","respiration_rate","respiratoryRate","body_temperature","temperature","unsupported","what","DeviceError","isSeriesReading","reading","series","undefined","exports","seriesFieldOf","metric","ownPatientId","session","reference","current","profile","slice","indexOf","GUEST_PATIENT_ID","seriesObservationsOf","field","start","intervalMs","values","rest","seriesObservations","measurementTypeKey","periodMs","seriesObservationsFor","client","device","patientId","toOvokUnit","TO_OVOK_UNIT","unit","map","value","sourceIdsOf","sn","saveSeries","measurements","saveObservations","holdSeries","holdObservations"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/series-saving.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAUA,IAAAC,OAAA,GAAAD,OAAA;AAIA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAIA;;AAGA;;AAGA;;AAGA,MAAMI,aAAuD,GAAG;EAC9DC,UAAU,EAAE;IAAEC,IAAI,EAAEC,wBAAkB,CAACC,SAAS;IAAEC,QAAQ,EAAE;EAAY,CAAC;EACzEC,UAAU,EAAE;IAAEJ,IAAI,EAAEC,wBAAkB,CAACI,oBAAoB;IAAEF,QAAQ,EAAE;EAAY,CAAC;EACpFG,IAAI,EAAE;IAAEN,IAAI,EAAEC,wBAAkB,CAACI,oBAAoB;IAAEF,QAAQ,EAAE;EAAc,CAAC;EAChFI,gBAAgB,EAAE;IAAEP,IAAI,EAAEC,wBAAkB,CAACO,eAAe;IAAEL,QAAQ,EAAE;EAAkB,CAAC;EAC3FM,gBAAgB,EAAE;IAAET,IAAI,EAAEC,wBAAkB,CAACS,WAAW;IAAEP,QAAQ,EAAE;EAAW;AACjF,CAAC;AAED,MAAMQ,WAAW,GAAIC,IAAY,IAAkB,IAAIC,mBAAW,CAAC,aAAa,EAAE,oBAAoBD,IAAI,cAAc,CAAC;AAEzH,MAAME,eAAe,GAAIC,OAAgB,IAA+BA,OAAO,CAACC,MAAM,KAAKC,SAAS;;AAEpG;AAAAC,OAAA,CAAAJ,eAAA,GAAAA,eAAA;AACA,MAAMK,aAAa,GAAIC,MAAc,IAA8BtB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AAE,CAAC;EACzD;EAEA,OAAOf,oBAAoB,CACzBC,KAAK,EACL;IAAE,GAAGd,MAAM;IAAEiB,MAAM,EAAEjB,MAAM,CAACiB,MAAM,CAACY,GAAG,CAAEC,KAAK,IAAMA,KAAK,KAAK,IAAI,GAAG,IAAI,GAAGJ,UAAU,CAACI,KAAK,CAAE;EAAE,CAAC,EAChG;IAAEL,SAAS,EAAEA,SAAS,KAAK,MAAMpB,YAAY,CAACkB,MAAM,CAAC,CAAC;IAAE,GAAG,IAAAQ,4BAAW,EAAChC,OAAO,EAAEyB,MAAM,CAACQ,EAAE,CAAC;IAAER;EAAO,CACrG,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA,MAAMS,UAAU,GAAG,MAAAA,CACjBV,MAAoB,EACpBxB,OAAsB,EACtByB,MAAyB,EACzBC,SAAkB,KAElBF,MAAM,CAACW,YAAY,CAACC,gBAAgB,CAAC,MAAMb,qBAAqB,CAACC,MAAM,EAAExB,OAAO,EAAEyB,MAAM,EAAEC,SAAS,CAAC,CAAC;;AAEvG;AAAAvB,OAAA,CAAA+B,UAAA,GAAAA,UAAA;AACA,MAAMG,UAAU,GAAG,MAAAA,CAAOb,MAAoB,EAAExB,OAAsB,EAAEyB,MAAyB,KAC/FD,MAAM,CAACW,YAAY,CAACG,gBAAgB,CAAC,MAAMf,qBAAqB,CAACC,MAAM,EAAExB,OAAO,EAAEyB,MAAM,EAAEZ,sBAAgB,CAAC,CAAC;AAACV,OAAA,CAAAkC,UAAA,GAAAA,UAAA","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_errors","_readingSourceId","_readingValues","SERIES_FIELDS","heart_rate","type","MeasurementTypeKey","heartRate","property","pulse_rate","bloodOxygenPulseRate","spo2","respiration_rate","respiratoryRate","body_temperature","temperature","unsupported","what","DeviceError","isSeriesReading","reading","series","undefined","exports","seriesFieldOf","metric","ownPatientId","session","reference","current","profile","slice","indexOf","GUEST_PATIENT_ID","seriesObservationsOf","field","start","intervalMs","values","rest","seriesObservations","measurementTypeKey","periodMs","seriesObservationsFor","client","device","patientId","toOvokUnit","TO_OVOK_UNIT","unit","map","value","sourceIdsOf","sn","saveSeries","measurements","saveObservations","holdSeries","holdObservations"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/series-saving.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAUA,IAAAC,OAAA,GAAAD,OAAA;AAIA,IAAAE,gBAAA,GAAAF,OAAA;AACA,IAAAG,cAAA,GAAAH,OAAA;AAIA;;AAGA;;AAGA;;AAGA,MAAMI,aAAuD,GAAG;EAC9DC,UAAU,EAAE;IAAEC,IAAI,EAAEC,wBAAkB,CAACC,SAAS;IAAEC,QAAQ,EAAE;EAAY,CAAC;EACzEC,UAAU,EAAE;IAAEJ,IAAI,EAAEC,wBAAkB,CAACI,oBAAoB;IAAEF,QAAQ,EAAE;EAAY,CAAC;EACpFG,IAAI,EAAE;IAAEN,IAAI,EAAEC,wBAAkB,CAACI,oBAAoB;IAAEF,QAAQ,EAAE;EAAc,CAAC;EAChFI,gBAAgB,EAAE;IAAEP,IAAI,EAAEC,wBAAkB,CAACO,eAAe;IAAEL,QAAQ,EAAE;EAAkB,CAAC;EAC3FM,gBAAgB,EAAE;IAAET,IAAI,EAAEC,wBAAkB,CAACS,WAAW;IAAEP,QAAQ,EAAE;EAAW;AACjF,CAAC;AAED,MAAMQ,WAAW,GAAIC,IAAY,IAAkB,IAAIC,mBAAW,CAAC,aAAa,EAAE,oBAAoBD,IAAI,cAAc,CAAC;AAEzH,MAAME,eAAe,GAAIC,OAAgB,IAA+BA,OAAO,CAACC,MAAM,KAAKC,SAAS;;AAEpG;AAAAC,OAAA,CAAAJ,eAAA,GAAAA,eAAA;AACA,MAAMK,aAAa,GAAIC,MAAc,IAA8BtB,aAAa,CAACsB,MAAM,CAAe;;AAEtG;AAAAF,OAAA,CAAAC,aAAA,GAAAA,aAAA;AACA,MAAME,YAAY,GAAG,MAAAA,C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AACiB,MAAM,CAACY,GAAG,CAAEC,KAAK,IAAMA,KAAK,KAAK,IAAI,GAAG,IAAI,GAAGJ,UAAU,CAACI,KAAK,CAAE;EAAE,CAAC,EAChG;IAAEL,SAAS,EAAEA,SAAS,KAAK,MAAMpB,YAAY,CAACkB,MAAM,CAAC,CAAC;IAAE,GAAG,IAAAQ,4BAAW,EAAChC,OAAO,EAAEyB,MAAM,CAACQ,EAAE,CAAC;IAAER;EAAO,CACrG,CAAC;AACH,CAAC;;AAED;AACA;AACA;AACA;AACA,MAAMS,UAAU,GAAG,MAAAA,CACjBV,MAAoB,EACpBxB,OAAsB,EACtByB,MAAyB,EACzBC,SAAkB,KAElBF,MAAM,CAACW,YAAY,CAACC,gBAAgB,CAAC,MAAMb,qBAAqB,CAACC,MAAM,EAAExB,OAAO,EAAEyB,MAAM,EAAEC,SAAS,CAAC,CAAC;;AAEvG;AAAAvB,OAAA,CAAA+B,UAAA,GAAAA,UAAA;AACA,MAAMG,UAAU,GAAG,MAAAA,CAAOb,MAAoB,EAAExB,OAAsB,EAAEyB,MAAyB,KAC/FD,MAAM,CAACW,YAAY,CAACG,gBAAgB,CAAC,MAAMf,qBAAqB,CAACC,MAAM,EAAExB,OAAO,EAAEyB,MAAM,EAAEZ,sBAAgB,CAAC,CAAC;AAACV,OAAA,CAAAkC,UAAA,GAAAA,UAAA","ignoreList":[]}
@@ -4,7 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports.urineAnalysis = void 0;
7
- var _next = require("@ovok/core/next");
7
+ var _core = require("@ovok/core");
8
8
  var _readingValues = require("./reading-values.js");
9
9
  /** Ovok's key for each strip analyte; its `uca` is urate while strips measure calcium, so calcium is not saved yet. */
10
10
  const URINE_ANALYTES = {
@@ -30,7 +30,7 @@ const urineAnalysis = reading => {
30
30
  return value === undefined ? [] : [[key, value]];
31
31
  });
32
32
  return values.length > 0 ? {
33
- measurementTypeKey: _next.MeasurementTypeKey.urineAnalysis,
33
+ measurementTypeKey: _core.MeasurementTypeKey.urineAnalysis,
34
34
  ...Object.fromEntries(values),
35
35
  urineValues: [],
36
36
  recordedAt: reading.takenAt ?? undefined
@@ -1 +1 @@
1
- {"version":3,"names":["_next","require","_readingValues","URINE_ANALYTES","uro","bld","bil","ket","glu","pro","ph","nit","leu","sg","vc","mal","cr","urineAnalysis","reading","values","Object","entries","flatMap","key","metric","value","valueOf","undefined","length","measurementTypeKey","MeasurementTypeKey","fromEntries","urineValues","recordedAt","takenAt","exports"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/urine-measurements.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAKA,IAAAC,cAAA,GAAAD,OAAA;AAEA;AACA,MAAME,cAAc,GAAG;EACrBC,GAAG,EAAE,oBAAoB;EACzBC,GAAG,EAAE,aAAa;EAClBC,GAAG,EAAE,iBAAiB;EACtBC,GAAG,EAAE,eAAe;EACpBC,GAAG,EAAE,eAAe;EACpBC,GAAG,EAAE,eAAe;EACpBC,EAAE,EAAE,UAAU;EACdC,GAAG,EAAE,eAAe;EACpBC,GAAG,EAAE,kBAAkB;EACvBC,EAAE,EAAE,wBAAwB;EAC5BC,EAAE,EAAE,qBAAqB;EACzBC,GAAG,EAAE,oBAAoB;EACzBC,EAAE,EAAE;AACN,CAA+E;;AAE/E;AACA,MAAMC,aAAa,GAAIC,OAAgB,IAA0C;EAC/E,MAAMC,MAAM,GAAGC,MAAM,CAACC,OAAO,CAAClB,cAAc,CAAC,CAACmB,OAAO,CAAC,CAAC,CAACC,GAAG,EAAEC,MAAM,CAAC,KAAK;IACvE,MAAMC,KAAK,GAAG,IAAAC,sBAAO,EAACR,OAAO,EAAEM,MAAM,CAAC;IAEtC,OAAOC,KAAK,KAAKE,SAAS,GAAG,EAAE,GAAG,CAAC,CAACJ,GAAG,EAAEE,KAAK,CAAC,CAAC;EAClD,CAAC,CAAC;EAEF,OAAON,MAAM,CAACS,MAAM,GAAG,CAAC,GACpB;IACEC,kBAAkB,EAAEC,wBAAkB,CAACb,aAAa;IACpD,GAAGG,MAAM,CAACW,WAAW,CAACZ,MAAM,CAAC;IAC7Ba,WAAW,EAAE,EAAE;IACfC,UAAU,EAAEf,OAAO,CAACgB,OAAO,IAAIP;EACjC,CAAC,GACDA,SAAS;AACf,CAAC;AAACQ,OAAA,CAAAlB,aAAA,GAAAA,aAAA","ignoreList":[]}
1
+ {"version":3,"names":["_core","require","_readingValues","URINE_ANALYTES","uro","bld","bil","ket","glu","pro","ph","nit","leu","sg","vc","mal","cr","urineAnalysis","reading","values","Object","entries","flatMap","key","metric","value","valueOf","undefined","length","measurementTypeKey","MeasurementTypeKey","fromEntries","urineValues","recordedAt","takenAt","exports"],"sourceRoot":"../../../../../../src","sources":["modules/next/bluetooth/adapters/urine-measurements.ts"],"mappings":";;;;;;AAAA,IAAAA,KAAA,GAAAC,OAAA;AAKA,IAAAC,cAAA,GAAAD,OAAA;AAEA;AACA,MAAME,cAAc,GAAG;EACrBC,GAAG,EAAE,oBAAoB;EACzBC,GAAG,EAAE,aAAa;EAClBC,GAAG,EAAE,iBAAiB;EACtBC,GAAG,EAAE,eAAe;EACpBC,GAAG,EAAE,eAAe;EACpBC,GAAG,EAAE,eAAe;EACpBC,EAAE,EAAE,UAAU;EACdC,GAAG,EAAE,eAAe;EACpBC,GAAG,EAAE,kBAAkB;EACvBC,EAAE,EAAE,wBAAwB;EAC5BC,EAAE,EAAE,qBAAqB;EACzBC,GAAG,EAAE,oBAAoB;EACzBC,EAAE,EAAE;AACN,CAA+E;;AAE/E;AACA,MAAMC,aAAa,GAAIC,OAAgB,IAA0C;EAC/E,MAAMC,MAAM,GAAGC,MAAM,CAACC,OAAO,CAAClB,cAAc,CAAC,CAACmB,OAAO,CAAC,CAAC,CAACC,GAAG,EAAEC,MAAM,CAAC,KAAK;IACvE,MAAMC,KAAK,GAAG,IAAAC,sBAAO,EAACR,OAAO,EAAEM,MAAM,CAAC;IAEtC,OAAOC,KAAK,KAAKE,SAAS,GAAG,EAAE,GAAG,CAAC,CAACJ,GAAG,EAAEE,KAAK,CAAC,CAAC;EAClD,CAAC,CAAC;EAEF,OAAON,MAAM,CAACS,MAAM,GAAG,CAAC,GACpB;IACEC,kBAAkB,EAAEC,wBAAkB,CAACb,aAAa;IACpD,GAAGG,MAAM,CAACW,WAAW,CAACZ,MAAM,CAAC;IAC7Ba,WAAW,EAAE,EAAE;IACfC,UAAU,EAAEf,OAAO,CAACgB,OAAO,IAAIP;EACjC,CAAC,GACDA,SAAS;AACf,CAAC;AAACQ,OAAA,CAAAlB,aAAA,GAAAA,aAAA","ignoreList":[]}