@tryvital/vital-node 3.1.287 → 3.1.289
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.js +3 -3
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/electrocardiogram/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +3 -3
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +3 -3
- package/api/resources/labTests/client/Client.js +50 -45
- package/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +4 -1
- 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/team/client/requests/TeamGetSourcePrioritiesRequest.d.ts +2 -1
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +78 -78
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/AggregateExprArg.d.ts +1 -1
- package/api/types/BloodPressureTimeseriesExpr.d.ts +8 -0
- package/api/types/BloodPressureTimeseriesExpr.js +5 -0
- package/api/types/BloodPressureTimeseriesExprField.d.ts +15 -0
- package/api/types/BloodPressureTimeseriesExprField.js +17 -0
- package/api/types/ClientFacingAppointment.d.ts +1 -0
- package/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
- package/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
- package/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
- package/api/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/api/types/DiscreteTimeseriesExpr.d.ts +9 -0
- package/api/types/DiscreteTimeseriesExpr.js +5 -0
- package/api/types/DiscreteTimeseriesExprField.d.ts +14 -0
- package/api/types/DiscreteTimeseriesExprField.js +16 -0
- package/api/types/DiscreteTimeseriesExprTimeseries.d.ts +21 -0
- package/api/types/DiscreteTimeseriesExprTimeseries.js +20 -0
- package/api/types/IndexColumnExprIndex.d.ts +2 -1
- package/api/types/IndexColumnExprIndex.js +1 -0
- package/api/types/IntervalTimeseriesExpr.d.ts +9 -0
- package/api/types/IntervalTimeseriesExpr.js +5 -0
- package/api/types/IntervalTimeseriesExprField.d.ts +15 -0
- package/api/types/IntervalTimeseriesExprField.js +17 -0
- package/api/types/IntervalTimeseriesExprTimeseries.d.ts +42 -0
- package/api/types/IntervalTimeseriesExprTimeseries.js +41 -0
- package/api/types/MealColumnExpr.d.ts +8 -0
- package/api/types/MealColumnExpr.js +5 -0
- package/api/types/MealColumnExprMeal.d.ts +56 -0
- package/api/types/MealColumnExprMeal.js +55 -0
- package/api/types/NoteTimeseriesExpr.d.ts +8 -0
- package/api/types/NoteTimeseriesExpr.js +5 -0
- package/api/types/NoteTimeseriesExprField.d.ts +15 -0
- package/api/types/NoteTimeseriesExprField.js +17 -0
- package/api/types/PriorityResource.d.ts +14 -0
- package/api/types/PriorityResource.js +13 -0
- package/api/types/Query.d.ts +0 -1
- package/api/types/QueryGroupByItem.d.ts +1 -1
- package/api/types/QuerySelectItem.d.ts +1 -1
- package/api/types/SimulationFlags.d.ts +8 -0
- package/api/types/SimulationFlags.js +5 -0
- package/api/types/SourceColumnExpr.d.ts +7 -0
- package/api/types/SourceColumnExpr.js +5 -0
- package/api/types/SourceColumnExprSource.d.ts +11 -0
- package/api/types/SourceColumnExprSource.js +13 -0
- package/api/types/TemperatureTimeseriesExpr.d.ts +9 -0
- package/api/types/TemperatureTimeseriesExpr.js +5 -0
- package/api/types/TemperatureTimeseriesExprField.d.ts +16 -0
- package/api/types/TemperatureTimeseriesExprField.js +18 -0
- package/api/types/TemperatureTimeseriesExprTimeseries.d.ts +11 -0
- package/api/types/TemperatureTimeseriesExprTimeseries.js +10 -0
- package/api/types/WorkoutColumnExprWorkout.d.ts +2 -2
- package/api/types/WorkoutColumnExprWorkout.js +1 -1
- package/api/types/WorkoutDurationTimeseriesExpr.d.ts +8 -0
- package/api/types/WorkoutDurationTimeseriesExpr.js +5 -0
- package/api/types/WorkoutDurationTimeseriesExprField.d.ts +16 -0
- package/api/types/WorkoutDurationTimeseriesExprField.js +18 -0
- package/api/types/index.d.ts +21 -0
- package/api/types/index.js +21 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +3 -3
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/electrocardiogram/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +3 -3
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +3 -3
- package/dist/api/resources/labTests/client/Client.js +50 -45
- package/dist/api/resources/labTests/client/requests/LabTestsSimulateOrderProcessRequest.d.ts +4 -1
- 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/team/client/requests/TeamGetSourcePrioritiesRequest.d.ts +2 -1
- 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.js +78 -78
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/AggregateExprArg.d.ts +1 -1
- package/dist/api/types/BloodPressureTimeseriesExpr.d.ts +8 -0
- package/dist/api/types/BloodPressureTimeseriesExpr.js +5 -0
- package/dist/api/types/BloodPressureTimeseriesExprField.d.ts +15 -0
- package/dist/api/types/BloodPressureTimeseriesExprField.js +17 -0
- package/dist/api/types/ClientFacingAppointment.d.ts +1 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/dist/api/types/ClientFacingSleepCycleSourceType.d.ts +2 -1
- package/dist/api/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/dist/api/types/DiscreteTimeseriesExpr.d.ts +9 -0
- package/dist/api/types/DiscreteTimeseriesExpr.js +5 -0
- package/dist/api/types/DiscreteTimeseriesExprField.d.ts +14 -0
- package/dist/api/types/DiscreteTimeseriesExprField.js +16 -0
- package/dist/api/types/DiscreteTimeseriesExprTimeseries.d.ts +21 -0
- package/dist/api/types/DiscreteTimeseriesExprTimeseries.js +20 -0
- package/dist/api/types/IndexColumnExprIndex.d.ts +2 -1
- package/dist/api/types/IndexColumnExprIndex.js +1 -0
- package/dist/api/types/IntervalTimeseriesExpr.d.ts +9 -0
- package/dist/api/types/IntervalTimeseriesExpr.js +5 -0
- package/dist/api/types/IntervalTimeseriesExprField.d.ts +15 -0
- package/dist/api/types/IntervalTimeseriesExprField.js +17 -0
- package/dist/api/types/IntervalTimeseriesExprTimeseries.d.ts +42 -0
- package/dist/api/types/IntervalTimeseriesExprTimeseries.js +41 -0
- package/dist/api/types/MealColumnExpr.d.ts +8 -0
- package/dist/api/types/MealColumnExpr.js +5 -0
- package/dist/api/types/MealColumnExprMeal.d.ts +56 -0
- package/dist/api/types/MealColumnExprMeal.js +55 -0
- package/dist/api/types/NoteTimeseriesExpr.d.ts +8 -0
- package/dist/api/types/NoteTimeseriesExpr.js +5 -0
- package/dist/api/types/NoteTimeseriesExprField.d.ts +15 -0
- package/dist/api/types/NoteTimeseriesExprField.js +17 -0
- package/dist/api/types/PriorityResource.d.ts +14 -0
- package/dist/api/types/PriorityResource.js +13 -0
- package/dist/api/types/Query.d.ts +0 -1
- package/dist/api/types/QueryGroupByItem.d.ts +1 -1
- package/dist/api/types/QuerySelectItem.d.ts +1 -1
- package/dist/api/types/SimulationFlags.d.ts +8 -0
- package/dist/api/types/SimulationFlags.js +5 -0
- package/dist/api/types/SourceColumnExpr.d.ts +7 -0
- package/dist/api/types/SourceColumnExpr.js +5 -0
- package/dist/api/types/SourceColumnExprSource.d.ts +11 -0
- package/dist/api/types/SourceColumnExprSource.js +13 -0
- package/dist/api/types/TemperatureTimeseriesExpr.d.ts +9 -0
- package/dist/api/types/TemperatureTimeseriesExpr.js +5 -0
- package/dist/api/types/TemperatureTimeseriesExprField.d.ts +16 -0
- package/dist/api/types/TemperatureTimeseriesExprField.js +18 -0
- package/dist/api/types/TemperatureTimeseriesExprTimeseries.d.ts +11 -0
- package/dist/api/types/TemperatureTimeseriesExprTimeseries.js +10 -0
- package/dist/api/types/WorkoutColumnExprWorkout.d.ts +2 -2
- package/dist/api/types/WorkoutColumnExprWorkout.js +1 -1
- package/dist/api/types/WorkoutDurationTimeseriesExpr.d.ts +8 -0
- package/dist/api/types/WorkoutDurationTimeseriesExpr.js +5 -0
- package/dist/api/types/WorkoutDurationTimeseriesExprField.d.ts +16 -0
- package/dist/api/types/WorkoutDurationTimeseriesExprField.js +18 -0
- package/dist/api/types/index.d.ts +21 -0
- package/dist/api/types/index.js +21 -0
- package/dist/serialization/resources/labTests/client/index.d.ts +1 -0
- package/dist/serialization/resources/labTests/client/index.js +2 -1
- package/dist/serialization/resources/labTests/client/simulateOrderProcess.d.ts +11 -0
- package/dist/serialization/resources/labTests/client/simulateOrderProcess.js +8 -0
- package/dist/serialization/types/AggregateExprArg.d.ts +9 -2
- package/dist/serialization/types/AggregateExprArg.js +16 -2
- package/dist/serialization/types/BloodPressureTimeseriesExpr.d.ts +14 -0
- package/dist/serialization/types/BloodPressureTimeseriesExpr.js +35 -0
- package/dist/serialization/types/BloodPressureTimeseriesExprField.d.ts +10 -0
- package/dist/serialization/types/BloodPressureTimeseriesExprField.js +41 -0
- package/dist/serialization/types/ClientFacingAppointment.d.ts +1 -0
- package/dist/serialization/types/ClientFacingAppointment.js +1 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/dist/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
- package/dist/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/dist/serialization/types/DiscreteTimeseriesExpr.d.ts +15 -0
- package/dist/serialization/types/DiscreteTimeseriesExpr.js +36 -0
- package/dist/serialization/types/DiscreteTimeseriesExprField.d.ts +10 -0
- package/dist/serialization/types/DiscreteTimeseriesExprField.js +40 -0
- package/dist/serialization/types/DiscreteTimeseriesExprTimeseries.d.ts +10 -0
- package/dist/serialization/types/DiscreteTimeseriesExprTimeseries.js +44 -0
- package/dist/serialization/types/IndexColumnExprIndex.d.ts +1 -1
- package/dist/serialization/types/IndexColumnExprIndex.js +1 -1
- package/dist/serialization/types/IntervalTimeseriesExpr.d.ts +15 -0
- package/dist/serialization/types/IntervalTimeseriesExpr.js +36 -0
- package/dist/serialization/types/IntervalTimeseriesExprField.d.ts +10 -0
- package/dist/serialization/types/IntervalTimeseriesExprField.js +41 -0
- package/dist/serialization/types/IntervalTimeseriesExprTimeseries.d.ts +10 -0
- package/dist/serialization/types/IntervalTimeseriesExprTimeseries.js +65 -0
- package/dist/serialization/types/MealColumnExpr.d.ts +13 -0
- package/dist/serialization/types/MealColumnExpr.js +34 -0
- package/dist/serialization/types/MealColumnExprMeal.d.ts +10 -0
- package/dist/serialization/types/MealColumnExprMeal.js +79 -0
- package/dist/serialization/types/NoteTimeseriesExpr.d.ts +14 -0
- package/dist/serialization/types/NoteTimeseriesExpr.js +35 -0
- package/dist/serialization/types/NoteTimeseriesExprField.d.ts +10 -0
- package/dist/serialization/types/NoteTimeseriesExprField.js +41 -0
- package/dist/serialization/types/PriorityResource.d.ts +10 -0
- package/dist/serialization/types/PriorityResource.js +31 -0
- package/dist/serialization/types/Query.d.ts +0 -1
- package/dist/serialization/types/Query.js +0 -1
- package/dist/serialization/types/QueryGroupByItem.d.ts +16 -1
- package/dist/serialization/types/QueryGroupByItem.js +34 -1
- package/dist/serialization/types/QuerySelectItem.d.ts +10 -2
- package/dist/serialization/types/QuerySelectItem.js +18 -2
- package/dist/serialization/types/SimulationFlags.d.ts +15 -0
- package/dist/serialization/types/SimulationFlags.js +36 -0
- package/dist/serialization/types/SourceColumnExpr.d.ts +13 -0
- package/dist/serialization/types/SourceColumnExpr.js +34 -0
- package/dist/serialization/types/SourceColumnExprSource.d.ts +10 -0
- package/dist/serialization/types/SourceColumnExprSource.js +31 -0
- package/dist/serialization/types/TemperatureTimeseriesExpr.d.ts +15 -0
- package/dist/serialization/types/TemperatureTimeseriesExpr.js +36 -0
- package/dist/serialization/types/TemperatureTimeseriesExprField.d.ts +10 -0
- package/dist/serialization/types/TemperatureTimeseriesExprField.js +42 -0
- package/dist/serialization/types/TemperatureTimeseriesExprTimeseries.d.ts +10 -0
- package/dist/serialization/types/TemperatureTimeseriesExprTimeseries.js +31 -0
- package/dist/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
- package/dist/serialization/types/WorkoutColumnExprWorkout.js +1 -1
- package/dist/serialization/types/WorkoutDurationTimeseriesExpr.d.ts +14 -0
- package/dist/serialization/types/WorkoutDurationTimeseriesExpr.js +35 -0
- package/dist/serialization/types/WorkoutDurationTimeseriesExprField.d.ts +10 -0
- package/dist/serialization/types/WorkoutDurationTimeseriesExprField.js +42 -0
- package/dist/serialization/types/index.d.ts +21 -0
- package/dist/serialization/types/index.js +21 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +3 -16
- package/serialization/resources/labTests/client/index.d.ts +1 -0
- package/serialization/resources/labTests/client/index.js +2 -1
- package/serialization/resources/labTests/client/simulateOrderProcess.d.ts +11 -0
- package/serialization/resources/labTests/client/simulateOrderProcess.js +8 -0
- package/serialization/types/AggregateExprArg.d.ts +9 -2
- package/serialization/types/AggregateExprArg.js +16 -2
- package/serialization/types/BloodPressureTimeseriesExpr.d.ts +14 -0
- package/serialization/types/BloodPressureTimeseriesExpr.js +35 -0
- package/serialization/types/BloodPressureTimeseriesExprField.d.ts +10 -0
- package/serialization/types/BloodPressureTimeseriesExprField.js +41 -0
- package/serialization/types/ClientFacingAppointment.d.ts +1 -0
- package/serialization/types/ClientFacingAppointment.js +1 -0
- package/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingElectrocardiogramSourceType.js +1 -0
- package/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingMenstrualCycleSourceType.js +1 -0
- package/serialization/types/ClientFacingSleepCycleSourceType.d.ts +1 -1
- package/serialization/types/ClientFacingSleepCycleSourceType.js +1 -0
- package/serialization/types/DiscreteTimeseriesExpr.d.ts +15 -0
- package/serialization/types/DiscreteTimeseriesExpr.js +36 -0
- package/serialization/types/DiscreteTimeseriesExprField.d.ts +10 -0
- package/serialization/types/DiscreteTimeseriesExprField.js +40 -0
- package/serialization/types/DiscreteTimeseriesExprTimeseries.d.ts +10 -0
- package/serialization/types/DiscreteTimeseriesExprTimeseries.js +44 -0
- package/serialization/types/IndexColumnExprIndex.d.ts +1 -1
- package/serialization/types/IndexColumnExprIndex.js +1 -1
- package/serialization/types/IntervalTimeseriesExpr.d.ts +15 -0
- package/serialization/types/IntervalTimeseriesExpr.js +36 -0
- package/serialization/types/IntervalTimeseriesExprField.d.ts +10 -0
- package/serialization/types/IntervalTimeseriesExprField.js +41 -0
- package/serialization/types/IntervalTimeseriesExprTimeseries.d.ts +10 -0
- package/serialization/types/IntervalTimeseriesExprTimeseries.js +65 -0
- package/serialization/types/MealColumnExpr.d.ts +13 -0
- package/serialization/types/MealColumnExpr.js +34 -0
- package/serialization/types/MealColumnExprMeal.d.ts +10 -0
- package/serialization/types/MealColumnExprMeal.js +79 -0
- package/serialization/types/NoteTimeseriesExpr.d.ts +14 -0
- package/serialization/types/NoteTimeseriesExpr.js +35 -0
- package/serialization/types/NoteTimeseriesExprField.d.ts +10 -0
- package/serialization/types/NoteTimeseriesExprField.js +41 -0
- package/serialization/types/PriorityResource.d.ts +10 -0
- package/serialization/types/PriorityResource.js +31 -0
- package/serialization/types/Query.d.ts +0 -1
- package/serialization/types/Query.js +0 -1
- package/serialization/types/QueryGroupByItem.d.ts +16 -1
- package/serialization/types/QueryGroupByItem.js +34 -1
- package/serialization/types/QuerySelectItem.d.ts +10 -2
- package/serialization/types/QuerySelectItem.js +18 -2
- package/serialization/types/SimulationFlags.d.ts +15 -0
- package/serialization/types/SimulationFlags.js +36 -0
- package/serialization/types/SourceColumnExpr.d.ts +13 -0
- package/serialization/types/SourceColumnExpr.js +34 -0
- package/serialization/types/SourceColumnExprSource.d.ts +10 -0
- package/serialization/types/SourceColumnExprSource.js +31 -0
- package/serialization/types/TemperatureTimeseriesExpr.d.ts +15 -0
- package/serialization/types/TemperatureTimeseriesExpr.js +36 -0
- package/serialization/types/TemperatureTimeseriesExprField.d.ts +10 -0
- package/serialization/types/TemperatureTimeseriesExprField.js +42 -0
- package/serialization/types/TemperatureTimeseriesExprTimeseries.d.ts +10 -0
- package/serialization/types/TemperatureTimeseriesExprTimeseries.js +31 -0
- package/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
- package/serialization/types/WorkoutColumnExprWorkout.js +1 -1
- package/serialization/types/WorkoutDurationTimeseriesExpr.d.ts +14 -0
- package/serialization/types/WorkoutDurationTimeseriesExpr.js +35 -0
- package/serialization/types/WorkoutDurationTimeseriesExprField.d.ts +10 -0
- package/serialization/types/WorkoutDurationTimeseriesExprField.js +42 -0
- package/serialization/types/index.d.ts +21 -0
- package/serialization/types/index.js +21 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -6,7 +6,22 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
import { DateTruncExpr } from "./DateTruncExpr";
|
|
8
8
|
import { DatePartExpr } from "./DatePartExpr";
|
|
9
|
+
import { SleepColumnExpr } from "./SleepColumnExpr";
|
|
10
|
+
import { ActivityColumnExpr } from "./ActivityColumnExpr";
|
|
11
|
+
import { WorkoutColumnExpr } from "./WorkoutColumnExpr";
|
|
12
|
+
import { BodyColumnExpr } from "./BodyColumnExpr";
|
|
13
|
+
import { MealColumnExpr } from "./MealColumnExpr";
|
|
14
|
+
import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
|
|
15
|
+
import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
|
|
16
|
+
import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
|
|
17
|
+
import { DiscreteTimeseriesExpr } from "./DiscreteTimeseriesExpr";
|
|
18
|
+
import { IntervalTimeseriesExpr } from "./IntervalTimeseriesExpr";
|
|
19
|
+
import { BloodPressureTimeseriesExpr } from "./BloodPressureTimeseriesExpr";
|
|
20
|
+
import { TemperatureTimeseriesExpr } from "./TemperatureTimeseriesExpr";
|
|
21
|
+
import { WorkoutDurationTimeseriesExpr } from "./WorkoutDurationTimeseriesExpr";
|
|
22
|
+
import { NoteTimeseriesExpr } from "./NoteTimeseriesExpr";
|
|
23
|
+
import { SourceColumnExpr } from "./SourceColumnExpr";
|
|
9
24
|
export declare const QueryGroupByItem: core.serialization.Schema<serializers.QueryGroupByItem.Raw, Vital.QueryGroupByItem>;
|
|
10
25
|
export declare namespace QueryGroupByItem {
|
|
11
|
-
type Raw = DateTruncExpr.Raw | DatePartExpr.Raw;
|
|
26
|
+
type Raw = DateTruncExpr.Raw | DatePartExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | SourceColumnExpr.Raw;
|
|
12
27
|
}
|
|
@@ -30,4 +30,37 @@ exports.QueryGroupByItem = void 0;
|
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
const DateTruncExpr_1 = require("./DateTruncExpr");
|
|
32
32
|
const DatePartExpr_1 = require("./DatePartExpr");
|
|
33
|
-
|
|
33
|
+
const SleepColumnExpr_1 = require("./SleepColumnExpr");
|
|
34
|
+
const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
|
|
35
|
+
const WorkoutColumnExpr_1 = require("./WorkoutColumnExpr");
|
|
36
|
+
const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
|
37
|
+
const MealColumnExpr_1 = require("./MealColumnExpr");
|
|
38
|
+
const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
|
|
39
|
+
const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
|
|
40
|
+
const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
|
|
41
|
+
const DiscreteTimeseriesExpr_1 = require("./DiscreteTimeseriesExpr");
|
|
42
|
+
const IntervalTimeseriesExpr_1 = require("./IntervalTimeseriesExpr");
|
|
43
|
+
const BloodPressureTimeseriesExpr_1 = require("./BloodPressureTimeseriesExpr");
|
|
44
|
+
const TemperatureTimeseriesExpr_1 = require("./TemperatureTimeseriesExpr");
|
|
45
|
+
const WorkoutDurationTimeseriesExpr_1 = require("./WorkoutDurationTimeseriesExpr");
|
|
46
|
+
const NoteTimeseriesExpr_1 = require("./NoteTimeseriesExpr");
|
|
47
|
+
const SourceColumnExpr_1 = require("./SourceColumnExpr");
|
|
48
|
+
exports.QueryGroupByItem = core.serialization.undiscriminatedUnion([
|
|
49
|
+
DateTruncExpr_1.DateTruncExpr,
|
|
50
|
+
DatePartExpr_1.DatePartExpr,
|
|
51
|
+
SleepColumnExpr_1.SleepColumnExpr,
|
|
52
|
+
ActivityColumnExpr_1.ActivityColumnExpr,
|
|
53
|
+
WorkoutColumnExpr_1.WorkoutColumnExpr,
|
|
54
|
+
BodyColumnExpr_1.BodyColumnExpr,
|
|
55
|
+
MealColumnExpr_1.MealColumnExpr,
|
|
56
|
+
SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
|
|
57
|
+
ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
|
|
58
|
+
UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
|
|
59
|
+
DiscreteTimeseriesExpr_1.DiscreteTimeseriesExpr,
|
|
60
|
+
IntervalTimeseriesExpr_1.IntervalTimeseriesExpr,
|
|
61
|
+
BloodPressureTimeseriesExpr_1.BloodPressureTimeseriesExpr,
|
|
62
|
+
TemperatureTimeseriesExpr_1.TemperatureTimeseriesExpr,
|
|
63
|
+
WorkoutDurationTimeseriesExpr_1.WorkoutDurationTimeseriesExpr,
|
|
64
|
+
NoteTimeseriesExpr_1.NoteTimeseriesExpr,
|
|
65
|
+
SourceColumnExpr_1.SourceColumnExpr,
|
|
66
|
+
]);
|
|
@@ -10,11 +10,19 @@ import { SleepColumnExpr } from "./SleepColumnExpr";
|
|
|
10
10
|
import { ActivityColumnExpr } from "./ActivityColumnExpr";
|
|
11
11
|
import { WorkoutColumnExpr } from "./WorkoutColumnExpr";
|
|
12
12
|
import { BodyColumnExpr } from "./BodyColumnExpr";
|
|
13
|
-
import {
|
|
13
|
+
import { MealColumnExpr } from "./MealColumnExpr";
|
|
14
14
|
import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
|
|
15
15
|
import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
|
|
16
16
|
import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
|
|
17
|
+
import { DiscreteTimeseriesExpr } from "./DiscreteTimeseriesExpr";
|
|
18
|
+
import { IntervalTimeseriesExpr } from "./IntervalTimeseriesExpr";
|
|
19
|
+
import { BloodPressureTimeseriesExpr } from "./BloodPressureTimeseriesExpr";
|
|
20
|
+
import { TemperatureTimeseriesExpr } from "./TemperatureTimeseriesExpr";
|
|
21
|
+
import { WorkoutDurationTimeseriesExpr } from "./WorkoutDurationTimeseriesExpr";
|
|
22
|
+
import { NoteTimeseriesExpr } from "./NoteTimeseriesExpr";
|
|
23
|
+
import { IndexColumnExpr } from "./IndexColumnExpr";
|
|
24
|
+
import { SourceColumnExpr } from "./SourceColumnExpr";
|
|
17
25
|
export declare const QuerySelectItem: core.serialization.Schema<serializers.QuerySelectItem.Raw, Vital.QuerySelectItem>;
|
|
18
26
|
export declare namespace QuerySelectItem {
|
|
19
|
-
type Raw = AggregateExpr.Raw | GroupKeyColumnExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw |
|
|
27
|
+
type Raw = AggregateExpr.Raw | GroupKeyColumnExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw | SourceColumnExpr.Raw;
|
|
20
28
|
}
|
|
@@ -34,10 +34,18 @@ const SleepColumnExpr_1 = require("./SleepColumnExpr");
|
|
|
34
34
|
const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
|
|
35
35
|
const WorkoutColumnExpr_1 = require("./WorkoutColumnExpr");
|
|
36
36
|
const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
|
37
|
-
const
|
|
37
|
+
const MealColumnExpr_1 = require("./MealColumnExpr");
|
|
38
38
|
const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
|
|
39
39
|
const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
|
|
40
40
|
const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
|
|
41
|
+
const DiscreteTimeseriesExpr_1 = require("./DiscreteTimeseriesExpr");
|
|
42
|
+
const IntervalTimeseriesExpr_1 = require("./IntervalTimeseriesExpr");
|
|
43
|
+
const BloodPressureTimeseriesExpr_1 = require("./BloodPressureTimeseriesExpr");
|
|
44
|
+
const TemperatureTimeseriesExpr_1 = require("./TemperatureTimeseriesExpr");
|
|
45
|
+
const WorkoutDurationTimeseriesExpr_1 = require("./WorkoutDurationTimeseriesExpr");
|
|
46
|
+
const NoteTimeseriesExpr_1 = require("./NoteTimeseriesExpr");
|
|
47
|
+
const IndexColumnExpr_1 = require("./IndexColumnExpr");
|
|
48
|
+
const SourceColumnExpr_1 = require("./SourceColumnExpr");
|
|
41
49
|
exports.QuerySelectItem = core.serialization.undiscriminatedUnion([
|
|
42
50
|
AggregateExpr_1.AggregateExpr,
|
|
43
51
|
GroupKeyColumnExpr_1.GroupKeyColumnExpr,
|
|
@@ -45,8 +53,16 @@ exports.QuerySelectItem = core.serialization.undiscriminatedUnion([
|
|
|
45
53
|
ActivityColumnExpr_1.ActivityColumnExpr,
|
|
46
54
|
WorkoutColumnExpr_1.WorkoutColumnExpr,
|
|
47
55
|
BodyColumnExpr_1.BodyColumnExpr,
|
|
48
|
-
|
|
56
|
+
MealColumnExpr_1.MealColumnExpr,
|
|
49
57
|
SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
|
|
50
58
|
ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
|
|
51
59
|
UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
|
|
60
|
+
DiscreteTimeseriesExpr_1.DiscreteTimeseriesExpr,
|
|
61
|
+
IntervalTimeseriesExpr_1.IntervalTimeseriesExpr,
|
|
62
|
+
BloodPressureTimeseriesExpr_1.BloodPressureTimeseriesExpr,
|
|
63
|
+
TemperatureTimeseriesExpr_1.TemperatureTimeseriesExpr,
|
|
64
|
+
WorkoutDurationTimeseriesExpr_1.WorkoutDurationTimeseriesExpr,
|
|
65
|
+
NoteTimeseriesExpr_1.NoteTimeseriesExpr,
|
|
66
|
+
IndexColumnExpr_1.IndexColumnExpr,
|
|
67
|
+
SourceColumnExpr_1.SourceColumnExpr,
|
|
52
68
|
]);
|
|
@@ -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 { Interpretation } from "./Interpretation";
|
|
8
|
+
import { ResultType } from "./ResultType";
|
|
9
|
+
export declare const SimulationFlags: core.serialization.ObjectSchema<serializers.SimulationFlags.Raw, Vital.SimulationFlags>;
|
|
10
|
+
export declare namespace SimulationFlags {
|
|
11
|
+
interface Raw {
|
|
12
|
+
interpretation?: Interpretation.Raw | null;
|
|
13
|
+
result_types?: ResultType.Raw[] | 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.SimulationFlags = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const Interpretation_1 = require("./Interpretation");
|
|
32
|
+
const ResultType_1 = require("./ResultType");
|
|
33
|
+
exports.SimulationFlags = core.serialization.object({
|
|
34
|
+
interpretation: Interpretation_1.Interpretation.optional(),
|
|
35
|
+
resultTypes: core.serialization.property("result_types", core.serialization.list(ResultType_1.ResultType).optional()),
|
|
36
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
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 { SourceColumnExprSource } from "./SourceColumnExprSource";
|
|
8
|
+
export declare const SourceColumnExpr: core.serialization.ObjectSchema<serializers.SourceColumnExpr.Raw, Vital.SourceColumnExpr>;
|
|
9
|
+
export declare namespace SourceColumnExpr {
|
|
10
|
+
interface Raw {
|
|
11
|
+
source: SourceColumnExprSource.Raw;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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.SourceColumnExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const SourceColumnExprSource_1 = require("./SourceColumnExprSource");
|
|
32
|
+
exports.SourceColumnExpr = core.serialization.object({
|
|
33
|
+
source: SourceColumnExprSource_1.SourceColumnExprSource,
|
|
34
|
+
});
|
|
@@ -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 SourceColumnExprSource: core.serialization.Schema<serializers.SourceColumnExprSource.Raw, Vital.SourceColumnExprSource>;
|
|
8
|
+
export declare namespace SourceColumnExprSource {
|
|
9
|
+
type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport";
|
|
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.SourceColumnExprSource = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.SourceColumnExprSource = core.serialization.enum_(["source_provider", "source_type", "source_app_id", "source_workout_id", "source_sport"]);
|
|
@@ -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 { TemperatureTimeseriesExprTimeseries } from "./TemperatureTimeseriesExprTimeseries";
|
|
8
|
+
import { TemperatureTimeseriesExprField } from "./TemperatureTimeseriesExprField";
|
|
9
|
+
export declare const TemperatureTimeseriesExpr: core.serialization.ObjectSchema<serializers.TemperatureTimeseriesExpr.Raw, Vital.TemperatureTimeseriesExpr>;
|
|
10
|
+
export declare namespace TemperatureTimeseriesExpr {
|
|
11
|
+
interface Raw {
|
|
12
|
+
timeseries: TemperatureTimeseriesExprTimeseries.Raw;
|
|
13
|
+
field: TemperatureTimeseriesExprField.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.TemperatureTimeseriesExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const TemperatureTimeseriesExprTimeseries_1 = require("./TemperatureTimeseriesExprTimeseries");
|
|
32
|
+
const TemperatureTimeseriesExprField_1 = require("./TemperatureTimeseriesExprField");
|
|
33
|
+
exports.TemperatureTimeseriesExpr = core.serialization.object({
|
|
34
|
+
timeseries: TemperatureTimeseriesExprTimeseries_1.TemperatureTimeseriesExprTimeseries,
|
|
35
|
+
field: TemperatureTimeseriesExprField_1.TemperatureTimeseriesExprField,
|
|
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 TemperatureTimeseriesExprField: core.serialization.Schema<serializers.TemperatureTimeseriesExprField.Raw, Vital.TemperatureTimeseriesExprField>;
|
|
8
|
+
export declare namespace TemperatureTimeseriesExprField {
|
|
9
|
+
type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "sensor_location";
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.TemperatureTimeseriesExprField = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TemperatureTimeseriesExprField = core.serialization.enum_([
|
|
32
|
+
"source_provider",
|
|
33
|
+
"source_type",
|
|
34
|
+
"source_app_id",
|
|
35
|
+
"source_workout_id",
|
|
36
|
+
"source_sport",
|
|
37
|
+
"timezone_offset",
|
|
38
|
+
"type",
|
|
39
|
+
"duration",
|
|
40
|
+
"value",
|
|
41
|
+
"sensor_location",
|
|
42
|
+
]);
|
|
@@ -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 TemperatureTimeseriesExprTimeseries: core.serialization.Schema<serializers.TemperatureTimeseriesExprTimeseries.Raw, Vital.TemperatureTimeseriesExprTimeseries>;
|
|
8
|
+
export declare namespace TemperatureTimeseriesExprTimeseries {
|
|
9
|
+
type Raw = "body_temperature" | "body_temperature_delta";
|
|
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.TemperatureTimeseriesExprTimeseries = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.TemperatureTimeseriesExprTimeseries = core.serialization.enum_(["body_temperature", "body_temperature_delta"]);
|
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const WorkoutColumnExprWorkout: core.serialization.Schema<serializers.WorkoutColumnExprWorkout.Raw, Vital.WorkoutColumnExprWorkout>;
|
|
8
8
|
export declare namespace WorkoutColumnExprWorkout {
|
|
9
|
-
type Raw = "session_start" | "session_end" | "title" | "sport_name" | "sport_slug" | "duration_active_second" | "heart_rate_mean" | "heart_rate_minimum" | "heart_rate_maximum" | "heart_rate_zone_1" | "heart_rate_zone_2" | "heart_rate_zone_3" | "heart_rate_zone_4" | "heart_rate_zone_5" | "heart_rate_zone_6" | "distance_meter" | "calories" | "elevation_gain_meter" | "elevation_maximum_meter" | "elevation_minimum_meter" | "speed_mean" | "speed_maximum" | "power_source" | "power_mean" | "power_maximum" | "power_weighted_mean" | "steps" | "map_polyline" | "map_summary_polyline" | "source_type" | "source_provider" | "source_app_id" | "
|
|
9
|
+
type Raw = "session_start" | "session_end" | "title" | "sport_name" | "sport_slug" | "duration_active_second" | "heart_rate_mean" | "heart_rate_minimum" | "heart_rate_maximum" | "heart_rate_zone_1" | "heart_rate_zone_2" | "heart_rate_zone_3" | "heart_rate_zone_4" | "heart_rate_zone_5" | "heart_rate_zone_6" | "distance_meter" | "calories" | "elevation_gain_meter" | "elevation_maximum_meter" | "elevation_minimum_meter" | "speed_mean" | "speed_maximum" | "power_source" | "power_mean" | "power_maximum" | "power_weighted_mean" | "steps" | "map_polyline" | "map_summary_polyline" | "source_type" | "source_provider" | "source_app_id" | "external_id" | "time_zone";
|
|
10
10
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
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 { WorkoutDurationTimeseriesExprField } from "./WorkoutDurationTimeseriesExprField";
|
|
8
|
+
export declare const WorkoutDurationTimeseriesExpr: core.serialization.ObjectSchema<serializers.WorkoutDurationTimeseriesExpr.Raw, Vital.WorkoutDurationTimeseriesExpr>;
|
|
9
|
+
export declare namespace WorkoutDurationTimeseriesExpr {
|
|
10
|
+
interface Raw {
|
|
11
|
+
timeseries: "workout_duration";
|
|
12
|
+
field: WorkoutDurationTimeseriesExprField.Raw;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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.WorkoutDurationTimeseriesExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const WorkoutDurationTimeseriesExprField_1 = require("./WorkoutDurationTimeseriesExprField");
|
|
32
|
+
exports.WorkoutDurationTimeseriesExpr = core.serialization.object({
|
|
33
|
+
timeseries: core.serialization.stringLiteral("workout_duration"),
|
|
34
|
+
field: WorkoutDurationTimeseriesExprField_1.WorkoutDurationTimeseriesExprField,
|
|
35
|
+
});
|
|
@@ -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 WorkoutDurationTimeseriesExprField: core.serialization.Schema<serializers.WorkoutDurationTimeseriesExprField.Raw, Vital.WorkoutDurationTimeseriesExprField>;
|
|
8
|
+
export declare namespace WorkoutDurationTimeseriesExprField {
|
|
9
|
+
type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "intensity";
|
|
10
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.WorkoutDurationTimeseriesExprField = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.WorkoutDurationTimeseriesExprField = core.serialization.enum_([
|
|
32
|
+
"source_provider",
|
|
33
|
+
"source_type",
|
|
34
|
+
"source_app_id",
|
|
35
|
+
"source_workout_id",
|
|
36
|
+
"source_sport",
|
|
37
|
+
"timezone_offset",
|
|
38
|
+
"type",
|
|
39
|
+
"duration",
|
|
40
|
+
"value",
|
|
41
|
+
"intensity",
|
|
42
|
+
]);
|
|
@@ -29,6 +29,8 @@ export * from "./Availability";
|
|
|
29
29
|
export * from "./BasalBodyTemperatureEntry";
|
|
30
30
|
export * from "./Billing";
|
|
31
31
|
export * from "./BiomarkerResult";
|
|
32
|
+
export * from "./BloodPressureTimeseriesExprField";
|
|
33
|
+
export * from "./BloodPressureTimeseriesExpr";
|
|
32
34
|
export * from "./BodyColumnExprBody";
|
|
33
35
|
export * from "./BodyColumnExpr";
|
|
34
36
|
export * from "./BodyV2InDb";
|
|
@@ -206,6 +208,9 @@ export * from "./DemoProviders";
|
|
|
206
208
|
export * from "./DetectedDeviationEntryDeviation";
|
|
207
209
|
export * from "./DetectedDeviationEntry";
|
|
208
210
|
export * from "./DeviceV2InDb";
|
|
211
|
+
export * from "./DiscreteTimeseriesExprTimeseries";
|
|
212
|
+
export * from "./DiscreteTimeseriesExprField";
|
|
213
|
+
export * from "./DiscreteTimeseriesExpr";
|
|
209
214
|
export * from "./EmailProviders";
|
|
210
215
|
export * from "./Energy";
|
|
211
216
|
export * from "./Ethnicity";
|
|
@@ -241,6 +246,9 @@ export * from "./IndexColumnExprIndex";
|
|
|
241
246
|
export * from "./IndexColumnExpr";
|
|
242
247
|
export * from "./IntermenstrualBleedingEntry";
|
|
243
248
|
export * from "./Interpretation";
|
|
249
|
+
export * from "./IntervalTimeseriesExprTimeseries";
|
|
250
|
+
export * from "./IntervalTimeseriesExprField";
|
|
251
|
+
export * from "./IntervalTimeseriesExpr";
|
|
244
252
|
export * from "./Jpeg";
|
|
245
253
|
export * from "./LabLocationMetadata";
|
|
246
254
|
export * from "./LabResultsMetadata";
|
|
@@ -259,6 +267,8 @@ export * from "./LngLat";
|
|
|
259
267
|
export * from "./Macros";
|
|
260
268
|
export * from "./ManualProviders";
|
|
261
269
|
export * from "./MarkerType";
|
|
270
|
+
export * from "./MealColumnExprMeal";
|
|
271
|
+
export * from "./MealColumnExpr";
|
|
262
272
|
export * from "./MealInDbBaseClientFacingSource";
|
|
263
273
|
export * from "./MenstrualCycleResponse";
|
|
264
274
|
export * from "./MenstrualFlowEntryFlow";
|
|
@@ -267,6 +277,8 @@ export * from "./MetricsResult";
|
|
|
267
277
|
export * from "./Micros";
|
|
268
278
|
export * from "./Minerals";
|
|
269
279
|
export * from "./MissingBiomarkerResult";
|
|
280
|
+
export * from "./NoteTimeseriesExprField";
|
|
281
|
+
export * from "./NoteTimeseriesExpr";
|
|
270
282
|
export * from "./OAuthProviders";
|
|
271
283
|
export * from "./OrderActivationType";
|
|
272
284
|
export * from "./OrderLowLevelStatus";
|
|
@@ -297,6 +309,7 @@ export * from "./PhysicianCreateRequestBase";
|
|
|
297
309
|
export * from "./Placeholder";
|
|
298
310
|
export * from "./Png";
|
|
299
311
|
export * from "./PostOrderResponse";
|
|
312
|
+
export * from "./PriorityResource";
|
|
300
313
|
export * from "./ProfileInDb";
|
|
301
314
|
export * from "./ProviderConnectionCreated";
|
|
302
315
|
export * from "./ProviderConnectionErrorErrorType";
|
|
@@ -337,6 +350,7 @@ export * from "./SexualActivityEntry";
|
|
|
337
350
|
export * from "./SexualOrientation";
|
|
338
351
|
export * from "./ShippingAddress";
|
|
339
352
|
export * from "./ShippingAddressWithValidation";
|
|
353
|
+
export * from "./SimulationFlags";
|
|
340
354
|
export * from "./SingleHistoricalPullStatisticsErrorDetails";
|
|
341
355
|
export * from "./SingleHistoricalPullStatistics";
|
|
342
356
|
export * from "./SingleProviderHistoricalPullResponse";
|
|
@@ -351,9 +365,14 @@ export * from "./SleepType";
|
|
|
351
365
|
export * from "./SleepV2InDb";
|
|
352
366
|
export * from "./Source";
|
|
353
367
|
export * from "./SourceAuthType";
|
|
368
|
+
export * from "./SourceColumnExprSource";
|
|
369
|
+
export * from "./SourceColumnExpr";
|
|
354
370
|
export * from "./SourceLink";
|
|
355
371
|
export * from "./SourceType";
|
|
356
372
|
export * from "./TeamConfig";
|
|
373
|
+
export * from "./TemperatureTimeseriesExprTimeseries";
|
|
374
|
+
export * from "./TemperatureTimeseriesExprField";
|
|
375
|
+
export * from "./TemperatureTimeseriesExpr";
|
|
357
376
|
export * from "./TimeSlot";
|
|
358
377
|
export * from "./TimeseriesMetricPoint";
|
|
359
378
|
export * from "./TimeseriesResource";
|
|
@@ -375,6 +394,8 @@ export * from "./VitalTokenCreatedResponse";
|
|
|
375
394
|
export * from "./Vitamins";
|
|
376
395
|
export * from "./WorkoutColumnExprWorkout";
|
|
377
396
|
export * from "./WorkoutColumnExpr";
|
|
397
|
+
export * from "./WorkoutDurationTimeseriesExprField";
|
|
398
|
+
export * from "./WorkoutDurationTimeseriesExpr";
|
|
378
399
|
export * from "./WorkoutV2InDb";
|
|
379
400
|
export * from "./ClientFacingSampleGroupingKeys";
|
|
380
401
|
export * from "./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails";
|