@tryvital/vital-node 3.1.144 → 3.1.145
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 +3 -0
- package/Client.js +41 -36
- 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/electrocardiogram/client/Client.d.ts +42 -0
- package/api/resources/electrocardiogram/client/Client.js +135 -0
- package/api/resources/electrocardiogram/client/index.d.ts +1 -0
- package/api/resources/electrocardiogram/client/index.js +17 -0
- package/api/resources/electrocardiogram/client/requests/ElectrocardiogramGetRequest.d.ts +17 -0
- package/api/resources/electrocardiogram/client/requests/index.d.ts +1 -0
- package/api/resources/electrocardiogram/client/requests/index.js +2 -0
- package/api/resources/electrocardiogram/index.d.ts +1 -0
- package/api/resources/electrocardiogram/index.js +17 -0
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -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.js +58 -58
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/ClientFacingElectrocardiogram.d.ts +22 -0
- package/api/types/ClientFacingElectrocardiogramClassification.d.ts +9 -0
- package/api/types/ClientFacingElectrocardiogramClassification.js +11 -0
- package/api/types/ClientFacingElectrocardiogramInconclusiveCause.d.ts +9 -0
- package/api/types/ClientFacingElectrocardiogramInconclusiveCause.js +11 -0
- package/api/types/ClientFacingElectrocardiogramResponse.d.ts +7 -0
- package/api/types/ClientFacingElectrocardiogramResponse.js +5 -0
- package/api/types/ClientFacingElectrocardiogramSourceProvider.d.ts +5 -0
- package/api/types/ClientFacingElectrocardiogramSourceProvider.js +5 -0
- package/api/types/ClientFacingElectrocardiogramSourceType.d.ts +19 -0
- package/api/types/ClientFacingElectrocardiogramSourceType.js +21 -0
- package/api/types/{MenstrualCycle.d.ts → ClientFacingMenstrualCycle.d.ts} +6 -1
- package/api/types/ClientFacingMenstrualCycle.js +5 -0
- package/api/types/ClientFacingMenstrualCycleSourceProvider.d.ts +5 -0
- package/api/types/ClientFacingMenstrualCycleSourceProvider.js +5 -0
- package/api/types/ClientFacingMenstrualCycleSourceType.d.ts +19 -0
- package/api/types/ClientFacingMenstrualCycleSourceType.js +21 -0
- package/api/types/ClientFacingSport.d.ts +1 -0
- package/api/types/MenstrualCycleResponse.d.ts +1 -1
- package/api/types/WorkoutColumnExprWorkout.d.ts +1 -2
- package/api/types/WorkoutColumnExprWorkout.js +0 -1
- package/api/types/index.d.ts +9 -1
- package/api/types/index.js +9 -1
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +41 -36
- 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/electrocardiogram/client/Client.d.ts +42 -0
- package/dist/api/resources/electrocardiogram/client/Client.js +135 -0
- package/dist/api/resources/electrocardiogram/client/index.d.ts +1 -0
- package/dist/api/resources/electrocardiogram/client/index.js +17 -0
- package/dist/api/resources/electrocardiogram/client/requests/ElectrocardiogramGetRequest.d.ts +17 -0
- package/dist/api/resources/electrocardiogram/client/requests/ElectrocardiogramGetRequest.js +5 -0
- package/dist/api/resources/electrocardiogram/client/requests/index.d.ts +1 -0
- package/dist/api/resources/electrocardiogram/client/requests/index.js +2 -0
- package/dist/api/resources/electrocardiogram/index.d.ts +1 -0
- package/dist/api/resources/electrocardiogram/index.js +17 -0
- package/dist/api/resources/index.d.ts +2 -0
- package/dist/api/resources/index.js +3 -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.js +58 -58
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/ClientFacingElectrocardiogram.d.ts +22 -0
- package/dist/api/types/ClientFacingElectrocardiogram.js +5 -0
- package/dist/api/types/ClientFacingElectrocardiogramClassification.d.ts +9 -0
- package/dist/api/types/ClientFacingElectrocardiogramClassification.js +11 -0
- package/dist/api/types/ClientFacingElectrocardiogramInconclusiveCause.d.ts +9 -0
- package/dist/api/types/ClientFacingElectrocardiogramInconclusiveCause.js +11 -0
- package/dist/api/types/ClientFacingElectrocardiogramResponse.d.ts +7 -0
- package/dist/api/types/ClientFacingElectrocardiogramResponse.js +5 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceProvider.d.ts +5 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceProvider.js +5 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.d.ts +19 -0
- package/dist/api/types/ClientFacingElectrocardiogramSourceType.js +21 -0
- package/dist/api/types/{MenstrualCycle.d.ts → ClientFacingMenstrualCycle.d.ts} +6 -1
- package/dist/api/types/ClientFacingMenstrualCycle.js +5 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceProvider.d.ts +5 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceProvider.js +5 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.d.ts +19 -0
- package/dist/api/types/ClientFacingMenstrualCycleSourceType.js +21 -0
- package/dist/api/types/ClientFacingSport.d.ts +1 -0
- package/dist/api/types/MenstrualCycleResponse.d.ts +1 -1
- package/dist/api/types/WorkoutColumnExprWorkout.d.ts +1 -2
- package/dist/api/types/WorkoutColumnExprWorkout.js +0 -1
- package/dist/api/types/index.d.ts +9 -1
- package/dist/api/types/index.js +9 -1
- package/dist/serialization/types/ClientFacingElectrocardiogram.d.ts +32 -0
- package/dist/serialization/types/ClientFacingElectrocardiogram.js +53 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramClassification.d.ts +10 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramClassification.js +31 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramInconclusiveCause.d.ts +10 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramInconclusiveCause.js +31 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramResponse.d.ts +13 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramResponse.js +34 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceProvider.d.ts +12 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceProvider.js +33 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingElectrocardiogramSourceType.js +45 -0
- package/dist/serialization/types/{MenstrualCycle.d.ts → ClientFacingMenstrualCycle.d.ts} +9 -2
- package/dist/serialization/types/{MenstrualCycle.js → ClientFacingMenstrualCycle.js} +9 -2
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceProvider.d.ts +12 -0
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceProvider.js +33 -0
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +10 -0
- package/dist/serialization/types/ClientFacingMenstrualCycleSourceType.js +45 -0
- package/dist/serialization/types/MenstrualCycleResponse.d.ts +2 -2
- package/dist/serialization/types/MenstrualCycleResponse.js +2 -2
- package/dist/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
- package/dist/serialization/types/WorkoutColumnExprWorkout.js +0 -1
- package/dist/serialization/types/index.d.ts +9 -1
- package/dist/serialization/types/index.js +9 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +75 -0
- package/serialization/types/ClientFacingElectrocardiogram.d.ts +32 -0
- package/serialization/types/ClientFacingElectrocardiogram.js +53 -0
- package/serialization/types/ClientFacingElectrocardiogramClassification.d.ts +10 -0
- package/serialization/types/ClientFacingElectrocardiogramClassification.js +31 -0
- package/serialization/types/ClientFacingElectrocardiogramInconclusiveCause.d.ts +10 -0
- package/serialization/types/ClientFacingElectrocardiogramInconclusiveCause.js +31 -0
- package/serialization/types/ClientFacingElectrocardiogramResponse.d.ts +13 -0
- package/serialization/types/ClientFacingElectrocardiogramResponse.js +34 -0
- package/serialization/types/ClientFacingElectrocardiogramSourceProvider.d.ts +12 -0
- package/serialization/types/ClientFacingElectrocardiogramSourceProvider.js +33 -0
- package/serialization/types/ClientFacingElectrocardiogramSourceType.d.ts +10 -0
- package/serialization/types/ClientFacingElectrocardiogramSourceType.js +45 -0
- package/serialization/types/{MenstrualCycle.d.ts → ClientFacingMenstrualCycle.d.ts} +9 -2
- package/serialization/types/{MenstrualCycle.js → ClientFacingMenstrualCycle.js} +9 -2
- package/serialization/types/ClientFacingMenstrualCycleSourceProvider.d.ts +12 -0
- package/serialization/types/ClientFacingMenstrualCycleSourceProvider.js +33 -0
- package/serialization/types/ClientFacingMenstrualCycleSourceType.d.ts +10 -0
- package/serialization/types/ClientFacingMenstrualCycleSourceType.js +45 -0
- package/serialization/types/MenstrualCycleResponse.d.ts +2 -2
- package/serialization/types/MenstrualCycleResponse.js +2 -2
- package/serialization/types/WorkoutColumnExprWorkout.d.ts +1 -1
- package/serialization/types/WorkoutColumnExprWorkout.js +0 -1
- package/serialization/types/index.d.ts +9 -1
- package/serialization/types/index.js +9 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- /package/api/{types/MenstrualCycle.js → resources/electrocardiogram/client/requests/ElectrocardiogramGetRequest.js} +0 -0
- /package/{dist/api/types/MenstrualCycle.js → api/types/ClientFacingElectrocardiogram.js} +0 -0
@@ -0,0 +1,33 @@
|
|
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.ClientFacingElectrocardiogramSourceProvider = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Providers_1 = require("./Providers");
|
32
|
+
const Labs_1 = require("./Labs");
|
33
|
+
exports.ClientFacingElectrocardiogramSourceProvider = core.serialization.undiscriminatedUnion([Providers_1.Providers, Labs_1.Labs]);
|
@@ -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 ClientFacingElectrocardiogramSourceType: core.serialization.Schema<serializers.ClientFacingElectrocardiogramSourceType.Raw, Vital.ClientFacingElectrocardiogramSourceType>;
|
8
|
+
export declare namespace ClientFacingElectrocardiogramSourceType {
|
9
|
+
type Raw = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab";
|
10
|
+
}
|
@@ -0,0 +1,45 @@
|
|
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.ClientFacingElectrocardiogramSourceType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingElectrocardiogramSourceType = core.serialization.enum_([
|
32
|
+
"unknown",
|
33
|
+
"phone",
|
34
|
+
"watch",
|
35
|
+
"app",
|
36
|
+
"multiple_sources",
|
37
|
+
"fingerprick",
|
38
|
+
"cuff",
|
39
|
+
"manual_scan",
|
40
|
+
"automatic",
|
41
|
+
"scale",
|
42
|
+
"chest_strap",
|
43
|
+
"ring",
|
44
|
+
"lab",
|
45
|
+
]);
|
@@ -14,10 +14,13 @@ import { HomePregnancyTestEntry } from "./HomePregnancyTestEntry";
|
|
14
14
|
import { HomeProgesteroneTestEntry } from "./HomeProgesteroneTestEntry";
|
15
15
|
import { SexualActivityEntry } from "./SexualActivityEntry";
|
16
16
|
import { BasalBodyTemperatureEntry } from "./BasalBodyTemperatureEntry";
|
17
|
+
import { ClientFacingMenstrualCycleSourceProvider } from "./ClientFacingMenstrualCycleSourceProvider";
|
18
|
+
import { ClientFacingMenstrualCycleSourceType } from "./ClientFacingMenstrualCycleSourceType";
|
17
19
|
import { ClientFacingSource } from "./ClientFacingSource";
|
18
|
-
export declare const
|
19
|
-
export declare namespace
|
20
|
+
export declare const ClientFacingMenstrualCycle: core.serialization.ObjectSchema<serializers.ClientFacingMenstrualCycle.Raw, Vital.ClientFacingMenstrualCycle>;
|
21
|
+
export declare namespace ClientFacingMenstrualCycle {
|
20
22
|
interface Raw {
|
23
|
+
id: string;
|
21
24
|
period_start: string;
|
22
25
|
period_end?: string | null;
|
23
26
|
cycle_end?: string | null;
|
@@ -32,6 +35,10 @@ export declare namespace MenstrualCycle {
|
|
32
35
|
home_progesterone_test?: HomeProgesteroneTestEntry.Raw[] | null;
|
33
36
|
sexual_activity?: SexualActivityEntry.Raw[] | null;
|
34
37
|
basal_body_temperature?: BasalBodyTemperatureEntry.Raw[] | null;
|
38
|
+
source_provider: ClientFacingMenstrualCycleSourceProvider.Raw;
|
39
|
+
source_type: ClientFacingMenstrualCycleSourceType.Raw;
|
40
|
+
source_app_id?: string | null;
|
41
|
+
user_id: string;
|
35
42
|
source: ClientFacingSource.Raw;
|
36
43
|
}
|
37
44
|
}
|
@@ -26,7 +26,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
26
26
|
return result;
|
27
27
|
};
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
-
exports.
|
29
|
+
exports.ClientFacingMenstrualCycle = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
31
|
const MenstrualFlowEntry_1 = require("./MenstrualFlowEntry");
|
32
32
|
const CervicalMucusEntry_1 = require("./CervicalMucusEntry");
|
@@ -38,8 +38,11 @@ const HomePregnancyTestEntry_1 = require("./HomePregnancyTestEntry");
|
|
38
38
|
const HomeProgesteroneTestEntry_1 = require("./HomeProgesteroneTestEntry");
|
39
39
|
const SexualActivityEntry_1 = require("./SexualActivityEntry");
|
40
40
|
const BasalBodyTemperatureEntry_1 = require("./BasalBodyTemperatureEntry");
|
41
|
+
const ClientFacingMenstrualCycleSourceProvider_1 = require("./ClientFacingMenstrualCycleSourceProvider");
|
42
|
+
const ClientFacingMenstrualCycleSourceType_1 = require("./ClientFacingMenstrualCycleSourceType");
|
41
43
|
const ClientFacingSource_1 = require("./ClientFacingSource");
|
42
|
-
exports.
|
44
|
+
exports.ClientFacingMenstrualCycle = core.serialization.object({
|
45
|
+
id: core.serialization.string(),
|
43
46
|
periodStart: core.serialization.property("period_start", core.serialization.string()),
|
44
47
|
periodEnd: core.serialization.property("period_end", core.serialization.string().optional()),
|
45
48
|
cycleEnd: core.serialization.property("cycle_end", core.serialization.string().optional()),
|
@@ -54,5 +57,9 @@ exports.MenstrualCycle = core.serialization.object({
|
|
54
57
|
homeProgesteroneTest: core.serialization.property("home_progesterone_test", core.serialization.list(HomeProgesteroneTestEntry_1.HomeProgesteroneTestEntry).optional()),
|
55
58
|
sexualActivity: core.serialization.property("sexual_activity", core.serialization.list(SexualActivityEntry_1.SexualActivityEntry).optional()),
|
56
59
|
basalBodyTemperature: core.serialization.property("basal_body_temperature", core.serialization.list(BasalBodyTemperatureEntry_1.BasalBodyTemperatureEntry).optional()),
|
60
|
+
sourceProvider: core.serialization.property("source_provider", ClientFacingMenstrualCycleSourceProvider_1.ClientFacingMenstrualCycleSourceProvider),
|
61
|
+
sourceType: core.serialization.property("source_type", ClientFacingMenstrualCycleSourceType_1.ClientFacingMenstrualCycleSourceType),
|
62
|
+
sourceAppId: core.serialization.property("source_app_id", core.serialization.string().optional()),
|
63
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
57
64
|
source: ClientFacingSource_1.ClientFacingSource,
|
58
65
|
});
|
@@ -0,0 +1,12 @@
|
|
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 { Providers } from "./Providers";
|
8
|
+
import { Labs } from "./Labs";
|
9
|
+
export declare const ClientFacingMenstrualCycleSourceProvider: core.serialization.Schema<serializers.ClientFacingMenstrualCycleSourceProvider.Raw, Vital.ClientFacingMenstrualCycleSourceProvider>;
|
10
|
+
export declare namespace ClientFacingMenstrualCycleSourceProvider {
|
11
|
+
type Raw = Providers.Raw | Labs.Raw;
|
12
|
+
}
|
@@ -0,0 +1,33 @@
|
|
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.ClientFacingMenstrualCycleSourceProvider = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const Providers_1 = require("./Providers");
|
32
|
+
const Labs_1 = require("./Labs");
|
33
|
+
exports.ClientFacingMenstrualCycleSourceProvider = core.serialization.undiscriminatedUnion([Providers_1.Providers, Labs_1.Labs]);
|
@@ -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 ClientFacingMenstrualCycleSourceType: core.serialization.Schema<serializers.ClientFacingMenstrualCycleSourceType.Raw, Vital.ClientFacingMenstrualCycleSourceType>;
|
8
|
+
export declare namespace ClientFacingMenstrualCycleSourceType {
|
9
|
+
type Raw = "unknown" | "phone" | "watch" | "app" | "multiple_sources" | "fingerprick" | "cuff" | "manual_scan" | "automatic" | "scale" | "chest_strap" | "ring" | "lab";
|
10
|
+
}
|
@@ -0,0 +1,45 @@
|
|
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.ClientFacingMenstrualCycleSourceType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingMenstrualCycleSourceType = core.serialization.enum_([
|
32
|
+
"unknown",
|
33
|
+
"phone",
|
34
|
+
"watch",
|
35
|
+
"app",
|
36
|
+
"multiple_sources",
|
37
|
+
"fingerprick",
|
38
|
+
"cuff",
|
39
|
+
"manual_scan",
|
40
|
+
"automatic",
|
41
|
+
"scale",
|
42
|
+
"chest_strap",
|
43
|
+
"ring",
|
44
|
+
"lab",
|
45
|
+
]);
|
@@ -4,10 +4,10 @@
|
|
4
4
|
import * as serializers from "../index";
|
5
5
|
import * as Vital from "../../api/index";
|
6
6
|
import * as core from "../../core";
|
7
|
-
import {
|
7
|
+
import { ClientFacingMenstrualCycle } from "./ClientFacingMenstrualCycle";
|
8
8
|
export declare const MenstrualCycleResponse: core.serialization.ObjectSchema<serializers.MenstrualCycleResponse.Raw, Vital.MenstrualCycleResponse>;
|
9
9
|
export declare namespace MenstrualCycleResponse {
|
10
10
|
interface Raw {
|
11
|
-
menstrual_cycle:
|
11
|
+
menstrual_cycle: ClientFacingMenstrualCycle.Raw[];
|
12
12
|
}
|
13
13
|
}
|
@@ -28,7 +28,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
28
28
|
Object.defineProperty(exports, "__esModule", { value: true });
|
29
29
|
exports.MenstrualCycleResponse = void 0;
|
30
30
|
const core = __importStar(require("../../core"));
|
31
|
-
const
|
31
|
+
const ClientFacingMenstrualCycle_1 = require("./ClientFacingMenstrualCycle");
|
32
32
|
exports.MenstrualCycleResponse = core.serialization.object({
|
33
|
-
menstrualCycle: core.serialization.property("menstrual_cycle", core.serialization.list(
|
33
|
+
menstrualCycle: core.serialization.property("menstrual_cycle", core.serialization.list(ClientFacingMenstrualCycle_1.ClientFacingMenstrualCycle)),
|
34
34
|
});
|
@@ -6,5 +6,5 @@ import * as Vital from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
7
7
|
export declare const WorkoutColumnExprWorkout: core.serialization.Schema<serializers.WorkoutColumnExprWorkout.Raw, Vital.WorkoutColumnExprWorkout>;
|
8
8
|
export declare namespace WorkoutColumnExprWorkout {
|
9
|
-
type Raw = "session_start" | "session_end" | "title" | "
|
9
|
+
type Raw = "session_start" | "session_end" | "title" | "sport_name" | "sport_slug" | "duration_active_second" | "heart_rate_mean" | "heart_rate_minimum" | "heart_rate_maximum" | "heart_rate_zone_1" | "heart_rate_zone_2" | "heart_rate_zone_3" | "heart_rate_zone_4" | "heart_rate_zone_5" | "heart_rate_zone_6" | "distance_meter" | "calories" | "elevation_gain_meter" | "elevation_maximum_meter" | "elevation_minimum_meter" | "speed_mean" | "speed_maximum" | "power_source" | "power_mean" | "power_maximum" | "power_weighted_mean" | "steps" | "map" | "source_type" | "source_provider" | "source_app_id";
|
10
10
|
}
|
@@ -61,6 +61,12 @@ export * from "./ClientFacingCarbohydratesSample";
|
|
61
61
|
export * from "./ClientFacingCholesterolTimeseries";
|
62
62
|
export * from "./ClientFacingDiagnosisInformation";
|
63
63
|
export * from "./ClientFacingDistanceTimeseries";
|
64
|
+
export * from "./ClientFacingElectrocardiogramClassification";
|
65
|
+
export * from "./ClientFacingElectrocardiogramInconclusiveCause";
|
66
|
+
export * from "./ClientFacingElectrocardiogramSourceProvider";
|
67
|
+
export * from "./ClientFacingElectrocardiogramSourceType";
|
68
|
+
export * from "./ClientFacingElectrocardiogram";
|
69
|
+
export * from "./ClientFacingElectrocardiogramResponse";
|
64
70
|
export * from "./ClientFacingElectrocardiogramVoltageTimeseries";
|
65
71
|
export * from "./ClientFacingFloorsClimbedTimeseries";
|
66
72
|
export * from "./ClientFacingFood";
|
@@ -92,6 +98,9 @@ export * from "./ClientFacingLoinc";
|
|
92
98
|
export * from "./ClientFacingMarker";
|
93
99
|
export * from "./ClientFacingMarkerComplete";
|
94
100
|
export * from "./ClientFacingMealResponse";
|
101
|
+
export * from "./ClientFacingMenstrualCycleSourceProvider";
|
102
|
+
export * from "./ClientFacingMenstrualCycleSourceType";
|
103
|
+
export * from "./ClientFacingMenstrualCycle";
|
95
104
|
export * from "./ClientFacingMindfulnessMinutesTimeseries";
|
96
105
|
export * from "./ClientFacingNoteSampleTagsItem";
|
97
106
|
export * from "./ClientFacingNoteSample";
|
@@ -219,7 +228,6 @@ export * from "./Macros";
|
|
219
228
|
export * from "./ManualProviders";
|
220
229
|
export * from "./MarkerType";
|
221
230
|
export * from "./MealInDbBaseClientFacingSource";
|
222
|
-
export * from "./MenstrualCycle";
|
223
231
|
export * from "./MenstrualCycleResponse";
|
224
232
|
export * from "./MenstrualFlowEntryFlow";
|
225
233
|
export * from "./MenstrualFlowEntry";
|
@@ -77,6 +77,12 @@ __exportStar(require("./ClientFacingCarbohydratesSample"), exports);
|
|
77
77
|
__exportStar(require("./ClientFacingCholesterolTimeseries"), exports);
|
78
78
|
__exportStar(require("./ClientFacingDiagnosisInformation"), exports);
|
79
79
|
__exportStar(require("./ClientFacingDistanceTimeseries"), exports);
|
80
|
+
__exportStar(require("./ClientFacingElectrocardiogramClassification"), exports);
|
81
|
+
__exportStar(require("./ClientFacingElectrocardiogramInconclusiveCause"), exports);
|
82
|
+
__exportStar(require("./ClientFacingElectrocardiogramSourceProvider"), exports);
|
83
|
+
__exportStar(require("./ClientFacingElectrocardiogramSourceType"), exports);
|
84
|
+
__exportStar(require("./ClientFacingElectrocardiogram"), exports);
|
85
|
+
__exportStar(require("./ClientFacingElectrocardiogramResponse"), exports);
|
80
86
|
__exportStar(require("./ClientFacingElectrocardiogramVoltageTimeseries"), exports);
|
81
87
|
__exportStar(require("./ClientFacingFloorsClimbedTimeseries"), exports);
|
82
88
|
__exportStar(require("./ClientFacingFood"), exports);
|
@@ -108,6 +114,9 @@ __exportStar(require("./ClientFacingLoinc"), exports);
|
|
108
114
|
__exportStar(require("./ClientFacingMarker"), exports);
|
109
115
|
__exportStar(require("./ClientFacingMarkerComplete"), exports);
|
110
116
|
__exportStar(require("./ClientFacingMealResponse"), exports);
|
117
|
+
__exportStar(require("./ClientFacingMenstrualCycleSourceProvider"), exports);
|
118
|
+
__exportStar(require("./ClientFacingMenstrualCycleSourceType"), exports);
|
119
|
+
__exportStar(require("./ClientFacingMenstrualCycle"), exports);
|
111
120
|
__exportStar(require("./ClientFacingMindfulnessMinutesTimeseries"), exports);
|
112
121
|
__exportStar(require("./ClientFacingNoteSampleTagsItem"), exports);
|
113
122
|
__exportStar(require("./ClientFacingNoteSample"), exports);
|
@@ -235,7 +244,6 @@ __exportStar(require("./Macros"), exports);
|
|
235
244
|
__exportStar(require("./ManualProviders"), exports);
|
236
245
|
__exportStar(require("./MarkerType"), exports);
|
237
246
|
__exportStar(require("./MealInDbBaseClientFacingSource"), exports);
|
238
|
-
__exportStar(require("./MenstrualCycle"), exports);
|
239
247
|
__exportStar(require("./MenstrualCycleResponse"), exports);
|
240
248
|
__exportStar(require("./MenstrualFlowEntryFlow"), exports);
|
241
249
|
__exportStar(require("./MenstrualFlowEntry"), 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.145";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
@@ -931,6 +931,81 @@ await client.link.connectDemoProvider({
|
|
931
931
|
</dl>
|
932
932
|
</details>
|
933
933
|
|
934
|
+
## Electrocardiogram
|
935
|
+
|
936
|
+
<details><summary><code>client.electrocardiogram.<a href="/src/api/resources/electrocardiogram/client/Client.ts">get</a>(userId, { ...params }) -> Vital.ClientFacingElectrocardiogramResponse</code></summary>
|
937
|
+
<dl>
|
938
|
+
<dd>
|
939
|
+
|
940
|
+
#### 📝 Description
|
941
|
+
|
942
|
+
<dl>
|
943
|
+
<dd>
|
944
|
+
|
945
|
+
<dl>
|
946
|
+
<dd>
|
947
|
+
|
948
|
+
Get electrocardiogram summary for user_id
|
949
|
+
|
950
|
+
</dd>
|
951
|
+
</dl>
|
952
|
+
</dd>
|
953
|
+
</dl>
|
954
|
+
|
955
|
+
#### 🔌 Usage
|
956
|
+
|
957
|
+
<dl>
|
958
|
+
<dd>
|
959
|
+
|
960
|
+
<dl>
|
961
|
+
<dd>
|
962
|
+
|
963
|
+
```typescript
|
964
|
+
await client.electrocardiogram.get("user_id", {
|
965
|
+
startDate: "start_date",
|
966
|
+
});
|
967
|
+
```
|
968
|
+
|
969
|
+
</dd>
|
970
|
+
</dl>
|
971
|
+
</dd>
|
972
|
+
</dl>
|
973
|
+
|
974
|
+
#### ⚙️ Parameters
|
975
|
+
|
976
|
+
<dl>
|
977
|
+
<dd>
|
978
|
+
|
979
|
+
<dl>
|
980
|
+
<dd>
|
981
|
+
|
982
|
+
**userId:** `string`
|
983
|
+
|
984
|
+
</dd>
|
985
|
+
</dl>
|
986
|
+
|
987
|
+
<dl>
|
988
|
+
<dd>
|
989
|
+
|
990
|
+
**request:** `Vital.ElectrocardiogramGetRequest`
|
991
|
+
|
992
|
+
</dd>
|
993
|
+
</dl>
|
994
|
+
|
995
|
+
<dl>
|
996
|
+
<dd>
|
997
|
+
|
998
|
+
**requestOptions:** `Electrocardiogram.RequestOptions`
|
999
|
+
|
1000
|
+
</dd>
|
1001
|
+
</dl>
|
1002
|
+
</dd>
|
1003
|
+
</dl>
|
1004
|
+
|
1005
|
+
</dd>
|
1006
|
+
</dl>
|
1007
|
+
</details>
|
1008
|
+
|
934
1009
|
## SleepCycle
|
935
1010
|
|
936
1011
|
<details><summary><code>client.sleepCycle.<a href="/src/api/resources/sleepCycle/client/Client.ts">get</a>(userId, { ...params }) -> Vital.ClientSleepCycleResponse</code></summary>
|
@@ -0,0 +1,32 @@
|
|
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 { ClientFacingElectrocardiogramClassification } from "./ClientFacingElectrocardiogramClassification";
|
8
|
+
import { ClientFacingElectrocardiogramInconclusiveCause } from "./ClientFacingElectrocardiogramInconclusiveCause";
|
9
|
+
import { ClientFacingElectrocardiogramSourceProvider } from "./ClientFacingElectrocardiogramSourceProvider";
|
10
|
+
import { ClientFacingElectrocardiogramSourceType } from "./ClientFacingElectrocardiogramSourceType";
|
11
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
12
|
+
export declare const ClientFacingElectrocardiogram: core.serialization.ObjectSchema<serializers.ClientFacingElectrocardiogram.Raw, Vital.ClientFacingElectrocardiogram>;
|
13
|
+
export declare namespace ClientFacingElectrocardiogram {
|
14
|
+
interface Raw {
|
15
|
+
id: string;
|
16
|
+
session_start: string;
|
17
|
+
session_end: string;
|
18
|
+
voltage_sample_count: number;
|
19
|
+
heart_rate_mean?: number | null;
|
20
|
+
sampling_frequency_hz?: number | null;
|
21
|
+
classification?: ClientFacingElectrocardiogramClassification.Raw | null;
|
22
|
+
inconclusive_cause?: ClientFacingElectrocardiogramInconclusiveCause.Raw | null;
|
23
|
+
algorithm_version?: string | null;
|
24
|
+
time_zone?: string | null;
|
25
|
+
source_provider: ClientFacingElectrocardiogramSourceProvider.Raw;
|
26
|
+
source_type: ClientFacingElectrocardiogramSourceType.Raw;
|
27
|
+
source_app_id?: string | null;
|
28
|
+
source_device_model?: string | null;
|
29
|
+
user_id: string;
|
30
|
+
source: ClientFacingSource.Raw;
|
31
|
+
}
|
32
|
+
}
|
@@ -0,0 +1,53 @@
|
|
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.ClientFacingElectrocardiogram = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ClientFacingElectrocardiogramClassification_1 = require("./ClientFacingElectrocardiogramClassification");
|
32
|
+
const ClientFacingElectrocardiogramInconclusiveCause_1 = require("./ClientFacingElectrocardiogramInconclusiveCause");
|
33
|
+
const ClientFacingElectrocardiogramSourceProvider_1 = require("./ClientFacingElectrocardiogramSourceProvider");
|
34
|
+
const ClientFacingElectrocardiogramSourceType_1 = require("./ClientFacingElectrocardiogramSourceType");
|
35
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
36
|
+
exports.ClientFacingElectrocardiogram = core.serialization.object({
|
37
|
+
id: core.serialization.string(),
|
38
|
+
sessionStart: core.serialization.property("session_start", core.serialization.date()),
|
39
|
+
sessionEnd: core.serialization.property("session_end", core.serialization.date()),
|
40
|
+
voltageSampleCount: core.serialization.property("voltage_sample_count", core.serialization.number()),
|
41
|
+
heartRateMean: core.serialization.property("heart_rate_mean", core.serialization.number().optional()),
|
42
|
+
samplingFrequencyHz: core.serialization.property("sampling_frequency_hz", core.serialization.number().optional()),
|
43
|
+
classification: ClientFacingElectrocardiogramClassification_1.ClientFacingElectrocardiogramClassification.optional(),
|
44
|
+
inconclusiveCause: core.serialization.property("inconclusive_cause", ClientFacingElectrocardiogramInconclusiveCause_1.ClientFacingElectrocardiogramInconclusiveCause.optional()),
|
45
|
+
algorithmVersion: core.serialization.property("algorithm_version", core.serialization.string().optional()),
|
46
|
+
timeZone: core.serialization.property("time_zone", core.serialization.string().optional()),
|
47
|
+
sourceProvider: core.serialization.property("source_provider", ClientFacingElectrocardiogramSourceProvider_1.ClientFacingElectrocardiogramSourceProvider),
|
48
|
+
sourceType: core.serialization.property("source_type", ClientFacingElectrocardiogramSourceType_1.ClientFacingElectrocardiogramSourceType),
|
49
|
+
sourceAppId: core.serialization.property("source_app_id", core.serialization.string().optional()),
|
50
|
+
sourceDeviceModel: core.serialization.property("source_device_model", core.serialization.string().optional()),
|
51
|
+
userId: core.serialization.property("user_id", core.serialization.string()),
|
52
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
53
|
+
});
|
@@ -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 ClientFacingElectrocardiogramClassification: core.serialization.Schema<serializers.ClientFacingElectrocardiogramClassification.Raw, Vital.ClientFacingElectrocardiogramClassification>;
|
8
|
+
export declare namespace ClientFacingElectrocardiogramClassification {
|
9
|
+
type Raw = "sinus_rhythm" | "atrial_fibrillation" | "inconclusive";
|
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.ClientFacingElectrocardiogramClassification = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingElectrocardiogramClassification = core.serialization.enum_(["sinus_rhythm", "atrial_fibrillation", "inconclusive"]);
|
@@ -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 ClientFacingElectrocardiogramInconclusiveCause: core.serialization.Schema<serializers.ClientFacingElectrocardiogramInconclusiveCause.Raw, Vital.ClientFacingElectrocardiogramInconclusiveCause>;
|
8
|
+
export declare namespace ClientFacingElectrocardiogramInconclusiveCause {
|
9
|
+
type Raw = "high_heart_rate" | "low_heart_rate" | "poor_reading";
|
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.ClientFacingElectrocardiogramInconclusiveCause = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ClientFacingElectrocardiogramInconclusiveCause = core.serialization.enum_(["high_heart_rate", "low_heart_rate", "poor_reading"]);
|