@tryvital/vital-node 3.1.72 → 3.1.74
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.d.ts +13 -8
- package/api/resources/aggregate/client/Client.js +14 -9
- package/api/resources/aggregate/client/requests/Query.d.ts +13 -8
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.d.ts +8 -6
- package/api/resources/labTests/client/Client.js +41 -33
- package/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.d.ts +25 -0
- package/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/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/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
- package/{dist/api/types/ActivitySelectorActivity.d.ts → api/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/{dist/api/types/ActivitySelectorActivity.js → api/types/ActivityColumnExprActivity.js} +2 -2
- package/api/types/AggregateExpr.d.ts +8 -0
- package/api/types/AggregateExprArg.d.ts +5 -0
- package/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
- package/{dist/api/types/ReducerFunction.js → api/types/AggregateExprFunc.js} +2 -2
- package/api/types/DatePartExpr.d.ts +8 -0
- package/api/types/DatePartExprArg.d.ts +5 -0
- package/api/types/DatePartExprDatePart.d.ts +15 -0
- package/{dist/api/types/SwizzlingBinGranularity.js → api/types/DatePartExprDatePart.js} +6 -2
- package/api/types/DateTruncExpr.d.ts +8 -0
- package/api/types/DateTruncExprArg.d.ts +5 -0
- package/api/types/FailureType.d.ts +16 -0
- package/api/types/FailureType.js +18 -0
- package/api/types/GroupKeyColumnExpr.d.ts +7 -0
- package/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
- package/{dist/api/types/Reducer.d.ts → api/types/IndexColumnExpr.d.ts} +2 -2
- package/api/types/IndexColumnExprIndex.d.ts +8 -0
- package/api/types/IndexColumnExprIndex.js +10 -0
- package/api/types/LabResultsRaw.d.ts +1 -0
- package/api/types/LabTestSampleType.d.ts +2 -1
- package/api/types/LabTestSampleType.js +1 -0
- package/api/types/Labs.d.ts +2 -1
- package/api/types/Labs.js +1 -0
- package/api/types/MissingBiomarkerResult.d.ts +12 -0
- package/api/types/QueryInstruction.d.ts +2 -4
- package/api/types/{QueryInstructionSelect.d.ts → QueryInstructionGroupByItem.d.ts} +1 -1
- package/api/types/QueryInstructionGroupByItem.js +5 -0
- package/api/types/QueryInstructionSelectItem.d.ts +5 -0
- package/api/types/QueryInstructionSelectItem.js +5 -0
- package/api/types/Question.d.ts +1 -0
- package/api/types/{SleepSelector.d.ts → SleepColumnExpr.d.ts} +2 -2
- package/api/types/SleepColumnExpr.js +5 -0
- package/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{dist/api/types/SleepSelectorSleep.js → api/types/SleepColumnExprSleep.js} +2 -2
- package/api/types/TimeseriesMetricPoint.d.ts +1 -0
- package/api/types/index.d.ts +20 -10
- package/api/types/index.js +20 -10
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.d.ts +13 -8
- package/dist/api/resources/aggregate/client/Client.js +14 -9
- package/dist/api/resources/aggregate/client/requests/Query.d.ts +13 -8
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- package/dist/api/resources/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.d.ts +8 -6
- package/dist/api/resources/labTests/client/Client.js +41 -33
- package/dist/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.d.ts +25 -0
- package/dist/api/resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.js +5 -0
- package/dist/api/resources/labTests/client/requests/index.d.ts +1 -0
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/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/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/{ActivitySelector.d.ts → ActivityColumnExpr.d.ts} +2 -2
- package/dist/api/types/ActivityColumnExpr.js +5 -0
- package/{api/types/ActivitySelectorActivity.d.ts → dist/api/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/{api/types/ActivitySelectorActivity.js → dist/api/types/ActivityColumnExprActivity.js} +2 -2
- package/dist/api/types/AggregateExpr.d.ts +8 -0
- package/dist/api/types/AggregateExpr.js +5 -0
- package/dist/api/types/AggregateExprArg.d.ts +5 -0
- package/dist/api/types/AggregateExprArg.js +5 -0
- package/dist/api/types/{ReducerFunction.d.ts → AggregateExprFunc.d.ts} +2 -2
- package/{api/types/ReducerFunction.js → dist/api/types/AggregateExprFunc.js} +2 -2
- package/dist/api/types/DatePartExpr.d.ts +8 -0
- package/dist/api/types/DatePartExpr.js +5 -0
- package/dist/api/types/DatePartExprArg.d.ts +5 -0
- package/dist/api/types/DatePartExprArg.js +5 -0
- package/dist/api/types/DatePartExprDatePart.d.ts +15 -0
- package/{api/types/SwizzlingBinGranularity.js → dist/api/types/DatePartExprDatePart.js} +6 -2
- package/dist/api/types/DateTruncExpr.d.ts +8 -0
- package/dist/api/types/DateTruncExpr.js +5 -0
- package/dist/api/types/DateTruncExprArg.d.ts +5 -0
- package/dist/api/types/DateTruncExprArg.js +5 -0
- package/dist/api/types/FailureType.d.ts +16 -0
- package/dist/api/types/FailureType.js +18 -0
- package/dist/api/types/GroupKeyColumnExpr.d.ts +7 -0
- package/dist/api/types/GroupKeyColumnExpr.js +5 -0
- package/dist/api/types/GroupKeyColumnExprGroupKey.d.ts +4 -0
- package/dist/api/types/GroupKeyColumnExprGroupKey.js +5 -0
- package/dist/api/types/{SleepSelector.d.ts → IndexColumnExpr.d.ts} +2 -2
- package/dist/api/types/IndexColumnExpr.js +5 -0
- package/dist/api/types/IndexColumnExprIndex.d.ts +8 -0
- package/dist/api/types/IndexColumnExprIndex.js +10 -0
- package/dist/api/types/LabResultsRaw.d.ts +1 -0
- package/dist/api/types/LabTestSampleType.d.ts +2 -1
- package/dist/api/types/LabTestSampleType.js +1 -0
- package/dist/api/types/Labs.d.ts +2 -1
- package/dist/api/types/Labs.js +1 -0
- package/dist/api/types/MissingBiomarkerResult.d.ts +12 -0
- package/dist/api/types/MissingBiomarkerResult.js +5 -0
- package/dist/api/types/QueryInstruction.d.ts +2 -4
- package/{api/types/QueryInstructionPartitionBy.d.ts → dist/api/types/QueryInstructionGroupByItem.d.ts} +1 -1
- package/dist/api/types/QueryInstructionGroupByItem.js +5 -0
- package/dist/api/types/QueryInstructionSelectItem.d.ts +5 -0
- package/dist/api/types/QueryInstructionSelectItem.js +5 -0
- package/dist/api/types/Question.d.ts +1 -0
- package/{api/types/Reducer.d.ts → dist/api/types/SleepColumnExpr.d.ts} +2 -2
- package/dist/api/types/SleepColumnExpr.js +5 -0
- package/dist/api/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{api/types/SleepSelectorSleep.js → dist/api/types/SleepColumnExprSleep.js} +2 -2
- package/dist/api/types/TimeseriesMetricPoint.d.ts +1 -0
- package/dist/api/types/index.d.ts +20 -10
- package/dist/api/types/index.js +20 -10
- package/dist/serialization/types/ActivityColumnExpr.d.ts +13 -0
- package/dist/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
- package/{serialization/types/ActivitySelectorActivity.d.ts → dist/serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/dist/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
- package/dist/serialization/types/AggregateExpr.d.ts +15 -0
- package/dist/serialization/types/AggregateExpr.js +36 -0
- package/dist/serialization/types/AggregateExprArg.d.ts +14 -0
- package/dist/serialization/types/AggregateExprArg.js +35 -0
- package/{serialization/types/ReducerFunction.d.ts → dist/serialization/types/AggregateExprFunc.d.ts} +2 -2
- package/{serialization/types/ReducerFunction.js → dist/serialization/types/AggregateExprFunc.js} +2 -2
- package/dist/serialization/types/DatePartExpr.d.ts +15 -0
- package/dist/serialization/types/DatePartExpr.js +36 -0
- package/dist/serialization/types/DatePartExprArg.d.ts +12 -0
- package/{serialization/types/QueryInstructionPartitionBy.js → dist/serialization/types/DatePartExprArg.js} +3 -3
- package/dist/serialization/types/DatePartExprDatePart.d.ts +10 -0
- package/dist/serialization/types/DatePartExprDatePart.js +41 -0
- package/dist/serialization/types/DateTruncExpr.d.ts +15 -0
- package/dist/serialization/types/DateTruncExpr.js +36 -0
- package/dist/serialization/types/DateTruncExprArg.d.ts +12 -0
- package/dist/serialization/types/DateTruncExprArg.js +33 -0
- package/dist/serialization/types/FailureType.d.ts +10 -0
- package/dist/serialization/types/{QueryInstructionSelect.js → FailureType.js} +13 -4
- package/dist/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
- package/dist/serialization/types/GroupKeyColumnExpr.js +34 -0
- package/dist/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
- package/dist/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
- package/dist/serialization/types/IndexColumnExpr.d.ts +13 -0
- package/dist/serialization/types/{SleepSelector.js → IndexColumnExpr.js} +4 -4
- package/dist/serialization/types/IndexColumnExprIndex.d.ts +10 -0
- package/dist/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
- package/dist/serialization/types/LabResultsRaw.d.ts +2 -0
- package/dist/serialization/types/LabResultsRaw.js +2 -0
- package/dist/serialization/types/LabTestSampleType.d.ts +1 -1
- package/dist/serialization/types/LabTestSampleType.js +1 -1
- package/dist/serialization/types/Labs.d.ts +1 -1
- package/dist/serialization/types/Labs.js +1 -0
- package/dist/serialization/types/MissingBiomarkerResult.d.ts +18 -0
- package/dist/serialization/types/{Swizzling.js → MissingBiomarkerResult.js} +9 -7
- package/dist/serialization/types/QueryInstruction.d.ts +4 -8
- package/dist/serialization/types/QueryInstruction.js +4 -8
- package/dist/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
- package/dist/serialization/types/QueryInstructionGroupByItem.js +33 -0
- package/dist/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
- package/dist/serialization/types/QueryInstructionSelectItem.js +42 -0
- package/dist/serialization/types/Question.d.ts +1 -0
- package/dist/serialization/types/Question.js +1 -0
- package/dist/serialization/types/SleepColumnExpr.d.ts +13 -0
- package/{serialization/types/SleepSelector.js → dist/serialization/types/SleepColumnExpr.js} +4 -4
- package/dist/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{serialization/types/SleepSelectorSleep.js → dist/serialization/types/SleepColumnExprSleep.js} +2 -2
- package/dist/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
- package/dist/serialization/types/TimeseriesMetricPoint.js +1 -0
- package/dist/serialization/types/index.d.ts +20 -10
- package/dist/serialization/types/index.js +20 -10
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +22 -13
- package/serialization/types/ActivityColumnExpr.d.ts +13 -0
- package/serialization/types/{ActivitySelector.js → ActivityColumnExpr.js} +4 -4
- package/{dist/serialization/types/ActivitySelectorActivity.d.ts → serialization/types/ActivityColumnExprActivity.d.ts} +2 -2
- package/serialization/types/{ActivitySelectorActivity.js → ActivityColumnExprActivity.js} +2 -2
- package/serialization/types/AggregateExpr.d.ts +15 -0
- package/serialization/types/AggregateExpr.js +36 -0
- package/serialization/types/AggregateExprArg.d.ts +14 -0
- package/serialization/types/AggregateExprArg.js +35 -0
- package/{dist/serialization/types/ReducerFunction.d.ts → serialization/types/AggregateExprFunc.d.ts} +2 -2
- package/{dist/serialization/types/ReducerFunction.js → serialization/types/AggregateExprFunc.js} +2 -2
- package/serialization/types/DatePartExpr.d.ts +15 -0
- package/serialization/types/DatePartExpr.js +36 -0
- package/serialization/types/DatePartExprArg.d.ts +12 -0
- package/{dist/serialization/types/QueryInstructionPartitionBy.js → serialization/types/DatePartExprArg.js} +3 -3
- package/serialization/types/DatePartExprDatePart.d.ts +10 -0
- package/serialization/types/DatePartExprDatePart.js +41 -0
- package/serialization/types/DateTruncExpr.d.ts +15 -0
- package/serialization/types/DateTruncExpr.js +36 -0
- package/serialization/types/DateTruncExprArg.d.ts +12 -0
- package/serialization/types/DateTruncExprArg.js +33 -0
- package/serialization/types/FailureType.d.ts +10 -0
- package/serialization/types/FailureType.js +42 -0
- package/serialization/types/GroupKeyColumnExpr.d.ts +13 -0
- package/serialization/types/GroupKeyColumnExpr.js +34 -0
- package/serialization/types/GroupKeyColumnExprGroupKey.d.ts +10 -0
- package/serialization/types/{Reducer.js → GroupKeyColumnExprGroupKey.js} +2 -5
- package/serialization/types/IndexColumnExpr.d.ts +13 -0
- package/serialization/types/IndexColumnExpr.js +34 -0
- package/serialization/types/IndexColumnExprIndex.d.ts +10 -0
- package/serialization/types/{SwizzlingBinGranularity.js → IndexColumnExprIndex.js} +2 -2
- package/serialization/types/LabResultsRaw.d.ts +2 -0
- package/serialization/types/LabResultsRaw.js +2 -0
- package/serialization/types/LabTestSampleType.d.ts +1 -1
- package/serialization/types/LabTestSampleType.js +1 -1
- package/serialization/types/Labs.d.ts +1 -1
- package/serialization/types/Labs.js +1 -0
- package/serialization/types/MissingBiomarkerResult.d.ts +18 -0
- package/serialization/types/MissingBiomarkerResult.js +39 -0
- package/serialization/types/QueryInstruction.d.ts +4 -8
- package/serialization/types/QueryInstruction.js +4 -8
- package/serialization/types/QueryInstructionGroupByItem.d.ts +12 -0
- package/serialization/types/QueryInstructionGroupByItem.js +33 -0
- package/serialization/types/QueryInstructionSelectItem.d.ts +15 -0
- package/serialization/types/QueryInstructionSelectItem.js +42 -0
- package/serialization/types/Question.d.ts +1 -0
- package/serialization/types/Question.js +1 -0
- package/serialization/types/SleepColumnExpr.d.ts +13 -0
- package/serialization/types/SleepColumnExpr.js +34 -0
- package/serialization/types/{SleepSelectorSleep.d.ts → SleepColumnExprSleep.d.ts} +2 -2
- package/{dist/serialization/types/SleepSelectorSleep.js → serialization/types/SleepColumnExprSleep.js} +2 -2
- package/serialization/types/TimeseriesMetricPoint.d.ts +1 -0
- package/serialization/types/TimeseriesMetricPoint.js +1 -0
- package/serialization/types/index.d.ts +20 -10
- package/serialization/types/index.js +20 -10
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/Swizzling.d.ts +0 -36
- package/api/types/SwizzlingBinGranularity.d.ts +0 -11
- package/dist/api/types/QueryInstructionPartitionBy.d.ts +0 -5
- package/dist/api/types/QueryInstructionSelect.d.ts +0 -5
- package/dist/api/types/Swizzling.d.ts +0 -36
- package/dist/api/types/SwizzlingBinGranularity.d.ts +0 -11
- package/dist/serialization/types/ActivitySelector.d.ts +0 -13
- package/dist/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
- package/dist/serialization/types/QueryInstructionSelect.d.ts +0 -12
- package/dist/serialization/types/Reducer.d.ts +0 -13
- package/dist/serialization/types/SleepSelector.d.ts +0 -13
- package/dist/serialization/types/Swizzling.d.ts +0 -16
- package/dist/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
- package/serialization/types/ActivitySelector.d.ts +0 -13
- package/serialization/types/QueryInstructionPartitionBy.d.ts +0 -12
- package/serialization/types/QueryInstructionSelect.d.ts +0 -12
- package/serialization/types/QueryInstructionSelect.js +0 -33
- package/serialization/types/Reducer.d.ts +0 -13
- package/serialization/types/SleepSelector.d.ts +0 -13
- package/serialization/types/Swizzling.d.ts +0 -16
- package/serialization/types/Swizzling.js +0 -37
- package/serialization/types/SwizzlingBinGranularity.d.ts +0 -10
- /package/api/{types/ActivitySelector.js → resources/labTests/client/requests/LabTestsGetPhlebotomyAppointmentAvailabilityRequest.js} +0 -0
- /package/api/types/{QueryInstructionPartitionBy.js → ActivityColumnExpr.js} +0 -0
- /package/api/types/{QueryInstructionSelect.js → AggregateExpr.js} +0 -0
- /package/api/types/{Reducer.js → AggregateExprArg.js} +0 -0
- /package/api/types/{SleepSelector.js → DatePartExpr.js} +0 -0
- /package/api/types/{Swizzling.js → DatePartExprArg.js} +0 -0
- /package/{dist/api/types/ActivitySelector.js → api/types/DateTruncExpr.js} +0 -0
- /package/{dist/api/types/QueryInstructionPartitionBy.js → api/types/DateTruncExprArg.js} +0 -0
- /package/{dist/api/types/QueryInstructionSelect.js → api/types/GroupKeyColumnExpr.js} +0 -0
- /package/{dist/api/types/Reducer.js → api/types/GroupKeyColumnExprGroupKey.js} +0 -0
- /package/{dist/api/types/SleepSelector.js → api/types/IndexColumnExpr.js} +0 -0
- /package/{dist/api/types/Swizzling.js → api/types/MissingBiomarkerResult.js} +0 -0
@@ -2,6 +2,6 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
import * as Vital from "../index";
|
5
|
-
export interface
|
6
|
-
activity: Vital.
|
5
|
+
export interface ActivityColumnExpr {
|
6
|
+
activity: Vital.ActivityColumnExprActivity;
|
7
7
|
}
|
package/{api/types/ActivitySelectorActivity.d.ts → dist/api/types/ActivityColumnExprActivity.d.ts}
RENAMED
@@ -1,8 +1,8 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type
|
5
|
-
export declare const
|
4
|
+
export declare type ActivityColumnExprActivity = "date" | "calories_total" | "calories_active" | "steps" | "distance_meter" | "floors_climbed" | "duration_active_second" | "intensity_sedentary_second" | "intensity_low_second" | "intensity_medium_second" | "intensity_high_second" | "heart_rate_mean" | "heart_rate_min" | "heart_rate_max" | "heart_rate_resting" | "source_type" | "source_provider" | "source_app_id";
|
5
|
+
export declare const ActivityColumnExprActivity: {
|
6
6
|
readonly Date: "date";
|
7
7
|
readonly CaloriesTotal: "calories_total";
|
8
8
|
readonly CaloriesActive: "calories_active";
|
package/{api/types/ActivitySelectorActivity.js → dist/api/types/ActivityColumnExprActivity.js}
RENAMED
@@ -3,8 +3,8 @@
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
4
4
|
*/
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
exports.
|
6
|
+
exports.ActivityColumnExprActivity = void 0;
|
7
|
+
exports.ActivityColumnExprActivity = {
|
8
8
|
Date: "date",
|
9
9
|
CaloriesTotal: "calories_total",
|
10
10
|
CaloriesActive: "calories_active",
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type
|
5
|
-
export declare const
|
4
|
+
export declare type AggregateExprFunc = "mean" | "min" | "max" | "sum" | "count" | "median" | "stddev" | "oldest" | "newest";
|
5
|
+
export declare const AggregateExprFunc: {
|
6
6
|
readonly Mean: "mean";
|
7
7
|
readonly Min: "min";
|
8
8
|
readonly Max: "max";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
4
4
|
*/
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
exports.
|
6
|
+
exports.AggregateExprFunc = void 0;
|
7
|
+
exports.AggregateExprFunc = {
|
8
8
|
Mean: "mean",
|
9
9
|
Min: "min",
|
10
10
|
Max: "max",
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type DatePartExprDatePart = "minute" | "hour" | "day" | "week" | "month" | "year" | "weekday" | "week_of_year" | "day_of_year";
|
5
|
+
export declare const DatePartExprDatePart: {
|
6
|
+
readonly Minute: "minute";
|
7
|
+
readonly Hour: "hour";
|
8
|
+
readonly Day: "day";
|
9
|
+
readonly Week: "week";
|
10
|
+
readonly Month: "month";
|
11
|
+
readonly Year: "year";
|
12
|
+
readonly Weekday: "weekday";
|
13
|
+
readonly WeekOfYear: "week_of_year";
|
14
|
+
readonly DayOfYear: "day_of_year";
|
15
|
+
};
|
@@ -3,11 +3,15 @@
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
4
4
|
*/
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
exports.
|
6
|
+
exports.DatePartExprDatePart = void 0;
|
7
|
+
exports.DatePartExprDatePart = {
|
8
8
|
Minute: "minute",
|
9
9
|
Hour: "hour",
|
10
10
|
Day: "day",
|
11
11
|
Week: "week",
|
12
12
|
Month: "month",
|
13
|
+
Year: "year",
|
14
|
+
Weekday: "weekday",
|
15
|
+
WeekOfYear: "week_of_year",
|
16
|
+
DayOfYear: "day_of_year",
|
13
17
|
};
|
@@ -0,0 +1,16 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
export declare type FailureType = "quantity_not_sufficient_failure" | "collection_process_failure" | "drop_off_failure" | "internal_lab_failure" | "order_entry_failure" | "non_failure" | "unknown_failure" | "patient_condition_failure" | "missing_result_calc_failure" | "missing_demo_aoe_calc_failure";
|
5
|
+
export declare const FailureType: {
|
6
|
+
readonly QuantityNotSufficientFailure: "quantity_not_sufficient_failure";
|
7
|
+
readonly CollectionProcessFailure: "collection_process_failure";
|
8
|
+
readonly DropOffFailure: "drop_off_failure";
|
9
|
+
readonly InternalLabFailure: "internal_lab_failure";
|
10
|
+
readonly OrderEntryFailure: "order_entry_failure";
|
11
|
+
readonly NonFailure: "non_failure";
|
12
|
+
readonly UnknownFailure: "unknown_failure";
|
13
|
+
readonly PatientConditionFailure: "patient_condition_failure";
|
14
|
+
readonly MissingResultCalcFailure: "missing_result_calc_failure";
|
15
|
+
readonly MissingDemoAoeCalcFailure: "missing_demo_aoe_calc_failure";
|
16
|
+
};
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.FailureType = void 0;
|
7
|
+
exports.FailureType = {
|
8
|
+
QuantityNotSufficientFailure: "quantity_not_sufficient_failure",
|
9
|
+
CollectionProcessFailure: "collection_process_failure",
|
10
|
+
DropOffFailure: "drop_off_failure",
|
11
|
+
InternalLabFailure: "internal_lab_failure",
|
12
|
+
OrderEntryFailure: "order_entry_failure",
|
13
|
+
NonFailure: "non_failure",
|
14
|
+
UnknownFailure: "unknown_failure",
|
15
|
+
PatientConditionFailure: "patient_condition_failure",
|
16
|
+
MissingResultCalcFailure: "missing_result_calc_failure",
|
17
|
+
MissingDemoAoeCalcFailure: "missing_demo_aoe_calc_failure",
|
18
|
+
};
|
@@ -0,0 +1,10 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
+
exports.IndexColumnExprIndex = void 0;
|
7
|
+
exports.IndexColumnExprIndex = {
|
8
|
+
Sleep: "sleep",
|
9
|
+
Activity: "activity",
|
10
|
+
};
|
@@ -4,9 +4,10 @@
|
|
4
4
|
/**
|
5
5
|
* The type of sample used to perform a lab test.
|
6
6
|
*/
|
7
|
-
export declare type LabTestSampleType = "dried_blood_spot" | "serum" | "saliva" | "urine";
|
7
|
+
export declare type LabTestSampleType = "dried_blood_spot" | "arm_collector" | "serum" | "saliva" | "urine";
|
8
8
|
export declare const LabTestSampleType: {
|
9
9
|
readonly DriedBloodSpot: "dried_blood_spot";
|
10
|
+
readonly ArmCollector: "arm_collector";
|
10
11
|
readonly Serum: "serum";
|
11
12
|
readonly Saliva: "saliva";
|
12
13
|
readonly Urine: "urine";
|
package/dist/api/types/Labs.d.ts
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type Labs = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual";
|
4
|
+
export declare type Labs = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual" | "sanocardio";
|
5
5
|
export declare const Labs: {
|
6
6
|
readonly Ayumetrix: "ayumetrix";
|
7
7
|
readonly Spiriplex: "spiriplex";
|
@@ -10,4 +10,5 @@ export declare const Labs: {
|
|
10
10
|
readonly Labcorp: "labcorp";
|
11
11
|
readonly Bioreference: "bioreference";
|
12
12
|
readonly Manual: "manual";
|
13
|
+
readonly Sanocardio: "sanocardio";
|
13
14
|
};
|
package/dist/api/types/Labs.js
CHANGED
@@ -0,0 +1,12 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export interface MissingBiomarkerResult {
|
6
|
+
name: string;
|
7
|
+
slug: string;
|
8
|
+
reason: Vital.FailureType;
|
9
|
+
loinc?: string;
|
10
|
+
loincSlug?: string;
|
11
|
+
providerId?: string;
|
12
|
+
}
|
@@ -3,9 +3,7 @@
|
|
3
3
|
*/
|
4
4
|
import * as Vital from "../index";
|
5
5
|
export interface QueryInstruction {
|
6
|
-
select: Vital.
|
7
|
-
|
8
|
-
swizzleBy?: Vital.Swizzling;
|
9
|
-
reduceBy: Vital.Reducer[];
|
6
|
+
select: Vital.QueryInstructionSelectItem[];
|
7
|
+
groupBy: Vital.QueryInstructionGroupByItem[];
|
10
8
|
splitBySource?: boolean;
|
11
9
|
}
|
@@ -2,4 +2,4 @@
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
4
|
import * as Vital from "../index";
|
5
|
-
export declare type
|
5
|
+
export declare type QueryInstructionGroupByItem = Vital.DateTruncExpr | Vital.DatePartExpr;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as Vital from "../index";
|
5
|
+
export declare type QueryInstructionSelectItem = Vital.AggregateExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.IndexColumnExpr | Vital.GroupKeyColumnExpr;
|
@@ -1,8 +1,8 @@
|
|
1
1
|
/**
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
3
3
|
*/
|
4
|
-
export declare type
|
5
|
-
export declare const
|
4
|
+
export declare type SleepColumnExprSleep = "session_start" | "session_end" | "state" | "duration_second" | "stage_asleep_second" | "stage_awake_second" | "stage_light_second" | "stage_rem_second" | "stage_deep_second" | "stage_unknown_second" | "latency_second" | "heart_rate_minimum" | "heart_rate_mean" | "heart_rate_maximum" | "heart_rate_dip" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id";
|
5
|
+
export declare const SleepColumnExprSleep: {
|
6
6
|
readonly SessionStart: "session_start";
|
7
7
|
readonly SessionEnd: "session_end";
|
8
8
|
readonly State: "state";
|
@@ -3,8 +3,8 @@
|
|
3
3
|
* This file was auto-generated by Fern from our API Definition.
|
4
4
|
*/
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.
|
7
|
-
exports.
|
6
|
+
exports.SleepColumnExprSleep = void 0;
|
7
|
+
exports.SleepColumnExprSleep = {
|
8
8
|
SessionStart: "session_start",
|
9
9
|
SessionEnd: "session_end",
|
10
10
|
State: "state",
|
@@ -1,8 +1,11 @@
|
|
1
|
-
export * from "./
|
2
|
-
export * from "./
|
1
|
+
export * from "./ActivityColumnExprActivity";
|
2
|
+
export * from "./ActivityColumnExpr";
|
3
3
|
export * from "./ActivityV2InDb";
|
4
4
|
export * from "./AddOnOrder";
|
5
5
|
export * from "./Address";
|
6
|
+
export * from "./AggregateExprArg";
|
7
|
+
export * from "./AggregateExprFunc";
|
8
|
+
export * from "./AggregateExpr";
|
6
9
|
export * from "./AllowedRadius";
|
7
10
|
export * from "./Answer";
|
8
11
|
export * from "./AoE";
|
@@ -138,6 +141,11 @@ export * from "./Consent";
|
|
138
141
|
export * from "./ConsentType";
|
139
142
|
export * from "./ContraceptiveEntryType";
|
140
143
|
export * from "./ContraceptiveEntry";
|
144
|
+
export * from "./DatePartExprArg";
|
145
|
+
export * from "./DatePartExprDatePart";
|
146
|
+
export * from "./DatePartExpr";
|
147
|
+
export * from "./DateTruncExprArg";
|
148
|
+
export * from "./DateTruncExpr";
|
141
149
|
export * from "./DaySlots";
|
142
150
|
export * from "./DelegatedFlowType";
|
143
151
|
export * from "./DemoConnectionStatus";
|
@@ -150,12 +158,15 @@ export * from "./Energy";
|
|
150
158
|
export * from "./EventDestinationPreferencesPreferred";
|
151
159
|
export * from "./EventDestinationPreferencesEnabledItem";
|
152
160
|
export * from "./EventDestinationPreferences";
|
161
|
+
export * from "./FailureType";
|
153
162
|
export * from "./FallbackBirthDate";
|
154
163
|
export * from "./FallbackTimeZone";
|
155
164
|
export * from "./Fats";
|
156
165
|
export * from "./Gender";
|
157
166
|
export * from "./GetMarkersResponse";
|
158
167
|
export * from "./GetOrdersResponse";
|
168
|
+
export * from "./GroupKeyColumnExprGroupKey";
|
169
|
+
export * from "./GroupKeyColumnExpr";
|
159
170
|
export * from "./HttpValidationError";
|
160
171
|
export * from "./HealthInsuranceCreateRequestFrontImage";
|
161
172
|
export * from "./HealthInsuranceCreateRequestBackImage";
|
@@ -167,6 +178,8 @@ export * from "./HomePregnancyTestEntryTestResult";
|
|
167
178
|
export * from "./HomePregnancyTestEntry";
|
168
179
|
export * from "./HomeProgesteroneTestEntryTestResult";
|
169
180
|
export * from "./HomeProgesteroneTestEntry";
|
181
|
+
export * from "./IndexColumnExprIndex";
|
182
|
+
export * from "./IndexColumnExpr";
|
170
183
|
export * from "./IntermenstrualBleedingEntry";
|
171
184
|
export * from "./Jpeg";
|
172
185
|
export * from "./LabLocationMetadata";
|
@@ -192,6 +205,7 @@ export * from "./MenstrualFlowEntry";
|
|
192
205
|
export * from "./MetricsResult";
|
193
206
|
export * from "./Micros";
|
194
207
|
export * from "./Minerals";
|
208
|
+
export * from "./MissingBiomarkerResult";
|
195
209
|
export * from "./OAuthProviders";
|
196
210
|
export * from "./OrderSetRequest";
|
197
211
|
export * from "./OrderStatus";
|
@@ -225,8 +239,8 @@ export * from "./Providers";
|
|
225
239
|
export * from "./QueryConfigWeekStartsOn";
|
226
240
|
export * from "./QueryConfigProviderPriorityOverridesItem";
|
227
241
|
export * from "./QueryConfig";
|
228
|
-
export * from "./
|
229
|
-
export * from "./
|
242
|
+
export * from "./QueryInstructionSelectItem";
|
243
|
+
export * from "./QueryInstructionGroupByItem";
|
230
244
|
export * from "./QueryInstruction";
|
231
245
|
export * from "./Question";
|
232
246
|
export * from "./QuestionType";
|
@@ -236,8 +250,6 @@ export * from "./RawDevices";
|
|
236
250
|
export * from "./RawProfile";
|
237
251
|
export * from "./RawSleep";
|
238
252
|
export * from "./RawWorkout";
|
239
|
-
export * from "./ReducerFunction";
|
240
|
-
export * from "./Reducer";
|
241
253
|
export * from "./Region";
|
242
254
|
export * from "./RelativeTimeframe";
|
243
255
|
export * from "./ResourceAvailability";
|
@@ -252,16 +264,14 @@ export * from "./SingleProviderHistoricalPullResponse";
|
|
252
264
|
export * from "./SingleResourceStatistics";
|
253
265
|
export * from "./SingleUserHistoricalPullResponse";
|
254
266
|
export * from "./SingleUserResourceResponse";
|
255
|
-
export * from "./
|
256
|
-
export * from "./
|
267
|
+
export * from "./SleepColumnExprSleep";
|
268
|
+
export * from "./SleepColumnExpr";
|
257
269
|
export * from "./SleepSummaryState";
|
258
270
|
export * from "./SleepV2InDb";
|
259
271
|
export * from "./Source";
|
260
272
|
export * from "./SourceAuthType";
|
261
273
|
export * from "./SourceLink";
|
262
274
|
export * from "./SourceType";
|
263
|
-
export * from "./SwizzlingBinGranularity";
|
264
|
-
export * from "./Swizzling";
|
265
275
|
export * from "./TeamConfig";
|
266
276
|
export * from "./TimeSlot";
|
267
277
|
export * from "./TimeseriesMetricPoint";
|