@tryvital/vital-node 3.1.288 → 3.1.290
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/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/BloodPressureTimeseriesExprField.d.ts +2 -1
- package/api/types/BloodPressureTimeseriesExprField.js +1 -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/DiscreteTimeseriesExprField.d.ts +2 -1
- package/api/types/DiscreteTimeseriesExprField.js +1 -0
- package/api/types/IntervalTimeseriesExprField.d.ts +2 -1
- package/api/types/IntervalTimeseriesExprField.js +1 -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/NoteTimeseriesExprField.d.ts +2 -1
- package/api/types/NoteTimeseriesExprField.js +1 -0
- package/api/types/OrderLowLevelStatus.d.ts +2 -1
- package/api/types/OrderLowLevelStatus.js +1 -0
- package/api/types/OrderStatus.d.ts +2 -1
- package/api/types/OrderStatus.js +1 -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/TemperatureTimeseriesExprField.d.ts +2 -1
- package/api/types/TemperatureTimeseriesExprField.js +1 -0
- package/api/types/WorkoutColumnExprWorkout.d.ts +2 -2
- package/api/types/WorkoutColumnExprWorkout.js +1 -1
- package/api/types/WorkoutDurationTimeseriesExprField.d.ts +2 -1
- package/api/types/WorkoutDurationTimeseriesExprField.js +1 -0
- package/api/types/index.d.ts +5 -0
- package/api/types/index.js +5 -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/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/BloodPressureTimeseriesExprField.d.ts +2 -1
- package/dist/api/types/BloodPressureTimeseriesExprField.js +1 -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/DiscreteTimeseriesExprField.d.ts +2 -1
- package/dist/api/types/DiscreteTimeseriesExprField.js +1 -0
- package/dist/api/types/IntervalTimeseriesExprField.d.ts +2 -1
- package/dist/api/types/IntervalTimeseriesExprField.js +1 -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/NoteTimeseriesExprField.d.ts +2 -1
- package/dist/api/types/NoteTimeseriesExprField.js +1 -0
- package/dist/api/types/OrderLowLevelStatus.d.ts +2 -1
- package/dist/api/types/OrderLowLevelStatus.js +1 -0
- package/dist/api/types/OrderStatus.d.ts +2 -1
- package/dist/api/types/OrderStatus.js +1 -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/TemperatureTimeseriesExprField.d.ts +2 -1
- package/dist/api/types/TemperatureTimeseriesExprField.js +1 -0
- package/dist/api/types/WorkoutColumnExprWorkout.d.ts +2 -2
- package/dist/api/types/WorkoutColumnExprWorkout.js +1 -1
- package/dist/api/types/WorkoutDurationTimeseriesExprField.d.ts +2 -1
- package/dist/api/types/WorkoutDurationTimeseriesExprField.js +1 -0
- package/dist/api/types/index.d.ts +5 -0
- package/dist/api/types/index.js +5 -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 +3 -2
- package/dist/serialization/types/AggregateExprArg.js +4 -2
- package/dist/serialization/types/BloodPressureTimeseriesExprField.d.ts +1 -1
- package/dist/serialization/types/BloodPressureTimeseriesExprField.js +1 -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/DiscreteTimeseriesExprField.d.ts +1 -1
- package/dist/serialization/types/DiscreteTimeseriesExprField.js +1 -0
- package/dist/serialization/types/IntervalTimeseriesExprField.d.ts +1 -1
- package/dist/serialization/types/IntervalTimeseriesExprField.js +1 -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/NoteTimeseriesExprField.d.ts +1 -1
- package/dist/serialization/types/NoteTimeseriesExprField.js +1 -0
- package/dist/serialization/types/OrderLowLevelStatus.d.ts +1 -1
- package/dist/serialization/types/OrderLowLevelStatus.js +1 -0
- package/dist/serialization/types/OrderStatus.d.ts +1 -1
- package/dist/serialization/types/OrderStatus.js +1 -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 +4 -2
- package/dist/serialization/types/QuerySelectItem.js +6 -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/TemperatureTimeseriesExprField.d.ts +1 -1
- package/dist/serialization/types/TemperatureTimeseriesExprField.js +1 -0
- package/dist/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
- package/dist/serialization/types/WorkoutColumnExprWorkout.js +1 -1
- package/dist/serialization/types/WorkoutDurationTimeseriesExprField.d.ts +1 -1
- package/dist/serialization/types/WorkoutDurationTimeseriesExprField.js +1 -0
- package/dist/serialization/types/index.d.ts +5 -0
- package/dist/serialization/types/index.js +5 -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 +3 -2
- package/serialization/types/AggregateExprArg.js +4 -2
- package/serialization/types/BloodPressureTimeseriesExprField.d.ts +1 -1
- package/serialization/types/BloodPressureTimeseriesExprField.js +1 -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/DiscreteTimeseriesExprField.d.ts +1 -1
- package/serialization/types/DiscreteTimeseriesExprField.js +1 -0
- package/serialization/types/IntervalTimeseriesExprField.d.ts +1 -1
- package/serialization/types/IntervalTimeseriesExprField.js +1 -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/NoteTimeseriesExprField.d.ts +1 -1
- package/serialization/types/NoteTimeseriesExprField.js +1 -0
- package/serialization/types/OrderLowLevelStatus.d.ts +1 -1
- package/serialization/types/OrderLowLevelStatus.js +1 -0
- package/serialization/types/OrderStatus.d.ts +1 -1
- package/serialization/types/OrderStatus.js +1 -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 +4 -2
- package/serialization/types/QuerySelectItem.js +6 -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/TemperatureTimeseriesExprField.d.ts +1 -1
- package/serialization/types/TemperatureTimeseriesExprField.js +1 -0
- package/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
- package/serialization/types/WorkoutColumnExprWorkout.js +1 -1
- package/serialization/types/WorkoutDurationTimeseriesExprField.d.ts +1 -1
- package/serialization/types/WorkoutDurationTimeseriesExprField.js +1 -0
- package/serialization/types/index.d.ts +5 -0
- package/serialization/types/index.js +5 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -78,7 +78,7 @@ class Workouts {
|
|
|
78
78
|
const _response = yield core.fetcher({
|
|
79
79
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}`),
|
|
80
80
|
method: "GET",
|
|
81
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
81
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.290", "User-Agent": "@tryvital/vital-node/3.1.290", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
82
82
|
contentType: "application/json",
|
|
83
83
|
queryParameters: _queryParams,
|
|
84
84
|
requestType: "json",
|
|
@@ -154,7 +154,7 @@ class Workouts {
|
|
|
154
154
|
const _response = yield core.fetcher({
|
|
155
155
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/summary/workouts/${encodeURIComponent(userId)}/raw`),
|
|
156
156
|
method: "GET",
|
|
157
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
157
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.290", "User-Agent": "@tryvital/vital-node/3.1.290", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
158
158
|
contentType: "application/json",
|
|
159
159
|
queryParameters: _queryParams,
|
|
160
160
|
requestType: "json",
|
|
@@ -216,7 +216,7 @@ class Workouts {
|
|
|
216
216
|
const _response = yield core.fetcher({
|
|
217
217
|
url: (0, url_join_1.default)((_a = (yield core.Supplier.get(this._options.environment))) !== null && _a !== void 0 ? _a : environments.VitalEnvironment.Production, `v2/timeseries/workouts/${encodeURIComponent(workoutId)}/stream`),
|
|
218
218
|
method: "GET",
|
|
219
|
-
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.
|
|
219
|
+
headers: Object.assign({ "X-Fern-Language": "JavaScript", "X-Fern-SDK-Name": "@tryvital/vital-node", "X-Fern-SDK-Version": "3.1.290", "User-Agent": "@tryvital/vital-node/3.1.290", "X-Fern-Runtime": core.RUNTIME.type, "X-Fern-Runtime-Version": core.RUNTIME.version }, (yield this._getCustomAuthorizationHeaders())),
|
|
220
220
|
contentType: "application/json",
|
|
221
221
|
requestType: "json",
|
|
222
222
|
timeoutMs: (requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) != null ? requestOptions.timeoutInSeconds * 1000 : 60000,
|
|
@@ -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 AggregateExprArg = Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.
|
|
5
|
+
export declare type AggregateExprArg = Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.IndexColumnExpr;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type BloodPressureTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "systolic" | "diastolic";
|
|
4
|
+
export declare type BloodPressureTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "systolic" | "diastolic";
|
|
5
5
|
export declare const BloodPressureTimeseriesExprField: {
|
|
6
6
|
readonly SourceProvider: "source_provider";
|
|
7
7
|
readonly SourceType: "source_type";
|
|
8
|
+
readonly SourceAppId: "source_app_id";
|
|
8
9
|
readonly SourceWorkoutId: "source_workout_id";
|
|
9
10
|
readonly SourceSport: "source_sport";
|
|
10
11
|
readonly TimezoneOffset: "timezone_offset";
|
|
@@ -7,6 +7,7 @@ exports.BloodPressureTimeseriesExprField = void 0;
|
|
|
7
7
|
exports.BloodPressureTimeseriesExprField = {
|
|
8
8
|
SourceProvider: "source_provider",
|
|
9
9
|
SourceType: "source_type",
|
|
10
|
+
SourceAppId: "source_app_id",
|
|
10
11
|
SourceWorkoutId: "source_workout_id",
|
|
11
12
|
SourceSport: "source_sport",
|
|
12
13
|
TimezoneOffset: "timezone_offset",
|
|
@@ -17,6 +17,7 @@ export interface ClientFacingAppointment {
|
|
|
17
17
|
provider: Vital.AppointmentProvider;
|
|
18
18
|
status: Vital.AppointmentStatus;
|
|
19
19
|
providerId: string;
|
|
20
|
+
externalId?: string;
|
|
20
21
|
canReschedule: boolean;
|
|
21
22
|
eventStatus: Vital.AppointmentEventStatus;
|
|
22
23
|
eventData?: Record<string, unknown>;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingElectrocardiogramSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab";
|
|
7
|
+
export declare type ClientFacingElectrocardiogramSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
8
8
|
export declare const ClientFacingElectrocardiogramSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -19,4 +19,5 @@ export declare const ClientFacingElectrocardiogramSourceType: {
|
|
|
19
19
|
readonly ChestStrap: "chest_strap";
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
|
+
readonly ExerciseMachine: "exercise_machine";
|
|
22
23
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingMenstrualCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab";
|
|
7
|
+
export declare type ClientFacingMenstrualCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
8
8
|
export declare const ClientFacingMenstrualCycleSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -19,4 +19,5 @@ export declare const ClientFacingMenstrualCycleSourceType: {
|
|
|
19
19
|
readonly ChestStrap: "chest_strap";
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
|
+
readonly ExerciseMachine: "exercise_machine";
|
|
22
23
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type ClientFacingSleepCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab";
|
|
7
|
+
export declare type ClientFacingSleepCycleSourceType = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab" | "exercise_machine";
|
|
8
8
|
export declare const ClientFacingSleepCycleSourceType: {
|
|
9
9
|
readonly Unknown: "unknown";
|
|
10
10
|
readonly Phone: "phone";
|
|
@@ -19,4 +19,5 @@ export declare const ClientFacingSleepCycleSourceType: {
|
|
|
19
19
|
readonly ChestStrap: "chest_strap";
|
|
20
20
|
readonly Ring: "ring";
|
|
21
21
|
readonly Lab: "lab";
|
|
22
|
+
readonly ExerciseMachine: "exercise_machine";
|
|
22
23
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type DiscreteTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "value";
|
|
4
|
+
export declare type DiscreteTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "value";
|
|
5
5
|
export declare const DiscreteTimeseriesExprField: {
|
|
6
6
|
readonly SourceProvider: "source_provider";
|
|
7
7
|
readonly SourceType: "source_type";
|
|
8
|
+
readonly SourceAppId: "source_app_id";
|
|
8
9
|
readonly SourceWorkoutId: "source_workout_id";
|
|
9
10
|
readonly SourceSport: "source_sport";
|
|
10
11
|
readonly TimezoneOffset: "timezone_offset";
|
|
@@ -7,6 +7,7 @@ exports.DiscreteTimeseriesExprField = void 0;
|
|
|
7
7
|
exports.DiscreteTimeseriesExprField = {
|
|
8
8
|
SourceProvider: "source_provider",
|
|
9
9
|
SourceType: "source_type",
|
|
10
|
+
SourceAppId: "source_app_id",
|
|
10
11
|
SourceWorkoutId: "source_workout_id",
|
|
11
12
|
SourceSport: "source_sport",
|
|
12
13
|
TimezoneOffset: "timezone_offset",
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type IntervalTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value";
|
|
4
|
+
export declare type IntervalTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value";
|
|
5
5
|
export declare const IntervalTimeseriesExprField: {
|
|
6
6
|
readonly SourceProvider: "source_provider";
|
|
7
7
|
readonly SourceType: "source_type";
|
|
8
|
+
readonly SourceAppId: "source_app_id";
|
|
8
9
|
readonly SourceWorkoutId: "source_workout_id";
|
|
9
10
|
readonly SourceSport: "source_sport";
|
|
10
11
|
readonly TimezoneOffset: "timezone_offset";
|
|
@@ -7,6 +7,7 @@ exports.IntervalTimeseriesExprField = void 0;
|
|
|
7
7
|
exports.IntervalTimeseriesExprField = {
|
|
8
8
|
SourceProvider: "source_provider",
|
|
9
9
|
SourceType: "source_type",
|
|
10
|
+
SourceAppId: "source_app_id",
|
|
10
11
|
SourceWorkoutId: "source_workout_id",
|
|
11
12
|
SourceSport: "source_sport",
|
|
12
13
|
TimezoneOffset: "timezone_offset",
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* ℹ️ This enum is non-exhaustive.
|
|
6
|
+
*/
|
|
7
|
+
export declare type MealColumnExprMeal = "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";
|
|
8
|
+
export declare const MealColumnExprMeal: {
|
|
9
|
+
readonly Calories: "calories";
|
|
10
|
+
readonly CarbohydrateGram: "carbohydrate_gram";
|
|
11
|
+
readonly ProteinGram: "protein_gram";
|
|
12
|
+
readonly AlcoholGram: "alcohol_gram";
|
|
13
|
+
readonly WaterGram: "water_gram";
|
|
14
|
+
readonly FibreGram: "fibre_gram";
|
|
15
|
+
readonly SugarGram: "sugar_gram";
|
|
16
|
+
readonly CholesterolGram: "cholesterol_gram";
|
|
17
|
+
readonly SaturatedFatGram: "saturated_fat_gram";
|
|
18
|
+
readonly MonounsaturatedFatGram: "monounsaturated_fat_gram";
|
|
19
|
+
readonly PolyunsaturatedFatGram: "polyunsaturated_fat_gram";
|
|
20
|
+
readonly Omega3FatGram: "omega3_fat_gram";
|
|
21
|
+
readonly Omega6FatGram: "omega6_fat_gram";
|
|
22
|
+
readonly TotalFatGram: "total_fat_gram";
|
|
23
|
+
readonly SodiumMilligram: "sodium_milligram";
|
|
24
|
+
readonly PotassiumMilligram: "potassium_milligram";
|
|
25
|
+
readonly CalciumMilligram: "calcium_milligram";
|
|
26
|
+
readonly PhosphorusMilligram: "phosphorus_milligram";
|
|
27
|
+
readonly MagnesiumMilligram: "magnesium_milligram";
|
|
28
|
+
readonly IronMilligram: "iron_milligram";
|
|
29
|
+
readonly ZincMilligram: "zinc_milligram";
|
|
30
|
+
readonly FluorideMilligram: "fluoride_milligram";
|
|
31
|
+
readonly ChlorideMilligram: "chloride_milligram";
|
|
32
|
+
readonly VitaminAMilligram: "vitamin_a_milligram";
|
|
33
|
+
readonly VitaminB1Milligram: "vitamin_b1_milligram";
|
|
34
|
+
readonly RiboflavinMilligram: "riboflavin_milligram";
|
|
35
|
+
readonly NiacinMilligram: "niacin_milligram";
|
|
36
|
+
readonly PantothenicAcidMilligram: "pantothenic_acid_milligram";
|
|
37
|
+
readonly VitaminB6Milligram: "vitamin_b6_milligram";
|
|
38
|
+
readonly BiotinMicrogram: "biotin_microgram";
|
|
39
|
+
readonly VitaminB12Microgram: "vitamin_b12_microgram";
|
|
40
|
+
readonly VitaminCMilligram: "vitamin_c_milligram";
|
|
41
|
+
readonly VitaminDMicrogram: "vitamin_d_microgram";
|
|
42
|
+
readonly VitaminEMilligram: "vitamin_e_milligram";
|
|
43
|
+
readonly VitaminKMicrogram: "vitamin_k_microgram";
|
|
44
|
+
readonly FolicAcidMicrogram: "folic_acid_microgram";
|
|
45
|
+
readonly ChromiumMicrogram: "chromium_microgram";
|
|
46
|
+
readonly CopperMilligram: "copper_milligram";
|
|
47
|
+
readonly IodineMicrogram: "iodine_microgram";
|
|
48
|
+
readonly ManganeseMilligram: "manganese_milligram";
|
|
49
|
+
readonly MolybdenumMicrogram: "molybdenum_microgram";
|
|
50
|
+
readonly SeleniumMicrogram: "selenium_microgram";
|
|
51
|
+
readonly Date: "date";
|
|
52
|
+
readonly Name: "name";
|
|
53
|
+
readonly SourceType: "source_type";
|
|
54
|
+
readonly SourceProvider: "source_provider";
|
|
55
|
+
readonly SourceAppId: "source_app_id";
|
|
56
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
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.MealColumnExprMeal = void 0;
|
|
7
|
+
exports.MealColumnExprMeal = {
|
|
8
|
+
Calories: "calories",
|
|
9
|
+
CarbohydrateGram: "carbohydrate_gram",
|
|
10
|
+
ProteinGram: "protein_gram",
|
|
11
|
+
AlcoholGram: "alcohol_gram",
|
|
12
|
+
WaterGram: "water_gram",
|
|
13
|
+
FibreGram: "fibre_gram",
|
|
14
|
+
SugarGram: "sugar_gram",
|
|
15
|
+
CholesterolGram: "cholesterol_gram",
|
|
16
|
+
SaturatedFatGram: "saturated_fat_gram",
|
|
17
|
+
MonounsaturatedFatGram: "monounsaturated_fat_gram",
|
|
18
|
+
PolyunsaturatedFatGram: "polyunsaturated_fat_gram",
|
|
19
|
+
Omega3FatGram: "omega3_fat_gram",
|
|
20
|
+
Omega6FatGram: "omega6_fat_gram",
|
|
21
|
+
TotalFatGram: "total_fat_gram",
|
|
22
|
+
SodiumMilligram: "sodium_milligram",
|
|
23
|
+
PotassiumMilligram: "potassium_milligram",
|
|
24
|
+
CalciumMilligram: "calcium_milligram",
|
|
25
|
+
PhosphorusMilligram: "phosphorus_milligram",
|
|
26
|
+
MagnesiumMilligram: "magnesium_milligram",
|
|
27
|
+
IronMilligram: "iron_milligram",
|
|
28
|
+
ZincMilligram: "zinc_milligram",
|
|
29
|
+
FluorideMilligram: "fluoride_milligram",
|
|
30
|
+
ChlorideMilligram: "chloride_milligram",
|
|
31
|
+
VitaminAMilligram: "vitamin_a_milligram",
|
|
32
|
+
VitaminB1Milligram: "vitamin_b1_milligram",
|
|
33
|
+
RiboflavinMilligram: "riboflavin_milligram",
|
|
34
|
+
NiacinMilligram: "niacin_milligram",
|
|
35
|
+
PantothenicAcidMilligram: "pantothenic_acid_milligram",
|
|
36
|
+
VitaminB6Milligram: "vitamin_b6_milligram",
|
|
37
|
+
BiotinMicrogram: "biotin_microgram",
|
|
38
|
+
VitaminB12Microgram: "vitamin_b12_microgram",
|
|
39
|
+
VitaminCMilligram: "vitamin_c_milligram",
|
|
40
|
+
VitaminDMicrogram: "vitamin_d_microgram",
|
|
41
|
+
VitaminEMilligram: "vitamin_e_milligram",
|
|
42
|
+
VitaminKMicrogram: "vitamin_k_microgram",
|
|
43
|
+
FolicAcidMicrogram: "folic_acid_microgram",
|
|
44
|
+
ChromiumMicrogram: "chromium_microgram",
|
|
45
|
+
CopperMilligram: "copper_milligram",
|
|
46
|
+
IodineMicrogram: "iodine_microgram",
|
|
47
|
+
ManganeseMilligram: "manganese_milligram",
|
|
48
|
+
MolybdenumMicrogram: "molybdenum_microgram",
|
|
49
|
+
SeleniumMicrogram: "selenium_microgram",
|
|
50
|
+
Date: "date",
|
|
51
|
+
Name: "name",
|
|
52
|
+
SourceType: "source_type",
|
|
53
|
+
SourceProvider: "source_provider",
|
|
54
|
+
SourceAppId: "source_app_id",
|
|
55
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type NoteTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "tags" | "content";
|
|
4
|
+
export declare type NoteTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "tags" | "content";
|
|
5
5
|
export declare const NoteTimeseriesExprField: {
|
|
6
6
|
readonly SourceProvider: "source_provider";
|
|
7
7
|
readonly SourceType: "source_type";
|
|
8
|
+
readonly SourceAppId: "source_app_id";
|
|
8
9
|
readonly SourceWorkoutId: "source_workout_id";
|
|
9
10
|
readonly SourceSport: "source_sport";
|
|
10
11
|
readonly TimezoneOffset: "timezone_offset";
|
|
@@ -7,6 +7,7 @@ exports.NoteTimeseriesExprField = void 0;
|
|
|
7
7
|
exports.NoteTimeseriesExprField = {
|
|
8
8
|
SourceProvider: "source_provider",
|
|
9
9
|
SourceType: "source_type",
|
|
10
|
+
SourceAppId: "source_app_id",
|
|
10
11
|
SourceWorkoutId: "source_workout_id",
|
|
11
12
|
SourceSport: "source_sport",
|
|
12
13
|
TimezoneOffset: "timezone_offset",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type OrderLowLevelStatus = "ordered" | "requisition_created" | "requisition_bypassed" | "transit_customer" | "out_for_delivery" | "with_customer" | "transit_lab" | "delivered_to_lab" | "completed" | "failure_to_deliver_to_lab" | "failure_to_deliver_to_customer" | "problem_in_transit_lab" | "problem_in_transit_customer" | "sample_error" | "appointment_scheduled" | "appointment_cancelled" | "appointment_pending" | "draw_completed" | "cancelled" | "lost" | "do_not_process" | "partial_results" | "awaiting_registration" | "registered";
|
|
7
|
+
export declare type OrderLowLevelStatus = "ordered" | "requisition_created" | "requisition_bypassed" | "transit_customer" | "out_for_delivery" | "with_customer" | "transit_lab" | "delivered_to_lab" | "completed" | "failure_to_deliver_to_lab" | "failure_to_deliver_to_customer" | "problem_in_transit_lab" | "problem_in_transit_customer" | "sample_error" | "appointment_scheduled" | "appointment_cancelled" | "appointment_pending" | "draw_completed" | "cancelled" | "lost" | "do_not_process" | "partial_results" | "awaiting_registration" | "registered" | "redraw_available";
|
|
8
8
|
export declare const OrderLowLevelStatus: {
|
|
9
9
|
readonly Ordered: "ordered";
|
|
10
10
|
readonly RequisitionCreated: "requisition_created";
|
|
@@ -30,4 +30,5 @@ export declare const OrderLowLevelStatus: {
|
|
|
30
30
|
readonly PartialResults: "partial_results";
|
|
31
31
|
readonly AwaitingRegistration: "awaiting_registration";
|
|
32
32
|
readonly Registered: "registered";
|
|
33
|
+
readonly RedrawAvailable: "redraw_available";
|
|
33
34
|
};
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type OrderStatus = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "received.walk_in_test.requisition_bypassed" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "collecting_sample.walk_in_test.appointment_pending" | "collecting_sample.walk_in_test.appointment_scheduled" | "collecting_sample.walk_in_test.appointment_cancelled" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "received.at_home_phlebotomy.requisition_bypassed" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.requisition_bypassed" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process" | "collecting_sample.testkit.problem_in_transit_customer" | "collecting_sample.testkit.problem_in_transit_lab" | "received.on_site_collection.ordered" | "received.on_site_collection.requisition_created" | "received.on_site_collection.requisition_bypassed" | "sample_with_lab.on_site_collection.draw_completed" | "completed.on_site_collection.completed" | "cancelled.on_site_collection.cancelled" | "sample_with_lab.on_site_collection.partial_results" | "failed.on_site_collection.sample_error";
|
|
7
|
+
export declare type OrderStatus = "received.walk_in_test.ordered" | "received.walk_in_test.requisition_created" | "received.walk_in_test.requisition_bypassed" | "completed.walk_in_test.completed" | "sample_with_lab.walk_in_test.partial_results" | "failed.walk_in_test.sample_error" | "cancelled.walk_in_test.cancelled" | "collecting_sample.walk_in_test.appointment_pending" | "collecting_sample.walk_in_test.appointment_scheduled" | "collecting_sample.walk_in_test.appointment_cancelled" | "collecting_sample.walk_in_test.redraw_available" | "received.at_home_phlebotomy.ordered" | "received.at_home_phlebotomy.requisition_created" | "received.at_home_phlebotomy.requisition_bypassed" | "collecting_sample.at_home_phlebotomy.appointment_pending" | "collecting_sample.at_home_phlebotomy.appointment_scheduled" | "collecting_sample.at_home_phlebotomy.draw_completed" | "collecting_sample.at_home_phlebotomy.appointment_cancelled" | "completed.at_home_phlebotomy.completed" | "sample_with_lab.at_home_phlebotomy.partial_results" | "cancelled.at_home_phlebotomy.cancelled" | "failed.at_home_phlebotomy.sample_error" | "received.testkit.ordered" | "received.testkit.awaiting_registration" | "received.testkit.requisition_created" | "received.testkit.requisition_bypassed" | "received.testkit.registered" | "collecting_sample.testkit.transit_customer" | "collecting_sample.testkit.out_for_delivery" | "collecting_sample.testkit.with_customer" | "collecting_sample.testkit.transit_lab" | "sample_with_lab.testkit.delivered_to_lab" | "completed.testkit.completed" | "failed.testkit.failure_to_deliver_to_customer" | "failed.testkit.failure_to_deliver_to_lab" | "failed.testkit.sample_error" | "failed.testkit.lost" | "cancelled.testkit.cancelled" | "cancelled.testkit.do_not_process" | "collecting_sample.testkit.problem_in_transit_customer" | "collecting_sample.testkit.problem_in_transit_lab" | "received.on_site_collection.ordered" | "received.on_site_collection.requisition_created" | "received.on_site_collection.requisition_bypassed" | "sample_with_lab.on_site_collection.draw_completed" | "completed.on_site_collection.completed" | "cancelled.on_site_collection.cancelled" | "sample_with_lab.on_site_collection.partial_results" | "failed.on_site_collection.sample_error";
|
|
8
8
|
export declare const OrderStatus: {
|
|
9
9
|
readonly ReceivedWalkInTestOrdered: "received.walk_in_test.ordered";
|
|
10
10
|
readonly ReceivedWalkInTestRequisitionCreated: "received.walk_in_test.requisition_created";
|
|
@@ -16,6 +16,7 @@ export declare const OrderStatus: {
|
|
|
16
16
|
readonly CollectingSampleWalkInTestAppointmentPending: "collecting_sample.walk_in_test.appointment_pending";
|
|
17
17
|
readonly CollectingSampleWalkInTestAppointmentScheduled: "collecting_sample.walk_in_test.appointment_scheduled";
|
|
18
18
|
readonly CollectingSampleWalkInTestAppointmentCancelled: "collecting_sample.walk_in_test.appointment_cancelled";
|
|
19
|
+
readonly CollectingSampleWalkInTestRedrawAvailable: "collecting_sample.walk_in_test.redraw_available";
|
|
19
20
|
readonly ReceivedAtHomePhlebotomyOrdered: "received.at_home_phlebotomy.ordered";
|
|
20
21
|
readonly ReceivedAtHomePhlebotomyRequisitionCreated: "received.at_home_phlebotomy.requisition_created";
|
|
21
22
|
readonly ReceivedAtHomePhlebotomyRequisitionBypassed: "received.at_home_phlebotomy.requisition_bypassed";
|
package/api/types/OrderStatus.js
CHANGED
|
@@ -15,6 +15,7 @@ exports.OrderStatus = {
|
|
|
15
15
|
CollectingSampleWalkInTestAppointmentPending: "collecting_sample.walk_in_test.appointment_pending",
|
|
16
16
|
CollectingSampleWalkInTestAppointmentScheduled: "collecting_sample.walk_in_test.appointment_scheduled",
|
|
17
17
|
CollectingSampleWalkInTestAppointmentCancelled: "collecting_sample.walk_in_test.appointment_cancelled",
|
|
18
|
+
CollectingSampleWalkInTestRedrawAvailable: "collecting_sample.walk_in_test.redraw_available",
|
|
18
19
|
ReceivedAtHomePhlebotomyOrdered: "received.at_home_phlebotomy.ordered",
|
|
19
20
|
ReceivedAtHomePhlebotomyRequisitionCreated: "received.at_home_phlebotomy.requisition_created",
|
|
20
21
|
ReceivedAtHomePhlebotomyRequisitionBypassed: "received.at_home_phlebotomy.requisition_bypassed",
|
package/api/types/Query.d.ts
CHANGED
|
@@ -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 QueryGroupByItem = Vital.DateTruncExpr | Vital.DatePartExpr;
|
|
5
|
+
export declare type QueryGroupByItem = Vital.DateTruncExpr | Vital.DatePartExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.SourceColumnExpr;
|
|
@@ -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 QuerySelectItem = Vital.AggregateExpr | Vital.GroupKeyColumnExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.
|
|
5
|
+
export declare type QuerySelectItem = Vital.AggregateExpr | Vital.GroupKeyColumnExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.IndexColumnExpr | Vital.SourceColumnExpr;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
export declare type SourceColumnExprSource = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport";
|
|
5
|
+
export declare const SourceColumnExprSource: {
|
|
6
|
+
readonly SourceProvider: "source_provider";
|
|
7
|
+
readonly SourceType: "source_type";
|
|
8
|
+
readonly SourceAppId: "source_app_id";
|
|
9
|
+
readonly SourceWorkoutId: "source_workout_id";
|
|
10
|
+
readonly SourceSport: "source_sport";
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
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.SourceColumnExprSource = void 0;
|
|
7
|
+
exports.SourceColumnExprSource = {
|
|
8
|
+
SourceProvider: "source_provider",
|
|
9
|
+
SourceType: "source_type",
|
|
10
|
+
SourceAppId: "source_app_id",
|
|
11
|
+
SourceWorkoutId: "source_workout_id",
|
|
12
|
+
SourceSport: "source_sport",
|
|
13
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type TemperatureTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "sensor_location";
|
|
4
|
+
export declare type TemperatureTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "sensor_location";
|
|
5
5
|
export declare const TemperatureTimeseriesExprField: {
|
|
6
6
|
readonly SourceProvider: "source_provider";
|
|
7
7
|
readonly SourceType: "source_type";
|
|
8
|
+
readonly SourceAppId: "source_app_id";
|
|
8
9
|
readonly SourceWorkoutId: "source_workout_id";
|
|
9
10
|
readonly SourceSport: "source_sport";
|
|
10
11
|
readonly TimezoneOffset: "timezone_offset";
|
|
@@ -7,6 +7,7 @@ exports.TemperatureTimeseriesExprField = void 0;
|
|
|
7
7
|
exports.TemperatureTimeseriesExprField = {
|
|
8
8
|
SourceProvider: "source_provider",
|
|
9
9
|
SourceType: "source_type",
|
|
10
|
+
SourceAppId: "source_app_id",
|
|
10
11
|
SourceWorkoutId: "source_workout_id",
|
|
11
12
|
SourceSport: "source_sport",
|
|
12
13
|
TimezoneOffset: "timezone_offset",
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type WorkoutColumnExprWorkout = "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" | "
|
|
7
|
+
export declare type WorkoutColumnExprWorkout = "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";
|
|
8
8
|
export declare const WorkoutColumnExprWorkout: {
|
|
9
9
|
readonly SessionStart: "session_start";
|
|
10
10
|
readonly SessionEnd: "session_end";
|
|
@@ -38,6 +38,6 @@ export declare const WorkoutColumnExprWorkout: {
|
|
|
38
38
|
readonly SourceType: "source_type";
|
|
39
39
|
readonly SourceProvider: "source_provider";
|
|
40
40
|
readonly SourceAppId: "source_app_id";
|
|
41
|
-
readonly
|
|
41
|
+
readonly ExternalId: "external_id";
|
|
42
42
|
readonly TimeZone: "time_zone";
|
|
43
43
|
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
|
-
export declare type WorkoutDurationTimeseriesExprField = "source_provider" | "source_type" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "intensity";
|
|
4
|
+
export declare type WorkoutDurationTimeseriesExprField = "source_provider" | "source_type" | "source_app_id" | "source_workout_id" | "source_sport" | "timezone_offset" | "type" | "duration" | "value" | "intensity";
|
|
5
5
|
export declare const WorkoutDurationTimeseriesExprField: {
|
|
6
6
|
readonly SourceProvider: "source_provider";
|
|
7
7
|
readonly SourceType: "source_type";
|
|
8
|
+
readonly SourceAppId: "source_app_id";
|
|
8
9
|
readonly SourceWorkoutId: "source_workout_id";
|
|
9
10
|
readonly SourceSport: "source_sport";
|
|
10
11
|
readonly TimezoneOffset: "timezone_offset";
|
|
@@ -7,6 +7,7 @@ exports.WorkoutDurationTimeseriesExprField = void 0;
|
|
|
7
7
|
exports.WorkoutDurationTimeseriesExprField = {
|
|
8
8
|
SourceProvider: "source_provider",
|
|
9
9
|
SourceType: "source_type",
|
|
10
|
+
SourceAppId: "source_app_id",
|
|
10
11
|
SourceWorkoutId: "source_workout_id",
|
|
11
12
|
SourceSport: "source_sport",
|
|
12
13
|
TimezoneOffset: "timezone_offset",
|
package/api/types/index.d.ts
CHANGED
|
@@ -267,6 +267,8 @@ export * from "./LngLat";
|
|
|
267
267
|
export * from "./Macros";
|
|
268
268
|
export * from "./ManualProviders";
|
|
269
269
|
export * from "./MarkerType";
|
|
270
|
+
export * from "./MealColumnExprMeal";
|
|
271
|
+
export * from "./MealColumnExpr";
|
|
270
272
|
export * from "./MealInDbBaseClientFacingSource";
|
|
271
273
|
export * from "./MenstrualCycleResponse";
|
|
272
274
|
export * from "./MenstrualFlowEntryFlow";
|
|
@@ -348,6 +350,7 @@ export * from "./SexualActivityEntry";
|
|
|
348
350
|
export * from "./SexualOrientation";
|
|
349
351
|
export * from "./ShippingAddress";
|
|
350
352
|
export * from "./ShippingAddressWithValidation";
|
|
353
|
+
export * from "./SimulationFlags";
|
|
351
354
|
export * from "./SingleHistoricalPullStatisticsErrorDetails";
|
|
352
355
|
export * from "./SingleHistoricalPullStatistics";
|
|
353
356
|
export * from "./SingleProviderHistoricalPullResponse";
|
|
@@ -362,6 +365,8 @@ export * from "./SleepType";
|
|
|
362
365
|
export * from "./SleepV2InDb";
|
|
363
366
|
export * from "./Source";
|
|
364
367
|
export * from "./SourceAuthType";
|
|
368
|
+
export * from "./SourceColumnExprSource";
|
|
369
|
+
export * from "./SourceColumnExpr";
|
|
365
370
|
export * from "./SourceLink";
|
|
366
371
|
export * from "./SourceType";
|
|
367
372
|
export * from "./TeamConfig";
|