@tryvital/vital-node 3.1.41 → 3.1.43
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/ClientFacingSource.d.ts +3 -3
- 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/PscInfo.d.ts +1 -1
- 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/ClientFacingSource.d.ts +3 -3
- 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/PscInfo.d.ts +1 -1
- 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/ClientFacingSource.d.ts +3 -3
- package/dist/serialization/types/ClientFacingSource.js +3 -3
- 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/PscInfo.d.ts +1 -1
- package/dist/serialization/types/PscInfo.js +1 -1
- 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/ClientFacingSource.d.ts +3 -3
- package/serialization/types/ClientFacingSource.js +3 -3
- 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/PscInfo.d.ts +1 -1
- package/serialization/types/PscInfo.js +1 -1
- 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.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
|
+
}
|
@@ -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.DetectedDeviationEntryDeviation = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.DetectedDeviationEntryDeviation = core.serialization.enum_([
|
32
|
+
"persistent_intermenstrual_bleeding",
|
33
|
+
"prolonged_menstrual_periods",
|
34
|
+
"irregular_menstrual_cycles",
|
35
|
+
"infrequent_menstrual_cycles",
|
36
|
+
]);
|
@@ -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 { HomePregnancyTestEntryTestResult } from "./HomePregnancyTestEntryTestResult";
|
8
|
+
export declare const HomePregnancyTestEntry: core.serialization.ObjectSchema<serializers.HomePregnancyTestEntry.Raw, Vital.HomePregnancyTestEntry>;
|
9
|
+
export declare namespace HomePregnancyTestEntry {
|
10
|
+
interface Raw {
|
11
|
+
date: string;
|
12
|
+
test_result: HomePregnancyTestEntryTestResult.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.HomePregnancyTestEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const HomePregnancyTestEntryTestResult_1 = require("./HomePregnancyTestEntryTestResult");
|
32
|
+
exports.HomePregnancyTestEntry = core.serialization.object({
|
33
|
+
date: core.serialization.string(),
|
34
|
+
testResult: core.serialization.property("test_result", HomePregnancyTestEntryTestResult_1.HomePregnancyTestEntryTestResult),
|
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 HomePregnancyTestEntryTestResult: core.serialization.Schema<serializers.HomePregnancyTestEntryTestResult.Raw, Vital.HomePregnancyTestEntryTestResult>;
|
8
|
+
export declare namespace HomePregnancyTestEntryTestResult {
|
9
|
+
type Raw = "negative" | "positive" | "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.HomePregnancyTestEntryTestResult = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.HomePregnancyTestEntryTestResult = core.serialization.enum_(["negative", "positive", "indeterminate"]);
|
@@ -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 { HomeProgesteroneTestEntryTestResult } from "./HomeProgesteroneTestEntryTestResult";
|
8
|
+
export declare const HomeProgesteroneTestEntry: core.serialization.ObjectSchema<serializers.HomeProgesteroneTestEntry.Raw, Vital.HomeProgesteroneTestEntry>;
|
9
|
+
export declare namespace HomeProgesteroneTestEntry {
|
10
|
+
interface Raw {
|
11
|
+
date: string;
|
12
|
+
test_result: HomeProgesteroneTestEntryTestResult.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.HomeProgesteroneTestEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const HomeProgesteroneTestEntryTestResult_1 = require("./HomeProgesteroneTestEntryTestResult");
|
32
|
+
exports.HomeProgesteroneTestEntry = core.serialization.object({
|
33
|
+
date: core.serialization.string(),
|
34
|
+
testResult: core.serialization.property("test_result", HomeProgesteroneTestEntryTestResult_1.HomeProgesteroneTestEntryTestResult),
|
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 HomeProgesteroneTestEntryTestResult: core.serialization.Schema<serializers.HomeProgesteroneTestEntryTestResult.Raw, Vital.HomeProgesteroneTestEntryTestResult>;
|
8
|
+
export declare namespace HomeProgesteroneTestEntryTestResult {
|
9
|
+
type Raw = "negative" | "positive" | "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.HomeProgesteroneTestEntryTestResult = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.HomeProgesteroneTestEntryTestResult = core.serialization.enum_(["negative", "positive", "indeterminate"]);
|
@@ -0,0 +1,12 @@
|
|
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 IntermenstrualBleedingEntry: core.serialization.ObjectSchema<serializers.IntermenstrualBleedingEntry.Raw, Vital.IntermenstrualBleedingEntry>;
|
8
|
+
export declare namespace IntermenstrualBleedingEntry {
|
9
|
+
interface Raw {
|
10
|
+
date: string;
|
11
|
+
}
|
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.IntermenstrualBleedingEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
exports.IntermenstrualBleedingEntry = core.serialization.object({
|
32
|
+
date: core.serialization.string(),
|
33
|
+
});
|
@@ -0,0 +1,37 @@
|
|
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 { MenstrualFlowEntry } from "./MenstrualFlowEntry";
|
8
|
+
import { CervicalMucusEntry } from "./CervicalMucusEntry";
|
9
|
+
import { IntermenstrualBleedingEntry } from "./IntermenstrualBleedingEntry";
|
10
|
+
import { ContraceptiveEntry } from "./ContraceptiveEntry";
|
11
|
+
import { DetectedDeviationEntry } from "./DetectedDeviationEntry";
|
12
|
+
import { OvulationTestEntry } from "./OvulationTestEntry";
|
13
|
+
import { HomePregnancyTestEntry } from "./HomePregnancyTestEntry";
|
14
|
+
import { HomeProgesteroneTestEntry } from "./HomeProgesteroneTestEntry";
|
15
|
+
import { SexualActivityEntry } from "./SexualActivityEntry";
|
16
|
+
import { BasalBodyTemperatureEntry } from "./BasalBodyTemperatureEntry";
|
17
|
+
import { ClientFacingSource } from "./ClientFacingSource";
|
18
|
+
export declare const MenstrualCycle: core.serialization.ObjectSchema<serializers.MenstrualCycle.Raw, Vital.MenstrualCycle>;
|
19
|
+
export declare namespace MenstrualCycle {
|
20
|
+
interface Raw {
|
21
|
+
period_start: string;
|
22
|
+
period_end?: string | null;
|
23
|
+
cycle_end?: string | null;
|
24
|
+
is_predicted?: boolean | null;
|
25
|
+
menstrual_flow?: MenstrualFlowEntry.Raw[] | null;
|
26
|
+
cervical_mucus?: CervicalMucusEntry.Raw[] | null;
|
27
|
+
intermenstrual_bleeding?: IntermenstrualBleedingEntry.Raw[] | null;
|
28
|
+
contraceptive?: ContraceptiveEntry.Raw[] | null;
|
29
|
+
detected_deviations?: DetectedDeviationEntry.Raw[] | null;
|
30
|
+
ovulation_test?: OvulationTestEntry.Raw[] | null;
|
31
|
+
home_pregnancy_test?: HomePregnancyTestEntry.Raw[] | null;
|
32
|
+
home_progesterone_test?: HomeProgesteroneTestEntry.Raw[] | null;
|
33
|
+
sexual_activity?: SexualActivityEntry.Raw[] | null;
|
34
|
+
basal_body_temperature?: BasalBodyTemperatureEntry.Raw[] | null;
|
35
|
+
source: ClientFacingSource.Raw;
|
36
|
+
}
|
37
|
+
}
|
@@ -0,0 +1,58 @@
|
|
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.MenstrualCycle = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const MenstrualFlowEntry_1 = require("./MenstrualFlowEntry");
|
32
|
+
const CervicalMucusEntry_1 = require("./CervicalMucusEntry");
|
33
|
+
const IntermenstrualBleedingEntry_1 = require("./IntermenstrualBleedingEntry");
|
34
|
+
const ContraceptiveEntry_1 = require("./ContraceptiveEntry");
|
35
|
+
const DetectedDeviationEntry_1 = require("./DetectedDeviationEntry");
|
36
|
+
const OvulationTestEntry_1 = require("./OvulationTestEntry");
|
37
|
+
const HomePregnancyTestEntry_1 = require("./HomePregnancyTestEntry");
|
38
|
+
const HomeProgesteroneTestEntry_1 = require("./HomeProgesteroneTestEntry");
|
39
|
+
const SexualActivityEntry_1 = require("./SexualActivityEntry");
|
40
|
+
const BasalBodyTemperatureEntry_1 = require("./BasalBodyTemperatureEntry");
|
41
|
+
const ClientFacingSource_1 = require("./ClientFacingSource");
|
42
|
+
exports.MenstrualCycle = core.serialization.object({
|
43
|
+
periodStart: core.serialization.property("period_start", core.serialization.string()),
|
44
|
+
periodEnd: core.serialization.property("period_end", core.serialization.string().optional()),
|
45
|
+
cycleEnd: core.serialization.property("cycle_end", core.serialization.string().optional()),
|
46
|
+
isPredicted: core.serialization.property("is_predicted", core.serialization.boolean().optional()),
|
47
|
+
menstrualFlow: core.serialization.property("menstrual_flow", core.serialization.list(MenstrualFlowEntry_1.MenstrualFlowEntry).optional()),
|
48
|
+
cervicalMucus: core.serialization.property("cervical_mucus", core.serialization.list(CervicalMucusEntry_1.CervicalMucusEntry).optional()),
|
49
|
+
intermenstrualBleeding: core.serialization.property("intermenstrual_bleeding", core.serialization.list(IntermenstrualBleedingEntry_1.IntermenstrualBleedingEntry).optional()),
|
50
|
+
contraceptive: core.serialization.list(ContraceptiveEntry_1.ContraceptiveEntry).optional(),
|
51
|
+
detectedDeviations: core.serialization.property("detected_deviations", core.serialization.list(DetectedDeviationEntry_1.DetectedDeviationEntry).optional()),
|
52
|
+
ovulationTest: core.serialization.property("ovulation_test", core.serialization.list(OvulationTestEntry_1.OvulationTestEntry).optional()),
|
53
|
+
homePregnancyTest: core.serialization.property("home_pregnancy_test", core.serialization.list(HomePregnancyTestEntry_1.HomePregnancyTestEntry).optional()),
|
54
|
+
homeProgesteroneTest: core.serialization.property("home_progesterone_test", core.serialization.list(HomeProgesteroneTestEntry_1.HomeProgesteroneTestEntry).optional()),
|
55
|
+
sexualActivity: core.serialization.property("sexual_activity", core.serialization.list(SexualActivityEntry_1.SexualActivityEntry).optional()),
|
56
|
+
basalBodyTemperature: core.serialization.property("basal_body_temperature", core.serialization.list(BasalBodyTemperatureEntry_1.BasalBodyTemperatureEntry).optional()),
|
57
|
+
source: ClientFacingSource_1.ClientFacingSource,
|
58
|
+
});
|
@@ -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
|
+
import { MenstrualCycle } from "./MenstrualCycle";
|
8
|
+
export declare const MenstrualCycleResponse: core.serialization.ObjectSchema<serializers.MenstrualCycleResponse.Raw, Vital.MenstrualCycleResponse>;
|
9
|
+
export declare namespace MenstrualCycleResponse {
|
10
|
+
interface Raw {
|
11
|
+
menstrual_cycle: MenstrualCycle.Raw[];
|
12
|
+
}
|
13
|
+
}
|
@@ -0,0 +1,34 @@
|
|
1
|
+
"use strict";
|
2
|
+
/**
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
4
|
+
*/
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
6
|
+
if (k2 === undefined) k2 = k;
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
10
|
+
}
|
11
|
+
Object.defineProperty(o, k2, desc);
|
12
|
+
}) : (function(o, m, k, k2) {
|
13
|
+
if (k2 === undefined) k2 = k;
|
14
|
+
o[k2] = m[k];
|
15
|
+
}));
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
18
|
+
}) : function(o, v) {
|
19
|
+
o["default"] = v;
|
20
|
+
});
|
21
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
22
|
+
if (mod && mod.__esModule) return mod;
|
23
|
+
var result = {};
|
24
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
25
|
+
__setModuleDefault(result, mod);
|
26
|
+
return result;
|
27
|
+
};
|
28
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
29
|
+
exports.MenstrualCycleResponse = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const MenstrualCycle_1 = require("./MenstrualCycle");
|
32
|
+
exports.MenstrualCycleResponse = core.serialization.object({
|
33
|
+
menstrualCycle: core.serialization.property("menstrual_cycle", core.serialization.list(MenstrualCycle_1.MenstrualCycle)),
|
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 { MenstrualFlowEntryFlow } from "./MenstrualFlowEntryFlow";
|
8
|
+
export declare const MenstrualFlowEntry: core.serialization.ObjectSchema<serializers.MenstrualFlowEntry.Raw, Vital.MenstrualFlowEntry>;
|
9
|
+
export declare namespace MenstrualFlowEntry {
|
10
|
+
interface Raw {
|
11
|
+
date: string;
|
12
|
+
flow: MenstrualFlowEntryFlow.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.MenstrualFlowEntry = void 0;
|
30
|
+
const core = __importStar(require("../../core"));
|
31
|
+
const MenstrualFlowEntryFlow_1 = require("./MenstrualFlowEntryFlow");
|
32
|
+
exports.MenstrualFlowEntry = core.serialization.object({
|
33
|
+
date: core.serialization.string(),
|
34
|
+
flow: MenstrualFlowEntryFlow_1.MenstrualFlowEntryFlow,
|
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 MenstrualFlowEntryFlow: core.serialization.Schema<serializers.MenstrualFlowEntryFlow.Raw, Vital.MenstrualFlowEntryFlow>;
|
8
|
+
export declare namespace MenstrualFlowEntryFlow {
|
9
|
+
type Raw = "unspecified" | "none" | "light" | "medium" | "heavy";
|
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.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
|
+
}
|