@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
|
@@ -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.DiscreteTimeseriesExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const DiscreteTimeseriesExprTimeseries_1 = require("./DiscreteTimeseriesExprTimeseries");
|
|
32
|
+
const DiscreteTimeseriesExprField_1 = require("./DiscreteTimeseriesExprField");
|
|
33
|
+
exports.DiscreteTimeseriesExpr = core.serialization.object({
|
|
34
|
+
timeseries: DiscreteTimeseriesExprTimeseries_1.DiscreteTimeseriesExprTimeseries,
|
|
35
|
+
field: DiscreteTimeseriesExprField_1.DiscreteTimeseriesExprField,
|
|
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 DiscreteTimeseriesExprField: core.serialization.Schema<serializers.DiscreteTimeseriesExprField.Raw, Vital.DiscreteTimeseriesExprField>;
|
|
8
|
+
export declare namespace DiscreteTimeseriesExprField {
|
|
9
|
+
type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "value";
|
|
10
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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.DiscreteTimeseriesExprField = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DiscreteTimeseriesExprField = 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
|
+
"value",
|
|
40
|
+
]);
|
|
@@ -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 DiscreteTimeseriesExprTimeseries: core.serialization.Schema<serializers.DiscreteTimeseriesExprTimeseries.Raw, Vital.DiscreteTimeseriesExprTimeseries>;
|
|
8
|
+
export declare namespace DiscreteTimeseriesExprTimeseries {
|
|
9
|
+
type Raw = "glucose" | "heartrate" | "hrv" | "ige" | "igg" | "cholesterol" | "weight" | "fat" | "blood_oxygen" | "electrocardiogram_voltage" | "respiratory_rate" | "stress_level";
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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.DiscreteTimeseriesExprTimeseries = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.DiscreteTimeseriesExprTimeseries = core.serialization.enum_([
|
|
32
|
+
"glucose",
|
|
33
|
+
"heartrate",
|
|
34
|
+
"hrv",
|
|
35
|
+
"ige",
|
|
36
|
+
"igg",
|
|
37
|
+
"cholesterol",
|
|
38
|
+
"weight",
|
|
39
|
+
"fat",
|
|
40
|
+
"blood_oxygen",
|
|
41
|
+
"electrocardiogram_voltage",
|
|
42
|
+
"respiratory_rate",
|
|
43
|
+
"stress_level",
|
|
44
|
+
]);
|
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const IndexColumnExprIndex: core.serialization.Schema<serializers.IndexColumnExprIndex.Raw, Vital.IndexColumnExprIndex>;
|
|
8
8
|
export declare namespace IndexColumnExprIndex {
|
|
9
|
-
type Raw = "sleep" | "activity" | "workout" | "body" | "meal";
|
|
9
|
+
type Raw = "sleep" | "activity" | "workout" | "body" | "meal" | "timeseries";
|
|
10
10
|
}
|
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
29
|
exports.IndexColumnExprIndex = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
|
-
exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body", "meal"]);
|
|
31
|
+
exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body", "meal", "timeseries"]);
|
|
@@ -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 { IntervalTimeseriesExprTimeseries } from "./IntervalTimeseriesExprTimeseries";
|
|
8
|
+
import { IntervalTimeseriesExprField } from "./IntervalTimeseriesExprField";
|
|
9
|
+
export declare const IntervalTimeseriesExpr: core.serialization.ObjectSchema<serializers.IntervalTimeseriesExpr.Raw, Vital.IntervalTimeseriesExpr>;
|
|
10
|
+
export declare namespace IntervalTimeseriesExpr {
|
|
11
|
+
interface Raw {
|
|
12
|
+
timeseries: IntervalTimeseriesExprTimeseries.Raw;
|
|
13
|
+
field: IntervalTimeseriesExprField.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.IntervalTimeseriesExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const IntervalTimeseriesExprTimeseries_1 = require("./IntervalTimeseriesExprTimeseries");
|
|
32
|
+
const IntervalTimeseriesExprField_1 = require("./IntervalTimeseriesExprField");
|
|
33
|
+
exports.IntervalTimeseriesExpr = core.serialization.object({
|
|
34
|
+
timeseries: IntervalTimeseriesExprTimeseries_1.IntervalTimeseriesExprTimeseries,
|
|
35
|
+
field: IntervalTimeseriesExprField_1.IntervalTimeseriesExprField,
|
|
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 IntervalTimeseriesExprField: core.serialization.Schema<serializers.IntervalTimeseriesExprField.Raw, Vital.IntervalTimeseriesExprField>;
|
|
8
|
+
export declare namespace IntervalTimeseriesExprField {
|
|
9
|
+
type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.IntervalTimeseriesExprField = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.IntervalTimeseriesExprField = 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
|
+
]);
|
|
@@ -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 IntervalTimeseriesExprTimeseries: core.serialization.Schema<serializers.IntervalTimeseriesExprTimeseries.Raw, Vital.IntervalTimeseriesExprTimeseries>;
|
|
8
|
+
export declare namespace IntervalTimeseriesExprTimeseries {
|
|
9
|
+
type Raw = "steps" | "distance" | "vo2_max" | "heart_rate_alert" | "stand_hour" | "sleep_breathing_disturbance" | "insulin_injection" | "water" | "caffeine" | "mindfulness_minutes" | "calories_active" | "floors_climbed" | "calories_basal" | "afib_burden" | "stand_duration" | "sleep_apnea_alert" | "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_swimming_stroke" | "workout_distance" | "carbohydrates";
|
|
10
|
+
}
|
|
@@ -0,0 +1,65 @@
|
|
|
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.IntervalTimeseriesExprTimeseries = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.IntervalTimeseriesExprTimeseries = core.serialization.enum_([
|
|
32
|
+
"steps",
|
|
33
|
+
"distance",
|
|
34
|
+
"vo2_max",
|
|
35
|
+
"heart_rate_alert",
|
|
36
|
+
"stand_hour",
|
|
37
|
+
"sleep_breathing_disturbance",
|
|
38
|
+
"insulin_injection",
|
|
39
|
+
"water",
|
|
40
|
+
"caffeine",
|
|
41
|
+
"mindfulness_minutes",
|
|
42
|
+
"calories_active",
|
|
43
|
+
"floors_climbed",
|
|
44
|
+
"calories_basal",
|
|
45
|
+
"afib_burden",
|
|
46
|
+
"stand_duration",
|
|
47
|
+
"sleep_apnea_alert",
|
|
48
|
+
"wheelchair_push",
|
|
49
|
+
"forced_expiratory_volume_1",
|
|
50
|
+
"forced_vital_capacity",
|
|
51
|
+
"peak_expiratory_flow_rate",
|
|
52
|
+
"inhaler_usage",
|
|
53
|
+
"fall",
|
|
54
|
+
"uv_exposure",
|
|
55
|
+
"daylight_exposure",
|
|
56
|
+
"handwashing",
|
|
57
|
+
"basal_body_temperature",
|
|
58
|
+
"body_mass_index",
|
|
59
|
+
"lean_body_mass",
|
|
60
|
+
"waist_circumference",
|
|
61
|
+
"heart_rate_recovery_one_minute",
|
|
62
|
+
"workout_swimming_stroke",
|
|
63
|
+
"workout_distance",
|
|
64
|
+
"carbohydrates",
|
|
65
|
+
]);
|
|
@@ -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 { MealColumnExprMeal } from "./MealColumnExprMeal";
|
|
8
|
+
export declare const MealColumnExpr: core.serialization.ObjectSchema<serializers.MealColumnExpr.Raw, Vital.MealColumnExpr>;
|
|
9
|
+
export declare namespace MealColumnExpr {
|
|
10
|
+
interface Raw {
|
|
11
|
+
meal: MealColumnExprMeal.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.MealColumnExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const MealColumnExprMeal_1 = require("./MealColumnExprMeal");
|
|
32
|
+
exports.MealColumnExpr = core.serialization.object({
|
|
33
|
+
meal: MealColumnExprMeal_1.MealColumnExprMeal,
|
|
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 MealColumnExprMeal: core.serialization.Schema<serializers.MealColumnExprMeal.Raw, Vital.MealColumnExprMeal>;
|
|
8
|
+
export declare namespace MealColumnExprMeal {
|
|
9
|
+
type Raw = "calories" | "carbohydrate_gram" | "protein_gram" | "alcohol_gram" | "water_gram" | "fibre_gram" | "sugar_gram" | "cholesterol_gram" | "saturated_fat_gram" | "monounsaturated_fat_gram" | "polyunsaturated_fat_gram" | "omega3_fat_gram" | "omega6_fat_gram" | "total_fat_gram" | "sodium_milligram" | "potassium_milligram" | "calcium_milligram" | "phosphorus_milligram" | "magnesium_milligram" | "iron_milligram" | "zinc_milligram" | "fluoride_milligram" | "chloride_milligram" | "vitamin_a_milligram" | "vitamin_b1_milligram" | "riboflavin_milligram" | "niacin_milligram" | "pantothenic_acid_milligram" | "vitamin_b6_milligram" | "biotin_microgram" | "vitamin_b12_microgram" | "vitamin_c_milligram" | "vitamin_d_microgram" | "vitamin_e_milligram" | "vitamin_k_microgram" | "folic_acid_microgram" | "chromium_microgram" | "copper_milligram" | "iodine_microgram" | "manganese_milligram" | "molybdenum_microgram" | "selenium_microgram" | "date" | "name" | "source_type" | "source_provider" | "source_app_id";
|
|
10
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
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.MealColumnExprMeal = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.MealColumnExprMeal = core.serialization.enum_([
|
|
32
|
+
"calories",
|
|
33
|
+
"carbohydrate_gram",
|
|
34
|
+
"protein_gram",
|
|
35
|
+
"alcohol_gram",
|
|
36
|
+
"water_gram",
|
|
37
|
+
"fibre_gram",
|
|
38
|
+
"sugar_gram",
|
|
39
|
+
"cholesterol_gram",
|
|
40
|
+
"saturated_fat_gram",
|
|
41
|
+
"monounsaturated_fat_gram",
|
|
42
|
+
"polyunsaturated_fat_gram",
|
|
43
|
+
"omega3_fat_gram",
|
|
44
|
+
"omega6_fat_gram",
|
|
45
|
+
"total_fat_gram",
|
|
46
|
+
"sodium_milligram",
|
|
47
|
+
"potassium_milligram",
|
|
48
|
+
"calcium_milligram",
|
|
49
|
+
"phosphorus_milligram",
|
|
50
|
+
"magnesium_milligram",
|
|
51
|
+
"iron_milligram",
|
|
52
|
+
"zinc_milligram",
|
|
53
|
+
"fluoride_milligram",
|
|
54
|
+
"chloride_milligram",
|
|
55
|
+
"vitamin_a_milligram",
|
|
56
|
+
"vitamin_b1_milligram",
|
|
57
|
+
"riboflavin_milligram",
|
|
58
|
+
"niacin_milligram",
|
|
59
|
+
"pantothenic_acid_milligram",
|
|
60
|
+
"vitamin_b6_milligram",
|
|
61
|
+
"biotin_microgram",
|
|
62
|
+
"vitamin_b12_microgram",
|
|
63
|
+
"vitamin_c_milligram",
|
|
64
|
+
"vitamin_d_microgram",
|
|
65
|
+
"vitamin_e_milligram",
|
|
66
|
+
"vitamin_k_microgram",
|
|
67
|
+
"folic_acid_microgram",
|
|
68
|
+
"chromium_microgram",
|
|
69
|
+
"copper_milligram",
|
|
70
|
+
"iodine_microgram",
|
|
71
|
+
"manganese_milligram",
|
|
72
|
+
"molybdenum_microgram",
|
|
73
|
+
"selenium_microgram",
|
|
74
|
+
"date",
|
|
75
|
+
"name",
|
|
76
|
+
"source_type",
|
|
77
|
+
"source_provider",
|
|
78
|
+
"source_app_id",
|
|
79
|
+
]);
|
|
@@ -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 { NoteTimeseriesExprField } from "./NoteTimeseriesExprField";
|
|
8
|
+
export declare const NoteTimeseriesExpr: core.serialization.ObjectSchema<serializers.NoteTimeseriesExpr.Raw, Vital.NoteTimeseriesExpr>;
|
|
9
|
+
export declare namespace NoteTimeseriesExpr {
|
|
10
|
+
interface Raw {
|
|
11
|
+
timeseries: "note";
|
|
12
|
+
field: NoteTimeseriesExprField.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.NoteTimeseriesExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
const NoteTimeseriesExprField_1 = require("./NoteTimeseriesExprField");
|
|
32
|
+
exports.NoteTimeseriesExpr = core.serialization.object({
|
|
33
|
+
timeseries: core.serialization.stringLiteral("note"),
|
|
34
|
+
field: NoteTimeseriesExprField_1.NoteTimeseriesExprField,
|
|
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 NoteTimeseriesExprField: core.serialization.Schema<serializers.NoteTimeseriesExprField.Raw, Vital.NoteTimeseriesExprField>;
|
|
8
|
+
export declare namespace NoteTimeseriesExprField {
|
|
9
|
+
type Raw = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "tags" | "content";
|
|
10
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.NoteTimeseriesExprField = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.NoteTimeseriesExprField = 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
|
+
"tags",
|
|
40
|
+
"content",
|
|
41
|
+
]);
|
|
@@ -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 PriorityResource: core.serialization.Schema<serializers.PriorityResource.Raw, Vital.PriorityResource>;
|
|
8
|
+
export declare namespace PriorityResource {
|
|
9
|
+
type Raw = "workouts" | "activity" | "sleep" | "body" | "timeseries";
|
|
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.PriorityResource = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.PriorityResource = core.serialization.enum_(["workouts", "activity", "sleep", "body", "timeseries"]);
|
|
@@ -33,5 +33,4 @@ const QueryGroupByItem_1 = require("./QueryGroupByItem");
|
|
|
33
33
|
exports.Query = core.serialization.object({
|
|
34
34
|
select: core.serialization.list(QuerySelectItem_1.QuerySelectItem),
|
|
35
35
|
groupBy: core.serialization.property("group_by", core.serialization.list(QueryGroupByItem_1.QueryGroupByItem).optional()),
|
|
36
|
-
splitBySource: core.serialization.property("split_by_source", core.serialization.boolean().optional()),
|
|
37
36
|
});
|