@tryvital/vital-node 3.1.13 → 3.1.15
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/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/index.d.ts +1 -0
- package/api/resources/index.js +1 -0
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +2 -2
- package/api/resources/labTests/client/Client.js +28 -30
- package/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -2
- package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +1 -1
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.d.ts +2 -1
- package/api/resources/providers/client/Client.js +24 -6
- package/api/resources/providers/client/index.d.ts +1 -1
- package/api/resources/providers/client/index.js +15 -0
- package/api/resources/providers/client/requests/ProvidersGetAllRequest.d.ts +10 -0
- package/api/resources/providers/client/requests/index.d.ts +1 -0
- package/api/resources/providers/client/requests/index.js +2 -0
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.d.ts +2 -5
- package/api/resources/team/client/Client.js +13 -30
- package/api/resources/team/client/requests/index.d.ts +0 -1
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
- package/api/resources/user/client/Client.js +12 -12
- package/api/resources/user/client/requests/UserCreateBody.d.ts +0 -8
- package/api/resources/user/client/requests/UserPatchBody.d.ts +0 -8
- package/api/resources/vitals/client/Client.js +50 -50
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/AppointmentEventStatus.d.ts +0 -3
- package/api/types/AppointmentProvider.d.ts +0 -3
- package/api/types/AppointmentServiceType.d.ts +0 -3
- package/api/types/AppointmentStatus.d.ts +0 -3
- package/api/types/AppointmentType.d.ts +0 -3
- package/api/types/AttemptStatus.d.ts +0 -3
- package/api/types/AuthType.d.ts +0 -3
- package/api/types/Availability.d.ts +0 -3
- package/api/types/ClientFacingActivity.d.ts +0 -12
- package/api/types/ClientFacingAppointment.d.ts +0 -2
- package/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -3
- package/api/types/ClientFacingBloodPressureTimeseries.d.ts +0 -3
- package/api/types/ClientFacingBody.d.ts +0 -2
- package/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -3
- package/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -3
- package/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -3
- package/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -3
- package/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -3
- package/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -3
- package/api/types/ClientFacingDistanceTimeseries.d.ts +0 -3
- package/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -4
- package/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -3
- package/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -3
- package/api/types/ClientFacingHeartRate.d.ts +0 -4
- package/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -3
- package/api/types/ClientFacingHrvTimeseries.d.ts +0 -3
- package/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -3
- package/api/types/ClientFacingIgeTimeseries.d.ts +0 -3
- package/api/types/ClientFacingIggTimeseries.d.ts +0 -3
- package/api/types/ClientFacingLabTest.d.ts +7 -0
- package/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -3
- package/api/types/ClientFacingOrder.d.ts +1 -9
- package/api/types/ClientFacingProviderDetailed.d.ts +0 -1
- package/api/types/ClientFacingResource.d.ts +0 -3
- package/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -3
- package/api/types/ClientFacingSampleGroupingKeys.d.ts +4 -0
- package/api/types/ClientFacingShipment.d.ts +0 -7
- package/api/types/ClientFacingSleep.d.ts +0 -11
- package/api/types/ClientFacingSource.d.ts +0 -1
- package/api/types/ClientFacingStepsTimeseries.d.ts +0 -3
- package/api/types/ClientFacingStream.d.ts +19 -10
- package/api/types/ClientFacingStreamAltitude.d.ts +7 -0
- package/api/types/ClientFacingStreamCadence.d.ts +7 -0
- package/api/types/ClientFacingStreamDistance.d.ts +7 -0
- package/api/types/ClientFacingStreamDistance.js +5 -0
- package/api/types/ClientFacingStreamHeartrate.d.ts +7 -0
- package/api/types/ClientFacingStreamHeartrate.js +5 -0
- package/api/types/ClientFacingStreamLat.d.ts +7 -0
- package/api/types/ClientFacingStreamLat.js +5 -0
- package/api/types/ClientFacingStreamLng.d.ts +7 -0
- package/api/types/ClientFacingStreamLng.js +5 -0
- package/api/types/ClientFacingStreamPower.d.ts +7 -0
- package/api/types/ClientFacingStreamPower.js +5 -0
- package/api/types/ClientFacingStreamResistance.d.ts +7 -0
- package/api/types/ClientFacingStreamResistance.js +5 -0
- package/api/types/ClientFacingStreamVelocitySmooth.d.ts +7 -0
- package/api/types/ClientFacingStreamVelocitySmooth.js +5 -0
- package/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -3
- package/api/types/ClientFacingTestkitOrder.d.ts +0 -1
- package/api/types/ClientFacingUser.d.ts +0 -7
- package/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -3
- package/api/types/ClientFacingWaterTimeseries.d.ts +0 -3
- package/api/types/ClientFacingWorkout.d.ts +1 -18
- package/api/types/ConsentType.d.ts +0 -3
- package/api/types/DelegatedFlowType.d.ts +0 -3
- package/api/types/DemoProviders.d.ts +0 -3
- package/api/types/EmailProviders.d.ts +0 -3
- package/api/types/Fats.d.ts +0 -6
- package/api/types/Gender.d.ts +0 -3
- package/api/types/GroupedBloodOxygenResponse.d.ts +0 -1
- package/api/types/GroupedBloodPressureResponse.d.ts +0 -1
- package/api/types/GroupedBodyFatResponse.d.ts +0 -1
- package/api/types/GroupedBodyWeightResponse.d.ts +0 -1
- package/api/types/GroupedCaffeineResponse.d.ts +0 -1
- package/api/types/GroupedCaloriesActiveResponse.d.ts +0 -1
- package/api/types/GroupedCaloriesBasalResponse.d.ts +0 -1
- package/api/types/GroupedCholesterolResponse.d.ts +0 -1
- package/api/types/GroupedDistanceResponse.d.ts +0 -1
- package/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +0 -1
- package/api/types/GroupedFloorsClimbedResponse.d.ts +0 -1
- package/api/types/GroupedGlucoseResponse.d.ts +0 -1
- package/api/types/GroupedHeartRateResponse.d.ts +0 -1
- package/api/types/GroupedHrvResponse.d.ts +0 -1
- package/api/types/GroupedHypnogramResponse.d.ts +0 -1
- package/api/types/GroupedIgeResponse.d.ts +0 -1
- package/api/types/GroupedIggResponse.d.ts +0 -1
- package/api/types/GroupedMindfulnessMinutesResponse.d.ts +0 -1
- package/api/types/GroupedRespiratoryRateResponse.d.ts +0 -1
- package/api/types/GroupedStepsResponse.d.ts +0 -1
- package/api/types/GroupedStressLevelResponse.d.ts +0 -1
- package/api/types/GroupedVo2MaxResponse.d.ts +0 -1
- package/api/types/GroupedWaterResponse.d.ts +0 -1
- package/api/types/HealthInsuranceCreateRequest.d.ts +0 -7
- package/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -9
- package/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -9
- package/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -9
- package/api/types/HistoricalPullStatus.d.ts +0 -3
- package/api/types/Jpeg.d.ts +1 -0
- package/api/types/LabTestStatus.d.ts +0 -3
- package/api/types/Labs.d.ts +13 -0
- package/api/types/Labs.js +15 -0
- package/api/types/Macros.d.ts +0 -6
- package/api/types/ManualProviders.d.ts +0 -3
- package/api/types/MarkerType.d.ts +0 -3
- package/api/types/Micros.d.ts +3 -6
- package/api/types/OAuthProviders.d.ts +0 -3
- package/api/types/OrderStatus.d.ts +0 -3
- package/api/types/OrderTopLevelStatus.d.ts +0 -3
- package/api/types/PasswordProviders.d.ts +0 -3
- package/api/types/PatientAddressCompatibleInput.d.ts +13 -0
- package/api/types/PatientAddressCompatibleInput.js +5 -0
- package/api/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +1 -1
- package/api/types/PatientAddressCompatibleOutput.js +5 -0
- package/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -9
- package/api/types/Png.d.ts +1 -0
- package/api/types/ProviderLinkResponse.d.ts +1 -1
- package/api/types/Providers.d.ts +0 -3
- package/api/types/QuestionType.d.ts +0 -3
- package/api/types/Region.d.ts +0 -3
- package/api/types/ResponsibleRelationship.d.ts +0 -3
- package/api/types/ResultType.d.ts +0 -3
- package/api/types/SourceAuthType.d.ts +0 -3
- package/api/types/SourceType.d.ts +0 -3
- package/api/types/TimeseriesResource.d.ts +0 -3
- package/api/types/UsAddress.d.ts +0 -1
- package/api/types/index.d.ts +59 -47
- package/api/types/index.js +59 -47
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/index.d.ts +1 -0
- package/dist/api/resources/index.js +1 -0
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +2 -2
- package/dist/api/resources/labTests/client/Client.js +28 -30
- package/dist/api/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +1 -2
- package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +1 -1
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.d.ts +2 -1
- package/dist/api/resources/providers/client/Client.js +24 -6
- package/dist/api/resources/providers/client/index.d.ts +1 -1
- package/dist/api/resources/providers/client/index.js +15 -0
- package/dist/api/resources/providers/client/requests/ProvidersGetAllRequest.d.ts +10 -0
- package/dist/api/resources/providers/client/requests/ProvidersGetAllRequest.js +5 -0
- package/dist/api/resources/providers/client/requests/index.d.ts +1 -0
- package/dist/api/resources/providers/client/requests/index.js +2 -0
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.d.ts +2 -5
- package/dist/api/resources/team/client/Client.js +13 -30
- package/dist/api/resources/team/client/requests/index.d.ts +0 -1
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +1 -1
- package/dist/api/resources/user/client/Client.js +12 -12
- package/dist/api/resources/user/client/requests/UserCreateBody.d.ts +0 -8
- package/dist/api/resources/user/client/requests/UserPatchBody.d.ts +0 -8
- package/dist/api/resources/vitals/client/Client.js +50 -50
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/AppointmentEventStatus.d.ts +0 -3
- package/dist/api/types/AppointmentProvider.d.ts +0 -3
- package/dist/api/types/AppointmentServiceType.d.ts +0 -3
- package/dist/api/types/AppointmentStatus.d.ts +0 -3
- package/dist/api/types/AppointmentType.d.ts +0 -3
- package/dist/api/types/AttemptStatus.d.ts +0 -3
- package/dist/api/types/AuthType.d.ts +0 -3
- package/dist/api/types/Availability.d.ts +0 -3
- package/dist/api/types/ClientFacingActivity.d.ts +0 -12
- package/dist/api/types/ClientFacingAppointment.d.ts +0 -2
- package/dist/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingBloodPressureTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingBody.d.ts +0 -2
- package/dist/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingDistanceTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +2 -4
- package/dist/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingHeartRate.d.ts +0 -4
- package/dist/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingHrvTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingIgeTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingIggTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingLabTest.d.ts +7 -0
- package/dist/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingOrder.d.ts +1 -9
- package/dist/api/types/ClientFacingProviderDetailed.d.ts +0 -1
- package/dist/api/types/ClientFacingResource.d.ts +0 -3
- package/dist/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingSampleGroupingKeys.d.ts +4 -0
- package/dist/api/types/ClientFacingSampleGroupingKeys.js +5 -0
- package/dist/api/types/ClientFacingShipment.d.ts +0 -7
- package/dist/api/types/ClientFacingSleep.d.ts +0 -11
- package/dist/api/types/ClientFacingSource.d.ts +0 -1
- package/dist/api/types/ClientFacingStepsTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingStream.d.ts +19 -10
- package/dist/api/types/ClientFacingStreamAltitude.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamAltitude.js +5 -0
- package/dist/api/types/ClientFacingStreamCadence.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamCadence.js +5 -0
- package/dist/api/types/ClientFacingStreamDistance.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamDistance.js +5 -0
- package/dist/api/types/ClientFacingStreamHeartrate.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamHeartrate.js +5 -0
- package/dist/api/types/ClientFacingStreamLat.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamLat.js +5 -0
- package/dist/api/types/ClientFacingStreamLng.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamLng.js +5 -0
- package/dist/api/types/ClientFacingStreamPower.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamPower.js +5 -0
- package/dist/api/types/ClientFacingStreamResistance.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamResistance.js +5 -0
- package/dist/api/types/ClientFacingStreamVelocitySmooth.d.ts +7 -0
- package/dist/api/types/ClientFacingStreamVelocitySmooth.js +5 -0
- package/dist/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingTestkitOrder.d.ts +0 -1
- package/dist/api/types/ClientFacingUser.d.ts +0 -7
- package/dist/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingWaterTimeseries.d.ts +0 -3
- package/dist/api/types/ClientFacingWorkout.d.ts +1 -18
- package/dist/api/types/ConsentType.d.ts +0 -3
- package/dist/api/types/DelegatedFlowType.d.ts +0 -3
- package/dist/api/types/DemoProviders.d.ts +0 -3
- package/dist/api/types/EmailProviders.d.ts +0 -3
- package/dist/api/types/Fats.d.ts +0 -6
- package/dist/api/types/Gender.d.ts +0 -3
- package/dist/api/types/GroupedBloodOxygenResponse.d.ts +0 -1
- package/dist/api/types/GroupedBloodPressureResponse.d.ts +0 -1
- package/dist/api/types/GroupedBodyFatResponse.d.ts +0 -1
- package/dist/api/types/GroupedBodyWeightResponse.d.ts +0 -1
- package/dist/api/types/GroupedCaffeineResponse.d.ts +0 -1
- package/dist/api/types/GroupedCaloriesActiveResponse.d.ts +0 -1
- package/dist/api/types/GroupedCaloriesBasalResponse.d.ts +0 -1
- package/dist/api/types/GroupedCholesterolResponse.d.ts +0 -1
- package/dist/api/types/GroupedDistanceResponse.d.ts +0 -1
- package/dist/api/types/GroupedElectrocardiogramVoltageResponse.d.ts +0 -1
- package/dist/api/types/GroupedFloorsClimbedResponse.d.ts +0 -1
- package/dist/api/types/GroupedGlucoseResponse.d.ts +0 -1
- package/dist/api/types/GroupedHeartRateResponse.d.ts +0 -1
- package/dist/api/types/GroupedHrvResponse.d.ts +0 -1
- package/dist/api/types/GroupedHypnogramResponse.d.ts +0 -1
- package/dist/api/types/GroupedIgeResponse.d.ts +0 -1
- package/dist/api/types/GroupedIggResponse.d.ts +0 -1
- package/dist/api/types/GroupedMindfulnessMinutesResponse.d.ts +0 -1
- package/dist/api/types/GroupedRespiratoryRateResponse.d.ts +0 -1
- package/dist/api/types/GroupedStepsResponse.d.ts +0 -1
- package/dist/api/types/GroupedStressLevelResponse.d.ts +0 -1
- package/dist/api/types/GroupedVo2MaxResponse.d.ts +0 -1
- package/dist/api/types/GroupedWaterResponse.d.ts +0 -1
- package/dist/api/types/HealthInsuranceCreateRequest.d.ts +0 -7
- package/dist/api/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -9
- package/dist/api/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -9
- package/dist/api/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -9
- package/dist/api/types/HistoricalPullStatus.d.ts +0 -3
- package/dist/api/types/Jpeg.d.ts +1 -0
- package/dist/api/types/LabTestStatus.d.ts +0 -3
- package/dist/api/types/Labs.d.ts +13 -0
- package/dist/api/types/Labs.js +15 -0
- package/dist/api/types/Macros.d.ts +0 -6
- package/dist/api/types/ManualProviders.d.ts +0 -3
- package/dist/api/types/MarkerType.d.ts +0 -3
- package/dist/api/types/Micros.d.ts +3 -6
- package/dist/api/types/OAuthProviders.d.ts +0 -3
- package/dist/api/types/OrderStatus.d.ts +0 -3
- package/dist/api/types/OrderTopLevelStatus.d.ts +0 -3
- package/dist/api/types/PasswordProviders.d.ts +0 -3
- package/dist/api/types/PatientAddressCompatibleInput.d.ts +13 -0
- package/dist/api/types/PatientAddressCompatibleInput.js +5 -0
- package/dist/api/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +1 -1
- package/dist/api/types/PatientAddressCompatibleOutput.js +5 -0
- package/dist/api/types/PhysicianCreateRequestSignatureImage.d.ts +1 -9
- package/dist/api/types/Png.d.ts +1 -0
- package/dist/api/types/ProviderLinkResponse.d.ts +1 -1
- package/dist/api/types/Providers.d.ts +0 -3
- package/dist/api/types/QuestionType.d.ts +0 -3
- package/dist/api/types/Region.d.ts +0 -3
- package/dist/api/types/ResponsibleRelationship.d.ts +0 -3
- package/dist/api/types/ResultType.d.ts +0 -3
- package/dist/api/types/SourceAuthType.d.ts +0 -3
- package/dist/api/types/SourceType.d.ts +0 -3
- package/dist/api/types/TimeseriesResource.d.ts +0 -3
- package/dist/api/types/UsAddress.d.ts +0 -1
- package/dist/api/types/index.d.ts +59 -47
- package/dist/api/types/index.js +59 -47
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/dist/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
- package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -1
- package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +2 -2
- package/dist/serialization/types/ClientFacingOrder.d.ts +2 -2
- package/dist/serialization/types/ClientFacingOrder.js +2 -2
- package/dist/serialization/types/ClientFacingSampleGroupingKeys.d.ts +10 -0
- package/dist/serialization/types/ClientFacingSampleGroupingKeys.js +31 -0
- package/dist/serialization/types/ClientFacingStream.d.ts +18 -9
- package/dist/serialization/types/ClientFacingStream.js +18 -9
- package/dist/serialization/types/ClientFacingStreamAltitude.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamAltitude.js +34 -0
- package/dist/serialization/types/ClientFacingStreamCadence.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamCadence.js +34 -0
- package/dist/serialization/types/ClientFacingStreamDistance.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamDistance.js +34 -0
- package/dist/serialization/types/ClientFacingStreamHeartrate.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamHeartrate.js +34 -0
- package/dist/serialization/types/ClientFacingStreamLat.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamLat.js +34 -0
- package/dist/serialization/types/ClientFacingStreamLng.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamLng.js +34 -0
- package/dist/serialization/types/ClientFacingStreamPower.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamPower.js +34 -0
- package/dist/serialization/types/ClientFacingStreamResistance.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamResistance.js +34 -0
- package/dist/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStreamVelocitySmooth.js +34 -0
- package/dist/serialization/types/ClientFacingWorkout.d.ts +1 -0
- package/dist/serialization/types/ClientFacingWorkout.js +1 -0
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -7
- package/dist/serialization/types/HealthInsuranceCreateRequestBackImage.js +1 -9
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -7
- package/dist/serialization/types/HealthInsuranceCreateRequestFrontImage.js +1 -9
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -7
- package/dist/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +1 -9
- package/dist/serialization/types/Jpeg.d.ts +1 -0
- package/dist/serialization/types/Jpeg.js +1 -0
- package/dist/serialization/types/Labs.d.ts +10 -0
- package/dist/serialization/types/Labs.js +39 -0
- package/dist/serialization/types/Micros.d.ts +3 -3
- package/dist/serialization/types/Micros.js +3 -3
- package/dist/serialization/types/PatientAddressCompatibleInput.d.ts +19 -0
- package/dist/serialization/types/PatientAddressCompatibleInput.js +40 -0
- package/dist/serialization/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +2 -2
- package/dist/serialization/types/{PatientAddressCompatible.js → PatientAddressCompatibleOutput.js} +2 -2
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +1 -7
- package/dist/serialization/types/PhysicianCreateRequestSignatureImage.js +1 -9
- package/dist/serialization/types/Png.d.ts +1 -0
- package/dist/serialization/types/Png.js +1 -0
- package/dist/serialization/types/ProfileInDb.d.ts +1 -1
- package/dist/serialization/types/ProfileInDb.js +1 -1
- package/dist/serialization/types/ProviderLinkResponse.d.ts +1 -1
- package/dist/serialization/types/ProviderLinkResponse.js +1 -1
- package/dist/serialization/types/index.d.ts +59 -47
- package/dist/serialization/types/index.js +59 -47
- package/package.json +1 -1
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/CreateOrderRequestCompatible.js +2 -2
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.d.ts +2 -2
- package/serialization/resources/testkit/client/requests/RegisterTestkitRequest.js +2 -2
- package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -1
- package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +2 -2
- package/serialization/types/ClientFacingOrder.d.ts +2 -2
- package/serialization/types/ClientFacingOrder.js +2 -2
- package/serialization/types/ClientFacingSampleGroupingKeys.d.ts +10 -0
- package/serialization/types/ClientFacingSampleGroupingKeys.js +31 -0
- package/serialization/types/ClientFacingStream.d.ts +18 -9
- package/serialization/types/ClientFacingStream.js +18 -9
- package/serialization/types/ClientFacingStreamAltitude.d.ts +10 -0
- package/serialization/types/ClientFacingStreamAltitude.js +34 -0
- package/serialization/types/ClientFacingStreamCadence.d.ts +10 -0
- package/serialization/types/ClientFacingStreamCadence.js +34 -0
- package/serialization/types/ClientFacingStreamDistance.d.ts +10 -0
- package/serialization/types/ClientFacingStreamDistance.js +34 -0
- package/serialization/types/ClientFacingStreamHeartrate.d.ts +10 -0
- package/serialization/types/ClientFacingStreamHeartrate.js +34 -0
- package/serialization/types/ClientFacingStreamLat.d.ts +10 -0
- package/serialization/types/ClientFacingStreamLat.js +34 -0
- package/serialization/types/ClientFacingStreamLng.d.ts +10 -0
- package/serialization/types/ClientFacingStreamLng.js +34 -0
- package/serialization/types/ClientFacingStreamPower.d.ts +10 -0
- package/serialization/types/ClientFacingStreamPower.js +34 -0
- package/serialization/types/ClientFacingStreamResistance.d.ts +10 -0
- package/serialization/types/ClientFacingStreamResistance.js +34 -0
- package/serialization/types/ClientFacingStreamVelocitySmooth.d.ts +10 -0
- package/serialization/types/ClientFacingStreamVelocitySmooth.js +34 -0
- package/serialization/types/ClientFacingWorkout.d.ts +1 -0
- package/serialization/types/ClientFacingWorkout.js +1 -0
- package/serialization/types/HealthInsuranceCreateRequestBackImage.d.ts +1 -7
- package/serialization/types/HealthInsuranceCreateRequestBackImage.js +1 -9
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.d.ts +1 -7
- package/serialization/types/HealthInsuranceCreateRequestFrontImage.js +1 -9
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.d.ts +1 -7
- package/serialization/types/HealthInsuranceCreateRequestPatientSignatureImage.js +1 -9
- package/serialization/types/Jpeg.d.ts +1 -0
- package/serialization/types/Jpeg.js +1 -0
- package/serialization/types/Labs.d.ts +10 -0
- package/serialization/types/Labs.js +39 -0
- package/serialization/types/Micros.d.ts +3 -3
- package/serialization/types/Micros.js +3 -3
- package/serialization/types/PatientAddressCompatibleInput.d.ts +19 -0
- package/serialization/types/PatientAddressCompatibleInput.js +40 -0
- package/serialization/types/{PatientAddressCompatible.d.ts → PatientAddressCompatibleOutput.d.ts} +2 -2
- package/serialization/types/{PatientAddressCompatible.js → PatientAddressCompatibleOutput.js} +2 -2
- package/serialization/types/PhysicianCreateRequestSignatureImage.d.ts +1 -7
- package/serialization/types/PhysicianCreateRequestSignatureImage.js +1 -9
- package/serialization/types/Png.d.ts +1 -0
- package/serialization/types/Png.js +1 -0
- package/serialization/types/ProfileInDb.d.ts +1 -1
- package/serialization/types/ProfileInDb.js +1 -1
- package/serialization/types/ProviderLinkResponse.d.ts +1 -1
- package/serialization/types/ProviderLinkResponse.js +1 -1
- package/serialization/types/index.d.ts +59 -47
- package/serialization/types/index.js +59 -47
- package/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +0 -12
- package/dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.d.ts +0 -12
- /package/api/resources/{team/client/requests/TeamUpdateSourcePrioritiesRequest.js → providers/client/requests/ProvidersGetAllRequest.js} +0 -0
- /package/api/types/{PatientAddressCompatible.js → ClientFacingSampleGroupingKeys.js} +0 -0
- /package/{dist/api/resources/team/client/requests/TeamUpdateSourcePrioritiesRequest.js → api/types/ClientFacingStreamAltitude.js} +0 -0
- /package/{dist/api/types/PatientAddressCompatible.js → api/types/ClientFacingStreamCadence.js} +0 -0
@@ -2,11 +2,8 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
export interface ClientFacingStressLevelTimeseries {
|
5
|
-
/** Deprecated */
|
6
5
|
id?: number;
|
7
|
-
/** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
|
8
6
|
timezoneOffset?: number;
|
9
|
-
/** The reading type of the measurement. This is applicable only to Cholesterol, IGG and IGE. */
|
10
7
|
type?: string;
|
11
8
|
/** Measured in percentage (0-100). */
|
12
9
|
unit: string;
|
@@ -13,15 +13,8 @@ export interface ClientFacingUser {
|
|
13
13
|
createdOn: Date;
|
14
14
|
/** A list of the users connected sources. */
|
15
15
|
connectedSources: Vital.ConnectedSourceClientFacing[];
|
16
|
-
/**
|
17
|
-
* Fallback time zone of the user, in the form of a valid IANA tzdatabase identifier (e.g., `Europe/London` or `America/Los_Angeles`).
|
18
|
-
* Used when pulling data from sources that are completely time zone agnostic (e.g., all time is relative to UTC clock, without any time zone attributions on data points).
|
19
|
-
*/
|
20
16
|
fallbackTimeZone?: Vital.FallbackTimeZone;
|
21
|
-
/** Fallback date of birth of the user, in YYYY-mm-dd format. Used for calculating max heartrate for providers that don not provide users' age. */
|
22
17
|
fallbackBirthDate?: Vital.FallbackBirthDate;
|
23
|
-
/** Starting bound for user data ingestion. Data older than this date will not be ingested. */
|
24
18
|
ingestionStart?: string;
|
25
|
-
/** Ending bound for user data ingestion. Data from this date or later will not be ingested and the connection will be deregistered. */
|
26
19
|
ingestionEnd?: string;
|
27
20
|
}
|
@@ -2,11 +2,8 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
export interface ClientFacingVo2MaxTimeseries {
|
5
|
-
/** Deprecated */
|
6
5
|
id?: number;
|
7
|
-
/** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
|
8
6
|
timezoneOffset?: number;
|
9
|
-
/** The reading type of the measurement. This is applicable only to Cholesterol, IGG and IGE. */
|
10
7
|
type?: string;
|
11
8
|
/** Measured in mL/kg/min. */
|
12
9
|
unit: string;
|
@@ -2,11 +2,8 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
export interface ClientFacingWaterTimeseries {
|
5
|
-
/** Deprecated */
|
6
5
|
id?: number;
|
7
|
-
/** Time zone UTC offset in seconds. Positive offset indicates east of UTC; negative offset indicates west of UTC; and null indicates the time zone information is unavailable at source. */
|
8
6
|
timezoneOffset?: number;
|
9
|
-
/** The reading type of the measurement. This is applicable only to Cholesterol, IGG and IGE. */
|
10
7
|
type?: string;
|
11
8
|
/** Measured in milliters. */
|
12
9
|
unit: string;
|
@@ -6,15 +6,10 @@ export interface ClientFacingWorkout {
|
|
6
6
|
/** User id returned by vital create user request. This id should be stored in your database against the user and used for all interactions with the vital api. */
|
7
7
|
userId: string;
|
8
8
|
id: string;
|
9
|
-
/** Title given for the workout */
|
10
9
|
title?: string;
|
11
|
-
/** Timezone offset from UTC as seconds. For example, EEST (Eastern European Summer Time, +3h) is 10800. PST (Pacific Standard Time, -8h) is -28800::seconds */
|
12
10
|
timezoneOffset?: number;
|
13
|
-
/** Average heart rate during workout::bpm */
|
14
11
|
averageHr?: number;
|
15
|
-
/** Max heart rate during workout::bpm */
|
16
12
|
maxHr?: number;
|
17
|
-
/** Distance travelled during workout::meters */
|
18
13
|
distance?: number;
|
19
14
|
/** Date of the workout summary in the YYYY-mm-dd format. This generally matches the workout start date. */
|
20
15
|
calendarDate: string;
|
@@ -22,33 +17,21 @@ export interface ClientFacingWorkout {
|
|
22
17
|
timeStart: Date;
|
23
18
|
/** End time of the workout::time */
|
24
19
|
timeEnd: Date;
|
25
|
-
/** Calories burned during the workout::kCal */
|
26
20
|
calories?: number;
|
27
21
|
/** Sport's name */
|
28
22
|
sport?: Vital.ClientFacingSport;
|
29
|
-
/** Time in seconds spent in different heart rate zones <50%, 50-60%, 60-70%, 70-80%, 80-90%, 90%+. Due to rounding errors, it's possible that summing all values is different than the total time of the workout. Not available for all providers::seconds */
|
30
23
|
hrZones?: number[];
|
31
|
-
/** Time spent active during the workout::seconds */
|
32
24
|
movingTime?: number;
|
33
|
-
/** Elevation gain during the workout::meters */
|
34
25
|
totalElevationGain?: number;
|
35
|
-
/** Highest point of elevation::meters */
|
36
26
|
elevHigh?: number;
|
37
|
-
/** Lowest point of elevation::meters */
|
38
27
|
elevLow?: number;
|
39
|
-
/** Average speed during workout in m/s::meters/sec */
|
40
28
|
averageSpeed?: number;
|
41
|
-
/** Max speed during workout in m/s::meters/sec */
|
42
29
|
maxSpeed?: number;
|
43
|
-
/** Average watts burned during exercise::watts */
|
44
30
|
averageWatts?: number;
|
45
|
-
/** Watts burned during exercise::watts */
|
46
31
|
deviceWatts?: number;
|
47
|
-
/** Max watts burned during exercise::watts */
|
48
32
|
maxWatts?: number;
|
49
|
-
/** Weighted average watts burned during exercise::watts */
|
50
33
|
weightedAverageWatts?: number;
|
51
|
-
|
34
|
+
steps?: number;
|
52
35
|
map?: Record<string, unknown>;
|
53
36
|
/** Provider ID given for that specific workout */
|
54
37
|
providerId: string;
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type ConsentType = "terms-of-use" | "telehealth-informed-consent" | "mobile-terms-and-conditions" | "notice-of-privacy-practices" | "privacy-policy" | "hipaa-authorization";
|
8
5
|
export declare const ConsentType: {
|
9
6
|
readonly TermsOfUse: "terms-of-use";
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type DelegatedFlowType = "order_and_results_with_customer_physician_network" | "order_with_vital_physician_network" | "order_and_results_with_vital_physician_network";
|
8
5
|
export declare const DelegatedFlowType: {
|
9
6
|
readonly OrderAndResultsWithCustomerPhysicianNetwork: "order_and_results_with_customer_physician_network";
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type DemoProviders = "apple_health_kit" | "fitbit" | "freestyle_libre" | "oura";
|
8
5
|
export declare const DemoProviders: {
|
9
6
|
readonly AppleHealthKit: "apple_health_kit";
|
package/api/types/Fats.d.ts
CHANGED
@@ -2,16 +2,10 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
export interface Fats {
|
5
|
-
/** Amount of saturated fats in grams (g) */
|
6
5
|
saturated?: number;
|
7
|
-
/** Amount of monounsaturated fats in grams (g) */
|
8
6
|
monounsaturated?: number;
|
9
|
-
/** Amount of polyunsaturated fats in grams (g) */
|
10
7
|
polyunsaturated?: number;
|
11
|
-
/** Amount of Omega-3 fatty acids in grams (g) */
|
12
8
|
omega3?: number;
|
13
|
-
/** Amount of Omega-6 fatty acids in grams (g) */
|
14
9
|
omega6?: number;
|
15
|
-
/** Total amount of fats in grams (g) */
|
16
10
|
total?: number;
|
17
11
|
}
|
package/api/types/Gender.d.ts
CHANGED
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedBloodOxygenResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedBloodOxygen[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedBloodPressureResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedBloodPressure[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedBodyFatResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedBodyFat[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedBodyWeightResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedBodyWeight[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedCaffeineResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedCaffeine[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedCaloriesActiveResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedCaloriesActive[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedCaloriesBasalResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedCaloriesBasal[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedCholesterolResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedCholesterol[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedDistanceResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedDistance[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedElectrocardiogramVoltageResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedElectrocardiogramVoltage[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedFloorsClimbedResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedFloorsClimbed[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedGlucoseResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedGlucose[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedHeartRateResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedHeartRate[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedHrvResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedHrv[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedHypnogramResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedHypnogram[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedIgeResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedIge[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedIggResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedIgg[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedMindfulnessMinutesResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedMindfulnessMinutes[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedRespiratoryRateResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedRespiratoryRate[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedStepsResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedSteps[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedStressLevelResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedStressLevel[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedVo2MaxResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedVo2Max[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -5,6 +5,5 @@ import * as Vital from "..";
|
|
5
5
|
export interface GroupedWaterResponse {
|
6
6
|
/** For each matching provider or lab, a list of grouped timeseries values. */
|
7
7
|
groups: Record<string, Vital.GroupedWater[]>;
|
8
|
-
/** The cursor for fetching the next page, or `null` if there is no more data. */
|
9
8
|
next?: string;
|
10
9
|
}
|
@@ -9,18 +9,11 @@ export interface HealthInsuranceCreateRequest {
|
|
9
9
|
backImage?: Vital.HealthInsuranceCreateRequestBackImage;
|
10
10
|
/** An image of the patient signature for health insurance billing. */
|
11
11
|
patientSignatureImage?: Vital.HealthInsuranceCreateRequestPatientSignatureImage;
|
12
|
-
/** Textual description of what are the patient symptoms and attempted treatments. */
|
13
12
|
subjective?: string;
|
14
|
-
/** Textual description of what are the physician assessments and testing plans. */
|
15
13
|
assessmentPlan?: string;
|
16
|
-
/** Unique identifier representing a specific Health Insurance. */
|
17
14
|
payorCode?: string;
|
18
|
-
/** Insurance unique number assigned to a patient, usually present on the insurance card. */
|
19
15
|
insuranceId?: string;
|
20
|
-
/** Relationship between the patient and the insurance contractor. Values can be (Self, Spouse, Other Relationship). */
|
21
16
|
responsibleRelationship?: Vital.ResponsibleRelationship;
|
22
|
-
/** Responsible details when the value of responsible_relationship is not 'Self'. */
|
23
17
|
responsibleDetails?: Vital.PersonDetails;
|
24
|
-
/** Diagnosis codes for insurance billing. */
|
25
18
|
diagnosisCodes?: string[];
|
26
19
|
}
|
@@ -5,12 +5,4 @@ import * as Vital from "..";
|
|
5
5
|
/**
|
6
6
|
* An image of the back of the patient insurance card.
|
7
7
|
*/
|
8
|
-
export declare type HealthInsuranceCreateRequestBackImage = Vital.
|
9
|
-
export declare namespace HealthInsuranceCreateRequestBackImage {
|
10
|
-
interface ImageJpeg extends Vital.Jpeg {
|
11
|
-
contentType: "image/jpeg";
|
12
|
-
}
|
13
|
-
interface ImagePng extends Vital.Png {
|
14
|
-
contentType: "image/png";
|
15
|
-
}
|
16
|
-
}
|
8
|
+
export declare type HealthInsuranceCreateRequestBackImage = Vital.Jpeg | Vital.Png;
|
@@ -5,12 +5,4 @@ import * as Vital from "..";
|
|
5
5
|
/**
|
6
6
|
* An image of the front of the patient insurance card.
|
7
7
|
*/
|
8
|
-
export declare type HealthInsuranceCreateRequestFrontImage = Vital.
|
9
|
-
export declare namespace HealthInsuranceCreateRequestFrontImage {
|
10
|
-
interface ImageJpeg extends Vital.Jpeg {
|
11
|
-
contentType: "image/jpeg";
|
12
|
-
}
|
13
|
-
interface ImagePng extends Vital.Png {
|
14
|
-
contentType: "image/png";
|
15
|
-
}
|
16
|
-
}
|
8
|
+
export declare type HealthInsuranceCreateRequestFrontImage = Vital.Jpeg | Vital.Png;
|
@@ -5,12 +5,4 @@ import * as Vital from "..";
|
|
5
5
|
/**
|
6
6
|
* An image of the patient signature for health insurance billing.
|
7
7
|
*/
|
8
|
-
export declare type HealthInsuranceCreateRequestPatientSignatureImage = Vital.
|
9
|
-
export declare namespace HealthInsuranceCreateRequestPatientSignatureImage {
|
10
|
-
interface ImageJpeg extends Vital.Jpeg {
|
11
|
-
contentType: "image/jpeg";
|
12
|
-
}
|
13
|
-
interface ImagePng extends Vital.Png {
|
14
|
-
contentType: "image/png";
|
15
|
-
}
|
16
|
-
}
|
8
|
+
export declare type HealthInsuranceCreateRequestPatientSignatureImage = Vital.Jpeg | Vital.Png;
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type HistoricalPullStatus = "success" | "failure" | "in_progress" | "scheduled";
|
8
5
|
export declare const HistoricalPullStatus: {
|
9
6
|
readonly Success: "success";
|
package/api/types/Jpeg.d.ts
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type Labs = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual";
|
5
|
+
export declare const Labs: {
|
6
|
+
readonly Ayumetrix: "ayumetrix";
|
7
|
+
readonly Spiriplex: "spiriplex";
|
8
|
+
readonly Ussl: "ussl";
|
9
|
+
readonly Quest: "quest";
|
10
|
+
readonly Labcorp: "labcorp";
|
11
|
+
readonly Bioreference: "bioreference";
|
12
|
+
readonly Manual: "manual";
|
13
|
+
};
|
@@ -0,0 +1,15 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.Labs = void 0;
|
7
|
+
exports.Labs = {
|
8
|
+
Ayumetrix: "ayumetrix",
|
9
|
+
Spiriplex: "spiriplex",
|
10
|
+
Ussl: "ussl",
|
11
|
+
Quest: "quest",
|
12
|
+
Labcorp: "labcorp",
|
13
|
+
Bioreference: "bioreference",
|
14
|
+
Manual: "manual",
|
15
|
+
};
|
package/api/types/Macros.d.ts
CHANGED
@@ -3,18 +3,12 @@
|
|
3
3
|
*/
|
4
4
|
import * as Vital from "..";
|
5
5
|
export interface Macros {
|
6
|
-
/** Amount of carbohydrates in grams (g) */
|
7
6
|
carbs?: number;
|
8
|
-
/** Amount of protein in grams (g) */
|
9
7
|
protein?: number;
|
10
8
|
/** Details of fat content */
|
11
9
|
fats?: Vital.Fats;
|
12
|
-
/** Amount of alcohol in grams (g) */
|
13
10
|
alcohol?: number;
|
14
|
-
/** Amount of water in grams (g) */
|
15
11
|
water?: number;
|
16
|
-
/** Amount of dietary fiber in grams (g) */
|
17
12
|
fibre?: number;
|
18
|
-
/** Amount of sugar in grams (g) */
|
19
13
|
sugar?: number;
|
20
14
|
}
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type ManualProviders = "beurer_ble" | "omron_ble" | "accuchek_ble" | "contour_ble" | "freestyle_libre_ble" | "onetouch_ble" | "apple_health_kit" | "manual" | "health_connect";
|
8
5
|
export declare const ManualProviders: {
|
9
6
|
readonly BeurerBle: "beurer_ble";
|
package/api/types/Micros.d.ts
CHANGED
@@ -2,10 +2,7 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
export interface Micros {
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
traceElements?: Record<string, number>;
|
9
|
-
/** Amount of each vitamin in grams (g) */
|
10
|
-
vitamins?: Record<string, number>;
|
5
|
+
minerals?: Record<string, number | undefined>;
|
6
|
+
traceElements?: Record<string, number | undefined>;
|
7
|
+
vitamins?: Record<string, number | undefined>;
|
11
8
|
}
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type OAuthProviders = "oura" | "fitbit" | "garmin" | "strava" | "wahoo" | "ihealth" | "withings" | "google_fit" | "dexcom_v3" | "polar" | "cronometer" | "omron" | "whoop_v2";
|
8
5
|
export declare const OAuthProviders: {
|
9
6
|
readonly Oura: "oura";
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type OrderStatus = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process";
|
8
5
|
export declare const OrderStatus: {
|
9
6
|
readonly ReceivedWalkInTestOrdered: "received.walk_in_test.ordered";
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type OrderTopLevelStatus = "received" | "collecting_sample" | "sample_with_lab" | "completed" | "cancelled" | "failed";
|
8
5
|
export declare const OrderTopLevelStatus: {
|
9
6
|
readonly Received: "received";
|
@@ -1,9 +1,6 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
/**
|
5
|
-
* An enumeration.
|
6
|
-
*/
|
7
4
|
export declare type PasswordProviders = "whoop" | "renpho" | "peloton" | "zwift" | "eight_sleep" | "beurer_api" | "dexcom" | "hammerhead" | "my_fitness_pal" | "kardia" | "abbott_libreview";
|
8
5
|
export declare const PasswordProviders: {
|
9
6
|
readonly Whoop: "whoop";
|