@tryvital/vital-node 3.1.380 → 3.1.382
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/Client.d.ts +12 -12
- package/Client.js +41 -41
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/aggregate/client/Client.d.ts +1 -1
- package/api/resources/aggregate/client/Client.js +4 -4
- package/api/resources/aggregate/client/requests/QueryBatch.d.ts +1 -1
- 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/index.d.ts +6 -6
- package/api/resources/index.js +7 -7
- 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 +106 -107
- package/api/resources/labTests/client/Client.js +745 -746
- package/api/resources/labTests/client/requests/index.d.ts +6 -6
- package/api/resources/labTests/types/index.d.ts +2 -2
- package/api/resources/labTests/types/index.js +2 -2
- 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/payor/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 +3 -3
- 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 +18 -18
- 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/AsleepAtValueMacroExpr.d.ts +7 -0
- package/api/types/AsleepAtValueMacroExpr.js +5 -0
- package/api/types/AwakeAtValueMacroExpr.d.ts +7 -0
- package/api/types/AwakeAtValueMacroExpr.js +5 -0
- package/api/types/QueryGroupByItem.d.ts +1 -1
- package/api/types/QuerySelectItem.d.ts +1 -1
- package/api/types/SleepColumnExprSleep.d.ts +2 -1
- package/api/types/SleepColumnExprSleep.js +1 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/Client.d.ts +12 -12
- package/dist/Client.js +41 -41
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.d.ts +1 -1
- package/dist/api/resources/aggregate/client/Client.js +4 -4
- package/dist/api/resources/aggregate/client/requests/QueryBatch.d.ts +1 -1
- 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/index.d.ts +6 -6
- package/dist/api/resources/index.js +7 -7
- 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 +106 -107
- package/dist/api/resources/labTests/client/Client.js +745 -746
- package/dist/api/resources/labTests/client/requests/index.d.ts +6 -6
- package/dist/api/resources/labTests/types/index.d.ts +2 -2
- package/dist/api/resources/labTests/types/index.js +2 -2
- 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/payor/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 +3 -3
- 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 +18 -18
- 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/AsleepAtValueMacroExpr.d.ts +7 -0
- package/dist/api/types/AsleepAtValueMacroExpr.js +5 -0
- package/dist/api/types/AwakeAtValueMacroExpr.d.ts +7 -0
- package/dist/api/types/AwakeAtValueMacroExpr.js +5 -0
- package/dist/api/types/QueryGroupByItem.d.ts +1 -1
- package/dist/api/types/QuerySelectItem.d.ts +1 -1
- package/dist/api/types/SleepColumnExprSleep.d.ts +2 -1
- package/dist/api/types/SleepColumnExprSleep.js +1 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/resources/index.d.ts +2 -2
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/resources/labTests/client/index.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/index.js +3 -3
- package/dist/serialization/resources/labTests/client/requests/index.d.ts +2 -2
- package/dist/serialization/resources/labTests/client/requests/index.js +5 -5
- package/dist/serialization/resources/labTests/types/index.d.ts +2 -2
- package/dist/serialization/resources/labTests/types/index.js +2 -2
- package/dist/serialization/types/AggregateExprArg.d.ts +3 -1
- package/dist/serialization/types/AggregateExprArg.js +4 -0
- package/dist/serialization/types/AsleepAtValueMacroExpr.d.ts +13 -0
- package/dist/serialization/types/AsleepAtValueMacroExpr.js +34 -0
- package/dist/serialization/types/AwakeAtValueMacroExpr.d.ts +13 -0
- package/dist/serialization/types/AwakeAtValueMacroExpr.js +34 -0
- package/dist/serialization/types/QueryGroupByItem.d.ts +3 -1
- package/dist/serialization/types/QueryGroupByItem.js +4 -0
- package/dist/serialization/types/QuerySelectItem.d.ts +3 -1
- package/dist/serialization/types/QuerySelectItem.js +4 -0
- package/dist/serialization/types/SleepColumnExprSleep.d.ts +1 -1
- package/dist/serialization/types/SleepColumnExprSleep.js +1 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +1101 -1101
- package/serialization/resources/index.d.ts +2 -2
- package/serialization/resources/index.js +2 -2
- package/serialization/resources/labTests/client/index.d.ts +2 -2
- package/serialization/resources/labTests/client/index.js +3 -3
- package/serialization/resources/labTests/client/requests/index.d.ts +2 -2
- package/serialization/resources/labTests/client/requests/index.js +5 -5
- package/serialization/resources/labTests/types/index.d.ts +2 -2
- package/serialization/resources/labTests/types/index.js +2 -2
- package/serialization/types/AggregateExprArg.d.ts +3 -1
- package/serialization/types/AggregateExprArg.js +4 -0
- package/serialization/types/AsleepAtValueMacroExpr.d.ts +13 -0
- package/serialization/types/AsleepAtValueMacroExpr.js +34 -0
- package/serialization/types/AwakeAtValueMacroExpr.d.ts +13 -0
- package/serialization/types/AwakeAtValueMacroExpr.js +34 -0
- package/serialization/types/QueryGroupByItem.d.ts +3 -1
- package/serialization/types/QueryGroupByItem.js +4 -0
- package/serialization/types/QuerySelectItem.d.ts +3 -1
- package/serialization/types/QuerySelectItem.js +4 -0
- package/serialization/types/SleepColumnExprSleep.d.ts +1 -1
- package/serialization/types/SleepColumnExprSleep.js +1 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -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.382", "User-Agent": "@tryvital/vital-node/3.1.382", "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.382", "User-Agent": "@tryvital/vital-node/3.1.382", "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.382", "User-Agent": "@tryvital/vital-node/3.1.382", "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.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.IndexColumnExpr;
|
|
5
|
+
export declare type AggregateExprArg = Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.AsleepAtValueMacroExpr | Vital.AwakeAtValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.IndexColumnExpr;
|
|
@@ -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 | 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;
|
|
5
|
+
export declare type QueryGroupByItem = Vital.DateTruncExpr | Vital.DatePartExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.AsleepAtValueMacroExpr | Vital.AwakeAtValueMacroExpr | 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.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.IndexColumnExpr | Vital.SourceColumnExpr;
|
|
5
|
+
export declare type QuerySelectItem = Vital.AggregateExpr | Vital.GroupKeyColumnExpr | Vital.SleepColumnExpr | Vital.ActivityColumnExpr | Vital.WorkoutColumnExpr | Vital.BodyColumnExpr | Vital.MealColumnExpr | Vital.SleepScoreValueMacroExpr | Vital.ChronotypeValueMacroExpr | Vital.AsleepAtValueMacroExpr | Vital.AwakeAtValueMacroExpr | Vital.UnrecognizedValueMacroExpr | Vital.DiscreteTimeseriesExpr | Vital.IntervalTimeseriesExpr | Vital.BloodPressureTimeseriesExpr | Vital.TemperatureTimeseriesExpr | Vital.WorkoutDurationTimeseriesExpr | Vital.NoteTimeseriesExpr | Vital.IndexColumnExpr | Vital.SourceColumnExpr;
|
|
@@ -4,8 +4,9 @@
|
|
|
4
4
|
/**
|
|
5
5
|
* ℹ️ This enum is non-exhaustive.
|
|
6
6
|
*/
|
|
7
|
-
export declare type SleepColumnExprSleep = "session_start" | "session_end" | "state" | "type" | "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" | "heart_rate_resting" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id" | "source_device_id" | "time_zone";
|
|
7
|
+
export declare type SleepColumnExprSleep = "id" | "session_start" | "session_end" | "state" | "type" | "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" | "heart_rate_resting" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id" | "source_device_id" | "time_zone";
|
|
8
8
|
export declare const SleepColumnExprSleep: {
|
|
9
|
+
readonly Id: "id";
|
|
9
10
|
readonly SessionStart: "session_start";
|
|
10
11
|
readonly SessionEnd: "session_end";
|
|
11
12
|
readonly State: "state";
|
|
@@ -23,9 +23,11 @@ export * from "./AppointmentServiceType";
|
|
|
23
23
|
export * from "./AppointmentStatus";
|
|
24
24
|
export * from "./AppointmentType";
|
|
25
25
|
export * from "./AreaInfo";
|
|
26
|
+
export * from "./AsleepAtValueMacroExpr";
|
|
26
27
|
export * from "./AttemptStatus";
|
|
27
28
|
export * from "./AuthType";
|
|
28
29
|
export * from "./Availability";
|
|
30
|
+
export * from "./AwakeAtValueMacroExpr";
|
|
29
31
|
export * from "./BasalBodyTemperatureEntry";
|
|
30
32
|
export * from "./Billing";
|
|
31
33
|
export * from "./BiomarkerResult";
|
package/dist/api/types/index.js
CHANGED
|
@@ -39,9 +39,11 @@ __exportStar(require("./AppointmentServiceType"), exports);
|
|
|
39
39
|
__exportStar(require("./AppointmentStatus"), exports);
|
|
40
40
|
__exportStar(require("./AppointmentType"), exports);
|
|
41
41
|
__exportStar(require("./AreaInfo"), exports);
|
|
42
|
+
__exportStar(require("./AsleepAtValueMacroExpr"), exports);
|
|
42
43
|
__exportStar(require("./AttemptStatus"), exports);
|
|
43
44
|
__exportStar(require("./AuthType"), exports);
|
|
44
45
|
__exportStar(require("./Availability"), exports);
|
|
46
|
+
__exportStar(require("./AwakeAtValueMacroExpr"), exports);
|
|
45
47
|
__exportStar(require("./BasalBodyTemperatureEntry"), exports);
|
|
46
48
|
__exportStar(require("./Billing"), exports);
|
|
47
49
|
__exportStar(require("./BiomarkerResult"), exports);
|
|
@@ -9,11 +9,11 @@ export * as providers from "./providers";
|
|
|
9
9
|
export * as team from "./team";
|
|
10
10
|
export * as vitals from "./vitals";
|
|
11
11
|
export * as insurance from "./insurance";
|
|
12
|
-
export * from "./user/client/requests";
|
|
13
12
|
export * from "./link/client/requests";
|
|
14
|
-
export * from "./
|
|
13
|
+
export * from "./user/client/requests";
|
|
15
14
|
export * as testkit from "./testkit";
|
|
16
15
|
export * from "./testkit/client/requests";
|
|
16
|
+
export * from "./labTests/client/requests";
|
|
17
17
|
export * as order from "./order";
|
|
18
18
|
export * from "./order/client/requests";
|
|
19
19
|
export * from "./insurance/client/requests";
|
|
@@ -38,11 +38,11 @@ exports.providers = __importStar(require("./providers"));
|
|
|
38
38
|
exports.team = __importStar(require("./team"));
|
|
39
39
|
exports.vitals = __importStar(require("./vitals"));
|
|
40
40
|
exports.insurance = __importStar(require("./insurance"));
|
|
41
|
-
__exportStar(require("./user/client/requests"), exports);
|
|
42
41
|
__exportStar(require("./link/client/requests"), exports);
|
|
43
|
-
__exportStar(require("./
|
|
42
|
+
__exportStar(require("./user/client/requests"), exports);
|
|
44
43
|
exports.testkit = __importStar(require("./testkit"));
|
|
45
44
|
__exportStar(require("./testkit/client/requests"), exports);
|
|
45
|
+
__exportStar(require("./labTests/client/requests"), exports);
|
|
46
46
|
exports.order = __importStar(require("./order"));
|
|
47
47
|
__exportStar(require("./order/client/requests"), exports);
|
|
48
48
|
__exportStar(require("./insurance/client/requests"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * as get from "./get";
|
|
2
|
-
export * as getLabs from "./getLabs";
|
|
3
1
|
export * as getPhlebotomyAppointmentCancellationReason from "./getPhlebotomyAppointmentCancellationReason";
|
|
4
2
|
export * as getPscAppointmentCancellationReason from "./getPscAppointmentCancellationReason";
|
|
5
3
|
export * as simulateOrderProcess from "./simulateOrderProcess";
|
|
4
|
+
export * as get from "./get";
|
|
5
|
+
export * as getLabs from "./getLabs";
|
|
6
6
|
export * from "./requests";
|
|
@@ -26,10 +26,10 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
26
26
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
27
27
|
};
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
29
|
-
exports.
|
|
30
|
-
exports.get = __importStar(require("./get"));
|
|
31
|
-
exports.getLabs = __importStar(require("./getLabs"));
|
|
29
|
+
exports.getLabs = exports.get = exports.simulateOrderProcess = exports.getPscAppointmentCancellationReason = exports.getPhlebotomyAppointmentCancellationReason = void 0;
|
|
32
30
|
exports.getPhlebotomyAppointmentCancellationReason = __importStar(require("./getPhlebotomyAppointmentCancellationReason"));
|
|
33
31
|
exports.getPscAppointmentCancellationReason = __importStar(require("./getPscAppointmentCancellationReason"));
|
|
34
32
|
exports.simulateOrderProcess = __importStar(require("./simulateOrderProcess"));
|
|
33
|
+
exports.get = __importStar(require("./get"));
|
|
34
|
+
exports.getLabs = __importStar(require("./getLabs"));
|
|
35
35
|
__exportStar(require("./requests"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { CreateLabTestRequest } from "./CreateLabTestRequest";
|
|
2
|
-
export { UpdateLabTestRequest } from "./UpdateLabTestRequest";
|
|
3
1
|
export { RequestAppointmentRequest } from "./RequestAppointmentRequest";
|
|
4
2
|
export { ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest } from "./ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest";
|
|
5
3
|
export { VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest } from "./VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest";
|
|
6
4
|
export { CreateOrderRequestCompatible } from "./CreateOrderRequestCompatible";
|
|
7
5
|
export { ImportOrderBody } from "./ImportOrderBody";
|
|
6
|
+
export { CreateLabTestRequest } from "./CreateLabTestRequest";
|
|
7
|
+
export { UpdateLabTestRequest } from "./UpdateLabTestRequest";
|
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
var CreateLabTestRequest_1 = require("./CreateLabTestRequest");
|
|
5
|
-
Object.defineProperty(exports, "CreateLabTestRequest", { enumerable: true, get: function () { return CreateLabTestRequest_1.CreateLabTestRequest; } });
|
|
6
|
-
var UpdateLabTestRequest_1 = require("./UpdateLabTestRequest");
|
|
7
|
-
Object.defineProperty(exports, "UpdateLabTestRequest", { enumerable: true, get: function () { return UpdateLabTestRequest_1.UpdateLabTestRequest; } });
|
|
3
|
+
exports.UpdateLabTestRequest = exports.CreateLabTestRequest = exports.ImportOrderBody = exports.CreateOrderRequestCompatible = exports.VitalCoreClientsLabTestGetlabsSchemaAppointmentCancelRequest = exports.ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest = exports.RequestAppointmentRequest = void 0;
|
|
8
4
|
var RequestAppointmentRequest_1 = require("./RequestAppointmentRequest");
|
|
9
5
|
Object.defineProperty(exports, "RequestAppointmentRequest", { enumerable: true, get: function () { return RequestAppointmentRequest_1.RequestAppointmentRequest; } });
|
|
10
6
|
var ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest_1 = require("./ApiApiV1EndpointsVitalApiLabTestingOrdersHelpersAppointmentCancelRequest");
|
|
@@ -15,3 +11,7 @@ var CreateOrderRequestCompatible_1 = require("./CreateOrderRequestCompatible");
|
|
|
15
11
|
Object.defineProperty(exports, "CreateOrderRequestCompatible", { enumerable: true, get: function () { return CreateOrderRequestCompatible_1.CreateOrderRequestCompatible; } });
|
|
16
12
|
var ImportOrderBody_1 = require("./ImportOrderBody");
|
|
17
13
|
Object.defineProperty(exports, "ImportOrderBody", { enumerable: true, get: function () { return ImportOrderBody_1.ImportOrderBody; } });
|
|
14
|
+
var CreateLabTestRequest_1 = require("./CreateLabTestRequest");
|
|
15
|
+
Object.defineProperty(exports, "CreateLabTestRequest", { enumerable: true, get: function () { return CreateLabTestRequest_1.CreateLabTestRequest; } });
|
|
16
|
+
var UpdateLabTestRequest_1 = require("./UpdateLabTestRequest");
|
|
17
|
+
Object.defineProperty(exports, "UpdateLabTestRequest", { enumerable: true, get: function () { return UpdateLabTestRequest_1.UpdateLabTestRequest; } });
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export * from "./LabTestsGetRequestOrderKey";
|
|
2
|
-
export * from "./LabTestsGetRequestOrderDirection";
|
|
3
1
|
export * from "./LabTestsGetOrdersRequestOrderKey";
|
|
4
2
|
export * from "./LabTestsGetOrdersRequestOrderDirection";
|
|
3
|
+
export * from "./LabTestsGetRequestOrderKey";
|
|
4
|
+
export * from "./LabTestsGetRequestOrderDirection";
|
|
5
5
|
export * from "./LabTestsGetPaginatedRequestOrderKey";
|
|
6
6
|
export * from "./LabTestsGetPaginatedRequestOrderDirection";
|
|
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./LabTestsGetRequestOrderKey"), exports);
|
|
18
|
-
__exportStar(require("./LabTestsGetRequestOrderDirection"), exports);
|
|
19
17
|
__exportStar(require("./LabTestsGetOrdersRequestOrderKey"), exports);
|
|
20
18
|
__exportStar(require("./LabTestsGetOrdersRequestOrderDirection"), exports);
|
|
19
|
+
__exportStar(require("./LabTestsGetRequestOrderKey"), exports);
|
|
20
|
+
__exportStar(require("./LabTestsGetRequestOrderDirection"), exports);
|
|
21
21
|
__exportStar(require("./LabTestsGetPaginatedRequestOrderKey"), exports);
|
|
22
22
|
__exportStar(require("./LabTestsGetPaginatedRequestOrderDirection"), exports);
|
|
@@ -11,6 +11,8 @@ import { BodyColumnExpr } from "./BodyColumnExpr";
|
|
|
11
11
|
import { MealColumnExpr } from "./MealColumnExpr";
|
|
12
12
|
import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
|
|
13
13
|
import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
|
|
14
|
+
import { AsleepAtValueMacroExpr } from "./AsleepAtValueMacroExpr";
|
|
15
|
+
import { AwakeAtValueMacroExpr } from "./AwakeAtValueMacroExpr";
|
|
14
16
|
import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
|
|
15
17
|
import { DiscreteTimeseriesExpr } from "./DiscreteTimeseriesExpr";
|
|
16
18
|
import { IntervalTimeseriesExpr } from "./IntervalTimeseriesExpr";
|
|
@@ -21,5 +23,5 @@ import { NoteTimeseriesExpr } from "./NoteTimeseriesExpr";
|
|
|
21
23
|
import { IndexColumnExpr } from "./IndexColumnExpr";
|
|
22
24
|
export declare const AggregateExprArg: core.serialization.Schema<serializers.AggregateExprArg.Raw, Vital.AggregateExprArg>;
|
|
23
25
|
export declare namespace AggregateExprArg {
|
|
24
|
-
type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw;
|
|
26
|
+
type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | AsleepAtValueMacroExpr.Raw | AwakeAtValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw;
|
|
25
27
|
}
|
|
@@ -35,6 +35,8 @@ const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
|
|
35
35
|
const MealColumnExpr_1 = require("./MealColumnExpr");
|
|
36
36
|
const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
|
|
37
37
|
const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
|
|
38
|
+
const AsleepAtValueMacroExpr_1 = require("./AsleepAtValueMacroExpr");
|
|
39
|
+
const AwakeAtValueMacroExpr_1 = require("./AwakeAtValueMacroExpr");
|
|
38
40
|
const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
|
|
39
41
|
const DiscreteTimeseriesExpr_1 = require("./DiscreteTimeseriesExpr");
|
|
40
42
|
const IntervalTimeseriesExpr_1 = require("./IntervalTimeseriesExpr");
|
|
@@ -51,6 +53,8 @@ exports.AggregateExprArg = core.serialization.undiscriminatedUnion([
|
|
|
51
53
|
MealColumnExpr_1.MealColumnExpr,
|
|
52
54
|
SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
|
|
53
55
|
ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
|
|
56
|
+
AsleepAtValueMacroExpr_1.AsleepAtValueMacroExpr,
|
|
57
|
+
AwakeAtValueMacroExpr_1.AwakeAtValueMacroExpr,
|
|
54
58
|
UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
|
|
55
59
|
DiscreteTimeseriesExpr_1.DiscreteTimeseriesExpr,
|
|
56
60
|
IntervalTimeseriesExpr_1.IntervalTimeseriesExpr,
|
|
@@ -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
|
+
export declare const AsleepAtValueMacroExpr: core.serialization.ObjectSchema<serializers.AsleepAtValueMacroExpr.Raw, Vital.AsleepAtValueMacroExpr>;
|
|
8
|
+
export declare namespace AsleepAtValueMacroExpr {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value_macro: "asleep_at";
|
|
11
|
+
version?: "automatic" | null;
|
|
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.AsleepAtValueMacroExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.AsleepAtValueMacroExpr = core.serialization.object({
|
|
32
|
+
valueMacro: core.serialization.property("value_macro", core.serialization.stringLiteral("asleep_at")),
|
|
33
|
+
version: core.serialization.stringLiteral("automatic").optional(),
|
|
34
|
+
});
|
|
@@ -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
|
+
export declare const AwakeAtValueMacroExpr: core.serialization.ObjectSchema<serializers.AwakeAtValueMacroExpr.Raw, Vital.AwakeAtValueMacroExpr>;
|
|
8
|
+
export declare namespace AwakeAtValueMacroExpr {
|
|
9
|
+
interface Raw {
|
|
10
|
+
value_macro: "awake_at";
|
|
11
|
+
version?: "automatic" | null;
|
|
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.AwakeAtValueMacroExpr = void 0;
|
|
30
|
+
const core = __importStar(require("../../core"));
|
|
31
|
+
exports.AwakeAtValueMacroExpr = core.serialization.object({
|
|
32
|
+
valueMacro: core.serialization.property("value_macro", core.serialization.stringLiteral("awake_at")),
|
|
33
|
+
version: core.serialization.stringLiteral("automatic").optional(),
|
|
34
|
+
});
|
|
@@ -13,6 +13,8 @@ import { BodyColumnExpr } from "./BodyColumnExpr";
|
|
|
13
13
|
import { MealColumnExpr } from "./MealColumnExpr";
|
|
14
14
|
import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
|
|
15
15
|
import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
|
|
16
|
+
import { AsleepAtValueMacroExpr } from "./AsleepAtValueMacroExpr";
|
|
17
|
+
import { AwakeAtValueMacroExpr } from "./AwakeAtValueMacroExpr";
|
|
16
18
|
import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
|
|
17
19
|
import { DiscreteTimeseriesExpr } from "./DiscreteTimeseriesExpr";
|
|
18
20
|
import { IntervalTimeseriesExpr } from "./IntervalTimeseriesExpr";
|
|
@@ -23,5 +25,5 @@ import { NoteTimeseriesExpr } from "./NoteTimeseriesExpr";
|
|
|
23
25
|
import { SourceColumnExpr } from "./SourceColumnExpr";
|
|
24
26
|
export declare const QueryGroupByItem: core.serialization.Schema<serializers.QueryGroupByItem.Raw, Vital.QueryGroupByItem>;
|
|
25
27
|
export declare namespace QueryGroupByItem {
|
|
26
|
-
type Raw = DateTruncExpr.Raw | DatePartExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | SourceColumnExpr.Raw;
|
|
28
|
+
type Raw = DateTruncExpr.Raw | DatePartExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | AsleepAtValueMacroExpr.Raw | AwakeAtValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | SourceColumnExpr.Raw;
|
|
27
29
|
}
|
|
@@ -37,6 +37,8 @@ const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
|
|
37
37
|
const MealColumnExpr_1 = require("./MealColumnExpr");
|
|
38
38
|
const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
|
|
39
39
|
const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
|
|
40
|
+
const AsleepAtValueMacroExpr_1 = require("./AsleepAtValueMacroExpr");
|
|
41
|
+
const AwakeAtValueMacroExpr_1 = require("./AwakeAtValueMacroExpr");
|
|
40
42
|
const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
|
|
41
43
|
const DiscreteTimeseriesExpr_1 = require("./DiscreteTimeseriesExpr");
|
|
42
44
|
const IntervalTimeseriesExpr_1 = require("./IntervalTimeseriesExpr");
|
|
@@ -55,6 +57,8 @@ exports.QueryGroupByItem = core.serialization.undiscriminatedUnion([
|
|
|
55
57
|
MealColumnExpr_1.MealColumnExpr,
|
|
56
58
|
SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
|
|
57
59
|
ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
|
|
60
|
+
AsleepAtValueMacroExpr_1.AsleepAtValueMacroExpr,
|
|
61
|
+
AwakeAtValueMacroExpr_1.AwakeAtValueMacroExpr,
|
|
58
62
|
UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
|
|
59
63
|
DiscreteTimeseriesExpr_1.DiscreteTimeseriesExpr,
|
|
60
64
|
IntervalTimeseriesExpr_1.IntervalTimeseriesExpr,
|
|
@@ -13,6 +13,8 @@ import { BodyColumnExpr } from "./BodyColumnExpr";
|
|
|
13
13
|
import { MealColumnExpr } from "./MealColumnExpr";
|
|
14
14
|
import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
|
|
15
15
|
import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
|
|
16
|
+
import { AsleepAtValueMacroExpr } from "./AsleepAtValueMacroExpr";
|
|
17
|
+
import { AwakeAtValueMacroExpr } from "./AwakeAtValueMacroExpr";
|
|
16
18
|
import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
|
|
17
19
|
import { DiscreteTimeseriesExpr } from "./DiscreteTimeseriesExpr";
|
|
18
20
|
import { IntervalTimeseriesExpr } from "./IntervalTimeseriesExpr";
|
|
@@ -24,5 +26,5 @@ import { IndexColumnExpr } from "./IndexColumnExpr";
|
|
|
24
26
|
import { SourceColumnExpr } from "./SourceColumnExpr";
|
|
25
27
|
export declare const QuerySelectItem: core.serialization.Schema<serializers.QuerySelectItem.Raw, Vital.QuerySelectItem>;
|
|
26
28
|
export declare namespace QuerySelectItem {
|
|
27
|
-
type Raw = AggregateExpr.Raw | GroupKeyColumnExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw | SourceColumnExpr.Raw;
|
|
29
|
+
type Raw = AggregateExpr.Raw | GroupKeyColumnExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | MealColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | AsleepAtValueMacroExpr.Raw | AwakeAtValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw | DiscreteTimeseriesExpr.Raw | IntervalTimeseriesExpr.Raw | BloodPressureTimeseriesExpr.Raw | TemperatureTimeseriesExpr.Raw | WorkoutDurationTimeseriesExpr.Raw | NoteTimeseriesExpr.Raw | IndexColumnExpr.Raw | SourceColumnExpr.Raw;
|
|
28
30
|
}
|
|
@@ -37,6 +37,8 @@ const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
|
|
37
37
|
const MealColumnExpr_1 = require("./MealColumnExpr");
|
|
38
38
|
const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
|
|
39
39
|
const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
|
|
40
|
+
const AsleepAtValueMacroExpr_1 = require("./AsleepAtValueMacroExpr");
|
|
41
|
+
const AwakeAtValueMacroExpr_1 = require("./AwakeAtValueMacroExpr");
|
|
40
42
|
const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
|
|
41
43
|
const DiscreteTimeseriesExpr_1 = require("./DiscreteTimeseriesExpr");
|
|
42
44
|
const IntervalTimeseriesExpr_1 = require("./IntervalTimeseriesExpr");
|
|
@@ -56,6 +58,8 @@ exports.QuerySelectItem = core.serialization.undiscriminatedUnion([
|
|
|
56
58
|
MealColumnExpr_1.MealColumnExpr,
|
|
57
59
|
SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
|
|
58
60
|
ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
|
|
61
|
+
AsleepAtValueMacroExpr_1.AsleepAtValueMacroExpr,
|
|
62
|
+
AwakeAtValueMacroExpr_1.AwakeAtValueMacroExpr,
|
|
59
63
|
UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
|
|
60
64
|
DiscreteTimeseriesExpr_1.DiscreteTimeseriesExpr,
|
|
61
65
|
IntervalTimeseriesExpr_1.IntervalTimeseriesExpr,
|
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
|
6
6
|
import * as core from "../../core";
|
|
7
7
|
export declare const SleepColumnExprSleep: core.serialization.Schema<serializers.SleepColumnExprSleep.Raw, Vital.SleepColumnExprSleep>;
|
|
8
8
|
export declare namespace SleepColumnExprSleep {
|
|
9
|
-
type Raw = "session_start" | "session_end" | "state" | "type" | "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" | "heart_rate_resting" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id" | "source_device_id" | "time_zone";
|
|
9
|
+
type Raw = "id" | "session_start" | "session_end" | "state" | "type" | "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" | "heart_rate_resting" | "efficiency" | "hrv_mean_rmssd" | "hrv_mean_sdnn" | "skin_temperature" | "skin_temperature_delta" | "respiratory_rate" | "score" | "source_type" | "source_provider" | "source_app_id" | "source_device_id" | "time_zone";
|
|
10
10
|
}
|
|
@@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.SleepColumnExprSleep = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
|
31
31
|
exports.SleepColumnExprSleep = core.serialization.enum_([
|
|
32
|
+
"id",
|
|
32
33
|
"session_start",
|
|
33
34
|
"session_end",
|
|
34
35
|
"state",
|
|
@@ -23,9 +23,11 @@ export * from "./AppointmentServiceType";
|
|
|
23
23
|
export * from "./AppointmentStatus";
|
|
24
24
|
export * from "./AppointmentType";
|
|
25
25
|
export * from "./AreaInfo";
|
|
26
|
+
export * from "./AsleepAtValueMacroExpr";
|
|
26
27
|
export * from "./AttemptStatus";
|
|
27
28
|
export * from "./AuthType";
|
|
28
29
|
export * from "./Availability";
|
|
30
|
+
export * from "./AwakeAtValueMacroExpr";
|
|
29
31
|
export * from "./BasalBodyTemperatureEntry";
|
|
30
32
|
export * from "./Billing";
|
|
31
33
|
export * from "./BiomarkerResult";
|
|
@@ -39,9 +39,11 @@ __exportStar(require("./AppointmentServiceType"), exports);
|
|
|
39
39
|
__exportStar(require("./AppointmentStatus"), exports);
|
|
40
40
|
__exportStar(require("./AppointmentType"), exports);
|
|
41
41
|
__exportStar(require("./AreaInfo"), exports);
|
|
42
|
+
__exportStar(require("./AsleepAtValueMacroExpr"), exports);
|
|
42
43
|
__exportStar(require("./AttemptStatus"), exports);
|
|
43
44
|
__exportStar(require("./AuthType"), exports);
|
|
44
45
|
__exportStar(require("./Availability"), exports);
|
|
46
|
+
__exportStar(require("./AwakeAtValueMacroExpr"), exports);
|
|
45
47
|
__exportStar(require("./BasalBodyTemperatureEntry"), exports);
|
|
46
48
|
__exportStar(require("./Billing"), exports);
|
|
47
49
|
__exportStar(require("./BiomarkerResult"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
|
1
|
+
export declare const SDK_VERSION = "3.1.382";
|
package/dist/version.js
CHANGED