@tryvital/vital-node 3.1.134 → 3.1.136
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 +34 -34
- 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/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.d.ts +26 -0
- package/api/resources/vitals/client/Client.js +216 -56
- package/api/resources/vitals/client/requests/VitalsAfibBurdenGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsAfibBurdenGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/VitalsHeartRateAlertGroupedRequest.d.ts +31 -0
- package/api/resources/vitals/client/requests/VitalsHeartRateAlertGroupedRequest.js +5 -0
- package/api/resources/vitals/client/requests/index.d.ts +2 -0
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/AggregateExprArg.d.ts +1 -1
- package/api/types/ChronotypeValueMacroExpr.d.ts +7 -0
- package/api/types/ChronotypeValueMacroExpr.js +5 -0
- package/api/types/ClientFacingAFibBurdenSample.d.ts +20 -0
- package/api/types/ClientFacingAFibBurdenSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.d.ts +12 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.js +5 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.d.ts +12 -0
- package/api/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.js +5 -0
- package/api/types/ClientFacingHeartRateAlertSample.d.ts +19 -0
- package/api/types/ClientFacingHeartRateAlertSample.js +5 -0
- package/api/types/ClientFacingHeartRateAlertSampleType.d.ts +9 -0
- package/api/types/ClientFacingHeartRateAlertSampleType.js +11 -0
- package/api/types/ClientFacingResource.d.ts +3 -1
- package/api/types/ClientFacingResource.js +2 -0
- package/api/types/ClientFacingSleepCycle.d.ts +9 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.js +5 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts +8 -0
- package/api/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js +5 -0
- package/api/types/QueryInstructionSelectItem.d.ts +1 -1
- package/api/types/TimeseriesResource.d.ts +3 -1
- package/api/types/TimeseriesResource.js +2 -0
- package/api/types/index.d.ts +8 -0
- package/api/types/index.js +8 -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 +34 -34
- 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/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.d.ts +26 -0
- package/dist/api/resources/vitals/client/Client.js +216 -56
- package/dist/api/resources/vitals/client/requests/VitalsAfibBurdenGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsAfibBurdenGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/VitalsHeartRateAlertGroupedRequest.d.ts +31 -0
- package/dist/api/resources/vitals/client/requests/VitalsHeartRateAlertGroupedRequest.js +5 -0
- package/dist/api/resources/vitals/client/requests/index.d.ts +2 -0
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/AggregateExprArg.d.ts +1 -1
- package/dist/api/types/ChronotypeValueMacroExpr.d.ts +7 -0
- package/dist/api/types/ChronotypeValueMacroExpr.js +5 -0
- package/dist/api/types/ClientFacingAFibBurdenSample.d.ts +20 -0
- package/dist/api/types/ClientFacingAFibBurdenSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.d.ts +12 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.js +5 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.d.ts +12 -0
- package/dist/api/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.js +5 -0
- package/dist/api/types/ClientFacingHeartRateAlertSample.d.ts +19 -0
- package/dist/api/types/ClientFacingHeartRateAlertSample.js +5 -0
- package/dist/api/types/ClientFacingHeartRateAlertSampleType.d.ts +9 -0
- package/dist/api/types/ClientFacingHeartRateAlertSampleType.js +11 -0
- package/dist/api/types/ClientFacingResource.d.ts +3 -1
- package/dist/api/types/ClientFacingResource.js +2 -0
- package/dist/api/types/ClientFacingSleepCycle.d.ts +9 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.js +5 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts +8 -0
- package/dist/api/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js +5 -0
- package/dist/api/types/QueryInstructionSelectItem.d.ts +1 -1
- package/dist/api/types/TimeseriesResource.d.ts +3 -1
- package/dist/api/types/TimeseriesResource.js +2 -0
- package/dist/api/types/index.d.ts +8 -0
- package/dist/api/types/index.js +8 -0
- package/dist/serialization/types/AggregateExprArg.d.ts +2 -1
- package/dist/serialization/types/AggregateExprArg.js +2 -0
- package/dist/serialization/types/ChronotypeValueMacroExpr.d.ts +13 -0
- package/dist/serialization/types/ChronotypeValueMacroExpr.js +34 -0
- package/dist/serialization/types/ClientFacingAFibBurdenSample.d.ts +19 -0
- package/dist/serialization/types/ClientFacingAFibBurdenSample.js +40 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.js +36 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.js +36 -0
- package/dist/serialization/types/ClientFacingHeartRateAlertSample.d.ts +20 -0
- package/dist/serialization/types/ClientFacingHeartRateAlertSample.js +41 -0
- package/dist/serialization/types/ClientFacingHeartRateAlertSampleType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingHeartRateAlertSampleType.js +31 -0
- package/dist/serialization/types/ClientFacingResource.d.ts +1 -1
- package/dist/serialization/types/ClientFacingResource.js +2 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.js +36 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts +15 -0
- package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js +36 -0
- package/dist/serialization/types/QueryInstructionSelectItem.d.ts +2 -1
- package/dist/serialization/types/QueryInstructionSelectItem.js +2 -0
- package/dist/serialization/types/TimeseriesResource.d.ts +1 -1
- package/dist/serialization/types/TimeseriesResource.js +2 -0
- package/dist/serialization/types/index.d.ts +8 -0
- package/dist/serialization/types/index.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +116 -0
- package/serialization/types/AggregateExprArg.d.ts +2 -1
- package/serialization/types/AggregateExprArg.js +2 -0
- package/serialization/types/ChronotypeValueMacroExpr.d.ts +13 -0
- package/serialization/types/ChronotypeValueMacroExpr.js +34 -0
- package/serialization/types/ClientFacingAFibBurdenSample.d.ts +19 -0
- package/serialization/types/ClientFacingAFibBurdenSample.js +40 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample.js +36 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.d.ts +15 -0
- package/serialization/types/ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.js +36 -0
- package/serialization/types/ClientFacingHeartRateAlertSample.d.ts +20 -0
- package/serialization/types/ClientFacingHeartRateAlertSample.js +41 -0
- package/serialization/types/ClientFacingHeartRateAlertSampleType.d.ts +10 -0
- package/serialization/types/ClientFacingHeartRateAlertSampleType.js +31 -0
- package/serialization/types/ClientFacingResource.d.ts +1 -1
- package/serialization/types/ClientFacingResource.js +2 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.js +36 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts +15 -0
- package/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js +36 -0
- package/serialization/types/QueryInstructionSelectItem.d.ts +2 -1
- package/serialization/types/QueryInstructionSelectItem.js +2 -0
- package/serialization/types/TimeseriesResource.d.ts +1 -1
- package/serialization/types/TimeseriesResource.js +2 -0
- package/serialization/types/index.d.ts +8 -0
- package/serialization/types/index.js +8 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingTimeseriesGroupClientFacingAFibBurdenSample_1 = require("./ClientFacingTimeseriesGroupClientFacingAFibBurdenSample");
|
32
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingTimeseriesGroupClientFacingAFibBurdenSample_1.ClientFacingTimeseriesGroupClientFacingAFibBurdenSample)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample } from "./ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample";
|
8
|
+
export declare const ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample: core.serialization.ObjectSchema<serializers.ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample.Raw, Vital.ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample>;
|
9
|
+
export declare namespace ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample {
|
10
|
+
interface Raw {
|
11
|
+
groups: Record<string, ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.Raw[]>;
|
12
|
+
next?: string | null;
|
13
|
+
next_cursor?: string | null;
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample_1 = require("./ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample");
|
32
|
+
exports.ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample = core.serialization.object({
|
33
|
+
groups: core.serialization.record(core.serialization.string(), core.serialization.list(ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample_1.ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample)),
|
34
|
+
next: core.serialization.string().optional(),
|
35
|
+
nextCursor: core.serialization.property("next_cursor", core.serialization.string().optional()),
|
36
|
+
});
|
@@ -0,0 +1,20 @@
|
|
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 { ClientFacingHeartRateAlertSampleType } from "./ClientFacingHeartRateAlertSampleType";
|
8
|
+
export declare const ClientFacingHeartRateAlertSample: core.serialization.ObjectSchema<serializers.ClientFacingHeartRateAlertSample.Raw, Vital.ClientFacingHeartRateAlertSample>;
|
9
|
+
export declare namespace ClientFacingHeartRateAlertSample {
|
10
|
+
interface Raw {
|
11
|
+
id?: number | null;
|
12
|
+
timezone_offset?: number | null;
|
13
|
+
type: ClientFacingHeartRateAlertSampleType.Raw;
|
14
|
+
unit: "count";
|
15
|
+
timestamp: string;
|
16
|
+
start: string;
|
17
|
+
end: string;
|
18
|
+
value: number;
|
19
|
+
}
|
20
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingHeartRateAlertSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingHeartRateAlertSampleType_1 = require("./ClientFacingHeartRateAlertSampleType");
|
32
|
+
exports.ClientFacingHeartRateAlertSample = core.serialization.object({
|
33
|
+
id: core.serialization.number().optional(),
|
34
|
+
timezoneOffset: core.serialization.property("timezone_offset", core.serialization.number().optional()),
|
35
|
+
type: ClientFacingHeartRateAlertSampleType_1.ClientFacingHeartRateAlertSampleType,
|
36
|
+
unit: core.serialization.stringLiteral("count"),
|
37
|
+
timestamp: core.serialization.string(),
|
38
|
+
start: core.serialization.string(),
|
39
|
+
end: core.serialization.string(),
|
40
|
+
value: core.serialization.number(),
|
41
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ClientFacingHeartRateAlertSampleType: core.serialization.Schema<serializers.ClientFacingHeartRateAlertSampleType.Raw, Vital.ClientFacingHeartRateAlertSampleType>;
|
8
|
+
export declare namespace ClientFacingHeartRateAlertSampleType {
|
9
|
+
type Raw = "low_heart_rate" | "high_heart_rate" | "irregular_rhythm";
|
10
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingHeartRateAlertSampleType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingHeartRateAlertSampleType = core.serialization.enum_(["low_heart_rate", "high_heart_rate", "irregular_rhythm"]);
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const ClientFacingResource: core.serialization.Schema<serializers.ClientFacingResource.Raw, Vital.ClientFacingResource>;
|
8
8
|
export declare namespace ClientFacingResource {
|
9
|
-
type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram_voltage" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream";
|
9
|
+
type Raw = "profile" | "activity" | "sleep" | "body" | "workouts" | "workout_stream" | "connection" | "order" | "result" | "appointment" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "blood_oxygen" | "blood_pressure" | "cholesterol" | "device" | "weight" | "fat" | "body_temperature" | "body_temperature_delta" | "meal" | "water" | "caffeine" | "mindfulness_minutes" | "steps" | "calories_active" | "distance" | "floors_climbed" | "respiratory_rate" | "vo2_max" | "calories_basal" | "stress_level" | "menstrual_cycle" | "sleep_cycle" | "electrocardiogram_voltage" | "afib_burden" | "heart_rate_alert" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note" | "sleep_stream";
|
10
10
|
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingAFibBurdenSample } from "./ClientFacingAFibBurdenSample";
|
9
|
+
export declare const ClientFacingTimeseriesGroupClientFacingAFibBurdenSample: core.serialization.ObjectSchema<serializers.ClientFacingTimeseriesGroupClientFacingAFibBurdenSample.Raw, Vital.ClientFacingTimeseriesGroupClientFacingAFibBurdenSample>;
|
10
|
+
export declare namespace ClientFacingTimeseriesGroupClientFacingAFibBurdenSample {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingAFibBurdenSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingTimeseriesGroupClientFacingAFibBurdenSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingAFibBurdenSample_1 = require("./ClientFacingAFibBurdenSample");
|
33
|
+
exports.ClientFacingTimeseriesGroupClientFacingAFibBurdenSample = core.serialization.object({
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingAFibBurdenSample_1.ClientFacingAFibBurdenSample),
|
36
|
+
});
|
package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.d.ts
ADDED
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "../index";
|
5
|
+
import * as Vital from "../../api/index";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
8
|
+
import { ClientFacingHeartRateAlertSample } from "./ClientFacingHeartRateAlertSample";
|
9
|
+
export declare const ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample: core.serialization.ObjectSchema<serializers.ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.Raw, Vital.ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample>;
|
10
|
+
export declare namespace ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample {
|
11
|
+
interface Raw {
|
12
|
+
source: ClientFacingSource.Raw;
|
13
|
+
data: ClientFacingHeartRateAlertSample.Raw[];
|
14
|
+
}
|
15
|
+
}
|
package/dist/serialization/types/ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample.js
ADDED
@@ -0,0 +1,36 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
32
|
+
const ClientFacingHeartRateAlertSample_1 = require("./ClientFacingHeartRateAlertSample");
|
33
|
+
exports.ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample = core.serialization.object({
|
34
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
35
|
+
data: core.serialization.list(ClientFacingHeartRateAlertSample_1.ClientFacingHeartRateAlertSample),
|
36
|
+
});
|
@@ -12,8 +12,9 @@ import { BodyColumnExpr } from "./BodyColumnExpr";
|
|
12
12
|
import { IndexColumnExpr } from "./IndexColumnExpr";
|
13
13
|
import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
|
14
14
|
import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
|
15
|
+
import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
|
15
16
|
import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
|
16
17
|
export declare const QueryInstructionSelectItem: core.serialization.Schema<serializers.QueryInstructionSelectItem.Raw, Vital.QueryInstructionSelectItem>;
|
17
18
|
export declare namespace QueryInstructionSelectItem {
|
18
|
-
type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw;
|
19
|
+
type Raw = AggregateExpr.Raw | SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw;
|
19
20
|
}
|
@@ -36,6 +36,7 @@ const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
|
36
36
|
const IndexColumnExpr_1 = require("./IndexColumnExpr");
|
37
37
|
const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
|
38
38
|
const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
|
39
|
+
const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
|
39
40
|
const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
|
40
41
|
exports.QueryInstructionSelectItem = core.serialization.undiscriminatedUnion([
|
41
42
|
AggregateExpr_1.AggregateExpr,
|
@@ -46,5 +47,6 @@ exports.QueryInstructionSelectItem = core.serialization.undiscriminatedUnion([
|
|
46
47
|
IndexColumnExpr_1.IndexColumnExpr,
|
47
48
|
GroupKeyColumnExpr_1.GroupKeyColumnExpr,
|
48
49
|
SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
|
50
|
+
ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
|
49
51
|
UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
|
50
52
|
]);
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const TimeseriesResource: core.serialization.Schema<serializers.TimeseriesResource.Raw, Vital.TimeseriesResource>;
|
8
8
|
export declare namespace TimeseriesResource {
|
9
|
-
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
|
9
|
+
type Raw = "calories_active" | "calories_basal" | "distance" | "blood_oxygen" | "blood_pressure" | "body_fat" | "body_weight" | "body_temperature" | "body_temperature_delta" | "cholesterol" | "cholesterol/ldl" | "cholesterol/hdl" | "cholesterol/total" | "cholesterol/triglycerides" | "electrocardiogram_voltage" | "floors_climbed" | "glucose" | "heartrate" | "hrv" | "hypnogram" | "ige" | "igg" | "respiratory_rate" | "steps" | "stress_level" | "vo2_max" | "water" | "caffeine" | "mindfulness_minutes" | "afib_burden" | "heart_rate_alert" | "workout_duration" | "insulin_injection" | "carbohydrates" | "note";
|
10
10
|
}
|
@@ -32,8 +32,10 @@ export * from "./BodyColumnExpr";
|
|
32
32
|
export * from "./BodyV2InDb";
|
33
33
|
export * from "./CervicalMucusEntryQuality";
|
34
34
|
export * from "./CervicalMucusEntry";
|
35
|
+
export * from "./ChronotypeValueMacroExpr";
|
35
36
|
export * from "./ClientActivityResponse";
|
36
37
|
export * from "./ClientBodyResponse";
|
38
|
+
export * from "./ClientFacingAFibBurdenSample";
|
37
39
|
export * from "./ClientFacingActivity";
|
38
40
|
export * from "./ClientFacingApiKey";
|
39
41
|
export * from "./ClientFacingAppointment";
|
@@ -61,14 +63,18 @@ export * from "./ClientFacingElectrocardiogramVoltageTimeseries";
|
|
61
63
|
export * from "./ClientFacingFloorsClimbedTimeseries";
|
62
64
|
export * from "./ClientFacingFood";
|
63
65
|
export * from "./ClientFacingGlucoseTimeseries";
|
66
|
+
export * from "./ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample";
|
64
67
|
export * from "./ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureDeltaSample";
|
65
68
|
export * from "./ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureSample";
|
66
69
|
export * from "./ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample";
|
70
|
+
export * from "./ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample";
|
67
71
|
export * from "./ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample";
|
68
72
|
export * from "./ClientFacingGroupedTimeseriesResponseClientFacingNoteSample";
|
69
73
|
export * from "./ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample";
|
70
74
|
export * from "./ClientFacingHrvTimeseries";
|
71
75
|
export * from "./ClientFacingHeartRate";
|
76
|
+
export * from "./ClientFacingHeartRateAlertSampleType";
|
77
|
+
export * from "./ClientFacingHeartRateAlertSample";
|
72
78
|
export * from "./ClientFacingHeartRateTimeseries";
|
73
79
|
export * from "./ClientFacingHypnogramTimeseries";
|
74
80
|
export * from "./ClientFacingIgeTimeseries";
|
@@ -124,9 +130,11 @@ export * from "./ClientFacingStressLevelTimeseries";
|
|
124
130
|
export * from "./ClientFacingTeam";
|
125
131
|
export * from "./ClientFacingTestKitOrderDetails";
|
126
132
|
export * from "./ClientFacingTestkitOrder";
|
133
|
+
export * from "./ClientFacingTimeseriesGroupClientFacingAFibBurdenSample";
|
127
134
|
export * from "./ClientFacingTimeseriesGroupClientFacingBodyTemperatureDeltaSample";
|
128
135
|
export * from "./ClientFacingTimeseriesGroupClientFacingBodyTemperatureSample";
|
129
136
|
export * from "./ClientFacingTimeseriesGroupClientFacingCarbohydratesSample";
|
137
|
+
export * from "./ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample";
|
130
138
|
export * from "./ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample";
|
131
139
|
export * from "./ClientFacingTimeseriesGroupClientFacingNoteSample";
|
132
140
|
export * from "./ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample";
|
@@ -48,8 +48,10 @@ __exportStar(require("./BodyColumnExpr"), exports);
|
|
48
48
|
__exportStar(require("./BodyV2InDb"), exports);
|
49
49
|
__exportStar(require("./CervicalMucusEntryQuality"), exports);
|
50
50
|
__exportStar(require("./CervicalMucusEntry"), exports);
|
51
|
+
__exportStar(require("./ChronotypeValueMacroExpr"), exports);
|
51
52
|
__exportStar(require("./ClientActivityResponse"), exports);
|
52
53
|
__exportStar(require("./ClientBodyResponse"), exports);
|
54
|
+
__exportStar(require("./ClientFacingAFibBurdenSample"), exports);
|
53
55
|
__exportStar(require("./ClientFacingActivity"), exports);
|
54
56
|
__exportStar(require("./ClientFacingApiKey"), exports);
|
55
57
|
__exportStar(require("./ClientFacingAppointment"), exports);
|
@@ -77,14 +79,18 @@ __exportStar(require("./ClientFacingElectrocardiogramVoltageTimeseries"), export
|
|
77
79
|
__exportStar(require("./ClientFacingFloorsClimbedTimeseries"), exports);
|
78
80
|
__exportStar(require("./ClientFacingFood"), exports);
|
79
81
|
__exportStar(require("./ClientFacingGlucoseTimeseries"), exports);
|
82
|
+
__exportStar(require("./ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample"), exports);
|
80
83
|
__exportStar(require("./ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureDeltaSample"), exports);
|
81
84
|
__exportStar(require("./ClientFacingGroupedTimeseriesResponseClientFacingBodyTemperatureSample"), exports);
|
82
85
|
__exportStar(require("./ClientFacingGroupedTimeseriesResponseClientFacingCarbohydratesSample"), exports);
|
86
|
+
__exportStar(require("./ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample"), exports);
|
83
87
|
__exportStar(require("./ClientFacingGroupedTimeseriesResponseClientFacingInsulinInjectionSample"), exports);
|
84
88
|
__exportStar(require("./ClientFacingGroupedTimeseriesResponseClientFacingNoteSample"), exports);
|
85
89
|
__exportStar(require("./ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample"), exports);
|
86
90
|
__exportStar(require("./ClientFacingHrvTimeseries"), exports);
|
87
91
|
__exportStar(require("./ClientFacingHeartRate"), exports);
|
92
|
+
__exportStar(require("./ClientFacingHeartRateAlertSampleType"), exports);
|
93
|
+
__exportStar(require("./ClientFacingHeartRateAlertSample"), exports);
|
88
94
|
__exportStar(require("./ClientFacingHeartRateTimeseries"), exports);
|
89
95
|
__exportStar(require("./ClientFacingHypnogramTimeseries"), exports);
|
90
96
|
__exportStar(require("./ClientFacingIgeTimeseries"), exports);
|
@@ -140,9 +146,11 @@ __exportStar(require("./ClientFacingStressLevelTimeseries"), exports);
|
|
140
146
|
__exportStar(require("./ClientFacingTeam"), exports);
|
141
147
|
__exportStar(require("./ClientFacingTestKitOrderDetails"), exports);
|
142
148
|
__exportStar(require("./ClientFacingTestkitOrder"), exports);
|
149
|
+
__exportStar(require("./ClientFacingTimeseriesGroupClientFacingAFibBurdenSample"), exports);
|
143
150
|
__exportStar(require("./ClientFacingTimeseriesGroupClientFacingBodyTemperatureDeltaSample"), exports);
|
144
151
|
__exportStar(require("./ClientFacingTimeseriesGroupClientFacingBodyTemperatureSample"), exports);
|
145
152
|
__exportStar(require("./ClientFacingTimeseriesGroupClientFacingCarbohydratesSample"), exports);
|
153
|
+
__exportStar(require("./ClientFacingTimeseriesGroupClientFacingHeartRateAlertSample"), exports);
|
146
154
|
__exportStar(require("./ClientFacingTimeseriesGroupClientFacingInsulinInjectionSample"), exports);
|
147
155
|
__exportStar(require("./ClientFacingTimeseriesGroupClientFacingNoteSample"), exports);
|
148
156
|
__exportStar(require("./ClientFacingTimeseriesGroupClientFacingWorkoutDurationSample"), 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.136";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -2136,6 +2136,122 @@ await client.menstrualCycle.get("user_id", {
|
|
2136
2136
|
|
2137
2137
|
## Vitals
|
2138
2138
|
|
2139
|
+
<details><summary><code>client.vitals.<a href="/src/api/resources/vitals/client/Client.ts">heartRateAlertGrouped</a>(userId, { ...params }) -> Vital.ClientFacingGroupedTimeseriesResponseClientFacingHeartRateAlertSample</code></summary>
|
2140
|
+
<dl>
|
2141
|
+
<dd>
|
2142
|
+
|
2143
|
+
#### 🔌 Usage
|
2144
|
+
|
2145
|
+
<dl>
|
2146
|
+
<dd>
|
2147
|
+
|
2148
|
+
<dl>
|
2149
|
+
<dd>
|
2150
|
+
|
2151
|
+
```typescript
|
2152
|
+
await client.vitals.heartRateAlertGrouped("user_id", {
|
2153
|
+
startDate: "start_date",
|
2154
|
+
});
|
2155
|
+
```
|
2156
|
+
|
2157
|
+
</dd>
|
2158
|
+
</dl>
|
2159
|
+
</dd>
|
2160
|
+
</dl>
|
2161
|
+
|
2162
|
+
#### ⚙️ Parameters
|
2163
|
+
|
2164
|
+
<dl>
|
2165
|
+
<dd>
|
2166
|
+
|
2167
|
+
<dl>
|
2168
|
+
<dd>
|
2169
|
+
|
2170
|
+
**userId:** `string`
|
2171
|
+
|
2172
|
+
</dd>
|
2173
|
+
</dl>
|
2174
|
+
|
2175
|
+
<dl>
|
2176
|
+
<dd>
|
2177
|
+
|
2178
|
+
**request:** `Vital.VitalsHeartRateAlertGroupedRequest`
|
2179
|
+
|
2180
|
+
</dd>
|
2181
|
+
</dl>
|
2182
|
+
|
2183
|
+
<dl>
|
2184
|
+
<dd>
|
2185
|
+
|
2186
|
+
**requestOptions:** `Vitals.RequestOptions`
|
2187
|
+
|
2188
|
+
</dd>
|
2189
|
+
</dl>
|
2190
|
+
</dd>
|
2191
|
+
</dl>
|
2192
|
+
|
2193
|
+
</dd>
|
2194
|
+
</dl>
|
2195
|
+
</details>
|
2196
|
+
|
2197
|
+
<details><summary><code>client.vitals.<a href="/src/api/resources/vitals/client/Client.ts">afibBurdenGrouped</a>(userId, { ...params }) -> Vital.ClientFacingGroupedTimeseriesResponseClientFacingAFibBurdenSample</code></summary>
|
2198
|
+
<dl>
|
2199
|
+
<dd>
|
2200
|
+
|
2201
|
+
#### 🔌 Usage
|
2202
|
+
|
2203
|
+
<dl>
|
2204
|
+
<dd>
|
2205
|
+
|
2206
|
+
<dl>
|
2207
|
+
<dd>
|
2208
|
+
|
2209
|
+
```typescript
|
2210
|
+
await client.vitals.afibBurdenGrouped("user_id", {
|
2211
|
+
startDate: "start_date",
|
2212
|
+
});
|
2213
|
+
```
|
2214
|
+
|
2215
|
+
</dd>
|
2216
|
+
</dl>
|
2217
|
+
</dd>
|
2218
|
+
</dl>
|
2219
|
+
|
2220
|
+
#### ⚙️ Parameters
|
2221
|
+
|
2222
|
+
<dl>
|
2223
|
+
<dd>
|
2224
|
+
|
2225
|
+
<dl>
|
2226
|
+
<dd>
|
2227
|
+
|
2228
|
+
**userId:** `string`
|
2229
|
+
|
2230
|
+
</dd>
|
2231
|
+
</dl>
|
2232
|
+
|
2233
|
+
<dl>
|
2234
|
+
<dd>
|
2235
|
+
|
2236
|
+
**request:** `Vital.VitalsAfibBurdenGroupedRequest`
|
2237
|
+
|
2238
|
+
</dd>
|
2239
|
+
</dl>
|
2240
|
+
|
2241
|
+
<dl>
|
2242
|
+
<dd>
|
2243
|
+
|
2244
|
+
**requestOptions:** `Vitals.RequestOptions`
|
2245
|
+
|
2246
|
+
</dd>
|
2247
|
+
</dl>
|
2248
|
+
</dd>
|
2249
|
+
</dl>
|
2250
|
+
|
2251
|
+
</dd>
|
2252
|
+
</dl>
|
2253
|
+
</details>
|
2254
|
+
|
2139
2255
|
<details><summary><code>client.vitals.<a href="/src/api/resources/vitals/client/Client.ts">workoutDurationGrouped</a>(userId, { ...params }) -> Vital.ClientFacingGroupedTimeseriesResponseClientFacingWorkoutDurationSample</code></summary>
|
2140
2256
|
<dl>
|
2141
2257
|
<dd>
|
@@ -11,8 +11,9 @@ import { BodyColumnExpr } from "./BodyColumnExpr";
|
|
11
11
|
import { IndexColumnExpr } from "./IndexColumnExpr";
|
12
12
|
import { GroupKeyColumnExpr } from "./GroupKeyColumnExpr";
|
13
13
|
import { SleepScoreValueMacroExpr } from "./SleepScoreValueMacroExpr";
|
14
|
+
import { ChronotypeValueMacroExpr } from "./ChronotypeValueMacroExpr";
|
14
15
|
import { UnrecognizedValueMacroExpr } from "./UnrecognizedValueMacroExpr";
|
15
16
|
export declare const AggregateExprArg: core.serialization.Schema<serializers.AggregateExprArg.Raw, Vital.AggregateExprArg>;
|
16
17
|
export declare namespace AggregateExprArg {
|
17
|
-
type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw;
|
18
|
+
type Raw = SleepColumnExpr.Raw | ActivityColumnExpr.Raw | WorkoutColumnExpr.Raw | BodyColumnExpr.Raw | IndexColumnExpr.Raw | GroupKeyColumnExpr.Raw | SleepScoreValueMacroExpr.Raw | ChronotypeValueMacroExpr.Raw | UnrecognizedValueMacroExpr.Raw;
|
18
19
|
}
|
@@ -35,6 +35,7 @@ const BodyColumnExpr_1 = require("./BodyColumnExpr");
|
|
35
35
|
const IndexColumnExpr_1 = require("./IndexColumnExpr");
|
36
36
|
const GroupKeyColumnExpr_1 = require("./GroupKeyColumnExpr");
|
37
37
|
const SleepScoreValueMacroExpr_1 = require("./SleepScoreValueMacroExpr");
|
38
|
+
const ChronotypeValueMacroExpr_1 = require("./ChronotypeValueMacroExpr");
|
38
39
|
const UnrecognizedValueMacroExpr_1 = require("./UnrecognizedValueMacroExpr");
|
39
40
|
exports.AggregateExprArg = core.serialization.undiscriminatedUnion([
|
40
41
|
SleepColumnExpr_1.SleepColumnExpr,
|
@@ -44,5 +45,6 @@ exports.AggregateExprArg = core.serialization.undiscriminatedUnion([
|
|
44
45
|
IndexColumnExpr_1.IndexColumnExpr,
|
45
46
|
GroupKeyColumnExpr_1.GroupKeyColumnExpr,
|
46
47
|
SleepScoreValueMacroExpr_1.SleepScoreValueMacroExpr,
|
48
|
+
ChronotypeValueMacroExpr_1.ChronotypeValueMacroExpr,
|
47
49
|
UnrecognizedValueMacroExpr_1.UnrecognizedValueMacroExpr,
|
48
50
|
]);
|