@tryvital/vital-node 3.1.216 → 3.1.229
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/README.md +4 -0
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/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/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +34 -3
- package/api/resources/labTests/client/Client.js +122 -39
- package/api/resources/labTests/client/requests/ImportOrderBody.d.ts +40 -0
- package/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +0 -7
- package/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/api/resources/link/client/Client.js +18 -18
- package/api/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/order/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/sleepCycle/client/Client.js +1 -1
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.d.ts +221 -0
- package/api/resources/vitals/client/Client.js +1418 -58
- package/api/resources/vitals/client/requests/VitalsBasalBodyTemperatureGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsBodyMassIndexGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsBodyMassIndexGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsDaylightExposureGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsDaylightExposureGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsFallGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsFallGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsForcedExpiratoryVolume1GroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsForcedExpiratoryVolume1GroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsForcedVitalCapacityGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsForcedVitalCapacityGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsHandwashingGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsHandwashingGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsInhalerUsageGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsInhalerUsageGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsLeanBodyMassGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsLeanBodyMassGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsPeakExpiratoryFlowRateGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsPeakExpiratoryFlowRateGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsSleepApneaAlertGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsSleepApneaAlertGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsSleepBreathingDisturbanceGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsSleepBreathingDisturbanceGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsStandDurationGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsStandDurationGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsStandHourGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsStandHourGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsUvExposureGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsUvExposureGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsWaistCircumferenceGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsWaistCircumferenceGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsWheelchairPushGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsWheelchairPushGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/index.d.ts +17 -0
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ActivityColumnExprActivity.d.ts +4 -1
- package/api/types/ActivityColumnExprActivity.js +3 -0
- package/api/types/BodyColumnExprBody.d.ts +4 -1
- package/api/types/BodyColumnExprBody.js +3 -0
- package/api/types/ClientFacingAFibBurdenSample.d.ts +0 -2
- package/api/types/ClientFacingActivity.d.ts +2 -0
- package/api/types/{ClientFacingCreatedChanged.d.ts → ClientFacingAppointmentChanged.d.ts} +2 -2
- package/api/types/ClientFacingAppointmentChanged.js +5 -0
- package/{dist/api/types/ClientFacingCreatedChangedEventType.d.ts → api/types/ClientFacingAppointmentChangedEventType.d.ts} +2 -2
- package/{dist/api/types/ClientFacingCreatedChangedEventType.js → api/types/ClientFacingAppointmentChangedEventType.js} +2 -2
- package/api/types/ClientFacingBasalBodyTemperatureChanged.d.ts +11 -0
- package/api/types/ClientFacingBasalBodyTemperatureChanged.js +5 -0
- package/api/types/ClientFacingBasalBodyTemperatureChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingBasalBodyTemperatureChangedEventType.js +10 -0
- package/api/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingBasalBodyTemperatureSample.d.ts +20 -0
- package/api/types/ClientFacingBasalBodyTemperatureSample.js +5 -0
- package/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -2
- package/api/types/ClientFacingBody.d.ts +3 -0
- package/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -2
- package/api/types/ClientFacingBodyMassIndexChanged.d.ts +11 -0
- package/api/types/ClientFacingBodyMassIndexChanged.js +5 -0
- package/api/types/ClientFacingBodyMassIndexChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingBodyMassIndexChangedEventType.js +10 -0
- package/api/types/ClientFacingBodyMassIndexHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingBodyMassIndexHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingBodyMassIndexSample.d.ts +20 -0
- package/api/types/ClientFacingBodyMassIndexSample.js +5 -0
- package/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +0 -1
- package/api/types/ClientFacingBodyTemperatureSample.d.ts +0 -1
- package/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -2
- package/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -2
- package/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -2
- package/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -2
- package/api/types/ClientFacingCarbohydratesSample.d.ts +0 -2
- package/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -2
- package/api/types/ClientFacingDaylightExposureChanged.d.ts +11 -0
- package/api/types/ClientFacingDaylightExposureChanged.js +5 -0
- package/api/types/ClientFacingDaylightExposureChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingDaylightExposureChangedEventType.js +10 -0
- package/api/types/ClientFacingDaylightExposureHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingDaylightExposureHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingDaylightExposureSample.d.ts +20 -0
- package/api/types/ClientFacingDaylightExposureSample.js +5 -0
- package/api/types/ClientFacingDistanceTimeseries.d.ts +0 -2
- package/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -3
- package/api/types/ClientFacingFallChanged.d.ts +11 -0
- package/api/types/ClientFacingFallChanged.js +5 -0
- package/api/types/ClientFacingFallChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingFallChangedEventType.js +10 -0
- package/api/types/ClientFacingFallHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingFallHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingFallSample.d.ts +20 -0
- package/api/types/ClientFacingFallSample.js +5 -0
- package/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -2
- package/api/types/ClientFacingForcedExpiratoryVolume1Changed.d.ts +11 -0
- package/api/types/ClientFacingForcedExpiratoryVolume1Changed.js +5 -0
- package/api/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.js +10 -0
- package/api/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingForcedExpiratoryVolume1Sample.d.ts +20 -0
- package/api/types/ClientFacingForcedExpiratoryVolume1Sample.js +5 -0
- package/api/types/ClientFacingForcedVitalCapacityChanged.d.ts +11 -0
- package/api/types/ClientFacingForcedVitalCapacityChanged.js +5 -0
- package/api/types/ClientFacingForcedVitalCapacityChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingForcedVitalCapacityChangedEventType.js +10 -0
- package/api/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingForcedVitalCapacitySample.d.ts +20 -0
- package/api/types/ClientFacingForcedVitalCapacitySample.js +5 -0
- package/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -2
- package/api/types/ClientFacingHandwashingChanged.d.ts +11 -0
- package/api/types/ClientFacingHandwashingChanged.js +5 -0
- package/api/types/ClientFacingHandwashingChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingHandwashingChangedEventType.js +10 -0
- package/api/types/ClientFacingHandwashingHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingHandwashingHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingHandwashingSample.d.ts +20 -0
- package/api/types/ClientFacingHandwashingSample.js +5 -0
- package/api/types/ClientFacingHeartRate.d.ts +1 -0
- package/api/types/ClientFacingHeartRateAlertSample.d.ts +0 -1
- package/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -2
- package/api/types/ClientFacingHrvTimeseries.d.ts +0 -2
- package/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -2
- package/api/types/ClientFacingIgeTimeseries.d.ts +0 -2
- package/api/types/ClientFacingIggTimeseries.d.ts +0 -2
- package/api/types/ClientFacingInhalerUsageChanged.d.ts +11 -0
- package/api/types/ClientFacingInhalerUsageChanged.js +5 -0
- package/api/types/ClientFacingInhalerUsageChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingInhalerUsageChangedEventType.js +10 -0
- package/api/types/ClientFacingInhalerUsageHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingInhalerUsageHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingInhalerUsageSample.d.ts +20 -0
- package/api/types/ClientFacingInhalerUsageSample.js +5 -0
- package/api/types/ClientFacingInsulinInjectionSample.d.ts +0 -1
- package/api/types/ClientFacingLeanBodyMassChanged.d.ts +11 -0
- package/api/types/ClientFacingLeanBodyMassChanged.js +5 -0
- package/api/types/ClientFacingLeanBodyMassChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingLeanBodyMassChangedEventType.js +10 -0
- package/api/types/ClientFacingLeanBodyMassHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingLeanBodyMassHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingLeanBodyMassSample.d.ts +20 -0
- package/api/types/ClientFacingLeanBodyMassSample.js +5 -0
- package/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -2
- package/api/types/ClientFacingNoteSample.d.ts +0 -1
- package/api/types/ClientFacingOrderChanged.d.ts +11 -0
- package/api/types/ClientFacingOrderChanged.js +5 -0
- package/api/types/ClientFacingOrderChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingOrderChangedEventType.js +10 -0
- package/api/types/ClientFacingPeakExpiratoryFlowRateChanged.d.ts +11 -0
- package/api/types/ClientFacingPeakExpiratoryFlowRateChanged.js +5 -0
- package/api/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.js +10 -0
- package/api/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingPeakExpiratoryFlowRateSample.d.ts +20 -0
- package/api/types/ClientFacingPeakExpiratoryFlowRateSample.js +5 -0
- package/api/types/ClientFacingProfile.d.ts +2 -0
- package/api/types/ClientFacingResource.d.ts +18 -1
- package/api/types/ClientFacingResource.js +17 -0
- package/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -2
- package/api/types/ClientFacingSleep.d.ts +1 -1
- package/api/types/ClientFacingSleepApneaAlertChanged.d.ts +11 -0
- package/api/types/ClientFacingSleepApneaAlertChanged.js +5 -0
- package/api/types/ClientFacingSleepApneaAlertChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingSleepApneaAlertChangedEventType.js +10 -0
- package/api/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingSleepApneaAlertSample.d.ts +20 -0
- package/api/types/ClientFacingSleepApneaAlertSample.js +5 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceChanged.d.ts +11 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceChanged.js +5 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceChangedEventType.js +10 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +20 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceSample.js +5 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceSampleType.d.ts +8 -0
- package/api/types/ClientFacingSleepBreathingDisturbanceSampleType.js +10 -0
- package/api/types/ClientFacingSource.d.ts +14 -0
- package/api/types/ClientFacingStandDurationChanged.d.ts +11 -0
- package/api/types/ClientFacingStandDurationChanged.js +5 -0
- package/api/types/ClientFacingStandDurationChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingStandDurationChangedEventType.js +10 -0
- package/api/types/ClientFacingStandDurationHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingStandDurationHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingStandDurationSample.d.ts +20 -0
- package/api/types/ClientFacingStandDurationSample.js +5 -0
- package/api/types/ClientFacingStandHourChanged.d.ts +11 -0
- package/api/types/ClientFacingStandHourChanged.js +5 -0
- package/api/types/ClientFacingStandHourChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingStandHourChangedEventType.js +10 -0
- package/api/types/ClientFacingStandHourHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingStandHourHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingStandHourSample.d.ts +20 -0
- package/api/types/ClientFacingStandHourSample.js +5 -0
- package/api/types/ClientFacingStandHourSampleType.d.ts +8 -0
- package/api/types/ClientFacingStandHourSampleType.js +10 -0
- package/api/types/ClientFacingStepsTimeseries.d.ts +0 -2
- package/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -2
- package/api/types/ClientFacingUser.d.ts +1 -0
- package/api/types/ClientFacingUvExposureChanged.d.ts +11 -0
- package/api/types/ClientFacingUvExposureChanged.js +5 -0
- package/api/types/ClientFacingUvExposureChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingUvExposureChangedEventType.js +10 -0
- package/api/types/ClientFacingUvExposureHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingUvExposureHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingUvExposureSample.d.ts +20 -0
- package/api/types/ClientFacingUvExposureSample.js +5 -0
- package/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -2
- package/api/types/ClientFacingWaistCircumferenceChanged.d.ts +11 -0
- package/api/types/ClientFacingWaistCircumferenceChanged.js +5 -0
- package/api/types/ClientFacingWaistCircumferenceChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingWaistCircumferenceChangedEventType.js +10 -0
- package/api/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingWaistCircumferenceSample.d.ts +20 -0
- package/api/types/ClientFacingWaistCircumferenceSample.js +5 -0
- package/api/types/ClientFacingWaterTimeseries.d.ts +0 -2
- package/api/types/ClientFacingWheelchairPushChanged.d.ts +11 -0
- package/api/types/ClientFacingWheelchairPushChanged.js +5 -0
- package/api/types/ClientFacingWheelchairPushChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingWheelchairPushChangedEventType.js +10 -0
- package/api/types/ClientFacingWheelchairPushHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingWheelchairPushHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingWheelchairPushSample.d.ts +20 -0
- package/api/types/ClientFacingWheelchairPushSample.js +5 -0
- package/api/types/ClientFacingWorkoutDurationSample.d.ts +0 -1
- package/api/types/ClientUserIdConflictResponse.d.ts +7 -0
- package/api/types/ClientUserIdConflictResponse.js +5 -0
- package/api/types/ConnectionRecipe.d.ts +10 -10
- package/api/types/ContinuousQueryResultTableChanges.d.ts +1 -0
- package/api/types/FallbackTimeZone.d.ts +1 -0
- package/api/types/GroupedBasalBodyTemperature.d.ts +8 -0
- package/api/types/GroupedBasalBodyTemperature.js +5 -0
- package/api/types/GroupedBasalBodyTemperatureResponse.d.ts +12 -0
- package/api/types/GroupedBasalBodyTemperatureResponse.js +5 -0
- package/api/types/GroupedBodyMassIndex.d.ts +8 -0
- package/api/types/GroupedBodyMassIndex.js +5 -0
- package/api/types/GroupedBodyMassIndexResponse.d.ts +12 -0
- package/api/types/GroupedBodyMassIndexResponse.js +5 -0
- package/api/types/GroupedDaylightExposure.d.ts +8 -0
- package/api/types/GroupedDaylightExposure.js +5 -0
- package/api/types/GroupedDaylightExposureResponse.d.ts +12 -0
- package/api/types/GroupedDaylightExposureResponse.js +5 -0
- package/api/types/GroupedFall.d.ts +8 -0
- package/api/types/GroupedFall.js +5 -0
- package/api/types/GroupedFallResponse.d.ts +12 -0
- package/api/types/GroupedFallResponse.js +5 -0
- package/api/types/GroupedForcedExpiratoryVolume1.d.ts +8 -0
- package/api/types/GroupedForcedExpiratoryVolume1.js +5 -0
- package/api/types/GroupedForcedExpiratoryVolume1Response.d.ts +12 -0
- package/api/types/GroupedForcedExpiratoryVolume1Response.js +5 -0
- package/api/types/GroupedForcedVitalCapacity.d.ts +8 -0
- package/api/types/GroupedForcedVitalCapacity.js +5 -0
- package/api/types/GroupedForcedVitalCapacityResponse.d.ts +12 -0
- package/api/types/GroupedForcedVitalCapacityResponse.js +5 -0
- package/api/types/GroupedHandwashing.d.ts +8 -0
- package/api/types/GroupedHandwashing.js +5 -0
- package/api/types/GroupedHandwashingResponse.d.ts +12 -0
- package/api/types/GroupedHandwashingResponse.js +5 -0
- package/api/types/GroupedInhalerUsage.d.ts +8 -0
- package/api/types/GroupedInhalerUsage.js +5 -0
- package/api/types/GroupedInhalerUsageResponse.d.ts +12 -0
- package/api/types/GroupedInhalerUsageResponse.js +5 -0
- package/api/types/GroupedLeanBodyMass.d.ts +8 -0
- package/api/types/GroupedLeanBodyMass.js +5 -0
- package/api/types/GroupedLeanBodyMassResponse.d.ts +12 -0
- package/api/types/GroupedLeanBodyMassResponse.js +5 -0
- package/api/types/GroupedPeakExpiratoryFlowRate.d.ts +8 -0
- package/api/types/GroupedPeakExpiratoryFlowRate.js +5 -0
- package/api/types/GroupedPeakExpiratoryFlowRateResponse.d.ts +12 -0
- package/api/types/GroupedPeakExpiratoryFlowRateResponse.js +5 -0
- package/api/types/GroupedSleepApneaAlert.d.ts +8 -0
- package/api/types/GroupedSleepApneaAlert.js +5 -0
- package/api/types/GroupedSleepApneaAlertResponse.d.ts +12 -0
- package/api/types/GroupedSleepApneaAlertResponse.js +5 -0
- package/api/types/GroupedSleepBreathingDisturbance.d.ts +8 -0
- package/api/types/GroupedSleepBreathingDisturbance.js +5 -0
- package/api/types/GroupedSleepBreathingDisturbanceResponse.d.ts +12 -0
- package/api/types/GroupedSleepBreathingDisturbanceResponse.js +5 -0
- package/api/types/GroupedStandDuration.d.ts +8 -0
- package/api/types/GroupedStandDuration.js +5 -0
- package/api/types/GroupedStandDurationResponse.d.ts +12 -0
- package/api/types/GroupedStandDurationResponse.js +5 -0
- package/api/types/GroupedStandHour.d.ts +8 -0
- package/api/types/GroupedStandHour.js +5 -0
- package/api/types/GroupedStandHourResponse.d.ts +12 -0
- package/api/types/GroupedStandHourResponse.js +5 -0
- package/api/types/GroupedUvExposure.d.ts +8 -0
- package/api/types/GroupedUvExposure.js +5 -0
- package/api/types/GroupedUvExposureResponse.d.ts +12 -0
- package/api/types/GroupedUvExposureResponse.js +5 -0
- package/api/types/GroupedWaistCircumference.d.ts +8 -0
- package/api/types/GroupedWaistCircumference.js +5 -0
- package/api/types/GroupedWaistCircumferenceResponse.d.ts +12 -0
- package/api/types/GroupedWaistCircumferenceResponse.js +5 -0
- package/api/types/GroupedWheelchairPush.d.ts +8 -0
- package/api/types/GroupedWheelchairPush.js +5 -0
- package/api/types/GroupedWheelchairPushResponse.d.ts +12 -0
- package/api/types/GroupedWheelchairPushResponse.js +5 -0
- package/api/types/HistoricalPullStatus.d.ts +2 -1
- package/api/types/HistoricalPullStatus.js +1 -0
- package/api/types/PatientAddress.d.ts +12 -0
- package/api/types/PatientAddress.js +5 -0
- package/api/types/TimeseriesResource.d.ts +18 -1
- package/api/types/TimeseriesResource.js +17 -0
- package/api/types/index.d.ts +110 -2
- package/api/types/index.js +110 -2
- package/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/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/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +34 -3
- package/dist/api/resources/labTests/client/Client.js +122 -39
- package/dist/api/resources/labTests/client/requests/ImportOrderBody.d.ts +40 -0
- package/dist/api/resources/labTests/client/requests/ImportOrderBody.js +5 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetLabelsPdfRequest.d.ts +0 -7
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/link/client/Client.js +18 -18
- package/dist/api/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/order/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/sleepCycle/client/Client.js +1 -1
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.d.ts +221 -0
- package/dist/api/resources/vitals/client/Client.js +1418 -58
- package/dist/api/resources/vitals/client/requests/VitalsBasalBodyTemperatureGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsBasalBodyTemperatureGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsBodyMassIndexGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsBodyMassIndexGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsDaylightExposureGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsDaylightExposureGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsFallGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsFallGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsForcedExpiratoryVolume1GroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsForcedExpiratoryVolume1GroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsForcedVitalCapacityGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsForcedVitalCapacityGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsHandwashingGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsHandwashingGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsInhalerUsageGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsInhalerUsageGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsLeanBodyMassGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsLeanBodyMassGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsPeakExpiratoryFlowRateGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsPeakExpiratoryFlowRateGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsSleepApneaAlertGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsSleepApneaAlertGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsSleepBreathingDisturbanceGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsSleepBreathingDisturbanceGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsStandDurationGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsStandDurationGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsStandHourGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsStandHourGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsUvExposureGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsUvExposureGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsWaistCircumferenceGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsWaistCircumferenceGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsWheelchairPushGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsWheelchairPushGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/index.d.ts +17 -0
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ActivityColumnExprActivity.d.ts +4 -1
- package/dist/api/types/ActivityColumnExprActivity.js +3 -0
- package/dist/api/types/BodyColumnExprBody.d.ts +4 -1
- package/dist/api/types/BodyColumnExprBody.js +3 -0
- package/dist/api/types/ClientFacingAFibBurdenSample.d.ts +0 -2
- package/dist/api/types/ClientFacingActivity.d.ts +2 -0
- package/dist/api/types/{ClientFacingCreatedChanged.d.ts → ClientFacingAppointmentChanged.d.ts} +2 -2
- package/dist/api/types/ClientFacingAppointmentChanged.js +5 -0
- package/{api/types/ClientFacingCreatedChangedEventType.d.ts → dist/api/types/ClientFacingAppointmentChangedEventType.d.ts} +2 -2
- package/{api/types/ClientFacingCreatedChangedEventType.js → dist/api/types/ClientFacingAppointmentChangedEventType.js} +2 -2
- package/dist/api/types/ClientFacingBasalBodyTemperatureChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingBasalBodyTemperatureChanged.js +5 -0
- package/dist/api/types/ClientFacingBasalBodyTemperatureChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingBasalBodyTemperatureChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingBasalBodyTemperatureSample.d.ts +20 -0
- package/dist/api/types/ClientFacingBasalBodyTemperatureSample.js +5 -0
- package/dist/api/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingBody.d.ts +3 -0
- package/dist/api/types/ClientFacingBodyFatTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingBodyMassIndexChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingBodyMassIndexChanged.js +5 -0
- package/dist/api/types/ClientFacingBodyMassIndexChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingBodyMassIndexChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingBodyMassIndexHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingBodyMassIndexHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingBodyMassIndexSample.d.ts +20 -0
- package/dist/api/types/ClientFacingBodyMassIndexSample.js +5 -0
- package/dist/api/types/ClientFacingBodyTemperatureDeltaSample.d.ts +0 -1
- package/dist/api/types/ClientFacingBodyTemperatureSample.d.ts +0 -1
- package/dist/api/types/ClientFacingBodyWeightTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingCaffeineTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingCarbohydratesSample.d.ts +0 -2
- package/dist/api/types/ClientFacingCholesterolTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingDaylightExposureChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingDaylightExposureChanged.js +5 -0
- package/dist/api/types/ClientFacingDaylightExposureChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingDaylightExposureChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingDaylightExposureHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingDaylightExposureHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingDaylightExposureSample.d.ts +20 -0
- package/dist/api/types/ClientFacingDaylightExposureSample.js +5 -0
- package/dist/api/types/ClientFacingDistanceTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -3
- package/dist/api/types/ClientFacingFallChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingFallChanged.js +5 -0
- package/dist/api/types/ClientFacingFallChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingFallChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingFallHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingFallHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingFallSample.d.ts +20 -0
- package/dist/api/types/ClientFacingFallSample.js +5 -0
- package/dist/api/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingForcedExpiratoryVolume1Changed.d.ts +11 -0
- package/dist/api/types/ClientFacingForcedExpiratoryVolume1Changed.js +5 -0
- package/dist/api/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingForcedExpiratoryVolume1Sample.d.ts +20 -0
- package/dist/api/types/ClientFacingForcedExpiratoryVolume1Sample.js +5 -0
- package/dist/api/types/ClientFacingForcedVitalCapacityChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingForcedVitalCapacityChanged.js +5 -0
- package/dist/api/types/ClientFacingForcedVitalCapacityChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingForcedVitalCapacityChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingForcedVitalCapacitySample.d.ts +20 -0
- package/dist/api/types/ClientFacingForcedVitalCapacitySample.js +5 -0
- package/dist/api/types/ClientFacingGlucoseTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingHandwashingChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingHandwashingChanged.js +5 -0
- package/dist/api/types/ClientFacingHandwashingChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingHandwashingChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingHandwashingHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingHandwashingHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingHandwashingSample.d.ts +20 -0
- package/dist/api/types/ClientFacingHandwashingSample.js +5 -0
- package/dist/api/types/ClientFacingHeartRate.d.ts +1 -0
- package/dist/api/types/ClientFacingHeartRateAlertSample.d.ts +0 -1
- package/dist/api/types/ClientFacingHeartRateTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingHrvTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingHypnogramTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingIgeTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingIggTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingInhalerUsageChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingInhalerUsageChanged.js +5 -0
- package/dist/api/types/ClientFacingInhalerUsageChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingInhalerUsageChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingInhalerUsageHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingInhalerUsageHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingInhalerUsageSample.d.ts +20 -0
- package/dist/api/types/ClientFacingInhalerUsageSample.js +5 -0
- package/dist/api/types/ClientFacingInsulinInjectionSample.d.ts +0 -1
- package/dist/api/types/ClientFacingLeanBodyMassChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingLeanBodyMassChanged.js +5 -0
- package/dist/api/types/ClientFacingLeanBodyMassChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingLeanBodyMassChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingLeanBodyMassHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingLeanBodyMassHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingLeanBodyMassSample.d.ts +20 -0
- package/dist/api/types/ClientFacingLeanBodyMassSample.js +5 -0
- package/dist/api/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingNoteSample.d.ts +0 -1
- package/dist/api/types/ClientFacingOrderChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingOrderChanged.js +5 -0
- package/dist/api/types/ClientFacingOrderChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingOrderChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingPeakExpiratoryFlowRateChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingPeakExpiratoryFlowRateChanged.js +5 -0
- package/dist/api/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingPeakExpiratoryFlowRateSample.d.ts +20 -0
- package/dist/api/types/ClientFacingPeakExpiratoryFlowRateSample.js +5 -0
- package/dist/api/types/ClientFacingProfile.d.ts +2 -0
- package/dist/api/types/ClientFacingResource.d.ts +18 -1
- package/dist/api/types/ClientFacingResource.js +17 -0
- package/dist/api/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingSleep.d.ts +1 -1
- package/dist/api/types/ClientFacingSleepApneaAlertChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingSleepApneaAlertChanged.js +5 -0
- package/dist/api/types/ClientFacingSleepApneaAlertChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingSleepApneaAlertChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingSleepApneaAlertSample.d.ts +20 -0
- package/dist/api/types/ClientFacingSleepApneaAlertSample.js +5 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceChanged.js +5 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +20 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceSample.js +5 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceSampleType.d.ts +8 -0
- package/dist/api/types/ClientFacingSleepBreathingDisturbanceSampleType.js +10 -0
- package/dist/api/types/ClientFacingSource.d.ts +14 -0
- package/dist/api/types/ClientFacingStandDurationChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingStandDurationChanged.js +5 -0
- package/dist/api/types/ClientFacingStandDurationChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingStandDurationChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingStandDurationHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingStandDurationHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingStandDurationSample.d.ts +20 -0
- package/dist/api/types/ClientFacingStandDurationSample.js +5 -0
- package/dist/api/types/ClientFacingStandHourChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingStandHourChanged.js +5 -0
- package/dist/api/types/ClientFacingStandHourChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingStandHourChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingStandHourHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingStandHourHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingStandHourSample.d.ts +20 -0
- package/dist/api/types/ClientFacingStandHourSample.js +5 -0
- package/dist/api/types/ClientFacingStandHourSampleType.d.ts +8 -0
- package/dist/api/types/ClientFacingStandHourSampleType.js +10 -0
- package/dist/api/types/ClientFacingStepsTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingStressLevelTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingUser.d.ts +1 -0
- package/dist/api/types/ClientFacingUvExposureChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingUvExposureChanged.js +5 -0
- package/dist/api/types/ClientFacingUvExposureChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingUvExposureChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingUvExposureHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingUvExposureHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingUvExposureSample.d.ts +20 -0
- package/dist/api/types/ClientFacingUvExposureSample.js +5 -0
- package/dist/api/types/ClientFacingVo2MaxTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingWaistCircumferenceChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingWaistCircumferenceChanged.js +5 -0
- package/dist/api/types/ClientFacingWaistCircumferenceChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingWaistCircumferenceChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingWaistCircumferenceSample.d.ts +20 -0
- package/dist/api/types/ClientFacingWaistCircumferenceSample.js +5 -0
- package/dist/api/types/ClientFacingWaterTimeseries.d.ts +0 -2
- package/dist/api/types/ClientFacingWheelchairPushChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingWheelchairPushChanged.js +5 -0
- package/dist/api/types/ClientFacingWheelchairPushChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingWheelchairPushChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingWheelchairPushHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingWheelchairPushHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingWheelchairPushSample.d.ts +20 -0
- package/dist/api/types/ClientFacingWheelchairPushSample.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDurationSample.d.ts +0 -1
- package/dist/api/types/ClientUserIdConflictResponse.d.ts +7 -0
- package/dist/api/types/ClientUserIdConflictResponse.js +5 -0
- package/dist/api/types/ConnectionRecipe.d.ts +10 -10
- package/dist/api/types/ContinuousQueryResultTableChanges.d.ts +1 -0
- package/dist/api/types/FallbackTimeZone.d.ts +1 -0
- package/dist/api/types/GroupedBasalBodyTemperature.d.ts +8 -0
- package/dist/api/types/GroupedBasalBodyTemperature.js +5 -0
- package/dist/api/types/GroupedBasalBodyTemperatureResponse.d.ts +12 -0
- package/dist/api/types/GroupedBasalBodyTemperatureResponse.js +5 -0
- package/dist/api/types/GroupedBodyMassIndex.d.ts +8 -0
- package/dist/api/types/GroupedBodyMassIndex.js +5 -0
- package/dist/api/types/GroupedBodyMassIndexResponse.d.ts +12 -0
- package/dist/api/types/GroupedBodyMassIndexResponse.js +5 -0
- package/dist/api/types/GroupedDaylightExposure.d.ts +8 -0
- package/dist/api/types/GroupedDaylightExposure.js +5 -0
- package/dist/api/types/GroupedDaylightExposureResponse.d.ts +12 -0
- package/dist/api/types/GroupedDaylightExposureResponse.js +5 -0
- package/dist/api/types/GroupedFall.d.ts +8 -0
- package/dist/api/types/GroupedFall.js +5 -0
- package/dist/api/types/GroupedFallResponse.d.ts +12 -0
- package/dist/api/types/GroupedFallResponse.js +5 -0
- package/dist/api/types/GroupedForcedExpiratoryVolume1.d.ts +8 -0
- package/dist/api/types/GroupedForcedExpiratoryVolume1.js +5 -0
- package/dist/api/types/GroupedForcedExpiratoryVolume1Response.d.ts +12 -0
- package/dist/api/types/GroupedForcedExpiratoryVolume1Response.js +5 -0
- package/dist/api/types/GroupedForcedVitalCapacity.d.ts +8 -0
- package/dist/api/types/GroupedForcedVitalCapacity.js +5 -0
- package/dist/api/types/GroupedForcedVitalCapacityResponse.d.ts +12 -0
- package/dist/api/types/GroupedForcedVitalCapacityResponse.js +5 -0
- package/dist/api/types/GroupedHandwashing.d.ts +8 -0
- package/dist/api/types/GroupedHandwashing.js +5 -0
- package/dist/api/types/GroupedHandwashingResponse.d.ts +12 -0
- package/dist/api/types/GroupedHandwashingResponse.js +5 -0
- package/dist/api/types/GroupedInhalerUsage.d.ts +8 -0
- package/dist/api/types/GroupedInhalerUsage.js +5 -0
- package/dist/api/types/GroupedInhalerUsageResponse.d.ts +12 -0
- package/dist/api/types/GroupedInhalerUsageResponse.js +5 -0
- package/dist/api/types/GroupedLeanBodyMass.d.ts +8 -0
- package/dist/api/types/GroupedLeanBodyMass.js +5 -0
- package/dist/api/types/GroupedLeanBodyMassResponse.d.ts +12 -0
- package/dist/api/types/GroupedLeanBodyMassResponse.js +5 -0
- package/dist/api/types/GroupedPeakExpiratoryFlowRate.d.ts +8 -0
- package/dist/api/types/GroupedPeakExpiratoryFlowRate.js +5 -0
- package/dist/api/types/GroupedPeakExpiratoryFlowRateResponse.d.ts +12 -0
- package/dist/api/types/GroupedPeakExpiratoryFlowRateResponse.js +5 -0
- package/dist/api/types/GroupedSleepApneaAlert.d.ts +8 -0
- package/dist/api/types/GroupedSleepApneaAlert.js +5 -0
- package/dist/api/types/GroupedSleepApneaAlertResponse.d.ts +12 -0
- package/dist/api/types/GroupedSleepApneaAlertResponse.js +5 -0
- package/dist/api/types/GroupedSleepBreathingDisturbance.d.ts +8 -0
- package/dist/api/types/GroupedSleepBreathingDisturbance.js +5 -0
- package/dist/api/types/GroupedSleepBreathingDisturbanceResponse.d.ts +12 -0
- package/dist/api/types/GroupedSleepBreathingDisturbanceResponse.js +5 -0
- package/dist/api/types/GroupedStandDuration.d.ts +8 -0
- package/dist/api/types/GroupedStandDuration.js +5 -0
- package/dist/api/types/GroupedStandDurationResponse.d.ts +12 -0
- package/dist/api/types/GroupedStandDurationResponse.js +5 -0
- package/dist/api/types/GroupedStandHour.d.ts +8 -0
- package/dist/api/types/GroupedStandHour.js +5 -0
- package/dist/api/types/GroupedStandHourResponse.d.ts +12 -0
- package/dist/api/types/GroupedStandHourResponse.js +5 -0
- package/dist/api/types/GroupedUvExposure.d.ts +8 -0
- package/dist/api/types/GroupedUvExposure.js +5 -0
- package/dist/api/types/GroupedUvExposureResponse.d.ts +12 -0
- package/dist/api/types/GroupedUvExposureResponse.js +5 -0
- package/dist/api/types/GroupedWaistCircumference.d.ts +8 -0
- package/dist/api/types/GroupedWaistCircumference.js +5 -0
- package/dist/api/types/GroupedWaistCircumferenceResponse.d.ts +12 -0
- package/dist/api/types/GroupedWaistCircumferenceResponse.js +5 -0
- package/dist/api/types/GroupedWheelchairPush.d.ts +8 -0
- package/dist/api/types/GroupedWheelchairPush.js +5 -0
- package/dist/api/types/GroupedWheelchairPushResponse.d.ts +12 -0
- package/dist/api/types/GroupedWheelchairPushResponse.js +5 -0
- package/dist/api/types/HistoricalPullStatus.d.ts +2 -1
- package/dist/api/types/HistoricalPullStatus.js +1 -0
- package/dist/api/types/PatientAddress.d.ts +12 -0
- package/dist/api/types/PatientAddress.js +5 -0
- package/dist/api/types/TimeseriesResource.d.ts +18 -1
- package/dist/api/types/TimeseriesResource.js +17 -0
- package/dist/api/types/index.d.ts +110 -2
- package/dist/api/types/index.js +110 -2
- package/dist/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/serialization/resources/labTests/client/requests/ImportOrderBody.d.ts +25 -0
- package/dist/serialization/resources/labTests/client/requests/ImportOrderBody.js +46 -0
- package/dist/serialization/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/labTests/client/requests/index.js +3 -1
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
- package/dist/serialization/resources/link/client/requests/LinkTokenExchange.js +1 -0
- package/dist/serialization/types/ActivityColumnExprActivity.d.ts +1 -1
- package/dist/serialization/types/ActivityColumnExprActivity.js +3 -0
- package/dist/serialization/types/BodyColumnExprBody.d.ts +1 -1
- package/dist/serialization/types/BodyColumnExprBody.js +3 -0
- package/dist/serialization/types/ClientFacingAFibBurdenSample.d.ts +0 -2
- package/dist/serialization/types/ClientFacingAFibBurdenSample.js +0 -2
- package/dist/serialization/types/ClientFacingActivity.d.ts +2 -0
- package/dist/serialization/types/ClientFacingActivity.js +2 -0
- package/dist/serialization/types/{ClientFacingCreatedChanged.d.ts → ClientFacingAppointmentChanged.d.ts} +4 -4
- package/dist/serialization/types/{ClientFacingCreatedChanged.js → ClientFacingAppointmentChanged.js} +4 -4
- package/{serialization/types/ClientFacingCreatedChangedEventType.d.ts → dist/serialization/types/ClientFacingAppointmentChangedEventType.d.ts} +2 -2
- package/dist/serialization/types/ClientFacingAppointmentChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingBasalBodyTemperatureChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingBasalBodyTemperatureChanged.js +39 -0
- package/dist/serialization/types/ClientFacingBasalBodyTemperatureChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingBasalBodyTemperatureChangedEventType.js +34 -0
- package/dist/serialization/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingBasalBodyTemperatureSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingBasalBodyTemperatureSample.js +40 -0
- package/dist/serialization/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingBloodOxygenTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingBody.d.ts +3 -0
- package/dist/serialization/types/ClientFacingBody.js +3 -0
- package/dist/serialization/types/ClientFacingBodyFatTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingBodyFatTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingBodyMassIndexChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingBodyMassIndexChanged.js +39 -0
- package/dist/serialization/types/ClientFacingBodyMassIndexChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingBodyMassIndexChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingBodyMassIndexHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingBodyMassIndexHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingBodyMassIndexSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingBodyMassIndexSample.js +40 -0
- package/dist/serialization/types/ClientFacingBodyTemperatureDeltaSample.d.ts +0 -2
- package/dist/serialization/types/ClientFacingBodyTemperatureDeltaSample.js +0 -2
- package/dist/serialization/types/ClientFacingBodyTemperatureSample.d.ts +0 -2
- package/dist/serialization/types/ClientFacingBodyTemperatureSample.js +0 -2
- package/dist/serialization/types/ClientFacingBodyWeightTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingBodyWeightTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingCaffeineTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingCaffeineTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingCaloriesActiveTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingCaloriesBasalTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingCarbohydratesSample.d.ts +0 -2
- package/dist/serialization/types/ClientFacingCarbohydratesSample.js +0 -2
- package/dist/serialization/types/ClientFacingCholesterolTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingCholesterolTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingDaylightExposureChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingDaylightExposureChanged.js +39 -0
- package/dist/serialization/types/ClientFacingDaylightExposureChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingDaylightExposureChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingDaylightExposureHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingDaylightExposureHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingDaylightExposureSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingDaylightExposureSample.js +40 -0
- package/dist/serialization/types/ClientFacingDistanceTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingDistanceTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -3
- package/dist/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +1 -3
- package/dist/serialization/types/ClientFacingFallChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingFallChanged.js +39 -0
- package/dist/serialization/types/ClientFacingFallChangedEventType.d.ts +10 -0
- package/dist/serialization/types/{ClientFacingCreatedChangedEventType.js → ClientFacingFallChangedEventType.js} +2 -2
- package/dist/serialization/types/ClientFacingFallHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingFallHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingFallSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingFallSample.js +40 -0
- package/dist/serialization/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingFloorsClimbedTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1Changed.d.ts +18 -0
- package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1Changed.js +39 -0
- package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.js +34 -0
- package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1Sample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingForcedExpiratoryVolume1Sample.js +40 -0
- package/dist/serialization/types/ClientFacingForcedVitalCapacityChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingForcedVitalCapacityChanged.js +39 -0
- package/dist/serialization/types/ClientFacingForcedVitalCapacityChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingForcedVitalCapacityChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingForcedVitalCapacitySample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingForcedVitalCapacitySample.js +40 -0
- package/dist/serialization/types/ClientFacingGlucoseTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingGlucoseTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingHandwashingChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingHandwashingChanged.js +39 -0
- package/dist/serialization/types/ClientFacingHandwashingChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingHandwashingChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingHandwashingHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingHandwashingHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingHandwashingSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingHandwashingSample.js +40 -0
- package/dist/serialization/types/ClientFacingHeartRate.d.ts +1 -0
- package/dist/serialization/types/ClientFacingHeartRate.js +1 -0
- package/dist/serialization/types/ClientFacingHeartRateAlertSample.d.ts +0 -2
- package/dist/serialization/types/ClientFacingHeartRateAlertSample.js +0 -2
- package/dist/serialization/types/ClientFacingHeartRateTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingHeartRateTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingHrvTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingHrvTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingHypnogramTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingHypnogramTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingIgeTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingIgeTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingIggTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingIggTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingInhalerUsageChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingInhalerUsageChanged.js +39 -0
- package/dist/serialization/types/ClientFacingInhalerUsageChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingInhalerUsageChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingInhalerUsageHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingInhalerUsageHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingInhalerUsageSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingInhalerUsageSample.js +40 -0
- package/dist/serialization/types/ClientFacingInsulinInjectionSample.d.ts +0 -2
- package/dist/serialization/types/ClientFacingInsulinInjectionSample.js +0 -2
- package/dist/serialization/types/ClientFacingLeanBodyMassChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingLeanBodyMassChanged.js +39 -0
- package/dist/serialization/types/ClientFacingLeanBodyMassChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingLeanBodyMassChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingLeanBodyMassHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingLeanBodyMassHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingLeanBodyMassSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingLeanBodyMassSample.js +40 -0
- package/dist/serialization/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingMindfulnessMinutesTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingNoteSample.d.ts +0 -2
- package/dist/serialization/types/ClientFacingNoteSample.js +0 -2
- package/dist/serialization/types/ClientFacingOrderChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingOrderChanged.js +39 -0
- package/dist/serialization/types/ClientFacingOrderChangedEventType.d.ts +10 -0
- package/{serialization/types/ClientFacingCreatedChangedEventType.js → dist/serialization/types/ClientFacingOrderChangedEventType.js} +2 -2
- package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateChanged.js +39 -0
- package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.js +34 -0
- package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingPeakExpiratoryFlowRateSample.js +40 -0
- package/dist/serialization/types/ClientFacingProfile.d.ts +2 -0
- package/dist/serialization/types/ClientFacingProfile.js +2 -0
- package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
- package/dist/serialization/types/ClientFacingResource.js +17 -0
- package/dist/serialization/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingRespiratoryRateTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingSleepApneaAlertChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingSleepApneaAlertChanged.js +39 -0
- package/dist/serialization/types/ClientFacingSleepApneaAlertChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingSleepApneaAlertChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingSleepApneaAlertSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingSleepApneaAlertSample.js +40 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceChanged.js +39 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceChangedEventType.js +34 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +20 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceSample.js +41 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceSampleType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingSleepBreathingDisturbanceSampleType.js +31 -0
- package/dist/serialization/types/ClientFacingSource.d.ts +2 -0
- package/dist/serialization/types/ClientFacingSource.js +2 -0
- package/dist/serialization/types/ClientFacingStandDurationChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingStandDurationChanged.js +39 -0
- package/dist/serialization/types/ClientFacingStandDurationChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStandDurationChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingStandDurationHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingStandDurationHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingStandDurationSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingStandDurationSample.js +40 -0
- package/dist/serialization/types/ClientFacingStandHourChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingStandHourChanged.js +39 -0
- package/dist/serialization/types/ClientFacingStandHourChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStandHourChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingStandHourHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingStandHourHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingStandHourSample.d.ts +20 -0
- package/dist/serialization/types/ClientFacingStandHourSample.js +41 -0
- package/dist/serialization/types/ClientFacingStandHourSampleType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingStandHourSampleType.js +31 -0
- package/dist/serialization/types/ClientFacingStepsTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingStepsTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingStressLevelTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingStressLevelTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingUvExposureChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingUvExposureChanged.js +39 -0
- package/dist/serialization/types/ClientFacingUvExposureChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingUvExposureChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingUvExposureHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingUvExposureHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingUvExposureSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingUvExposureSample.js +40 -0
- package/dist/serialization/types/ClientFacingVo2MaxTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingVo2MaxTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingWaistCircumferenceChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingWaistCircumferenceChanged.js +39 -0
- package/dist/serialization/types/ClientFacingWaistCircumferenceChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingWaistCircumferenceChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingWaistCircumferenceSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingWaistCircumferenceSample.js +40 -0
- package/dist/serialization/types/ClientFacingWaterTimeseries.d.ts +0 -2
- package/dist/serialization/types/ClientFacingWaterTimeseries.js +0 -2
- package/dist/serialization/types/ClientFacingWheelchairPushChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingWheelchairPushChanged.js +39 -0
- package/dist/serialization/types/ClientFacingWheelchairPushChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingWheelchairPushChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingWheelchairPushHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingWheelchairPushHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingWheelchairPushSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingWheelchairPushSample.js +40 -0
- package/dist/serialization/types/ClientFacingWorkoutDurationSample.d.ts +0 -2
- package/dist/serialization/types/ClientFacingWorkoutDurationSample.js +0 -2
- package/dist/serialization/types/ClientUserIdConflictResponse.d.ts +13 -0
- package/dist/serialization/types/ClientUserIdConflictResponse.js +34 -0
- package/dist/serialization/types/ContinuousQueryResultTableChanges.d.ts +1 -0
- package/dist/serialization/types/ContinuousQueryResultTableChanges.js +1 -0
- package/dist/serialization/types/GroupedBasalBodyTemperature.d.ts +15 -0
- package/dist/serialization/types/GroupedBasalBodyTemperature.js +36 -0
- package/dist/serialization/types/GroupedBasalBodyTemperatureResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedBasalBodyTemperatureResponse.js +36 -0
- package/dist/serialization/types/GroupedBodyMassIndex.d.ts +15 -0
- package/dist/serialization/types/GroupedBodyMassIndex.js +36 -0
- package/dist/serialization/types/GroupedBodyMassIndexResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedBodyMassIndexResponse.js +36 -0
- package/dist/serialization/types/GroupedDaylightExposure.d.ts +15 -0
- package/dist/serialization/types/GroupedDaylightExposure.js +36 -0
- package/dist/serialization/types/GroupedDaylightExposureResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedDaylightExposureResponse.js +36 -0
- package/dist/serialization/types/GroupedFall.d.ts +15 -0
- package/dist/serialization/types/GroupedFall.js +36 -0
- package/dist/serialization/types/GroupedFallResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedFallResponse.js +36 -0
- package/dist/serialization/types/GroupedForcedExpiratoryVolume1.d.ts +15 -0
- package/dist/serialization/types/GroupedForcedExpiratoryVolume1.js +36 -0
- package/dist/serialization/types/GroupedForcedExpiratoryVolume1Response.d.ts +15 -0
- package/dist/serialization/types/GroupedForcedExpiratoryVolume1Response.js +36 -0
- package/dist/serialization/types/GroupedForcedVitalCapacity.d.ts +15 -0
- package/dist/serialization/types/GroupedForcedVitalCapacity.js +36 -0
- package/dist/serialization/types/GroupedForcedVitalCapacityResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedForcedVitalCapacityResponse.js +36 -0
- package/dist/serialization/types/GroupedHandwashing.d.ts +15 -0
- package/dist/serialization/types/GroupedHandwashing.js +36 -0
- package/dist/serialization/types/GroupedHandwashingResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedHandwashingResponse.js +36 -0
- package/dist/serialization/types/GroupedInhalerUsage.d.ts +15 -0
- package/dist/serialization/types/GroupedInhalerUsage.js +36 -0
- package/dist/serialization/types/GroupedInhalerUsageResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedInhalerUsageResponse.js +36 -0
- package/dist/serialization/types/GroupedLeanBodyMass.d.ts +15 -0
- package/dist/serialization/types/GroupedLeanBodyMass.js +36 -0
- package/dist/serialization/types/GroupedLeanBodyMassResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedLeanBodyMassResponse.js +36 -0
- package/dist/serialization/types/GroupedPeakExpiratoryFlowRate.d.ts +15 -0
- package/dist/serialization/types/GroupedPeakExpiratoryFlowRate.js +36 -0
- package/dist/serialization/types/GroupedPeakExpiratoryFlowRateResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedPeakExpiratoryFlowRateResponse.js +36 -0
- package/dist/serialization/types/GroupedSleepApneaAlert.d.ts +15 -0
- package/dist/serialization/types/GroupedSleepApneaAlert.js +36 -0
- package/dist/serialization/types/GroupedSleepApneaAlertResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedSleepApneaAlertResponse.js +36 -0
- package/dist/serialization/types/GroupedSleepBreathingDisturbance.d.ts +15 -0
- package/dist/serialization/types/GroupedSleepBreathingDisturbance.js +36 -0
- package/dist/serialization/types/GroupedSleepBreathingDisturbanceResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedSleepBreathingDisturbanceResponse.js +36 -0
- package/dist/serialization/types/GroupedStandDuration.d.ts +15 -0
- package/dist/serialization/types/GroupedStandDuration.js +36 -0
- package/dist/serialization/types/GroupedStandDurationResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedStandDurationResponse.js +36 -0
- package/dist/serialization/types/GroupedStandHour.d.ts +15 -0
- package/dist/serialization/types/GroupedStandHour.js +36 -0
- package/dist/serialization/types/GroupedStandHourResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedStandHourResponse.js +36 -0
- package/dist/serialization/types/GroupedUvExposure.d.ts +15 -0
- package/dist/serialization/types/GroupedUvExposure.js +36 -0
- package/dist/serialization/types/GroupedUvExposureResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedUvExposureResponse.js +36 -0
- package/dist/serialization/types/GroupedWaistCircumference.d.ts +15 -0
- package/dist/serialization/types/GroupedWaistCircumference.js +36 -0
- package/dist/serialization/types/GroupedWaistCircumferenceResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedWaistCircumferenceResponse.js +36 -0
- package/dist/serialization/types/GroupedWheelchairPush.d.ts +15 -0
- package/dist/serialization/types/GroupedWheelchairPush.js +36 -0
- package/dist/serialization/types/GroupedWheelchairPushResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedWheelchairPushResponse.js +36 -0
- package/dist/serialization/types/HistoricalPullStatus.d.ts +1 -1
- package/dist/serialization/types/HistoricalPullStatus.js +1 -1
- package/dist/serialization/types/PatientAddress.d.ts +18 -0
- package/dist/serialization/types/PatientAddress.js +39 -0
- package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
- package/dist/serialization/types/TimeseriesResource.js +17 -0
- package/dist/serialization/types/index.d.ts +110 -2
- package/dist/serialization/types/index.js +110 -2
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +2 -2
- package/reference.md +1018 -162
- package/serialization/resources/labTests/client/requests/ImportOrderBody.d.ts +25 -0
- package/serialization/resources/labTests/client/requests/ImportOrderBody.js +46 -0
- package/serialization/resources/labTests/client/requests/index.d.ts +1 -0
- package/serialization/resources/labTests/client/requests/index.js +3 -1
- package/serialization/resources/link/client/requests/LinkTokenExchange.d.ts +1 -0
- package/serialization/resources/link/client/requests/LinkTokenExchange.js +1 -0
- package/serialization/types/ActivityColumnExprActivity.d.ts +1 -1
- package/serialization/types/ActivityColumnExprActivity.js +3 -0
- package/serialization/types/BodyColumnExprBody.d.ts +1 -1
- package/serialization/types/BodyColumnExprBody.js +3 -0
- package/serialization/types/ClientFacingAFibBurdenSample.d.ts +0 -2
- package/serialization/types/ClientFacingAFibBurdenSample.js +0 -2
- package/serialization/types/ClientFacingActivity.d.ts +2 -0
- package/serialization/types/ClientFacingActivity.js +2 -0
- package/serialization/types/{ClientFacingCreatedChanged.d.ts → ClientFacingAppointmentChanged.d.ts} +4 -4
- package/serialization/types/{ClientFacingCreatedChanged.js → ClientFacingAppointmentChanged.js} +4 -4
- package/{dist/serialization/types/ClientFacingCreatedChangedEventType.d.ts → serialization/types/ClientFacingAppointmentChangedEventType.d.ts} +2 -2
- package/serialization/types/ClientFacingAppointmentChangedEventType.js +31 -0
- package/serialization/types/ClientFacingBasalBodyTemperatureChanged.d.ts +18 -0
- package/serialization/types/ClientFacingBasalBodyTemperatureChanged.js +39 -0
- package/serialization/types/ClientFacingBasalBodyTemperatureChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingBasalBodyTemperatureChangedEventType.js +34 -0
- package/serialization/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingBasalBodyTemperatureHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingBasalBodyTemperatureSample.d.ts +19 -0
- package/serialization/types/ClientFacingBasalBodyTemperatureSample.js +40 -0
- package/serialization/types/ClientFacingBloodOxygenTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingBloodOxygenTimeseries.js +0 -2
- package/serialization/types/ClientFacingBody.d.ts +3 -0
- package/serialization/types/ClientFacingBody.js +3 -0
- package/serialization/types/ClientFacingBodyFatTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingBodyFatTimeseries.js +0 -2
- package/serialization/types/ClientFacingBodyMassIndexChanged.d.ts +18 -0
- package/serialization/types/ClientFacingBodyMassIndexChanged.js +39 -0
- package/serialization/types/ClientFacingBodyMassIndexChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingBodyMassIndexChangedEventType.js +31 -0
- package/serialization/types/ClientFacingBodyMassIndexHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingBodyMassIndexHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingBodyMassIndexSample.d.ts +19 -0
- package/serialization/types/ClientFacingBodyMassIndexSample.js +40 -0
- package/serialization/types/ClientFacingBodyTemperatureDeltaSample.d.ts +0 -2
- package/serialization/types/ClientFacingBodyTemperatureDeltaSample.js +0 -2
- package/serialization/types/ClientFacingBodyTemperatureSample.d.ts +0 -2
- package/serialization/types/ClientFacingBodyTemperatureSample.js +0 -2
- package/serialization/types/ClientFacingBodyWeightTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingBodyWeightTimeseries.js +0 -2
- package/serialization/types/ClientFacingCaffeineTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingCaffeineTimeseries.js +0 -2
- package/serialization/types/ClientFacingCaloriesActiveTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingCaloriesActiveTimeseries.js +0 -2
- package/serialization/types/ClientFacingCaloriesBasalTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingCaloriesBasalTimeseries.js +0 -2
- package/serialization/types/ClientFacingCarbohydratesSample.d.ts +0 -2
- package/serialization/types/ClientFacingCarbohydratesSample.js +0 -2
- package/serialization/types/ClientFacingCholesterolTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingCholesterolTimeseries.js +0 -2
- package/serialization/types/ClientFacingDaylightExposureChanged.d.ts +18 -0
- package/serialization/types/ClientFacingDaylightExposureChanged.js +39 -0
- package/serialization/types/ClientFacingDaylightExposureChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingDaylightExposureChangedEventType.js +31 -0
- package/serialization/types/ClientFacingDaylightExposureHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingDaylightExposureHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingDaylightExposureSample.d.ts +19 -0
- package/serialization/types/ClientFacingDaylightExposureSample.js +40 -0
- package/serialization/types/ClientFacingDistanceTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingDistanceTimeseries.js +0 -2
- package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.d.ts +1 -3
- package/serialization/types/ClientFacingElectrocardiogramVoltageTimeseries.js +1 -3
- package/serialization/types/ClientFacingFallChanged.d.ts +18 -0
- package/serialization/types/ClientFacingFallChanged.js +39 -0
- package/serialization/types/ClientFacingFallChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingFallChangedEventType.js +31 -0
- package/serialization/types/ClientFacingFallHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingFallHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingFallSample.d.ts +19 -0
- package/serialization/types/ClientFacingFallSample.js +40 -0
- package/serialization/types/ClientFacingFloorsClimbedTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingFloorsClimbedTimeseries.js +0 -2
- package/serialization/types/ClientFacingForcedExpiratoryVolume1Changed.d.ts +18 -0
- package/serialization/types/ClientFacingForcedExpiratoryVolume1Changed.js +39 -0
- package/serialization/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingForcedExpiratoryVolume1ChangedEventType.js +34 -0
- package/serialization/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingForcedExpiratoryVolume1HistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingForcedExpiratoryVolume1Sample.d.ts +19 -0
- package/serialization/types/ClientFacingForcedExpiratoryVolume1Sample.js +40 -0
- package/serialization/types/ClientFacingForcedVitalCapacityChanged.d.ts +18 -0
- package/serialization/types/ClientFacingForcedVitalCapacityChanged.js +39 -0
- package/serialization/types/ClientFacingForcedVitalCapacityChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingForcedVitalCapacityChangedEventType.js +31 -0
- package/serialization/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingForcedVitalCapacityHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingForcedVitalCapacitySample.d.ts +19 -0
- package/serialization/types/ClientFacingForcedVitalCapacitySample.js +40 -0
- package/serialization/types/ClientFacingGlucoseTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingGlucoseTimeseries.js +0 -2
- package/serialization/types/ClientFacingHandwashingChanged.d.ts +18 -0
- package/serialization/types/ClientFacingHandwashingChanged.js +39 -0
- package/serialization/types/ClientFacingHandwashingChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingHandwashingChangedEventType.js +31 -0
- package/serialization/types/ClientFacingHandwashingHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingHandwashingHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingHandwashingSample.d.ts +19 -0
- package/serialization/types/ClientFacingHandwashingSample.js +40 -0
- package/serialization/types/ClientFacingHeartRate.d.ts +1 -0
- package/serialization/types/ClientFacingHeartRate.js +1 -0
- package/serialization/types/ClientFacingHeartRateAlertSample.d.ts +0 -2
- package/serialization/types/ClientFacingHeartRateAlertSample.js +0 -2
- package/serialization/types/ClientFacingHeartRateTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingHeartRateTimeseries.js +0 -2
- package/serialization/types/ClientFacingHrvTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingHrvTimeseries.js +0 -2
- package/serialization/types/ClientFacingHypnogramTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingHypnogramTimeseries.js +0 -2
- package/serialization/types/ClientFacingIgeTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingIgeTimeseries.js +0 -2
- package/serialization/types/ClientFacingIggTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingIggTimeseries.js +0 -2
- package/serialization/types/ClientFacingInhalerUsageChanged.d.ts +18 -0
- package/serialization/types/ClientFacingInhalerUsageChanged.js +39 -0
- package/serialization/types/ClientFacingInhalerUsageChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingInhalerUsageChangedEventType.js +31 -0
- package/serialization/types/ClientFacingInhalerUsageHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingInhalerUsageHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingInhalerUsageSample.d.ts +19 -0
- package/serialization/types/ClientFacingInhalerUsageSample.js +40 -0
- package/serialization/types/ClientFacingInsulinInjectionSample.d.ts +0 -2
- package/serialization/types/ClientFacingInsulinInjectionSample.js +0 -2
- package/serialization/types/ClientFacingLeanBodyMassChanged.d.ts +18 -0
- package/serialization/types/ClientFacingLeanBodyMassChanged.js +39 -0
- package/serialization/types/ClientFacingLeanBodyMassChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingLeanBodyMassChangedEventType.js +31 -0
- package/serialization/types/ClientFacingLeanBodyMassHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingLeanBodyMassHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingLeanBodyMassSample.d.ts +19 -0
- package/serialization/types/ClientFacingLeanBodyMassSample.js +40 -0
- package/serialization/types/ClientFacingMindfulnessMinutesTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingMindfulnessMinutesTimeseries.js +0 -2
- package/serialization/types/ClientFacingNoteSample.d.ts +0 -2
- package/serialization/types/ClientFacingNoteSample.js +0 -2
- package/serialization/types/ClientFacingOrderChanged.d.ts +18 -0
- package/serialization/types/ClientFacingOrderChanged.js +39 -0
- package/serialization/types/ClientFacingOrderChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingOrderChangedEventType.js +31 -0
- package/serialization/types/ClientFacingPeakExpiratoryFlowRateChanged.d.ts +18 -0
- package/serialization/types/ClientFacingPeakExpiratoryFlowRateChanged.js +39 -0
- package/serialization/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingPeakExpiratoryFlowRateChangedEventType.js +34 -0
- package/serialization/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingPeakExpiratoryFlowRateHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingPeakExpiratoryFlowRateSample.d.ts +19 -0
- package/serialization/types/ClientFacingPeakExpiratoryFlowRateSample.js +40 -0
- package/serialization/types/ClientFacingProfile.d.ts +2 -0
- package/serialization/types/ClientFacingProfile.js +2 -0
- package/serialization/types/ClientFacingResource.d.ts +1 -1
- package/serialization/types/ClientFacingResource.js +17 -0
- package/serialization/types/ClientFacingRespiratoryRateTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingRespiratoryRateTimeseries.js +0 -2
- package/serialization/types/ClientFacingSleepApneaAlertChanged.d.ts +18 -0
- package/serialization/types/ClientFacingSleepApneaAlertChanged.js +39 -0
- package/serialization/types/ClientFacingSleepApneaAlertChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingSleepApneaAlertChangedEventType.js +31 -0
- package/serialization/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingSleepApneaAlertHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingSleepApneaAlertSample.d.ts +19 -0
- package/serialization/types/ClientFacingSleepApneaAlertSample.js +40 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceChanged.d.ts +18 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceChanged.js +39 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceChangedEventType.js +34 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceSample.d.ts +20 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceSample.js +41 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceSampleType.d.ts +10 -0
- package/serialization/types/ClientFacingSleepBreathingDisturbanceSampleType.js +31 -0
- package/serialization/types/ClientFacingSource.d.ts +2 -0
- package/serialization/types/ClientFacingSource.js +2 -0
- package/serialization/types/ClientFacingStandDurationChanged.d.ts +18 -0
- package/serialization/types/ClientFacingStandDurationChanged.js +39 -0
- package/serialization/types/ClientFacingStandDurationChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingStandDurationChangedEventType.js +31 -0
- package/serialization/types/ClientFacingStandDurationHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingStandDurationHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingStandDurationSample.d.ts +19 -0
- package/serialization/types/ClientFacingStandDurationSample.js +40 -0
- package/serialization/types/ClientFacingStandHourChanged.d.ts +18 -0
- package/serialization/types/ClientFacingStandHourChanged.js +39 -0
- package/serialization/types/ClientFacingStandHourChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingStandHourChangedEventType.js +31 -0
- package/serialization/types/ClientFacingStandHourHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingStandHourHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingStandHourSample.d.ts +20 -0
- package/serialization/types/ClientFacingStandHourSample.js +41 -0
- package/serialization/types/ClientFacingStandHourSampleType.d.ts +10 -0
- package/serialization/types/ClientFacingStandHourSampleType.js +31 -0
- package/serialization/types/ClientFacingStepsTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingStepsTimeseries.js +0 -2
- package/serialization/types/ClientFacingStressLevelTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingStressLevelTimeseries.js +0 -2
- package/serialization/types/ClientFacingUvExposureChanged.d.ts +18 -0
- package/serialization/types/ClientFacingUvExposureChanged.js +39 -0
- package/serialization/types/ClientFacingUvExposureChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingUvExposureChangedEventType.js +31 -0
- package/serialization/types/ClientFacingUvExposureHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingUvExposureHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingUvExposureSample.d.ts +19 -0
- package/serialization/types/ClientFacingUvExposureSample.js +40 -0
- package/serialization/types/ClientFacingVo2MaxTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingVo2MaxTimeseries.js +0 -2
- package/serialization/types/ClientFacingWaistCircumferenceChanged.d.ts +18 -0
- package/serialization/types/ClientFacingWaistCircumferenceChanged.js +39 -0
- package/serialization/types/ClientFacingWaistCircumferenceChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingWaistCircumferenceChangedEventType.js +31 -0
- package/serialization/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingWaistCircumferenceHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingWaistCircumferenceSample.d.ts +19 -0
- package/serialization/types/ClientFacingWaistCircumferenceSample.js +40 -0
- package/serialization/types/ClientFacingWaterTimeseries.d.ts +0 -2
- package/serialization/types/ClientFacingWaterTimeseries.js +0 -2
- package/serialization/types/ClientFacingWheelchairPushChanged.d.ts +18 -0
- package/serialization/types/ClientFacingWheelchairPushChanged.js +39 -0
- package/serialization/types/ClientFacingWheelchairPushChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingWheelchairPushChangedEventType.js +31 -0
- package/serialization/types/ClientFacingWheelchairPushHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingWheelchairPushHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingWheelchairPushSample.d.ts +19 -0
- package/serialization/types/ClientFacingWheelchairPushSample.js +40 -0
- package/serialization/types/ClientFacingWorkoutDurationSample.d.ts +0 -2
- package/serialization/types/ClientFacingWorkoutDurationSample.js +0 -2
- package/serialization/types/ClientUserIdConflictResponse.d.ts +13 -0
- package/serialization/types/ClientUserIdConflictResponse.js +34 -0
- package/serialization/types/ContinuousQueryResultTableChanges.d.ts +1 -0
- package/serialization/types/ContinuousQueryResultTableChanges.js +1 -0
- package/serialization/types/GroupedBasalBodyTemperature.d.ts +15 -0
- package/serialization/types/GroupedBasalBodyTemperature.js +36 -0
- package/serialization/types/GroupedBasalBodyTemperatureResponse.d.ts +15 -0
- package/serialization/types/GroupedBasalBodyTemperatureResponse.js +36 -0
- package/serialization/types/GroupedBodyMassIndex.d.ts +15 -0
- package/serialization/types/GroupedBodyMassIndex.js +36 -0
- package/serialization/types/GroupedBodyMassIndexResponse.d.ts +15 -0
- package/serialization/types/GroupedBodyMassIndexResponse.js +36 -0
- package/serialization/types/GroupedDaylightExposure.d.ts +15 -0
- package/serialization/types/GroupedDaylightExposure.js +36 -0
- package/serialization/types/GroupedDaylightExposureResponse.d.ts +15 -0
- package/serialization/types/GroupedDaylightExposureResponse.js +36 -0
- package/serialization/types/GroupedFall.d.ts +15 -0
- package/serialization/types/GroupedFall.js +36 -0
- package/serialization/types/GroupedFallResponse.d.ts +15 -0
- package/serialization/types/GroupedFallResponse.js +36 -0
- package/serialization/types/GroupedForcedExpiratoryVolume1.d.ts +15 -0
- package/serialization/types/GroupedForcedExpiratoryVolume1.js +36 -0
- package/serialization/types/GroupedForcedExpiratoryVolume1Response.d.ts +15 -0
- package/serialization/types/GroupedForcedExpiratoryVolume1Response.js +36 -0
- package/serialization/types/GroupedForcedVitalCapacity.d.ts +15 -0
- package/serialization/types/GroupedForcedVitalCapacity.js +36 -0
- package/serialization/types/GroupedForcedVitalCapacityResponse.d.ts +15 -0
- package/serialization/types/GroupedForcedVitalCapacityResponse.js +36 -0
- package/serialization/types/GroupedHandwashing.d.ts +15 -0
- package/serialization/types/GroupedHandwashing.js +36 -0
- package/serialization/types/GroupedHandwashingResponse.d.ts +15 -0
- package/serialization/types/GroupedHandwashingResponse.js +36 -0
- package/serialization/types/GroupedInhalerUsage.d.ts +15 -0
- package/serialization/types/GroupedInhalerUsage.js +36 -0
- package/serialization/types/GroupedInhalerUsageResponse.d.ts +15 -0
- package/serialization/types/GroupedInhalerUsageResponse.js +36 -0
- package/serialization/types/GroupedLeanBodyMass.d.ts +15 -0
- package/serialization/types/GroupedLeanBodyMass.js +36 -0
- package/serialization/types/GroupedLeanBodyMassResponse.d.ts +15 -0
- package/serialization/types/GroupedLeanBodyMassResponse.js +36 -0
- package/serialization/types/GroupedPeakExpiratoryFlowRate.d.ts +15 -0
- package/serialization/types/GroupedPeakExpiratoryFlowRate.js +36 -0
- package/serialization/types/GroupedPeakExpiratoryFlowRateResponse.d.ts +15 -0
- package/serialization/types/GroupedPeakExpiratoryFlowRateResponse.js +36 -0
- package/serialization/types/GroupedSleepApneaAlert.d.ts +15 -0
- package/serialization/types/GroupedSleepApneaAlert.js +36 -0
- package/serialization/types/GroupedSleepApneaAlertResponse.d.ts +15 -0
- package/serialization/types/GroupedSleepApneaAlertResponse.js +36 -0
- package/serialization/types/GroupedSleepBreathingDisturbance.d.ts +15 -0
- package/serialization/types/GroupedSleepBreathingDisturbance.js +36 -0
- package/serialization/types/GroupedSleepBreathingDisturbanceResponse.d.ts +15 -0
- package/serialization/types/GroupedSleepBreathingDisturbanceResponse.js +36 -0
- package/serialization/types/GroupedStandDuration.d.ts +15 -0
- package/serialization/types/GroupedStandDuration.js +36 -0
- package/serialization/types/GroupedStandDurationResponse.d.ts +15 -0
- package/serialization/types/GroupedStandDurationResponse.js +36 -0
- package/serialization/types/GroupedStandHour.d.ts +15 -0
- package/serialization/types/GroupedStandHour.js +36 -0
- package/serialization/types/GroupedStandHourResponse.d.ts +15 -0
- package/serialization/types/GroupedStandHourResponse.js +36 -0
- package/serialization/types/GroupedUvExposure.d.ts +15 -0
- package/serialization/types/GroupedUvExposure.js +36 -0
- package/serialization/types/GroupedUvExposureResponse.d.ts +15 -0
- package/serialization/types/GroupedUvExposureResponse.js +36 -0
- package/serialization/types/GroupedWaistCircumference.d.ts +15 -0
- package/serialization/types/GroupedWaistCircumference.js +36 -0
- package/serialization/types/GroupedWaistCircumferenceResponse.d.ts +15 -0
- package/serialization/types/GroupedWaistCircumferenceResponse.js +36 -0
- package/serialization/types/GroupedWheelchairPush.d.ts +15 -0
- package/serialization/types/GroupedWheelchairPush.js +36 -0
- package/serialization/types/GroupedWheelchairPushResponse.d.ts +15 -0
- package/serialization/types/GroupedWheelchairPushResponse.js +36 -0
- package/serialization/types/HistoricalPullStatus.d.ts +1 -1
- package/serialization/types/HistoricalPullStatus.js +1 -1
- package/serialization/types/PatientAddress.d.ts +18 -0
- package/serialization/types/PatientAddress.js +39 -0
- package/serialization/types/TimeseriesResource.d.ts +1 -1
- package/serialization/types/TimeseriesResource.js +17 -0
- package/serialization/types/index.d.ts +110 -2
- package/serialization/types/index.js +110 -2
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/{types/ClientFacingCreatedChanged.js → resources/labTests/client/requests/ImportOrderBody.js} +0 -0
- /package/{dist/api/types/ClientFacingCreatedChanged.js → api/resources/vitals/client/requests/VitalsBasalBodyTemperatureGroupedRequest.js} +0 -0
@@ -49,6 +49,1366 @@ class Vitals {
|
|
49
49
|
constructor(_options = {}) {
|
50
50
|
this._options = _options;
|
51
51
|
}
|
52
|
+
/**
|
53
|
+
* @param {string} userId
|
54
|
+
* @param {Vital.VitalsWaistCircumferenceGroupedRequest} request
|
55
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
56
|
+
*
|
57
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
58
|
+
*
|
59
|
+
* @example
|
60
|
+
* await client.vitals.waistCircumferenceGrouped("user_id", {
|
61
|
+
* startDate: "start_date"
|
62
|
+
* })
|
63
|
+
*/
|
64
|
+
waistCircumferenceGrouped(userId, request, requestOptions) {
|
65
|
+
var _a;
|
66
|
+
return __awaiter(this, void 0, void 0, function* () {
|
67
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
68
|
+
const _queryParams = {};
|
69
|
+
if (cursor != null) {
|
70
|
+
_queryParams["cursor"] = cursor;
|
71
|
+
}
|
72
|
+
if (nextCursor != null) {
|
73
|
+
_queryParams["next_cursor"] = nextCursor;
|
74
|
+
}
|
75
|
+
if (provider != null) {
|
76
|
+
_queryParams["provider"] = provider;
|
77
|
+
}
|
78
|
+
_queryParams["start_date"] = startDate;
|
79
|
+
if (endDate != null) {
|
80
|
+
_queryParams["end_date"] = endDate;
|
81
|
+
}
|
82
|
+
const _response = yield core.fetcher({
|
83
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/waist_circumference/grouped`),
|
84
|
+
method: "GET",
|
85
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
86
|
+
contentType: "application/json",
|
87
|
+
queryParameters: _queryParams,
|
88
|
+
requestType: "json",
|
89
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
90
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
91
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
92
|
+
});
|
93
|
+
if (_response.ok) {
|
94
|
+
return serializers.GroupedWaistCircumferenceResponse.parseOrThrow(_response.body, {
|
95
|
+
unrecognizedObjectKeys: "passthrough",
|
96
|
+
allowUnrecognizedUnionMembers: true,
|
97
|
+
allowUnrecognizedEnumValues: true,
|
98
|
+
breadcrumbsPrefix: ["response"],
|
99
|
+
});
|
100
|
+
}
|
101
|
+
if (_response.error.reason === "status-code") {
|
102
|
+
switch (_response.error.statusCode) {
|
103
|
+
case 422:
|
104
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
105
|
+
unrecognizedObjectKeys: "passthrough",
|
106
|
+
allowUnrecognizedUnionMembers: true,
|
107
|
+
allowUnrecognizedEnumValues: true,
|
108
|
+
breadcrumbsPrefix: ["response"],
|
109
|
+
}));
|
110
|
+
default:
|
111
|
+
throw new errors.VitalError({
|
112
|
+
statusCode: _response.error.statusCode,
|
113
|
+
body: _response.error.body,
|
114
|
+
});
|
115
|
+
}
|
116
|
+
}
|
117
|
+
switch (_response.error.reason) {
|
118
|
+
case "non-json":
|
119
|
+
throw new errors.VitalError({
|
120
|
+
statusCode: _response.error.statusCode,
|
121
|
+
body: _response.error.rawBody,
|
122
|
+
});
|
123
|
+
case "timeout":
|
124
|
+
throw new errors.VitalTimeoutError();
|
125
|
+
case "unknown":
|
126
|
+
throw new errors.VitalError({
|
127
|
+
message: _response.error.errorMessage,
|
128
|
+
});
|
129
|
+
}
|
130
|
+
});
|
131
|
+
}
|
132
|
+
/**
|
133
|
+
* @param {string} userId
|
134
|
+
* @param {Vital.VitalsLeanBodyMassGroupedRequest} request
|
135
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
136
|
+
*
|
137
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
138
|
+
*
|
139
|
+
* @example
|
140
|
+
* await client.vitals.leanBodyMassGrouped("user_id", {
|
141
|
+
* startDate: "start_date"
|
142
|
+
* })
|
143
|
+
*/
|
144
|
+
leanBodyMassGrouped(userId, request, requestOptions) {
|
145
|
+
var _a;
|
146
|
+
return __awaiter(this, void 0, void 0, function* () {
|
147
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
148
|
+
const _queryParams = {};
|
149
|
+
if (cursor != null) {
|
150
|
+
_queryParams["cursor"] = cursor;
|
151
|
+
}
|
152
|
+
if (nextCursor != null) {
|
153
|
+
_queryParams["next_cursor"] = nextCursor;
|
154
|
+
}
|
155
|
+
if (provider != null) {
|
156
|
+
_queryParams["provider"] = provider;
|
157
|
+
}
|
158
|
+
_queryParams["start_date"] = startDate;
|
159
|
+
if (endDate != null) {
|
160
|
+
_queryParams["end_date"] = endDate;
|
161
|
+
}
|
162
|
+
const _response = yield core.fetcher({
|
163
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/lean_body_mass/grouped`),
|
164
|
+
method: "GET",
|
165
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
166
|
+
contentType: "application/json",
|
167
|
+
queryParameters: _queryParams,
|
168
|
+
requestType: "json",
|
169
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
170
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
171
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
172
|
+
});
|
173
|
+
if (_response.ok) {
|
174
|
+
return serializers.GroupedLeanBodyMassResponse.parseOrThrow(_response.body, {
|
175
|
+
unrecognizedObjectKeys: "passthrough",
|
176
|
+
allowUnrecognizedUnionMembers: true,
|
177
|
+
allowUnrecognizedEnumValues: true,
|
178
|
+
breadcrumbsPrefix: ["response"],
|
179
|
+
});
|
180
|
+
}
|
181
|
+
if (_response.error.reason === "status-code") {
|
182
|
+
switch (_response.error.statusCode) {
|
183
|
+
case 422:
|
184
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
185
|
+
unrecognizedObjectKeys: "passthrough",
|
186
|
+
allowUnrecognizedUnionMembers: true,
|
187
|
+
allowUnrecognizedEnumValues: true,
|
188
|
+
breadcrumbsPrefix: ["response"],
|
189
|
+
}));
|
190
|
+
default:
|
191
|
+
throw new errors.VitalError({
|
192
|
+
statusCode: _response.error.statusCode,
|
193
|
+
body: _response.error.body,
|
194
|
+
});
|
195
|
+
}
|
196
|
+
}
|
197
|
+
switch (_response.error.reason) {
|
198
|
+
case "non-json":
|
199
|
+
throw new errors.VitalError({
|
200
|
+
statusCode: _response.error.statusCode,
|
201
|
+
body: _response.error.rawBody,
|
202
|
+
});
|
203
|
+
case "timeout":
|
204
|
+
throw new errors.VitalTimeoutError();
|
205
|
+
case "unknown":
|
206
|
+
throw new errors.VitalError({
|
207
|
+
message: _response.error.errorMessage,
|
208
|
+
});
|
209
|
+
}
|
210
|
+
});
|
211
|
+
}
|
212
|
+
/**
|
213
|
+
* @param {string} userId
|
214
|
+
* @param {Vital.VitalsBodyMassIndexGroupedRequest} request
|
215
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
216
|
+
*
|
217
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
218
|
+
*
|
219
|
+
* @example
|
220
|
+
* await client.vitals.bodyMassIndexGrouped("user_id", {
|
221
|
+
* startDate: "start_date"
|
222
|
+
* })
|
223
|
+
*/
|
224
|
+
bodyMassIndexGrouped(userId, request, requestOptions) {
|
225
|
+
var _a;
|
226
|
+
return __awaiter(this, void 0, void 0, function* () {
|
227
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
228
|
+
const _queryParams = {};
|
229
|
+
if (cursor != null) {
|
230
|
+
_queryParams["cursor"] = cursor;
|
231
|
+
}
|
232
|
+
if (nextCursor != null) {
|
233
|
+
_queryParams["next_cursor"] = nextCursor;
|
234
|
+
}
|
235
|
+
if (provider != null) {
|
236
|
+
_queryParams["provider"] = provider;
|
237
|
+
}
|
238
|
+
_queryParams["start_date"] = startDate;
|
239
|
+
if (endDate != null) {
|
240
|
+
_queryParams["end_date"] = endDate;
|
241
|
+
}
|
242
|
+
const _response = yield core.fetcher({
|
243
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_mass_index/grouped`),
|
244
|
+
method: "GET",
|
245
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
246
|
+
contentType: "application/json",
|
247
|
+
queryParameters: _queryParams,
|
248
|
+
requestType: "json",
|
249
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
250
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
251
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
252
|
+
});
|
253
|
+
if (_response.ok) {
|
254
|
+
return serializers.GroupedBodyMassIndexResponse.parseOrThrow(_response.body, {
|
255
|
+
unrecognizedObjectKeys: "passthrough",
|
256
|
+
allowUnrecognizedUnionMembers: true,
|
257
|
+
allowUnrecognizedEnumValues: true,
|
258
|
+
breadcrumbsPrefix: ["response"],
|
259
|
+
});
|
260
|
+
}
|
261
|
+
if (_response.error.reason === "status-code") {
|
262
|
+
switch (_response.error.statusCode) {
|
263
|
+
case 422:
|
264
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
265
|
+
unrecognizedObjectKeys: "passthrough",
|
266
|
+
allowUnrecognizedUnionMembers: true,
|
267
|
+
allowUnrecognizedEnumValues: true,
|
268
|
+
breadcrumbsPrefix: ["response"],
|
269
|
+
}));
|
270
|
+
default:
|
271
|
+
throw new errors.VitalError({
|
272
|
+
statusCode: _response.error.statusCode,
|
273
|
+
body: _response.error.body,
|
274
|
+
});
|
275
|
+
}
|
276
|
+
}
|
277
|
+
switch (_response.error.reason) {
|
278
|
+
case "non-json":
|
279
|
+
throw new errors.VitalError({
|
280
|
+
statusCode: _response.error.statusCode,
|
281
|
+
body: _response.error.rawBody,
|
282
|
+
});
|
283
|
+
case "timeout":
|
284
|
+
throw new errors.VitalTimeoutError();
|
285
|
+
case "unknown":
|
286
|
+
throw new errors.VitalError({
|
287
|
+
message: _response.error.errorMessage,
|
288
|
+
});
|
289
|
+
}
|
290
|
+
});
|
291
|
+
}
|
292
|
+
/**
|
293
|
+
* @param {string} userId
|
294
|
+
* @param {Vital.VitalsBasalBodyTemperatureGroupedRequest} request
|
295
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
296
|
+
*
|
297
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
298
|
+
*
|
299
|
+
* @example
|
300
|
+
* await client.vitals.basalBodyTemperatureGrouped("user_id", {
|
301
|
+
* startDate: "start_date"
|
302
|
+
* })
|
303
|
+
*/
|
304
|
+
basalBodyTemperatureGrouped(userId, request, requestOptions) {
|
305
|
+
var _a;
|
306
|
+
return __awaiter(this, void 0, void 0, function* () {
|
307
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
308
|
+
const _queryParams = {};
|
309
|
+
if (cursor != null) {
|
310
|
+
_queryParams["cursor"] = cursor;
|
311
|
+
}
|
312
|
+
if (nextCursor != null) {
|
313
|
+
_queryParams["next_cursor"] = nextCursor;
|
314
|
+
}
|
315
|
+
if (provider != null) {
|
316
|
+
_queryParams["provider"] = provider;
|
317
|
+
}
|
318
|
+
_queryParams["start_date"] = startDate;
|
319
|
+
if (endDate != null) {
|
320
|
+
_queryParams["end_date"] = endDate;
|
321
|
+
}
|
322
|
+
const _response = yield core.fetcher({
|
323
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/basal_body_temperature/grouped`),
|
324
|
+
method: "GET",
|
325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
326
|
+
contentType: "application/json",
|
327
|
+
queryParameters: _queryParams,
|
328
|
+
requestType: "json",
|
329
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
330
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
331
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
332
|
+
});
|
333
|
+
if (_response.ok) {
|
334
|
+
return serializers.GroupedBasalBodyTemperatureResponse.parseOrThrow(_response.body, {
|
335
|
+
unrecognizedObjectKeys: "passthrough",
|
336
|
+
allowUnrecognizedUnionMembers: true,
|
337
|
+
allowUnrecognizedEnumValues: true,
|
338
|
+
breadcrumbsPrefix: ["response"],
|
339
|
+
});
|
340
|
+
}
|
341
|
+
if (_response.error.reason === "status-code") {
|
342
|
+
switch (_response.error.statusCode) {
|
343
|
+
case 422:
|
344
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
345
|
+
unrecognizedObjectKeys: "passthrough",
|
346
|
+
allowUnrecognizedUnionMembers: true,
|
347
|
+
allowUnrecognizedEnumValues: true,
|
348
|
+
breadcrumbsPrefix: ["response"],
|
349
|
+
}));
|
350
|
+
default:
|
351
|
+
throw new errors.VitalError({
|
352
|
+
statusCode: _response.error.statusCode,
|
353
|
+
body: _response.error.body,
|
354
|
+
});
|
355
|
+
}
|
356
|
+
}
|
357
|
+
switch (_response.error.reason) {
|
358
|
+
case "non-json":
|
359
|
+
throw new errors.VitalError({
|
360
|
+
statusCode: _response.error.statusCode,
|
361
|
+
body: _response.error.rawBody,
|
362
|
+
});
|
363
|
+
case "timeout":
|
364
|
+
throw new errors.VitalTimeoutError();
|
365
|
+
case "unknown":
|
366
|
+
throw new errors.VitalError({
|
367
|
+
message: _response.error.errorMessage,
|
368
|
+
});
|
369
|
+
}
|
370
|
+
});
|
371
|
+
}
|
372
|
+
/**
|
373
|
+
* @param {string} userId
|
374
|
+
* @param {Vital.VitalsHandwashingGroupedRequest} request
|
375
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
376
|
+
*
|
377
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
378
|
+
*
|
379
|
+
* @example
|
380
|
+
* await client.vitals.handwashingGrouped("user_id", {
|
381
|
+
* startDate: "start_date"
|
382
|
+
* })
|
383
|
+
*/
|
384
|
+
handwashingGrouped(userId, request, requestOptions) {
|
385
|
+
var _a;
|
386
|
+
return __awaiter(this, void 0, void 0, function* () {
|
387
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
388
|
+
const _queryParams = {};
|
389
|
+
if (cursor != null) {
|
390
|
+
_queryParams["cursor"] = cursor;
|
391
|
+
}
|
392
|
+
if (nextCursor != null) {
|
393
|
+
_queryParams["next_cursor"] = nextCursor;
|
394
|
+
}
|
395
|
+
if (provider != null) {
|
396
|
+
_queryParams["provider"] = provider;
|
397
|
+
}
|
398
|
+
_queryParams["start_date"] = startDate;
|
399
|
+
if (endDate != null) {
|
400
|
+
_queryParams["end_date"] = endDate;
|
401
|
+
}
|
402
|
+
const _response = yield core.fetcher({
|
403
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/handwashing/grouped`),
|
404
|
+
method: "GET",
|
405
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
406
|
+
contentType: "application/json",
|
407
|
+
queryParameters: _queryParams,
|
408
|
+
requestType: "json",
|
409
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
410
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
411
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
412
|
+
});
|
413
|
+
if (_response.ok) {
|
414
|
+
return serializers.GroupedHandwashingResponse.parseOrThrow(_response.body, {
|
415
|
+
unrecognizedObjectKeys: "passthrough",
|
416
|
+
allowUnrecognizedUnionMembers: true,
|
417
|
+
allowUnrecognizedEnumValues: true,
|
418
|
+
breadcrumbsPrefix: ["response"],
|
419
|
+
});
|
420
|
+
}
|
421
|
+
if (_response.error.reason === "status-code") {
|
422
|
+
switch (_response.error.statusCode) {
|
423
|
+
case 422:
|
424
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
425
|
+
unrecognizedObjectKeys: "passthrough",
|
426
|
+
allowUnrecognizedUnionMembers: true,
|
427
|
+
allowUnrecognizedEnumValues: true,
|
428
|
+
breadcrumbsPrefix: ["response"],
|
429
|
+
}));
|
430
|
+
default:
|
431
|
+
throw new errors.VitalError({
|
432
|
+
statusCode: _response.error.statusCode,
|
433
|
+
body: _response.error.body,
|
434
|
+
});
|
435
|
+
}
|
436
|
+
}
|
437
|
+
switch (_response.error.reason) {
|
438
|
+
case "non-json":
|
439
|
+
throw new errors.VitalError({
|
440
|
+
statusCode: _response.error.statusCode,
|
441
|
+
body: _response.error.rawBody,
|
442
|
+
});
|
443
|
+
case "timeout":
|
444
|
+
throw new errors.VitalTimeoutError();
|
445
|
+
case "unknown":
|
446
|
+
throw new errors.VitalError({
|
447
|
+
message: _response.error.errorMessage,
|
448
|
+
});
|
449
|
+
}
|
450
|
+
});
|
451
|
+
}
|
452
|
+
/**
|
453
|
+
* @param {string} userId
|
454
|
+
* @param {Vital.VitalsDaylightExposureGroupedRequest} request
|
455
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
456
|
+
*
|
457
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
458
|
+
*
|
459
|
+
* @example
|
460
|
+
* await client.vitals.daylightExposureGrouped("user_id", {
|
461
|
+
* startDate: "start_date"
|
462
|
+
* })
|
463
|
+
*/
|
464
|
+
daylightExposureGrouped(userId, request, requestOptions) {
|
465
|
+
var _a;
|
466
|
+
return __awaiter(this, void 0, void 0, function* () {
|
467
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
468
|
+
const _queryParams = {};
|
469
|
+
if (cursor != null) {
|
470
|
+
_queryParams["cursor"] = cursor;
|
471
|
+
}
|
472
|
+
if (nextCursor != null) {
|
473
|
+
_queryParams["next_cursor"] = nextCursor;
|
474
|
+
}
|
475
|
+
if (provider != null) {
|
476
|
+
_queryParams["provider"] = provider;
|
477
|
+
}
|
478
|
+
_queryParams["start_date"] = startDate;
|
479
|
+
if (endDate != null) {
|
480
|
+
_queryParams["end_date"] = endDate;
|
481
|
+
}
|
482
|
+
const _response = yield core.fetcher({
|
483
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/daylight_exposure/grouped`),
|
484
|
+
method: "GET",
|
485
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
486
|
+
contentType: "application/json",
|
487
|
+
queryParameters: _queryParams,
|
488
|
+
requestType: "json",
|
489
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
490
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
491
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
492
|
+
});
|
493
|
+
if (_response.ok) {
|
494
|
+
return serializers.GroupedDaylightExposureResponse.parseOrThrow(_response.body, {
|
495
|
+
unrecognizedObjectKeys: "passthrough",
|
496
|
+
allowUnrecognizedUnionMembers: true,
|
497
|
+
allowUnrecognizedEnumValues: true,
|
498
|
+
breadcrumbsPrefix: ["response"],
|
499
|
+
});
|
500
|
+
}
|
501
|
+
if (_response.error.reason === "status-code") {
|
502
|
+
switch (_response.error.statusCode) {
|
503
|
+
case 422:
|
504
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
505
|
+
unrecognizedObjectKeys: "passthrough",
|
506
|
+
allowUnrecognizedUnionMembers: true,
|
507
|
+
allowUnrecognizedEnumValues: true,
|
508
|
+
breadcrumbsPrefix: ["response"],
|
509
|
+
}));
|
510
|
+
default:
|
511
|
+
throw new errors.VitalError({
|
512
|
+
statusCode: _response.error.statusCode,
|
513
|
+
body: _response.error.body,
|
514
|
+
});
|
515
|
+
}
|
516
|
+
}
|
517
|
+
switch (_response.error.reason) {
|
518
|
+
case "non-json":
|
519
|
+
throw new errors.VitalError({
|
520
|
+
statusCode: _response.error.statusCode,
|
521
|
+
body: _response.error.rawBody,
|
522
|
+
});
|
523
|
+
case "timeout":
|
524
|
+
throw new errors.VitalTimeoutError();
|
525
|
+
case "unknown":
|
526
|
+
throw new errors.VitalError({
|
527
|
+
message: _response.error.errorMessage,
|
528
|
+
});
|
529
|
+
}
|
530
|
+
});
|
531
|
+
}
|
532
|
+
/**
|
533
|
+
* @param {string} userId
|
534
|
+
* @param {Vital.VitalsUvExposureGroupedRequest} request
|
535
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
536
|
+
*
|
537
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
538
|
+
*
|
539
|
+
* @example
|
540
|
+
* await client.vitals.uvExposureGrouped("user_id", {
|
541
|
+
* startDate: "start_date"
|
542
|
+
* })
|
543
|
+
*/
|
544
|
+
uvExposureGrouped(userId, request, requestOptions) {
|
545
|
+
var _a;
|
546
|
+
return __awaiter(this, void 0, void 0, function* () {
|
547
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
548
|
+
const _queryParams = {};
|
549
|
+
if (cursor != null) {
|
550
|
+
_queryParams["cursor"] = cursor;
|
551
|
+
}
|
552
|
+
if (nextCursor != null) {
|
553
|
+
_queryParams["next_cursor"] = nextCursor;
|
554
|
+
}
|
555
|
+
if (provider != null) {
|
556
|
+
_queryParams["provider"] = provider;
|
557
|
+
}
|
558
|
+
_queryParams["start_date"] = startDate;
|
559
|
+
if (endDate != null) {
|
560
|
+
_queryParams["end_date"] = endDate;
|
561
|
+
}
|
562
|
+
const _response = yield core.fetcher({
|
563
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/uv_exposure/grouped`),
|
564
|
+
method: "GET",
|
565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
566
|
+
contentType: "application/json",
|
567
|
+
queryParameters: _queryParams,
|
568
|
+
requestType: "json",
|
569
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
570
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
571
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
572
|
+
});
|
573
|
+
if (_response.ok) {
|
574
|
+
return serializers.GroupedUvExposureResponse.parseOrThrow(_response.body, {
|
575
|
+
unrecognizedObjectKeys: "passthrough",
|
576
|
+
allowUnrecognizedUnionMembers: true,
|
577
|
+
allowUnrecognizedEnumValues: true,
|
578
|
+
breadcrumbsPrefix: ["response"],
|
579
|
+
});
|
580
|
+
}
|
581
|
+
if (_response.error.reason === "status-code") {
|
582
|
+
switch (_response.error.statusCode) {
|
583
|
+
case 422:
|
584
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
585
|
+
unrecognizedObjectKeys: "passthrough",
|
586
|
+
allowUnrecognizedUnionMembers: true,
|
587
|
+
allowUnrecognizedEnumValues: true,
|
588
|
+
breadcrumbsPrefix: ["response"],
|
589
|
+
}));
|
590
|
+
default:
|
591
|
+
throw new errors.VitalError({
|
592
|
+
statusCode: _response.error.statusCode,
|
593
|
+
body: _response.error.body,
|
594
|
+
});
|
595
|
+
}
|
596
|
+
}
|
597
|
+
switch (_response.error.reason) {
|
598
|
+
case "non-json":
|
599
|
+
throw new errors.VitalError({
|
600
|
+
statusCode: _response.error.statusCode,
|
601
|
+
body: _response.error.rawBody,
|
602
|
+
});
|
603
|
+
case "timeout":
|
604
|
+
throw new errors.VitalTimeoutError();
|
605
|
+
case "unknown":
|
606
|
+
throw new errors.VitalError({
|
607
|
+
message: _response.error.errorMessage,
|
608
|
+
});
|
609
|
+
}
|
610
|
+
});
|
611
|
+
}
|
612
|
+
/**
|
613
|
+
* @param {string} userId
|
614
|
+
* @param {Vital.VitalsFallGroupedRequest} request
|
615
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
616
|
+
*
|
617
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
618
|
+
*
|
619
|
+
* @example
|
620
|
+
* await client.vitals.fallGrouped("user_id", {
|
621
|
+
* startDate: "start_date"
|
622
|
+
* })
|
623
|
+
*/
|
624
|
+
fallGrouped(userId, request, requestOptions) {
|
625
|
+
var _a;
|
626
|
+
return __awaiter(this, void 0, void 0, function* () {
|
627
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
628
|
+
const _queryParams = {};
|
629
|
+
if (cursor != null) {
|
630
|
+
_queryParams["cursor"] = cursor;
|
631
|
+
}
|
632
|
+
if (nextCursor != null) {
|
633
|
+
_queryParams["next_cursor"] = nextCursor;
|
634
|
+
}
|
635
|
+
if (provider != null) {
|
636
|
+
_queryParams["provider"] = provider;
|
637
|
+
}
|
638
|
+
_queryParams["start_date"] = startDate;
|
639
|
+
if (endDate != null) {
|
640
|
+
_queryParams["end_date"] = endDate;
|
641
|
+
}
|
642
|
+
const _response = yield core.fetcher({
|
643
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/fall/grouped`),
|
644
|
+
method: "GET",
|
645
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
646
|
+
contentType: "application/json",
|
647
|
+
queryParameters: _queryParams,
|
648
|
+
requestType: "json",
|
649
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
650
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
651
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
652
|
+
});
|
653
|
+
if (_response.ok) {
|
654
|
+
return serializers.GroupedFallResponse.parseOrThrow(_response.body, {
|
655
|
+
unrecognizedObjectKeys: "passthrough",
|
656
|
+
allowUnrecognizedUnionMembers: true,
|
657
|
+
allowUnrecognizedEnumValues: true,
|
658
|
+
breadcrumbsPrefix: ["response"],
|
659
|
+
});
|
660
|
+
}
|
661
|
+
if (_response.error.reason === "status-code") {
|
662
|
+
switch (_response.error.statusCode) {
|
663
|
+
case 422:
|
664
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
665
|
+
unrecognizedObjectKeys: "passthrough",
|
666
|
+
allowUnrecognizedUnionMembers: true,
|
667
|
+
allowUnrecognizedEnumValues: true,
|
668
|
+
breadcrumbsPrefix: ["response"],
|
669
|
+
}));
|
670
|
+
default:
|
671
|
+
throw new errors.VitalError({
|
672
|
+
statusCode: _response.error.statusCode,
|
673
|
+
body: _response.error.body,
|
674
|
+
});
|
675
|
+
}
|
676
|
+
}
|
677
|
+
switch (_response.error.reason) {
|
678
|
+
case "non-json":
|
679
|
+
throw new errors.VitalError({
|
680
|
+
statusCode: _response.error.statusCode,
|
681
|
+
body: _response.error.rawBody,
|
682
|
+
});
|
683
|
+
case "timeout":
|
684
|
+
throw new errors.VitalTimeoutError();
|
685
|
+
case "unknown":
|
686
|
+
throw new errors.VitalError({
|
687
|
+
message: _response.error.errorMessage,
|
688
|
+
});
|
689
|
+
}
|
690
|
+
});
|
691
|
+
}
|
692
|
+
/**
|
693
|
+
* @param {string} userId
|
694
|
+
* @param {Vital.VitalsInhalerUsageGroupedRequest} request
|
695
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
696
|
+
*
|
697
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
698
|
+
*
|
699
|
+
* @example
|
700
|
+
* await client.vitals.inhalerUsageGrouped("user_id", {
|
701
|
+
* startDate: "start_date"
|
702
|
+
* })
|
703
|
+
*/
|
704
|
+
inhalerUsageGrouped(userId, request, requestOptions) {
|
705
|
+
var _a;
|
706
|
+
return __awaiter(this, void 0, void 0, function* () {
|
707
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
708
|
+
const _queryParams = {};
|
709
|
+
if (cursor != null) {
|
710
|
+
_queryParams["cursor"] = cursor;
|
711
|
+
}
|
712
|
+
if (nextCursor != null) {
|
713
|
+
_queryParams["next_cursor"] = nextCursor;
|
714
|
+
}
|
715
|
+
if (provider != null) {
|
716
|
+
_queryParams["provider"] = provider;
|
717
|
+
}
|
718
|
+
_queryParams["start_date"] = startDate;
|
719
|
+
if (endDate != null) {
|
720
|
+
_queryParams["end_date"] = endDate;
|
721
|
+
}
|
722
|
+
const _response = yield core.fetcher({
|
723
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/inhaler_usage/grouped`),
|
724
|
+
method: "GET",
|
725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
726
|
+
contentType: "application/json",
|
727
|
+
queryParameters: _queryParams,
|
728
|
+
requestType: "json",
|
729
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
730
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
731
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
732
|
+
});
|
733
|
+
if (_response.ok) {
|
734
|
+
return serializers.GroupedInhalerUsageResponse.parseOrThrow(_response.body, {
|
735
|
+
unrecognizedObjectKeys: "passthrough",
|
736
|
+
allowUnrecognizedUnionMembers: true,
|
737
|
+
allowUnrecognizedEnumValues: true,
|
738
|
+
breadcrumbsPrefix: ["response"],
|
739
|
+
});
|
740
|
+
}
|
741
|
+
if (_response.error.reason === "status-code") {
|
742
|
+
switch (_response.error.statusCode) {
|
743
|
+
case 422:
|
744
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
745
|
+
unrecognizedObjectKeys: "passthrough",
|
746
|
+
allowUnrecognizedUnionMembers: true,
|
747
|
+
allowUnrecognizedEnumValues: true,
|
748
|
+
breadcrumbsPrefix: ["response"],
|
749
|
+
}));
|
750
|
+
default:
|
751
|
+
throw new errors.VitalError({
|
752
|
+
statusCode: _response.error.statusCode,
|
753
|
+
body: _response.error.body,
|
754
|
+
});
|
755
|
+
}
|
756
|
+
}
|
757
|
+
switch (_response.error.reason) {
|
758
|
+
case "non-json":
|
759
|
+
throw new errors.VitalError({
|
760
|
+
statusCode: _response.error.statusCode,
|
761
|
+
body: _response.error.rawBody,
|
762
|
+
});
|
763
|
+
case "timeout":
|
764
|
+
throw new errors.VitalTimeoutError();
|
765
|
+
case "unknown":
|
766
|
+
throw new errors.VitalError({
|
767
|
+
message: _response.error.errorMessage,
|
768
|
+
});
|
769
|
+
}
|
770
|
+
});
|
771
|
+
}
|
772
|
+
/**
|
773
|
+
* @param {string} userId
|
774
|
+
* @param {Vital.VitalsPeakExpiratoryFlowRateGroupedRequest} request
|
775
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
776
|
+
*
|
777
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
778
|
+
*
|
779
|
+
* @example
|
780
|
+
* await client.vitals.peakExpiratoryFlowRateGrouped("user_id", {
|
781
|
+
* startDate: "start_date"
|
782
|
+
* })
|
783
|
+
*/
|
784
|
+
peakExpiratoryFlowRateGrouped(userId, request, requestOptions) {
|
785
|
+
var _a;
|
786
|
+
return __awaiter(this, void 0, void 0, function* () {
|
787
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
788
|
+
const _queryParams = {};
|
789
|
+
if (cursor != null) {
|
790
|
+
_queryParams["cursor"] = cursor;
|
791
|
+
}
|
792
|
+
if (nextCursor != null) {
|
793
|
+
_queryParams["next_cursor"] = nextCursor;
|
794
|
+
}
|
795
|
+
if (provider != null) {
|
796
|
+
_queryParams["provider"] = provider;
|
797
|
+
}
|
798
|
+
_queryParams["start_date"] = startDate;
|
799
|
+
if (endDate != null) {
|
800
|
+
_queryParams["end_date"] = endDate;
|
801
|
+
}
|
802
|
+
const _response = yield core.fetcher({
|
803
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/peak_expiratory_flow_rate/grouped`),
|
804
|
+
method: "GET",
|
805
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
806
|
+
contentType: "application/json",
|
807
|
+
queryParameters: _queryParams,
|
808
|
+
requestType: "json",
|
809
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
810
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
811
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
812
|
+
});
|
813
|
+
if (_response.ok) {
|
814
|
+
return serializers.GroupedPeakExpiratoryFlowRateResponse.parseOrThrow(_response.body, {
|
815
|
+
unrecognizedObjectKeys: "passthrough",
|
816
|
+
allowUnrecognizedUnionMembers: true,
|
817
|
+
allowUnrecognizedEnumValues: true,
|
818
|
+
breadcrumbsPrefix: ["response"],
|
819
|
+
});
|
820
|
+
}
|
821
|
+
if (_response.error.reason === "status-code") {
|
822
|
+
switch (_response.error.statusCode) {
|
823
|
+
case 422:
|
824
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
825
|
+
unrecognizedObjectKeys: "passthrough",
|
826
|
+
allowUnrecognizedUnionMembers: true,
|
827
|
+
allowUnrecognizedEnumValues: true,
|
828
|
+
breadcrumbsPrefix: ["response"],
|
829
|
+
}));
|
830
|
+
default:
|
831
|
+
throw new errors.VitalError({
|
832
|
+
statusCode: _response.error.statusCode,
|
833
|
+
body: _response.error.body,
|
834
|
+
});
|
835
|
+
}
|
836
|
+
}
|
837
|
+
switch (_response.error.reason) {
|
838
|
+
case "non-json":
|
839
|
+
throw new errors.VitalError({
|
840
|
+
statusCode: _response.error.statusCode,
|
841
|
+
body: _response.error.rawBody,
|
842
|
+
});
|
843
|
+
case "timeout":
|
844
|
+
throw new errors.VitalTimeoutError();
|
845
|
+
case "unknown":
|
846
|
+
throw new errors.VitalError({
|
847
|
+
message: _response.error.errorMessage,
|
848
|
+
});
|
849
|
+
}
|
850
|
+
});
|
851
|
+
}
|
852
|
+
/**
|
853
|
+
* @param {string} userId
|
854
|
+
* @param {Vital.VitalsForcedVitalCapacityGroupedRequest} request
|
855
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
856
|
+
*
|
857
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
858
|
+
*
|
859
|
+
* @example
|
860
|
+
* await client.vitals.forcedVitalCapacityGrouped("user_id", {
|
861
|
+
* startDate: "start_date"
|
862
|
+
* })
|
863
|
+
*/
|
864
|
+
forcedVitalCapacityGrouped(userId, request, requestOptions) {
|
865
|
+
var _a;
|
866
|
+
return __awaiter(this, void 0, void 0, function* () {
|
867
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
868
|
+
const _queryParams = {};
|
869
|
+
if (cursor != null) {
|
870
|
+
_queryParams["cursor"] = cursor;
|
871
|
+
}
|
872
|
+
if (nextCursor != null) {
|
873
|
+
_queryParams["next_cursor"] = nextCursor;
|
874
|
+
}
|
875
|
+
if (provider != null) {
|
876
|
+
_queryParams["provider"] = provider;
|
877
|
+
}
|
878
|
+
_queryParams["start_date"] = startDate;
|
879
|
+
if (endDate != null) {
|
880
|
+
_queryParams["end_date"] = endDate;
|
881
|
+
}
|
882
|
+
const _response = yield core.fetcher({
|
883
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/forced_vital_capacity/grouped`),
|
884
|
+
method: "GET",
|
885
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
886
|
+
contentType: "application/json",
|
887
|
+
queryParameters: _queryParams,
|
888
|
+
requestType: "json",
|
889
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
890
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
891
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
892
|
+
});
|
893
|
+
if (_response.ok) {
|
894
|
+
return serializers.GroupedForcedVitalCapacityResponse.parseOrThrow(_response.body, {
|
895
|
+
unrecognizedObjectKeys: "passthrough",
|
896
|
+
allowUnrecognizedUnionMembers: true,
|
897
|
+
allowUnrecognizedEnumValues: true,
|
898
|
+
breadcrumbsPrefix: ["response"],
|
899
|
+
});
|
900
|
+
}
|
901
|
+
if (_response.error.reason === "status-code") {
|
902
|
+
switch (_response.error.statusCode) {
|
903
|
+
case 422:
|
904
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
905
|
+
unrecognizedObjectKeys: "passthrough",
|
906
|
+
allowUnrecognizedUnionMembers: true,
|
907
|
+
allowUnrecognizedEnumValues: true,
|
908
|
+
breadcrumbsPrefix: ["response"],
|
909
|
+
}));
|
910
|
+
default:
|
911
|
+
throw new errors.VitalError({
|
912
|
+
statusCode: _response.error.statusCode,
|
913
|
+
body: _response.error.body,
|
914
|
+
});
|
915
|
+
}
|
916
|
+
}
|
917
|
+
switch (_response.error.reason) {
|
918
|
+
case "non-json":
|
919
|
+
throw new errors.VitalError({
|
920
|
+
statusCode: _response.error.statusCode,
|
921
|
+
body: _response.error.rawBody,
|
922
|
+
});
|
923
|
+
case "timeout":
|
924
|
+
throw new errors.VitalTimeoutError();
|
925
|
+
case "unknown":
|
926
|
+
throw new errors.VitalError({
|
927
|
+
message: _response.error.errorMessage,
|
928
|
+
});
|
929
|
+
}
|
930
|
+
});
|
931
|
+
}
|
932
|
+
/**
|
933
|
+
* @param {string} userId
|
934
|
+
* @param {Vital.VitalsForcedExpiratoryVolume1GroupedRequest} request
|
935
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
936
|
+
*
|
937
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
938
|
+
*
|
939
|
+
* @example
|
940
|
+
* await client.vitals.forcedExpiratoryVolume1Grouped("user_id", {
|
941
|
+
* startDate: "start_date"
|
942
|
+
* })
|
943
|
+
*/
|
944
|
+
forcedExpiratoryVolume1Grouped(userId, request, requestOptions) {
|
945
|
+
var _a;
|
946
|
+
return __awaiter(this, void 0, void 0, function* () {
|
947
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
948
|
+
const _queryParams = {};
|
949
|
+
if (cursor != null) {
|
950
|
+
_queryParams["cursor"] = cursor;
|
951
|
+
}
|
952
|
+
if (nextCursor != null) {
|
953
|
+
_queryParams["next_cursor"] = nextCursor;
|
954
|
+
}
|
955
|
+
if (provider != null) {
|
956
|
+
_queryParams["provider"] = provider;
|
957
|
+
}
|
958
|
+
_queryParams["start_date"] = startDate;
|
959
|
+
if (endDate != null) {
|
960
|
+
_queryParams["end_date"] = endDate;
|
961
|
+
}
|
962
|
+
const _response = yield core.fetcher({
|
963
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/forced_expiratory_volume_1/grouped`),
|
964
|
+
method: "GET",
|
965
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
966
|
+
contentType: "application/json",
|
967
|
+
queryParameters: _queryParams,
|
968
|
+
requestType: "json",
|
969
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
970
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
971
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
972
|
+
});
|
973
|
+
if (_response.ok) {
|
974
|
+
return serializers.GroupedForcedExpiratoryVolume1Response.parseOrThrow(_response.body, {
|
975
|
+
unrecognizedObjectKeys: "passthrough",
|
976
|
+
allowUnrecognizedUnionMembers: true,
|
977
|
+
allowUnrecognizedEnumValues: true,
|
978
|
+
breadcrumbsPrefix: ["response"],
|
979
|
+
});
|
980
|
+
}
|
981
|
+
if (_response.error.reason === "status-code") {
|
982
|
+
switch (_response.error.statusCode) {
|
983
|
+
case 422:
|
984
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
985
|
+
unrecognizedObjectKeys: "passthrough",
|
986
|
+
allowUnrecognizedUnionMembers: true,
|
987
|
+
allowUnrecognizedEnumValues: true,
|
988
|
+
breadcrumbsPrefix: ["response"],
|
989
|
+
}));
|
990
|
+
default:
|
991
|
+
throw new errors.VitalError({
|
992
|
+
statusCode: _response.error.statusCode,
|
993
|
+
body: _response.error.body,
|
994
|
+
});
|
995
|
+
}
|
996
|
+
}
|
997
|
+
switch (_response.error.reason) {
|
998
|
+
case "non-json":
|
999
|
+
throw new errors.VitalError({
|
1000
|
+
statusCode: _response.error.statusCode,
|
1001
|
+
body: _response.error.rawBody,
|
1002
|
+
});
|
1003
|
+
case "timeout":
|
1004
|
+
throw new errors.VitalTimeoutError();
|
1005
|
+
case "unknown":
|
1006
|
+
throw new errors.VitalError({
|
1007
|
+
message: _response.error.errorMessage,
|
1008
|
+
});
|
1009
|
+
}
|
1010
|
+
});
|
1011
|
+
}
|
1012
|
+
/**
|
1013
|
+
* @param {string} userId
|
1014
|
+
* @param {Vital.VitalsWheelchairPushGroupedRequest} request
|
1015
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
1016
|
+
*
|
1017
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
1018
|
+
*
|
1019
|
+
* @example
|
1020
|
+
* await client.vitals.wheelchairPushGrouped("user_id", {
|
1021
|
+
* startDate: "start_date"
|
1022
|
+
* })
|
1023
|
+
*/
|
1024
|
+
wheelchairPushGrouped(userId, request, requestOptions) {
|
1025
|
+
var _a;
|
1026
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1027
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
1028
|
+
const _queryParams = {};
|
1029
|
+
if (cursor != null) {
|
1030
|
+
_queryParams["cursor"] = cursor;
|
1031
|
+
}
|
1032
|
+
if (nextCursor != null) {
|
1033
|
+
_queryParams["next_cursor"] = nextCursor;
|
1034
|
+
}
|
1035
|
+
if (provider != null) {
|
1036
|
+
_queryParams["provider"] = provider;
|
1037
|
+
}
|
1038
|
+
_queryParams["start_date"] = startDate;
|
1039
|
+
if (endDate != null) {
|
1040
|
+
_queryParams["end_date"] = endDate;
|
1041
|
+
}
|
1042
|
+
const _response = yield core.fetcher({
|
1043
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/wheelchair_push/grouped`),
|
1044
|
+
method: "GET",
|
1045
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1046
|
+
contentType: "application/json",
|
1047
|
+
queryParameters: _queryParams,
|
1048
|
+
requestType: "json",
|
1049
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1050
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
1051
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
1052
|
+
});
|
1053
|
+
if (_response.ok) {
|
1054
|
+
return serializers.GroupedWheelchairPushResponse.parseOrThrow(_response.body, {
|
1055
|
+
unrecognizedObjectKeys: "passthrough",
|
1056
|
+
allowUnrecognizedUnionMembers: true,
|
1057
|
+
allowUnrecognizedEnumValues: true,
|
1058
|
+
breadcrumbsPrefix: ["response"],
|
1059
|
+
});
|
1060
|
+
}
|
1061
|
+
if (_response.error.reason === "status-code") {
|
1062
|
+
switch (_response.error.statusCode) {
|
1063
|
+
case 422:
|
1064
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
1065
|
+
unrecognizedObjectKeys: "passthrough",
|
1066
|
+
allowUnrecognizedUnionMembers: true,
|
1067
|
+
allowUnrecognizedEnumValues: true,
|
1068
|
+
breadcrumbsPrefix: ["response"],
|
1069
|
+
}));
|
1070
|
+
default:
|
1071
|
+
throw new errors.VitalError({
|
1072
|
+
statusCode: _response.error.statusCode,
|
1073
|
+
body: _response.error.body,
|
1074
|
+
});
|
1075
|
+
}
|
1076
|
+
}
|
1077
|
+
switch (_response.error.reason) {
|
1078
|
+
case "non-json":
|
1079
|
+
throw new errors.VitalError({
|
1080
|
+
statusCode: _response.error.statusCode,
|
1081
|
+
body: _response.error.rawBody,
|
1082
|
+
});
|
1083
|
+
case "timeout":
|
1084
|
+
throw new errors.VitalTimeoutError();
|
1085
|
+
case "unknown":
|
1086
|
+
throw new errors.VitalError({
|
1087
|
+
message: _response.error.errorMessage,
|
1088
|
+
});
|
1089
|
+
}
|
1090
|
+
});
|
1091
|
+
}
|
1092
|
+
/**
|
1093
|
+
* @param {string} userId
|
1094
|
+
* @param {Vital.VitalsSleepBreathingDisturbanceGroupedRequest} request
|
1095
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
1096
|
+
*
|
1097
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
1098
|
+
*
|
1099
|
+
* @example
|
1100
|
+
* await client.vitals.sleepBreathingDisturbanceGrouped("user_id", {
|
1101
|
+
* startDate: "start_date"
|
1102
|
+
* })
|
1103
|
+
*/
|
1104
|
+
sleepBreathingDisturbanceGrouped(userId, request, requestOptions) {
|
1105
|
+
var _a;
|
1106
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1107
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
1108
|
+
const _queryParams = {};
|
1109
|
+
if (cursor != null) {
|
1110
|
+
_queryParams["cursor"] = cursor;
|
1111
|
+
}
|
1112
|
+
if (nextCursor != null) {
|
1113
|
+
_queryParams["next_cursor"] = nextCursor;
|
1114
|
+
}
|
1115
|
+
if (provider != null) {
|
1116
|
+
_queryParams["provider"] = provider;
|
1117
|
+
}
|
1118
|
+
_queryParams["start_date"] = startDate;
|
1119
|
+
if (endDate != null) {
|
1120
|
+
_queryParams["end_date"] = endDate;
|
1121
|
+
}
|
1122
|
+
const _response = yield core.fetcher({
|
1123
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/sleep_breathing_disturbance/grouped`),
|
1124
|
+
method: "GET",
|
1125
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1126
|
+
contentType: "application/json",
|
1127
|
+
queryParameters: _queryParams,
|
1128
|
+
requestType: "json",
|
1129
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1130
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
1131
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
1132
|
+
});
|
1133
|
+
if (_response.ok) {
|
1134
|
+
return serializers.GroupedSleepBreathingDisturbanceResponse.parseOrThrow(_response.body, {
|
1135
|
+
unrecognizedObjectKeys: "passthrough",
|
1136
|
+
allowUnrecognizedUnionMembers: true,
|
1137
|
+
allowUnrecognizedEnumValues: true,
|
1138
|
+
breadcrumbsPrefix: ["response"],
|
1139
|
+
});
|
1140
|
+
}
|
1141
|
+
if (_response.error.reason === "status-code") {
|
1142
|
+
switch (_response.error.statusCode) {
|
1143
|
+
case 422:
|
1144
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
1145
|
+
unrecognizedObjectKeys: "passthrough",
|
1146
|
+
allowUnrecognizedUnionMembers: true,
|
1147
|
+
allowUnrecognizedEnumValues: true,
|
1148
|
+
breadcrumbsPrefix: ["response"],
|
1149
|
+
}));
|
1150
|
+
default:
|
1151
|
+
throw new errors.VitalError({
|
1152
|
+
statusCode: _response.error.statusCode,
|
1153
|
+
body: _response.error.body,
|
1154
|
+
});
|
1155
|
+
}
|
1156
|
+
}
|
1157
|
+
switch (_response.error.reason) {
|
1158
|
+
case "non-json":
|
1159
|
+
throw new errors.VitalError({
|
1160
|
+
statusCode: _response.error.statusCode,
|
1161
|
+
body: _response.error.rawBody,
|
1162
|
+
});
|
1163
|
+
case "timeout":
|
1164
|
+
throw new errors.VitalTimeoutError();
|
1165
|
+
case "unknown":
|
1166
|
+
throw new errors.VitalError({
|
1167
|
+
message: _response.error.errorMessage,
|
1168
|
+
});
|
1169
|
+
}
|
1170
|
+
});
|
1171
|
+
}
|
1172
|
+
/**
|
1173
|
+
* @param {string} userId
|
1174
|
+
* @param {Vital.VitalsSleepApneaAlertGroupedRequest} request
|
1175
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
1176
|
+
*
|
1177
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
1178
|
+
*
|
1179
|
+
* @example
|
1180
|
+
* await client.vitals.sleepApneaAlertGrouped("user_id", {
|
1181
|
+
* startDate: "start_date"
|
1182
|
+
* })
|
1183
|
+
*/
|
1184
|
+
sleepApneaAlertGrouped(userId, request, requestOptions) {
|
1185
|
+
var _a;
|
1186
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1187
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
1188
|
+
const _queryParams = {};
|
1189
|
+
if (cursor != null) {
|
1190
|
+
_queryParams["cursor"] = cursor;
|
1191
|
+
}
|
1192
|
+
if (nextCursor != null) {
|
1193
|
+
_queryParams["next_cursor"] = nextCursor;
|
1194
|
+
}
|
1195
|
+
if (provider != null) {
|
1196
|
+
_queryParams["provider"] = provider;
|
1197
|
+
}
|
1198
|
+
_queryParams["start_date"] = startDate;
|
1199
|
+
if (endDate != null) {
|
1200
|
+
_queryParams["end_date"] = endDate;
|
1201
|
+
}
|
1202
|
+
const _response = yield core.fetcher({
|
1203
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/sleep_apnea_alert/grouped`),
|
1204
|
+
method: "GET",
|
1205
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1206
|
+
contentType: "application/json",
|
1207
|
+
queryParameters: _queryParams,
|
1208
|
+
requestType: "json",
|
1209
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1210
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
1211
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
1212
|
+
});
|
1213
|
+
if (_response.ok) {
|
1214
|
+
return serializers.GroupedSleepApneaAlertResponse.parseOrThrow(_response.body, {
|
1215
|
+
unrecognizedObjectKeys: "passthrough",
|
1216
|
+
allowUnrecognizedUnionMembers: true,
|
1217
|
+
allowUnrecognizedEnumValues: true,
|
1218
|
+
breadcrumbsPrefix: ["response"],
|
1219
|
+
});
|
1220
|
+
}
|
1221
|
+
if (_response.error.reason === "status-code") {
|
1222
|
+
switch (_response.error.statusCode) {
|
1223
|
+
case 422:
|
1224
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
1225
|
+
unrecognizedObjectKeys: "passthrough",
|
1226
|
+
allowUnrecognizedUnionMembers: true,
|
1227
|
+
allowUnrecognizedEnumValues: true,
|
1228
|
+
breadcrumbsPrefix: ["response"],
|
1229
|
+
}));
|
1230
|
+
default:
|
1231
|
+
throw new errors.VitalError({
|
1232
|
+
statusCode: _response.error.statusCode,
|
1233
|
+
body: _response.error.body,
|
1234
|
+
});
|
1235
|
+
}
|
1236
|
+
}
|
1237
|
+
switch (_response.error.reason) {
|
1238
|
+
case "non-json":
|
1239
|
+
throw new errors.VitalError({
|
1240
|
+
statusCode: _response.error.statusCode,
|
1241
|
+
body: _response.error.rawBody,
|
1242
|
+
});
|
1243
|
+
case "timeout":
|
1244
|
+
throw new errors.VitalTimeoutError();
|
1245
|
+
case "unknown":
|
1246
|
+
throw new errors.VitalError({
|
1247
|
+
message: _response.error.errorMessage,
|
1248
|
+
});
|
1249
|
+
}
|
1250
|
+
});
|
1251
|
+
}
|
1252
|
+
/**
|
1253
|
+
* @param {string} userId
|
1254
|
+
* @param {Vital.VitalsStandDurationGroupedRequest} request
|
1255
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
1256
|
+
*
|
1257
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
1258
|
+
*
|
1259
|
+
* @example
|
1260
|
+
* await client.vitals.standDurationGrouped("user_id", {
|
1261
|
+
* startDate: "start_date"
|
1262
|
+
* })
|
1263
|
+
*/
|
1264
|
+
standDurationGrouped(userId, request, requestOptions) {
|
1265
|
+
var _a;
|
1266
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1267
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
1268
|
+
const _queryParams = {};
|
1269
|
+
if (cursor != null) {
|
1270
|
+
_queryParams["cursor"] = cursor;
|
1271
|
+
}
|
1272
|
+
if (nextCursor != null) {
|
1273
|
+
_queryParams["next_cursor"] = nextCursor;
|
1274
|
+
}
|
1275
|
+
if (provider != null) {
|
1276
|
+
_queryParams["provider"] = provider;
|
1277
|
+
}
|
1278
|
+
_queryParams["start_date"] = startDate;
|
1279
|
+
if (endDate != null) {
|
1280
|
+
_queryParams["end_date"] = endDate;
|
1281
|
+
}
|
1282
|
+
const _response = yield core.fetcher({
|
1283
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stand_duration/grouped`),
|
1284
|
+
method: "GET",
|
1285
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1286
|
+
contentType: "application/json",
|
1287
|
+
queryParameters: _queryParams,
|
1288
|
+
requestType: "json",
|
1289
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1290
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
1291
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
1292
|
+
});
|
1293
|
+
if (_response.ok) {
|
1294
|
+
return serializers.GroupedStandDurationResponse.parseOrThrow(_response.body, {
|
1295
|
+
unrecognizedObjectKeys: "passthrough",
|
1296
|
+
allowUnrecognizedUnionMembers: true,
|
1297
|
+
allowUnrecognizedEnumValues: true,
|
1298
|
+
breadcrumbsPrefix: ["response"],
|
1299
|
+
});
|
1300
|
+
}
|
1301
|
+
if (_response.error.reason === "status-code") {
|
1302
|
+
switch (_response.error.statusCode) {
|
1303
|
+
case 422:
|
1304
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
1305
|
+
unrecognizedObjectKeys: "passthrough",
|
1306
|
+
allowUnrecognizedUnionMembers: true,
|
1307
|
+
allowUnrecognizedEnumValues: true,
|
1308
|
+
breadcrumbsPrefix: ["response"],
|
1309
|
+
}));
|
1310
|
+
default:
|
1311
|
+
throw new errors.VitalError({
|
1312
|
+
statusCode: _response.error.statusCode,
|
1313
|
+
body: _response.error.body,
|
1314
|
+
});
|
1315
|
+
}
|
1316
|
+
}
|
1317
|
+
switch (_response.error.reason) {
|
1318
|
+
case "non-json":
|
1319
|
+
throw new errors.VitalError({
|
1320
|
+
statusCode: _response.error.statusCode,
|
1321
|
+
body: _response.error.rawBody,
|
1322
|
+
});
|
1323
|
+
case "timeout":
|
1324
|
+
throw new errors.VitalTimeoutError();
|
1325
|
+
case "unknown":
|
1326
|
+
throw new errors.VitalError({
|
1327
|
+
message: _response.error.errorMessage,
|
1328
|
+
});
|
1329
|
+
}
|
1330
|
+
});
|
1331
|
+
}
|
1332
|
+
/**
|
1333
|
+
* @param {string} userId
|
1334
|
+
* @param {Vital.VitalsStandHourGroupedRequest} request
|
1335
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
1336
|
+
*
|
1337
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
1338
|
+
*
|
1339
|
+
* @example
|
1340
|
+
* await client.vitals.standHourGrouped("user_id", {
|
1341
|
+
* startDate: "start_date"
|
1342
|
+
* })
|
1343
|
+
*/
|
1344
|
+
standHourGrouped(userId, request, requestOptions) {
|
1345
|
+
var _a;
|
1346
|
+
return __awaiter(this, void 0, void 0, function* () {
|
1347
|
+
const { cursor, nextCursor, provider, startDate, endDate } = request;
|
1348
|
+
const _queryParams = {};
|
1349
|
+
if (cursor != null) {
|
1350
|
+
_queryParams["cursor"] = cursor;
|
1351
|
+
}
|
1352
|
+
if (nextCursor != null) {
|
1353
|
+
_queryParams["next_cursor"] = nextCursor;
|
1354
|
+
}
|
1355
|
+
if (provider != null) {
|
1356
|
+
_queryParams["provider"] = provider;
|
1357
|
+
}
|
1358
|
+
_queryParams["start_date"] = startDate;
|
1359
|
+
if (endDate != null) {
|
1360
|
+
_queryParams["end_date"] = endDate;
|
1361
|
+
}
|
1362
|
+
const _response = yield core.fetcher({
|
1363
|
+
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stand_hour/grouped`),
|
1364
|
+
method: "GET",
|
1365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1366
|
+
contentType: "application/json",
|
1367
|
+
queryParameters: _queryParams,
|
1368
|
+
requestType: "json",
|
1369
|
+
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
1370
|
+
maxRetries: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries,
|
1371
|
+
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
1372
|
+
});
|
1373
|
+
if (_response.ok) {
|
1374
|
+
return serializers.GroupedStandHourResponse.parseOrThrow(_response.body, {
|
1375
|
+
unrecognizedObjectKeys: "passthrough",
|
1376
|
+
allowUnrecognizedUnionMembers: true,
|
1377
|
+
allowUnrecognizedEnumValues: true,
|
1378
|
+
breadcrumbsPrefix: ["response"],
|
1379
|
+
});
|
1380
|
+
}
|
1381
|
+
if (_response.error.reason === "status-code") {
|
1382
|
+
switch (_response.error.statusCode) {
|
1383
|
+
case 422:
|
1384
|
+
throw new Vital.UnprocessableEntityError(serializers.HttpValidationError.parseOrThrow(_response.error.body, {
|
1385
|
+
unrecognizedObjectKeys: "passthrough",
|
1386
|
+
allowUnrecognizedUnionMembers: true,
|
1387
|
+
allowUnrecognizedEnumValues: true,
|
1388
|
+
breadcrumbsPrefix: ["response"],
|
1389
|
+
}));
|
1390
|
+
default:
|
1391
|
+
throw new errors.VitalError({
|
1392
|
+
statusCode: _response.error.statusCode,
|
1393
|
+
body: _response.error.body,
|
1394
|
+
});
|
1395
|
+
}
|
1396
|
+
}
|
1397
|
+
switch (_response.error.reason) {
|
1398
|
+
case "non-json":
|
1399
|
+
throw new errors.VitalError({
|
1400
|
+
statusCode: _response.error.statusCode,
|
1401
|
+
body: _response.error.rawBody,
|
1402
|
+
});
|
1403
|
+
case "timeout":
|
1404
|
+
throw new errors.VitalTimeoutError();
|
1405
|
+
case "unknown":
|
1406
|
+
throw new errors.VitalError({
|
1407
|
+
message: _response.error.errorMessage,
|
1408
|
+
});
|
1409
|
+
}
|
1410
|
+
});
|
1411
|
+
}
|
52
1412
|
/**
|
53
1413
|
* @param {string} userId
|
54
1414
|
* @param {Vital.VitalsHeartRateAlertGroupedRequest} request
|
@@ -82,7 +1442,7 @@ class Vitals {
|
|
82
1442
|
const _response = yield core.fetcher({
|
83
1443
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heart_rate_alert/grouped`),
|
84
1444
|
method: "GET",
|
85
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1445
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
86
1446
|
contentType: "application/json",
|
87
1447
|
queryParameters: _queryParams,
|
88
1448
|
requestType: "json",
|
@@ -162,7 +1522,7 @@ class Vitals {
|
|
162
1522
|
const _response = yield core.fetcher({
|
163
1523
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/afib_burden/grouped`),
|
164
1524
|
method: "GET",
|
165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1525
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
166
1526
|
contentType: "application/json",
|
167
1527
|
queryParameters: _queryParams,
|
168
1528
|
requestType: "json",
|
@@ -242,7 +1602,7 @@ class Vitals {
|
|
242
1602
|
const _response = yield core.fetcher({
|
243
1603
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/workout_duration/grouped`),
|
244
1604
|
method: "GET",
|
245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1605
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
246
1606
|
contentType: "application/json",
|
247
1607
|
queryParameters: _queryParams,
|
248
1608
|
requestType: "json",
|
@@ -322,7 +1682,7 @@ class Vitals {
|
|
322
1682
|
const _response = yield core.fetcher({
|
323
1683
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max/grouped`),
|
324
1684
|
method: "GET",
|
325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1685
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
326
1686
|
contentType: "application/json",
|
327
1687
|
queryParameters: _queryParams,
|
328
1688
|
requestType: "json",
|
@@ -402,7 +1762,7 @@ class Vitals {
|
|
402
1762
|
const _response = yield core.fetcher({
|
403
1763
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level/grouped`),
|
404
1764
|
method: "GET",
|
405
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1765
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
406
1766
|
contentType: "application/json",
|
407
1767
|
queryParameters: _queryParams,
|
408
1768
|
requestType: "json",
|
@@ -482,7 +1842,7 @@ class Vitals {
|
|
482
1842
|
const _response = yield core.fetcher({
|
483
1843
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes/grouped`),
|
484
1844
|
method: "GET",
|
485
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1845
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
486
1846
|
contentType: "application/json",
|
487
1847
|
queryParameters: _queryParams,
|
488
1848
|
requestType: "json",
|
@@ -562,7 +1922,7 @@ class Vitals {
|
|
562
1922
|
const _response = yield core.fetcher({
|
563
1923
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine/grouped`),
|
564
1924
|
method: "GET",
|
565
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1925
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
566
1926
|
contentType: "application/json",
|
567
1927
|
queryParameters: _queryParams,
|
568
1928
|
requestType: "json",
|
@@ -642,7 +2002,7 @@ class Vitals {
|
|
642
2002
|
const _response = yield core.fetcher({
|
643
2003
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water/grouped`),
|
644
2004
|
method: "GET",
|
645
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2005
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
646
2006
|
contentType: "application/json",
|
647
2007
|
queryParameters: _queryParams,
|
648
2008
|
requestType: "json",
|
@@ -722,7 +2082,7 @@ class Vitals {
|
|
722
2082
|
const _response = yield core.fetcher({
|
723
2083
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps/grouped`),
|
724
2084
|
method: "GET",
|
725
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2085
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
726
2086
|
contentType: "application/json",
|
727
2087
|
queryParameters: _queryParams,
|
728
2088
|
requestType: "json",
|
@@ -802,7 +2162,7 @@ class Vitals {
|
|
802
2162
|
const _response = yield core.fetcher({
|
803
2163
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed/grouped`),
|
804
2164
|
method: "GET",
|
805
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2165
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
806
2166
|
contentType: "application/json",
|
807
2167
|
queryParameters: _queryParams,
|
808
2168
|
requestType: "json",
|
@@ -882,7 +2242,7 @@ class Vitals {
|
|
882
2242
|
const _response = yield core.fetcher({
|
883
2243
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance/grouped`),
|
884
2244
|
method: "GET",
|
885
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2245
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
886
2246
|
contentType: "application/json",
|
887
2247
|
queryParameters: _queryParams,
|
888
2248
|
requestType: "json",
|
@@ -962,7 +2322,7 @@ class Vitals {
|
|
962
2322
|
const _response = yield core.fetcher({
|
963
2323
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal/grouped`),
|
964
2324
|
method: "GET",
|
965
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
966
2326
|
contentType: "application/json",
|
967
2327
|
queryParameters: _queryParams,
|
968
2328
|
requestType: "json",
|
@@ -1042,7 +2402,7 @@ class Vitals {
|
|
1042
2402
|
const _response = yield core.fetcher({
|
1043
2403
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active/grouped`),
|
1044
2404
|
method: "GET",
|
1045
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2405
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1046
2406
|
contentType: "application/json",
|
1047
2407
|
queryParameters: _queryParams,
|
1048
2408
|
requestType: "json",
|
@@ -1122,7 +2482,7 @@ class Vitals {
|
|
1122
2482
|
const _response = yield core.fetcher({
|
1123
2483
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate/grouped`),
|
1124
2484
|
method: "GET",
|
1125
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2485
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1126
2486
|
contentType: "application/json",
|
1127
2487
|
queryParameters: _queryParams,
|
1128
2488
|
requestType: "json",
|
@@ -1202,7 +2562,7 @@ class Vitals {
|
|
1202
2562
|
const _response = yield core.fetcher({
|
1203
2563
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/note/grouped`),
|
1204
2564
|
method: "GET",
|
1205
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1206
2566
|
contentType: "application/json",
|
1207
2567
|
queryParameters: _queryParams,
|
1208
2568
|
requestType: "json",
|
@@ -1282,7 +2642,7 @@ class Vitals {
|
|
1282
2642
|
const _response = yield core.fetcher({
|
1283
2643
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/insulin_injection/grouped`),
|
1284
2644
|
method: "GET",
|
1285
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2645
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1286
2646
|
contentType: "application/json",
|
1287
2647
|
queryParameters: _queryParams,
|
1288
2648
|
requestType: "json",
|
@@ -1362,7 +2722,7 @@ class Vitals {
|
|
1362
2722
|
const _response = yield core.fetcher({
|
1363
2723
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige/grouped`),
|
1364
2724
|
method: "GET",
|
1365
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1366
2726
|
contentType: "application/json",
|
1367
2727
|
queryParameters: _queryParams,
|
1368
2728
|
requestType: "json",
|
@@ -1442,7 +2802,7 @@ class Vitals {
|
|
1442
2802
|
const _response = yield core.fetcher({
|
1443
2803
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg/grouped`),
|
1444
2804
|
method: "GET",
|
1445
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2805
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1446
2806
|
contentType: "application/json",
|
1447
2807
|
queryParameters: _queryParams,
|
1448
2808
|
requestType: "json",
|
@@ -1522,7 +2882,7 @@ class Vitals {
|
|
1522
2882
|
const _response = yield core.fetcher({
|
1523
2883
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram/grouped`),
|
1524
2884
|
method: "GET",
|
1525
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2885
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1526
2886
|
contentType: "application/json",
|
1527
2887
|
queryParameters: _queryParams,
|
1528
2888
|
requestType: "json",
|
@@ -1602,7 +2962,7 @@ class Vitals {
|
|
1602
2962
|
const _response = yield core.fetcher({
|
1603
2963
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv/grouped`),
|
1604
2964
|
method: "GET",
|
1605
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
2965
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1606
2966
|
contentType: "application/json",
|
1607
2967
|
queryParameters: _queryParams,
|
1608
2968
|
requestType: "json",
|
@@ -1682,7 +3042,7 @@ class Vitals {
|
|
1682
3042
|
const _response = yield core.fetcher({
|
1683
3043
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate/grouped`),
|
1684
3044
|
method: "GET",
|
1685
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3045
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1686
3046
|
contentType: "application/json",
|
1687
3047
|
queryParameters: _queryParams,
|
1688
3048
|
requestType: "json",
|
@@ -1762,7 +3122,7 @@ class Vitals {
|
|
1762
3122
|
const _response = yield core.fetcher({
|
1763
3123
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose/grouped`),
|
1764
3124
|
method: "GET",
|
1765
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3125
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1766
3126
|
contentType: "application/json",
|
1767
3127
|
queryParameters: _queryParams,
|
1768
3128
|
requestType: "json",
|
@@ -1842,7 +3202,7 @@ class Vitals {
|
|
1842
3202
|
const _response = yield core.fetcher({
|
1843
3203
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/grouped`),
|
1844
3204
|
method: "GET",
|
1845
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3205
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1846
3206
|
contentType: "application/json",
|
1847
3207
|
queryParameters: _queryParams,
|
1848
3208
|
requestType: "json",
|
@@ -1922,7 +3282,7 @@ class Vitals {
|
|
1922
3282
|
const _response = yield core.fetcher({
|
1923
3283
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/carbohydrates/grouped`),
|
1924
3284
|
method: "GET",
|
1925
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3285
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1926
3286
|
contentType: "application/json",
|
1927
3287
|
queryParameters: _queryParams,
|
1928
3288
|
requestType: "json",
|
@@ -2002,7 +3362,7 @@ class Vitals {
|
|
2002
3362
|
const _response = yield core.fetcher({
|
2003
3363
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature_delta/grouped`),
|
2004
3364
|
method: "GET",
|
2005
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2006
3366
|
contentType: "application/json",
|
2007
3367
|
queryParameters: _queryParams,
|
2008
3368
|
requestType: "json",
|
@@ -2082,7 +3442,7 @@ class Vitals {
|
|
2082
3442
|
const _response = yield core.fetcher({
|
2083
3443
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_temperature/grouped`),
|
2084
3444
|
method: "GET",
|
2085
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3445
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2086
3446
|
contentType: "application/json",
|
2087
3447
|
queryParameters: _queryParams,
|
2088
3448
|
requestType: "json",
|
@@ -2162,7 +3522,7 @@ class Vitals {
|
|
2162
3522
|
const _response = yield core.fetcher({
|
2163
3523
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight/grouped`),
|
2164
3524
|
method: "GET",
|
2165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3525
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2166
3526
|
contentType: "application/json",
|
2167
3527
|
queryParameters: _queryParams,
|
2168
3528
|
requestType: "json",
|
@@ -2242,7 +3602,7 @@ class Vitals {
|
|
2242
3602
|
const _response = yield core.fetcher({
|
2243
3603
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat/grouped`),
|
2244
3604
|
method: "GET",
|
2245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3605
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2246
3606
|
contentType: "application/json",
|
2247
3607
|
queryParameters: _queryParams,
|
2248
3608
|
requestType: "json",
|
@@ -2322,7 +3682,7 @@ class Vitals {
|
|
2322
3682
|
const _response = yield core.fetcher({
|
2323
3683
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen/grouped`),
|
2324
3684
|
method: "GET",
|
2325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3685
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2326
3686
|
contentType: "application/json",
|
2327
3687
|
queryParameters: _queryParams,
|
2328
3688
|
requestType: "json",
|
@@ -2402,7 +3762,7 @@ class Vitals {
|
|
2402
3762
|
const _response = yield core.fetcher({
|
2403
3763
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage/grouped`),
|
2404
3764
|
method: "GET",
|
2405
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3765
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2406
3766
|
contentType: "application/json",
|
2407
3767
|
queryParameters: _queryParams,
|
2408
3768
|
requestType: "json",
|
@@ -2482,7 +3842,7 @@ class Vitals {
|
|
2482
3842
|
const _response = yield core.fetcher({
|
2483
3843
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure/grouped`),
|
2484
3844
|
method: "GET",
|
2485
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3845
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2486
3846
|
contentType: "application/json",
|
2487
3847
|
queryParameters: _queryParams,
|
2488
3848
|
requestType: "json",
|
@@ -2556,7 +3916,7 @@ class Vitals {
|
|
2556
3916
|
const _response = yield core.fetcher({
|
2557
3917
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/vo2_max`),
|
2558
3918
|
method: "GET",
|
2559
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3919
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2560
3920
|
contentType: "application/json",
|
2561
3921
|
queryParameters: _queryParams,
|
2562
3922
|
requestType: "json",
|
@@ -2630,7 +3990,7 @@ class Vitals {
|
|
2630
3990
|
const _response = yield core.fetcher({
|
2631
3991
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/stress_level`),
|
2632
3992
|
method: "GET",
|
2633
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3993
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2634
3994
|
contentType: "application/json",
|
2635
3995
|
queryParameters: _queryParams,
|
2636
3996
|
requestType: "json",
|
@@ -2704,7 +4064,7 @@ class Vitals {
|
|
2704
4064
|
const _response = yield core.fetcher({
|
2705
4065
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/mindfulness_minutes`),
|
2706
4066
|
method: "GET",
|
2707
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4067
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2708
4068
|
contentType: "application/json",
|
2709
4069
|
queryParameters: _queryParams,
|
2710
4070
|
requestType: "json",
|
@@ -2778,7 +4138,7 @@ class Vitals {
|
|
2778
4138
|
const _response = yield core.fetcher({
|
2779
4139
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/caffeine`),
|
2780
4140
|
method: "GET",
|
2781
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4141
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2782
4142
|
contentType: "application/json",
|
2783
4143
|
queryParameters: _queryParams,
|
2784
4144
|
requestType: "json",
|
@@ -2852,7 +4212,7 @@ class Vitals {
|
|
2852
4212
|
const _response = yield core.fetcher({
|
2853
4213
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/water`),
|
2854
4214
|
method: "GET",
|
2855
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4215
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2856
4216
|
contentType: "application/json",
|
2857
4217
|
queryParameters: _queryParams,
|
2858
4218
|
requestType: "json",
|
@@ -2926,7 +4286,7 @@ class Vitals {
|
|
2926
4286
|
const _response = yield core.fetcher({
|
2927
4287
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/steps`),
|
2928
4288
|
method: "GET",
|
2929
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4289
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2930
4290
|
contentType: "application/json",
|
2931
4291
|
queryParameters: _queryParams,
|
2932
4292
|
requestType: "json",
|
@@ -3000,7 +4360,7 @@ class Vitals {
|
|
3000
4360
|
const _response = yield core.fetcher({
|
3001
4361
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/floors_climbed`),
|
3002
4362
|
method: "GET",
|
3003
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4363
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3004
4364
|
contentType: "application/json",
|
3005
4365
|
queryParameters: _queryParams,
|
3006
4366
|
requestType: "json",
|
@@ -3074,7 +4434,7 @@ class Vitals {
|
|
3074
4434
|
const _response = yield core.fetcher({
|
3075
4435
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/distance`),
|
3076
4436
|
method: "GET",
|
3077
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4437
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3078
4438
|
contentType: "application/json",
|
3079
4439
|
queryParameters: _queryParams,
|
3080
4440
|
requestType: "json",
|
@@ -3148,7 +4508,7 @@ class Vitals {
|
|
3148
4508
|
const _response = yield core.fetcher({
|
3149
4509
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_basal`),
|
3150
4510
|
method: "GET",
|
3151
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4511
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3152
4512
|
contentType: "application/json",
|
3153
4513
|
queryParameters: _queryParams,
|
3154
4514
|
requestType: "json",
|
@@ -3222,7 +4582,7 @@ class Vitals {
|
|
3222
4582
|
const _response = yield core.fetcher({
|
3223
4583
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/calories_active`),
|
3224
4584
|
method: "GET",
|
3225
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4585
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3226
4586
|
contentType: "application/json",
|
3227
4587
|
queryParameters: _queryParams,
|
3228
4588
|
requestType: "json",
|
@@ -3296,7 +4656,7 @@ class Vitals {
|
|
3296
4656
|
const _response = yield core.fetcher({
|
3297
4657
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/respiratory_rate`),
|
3298
4658
|
method: "GET",
|
3299
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4659
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3300
4660
|
contentType: "application/json",
|
3301
4661
|
queryParameters: _queryParams,
|
3302
4662
|
requestType: "json",
|
@@ -3370,7 +4730,7 @@ class Vitals {
|
|
3370
4730
|
const _response = yield core.fetcher({
|
3371
4731
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/ige`),
|
3372
4732
|
method: "GET",
|
3373
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4733
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3374
4734
|
contentType: "application/json",
|
3375
4735
|
queryParameters: _queryParams,
|
3376
4736
|
requestType: "json",
|
@@ -3444,7 +4804,7 @@ class Vitals {
|
|
3444
4804
|
const _response = yield core.fetcher({
|
3445
4805
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/igg`),
|
3446
4806
|
method: "GET",
|
3447
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4807
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3448
4808
|
contentType: "application/json",
|
3449
4809
|
queryParameters: _queryParams,
|
3450
4810
|
requestType: "json",
|
@@ -3518,7 +4878,7 @@ class Vitals {
|
|
3518
4878
|
const _response = yield core.fetcher({
|
3519
4879
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hypnogram`),
|
3520
4880
|
method: "GET",
|
3521
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4881
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3522
4882
|
contentType: "application/json",
|
3523
4883
|
queryParameters: _queryParams,
|
3524
4884
|
requestType: "json",
|
@@ -3592,7 +4952,7 @@ class Vitals {
|
|
3592
4952
|
const _response = yield core.fetcher({
|
3593
4953
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/hrv`),
|
3594
4954
|
method: "GET",
|
3595
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4955
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3596
4956
|
contentType: "application/json",
|
3597
4957
|
queryParameters: _queryParams,
|
3598
4958
|
requestType: "json",
|
@@ -3666,7 +5026,7 @@ class Vitals {
|
|
3666
5026
|
const _response = yield core.fetcher({
|
3667
5027
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/heartrate`),
|
3668
5028
|
method: "GET",
|
3669
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5029
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3670
5030
|
contentType: "application/json",
|
3671
5031
|
queryParameters: _queryParams,
|
3672
5032
|
requestType: "json",
|
@@ -3740,7 +5100,7 @@ class Vitals {
|
|
3740
5100
|
const _response = yield core.fetcher({
|
3741
5101
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/glucose`),
|
3742
5102
|
method: "GET",
|
3743
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5103
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3744
5104
|
contentType: "application/json",
|
3745
5105
|
queryParameters: _queryParams,
|
3746
5106
|
requestType: "json",
|
@@ -3814,7 +5174,7 @@ class Vitals {
|
|
3814
5174
|
const _response = yield core.fetcher({
|
3815
5175
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/triglycerides`),
|
3816
5176
|
method: "GET",
|
3817
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5177
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3818
5178
|
contentType: "application/json",
|
3819
5179
|
queryParameters: _queryParams,
|
3820
5180
|
requestType: "json",
|
@@ -3888,7 +5248,7 @@ class Vitals {
|
|
3888
5248
|
const _response = yield core.fetcher({
|
3889
5249
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/total`),
|
3890
5250
|
method: "GET",
|
3891
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5251
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3892
5252
|
contentType: "application/json",
|
3893
5253
|
queryParameters: _queryParams,
|
3894
5254
|
requestType: "json",
|
@@ -3962,7 +5322,7 @@ class Vitals {
|
|
3962
5322
|
const _response = yield core.fetcher({
|
3963
5323
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/ldl`),
|
3964
5324
|
method: "GET",
|
3965
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3966
5326
|
contentType: "application/json",
|
3967
5327
|
queryParameters: _queryParams,
|
3968
5328
|
requestType: "json",
|
@@ -4036,7 +5396,7 @@ class Vitals {
|
|
4036
5396
|
const _response = yield core.fetcher({
|
4037
5397
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol/hdl`),
|
4038
5398
|
method: "GET",
|
4039
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5399
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4040
5400
|
contentType: "application/json",
|
4041
5401
|
queryParameters: _queryParams,
|
4042
5402
|
requestType: "json",
|
@@ -4110,7 +5470,7 @@ class Vitals {
|
|
4110
5470
|
const _response = yield core.fetcher({
|
4111
5471
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/cholesterol`),
|
4112
5472
|
method: "GET",
|
4113
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5473
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4114
5474
|
contentType: "application/json",
|
4115
5475
|
queryParameters: _queryParams,
|
4116
5476
|
requestType: "json",
|
@@ -4184,7 +5544,7 @@ class Vitals {
|
|
4184
5544
|
const _response = yield core.fetcher({
|
4185
5545
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_weight`),
|
4186
5546
|
method: "GET",
|
4187
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5547
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4188
5548
|
contentType: "application/json",
|
4189
5549
|
queryParameters: _queryParams,
|
4190
5550
|
requestType: "json",
|
@@ -4258,7 +5618,7 @@ class Vitals {
|
|
4258
5618
|
const _response = yield core.fetcher({
|
4259
5619
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/body_fat`),
|
4260
5620
|
method: "GET",
|
4261
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5621
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4262
5622
|
contentType: "application/json",
|
4263
5623
|
queryParameters: _queryParams,
|
4264
5624
|
requestType: "json",
|
@@ -4332,7 +5692,7 @@ class Vitals {
|
|
4332
5692
|
const _response = yield core.fetcher({
|
4333
5693
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_oxygen`),
|
4334
5694
|
method: "GET",
|
4335
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5695
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4336
5696
|
contentType: "application/json",
|
4337
5697
|
queryParameters: _queryParams,
|
4338
5698
|
requestType: "json",
|
@@ -4406,7 +5766,7 @@ class Vitals {
|
|
4406
5766
|
const _response = yield core.fetcher({
|
4407
5767
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/electrocardiogram_voltage`),
|
4408
5768
|
method: "GET",
|
4409
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5769
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4410
5770
|
contentType: "application/json",
|
4411
5771
|
queryParameters: _queryParams,
|
4412
5772
|
requestType: "json",
|
@@ -4480,7 +5840,7 @@ class Vitals {
|
|
4480
5840
|
const _response = yield core.fetcher({
|
4481
5841
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/${encodeURIComponent(userId)}/blood_pressure`),
|
4482
5842
|
method: "GET",
|
4483
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5843
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.229", "User-Agent": "@tryvital/vital-node/3.1.229", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4484
5844
|
contentType: "application/json",
|
4485
5845
|
queryParameters: _queryParams,
|
4486
5846
|
requestType: "json",
|