@tryvital/vital-node 3.1.253 → 3.1.255
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.d.ts +12 -0
- package/api/resources/aggregate/client/Client.js +74 -2
- package/api/resources/aggregate/client/requests/AggregateGetTaskHistoryForContinuousQueryRequest.d.ts +11 -0
- package/api/resources/aggregate/client/requests/AggregateGetTaskHistoryForContinuousQueryRequest.js +5 -0
- package/api/resources/aggregate/client/requests/index.d.ts +1 -0
- 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.js +44 -41
- package/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +4 -0
- package/api/resources/link/client/Client.js +19 -19
- 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 +39 -0
- package/api/resources/vitals/client/Client.js +315 -75
- package/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/index.d.ts +3 -0
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +11 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +5 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +10 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +20 -0
- package/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +5 -0
- package/api/types/ClientFacingProviderWithStatus.d.ts +9 -0
- package/api/types/ClientFacingResource.d.ts +4 -1
- package/api/types/ClientFacingResource.js +3 -0
- package/api/types/ClientFacingWorkoutDistanceChanged.d.ts +11 -0
- package/api/types/ClientFacingWorkoutDistanceChanged.js +5 -0
- package/api/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingWorkoutDistanceChangedEventType.js +10 -0
- package/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingWorkoutDistanceSample.d.ts +20 -0
- package/api/types/ClientFacingWorkoutDistanceSample.js +5 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +11 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeChanged.js +5 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +8 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +10 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +11 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +5 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +20 -0
- package/api/types/ClientFacingWorkoutSwimmingStrokeSample.js +5 -0
- package/api/types/ContinuousQueryTaskHistoryEntry.d.ts +14 -0
- package/api/types/ContinuousQueryTaskHistoryEntry.js +5 -0
- package/api/types/ContinuousQueryTaskHistoryResponse.d.ts +8 -0
- package/api/types/ContinuousQueryTaskHistoryResponse.js +5 -0
- package/api/types/ContinuousQueryTaskStatus.d.ts +13 -0
- package/api/types/ContinuousQueryTaskStatus.js +12 -0
- package/api/types/GroupedHeartRateRecoveryOneMinute.d.ts +8 -0
- package/api/types/GroupedHeartRateRecoveryOneMinute.js +5 -0
- package/api/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +12 -0
- package/api/types/GroupedHeartRateRecoveryOneMinuteResponse.js +5 -0
- package/api/types/GroupedWorkoutDistance.d.ts +8 -0
- package/api/types/GroupedWorkoutDistance.js +5 -0
- package/api/types/GroupedWorkoutDistanceResponse.d.ts +12 -0
- package/api/types/GroupedWorkoutDistanceResponse.js +5 -0
- package/api/types/GroupedWorkoutSwimmingStroke.d.ts +8 -0
- package/api/types/GroupedWorkoutSwimmingStroke.js +5 -0
- package/api/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +12 -0
- package/api/types/GroupedWorkoutSwimmingStrokeResponse.js +5 -0
- package/api/types/HistoricalPullNonRetriableErrorDetails.d.ts +12 -0
- package/api/types/HistoricalPullNonRetriableErrorDetails.js +11 -0
- package/api/types/HistoricalPullRetriableErrorDetails.d.ts +13 -0
- package/api/types/HistoricalPullRetriableErrorDetails.js +12 -0
- package/api/types/ProviderConnectionCreated.d.ts +9 -0
- package/api/types/SingleHistoricalPullStatistics.d.ts +1 -0
- package/api/types/SingleHistoricalPullStatisticsErrorDetails.d.ts +5 -0
- package/api/types/SingleHistoricalPullStatisticsErrorDetails.js +5 -0
- package/api/types/TimeseriesResource.d.ts +4 -1
- package/api/types/TimeseriesResource.js +3 -0
- package/api/types/index.d.ts +24 -0
- package/api/types/index.js +24 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.d.ts +12 -0
- package/dist/api/resources/aggregate/client/Client.js +74 -2
- package/dist/api/resources/aggregate/client/requests/AggregateGetTaskHistoryForContinuousQueryRequest.d.ts +11 -0
- package/dist/api/resources/aggregate/client/requests/AggregateGetTaskHistoryForContinuousQueryRequest.js +5 -0
- package/dist/api/resources/aggregate/client/requests/index.d.ts +1 -0
- 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.js +44 -41
- package/dist/api/resources/labTests/client/requests/LabTestsGetOrdersRequest.d.ts +4 -0
- package/dist/api/resources/link/client/Client.js +19 -19
- 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 +39 -0
- package/dist/api/resources/vitals/client/Client.js +315 -75
- package/dist/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsHeartRateRecoveryOneMinuteGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutDistanceGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsWorkoutSwimmingStrokeGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/index.d.ts +3 -0
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +5 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +20 -0
- package/dist/api/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +5 -0
- package/dist/api/types/ClientFacingProviderWithStatus.d.ts +9 -0
- package/dist/api/types/ClientFacingResource.d.ts +4 -1
- package/dist/api/types/ClientFacingResource.js +3 -0
- package/dist/api/types/ClientFacingWorkoutDistanceChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingWorkoutDistanceChanged.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingWorkoutDistanceChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingWorkoutDistanceSample.d.ts +20 -0
- package/dist/api/types/ClientFacingWorkoutDistanceSample.js +5 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +11 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChanged.js +5 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +8 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +10 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +11 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +5 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +20 -0
- package/dist/api/types/ClientFacingWorkoutSwimmingStrokeSample.js +5 -0
- package/dist/api/types/ContinuousQueryTaskHistoryEntry.d.ts +14 -0
- package/dist/api/types/ContinuousQueryTaskHistoryEntry.js +5 -0
- package/dist/api/types/ContinuousQueryTaskHistoryResponse.d.ts +8 -0
- package/dist/api/types/ContinuousQueryTaskHistoryResponse.js +5 -0
- package/dist/api/types/ContinuousQueryTaskStatus.d.ts +13 -0
- package/dist/api/types/ContinuousQueryTaskStatus.js +12 -0
- package/dist/api/types/GroupedHeartRateRecoveryOneMinute.d.ts +8 -0
- package/dist/api/types/GroupedHeartRateRecoveryOneMinute.js +5 -0
- package/dist/api/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +12 -0
- package/dist/api/types/GroupedHeartRateRecoveryOneMinuteResponse.js +5 -0
- package/dist/api/types/GroupedWorkoutDistance.d.ts +8 -0
- package/dist/api/types/GroupedWorkoutDistance.js +5 -0
- package/dist/api/types/GroupedWorkoutDistanceResponse.d.ts +12 -0
- package/dist/api/types/GroupedWorkoutDistanceResponse.js +5 -0
- package/dist/api/types/GroupedWorkoutSwimmingStroke.d.ts +8 -0
- package/dist/api/types/GroupedWorkoutSwimmingStroke.js +5 -0
- package/dist/api/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +12 -0
- package/dist/api/types/GroupedWorkoutSwimmingStrokeResponse.js +5 -0
- package/dist/api/types/HistoricalPullNonRetriableErrorDetails.d.ts +12 -0
- package/dist/api/types/HistoricalPullNonRetriableErrorDetails.js +11 -0
- package/dist/api/types/HistoricalPullRetriableErrorDetails.d.ts +13 -0
- package/dist/api/types/HistoricalPullRetriableErrorDetails.js +12 -0
- package/dist/api/types/ProviderConnectionCreated.d.ts +9 -0
- package/dist/api/types/SingleHistoricalPullStatistics.d.ts +1 -0
- package/dist/api/types/SingleHistoricalPullStatisticsErrorDetails.d.ts +5 -0
- package/dist/api/types/SingleHistoricalPullStatisticsErrorDetails.js +5 -0
- package/dist/api/types/TimeseriesResource.d.ts +4 -1
- package/dist/api/types/TimeseriesResource.js +3 -0
- package/dist/api/types/index.d.ts +24 -0
- package/dist/api/types/index.js +24 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +39 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +34 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +40 -0
- package/dist/serialization/types/ClientFacingProviderWithStatus.d.ts +1 -0
- package/dist/serialization/types/ClientFacingProviderWithStatus.js +1 -0
- package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
- package/dist/serialization/types/ClientFacingResource.js +3 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceChanged.js +39 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceChangedEventType.js +31 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingWorkoutDistanceSample.js +40 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +18 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.js +39 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +34 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +17 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +38 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.js +40 -0
- package/dist/serialization/types/ContinuousQueryTaskHistoryEntry.d.ts +20 -0
- package/dist/serialization/types/ContinuousQueryTaskHistoryEntry.js +41 -0
- package/dist/serialization/types/ContinuousQueryTaskHistoryResponse.d.ts +14 -0
- package/dist/serialization/types/ContinuousQueryTaskHistoryResponse.js +35 -0
- package/dist/serialization/types/ContinuousQueryTaskStatus.d.ts +10 -0
- package/dist/serialization/types/ContinuousQueryTaskStatus.js +31 -0
- package/dist/serialization/types/GroupedHeartRateRecoveryOneMinute.d.ts +15 -0
- package/dist/serialization/types/GroupedHeartRateRecoveryOneMinute.js +36 -0
- package/dist/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.js +36 -0
- package/dist/serialization/types/GroupedWorkoutDistance.d.ts +15 -0
- package/dist/serialization/types/GroupedWorkoutDistance.js +36 -0
- package/dist/serialization/types/GroupedWorkoutDistanceResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedWorkoutDistanceResponse.js +36 -0
- package/dist/serialization/types/GroupedWorkoutSwimmingStroke.d.ts +15 -0
- package/dist/serialization/types/GroupedWorkoutSwimmingStroke.js +36 -0
- package/dist/serialization/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +15 -0
- package/dist/serialization/types/GroupedWorkoutSwimmingStrokeResponse.js +36 -0
- package/dist/serialization/types/HistoricalPullNonRetriableErrorDetails.d.ts +10 -0
- package/dist/serialization/types/HistoricalPullNonRetriableErrorDetails.js +31 -0
- package/dist/serialization/types/HistoricalPullRetriableErrorDetails.d.ts +10 -0
- package/dist/serialization/types/HistoricalPullRetriableErrorDetails.js +36 -0
- package/dist/serialization/types/ProviderConnectionCreated.d.ts +1 -0
- package/dist/serialization/types/ProviderConnectionCreated.js +1 -0
- package/dist/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -0
- package/dist/serialization/types/SingleHistoricalPullStatistics.js +2 -0
- package/dist/serialization/types/SingleHistoricalPullStatisticsErrorDetails.d.ts +12 -0
- package/dist/serialization/types/SingleHistoricalPullStatisticsErrorDetails.js +36 -0
- package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
- package/dist/serialization/types/TimeseriesResource.js +3 -0
- package/dist/serialization/types/index.d.ts +24 -0
- package/dist/serialization/types/index.js +24 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +238 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.d.ts +18 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChanged.js +39 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteChangedEventType.js +34 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.d.ts +19 -0
- package/serialization/types/ClientFacingHeartRateRecoveryOneMinuteSample.js +40 -0
- package/serialization/types/ClientFacingProviderWithStatus.d.ts +1 -0
- package/serialization/types/ClientFacingProviderWithStatus.js +1 -0
- package/serialization/types/ClientFacingResource.d.ts +1 -1
- package/serialization/types/ClientFacingResource.js +3 -0
- package/serialization/types/ClientFacingWorkoutDistanceChanged.d.ts +18 -0
- package/serialization/types/ClientFacingWorkoutDistanceChanged.js +39 -0
- package/serialization/types/ClientFacingWorkoutDistanceChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingWorkoutDistanceChangedEventType.js +31 -0
- package/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingWorkoutDistanceHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingWorkoutDistanceSample.d.ts +19 -0
- package/serialization/types/ClientFacingWorkoutDistanceSample.js +40 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.d.ts +18 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeChanged.js +39 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.d.ts +10 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeChangedEventType.js +34 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.d.ts +17 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted.js +38 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.d.ts +19 -0
- package/serialization/types/ClientFacingWorkoutSwimmingStrokeSample.js +40 -0
- package/serialization/types/ContinuousQueryTaskHistoryEntry.d.ts +20 -0
- package/serialization/types/ContinuousQueryTaskHistoryEntry.js +41 -0
- package/serialization/types/ContinuousQueryTaskHistoryResponse.d.ts +14 -0
- package/serialization/types/ContinuousQueryTaskHistoryResponse.js +35 -0
- package/serialization/types/ContinuousQueryTaskStatus.d.ts +10 -0
- package/serialization/types/ContinuousQueryTaskStatus.js +31 -0
- package/serialization/types/GroupedHeartRateRecoveryOneMinute.d.ts +15 -0
- package/serialization/types/GroupedHeartRateRecoveryOneMinute.js +36 -0
- package/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.d.ts +15 -0
- package/serialization/types/GroupedHeartRateRecoveryOneMinuteResponse.js +36 -0
- package/serialization/types/GroupedWorkoutDistance.d.ts +15 -0
- package/serialization/types/GroupedWorkoutDistance.js +36 -0
- package/serialization/types/GroupedWorkoutDistanceResponse.d.ts +15 -0
- package/serialization/types/GroupedWorkoutDistanceResponse.js +36 -0
- package/serialization/types/GroupedWorkoutSwimmingStroke.d.ts +15 -0
- package/serialization/types/GroupedWorkoutSwimmingStroke.js +36 -0
- package/serialization/types/GroupedWorkoutSwimmingStrokeResponse.d.ts +15 -0
- package/serialization/types/GroupedWorkoutSwimmingStrokeResponse.js +36 -0
- package/serialization/types/HistoricalPullNonRetriableErrorDetails.d.ts +10 -0
- package/serialization/types/HistoricalPullNonRetriableErrorDetails.js +31 -0
- package/serialization/types/HistoricalPullRetriableErrorDetails.d.ts +10 -0
- package/serialization/types/HistoricalPullRetriableErrorDetails.js +36 -0
- package/serialization/types/ProviderConnectionCreated.d.ts +1 -0
- package/serialization/types/ProviderConnectionCreated.js +1 -0
- package/serialization/types/SingleHistoricalPullStatistics.d.ts +2 -0
- package/serialization/types/SingleHistoricalPullStatistics.js +2 -0
- package/serialization/types/SingleHistoricalPullStatisticsErrorDetails.d.ts +12 -0
- package/serialization/types/SingleHistoricalPullStatisticsErrorDetails.js +36 -0
- package/serialization/types/TimeseriesResource.d.ts +1 -1
- package/serialization/types/TimeseriesResource.js +3 -0
- package/serialization/types/index.d.ts +24 -0
- package/serialization/types/index.js +24 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -49,6 +49,246 @@ class Vitals {
|
|
49
49
|
constructor(_options = {}) {
|
50
50
|
this._options = _options;
|
51
51
|
}
|
52
|
+
/**
|
53
|
+
* @param {string} userId
|
54
|
+
* @param {Vital.VitalsWorkoutSwimmingStrokeGroupedRequest} request
|
55
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
56
|
+
*
|
57
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
58
|
+
*
|
59
|
+
* @example
|
60
|
+
* await client.vitals.workoutSwimmingStrokeGrouped("user_id", {
|
61
|
+
* startDate: "start_date"
|
62
|
+
* })
|
63
|
+
*/
|
64
|
+
workoutSwimmingStrokeGrouped(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)}/workout_swimming_stroke/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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "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.GroupedWorkoutSwimmingStrokeResponse.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.VitalsWorkoutDistanceGroupedRequest} request
|
135
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
136
|
+
*
|
137
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
138
|
+
*
|
139
|
+
* @example
|
140
|
+
* await client.vitals.workoutDistanceGrouped("user_id", {
|
141
|
+
* startDate: "start_date"
|
142
|
+
* })
|
143
|
+
*/
|
144
|
+
workoutDistanceGrouped(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)}/workout_distance/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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "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.GroupedWorkoutDistanceResponse.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.VitalsHeartRateRecoveryOneMinuteGroupedRequest} request
|
215
|
+
* @param {Vitals.RequestOptions} requestOptions - Request-specific configuration.
|
216
|
+
*
|
217
|
+
* @throws {@link Vital.UnprocessableEntityError}
|
218
|
+
*
|
219
|
+
* @example
|
220
|
+
* await client.vitals.heartRateRecoveryOneMinuteGrouped("user_id", {
|
221
|
+
* startDate: "start_date"
|
222
|
+
* })
|
223
|
+
*/
|
224
|
+
heartRateRecoveryOneMinuteGrouped(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)}/heart_rate_recovery_one_minute/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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "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.GroupedHeartRateRecoveryOneMinuteResponse.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
|
+
}
|
52
292
|
/**
|
53
293
|
* @param {string} userId
|
54
294
|
* @param {Vital.VitalsWaistCircumferenceGroupedRequest} request
|
@@ -82,7 +322,7 @@ class Vitals {
|
|
82
322
|
const _response = yield core.fetcher({
|
83
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)}/waist_circumference/grouped`),
|
84
324
|
method: "GET",
|
85
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
325
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
86
326
|
contentType: "application/json",
|
87
327
|
queryParameters: _queryParams,
|
88
328
|
requestType: "json",
|
@@ -162,7 +402,7 @@ class Vitals {
|
|
162
402
|
const _response = yield core.fetcher({
|
163
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)}/lean_body_mass/grouped`),
|
164
404
|
method: "GET",
|
165
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
405
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
166
406
|
contentType: "application/json",
|
167
407
|
queryParameters: _queryParams,
|
168
408
|
requestType: "json",
|
@@ -242,7 +482,7 @@ class Vitals {
|
|
242
482
|
const _response = yield core.fetcher({
|
243
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)}/body_mass_index/grouped`),
|
244
484
|
method: "GET",
|
245
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
485
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
246
486
|
contentType: "application/json",
|
247
487
|
queryParameters: _queryParams,
|
248
488
|
requestType: "json",
|
@@ -322,7 +562,7 @@ class Vitals {
|
|
322
562
|
const _response = yield core.fetcher({
|
323
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)}/basal_body_temperature/grouped`),
|
324
564
|
method: "GET",
|
325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
326
566
|
contentType: "application/json",
|
327
567
|
queryParameters: _queryParams,
|
328
568
|
requestType: "json",
|
@@ -402,7 +642,7 @@ class Vitals {
|
|
402
642
|
const _response = yield core.fetcher({
|
403
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)}/handwashing/grouped`),
|
404
644
|
method: "GET",
|
405
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
645
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
406
646
|
contentType: "application/json",
|
407
647
|
queryParameters: _queryParams,
|
408
648
|
requestType: "json",
|
@@ -482,7 +722,7 @@ class Vitals {
|
|
482
722
|
const _response = yield core.fetcher({
|
483
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)}/daylight_exposure/grouped`),
|
484
724
|
method: "GET",
|
485
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
725
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
486
726
|
contentType: "application/json",
|
487
727
|
queryParameters: _queryParams,
|
488
728
|
requestType: "json",
|
@@ -562,7 +802,7 @@ class Vitals {
|
|
562
802
|
const _response = yield core.fetcher({
|
563
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)}/uv_exposure/grouped`),
|
564
804
|
method: "GET",
|
565
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
805
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
566
806
|
contentType: "application/json",
|
567
807
|
queryParameters: _queryParams,
|
568
808
|
requestType: "json",
|
@@ -642,7 +882,7 @@ class Vitals {
|
|
642
882
|
const _response = yield core.fetcher({
|
643
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)}/fall/grouped`),
|
644
884
|
method: "GET",
|
645
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
885
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
646
886
|
contentType: "application/json",
|
647
887
|
queryParameters: _queryParams,
|
648
888
|
requestType: "json",
|
@@ -722,7 +962,7 @@ class Vitals {
|
|
722
962
|
const _response = yield core.fetcher({
|
723
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)}/inhaler_usage/grouped`),
|
724
964
|
method: "GET",
|
725
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
965
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
726
966
|
contentType: "application/json",
|
727
967
|
queryParameters: _queryParams,
|
728
968
|
requestType: "json",
|
@@ -802,7 +1042,7 @@ class Vitals {
|
|
802
1042
|
const _response = yield core.fetcher({
|
803
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)}/peak_expiratory_flow_rate/grouped`),
|
804
1044
|
method: "GET",
|
805
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1045
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
806
1046
|
contentType: "application/json",
|
807
1047
|
queryParameters: _queryParams,
|
808
1048
|
requestType: "json",
|
@@ -882,7 +1122,7 @@ class Vitals {
|
|
882
1122
|
const _response = yield core.fetcher({
|
883
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)}/forced_vital_capacity/grouped`),
|
884
1124
|
method: "GET",
|
885
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1125
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
886
1126
|
contentType: "application/json",
|
887
1127
|
queryParameters: _queryParams,
|
888
1128
|
requestType: "json",
|
@@ -962,7 +1202,7 @@ class Vitals {
|
|
962
1202
|
const _response = yield core.fetcher({
|
963
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)}/forced_expiratory_volume_1/grouped`),
|
964
1204
|
method: "GET",
|
965
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1205
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
966
1206
|
contentType: "application/json",
|
967
1207
|
queryParameters: _queryParams,
|
968
1208
|
requestType: "json",
|
@@ -1042,7 +1282,7 @@ class Vitals {
|
|
1042
1282
|
const _response = yield core.fetcher({
|
1043
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)}/wheelchair_push/grouped`),
|
1044
1284
|
method: "GET",
|
1045
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1285
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1046
1286
|
contentType: "application/json",
|
1047
1287
|
queryParameters: _queryParams,
|
1048
1288
|
requestType: "json",
|
@@ -1122,7 +1362,7 @@ class Vitals {
|
|
1122
1362
|
const _response = yield core.fetcher({
|
1123
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)}/sleep_breathing_disturbance/grouped`),
|
1124
1364
|
method: "GET",
|
1125
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
1365
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1126
1366
|
contentType: "application/json",
|
1127
1367
|
queryParameters: _queryParams,
|
1128
1368
|
requestType: "json",
|
@@ -1202,7 +1442,7 @@ class Vitals {
|
|
1202
1442
|
const _response = yield core.fetcher({
|
1203
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)}/sleep_apnea_alert/grouped`),
|
1204
1444
|
method: "GET",
|
1205
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1206
1446
|
contentType: "application/json",
|
1207
1447
|
queryParameters: _queryParams,
|
1208
1448
|
requestType: "json",
|
@@ -1282,7 +1522,7 @@ class Vitals {
|
|
1282
1522
|
const _response = yield core.fetcher({
|
1283
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)}/stand_duration/grouped`),
|
1284
1524
|
method: "GET",
|
1285
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1286
1526
|
contentType: "application/json",
|
1287
1527
|
queryParameters: _queryParams,
|
1288
1528
|
requestType: "json",
|
@@ -1362,7 +1602,7 @@ class Vitals {
|
|
1362
1602
|
const _response = yield core.fetcher({
|
1363
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)}/stand_hour/grouped`),
|
1364
1604
|
method: "GET",
|
1365
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1366
1606
|
contentType: "application/json",
|
1367
1607
|
queryParameters: _queryParams,
|
1368
1608
|
requestType: "json",
|
@@ -1442,7 +1682,7 @@ class Vitals {
|
|
1442
1682
|
const _response = yield core.fetcher({
|
1443
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)}/heart_rate_alert/grouped`),
|
1444
1684
|
method: "GET",
|
1445
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1446
1686
|
contentType: "application/json",
|
1447
1687
|
queryParameters: _queryParams,
|
1448
1688
|
requestType: "json",
|
@@ -1522,7 +1762,7 @@ class Vitals {
|
|
1522
1762
|
const _response = yield core.fetcher({
|
1523
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)}/afib_burden/grouped`),
|
1524
1764
|
method: "GET",
|
1525
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1526
1766
|
contentType: "application/json",
|
1527
1767
|
queryParameters: _queryParams,
|
1528
1768
|
requestType: "json",
|
@@ -1602,7 +1842,7 @@ class Vitals {
|
|
1602
1842
|
const _response = yield core.fetcher({
|
1603
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)}/workout_duration/grouped`),
|
1604
1844
|
method: "GET",
|
1605
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1606
1846
|
contentType: "application/json",
|
1607
1847
|
queryParameters: _queryParams,
|
1608
1848
|
requestType: "json",
|
@@ -1682,7 +1922,7 @@ class Vitals {
|
|
1682
1922
|
const _response = yield core.fetcher({
|
1683
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)}/vo2_max/grouped`),
|
1684
1924
|
method: "GET",
|
1685
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1686
1926
|
contentType: "application/json",
|
1687
1927
|
queryParameters: _queryParams,
|
1688
1928
|
requestType: "json",
|
@@ -1762,7 +2002,7 @@ class Vitals {
|
|
1762
2002
|
const _response = yield core.fetcher({
|
1763
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)}/stress_level/grouped`),
|
1764
2004
|
method: "GET",
|
1765
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1766
2006
|
contentType: "application/json",
|
1767
2007
|
queryParameters: _queryParams,
|
1768
2008
|
requestType: "json",
|
@@ -1842,7 +2082,7 @@ class Vitals {
|
|
1842
2082
|
const _response = yield core.fetcher({
|
1843
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)}/mindfulness_minutes/grouped`),
|
1844
2084
|
method: "GET",
|
1845
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1846
2086
|
contentType: "application/json",
|
1847
2087
|
queryParameters: _queryParams,
|
1848
2088
|
requestType: "json",
|
@@ -1922,7 +2162,7 @@ class Vitals {
|
|
1922
2162
|
const _response = yield core.fetcher({
|
1923
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)}/caffeine/grouped`),
|
1924
2164
|
method: "GET",
|
1925
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
1926
2166
|
contentType: "application/json",
|
1927
2167
|
queryParameters: _queryParams,
|
1928
2168
|
requestType: "json",
|
@@ -2002,7 +2242,7 @@ class Vitals {
|
|
2002
2242
|
const _response = yield core.fetcher({
|
2003
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)}/water/grouped`),
|
2004
2244
|
method: "GET",
|
2005
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2006
2246
|
contentType: "application/json",
|
2007
2247
|
queryParameters: _queryParams,
|
2008
2248
|
requestType: "json",
|
@@ -2082,7 +2322,7 @@ class Vitals {
|
|
2082
2322
|
const _response = yield core.fetcher({
|
2083
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)}/steps/grouped`),
|
2084
2324
|
method: "GET",
|
2085
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2086
2326
|
contentType: "application/json",
|
2087
2327
|
queryParameters: _queryParams,
|
2088
2328
|
requestType: "json",
|
@@ -2162,7 +2402,7 @@ class Vitals {
|
|
2162
2402
|
const _response = yield core.fetcher({
|
2163
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)}/floors_climbed/grouped`),
|
2164
2404
|
method: "GET",
|
2165
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2166
2406
|
contentType: "application/json",
|
2167
2407
|
queryParameters: _queryParams,
|
2168
2408
|
requestType: "json",
|
@@ -2242,7 +2482,7 @@ class Vitals {
|
|
2242
2482
|
const _response = yield core.fetcher({
|
2243
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)}/distance/grouped`),
|
2244
2484
|
method: "GET",
|
2245
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2246
2486
|
contentType: "application/json",
|
2247
2487
|
queryParameters: _queryParams,
|
2248
2488
|
requestType: "json",
|
@@ -2322,7 +2562,7 @@ class Vitals {
|
|
2322
2562
|
const _response = yield core.fetcher({
|
2323
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)}/calories_basal/grouped`),
|
2324
2564
|
method: "GET",
|
2325
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2326
2566
|
contentType: "application/json",
|
2327
2567
|
queryParameters: _queryParams,
|
2328
2568
|
requestType: "json",
|
@@ -2402,7 +2642,7 @@ class Vitals {
|
|
2402
2642
|
const _response = yield core.fetcher({
|
2403
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)}/calories_active/grouped`),
|
2404
2644
|
method: "GET",
|
2405
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2406
2646
|
contentType: "application/json",
|
2407
2647
|
queryParameters: _queryParams,
|
2408
2648
|
requestType: "json",
|
@@ -2482,7 +2722,7 @@ class Vitals {
|
|
2482
2722
|
const _response = yield core.fetcher({
|
2483
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)}/respiratory_rate/grouped`),
|
2484
2724
|
method: "GET",
|
2485
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2486
2726
|
contentType: "application/json",
|
2487
2727
|
queryParameters: _queryParams,
|
2488
2728
|
requestType: "json",
|
@@ -2562,7 +2802,7 @@ class Vitals {
|
|
2562
2802
|
const _response = yield core.fetcher({
|
2563
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)}/note/grouped`),
|
2564
2804
|
method: "GET",
|
2565
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2566
2806
|
contentType: "application/json",
|
2567
2807
|
queryParameters: _queryParams,
|
2568
2808
|
requestType: "json",
|
@@ -2642,7 +2882,7 @@ class Vitals {
|
|
2642
2882
|
const _response = yield core.fetcher({
|
2643
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)}/insulin_injection/grouped`),
|
2644
2884
|
method: "GET",
|
2645
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2646
2886
|
contentType: "application/json",
|
2647
2887
|
queryParameters: _queryParams,
|
2648
2888
|
requestType: "json",
|
@@ -2722,7 +2962,7 @@ class Vitals {
|
|
2722
2962
|
const _response = yield core.fetcher({
|
2723
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)}/ige/grouped`),
|
2724
2964
|
method: "GET",
|
2725
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2726
2966
|
contentType: "application/json",
|
2727
2967
|
queryParameters: _queryParams,
|
2728
2968
|
requestType: "json",
|
@@ -2802,7 +3042,7 @@ class Vitals {
|
|
2802
3042
|
const _response = yield core.fetcher({
|
2803
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)}/igg/grouped`),
|
2804
3044
|
method: "GET",
|
2805
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2806
3046
|
contentType: "application/json",
|
2807
3047
|
queryParameters: _queryParams,
|
2808
3048
|
requestType: "json",
|
@@ -2882,7 +3122,7 @@ class Vitals {
|
|
2882
3122
|
const _response = yield core.fetcher({
|
2883
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)}/hypnogram/grouped`),
|
2884
3124
|
method: "GET",
|
2885
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2886
3126
|
contentType: "application/json",
|
2887
3127
|
queryParameters: _queryParams,
|
2888
3128
|
requestType: "json",
|
@@ -2962,7 +3202,7 @@ class Vitals {
|
|
2962
3202
|
const _response = yield core.fetcher({
|
2963
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)}/hrv/grouped`),
|
2964
3204
|
method: "GET",
|
2965
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
2966
3206
|
contentType: "application/json",
|
2967
3207
|
queryParameters: _queryParams,
|
2968
3208
|
requestType: "json",
|
@@ -3042,7 +3282,7 @@ class Vitals {
|
|
3042
3282
|
const _response = yield core.fetcher({
|
3043
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)}/heartrate/grouped`),
|
3044
3284
|
method: "GET",
|
3045
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3046
3286
|
contentType: "application/json",
|
3047
3287
|
queryParameters: _queryParams,
|
3048
3288
|
requestType: "json",
|
@@ -3122,7 +3362,7 @@ class Vitals {
|
|
3122
3362
|
const _response = yield core.fetcher({
|
3123
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)}/glucose/grouped`),
|
3124
3364
|
method: "GET",
|
3125
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3126
3366
|
contentType: "application/json",
|
3127
3367
|
queryParameters: _queryParams,
|
3128
3368
|
requestType: "json",
|
@@ -3202,7 +3442,7 @@ class Vitals {
|
|
3202
3442
|
const _response = yield core.fetcher({
|
3203
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)}/cholesterol/grouped`),
|
3204
3444
|
method: "GET",
|
3205
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3206
3446
|
contentType: "application/json",
|
3207
3447
|
queryParameters: _queryParams,
|
3208
3448
|
requestType: "json",
|
@@ -3282,7 +3522,7 @@ class Vitals {
|
|
3282
3522
|
const _response = yield core.fetcher({
|
3283
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)}/carbohydrates/grouped`),
|
3284
3524
|
method: "GET",
|
3285
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3286
3526
|
contentType: "application/json",
|
3287
3527
|
queryParameters: _queryParams,
|
3288
3528
|
requestType: "json",
|
@@ -3362,7 +3602,7 @@ class Vitals {
|
|
3362
3602
|
const _response = yield core.fetcher({
|
3363
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_temperature_delta/grouped`),
|
3364
3604
|
method: "GET",
|
3365
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3366
3606
|
contentType: "application/json",
|
3367
3607
|
queryParameters: _queryParams,
|
3368
3608
|
requestType: "json",
|
@@ -3442,7 +3682,7 @@ class Vitals {
|
|
3442
3682
|
const _response = yield core.fetcher({
|
3443
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)}/body_temperature/grouped`),
|
3444
3684
|
method: "GET",
|
3445
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3446
3686
|
contentType: "application/json",
|
3447
3687
|
queryParameters: _queryParams,
|
3448
3688
|
requestType: "json",
|
@@ -3522,7 +3762,7 @@ class Vitals {
|
|
3522
3762
|
const _response = yield core.fetcher({
|
3523
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)}/body_weight/grouped`),
|
3524
3764
|
method: "GET",
|
3525
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3526
3766
|
contentType: "application/json",
|
3527
3767
|
queryParameters: _queryParams,
|
3528
3768
|
requestType: "json",
|
@@ -3602,7 +3842,7 @@ class Vitals {
|
|
3602
3842
|
const _response = yield core.fetcher({
|
3603
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)}/body_fat/grouped`),
|
3604
3844
|
method: "GET",
|
3605
|
-
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.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3606
3846
|
contentType: "application/json",
|
3607
3847
|
queryParameters: _queryParams,
|
3608
3848
|
requestType: "json",
|
@@ -3682,7 +3922,7 @@ class Vitals {
|
|
3682
3922
|
const _response = yield core.fetcher({
|
3683
3923
|
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`),
|
3684
3924
|
method: "GET",
|
3685
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
3925
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3686
3926
|
contentType: "application/json",
|
3687
3927
|
queryParameters: _queryParams,
|
3688
3928
|
requestType: "json",
|
@@ -3762,7 +4002,7 @@ class Vitals {
|
|
3762
4002
|
const _response = yield core.fetcher({
|
3763
4003
|
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`),
|
3764
4004
|
method: "GET",
|
3765
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4005
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3766
4006
|
contentType: "application/json",
|
3767
4007
|
queryParameters: _queryParams,
|
3768
4008
|
requestType: "json",
|
@@ -3842,7 +4082,7 @@ class Vitals {
|
|
3842
4082
|
const _response = yield core.fetcher({
|
3843
4083
|
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`),
|
3844
4084
|
method: "GET",
|
3845
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4085
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3846
4086
|
contentType: "application/json",
|
3847
4087
|
queryParameters: _queryParams,
|
3848
4088
|
requestType: "json",
|
@@ -3916,7 +4156,7 @@ class Vitals {
|
|
3916
4156
|
const _response = yield core.fetcher({
|
3917
4157
|
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`),
|
3918
4158
|
method: "GET",
|
3919
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4159
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3920
4160
|
contentType: "application/json",
|
3921
4161
|
queryParameters: _queryParams,
|
3922
4162
|
requestType: "json",
|
@@ -3990,7 +4230,7 @@ class Vitals {
|
|
3990
4230
|
const _response = yield core.fetcher({
|
3991
4231
|
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`),
|
3992
4232
|
method: "GET",
|
3993
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4233
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
3994
4234
|
contentType: "application/json",
|
3995
4235
|
queryParameters: _queryParams,
|
3996
4236
|
requestType: "json",
|
@@ -4064,7 +4304,7 @@ class Vitals {
|
|
4064
4304
|
const _response = yield core.fetcher({
|
4065
4305
|
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`),
|
4066
4306
|
method: "GET",
|
4067
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4307
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4068
4308
|
contentType: "application/json",
|
4069
4309
|
queryParameters: _queryParams,
|
4070
4310
|
requestType: "json",
|
@@ -4138,7 +4378,7 @@ class Vitals {
|
|
4138
4378
|
const _response = yield core.fetcher({
|
4139
4379
|
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`),
|
4140
4380
|
method: "GET",
|
4141
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4381
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4142
4382
|
contentType: "application/json",
|
4143
4383
|
queryParameters: _queryParams,
|
4144
4384
|
requestType: "json",
|
@@ -4212,7 +4452,7 @@ class Vitals {
|
|
4212
4452
|
const _response = yield core.fetcher({
|
4213
4453
|
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`),
|
4214
4454
|
method: "GET",
|
4215
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4455
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4216
4456
|
contentType: "application/json",
|
4217
4457
|
queryParameters: _queryParams,
|
4218
4458
|
requestType: "json",
|
@@ -4286,7 +4526,7 @@ class Vitals {
|
|
4286
4526
|
const _response = yield core.fetcher({
|
4287
4527
|
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`),
|
4288
4528
|
method: "GET",
|
4289
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4529
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4290
4530
|
contentType: "application/json",
|
4291
4531
|
queryParameters: _queryParams,
|
4292
4532
|
requestType: "json",
|
@@ -4360,7 +4600,7 @@ class Vitals {
|
|
4360
4600
|
const _response = yield core.fetcher({
|
4361
4601
|
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`),
|
4362
4602
|
method: "GET",
|
4363
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4603
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4364
4604
|
contentType: "application/json",
|
4365
4605
|
queryParameters: _queryParams,
|
4366
4606
|
requestType: "json",
|
@@ -4434,7 +4674,7 @@ class Vitals {
|
|
4434
4674
|
const _response = yield core.fetcher({
|
4435
4675
|
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`),
|
4436
4676
|
method: "GET",
|
4437
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4677
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4438
4678
|
contentType: "application/json",
|
4439
4679
|
queryParameters: _queryParams,
|
4440
4680
|
requestType: "json",
|
@@ -4508,7 +4748,7 @@ class Vitals {
|
|
4508
4748
|
const _response = yield core.fetcher({
|
4509
4749
|
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`),
|
4510
4750
|
method: "GET",
|
4511
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4751
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4512
4752
|
contentType: "application/json",
|
4513
4753
|
queryParameters: _queryParams,
|
4514
4754
|
requestType: "json",
|
@@ -4582,7 +4822,7 @@ class Vitals {
|
|
4582
4822
|
const _response = yield core.fetcher({
|
4583
4823
|
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`),
|
4584
4824
|
method: "GET",
|
4585
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4825
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4586
4826
|
contentType: "application/json",
|
4587
4827
|
queryParameters: _queryParams,
|
4588
4828
|
requestType: "json",
|
@@ -4656,7 +4896,7 @@ class Vitals {
|
|
4656
4896
|
const _response = yield core.fetcher({
|
4657
4897
|
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`),
|
4658
4898
|
method: "GET",
|
4659
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4899
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4660
4900
|
contentType: "application/json",
|
4661
4901
|
queryParameters: _queryParams,
|
4662
4902
|
requestType: "json",
|
@@ -4730,7 +4970,7 @@ class Vitals {
|
|
4730
4970
|
const _response = yield core.fetcher({
|
4731
4971
|
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`),
|
4732
4972
|
method: "GET",
|
4733
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
4973
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4734
4974
|
contentType: "application/json",
|
4735
4975
|
queryParameters: _queryParams,
|
4736
4976
|
requestType: "json",
|
@@ -4804,7 +5044,7 @@ class Vitals {
|
|
4804
5044
|
const _response = yield core.fetcher({
|
4805
5045
|
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`),
|
4806
5046
|
method: "GET",
|
4807
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5047
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4808
5048
|
contentType: "application/json",
|
4809
5049
|
queryParameters: _queryParams,
|
4810
5050
|
requestType: "json",
|
@@ -4878,7 +5118,7 @@ class Vitals {
|
|
4878
5118
|
const _response = yield core.fetcher({
|
4879
5119
|
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`),
|
4880
5120
|
method: "GET",
|
4881
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5121
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4882
5122
|
contentType: "application/json",
|
4883
5123
|
queryParameters: _queryParams,
|
4884
5124
|
requestType: "json",
|
@@ -4952,7 +5192,7 @@ class Vitals {
|
|
4952
5192
|
const _response = yield core.fetcher({
|
4953
5193
|
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`),
|
4954
5194
|
method: "GET",
|
4955
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5195
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
4956
5196
|
contentType: "application/json",
|
4957
5197
|
queryParameters: _queryParams,
|
4958
5198
|
requestType: "json",
|
@@ -5026,7 +5266,7 @@ class Vitals {
|
|
5026
5266
|
const _response = yield core.fetcher({
|
5027
5267
|
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`),
|
5028
5268
|
method: "GET",
|
5029
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5269
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5030
5270
|
contentType: "application/json",
|
5031
5271
|
queryParameters: _queryParams,
|
5032
5272
|
requestType: "json",
|
@@ -5100,7 +5340,7 @@ class Vitals {
|
|
5100
5340
|
const _response = yield core.fetcher({
|
5101
5341
|
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`),
|
5102
5342
|
method: "GET",
|
5103
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5343
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5104
5344
|
contentType: "application/json",
|
5105
5345
|
queryParameters: _queryParams,
|
5106
5346
|
requestType: "json",
|
@@ -5174,7 +5414,7 @@ class Vitals {
|
|
5174
5414
|
const _response = yield core.fetcher({
|
5175
5415
|
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`),
|
5176
5416
|
method: "GET",
|
5177
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5417
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5178
5418
|
contentType: "application/json",
|
5179
5419
|
queryParameters: _queryParams,
|
5180
5420
|
requestType: "json",
|
@@ -5248,7 +5488,7 @@ class Vitals {
|
|
5248
5488
|
const _response = yield core.fetcher({
|
5249
5489
|
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`),
|
5250
5490
|
method: "GET",
|
5251
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5491
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5252
5492
|
contentType: "application/json",
|
5253
5493
|
queryParameters: _queryParams,
|
5254
5494
|
requestType: "json",
|
@@ -5322,7 +5562,7 @@ class Vitals {
|
|
5322
5562
|
const _response = yield core.fetcher({
|
5323
5563
|
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`),
|
5324
5564
|
method: "GET",
|
5325
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5565
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5326
5566
|
contentType: "application/json",
|
5327
5567
|
queryParameters: _queryParams,
|
5328
5568
|
requestType: "json",
|
@@ -5396,7 +5636,7 @@ class Vitals {
|
|
5396
5636
|
const _response = yield core.fetcher({
|
5397
5637
|
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`),
|
5398
5638
|
method: "GET",
|
5399
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5639
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5400
5640
|
contentType: "application/json",
|
5401
5641
|
queryParameters: _queryParams,
|
5402
5642
|
requestType: "json",
|
@@ -5470,7 +5710,7 @@ class Vitals {
|
|
5470
5710
|
const _response = yield core.fetcher({
|
5471
5711
|
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`),
|
5472
5712
|
method: "GET",
|
5473
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5713
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5474
5714
|
contentType: "application/json",
|
5475
5715
|
queryParameters: _queryParams,
|
5476
5716
|
requestType: "json",
|
@@ -5544,7 +5784,7 @@ class Vitals {
|
|
5544
5784
|
const _response = yield core.fetcher({
|
5545
5785
|
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`),
|
5546
5786
|
method: "GET",
|
5547
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5787
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5548
5788
|
contentType: "application/json",
|
5549
5789
|
queryParameters: _queryParams,
|
5550
5790
|
requestType: "json",
|
@@ -5618,7 +5858,7 @@ class Vitals {
|
|
5618
5858
|
const _response = yield core.fetcher({
|
5619
5859
|
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`),
|
5620
5860
|
method: "GET",
|
5621
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5861
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5622
5862
|
contentType: "application/json",
|
5623
5863
|
queryParameters: _queryParams,
|
5624
5864
|
requestType: "json",
|
@@ -5692,7 +5932,7 @@ class Vitals {
|
|
5692
5932
|
const _response = yield core.fetcher({
|
5693
5933
|
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`),
|
5694
5934
|
method: "GET",
|
5695
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
5935
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5696
5936
|
contentType: "application/json",
|
5697
5937
|
queryParameters: _queryParams,
|
5698
5938
|
requestType: "json",
|
@@ -5766,7 +6006,7 @@ class Vitals {
|
|
5766
6006
|
const _response = yield core.fetcher({
|
5767
6007
|
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`),
|
5768
6008
|
method: "GET",
|
5769
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
6009
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5770
6010
|
contentType: "application/json",
|
5771
6011
|
queryParameters: _queryParams,
|
5772
6012
|
requestType: "json",
|
@@ -5840,7 +6080,7 @@ class Vitals {
|
|
5840
6080
|
const _response = yield core.fetcher({
|
5841
6081
|
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`),
|
5842
6082
|
method: "GET",
|
5843
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
6083
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.255", "User-Agent": "@tryvital/vital-node/3.1.255", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
5844
6084
|
contentType: "application/json",
|
5845
6085
|
queryParameters: _queryParams,
|
5846
6086
|
requestType: "json",
|