@ovok/native 1.16.1-dev.2095 → 1.16.1-dev.2099
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.
- package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js +6 -12
- package/lib/commonjs/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-delete-account.js +5 -8
- package/lib/commonjs/modules/auth/hooks/use-delete-account.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-session.js +150 -28
- package/lib/commonjs/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-sign-in.js +5 -23
- package/lib/commonjs/modules/auth/hooks/use-sign-in.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-sign-out.js +2 -2
- package/lib/commonjs/modules/auth/hooks/use-sign-out.js.map +1 -1
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js +4 -9
- package/lib/commonjs/modules/auth/hooks/use-social-sign-in.js.map +1 -1
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js +25 -11
- package/lib/commonjs/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js +19 -20
- package/lib/commonjs/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/commonjs/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/session/logout-session.js +1 -3
- package/lib/commonjs/modules/auth/session/logout-session.js.map +1 -1
- package/lib/commonjs/modules/auth/session/session-snapshot.js +33 -0
- package/lib/commonjs/modules/auth/session/session-snapshot.js.map +1 -0
- package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
- package/lib/commonjs/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js +8 -10
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js +3 -5
- package/lib/commonjs/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/commonjs/modules/auth/utils/sign-in-error.js +7 -7
- package/lib/commonjs/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/commonjs/modules/background-sync/android-background-sync.js +6 -0
- package/lib/commonjs/modules/background-sync/android-background-sync.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/device-model.js +2 -2
- package/lib/commonjs/modules/bt-device/constants/device-model.js.map +1 -1
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js +9 -9
- package/lib/commonjs/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js +81 -81
- package/lib/commonjs/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js +12 -12
- package/lib/commonjs/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js +12 -12
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js +8 -8
- package/lib/commonjs/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js +15 -15
- package/lib/commonjs/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +6 -6
- package/lib/commonjs/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js +5 -5
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +3 -3
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +7 -7
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +2 -2
- package/lib/commonjs/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js +4 -4
- package/lib/commonjs/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
- package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +7 -7
- package/lib/commonjs/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
- package/lib/commonjs/modules/cms/cms-locale.js +13 -0
- package/lib/commonjs/modules/cms/cms-locale.js.map +1 -0
- package/lib/commonjs/modules/cms/hooks/use-cms-content.js +35 -14
- package/lib/commonjs/modules/cms/hooks/use-cms-content.js.map +1 -1
- package/lib/commonjs/modules/cms/hooks/use-cms-locale.js +2 -6
- package/lib/commonjs/modules/cms/hooks/use-cms-locale.js.map +1 -1
- package/lib/commonjs/modules/cms/hooks/use-cms-translations.js +11 -23
- package/lib/commonjs/modules/cms/hooks/use-cms-translations.js.map +1 -1
- package/lib/commonjs/modules/cms/merge-cms-translations.js.map +1 -1
- package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
- package/lib/commonjs/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js +4 -8
- package/lib/commonjs/modules/data-sync/services/base-health-sync-service.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js +4 -4
- package/lib/commonjs/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js +9 -5
- package/lib/commonjs/modules/data-sync/services/managers/instance-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js +36 -39
- package/lib/commonjs/modules/data-sync/services/managers/storage-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
- package/lib/commonjs/modules/data-sync/types/health-sync-keys.js +3 -3
- package/lib/commonjs/modules/data-sync/types/health-sync-keys.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js +3 -3
- package/lib/commonjs/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js +3 -3
- package/lib/commonjs/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
- package/lib/commonjs/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/retry-save.js +4 -5
- package/lib/commonjs/modules/data-sync/utils/retry-save.js.map +1 -1
- package/lib/commonjs/modules/data-sync/utils/session-owner.js +18 -0
- package/lib/commonjs/modules/data-sync/utils/session-owner.js.map +1 -0
- package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js +2 -2
- package/lib/commonjs/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
- package/lib/commonjs/modules/image/components/optimized-image.js +3 -3
- package/lib/commonjs/modules/image/components/optimized-image.js.map +1 -1
- package/lib/commonjs/modules/next/ovok.js +5 -1
- package/lib/commonjs/modules/next/ovok.js.map +1 -1
- package/lib/commonjs/modules/next/use-native-ovok.js +17 -0
- package/lib/commonjs/modules/next/use-native-ovok.js.map +1 -0
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js +27 -27
- package/lib/commonjs/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
- package/lib/commonjs/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/commonjs/modules/socket/components/socket-provider.js +9 -4
- package/lib/commonjs/modules/socket/components/socket-provider.js.map +1 -1
- package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js +21 -21
- package/lib/commonjs/modules/tile/constants/measurement-icon-svg.js.map +1 -1
- package/lib/commonjs/modules/ui/components/urine-test-result.js +3 -3
- package/lib/commonjs/modules/ui/components/urine-test-result.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-accept-invite-link.js +6 -12
- package/lib/module/modules/auth/hooks/use-accept-invite-link.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-delete-account.js +5 -8
- package/lib/module/modules/auth/hooks/use-delete-account.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-session.js +151 -30
- package/lib/module/modules/auth/hooks/use-session.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-sign-in.js +5 -23
- package/lib/module/modules/auth/hooks/use-sign-in.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-sign-out.js +2 -2
- package/lib/module/modules/auth/hooks/use-sign-out.js.map +1 -1
- package/lib/module/modules/auth/hooks/use-social-sign-in.js +4 -9
- package/lib/module/modules/auth/hooks/use-social-sign-in.js.map +1 -1
- package/lib/module/modules/auth/profile/components/profile-form-provider.js +21 -7
- package/lib/module/modules/auth/profile/components/profile-form-provider.js.map +1 -1
- package/lib/module/modules/auth/register/components/form/register-form-provider.js +16 -17
- package/lib/module/modules/auth/register/components/form/register-form-provider.js.map +1 -1
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js +3 -3
- package/lib/module/modules/auth/reset-password/components/form/reset-password-form-provider.js.map +1 -1
- package/lib/module/modules/auth/session/logout-session.js +1 -3
- package/lib/module/modules/auth/session/logout-session.js.map +1 -1
- package/lib/module/modules/auth/session/session-snapshot.js +28 -0
- package/lib/module/modules/auth/session/session-snapshot.js.map +1 -0
- package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js +11 -6
- package/lib/module/modules/auth/sign-in/components/form/login-form-provider.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js +3 -5
- package/lib/module/modules/auth/sign-in/components/social-logins/apple-login-button.js.map +1 -1
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js +3 -5
- package/lib/module/modules/auth/sign-in/components/social-logins/google-login-button.js.map +1 -1
- package/lib/module/modules/auth/utils/sign-in-error.js +7 -7
- package/lib/module/modules/auth/utils/sign-in-error.js.map +1 -1
- package/lib/module/modules/background-sync/android-background-sync.js +6 -0
- package/lib/module/modules/background-sync/android-background-sync.js.map +1 -1
- package/lib/module/modules/bt-device/constants/device-model.js +1 -1
- package/lib/module/modules/bt-device/constants/device-model.js.map +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js +1 -1
- package/lib/module/modules/bt-device/constants/supported-devices.js.map +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js +1 -1
- package/lib/module/modules/bt-management/constants/built-in-measurement-types.js.map +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js +1 -1
- package/lib/module/modules/bt-management/constants/measurement-field-catalog.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/a606/a606.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/and-medical/and-medical.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj-bp.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js +1 -1
- package/lib/module/modules/bt-management/services/devices/aoj/aoj.thermometers.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bc01/bc01.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/blood-glucose/blood-glucose.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js +2 -2
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bp2/bp2.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/bpw1/bpw1.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/checkme/checkme.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-bp.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-glucose.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/cofoe/cofoe-thermometer.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/custom/custom.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/f4/f4.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/f5/f5-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/famidoc/famidoc.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/genial-t31/genial-t31.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/joytech/joytech.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/jumper/jumper.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/live-oximeter.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/pc60fw.monitor.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js +1 -1
- package/lib/module/modules/bt-management/services/devices/spo/spo2.main-services.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.devices.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js +1 -1
- package/lib/module/modules/bt-management/services/devices/standard-gatt/standard-gatt.glucose.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js +1 -1
- package/lib/module/modules/bt-management/services/devices/taidoc/taidoc.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/tmb/tmb.bp-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-blood-pressure.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/a6-scale.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/mambo-a5.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js +1 -1
- package/lib/module/modules/bt-management/services/devices/transtek/transtek-command.records.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/trasense/s9.command-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/uebe/mysense.device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.duo-control-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-device.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js +1 -1
- package/lib/module/modules/bt-management/services/devices/veroval/veroval.ecg-record.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/lpm311.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pc80b.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/sp20.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.protocol.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-ecg-handler.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp-monitor-cases.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bp3-files.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.ecg-recorders.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.lepod.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.oximeters.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.vtm20f.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js +1 -1
- package/lib/module/modules/bt-management/services/devices/yonker/yonker.sequencer.js.map +1 -1
- package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js +1 -1
- package/lib/module/modules/bt-management/utils/convert-ecg-diagnostic-flag.js.map +1 -1
- package/lib/module/modules/cms/cms-locale.js +8 -0
- package/lib/module/modules/cms/cms-locale.js.map +1 -0
- package/lib/module/modules/cms/hooks/use-cms-content.js +35 -15
- package/lib/module/modules/cms/hooks/use-cms-content.js.map +1 -1
- package/lib/module/modules/cms/hooks/use-cms-locale.js +1 -6
- package/lib/module/modules/cms/hooks/use-cms-locale.js.map +1 -1
- package/lib/module/modules/cms/hooks/use-cms-translations.js +10 -23
- package/lib/module/modules/cms/hooks/use-cms-translations.js.map +1 -1
- package/lib/module/modules/cms/merge-cms-translations.js.map +1 -1
- package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js +30 -22
- package/lib/module/modules/data-sync/hooks/use-health-sync-runner.js.map +1 -1
- package/lib/module/modules/data-sync/services/base-health-sync-service.js +4 -8
- package/lib/module/modules/data-sync/services/base-health-sync-service.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/data-processor.js +3 -3
- package/lib/module/modules/data-sync/services/managers/data-processor.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/instance-manager.js +9 -5
- package/lib/module/modules/data-sync/services/managers/instance-manager.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/storage-manager.js +35 -39
- package/lib/module/modules/data-sync/services/managers/storage-manager.js.map +1 -1
- package/lib/module/modules/data-sync/services/managers/sync-state-manager.js.map +1 -1
- package/lib/module/modules/data-sync/types/health-sync-keys.js +1 -1
- package/lib/module/modules/data-sync/types/health-sync-keys.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js +2 -2
- package/lib/module/modules/data-sync/utils/convert-records-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js +2 -2
- package/lib/module/modules/data-sync/utils/convert-samples-to-observation.js.map +1 -1
- package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js +1 -1
- package/lib/module/modules/data-sync/utils/get-latest-observation-dates-by-code.js.map +1 -1
- package/lib/module/modules/data-sync/utils/retry-save.js +4 -5
- package/lib/module/modules/data-sync/utils/retry-save.js.map +1 -1
- package/lib/module/modules/data-sync/utils/session-owner.js +13 -0
- package/lib/module/modules/data-sync/utils/session-owner.js.map +1 -0
- package/lib/module/modules/data-sync/utils/to-core-health-observations.js +1 -1
- package/lib/module/modules/data-sync/utils/to-core-health-observations.js.map +1 -1
- package/lib/module/modules/image/components/optimized-image.js +3 -3
- package/lib/module/modules/image/components/optimized-image.js.map +1 -1
- package/lib/module/modules/next/ovok.js +5 -1
- package/lib/module/modules/next/ovok.js.map +1 -1
- package/lib/module/modules/next/use-native-ovok.js +12 -0
- package/lib/module/modules/next/use-native-ovok.js.map +1 -0
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js +5 -5
- package/lib/module/modules/questionnaire-response-form/components/questionnaire-form-provider.js.map +1 -1
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js +12 -17
- package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map +1 -1
- package/lib/module/modules/socket/components/socket-provider.js +9 -4
- package/lib/module/modules/socket/components/socket-provider.js.map +1 -1
- package/lib/module/modules/tile/constants/measurement-icon-svg.js +1 -1
- package/lib/module/modules/tile/constants/measurement-icon-svg.js.map +1 -1
- package/lib/module/modules/ui/components/urine-test-result.js +1 -1
- package/lib/module/modules/ui/components/urine-test-result.js.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts +5 -16
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts +5 -3
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts +3 -5
- package/lib/typescript/commonjs/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts +21 -0
- package/lib/typescript/commonjs/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts +1 -3
- package/lib/typescript/commonjs/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/cms/cms-locale.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
- package/lib/typescript/commonjs/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts +2 -0
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
- package/lib/typescript/commonjs/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts +3 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
- package/lib/typescript/commonjs/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts +7 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/image/components/optimized-image.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/ovok.d.ts +4 -1
- package/lib/typescript/commonjs/src/modules/next/ovok.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts +3 -0
- package/lib/typescript/commonjs/src/modules/next/use-native-ovok.d.ts.map +1 -0
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
- package/lib/typescript/commonjs/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/socket/components/socket-provider.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts +1 -1
- package/lib/typescript/commonjs/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts +3 -3
- package/lib/typescript/module/src/modules/auth/hooks/use-accept-invite-link.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-delete-account.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts +5 -16
- package/lib/typescript/module/src/modules/auth/hooks/use-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts +3 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-sign-out.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/hooks/use-social-sign-in.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/components/profile-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts +1 -1
- package/lib/typescript/module/src/modules/auth/profile/types/profile-form-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/components/form/register-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts +5 -3
- package/lib/typescript/module/src/modules/auth/register/types/register-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/register/types/register-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts +3 -5
- package/lib/typescript/module/src/modules/auth/session/logout-session.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts +21 -0
- package/lib/typescript/module/src/modules/auth/session/session-snapshot.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/auth/sign-in/components/form/login-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/apple-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/components/social-logins/google-login-button.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts +1 -3
- package/lib/typescript/module/src/modules/auth/sign-in/hooks/use-login-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/apple-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/google-login-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts +2 -4
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/sign-in/types/login-form-values.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts +2 -2
- package/lib/typescript/module/src/modules/auth/utils/sign-in-error.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts +2 -2
- package/lib/typescript/module/src/modules/background-sync/android-background-sync.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/device-model.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/constants/supported-devices.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-device/utils/device-query.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/built-in-measurement-types.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/constants/measurement-field-catalog.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-case-fields.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/custom/compile-custom-field.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bp2/bp2.files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/bt-managed-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-ecg.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme-pod.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/checkme/checkme.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/f5/f5-scale.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/frame-parser.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/measurement-state-machine.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/standard-gatt/standard-gatt.profile.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval-activity-sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.bp-monitors.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.duo-control-device.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/veroval/veroval.ecg-record.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/baby-sleep-clip.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/bioland.bgm.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/lpm311.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/oxy-s3.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pc80b.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/pf10aw1.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/poctor.m3102.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/sp20.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-aa55.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.protocol.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom-r20.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bp3-files.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.bpm188.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc100.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pc300.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.pm10.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/devices/viatom/viatom.wbp02.sequencer.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/services/series-slots.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/create-device-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-case-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-device-definition.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement-spec.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/custom-measurement.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/dependent-result-handler-params.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-data.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts +2 -2
- package/lib/typescript/module/src/modules/bt-management/types/device-measurement-map.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/device-status-change-callback.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-group.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-series.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/measurement-with-case-type.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/parsing-case.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/types/result-policy.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/convert-ecg-diagnostic-flag.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/parse-measurement.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/result-identity.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts +1 -1
- package/lib/typescript/module/src/modules/bt-management/utils/supported-measurement-type-keys.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/cms-locale.d.ts +2 -0
- package/lib/typescript/module/src/modules/cms/cms-locale.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts +6 -7
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-content.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts +1 -6
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-locale.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts +2 -9
- package/lib/typescript/module/src/modules/cms/hooks/use-cms-translations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts +1 -1
- package/lib/typescript/module/src/modules/cms/merge-cms-translations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/hooks/use-health-sync-runner.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts +0 -1
- package/lib/typescript/module/src/modules/data-sync/services/base-health-sync-service.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/services/managers/data-processor.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts +2 -0
- package/lib/typescript/module/src/modules/data-sync/services/managers/instance-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts +11 -26
- package/lib/typescript/module/src/modules/data-sync/services/managers/storage-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts +3 -3
- package/lib/typescript/module/src/modules/data-sync/services/managers/sync-state-manager.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts +3 -2
- package/lib/typescript/module/src/modules/data-sync/types/base-service-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/types/convert-data-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-keys.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts +1 -2
- package/lib/typescript/module/src/modules/data-sync/types/health-sync-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/convert-samples-to-observation.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts +2 -2
- package/lib/typescript/module/src/modules/data-sync/utils/get-latest-observation-dates-by-code.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/retry-save.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts +7 -0
- package/lib/typescript/module/src/modules/data-sync/utils/session-owner.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts +1 -1
- package/lib/typescript/module/src/modules/data-sync/utils/to-core-health-observations.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/image/components/optimized-image.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/ovok.d.ts +4 -1
- package/lib/typescript/module/src/modules/next/ovok.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts +3 -0
- package/lib/typescript/module/src/modules/next/use-native-ovok.d.ts.map +1 -0
- package/lib/typescript/module/src/modules/questionnaire-response-form/components/questionnaire-form-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts +2 -2
- package/lib/typescript/module/src/modules/questionnaire-response-form/utils/questionnaire-submit-utils.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/socket/components/socket-provider.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts +1 -1
- package/lib/typescript/module/src/modules/tile/types/task-icon-props.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts +1 -1
- package/lib/typescript/module/src/modules/ui/components/manual-entry-form.d.ts.map +1 -1
- package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts +1 -1
- package/lib/typescript/module/src/modules/ui/components/urine-test-result.d.ts.map +1 -1
- package/package.json +3 -3
- package/lib/commonjs/modules/auth/session/save-login.js +0 -19
- package/lib/commonjs/modules/auth/session/save-login.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-refresh.js +0 -142
- package/lib/commonjs/modules/auth/session/session-store-refresh.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-request-state.js +0 -73
- package/lib/commonjs/modules/auth/session/session-store-request-state.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store-types.js +0 -39
- package/lib/commonjs/modules/auth/session/session-store-types.js.map +0 -1
- package/lib/commonjs/modules/auth/session/session-store.js +0 -144
- package/lib/commonjs/modules/auth/session/session-store.js.map +0 -1
- package/lib/module/modules/auth/session/save-login.js +0 -15
- package/lib/module/modules/auth/session/save-login.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-refresh.js +0 -138
- package/lib/module/modules/auth/session/session-store-refresh.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-request-state.js +0 -69
- package/lib/module/modules/auth/session/session-store-request-state.js.map +0 -1
- package/lib/module/modules/auth/session/session-store-types.js +0 -33
- package/lib/module/modules/auth/session/session-store-types.js.map +0 -1
- package/lib/module/modules/auth/session/session-store.js +0 -140
- package/lib/module/modules/auth/session/session-store.js.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/auth/session/save-login.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts +0 -8
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts +0 -23
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts +0 -40
- package/lib/typescript/commonjs/src/modules/auth/session/session-store-types.d.ts.map +0 -1
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts +0 -4
- package/lib/typescript/commonjs/src/modules/auth/session/session-store.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/save-login.d.ts +0 -4
- package/lib/typescript/module/src/modules/auth/session/save-login.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts +0 -8
- package/lib/typescript/module/src/modules/auth/session/session-store-refresh.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts +0 -23
- package/lib/typescript/module/src/modules/auth/session/session-store-request-state.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts +0 -40
- package/lib/typescript/module/src/modules/auth/session/session-store-types.d.ts.map +0 -1
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts +0 -4
- package/lib/typescript/module/src/modules/auth/session/session-store.d.ts.map +0 -1
|
@@ -13,20 +13,25 @@ export class QuestionnaireSubmitUtils {
|
|
|
13
13
|
if (!identifier?.system || !identifier.value) {
|
|
14
14
|
throw new Error("questionnaire-form.error.submit-failed");
|
|
15
15
|
}
|
|
16
|
-
if (extractObservations
|
|
17
|
-
|
|
16
|
+
if (extractObservations) {
|
|
17
|
+
const features = await client.projects.features.retrieve();
|
|
18
|
+
if (!features.features.includes("transaction-bundles")) {
|
|
19
|
+
throw new Error("questionnaire-form.error.atomic-save-required");
|
|
20
|
+
}
|
|
18
21
|
}
|
|
19
|
-
const persistedResponse = await client.
|
|
22
|
+
const persistedResponse = await client.fhir.create(extractObservations ? {
|
|
20
23
|
...response,
|
|
21
24
|
status: "in-progress"
|
|
22
|
-
} : response,
|
|
25
|
+
} : response, {
|
|
26
|
+
ifNoneExist: `identifier=${identifier.system}|${identifier.value}`
|
|
27
|
+
});
|
|
23
28
|
if (!extractObservations || persistedResponse.status === "completed") {
|
|
24
29
|
return persistedResponse;
|
|
25
30
|
}
|
|
26
31
|
if (!persistedResponse.id || !persistedResponse.meta?.versionId) {
|
|
27
32
|
throw new Error("questionnaire-form.error.submit-failed");
|
|
28
33
|
}
|
|
29
|
-
const extraction = await client.
|
|
34
|
+
const extraction = await client.questionnaireResponses.extract(persistedResponse.id);
|
|
30
35
|
const extractedBundle = extraction.parameter?.find(parameter => parameter.name === "response")?.resource;
|
|
31
36
|
if (!extractedBundle || extractedBundle.resourceType !== "Bundle" || extractedBundle.type !== "transaction") {
|
|
32
37
|
throw new Error("questionnaire-form.error.extraction-failed");
|
|
@@ -60,7 +65,7 @@ export class QuestionnaireSubmitUtils {
|
|
|
60
65
|
...persistedResponse,
|
|
61
66
|
status: "completed"
|
|
62
67
|
};
|
|
63
|
-
const transaction = await client.
|
|
68
|
+
const transaction = await client.fhir.batch({
|
|
64
69
|
resourceType: "Bundle",
|
|
65
70
|
type: "transaction",
|
|
66
71
|
entry: [...transactionEntries, {
|
|
@@ -75,17 +80,7 @@ export class QuestionnaireSubmitUtils {
|
|
|
75
80
|
if (transaction.type !== "transaction-response" || transaction.entry?.length !== transactionEntries.length + 1 || transaction.entry.some(entry => !entry.response?.status.startsWith("2"))) {
|
|
76
81
|
throw new Error("questionnaire-form.error.extraction-failed");
|
|
77
82
|
}
|
|
78
|
-
|
|
79
|
-
transactionEntries.forEach(entry => {
|
|
80
|
-
if (entry.resource) {
|
|
81
|
-
resourceTypes.add(entry.resource.resourceType);
|
|
82
|
-
}
|
|
83
|
-
});
|
|
84
|
-
resourceTypes.forEach(resourceType => client.invalidateSearches(resourceType));
|
|
85
|
-
const reloadOptions = {
|
|
86
|
-
cache: "reload"
|
|
87
|
-
};
|
|
88
|
-
return client.readResource("QuestionnaireResponse", persistedResponse.id, reloadOptions);
|
|
83
|
+
return client.fhir.read("QuestionnaireResponse", persistedResponse.id);
|
|
89
84
|
}
|
|
90
85
|
static createQuestionnaireResponse(responses, pages, questionnaire, renderItem, resolver, unitOptionsResolver) {
|
|
91
86
|
const responseItems = FormUtils.createQuestionnaireResponseItems(responses, pages);
|
package/lib/module/modules/questionnaire-response-form/utils/questionnaire-submit-utils.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["FormUtils","OBSERVATION_EXTRACT_EXTENSION","EXTRACTED_OBSERVATION_IDENTIFIER_SYSTEM","hasObservationExtractExtension","items","some","item","extension","url","valueBoolean","QuestionnaireSubmitUtils","questionnaireHasObservationExtraction","questionnaire","persistQuestionnaireResponse","client","response","extractObservations","identifier","system","value","Error","
|
|
1
|
+
{"version":3,"names":["FormUtils","OBSERVATION_EXTRACT_EXTENSION","EXTRACTED_OBSERVATION_IDENTIFIER_SYSTEM","hasObservationExtractExtension","items","some","item","extension","url","valueBoolean","QuestionnaireSubmitUtils","questionnaireHasObservationExtraction","questionnaire","persistQuestionnaireResponse","client","response","extractObservations","identifier","system","value","Error","features","projects","retrieve","includes","persistedResponse","fhir","create","status","ifNoneExist","id","meta","versionId","extraction","questionnaireResponses","extract","extractedBundle","parameter","find","name","resource","resourceType","type","extractedEntries","entry","transactionEntries","map","index","observation","request","method","observationIdentifier","identifierQuery","URLSearchParams","toString","filter","existingIdentifier","completedResponse","transaction","batch","ifMatch","length","startsWith","read","createQuestionnaireResponse","responses","pages","renderItem","resolver","unitOptionsResolver","responseItems","createQuestionnaireResponseItems","hasUnansweredRequiredItems","authored","Date","toISOString"],"sourceRoot":"../../../../../src","sources":["modules/questionnaire-response-form/utils/questionnaire-submit-utils.ts"],"mappings":";;AAcA,SAASA,SAAS,QAAQ,iBAAc;AAMxC,MAAMC,6BAA6B,GACjC,qFAAqF;AAEvF,MAAMC,uCAAuC,GAC3C,yDAAyD;AAE3D,MAAMC,8BAA8B,GAAGA,CACrCC,KAA0B,GAAG,EAAE,KAE/BA,KAAK,CAACC,IAAI,CACPC,IAAI,IACHA,IAAI,CAACC,SAAS,EAAEF,IAAI,CACjBE,SAAS,IACRA,SAAS,CAACC,GAAG,KAAKP,6BAA6B,IAC/CM,SAAS,CAACE,YAAY,KAAK,IAC/B,CAAC,IAAIN,8BAA8B,CAACG,IAAI,CAACA,IAAI,CACjD,CAAC;AAEH,OAAO,MAAMI,wBAAw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AsD,EAC/B;IACvB,MAAMC,aAAa,GAAGtE,SAAS,CAACuE,gCAAgC,CAC9DN,SAAS,EACTC,KACF,CAAC;IAED,MAAMnD,QAA+B,GAAG;MACtC0B,YAAY,EAAE,uBAAuB;MACrC7B,aAAa,EAAE,iBAAiBA,aAAa,CAACkB,EAAE,EAAE;MAClDF,MAAM,EAAE5B,SAAS,CAACwE,0BAA0B,CAC1CN,KAAK,EACLD,SAAS,EACTE,UAAU,EACVC,QAAQ,EACRC,mBACF,CAAC,GACG,aAAa,GACb,WAAW;MACf/D,IAAI,EAAEgE,aAAa;MACnBG,QAAQ,EAAE,IAAIC,IAAI,CAAC,CAAC,CAACC,WAAW,CAAC;IACnC,CAAC;IAED,OAAO5D,QAAQ;EACjB;AACF","ignoreList":[]}
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import {
|
|
3
|
+
import { useSession } from "@ovok/core/next/react";
|
|
4
4
|
import { addEventListener as NetInfoEventListener } from "@react-native-community/netinfo";
|
|
5
5
|
import * as React from "react";
|
|
6
6
|
import { io } from "socket.io-client";
|
|
7
7
|
import { useLatestRef } from "../../helpers/hooks/use-latest-ref.js";
|
|
8
|
+
import { useNativeOvok } from "../../next/use-native-ovok.js";
|
|
8
9
|
import { SocketContext } from "../contexts/socket-context.js";
|
|
9
10
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
11
|
export const SocketProvider = ({
|
|
@@ -16,9 +17,9 @@ export const SocketProvider = ({
|
|
|
16
17
|
onDisconnect,
|
|
17
18
|
onLogs
|
|
18
19
|
}) => {
|
|
19
|
-
const client =
|
|
20
|
-
const baseUrl = client.
|
|
21
|
-
const accessToken =
|
|
20
|
+
const client = useNativeOvok();
|
|
21
|
+
const baseUrl = client.baseUrl;
|
|
22
|
+
const accessToken = useSession().data?.accessToken;
|
|
22
23
|
const socketRef = React.useRef(null);
|
|
23
24
|
const networkUnavailableRef = React.useRef(false);
|
|
24
25
|
const callbacksRef = useLatestRef({
|
|
@@ -33,6 +34,10 @@ export const SocketProvider = ({
|
|
|
33
34
|
const [isConnected, setIsConnected] = React.useState(false);
|
|
34
35
|
React.useEffect(() => {
|
|
35
36
|
setIsConnected(false);
|
|
37
|
+
setSocket(null);
|
|
38
|
+
if (!accessToken) {
|
|
39
|
+
return undefined;
|
|
40
|
+
}
|
|
36
41
|
const nextSocket = io(`${baseUrl}events`, {
|
|
37
42
|
extraHeaders: {
|
|
38
43
|
authorization: `Bearer ${accessToken}`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["
|
|
1
|
+
{"version":3,"names":["useSession","addEventListener","NetInfoEventListener","React","io","useLatestRef","useNativeOvok","SocketContext","jsx","_jsx","SocketProvider","children","onError","onConnectionError","onPing","onConnect","onDisconnect","onLogs","client","baseUrl","accessToken","data","socketRef","useRef","networkUnavailableRef","callbacksRef","socket","setSocket","useState","isConnected","setIsConnected","useEffect","undefined","nextSocket","extraHeaders","authorization","reconnectionAttempts","reconnectionDelay","reconnectionDelayMax","handlers","connect","current","disconnect","error","connect_error","ping","latency","logs","message","Object","entries","forEach","event","handler","on","off","unsubscribe","state","currentSocket","connected","contextValue","useMemo","Provider","value"],"sourceRoot":"../../../../../src","sources":["modules/socket/components/socket-provider.tsx"],"mappings":";;AAAA,SAASA,UAAU,QAAQ,uBAAuB;AAClD,SAASC,gBAAgB,IAAIC,oBAAoB,QAAQ,iCAAiC;AAC1F,OAAO,KAAKC,KAAK,MAAM,OAAO;AAC9B,SAASC,EAAE,QAAgB,kBAAkB;AAE7C,SAASC,YAAY,QAAQ,uCAAoC;AACjE,SAASC,aAAa,QAAQ,+BAA4B;AAC1D,SAASC,aAAa,QAAQ,+BAA4B;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAG3D,OAAO,MAAMC,cAAc,GAAGA,CAAC;EAC7BC,QAAQ;EACRC,OAAO;EACPC,iBAAiB;EACjBC,MAAM;EACNC,SAAS;EACTC,YAAY;EACZC;AAC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ACpB,MAAMyB,WAAW,GAAGtD,oBAAoB,CAAEuD,KAAK,IAAK;MAClD,IAAI,CAACA,KAAK,CAAC5B,WAAW,EAAE;QACtBL,qBAAqB,CAACiB,OAAO,GAAG,IAAI;QACpCnB,SAAS,CAACmB,OAAO,EAAEC,UAAU,CAAC,CAAC;QAE/B;MACF;MAEA,IAAI,CAAClB,qBAAqB,CAACiB,OAAO,EAAE;QAClC;MACF;MAEAjB,qBAAqB,CAACiB,OAAO,GAAG,KAAK;MACrC,MAAMiB,aAAa,GAAGpC,SAAS,CAACmB,OAAO;MAEvC,IAAIiB,aAAa,IAAI,CAACA,aAAa,CAACC,SAAS,EAAE;QAC7CD,aAAa,CAAClB,OAAO,CAAC,CAAC;MACzB;IACF,CAAC,CAAC;IAEF,OAAOgB,WAAW;EACpB,CAAC,EAAE,EAAE,CAAC;EAEN,MAAMI,YAAY,GAAGzD,KAAK,CAAC0D,OAAO,CAChC,OAAO;IAAEnC,MAAM;IAAEG;EAAY,CAAC,CAAC,EAC/B,CAACA,WAAW,EAAEH,MAAM,CACtB,CAAC;EAED,oBACEjB,IAAA,CAACF,aAAa,CAACuD,QAAQ;IAACC,KAAK,EAAEH,YAAa;IAAAjD,QAAA,EACzCA;EAAQ,CACa,CAAC;AAE7B,CAAC","ignoreList":[]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","measurementIconSvg","symptomQuestionnaire","fillColor","bloodGlucose","bloodPressure","ecg","bloodOxygenPulseRate","bodyWeight","temperature","cosinussMultiParam","urineAnalysis","uricAcid","photoUpload","spirometryPanel","stepCount","respiratoryRate","heartRate","heartRateVariability","vo2Max","restingHeartRate","walkingHeartRateAverage"],"sourceRoot":"../../../../../src","sources":["modules/tile/constants/measurement-icon-svg.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","measurementIconSvg","symptomQuestionnaire","fillColor","bloodGlucose","bloodPressure","ecg","bloodOxygenPulseRate","bodyWeight","temperature","cosinussMultiParam","urineAnalysis","uricAcid","photoUpload","spirometryPanel","stepCount","respiratoryRate","heartRate","heartRateVariability","vo2Max","restingHeartRate","walkingHeartRateAverage"],"sourceRoot":"../../../../../src","sources":["modules/tile/constants/measurement-icon-svg.ts"],"mappings":";;AAAA,SAASA,kBAAkB,QAAQ,iBAAiB;AAEpD,OAAO,MAAMC,kBAAkB,GAAG;EAChC,CAACD,kBAAkB,CAACE,oBAAoB,GAAIC,SAAiB,IAAK;IAChE,OAAO;AACX;AACA,i2GAAi2GA,SAAS;AAC12G,WAAW;EACT,CAAC;EACD,CAACH,kBAAkB,CAACI,YAAY,GAAID,SAAiB,IAAK;IACxD,OAAO;AACX;AACA;AACA,gXAAgXA,SAAS;AACzX,2RAA2RA,SAAS;AACpS,6RAA6RA,SAAS;AACtS,yPAAyPA,SAAS;AAClQ,kzBAAkzBA,SAAS;AAC3zB;AACA,WAAW;EACT,CAAC;EACD,CAACH,kBAAkB,CAACK,aAAa,GAAIF,SAAiB,IAAK;IACzD,OAAO;AACX;AACA;AACA,mGAAmGA,SAAS;AAC5G,8qEAA8qEA,SAAS;AACvrE;AACA,WAAW;EACT,CAAC;EACD,CAACH,kBAAkB,CAACM,GAAG,GAAIH,SAAiB,IAAK;IAC/C,OAAO;AACX;AACA;AACA;AACA,+kBAA+kBA,SAAS;AACxlB;AACA,mUAAmUA,SAAS;AAC5U,iUAAiUA,SAAS;AAC1U;AACA,0kBAA0kBA,SAAS;AACnlB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;EACT,CAAC;EACD,CAACH,kBAAkB,CAACO,oBAAoB,GAAIJ,SAAiB,IAAK;IAChE,OAAO;AACX;AACA;AACA,2rBAA2rBA,SAAS;AACpsB,sLAAsLA,SAAS;AAC/L,yIAAyIA,SAAS;AAClJ,omCAAomCA,SAAS;AAC7mC;AACA,WAAW;EACT,CAAC;EACD,CAACH,kBAAkB,CAACQ,UAAU,GAAIL,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,SAAiB,IAAK;IAC3D,OAAO;AACX;AACA,6uFAA6uFA,SAAS;AACtvF;AACA,KAAK;EACH,CAAC;EACD,CAACH,kBAAkB,CAACiB,SAAS,GAAId,SAAiB,IAAK;IACrD,OAAO;AACX;AACA,2zFAA2zFA,SAAS;AACp0F,WAAW;EACT,CAAC;EAED;;EAEA,CAACH,kBAAkB,CAACkB,oBAAoB,GAAG,MAAM,IAAI;EACrD,CAAClB,kBAAkB,CAACmB,MAAM,GAAG,MAAM,IAAI;EACvC,CAACnB,kBAAkB,CAACoB,gBAAgB,GAAG,MAAM,IAAI;EACjD,CAACpB,kBAAkB,CAACqB,uBAAuB,GAAG,MAAM;AACtD,CAAC","ignoreList":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
-
import { MeasurementTypeKey, URINE_ANALYTE_DEFINITIONS } from "@ovok/core";
|
|
3
|
+
import { MeasurementTypeKey, URINE_ANALYTE_DEFINITIONS } from "@ovok/core/next";
|
|
4
4
|
import { StyleSheet, View } from "react-native";
|
|
5
5
|
import { measurementFieldCatalog } from "../../bt-management/index.js";
|
|
6
6
|
import { useOvokUi } from "../use-ovok-ui.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["MeasurementTypeKey","URINE_ANALYTE_DEFINITIONS","StyleSheet","View","measurementFieldCatalog","useOvokUi","jsx","_jsx","jsxs","_jsxs","formatValue","value","unit","definition","qualitative","negativeAtZero","DefaultUrineAnalyteRow","Text","accessibilityLabel","name","rangeLabel","isOutsideUsualRange","theme","rowTheme","accessible","accessibilityRole","style","styles","row","children","grow","color","colors","error","primary","UrineTestResult","measurement","showOnlyMeasured","labelForAnalyte","_key","fallback","accessibilityLabelForAnalyte","testID","uiProps","slots","Card","AnalyteRow","UrineAnalyteRow","catalog","urineAnalysis","uricAcid","rows","filter","key","borderRadius","content","variant","map","display","measured","formattedValue","inUsualRange","normalMin","undefined","normalMax","defaultAccessibilityLabel","Boolean","join","rowProps","analyteKey","create","gap","padding","flex","alignItems","flexDirection"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/urine-test-result.tsx"],"mappings":";;AAAA,SACEA,kBAAkB,EAClBC,yBAAyB,QAEpB,
|
|
1
|
+
{"version":3,"names":["MeasurementTypeKey","URINE_ANALYTE_DEFINITIONS","StyleSheet","View","measurementFieldCatalog","useOvokUi","jsx","_jsx","jsxs","_jsxs","formatValue","value","unit","definition","qualitative","negativeAtZero","DefaultUrineAnalyteRow","Text","accessibilityLabel","name","rangeLabel","isOutsideUsualRange","theme","rowTheme","accessible","accessibilityRole","style","styles","row","children","grow","color","colors","error","primary","UrineTestResult","measurement","showOnlyMeasured","labelForAnalyte","_key","fallback","accessibilityLabelForAnalyte","testID","uiProps","slots","Card","AnalyteRow","UrineAnalyteRow","catalog","urineAnalysis","uricAcid","rows","filter","key","borderRadius","content","variant","map","display","measured","formattedValue","inUsualRange","normalMin","undefined","normalMax","defaultAccessibilityLabel","Boolean","join","rowProps","analyteKey","create","gap","padding","flex","alignItems","flexDirection"],"sourceRoot":"../../../../../src","sources":["modules/ui/components/urine-test-result.tsx"],"mappings":";;AAAA,SACEA,kBAAkB,EAClBC,yBAAyB,QAEpB,iBAAiB;AACxB,SAASC,UAAU,EAAEC,IAAI,QAAQ,cAAc;AAK/C,SACEC,uBAAuB,QAElB,8BAAqB;AAE5B,SAASC,SAAS,QAAQ,mBAAgB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAU3C,MAAMC,WAAW,GAAGA,CAClBC,KAAa,EACbC,IAAwB,EACxBC,UAAyB,KACd;EACX,IAAIA,UAAU,EAAEC,WAAW,EAAE;IAC3B,OAAOH,KAAK,KAAK,CAAC,GAAG,UAAU,GAAG,UAAU;EAC9C;EAEA,IAAIE,UAAU,EAAEE,cAAc,IAAIJ,KAAK,KAAK,CAAC,EAAE;IAC7C,OAAO,UAAU;EACnB;EAEA,OAAO,GAAGA,KAA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AE,YAAY;IAAEC,aAAa,EAAE,KAAK;IAAEJ,GAAG,EAAE;EAAE;AAChE,CAAC,CAAC","ignoreList":[]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AcceptInviteBody } from "@ovok/core";
|
|
1
|
+
import type { AcceptInviteBody } from "@ovok/core/next";
|
|
2
2
|
import { SignInCredentials } from "./use-sign-in";
|
|
3
3
|
interface AcceptInviteLinkOptions {
|
|
4
4
|
tenantCode: string;
|
|
@@ -11,11 +11,11 @@ declare const useAcceptInviteLink: ({ tenantCode }: AcceptInviteLinkOptions) =>
|
|
|
11
11
|
};
|
|
12
12
|
createCarerAccount: Omit<import("./use-auth-action").AuthActionState<{
|
|
13
13
|
share: import("@ovok/core").RecordShareAccepted;
|
|
14
|
-
login: import("@ovok/core
|
|
14
|
+
login: import("@ovok/core/next").LoginResult;
|
|
15
15
|
}>, "run"> & {
|
|
16
16
|
run: (link: string, credentials: SignInCredentials) => Promise<{
|
|
17
17
|
share: import("@ovok/core").RecordShareAccepted;
|
|
18
|
-
login: import("@ovok/core
|
|
18
|
+
login: import("@ovok/core/next").LoginResult;
|
|
19
19
|
}>;
|
|
20
20
|
};
|
|
21
21
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-accept-invite-link.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-accept-invite-link.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-accept-invite-link.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-accept-invite-link.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAGxD,OAAO,EAAE,iBAAiB,EAAa,MAAM,eAAe,CAAC;AAE7D,UAAU,uBAAuB;IAC/B,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,gFAAgF;AAChF,QAAA,MAAM,eAAe,GAAI,MAAM,MAAM,KAAG,gBAiBvC,CAAC;AAEF,QAAA,MAAM,mBAAmB,GAAI,gBAAgB,uBAAuB;;;;;;;;;;;;;CAyBnE,CAAC;AAEF,OAAO,EAAE,uBAAuB,EAAE,eAAe,EAAE,mBAAmB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-delete-account.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-delete-account.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-delete-account.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-delete-account.ts"],"names":[],"mappings":"AAMA,MAAM,WAAW,oBAAoB;IACnC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,OAAO,CAAC;CAChB;AAED,eAAO,MAAM,gBAAgB,GAAI,iBAA4B,oBAAyB;;CAOrF,CAAC"}
|
|
@@ -1,19 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
type Profile = Awaited<ReturnType<Client["getProfileAsync"]>>;
|
|
5
|
-
interface UseSessionResult {
|
|
6
|
-
status: SessionStatus;
|
|
7
|
-
activeAccountId?: string;
|
|
1
|
+
import type { SessionSnapshot } from "../session/session-snapshot";
|
|
2
|
+
import type { SessionRevokeOption } from "../types/session";
|
|
3
|
+
interface UseSessionResult extends SessionSnapshot {
|
|
8
4
|
patientId?: string;
|
|
9
|
-
reason?: "session-ended";
|
|
10
5
|
isAuthenticated: boolean;
|
|
11
|
-
accounts: OvokSavedAccount[];
|
|
12
|
-
profile: Profile | undefined;
|
|
13
|
-
sessions: OvokNativeSession[];
|
|
14
6
|
loading: boolean;
|
|
15
|
-
switching: boolean;
|
|
16
|
-
error?: Error;
|
|
17
7
|
refresh: () => Promise<void>;
|
|
18
8
|
refreshSessions: () => Promise<void>;
|
|
19
9
|
switchAccount: (accountId: string) => Promise<void>;
|
|
@@ -25,7 +15,6 @@ interface UseSessionOptions {
|
|
|
25
15
|
sessions?: boolean;
|
|
26
16
|
refreshOnForeground?: boolean;
|
|
27
17
|
}
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
export { UseSessionOptions, UseSessionResult, useSession };
|
|
18
|
+
export declare const useSession: ({ sessions: fetchSessions, refreshOnForeground, }?: UseSessionOptions) => UseSessionResult;
|
|
19
|
+
export type { UseSessionOptions, UseSessionResult };
|
|
31
20
|
//# sourceMappingURL=use-session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-session.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-session.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-session.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-session.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAC;AACnE,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAO5D,UAAU,gBAAiB,SAAQ,eAAe;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,eAAe,EAAE,OAAO,CAAC;IACzB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC7B,eAAe,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IACrC,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,aAAa,EAAE,CAAC,SAAS,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpD,MAAM,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC5B,cAAc,EAAE,CAAC,MAAM,EAAE,mBAAmB,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CAChE;AAED,UAAU,iBAAiB;IACzB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B;AAED,eAAO,MAAM,UAAU,GAAI,oDAGxB,iBAAsB,KAAG,gBAmN3B,CAAC;AAEF,YAAY,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type LoginResult, type MfaChallenge } from "@ovok/core/next";
|
|
1
2
|
type SignInOptions = {
|
|
2
3
|
type: "Patient" | "RelatedPerson";
|
|
3
4
|
tenantCode: string;
|
|
@@ -10,7 +11,7 @@ interface SignInCredentials {
|
|
|
10
11
|
password: string;
|
|
11
12
|
}
|
|
12
13
|
declare const useSignIn: (options: SignInOptions) => {
|
|
13
|
-
verifyMfa: (
|
|
14
|
+
verifyMfa: (challenge: MfaChallenge, code: string) => Promise<LoginResult>;
|
|
14
15
|
mfaStatus: import("./use-auth-action").AuthActionStatus;
|
|
15
16
|
mfaLoading: boolean;
|
|
16
17
|
mfaError: Error | undefined;
|
|
@@ -18,7 +19,7 @@ declare const useSignIn: (options: SignInOptions) => {
|
|
|
18
19
|
status: import("./use-auth-action").AuthActionStatus;
|
|
19
20
|
reset: () => void;
|
|
20
21
|
loading: boolean;
|
|
21
|
-
run: (args_0: SignInCredentials) => Promise<
|
|
22
|
+
run: (args_0: SignInCredentials) => Promise<LoginResult>;
|
|
22
23
|
};
|
|
23
24
|
export { SignInCredentials, SignInOptions, useSignIn };
|
|
24
25
|
//# sourceMappingURL=use-sign-in.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-sign-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-sign-in.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-sign-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-sign-in.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,WAAW,EAAE,KAAK,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAMtE,KAAK,aAAa,GACd;IAAE,IAAI,EAAE,SAAS,GAAG,eAAe,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,GACzD;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,UAAU,CAAC,EAAE,MAAM,CAAA;CAAE,CAAC;AAElD,UAAU,iBAAiB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;CAClB;AAED,QAAA,MAAM,SAAS,GAAI,SAAS,aAAa;;;;;;;;;;CA2BxC,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,aAAa,EAAE,SAAS,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-sign-out.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-sign-out.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;
|
|
1
|
+
{"version":3,"file":"use-sign-out.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-sign-out.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,UAAU;;CAItB,CAAC"}
|
|
@@ -7,7 +7,7 @@ export type SocialSignInOptions = {
|
|
|
7
7
|
provider: "apple";
|
|
8
8
|
internalId: string;
|
|
9
9
|
};
|
|
10
|
-
export declare const useSocialSignIn: (options: SocialSignInOptions) => Omit<import("./use-auth-action").AuthActionState<import("@ovok/core").
|
|
11
|
-
run: () => Promise<import("@ovok/core").
|
|
10
|
+
export declare const useSocialSignIn: (options: SocialSignInOptions) => Omit<import("./use-auth-action").AuthActionState<import("@ovok/core/next").Session>, "run"> & {
|
|
11
|
+
run: () => Promise<import("@ovok/core/next").Session>;
|
|
12
12
|
};
|
|
13
13
|
//# sourceMappingURL=use-social-sign-in.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-social-sign-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-social-sign-in.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"use-social-sign-in.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/hooks/use-social-sign-in.ts"],"names":[],"mappings":"AAYA,MAAM,MAAM,mBAAmB,GAC3B;IACE,QAAQ,EAAE,QAAQ,CAAC;IACnB,UAAU,EAAE,MAAM,CAAC;IACnB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,GACD;IAAE,QAAQ,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAA;CAAE,CAAC;AAE9C,eAAO,MAAM,eAAe,GAAI,SAAS,mBAAmB;;CAyE3D,CAAC"}
|
package/lib/typescript/commonjs/src/modules/auth/profile/components/profile-form-provider.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"profile-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/components/profile-form-provider.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,MAAM,OAAO,CAAC;AAO1B,OAAO,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAC;AAQ/D,eAAO,MAAM,mBAAmB,EAAE,KAAK,CAAC,EAAE,CACxC,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,CA0K1C,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import DateTimePickerModal from "react-native-modal-datetime-picker";
|
|
2
2
|
import * as Yup from "yup";
|
|
3
3
|
import type { Patient } from "@medplum/fhirtypes";
|
|
4
|
-
import type { PatchOperation } from "@ovok/core";
|
|
4
|
+
import type { PatchOperation } from "@ovok/core/next";
|
|
5
5
|
import type { CountryCode } from "libphonenumber-js";
|
|
6
6
|
import type { ComponentProps } from "react";
|
|
7
7
|
import type { TextInputProps } from "react-native-paper";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"profile-form-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-field.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"profile-form-field.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/profile/types/profile-form-field.ts"],"names":[],"mappings":"AAAA,OAAO,mBAAmB,MAAM,oCAAoC,CAAC;AACrE,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAClD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEzD,KAAK,oBAAoB,GAAG;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,GAAG,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,KAAK,cAAc,EAAE,CAAC;CACjE,CAAC;AAEF,KAAK,mBAAmB,GAAG,IAAI,CAC7B,cAAc,EACd,OAAO,GAAG,cAAc,GAAG,QAAQ,C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WAAW,CAAC;IAE5B;;;OAGG;IACH,WAAW,CAAC,EAAE,CAAC,IAAI,EAAE,WAAW,EAAE,QAAQ,EAAE,MAAM,KAAK,MAAM,CAAC;CAC/D,CACJ,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/register-form-provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"register-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/register/components/form/register-form-provider.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,MAAM,OAAO,CAAC;AAK1B,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AAIpE,eAAO,MAAM,oBAAoB,EAAE,KAAK,CAAC,EAAE,CACzC,KAAK,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,CA6G3C,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { AuthResponse, ClinicianInviteStep } from "@ovok/core";
|
|
2
1
|
import { FormikHelpers } from "formik";
|
|
3
2
|
import * as Yup from "yup";
|
|
3
|
+
import type { RegisterResult, Session } from "@ovok/core/next";
|
|
4
4
|
import type { StyleProp, ViewStyle } from "react-native";
|
|
5
5
|
import { RegisterFormValues } from "./register-form-values";
|
|
6
6
|
type RegisterFormBaseProps = {
|
|
@@ -31,9 +31,11 @@ type RegisterFormHandlers = {
|
|
|
31
31
|
onSubmit?: (values: RegisterFormValues, formikHelpers: FormikHelpers<RegisterFormValues>) => Promise<void>;
|
|
32
32
|
} | {
|
|
33
33
|
onSubmit?: undefined;
|
|
34
|
-
onSuccess?: (values:
|
|
34
|
+
onSuccess?: (values: Session) => void;
|
|
35
35
|
onError?: (error: Error) => void;
|
|
36
|
-
onNextStep?: (step:
|
|
36
|
+
onNextStep?: (step: Extract<RegisterResult, {
|
|
37
|
+
status: "clinician-invite";
|
|
38
|
+
}>) => void;
|
|
37
39
|
};
|
|
38
40
|
export type RegisterFormProps = RegisterFormBaseProps & RegisterNameFieldProps & RegisterFormHandlers;
|
|
39
41
|
export {};
|
package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-props.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-form-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/types/register-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"register-form-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/types/register-form-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AACvC,OAAO,KAAK,GAAG,MAAM,KAAK,CAAC;AAE3B,OAAO,KAAK,EAAE,cAAc,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,EAAE,SAAS,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAEzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAE5D,KAAK,qBAAqB,GAAG;IAC3B,KAAK,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IAC7B,iBAAiB,CAAC,EAAE;SACjB,GAAG,IAAI,MAAM,kBAAkB,CAAC,CAAC,EAC9B,GAAG,CAAC,YAAY,GAChB,CAAC,CAAC,YAAY,EAAE,GAAG,CAAC,YAAY,KAAK,GAAG,CAAC,YAAY,CAAC;KAC3D,CAAC;IACF,aAAa,CAAC,EAAE,OAAO,CAAC,IAAI,CAAC,kBAAkB,EAAE,QAAQ,CAAC,CAAC,CAAC;IAC5D,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,sBAAsB,CAAC,EAAE,MAAM,CAAC;CACjC,CAAC;AAEF,KAAK,sBAAsB,GACvB;IACE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,KAAK,CAAC;CACzB,GACD;IACE,SAAS,EAAE,QAAQ,CAAC;IACpB,eAAe,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK;QACrC,IAAI,EAAE,MAAM,CAAC;QACb,OAAO,EAAE,MAAM,CAAC;KACjB,CAAC;CACH,CAAC;AAEN,KAAK,oBAAoB,GACrB;IACE,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,QAAQ,CAAC,EAAE,CACT,MAAM,EAAE,kBAAkB,EAC1B,aAAa,EAAE,aAAa,CAAC,kBAAkB,CAAC,KAC7C,OAAO,CAAC,IAAI,CAAC,CAAC;CACpB,GACD;IACE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,OAAO,KAAK,IAAI,CAAC;IACtC,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,UAAU,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,CAAC,cAAc,EAAE;QAAE,MAAM,EAAE,kBAAkB,CAAA;KAAE,CAAC,KAAK,IAAI,CAAC;CACtF,CAAC;AAEN,MAAM,MAAM,iBAAiB,GAAG,qBAAqB,GACnD,sBAAsB,GACtB,oBAAoB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export type RegisterFormValues =
|
|
1
|
+
import type { PatientRegistration } from "@ovok/core/next";
|
|
2
|
+
export type RegisterFormValues = PatientRegistration & {
|
|
3
3
|
submit: string;
|
|
4
4
|
fullName?: string;
|
|
5
5
|
};
|
package/lib/typescript/commonjs/src/modules/auth/register/types/register-form-values.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register-form-values.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/types/register-form-values.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"register-form-values.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/register/types/register-form-values.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,MAAM,MAAM,kBAAkB,GAAG,mBAAmB,GAAG;IACrD,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1,8 +1,6 @@
|
|
|
1
|
-
|
|
2
|
-
logout: () => Promise<void>;
|
|
3
|
-
}
|
|
1
|
+
import type { Ovok } from "@ovok/core/next";
|
|
4
2
|
declare const isLogoutInProgress: (client: object) => boolean;
|
|
5
3
|
/** Uses one native/provider logout path for hooks and the built-in logout control. */
|
|
6
|
-
declare const logoutSession: (client:
|
|
7
|
-
export { isLogoutInProgress, logoutSession
|
|
4
|
+
declare const logoutSession: (client: Ovok) => Promise<void>;
|
|
5
|
+
export { isLogoutInProgress, logoutSession };
|
|
8
6
|
//# sourceMappingURL=logout-session.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"logout-session.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/logout-session.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"logout-session.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/logout-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,iBAAiB,CAAC;AAO5C,QAAA,MAAM,kBAAkB,GAAI,QAAQ,MAAM,KAAG,OACf,CAAC;AAE/B,sFAAsF;AACtF,QAAA,MAAM,aAAa,GAAI,QAAQ,IAAI,KAAG,OAAO,CAAC,IAAI,CAwBjD,CAAC;AAEF,OAAO,EAAE,kBAAkB,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { OvokNativeSession, SessionStatus } from "../types/session";
|
|
2
|
+
import type { Patient, Practitioner, RelatedPerson } from "@medplum/fhirtypes";
|
|
3
|
+
import type { Ovok, SavedAccount } from "@ovok/core/next";
|
|
4
|
+
type Profile = Patient | Practitioner | RelatedPerson;
|
|
5
|
+
interface SessionSnapshot {
|
|
6
|
+
status: SessionStatus;
|
|
7
|
+
activeAccountId?: string;
|
|
8
|
+
reason?: "session-ended";
|
|
9
|
+
accounts: SavedAccount[];
|
|
10
|
+
profile?: Profile;
|
|
11
|
+
profileAccountId?: string;
|
|
12
|
+
sessions: OvokNativeSession[];
|
|
13
|
+
switching: boolean;
|
|
14
|
+
error?: Error;
|
|
15
|
+
}
|
|
16
|
+
declare const initialSnapshot: SessionSnapshot;
|
|
17
|
+
declare const profileFor: (client: Ovok, reference: string) => Promise<Profile>;
|
|
18
|
+
declare const signedOutSnapshot: (accounts: SavedAccount[], previous: SessionSnapshot, requested?: boolean) => SessionSnapshot;
|
|
19
|
+
export { initialSnapshot, profileFor, signedOutSnapshot };
|
|
20
|
+
export type { SessionSnapshot };
|
|
21
|
+
//# sourceMappingURL=session-snapshot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"session-snapshot.d.ts","sourceRoot":"","sources":["../../../../../../../src/modules/auth/session/session-snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACzE,OAAO,KAAK,EAAE,OAAO,EAAE,YAAY,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,KAAK,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAG1D,KAAK,OAAO,GAAG,OAAO,GAAG,YAAY,GAAG,aAAa,CAAC;AAEtD,UAAU,eAAe;IACvB,MAAM,EAAE,aAAa,CAAC;IACtB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,MAAM,CAAC,EAAE,eAAe,CAAC;IACzB,QAAQ,EAAE,YAAY,EAAE,CAAC;IACzB,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,QAAQ,EAAE,iBAAiB,EAAE,CAAC;IAC9B,SAAS,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf;AAED,QAAA,MAAM,eAAe,EAAE,eAKtB,CAAC;AAEF,QAAA,MAAM,UAAU,GAAU,QAAQ,IAAI,EAAE,WAAW,MAAM,KAAG,OAAO,CAAC,OAAO,CAQ1E,CAAC;AAEF,QAAA,MAAM,iBAAiB,GACrB,UAAU,YAAY,EAAE,EACxB,UAAU,eAAe,EACzB,mBAAiB,KAChB,eAYD,CAAC;AAEH,OAAO,EAAE,eAAe,EAAE,UAAU,EAAE,iBAAiB,EAAE,CAAC;AAC1D,YAAY,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/form/login-form-provider.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"login-form-provider.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/modules/auth/sign-in/components/form/login-form-provider.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAS1B,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAI9D,eAAO,MAAM,iBAAiB,EAAE,KAAK,CAAC,EAAE,CACtC,KAAK,CAAC,iBAAiB,CAAC,cAAc,CAAC,CA2GxC,CAAC"}
|
|
@@ -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;
|
|
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;AAG1B,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAIhE,eAAO,MAAM,gBAAgB,GAAI,iFAS9B,KAAK,CAAC,iBAAiB,CAAC,eAAe,CAAC,6BAsE1C,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;
|
|
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;AAIlE,eAAO,MAAM,iBAAiB,GAAI,uHAW/B,KAAK,CAAC,iBAAiB,CAAC,gBAAgB,CAAC,sBAwE3C,CAAC"}
|
|
@@ -44,9 +44,7 @@ export declare const useLoginForm: () => {
|
|
|
44
44
|
status?: any;
|
|
45
45
|
submitCount: number;
|
|
46
46
|
} & {
|
|
47
|
-
mfaStep:
|
|
48
|
-
nextStep: "mfa";
|
|
49
|
-
}> | null;
|
|
47
|
+
mfaStep: import("@ovok/core/next").MfaChallenge | null;
|
|
50
48
|
mfaCode: string;
|
|
51
49
|
mfaError: string | null;
|
|
52
50
|
setMfaCode: (code: string) => void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-login-form.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/hooks/use-login-form.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;oBAEisB,CAAC
|
|
1
|
+
{"version":3,"file":"use-login-form.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/hooks/use-login-form.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY;;;;;;;;;;;;;;oBAEisB,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CADtnB,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { AuthResponse } from "@ovok/core";
|
|
2
1
|
import { TouchableOpacityProps } from "react-native";
|
|
2
|
+
import type { Session } from "@ovok/core/next";
|
|
3
3
|
export type AppleLoginProps = Omit<TouchableOpacityProps, "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "children"> & {
|
|
4
4
|
internalId: string;
|
|
5
5
|
testID?: string;
|
|
6
|
-
onSuccess?: (loginResponse:
|
|
6
|
+
onSuccess?: (loginResponse: Session) => void;
|
|
7
7
|
onError?: (error: Error) => void;
|
|
8
8
|
children: React.ReactNode;
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apple-login-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/apple-login-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"apple-login-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/apple-login-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,eAAe,GAAG,IAAI,CAChC,qBAAqB,EACrB,SAAS,GAAG,WAAW,GAAG,YAAY,GAAG,aAAa,GAAG,UAAU,CACpE,GAAG;IACF,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { AuthResponse } from "@ovok/core";
|
|
2
1
|
import { TouchableOpacityProps } from "react-native";
|
|
2
|
+
import type { Session } from "@ovok/core/next";
|
|
3
3
|
export type GoogleLoginProps = Omit<TouchableOpacityProps, "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "children"> & {
|
|
4
4
|
googleIosClientId: string;
|
|
5
5
|
googleWebClientId: string;
|
|
6
6
|
internalId: string;
|
|
7
7
|
testID?: string;
|
|
8
|
-
onSuccess?: (loginResponse:
|
|
8
|
+
onSuccess?: (loginResponse: Session) => void;
|
|
9
9
|
onError?: (error: Error) => void;
|
|
10
10
|
children: React.ReactNode;
|
|
11
11
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"google-login-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/google-login-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"google-login-props.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/google-login-props.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAErD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAE/C,MAAM,MAAM,gBAAgB,GAAG,IAAI,CACjC,qBAAqB,EACrB,SAAS,GAAG,WAAW,GAAG,YAAY,GAAG,aAAa,GAAG,UAAU,CACpE,GAAG;IACF,iBAAiB,EAAE,MAAM,CAAC;IAC1B,iBAAiB,EAAE,MAAM,CAAC;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,CAAC,aAAa,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjC,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B,CAAC"}
|
|
@@ -1,10 +1,8 @@
|
|
|
1
|
-
import { LoginResponse } from "@ovok/core";
|
|
2
1
|
import { useFormik } from "formik";
|
|
2
|
+
import type { MfaChallenge } from "@ovok/core/next";
|
|
3
3
|
import { LoginFormValues } from "./login-form-values";
|
|
4
4
|
export type LoginFormContextType = ReturnType<typeof useFormik<LoginFormValues>> & {
|
|
5
|
-
mfaStep:
|
|
6
|
-
nextStep: "mfa";
|
|
7
|
-
}> | null;
|
|
5
|
+
mfaStep: MfaChallenge | null;
|
|
8
6
|
mfaCode: string;
|
|
9
7
|
mfaError: string | null;
|
|
10
8
|
setMfaCode: (code: string) => void;
|
package/lib/typescript/commonjs/src/modules/auth/sign-in/types/login-form-context-type.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"login-form-context-type.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/login-form-context-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"login-form-context-type.d.ts","sourceRoot":"","sources":["../../../../../../../../src/modules/auth/sign-in/types/login-form-context-type.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,QAAQ,CAAC;AAEnC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAEpD,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AAEtD,MAAM,MAAM,oBAAoB,GAAG,UAAU,CAC3C,OAAO,SAAS,CAAC,eAAe,CAAC,CAClC,GAAG;IACF,OAAO,EAAE,YAAY,GAAG,IAAI,CAAC;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;CAChC,CAAC"}
|