@tryvital/vital-node 3.1.82 → 3.1.84
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 +1 -1
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- package/api/resources/insurance/client/Client.js +2 -2
- package/api/resources/introspect/client/Client.js +2 -2
- package/api/resources/labTests/client/Client.js +28 -28
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.js +1 -1
- package/api/resources/profile/client/Client.js +2 -2
- package/api/resources/providers/client/Client.js +1 -1
- package/api/resources/sleep/client/Client.js +4 -4
- package/api/resources/team/client/Client.js +7 -7
- package/api/resources/testkit/client/Client.js +2 -2
- package/api/resources/user/client/Client.js +16 -16
- package/api/resources/vitals/client/Client.js +56 -56
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ActivityColumnExprActivity.d.ts +3 -3
- package/api/types/ActivityColumnExprActivity.js +2 -2
- package/api/types/AggregateExprArg.d.ts +1 -1
- package/api/types/BodyColumnExpr.d.ts +7 -0
- package/api/types/BodyColumnExpr.js +5 -0
- package/api/types/BodyColumnExprBody.d.ts +12 -0
- package/api/types/BodyColumnExprBody.js +14 -0
- package/api/types/IndexColumnExprIndex.d.ts +3 -1
- package/api/types/IndexColumnExprIndex.js +2 -0
- package/api/types/Labs.d.ts +2 -1
- package/api/types/Labs.js +1 -0
- package/api/types/QueryInstructionSelectItem.d.ts +1 -1
- package/api/types/WorkoutColumnExpr.d.ts +7 -0
- package/api/types/WorkoutColumnExpr.js +5 -0
- package/api/types/WorkoutColumnExprWorkout.d.ts +38 -0
- package/api/types/WorkoutColumnExprWorkout.js +40 -0
- package/api/types/index.d.ts +4 -0
- package/api/types/index.js +4 -0
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/aggregate/client/Client.js +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/insurance/client/Client.js +2 -2
- package/dist/api/resources/introspect/client/Client.js +2 -2
- package/dist/api/resources/labTests/client/Client.js +28 -28
- package/dist/api/resources/link/client/Client.js +14 -14
- package/dist/api/resources/meal/client/Client.js +1 -1
- package/dist/api/resources/menstrualCycle/client/Client.js +1 -1
- package/dist/api/resources/profile/client/Client.js +2 -2
- package/dist/api/resources/providers/client/Client.js +1 -1
- package/dist/api/resources/sleep/client/Client.js +4 -4
- package/dist/api/resources/team/client/Client.js +7 -7
- package/dist/api/resources/testkit/client/Client.js +2 -2
- package/dist/api/resources/user/client/Client.js +16 -16
- package/dist/api/resources/vitals/client/Client.js +56 -56
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ActivityColumnExprActivity.d.ts +3 -3
- package/dist/api/types/ActivityColumnExprActivity.js +2 -2
- package/dist/api/types/AggregateExprArg.d.ts +1 -1
- package/dist/api/types/BodyColumnExpr.d.ts +7 -0
- package/dist/api/types/BodyColumnExpr.js +5 -0
- package/dist/api/types/BodyColumnExprBody.d.ts +12 -0
- package/dist/api/types/BodyColumnExprBody.js +14 -0
- package/dist/api/types/IndexColumnExprIndex.d.ts +3 -1
- package/dist/api/types/IndexColumnExprIndex.js +2 -0
- package/dist/api/types/Labs.d.ts +2 -1
- package/dist/api/types/Labs.js +1 -0
- package/dist/api/types/QueryInstructionSelectItem.d.ts +1 -1
- package/dist/api/types/WorkoutColumnExpr.d.ts +7 -0
- package/dist/api/types/WorkoutColumnExpr.js +5 -0
- package/dist/api/types/WorkoutColumnExprWorkout.d.ts +38 -0
- package/dist/api/types/WorkoutColumnExprWorkout.js +40 -0
- package/dist/api/types/index.d.ts +4 -0
- package/dist/api/types/index.js +4 -0
- package/dist/serialization/types/ActivityColumnExprActivity.d.ts +1 -1
- package/dist/serialization/types/ActivityColumnExprActivity.js +2 -2
- package/dist/serialization/types/AggregateExprArg.d.ts +3 -1
- package/dist/serialization/types/AggregateExprArg.js +10 -1
- package/dist/serialization/types/BodyColumnExpr.d.ts +13 -0
- package/dist/serialization/types/BodyColumnExpr.js +34 -0
- package/dist/serialization/types/BodyColumnExprBody.d.ts +10 -0
- package/dist/serialization/types/BodyColumnExprBody.js +38 -0
- package/dist/serialization/types/IndexColumnExprIndex.d.ts +1 -1
- package/dist/serialization/types/IndexColumnExprIndex.js +1 -1
- package/dist/serialization/types/Labs.d.ts +1 -1
- package/dist/serialization/types/Labs.js +1 -0
- package/dist/serialization/types/QueryInstructionSelectItem.d.ts +3 -1
- package/dist/serialization/types/QueryInstructionSelectItem.js +4 -0
- package/dist/serialization/types/WorkoutColumnExpr.d.ts +13 -0
- package/dist/serialization/types/WorkoutColumnExpr.js +34 -0
- package/dist/serialization/types/WorkoutColumnExprWorkout.d.ts +10 -0
- package/dist/serialization/types/WorkoutColumnExprWorkout.js +64 -0
- package/dist/serialization/types/index.d.ts +4 -0
- package/dist/serialization/types/index.js +4 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/types/ActivityColumnExprActivity.d.ts +1 -1
- package/serialization/types/ActivityColumnExprActivity.js +2 -2
- package/serialization/types/AggregateExprArg.d.ts +3 -1
- package/serialization/types/AggregateExprArg.js +10 -1
- package/serialization/types/BodyColumnExpr.d.ts +13 -0
- package/serialization/types/BodyColumnExpr.js +34 -0
- package/serialization/types/BodyColumnExprBody.d.ts +10 -0
- package/serialization/types/BodyColumnExprBody.js +38 -0
- package/serialization/types/IndexColumnExprIndex.d.ts +1 -1
- package/serialization/types/IndexColumnExprIndex.js +1 -1
- package/serialization/types/Labs.d.ts +1 -1
- package/serialization/types/Labs.js +1 -0
- package/serialization/types/QueryInstructionSelectItem.d.ts +3 -1
- package/serialization/types/QueryInstructionSelectItem.js +4 -0
- package/serialization/types/WorkoutColumnExpr.d.ts +13 -0
- package/serialization/types/WorkoutColumnExpr.js +34 -0
- package/serialization/types/WorkoutColumnExprWorkout.d.ts +10 -0
- package/serialization/types/WorkoutColumnExprWorkout.js +64 -0
- package/serialization/types/index.d.ts +4 -0
- package/serialization/types/index.js +4 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -23,6 +23,8 @@ export * from "./Availability";
|
|
23
23
|
export * from "./BasalBodyTemperatureEntry";
|
24
24
|
export * from "./Billing";
|
25
25
|
export * from "./BiomarkerResult";
|
26
|
+
export * from "./BodyColumnExprBody";
|
27
|
+
export * from "./BodyColumnExpr";
|
26
28
|
export * from "./BodyV2InDb";
|
27
29
|
export * from "./CervicalMucusEntryQuality";
|
28
30
|
export * from "./CervicalMucusEntry";
|
@@ -289,6 +291,8 @@ export * from "./ValidationErrorLocItem";
|
|
289
291
|
export * from "./ValidationError";
|
290
292
|
export * from "./VitalTokenCreatedResponse";
|
291
293
|
export * from "./Vitamins";
|
294
|
+
export * from "./WorkoutColumnExprWorkout";
|
295
|
+
export * from "./WorkoutColumnExpr";
|
292
296
|
export * from "./WorkoutV2InDb";
|
293
297
|
export * from "./ClientFacingSampleGroupingKeys";
|
294
298
|
export * from "./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails";
|
@@ -39,6 +39,8 @@ __exportStar(require("./Availability"), exports);
|
|
39
39
|
__exportStar(require("./BasalBodyTemperatureEntry"), exports);
|
40
40
|
__exportStar(require("./Billing"), exports);
|
41
41
|
__exportStar(require("./BiomarkerResult"), exports);
|
42
|
+
__exportStar(require("./BodyColumnExprBody"), exports);
|
43
|
+
__exportStar(require("./BodyColumnExpr"), exports);
|
42
44
|
__exportStar(require("./BodyV2InDb"), exports);
|
43
45
|
__exportStar(require("./CervicalMucusEntryQuality"), exports);
|
44
46
|
__exportStar(require("./CervicalMucusEntry"), exports);
|
@@ -305,6 +307,8 @@ __exportStar(require("./ValidationErrorLocItem"), exports);
|
|
305
307
|
__exportStar(require("./ValidationError"), exports);
|
306
308
|
__exportStar(require("./VitalTokenCreatedResponse"), exports);
|
307
309
|
__exportStar(require("./Vitamins"), exports);
|
310
|
+
__exportStar(require("./WorkoutColumnExprWorkout"), exports);
|
311
|
+
__exportStar(require("./WorkoutColumnExpr"), exports);
|
308
312
|
__exportStar(require("./WorkoutV2InDb"), exports);
|
309
313
|
__exportStar(require("./ClientFacingSampleGroupingKeys"), exports);
|
310
314
|
__exportStar(require("./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails"), 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.84";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const ActivityColumnExprActivity: core.serialization.Schema<serializers.ActivityColumnExprActivity.Raw, Vital.ActivityColumnExprActivity>;
|
8
8
|
export declare namespace ActivityColumnExprActivity {
|
9
|
-
type Raw = "date" | "calories_total" | "calories_active" | "steps" | "distance_meter" | "floors_climbed" | "duration_active_second" | "intensity_sedentary_second" | "intensity_low_second" | "intensity_medium_second" | "intensity_high_second" | "heart_rate_mean" | "
|
9
|
+
type Raw = "date" | "calories_total" | "calories_active" | "steps" | "distance_meter" | "floors_climbed" | "duration_active_second" | "intensity_sedentary_second" | "intensity_low_second" | "intensity_medium_second" | "intensity_high_second" | "heart_rate_mean" | "heart_rate_minimum" | "heart_rate_maximum" | "heart_rate_resting" | "source_type" | "source_provider" | "source_app_id";
|
10
10
|
}
|
@@ -41,8 +41,8 @@ exports.ActivityColumnExprActivity = core.serialization.enum_([
|
|
41
41
|
"intensity_medium_second",
|
42
42
|
"intensity_high_second",
|
43
43
|
"heart_rate_mean",
|
44
|
-
"
|
45
|
-
"
|
44
|
+
"heart_rate_minimum",
|
45
|
+
"heart_rate_maximum",
|
46
46
|
"heart_rate_resting",
|
47
47
|
"source_type",
|
48
48
|
"source_provider",
|
@@ -6,9 +6,11 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
import { SleepColumnExpr } from "./SleepColumnExpr";
|
8
8
|
import { ActivityColumnExpr } from "./ActivityColumnExpr";
|
9
|
+
import { WorkoutColumnExpr } from "./WorkoutColumnExpr";
|
10
|
+
import { BodyColumnExpr } from "./BodyColumnExpr";
|
9
11
|
import { IndexColumnExpr } from "./IndexColumnExpr";
|
10
12
|
import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
|
11
13
|
export declare const AggregateExprArg: core.serialization.Schema<serializers.AggregateExprArg.Raw, Vital.AggregateExprArg>;
|
12
14
|
export declare namespace AggregateExprArg {
|
13
|
-
type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
|
15
|
+
type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
|
14
16
|
}
|
@@ -30,6 +30,15 @@ exports.AggregateExprArg = void 0;
|
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const SleepColumnExpr_1 = require("./SleepColumnExpr");
|
32
32
|
const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
|
33
|
+
const WorkoutColumnExpr_1 = require("./WorkoutColumnExpr");
|
34
|
+
const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
33
35
|
const IndexColumnExpr_1 = require("./IndexColumnExpr");
|
34
36
|
const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
|
35
|
-
exports.AggregateExprArg = core.serialization.undiscriminatedUnion([
|
37
|
+
exports.AggregateExprArg = core.serialization.undiscriminatedUnion([
|
38
|
+
SleepColumnExpr_1.SleepColumnExpr,
|
39
|
+
ActivityColumnExpr_1.ActivityColumnExpr,
|
40
|
+
WorkoutColumnExpr_1.WorkoutColumnExpr,
|
41
|
+
BodyColumnExpr_1.BodyColumnExpr,
|
42
|
+
IndexColumnExpr_1.IndexColumnExpr,
|
43
|
+
GroupKeyColumnExpr_1.GroupKeyColumnExpr,
|
44
|
+
]);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { BodyColumnExprBody } from "./BodyColumnExprBody";
|
8
|
+
export declare const BodyColumnExpr: core.serialization.ObjectSchema<serializers.BodyColumnExpr.Raw, Vital.BodyColumnExpr>;
|
9
|
+
export declare namespace BodyColumnExpr {
|
10
|
+
interface Raw {
|
11
|
+
body: BodyColumnExprBody.Raw;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.BodyColumnExpr = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const BodyColumnExprBody_1 = require("./BodyColumnExprBody");
|
32
|
+
exports.BodyColumnExpr = core.serialization.object({
|
33
|
+
body: BodyColumnExprBody_1.BodyColumnExprBody,
|
34
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const BodyColumnExprBody: core.serialization.Schema<serializers.BodyColumnExprBody.Raw, Vital.BodyColumnExprBody>;
|
8
|
+
export declare namespace BodyColumnExprBody {
|
9
|
+
type Raw = "measured_at" | "weight_kilogram" | "fat_percentage" | "source_type" | "source_provider" | "source_app_id";
|
10
|
+
}
|
@@ -0,0 +1,38 @@
|
|
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.BodyColumnExprBody = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.BodyColumnExprBody = core.serialization.enum_([
|
32
|
+
"measured_at",
|
33
|
+
"weight_kilogram",
|
34
|
+
"fat_percentage",
|
35
|
+
"source_type",
|
36
|
+
"source_provider",
|
37
|
+
"source_app_id",
|
38
|
+
]);
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const IndexColumnExprIndex: core.serialization.Schema<serializers.IndexColumnExprIndex.Raw, Vital.IndexColumnExprIndex>;
|
8
8
|
export declare namespace IndexColumnExprIndex {
|
9
|
-
type Raw = "sleep" | "activity";
|
9
|
+
type Raw = "sleep" | "activity" | "workout" | "body";
|
10
10
|
}
|
@@ -28,4 +28,4 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.IndexColumnExprIndex = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity"]);
|
31
|
+
exports.IndexColumnExprIndex = core.serialization.enum_(["sleep", "activity", "workout", "body"]);
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const Labs: core.serialization.Schema<serializers.Labs.Raw, Vital.Labs>;
|
8
8
|
export declare namespace Labs {
|
9
|
-
type Raw = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "manual" | "sanocardio";
|
9
|
+
type Raw = "ayumetrix" | "spiriplex" | "ussl" | "quest" | "labcorp" | "bioreference" | "us_biotek" | "manual" | "sanocardio";
|
10
10
|
}
|
@@ -7,9 +7,11 @@ import * as core from "../../core";
|
|
7
7
|
import { AggregateExpr } from "./AggregateExpr";
|
8
8
|
import { SleepColumnExpr } from "./SleepColumnExpr";
|
9
9
|
import { ActivityColumnExpr } from "./ActivityColumnExpr";
|
10
|
+
import { WorkoutColumnExpr } from "./WorkoutColumnExpr";
|
11
|
+
import { BodyColumnExpr } from "./BodyColumnExpr";
|
10
12
|
import { IndexColumnExpr } from "./IndexColumnExpr";
|
11
13
|
import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
|
12
14
|
export declare const QueryInstructionSelectItem: core.serialization.Schema<serializers.QueryInstructionSelectItem.Raw, Vital.QueryInstructionSelectItem>;
|
13
15
|
export declare namespace QueryInstructionSelectItem {
|
14
|
-
type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
|
16
|
+
type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw;
|
15
17
|
}
|
@@ -31,12 +31,16 @@ const core = __importStar(require("../../core"));
|
|
31
31
|
const AggregateExpr_1 = require("./AggregateExpr");
|
32
32
|
const SleepColumnExpr_1 = require("./SleepColumnExpr");
|
33
33
|
const ActivityColumnExpr_1 = require("./ActivityColumnExpr");
|
34
|
+
const WorkoutColumnExpr_1 = require("./WorkoutColumnExpr");
|
35
|
+
const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
34
36
|
const IndexColumnExpr_1 = require("./IndexColumnExpr");
|
35
37
|
const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
|
36
38
|
exports.QueryInstructionSelectItem = core.serialization.undiscriminatedUnion([
|
37
39
|
AggregateExpr_1.AggregateExpr,
|
38
40
|
SleepColumnExpr_1.SleepColumnExpr,
|
39
41
|
ActivityColumnExpr_1.ActivityColumnExpr,
|
42
|
+
WorkoutColumnExpr_1.WorkoutColumnExpr,
|
43
|
+
BodyColumnExpr_1.BodyColumnExpr,
|
40
44
|
IndexColumnExpr_1.IndexColumnExpr,
|
41
45
|
GroupKeyColumnExpr_1.GroupKeyColumnExpr,
|
42
46
|
]);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { WorkoutColumnExprWorkout } from "./WorkoutColumnExprWorkout";
|
8
|
+
export declare const WorkoutColumnExpr: core.serialization.ObjectSchema<serializers.WorkoutColumnExpr.Raw, Vital.WorkoutColumnExpr>;
|
9
|
+
export declare namespace WorkoutColumnExpr {
|
10
|
+
interface Raw {
|
11
|
+
workout: WorkoutColumnExprWorkout.Raw;
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.WorkoutColumnExpr = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const WorkoutColumnExprWorkout_1 = require("./WorkoutColumnExprWorkout");
|
32
|
+
exports.WorkoutColumnExpr = core.serialization.object({
|
33
|
+
workout: WorkoutColumnExprWorkout_1.WorkoutColumnExprWorkout,
|
34
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const WorkoutColumnExprWorkout: core.serialization.Schema<serializers.WorkoutColumnExprWorkout.Raw, Vital.WorkoutColumnExprWorkout>;
|
8
|
+
export declare namespace WorkoutColumnExprWorkout {
|
9
|
+
type Raw = "session_start" | "session_end" | "title" | "sport_id" | "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" | "average_speed" | "max_speed" | "power_source" | "power_mean" | "power_maximum" | "power_weighted_mean" | "steps" | "map" | "source_type" | "source_provider" | "source_app_id";
|
10
|
+
}
|
@@ -0,0 +1,64 @@
|
|
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.WorkoutColumnExprWorkout = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.WorkoutColumnExprWorkout = core.serialization.enum_([
|
32
|
+
"session_start",
|
33
|
+
"session_end",
|
34
|
+
"title",
|
35
|
+
"sport_id",
|
36
|
+
"sport_name",
|
37
|
+
"sport_slug",
|
38
|
+
"duration_active_second",
|
39
|
+
"heart_rate_mean",
|
40
|
+
"heart_rate_minimum",
|
41
|
+
"heart_rate_maximum",
|
42
|
+
"heart_rate_zone_1",
|
43
|
+
"heart_rate_zone_2",
|
44
|
+
"heart_rate_zone_3",
|
45
|
+
"heart_rate_zone_4",
|
46
|
+
"heart_rate_zone_5",
|
47
|
+
"heart_rate_zone_6",
|
48
|
+
"distance_meter",
|
49
|
+
"calories",
|
50
|
+
"elevation_gain_meter",
|
51
|
+
"elevation_maximum_meter",
|
52
|
+
"elevation_minimum_meter",
|
53
|
+
"average_speed",
|
54
|
+
"max_speed",
|
55
|
+
"power_source",
|
56
|
+
"power_mean",
|
57
|
+
"power_maximum",
|
58
|
+
"power_weighted_mean",
|
59
|
+
"steps",
|
60
|
+
"map",
|
61
|
+
"source_type",
|
62
|
+
"source_provider",
|
63
|
+
"source_app_id",
|
64
|
+
]);
|
@@ -23,6 +23,8 @@ export * from "./Availability";
|
|
23
23
|
export * from "./BasalBodyTemperatureEntry";
|
24
24
|
export * from "./Billing";
|
25
25
|
export * from "./BiomarkerResult";
|
26
|
+
export * from "./BodyColumnExprBody";
|
27
|
+
export * from "./BodyColumnExpr";
|
26
28
|
export * from "./BodyV2InDb";
|
27
29
|
export * from "./CervicalMucusEntryQuality";
|
28
30
|
export * from "./CervicalMucusEntry";
|
@@ -289,6 +291,8 @@ export * from "./ValidationErrorLocItem";
|
|
289
291
|
export * from "./ValidationError";
|
290
292
|
export * from "./VitalTokenCreatedResponse";
|
291
293
|
export * from "./Vitamins";
|
294
|
+
export * from "./WorkoutColumnExprWorkout";
|
295
|
+
export * from "./WorkoutColumnExpr";
|
292
296
|
export * from "./WorkoutV2InDb";
|
293
297
|
export * from "./ClientFacingSampleGroupingKeys";
|
294
298
|
export * from "./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails";
|
@@ -39,6 +39,8 @@ __exportStar(require("./Availability"), exports);
|
|
39
39
|
__exportStar(require("./BasalBodyTemperatureEntry"), exports);
|
40
40
|
__exportStar(require("./Billing"), exports);
|
41
41
|
__exportStar(require("./BiomarkerResult"), exports);
|
42
|
+
__exportStar(require("./BodyColumnExprBody"), exports);
|
43
|
+
__exportStar(require("./BodyColumnExpr"), exports);
|
42
44
|
__exportStar(require("./BodyV2InDb"), exports);
|
43
45
|
__exportStar(require("./CervicalMucusEntryQuality"), exports);
|
44
46
|
__exportStar(require("./CervicalMucusEntry"), exports);
|
@@ -305,6 +307,8 @@ __exportStar(require("./ValidationErrorLocItem"), exports);
|
|
305
307
|
__exportStar(require("./ValidationError"), exports);
|
306
308
|
__exportStar(require("./VitalTokenCreatedResponse"), exports);
|
307
309
|
__exportStar(require("./Vitamins"), exports);
|
310
|
+
__exportStar(require("./WorkoutColumnExprWorkout"), exports);
|
311
|
+
__exportStar(require("./WorkoutColumnExpr"), exports);
|
308
312
|
__exportStar(require("./WorkoutV2InDb"), exports);
|
309
313
|
__exportStar(require("./ClientFacingSampleGroupingKeys"), exports);
|
310
314
|
__exportStar(require("./VitalCoreSchemasDbSchemasLabTestHealthInsurancePersonDetails"), exports);
|
package/version.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export declare const SDK_VERSION = "3.1.
|
1
|
+
export declare const SDK_VERSION = "3.1.84";
|
package/version.js
CHANGED