@ovok/native 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (440) hide show
  1. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
  2. package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  3. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
  4. package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  5. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js +23 -22
  6. package/lib/commonjs/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  7. package/lib/commonjs/modules/bt-device/constants/device-list-items.js +36 -0
  8. package/lib/commonjs/modules/bt-device/constants/device-list-items.js.map +1 -1
  9. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js +38 -0
  10. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
  11. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js +45 -0
  12. package/lib/commonjs/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
  13. package/lib/commonjs/modules/bt-device/constants/supported-devices.js +212 -42
  14. package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
  15. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js +88 -0
  16. package/lib/commonjs/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
  17. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js +15 -8
  18. package/lib/commonjs/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  19. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js +1 -1
  20. package/lib/commonjs/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  21. package/lib/commonjs/modules/bt-management/index.js +55 -0
  22. package/lib/commonjs/modules/bt-management/index.js.map +1 -1
  23. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js +10 -4
  24. package/lib/commonjs/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  25. package/lib/commonjs/modules/bt-management/services/bt-manager.js +43 -5
  26. package/lib/commonjs/modules/bt-management/services/bt-manager.js.map +1 -1
  27. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-case.js +2 -0
  28. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-case.js.map +1 -1
  29. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-field.js +2 -1
  30. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-field.js.map +1 -1
  31. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js +24 -0
  32. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
  33. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-monitor.js +8 -1
  34. package/lib/commonjs/modules/bt-management/services/custom/compile-custom-monitor.js.map +1 -1
  35. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js +6 -2
  36. package/lib/commonjs/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  37. package/lib/commonjs/modules/bt-management/services/device-creator.js +23 -8
  38. package/lib/commonjs/modules/bt-management/services/device-creator.js.map +1 -1
  39. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  40. package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  41. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js +50 -0
  42. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
  43. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +78 -127
  44. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  45. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
  46. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  47. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +60 -0
  48. package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
  49. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +74 -0
  50. package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
  51. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
  52. package/lib/commonjs/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  53. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js +3 -0
  54. package/lib/commonjs/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  55. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js +7 -3
  56. package/lib/commonjs/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  57. package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js +5 -0
  58. package/lib/commonjs/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
  59. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js +3 -1
  60. package/lib/commonjs/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  61. package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js +6 -1
  62. package/lib/commonjs/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
  63. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +43 -5
  64. package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  65. package/lib/commonjs/modules/bt-management/services/devices/frame-parser.js +13 -1
  66. package/lib/commonjs/modules/bt-management/services/devices/frame-parser.js.map +1 -1
  67. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.command-builder.js +6 -3
  68. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.command-builder.js.map +1 -1
  69. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  70. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.identity-gate.js +84 -38
  71. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.identity-gate.js.map +1 -1
  72. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js +14 -2
  73. package/lib/commonjs/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  74. package/lib/commonjs/modules/bt-management/services/devices/spo/oxyfit.device.js +18 -0
  75. package/lib/commonjs/modules/bt-management/services/devices/spo/oxyfit.device.js.map +1 -0
  76. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
  77. package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  78. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js +78 -0
  79. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -0
  80. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.frame-reader.js +83 -0
  81. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.frame-reader.js.map +1 -0
  82. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.sequencer.js +60 -0
  83. package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.sequencer.js.map +1 -0
  84. package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
  85. package/lib/commonjs/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
  86. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
  87. package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
  88. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
  89. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  90. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +35 -0
  91. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
  92. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
  93. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  94. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
  95. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  96. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +54 -39
  97. package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  98. package/lib/commonjs/modules/bt-management/types/device-measurement-map.js.map +1 -1
  99. package/lib/commonjs/modules/bt-management/types/integrated-devices.js +1 -0
  100. package/lib/commonjs/modules/bt-management/types/integrated-devices.js.map +1 -1
  101. package/lib/commonjs/modules/bt-management/utils/create-custom-field-parser.js +3 -0
  102. package/lib/commonjs/modules/bt-management/utils/create-custom-field-parser.js.map +1 -1
  103. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +11 -2
  104. package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
  105. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js +3 -1
  106. package/lib/commonjs/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  107. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js +3 -1
  108. package/lib/commonjs/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  109. package/lib/commonjs/modules/data-sync/utils/health-units.js +22 -0
  110. package/lib/commonjs/modules/data-sync/utils/health-units.js.map +1 -0
  111. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +9 -3
  112. package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
  113. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +8 -2
  114. package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
  115. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js +3 -2
  116. package/lib/module/modules/bt-device/constants/device-instruction-pdfs.js.map +1 -1
  117. package/lib/module/modules/bt-device/constants/device-list-items.js +36 -0
  118. package/lib/module/modules/bt-device/constants/device-list-items.js.map +1 -1
  119. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js +35 -0
  120. package/lib/module/modules/bt-device/constants/supported-device-catalog-assets.js.map +1 -0
  121. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js +41 -0
  122. package/lib/module/modules/bt-device/constants/supported-device-catalog-entries.js.map +1 -0
  123. package/lib/module/modules/bt-device/constants/supported-devices.js +202 -32
  124. package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
  125. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js +83 -0
  126. package/lib/module/modules/bt-management/components/bluetooth-device-picker.js.map +1 -0
  127. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js +15 -8
  128. package/lib/module/modules/bt-management/components/bt-provider-child-wrapper.js.map +1 -1
  129. package/lib/module/modules/bt-management/constants/integrated-devices-map.js +1 -1
  130. package/lib/module/modules/bt-management/constants/integrated-devices-map.js.map +1 -1
  131. package/lib/module/modules/bt-management/index.js +5 -0
  132. package/lib/module/modules/bt-management/index.js.map +1 -1
  133. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js +10 -4
  134. package/lib/module/modules/bt-management/services/background-sync/background-sync-coordinator.js.map +1 -1
  135. package/lib/module/modules/bt-management/services/bt-manager.js +45 -6
  136. package/lib/module/modules/bt-management/services/bt-manager.js.map +1 -1
  137. package/lib/module/modules/bt-management/services/custom/compile-custom-case.js +2 -0
  138. package/lib/module/modules/bt-management/services/custom/compile-custom-case.js.map +1 -1
  139. package/lib/module/modules/bt-management/services/custom/compile-custom-field.js +2 -1
  140. package/lib/module/modules/bt-management/services/custom/compile-custom-field.js.map +1 -1
  141. package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js +24 -0
  142. package/lib/module/modules/bt-management/services/custom/compile-custom-lepu.js.map +1 -1
  143. package/lib/module/modules/bt-management/services/custom/compile-custom-monitor.js +8 -1
  144. package/lib/module/modules/bt-management/services/custom/compile-custom-monitor.js.map +1 -1
  145. package/lib/module/modules/bt-management/services/custom/define-custom-device.js +6 -2
  146. package/lib/module/modules/bt-management/services/custom/define-custom-device.js.map +1 -1
  147. package/lib/module/modules/bt-management/services/device-creator.js +23 -8
  148. package/lib/module/modules/bt-management/services/device-creator.js.map +1 -1
  149. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
  150. package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
  151. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js +40 -0
  152. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-builders.js.map +1 -0
  153. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js +59 -109
  154. package/lib/module/modules/bt-management/services/devices/bc01/bc01-command-sequencer.js.map +1 -1
  155. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +2 -0
  156. package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
  157. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js +56 -0
  158. package/lib/module/modules/bt-management/services/devices/bc01/bc01.frame-reader.js.map +1 -0
  159. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +69 -0
  160. package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -0
  161. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js +1 -1
  162. package/lib/module/modules/bt-management/services/devices/boso/boso.medicus.js.map +1 -1
  163. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js +3 -0
  164. package/lib/module/modules/bt-management/services/devices/bt-command-writer.js.map +1 -1
  165. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js +7 -3
  166. package/lib/module/modules/bt-management/services/devices/bt-connection-handler.js.map +1 -1
  167. package/lib/module/modules/bt-management/services/devices/bt-data-processor.js +5 -0
  168. package/lib/module/modules/bt-management/services/devices/bt-data-processor.js.map +1 -1
  169. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js +3 -1
  170. package/lib/module/modules/bt-management/services/devices/bt-managed-device.js.map +1 -1
  171. package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js +6 -1
  172. package/lib/module/modules/bt-management/services/devices/custom/custom-lepu-sequencer.js.map +1 -1
  173. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +42 -5
  174. package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
  175. package/lib/module/modules/bt-management/services/devices/frame-parser.js +13 -1
  176. package/lib/module/modules/bt-management/services/devices/frame-parser.js.map +1 -1
  177. package/lib/module/modules/bt-management/services/devices/lepu/lepu.command-builder.js +6 -3
  178. package/lib/module/modules/bt-management/services/devices/lepu/lepu.command-builder.js.map +1 -1
  179. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js +2 -1
  180. package/lib/module/modules/bt-management/services/devices/lepu/lepu.file-transfer.js.map +1 -1
  181. package/lib/module/modules/bt-management/services/devices/lepu/lepu.identity-gate.js +84 -38
  182. package/lib/module/modules/bt-management/services/devices/lepu/lepu.identity-gate.js.map +1 -1
  183. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js +14 -2
  184. package/lib/module/modules/bt-management/services/devices/lepu/lepu.transports.js.map +1 -1
  185. package/lib/module/modules/bt-management/services/devices/spo/oxyfit.device.js +14 -0
  186. package/lib/module/modules/bt-management/services/devices/spo/oxyfit.device.js.map +1 -0
  187. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js +2 -1
  188. package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.js.map +1 -1
  189. package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js +73 -0
  190. package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -0
  191. package/lib/module/modules/bt-management/services/devices/uebe/mysense.frame-reader.js +78 -0
  192. package/lib/module/modules/bt-management/services/devices/uebe/mysense.frame-reader.js.map +1 -0
  193. package/lib/module/modules/bt-management/services/devices/uebe/mysense.sequencer.js +55 -0
  194. package/lib/module/modules/bt-management/services/devices/uebe/mysense.sequencer.js.map +1 -0
  195. package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js +1 -1
  196. package/lib/module/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.js.map +1 -1
  197. package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js +1 -1
  198. package/lib/module/modules/bt-management/services/devices/veroval/veroval.bp-monitors.js.map +1 -1
  199. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js +1 -1
  200. package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitors.js.map +1 -1
  201. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js +31 -0
  202. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-files.js.map +1 -0
  203. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +3 -2
  204. package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
  205. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +2 -1
  206. package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
  207. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +54 -39
  208. package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
  209. package/lib/module/modules/bt-management/types/device-measurement-map.js.map +1 -1
  210. package/lib/module/modules/bt-management/types/integrated-devices.js +1 -0
  211. package/lib/module/modules/bt-management/types/integrated-devices.js.map +1 -1
  212. package/lib/module/modules/bt-management/utils/create-custom-field-parser.js +3 -0
  213. package/lib/module/modules/bt-management/utils/create-custom-field-parser.js.map +1 -1
  214. package/lib/module/modules/data-sync/services/managers/data-processor.js +11 -2
  215. package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
  216. package/lib/module/modules/data-sync/utils/get-samples-from-health.js +3 -1
  217. package/lib/module/modules/data-sync/utils/get-samples-from-health.js.map +1 -1
  218. package/lib/module/modules/data-sync/utils/get-total-samples-count.js +3 -1
  219. package/lib/module/modules/data-sync/utils/get-total-samples-count.js.map +1 -1
  220. package/lib/module/modules/data-sync/utils/health-units.js +17 -0
  221. package/lib/module/modules/data-sync/utils/health-units.js.map +1 -0
  222. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  223. package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  224. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
  225. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  226. package/lib/typescript/commonjs/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  227. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +33 -0
  228. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
  229. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
  230. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
  231. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +43 -22
  232. package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  233. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
  234. package/lib/typescript/commonjs/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
  235. package/lib/typescript/commonjs/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  236. package/lib/typescript/commonjs/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
  237. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts +5 -0
  238. package/lib/typescript/commonjs/src/modules/bt-management/index.d.ts.map +1 -1
  239. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +5 -1
  240. package/lib/typescript/commonjs/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  241. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts +19 -2
  242. package/lib/typescript/commonjs/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  243. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-case.d.ts.map +1 -1
  244. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
  245. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
  246. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-monitor.d.ts.map +1 -1
  247. package/lib/typescript/commonjs/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  248. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts +1 -1
  249. package/lib/typescript/commonjs/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  250. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
  251. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
  252. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
  253. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
  254. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
  255. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  256. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
  257. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  258. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
  259. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
  260. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
  261. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
  262. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
  263. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  264. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  265. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts +4 -0
  266. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  267. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +2 -0
  268. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  269. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  270. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
  271. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts +3 -0
  272. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  273. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -0
  274. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
  275. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts +6 -1
  276. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts.map +1 -1
  277. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
  278. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  279. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.identity-gate.d.ts +10 -51
  280. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.identity-gate.d.ts.map +1 -1
  281. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +9 -2
  282. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  283. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/spo/oxyfit.device.d.ts +9 -0
  284. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/spo/oxyfit.device.d.ts.map +1 -0
  285. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
  286. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  287. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.device.d.ts +15 -0
  288. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.device.d.ts.map +1 -0
  289. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts +8 -0
  290. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts.map +1 -0
  291. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts +17 -0
  292. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts.map +1 -0
  293. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
  294. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
  295. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  296. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  297. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
  298. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  299. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
  300. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
  301. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
  302. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  303. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
  304. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  305. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +5 -8
  306. package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  307. package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts +2 -0
  308. package/lib/typescript/commonjs/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
  309. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
  310. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  311. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
  312. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  313. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-field-encoding.d.ts +2 -1
  314. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-field-encoding.d.ts.map +1 -1
  315. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts +10 -0
  316. package/lib/typescript/commonjs/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  317. package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts +5 -0
  318. package/lib/typescript/commonjs/src/modules/bt-management/types/device-command.d.ts.map +1 -1
  319. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +5 -4
  320. package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  321. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts +1 -0
  322. package/lib/typescript/commonjs/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  323. package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts +1 -0
  324. package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
  325. package/lib/typescript/commonjs/src/modules/bt-management/utils/create-custom-field-parser.d.ts.map +1 -1
  326. package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  327. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  328. package/lib/typescript/commonjs/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  329. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts +3 -0
  330. package/lib/typescript/commonjs/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
  331. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
  332. package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
  333. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts +1 -1
  334. package/lib/typescript/module/src/modules/bt-device/constants/device-instruction-pdfs.d.ts.map +1 -1
  335. package/lib/typescript/module/src/modules/bt-device/constants/device-list-items.d.ts.map +1 -1
  336. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts +33 -0
  337. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-assets.d.ts.map +1 -0
  338. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts +3 -0
  339. package/lib/typescript/module/src/modules/bt-device/constants/supported-device-catalog-entries.d.ts.map +1 -0
  340. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +43 -22
  341. package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
  342. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts +11 -0
  343. package/lib/typescript/module/src/modules/bt-management/components/bluetooth-device-picker.d.ts.map +1 -0
  344. package/lib/typescript/module/src/modules/bt-management/components/bt-provider-child-wrapper.d.ts.map +1 -1
  345. package/lib/typescript/module/src/modules/bt-management/constants/integrated-devices-map.d.ts.map +1 -1
  346. package/lib/typescript/module/src/modules/bt-management/index.d.ts +5 -0
  347. package/lib/typescript/module/src/modules/bt-management/index.d.ts.map +1 -1
  348. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts +5 -1
  349. package/lib/typescript/module/src/modules/bt-management/services/background-sync/background-sync-coordinator.d.ts.map +1 -1
  350. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts +19 -2
  351. package/lib/typescript/module/src/modules/bt-management/services/bt-manager.d.ts.map +1 -1
  352. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-case.d.ts.map +1 -1
  353. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
  354. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-lepu.d.ts.map +1 -1
  355. package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-monitor.d.ts.map +1 -1
  356. package/lib/typescript/module/src/modules/bt-management/services/custom/define-custom-device.d.ts.map +1 -1
  357. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts +1 -1
  358. package/lib/typescript/module/src/modules/bt-management/services/device-creator.d.ts.map +1 -1
  359. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts +2 -2
  360. package/lib/typescript/module/src/modules/bt-management/services/devices/aoj/aoj.thermometers.d.ts.map +1 -1
  361. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts +31 -0
  362. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-builders.d.ts.map +1 -0
  363. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts +6 -5
  364. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01-command-sequencer.d.ts.map +1 -1
  365. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts +2 -0
  366. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.device.d.ts.map +1 -1
  367. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts +16 -0
  368. package/lib/typescript/module/src/modules/bt-management/services/devices/bc01/bc01.frame-reader.d.ts.map +1 -0
  369. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts +19 -0
  370. package/lib/typescript/module/src/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.d.ts.map +1 -0
  371. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts +1 -1
  372. package/lib/typescript/module/src/modules/bt-management/services/devices/boso/boso.medicus.d.ts.map +1 -1
  373. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-command-writer.d.ts.map +1 -1
  374. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts +4 -0
  375. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-connection-handler.d.ts.map +1 -1
  376. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +2 -0
  377. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
  378. package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
  379. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom-lepu-sequencer.d.ts.map +1 -1
  380. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts +3 -0
  381. package/lib/typescript/module/src/modules/bt-management/services/devices/custom/custom.device.d.ts.map +1 -1
  382. package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -0
  383. package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
  384. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts +6 -1
  385. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.command-builder.d.ts.map +1 -1
  386. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts +3 -2
  387. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.file-transfer.d.ts.map +1 -1
  388. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.identity-gate.d.ts +10 -51
  389. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.identity-gate.d.ts.map +1 -1
  390. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts +9 -2
  391. package/lib/typescript/module/src/modules/bt-management/services/devices/lepu/lepu.transports.d.ts.map +1 -1
  392. package/lib/typescript/module/src/modules/bt-management/services/devices/spo/oxyfit.device.d.ts +9 -0
  393. package/lib/typescript/module/src/modules/bt-management/services/devices/spo/oxyfit.device.d.ts.map +1 -0
  394. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +2 -2
  395. package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
  396. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.device.d.ts +15 -0
  397. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.device.d.ts.map +1 -0
  398. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts +8 -0
  399. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.frame-reader.d.ts.map +1 -0
  400. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts +17 -0
  401. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/mysense.sequencer.d.ts.map +1 -0
  402. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts +1 -1
  403. package/lib/typescript/module/src/modules/bt-management/services/devices/uebe/visomat.comfort-soft-bt.d.ts.map +1 -1
  404. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
  405. package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
  406. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts +1 -1
  407. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp-monitors.d.ts.map +1 -1
  408. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts +9 -0
  409. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-files.d.ts.map +1 -0
  410. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts +1 -1
  411. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.d.ts.map +1 -1
  412. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts +1 -1
  413. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.lepod.d.ts.map +1 -1
  414. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts +5 -8
  415. package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.oximeters.d.ts.map +1 -1
  416. package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts +2 -0
  417. package/lib/typescript/module/src/modules/bt-management/types/command-sequencer.d.ts.map +1 -1
  418. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -0
  419. package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
  420. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts +6 -4
  421. package/lib/typescript/module/src/modules/bt-management/types/custom-device-spec.d.ts.map +1 -1
  422. package/lib/typescript/module/src/modules/bt-management/types/custom-field-encoding.d.ts +2 -1
  423. package/lib/typescript/module/src/modules/bt-management/types/custom-field-encoding.d.ts.map +1 -1
  424. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts +10 -0
  425. package/lib/typescript/module/src/modules/bt-management/types/custom-lepu-spec.d.ts.map +1 -1
  426. package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts +5 -0
  427. package/lib/typescript/module/src/modules/bt-management/types/device-command.d.ts.map +1 -1
  428. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +5 -4
  429. package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
  430. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts +1 -0
  431. package/lib/typescript/module/src/modules/bt-management/types/integrated-devices.d.ts.map +1 -1
  432. package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts +1 -0
  433. package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
  434. package/lib/typescript/module/src/modules/bt-management/utils/create-custom-field-parser.d.ts.map +1 -1
  435. package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
  436. package/lib/typescript/module/src/modules/data-sync/utils/get-samples-from-health.d.ts.map +1 -1
  437. package/lib/typescript/module/src/modules/data-sync/utils/get-total-samples-count.d.ts.map +1 -1
  438. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts +3 -0
  439. package/lib/typescript/module/src/modules/data-sync/utils/health-units.d.ts.map +1 -0
  440. package/package.json +5 -3
