@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
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { GroupedHeartRateRecoveryOneMinute } from "./GroupedHeartRateRecoveryOneMinute";
|
8
|
+
export declare const GroupedHeartRateRecoveryOneMinuteResponse: core.serialization.ObjectSchema<serializers.GroupedHeartRateRecoveryOneMinuteResponse.Raw, Vital.GroupedHeartRateRecoveryOneMinuteResponse>;
|
9
|
+
export declare namespace GroupedHeartRateRecoveryOneMinuteResponse {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, GroupedHeartRateRecoveryOneMinute.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedHeartRateRecoveryOneMinuteResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const GroupedHeartRateRecoveryOneMinute_1 = require("./GroupedHeartRateRecoveryOneMinute");
|
32
|
+
exports.GroupedHeartRateRecoveryOneMinuteResponse = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(GroupedHeartRateRecoveryOneMinute_1.GroupedHeartRateRecoveryOneMinute)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingWorkoutDistanceSample } from "./ClientFacingWorkoutDistanceSample";
|
9
|
+
export declare const GroupedWorkoutDistance: core.serialization.ObjectSchema<serializers.GroupedWorkoutDistance.Raw, Vital.GroupedWorkoutDistance>;
|
10
|
+
export declare namespace GroupedWorkoutDistance {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingWorkoutDistanceSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedWorkoutDistance = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingWorkoutDistanceSample_1 = require("./ClientFacingWorkoutDistanceSample");
|
33
|
+
exports.GroupedWorkoutDistance = core.serialization.object({
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingWorkoutDistanceSample_1.ClientFacingWorkoutDistanceSample),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { GroupedWorkoutDistance } from "./GroupedWorkoutDistance";
|
8
|
+
export declare const GroupedWorkoutDistanceResponse: core.serialization.ObjectSchema<serializers.GroupedWorkoutDistanceResponse.Raw, Vital.GroupedWorkoutDistanceResponse>;
|
9
|
+
export declare namespace GroupedWorkoutDistanceResponse {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, GroupedWorkoutDistance.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedWorkoutDistanceResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const GroupedWorkoutDistance_1 = require("./GroupedWorkoutDistance");
|
32
|
+
exports.GroupedWorkoutDistanceResponse = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(GroupedWorkoutDistance_1.GroupedWorkoutDistance)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingWorkoutSwimmingStrokeSample } from "./ClientFacingWorkoutSwimmingStrokeSample";
|
9
|
+
export declare const GroupedWorkoutSwimmingStroke: core.serialization.ObjectSchema<serializers.GroupedWorkoutSwimmingStroke.Raw, Vital.GroupedWorkoutSwimmingStroke>;
|
10
|
+
export declare namespace GroupedWorkoutSwimmingStroke {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingWorkoutSwimmingStrokeSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedWorkoutSwimmingStroke = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingWorkoutSwimmingStrokeSample_1 = require("./ClientFacingWorkoutSwimmingStrokeSample");
|
33
|
+
exports.GroupedWorkoutSwimmingStroke = core.serialization.object({
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingWorkoutSwimmingStrokeSample_1.ClientFacingWorkoutSwimmingStrokeSample),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { GroupedWorkoutSwimmingStroke } from "./GroupedWorkoutSwimmingStroke";
|
8
|
+
export declare const GroupedWorkoutSwimmingStrokeResponse: core.serialization.ObjectSchema<serializers.GroupedWorkoutSwimmingStrokeResponse.Raw, Vital.GroupedWorkoutSwimmingStrokeResponse>;
|
9
|
+
export declare namespace GroupedWorkoutSwimmingStrokeResponse {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, GroupedWorkoutSwimmingStroke.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.GroupedWorkoutSwimmingStrokeResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const GroupedWorkoutSwimmingStroke_1 = require("./GroupedWorkoutSwimmingStroke");
|
32
|
+
exports.GroupedWorkoutSwimmingStrokeResponse = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(GroupedWorkoutSwimmingStroke_1.GroupedWorkoutSwimmingStroke)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const HistoricalPullNonRetriableErrorDetails: core.serialization.Schema<serializers.HistoricalPullNonRetriableErrorDetails.Raw, Vital.HistoricalPullNonRetriableErrorDetails>;
|
8
|
+
export declare namespace HistoricalPullNonRetriableErrorDetails {
|
9
|
+
type Raw = "non_retriable_error" | "unexpected_error" | "retry_quota_exhausted";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.HistoricalPullNonRetriableErrorDetails = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.HistoricalPullNonRetriableErrorDetails = core.serialization.enum_(["non_retriable_error", "unexpected_error", "retry_quota_exhausted"]);
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const HistoricalPullRetriableErrorDetails: core.serialization.Schema<serializers.HistoricalPullRetriableErrorDetails.Raw, Vital.HistoricalPullRetriableErrorDetails>;
|
8
|
+
export declare namespace HistoricalPullRetriableErrorDetails {
|
9
|
+
type Raw = "provider_rate_limit_exceeded" | "provider_unavailable" | "transport_failure" | "resource_contention";
|
10
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.HistoricalPullRetriableErrorDetails = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.HistoricalPullRetriableErrorDetails = core.serialization.enum_([
|
32
|
+
"provider_rate_limit_exceeded",
|
33
|
+
"provider_unavailable",
|
34
|
+
"transport_failure",
|
35
|
+
"resource_contention",
|
36
|
+
]);
|
@@ -12,6 +12,7 @@ export declare namespace ProviderConnectionCreated {
|
|
12
12
|
user_id: string;
|
13
13
|
source: ClientFacingProvider.Raw;
|
14
14
|
provider: ClientFacingProvider.Raw;
|
15
|
+
external_user_id?: string | null;
|
15
16
|
resource_availability: Record<string, ResourceAvailability.Raw>;
|
16
17
|
}
|
17
18
|
}
|
@@ -34,5 +34,6 @@ exports.ProviderConnectionCreated = core.serialization.object({
|
|
34
34
|
userId: core.serialization.property("user_id", core.serialization.string()),
|
35
35
|
source: ClientFacingProvider_1.ClientFacingProvider,
|
36
36
|
provider: ClientFacingProvider_1.ClientFacingProvider,
|
37
|
+
externalUserId: core.serialization.property("external_user_id", core.serialization.string().optional()),
|
37
38
|
resourceAvailability: core.serialization.property("resource_availability", core.serialization.record(core.serialization.string(), ResourceAvailability_1.ResourceAvailability)),
|
38
39
|
});
|
@@ -6,6 +6,7 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { HistoricalPullStatus } from "./HistoricalPullStatus";
|
8
8
|
import { HistoricalPullTimeline } from "./HistoricalPullTimeline";
|
9
|
+
import { SingleHistoricalPullStatisticsErrorDetails } from "./SingleHistoricalPullStatisticsErrorDetails";
|
9
10
|
export declare const SingleHistoricalPullStatistics: core.serialization.ObjectSchema<serializers.SingleHistoricalPullStatistics.Raw, Vital.SingleHistoricalPullStatistics>;
|
10
11
|
export declare namespace SingleHistoricalPullStatistics {
|
11
12
|
interface Raw {
|
@@ -16,5 +17,6 @@ export declare namespace SingleHistoricalPullStatistics {
|
|
16
17
|
days_with_data?: number | null;
|
17
18
|
release: string;
|
18
19
|
trace_id?: string | null;
|
20
|
+
error_details?: SingleHistoricalPullStatisticsErrorDetails.Raw | null;
|
19
21
|
}
|
20
22
|
}
|
@@ -30,6 +30,7 @@ exports.SingleHistoricalPullStatistics = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const HistoricalPullStatus_1 = require("./HistoricalPullStatus");
|
32
32
|
const HistoricalPullTimeline_1 = require("./HistoricalPullTimeline");
|
33
|
+
const SingleHistoricalPullStatisticsErrorDetails_1 = require("./SingleHistoricalPullStatisticsErrorDetails");
|
33
34
|
exports.SingleHistoricalPullStatistics = core.serialization.object({
|
34
35
|
status: HistoricalPullStatus_1.HistoricalPullStatus,
|
35
36
|
rangeStart: core.serialization.property("range_start", core.serialization.date().optional()),
|
@@ -38,4 +39,5 @@ exports.SingleHistoricalPullStatistics = core.serialization.object({
|
|
38
39
|
daysWithData: core.serialization.property("days_with_data", core.serialization.number().optional()),
|
39
40
|
release: core.serialization.string(),
|
40
41
|
traceId: core.serialization.property("trace_id", core.serialization.string().optional()),
|
42
|
+
errorDetails: core.serialization.property("error_details", SingleHistoricalPullStatisticsErrorDetails_1.SingleHistoricalPullStatisticsErrorDetails.optional()),
|
41
43
|
});
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { HistoricalPullRetriableErrorDetails } from "./HistoricalPullRetriableErrorDetails";
|
8
|
+
import { HistoricalPullNonRetriableErrorDetails } from "./HistoricalPullNonRetriableErrorDetails";
|
9
|
+
export declare const SingleHistoricalPullStatisticsErrorDetails: core.serialization.Schema<serializers.SingleHistoricalPullStatisticsErrorDetails.Raw, Vital.SingleHistoricalPullStatisticsErrorDetails>;
|
10
|
+
export declare namespace SingleHistoricalPullStatisticsErrorDetails {
|
11
|
+
type Raw = HistoricalPullRetriableErrorDetails.Raw | HistoricalPullNonRetriableErrorDetails.Raw;
|
12
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.SingleHistoricalPullStatisticsErrorDetails = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const HistoricalPullRetriableErrorDetails_1 = require("./HistoricalPullRetriableErrorDetails");
|
32
|
+
const HistoricalPullNonRetriableErrorDetails_1 = require("./HistoricalPullNonRetriableErrorDetails");
|
33
|
+
exports.SingleHistoricalPullStatisticsErrorDetails = core.serialization.undiscriminatedUnion([
|
34
|
+
HistoricalPullRetriableErrorDetails_1.HistoricalPullRetriableErrorDetails,
|
35
|
+
HistoricalPullNonRetriableErrorDetails_1.HistoricalPullNonRetriableErrorDetails,
|
36
|
+
]);
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const TimeseriesResource: core.serialization.Schema<serializers.TimeseriesResource.Raw, Vital.TimeseriesResource>;
|
8
8
|
export declare namespace TimeseriesResource {
|
9
|
-
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
|
9
|
+
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "afib_burden" | "heart_rate_alert" | "stand_hour" | "stand_duration" | "sleep_apnea_alert" | "sleep_breathing_disturbance" | "wheelchair_push" | "forced_expiratory_volume_1" | "forced_vital_capacity" | "peak_expiratory_flow_rate" | "inhaler_usage" | "fall" | "uv_exposure" | "daylight_exposure" | "handwashing" | "basal_body_temperature" | "body_mass_index" | "lean_body_mass" | "waist_circumference" | "heart_rate_recovery_one_minute" | "workout_distance" | "workout_swimming_stroke" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
|
10
10
|
}
|
@@ -77,6 +77,9 @@ exports.TimeseriesResource = core.serialization.enum_([
|
|
77
77
|
"body_mass_index",
|
78
78
|
"lean_body_mass",
|
79
79
|
"waist_circumference",
|
80
|
+
"heart_rate_recovery_one_minute",
|
81
|
+
"workout_distance",
|
82
|
+
"workout_swimming_stroke",
|
80
83
|
"workout_duration",
|
81
84
|
"insulin_injection",
|
82
85
|
"carbohydrates",
|
@@ -91,6 +91,7 @@ export * from "./ClientFacingHandwashingSample";
|
|
91
91
|
export * from "./ClientFacingHeartRate";
|
92
92
|
export * from "./ClientFacingHeartRateAlertSampleType";
|
93
93
|
export * from "./ClientFacingHeartRateAlertSample";
|
94
|
+
export * from "./ClientFacingHeartRateRecoveryOneMinuteSample";
|
94
95
|
export * from "./ClientFacingHeartRateTimeseries";
|
95
96
|
export * from "./ClientFacingHypnogramTimeseries";
|
96
97
|
export * from "./ClientFacingIgeTimeseries";
|
@@ -169,9 +170,11 @@ export * from "./ClientFacingWalkInTestOrder";
|
|
169
170
|
export * from "./ClientFacingWaterTimeseries";
|
170
171
|
export * from "./ClientFacingWheelchairPushSample";
|
171
172
|
export * from "./ClientFacingWorkout";
|
173
|
+
export * from "./ClientFacingWorkoutDistanceSample";
|
172
174
|
export * from "./ClientFacingWorkoutDurationSampleIntensity";
|
173
175
|
export * from "./ClientFacingWorkoutDurationSample";
|
174
176
|
export * from "./ClientFacingWorkoutMap";
|
177
|
+
export * from "./ClientFacingWorkoutSwimmingStrokeSample";
|
175
178
|
export * from "./ClientSleepCycleResponse";
|
176
179
|
export * from "./ClientSleepResponse";
|
177
180
|
export * from "./ClientUserIdConflict";
|
@@ -184,6 +187,9 @@ export * from "./ConnectionRecipe";
|
|
184
187
|
export * from "./Consent";
|
185
188
|
export * from "./ConsentType";
|
186
189
|
export * from "./ContinuousQueryResultTableChanges";
|
190
|
+
export * from "./ContinuousQueryTaskHistoryEntry";
|
191
|
+
export * from "./ContinuousQueryTaskHistoryResponse";
|
192
|
+
export * from "./ContinuousQueryTaskStatus";
|
187
193
|
export * from "./ContraceptiveEntryType";
|
188
194
|
export * from "./ContraceptiveEntry";
|
189
195
|
export * from "./DatePartExprArg";
|
@@ -221,6 +227,8 @@ export * from "./HealthInsuranceCreateRequestBackImage";
|
|
221
227
|
export * from "./HealthInsuranceCreateRequestPatientSignatureImage";
|
222
228
|
export * from "./HealthInsuranceCreateRequest";
|
223
229
|
export * from "./HistoricalPullCompleted";
|
230
|
+
export * from "./HistoricalPullNonRetriableErrorDetails";
|
231
|
+
export * from "./HistoricalPullRetriableErrorDetails";
|
224
232
|
export * from "./HistoricalPullStatus";
|
225
233
|
export * from "./HistoricalPullTimeline";
|
226
234
|
export * from "./HomePregnancyTestEntryTestResult";
|
@@ -326,6 +334,7 @@ export * from "./SexualActivityEntry";
|
|
326
334
|
export * from "./SexualOrientation";
|
327
335
|
export * from "./ShippingAddress";
|
328
336
|
export * from "./ShippingAddressWithValidation";
|
337
|
+
export * from "./SingleHistoricalPullStatisticsErrorDetails";
|
329
338
|
export * from "./SingleHistoricalPullStatistics";
|
330
339
|
export * from "./SingleProviderHistoricalPullResponse";
|
331
340
|
export * from "./SingleResourceStatistics";
|
@@ -367,6 +376,9 @@ export * from "./WorkoutV2InDb";
|
|
367
376
|
export * from "./ClientFacingSampleGroupingKeys";
|
368
377
|
export * from "./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails";
|
369
378
|
export * from "./VitalCoreSchemasDbSchemasLabTestInsurancePersonDetails";
|
379
|
+
export * from "./GroupedWorkoutSwimmingStrokeResponse";
|
380
|
+
export * from "./GroupedWorkoutDistanceResponse";
|
381
|
+
export * from "./GroupedHeartRateRecoveryOneMinuteResponse";
|
370
382
|
export * from "./GroupedWaistCircumferenceResponse";
|
371
383
|
export * from "./GroupedLeanBodyMassResponse";
|
372
384
|
export * from "./GroupedBodyMassIndexResponse";
|
@@ -415,6 +427,9 @@ export * from "./GroupedBodyFatResponse";
|
|
415
427
|
export * from "./GroupedBloodOxygenResponse";
|
416
428
|
export * from "./GroupedElectrocardiogramVoltageResponse";
|
417
429
|
export * from "./GroupedBloodPressureResponse";
|
430
|
+
export * from "./GroupedWorkoutSwimmingStroke";
|
431
|
+
export * from "./GroupedWorkoutDistance";
|
432
|
+
export * from "./GroupedHeartRateRecoveryOneMinute";
|
418
433
|
export * from "./GroupedWaistCircumference";
|
419
434
|
export * from "./GroupedLeanBodyMass";
|
420
435
|
export * from "./GroupedBodyMassIndex";
|
@@ -642,4 +657,13 @@ export * from "./ClientFacingLeanBodyMassHistoricalPullCompleted";
|
|
642
657
|
export * from "./ClientFacingWaistCircumferenceChangedEventType";
|
643
658
|
export * from "./ClientFacingWaistCircumferenceChanged";
|
644
659
|
export * from "./ClientFacingWaistCircumferenceHistoricalPullCompleted";
|
660
|
+
export * from "./ClientFacingHeartRateRecoveryOneMinuteChangedEventType";
|
661
|
+
export * from "./ClientFacingHeartRateRecoveryOneMinuteChanged";
|
662
|
+
export * from "./ClientFacingHeartRateRecoveryOneMinuteHistoricalPullCompleted";
|
663
|
+
export * from "./ClientFacingWorkoutDistanceChangedEventType";
|
664
|
+
export * from "./ClientFacingWorkoutDistanceChanged";
|
665
|
+
export * from "./ClientFacingWorkoutDistanceHistoricalPullCompleted";
|
666
|
+
export * from "./ClientFacingWorkoutSwimmingStrokeChangedEventType";
|
667
|
+
export * from "./ClientFacingWorkoutSwimmingStrokeChanged";
|
668
|
+
export * from "./ClientFacingWorkoutSwimmingStrokeHistoricalPullCompleted";
|
645
669
|
export * from "./Select";
|