@tryvital/vital-node 3.1.42 → 3.1.44
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 +21 -16
- package/api/resources/activity/client/Client.js +2 -2
- package/api/resources/body/client/Client.js +2 -2
- package/api/resources/devices/client/Client.js +1 -1
- 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 +27 -27
- package/api/resources/link/client/Client.js +14 -14
- package/api/resources/meal/client/Client.js +1 -1
- package/api/resources/menstrualCycle/client/Client.d.ts +32 -0
- package/api/resources/menstrualCycle/client/Client.js +127 -0
- package/api/resources/menstrualCycle/client/index.d.ts +1 -0
- package/api/resources/menstrualCycle/client/index.js +17 -0
- package/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.d.ts +17 -0
- package/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.js +5 -0
- package/api/resources/menstrualCycle/client/requests/index.d.ts +1 -0
- package/api/resources/menstrualCycle/client/requests/index.js +2 -0
- package/api/resources/menstrualCycle/index.d.ts +1 -0
- package/api/resources/menstrualCycle/index.js +17 -0
- 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 +12 -12
- package/api/resources/vitals/client/Client.js +52 -52
- package/api/resources/workouts/client/Client.js +3 -3
- package/api/types/BasalBodyTemperatureEntry.d.ts +7 -0
- package/api/types/BasalBodyTemperatureEntry.js +5 -0
- package/api/types/CervicalMucusEntry.d.ts +8 -0
- package/api/types/CervicalMucusEntry.js +5 -0
- package/api/types/CervicalMucusEntryQuality.d.ts +11 -0
- package/api/types/CervicalMucusEntryQuality.js +13 -0
- package/api/types/ContraceptiveEntry.d.ts +8 -0
- package/api/types/ContraceptiveEntry.js +5 -0
- package/api/types/ContraceptiveEntryType.d.ts +13 -0
- package/api/types/ContraceptiveEntryType.js +15 -0
- package/api/types/DetectedDeviationEntry.d.ts +8 -0
- package/api/types/DetectedDeviationEntry.js +5 -0
- package/api/types/DetectedDeviationEntryDeviation.d.ts +10 -0
- package/api/types/DetectedDeviationEntryDeviation.js +12 -0
- package/api/types/HomePregnancyTestEntry.d.ts +8 -0
- package/api/types/HomePregnancyTestEntry.js +5 -0
- package/api/types/HomePregnancyTestEntryTestResult.d.ts +9 -0
- package/api/types/HomePregnancyTestEntryTestResult.js +11 -0
- package/api/types/HomeProgesteroneTestEntry.d.ts +8 -0
- package/api/types/HomeProgesteroneTestEntry.js +5 -0
- package/api/types/HomeProgesteroneTestEntryTestResult.d.ts +9 -0
- package/api/types/HomeProgesteroneTestEntryTestResult.js +11 -0
- package/api/types/IntermenstrualBleedingEntry.d.ts +6 -0
- package/api/types/IntermenstrualBleedingEntry.js +5 -0
- package/api/types/MenstrualCycle.d.ts +21 -0
- package/api/types/MenstrualCycle.js +5 -0
- package/api/types/MenstrualCycleResponse.d.ts +7 -0
- package/api/types/MenstrualCycleResponse.js +5 -0
- package/api/types/MenstrualFlowEntry.d.ts +8 -0
- package/api/types/MenstrualFlowEntry.js +5 -0
- package/api/types/MenstrualFlowEntryFlow.d.ts +11 -0
- package/api/types/MenstrualFlowEntryFlow.js +13 -0
- package/api/types/OvulationTestEntry.d.ts +8 -0
- package/api/types/OvulationTestEntry.js +5 -0
- package/api/types/OvulationTestEntryTestResult.d.ts +10 -0
- package/api/types/OvulationTestEntryTestResult.js +12 -0
- package/api/types/SexualActivityEntry.d.ts +7 -0
- package/api/types/SexualActivityEntry.js +5 -0
- package/api/types/index.d.ts +19 -0
- package/api/types/index.js +19 -0
- package/dist/Client.d.ts +3 -0
- package/dist/Client.js +21 -16
- package/dist/api/resources/activity/client/Client.js +2 -2
- package/dist/api/resources/body/client/Client.js +2 -2
- package/dist/api/resources/devices/client/Client.js +1 -1
- 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 +27 -27
- 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.d.ts +32 -0
- package/dist/api/resources/menstrualCycle/client/Client.js +127 -0
- package/dist/api/resources/menstrualCycle/client/index.d.ts +1 -0
- package/dist/api/resources/menstrualCycle/client/index.js +17 -0
- package/dist/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.d.ts +17 -0
- package/dist/api/resources/menstrualCycle/client/requests/MenstrualCycleGetRequest.js +5 -0
- package/dist/api/resources/menstrualCycle/client/requests/index.d.ts +1 -0
- package/dist/api/resources/menstrualCycle/client/requests/index.js +2 -0
- package/dist/api/resources/menstrualCycle/index.d.ts +1 -0
- package/dist/api/resources/menstrualCycle/index.js +17 -0
- 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 +12 -12
- package/dist/api/resources/vitals/client/Client.js +52 -52
- package/dist/api/resources/workouts/client/Client.js +3 -3
- package/dist/api/types/BasalBodyTemperatureEntry.d.ts +7 -0
- package/dist/api/types/BasalBodyTemperatureEntry.js +5 -0
- package/dist/api/types/CervicalMucusEntry.d.ts +8 -0
- package/dist/api/types/CervicalMucusEntry.js +5 -0
- package/dist/api/types/CervicalMucusEntryQuality.d.ts +11 -0
- package/dist/api/types/CervicalMucusEntryQuality.js +13 -0
- package/dist/api/types/ContraceptiveEntry.d.ts +8 -0
- package/dist/api/types/ContraceptiveEntry.js +5 -0
- package/dist/api/types/ContraceptiveEntryType.d.ts +13 -0
- package/dist/api/types/ContraceptiveEntryType.js +15 -0
- package/dist/api/types/DetectedDeviationEntry.d.ts +8 -0
- package/dist/api/types/DetectedDeviationEntry.js +5 -0
- package/dist/api/types/DetectedDeviationEntryDeviation.d.ts +10 -0
- package/dist/api/types/DetectedDeviationEntryDeviation.js +12 -0
- package/dist/api/types/HomePregnancyTestEntry.d.ts +8 -0
- package/dist/api/types/HomePregnancyTestEntry.js +5 -0
- package/dist/api/types/HomePregnancyTestEntryTestResult.d.ts +9 -0
- package/dist/api/types/HomePregnancyTestEntryTestResult.js +11 -0
- package/dist/api/types/HomeProgesteroneTestEntry.d.ts +8 -0
- package/dist/api/types/HomeProgesteroneTestEntry.js +5 -0
- package/dist/api/types/HomeProgesteroneTestEntryTestResult.d.ts +9 -0
- package/dist/api/types/HomeProgesteroneTestEntryTestResult.js +11 -0
- package/dist/api/types/IntermenstrualBleedingEntry.d.ts +6 -0
- package/dist/api/types/IntermenstrualBleedingEntry.js +5 -0
- package/dist/api/types/MenstrualCycle.d.ts +21 -0
- package/dist/api/types/MenstrualCycle.js +5 -0
- package/dist/api/types/MenstrualCycleResponse.d.ts +7 -0
- package/dist/api/types/MenstrualCycleResponse.js +5 -0
- package/dist/api/types/MenstrualFlowEntry.d.ts +8 -0
- package/dist/api/types/MenstrualFlowEntry.js +5 -0
- package/dist/api/types/MenstrualFlowEntryFlow.d.ts +11 -0
- package/dist/api/types/MenstrualFlowEntryFlow.js +13 -0
- package/dist/api/types/OvulationTestEntry.d.ts +8 -0
- package/dist/api/types/OvulationTestEntry.js +5 -0
- package/dist/api/types/OvulationTestEntryTestResult.d.ts +10 -0
- package/dist/api/types/OvulationTestEntryTestResult.js +12 -0
- package/dist/api/types/SexualActivityEntry.d.ts +7 -0
- package/dist/api/types/SexualActivityEntry.js +5 -0
- package/dist/api/types/index.d.ts +19 -0
- package/dist/api/types/index.js +19 -0
- package/dist/serialization/types/BasalBodyTemperatureEntry.d.ts +13 -0
- package/dist/serialization/types/BasalBodyTemperatureEntry.js +34 -0
- package/dist/serialization/types/CervicalMucusEntry.d.ts +14 -0
- package/dist/serialization/types/CervicalMucusEntry.js +35 -0
- package/dist/serialization/types/CervicalMucusEntryQuality.d.ts +10 -0
- package/dist/serialization/types/CervicalMucusEntryQuality.js +31 -0
- package/dist/serialization/types/ContraceptiveEntry.d.ts +14 -0
- package/dist/serialization/types/ContraceptiveEntry.js +35 -0
- package/dist/serialization/types/ContraceptiveEntryType.d.ts +10 -0
- package/dist/serialization/types/ContraceptiveEntryType.js +31 -0
- package/dist/serialization/types/DetectedDeviationEntry.d.ts +14 -0
- package/dist/serialization/types/DetectedDeviationEntry.js +35 -0
- package/dist/serialization/types/DetectedDeviationEntryDeviation.d.ts +10 -0
- package/dist/serialization/types/DetectedDeviationEntryDeviation.js +36 -0
- package/dist/serialization/types/HomePregnancyTestEntry.d.ts +14 -0
- package/dist/serialization/types/HomePregnancyTestEntry.js +35 -0
- package/dist/serialization/types/HomePregnancyTestEntryTestResult.d.ts +10 -0
- package/dist/serialization/types/HomePregnancyTestEntryTestResult.js +31 -0
- package/dist/serialization/types/HomeProgesteroneTestEntry.d.ts +14 -0
- package/dist/serialization/types/HomeProgesteroneTestEntry.js +35 -0
- package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +10 -0
- package/dist/serialization/types/HomeProgesteroneTestEntryTestResult.js +31 -0
- package/dist/serialization/types/IntermenstrualBleedingEntry.d.ts +12 -0
- package/dist/serialization/types/IntermenstrualBleedingEntry.js +33 -0
- package/dist/serialization/types/MenstrualCycle.d.ts +37 -0
- package/dist/serialization/types/MenstrualCycle.js +58 -0
- package/dist/serialization/types/MenstrualCycleResponse.d.ts +13 -0
- package/dist/serialization/types/MenstrualCycleResponse.js +34 -0
- package/dist/serialization/types/MenstrualFlowEntry.d.ts +14 -0
- package/dist/serialization/types/MenstrualFlowEntry.js +35 -0
- package/dist/serialization/types/MenstrualFlowEntryFlow.d.ts +10 -0
- package/dist/serialization/types/MenstrualFlowEntryFlow.js +31 -0
- package/dist/serialization/types/OvulationTestEntry.d.ts +14 -0
- package/dist/serialization/types/OvulationTestEntry.js +35 -0
- package/dist/serialization/types/OvulationTestEntryTestResult.d.ts +10 -0
- package/dist/serialization/types/OvulationTestEntryTestResult.js +31 -0
- package/dist/serialization/types/SexualActivityEntry.d.ts +13 -0
- package/dist/serialization/types/SexualActivityEntry.js +34 -0
- package/dist/serialization/types/index.d.ts +19 -0
- package/dist/serialization/types/index.js +19 -0
- package/package.json +1 -1
- package/serialization/types/BasalBodyTemperatureEntry.d.ts +13 -0
- package/serialization/types/BasalBodyTemperatureEntry.js +34 -0
- package/serialization/types/CervicalMucusEntry.d.ts +14 -0
- package/serialization/types/CervicalMucusEntry.js +35 -0
- package/serialization/types/CervicalMucusEntryQuality.d.ts +10 -0
- package/serialization/types/CervicalMucusEntryQuality.js +31 -0
- package/serialization/types/ContraceptiveEntry.d.ts +14 -0
- package/serialization/types/ContraceptiveEntry.js +35 -0
- package/serialization/types/ContraceptiveEntryType.d.ts +10 -0
- package/serialization/types/ContraceptiveEntryType.js +31 -0
- package/serialization/types/DetectedDeviationEntry.d.ts +14 -0
- package/serialization/types/DetectedDeviationEntry.js +35 -0
- package/serialization/types/DetectedDeviationEntryDeviation.d.ts +10 -0
- package/serialization/types/DetectedDeviationEntryDeviation.js +36 -0
- package/serialization/types/HomePregnancyTestEntry.d.ts +14 -0
- package/serialization/types/HomePregnancyTestEntry.js +35 -0
- package/serialization/types/HomePregnancyTestEntryTestResult.d.ts +10 -0
- package/serialization/types/HomePregnancyTestEntryTestResult.js +31 -0
- package/serialization/types/HomeProgesteroneTestEntry.d.ts +14 -0
- package/serialization/types/HomeProgesteroneTestEntry.js +35 -0
- package/serialization/types/HomeProgesteroneTestEntryTestResult.d.ts +10 -0
- package/serialization/types/HomeProgesteroneTestEntryTestResult.js +31 -0
- package/serialization/types/IntermenstrualBleedingEntry.d.ts +12 -0
- package/serialization/types/IntermenstrualBleedingEntry.js +33 -0
- package/serialization/types/MenstrualCycle.d.ts +37 -0
- package/serialization/types/MenstrualCycle.js +58 -0
- package/serialization/types/MenstrualCycleResponse.d.ts +13 -0
- package/serialization/types/MenstrualCycleResponse.js +34 -0
- package/serialization/types/MenstrualFlowEntry.d.ts +14 -0
- package/serialization/types/MenstrualFlowEntry.js +35 -0
- package/serialization/types/MenstrualFlowEntryFlow.d.ts +10 -0
- package/serialization/types/MenstrualFlowEntryFlow.js +31 -0
- package/serialization/types/OvulationTestEntry.d.ts +14 -0
- package/serialization/types/OvulationTestEntry.js +35 -0
- package/serialization/types/OvulationTestEntryTestResult.d.ts +10 -0
- package/serialization/types/OvulationTestEntryTestResult.js +31 -0
- package/serialization/types/SexualActivityEntry.d.ts +13 -0
- package/serialization/types/SexualActivityEntry.js +34 -0
- package/serialization/types/index.d.ts +19 -0
- package/serialization/types/index.js +19 -0
@@ -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.MenstrualFlowEntryFlow = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.MenstrualFlowEntryFlow = core.serialization.enum_(["unspecified", "none", "light", "medium", "heavy"]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { OvulationTestEntryTestResult } from "./OvulationTestEntryTestResult";
|
8
|
+
export declare const OvulationTestEntry: core.serialization.ObjectSchema<serializers.OvulationTestEntry.Raw, Vital.OvulationTestEntry>;
|
9
|
+
export declare namespace OvulationTestEntry {
|
10
|
+
interface Raw {
|
11
|
+
date: string;
|
12
|
+
test_result: OvulationTestEntryTestResult.Raw;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.OvulationTestEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const OvulationTestEntryTestResult_1 = require("./OvulationTestEntryTestResult");
|
32
|
+
exports.OvulationTestEntry = core.serialization.object({
|
33
|
+
date: core.serialization.string(),
|
34
|
+
testResult: core.serialization.property("test_result", OvulationTestEntryTestResult_1.OvulationTestEntryTestResult),
|
35
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const OvulationTestEntryTestResult: core.serialization.Schema<serializers.OvulationTestEntryTestResult.Raw, Vital.OvulationTestEntryTestResult>;
|
8
|
+
export declare namespace OvulationTestEntryTestResult {
|
9
|
+
type Raw = "negative" | "luteinizing_hormone_surge" | "estrogen_surge" | "indeterminate";
|
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.OvulationTestEntryTestResult = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.OvulationTestEntryTestResult = core.serialization.enum_(["negative", "luteinizing_hormone_surge", "estrogen_surge", "indeterminate"]);
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const SexualActivityEntry: core.serialization.ObjectSchema<serializers.SexualActivityEntry.Raw, Vital.SexualActivityEntry>;
|
8
|
+
export declare namespace SexualActivityEntry {
|
9
|
+
interface Raw {
|
10
|
+
date: string;
|
11
|
+
protection_used: boolean;
|
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.SexualActivityEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.SexualActivityEntry = core.serialization.object({
|
32
|
+
date: core.serialization.string(),
|
33
|
+
protectionUsed: core.serialization.property("protection_used", core.serialization.boolean()),
|
34
|
+
});
|
@@ -14,8 +14,11 @@ export * from "./AreaInfo";
|
|
14
14
|
export * from "./AttemptStatus";
|
15
15
|
export * from "./AuthType";
|
16
16
|
export * from "./Availability";
|
17
|
+
export * from "./BasalBodyTemperatureEntry";
|
17
18
|
export * from "./BiomarkerResult";
|
18
19
|
export * from "./BodyV2InDb";
|
20
|
+
export * from "./CervicalMucusEntryQuality";
|
21
|
+
export * from "./CervicalMucusEntry";
|
19
22
|
export * from "./ClientActivityResponse";
|
20
23
|
export * from "./ClientBodyResponse";
|
21
24
|
export * from "./ClientFacingActivity";
|
@@ -110,10 +113,14 @@ export * from "./ConnectionStatusState";
|
|
110
113
|
export * from "./ConnectionStatus";
|
111
114
|
export * from "./Consent";
|
112
115
|
export * from "./ConsentType";
|
116
|
+
export * from "./ContraceptiveEntryType";
|
117
|
+
export * from "./ContraceptiveEntry";
|
113
118
|
export * from "./DaySlots";
|
114
119
|
export * from "./DelegatedFlowType";
|
115
120
|
export * from "./DemoConnectionStatus";
|
116
121
|
export * from "./DemoProviders";
|
122
|
+
export * from "./DetectedDeviationEntryDeviation";
|
123
|
+
export * from "./DetectedDeviationEntry";
|
117
124
|
export * from "./DeviceV2InDb";
|
118
125
|
export * from "./EmailProviders";
|
119
126
|
export * from "./Energy";
|
@@ -133,6 +140,11 @@ export * from "./HealthInsuranceCreateRequestPatientSignatureImage";
|
|
133
140
|
export * from "./HealthInsuranceCreateRequest";
|
134
141
|
export * from "./HistoricalPullStatus";
|
135
142
|
export * from "./HistoricalPullTimeline";
|
143
|
+
export * from "./HomePregnancyTestEntryTestResult";
|
144
|
+
export * from "./HomePregnancyTestEntry";
|
145
|
+
export * from "./HomeProgesteroneTestEntryTestResult";
|
146
|
+
export * from "./HomeProgesteroneTestEntry";
|
147
|
+
export * from "./IntermenstrualBleedingEntry";
|
136
148
|
export * from "./Jpeg";
|
137
149
|
export * from "./LabLocationMetadata";
|
138
150
|
export * from "./LabResultsMetadata";
|
@@ -150,11 +162,17 @@ export * from "./Macros";
|
|
150
162
|
export * from "./ManualProviders";
|
151
163
|
export * from "./MarkerType";
|
152
164
|
export * from "./MealInDbBaseClientFacingSource";
|
165
|
+
export * from "./MenstrualCycle";
|
166
|
+
export * from "./MenstrualCycleResponse";
|
167
|
+
export * from "./MenstrualFlowEntryFlow";
|
168
|
+
export * from "./MenstrualFlowEntry";
|
153
169
|
export * from "./MetricsResult";
|
154
170
|
export * from "./Micros";
|
155
171
|
export * from "./OAuthProviders";
|
156
172
|
export * from "./OrderStatus";
|
157
173
|
export * from "./OrderTopLevelStatus";
|
174
|
+
export * from "./OvulationTestEntryTestResult";
|
175
|
+
export * from "./OvulationTestEntry";
|
158
176
|
export * from "./PscAreaInfo";
|
159
177
|
export * from "./PscAreaInfoDetails";
|
160
178
|
export * from "./PscInfo";
|
@@ -191,6 +209,7 @@ export * from "./ResponsibleRelationship";
|
|
191
209
|
export * from "./ResultType";
|
192
210
|
export * from "./ScopeRequirementsGrants";
|
193
211
|
export * from "./ScopeRequirementsStr";
|
212
|
+
export * from "./SexualActivityEntry";
|
194
213
|
export * from "./ShippingAddress";
|
195
214
|
export * from "./SingleHistoricalPullStatistics";
|
196
215
|
export * from "./SingleProviderHistoricalPullResponse";
|
@@ -30,8 +30,11 @@ __exportStar(require("./AreaInfo"), exports);
|
|
30
30
|
__exportStar(require("./AttemptStatus"), exports);
|
31
31
|
__exportStar(require("./AuthType"), exports);
|
32
32
|
__exportStar(require("./Availability"), exports);
|
33
|
+
__exportStar(require("./BasalBodyTemperatureEntry"), exports);
|
33
34
|
__exportStar(require("./BiomarkerResult"), exports);
|
34
35
|
__exportStar(require("./BodyV2InDb"), exports);
|
36
|
+
__exportStar(require("./CervicalMucusEntryQuality"), exports);
|
37
|
+
__exportStar(require("./CervicalMucusEntry"), exports);
|
35
38
|
__exportStar(require("./ClientActivityResponse"), exports);
|
36
39
|
__exportStar(require("./ClientBodyResponse"), exports);
|
37
40
|
__exportStar(require("./ClientFacingActivity"), exports);
|
@@ -126,10 +129,14 @@ __exportStar(require("./ConnectionStatusState"), exports);
|
|
126
129
|
__exportStar(require("./ConnectionStatus"), exports);
|
127
130
|
__exportStar(require("./Consent"), exports);
|
128
131
|
__exportStar(require("./ConsentType"), exports);
|
132
|
+
__exportStar(require("./ContraceptiveEntryType"), exports);
|
133
|
+
__exportStar(require("./ContraceptiveEntry"), exports);
|
129
134
|
__exportStar(require("./DaySlots"), exports);
|
130
135
|
__exportStar(require("./DelegatedFlowType"), exports);
|
131
136
|
__exportStar(require("./DemoConnectionStatus"), exports);
|
132
137
|
__exportStar(require("./DemoProviders"), exports);
|
138
|
+
__exportStar(require("./DetectedDeviationEntryDeviation"), exports);
|
139
|
+
__exportStar(require("./DetectedDeviationEntry"), exports);
|
133
140
|
__exportStar(require("./DeviceV2InDb"), exports);
|
134
141
|
__exportStar(require("./EmailProviders"), exports);
|
135
142
|
__exportStar(require("./Energy"), exports);
|
@@ -149,6 +156,11 @@ __exportStar(require("./HealthInsuranceCreateRequestPatientSignatureImage"), exp
|
|
149
156
|
__exportStar(require("./HealthInsuranceCreateRequest"), exports);
|
150
157
|
__exportStar(require("./HistoricalPullStatus"), exports);
|
151
158
|
__exportStar(require("./HistoricalPullTimeline"), exports);
|
159
|
+
__exportStar(require("./HomePregnancyTestEntryTestResult"), exports);
|
160
|
+
__exportStar(require("./HomePregnancyTestEntry"), exports);
|
161
|
+
__exportStar(require("./HomeProgesteroneTestEntryTestResult"), exports);
|
162
|
+
__exportStar(require("./HomeProgesteroneTestEntry"), exports);
|
163
|
+
__exportStar(require("./IntermenstrualBleedingEntry"), exports);
|
152
164
|
__exportStar(require("./Jpeg"), exports);
|
153
165
|
__exportStar(require("./LabLocationMetadata"), exports);
|
154
166
|
__exportStar(require("./LabResultsMetadata"), exports);
|
@@ -166,11 +178,17 @@ __exportStar(require("./Macros"), exports);
|
|
166
178
|
__exportStar(require("./ManualProviders"), exports);
|
167
179
|
__exportStar(require("./MarkerType"), exports);
|
168
180
|
__exportStar(require("./MealInDbBaseClientFacingSource"), exports);
|
181
|
+
__exportStar(require("./MenstrualCycle"), exports);
|
182
|
+
__exportStar(require("./MenstrualCycleResponse"), exports);
|
183
|
+
__exportStar(require("./MenstrualFlowEntryFlow"), exports);
|
184
|
+
__exportStar(require("./MenstrualFlowEntry"), exports);
|
169
185
|
__exportStar(require("./MetricsResult"), exports);
|
170
186
|
__exportStar(require("./Micros"), exports);
|
171
187
|
__exportStar(require("./OAuthProviders"), exports);
|
172
188
|
__exportStar(require("./OrderStatus"), exports);
|
173
189
|
__exportStar(require("./OrderTopLevelStatus"), exports);
|
190
|
+
__exportStar(require("./OvulationTestEntryTestResult"), exports);
|
191
|
+
__exportStar(require("./OvulationTestEntry"), exports);
|
174
192
|
__exportStar(require("./PscAreaInfo"), exports);
|
175
193
|
__exportStar(require("./PscAreaInfoDetails"), exports);
|
176
194
|
__exportStar(require("./PscInfo"), exports);
|
@@ -207,6 +225,7 @@ __exportStar(require("./ResponsibleRelationship"), exports);
|
|
207
225
|
__exportStar(require("./ResultType"), exports);
|
208
226
|
__exportStar(require("./ScopeRequirementsGrants"), exports);
|
209
227
|
__exportStar(require("./ScopeRequirementsStr"), exports);
|
228
|
+
__exportStar(require("./SexualActivityEntry"), exports);
|
210
229
|
__exportStar(require("./ShippingAddress"), exports);
|
211
230
|
__exportStar(require("./SingleHistoricalPullStatistics"), exports);
|
212
231
|
__exportStar(require("./SingleProviderHistoricalPullResponse"), exports);
|
package/package.json
CHANGED
@@ -0,0 +1,13 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const BasalBodyTemperatureEntry: core.serialization.ObjectSchema<serializers.BasalBodyTemperatureEntry.Raw, Vital.BasalBodyTemperatureEntry>;
|
8
|
+
export declare namespace BasalBodyTemperatureEntry {
|
9
|
+
interface Raw {
|
10
|
+
date: string;
|
11
|
+
value: number;
|
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.BasalBodyTemperatureEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.BasalBodyTemperatureEntry = core.serialization.object({
|
32
|
+
date: core.serialization.string(),
|
33
|
+
value: core.serialization.number(),
|
34
|
+
});
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { CervicalMucusEntryQuality } from "./CervicalMucusEntryQuality";
|
8
|
+
export declare const CervicalMucusEntry: core.serialization.ObjectSchema<serializers.CervicalMucusEntry.Raw, Vital.CervicalMucusEntry>;
|
9
|
+
export declare namespace CervicalMucusEntry {
|
10
|
+
interface Raw {
|
11
|
+
date: string;
|
12
|
+
quality: CervicalMucusEntryQuality.Raw;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.CervicalMucusEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const CervicalMucusEntryQuality_1 = require("./CervicalMucusEntryQuality");
|
32
|
+
exports.CervicalMucusEntry = core.serialization.object({
|
33
|
+
date: core.serialization.string(),
|
34
|
+
quality: CervicalMucusEntryQuality_1.CervicalMucusEntryQuality,
|
35
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const CervicalMucusEntryQuality: core.serialization.Schema<serializers.CervicalMucusEntryQuality.Raw, Vital.CervicalMucusEntryQuality>;
|
8
|
+
export declare namespace CervicalMucusEntryQuality {
|
9
|
+
type Raw = "dry" | "sticky" | "creamy" | "watery" | "egg_white";
|
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.CervicalMucusEntryQuality = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.CervicalMucusEntryQuality = core.serialization.enum_(["dry", "sticky", "creamy", "watery", "egg_white"]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { ContraceptiveEntryType } from "./ContraceptiveEntryType";
|
8
|
+
export declare const ContraceptiveEntry: core.serialization.ObjectSchema<serializers.ContraceptiveEntry.Raw, Vital.ContraceptiveEntry>;
|
9
|
+
export declare namespace ContraceptiveEntry {
|
10
|
+
interface Raw {
|
11
|
+
date: string;
|
12
|
+
type: ContraceptiveEntryType.Raw;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.ContraceptiveEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const ContraceptiveEntryType_1 = require("./ContraceptiveEntryType");
|
32
|
+
exports.ContraceptiveEntry = core.serialization.object({
|
33
|
+
date: core.serialization.string(),
|
34
|
+
type: ContraceptiveEntryType_1.ContraceptiveEntryType,
|
35
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const ContraceptiveEntryType: core.serialization.Schema<serializers.ContraceptiveEntryType.Raw, Vital.ContraceptiveEntryType>;
|
8
|
+
export declare namespace ContraceptiveEntryType {
|
9
|
+
type Raw = "unspecified" | "implant" | "injection" | "iud" | "intravaginal_ring" | "oral" | "patch";
|
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.ContraceptiveEntryType = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.ContraceptiveEntryType = core.serialization.enum_(["unspecified", "implant", "injection", "iud", "intravaginal_ring", "oral", "patch"]);
|
@@ -0,0 +1,14 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
import { DetectedDeviationEntryDeviation } from "./DetectedDeviationEntryDeviation";
|
8
|
+
export declare const DetectedDeviationEntry: core.serialization.ObjectSchema<serializers.DetectedDeviationEntry.Raw, Vital.DetectedDeviationEntry>;
|
9
|
+
export declare namespace DetectedDeviationEntry {
|
10
|
+
interface Raw {
|
11
|
+
date: string;
|
12
|
+
deviation: DetectedDeviationEntryDeviation.Raw;
|
13
|
+
}
|
14
|
+
}
|
@@ -0,0 +1,35 @@
|
|
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.DetectedDeviationEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const DetectedDeviationEntryDeviation_1 = require("./DetectedDeviationEntryDeviation");
|
32
|
+
exports.DetectedDeviationEntry = core.serialization.object({
|
33
|
+
date: core.serialization.string(),
|
34
|
+
deviation: DetectedDeviationEntryDeviation_1.DetectedDeviationEntryDeviation,
|
35
|
+
});
|
@@ -0,0 +1,10 @@
|
|
1
|
+
/**
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
3
|
+
*/
|
4
|
+
import * as serializers from "..";
|
5
|
+
import * as Vital from "../../api";
|
6
|
+
import * as core from "../../core";
|
7
|
+
export declare const DetectedDeviationEntryDeviation: core.serialization.Schema<serializers.DetectedDeviationEntryDeviation.Raw, Vital.DetectedDeviationEntryDeviation>;
|
8
|
+
export declare namespace DetectedDeviationEntryDeviation {
|
9
|
+
type Raw = "persistent_intermenstrual_bleeding" | "prolonged_menstrual_periods" | "irregular_menstrual_cycles" | "infrequent_menstrual_cycles";
|
10
|
+
}
|