@@ -49,7 +49,7 @@ const ER_HEART_RATE_BYTES = [7, 8];
49
49
  * reports a decoding failure on each poll. Reading those bits quietly needs a device class.
50
50
  */
51
51
  const declareRecorder = (advertisedName, profile, params) => lepuDevice({
52
- id: params.id,
52
+ id: params.id ?? `viatom-${advertisedName.toLowerCase().replace(/[^a-z0-9]+/g, "-")}`,
53
53
  nameMatch: params.nameMatch ?? lepuNameMatch(advertisedName),
54
54
  transport: profile.transport,
55
55
  pollCommand: profile.pollCommand,
@@ -70,7 +70,8 @@ const declareRecorder = (advertisedName, profile, params) => lepuDevice({
70
70
  }],
71
71
  ...(params.expectedDeviceTypes ? {
72
72
  expectedDeviceTypes: params.expectedDeviceTypes
73
- } : {})
73
+ } : {}),
74
+ fileTransfer: "ecg"
74
75
  });
75
76
 
76
77
  /** The ER1, and the handheld recorders sold under other names on the same protocol. */
@@ -1 +1 @@
1
- {"version":3,"names":["MeasurementTypeKey","lepuNameMatch","lepuDevice","RT_DATA","ER3_RT_DATA","HEART_RATE_UNIT","ER_HEART_RATE_BYTES","declareRecorder","advertisedName","profile","params","id","nameMatch","transport","pollCommand","minLengthBytes","heartRateBytes","caseSelectorBytes","cases","selector","toString","padStart","kind","measurementTypeKey","heartRate","description","fields","name","byteIndexes","byteOrder","encoding","unit","expectedDeviceTypes","er1Recorder","er2Recorder","er3Recorder","ER1_MODEL_NAMES","ER2_MODEL_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.ecg-recorders.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAG/C,SAASC,aAAa,QAAQ,4BAAyB;AACvD,SAASC,UAAU,QAA2B,4BAAyB;;AAEvE;AACA;AACA;AACA;AACA;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B,CAAC,GACnD,CAAC,CAAC;AACR,CAAC,CAAC;;AAEJ;AACA,MAAMC,WAAW,GAAGA,CAClBzB,cAAsB,EACtBE,MAAuB,KAEvBH,eAAe,CACbC,cAAc,EACd;EACEM,WAAW,EAAEX,OAAO;EACpBa,cAAc,EAAEV,mBAAmB;EACnCO,SAAS,EAAE;AACb,CAAC,EACDH,MACF,CAAC;;AAEH;AACA;AACA;AACA;AACA;AACA;AACA,MAAMwB,WAAW,GAAGA,CAClB1B,cAAsB,EACtBE,MAAuB,KAEvBH,eAAe,CACbC,cAAc,EACd;EACEM,WAAW,EAAEX,OAAO;EACpBa,cAAc,EAAEV,mBAAmB;EACnCO,SAAS,EAAE;AACb,CAAC,EACDH,MACF,CAAC;;AAEH;AACA,MAAMyB,WAAW,GAAGA,CAClB3B,cAAsB,EACtBE,MAAuB,KAEvBH,eAAe,CACbC,cAAc,EACd;EACEM,WAAW,EAAEV,WAAW;EACxBY,cAAc,EAAEV,mBAAmB;EACnCO,SAAS,EAAE;AACb,CAAC,EACDH,MACF,CAAC;;AAEH;AACA,MAAM0B,eAAkC,GAAG,CACzC,KAAK,EACL,OAAO,EACP,OAAO,EACP,OAAO,EACP,QAAQ,EACR,OAAO,EACP,MAAM,EACN,MAAM,CACP;;AAED;AACA,MAAMC,eAAkC,GAAG,CAAC,KAAK,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC;AAErF,SACEJ,WAAW,EACXG,eAAe,EACfF,WAAW,EACXG,eAAe,EACfF,WAAW","ignoreList":[]}
1
+ {"version":3,"names":["MeasurementTypeKey","lepuNameMatch","lepuDevice","RT_DATA","ER3_RT_DATA","HEART_RATE_UNIT","ER_HEART_RATE_BYTES","declareRecorder","advertisedName","profile","params","id","toLowerCase","replace","nameMatch","transport","pollCommand","minLengthBytes","heartRateBytes","caseSelectorBytes","cases","selector","toString","padStart","kind","measurementTypeKey","heartRate","description","fields","name","byteIndexes","byteOrder","encoding","unit","expectedDeviceTypes","fileTransfer","er1Recorder","er2Recorder","er3Recorder","ER1_MODEL_NAMES","ER2_MODEL_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.ecg-recorders.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAG/C,SAASC,aAAa,QAAQ,4BAAyB;AACvD,SAASC,UAAU,QAA2B,4BAAyB;;AAEvE;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAMC,OAAO,GAAG,IAAI;;AAEpB;AACA,MAAMC,WAAW,GAAG,IAAI;AAExB,MAAMC,eAAe,GAAG,KAAK;AAY7B;AACA,MAAMC,mBAAqC,GAAG,CAAC,CAAC,EAAE,CAAC,CAAC;AAoBpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAGA,CACtBC,cAAsB,EACtBC,OAAmB,EACnBC,MAAuB,KAEvBR,UAAU,CAAC;EACTS,EAAE,EAAED,MAAM,CAACC,EAAE,IAAI,UAAUH,cAAc,CAACI,WAAW,CAAC,CAAC,CAACC,OAAO,CAAC,aAAa,EAAE,GAAG,CAAC,EAAE;EACrFC,SAAS,EAAEJ,MAAM,CAACI,SAAS,IAAIb,aAAa,CAACO,cAAc,CAAC;EAC5DO,SAAS,EAAEN,OAAO,CAACM,SAAS;EAC5BC,WAAW,EAAEP,OAAO,CAACO,WAAW;EAChCC,cAAc,EAAER,OAAO,CAACS,cAAc,CAAC,CAAC,CAAC,GAAG,CAAC;EAC7CC,iBAAiB,EAAE,CAAC,CAAC,CAAC;EACtBC,KAAK,EAAE,CACL;IACEC,QAAQ,EAAEZ,OAAO,CAACO,WAAW,CAACM,QAAQ,CAAC,EAAE,CAAC,CAACC,QAAQ,CAAC,CAAC,EAAE,GAAG,CAAC;IAC3DC,IAAI,EAAE,QAA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E,OAAO,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,CAAC;AAErF,SACEJ,WAAW,EACXG,eAAe,EACfF,WAAW,EACXG,eAAe,EACfF,WAAW","ignoreList":[]}
@@ -88,8 +88,9 @@ const LEPOD_MEASUREMENTS = [{
88
88
  * byte, which a declaration cannot select on - reading them quietly needs a device class.
89
89
  */
90
90
  const lepodMonitor = (advertisedName, params) => lepuDevice({
91
- id: params.id,
91
+ id: params.id ?? `viatom-${advertisedName.toLowerCase().replace(/[^a-z0-9]+/g, "-")}`,
92
92
  nameMatch: params.nameMatch ?? lepuNameMatch(advertisedName),
93
+ fileTransfer: "ecg",
93
94
  pollCommand: RT_DATA,
94
95
  minLengthBytes: MIN_LENGTH_BYTES,
95
96
  caseSelectorBytes: [1],
@@ -1 +1 @@
1
- {"version":3,"names":["MeasurementTypeKey","lepuNameMatch","lepuDevice","RT_DATA","MIN_LENGTH_BYTES","HEART_RATE","RESPIRATION_RATE","BLOOD_OXYGEN","PULSE_RATE","PERFUSION_INDEX","TEMPERATURE","PERFUSION_SCALE","TEMPERATURE_SCALE","littleEndian","name","byteIndexes","unit","byteOrder","encoding","LEPOD_MEASUREMENTS","measurementTypeKey","bloodOxygenPulseRate","fields","scale","decimals","respiratoryRate","temperature","lepodMonitor","advertisedName","params","id","nameMatch","pollCommand","minLengthBytes","caseSelectorBytes","cases","selector","kind","heartRate","description","additionalMeasurements","map","each","expectedDeviceTypes","LEPOD_MODEL_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.lepod.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAK/C,SAASC,aAAa,QAAQ,4BAAyB;AACvD,SAASC,UAAU,QAAQ,4BAAyB;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAMC,OAAO,GAAG,IAAI;;AAEpB;AACA,MAAMC,gBAAgB,GAAG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_BYTES","HEART_RATE","RESPIRATION_RATE","BLOOD_OXYGEN","PULSE_RATE","PERFUSION_INDEX","TEMPERATURE","PERFUSION_SCALE","TEMPERATURE_SCALE","littleEndian","name","byteIndexes","unit","byteOrder","encoding","LEPOD_MEASUREMENTS","measurementTypeKey","bloodOxygenPulseRate","fields","scale","decimals","respiratoryRate","temperature","lepodMonitor","advertisedName","params","id","toLowerCase","replace","nameMatch","fileTransfer","pollCommand","minLengthBytes","caseSelectorBytes","cases","selector","kind","heartRate","description","additionalMeasurements","map","each","expectedDeviceTypes","LEPOD_MODEL_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.lepod.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAK/C,SAASC,aAAa,QAAQ,4BAAyB;AACvD,SAASC,UAAU,QAAQ,4BAAyB;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAMC,OAAO,GAAG,IAAI;;AAEpB;AACA,MAAMC,gBAAgB,GAAG,EAAE;;AAE3B;AACA,MAAMC,UAAU,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC;AAC3B,MAAMC,gBAAgB,GAAG,EAAE;AAC3B,MAAMC,YAAY,GAAG,EAAE;AACvB,MAAMC,UAAU,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC;AAC3B,MAAMC,eAAe,GAAG,EAAE;AAC1B,MAAMC,WAAW,GAAG,CAAC,EAAE,EAAE,EAAE,CAAC;;AAE5B;AACA,MAAMC,eAAe,GAAG,GAAG;AAC3B,MAAMC,iBAAiB,GAAG,IAAI;AAE9B,MAAMC,YAAY,GAAGA,CACnBC,IAAY,EACZC,WAAqB,EACrBC,IAAY,MACS;EACrBF,IAAI;EACJC,WAAW;EACXE,SAAS,EAAE,QAAQ;EACnBC,QAAQ,EAAE,MAAM;EAChBF;AACF,CAAC,CAAC;AAEF,MAAMG,kBAA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AAIhC,aAAa,CAAC2B,cAAc,CAAC;EAC5DM,YAAY,EAAE,KAAK;EACnBC,WAAW,EAAEhC,OAAO;EACpBiC,cAAc,EAAEhC,gBAAgB;EAChCiC,iBAAiB,EAAE,CAAC,CAAC,CAAC;EACtBC,KAAK,EAAE,CACL;IACEC,QAAQ,EAAE,IAAI;IACdC,IAAI,EAAE,QAAQ;IACdpB,kBAAkB,EAAEpB,kBAAkB,CAACyC,SAAS;IAChDC,WAAW,EAAE,8CAA8C;IAC3DpB,MAAM,EAAE,CAACT,YAAY,CAAC,WAAW,EAAER,UAAU,EAAE,KAAK,CAAC,CAAC;IACtDsC,sBAAsB,EAAExB,kBAAkB,CAACyB,GAAG,CAAEC,IAAI,KAAM;MACxD,GAAGA;IACL,CAAC,CAAC;EACJ,CAAC,CACF;EACD,IAAIhB,MAAM,CAACiB,mBAAmB,GAC1B;IAAEA,mBAAmB,EAAEjB,MAAM,CAACiB;EAAoB,CAAC,GACnD,CAAC,CAAC;AACR,CAAC,CAAC;;AAEJ;AACA,MAAMC,iBAAoC,GAAG,CAAC,OAAO,EAAE,UAAU,CAAC;AAElE,SAASA,iBAAiB,EAAEpB,YAAY","ignoreList":[]}
@@ -17,53 +17,68 @@ import { lepuDevice } from "../lepu/lepu.transports.js";
17
17
  /** Realtime parameters. A read: it reports what the sensor sees and starts nothing. */
18
18
  const RT_PARAM = 0x17;
19
19
 
20
- /** Only the command byte, because what makes a reading valid here is a bit, not a byte. */
21
- const CASE_SELECTOR_BYTES = [1];
20
+ /** Status, payload length, oxygen, pulse and sensor-state bytes distinguish these frames. */
21
+ const CASE_SELECTOR_BYTES = [1, 5, 6, 7, 8, 9, 18];
22
22
 
23
- /** Header plus the realtime parameters through the pulse rate. */
24
- const MIN_LENGTH_BYTES = 10;
23
+ /** Header plus the complete realtime response, including sensor state and checksum. */
24
+ const MIN_LENGTH_BYTES = 21;
25
25
  const PAYLOAD = 7;
26
26
  const SPOT_CHECK_TIMEOUT_MS = 60_000;
27
27
  /**
28
28
  * Declares one oximeter of the range.
29
29
  *
30
- * **A finger that is not in the sensor yields no reading, reported as an error.** The device
31
- * answers every poll whether or not it is measuring, and marks an unusable reading in two
32
- * bits of a status byte - which a declaration cannot read, because a case is selected by
33
- * whole bytes. What it can do is refuse the number: an oxygen saturation measured off the
34
- * finger falls outside the physiological range, so it is discarded rather than reported.
35
- * The reading is therefore never wrong, but a device left connected with nobody wearing it
36
- * reports a decoding failure on each poll. Reading those bits quietly needs a device class.
30
+ * The ViHealth wire protocol uses a distinct `AA` request / `55` response envelope. Replies
31
+ * carry a status byte rather than echoing the opcode, and the sensor state at byte 18 tells
32
+ * us whether the reading is usable. No-finger and acquiring frames are deliberately idle:
33
+ * they are normal states while the user puts the ring on, not decoding failures.
37
34
  */
38
- const viatomOximeter = (advertisedName, params) => lepuDevice({
39
- id: params.id,
40
- nameMatch: params.nameMatch ?? lepuNameMatch(advertisedName),
41
- stuckDataTimeoutMs: SPOT_CHECK_TIMEOUT_MS,
42
- pollCommand: RT_PARAM,
43
- minLengthBytes: MIN_LENGTH_BYTES,
44
- caseSelectorBytes: CASE_SELECTOR_BYTES,
45
- cases: [{
46
- selector: "17",
47
- kind: "result",
48
- measurementTypeKey: MeasurementTypeKey.bloodOxygenPulseRate,
49
- description: "Realtime parameters",
50
- fields: [{
51
- name: "bloodOxygen",
52
- byteIndexes: [PAYLOAD],
53
- encoding: "uint",
54
- unit: "%"
35
+ const viatomOximeter = (advertisedName, params) => {
36
+ const expectedDeviceTypes = params.expectedDeviceTypes ?? (advertisedName === "O2Ring" ? [1652] : advertisedName === "Oxyfit" ? [1654] : undefined);
37
+ return lepuDevice({
38
+ id: params.id ?? `viatom-${advertisedName.toLowerCase().replace(/[^a-z0-9]+/g, "-")}`,
39
+ nameMatch: params.nameMatch ?? lepuNameMatch(advertisedName),
40
+ stuckDataTimeoutMs: SPOT_CHECK_TIMEOUT_MS,
41
+ protocol: "viatom-oxygen",
42
+ setClockBeforeInfo: advertisedName === "O2Ring",
43
+ writeWithoutResponse: true,
44
+ pollCommand: RT_PARAM,
45
+ minLengthBytes: MIN_LENGTH_BYTES,
46
+ caseSelectorBytes: CASE_SELECTOR_BYTES,
47
+ cases: [{
48
+ selector: "000002????????",
49
+ kind: "idle",
50
+ description: "Device information response"
55
51
  }, {
56
- name: "pulseRate",
57
- byteIndexes: [PAYLOAD + 1, PAYLOAD + 2],
58
- byteOrder: "little",
59
- encoding: "uint",
60
- unit: "bpm"
61
- }]
62
- }],
63
- ...(params.expectedDeviceTypes ? {
64
- expectedDeviceTypes: params.expectedDeviceTypes
65
- } : {})
66
- });
52
+ selector: "000d00ffffff00",
53
+ kind: "idle",
54
+ description: "No finger detected"
55
+ }, {
56
+ selector: "000d0000000001",
57
+ kind: "idle",
58
+ description: "Sensor acquiring"
59
+ }, {
60
+ selector: "000d00??????01",
61
+ kind: "result",
62
+ measurementTypeKey: MeasurementTypeKey.bloodOxygenPulseRate,
63
+ description: "Realtime parameters",
64
+ fields: [{
65
+ name: "bloodOxygen",
66
+ byteIndexes: [PAYLOAD],
67
+ encoding: "uint",
68
+ unit: "%"
69
+ }, {
70
+ name: "pulseRate",
71
+ byteIndexes: [PAYLOAD + 1, PAYLOAD + 2],
72
+ byteOrder: "little",
73
+ encoding: "uint",
74
+ unit: "bpm"
75
+ }]
76
+ }],
77
+ ...(expectedDeviceTypes === undefined ? {} : {
78
+ expectedDeviceTypes
79
+ })
80
+ });
81
+ };
67
82
 
68
83
  /**
69
84
  * The names the oximeter range advertises.
@@ -1 +1 @@
1
- {"version":3,"names":["MeasurementTypeKey","lepuNameMatch","lepuDevice","RT_PARAM","CASE_SELECTOR_BYTES","MIN_LENGTH_BYTES","PAYLOAD","SPOT_CHECK_TIMEOUT_MS","viatomOximeter","advertisedName","params","id","nameMatch","stuckDataTimeoutMs","pollCommand","minLengthBytes","caseSelectorBytes","cases","selector","kind","measurementTypeKey","bloodOxygenPulseRate","description","fields","name","byteIndexes","encoding","unit","byteOrder","expectedDeviceTypes","VIATOM_OXIMETER_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.oximeters.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAG/C,SAASC,aAAa,QAAQ,4BAAyB;AACvD,SAASC,UAAU,QAAQ,4BAAyB;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAMC,QAAQ,GAAG,IAAI;;AAErB;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,CAAC;;AAE/B;AACA,MAAMC,gBAAgB,GAAG,EAAE;AAE3B,MAAMC,OAAO,GAAG,CAAC;AAEjB,MAAMC,qBAAqB,GAAG,MAAM;AAoBpC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,cAAc,GAAGA,CACrBC,cAAsB,EACtBC,MAA4B,KAE5BR,UAAU,CAAC;EACTS,EAAE,EAAED,MAAM,CAACC,EAAE;EACbC,SAAS,EAAEF,MAAM,CAACE,SAAS,IAAIX,aAAa,CAACQ,cAAc,CAAC;EAC5DI,kBAAkB,EAAEN,qBAAqB;EACzCO,WAAW,EAAEX,QAAQ;EACrBY,cAAc,EAAEV,gBAAgB;EAChCW,iBAAiB,EAAEZ,mBAAmB;EACtCa,KAAK,EAAE,CACL;IACEC,QAAQ,EAAE,IAAI;IACdC,IAAI,EAAE,QAAQ;IACdC,kBAAkB,EAAEpB,kBAAkB,CAACqB,oBAAoB;IAC3DC,WAAW,EAAE,qBAAqB;IAClCC,MAAM,EAAE,CACN;MACEC,IAAI,EAAE,aAAa;MACnBC,WAAW,EAAE,CAACnB,OAAO,CAAC;MACtBoB,QAAQ,EAAE,MAAM;MAChBC,IAAI,EAAE;IACR,CAAC,EACD;MACEH,IAAI,EAAE,WAAW;MACjBC,WAAW,EAAE,CAACnB,OAAO,GAAG,CAAC,EAAEA,OAAO,GAAG,CAAC,CAAC;MACvCsB,SAAS,EAAE,QAAQ;MACnBF,QAAQ,EAAE,MAAM;MAChBC,IAAI,EAAE;IACR,CAAC;EAEL,CAAC,CACF;EACD,IAAIjB,MAAM,CAACmB,mBAAmB,GAC1B;IAAEA,mBAAmB,EAAEnB,MAAM,CAACmB;EAAoB,CAAC,GACnD,CAAC,CAAC;AACR,CAAC,CAAC;;AAEJ;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,qBAAwC,GAAG,CAC/C,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,SAAS,EACT,UAAU,EACV,UAAU,EACV,QAAQ,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,WAAW,EACX,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,SAAS,EACT,QAAQ,CACT;AAED,SAASA,qBAAqB,EAAEtB,cAAc","ignoreList":[]}
1
+ {"version":3,"names":["MeasurementTypeKey","lepuNameMatch","lepuDevice","RT_PARAM","CASE_SELECTOR_BYTES","MIN_LENGTH_BYTES","PAYLOAD","SPOT_CHECK_TIMEOUT_MS","viatomOximeter","advertisedName","params","expectedDeviceTypes","undefined","id","toLowerCase","replace","nameMatch","stuckDataTimeoutMs","protocol","setClockBeforeInfo","writeWithoutResponse","pollCommand","minLengthBytes","caseSelectorBytes","cases","selector","kind","description","measurementTypeKey","bloodOxygenPulseRate","fields","name","byteIndexes","encoding","unit","byteOrder","VIATOM_OXIMETER_NAMES"],"sourceRoot":"../../../../../../../src","sources":["modules/bt-management/services/devices/viatom/viatom.oximeters.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,YAAY;AAG/C,SAASC,aAAa,QAAQ,4BAAyB;AACvD,SAASC,UAAU,QAAQ,4BAAyB;;AAEpD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,MAAMC,QAAQ,GAAG,IAAI;;AAErB;AACA,MAAMC,mBAAmB,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CA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ACdE,kBAAkB,EAAE5B,kBAAkB,CAAC6B,oBAAoB;MAC3DF,WAAW,EAAE,qBAAqB;MAClCG,MAAM,EAAE,CACN;QACEC,IAAI,EAAE,aAAa;QACnBC,WAAW,EAAE,CAAC1B,OAAO,CAAC;QACtB2B,QAAQ,EAAE,MAAM;QAChBC,IAAI,EAAE;MACR,CAAC,EACD;QACEH,IAAI,EAAE,WAAW;QACjBC,WAAW,EAAE,CAAC1B,OAAO,GAAG,CAAC,EAAEA,OAAO,GAAG,CAAC,CAAC;QACvC6B,SAAS,EAAE,QAAQ;QACnBF,QAAQ,EAAE,MAAM;QAChBC,IAAI,EAAE;MACR,CAAC;IAEL,CAAC,CACF;IACD,IAAIvB,mBAAmB,KAAKC,SAAS,GAAG,CAAC,CAAC,GAAG;MAAED;IAAoB,CAAC;EACtE,CAAC,CAAC;AACJ,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMyB,qBAAwC,GAAG,CAC/C,SAAS,EACT,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,SAAS,EACT,UAAU,EACV,UAAU,EACV,QAAQ,EACR,UAAU,EACV,WAAW,EACX,WAAW,EACX,WAAW,EACX,WAAW,EACX,SAAS,EACT,QAAQ,EACR,YAAY,EACZ,MAAM,EACN,SAAS,EACT,QAAQ,CACT;AAED,SAASA,qBAAqB,EAAE5B,cAAc","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/device-measurement-map.ts"],"mappings":";;AAWA,SAASA,iBAAiB,QAAQ,yBAAsB;;AA0BxD;AACA;AACA;AACA","ignoreList":[]}
1
+ {"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/device-measurement-map.ts"],"mappings":";;AAYA,SAASA,iBAAiB,QAAQ,yBAAsB;;AA2BxD;AACA;AACA;AACA","ignoreList":[]}
@@ -4,6 +4,7 @@ export let IntegratedDevices = /*#__PURE__*/function (IntegratedDevices) {
4
4
  IntegratedDevices["F4"] = "F4";
5
5
  IntegratedDevices["BP2"] = "BP2";
6
6
  IntegratedDevices["SPO2"] = "Oxyfit";
7
+ IntegratedDevices["MYSENSE"] = "mySense";
7
8
  IntegratedDevices["AOJ20A"] = "AOJ-20A";
8
9
  IntegratedDevices["PC60WF"] = "OxySmart";
9
10
  IntegratedDevices["TAIDOC_GLUCOSE"] = "TAIDOC TD4216";
@@ -1 +1 @@
1
- {"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/integrated-devices.ts"],"mappings":";;AAAA,WAAYA,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
1
+ {"version":3,"names":["IntegratedDevices"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/types/integrated-devices.ts"],"mappings":";;AAAA,WAAYA,iBAAiB,0BAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAjBA,iBAAiB;EAAA,OAAjBA,iBAAiB;AAAA","ignoreList":[]}
@@ -36,6 +36,9 @@ const toRaw = (hex, field) => {
36
36
  if (field.encoding === "float") {
37
37
  return decodeMedicalFloat(raw, 8, 24);
38
38
  }
39
+ if (field.encoding === "decimal-pair") {
40
+ return parseInt(hex.slice(0, 2), 16) + parseInt(hex.slice(2, 4), 16) / 100;
41
+ }
39
42
  return raw;
40
43
  };
41
44
 
@@ -1 +1 @@
1
- {"version":3,"names":["decodeMedicalFloat","HEX_ONLY","ASCII_ZERO","ASCII_NINE","HEX_BYTE","fromAsciiDigits","hex","codes","match","map","byte","parseInt","length","some","code","undefined","Number","join","toRaw","field","encoding","raw","bits","sign","createCustomFieldParser","assembledHex","toLowerCase","byteIndexes","test","isFinite","value","scale","offset","decimals","factor","Math","round"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/utils/create-custom-field-parser.ts"],"mappings":";;AAEA,SAASA,kBAAkB,QAAQ,2BAAwB;AAE3D,MAAMC,QAAQ,GAAG,aAAa;AAE9B,MAAMC,UAAU,GAAG,IAAI;AACvB,MAAMC,UAAU,GAAG,IAAI;AACvB,MAAMC,QAAQ,GAAG,KAAK;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAIC,GAAW,IAAyB;EAC3D,MAAMC,KAAK,GAAG,CAACD,GAAG,CAACE,KAAK,CAACJ,QAAQ,CAAC,IAAI,EAAE,EAAEK,GAAG,CAAEC,IAAI,IAAKC,QAAQ,CAACD,IAAI,EAAE,EAAE,CAAC,CAAC;EAE3E,IACEH,KAAK,CAACK,MAAM,KAAK,CAAC,IAClBL,KAAK,CAACM,IAAI,CAAEC,IAAI,IAAKA,IAAI,GAAGZ,UAAU,IAAIY,IAAI,GAAGX,UAAU,CAAC,EAC5D;IACA,OAAOY,SAAS;E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EACnB;IACA,OAAOS,SAAS;EAClB;EAEA,MAAMM,GAAG,GAAGH,KAAK,CAACZ,GAAG,EAAEa,KAAK,CAAC;EAE7B,IAAIE,GAAG,KAAKN,SAAS,IAAI,CAACC,MAAM,CAACa,QAAQ,CAACR,GAAG,CAAC,EAAE;IAC9C,OAAON,SAAS;EAClB;EAEA,MAAMe,KAAK,GAAGT,GAAG,GAAGF,KAAK,CAACY,KAAK,GAAGZ,KAAK,CAACa,MAAM;EAE9C,IAAI,CAAChB,MAAM,CAACa,QAAQ,CAACC,KAAK,CAAC,EAAE;IAC3B,OAAOf,SAAS;EAClB;EAEA,IAAII,KAAK,CAACc,QAAQ,KAAKlB,SAAS,EAAE;IAChC,OAAOe,KAAK;EACd;EAEA,MAAMI,MAAM,GAAG,EAAE,IAAIf,KAAK,CAACc,QAAQ;EAEnC,OAAOE,IAAI,CAACC,KAAK,CAACN,KAAK,GAAGI,MAAM,CAAC,GAAGA,MAAM;AAC5C,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["decodeMedicalFloat","HEX_ONLY","ASCII_ZERO","ASCII_NINE","HEX_BYTE","fromAsciiDigits","hex","codes","match","map","byte","parseInt","length","some","code","undefined","Number","join","toRaw","field","encoding","raw","bits","sign","slice","createCustomFieldParser","assembledHex","toLowerCase","byteIndexes","test","isFinite","value","scale","offset","decimals","factor","Math","round"],"sourceRoot":"../../../../../src","sources":["modules/bt-management/utils/create-custom-field-parser.ts"],"mappings":";;AAEA,SAASA,kBAAkB,QAAQ,2BAAwB;AAE3D,MAAMC,QAAQ,GAAG,aAAa;AAE9B,MAAMC,UAAU,GAAG,IAAI;AACvB,MAAMC,UAAU,GAAG,IAAI;AACvB,MAAMC,QAAQ,GAAG,KAAK;;AAEtB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAMC,eAAe,GAAIC,GAAW,IAAyB;EAC3D,MAAMC,KAAK,GAAG,CAACD,GAAG,CAACE,KAAK,CAACJ,QAAQ,CAAC,IAAI,EAAE,E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AE,CAAC,CAAC,EAAE,EAAE,CAAC,GAAGb,QAAQ,CAACL,GAAG,CAACkB,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC,GAAG,GAAG;EAC5E;EAEA,OAAOH,GAAG;AACZ,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,OAAO,MAAMI,uBAAuB,GACjCN,KAA0B,IAC1BO,YAAoB,IAAyB;EAC5C,MAAMpB,GAAG,GAAG,CAACoB,YAAY,IAAI,EAAE,EAAEC,WAAW,CAAC,CAAC;EAE9C,IACErB,GAAG,CAACM,MAAM,KAAKO,KAAK,CAACS,WAAW,CAAChB,MAAM,GAAG,CAAC,IAC3C,CAACX,QAAQ,CAAC4B,IAAI,CAACvB,GAAG,CAAC,EACnB;IACA,OAAOS,SAAS;EAClB;EAEA,MAAMM,GAAG,GAAGH,KAAK,CAACZ,GAAG,EAAEa,KAAK,CAAC;EAE7B,IAAIE,GAAG,KAAKN,SAAS,IAAI,CAACC,MAAM,CAACc,QAAQ,CAACT,GAAG,CAAC,EAAE;IAC9C,OAAON,SAAS;EAClB;EAEA,MAAMgB,KAAK,GAAGV,GAAG,GAAGF,KAAK,CAACa,KAAK,GAAGb,KAAK,CAACc,MAAM;EAE9C,IAAI,CAACjB,MAAM,CAACc,QAAQ,CAACC,KAAK,CAAC,EAAE;IAC3B,OAAOhB,SAAS;EAClB;EAEA,IAAII,KAAK,CAACe,QAAQ,KAAKnB,SAAS,EAAE;IAChC,OAAOgB,KAAK;EACd;EAEA,MAAMI,MAAM,GAAG,EAAE,IAAIhB,KAAK,CAACe,QAAQ;EAEnC,OAAOE,IAAI,CAACC,KAAK,CAACN,KAAK,GAAGI,MAAM,CAAC,GAAGA,MAAM;AAC5C,CAAC","ignoreList":[]}
@@ -1,5 +1,6 @@
1
1
  "use strict";
2
2
 
3
+ import { MeasurementTypeKey } from "@ovok/core";
3
4
  import { generateObservationEntry } from "../../utils/generate-observation-entry.js";
4
5
  import { getLatestObservationDatesByCode } from "../../utils/get-latest-observation-dates-by-code.js";
5
6
  import { getLatestValidStartDate } from "../../utils/get-latest-valid-start-date.js";
@@ -54,8 +55,16 @@ export class DataProcessor {
54
55
  const newAnchors = results.map(result => result.anchor).flat().filter(Boolean);
55
56
  this.storageManager.saveAnchors(newAnchors);
56
57
  const allData = results.flatMap(result => result.data);
57
- const observationBodies = await Promise.all(allData.map(data => this.getConverterFunction({
58
- data: [data],
58
+ const dataGroups = this.provider === "apple-health" && measurementTypeKey === MeasurementTypeKey.bloodPressure ? Array.from(allData.reduce((groups, sample) => {
59
+ const value = sample;
60
+ const key = `${new Date(value.startDate ?? 0).getTime()}:${new Date(value.endDate ?? value.startDate ?? 0).getTime()}`;
61
+ const group = groups.get(key) ?? [];
62
+ group.push(sample);
63
+ groups.set(key, group);
64
+ return groups;
65
+ }, new Map()).values()) : allData.map(data => [data]);
66
+ const observationBodies = await Promise.all(dataGroups.map(group => this.getConverterFunction({
67
+ data: group,
59
68
  client: this.client,
60
69
  measurementTypeKey
61
70
  })));
@@ -1 +1 @@
1
- {"version":3,"names":["generateObservationEntry","getLatestObservationDatesByCode","getLatestValidStartDate","DataProcessor","constructor","client","patientId","provider","chunkSize","storageManager","getTotalCountsFunction","getDataFromProviderFunction","getConverterFunction","extractCodes","dataToSync","Object","values","flatMap","data","typeIdentifiers","map","identifier","code","getLatestObservationDates","codes","getTotalRecordsCountForType","latestValidStartDate","totalCounts","Promise","all","typeIdentifier","anchor","getAnchor","startDate","toISOString","reduce","acc","count","getObservationBodiesForType","measurementTypeKey","results","newAnchors","result","flat","filter","Boolean","saveAnchors","allData","observationBodies","hasAnchor","length","generateObservationEntries","groupedObservationBodies","latestObservationDates"],"sourceRoot":"../../../../../../src","sources":["modules/data-sync/services/managers/data-processor.ts"],"mappings":";;AAaA,SAASA,wBAAwB,QAAQ,2CAAwC;AACjF,SAASC,+BAA+B,QAAQ,qDAAkD;AAClG,SAASC,uBAAuB,QAAQ,4C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AI,EAAE,CAACA,IAAI,CAAC;MACZb,MAAM,EAAE,IAAI,CAACA,MAAM;MACnBkC;IACF,CAAC,CACH,CACF,CAAC;IAED,OAAO;MAAES,iBAAiB;MAAEC,SAAS,EAAER,UAAU,CAACS,MAAM,GAAG;IAAE,CAAC;EAChE;EAEAC,0BAA0BA,CAACH,iBAAkC,EAAE;IAC7D,OAAOhD,wBAAwB,CAAC;MAC9BoD,wBAAwB,EAAEJ,iBAAiB;MAC3CzC,QAAQ,EAAE,IAAI,CAACA;IACjB,CAAC,CAAC;EACJ;EAEAL,uBAAuBA,CACrBmD,sBAGE,EACFnC,IAA8C,EAC5B;IAClB,OAAOhB,uBAAuB,CAAC;MAC7BmD,sBAAsB;MACtBnC,IAAI,EAAEA;IACR,CAAC,CAAC;EACJ;AACF","ignoreList":[]}
1
+ {"version":3,"names":["MeasurementTypeKey","generateObservationEntry","getLatestObservationDatesByCode","getLatestValidStartDate","DataProcessor","constructor","client","patientId","provider","chunkSize","storageManager","getTotalCountsFunction","getDataFromProviderFunction","getConverterFunction","extractCodes","dataToSync","Object","values","flatMap","data","typeIdentifiers","map","identifier","code","getLatestObservationDates","codes","getTotalRecordsCountForType","latestValidStartDate","totalCounts","Promise","all","typeIdentifier","anchor","getAnchor","startDate","toISOString","reduce","acc","count","getObservationBodiesForType","measurementTypeKey","results","newAnchors","result","flat","filter","Boolean","saveAnchors","allData","dataGroups","bloodPressure","Array","from","groups","sample","value","key","Date","getTime","endDate","group","get","push","set","Map","observationBodies","hasAnchor","length","generateObservationEntries","groupedObservationBodies","latestObservationDates"],"sourceRoot":"../../../../../../src","sources":["modules/data-sync/services/managers/data-processor.ts"],"mappings":";;AAEA,SAASA,kBAAkB,QAAqC,YAAY;AAW5E,SAASC,wBAAwB,QAAQ,2CAAwC;AACjF,SAASC,+BAA+B,QAAQ,qDAAkD;AAClG,SAASC,uBAAuB,QAAQ,4CAAyC;AAIjF,OAAO,MAAMC,aAAa,CAMxB;EACAC,WAAWA,CACDC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C,CAAC;EACJ;AACF","ignoreList":[]}
@@ -2,6 +2,7 @@
2
2
 
3
3
  import Healthkit from "@kingstinct/react-native-healthkit";
4
4
  import { addSeconds } from "date-fns";
5
+ import { healthUnitFor } from "./health-units.js";
5
6
  export const getSamplesFromHealth = async ({
6
7
  startDate: _startDate,
7
8
  typeIdentifier,
@@ -18,7 +19,8 @@ export const getSamplesFromHealth = async ({
18
19
  from: startDate,
19
20
  to: endDate,
20
21
  limit: chunkSize,
21
- anchor
22
+ anchor,
23
+ unit: healthUnitFor(typeIdentifier)
22
24
  });
23
25
  if (samples.length === 0 && deletedSamples.length === 0) {
24
26
  return {
@@ -1 +1 @@
1
- {"version":3,"names":["Healthkit","addSeconds","getSamplesFromHealth","startDate","_startDate","typeIdentifier","anchor","chunkSize","undefined","endDate","Date","samples","deletedSamples","newAnchor","queryQuantitySamplesWithAnchor","from","to","limit","length","data"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/get-samples-from-health.ts"],"mappings":";;AAAA,OAAOA,SAAS,MAGT,oCAAoC;AAC3C,SAASC,UAAU,QAAQ,UAAU;AAIrC,OAAO,MAAMC,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,SAAS,EAAEC,UAAU;EACrBC,cAAc;EACdC,MAAM;EACNC,SAAS,GAAG;AACsC,CAAC,KAAK;EACxD,MAAMJ,SAAS,GAAGC,UAAU,GAAGH,UAAU,CAACG,UAAU,EAAE,CAAC,CAAC,GAAGI,SAAS;EAEpE,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAAC,CAAC;EAE1B,MAAM;IAAEC,OAAO;IAAEC,cAAc;IAAEC;EAAU,CAAC,GAC1C,MAAMb,SAAS,CAACc,8BAA8B,CAACT,cAAc,EAAE;IAC7DU,IAAI,EAAEZ,SAAS;IACfa,EAAE,EAAEP,OAAO;IACXQ,KAAK,EAAEV,SAAS;IAChBD;EACF,CAAC,CAAC;EAEJ,IAAIK,OAAO,CAACO,MAAM,KAAK,CAAC,IAAIN,cAAc,CAACM,MAAM,KAAK,CAAC,EAAE;IACvD,OAAO;MACLC,IAAI,EAAE,EAAkD;MACxDb,MAAM,EAAEE;IACV,CAAC;EACH;EAEA,OAAO;IACLW,IAAI,EAAER,OAAuD;IAC7DL,MAAM,EAAEO,SAAS,GACb;MACER,cAAc;MACdC,MAAM,EAAEO;IACV,CAAC,GACDL;EACN,CAAC;AACH,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Healthkit","addSeconds","healthUnitFor","getSamplesFromHealth","startDate","_startDate","typeIdentifier","anchor","chunkSize","undefined","endDate","Date","samples","deletedSamples","newAnchor","queryQuantitySamplesWithAnchor","from","to","limit","unit","length","data"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/get-samples-from-health.ts"],"mappings":";;AAAA,OAAOA,SAAS,MAGT,oCAAoC;AAC3C,SAASC,UAAU,QAAQ,UAAU;AAIrC,SAASC,aAAa,QAAQ,mBAAgB;AAE9C,OAAO,MAAMC,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,SAAS,EAAEC,UAAU;EACrBC,cAAc;EACdC,MAAM;EACNC,SAAS,GAAG;AACsC,CAAC,KAAK;EACxD,MAAMJ,SAAS,GAAGC,UAAU,GAAGJ,UAAU,CAACI,UAAU,EAAE,CAAC,CAAC,GAAGI,SAAS;EAEpE,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAAC,CAAC;EAE1B,MAAM;IAAEC,OAAO;IAAEC,cAAc;IAAEC;EAAU,CAAC,GAC1C,MAAMd,SAAS,CAACe,8BAA8B,CAACT,cAAc,EAAE;IAC7DU,IAAI,EAAEZ,SAAS;IACfa,EAAE,EAAEP,OAAO;IACXQ,KAAK,EAAEV,SAAS;IAChBD,MAAM;IACNY,IAAI,EAAEjB,aAAa,CAACI,cAAc;EACpC,CAAC,CAAC;EAEJ,IAAIM,OAAO,CAACQ,MAAM,KAAK,CAAC,IAAIP,cAAc,CAACO,MAAM,KAAK,CAAC,EAAE;IACvD,OAAO;MACLC,IAAI,EAAE,EAAkD;MACxDd,MAAM,EAAEE;IACV,CAAC;EACH;EAEA,OAAO;IACLY,IAAI,EAAET,OAAuD;IAC7DL,MAAM,EAAEO,SAAS,GACb;MACER,cAAc;MACdC,MAAM,EAAEO;IACV,CAAC,GACDL;EACN,CAAC;AACH,CAAC","ignoreList":[]}
@@ -2,6 +2,7 @@
2
2
 
3
3
  import Healthkit from "@kingstinct/react-native-healthkit";
4
4
  import { addSeconds } from "date-fns";
5
+ import { healthUnitFor } from "./health-units.js";
5
6
  export const getTotalSamplesCount = async ({
6
7
  typeIdentifier,
7
8
  startDate: _startDate,
@@ -13,7 +14,8 @@ export const getTotalSamplesCount = async ({
13
14
  const result = await Healthkit.queryQuantitySamplesWithAnchor(typeIdentifier, {
14
15
  from: startDate,
15
16
  to: endDate,
16
- anchor
17
+ anchor,
18
+ unit: healthUnitFor(typeIdentifier)
17
19
  });
18
20
  if (!result || !result.samples) {
19
21
  return 0;
@@ -1 +1 @@
1
- {"version":3,"names":["Healthkit","addSeconds","getTotalSamplesCount","typeIdentifier","startDate","_startDate","anchor","undefined","endDate","Date","result","queryQuantitySamplesWithAnchor","from","to","samples","totalSamples","length"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/get-total-samples-count.ts"],"mappings":";;AAAA,OAAOA,SAAS,MAET,oCAAoC;AAC3C,SAASC,UAAU,QAAQ,UAAU;AAQrC,OAAO,MAAMC,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,cAAc;EACdC,SAAS,EAAEC,UAAU;EACrBC;AACyB,CAAC,KAAsB;EAChD,MAAMF,SAAS,GAAGC,UAAU,GAAGJ,UAAU,CAACI,UAAU,EAAE,CAAC,CAAC,GAAGE,SAAS;EAEpE,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAAC,CAAC;EAE1B,IAAI;IACF,MAAMC,MAAM,GAAG,MAAMV,SAAS,CAACW,8BAA8B,CAC3DR,cAAc,EACd;MACES,IAAI,EAAER,SAAS;MACfS,EAAE,EAAEL,OAAO;MACXF;IACF,CACF,CAAC;IAED,IAAI,CAACI,MAAM,IAAI,CAACA,MAAM,CAACI,OAAO,EAAE;MAC9B,OAAO,CAAC;IACV;IAEA,MAAM;MAAEA,OAAO,EAAEC;IAAa,CAAC,GAAGL,MAAM;IAExC,OAAOK,YAAY,CAACC,MAAM;EAC5B,CAAC,CAAC,MAAM;IACN;IACA,OAAO,CAAC;EACV;AACF,CAAC","ignoreList":[]}
1
+ {"version":3,"names":["Healthkit","addSeconds","healthUnitFor","getTotalSamplesCount","typeIdentifier","startDate","_startDate","anchor","undefined","endDate","Date","result","queryQuantitySamplesWithAnchor","from","to","unit","samples","totalSamples","length"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/get-total-samples-count.ts"],"mappings":";;AAAA,OAAOA,SAAS,MAET,oCAAoC;AAC3C,SAASC,UAAU,QAAQ,UAAU;AAErC,SAASC,aAAa,QAAQ,mBAAgB;AAQ9C,OAAO,MAAMC,oBAAoB,GAAG,MAAAA,CAAO;EACzCC,cAAc;EACdC,SAAS,EAAEC,UAAU;EACrBC;AACyB,CAAC,KAAsB;EAChD,MAAMF,SAAS,GAAGC,UAAU,GAAGL,UAAU,CAACK,UAAU,EAAE,CAAC,CAAC,GAAGE,SAAS;EAEpE,MAAMC,OAAO,GAAG,IAAIC,IAAI,CAAC,CAAC;EAE1B,IAAI;IACF,MAAMC,MAAM,GAAG,MAAMX,SAAS,CAACY,8BAA8B,CAC3DR,cAAc,EACd;MACES,IAAI,EAAER,SAAS;MACfS,EAAE,EAAEL,OAAO;MACXF,MAAM;MACNQ,IAAI,EAAEb,aAAa,CAACE,cAAc;IACpC,CACF,CAAC;IAED,IAAI,CAACO,MAAM,IAAI,CAACA,MAAM,CAACK,OAAO,EAAE;MAC9B,OAAO,CAAC;IACV;IAEA,MAAM;MAAEA,OAAO,EAAEC;IAAa,CAAC,GAAGN,MAAM;IAExC,OAAOM,YAAY,CAACC,MAAM;EAC5B,CAAC,CAAC,MAAM;IACN;IACA,OAAO,CAAC;EACV;AACF,CAAC","ignoreList":[]}
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+
3
+ import { HKQuantityTypeIdentifier } from "@kingstinct/react-native-healthkit";
4
+ const HEALTH_UNITS = {
5
+ [HKQuantityTypeIdentifier.bodyMass]: "kg",
6
+ [HKQuantityTypeIdentifier.bodyTemperature]: "degC",
7
+ [HKQuantityTypeIdentifier.basalBodyTemperature]: "degC",
8
+ [HKQuantityTypeIdentifier.bloodPressureSystolic]: "mmHg",
9
+ [HKQuantityTypeIdentifier.bloodPressureDiastolic]: "mmHg",
10
+ [HKQuantityTypeIdentifier.bloodGlucose]: "mg/dL",
11
+ [HKQuantityTypeIdentifier.oxygenSaturation]: "%",
12
+ [HKQuantityTypeIdentifier.heartRate]: "count/min",
13
+ [HKQuantityTypeIdentifier.restingHeartRate]: "count/min",
14
+ [HKQuantityTypeIdentifier.walkingHeartRateAverage]: "count/min"
15
+ };
16
+ export const healthUnitFor = typeIdentifier => HEALTH_UNITS[typeIdentifier];
17
+ //# sourceMappingURL=health-units.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["HKQuantityTypeIdentifier","HEALTH_UNITS","bodyMass","bodyTemperature","basalBodyTemperature","bloodPressureSystolic","bloodPressureDiastolic","bloodGlucose","oxygenSaturation","heartRate","restingHeartRate","walkingHeartRateAverage","healthUnitFor","typeIdentifier"],"sourceRoot":"../../../../../src","sources":["modules/data-sync/utils/health-units.ts"],"mappings":";;AAAA,SACEA,wBAAwB,QAEnB,oCAAoC;AAE3C,MAAMC,YAA+D,GAAG;EACtE,CAACD,wBAAwB,CAACE,QAAQ,GAAG,IAAI;EACzC,CAACF,wBAAwB,CAACG,eAAe,GAAG,MAAM;EAClD,CAACH,wBAAwB,CAACI,oBAAoB,GAAG,MAAM;EACvD,CAACJ,wBAAwB,CAACK,qBAAqB,GAAG,MAAM;EACxD,CAACL,wBAAwB,CAACM,sBAAsB,GAAG,MAAM;EACzD,CAACN,wBAAwB,CAACO,YAAY,GAAG,OAAO;EAChD,CAACP,wBAAwB,CAACQ,gBAAgB,GAAG,GAAG;EAChD,CAACR,wBAAwB,CAACS,SAAS,GAAG,WAAW;EACjD,CAACT,wBAAwB,CAACU,gBAAgB,GAAG,WAAW;EACxD,CAACV,wBAAwB,CAACW,uBAAuB,GAAG;AACtD,CAAC;AAED,OAAO,MAAMC,aAAa,GACxBC,cAAiB,IAEjBZ,YAAY,CAACY,cAAc,CAAqC","ignoreList":[]}
@@ -1 +1 @@
1
- {"version":3,"file":"apple-login-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/social-logins/apple-login-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,gBAAgB,GAAI,iFAS9B,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,6BAyF1C,CAAC"}
1
+ {"version":3,"file":"apple-login-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/social-logins/apple-login-button.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,eAAO,MAAM,gBAAgB,GAAI,iFAS9B,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,6BAkG1C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"google-login-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/social-logins/google-login-button.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,eAAO,MAAM,iBAAiB,GAAI,uHAW/B,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,sBAoG3C,CAAC"}
1
+ {"version":3,"file":"google-login-button.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/social-logins/google-login-button.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,OAAO,EAAE,gBAAgB,EAAE,MAAM,gCAAgC,CAAC;AAElE,eAAO,MAAM,iBAAiB,GAAI,uHAW/B,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,sBA0G3C,CAAC"}
@@ -1,3 +1,3 @@
1
- import { IntegratedDevices } from "../../bt-management";
1
+ import { IntegratedDevices } from "../../bt-management/types/integrated-devices";
2
2
  export declare const DEVICE_INSTRUCTION_PDFS: Record<IntegratedDevices, string>;
3
3
  //# sourceMappingURL=device-instruction-pdfs.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"device-instruction-pdfs.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-instruction-pdfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAOxD,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAsBrE,CAAC"}
1
+ {"version":3,"file":"device-instruction-pdfs.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-instruction-pdfs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8CAA8C,CAAC;AAOjF,eAAO,MAAM,uBAAuB,EAAE,MAAM,CAAC,iBAAiB,EAAE,MAAM,CAuBrE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"device-list-items.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-list-items.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,eAAO,MAAM,eAAe,EAAE,cAAc,EA0G3C,CAAC"}
1
+ {"version":3,"file":"device-list-items.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/device-list-items.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAI3D,eAAO,MAAM,eAAe,EAAE,cAAc,EAsJ3C,CAAC"}
@@ -0,0 +1,33 @@
1
+ declare const verovalBpu26Image = "https://cdn.hartmann.info/product/40938_43.jpg";
2
+ declare const verovalBpw26Image = "https://cdn.hartmann.info/product/40385_43.jpg";
3
+ declare const bosoMedicusSystemImage = "https://www.boso.de/fileadmin/_processed_/0/b/csm_medicus_system_1019_9ce057ffcc.png";
4
+ declare const visomatComfortSoftBtImage = "https://www.visomat.de/wp-content/uploads/2023/10/prd_slider_comfort-soft-BT.jpg";
5
+ declare const cyclotestMySenseImage = "https://www.cyclotest.de/wp-content/uploads/cyclotest-mysense-basalthermometer-app-unfruchtbar-flex.png";
6
+ declare const viatomBp2Image = "https://static.wixstatic.com/media/34caa4_9f911afc220e4832a17af0b44e515915~mv2.jpg/v1/crop/x_0,y_2,w_380,h_380/fill/w_532,h_532,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/BP2.jpg";
7
+ declare const viatomBp3Image = "https://static.wixstatic.com/media/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg/v1/fill/w_2500,h_1666,al_c/c3f028_2bf2ec93f3284fff868b2786a64bc8cc~mv2.jpg";
8
+ declare const viatomF4Image = "https://static.wixstatic.com/media/5118d8_190c0d815e2445b28baa9ca15cbb71fc~mv2.png/v1/fill/w_608,h_608,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/F4%20body%20scale.png";
9
+ declare const viatomO2RingImage = "https://static.wixstatic.com/media/5118d8_5424b9d2006a4e918e2f9afc2f038f37~mv2.png/v1/fill/w_492,h_492,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/O2ring_edited_edited_edited.png";
10
+ declare const viatomEr1Image = "https://static.wixstatic.com/media/c3f028_1cde982861754abaab00abbaae81a697~mv2.png/v1/fill/w_586,h_586,al_c,q_95,usm_0.66_1.00_0.01,enc_avif,quality_auto/ER1-LW.png";
11
+ declare const viatomAojImage = "https://static.wixstatic.com/media/34caa4_2b929fc2abc847bba39252b6e2a12a93~mv2.jpg/v1/fill/w_540,h_540,al_c,lg_1,q_90,usm_0.66_1.00_0.01,enc_avif,quality_auto/AOJ.jpg";
12
+ declare const bundledAssetCredit = "OVOK Mobile SDK bundled image asset: src/modules/bt-device/constants/device-images.ts";
13
+ declare const hartmannDuoControlCredit = "HARTMANN official product image: https://www.hartmann.info/en-za/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-duo-control";
14
+ declare const hartmannEcgCredit = "HARTMANN official product image: https://www.hartmann.info/es-es/productos/monitorizaci%C3%B3n/electrocardiograma/veroval%C2%AE-ecg";
15
+ declare const hartmannBpu26Credit = "HARTMANN official product image: https://www.hartmann.info/en/products/diagnostics/blood-pressure-monitors/upper-arm-products/veroval%C2%AE-compact-%2C-pl-%2C-upper-arm-blood-pressure-monitor";
16
+ declare const hartmannBpw26Credit = "HARTMANN official product image: https://www.hartmann.info/en/products/diagnostics/blood-pressure-monitors/wrist-products/veroval%C2%AE-compact-%2C-pl-%2C-wrist-blood-pressure-monitor";
17
+ declare const bosoMedicusSystemCredit = "boso official product image: https://www.boso.de/en/products-for-home-users/blood-pressure-instruments/boso-medicus-system";
18
+ declare const visomatComfortSoftBtCredit = "visomat official product image: https://www.visomat.de/produkte/comfort-soft-bt/";
19
+ declare const cyclotestMySenseCredit = "cyclotest official product image: https://www.cyclotest.de/produkt/cyclotest-mysense-basalthermometer/";
20
+ declare const viatomBloodPressureCredit = "Viatom official product image: https://www.viatomtech.com/blood-pressure-monitor";
21
+ declare const viatomBp3Credit = "Viatom official product image: https://www.viatomtech.com/upper-arm-desk-blood-pressure-monitor";
22
+ declare const viatomBodyScaleCredit = "Viatom official product image: https://www.viatomtech.com/bodyscale";
23
+ declare const viatomOximeterCredit = "Viatom official product image: https://www.viatomtech.com/pulse-oximeter";
24
+ declare const viatomEcgCredit = "Viatom official product image: https://www.viatomtech.com/ecg-ekg-monitor";
25
+ declare const aojCredit = "Viatom official product image: https://www.viatomtech.com/thermometer";
26
+ declare const taidocCredit = "TaiDoc official product catalogue: https://taidoc.com/downloads/";
27
+ declare const foraCredit = "FORA official support materials: https://foracare.com/support/";
28
+ declare const cosinussCredit = "cosinuss\u00B0 official product page: https://www.cosinuss.com/en/products/in-ear-sensors/one/";
29
+ declare const alivecorCredit = "AliveCor official KardiaMobile product page: https://www.alivecor.com/kardiamobile";
30
+ declare const contecCredit = "Contec official BC401 product page: https://contechealth.com/collections/hot-sales/products/contec-bc401-handheld-urine-analyzer-11-parameter-600pcs-test-strip-bluetooth";
31
+ declare const transtekCredit = "Transtek official product page: https://www.transtekmed.com/product/transtek-body-scale-gbs-2012-b1";
32
+ export { alivecorCredit, aojCredit, bosoMedicusSystemCredit, bosoMedicusSystemImage, bundledAssetCredit, contecCredit, cosinussCredit, cyclotestMySenseCredit, cyclotestMySenseImage, foraCredit, hartmannBpu26Credit, hartmannBpw26Credit, hartmannDuoControlCredit, hartmannEcgCredit, taidocCredit, transtekCredit, viatomAojImage, viatomBodyScaleCredit, viatomBp2Image, viatomBp3Credit, viatomBp3Image, viatomBloodPressureCredit, viatomEcgCredit, viatomEr1Image, viatomF4Image, viatomO2RingImage, viatomOximeterCredit, verovalBpu26Image, verovalBpw26Image, visomatComfortSoftBtCredit, visomatComfortSoftBtImage, };
33
+ //# sourceMappingURL=supported-device-catalog-assets.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-device-catalog-assets.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-assets.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,iBAAiB,mDAAmD,CAAC;AAE3E,QAAA,MAAM,iBAAiB,mDAAmD,CAAC;AAE3E,QAAA,MAAM,sBAAsB,yFAC4D,CAAC;AAEzF,QAAA,MAAM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UAAU,EACV,mBAAmB,EACnB,mBAAmB,EACnB,wBAAwB,EACxB,iBAAiB,EACjB,YAAY,EACZ,cAAc,EACd,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,eAAe,EACf,cAAc,EACd,yBAAyB,EACzB,eAAe,EACf,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,oBAAoB,EACpB,iBAAiB,EACjB,iBAAiB,EACjB,0BAA0B,EAC1B,yBAAyB,GAC1B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { SupportedDevice } from "./supported-devices";
2
+ export declare const additionalSupportedDevices: readonly [SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, SupportedDevice, ...SupportedDevice[]];
3
+ //# sourceMappingURL=supported-device-catalog-entries.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"supported-device-catalog-entries.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/bt-device/constants/supported-device-catalog-entries.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAuF3D,eAAO,MAAM,0BAA0B,8PA0GQ,CAAC"}